@charset "utf-8";
:root {
  /* color */
  --white: #fff;
  --black1: #1f1f1f;
  --gray1: #d9d9d9;
  --gray2: #efefef;
  --gray3: #cccccc;
  --gray4: #b2b2b2;
  --gray5: #5c5c5c;
  --gray6: #f8f8f8;
  --red1: #dc0d0d;
  --red2: #c1001a;
  /* content-size */
  --content-width-large: calc(1360px + var(--padding-40-to-20) * 2);
  --content-width-small: calc(1024px + var(--padding-40-to-20) * 2);
  /* padding, margin, gap */
  --padding-40-to-20: calc(clamp(1.25rem, 0.057rem + 5.09vw, 2.5rem));
  --header-nav-gap: calc(clamp(1rem, -5.375rem + 13.28vw, 3.125rem));
  /* font-size */
  --font-260-to-130: calc(clamp(8.125rem, 0.372rem + 33.08vw, 16.25rem));
  --font-96-to-63: calc(clamp(3.938rem, 1.969rem + 8.4vw, 6rem));
  --font-70-to-30: calc(clamp(1.875rem, -5.625rem + 15.63vw, 4.375rem));
  --font-46-to-23: calc(clamp(1.438rem, 0.066rem + 5.85vw, 2.875rem));
  --font-36-to-18: calc(clamp(1.125rem, -0.291rem + 5.29vw, 2.25rem));
  --font-32-to-20: calc(clamp(1.25rem, 0.534rem + 3.05vw, 2rem));
  --font-32-to-16: calc(clamp(1rem, -0.259rem + 4.71vw, 2rem));
  --font-30-to-15: calc(clamp(0.938rem, 0.043rem + 3.82vw, 1.875rem));
  --font-28-to-15: calc(clamp(0.938rem, 0.162rem + 3.31vw, 1.75rem));
  --font-26-to-15: calc(clamp(0.938rem, 0.281rem + 2.8vw, 1.625rem));
  --font-26-to-14: calc(clamp(0.875rem, -0.069rem + 3.53vw, 1.625rem));
  --font-24-to-16: calc(clamp(1rem, 0.523rem + 2.04vw, 1.5rem));
  --font-76-to-48: calc(clamp(3rem, 1.33rem + 7.12vw, 4.75rem));
  --font-20-to-15: calc(clamp(0.938rem, 0.639rem + 1.27vw, 1.25rem));
  --font-20-to-10: calc(clamp(0.625rem, 0.029rem + 2.54vw, 1.25rem));
  --font-18-to-13: calc(clamp(0.813rem, 0.514rem + 1.27vw, 1.125rem));
  --font-18-to-10: calc(clamp(0.625rem, 0.148rem + 2.04vw, 1.125rem));
  --font-16-to-13: calc(clamp(0.813rem, 0.634rem + 0.76vw, 1rem));
  --font-14-to-10: calc(clamp(0.625rem, 0.386rem + 1.02vw, 0.875rem));
  --font-12-to-10: calc(clamp(0.625rem, 0.506rem + 0.51vw, 0.75rem));
  /* font-family */
  --bentham: "Bentham", serif;
  --noto-serif: "Noto Serif JP", serif;
  /* transition */
  --basic-transition: all 0.4s ease-out;
}

html {
  font-size: 100%;
}

body {
  color: var(--black1);
  background-color: var(--white);
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: initial;
  line-height: 1;
  letter-spacing: 0.1em;
  overflow-x: clip;
}

img {
  display: block;
  object-fit: cover;
}

/* 共通パーツ
------------------------------------------------------- */
.section-title {
  display: grid;
}

.section-title__en {
  font-family: var(--bentham);
  font-size: var(--font-76-to-48);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
}

.section-title__ja {
  margin-top: 10px;
  font-size: var(--font-12-to-10);
  font-weight: 500;
}

.no-scroll {
  overflow: hidden;
}

.for-sp,
.for-tab {
  display: none;
}

.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s ease-out;
}

.fade-in--visible {
  opacity: 1;
  transform: translateY(0);
}

@media screen and (max-width: 768px) {
  .for-pc {
    display: none;
  }
  .for-tab {
    display: block;
  }
}

@media screen and (max-width: 428px) {
  .for-tab {
    display: none;
  }

  .for-sp {
    display: block;
  }
}

/* header
----------------------------------------------------- */
.header {
  height: 100px;
  width: 100%;
  position: fixed;
  z-index: 80;
  transition: var(--basic-transition);

  &.is-scrolled {
    background-color: var(--white);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);

    & .header__nav-link {
      color: var(--black1);
    }

    & .header__logo-link {
      display: none;
    }

    & .header__logo-link--scrolled {
      display: block;
    }

    & .header__lang-link,
    .header__lang-divider,
    .header__lang-btn.is-active {
      color: var(--black1);
    }
  }
}

.single-news {
  & .header__nav-link {
    color: var(--black1);
  }
  & .header__logo-link {
    display: none;
  }
  & .header__logo-link--scrolled {
    display: block;
  }
}

.header__inner {
  height: 100%;
  display: grid;
  grid-template-columns: minmax(max-content, auto) 1fr minmax(max-content, auto);
  align-items: center;
  padding-inline: 29px;
}

.header__logo {
  width: 179px;
  aspect-ratio: 179/45;
  z-index: 100;
  transition: var(--basic-transition);
}

.header__logo-link {
  display: block;
}

.header__logo-link--scrolled {
  display: none;
}

.header__logo-img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.header__nav-list {
  display: grid;
  grid-template-columns: repeat(6, auto);
  justify-content: end;
  align-items: center;
  gap: var(--header-nav-gap);
}

.header__nav-list--en {
  grid-template-columns: repeat(3, auto);
}

.header__lang-switch {
  display: flex;
  align-items: end;
  gap: 4px;
  font-family: sans-serif;
  font-size: 0.875rem;
  padding-top: 4px;
}

.header__lang-link {
  color: var(--white);
  transition: var(--basic-transition);
  font-weight: 500;
}

.header__lang-link:hover {
  color: var(--red1);
  font-weight: 500;
}

.header__lang-btn.is-active {
  color: var(--white);
  font-weight: 500;
}

.header__lang-divider {
  color: var(--white);
  user-select: none;
  font-weight: 500;
}

.header__nav-link {
  position: relative;
  z-index: 10;
  display: inline-block;
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 500;

  &::before {
    content: "";
    display: block;
    background-color: var(--red1);
    width: 100%;
    height: 1px;
    position: absolute;
    left: 0;
    bottom: -8px;
    transform: scale(0, 1);
    transition: var(--basic-transition);
  }

  &:hover::before {
    transform: scale(1, 1);
  }
}

