@charset "UTF-8";
/* =========================================================
   WWE — コンポーネント
   ボタン / セクション見出し / カード / タグ / アコーディオン / CTA帯
   ボタンの高さと角丸は必ずトークンを使う。個別指定しない。
   ========================================================= */

/* =========================================================
   ボタン
   curio_repair の invert ホバーを踏襲（通常=ベタ塗り → ホバー=白地反転）。
   角丸はピルではなく 8px の矩形。
   ========================================================= */
.wwe-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: var(--wwe-btn-h-lg);
  padding: 8px 28px;
  border-radius: var(--wwe-radius-btn);
  border: 2px solid transparent;
  font-family: var(--wwe-font);
  font-weight: var(--wwe-fw-bold);
  font-size: var(--wwe-fs-lead);
  line-height: 1.35;
  letter-spacing: .04em;
  text-align: center;
  transition: background-color var(--wwe-dur) var(--wwe-ease),
              color var(--wwe-dur) var(--wwe-ease),
              border-color var(--wwe-dur) var(--wwe-ease),
              transform var(--wwe-dur) var(--wwe-ease),
              box-shadow var(--wwe-dur) var(--wwe-ease);
}
.wwe-btn__note {
  font-size: var(--wwe-fs-small);
  font-weight: var(--wwe-fw-normal);
  letter-spacing: .02em;
  opacity: .9;
}

/* 高さ */
.wwe-btn--lg { min-height: var(--wwe-btn-h-lg); }
.wwe-btn--md { min-height: var(--wwe-btn-h-md); font-size: var(--wwe-fs-body); padding-inline: 22px; }
.wwe-btn--sm { min-height: var(--wwe-btn-h-sm); font-size: var(--wwe-fs-note); padding-inline: 18px; }

/* 主CTA：ゴールドのベタ塗り
   白文字を載せる面なので --wwe-gold ではなく --wwe-gold-cta を使う（白 5.19:1）。 */
.wwe-btn--gold {
  background: var(--wwe-gold-cta);
  border-color: var(--wwe-gold-cta);
  color: var(--wwe-white);
  box-shadow: 0 6px 18px rgba(138, 103, 38, .28); /* --wwe-gold-cta の RGB */
}
.wwe-btn--gold:hover,
.wwe-btn--gold:focus-visible {
  background: var(--wwe-white);
  color: var(--wwe-gold-dark);
  border-color: var(--wwe-gold-cta);
  transform: translateY(-2px);
  box-shadow: var(--wwe-shadow-pop);
}

/* 補助：ネイビー地の上に置く白枠 */
.wwe-btn--outline-light {
  background: transparent;
  border-color: rgba(255, 255, 255, .7);
  color: var(--wwe-on-navy);
}
.wwe-btn--outline-light:hover,
.wwe-btn--outline-light:focus-visible {
  background: var(--wwe-white);
  color: var(--wwe-navy);
  border-color: var(--wwe-white);
}

/* 補助：白地の上に置くネイビー枠 */
.wwe-btn--outline {
  background: var(--wwe-white);
  border-color: var(--wwe-navy);
  color: var(--wwe-navy);
}
.wwe-btn--outline:hover,
.wwe-btn--outline:focus-visible {
  background: var(--wwe-navy);
  color: var(--wwe-on-navy);
}

/* ネイビーのベタ塗り */
.wwe-btn--navy {
  background: var(--wwe-navy);
  border-color: var(--wwe-navy);
  color: var(--wwe-on-navy);
}
.wwe-btn--navy:hover,
.wwe-btn--navy:focus-visible {
  background: var(--wwe-white);
  color: var(--wwe-navy);
}

/* 幅いっぱい（SP） */
.wwe-btn--block { width: 100%; }

/* =========================================================
   セクション見出し
   英字 eyebrow ＋ 和文見出し ＋ 短い下線（curio_repair 踏襲）
   eyebrow の色はゴールド（curio_repair はブランドグリーン）
   ========================================================= */
.wwe-sec-head {
  max-width: var(--wwe-container-narrow);
  margin: 0 auto 44px;
  text-align: center;
}
.wwe-sec-head__eyebrow {
  font-family: var(--wwe-font-num);
  font-size: var(--wwe-fs-eyebrow);
  font-weight: var(--wwe-fw-bold);
  letter-spacing: var(--wwe-ls-eyebrow);
  text-transform: uppercase;
  /* 13px と小さいので --wwe-gold（mid背景で 2.79:1）では読みづらい。
     明るい地に置く金色文字は --wwe-gold-dark を使う。ネイビー地は layout.css で戻す。 */
  color: var(--wwe-gold-dark);
  margin-bottom: 10px;
}
.wwe-sec-head__title {
  font-size: var(--wwe-fs-h2);
  color: var(--wwe-text);
  font-feature-settings: var(--wwe-palt);
}
.wwe-sec-head__line {
  display: block;
  width: 40px;
  height: 2px;
  margin: 18px auto 0;
  background: var(--wwe-gold);
  border-radius: 2px;
}
/* 見出し直後の1文。AIが引用する単位になるので必ず入れる。 */
.wwe-sec-head__lead {
  margin-top: 18px;
  font-size: var(--wwe-fs-lead);
  color: var(--wwe-text-body);
}

