@charset "UTF-8";
/* ============================================================
   page: OTA運営代行 (page-ota.php)  prefix: p-ota
   ※ 既存 styles.css の共通コンポーネント (c-title, c-btn, l-inner) を再利用
   ============================================================ */

.p-ota {
  --pj-blue: #135fe9;
  --pj-blue-light: #3aa7e3;
  --pj-navy: #073581;
  --pj-ink: #141414;
  --pj-bg-pale: #eef3fb;
  --pj-bg-light: #e8f1fb;
  --pj-bg-soft: #f1f4f9;
  --pj-line: #d8e1f0;
  color: var(--pj-ink);
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  line-height: 1.8;
}

/* l-inner はSPで600px固定。本ページはPCで広げる（複合セレクタで詳細度UP・!important不使用） */
.p-ota .l-inner {
  max-width: 70rem;
  padding-inline: 1.25rem;
}

.p-ota section {
  padding-block: 5rem;
}

/* スクリーンリーダー専用テキスト（視覚的には非表示） */
.u-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---- 共通: チェックマーク ---- */
.p-ota__check {
  /* background-color: var(--pj-blue); */
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
  height: calc(20 / 16 * 1rem);
  position: relative;
  vertical-align: middle;
  width: calc(26 / 16 * 1rem);
}
/* .p-ota__check::before {
  border-bottom: 0.125rem solid #fff;
  border-left: 0.125rem solid #fff;
  content: "";
  height: 0.3125rem;
  left: 50%;
  position: absolute;
  top: 45%;
  transform: translate(-50%, -50%) rotate(-45deg);
  width: 0.625rem;
} */

/* ============================================================
   FV
   ============================================================ */
.p-ota-fv {
  background-color: var(--pj-bg-light);
  background-image: url(../images/ota/fv_bg.webp);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding-block: 4.5rem 4rem;
}
.p-ota-fv__container {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 3rem;
}
/* .p-ota-fv__content {
  flex: 1 1 0;
} */
.p-ota-fv__title {
  line-height: 0;
  margin: 0;
}
.p-ota-fv__title picture,
.p-ota-fv__title-img {
  display: block;
}
.p-ota-fv__title-img {
  height: auto;
  max-width: 25.5rem;
  width: 100%;
}
.p-ota-fv__text {
  color: var(--pj-navy);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.9;
  margin-top: 1.75rem;
}
.p-ota-fv__visual {
  flex: 1 1 0;
  max-width: calc(574 / 16 * 1rem);
  width: 100%;
}
.p-ota-fv__visual img {
  display: block;
  height: auto;
  width: 100%;
}

/* ============================================================
   ABOUT
   ============================================================ */
.p-ota-about {
  background-color: #fff;
}
.p-ota-about__container {
  text-align: center;
}
.p-ota-about__text {
  font-size: 1.25rem;
  line-height: 2;
  margin-inline: auto;
  max-width: 50rem;
}
/* .p-ota-about__btn.c-btn {
  margin-inline: auto;
  margin-top: calc(40 / 16 * 1rem);
}
.p-ota-about__btn .c-btn__btn {
  background:linear-gradient( 100deg ,#073581 0%,#141414 100%);
  border-radius: 100px;
  width: calc(274 / 16 * 1rem);
  height: 3rem;
}
.p-ota-about__btn .c-btn__btn:hover,
.p-ota-about__btn .c-btn__btn:focus {
  color: #fff;
} */


/* ============================================================
   CHALLENGES
   ============================================================ */
.p-ota-challenges {
  /* background: linear-gradient(180deg, #f1f6fd 0%, #d9e6f8 100%); */
  background-color: #fff;
}
.p-ota-challenges__box {
  background-color: #DEEAFD;
  border-radius: 0 0.5rem 0 0.5rem;
  margin-top: 3rem;
  padding: 3rem 3.5rem;
  position: relative;
  max-width: 57.5rem;
  margin-inline: auto;
  width: 100%;
}
.p-ota-challenges__corner {
  height: auto;
  position: absolute;
  width: calc(100 / 16 * 1rem);
}
.p-ota-challenges__corner--tl {
  left: -0.25rem;
  bottom: -0.25rem;
}
.p-ota-challenges__corner--br {
  top: -0.25rem;
  right: -0.25rem;
}
.p-ota-challenges__body {
  align-items: center;
  display: flex;
  gap: 3rem;
}
.p-ota-challenges__list {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  gap: 1.25rem;
}
.p-ota-challenges__item {
  align-items: center;
  color: var(--pj-ink);
  display: flex;
  font-size: 1.25rem;
  font-weight: 500;
  gap: 1rem;
}
.p-ota-challenges__visual {
  flex: 0 0 auto;
  max-width: 16.625rem;
}
.p-ota-challenges__visual img {
  display: block;
  height: auto;
  width: 100%;
}

