@charset "utf-8";

/* -------------------------------------------------------------------------
  root
  ------------------------------------------------------------------------- */
:root {
  --color-black: #141614;
  --color-green-100: #E6EBE8;
  --color-green: #00AC71;
  --color-green-400: #2C4A40;
  --color-green-500: #1A2C26;
  --color-gray-100: #BBBBBB;
  --color-gray: #eee;
  --color-bronze: #B38B59;
  --color-off-white: #F8F9F7;
  --color-white: #fff;
  --color-pink: #AC003B;

  --line-height-reset: 1;
  --line-height-snug: 1.5;
  --line-height-body: 2;
  --letter-spacing-reset: 0;
  --letter-spacing-sm: 0.02em;
  --letter-spacing-md: 0.05em;
  --letter-spacing-lg: 0.08em;

  --layer-bg-back: 10;
  --layer-bg: 15;
  --layer-bg-mask: 20;
  --layer-content: 30;
  --layer-overlay-light: 50;
  --layer-overlay-heavy: 60;
  --layer-cta: 100;
  --layer-header: 300;
  --layer-modal: 1000;
  --layer-toast: 9999;

  --header-height: 5rem;

  --layout-content-side: 3rem;
  --layout-max-width: calc(90rem + var(--layout-content-side) * 2);
  --layout-max-width-header: calc(103rem + 4rem);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-in: cubic-bezier(0.4, 0, 1, 1);

  --duration-fast: 0.35s;
  --duration-base: 0.7s;
  --duration-slow: 1.05s;

  --color-brand-primary: var(--color-green);

  --shadow-base: 0 0.3rem 0.6rem 0 rgba(0, 0, 0, 0.15);
}

/* -------------------------------------------------------------------------
  reset nmc
  ------------------------------------------------------------------------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

video,
img {
  width: 100%;
  height: auto;
  vertical-align: top;
}

a {
  background-color: transparent;
  text-decoration: none;
  color: inherit;
}

button,
[type="button"] {
  -webkit-appearance: none;
  /* iOS/Safari 特有のデフォルトの角丸やシャドウ、ボタンのスタイルを削除 */
  appearance: none;
  vertical-align: middle;
  color: inherit;
  font: inherit;
  background: transparent;
  padding: 0;
  margin: 0;
  border: none;
  border-radius: 0;
  text-align: inherit;
  text-transform: inherit;
  /* 大文字化などが勝手に行われるのを防ぎ親要素の設定を継承 */
  cursor: pointer;
}

address {
  font-style: normal;
  /* 斜体を解除 */
}


/* -------------------------------------------------------------------------
  base
  ------------------------------------------------------------------------- */
html {
  font-size: 2.6667vw;
}

@media screen and (min-width: 744px) {
  html {
    /* 1024px基準 */
    font-size: 0.9766vw;
  }
}

@media screen and (min-width: 1280px) {
  html {
    font-size: 0.7813vw;
  }
}

@media screen and (min-width: 1536px) {
  html {
    font-size: 12px;
  }
}

body {
  font-size: 1.4rem;
  /* 14px */
  line-height: var(--line-height-body);
  color: var(--color-black);
  letter-spacing: var(--letter-spacing-md);
  font-family: "I-OTF-UDゴ本文Pro R", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Meiryo", sans-serif;
  font-weight: 400;

  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

section {
  --section-padding: 10rem;
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);

  overflow: hidden;
  position: relative;
  z-index: var(--layer-content);
}

@media screen and (min-width: 1280px) {
  section {
    --section-padding: 15rem;
  }
}

/* -------------------------------------------------------------------------
  font
  ------------------------------------------------------------------------- */
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: var(--letter-spacing-lg);
  margin: 0;
}

/* サイズ定義 (rem換算で統一) */
h1,
.h1 {
  font-size: 3.5rem;
}

h2,
.h2 {
  font-size: 2.4rem;
}

h3,
.h3 {
  font-size: 1.6rem;
}

h4,
.h4,
h5,
.h5 {
  font-size: 1.4rem;
}

.min-m {
  font-family:
    "FOT-筑紫明朝 Pr6 M",
    "Hiragino Mincho ProN",
    "Yu Mincho",
    "YuMincho",
    "MS PMincho",
    serif;
  font-weight: 500;
}