/* =========================================================
   カード
   ========================================================= */
.wwe-card {
  background: var(--wwe-white);
  border: 1px solid var(--wwe-line);
  border-radius: var(--wwe-radius-card);
  padding: 24px;
}
.wwe-card--gold  { border: 2px solid var(--wwe-gold); }
.wwe-card--navy  { border: 2px solid var(--wwe-navy); }
.wwe-card--shadow { border: 0; box-shadow: var(--wwe-shadow-card); }

.wwe-card__title {
  font-size: var(--wwe-fs-h3);
  color: var(--wwe-navy);
  margin-bottom: 8px;
}
.wwe-card__text {
  font-size: var(--wwe-fs-note);
  color: var(--wwe-text-body);
}

/* 番号（01/02/03）— チラシと同じ欧文セリフ */
.wwe-num {
  font-family: var(--wwe-font-num);
  font-size: var(--wwe-fs-num);
  font-weight: var(--wwe-fw-bold);
  line-height: 1;
  color: var(--wwe-gold);
}

/* 丸番号（①〜⑥） */
.wwe-circle {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--wwe-gold);
  color: var(--wwe-white);
  font-family: var(--wwe-font-num);
  font-size: 19px;
  font-weight: var(--wwe-fw-bold);
  flex: 0 0 auto;
}

/* 無料バッジ。白文字を載せる面なので --wwe-gold-cta を使う。 */
.wwe-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 4px;
  background: var(--wwe-gold-cta);
  color: var(--wwe-white);
  font-size: var(--wwe-fs-small);
  font-weight: var(--wwe-fw-bold);
  letter-spacing: .04em;
}
.wwe-badge--outline {
  background: transparent;
  border: 1px solid var(--wwe-gold);
  color: var(--wwe-gold-dark);
}
.wwe-badge--mute {
  background: transparent;
  border: 1px solid var(--wwe-line);
  color: var(--wwe-text-mute);
}

/* =========================================================
   タグ（[8] 支援できる制作物）
   カードにしない。カードにすると1つ1つが商品に見えてしまう。
   ========================================================= */
.wwe-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.wwe-tags__item {
  padding: 10px 18px;
  border: 1px solid var(--wwe-line);
  border-radius: var(--wwe-radius-tag);
  background: var(--wwe-white);
  font-size: var(--wwe-fs-note);
  color: var(--wwe-text);
}
/* 札がリンクのとき、押せる範囲を札の大きさ（44px 以上）まで広げる。見た目は変えない
   （余白を足して同じだけ外側を詰める）。2026-11-11 の測定で、文字だけの 85×20 だった */
.wwe-tags__item a { display: inline-block; padding: 12px 18px; margin: -12px -18px; }

/* =========================================================
   チェックリスト（[4] 悩み）
   □ はゴールドの線。塗りにはしない（読み手が自分で当てはめる余白を残す）
   ========================================================= */
.wwe-checks {
  display: grid;
  gap: 12px;
}
.wwe-checks__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  background: var(--wwe-white);
  border: 1px solid var(--wwe-line);
  border-radius: var(--wwe-radius-card);
  font-size: var(--wwe-fs-lead);
  color: var(--wwe-text);
}
.wwe-checks__box {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  margin-top: .45em;
  border: 2px solid var(--wwe-gold);
  border-radius: 2px;
}

/* =========================================================
   アコーディオン（FAQ）
   details ベース。JS は開閉アイコンの回転のみ。
   ========================================================= */
.wwe-acc { display: grid; gap: 12px; }

.wwe-acc__item {
  background: var(--wwe-white);
  border: 1px solid var(--wwe-line);
  border-radius: var(--wwe-radius-card);
  overflow: hidden;
}
.wwe-acc__q {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 56px;
  padding: 16px 20px;
  cursor: pointer;
  font-size: var(--wwe-fs-lead);
  font-weight: var(--wwe-fw-bold);
  color: var(--wwe-navy);
  list-style: none;
}
.wwe-acc__q::-webkit-details-marker { display: none; }
.wwe-acc__q:hover { background: var(--wwe-bg-soft); }