.header__contact {
  display: grid;
  grid-template-columns: minmax(max-content, 1fr) auto minmax(max-content, 1fr);
  place-items: center;
  place-content: center;
  gap: 20px;
  color: var(--white);
  font-size: 0.875rem;
  width: 185px;
  height: 55px;
  margin-inline: auto;
  padding-inline: 15px;
  border: solid 1px var(--red1);
  border-radius: 300px;
  background-color: var(--red1);
  z-index: 100;
  transition: var(--basic-transition);

  &:hover {
    background-color: var(--white);
    color: var(--red1);

    & .header__contact-arrow {
      translate: 5px 0px;
      border-color: var(--red1);
    }
  }
}

.header__contact-text {
  font-size: 0.875rem;
}

.header__contact-img {
  display: block;
  width: 16px;
  aspect-ratio: 1/1;
  background: url(../img/email-white-logo.webp) no-repeat center top/cover;
}

.burger {
  background-color: var(--red1);
  width: 100px;
  aspect-ratio: 1/1;
  display: none;
  grid-template-columns: 1fr;
  place-content: center;
  place-items: center;
  gap: 18px;
  z-index: 100;
  transition: var(--basic-transition);
}

.burger__line {
  display: block;
  width: 50px;
  height: 1px;
  background-color: var(--white);
  transition: var(--basic-transition);
}

/* ナビゲーションの数に応じて適宜ブレイクポイントを設定 */
@media screen and (max-width: 1070px) {
  .header__nav-list {
    grid-template-columns: repeat(3, auto);
    gap: 12px 20px;
    padding-right: 20px;
  }
}
@media screen and (max-width: 768px) {
  .header {
    height: 100px;
  }

  .header__inner {
    padding-inline: var(--padding-40-to-20) 0;
    gap: 12px;
  }

  .header__logo {
  }

  .header__contact {
    width: 90px;
    aspect-ratio: 1/1;
    height: auto;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-right: 0;
  }

  .header__contact-text {
    display: none;
  }

  .header__contact-img {
    width: 30px;
  }

  .burger {
    display: grid;
  }

  .header__nav {
    background-color: var(--white);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    padding-block: 180px 60px;
    padding-inline: 60px;
    translate: 100% 0;
    opacity: 0;
    visibility: hidden;
    transition: var(--basic-transition);
  }

  .header__nav-list {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  & .header__lang-link,
  .header__lang-divider,
  .header__lang-btn.is-active {
    font-size: var(--font-32-to-20);
  }

  .header__nav-link {
    font-size: var(--font-32-to-20);
  }

  .is-active {
    & .header__nav-link {
      color: var(--black1);
    }
    & .header__logo-link {
      display: none;
    }
    & .header__logo-link--scrolled {
      display: block;
    }

    & .burger__line {
      &:nth-of-type(1) {
        transform: translateY(18px) rotate(45deg);
      }

      &:nth-of-type(2) {
        opacity: 0;
      }

      &:nth-of-type(3) {
        transform: translateY(-18px) rotate(-45deg);
      }
    }

    & .header__nav {
      visibility: visible;
      opacity: 1;
      translate: 0 0;
      overflow: auto;
    }

    & .header__lang-link,
    .header__lang-divider,
    .header__lang-btn.is-active {
      color: var(--black1);
    }
  }
}

@media screen and (max-width: 428px) {
  .header {
    height: 60px;
  }

  .header__logo {
    width: 118px;
  }

  .header__nav {
    padding-block: 100px 30px;
    padding-inline: 30px;
  }

  .header__nav-list {
    gap: 30px;
  }

  .burger {
    width: 60px;
    gap: 7px;
  }

  .burger__line {
    width: 30px;
  }

  .is-active {
    & .burger__line {
      &:nth-of-type(1) {
        transform: translateY(7px) rotate(45deg);
      }
      &:nth-of-type(3) {
        transform: translateY(-7px) rotate(-45deg);
      }
    }
  }

  .header__contact {
    width: 50px;
  }

  .header__contact-img {
    width: 17px;
  }
}

/* =========================================
   mainvisual
   ========================================= */
.fixed-bg-container {
  /* background-image: url("../img/mainvisual.webp");
  background-attachment: fixed;
  background-position: center;
  background-size: cover; */

  position: relative;
  z-index: 0;

  &::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
  }
}

.fixed-bg__video {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--basic-transition);
}

.main-visual {
  position: relative;
  z-index: 5;
  width: 100%;
  height: 100vh;
}

.main-visual__inner {
  display: grid;
  height: 100%;
  align-content: center;
  grid-template-rows: 1fr auto auto;
  max-width: var(--content-width-large);
  margin-inline: auto;
  padding-inline: var(--padding-40-to-20);
  padding-bottom: 52px;
  color: var(--white);
}

.main-visual__title {
  font-family: var(--bentham);
  font-size: var(--font-96-to-63);
  font-weight: 400;
  margin: 0;
  display: grid;
  align-items: center;
}

.main-visual__sub-title {
  font-size: var(--font-30-to-15);
  font-weight: 700;
}

.main-visual__text {
  margin-top: 24px;
  font-size: var(--font-16-to-13);
  text-align: justify;
  line-height: calc(28 / 16);
}

.main-visual__text--en {
  max-width: 730px;
}

@media screen and (max-width: 768px) {
  .main-visual {
    height: 920px;
  }
}

@media screen and (max-width: 428px) {
  .main-visual {
    height: 500px;
    padding-top: 80px;
  }

  .main-visual--en {
    height: 700px;
  }

  .main-visual__inner {
    grid-template-rows: initial;
    align-content: end;
    gap: 20px;
    padding-bottom: 0;
  }

  .main-visual__text {
    margin-top: 0;
  }
}

/* =========================================
   about
   ========================================= */
.about {
  padding-block: 132px 115px;
  position: relative;
  z-index: 5;

  & .section-title {
    color: var(--white);
  }
}

.about__inner {
  max-width: var(--content-width-small);
  margin-inline: auto;
  padding-inline: var(--padding-40-to-20);
}

.about__content {
  display: grid;
  gap: 58px;
  margin-top: 40px;
}

.about__text {
  color: var(--white);
  font-family: var(--noto-serif);
  font-size: var(--font-28-to-15);
  font-weight: 600;
  line-height: calc(58 / 28);
  letter-spacing: 20%;
}