.min-b {
  font-family:
    "FOT-筑紫明朝 Pr6 B",
    "Hiragino Mincho ProN",
    "Yu Mincho",
    "YuMincho",
    "MS PMincho",
    serif;
  font-weight: 700;
}

/* -------------------------------------------------------------------------
  layout
  ------------------------------------------------------------------------- */
.l-stack {
  --content-gap: 5rem;
  display: flex;
  flex-direction: column;
  gap: var(--content-gap);
  width: 100%;
}

.l-stack>* {
  margin-top: 0;
  margin-bottom: 0;
}

.l-stack--lg {
  --content-gap: 10rem;
}

.l-stack--sm {
  --content-gap: 3rem;
}

.l-container {
  --content-padding: var(--layout-content-side);
  --content-max-width: var(--layout-max-width);
  padding-inline: var(--content-padding);
  width: 100%;
  max-width: var(--content-max-width);
  margin-left: auto;
  margin-right: auto;
}

.l-container--sp-full {
  padding-inline: 0;
}

@media screen and (min-width:744px) {
  .l-container--sp-full {
    padding-inline: var(--content-padding);
  }
}


.l-container--pc-narrow {
  max-width: calc(67rem + (var(--layout-content-side) * 2));
}

.l-container--pc-ex-narrow {
  max-width: calc(48rem + (var(--layout-content-side) * 2));
}

.l-sec-header {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media screen and (min-width:1280px) {
  .l-sec-pc-100vh {
    min-height: 100vh;
    display: flex;
    align-items: center;
  }
}

/* -------------------------------------------------------------------------
  components
  ------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------
  c-head
  ------------------------------------------------------------------------- */
.c-head-border-bottom {
  padding-bottom: 1rem;
  position: relative;
}

.c-head-border-bottom::after {
  content: "";
  display: block;
  height: 1px;
  width: 100%;
  background-color: currentColor;
  position: absolute;
  bottom: 0;
  left: 0;
}

/* -------------------------------------------------------------------------
  c-flex
  ------------------------------------------------------------------------- */
.c-flex {
  --gap: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap);
}

.c-flex--col3>li {
  width: calc((100% - var(--gap) * 2)/ 3);
}

.c-flex--col2-4>li {
  width: calc((100% - var(--gap))/ 2);
}

@media screen and (min-width:744px) {
  .c-flex--col2-4>li {
    width: calc((100% - var(--gap) * 3)/ 4);
  }
}

/* -------------------------------------------------------------------------
  c-blend
  ------------------------------------------------------------------------- */
.c-blend {
  position: relative;
  z-index: auto;
}

.c-blend__bg {
  z-index: var(--layer-bg-back);
}

.c-blend::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: var(--layer-bg-back);
}

.c-blend--off-white::before {
  background-color: var(--color-off-white);
}

.c-blend--dark-green::before {
  background-color: var(--color-green-500);
}

.c-blend--bronze::before {
  background-color: var(--color-bronze);
}

:where(.c-blend)>* {
  position: relative;
  z-index: var(--layer-content);
}

/* -------------------------------------------------------------------------
  c-deco
  ------------------------------------------------------------------------- */
.c-deco-border-bottom-green {
  border-bottom: solid 0.1rem var(--color-green-500);
}

.c-deco-border-bottom-off-white {
  border-bottom: solid 0.1rem var(--color-off-white);
}

/* -------------------------------------------------------------------------
  c-list
  ------------------------------------------------------------------------- */
/* 番号リスト */
.c-list-num {
  line-height: var(--line-height-snug);
  counter-reset: num-counter;
}

.c-list-num>li {
  position: relative;
  padding-left: 1.5em;
}

.c-list-num>li::before {
  counter-increment: num-counter;
  content: counter(num-counter) ".";
  position: absolute;
  left: 0;
  top: 0;
}

.c-list-num>li+li {
  margin-top: 2rem;
}

/* ドッツリスト */
.c-list-dots {
  line-height: var(--line-height-snug);
}

.c-list-dots>li {
  position: relative;
  padding-left: 1.5em;
}

.c-list-dots>li::before {
  content: "・";
  position: absolute;
  left: 0;
  top: 0;
}

.c-list-dots>li+li {
  margin-top: 2rem;
}

.c-button-back>a {
  text-decoration: underline;
}

/* -------------------------------------------------------------------------
  header
  ------------------------------------------------------------------------- */
