@charset "UTF-8";
body {
  background-color: var(--color-main);
}

.mainContents {
  background-color: transparent;
}
@media (min-width: 961px) {
  .mainContents {
    margin-top: 0;
  }
}

/* ヒーロー */
.hero {
  position: relative;
  background: rgba(7, 14, 19, 0.3);
}
@media (min-width: 961px) {
  .hero {
    height: 100dvh;
  }
}
@media (max-width: 960px) {
  .hero {
    height: 310px;
  }
}
.hero .movie {
  overflow: hidden;
}
.hero .movie .video {
  position: absolute;
  top: 0;
  left: 0;
  -o-object-fit: cover;
     object-fit: cover;
  min-width: 100%;
  min-height: 100%;
  width: 100%;
  height: 100%;
  z-index: -1;
}
.hero .catch {
  position: absolute;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  z-index: 1;
  -webkit-filter: blur(8px);
          filter: blur(8px);
  opacity: 0;
  transition: 1.9s cubic-bezier(0.55, 0.05, 0.22, 0.99);
}
.hero .catch.view {
  -webkit-filter: blur(0);
          filter: blur(0);
  opacity: 1;
}
@media (min-width: 961px) {
  .hero .catch {
    top: calc(50% + 50px);
  }
}
@media (max-width: 960px) {
  .hero .catch {
    top: 50%;
  }
}
.hero .catch p {
  display: grid;
  justify-items: center;
  text-align: center;
  line-height: 1.4;
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.3);
}
.hero .catch .main {
  font-weight: 500;
}
@media (min-width: 961px) {
  .hero .catch .main {
    font-size: 50rem;
  }
}
@media (max-width: 960px) {
  .hero .catch .main {
    font-size: 25px;
  }
  .hero .catch .main img {
    width: 36px;
  }
}
.hero .catch .sub {
  margin-top: 1em;
  font-family: var(--font-noto);
}
@media (min-width: 961px) {
  .hero .catch .sub {
    font-size: 25rem;
  }
}
@media (max-width: 960px) {
  .hero .catch .sub {
    font-size: 16px;
  }
}

/* 最新のお知らせ */
.latest-news {
  background-color: rgba(7, 7, 7, 0.6);
  display: flex;
  justify-content: center;
  line-height: 1.1;
}
@media (min-width: 961px) {
  .latest-news {
    position: absolute;
    z-index: 2;
    bottom: 0;
    left: 0;
    right: 0;
    height: 74px;
    align-items: center;
  }
}
@media (max-width: 960px) {
  .latest-news {
    flex-direction: column;
    padding: 25px 30px;
  }
}
.latest-news .ttl {
  font-weight: 500;
}
@media (min-width: 961px) {
  .latest-news .ttl {
    margin-right: 16rem;
    font-size: 16rem;
  }
}
@media (max-width: 960px) {
  .latest-news .ttl {
    font-size: 12px;
  }
}
.latest-news .item {
  display: flex;
  font-family: var(--font-noto);
}
@media (min-width: 961px) {
  .latest-news .item {
    border-left: 1px solid currentColor;
    padding-left: 2em;
    margin-left: 2em;
    gap: 1em;
  }
}
@media (max-width: 960px) {
  .latest-news .item {
    flex-direction: column;
    gap: 0.3em;
    margin: 20px 0;
  }
  .latest-news .item::before {
    content: "";
    background-color: currentColor;
    width: 18px;
    height: 1px;
    margin-bottom: 10px;
  }
}
@media (min-width: 961px) {
  .latest-news .link-line {
    position: absolute;
    right: 90px;
  }
}
@media (max-width: 960px) {
  .latest-news .link-line {
    margin-left: auto;
  }
}

/* 穏やかな気持ち晴れやかな気持ち。 */
.message {
  padding-left: calc(50% - 480px);
  padding-right: calc(50% - 480px);
  display: flex;
}
@media screen and (max-width: 1300px) {
  .message {
    padding-left: 170px;
    padding-right: 170px;
  }
}
@media (max-width: 960px) {
  .message {
    padding-left: 20px;
    padding-right: 20px;
  }
}
@media (min-width: 961px) {
  .message {
    padding-top: 130px;
    padding-bottom: 150px;
    justify-content: space-between;
  }
}
@media (max-width: 960px) {
  .message {
    padding-top: 70px;
    padding-bottom: 70px;
    flex-direction: column;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    margin: auto;
  }
}
.message .heading {
  letter-spacing: 0.3em;
  line-height: 2em;
}
@media (min-width: 961px) {
  .message .heading {
    margin-right: 50px;
    padding-top: 3em;
    font-size: 25rem;
    text-indent: -2.4em;
  }
}
@media (max-width: 960px) {
  .message .heading {
    margin-bottom: 1.4em;
    font-size: 20px;
    text-indent: -1.3em;
    padding-left: 1.3em;
    text-align: left;
  }
}
.message .text img {
  margin: 0 0.2em;
  vertical-align: middle;
  -webkit-transform: translateY(-0.1em);
          transform: translateY(-0.1em);
}
@media (min-width: 961px) {
  .message .text {
    line-height: 2.5;
  }
}
@media (max-width: 960px) {
  .message .text {
    line-height: 2.1;
  }
  .message .text img {
    zoom: 0.87;
    -moz-transform: scale(0.87);
  }
}