.about__action {
  margin-top: 60px;
}

.detail-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 247px;
  height: 55px;
  margin-inline: auto;
  background-color: var(--red1);
  border: solid 1px var(--red1);
  border-radius: 300px;
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none;
  transition: var(--basic-transition);

  &::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 15px;
    width: 10px;
    height: 10px;
    border-top: 2px solid var(--white);
    border-right: 2px solid var(--white);
    transform: translateY(-50%) rotate(45deg);
    transition: var(--basic-transition);
  }

  &:hover {
    background-color: var(--white);
    color: var(--red1);
    &::after {
      border-color: var(--red1);
    }
  }
}

@media screen and (max-width: 428px) {
  .about {
    padding-block: 50px 46px;
  }

  .about__content {
    margin-top: 20px;
    gap: 28px;
  }

  .about__action {
    margin-top: 20px;
  }

  .detail-btn {
    width: 300px;
    height: 45px;
  }
}
/* =========================================
   service
   ========================================= */
.service {
  padding-block: 110px 0;
  background-color: var(--white);
  position: relative;
  z-index: 0;

  & .section-title {
    grid-template-columns: auto 1fr;
    gap: var(--font-32-to-16);
    align-items: center;
  }
}

.service__inner {
  max-width: var(--content-width-large);
  margin-inline: auto;
  padding-inline: var(--padding-40-to-20);
}

.service__list {
  display: grid;
  margin-top: 13px;
}

.service__list--en {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: repeat(3, max-content);
}

.service__item {
  display: grid;
  grid-template-columns: 45% 1fr;
  gap: 44px;
  align-items: start;
  padding-top: 6px;
  height: 294px;

  &:not(:first-of-type) > .service__body {
    border-top: solid 1px var(--gray1);
  }
}

.service__item--en {
  height: auto;
  padding-top: 0;
  margin-top: 40px;
  align-items: center;
  &:first-of-type {
    margin-top: 0;

    & .service__img-wrapper--en {
      padding-top: 0;
    }

    & .service__body--en {
      padding-block: 0;
    }
  }
}

.service__img-wrapper {
  width: 100%;
  height: 100%;
  padding-top: 6px;
  overflow: hidden;
}

.service__img-wrapper--en {
  padding-top: 40px;
}

.service__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--basic-transition);
}
.service__item:has(.detail-link:hover) .service__img {
  scale: 1.1;
}

.service__body {
  display: grid;
  grid-template-rows: auto auto auto;
  justify-content: center;
  height: 100%;
  padding-block: 48px 23px;
}

.service__body--en {
  padding-block: 40px 0;
}

.service__title {
  font-size: var(--font-26-to-15);
  font-weight: 600;
  line-height: calc(36 / 26);

  &.service__title-en {
    font-size: 1rem;
  }
}

.service__text {
  margin-top: 32px;
  font-size: var(--font-14-to-10);
  line-height: calc(20 / 14);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  max-height: calc(20em / 14 * 2);
}

.service__text--en {
  display: block;
  -webkit-box-orient: initial;
  overflow: initial;
  text-overflow: initial;
  -webkit-line-clamp: unset;
  max-height: none;
}

.service__link-area {
  justify-self: end;
  align-self: end;
}

/* 共通パーツ: テキストリンク型ボタン */
.detail-link {
  position: relative;
  display: inline-grid;
  align-items: center;
  gap: 18px;
  padding-right: 24px;
  color: var(--red1);
  font-size: 0.75rem;
  font-weight: 500;
  transition: var(--basic-transition);

  &::after {
    content: "";
    position: absolute;
    right: 0;
    width: 10px;
    height: 10px;
    border-top: 1px solid var(--red1);
    border-right: 1px solid var(--red1);
    transform: rotate(45deg);
    transition: var(--basic-transition);
  }

  &:hover {
    opacity: 0.7;

    &::after {
      transform: translateX(5px) rotate(45deg);
    }
  }
}

@media screen and (max-width: 964px) {
  .service__list {
    gap: 40px;
  }
  .service__item {
    grid-template-columns: 1fr;
    height: auto;
    gap: var(--font-32-to-16);

    &:not(:first-of-type) > .service__body {
      border-top: none;
    }
  }

  .service__item--en {
    margin-top: 0;
  }

  .service__img-wrapper--en {
    padding-top: 0;
  }

  .service__body {
    padding-block: 0;
  }

  .service__text {
    margin-top: var(--font-20-to-10);
  }

  .service__link-area {
    margin-top: 20px;
  }
}

@media screen and (max-width: 428px) {
  .service {
    padding-block: 35px 0;
  }
}

/* =========================================
   feature
   ========================================= */
.feature {
  background-color: var(--white);
  padding-block: 200px 0px;
  position: relative;
  z-index: 0;

  & .section-title {
    grid-template-columns: auto 1fr;
    gap: var(--font-32-to-16);
    align-items: center;
    padding-bottom: 20px;
    border-bottom: solid 1px var(--gray1);
    position: sticky;
    top: 100px;
  }
}

.feature__inner {
  max-width: var(--content-width-large);
  margin-inline: auto;
  padding-inline: var(--padding-40-to-20);
}

.feature__list {
  margin-top: 80px;
}

.feature__item {
  position: sticky;
  top: 250px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8%;
  background-color: var(--white);
  padding-block: 30px 20px;
}

.feature__indicator {
  font-family: var(--bentham);
  font-size: var(--font-260-to-130);
  line-height: 0.8;
  color: var(--black1);
  letter-spacing: 0;
}

.feature__content {
  display: grid;
  align-content: start;
}

.feature__title {
  font-size: var(--font-46-to-23);
  font-weight: 600;
  line-height: calc(66 / 46);
}

.feature__text {
  margin-top: 12px;
  font-size: var(--font-20-to-10);
  line-height: calc(36 / 20);
}

.feature__img-wrapper {
  margin-top: 30px;
  max-width: 420px;
  height: auto;
  aspect-ratio: 420/280;
}

.feature__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media screen and (max-width: 860px) {
  .feature {
    padding-block: 75px 0;

    & .section-title {
      position: initial;
      top: initial;
      border-bottom: solid 1px var(--black1);
    }
  }

  .feature__list {
    margin-top: 0;
  }

  .feature__item {
    position: initial;
    top: initial;
    padding-block: 0 48px;
    grid-template-columns: 1fr;
    gap: var(--font-36-to-18);
  }

  .feature__content {
    margin-top: 10px;
  }
}