.l-header {
  height: var(--header-height);
  z-index: var(--layer-header);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--color-off-white);
  overflow: hidden;
}

.l-header__inner {
  display: flex;
  justify-content: space-between;
  height: 100%;
}

@media screen and (min-width:1024px) {
  .l-header__inner {
    padding-right: 0.5rem;
    max-width: calc(103rem + 4rem);
    margin-inline: auto;
  }
}

.l-header__logo {
  height: 100%;
}

.l-header__logo>a {
  display: block;
  height: 100%;
  padding: 1rem 2rem;
}

.l-header__logo img {
  height: 100%;
  width: auto;
}

/* -------------------------------------------------------------------------
  header nav
  ------------------------------------------------------------------------- */
.l-header__nav {
  position: fixed;
  /* top: var(--header-height); */
  top: 5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: calc(100vh - var(--header-height));
  padding-top: 5rem;
  background-color: var(--color-off-white);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.15s var(--ease-in),
    visibility 0s linear 0.15s;
}

@media screen and (min-width: 1024px) {
  .l-header__nav {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: auto;
    height: auto;
    padding: 0;
    background: transparent;

    /* // PC表示リセット */
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
}

/* SPメニュー展開時のアクティブ状態 */
.l-header__nav.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;

  transition:
    opacity var(--duration-nav-base) var(--ease-out),
    visibility 0s linear 0s;
}

/* ナビゲーション内部レイアウト */
/* navコンテンツラッパー */
.l-header-nav {
  height: 100%;
}

.l-header-nav__inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media screen and (min-width: 1024px) {
  .l-header-nav__inner {
    display: block;
  }
}