/* ============================================================
   FEATURES
   ============================================================ */
section.p-ota-features {
  background-color: var(--pj-bg-light);
  background-image: url(../images/ota/features_bg.webp);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  margin-top: 1.25rem;
  padding-block: 5rem calc(100 / 16 * 1rem);
}
.p-ota-features__list {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(4, 1fr);
  margin-top: calc(60 / 16 * 1rem);
}
.p-ota-features__card {
  background: linear-gradient(to bottom, #F8FAFF 0%, #DEEAFD 100%);
  display: flex;
  flex-direction: column;
  padding: calc(30 / 16 * 1rem) calc(20 / 16 * 1rem);
  text-align: center;
}
.p-ota-features__card-icon {
  height: calc(140 / 16 * 1rem);
  margin-inline: auto;
}
.p-ota-features__card-icon img {
  display: block;
  height: 100%;
  width: auto;
}
.p-ota-features__card-title {
  color: #141414;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.5;
  margin-top: 1.25rem;
  min-height: 3rem;
}
.p-ota-features__card-text {
  font-size: 1rem;
  line-height: 1.7;
  margin-top: 0.875rem;
  text-align: left;
}

/* ============================================================
   SERVICES
   ============================================================ */
.p-ota-services {
  background-color: #fff;
}
.p-ota-services__tabs {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(4, 1fr);
  margin-inline: auto;
  margin-top: 3rem;
  max-width: 56rem;
}
.p-ota-services__tab {
  background-color: #F7F4F4;
  border-radius: 999px;
  color: var(--pj-ink);
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.75rem 0.5rem;
  transition: all 0.3s ease;
}
.p-ota-services__tab.is-active {
  background: linear-gradient(100deg, #073581 0%, #141414 100%);
  color: #fff;
  transition: all 0.3s ease;
}
.p-ota-services__panels {
  margin-top: 2.5rem;
  max-width: 57.5rem;
  margin-inline: auto;
  width: 100%;
}
.p-ota-services__panel {
  background-color: #DEEAFD;
  display: none;
  gap: 3rem;
  padding: 2.5rem;
}
.p-ota-services__panel.is-active {
  display: flex;
  justify-content: space-between;
}
.p-ota-services__panel-body {
  flex: 1 1 0;
  max-width: calc(340 / 16 * 1rem);
  width: 100%;
}
.p-ota-services__panel-title {
  border-bottom: 2px solid var(--pj-navy);
  color: var(--pj-navy);
  display: block;
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  /* padding-bottom: 0.5rem; */
}
.p-ota-services__panel-text {
  font-size: 1rem;
  line-height: 1.9;
  margin-top: 2.5rem;
}
.p-ota-services__panel-visual {
  flex: 0 0 auto;
  max-width: calc(420 / 16 * 1rem);
  width: 100%;
}
.p-ota-services__panel-visual img {
  display: block;
  height: auto;
  width: 100%;
}

/* ============================================================
   MAXIMIZE
   ============================================================ */
.p-ota-maximize {
  background-color: #DEEAFD;
  margin-top: 1.25rem;
}
.p-ota-maximize__title {
  color: var(--pj-navy);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
}
.p-ota-maximize__text {
  font-size: 1.25rem;
  margin-top: 1.5rem;
  text-align: center;
}
.p-ota-maximize__visual {
  margin-top: 2.5rem;
}
.p-ota-maximize__visual img {
  display: block;
  height: auto;
  margin-inline: auto;
  max-width: 100%;
}
.p-ota-maximize__btn.c-btn  {
  margin-inline: auto;
  margin-top: 3.75rem;
}
.p-ota-maximize__btn .c-btn__btn {
  background:linear-gradient( 100deg ,#073581 0%,#141414 100%);
  border-radius: 100px;
  width: calc(274 / 16 * 1rem);
  height: 3rem;
  font-size: 0.875rem;
  margin-inline: auto;
}
.p-ota-maximize__btn .c-btn__btn:hover,
.p-ota-maximize__btn .c-btn__btn:focus {
  color: #fff;
}


/* ============================================================
   PLANS
   ============================================================ */
section.p-ota-plans {
  background-color: #fff;
}
.p-ota-plans__visual {
  margin-top: calc(60 / 16 * 1rem);
}
.p-ota-plans__visual img {
  display: block;
  height: auto;
  margin-inline: auto;
  max-width: 100%;
}

/* ============================================================
   CASE STUDIES
   ============================================================ */
.p-ota-case {
  padding-block: calc(10 / 16 * 1rem) 5rem;
}
.p-ota-case__list {
  display: flex;
  flex-direction: column;
  gap: 5rem;
  margin-top: calc(60 / 16 * 1rem);
}
.p-ota-case__item {
  overflow: hidden;
}
.p-ota-case__item img {
  display: block;
  height: auto;
  width: 100%;
}

/* ============================================================
   CTA
   ============================================================ */
section.p-ota-cta {
  background-color: #fff;
  padding-block: 0 5rem;
}
.p-ota-cta__container {
  text-align: center;
}
.p-ota-cta__text {
  font-size: 1.5rem;
  font-weight: 700;
}
.p-ota-cta__btn {
  margin-inline: auto;
  margin-top: 1.5rem;
}
.p-ota-cta__btn .c-btn__btn {
  width: calc(274 / 16 * 1rem);
  height: 3rem;
}
/* ホバーの文字色は共通c-btn（.c-btn:hover→背景白＋文字#141414）に任せる。
   OTA独自の color:#fff 上書きは白背景に白文字で消えるため削除（2026-07-17） */

/* ============================================================
   Responsive (SP <= 768px)
   ============================================================ */
@media screen and (max-width: 768px) {
  .p-ota section {
    padding-block: calc(60 / 16 * 1rem);
  }

  /* FV */
  .p-ota-fv {
    background-image: url(../images/ota/fv_bg-sp.webp);
    padding-block: 2.5rem 2rem;
  }
  .p-ota-fv__container {
    flex-direction: column-reverse;
    gap: 1.5rem;
  }
  .p-ota-fv__title-img {
    max-width: 21rem;
  }
  .p-ota-fv__text {
    font-size: 0.875rem;
    margin-top: 1.25rem;
  }
  .p-ota-fv__visual {
    max-width: 100%;
  }

  /* ABOUT */
  .p-ota-about__text {
    font-size: 1rem;
    text-align: left;
  }
  .p-ota-about__btn .c-btn__btn {
    margin-inline: auto;
  }

  /* CHALLENGES */
  .p-ota-challenges__box {
    margin-top: 2rem;
    padding: 1.75rem 1.25rem;
  }
  .p-ota-challenges__corner {
    width: calc(100 / 16 * 1rem);
  }
  .p-ota-challenges__body {
    flex-direction: column;
    gap: 1.5rem;
  }
  .p-ota-challenges__corner--tl {
    left: -0.125rem;
    bottom: -0.125rem;
  }
  .p-ota-challenges__corner--br {
    top: -0.125rem;
    right: -0.125rem;
  }
  .p-ota-challenges__list {
    width: 100%;
  }
  .p-ota-challenges__item{
    font-size: 1rem;
    gap: 0.75rem;
  }
  /* .p-ota-challenges__visual {
    max-width: 13rem;
  } */

  /* FEATURES */
  .p-ota-features {
    background-image: url(../images/ota/features_bg-sp.webp);
  }
  .p-ota-features__list {
    gap: 1rem;
    grid-template-columns: 1fr;
    margin-top: 2rem;
  }
  .p-ota-features__card {
    padding: 1.5rem 1rem;
  }
  .p-ota-features__card-icon {
    height: calc(140 / 16 * 1rem);
  }
  .p-ota-features__card-title {
    font-size: 1.25rem;
    min-height: auto;
  }
  .p-ota-features__card-text {
    font-size: 1rem;
  }

  /* SERVICES */
  .p-ota-services__tabs {
    gap: 0.5rem;
    grid-template-columns: 1fr 1fr;
    margin-top: 2rem;
  }
  .p-ota-services__tab {
    font-size: 1rem;
    padding: 0.625rem 0.25rem;
  }
  .p-ota-services__panel {
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.5rem calc(20 / 16 * 1rem);
  }
  .p-ota-services__panel-visual {
    max-width: 100%;
    width: 100%;
  }
  .p-ota-services__panel-title {
    font-size: 1.5rem;
  }
  .p-ota-services__panel-text {
    font-size: 1rem;
    margin-top: 1.25rem;
  }

  /* MAXIMIZE */
  .p-ota-maximize__title {
    font-size: 2rem;
  }
  .p-ota-maximize__text {
    font-size: 1rem;
    text-align: left;
  }
  .p-ota-maximize__btn .c-btn__btn {
    margin-inline: auto;
  }
  .p-ota-maximize__btn.c-btn {
    margin-top: 2.5rem;
  }

  /* PLANS */
  .p-ota-plans__visual {
    margin-top: 2.5rem;
  }

  /* CASE */
  section.p-ota-case {
    padding-top: 0;
  }
  .p-ota-case__list {
    gap: 2.5rem;
    margin-top: 2.5rem;
  }

  /* CTA */
  section.p-ota-cta {
    padding-top: 0;
  }
  .p-ota-cta__text {
    font-size: 0.9375rem;
  }
  .p-ota-cta__btn .c-btn__btn {
    margin-inline: auto;
  }
}