/* =========================================
   company
   ========================================= */
.company {
  background-color: var(--white);
  padding-block: 44px 0;
  position: relative;
  z-index: 0;
}

.company--en {
  padding-block: 44px 140px;
}

.company__inner {
  max-width: var(--content-width-large);
  margin-inline: auto;
  padding-inline: var(--padding-40-to-20);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10%;
  align-items: center;
}

.company__img-wrapper {
  max-width: 785px;
  width: 100%;
  height: auto;
  aspect-ratio: 785/714;
  overflow: hidden;
}

.company__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--basic-transition);
}
.company__inner:has(.detail-link:hover) .company__img {
  scale: 1.1;
}

.company__body {
  display: grid;
  align-content: start;
}

.company__text {
  margin-top: 40px;
  font-size: var(--font-18-to-13);
  font-weight: 500;
  line-height: 1.2;
}

.company__link-area {
  margin-top: 40px;
  justify-self: end;
  align-self: self-end;
}

@media screen and (max-width: 768px) {
  .company--en {
    padding-block: 30px;
  }

  .company__inner {
    grid-template-columns: auto;
    gap: 30px;
  }

  .company__img-wrapper {
    grid-row: 2/3;
  }

  .company__text {
    margin-top: 20px;
  }
}

/* =========================================
   news
   ========================================= */
.news {
  background-color: var(--white);
  padding-block: 111px 85px;
  position: relative;
  z-index: 0;
}

.news__inner {
  max-width: var(--content-width-small);
  margin-inline: auto;
  padding-inline: var(--padding-40-to-20);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4%;
  align-items: center;
}

.news__head {
  display: grid;
  gap: 48px;
}

.news__list {
  display: grid;
  border-top: 1px solid var(--gray1);
}

.news__item {
  border-bottom: 1px solid var(--gray1);
}

.news__item-link {
  display: block;
  padding-block: 28px 38px;
  transition: var(--basic-transition);

  &:hover {
    opacity: 0.7;
  }
}

.news__date {
  font-size: var(--font-12-to-10);
}

.news__item-title {
  font-size: var(--font-20-to-15);
  font-weight: 600;
  line-height: calc(28 / 20);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news__item-text {
  margin-top: 12px;
  font-size: var(--font-12-to-10);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media screen and (max-width: 768px) {
  .news__inner {
    grid-template-columns: 1fr;
    gap: var(--font-32-to-20);
  }

  .news__head {
    width: 100%;
    grid-template-columns: 1fr auto;
    align-items: center;
    justify-content: space-between;
  }

  .news__item-link {
    padding-block: var(--font-36-to-18);
  }

  .news__item-title,
  .news__item-text {
    -webkit-line-clamp: 2;
    margin-top: 10px;
    line-height: calc(30 / 20);
  }

  .news__item-title {
    line-height: calc(40 / 30);
  }
}

@media screen and (max-width: 428px) {
  .news {
    padding-block: 70px 45px;
  }
}

/* =========================================
   contact section
   ========================================= */
main:has(.contact-form) + .contact {
  display: none;
}

.contact {
  position: relative;
  z-index: 0;
  background-color: var(--white);
  padding-block: 158px;
  overflow: hidden;

  &::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
  }

  & .section-title {
    grid-template-columns: auto 1fr;
    gap: var(--font-32-to-16);
    align-items: center;
    color: var(--white);
  }
}

.contact__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../img/contact-bg.webp");
  background-size: cover;
  background-position: center;
  z-index: 1;
  transition: var(--basic-transition);

  &::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
  }
}
.contact:has(.contact__content:hover) .fixed-bg__video {
  scale: 1.1;
}
.contact:has(.detail-btn:hover) .fixed-bg__video {
  scale: 1.1;
}

.contact__inner {
  position: relative;
  z-index: 2;
  max-width: var(--content-width-large);
  margin-inline: auto;
  padding-inline: var(--padding-40-to-20);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 60px;
}

.contact__content {
  display: grid;
  align-content: start;

  &:hover + .contact__arrow-wrapper .contact__arrow {
    transform: translateX(10px) rotate(45deg);
  }
}

.contact__text {
  color: var(--white);
  font-size: var(--font-18-to-10);
  font-weight: 500;
  line-height: calc(30 / 20);
  margin-top: 40px;
}

.contact__arrow {
  display: block;
  width: 100px;
  height: 100px;
  border-top: 2px solid var(--white);
  border-right: 2px solid var(--white);
  transform: rotate(45deg);
  transition: var(--basic-transition);
}

.contact__btn-area {
  display: none;
}

@media screen and (max-width: 768px) {
  .contact {
    padding-block: 82px 40px;
  }

  .contact__inner {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .contact__bg {
    background-image: url(../img/mainvisual.webp);
  }
  .contact__arrow-wrapper {
    display: none;
  }

  .contact__btn-area {
    display: block;
  }
}

/* =========================================
   Footer message
   ========================================= */
.footer-message {
  background-color: var(--white);
  padding-block: 108px 0px;
  position: relative;
  z-index: 0;
}

.footer-message__inner {
  max-width: var(--content-width-large);
  margin-inline: auto;
  padding-inline: var(--padding-40-to-20);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  /* gap: 40px; */
}

.footer-message__slogan {
  font-family: var(--bentham);
  font-weight: 400;
  font-size: var(--font-96-to-63);
}

.footer-message__sub {
  font-size: var(--font-20-to-15);
}

@media screen and (max-width: 860px) {
  .footer-message__inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media screen and (max-width: 428px) {
  .footer-message {
    padding-block: 43px 0;
  }
}

/* =========================================
   Footer
   ========================================= */

.footer {
  background-color: var(--white);
  padding-block: 150px 0px;
  position: relative;
  z-index: 0;
}

.footer__inner {
  max-width: var(--content-width-large);
  margin-inline: auto;
  padding-inline: var(--padding-40-to-20);
}

.footer__main-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
}

.footer__info {
  display: grid;
  gap: 16px;
}

.footer__logo {
  width: 231px;
  height: auto;
  aspect-ratio: 231/58;
}

.footer__logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer__address {
  font-size: 0.875rem;
  font-weight: 500;
}

.footer__nav-list {
  display: grid;
  grid-auto-flow: column;
  gap: var(--font-70-to-30);
}

.footer__nav-link {
  font-size: 1rem;
  font-weight: 500;
  display: inline-block;
  position: relative;
  z-index: 10;
  transition: var(--basic-transition);

  &::before {
    content: "";
    display: block;
    background-color: var(--red1);
    width: 100%;
    height: 1px;
    position: absolute;
    left: 0;
    bottom: -8px;
    transform: scale(0, 1);
    transition: var(--basic-transition);
  }

  &:hover::before {
    transform: scale(1, 1);
  }
}

.footer__cert-row {
  margin-top: 60px;
  display: grid;
  justify-content: end;
}

.footer__cert-list {
  display: grid;
  grid-auto-flow: column;
  align-items: center;
  gap: 40px;
}

.footer__cert-img {
  height: auto;

  &:first-of-type {
    width: 206px;
    aspect-ratio: 206/180;
  }

  &:last-of-type {
    width: 112px;
    aspect-ratio: 112/142;
  }
}

.footer__bottom {
  margin-top: 40px;
  padding-block: 48px;
  border-top: 1px solid var(--gray1);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
}

.footer__copyright {
  font-size: 0.75rem;
}

.footer__back-to-top {
  position: relative;
  padding-right: 32px;
  font-size: 0.75rem;
  font-weight: 500;
  transition: var(--basic-transition);

  &::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    width: 12px;
    height: 12px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: translateY(-20%) rotate(-45deg);
    transition: transform 0.3s;
  }

  &:hover {
    opacity: 0.7;

    &::after {
      transform: translateY(-50%) rotate(-45deg);
    }
  }
}