/* コンテンツエリア（スクロール領域） */
.l-header-nav__content {
  flex: 1 1 auto;
  overflow-x: hidden;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media screen and (min-width: 1024px) {
  .l-header-nav__content {
    display: block;
    height: 100%;
    overflow: hidden;
  }
}

@media screen and (min-width: 1024px) {
  .menu-wrapper {
    display: flex;
    height: 100%;
  }
}

@media screen and (min-width: 1024px) {
  .menu-wrapper>li {
    height: 100%;
    transition: background-color 0.3s var(--ease-out);
  }

  .menu-wrapper>li:hover {
    background-color: var(--color-gray);
  }
}

.menu-wrapper>li>a {
  display: block;
  padding: 1.5rem 3rem;
}

@media screen and (min-width: 1024px) {
  .menu-wrapper>li>a {
    height: 100%;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* -------------------------------------------------------------------------
  header hamburger 
  ------------------------------------------------------------------------- */
.l-header__hamburger {
  width: var(--header-height);
  height: 100%;
  position: relative;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.8rem;
}

@media screen and (min-width:1024px) {
  .l-header__hamburger {
    display: none;
  }
}

/* ハンバーガーライン */
.l-header__hamburger-line {
  display: block;
  position: relative;

  width: 2rem;
  height: 0.2rem;

  background-color: var(--color-brand-primary);

  transform: translate(0, 0) rotate(0deg);
  transform-origin: center;

  transition:
    transform 0.35s ease,
    opacity 0.25s ease;
}

/* Active（×に変形） */
/* 上の線：下へ移動して45度回転 */
/* 計算式: (gap:0.8rem / 2) + (線の高さ:0.2rem / 2) = 0.5rem */
.l-header__hamburger.is-active .l-header__hamburger-line:nth-child(1) {
  transform: translate(0, 0.5rem) rotate(45deg);
}

/* 下の線：上へ移動して-45度回転 */
.l-header__hamburger.is-active .l-header__hamburger-line:nth-child(2) {
  transform: translate(0, -0.5rem) rotate(-45deg);
}

/* -------------------------------------------------------------------------
  main
  ------------------------------------------------------------------------- */
.l-header+.l-main {
  /* margin-top: var(--header-height); */
  margin-top: 5rem;
}

/* -------------------------------------------------------------------------
  footer
  ------------------------------------------------------------------------- */
.l-footer {
  --footer-block-gap: 4rem;
  --footer-box-gap: 2.8rem;
  --footer-item-gap: 1.2rem;

  position: relative;
  z-index: var(--layer-content);
  padding: 10rem 0 1.5rem;
}

@media screen and (min-width:1280px) {
  .l-footer {
    padding: 15rem 0 1.5rem;
  }
}

.l-footer__inner {
  display: flex;
  flex-direction: column;
  gap: var(--footer-block-gap);

}

.l-footer__header {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.l-footer__logo {
  width: 16.5rem;
}

.l-footer__title {
  font-size: 1.1rem;
}

.l-footer__body {
  font-size: 1.1rem;

  display: flex;
  flex-direction: column;
  gap: var(--footer-block-gap);
}

@media screen and (min-width:744px) {
  .l-footer__body {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

.l-footer__comp-info {
  display: flex;
  flex-direction: column;
  gap: var(--footer-box-gap);

}

.l-footer__tel-fax-row {
  display: flex;
}

.l-footer__tel-fax-row dt {
  min-width: 3.5em;
  display: flex;
  gap: 0.3em;
}

.l-footer__tel-fax-row dt::after {
  content: ":";
}

.l-footer__tel-fax-row+.l-footer__tel-fax-row {
  margin-top: var(--footer-item-gap);
}

.l-footer__tel-fax-row--tel {
  cursor: pointer;
  transition: opacity 0.3s var(--ease-out);
}

@media screen and (min-width:1024px) {
  .l-footer__tel-fax-row--tel:hover {
    opacity: 0.7;
  }
}

.l-footer__links {}

@media screen and (min-width:744px) {
  .l-footer__links {
    min-width: 24rem;
    width: 60%;
    max-width: 50rem;
    /* 広がりすぎ防止の上限 */
  }
}

.l-footer__privacy-link {
  font-size: 10px;
  text-decoration: underline;
  text-underline-offset: 0.35em;
}

@media screen and (min-width:1024px) {
  .l-footer__privacy-link {
    cursor: pointer;
    transition: opacity 0.3s ease;
  }

  .l-footer__privacy-link:hover {
    opacity: 0.7;
  }
}

/* リスト全体 */
@media screen and (min-width:744px) {
  .l-footer__nav-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0 4rem;
    border-top: none;
  }
}

/* リストアイテム */
/* animation */
.l-footer__nav-list>li {
  position: relative;
}

.l-footer__nav-list>li:first-child::before,
.l-footer__nav-list>li::after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.2);
  height: 0.1rem;
  width: 100%;
}

.l-footer__nav-list>li:first-child::before {
  top: 0;
  bottom: auto;
}

.l-footer__nav-list>li.js-ob-animation:first-child::before,
.l-footer__nav-list>li.js-ob-animation::after {
  transform-origin: left top;
  transform: scaleX(0.618);
  transition: transform var(--duration-slow) var(--ease-out);
}

.l-footer__nav-list>li.js-ob-animation:first-child.is-animation::before,
.l-footer__nav-list>li.js-ob-animation.is-animation::after {
  transform: scaleX(1);
}

@media screen and (min-width:744px) {
  .l-footer__nav-list>li:first-child::before {
    display: none;
  }

  /* 3. 各項目の幅を「50%」にして2列化する */
  .l-footer__nav-list li {
    /* 50%から、gapで空けた隙間の半分（2rem）を引いてピタッと収める */
    width: calc(50% - 2rem);
  }
}

/* リンクテキストと矢印の配置 */
.l-footer__nav-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* 縦の中央揃え */
  padding: 1.6rem;
  padding-left: 0;
  color: var(--color-white);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

@media screen and (min-width:744px) {
  .l-footer__nav-list a {
    padding: 1.2rem;
    padding-left: 0;
  }
}

@media screen and (min-width:1024px) {
  .l-footer__nav-list a:hover {
    opacity: 0.7;
  }
}

/* 右端の矢印（>）をCSSで作る */
.l-footer__nav-list a::after {
  content: "";
  display: block;
  width: 0.6rem;
  height: 0.6rem;
  border-top: 0.1rem solid #FFFFFF;
  border-right: 0.1rem solid #FFFFFF;
  transform: rotate(45deg);
  margin-right: 0.1rem;
}

.l-fooer__copyright {
  font-size: 10px;
  margin-top: 9rem;
}

@media screen and (min-width:744px) {
  .l-fooer__copyright {
    margin-top: 15rem;
  }
}

/* -------------------------------------------------------------------------
  utilities
  ------------------------------------------------------------------------- */
.color-on-dark {
  color: var(--color-off-white);
}

.color-green {
  color: var(--color-green-500);
}

.bg_off-white {
  background-color: var(--color-off-white);
}

.bg_dark_green {
  background-color: var(--color-green-500);
}

.bg_bronze {
  background-color: var(--color-bronze);
}

.u-text-right {
  text-align: right;
}

.u-text-center {
  text-align: center;
}

@media screen and (min-width:744px) {
  .u-text-center-pc {
    text-align: center;
  }
}

.u-text-palt {
  font-feature-settings: "palt";
}

.ib {
  display: inline-block;
}

.pc {
  display: none;
}

@media screen and (min-width:744px) {
  .sp {
    display: none;
  }

  .pc {
    display: block;
  }
}

/* -------------------------------------------------------------------------
  background fixed svg
  ------------------------------------------------------------------------- */
.l-bg-svg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: var(--layer-bg);
  overflow: hidden;

  pointer-events: none;
}

.l-bg-svg__inner {
  width: 200vw;

  position: absolute;
  top: 100%;
  transform: translateY(-50%);
  left: 0;
}

@media screen and (min-width:744px) {
  .l-bg-svg__inner {
    left: auto;
    right: -50%;
    width: 100vw;
    height: 100vw;
    max-height: 160vh;
  }
}

.l-bg-svg__svg {
  opacity: 0.5;
  mix-blend-mode: difference;
}

/* SVG全体の配置と回転アニメーション */
#svg-gear {
  width: 100%;
  height: 100%;
}

#Layer_1 {
  /* 1. 中心座標を直接数値で指定（viewBoxの半分） */
  transform-origin: 404px 406px;

  /* 2. 座標系の基準をviewBoxに固定する（重要） */
  transform-box: fill-box;

  animation: rotate-gear 60s linear infinite;
}

