@charset "utf-8";

/* ---------------------
会社概要
--------------------- */

.company {
}

.company-wrapper {
  width: 78%;
  margin: 0 auto;
  padding-bottom: 20rem;
}

.company-title-container {
  padding: 34rem 0 23rem;
  background-image: url(../img/company-profile-fv-1.svg);
  background-position: right 60%;
  background-size: 50% auto;
  background-repeat: no-repeat;
}

/*768px以下のとき以下を採用*/
@media (max-width: 768px) {
  .company-title-container {
    padding: 34rem 0 23rem;
  }

  .company-wrapper {
    width: 100%;
    padding: 0 2rem 10rem;
  }

  .company-title-container {
    background-image: url(../img/company-profile-fv-1-sp.svg);
    background-position: center 60%;
    background-size: 80% auto;
    background-repeat: no-repeat;
  }
}

.company-title {
  display: flex;
  align-items: center;
}

/*768px以下のとき以下を採用*/
@media (max-width: 768px) {
  .company-title {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

.company-title-main {
  font-family: var(--oubun-font);
  color: var(--ili-t-color);

  font-size: 3rem;
  font-weight: 400;
  letter-spacing: 2.4px;
  margin-top: -0.6rem;
  margin-bottom: -0.5rem;
}

.company-title-sub {
  font-family: var(--japan-font);

  color: var(--text-color);
  font-size: 1.6rem;
  letter-spacing: 1.28px;
  margin-left: 2.6rem;
}
/*768px以下のとき以下を採用*/
@media (max-width: 768px) {
  .company-title-sub {
    margin-left: 0;
    font-size: 1.4rem;
  }
  .company-title-main {
    font-family: var(--oubun-font);
    color: var(--ili-t-color);

    font-size: 2.5rem;
    font-weight: 400;
    letter-spacing: 2.4px;
    margin-top: -0.6rem;
    margin-bottom: 0.5rem;
  }
}

.company-profile-container {
  display: grid;
  /* 上にコメント：左カラムを固定幅、右を可変にする */
  grid-template-columns: 12rem 1fr;
  /* 上にコメント：行間をそろえる */
  row-gap: 7.5rem;
  /* 上にコメント：全体の最大幅 */
  width: 100%;
  max-width: 100%;
  /* 上にコメント：本文の基本スタイル */
  color: var(--text-color);
  font-family: var(--japan-font);
  font-size: 1.6rem;
  column-gap: 23%;
  /* column-gap: 33.5rem; */
  /* 33.5rem */
  padding-right: 2rem;
}

.company-label {
  /* 上にコメント：左のラベル列を左寄せ */
  text-align: left;
  /* 上にコメント：行の先頭揃え */
  align-self: flex-start;
  padding-right: 5rem;
}
/* 住所きれいにする用 */
.company-item-adress {
  display: none;
}

/*768px以下のとき以下を採用*/
@media (max-width: 768px) {
  .company-label {
    margin-top: 1rem;
  }
}

/*400px以下のとき以下を採用*/
@media (max-width: 400px) {
  .company-item-adress {
    display: block;
  }
}

.company-item {
  /* 上にコメント：右の内容列も行の先頭揃え */
  align-self: flex-start;
  /* 上にコメント：文字間を少し広げる */
  letter-spacing: 1.28px;
  line-height: 1.87;
}
.company-item-flex {
  display: none;
}
/*768px以下のとき以下を採用*/
@media (max-width: 768px) {
  .company-profile-container {
    display: grid;
    /* 上にコメント：左カラムを固定幅、右を可変にする */
    grid-template-columns: 1fr;
    /* 上にコメント：行間をそろえる */
    row-gap: 4.5rem;
    width: 100%;
    max-width: 100%;
    column-gap: 23%;
    padding-right: 0rem;
  }
  .company-item {
    margin-bottom: 3rem;
  }
  /* 年号揃えるための対策 */
  .company-item-none {
    display: none;
  }

  /* スマホ用の崩れ防止 */
  .privacy-item-list {
    display: none;
  }

  .company-item-flex {
    display: block;
  }
  .company-item-flex-left {
    display: inline-block;
  }
  .company-item-flex-list {
    display: flex;
    margin-bottom: 1.5rem;
    flex-direction: column;
  }
  .company-item-flex-right {
    line-height: 1.5;
    padding-left: 0;
    /* text-indent: -1rem; */
    font-size: 1.4rem;
  }
}

/* ---------------------
年号を揃える
--------------------- */

.company-item-flex {
}

/* ---------------------
取引実績
--------------------- */

.company-clients {
  background-color: var(--ili-bg-color-1);
}

.company-clients-container {
  width: 78%;
  margin: 0 auto;
  padding-top: 20rem;
  padding-bottom: 20rem;
}

/*768px以下のとき以下を採用*/
@media (max-width: 768px) {
  .company-clients-container {
    width: 100%;
    padding: 15rem 2rem 10rem;
  }
}

.company-clients-heading {
  margin-bottom: 10rem;
}

.company-clients-heading-main {
  position: relative;
  display: block;
  margin-bottom: 2.7rem;
  font-size: 1.9rem;
  font-family: var(--japan-font);
  color: var(--ili-t-color);
}

.company-clients-heading-main::before {
  position: absolute;
  content: "";
  background-image: url(../img/ona-01-Purple-gray.svg);
  background-repeat: no-repeat;
  width: 60px;
  height: 60px;

  left: 2.7rem;
  top: -5rem;
}

.company-clients-heading-sub {
  font-size: 1.6rem;
  color: var(--text-color);
  line-height: 1.75; /* 175% */
  font-weight: 400;
  letter-spacing: 1.28px;
}
.company-clients-list {
}
.company-clients-list-name {
  font-size: 1.4rem;
}
/*768px以下のとき以下を採用*/
@media (max-width: 768px) {
  .company-clients-list-name {
    font-size: 1.2rem;
  }
}

/* ---------------------
役員紹介
--------------------- */

.founder-container {
  padding-top: 20rem;
  padding-bottom: 20rem;
  width: 78%;
  margin: 0 auto;
}

/*768px以下のとき以下を採用*/
@media (max-width: 768px) {
  .founder-container {
    padding-top: 20rem;
    padding-bottom: 20rem;
    width: 100%;
    margin: 0 auto;
    padding: 10rem 2rem 10rem;
  }
}

.founder-title {
  display: flex;
  align-items: center;
  margin-bottom: 15rem;
}

/*768px以下のとき以下を採用*/
@media (max-width: 768px) {
  .founder-title {
    display: flex;
    flex-direction: column;
    margin-bottom: 10rem;
  }
}

.founder-title-main {
  font-family: var(--oubun-font);
  color: var(--ili-t-color);
  font-size: 3rem;
  font-weight: 400;
  letter-spacing: 2.4px;
  margin-top: -0.6rem;
  margin-bottom: -0.5rem;
}

.founder-title-sub {
  font-family: var(--japan-font);
  color: var(--text-color);
  font-size: 1.6rem;
  letter-spacing: 1.28px;
  margin-left: 2.6rem;
}

/*768px以下のとき以下を採用*/
@media (max-width: 768px) {
  .founder-title-sub {
    margin-left: 0;
  }
  .founder-title-sub {
    font-family: var(--japan-font);
    color: var(--text-color);
    font-size: 1.6rem;
    letter-spacing: 1.28px;
    margin-left: 0;
  }

  .founder-title-main {
    font-family: var(--oubun-font);
    color: var(--ili-t-color);
    font-size: 2.5rem;
    font-weight: 400;
    letter-spacing: 2.4px;
    margin-top: -0.6rem;
    margin-bottom: 0.5rem;
  }
}

/* 上にコメント：左固定カラム＋右可変カラムの2カラムgrid */
.founder-dk-wrapper {
  display: grid;
  grid-template-columns: 12rem 1fr;
  column-gap: 23%;
  align-items: flex-start;
}

/* 上にコメント：左カラムは上揃えでシンプルに */
.founder-dk-left {
  align-self: flex-start;
}

.founder-dk-left-sp {
  display: none;
}

/*1024px以下のとき以下を採用*/
@media (max-width: 1024px) {
  .founder-dk-left {
    display: none;
  }
  .founder-dk-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    column-gap: 23%;
    align-items: flex-start;
  }
  .founder-dk-left-sp {
    display: block;
    margin-bottom: 10rem;
  }
}

/* 上にコメント：右カラムも上揃え */
.founder-dk-right {
  align-self: flex-start;
}

.founder-dk-left-title {
  font-family: var(--oubun-font);
  color: var(--text-color);
  font-size: 3rem;
  font-weight: 400;
  margin-bottom: 5rem;
}

/*768px以下のとき以下を採用*/
@media (max-width: 768px) {
  .founder-dk-left-title {
    font-size: 2.5rem;
  }
}

/* 上にコメント：肩書きテキストは通常改行に戻す */
.founder-dk-left-text {
  font-family: var(--japan-font);
  color: var(--text-color);
  font-size: 1.6rem;
  line-height: 2;
}

.founder-dk-img {
  margin-bottom: 10.5rem;
}

.founder-dk-right-text-1 {
  margin-bottom: 3rem;
  font-family: var(--japan-font);
  color: var(--text-color);
  font-size: 1.6rem;
  line-height: 1.87;
}

.founder-dk-right-text-2 {
  font-family: var(--japan-font);
  color: var(--text-color);
  font-size: 1.6rem;
  line-height: 1.87;
}

.founder-dk-left-title,
.founder-dk-left-text {
  width: max-content;
  /* ← 中身の幅に合わせてどんどん広がる */
}

/*768px以下のとき以下を採用*/
@media (max-width: 768px) {
}

.founder-dk-left-text {
  white-space: nowrap;
  /* 折り返し禁止 */
  overflow: visible;
  /* はみ出しOK */
}

/* 下側の詳細プロフィール */

.founder-dk-profile-wrapper {
  width: 78%;
  margin: 0 auto;
  padding-bottom: 20rem;

  background-image: url(../img/company-ona-bottom-gray.svg);
  background-position: right center;
  background-repeat: no-repeat;
  background-size: 25%;
}

/*1100px以下のとき以下を採用*/
@media (max-width: 1100px) {
  .founder-dk-profile-wrapper {
    background-image: url(../img/company-ona-bottom-gray-sp.svg);
    background-size: 45%;
  }
}

/*768px以下のとき以下を採用*/
@media (max-width: 768px) {
  .founder-dk-profile-wrapper {
    width: 100%;
    margin: 0 auto;
    padding: 0 1.5rem 10rem;
    background-image: url(../img/company-ona-bottom-gray-sp.svg);
    background-size: 90%;
    background-position: center center;
  }
}
/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
/*--------------------- */
/* プライバシーポリシーページ用 */
/* --------------------- */

.privacy {
}

.privacy-wrapper {
  width: 78%;
  margin: 0 auto;
  padding-bottom: 30rem;
}

.privacy-title-container {
  padding: 34rem 0 23rem;
}

/*768px以下のとき以下を採用*/
@media (max-width: 768px) {
  .privacy-title-container {
    padding: 34rem 0 23rem;
  }

  .privacy-wrapper {
    width: 100%;
    padding: 0 2rem 20rem;
  }
}

.privacy-title {
  display: flex;
  align-items: center;
}

/*768px以下のとき以下を採用*/
@media (max-width: 768px) {
  .privacy-title {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

.privacy-title-main {
  font-family: var(--oubun-font);
  color: var(--ili-t-color);

  font-size: 3rem;
  font-weight: 400;
  letter-spacing: 2.4px;
  margin-top: -0.6rem;
  margin-bottom: -0.5rem;
}

.privacy-title-sub {
  font-family: var(--japan-font);

  color: var(--text-color);
  font-size: 1.6rem;
  letter-spacing: 1.28px;
  margin-left: 2.6rem;
}

.privacy-title-under-text {
  margin-bottom: 20rem;
  font-size: 1.4rem;
}
/*768px以下のとき以下を採用*/
@media (max-width: 768px) {
  .privacy-title-under-text-br {
    display: none;
    width: 100%;
  }
}

/*768px以下のとき以下を採用*/
@media (max-width: 768px) {
  .privacy-title-sub {
    margin-left: 0;
    font-size: 1.4rem;
  }
  .privacy-title-main {
    font-family: var(--oubun-font);
    color: var(--ili-t-color);

    font-size: 2.5rem;
    font-weight: 400;
    letter-spacing: 2.4px;
    margin-top: -0.6rem;
    margin-bottom: 0.5rem;
  }
}

.privacy-profile-container {
  display: grid;
  /* 上にコメント：左カラムを固定幅、右を可変にする */
  grid-template-columns: 26rem 1fr;
  /* 上にコメント：行間をそろえる */
  row-gap: 4.5rem;
  /* 上にコメント：全体の最大幅 */
  width: 100%;
  max-width: 100%;
  /* 上にコメント：本文の基本スタイル */
  color: var(--text-color);
  font-family: var(--japan-font);
  font-size: 1.6rem;
  column-gap: 11%;
  padding-right: 2rem;
}

.privacy-label {
  /* 上にコメント：左のラベル列を左寄せ */
  text-align: left;
  /* 上にコメント：行の先頭揃え */
  align-self: flex-start;
  /* padding-right: 5rem; */
}
/* 住所きれいにする用 */
.privacy-item-adress {
  display: none;
}

/*768px以下のとき以下を採用*/
@media (max-width: 768px) {
  .privacy-label {
    margin-top: 1rem;
  }
}

/*400px以下のとき以下を採用*/
@media (max-width: 400px) {
  .privacy-item-adress {
    display: block;
  }
}

.privacy-item {
  /* 上にコメント：右の内容列も行の先頭揃え */
  align-self: flex-start;
  /* 上にコメント：文字間を少し広げる */
  letter-spacing: 1.28px;
  line-height: 1.87;
}
.privacy-item-list-title {
  margin-bottom: 1rem;
}
/*768px以下のときをを以採用*/
@media (max－width: 768px) {
  .privacy-item-list-title {
    margin-bottom: 0;
  }

  .privacy-item-list {
    margin-top: -2rem;
  }
}

.privacy-item-list-item {
  font-size: 1.4rem;
  text-align: justify;
  text-indent: -2rem;
  padding-left: 2rem;
}

.privacy-item-list-item-2 {
  margin-top: 2rem;
  text-indent: 0rem;
  padding-left: 0rem;
}

.privacy-item-flex {
  display: none;
}
/*768px以下のとき以下を採用*/
@media (max-width: 768px) {
  .privacy-profile-container {
    display: grid;
    /* 上にコメント：左カラムを固定幅、右を可変にする */
    grid-template-columns: 1fr;
    /* 上にコメント：行間をそろえる */
    row-gap: 4.5rem;
    width: 100%;
    max-width: 100%;
    column-gap: 23%;
    padding-right: 0rem;
  }
  .privacy-item {
    margin-bottom: 3rem;
  }
  /* 年号揃えるための対策 */
  .privacy-item-none {
    display: none;
  }
  .privacy-item-sp-mb {
    margin-bottom: 0;
  }

  .privacy-item-flex {
    display: block;
  }
  .privacy-item-flex-left {
    display: inline-block;
  }
  .privacy-item-flex-list {
    display: flex;
    margin-bottom: 1.5rem;
    flex-direction: column;
  }
  .privacy-item-flex-right {
    line-height: 1.5;
    padding-left: 0;
    /* text-indent: -1rem; */
    font-size: 1.4rem;
  }
}

/* プライバシーページここまで */
/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/*--------------------- */
/* OWNED MEDIA用 */
/* --------------------- */

.owned {
}

.owned-top-wrapper {
  position: relative;
}

.owned-fv {
  display: flex;
  align-items: center;
  background-image: url(../img/owned-media-fv.webp);
  background-size: 100%;
  background-repeat: no-repeat;
  /* height: clamp(480px, 50vw, 1920px); */
  height: clamp(420px, 46vw, 1920px);
}

.owned-fv-wrapper {
  width: 78%;
  margin: 0 auto;
  /* padding-bottom: clamp(6rem, 8vw, 15rem); */
}

/*768px以下のとき以下を採用*/
@media (max-width: 768px) {
  .owned-fv {
    background-image: url(../img/owned-media-fv-sp.jpg);
  }

  .owned-fv-wrapper {
    width: 78%;
    margin: 0 auto;
    padding-bottom: 0;
  }
}

.owned-title-container {
}

.owned-title-main {
  font-family: var(--oubun-font);
  color: var(--color-f);

  font-size: 3rem;
  font-weight: 400;
  letter-spacing: 2.4px;
  margin-top: -0.6rem;
  margin-bottom: -0.5rem;
}

.owned-title-sub {
  font-family: var(--japan-font);

  color: var(--color-f);
  font-size: 1.6rem;
  letter-spacing: 1.28px;
  margin-left: 2.6rem;
}
.owned-title {
  display: flex;
  align-items: center;
}

/*768px以下のとき以下を採用*/
@media (max-width: 768px) {
  .owned-title {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .owned-title-sub {
    margin-left: 0;
  }
}
.owned-wrapper {
  position: relative;
  z-index: 1;
  width: 78%;
  margin: 0 auto;
  padding-top: 20rem;
}

.owned-bottom-wrapper {
  width: 78%;
  margin: 0 auto;
  padding-top: 10rem;
}
/*1280px以下のとき以下を採用*/
@media (max-width: 1280px) {
  .owned-wrapper {
    width: 90%;
    margin: 0 auto;
    padding-top: 10rem;
  }
  .owned-bottom-wrapper {
    width: 90%;
    margin: 0 auto;
    padding-top: 10rem;
  }
}

/*1000px以下のとき以下を採用*/
@media (max-width: 1000px) {
  .owned-bottom-wrapper {
    background-image: url(../img/owned-dk-logo.png);

    background-position: center 5rem;
    background-repeat: no-repeat;

    background-size: 40%;
  }
}

/*768px以下のとき以下を採用*/
@media (max-width: 768px) {
  .owned-bottom-wrapper {
    background-image: url(../img/owned-dk-logo.png);

    background-position: center 4rem;
    background-repeat: no-repeat;

    background-size: 70%;
    padding-top: 5rem;
  }
}

.owned-profile-container {
  display: grid;
  /* 上にコメント：左カラムを固定幅、右を可変にする */
  grid-template-columns: 46rem 1fr;
  /* 上にコメント：行間をそろえる */
  /* row-gap: 4.5rem; */
  /* 上にコメント：全体の最大幅 */
  width: 100%;
  max-width: 100%;
  /* 上にコメント：本文の基本スタイル */
  color: var(--text-color);
  font-family: var(--japan-font);
  font-size: 1.6rem;
  column-gap: 11%;
  padding-right: 2rem;
}

/*1280px以下のとき以下を採用*/
@media (max-width: 1280px) {
  .owned-profile-container {
    display: grid;
    /* 上にコメント：左カラムを固定幅、右を可変にする */
    grid-template-columns: 46rem 1fr;
    /* 上にコメント：行間をそろえる */
    /* row-gap: 4.5rem; */
    /* 上にコメント：全体の最大幅 */
    width: 100%;
    max-width: 100%;
    /* 上にコメント：本文の基本スタイル */
    color: var(--text-color);
    font-family: var(--japan-font);
    font-size: 1.6rem;
    column-gap: 11%;
    padding-right: 2rem;
  }
}
.owned-item-philosophy-logo {
  display: block;
  margin: 0 auto;
  margin-bottom: 15rem;
}

/*768px以下のとき以下を採用*/
@media (max-width: 1000px) {
  .owned-profile-container {
    display: grid;
    /* 上にコメント：左カラムを固定幅、右を可変にする */
    grid-template-columns: 1fr;
    /* 上にコメント：行間をそろえる */
    row-gap: 4.5rem;
    width: 100%;
    max-width: 100%;
    column-gap: 23%;
    padding-right: 0rem;
  }
  .owned-item-philosophy-logo {
    margin-bottom: 5rem;
  }
}

.owned-item {
  align-self: flex-start;
  text-align: justify;
  letter-spacing: 1.28px;
  line-height: 1.87;
}

.owned-label-title {
  color: var(--ili-t-color);
  display: block;
  margin-bottom: 3rem;
  letter-spacing: 1.28px;
}

/*768px以下のとき以下を採用*/
@media (max-width: 768px) {
  .owned-label-title {
    margin-bottom: 5rem;
    line-height: 2;
  }
}

.owned-label-title-sp-br {
  display: none;
}

/*480px以下のとき以下を採用*/
@media (max-width: 480px) {
  .owned-label-title {
    text-align: center;
  }

  .owned-label-title-sp-br {
    display: block;
  }
  .owned-label-title-sp-fz {
    font-size: 2rem;
  }
}

.owned-label-sub-text-pc {
  display: block;
  margin-bottom: 1rem;
  letter-spacing: 1.28px;
}
.owned-label-sub-text-sp {
  display: none;
}

/*480px以下のとき以下を採用*/
@media (max-width: 480px) {
  .owned-label-sub-text-pc {
    display: none;
  }
  .owned-label-sub-text-sp {
    display: inline-block;
  }

  .owned-label-sub-text-wrapper {
    text-align: center;
  }
}

.owned-item-philosophy-img {
  display: inline-block;
  margin-top: 15rem;
}

/*768px以下のとき以下を採用*/
@media (max-width: 768px) {
  .owned-item-philosophy-img {
    margin-top: 0rem;
  }
}

.owned-bottom-background-color {
  position: absolute;
  left: 0;
  right: 0;
  height: 150px;
  background-color: #333333;
  bottom: 0;
  z-index: 0;
}

.owned-bottom {
  background-color: #333333;
  padding-bottom: 12rem;
}

.owned-img-bottom-text p {
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 10rem;
}

/*1000px以下のとき以下を採用*/
@media (max-width: 1000px) {
  .owned-label-dk-logo {
    display: none;
  }
}

/* オウンドメディア用ボタン全体 */
.owned-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 12px 28px;
  border: 1px solid #ffffff;
  color: #ffffff;
  border-radius: 999px;
  font-size: 1.3rem;
  letter-spacing: 2px;
  text-decoration: none;
  transition: 0.3s ease;
  font-family: var(--japan-font);
}

/* ホバー時（色反転） */
.owned-btn-outline,
.owned-btn-circle-outline:hover {
  /* background: #5a2a73; */
  /* color: #fff; */
  transform: scale(1.05);
  transition: 0.3s ease;
}

/* アイコン画像 */
.owned-btn-icon img {
  width: 6px; /* ★画像サイズはここで固定 */
  height: auto; /* 比率を維持 */
  display: block; /* 行間のズレ防止 */
}

/* ホバー時に矢印を右へ */
.owned-btn-outline:hover .owned-btn-icon img {
  transform: translateX(4px);
  transition: 0.3s ease;
}
.owned-btn {
  text-align: right;
}

/*768px以下のとき以下を採用*/
@media (max-width: 768px) {
  .owned-btn {
    text-align: center;
  }
}

/*--------------------- */
/* STRATEGY中継ページ用 */
/* --------------------- */

.strategy {
  background-color: #fff;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* ↓画像をほんのり光らせる */

.strategy-top-wrapper {
  position: relative;
  transition: transform 0.3s ease;
}

.strategy-top-wrapper:hover {
  /* transform: scale(0.99); */
}

.strategy-top-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;

  /* ほんのり明暗をつける膜 */
  background: radial-gradient(
    circle at center,
    rgba(137, 36, 252, 0.12),
    rgba(96, 55, 183, 0.08),
    transparent 75%
  );

  opacity: 0;
  animation: breathe-light 5s ease-in-out infinite;
}

@keyframes breathe-light {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

/* ↑画像をほんのり光らせる */
.strategy-top-wrapper:hover {
  /* transform: scale(0.99); */
}

.strategy-fv-1 {
  display: flex;
  align-items: center;
  background-image: url(../img/strategy-approach-top.webp);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  height: clamp(420px, 46vw, 1920px);
  margin-bottom: 0px;
}
.strategy-fv-2 {
  display: flex;
  align-items: center;
  background-image: url(../img/strategy-framework-top.webp);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: right center;
  height: clamp(420px, 46vw, 1920px);
  margin-bottom: 0px;
}
.strategy-fv-3 {
  display: flex;
  align-items: center;
  background-image: url(../img/strategy-intelligent-operation-top.webp);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: right center;

  height: clamp(420px, 46vw, 1920px);
}

/*768px以下のとき以下を採用*/
@media (max-width: 768px) {
  .strategy-fv-3 {
    background-image: url(../img/strategy-intelligent-operation-top-sp.webp);
  }
}

.strategy-fv-wrapper {
  width: 78%;
  margin: 0 auto;
}

.strategy-title-container-why {
  display: flex;
  justify-content: space-between;
}

.strategy-title-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/*768px以下のとき以下を採用*/
@media (max-width: 768px) {
  .strategy-title-container-why {
    flex-direction: column;
    gap: 2rem;
  }
}
.strategy-title-why {
  position: relative;
  color: #fff;
  font-family: var(--oubun-font);
  text-align: right;
}

/*768px以下のとき以下を採用*/
@media (max-width: 768px) {
  .strategy-title-why {
    text-align: center;
  }
}

.strategy-title-why-text {
  font-size: clamp(40px, 4vw, 8.6rem);
  display: block;
  margin-right: 2rem;
}
.strategy-title-why-text-top {
}

.strategy-title-why-glay {
  color: #73707c;
}

/*768px以下のとき以下を採用*/
@media (max-width: 768px) {
  .strategy-fv {
    background-image: url(../img/strategy-media-fv-sp.jpg);
  }

  .strategy-fv-wrapper {
    width: 90%;
    padding-bottom: 0;
  }

  .strategy-title-why-text {
    display: inline-block;
  }
}

.strategy-title {
  display: flex;
  align-items: center;
  margin-bottom: 4rem;
}
.strategy-title-container-approach {
  display: inline-block;
  flex-direction: column;
}
/*768px以下のとき以下を採用*/
@media (max-width: 768px) {
  .strategy-title-container-approach {
    display: block;
  }
}

/* --------------
ボタン設定
-------------- */

.strategy-btn {
  display: flex;
  justify-content: center;
  text-align: right;
}

/*768px以下のとき以下を採用*/
@media (max-width: 768px) {
  .strategy-btn {
    text-align: center;
  }
}

.strategy-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 12px 28px;
  border: 1px solid #ffffff;
  color: #ffffff;
  border-radius: 999px;
  font-size: 1.3rem;
  letter-spacing: 2px;
  text-decoration: none;
  font-family: var(--japan-font);

  /* ホバー時の拡大・影をなめらかに */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/*768px以下のとき以下を採用*/
@media (max-width: 768px) {
  .strategy-btn-outline {
    padding: 14px 47px;
  }
}

/* ホバー時：少し大きく */
.strategy-btn-outline:hover {
  transform: scale(1.05);
}

/* ホバー時に矢印を右へ */
.strategy-btn-outline:hover .strategy-btn-icon img {
  transform: translateX(4px);
  transition: transform 0.3s ease;
}

/* アイコン画像 */
.strategy-btn-icon img {
  width: 6px;
  height: auto;
  display: block;
}

/* --------------
ボタン設定
-------------- */

.strategy-title-approach {
}

.strategy-title > *:nth-child(-n + 2) {
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.strategy-title-wrapper {
  text-align: center;
}

.strategy-title-main {
  font-family: var(--japan-font);

  color: var(--color-f);
  font-size: 1.6rem;
  letter-spacing: 1.28px;
  margin-left: 2.6rem;
}

.strategy-title-sub {
  color: #fff;
}
/*768px以下のとき以下を採用*/
@media (max-width: 768px) {
  .strategy-title-sub {
    display: block;
    color: #fff;
  }
}

.strategy-title-br-sp {
  display: none;
}

.strategy-btn-text {
  font-family: var(--oubun-font);
}

/*768px以下のとき以下を採用*/
@media (max-width: 768px) {
  .strategy-title {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .strategy-title-main {
    margin-left: 0;
    text-align: center;
  }

  .strategy-title-br-sp {
    display: block;
  }
}
/*450px以下のとき以下を採用*/
@media (max-width: 450px) {
  .strategy-title-main {
    font-size: 1.4rem;
  }
}

/*--------------------- */
/* 【戦略】frameworkページ用 */
/* --------------------- */

.framework-why {
  position: relative;
  overflow: hidden;
}

.framework-why::after {
  content: "WHY";
  position: absolute;
  right: calc(-1 * (100vw - 100%) / 2);
  bottom: -9.2rem;
  font-family: var(--oubun-font);
  font-size: 23rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: #f8f6ff;
  pointer-events: none;
  z-index: 0;
}

.framework-how {
  background-color: #f8f6ff;
  position: relative;
  /* overflow: hidden; */
}

.framework-what {
  position: relative;
  /* overflow: hidden; */
  padding-bottom: 20rem;
}

/*768px以下のとき以下を採用*/
@media (max-width: 768px) {
  .framework-what {
    padding-bottom: 0rem;
  }
}

.framework-how::after {
  content: "HOW";
  position: absolute;
  right: calc(-1 * (100vw - 100%) / 2);
  bottom: -9.2rem;
  font-family: var(--oubun-font);
  font-size: 23rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: #fff;
  pointer-events: none;
  z-index: 0;
}

.framework-what::after {
  content: "WHAT";
  position: absolute;
  right: calc(-1 * (100vw - 100%) / 2);
  bottom: 10.2rem;
  font-family: var(--oubun-font);
  font-size: 23rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: #f8f6ff;
  pointer-events: none;
  z-index: 0;
}

/*900px以下のとき以下を採用*/
@media (max-width: 900px) {
  .framework-why::after {
    right: calc(-1 * (100vw - 100%) / 2);
    bottom: -7.2rem;
    font-size: 17rem;
  }

  .framework-how::after {
    right: calc(-1 * (100vw - 100%) / 2);
    bottom: -7.2rem;
    font-size: 17rem;
  }

  .framework-what::after {
    right: calc(-1 * (100vw - 100%) / 2);
    bottom: 10.2rem;
    font-size: 17rem;
  }
}

/*768px以下のとき以下を採用*/
@media (max-width: 768px) {
  .framework-why::after {
    right: calc(-1 * (100vw - 100%) / 2);
    bottom: -3.2rem;
    font-size: 8rem;
  }

  .framework-how::after {
    right: calc(-1 * (100vw - 100%) / 2);
    bottom: -3.2rem;
    font-size: 8rem;
  }

  .framework-what::after {
    right: calc(-1 * (100vw - 100%) / 2);
    bottom: -3rem;
    font-size: 8rem;
  }
}

/* 境界線のオーナメント用 */
.framework-wrapper-why {
}

.framework-wrapper-how {
}

.framework-how::before {
  position: absolute;
  content: "";
  background-image: url(../img/framework-wrapper-ona.svg);
  background-repeat: no-repeat;
  background-size: contain;
  left: calc(-1 * (100vw - 122%) / 2);
  top: 0px;
  transform: translateY(-50%) rotate(180deg);

  width: 178px;
  height: 211px;

  pointer-events: none;
  z-index: 2;
}

.framework-what::before {
  position: absolute;
  content: "";
  background-image: url(../img/framework-wrapper-ona.svg);
  background-repeat: no-repeat;
  background-size: contain;
  left: calc(-1 * (100vw - 122%) / 2);
  top: 0px;
  transform: translateY(-50%);

  width: 178px;
  height: 211px;

  pointer-events: none;
  z-index: 5;
}

/*1280px以下のとき以下を採用*/
@media (max-width: 1280px) {
  .framework-how::before {
    left: calc(-1 * (100vw - 110%) / 2);

    top: -41px;
    width: 108px;
    aspect-ratio: 178 / 211;
  }

  .framework-what::before {
    background-repeat: no-repeat;
    background-size: contain;
    left: calc(-1 * (100vw - 110%) / 2);
    top: 40px;
    width: 108px;
    aspect-ratio: 178 / 211;
  }
}

/*768px以下のとき以下を採用*/
@media (max-width: 768px) {
  .framework-how::before {
    left: calc(-1 * (100vw - 110%) / 2);

    top: -60px;
    width: 78px;
    aspect-ratio: 178 / 211;
  }

  .framework-what::before {
    background-repeat: no-repeat;
    background-size: contain;
    left: calc(-1 * (100vw - 110%) / 2);
    top: 58px;
    width: 78px;
    aspect-ratio: 178 / 211;
  }
}

.framework-wrapper-how::after {
}

.framework-top-wrapper {
}

.framework-title-why > :nth-child(n + 2) {
  color: #73707c;
}

.framework-fv {
  position: relative;

  display: flex;
  align-items: center;
  background-image: url(../img/strategy-framework-top.webp);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: right center;
  height: clamp(420px, 46vw, 1920px);
  /* height: 100vw; */
}

.framework-title-why {
  position: absolute;

  color: #ffffff;
  font-size: 1.9rem;
  right: 14.2rem;
  bottom: 8.3rem;
}
.framework-title-why-text {
  font-family: var(--oubun-font);
  display: block;
  text-align: right;
  font-size: 8.6rem;
}

/*1500px以下のとき以下を採用*/
@media (max-width: 1500px) {
  .framework-title-why {
    position: absolute;

    right: 5rem;
    bottom: 1.3rem;
  }
}

/*1280px以下のとき以下を採用*/
@media (max-width: 1280px) {
  .framework-title-why {
    position: absolute;

    right: 5rem;
    bottom: 1.3rem;
  }

  .framework-title-why-text {
    font-size: 6rem;
  }
}
.framework-title-why-sp {
  display: none;
  color: #ffffff;
}

/*1100px以下のとき以下を採用*/
@media (max-width: 1100px) {
  .framework-title-why {
    display: none;
  }
  .framework-title-why-sp {
    display: block;
    color: #ffffff;
    text-align: center;
  }
  .framework-title-why-sp > :nth-child(n + 2) {
    color: #73707c;
  }
  .framework-title-why-text-sp {
    font-family: var(--oubun-font);
    font-size: 3rem;
    display: inline-block;
    margin-right: 1.5rem;
    margin-top: 2rem;
  }
}

.framework-fv-wrapper {
  width: 78%;
  margin: 0 auto;
  /* padding-bottom: clamp(6rem, 8vw, 15rem); */
}

/*1000px以下のとき以下を採用*/
@media (max-width: 1100px) {
  .framework-fv {
    background-image: url(../img/framework-fv-sp.webp);
    height: auto;
  }

  .framework-fv-wrapper {
    width: 80%;
    margin: 0 auto;
    padding: 12rem 0rem 10rem;
  }
}

/*550px以下のとき以下を採用*/
@media (max-width: 550px) {
  .framework-fv-wrapper {
    width: 100%;
    padding: 15rem 2rem 10rem;
  }
}

.framework-title-container {
  width: 100%;
  margin: 0 auto;
}

.framework-title-main {
  font-family: var(--japan-font);
  color: var(--color-f);

  font-size: 1.9rem;
  font-weight: 400;
  letter-spacing: 2.4px;
  margin-top: -0.6rem;
  margin-bottom: -0.5rem;
}

.framework-title-sub {
  font-family: var(--japan-font);

  color: var(--color-f);
  font-size: 1.6rem;
  letter-spacing: 1.28px;
  margin-left: 2.6rem;
}
.framework-title {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4.2rem;
}
.framework-title-text-wrapper p {
  text-align: center;
  color: var(--color-f);
  line-height: 4.5;
  font-size: 1.4rem;
}
.framework-title-text-wrapper-sp {
  display: none;
}

/*1000px以下のとき以下を採用*/
@media (max-width: 1000px) {
  .framework-title-text-wrapper-pc {
    display: none;
  }

  .framework-title-text-wrapper-sp {
    display: block;
  }

  .framework-title-main {
    margin-bottom: 1rem;
  }

  .framework-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  .framework-title-sub {
    margin-left: 0;
    font-size: 1.4rem;
  }

  .framework-title-text-wrapper p {
    text-align: center;
    color: var(--color-f);
    margin-bottom: 0.6rem;
    line-height: 2.5;
    font-size: 1.2rem;
  }
}

/*380px以下のとき以下を採用*/
@media (max-width: 380px) {
  .framework-title-text-wrapper p {
    text-align: center;
    color: var(--color-f);
    margin-bottom: 0.6rem;
    line-height: 2.5;
    font-size: 1rem;
  }
}

.framework-wrapper {
  position: relative;
  z-index: 1;
  width: 78%;
  margin: 0 auto;
  padding-top: 20rem;
  padding-bottom: 20rem;
}

.framework-bottom-wrapper {
  width: 78%;
  margin: 0 auto;
  padding-top: 10rem;
}
/*1280px以下のとき以下を採用*/
@media (max-width: 1280px) {
  .framework-wrapper {
    width: 90%;
    margin: 0 auto;
    padding-top: 10rem;
  }
}

.framework-strategy-container {
  display: grid;
  /* 上にコメント：左カラムを固定幅、右を可変にする */
  grid-template-columns: 26rem 1fr;
  /* 上にコメント：行間をそろえる */
  /* row-gap: 4.5rem; */
  /* 上にコメント：全体の最大幅 */
  width: 86%;
  max-width: 100%;
  /* 上にコメント：本文の基本スタイル */
  color: var(--text-color);
  font-family: var(--japan-font);
  font-size: 1.6rem;
  column-gap: 11%;
  padding-right: 2rem;
}

/*1280px以下のとき以下を採用*/
@media (max-width: 1280px) {
  .framework-strategy-container {
    display: grid;
    /* 上にコメント：左カラムを固定幅、右を可変にする */
    grid-template-columns: 26rem 1fr;
    /* 上にコメント：行間をそろえる */
    /* row-gap: 4.5rem; */
    /* 上にコメント：全体の最大幅 */
    width: 100%;
    max-width: 100%;
    /* 上にコメント：本文の基本スタイル */
    color: var(--text-color);
    font-family: var(--japan-font);
    font-size: 1.6rem;
    column-gap: 11%;
    padding-right: 2rem;
  }
}

/*768px以下のとき以下を採用*/
@media (max-width: 1000px) {
  .framework-strategy-container {
    display: grid;
    /* 上にコメント：左カラムを固定幅、右を可変にする */
    grid-template-columns: 1fr;
    /* 上にコメント：行間をそろえる */
    row-gap: 4.5rem;
    width: 100%;
    max-width: 100%;
    column-gap: 23%;
    padding-right: 0rem;
  }
}

.framework-item {
  align-self: flex-start;
  text-align: justify;
  letter-spacing: 1.28px;
  line-height: 1.87;
}

.framework-label-title {
  color: var(--ili-t-color);
  display: block;
  margin-bottom: 1rem;
  letter-spacing: 1.28px;
}

/*768px以下のとき以下を採用*/
@media (max-width: 768px) {
  .framework-label-title {
    margin-bottom: 5rem;
    line-height: 2;
  }
}

.framework-item > :first-child {
  margin-bottom: 2rem;
}

.framework-item-ul {
  margin-bottom: 2rem;
  padding-left: 2rem;
  font-size: 1.4rem;
}

.framework-item-list {
  padding-left: 1em;
  text-indent: -1em;
}

.framework-item-text-mb {
  margin-bottom: 2rem;
}

/*--------------------- */
/* 【戦略】intelligent-operationページ用 */
/* --------------------- */

.intelligent {
  position: relative;
  overflow: hidden;
}
.intelligent-inner {
  position: relative;
  background-color: #f8f6ff;
}

.intelligent-inner::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -5px;
  height: 6.3rem;
  background-image: url(../img/ona-line.svg);
  background-repeat: repeat-x;
  background-size: auto 100%;
  opacity: 0.5;
}

.intelligent-top-wrapper {
}

.intelligent-fv {
  position: relative;

  display: flex;
  align-items: center;
  background-image: url(../img/intelligent-operation-top.webp);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: right center;
  height: clamp(420px, 46vw, 1920px);
  /* height: 100vw; */
}

.intelligent-fv-wrapper {
  width: 78%;
  margin: 0 auto;
}

/*1000px以下のとき以下を採用*/
@media (max-width: 1100px) {
  .intelligent-fv-wrapper {
    width: 80%;
    margin: 0 auto;
    padding: 12rem 0rem 10rem;
  }
}

/*550px以下のとき以下を採用*/
@media (max-width: 550px) {
  .intelligent-fv-wrapper {
    width: 100%;
    padding: 15rem 2rem 10rem;
  }
}

.intelligent-title-container {
  width: 100%;
  margin: 0 auto;
}

.intelligent-title-main {
  font-family: var(--oubun-font);
  color: var(--color-f);

  font-size: 1.9rem;
  font-weight: 400;
  letter-spacing: 2.4px;
  margin-top: -0.6rem;
  margin-bottom: -0.5rem;
}

.intelligent-title-sub {
  font-family: var(--japan-font);

  color: var(--color-f);
  font-size: 1.6rem;
  letter-spacing: 1.28px;
  margin-left: 2.6rem;
}
.intelligent-title {
  display: flex;
  align-items: center;
  margin-bottom: 4.2rem;
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.7);
}

/*1000px以下のとき以下を採用*/
@media (max-width: 1000px) {
  .intelligent-title-main {
    font-size: 1.6rem;

    margin-bottom: 0.5rem;
  }

  .intelligent-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  .intelligent-title-sub {
    margin-left: 0;
    font-size: 1.2rem;
  }
}

.intelligent-wrapper {
  width: 78%;
  margin: 0 auto;
  padding-top: 20rem;
  padding-bottom: 20rem;
}

/*1280px以下のとき以下を採用*/
@media (max-width: 1280px) {
  .intelligent-wrapper {
    width: 90%;
    margin: 0 auto;
    padding-top: 10rem;
    padding-bottom: 15rem;
  }
}

.intelligent-strategy-container {
  display: grid;
  /* 上にコメント：左カラムを固定幅、右を可変にする */
  grid-template-columns: 26rem 1fr;
  /* 上にコメント：行間をそろえる */
  /* row-gap: 4.5rem; */
  /* 上にコメント：全体の最大幅 */
  width: 86%;
  max-width: 100%;
  /* 上にコメント：本文の基本スタイル */
  color: var(--text-color);
  font-family: var(--japan-font);
  font-size: 1.6rem;
  column-gap: 11%;
  padding-right: 2rem;
}

/*1280px以下のとき以下を採用*/
@media (max-width: 1280px) {
  .intelligent-strategy-container {
    display: grid;
    grid-template-columns: 26rem 1fr;
    width: 100%;
    max-width: 100%;
    /* 上にコメント：本文の基本スタイル */
    color: var(--text-color);
    font-family: var(--japan-font);
    font-size: 1.6rem;
    column-gap: 11%;
    padding-right: 2rem;
  }
}

/*768px以下のとき以下を採用*/
@media (max-width: 1000px) {
  .intelligent-strategy-container {
    display: grid;
    /* 上にコメント：左カラムを固定幅、右を可変にする */
    grid-template-columns: 1fr;
    /* 上にコメント：行間をそろえる */
    row-gap: 0rem;
    width: 100%;
    max-width: 100%;
    column-gap: 23%;
    padding-right: 0rem;
  }
}

.intelligent-item {
  align-self: flex-start;
  text-align: justify;
  letter-spacing: 1.28px;
  line-height: 1.87;
}

.intelligent-item-img-text {
  color: var(--ili-t-color);
  text-align: center;
}
.intelligent-item-img-text {
  margin-bottom: 10rem;
}

.intelligent-item-img {
}
.intelligent-item-img-small {
  text-align: right;
  margin-top: 10rem;
  font-size: 1.3rem;
}
.intelligent-label-hidden {
  color: #fff;
}

.intelligent-label-sub-text-pc {
  display: block;
  margin-bottom: 6rem;
}

/*768px以下のとき以下を採用*/
@media (max-width: 768px) {
  .intelligent-item-img-small {
    margin-top: 4rem;
    font-size: 1.1rem;
    text-align: left;
    text-indent: -1em;
    line-height: 1.7;
  }
}

.intelligent-item .intelligent-item-text:not(:last-child) {
  margin-bottom: 2rem;
}

.intelligent-label-title {
  color: var(--ili-t-color);
  display: block;
  margin-bottom: 1rem;
  letter-spacing: 1.28px;
}
.intelligent-label-in-ona img {
  display: block;
  width: 60%;
  margin: 4rem 2rem;
}

/*1000px以下のとき以下を採用*/
@media (max-width: 1000px) {
  .intelligent-label-in-ona img {
    display: none;
    width: 30%;
    margin: 0 auto;
  }
  .intelligent-item-text-bg-sp {
    position: relative;
  }

  .intelligent-item-text-bg-sp::before {
    content: "";
    position: absolute;
    inset: 0;

    background-image: url(../img/intelligent-label-ona.svg);
    background-repeat: no-repeat;
    background-position: center center;

    opacity: 0.2;
    pointer-events: none;
  }
}

/*768px以下のとき以下を採用*/
@media (max-width: 768px) {
  .intelligent-label-title {
    margin-bottom: 0rem;
    line-height: 2;
  }
}

/* --------------
お問い合わせ
-------------- */

.contact-wrapper {
  width: 78%;
  margin: 0 auto;
  padding-bottom: 30rem;
}

.contact-title-container {
  padding: 34rem 0 23rem;
}

/*768px以下のとき以下を採用*/
@media (max-width: 768px) {
  .contact-title-container {
    padding: 34rem 0 15rem;
  }

  .contact-wrapper {
    width: 100%;
    padding: 0 1.5rem 20rem;
  }
}

.contact-title {
  display: flex;
  align-items: center;
}

/*768px以下のとき以下を採用*/
@media (max-width: 768px) {
  .contact-title {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

.contact-title-main {
  font-family: var(--oubun-font);
  color: var(--ili-t-color);

  font-size: 3rem;
  font-weight: 400;
  letter-spacing: 2.4px;
  margin-top: -0.6rem;
  margin-bottom: -0.5rem;
}

.contact-title-sub {
  font-family: var(--japan-font);

  color: var(--text-color);
  font-size: 1.6rem;
  letter-spacing: 1.28px;
  margin-left: 2.6rem;
}

.contact-title-under-text {
  margin-bottom: 10rem;
  font-size: 1.4rem;
}
/*768px以下のとき以下を採用*/
@media (max-width: 768px) {
  .contact-title-under-text-br {
    display: none;
    width: 100%;
  }
}

/*768px以下のとき以下を採用*/
@media (max-width: 768px) {
  .contact-title-sub {
    margin-left: 0;
    font-size: 1.4rem;
  }
  .contact-title-main {
    font-family: var(--oubun-font);
    color: var(--ili-t-color);

    font-size: 2.5rem;
    font-weight: 400;
    letter-spacing: 2.4px;
    margin-top: -0.6rem;
    margin-bottom: 0.5rem;
  }
}

.contact-container {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  padding: 60px;
  border-radius: 4px;
}

.contact-form-group {
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 50px;
}

.contact-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #333;
  min-width: 180px;
  flex-shrink: 0;
}

.contact-input-wrapper {
  flex: 1;
}

.contact-required {
  background-color: #fff;
  color: #e74c3c;
  border: 1px solid #e74c3c;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
}

.contact-optional {
  background-color: #fff;
  color: #585858;
  border: 1px solid #ddd;
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 500;
}

.contact-input,
.contact-textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #808080;
  border-radius: 4px;
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.3s;
  background-color: #fff;
}

.contact-input:focus,
.contact-textarea:focus {
  outline: none;
  border-color: var(--ili-t-color);
}

.contact-input::placeholder,
.contact-textarea::placeholder {
  color: #818181;
}

.contact-textarea {
  min-height: 180px;
  resize: vertical;
}

.contact-checkbox-group {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
  margin-left: 228px;
}

.contact-checkbox {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--ili-t-color);
}

.contact-checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #333;
  cursor: pointer;
}

.contact-submit {
  width: 20%;
  margin: 0 auto;
  display: block;
  padding: 16px;
  background-color: var(--ili-t-color);
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s;
  font-family: var(--oubun-font);
}

.contact-submit:hover {
  background-color: #5b4bc4;
}

@media (max-width: 768px) {
  .contact-container {
    padding: 40px 0px;
  }

  .contact-form-group {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .contact-label {
    min-width: auto;
  }

  .contact-input-wrapper {
    width: 100%;
  }

  .contact-input,
  .contact-textarea {
    padding: 12px 14px;
  }

  .contact-textarea {
    min-height: 150px;
  }

  .contact-checkbox-group {
    margin-left: 0;
  }

  .contact-submit {
    width: 100%;
    padding: 14px;
  }
}
/* --------------
サンクスページ
-------------- */

.thanks-container {
  min-height: 93vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
}

.thanks-content {
  text-align: center;
  max-width: 800px;

  width: 100%;
}

.thanks-title {
  font-size: 32px;
  font-family: var(--oubun-font);
  color: var(--ili-t-color);
  margin-bottom: 40px;
  font-weight: 400;
  letter-spacing: 2px;
}

.thanks-title-sub {
  font-family: var(--japan-font);
  font-size: 16px;
  color: #333;
  font-weight: normal;
  margin-left: 15px;
}

.thanks-message {
  font-size: 16px;
  color: #333;
  line-height: 1.8;
  margin-bottom: 50px;
  text-align: center;
}

.thanks-button {
  display: inline-block;
  padding: 12px 40px;
  border: 1px solid var(--ili-t-color);
  color: var(--ili-t-color);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
  background-color: transparent;
  border-radius: 10px;
}

.thanks-button:hover {
  background-color: var(--ili-t-color);
  color: white;
}