@media screen and (max-width: 768px) {
  .footer {
    padding-block: var(--font-96-to-63) 0;
  }
  .footer__main-row {
    grid-template-columns: 1fr;
    gap: 80px;
  }

  .footer__nav-list {
    grid-template-columns: 1fr 1fr;
    grid-auto-flow: initial;
    gap: 60px 40px;
  }
}

@media screen and (max-width: 428px) {
  .footer__logo {
    width: 120px;
  }

  .footer__cert-img {
    &:first-of-type {
      width: 103px;
    }

    &:last-of-type {
      width: 56px;
    }
  }

  .footer__bottom {
    padding-block: 30px;
  }

  .footer__copyright {
    font-size: 0.3125rem;
  }
}

/* =================================================================
固定ページ
================================================================= */
.page__mainvisual {
  height: 452px;
  position: relative;
  z-index: 50;
  display: flex;
  align-items: center;
}

.page__mainvisual-inner {
  width: 100%;
  height: 100%;
  max-width: var(--content-width-small);
  margin-inline: auto;
  padding-inline: var(--padding-40-to-20);
  position: relative;
  display: flex;
  align-items: center;
  z-index: 5;
}

.page__title {
  display: grid;
  gap: 12px;
  color: var(--white);
}

.page__title-jp {
  font-size: var(--font-12-to-10);
  font-weight: 500;
}

.page__title-en {
  font-family: var(--bentham);
  font-size: var(--font-76-to-48);
  font-weight: 400;
}

.breadcrumbs {
  position: absolute;
  z-index: 60;
  bottom: 16px;
  left: var(--padding-40-to-20);
  display: flex;
  justify-content: start;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--white);
  font-size: var(--font-12-to-10);
}

@media screen and (max-width: 428px) {
  .page__mainvisual {
    height: 300px;
  }
}

/* =================================================================
news page archive
================================================================= */
.news-page__mainvisual {
  background: url(../img/news-page-mainvisual.webp) no-repeat center center/cover;

  &::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
  }
}

.news-archive {
  padding-block: 100px;
}

.news-archive__inner {
  max-width: var(--content-width-small);
  margin-inline: auto;
  padding-inline: var(--padding-40-to-20);
}

.news-archive__list {
  display: grid;
  border-top: 1px solid var(--gray1);
}

.news-archive__item {
  border-bottom: 1px solid var(--gray1);
}

.news-archive__link {
  display: grid;
  padding-block: 27px;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s;

  &:hover {
    opacity: 0.7;
  }
}

.news-archive__date {
  font-size: var(--font-12-to-10);
}

.news-archive__title {
  margin-top: 12px;
  font-size: var(--font-20-to-15);
  /* 1行で省略 */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.news-archive__text {
  margin-top: 20px;
  font-size: var(--font-12-to-10);
  /* 1行で省略 */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ページネーション（WordPress標準クラス対応） */
.c-pagination {
  margin-top: 60px;
  display: grid;
  justify-content: center;
}

.c-pagination .nav-links {
  display: grid;
  grid-auto-flow: column;
  align-items: center;
  gap: 24px;
}

.c-pagination .page-numbers {
  display: grid;
  place-items: center;
  min-width: 40px;
  height: 40px;
  text-decoration: none;
  color: var(--black1);
  font-size: 1rem;
  font-weight: 500;
  transition: var(--basic-transition);

  /* 現在のページ */
  &.current {
    background-color: var(--black1);
    color: var(--white);
    border-radius: 50%;
  }

  /* ドット（...） */
  &.dots {
    border: none;
    background: none;
  }
}

.c-pagination .prev,
.c-pagination .next {
  position: relative;
  width: 40px;
  height: 40px;
}

.c-pagination__arrow--prev,
.c-pagination__arrow--next {
  display: block;
  width: 12px;
  height: 12px;
  border-top: 2px solid var(--black1);
  border-right: 2px solid var(--black1);
}

.c-pagination__arrow--prev {
  transform: rotate(-135deg);
}

.c-pagination__arrow--next {
  transform: rotate(45deg);
}

@media screen and (max-width: 428px) {
  .news-archive {
    padding-block: 50px;
  }
}

/* =================================================================
new 個別ページ
================================================================= */
.news-single {
  padding-block: 120px;
}

.news-single__inner {
  max-width: var(--content-width-small);
  margin-inline: auto;
  padding-inline: var(--padding-40-to-20);

  & .breadcrumbs {
    position: relative;
    bottom: auto;
    left: auto;
    color: var(--black1);
  }
}

/* 記事ヘッダー */
.news-single__header {
  margin-top: 30px;
}

.news-single__date {
  font-size: var(--font-12-to-10);
}

.news-single__title {
  margin-top: 20px;
  font-size: var(--font-32-to-20);
  font-weight: 600;
  line-height: calc(42 / 32);
}

/* 本文エリアのスタイリング */
.single-page__content {
  margin-top: 28px;
}

.news-single__body {
  font-size: var(--font-16-to-13);
  line-height: calc(26 / 16);

  /* pタグ等のマージン調整 */
  & > * {
    margin-top: 40px;
  }

  & > *:first-child {
    margin-top: 0;
  }

  /* 本文内の画像 */
  img {
    max-width: 100%;
    height: auto;
    display: block;
    margin-inline: auto;
  }

  /* 本文内の見出し等が必要な場合 */
  h2 {
    margin-top: 80px;
    font-size: var(--font-24-to-16);
    font-weight: 500;
    border-left: 4px solid var(--red1);
    padding-left: 20px;
  }
}

.single-news {
  & .news {
    background-color: rgba(239, 239, 239, 0.3);
  }
}

/* =================================================================
company
================================================================= */
.company-page__mainvisual {
  background: url(../img/company-page-mainvisual.webp) no-repeat center center/cover;

  &::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
  }
}

/* =================================================================
contact
================================================================= */
.contact-page__mainvisual {
  background: url(../img/contact-bg.webp) no-repeat center center/cover;

  &::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
  }
}