@keyframes rotate-gear {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* --- アニメーション定義 --- */
/* 1. 全体の回転 */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* 2. 内部パーツの明滅（呼吸のようなリズム） */
@keyframes breathe {
  0% {
    opacity: 0.5;
    /* stroke-opacity: 0.5; */
  }

  50% {
    opacity: 1.0;
    /* stroke-opacity: 1.0; */
  }

  100% {
    opacity: 0.5;
    /* stroke-opacity: 0.5; */
  }
}

/* --- 個別のパーツへの適用 --- */
/* すべてのパスに明滅アニメーションを適用 */
#svg-gear path,
#svg-gear circle,
#svg-gear rect,
#svg-gear polygon {
  /* 3秒かけて明滅を繰り返す */
  animation: breathe 3s ease-in-out infinite;
  /* 回転の中心をそれぞれの図形の真ん中に設定（重要） */
  transform-box: fill-box;
  transform-origin: center;
}

#svg-gear path:nth-child(2n) {
  animation-delay: 0s;
  /* 遅れなし */
}

#svg-gear path:nth-child(2n+1) {
  animation-delay: 1.5s;
  /* 1.5秒遅れ（逆位相） */
}

#svg-gear path:nth-child(3n) {
  animation-duration: 4s;
  /* 3つおきに少しゆっくりにする */
}

.svg-gear-1 {
  fill: none;
}

.svg-gear-2 {
  fill: #b3b3b3;
}

.svg-gear-3 {
  fill: #3f403f;
}

.svg-gear-4 {
  fill: #a4a6ab;
}

.svg-gear-5 {
  opacity: .4;
}

.svg-gear-6 {
  fill: #8c8c8c;
}

/* -------------------------------------------------------------------------
  タブ切り替え
  ------------------------------------------------------------------------- */
/* 切り替えnav*/
.l-nav-select {
  --active-color: var(--color-bronze);
  height: 100%;
  padding: 1.4rem 0;
  line-height: 1.3;
  letter-spacing: var(--letter-spacing-reset);

  position: relative;
}

.l-nav-select__list {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.l-nav-select__list-item {
  min-height: 4.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  color: rgba(255, 255, 255, 0.5);
  background-color: rgba(255, 255, 255, 0.15);
  padding: 0.3rem;

  position: relative;
}

.l-nav-select__list-item::after {
  content: "";
  position: absolute;
  top: 0;
  right: -0.2rem;

  display: block;
  width: 0.2rem;
  height: 100%;
  background-color: var(--active-color);

  visibility: hidden;
  opacity: 0;
}

.l-nav-select__list-item.is-active {
  color: var(--color-white);
  background-color: var(--active-color);
  border: solid 0.1rem var(--color-white);
}


.l-nav-select__list-item.is-active::after {
  visibility: visible;
  opacity: 1;
}

.l-nav-select__button {
  font-size: 1.2rem;
}

.js-select-content {
  display: none;
}

.js-select-content.is-active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.l-nav-select__overall-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 10;
  overflow: visible;
}