/* お気軽にお使いください。 */
.introduction {
  background: url(../img/home/bg-intro.jpg) no-repeat center/cover;
  display: flex;
  justify-content: center;
  align-items: center;
}
@media (min-width: 961px) {
  .introduction {
    padding-top: 110px;
    padding-bottom: 110px;
  }
}
@media (max-width: 960px) {
  .introduction {
    padding-top: 65px;
    padding-bottom: 75px;
  }
}
.introduction .text {
  letter-spacing: 0.07em;
}
@media (min-width: 961px) {
  .introduction .text {
    -webkit-writing-mode: vertical-rl;
        -ms-writing-mode: tb-rl;
            writing-mode: vertical-rl;
    -webkit-font-feature-settings: "pkna";
            font-feature-settings: "pkna";
    font-size: 30rem;
  }
  .introduction .text small {
    font-size: 20rem;
  }
}
@media (max-width: 960px) {
  .introduction .text {
    font-size: 20px;
    text-align: center;
    line-height: 1.4;
  }
  .introduction .text small {
    font-size: 16px;
  }
  .introduction .text em {
    display: inline-block;
    margin: 0.5em 0;
    font-size: 25px;
  }
}

/* メニュー */
.contents-navi {
  display: grid;
}
@media (min-width: 961px) {
  .contents-navi {
    grid-template-columns: repeat(2, 1fr);
  }
}
.contents-navi a {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  background-position: center;
  background-size: cover;
  text-decoration: none;
}
.contents-navi a::after {
  position: absolute;
  inset: 0;
  content: "";
  background-color: var(--color-main-overlay);
  opacity: 0.8;
  mix-blend-mode: multiply;
  transition: 0.15s;
}
.contents-navi a > * {
  z-index: 2;
}
.contents-navi a:hover::after {
  background-color: #00447C;
}
@media (min-width: 961px) {
  .contents-navi a {
    height: 380px;
  }
}
@media (max-width: 960px) {
  .contents-navi a {
    height: 210px;
    display: grid;
    justify-items: center;
    align-content: center;
    text-align: center;
    gap: 25px;
  }
}
@media (min-width: 961px) {
  .contents-navi .ttl {
    font-size: 40rem;
  }
}
@media (max-width: 960px) {
  .contents-navi .ttl {
    font-size: 22px;
  }
}
@media (min-width: 961px) {
  .contents-navi .desc {
    position: absolute;
    bottom: 25%;
    font-size: 18rem;
  }
}
@media (max-width: 960px) {
  .contents-navi .desc {
    line-height: 1.4em;
  }
}
.contents-navi .bar {
  position: absolute;
}
@media (min-width: 961px) {
  .contents-navi .bar {
    right: 35px;
    bottom: 20px;
  }
}
@media (max-width: 960px) {
  .contents-navi .bar {
    right: 20px;
    bottom: 15px;
  }
}
.contents-navi .service {
  background-image: url(../img/home/bg-service.jpg);
}
.contents-navi .recruit {
  background-image: url(../img/home/bg-recruit.jpg);
}