.contact-form {
  padding-top: 90px;
}

.contact-form__message {
  max-width: var(--content-width-small);
  margin-inline: auto;
  padding-inline: var(--padding-40-to-20);
  text-align: center;
  font-size: var(--font-20-to-10);
  line-height: calc(26 / 20);
}

.contact-form__inner {
  max-width: var(--content-width-small);
  margin-inline: auto;
  padding-inline: var(--padding-40-to-20);
  margin-top: 82px;
}

.contact-form__inner form {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0px 24px;
}

.contact-form {
  & .smf-progress-tracker {
    grid-column: 1/2;
    grid-row: 1/3;
    flex-direction: column;
    grid-template-columns: 1fr;
    gap: 54px;
    min-width: 168px;
    height: 140px;
  }

  & .smf-progress-tracker__item {
    width: 100%;
    flex-direction: row;

    &::after {
      content: "";
      display: block;
      width: 1px;
      height: 33px;
      position: absolute;
      left: 5px;
      top: -40px;
    }

    &:first-of-type::after {
      display: none;
    }

    &::before {
      /* トラッカーの間に線を入れる場合この擬似要素を使う */
      display: none;
    }
  }

  & .smf-progress-tracker__item__text {
    margin-top: 0;
    color: var(--black1);
    padding-left: 19px;
    position: relative;

    &::before {
      content: "";
      display: block;
      width: 11px;
      height: 11px;
      background-color: var(--gray4);
      border-radius: 50%;
      position: absolute;
      left: 0;
      top: calc(50% - 4px);
    }
  }

  & .smf-progress-tracker__item[aria-current="true"] .smf-progress-tracker__item__text::before {
    background-color: var(--red2);
  }

  & .smf-progress-tracker__item__number {
    display: none;
  }
  /* トラッカー終了 */

  /* form入力欄 */
  & .smf-form {
    grid-column: 2/3;
    grid-row: 1/2;
  }

  & .smf-item {
    width: 100%;
    display: grid;
    grid-template-columns: 25% 1fr;
    justify-content: space-between;
    align-items: center;
    gap: 49px;
    padding-block: 17px;
  }

  & .has-inline-color {
    background-color: var(--white) !important;
    color: var(--red2) !important;
    border: solid 1px var(--red2);
    border-radius: 3px;
    font-size: var(--font-12-to-10);
    font-weight: 500;
    font-style: normal;
    line-height: 1;
    padding: 6px 10px;
  }

  & .smf-item__col--label {
    padding: 0;
    flex-basis: auto;
  }

  & .smf-item__label__text {
    font-size: var(--font-16-to-13);
    min-width: max-content;
    display: grid;
    grid-template-columns: auto auto;
    justify-content: space-between;
    align-items: center;
  }

  & .smf-text-control__control,
  & .smf-select-control__control,
  & .smf-textarea-control__control {
    width: 100%;
    padding: 0 12px 0 47px;
    height: 50px;
    box-sizing: border-box;
    color: var(--black1);
    background-color: var(--white);
    border: solid 1px var(--gray5);
    border-radius: 0px;
  }

  /* セレクトボックスの幅調整 */
  & .smf-select-control {
    width: 100%;
  }
  /* セレクトボックスの矢印の装飾 */
  /* & .smf-form .smf-select-control__toggle::before {
} */

  & .smf-textarea-control > textarea {
    height: 332px;
    padding: 12px 19px;
    resize: none;
    overflow-y: auto;
  }

  /* チェックボックス調整 */
  & .smf-checkboxes-control__control .smf-label:not(:first-of-type) {
    margin-top: 20px;
  }
  & .smf-form .smf-checkbox-control {
    align-items: center;
  }
  & .smf-form .smf-checkbox-control__control {
    margin-top: 0;
    &:checked {
      background-color: var(--red2);
      border-color: var(--red2);
    }
  }
  & .smf-checkbox-control__label {
    font-size: var(--font-16-to-13);
  }

  /* 住所 */
  & .wp-block-group .smf-item {
    grid-template-columns: 100px 1fr;
    gap: 20px;
    padding-block: 8px;
  }

  & .smf-placeholder[data-name="zipcode-1"] {
    width: 40%;
  }

  & .smf-placeholder[data-name="zipcode-2"] {
    width: 100%;
  }

  /* 送信ボタン */
  & .smf-action {
    grid-column: 1/3;
    grid-row: 2/3;
  }

  & .smf-system-error-content-ready {
    grid-column: 1/3;
    grid-row: 3/4;
  }

  & .smf-button-control {
    position: relative;
  }

  & .smf-button-control__control {
    width: 90%;
    max-width: 360px;
    height: 51px;
    background-image: none;
    background: var(--red1);
    color: var(--white);
    border: solid 1px var(--red1);
    border-radius: 30px;
    margin-top: 33px;
    transition: var(--basic-transition);
    position: relative;

    &:hover {
      background: var(--white);
      border-color: var(--red1);
      color: var(--red1);
    }
  }

  & .smf-button-control__control[data-action="back"] {
    background: none;
    color: var(--red1);

    &::before,
    &::after {
      display: none;
    }

    &:hover {
      color: var(--white);
      background-color: var(--red1);
    }
  }

  & .smf-button-control:has(.smf-button-control__control[data-action="back"])::before {
    display: none;
  }

  & .smf-action .smf-button-control + .smf-button-control {
    margin-left: 0;
  }

  & .smf-complete-content {
    width: 100%;
    font-size: 1rem;
    line-height: 1.8;
  }
}

/* 個人情報保護ボックス */
.contact-form__policy {
  margin-top: 40px;
  width: 100%;
  max-width: 600px;
}