.wwe-acc__mark {
  flex: 0 0 auto;
  font-family: var(--wwe-font-num);
  font-weight: var(--wwe-fw-bold);
  color: var(--wwe-gold);
}
.wwe-acc__icon {
  flex: 0 0 auto;
  margin-left: auto;
  width: 20px; height: 20px;
  position: relative;
}
.wwe-acc__icon::before,
.wwe-acc__icon::after {
  content: "";
  position: absolute;
  top: 50%; left: 0;
  width: 20px; height: 2px;
  background: var(--wwe-gold);
  transition: transform var(--wwe-dur) var(--wwe-ease);
}
.wwe-acc__icon::after { transform: rotate(90deg); }
.wwe-acc__item[open] .wwe-acc__icon::after { transform: rotate(0); }

.wwe-acc__a {
  padding: 0 20px 20px;
  border-top: 1px solid var(--wwe-line);
  padding-top: 18px;
  font-size: var(--wwe-fs-body);
  color: var(--wwe-text-body);
}
.wwe-acc__a p + p { margin-top: .9em; }
.wwe-acc__a strong { color: var(--wwe-text); }

/* =========================================================
   CTA 帯
   ========================================================= */
/* 大CTA（FV・最終CTA） */
.wwe-cta {
  text-align: center;
}
.wwe-cta__heading {
  font-size: var(--wwe-fs-h2);
  color: var(--wwe-on-navy);
  margin-bottom: 12px;
  font-feature-settings: var(--wwe-palt);
}
.wwe-cta__buttons {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}
.wwe-cta__notes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  margin-top: 22px;
  font-size: var(--wwe-fs-note);
  color: var(--wwe-on-navy-sub);
}
.wwe-cta__note {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}
.wwe-cta__check {
  color: var(--wwe-gold);
  font-weight: var(--wwe-fw-bold);
}

/* 中CTA・小CTA（セクション間の帯） */
.wwe-ctainline {
  background: var(--wwe-bg-soft);
  padding-block: 40px;
}
.wwe-ctainline__inner {
  display: grid;
  gap: 18px;
  justify-items: center;
  text-align: center;
}
.wwe-ctainline__text {
  font-size: var(--wwe-fs-lead);
  font-weight: var(--wwe-fw-bold);
  color: var(--wwe-navy);
}
.wwe-ctainline__buttons {
  display: grid;
  gap: 10px;
  width: 100%;
  max-width: 420px;
}
/* 小サイズ：ボタンを置かずテキストリンク中心 */
.wwe-ctainline--sm { padding-block: 28px; }
.wwe-ctainline--sm .wwe-ctainline__text { font-size: var(--wwe-fs-body); }

/* =========================================================
   文節のまとまり
   和文は単語区切りが無いため、放っておくと「最初／の相談相手」のように
   意味の途中で改行される。意味のまとまりをこの要素で包むと、
   その内側では改行されず、まとまりとまとまりの間だけで折り返す。

   ⚠️ white-space: nowrap にしない。
      まとまりが列幅を超えたときに横スクロールが発生してしまう。
      inline-block なら、収まらない場合は内部で折り返して逃げる。
   ========================================================= */
.wwe-phrase { display: inline-block; }

/* 内部リンク */
.wwe-more { margin-top: 28px; text-align: center; }
.wwe-more__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 4px;
  font-size: var(--wwe-fs-note);
  font-weight: var(--wwe-fw-bold);
  color: var(--wwe-navy);
  border-bottom: 1px solid var(--wwe-gold);
}
.wwe-more__link:hover { color: var(--wwe-gold-dark); }
.wwe-more__arrow { transition: transform var(--wwe-dur) var(--wwe-ease); }
.wwe-more__link:hover .wwe-more__arrow { transform: translateX(4px); }

/* =========================================================
   最終CTA（.wwe-ctafinal）
   ⚠️ この部品は parts/home/16-cta-final.php が持ち、
      トップだけでなく **すべての下層ページ**から呼ばれる。
      page-home.css に置くと下層ページで CSS が当たらずカードが崩れるため、
      components.css に置くこと（2026-07-31 実測で発覚し移動）。
   ========================================================= */
