/* 文字の強調 */
.omp-accent {
  color: var(--omp-c-orange);
}

.omp-marker {
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  background: linear-gradient(var(--omp-c-marker), var(--omp-c-marker))
    no-repeat 0 100% / 100% var(--omp-marker-h);
}

/* SPだけで効く改行 */
.omp-br--sp {
  display: none;
}

/* ボタン */
.omp-btn {
  -webkit-appearance: none;
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: var(--omp-btn-w);
  height: var(--omp-btn-h);
  border: 0;
  border-radius: var(--omp-radius-btn);
  cursor: pointer;
  font-size: var(--omp-fs-nav);
  font-weight: var(--omp-fw-regular);
  line-height: var(--omp-lh-base);
  letter-spacing: var(--omp-ls-nav);
  text-align: center;
  white-space: nowrap;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.omp-btn--primary {
  background: var(--omp-c-orange);
  color: var(--omp-c-white);
}

.omp-btn--drawer {
  width: 80%;
  max-width: 260px;
  height: 60px;
  font-size: 18px;
  font-weight: var(--omp-fw-medium);
}

/* ヘッダー */
.omp-header {
  position: sticky;
  top: 0;
  z-index: 10;
  height: var(--omp-header-h);
  background: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition:
    background-color 0.3s ease,
    backdrop-filter 0.3s ease;
}

/* TOPはfvの間だけ透ける */
.omp-page-top .omp-header {
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.omp-page-top .omp-header.is-solid {
  background: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.omp-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 100%;
}

.omp-header__logo {
  flex: none;
}

.omp-header__logo img {
  width: var(--omp-logo-w);
  height: var(--omp-logo-h);
}

/* ハンバーガー */
.omp-header__toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex: none;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.omp-header__toggle span {
  width: 30px;
  height: 3px;
  background: var(--omp-c-text);
}

/* グローバルナビ */
.omp-gnav__list {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: var(--omp-w-gnav);
  max-width: 100%;
  min-width: 0;
}

.omp-gnav__list a {
  display: inline-block;
  /* ホバーで色を差すため下線を透明で置いておく */
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  transition: text-decoration-color 0.2s ease;
  font-family: var(--omp-ff-nav);
  font-size: var(--omp-fs-nav);
  font-weight: var(--omp-fw-regular);
  line-height: var(--omp-lh-base);
  letter-spacing: var(--omp-ls-nav);
  white-space: nowrap;
}

/* パンくず */
.omp-breadcrumb {
  font-size: 14px;
  line-height: 22px;
  color: var(--omp-c-sub);
}

.omp-breadcrumb a {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s ease;
}

.omp-breadcrumb__list {
  display: flex;
  align-items: center;
}

.omp-breadcrumb__list li {
  display: flex;
  align-items: center;
}

.omp-breadcrumb__list li + li::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  margin-inline: 13.8px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  /* 回転で右へ寄る分を戻す */
  transform: translateX(-2.83px) rotate(45deg);
}

/* ページタイトル */
.omp-page-title__en {
  font-family: "Saira Condensed", sans-serif;
  font-size: 24px;
  font-weight: var(--omp-fw-regular);
  line-height: 1;
  color: var(--omp-c-orange);
}

.omp-page-title__ja {
  margin-top: 4px;
  font-size: var(--omp-fs-h2);
  font-weight: var(--omp-fw-semibold);
  line-height: var(--omp-lh-h2);
}

/* CTA帯 */
.omp-cta {
  padding-block: 70px;
  border-top-right-radius: var(--omp-radius-band);
  border-bottom-left-radius: var(--omp-radius-band);
  background:
    linear-gradient(
      160deg,
      rgba(255, 122, 0, 0.85) 0%,
      rgba(255, 154, 62, 0.85) 100%
    ),
    url("../img/common/cta.webp") center / cover no-repeat;
  color: var(--omp-c-white);
  text-align: center;
}

.omp-cta__inner {
  width: 100%;
  max-width: 808px;
  margin-inline: auto;
}

.omp-cta__title {
  font-size: 24px;
  font-weight: var(--omp-fw-medium);
  line-height: 36px;
}

.omp-cta__body {
  width: 100%;
  max-width: 694px;
  margin-top: 30px;
  margin-inline: auto;
  font-size: var(--omp-fs-small);
  font-weight: var(--omp-fw-medium);
  line-height: var(--omp-lh-small);
}

.omp-cta__action {
  width: 100%;
  max-width: 331px;
  margin-top: 34px;
  margin-inline: auto;
}

/* 右へ突き出す横線つきのボタン */
.omp-cta__btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 50px;
  border-radius: var(--omp-radius-btn);
  background: var(--omp-c-white);
  color: var(--omp-c-orange);
  font-size: var(--omp-fs-nav);
  font-weight: var(--omp-fw-medium);
  line-height: var(--omp-lh-base);
  letter-spacing: var(--omp-ls-nav);
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.omp-cta__btn::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 313px;
  width: 36px;
  border-top: 1px solid var(--omp-c-orange);
}

.omp-cta__note {
  margin-top: 6px;
  font-size: var(--omp-fs-note);
  font-weight: var(--omp-fw-regular);
  line-height: var(--omp-lh-note);
}

/* フッター */
.omp-footer {
  margin-top: 100px;
  background: var(--omp-c-dark);
  color: var(--omp-c-white);
}

.omp-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 105px;
  padding-inline: clamp(24px, 11.57vw, 200px);
}

.omp-footer__logo {
  flex: none;
}

.omp-footer__logo img {
  width: var(--omp-logo-w);
  height: var(--omp-logo-h);
}