.contact-form__policy-title {
  font-size: var(--font-16-to-13);
  text-align: center;
  font-weight: 400;
}

.contact-form__policy-box {
  margin-top: 20px;
  padding: 24px;
  border: 1px solid var(--gray3);
  max-height: 110px;
  overflow-y: auto;
}

.contact-form__policy-item-title {
  font-size: var(--font-12-to-10);
  line-height: calc(20 / 12);
  font-weight: 400;
}

.contact-form__policy-item-text {
  font-size: var(--font-12-to-10);
  line-height: calc(20 / 12);
  white-space: pre-wrap;
}
/* 
.contact-form__policy-box::-webkit-scrollbar {
  width: 6px;
}

.contact-form__policy-box::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.contact-form__policy-box::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 10px;
} */

@media screen and (max-width: 900px) {
  .contact-form__inner {
    margin-top: 20px;

    & form {
      grid-template-columns: 1fr;
      /* margin-top: 36px; */
    }
  }

  .contact-form {
    & .smf-progress-tracker {
      grid-column: 1/2;
      grid-row: 1/2;
    }

    & .smf-form {
      grid-column: 1/2;
      grid-row: 2/3;
    }

    & .smf-action {
      grid-column: 1/2;
      grid-row: 3/4;
    }
    & .smf-system-error-content-ready {
      grid-column: 1/2;
      grid-row: 4/5;
    }
  }
}

@media screen and (max-width: 768px) {
  .contact-form {
    padding-block: 45px;

    & .smf-item {
      display: grid;
      grid-template-columns: 1fr;
      gap: 10px;
      padding-block: 20px;
    }

    & .smf-item__label__text {
      justify-content: start;
      gap: 14px;
      font-weight: 600;
    }

    & .smf-text-control__control,
    & .smf-select-control__control,
    & .smf-textarea-control__control {
      padding: 0 12px 0 12px;
    }

    & .smf-placeholder[data-name="zipcode-1"] {
      width: 100%;
    }

    & .smf-placeholder[data-name="zipcode-2"] {
      width: 100%;
    }
  }
}

/* =================================================================
companyページ
================================================================= */
/* =================================================================
greeting
================================================================= */
.greeting {
  padding-block: 60px 0;

  & .section-title {
    grid-template-columns: auto 1fr;
    gap: var(--font-32-to-16);
    align-items: center;
  }
}

.greeting__inner {
  max-width: var(--content-width-small);
  margin-inline: auto;
  padding-inline: var(--padding-40-to-20);
}

.greeting__container {
  margin-top: 60px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 52px;
  align-items: start;
}

.greeting__img-wrapper {
  aspect-ratio: 280/360;
  height: auto;
}

.greeting__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.greeting__body {
  display: grid;
}

.greeting__text {
  font-size: var(--font-16-to-13);
  line-height: calc(26 / 16);
}

.greeting__text + .greeting__text {
  margin-top: 34px;
}

.greeting__signature {
  margin-top: 40px;
  justify-self: end;
}

.greeting__signature-text {
  font-size: var(--font-16-to-13);
  line-height: calc(26 / 16);
}

.greeting__signature-name {
  margin-left: 20px;
  font-size: var(--font-26-to-15);
}

@media screen and (max-width: 768px) {
  .greeting__container {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* =================================================================
  information
================================================================= */
.info {
  padding-block: 58px 88px;

  & .section-title {
    grid-template-columns: auto 1fr;
    gap: var(--font-32-to-16);
    align-items: center;
  }
}

.info__inner {
  max-width: var(--content-width-small);
  margin-inline: auto;
  padding-inline: var(--padding-40-to-20);
}

.info__list {
  margin-top: 14px;
  display: grid;
  border-bottom: 1px solid var(--gray1);
}

.info__item {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 24px;
  padding-block: 30px;
  border-top: 1px solid var(--gray1);
}

.info__label {
  font-size: var(--font-16-to-13);
  font-weight: 400;
  line-height: calc(22 / 16);
}

.info__data {
  font-size: var(--font-16-to-13);
  line-height: calc(22 / 16);
}

.info__map {
  margin-top: 19px;
  width: 100%;
  max-height: 450px;
  aspect-ratio: 853/437;
  background-color: #e0e0e0;
}

.info__map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

@media screen and (max-width: 428px) {
  .info__item {
    grid-template-columns: 90px 1fr;
    gap: 12px;
  }
}

/* =================================================================
  会社方針
================================================================= */
.policy {
  padding-block: 45px 86px;
  background-color: var(--gray6);

  & .section-title {
    grid-template-columns: auto 1fr;
    gap: var(--font-32-to-16);
    align-items: center;
  }
}

.policy__inner {
  max-width: var(--content-width-small);
  margin-inline: auto;
  padding-inline: var(--padding-40-to-20);
}

.policy__list {
  margin-top: 22px;
  display: grid;
  gap: 22px;
}

.policy__card {
  background-color: var(--white);
  padding-block: 46px;
  padding-inline: 66px;
}

.policy__card-title {
  font-size: var(--font-26-to-14);
  font-weight: 600;
  line-height: calc(32 / 26);
}

.policy__card-text {
  margin-top: 24px;
  font-size: var(--font-16-to-13);
  line-height: calc(26 / 16);
}

.policy__card-nav {
  margin-top: 30px;
  display: grid;
  list-style: none;
}

.policy__card-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px;
  align-items: start;
}

.policy__card-number {
  font-size: var(--font-16-to-13);
  line-height: calc(46 / 16);
}

.policy__card-desc {
  font-size: var(--font-16-to-13);
  line-height: calc(46 / 16);
}

@media screen and (max-width: 768px) {
  .policy {
    padding-block: 45px;
  }

  .policy__card {
    padding-block: 20px;
    padding-inline: 12px;
  }

  .policy__card-nav {
    margin-top: 12px;
  }
}

/* =================================================================
  history
================================================================= */
.history {
  padding-block: 49px;

  & .section-title {
    grid-template-columns: auto 1fr;
    gap: var(--font-32-to-16);
    align-items: center;
  }
}

.history__inner {
  max-width: var(--content-width-small);
  margin-inline: auto;
  padding-inline: var(--padding-40-to-20);
}

.history__list {
  margin-top: 12px;
  display: grid;
  border-bottom: 1px solid var(--gray1);
}

.history__item {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 24px;
  padding-block: 30px;
  border-top: 1px solid var(--gray1);
}

.history__date {
  font-size: var(--font-16-to-13);
  line-height: calc(26 / 16);
  font-weight: 400;
}

.history__content {
  font-size: var(--font-16-to-13);
  line-height: calc(26 / 16);
}

@media screen and (max-width: 428px) {
  .history__item {
    grid-template-columns: 90px 1fr;
    gap: 12px;
  }
}

/* =================================================================
  aboutページ
================================================================= */
.about-page__mainvisual {
  background: url(../img/about-page-mainvisual.webp) no-repeat center center/cover;

  &::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
  }
}