.wwe-ctafinal__lead {
  font-size: var(--wwe-fs-note);
  color: var(--wwe-on-navy-sub);
  margin-bottom: 24px;
}
.wwe-ctafinal__types {
  display: grid;
  gap: 12px;
  margin-bottom: 26px;
}
.wwe-ctafinal__type {
  display: grid;
  gap: 10px;
  justify-items: center;
  align-content: center;
  min-height: 118px;
  padding: 20px 16px;
  background: var(--wwe-white);
  border: 2px solid var(--wwe-white);
  border-radius: var(--wwe-radius-card);
  text-align: center;
}
.wwe-ctafinal__type:hover,
.wwe-ctafinal__type:focus-visible {
  border-color: var(--wwe-gold);
  transform: translateY(-2px);
  box-shadow: var(--wwe-shadow-pop);
}
.wwe-ctafinal__typelabel {
  font-size: var(--wwe-fs-lead);
  font-weight: var(--wwe-fw-bold);
  line-height: 1.5;
  color: var(--wwe-navy);
}
.wwe-ctafinal__subs {
  display: grid;
  gap: 10px;
}

@media (min-width: 768px) {
  .wwe-ctafinal__types { grid-template-columns: repeat(3, 1fr); }
  .wwe-ctafinal__subs { grid-template-columns: repeat(4, 1fr); }
}

/* =========================================================
   荻窪相談オフィスの NAP ブロック（.wwe-access）
   ⚠️ parts/nap-office.php はトップと /ogikubo/ の両方から呼ばれる。
      page-home.css に置くと /ogikubo/ で当たらず崩れるため components.css に置く
      （2026-07-31 移動）。
   ========================================================= */
.wwe-access { display: grid; gap: 30px; }

.wwe-access__brand {
  font-size: var(--wwe-fs-h3);
  font-weight: var(--wwe-fw-bold);
  color: var(--wwe-navy);
}
.wwe-access__company { font-size: var(--wwe-fs-note); color: var(--wwe-text-body); }
.wwe-access__office {
  margin-top: 4px;
  font-size: var(--wwe-fs-note);
  font-weight: var(--wwe-fw-bold);
  color: var(--wwe-gold-dark);
}

.wwe-access__dl {
  display: grid;
  grid-template-columns: 5.5em 1fr;
  gap: 10px 14px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--wwe-line);
  font-size: var(--wwe-fs-note);
}
.wwe-access__dl dt { font-weight: var(--wwe-fw-bold); color: var(--wwe-navy); }
.wwe-access__dl dd { color: var(--wwe-text-body); }
.wwe-access__tel {
  font-size: 21px;
  font-weight: var(--wwe-fw-bold);
  color: var(--wwe-navy);
  letter-spacing: .02em;
}
/* 押せる範囲を 44px 以上に広げる。見た目は変えない（余白を足して同じだけ外側を詰める）。2026-11-11 の測定で 145×30 だった */
.wwe-access__tel { display: inline-block; padding: 7px 0; margin: -7px 0; }

.wwe-access__ctas { display: grid; gap: 10px; margin-top: 22px; }
.wwe-access .wwe-more { text-align: left; }

.wwe-access__map {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--wwe-radius-card);
  overflow: hidden;
  background: var(--wwe-bg-mid);
}
.wwe-access__map iframe {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  border: 0;
}
.wwe-access__maplink {
  margin-top: 8px;
  font-size: var(--wwe-fs-small);
}
.wwe-access__maplink a {
  color: var(--wwe-navy);
  text-decoration: underline;
  text-decoration-color: var(--wwe-gold);
  text-underline-offset: 3px;
  /* 押せる範囲を 44px 以上に広げる。見た目は変えない（余白を足して同じだけ外側を詰める）。2026-11-11 の測定で 125×19 だった。
     上は地図とのすき間（8px）まで、下は写真とのすき間（16px）までにする（地図に重なると、その部分は地図が押される） */
  display: inline-block;
  padding: 8px 0 16px;
  margin: -8px 0 -16px;
}

.wwe-access__photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 16px;
}
.wwe-access__photo { border-radius: 6px; aspect-ratio: 3 / 2; object-fit: cover; }
.wwe-access__photos .wwe-ph { min-height: 90px; padding: 8px; }
.wwe-access__photos .wwe-ph__label { font-size: 11px; }

@media (min-width: 768px) {
  .wwe-access { grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
  .wwe-access__ctas { grid-auto-flow: column; justify-content: start; }
}

/* =========================================================
   TAB / PC
   ========================================================= */
@media (min-width: 768px) {
  .wwe-checks { grid-template-columns: repeat(2, 1fr); }
  .wwe-cta__buttons {
    grid-auto-flow: column;
    justify-content: center;
    gap: 14px;
  }
  .wwe-ctainline__buttons {
    grid-auto-flow: column;
    justify-content: center;
    max-width: none;
  }
}

@media (min-width: 1024px) {
  .wwe-sec-head { margin-bottom: 52px; }
}