.l-nav-select__overall-svg path {
  fill: none;
  stroke: var(--color-white);
  stroke-width: 1px;
  stroke-linejoin: round;
}

/* =========================================================================
   タブ切り替えアニメーション（既存CSSへの追加・上書き）
   ========================================================================= */

/* 1. 親要素の基準点設定 */
.l-nav-select__list {
  /* インジケーターを絶対配置するための基準点 */
  position: relative;
}

/* 2. 動くインジケーター（枠線＋背景＋右バー）のスタイル */
.l-nav-select__indicator {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  /* JSで高さを付与します */

  /* 既存の .is-active と同じスタイルをここに適用 */
  background-color: var(--active-color);
  border: solid 0.1rem var(--color-white);

  /* アニメーション設定 */
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    height 0.4s cubic-bezier(0.22, 1, 0.36, 1);

  z-index: 1;
  /* 文字の下、背景の上に */
  pointer-events: none;
  /* クリックを邪魔しない */
  box-sizing: border-box;
}

/* インジケーターの右側のバー（既存の ::after の代わり） */
.l-nav-select__indicator::after {
  content: "";
  position: absolute;
  top: 0;
  right: -0.2rem;
  display: block;
  width: 0.2rem;
  height: 100%;
  background-color: var(--active-color);
}

/* 3. リストアイテムの調整（レイヤー順序） */
.l-nav-select__list-item {
  /* インジケーターより手前に表示してクリックできるようにする */
  z-index: 2;
}

/* 4. 既存の .is-active スタイルの打ち消し（競合回避） */
/* インジケーターがスタイルを担当するため、本来のliの装飾は透明にする */
.l-nav-select__list-item.is-active {
  background-color: transparent !important;
  /* 既存背景を消す */
  border-color: transparent !important;
  /* 既存枠線を消す */
  /* 文字色(color: white)は既存のまま活かすので記述しない */
}

/* 既存の右バーを非表示にする（インジケーター側で表示するため） */
.l-nav-select__list-item.is-active::after {
  display: none !important;
}

/* ホバー時の挙動調整（PCのみ） */
@media screen and (min-width:1024px) {

  /* アクティブなアイテムをホバーしても、二重に色がつかないようにする */
  .l-nav-select__list-item.is-active:hover {
    background-color: transparent !important;
    border-color: transparent !important;
  }
}



/* -------------------------------------------------------------------------
  animation
  ------------------------------------------------------------------------- */
.js-ob-animation.c-head-border-bottom::after {
  transform-origin: left top;
  transform: scaleX(0.618);
  transition: transform var(--duration-slow) var(--ease-out);
}

.js-ob-animation.c-head-border-bottom.is-animation::after {
  transform: scaleX(1);
}

/* -------------------------------------------------------------------------
  p-document
  ------------------------------------------------------------------------- */
.p-document {}

.p-document__header {
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

.p-document__body {
  --gap: 5rem;
  display: flex;
  flex-direction: column;
  gap: var(--gap);

  letter-spacing: var(--letter-spacing-sm);
}

.p-document__block {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.p-document__block>h3 {
  letter-spacing: var(--letter-spacing-reset);
}

/* -------------------------------------------------------------------------
 pvicay-plicy
  ------------------------------------------------------------------------- */
.p-sec-privacy-policy {
  text-align: justify;
}

.p-plivacy-contact {
  padding: 3rem;
  background-color: var(--color-gray);
  line-height: var(--line-height-snug);
}

.p-plivacy-contact>h4 {
  margin-bottom: 2.4rem;
}

.p-plivacy-contact>p+p {
  margin-top: 1.6rem;
}

/* -------------------------------------------------------------------------
 recaptcha
  ------------------------------------------------------------------------- */
.l-footer:has(.recaptcha-message) {
  padding-bottom: 0.5rem;
}

.grecaptcha-badge {
  visibility: hidden;
}

.recaptcha-message {
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 0;
  padding: 0.5em 1em;
  color: #aaa;
  margin-top: 1.5rem;
}

.recaptcha-message a {
  text-decoration: underline;
}