.omp-footer__end {
  display: flex;
  flex: none;
  flex-direction: column;
  justify-content: flex-end;
  align-self: stretch;
  width: 558px;
  padding: 10px;
}

.omp-footer__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
}

.omp-footer__copyright {
  font-family: var(--omp-ff-nav);
  font-size: 10px;
  line-height: 16px;
  letter-spacing: 0.05em;
  color: var(--omp-c-muted);
}

/* SPドロワー */
.omp-drawer {
  position: fixed;
  inset: 0;
  z-index: 20;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
  background: var(--omp-grad-soft), var(--omp-c-white);
}

.omp-drawer.is-open {
  opacity: 1;
  visibility: visible;
}

.omp-drawer__close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.omp-drawer__close::before,
.omp-drawer__close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 19px;
  height: 3px;
  background: var(--omp-c-text);
}

.omp-drawer__close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.omp-drawer__close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.omp-drawer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
  padding-block: 60px 100px;
  padding-inline: var(--omp-pad-x);
}

.omp-drawer__logo {
  width: 200px;
  height: 53px;
}

.omp-drawer__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  width: 100%;
}

.omp-drawer__list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.omp-drawer__list a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
  transition: text-decoration-color 0.2s ease;
  font-size: 18px;
  font-weight: var(--omp-fw-regular);
  line-height: var(--omp-lh-base);
  letter-spacing: var(--omp-ls-nav);
  white-space: nowrap;
}

.omp-drawer__list a::before {
  content: "";
  flex: none;
  width: 16px;
  border-top: 1px solid var(--omp-c-orange);
}

/* ボタンのホバー。指で触る端末では出さない */
@media (hover: hover) {
  /* 色の差と1pxの沈み込みを重ねる。色だけに頼らない */
  .omp-btn--primary:hover {
    background: var(--omp-c-orange-dark);
    transform: translateY(1px);
  }

  /* 白は保ったまま文字を濃くする。地を汚さないので読みやすさは上がる */
  .omp-cta__btn:hover {
    color: var(--omp-c-orange-dark);
    transform: translateY(1px);
  }

  /* リンクは文字色を変えず下線だけ差す（オレンジ文字は白地で2.61:1しか出ない） */
  .omp-gnav__list a:hover,
  .omp-drawer__list a:hover,
  .omp-breadcrumb a:hover {
    text-decoration-color: var(--omp-c-orange);
  }
}

/* スクロールで現れる。JSが動く時だけ隠す */
@media (scripting: enabled) {
  .omp-fade {
    opacity: 0;
    transform: translateY(24px);
    transition:
      opacity 0.6s ease,
      transform 0.6s ease;
  }

  /* 見出しや表。読む前に大きく動かさない */
  .omp-fade--soft {
    transform: translateY(8px);
  }

  /* 左右に分かれた組み合わせ */
  .omp-fade--left {
    transform: translateX(-24px);
  }

  .omp-fade--right {
    transform: translateX(24px);
  }

  /* 中に絶対配置の子を持つ箱。transformは配置の基準を作るのでmarginで動かす */
  .omp-fade--shift-left {
    transform: none;
    margin-left: -24px;
    transition:
      opacity 0.6s ease,
      margin-left 0.6s ease;
  }

  .omp-fade--shift-left.is-inview {
    margin-left: 0;
  }

  .omp-fade.is-inview {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .omp-drawer,
  .omp-header {
    transition-duration: 0s;
  }

  .omp-fade {
    opacity: 1;
    transform: none;
    transition-duration: 0s;
  }

  .omp-fade--shift-left {
    margin-left: 0;
  }

  .omp-btn,
  .omp-cta__btn,
  .omp-gnav__list a,
  .omp-drawer__list a,
  .omp-breadcrumb a {
    transition-duration: 0s;
  }

  /* 動きは消すが色の差は残す */
  .omp-btn--primary:hover,
  .omp-cta__btn:hover {
    transform: none;
  }
}

/* SPヘッダー */
@media (max-width: 1099.98px) {
  .omp-header {
    --omp-logo-w: 200px;
    --omp-logo-h: 53px;
    /* ハンバーガーの右端をカンプに合わせる */
    padding-right: 36px;
  }

  .omp-header__inner .omp-gnav,
  .omp-header__inner > .omp-btn {
    display: none;
  }

  .omp-header__toggle {
    display: flex;
  }

  .omp-br--sp {
    display: inline;
  }

  .omp-page-title__en {
    font-size: 18px;
  }

  .omp-page-title__ja {
    font-size: 28px;
    line-height: 45px;
  }

  .omp-footer {
    --omp-logo-w: 152px;
    --omp-logo-h: 40px;
    margin-top: 60px;
  }

  .omp-footer__inner {
    flex-direction: column;
    align-items: center;
    gap: 30px;
    height: auto;
    padding-block: 30px 20px;
    padding-inline: var(--omp-pad-x);
  }

  .omp-footer__end {
    align-self: auto;
    width: 100%;
    max-width: 390px;
    padding: 0;
  }

  .omp-footer__meta {
    align-items: center;
    gap: 20px;
  }

  .omp-footer .omp-gnav__list {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: auto;
    line-height: 22px;
  }

  .omp-footer .omp-gnav__list a {
    display: block;
    line-height: 22px;
  }

  .omp-cta {
    padding-block: 70px 33px;
  }

  .omp-cta__body {
    font-feature-settings: "halt";
  }

  .omp-cta__btn {
    height: 60px;
    font-size: 18px;
  }

  .omp-cta__btn::after {
    content: none;
  }
}