.about-page {
  padding-top: 74px;
}

.about-page__inner {
  max-width: var(--content-width-small);
  margin-inline: auto;
  padding-inline: var(--padding-40-to-20);
}

.about-page__business {
  padding-block: 0px 70px;
}

.about-page__business-list {
  display: grid;
  gap: 86px;
}

.about-page__business-item {
  display: grid;
  justify-items: start;
}

.about-page__business-image {
  width: 100%;
}

.about-page__business-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.about-page__business-title {
  margin-top: 30px;
  font-size: var(--font-26-to-15);
  font-weight: 600;
  line-height: calc(36 / 26);
}

.about-page__business-text {
  margin-top: 24px;
  font-size: var(--font-16-to-13);
  line-height: calc(20 / 16);
  /* color: var(--red1); */
}

/* 下部：メッセージ＆輸出実績 */
.about-page__message {
  padding-block: 77px;
  background-color: var(--gray6);
}

.about-page__message-content {
  display: grid;
  justify-items: center;
}

.about-page__message-img {
  width: 100%;
  height: auto;
  aspect-ratio: 751/469;
}

.about-page__message-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-page__message-body {
  margin-top: 29px;
}

.about-page__message-text {
  font-size: var(--font-20-to-10);
  line-height: calc(30 / 20);
}

/* 輸出実績エリア */
.about-page__export {
  margin-top: 51px;
}

.about-page__export-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: start;
}

.about-page__export-map img {
  width: 100%;
  height: auto;
  aspect-ratio: 574/376;
}

.about-page__export-title {
  font-size: var(--font-20-to-15);
  font-weight: 600;
}

.about-page__export-list {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 20px;
  font-size: var(--font-16-to-13);
}

@media screen and (max-width: 860px) {
  .about-page__export-grid {
    grid-template-columns: 1fr;
  }

  .about-page__export-list {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  }
}

@media screen and (max-width: 428px) {
  .about-page {
    padding-top: 38px;
  }
  .about-page__business-list {
    gap: 40px;
  }

  .about-page__business-title {
    margin-top: 15px;
  }

  .about-page__business-text {
    margin-top: 12px;
  }
}

/* =================================================================
  SDGsページ
================================================================= */
.sdgs-page__mainvisual {
  background: url(../img/sdgs-page-mainvisual.webp) no-repeat center center/cover;

  &::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
  }
}

.sdgs {
  padding-top: 62px;
}

.sdgs__inner {
  max-width: var(--content-width-small);
  margin-inline: auto;
  padding-inline: var(--padding-40-to-20);
}

/* 上部コンテンツ */
.sdgs__content-upper {
}

.sdgs__intro {
  text-align: center;
  font-size: var(--font-26-to-15);
  font-weight: 600;
  line-height: calc(36 / 26);
}

.sdgs__grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto auto auto auto;
  gap: 51px 7%;
}

.sdgs__card {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 5;
  gap: 0;
  align-content: start;

  &:first-of-type .sdgs__card-icons,
  &:nth-of-type(3) .sdgs__card-icons {
    width: 80%;
  }
}

.sdgs__card-img {
  grid-row: 1;
  width: 100%;
  height: auto;
  aspect-ratio: 473/315;
}

.sdgs__card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sdgs__card-title {
  grid-row: 2;
  margin-top: 19px;
  font-size: var(--font-26-to-15);
  line-height: calc(36 / 26);
  font-weight: 500;
}

.sdgs__card-text {
  grid-row: 3;
  margin-top: 12px;
  font-size: var(--font-14-to-10);
  line-height: calc(20 / 14);
}

.sdgs__card-list {
  grid-row: 4;
  margin-top: 12px;
  padding: 19px 17px;
  background-color: var(--gray6);
  list-style: none;
  height: max-content;
}

.sdgs__card-list li {
  position: relative;
  padding-left: 1.5em;
  font-size: var(--font-14-to-10);
  line-height: calc(24 / 14);
}

.sdgs__card-list li + li {
  margin-top: 10px;
}

.sdgs__card-list li::before {
  content: "・";
  position: absolute;
  left: 0;
}

.sdgs__card-icons {
  grid-row: 5;
  margin-top: 43px;
}

.sdgs__card-icons img {
  width: auto;
  height: auto;
  max-width: 100%;
}

/* 下部コンテンツ */
.sdgs__content-lower {
  padding-block: 80px 52px;
  background-color: var(--gray6);
  margin-top: 135px;
}

.sdgs__definition {
  display: grid;
  grid-template-columns: 45% 1fr;
  gap: 52px;
  align-items: center;
}

.sdgs__definition-img {
  width: 100%;
  height: auto;
  aspect-ratio: 452/268;
}

.sdgs__definition-img img {
  width: 100%;
  height: 100%;
}

.sdgs__definition-title {
  font-size: var(--font-26-to-15);
  font-weight: 600;
  line-height: calc(36 / 26);
}

.sdgs__definition-text {
  margin-top: 7px;
  font-size: var(--font-18-to-13);
  line-height: calc(28 / 18);
}

@media screen and (max-width: 768px) {
  .sdgs__grid {
    grid-template-columns: 1fr;
    gap: var(--font-46-to-23);
  }

  .sdgs__card-img {
    margin-top: 12px;
  }

  .sdgs__content-lower {
    margin-top: 32px;
    padding-block: 40px;
  }

  .sdgs__definition {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .sdgs__definition-img {
    grid-row: 2/3;
  }
}

/* =================================================================
  404ページ
================================================================= */
.error__wrapper {
  max-width: var(--content-width-small);
  padding: 100px 20px 100px;
  margin-inline: auto;
}

.error__title {
  font-size: 2rem;
  text-align: center;
}

.error__content {
  color: var(--black1);
  font-size: 1.25rem;
  line-height: 1.2;
  margin-top: 36px;
}

.error__content-link {
  display: inline-block;
  font-weight: bold;
  color: var(--red1);
  border-bottom: solid 1px var(--red1);
  transition: var(--basic-transition);

  &:hover {
    opacity: 0.6;
  }
}