/* 三洋タクシーについて */
.about {
  padding-left: calc(50% - 480px);
  padding-right: calc(50% - 480px);
  display: grid;
}
@media screen and (max-width: 1300px) {
  .about {
    padding-left: 170px;
    padding-right: 170px;
  }
}
@media (max-width: 960px) {
  .about {
    padding-left: 20px;
    padding-right: 20px;
  }
}
@media (min-width: 961px) {
  .about {
    padding-top: 150px;
    padding-bottom: 150px;
    grid-template-columns: 1fr 70%;
    gap: 30px 50px;
  }
}
@media (max-width: 960px) {
  .about {
    padding-top: 45px;
    padding-bottom: 45px;
    gap: 25px;
  }
}
@media (min-width: 961px) {
  .about .heading {
    grid-area: 1/1/3/2;
    margin: 0 auto;
  }
}
@media (max-width: 960px) {
  .about .heading {
    font-size: 22px;
    text-align: center;
    line-height: 1.45;
  }
}
/* ループスライダー */
.loop-slider {
  overflow: hidden;
}
.loop-slider .slick-dots {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.loop-slider .slick-dots li {
  line-height: 1;
}
.loop-slider .slick-dots button {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  text-indent: -9999px;
  font-size: 0;
}
.loop-slider .slick-dots .slick-active button {
  background: rgb(255, 255, 255);
}
.loop-slider .slick-arrow {
  position: absolute;
  z-index: 10;
  top: 50%;
  translate: 0 -50%;
  text-indent: -9999px;
}
.loop-slider .slick-arrow.slick-prev {
  left: 0;
}
.loop-slider .slick-arrow.slick-next {
  right: 0;
}
.loop-slider .item {
  display: flex;
}
.loop-slider img {
  width: auto;
}
@media (min-width: 961px) {
  .loop-slider img {
    height: 335px;
  }
}
@media (max-width: 960px) {
  .loop-slider img {
    height: 190px;
  }
}

/* 会社情報 */
.company {
  display: grid;
  padding-left: calc(50% - 490px);
  padding-right: calc(50% - 490px);
}
@media screen and (max-width: 1320px) {
  .company {
    padding-left: 170px;
    padding-right: 170px;
  }
}
@media (max-width: 960px) {
  .company {
    padding-left: 20px;
    padding-right: 20px;
  }
}
@media (min-width: 961px) {
  .company {
    padding-top: 120px;
    padding-bottom: 150px;
    grid-template-columns: 1fr calc(56% - 70px);
    gap: 70px;
  }
}
@media (max-width: 1240px) {
  .company {
    gap: 55px;
    padding-right: 20px;
  }
}
@media (max-width: 960px) {
  .company {
    padding-top: 60px;
    padding-bottom: 80px;
    gap: 55px;
  }
}
.company > section {
  display: grid;
}
@media (min-width: 961px) {
  .company > section {
    grid-template-columns: auto 1fr;
    gap: 65px;
  }
  .company > section + section {
    border-left: 1px solid;
    padding-left: 70px;
  }
}
@media (max-width: 1240px) {
  .company > section {
    gap: 45px;
  }
  .company > section + section {
    padding-left: 55px;
  }
}
@media (max-width: 960px) {
  .company > section {
    gap: 25px;
  }
  .company > section + section {
    border-top: 1px solid;
    padding-top: 55px;
    padding-left: 0;
  }
}
.company .body {
  display: grid;
  align-content: start;
  grid-template-columns: auto 1fr;
}
.company .body > * {
  line-height: 1.85;
}
@media (min-width: 961px) {
  .company .body {
    gap: 30px 45px;
  }
}
@media (max-width: 960px) {
  .company .body {
    gap: 15px 25px;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    margin: auto;
  }
}
.company .link-line {
  display: inline-block;
  margin-top: 0.5em;
}
.company .link-line .rect {
  border: 1px solid #000;
  padding: 0.5em 1em;
  font-size: 14rem;
}
/* お知らせ */
.news {
  padding-left: calc(50% - 370px);
  padding-right: calc(50% - 370px);
  display: grid;
}
@media screen and (max-width: 1080px) {
  .news {
    padding-left: 170px;
    padding-right: 170px;
  }
}
@media (max-width: 960px) {
  .news {
    padding-left: 20px;
    padding-right: 20px;
  }
}
@media (min-width: 961px) {
  .news {
    grid-template-columns: auto 1fr;
    gap: 100px;
    padding-top: 120px;
    padding-bottom: 120px;
  }
}
@media (max-width: 960px) {
  .news {
    gap: 40px;
    padding-top: 60px;
    padding-bottom: 60px;
  }
}
.news .body {
  display: grid;
  align-content: start;
}
.news .link-line {
  margin-left: auto;
}
@media (min-width: 961px) {
  .news .link-line {
    margin-top: 60px;
  }
}
@media (max-width: 960px) {
  .news .link-line {
    margin-top: 40px;
  }
}

.news-list {
  font-family: var(--font-noto);
}
.news-list li {
  display: grid;
}
@media (min-width: 961px) {
  .news-list li {
    grid-template-columns: 9em 1fr;
  }
  .news-list li + li {
    margin-top: 2em;
  }
}
@media (max-width: 960px) {
  .news-list {
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    margin: auto;
  }
  .news-list li + li {
    margin-top: 1.5em;
  }
}