/* ============================================================
  theme-2026.css — 2026年10月リニューアルの全体調整（全ページ・最後に読み込む）
    1. フォントをファーストビューに統一
    2. 左右の余白を広く
    3. ヘッダー：白い帯＋文字ロゴ（試作と同じデザイン）
    4. 角丸をなくして直角に統一
    5. About：キャリアタイムライン削除に合わせて1カラムに
  ※ front.css / main.css は直接書き換えず、ここで上書きしている
============================================================ */

/* ------------------------------------------------------------
  1. フォント（front.css・main.css の変数をまとめて差し替え）
     英字の見出し：Bodoni Moda ／ 日本語の見出し：しっぽり明朝
     本文：BIZ UDPゴシック ／ ラベル：Josefin Sans
------------------------------------------------------------ */
:root {
  --font-en-serif:   "Bodoni Moda", "Times New Roman", serif;
  --font-ja-serif:   "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --font-en-sans:    "BIZ UDPGothic", "Hiragino Sans", "Yu Gothic", sans-serif;
  --font-ja-sans:    "BIZ UDPGothic", "Hiragino Sans", "Yu Gothic", sans-serif;
  --font-display-en: "Bodoni Moda", "Times New Roman", serif;
  --font-display-ja: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --font-body-en:    "BIZ UDPGothic", "Hiragino Sans", "Yu Gothic", sans-serif;
  --font-body-ja:    "BIZ UDPGothic", "Hiragino Sans", "Yu Gothic", sans-serif;
  --font-jp-serif:   "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --font-jp-sans:    "BIZ UDPGothic", "Hiragino Sans", "Yu Gothic", sans-serif;
  --font-display:    "Bodoni Moda", "Times New Roman", serif;
  --font-label-2026: "Josefin Sans", "Helvetica Neue", Arial, sans-serif;
  --ink-2026: #24303A;
  --ink-hover-2026: #3A4752;

/* ------------------------------------------------------------
  2. 左右の余白（コンテナの内側の余白を広げ、横幅を少し狭く）
------------------------------------------------------------ */
  --container-pad: clamp(24px, 7vw, 112px);
  --container-max: 1080px;
}

/* ------------------------------------------------------------
  3. ヘッダー：白い帯＋文字ロゴ
     スマホ・タブレット（〜899px）：ロゴ＋ハンバーガー
     PC（900px〜）：ロゴ＋英字メニュー＋「相談する」
     ※ ハンバーガーの button は空要素のまま。3本線は ::before / background-image / ::after
------------------------------------------------------------ */
.site-header {
  align-items: center;
  height: 64px;
  padding: 0 8px 0 20px;
  background: rgba(255, 255, 255, 0.94);
  pointer-events: auto;
}
.site-logo {
  width: auto;
  height: auto;
  padding: 0;
  margin-right: auto;
  background: none;
  border: none;
  box-shadow: none;
  font-family: var(--font-label-2026);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--ink-2026);
  white-space: nowrap;
}
.site-logo:hover { transform: none; box-shadow: none; }

.header-nav,
.site-header.is-scrolled .header-nav {
  gap: 28px;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
}
.header-nav__list { display: none; gap: 28px; }
.header-nav__list a {
  padding: 0;
  font-family: var(--font-label-2026);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-2026);
  background: none;
}
.header-nav__list a:hover,
.header-nav__list a.is-current {
  color: var(--ink-2026);
  background: none;
  text-decoration: underline;
  text-decoration-color: #EE8A82;
  text-underline-offset: 6px;
}
.header-cta {
  display: none;
  padding: 10px 22px;
  font-family: var(--font-ja-sans);
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: var(--ink-2026);
}
.header-cta:hover { color: #fff; background: var(--ink-hover-2026); transform: none; }

/* ハンバーガー：墨色の細い3本線 */
.menu-button {
  display: flex;
  width: 44px;
  height: 44px;
  background-color: transparent;
  background-image: linear-gradient(var(--ink-2026), var(--ink-2026));
  background-size: 22px 1px;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: none;
}
.menu-button:hover { background-color: transparent; transform: none; box-shadow: none; }
.menu-button::before,
.menu-button::after { height: 1px; background: var(--ink-2026); }
.menu-button::before { top: calc(50% - 7px); }
.menu-button::after  { top: calc(50% + 6px); }
.menu-button[aria-expanded="true"] { background-image: none; }

/* 閉じるボタン：ハンバーガーと同じ位置・同じ見た目 */
.menu-close-button {
  top: 10px;
  right: 8px;
  width: 44px;
  height: 44px;
  background: transparent;
  box-shadow: none;
}
.menu-close-button:hover { background: transparent; }
.menu-close-button::before,
.menu-close-button::after { top: 50%; width: 22px; height: 1px; background: var(--ink-2026); }

/* メニュー（全画面）の文字もそろえる */
.global-menu { background: rgba(255, 255, 255, 0.98); }
.global-menu__text { font-family: var(--font-label-2026); letter-spacing: 0.12em; }
.global-menu a::before { background: #EE8A82; }
.global-menu a.is-current .global-menu__arrow { background: var(--ink-2026); border-color: var(--ink-2026); }

@media (min-width: 900px) {
  .site-header { height: 76px; padding: 0 4vw; }
  .header-nav__list { display: flex; }
  .header-cta { display: inline-flex; }
  .menu-button { display: none; }
}

/* ------------------------------------------------------------
  4. 角丸をなくして直角に（ファーストビューに合わせる）
     水彩のにじみだけは形を残す
------------------------------------------------------------ */
*,
*::before,
*::after {
  border-radius: 0 !important;
}
.fv__blob,
.hoken__blob {
  border-radius: 46% 54% 40% 60% / 55% 42% 58% 45% !important;
}

/* ------------------------------------------------------------
  4.2 色：front.css・main.css・各テンプレートが使う色の変数を、ファーストビューの色にそろえる
      濃いミント緑（強調・ボタン・見出しの飾り）→ 墨色
      ミント・黄・ピンク → 水彩と同じミント・黄・コーラル
------------------------------------------------------------ */
:root {
  --color-text:       #24303A;
  --color-text-sub:   #5A6670;
  --color-text-mid:   #5A6670;
  --color-mint:       #7FC7AE;
  --color-mint-light: #EEF6F2;
  --color-mint-dark:  #24303A;
  --color-green:      #24303A;
  --color-green-dk:   #24303A;
  --accent-primary:   #24303A;
  --color-yellow:     #F4C430;
  --color-pink:       #EE8A82;
  --color-pink-dark:  #24303A;
  --color-yellow-dark:#24303A;
  --green-grad:       linear-gradient(135deg, #24303A 0%, #3A4752 100%);
}

/* ------------------------------------------------------------
  4.3 下層ページ（About・料金・Works・Blog など）の共通パーツ
------------------------------------------------------------ */
/* ページ上部の見出し帯：光のグラデーションをやめて白地＋細い線 */
.page-hero {
  background: #fff;
  border-bottom: 1px solid #DDE5E8;
}
.page-hero::before {
  font-family: "Bodoni Moda", serif;
  font-style: normal;
  color: rgba(36, 48, 58, 0.05);
  letter-spacing: 0.24em;
}
.page-hero-eyebrow {
  font-family: var(--font-label-2026);
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-2026);
}
.page-hero-eyebrow::before,
.page-hero-eyebrow::after { background: var(--ink-2026); opacity: 1; }
.page-hero h1 { font-weight: 700; letter-spacing: 0.08em; color: var(--ink-2026); }
.page-hero h1 em { color: var(--ink-2026); }
/* 強調の下線は細いコーラルの線に */
.page-hero h1 em::after { height: 2px; bottom: 2px; background: #EE8A82; opacity: 1; }

/* パンくず */
.breadcrumb,
.bl-breadcrumb__list li { font-family: var(--font-label-2026); font-size: 11px; letter-spacing: 0.16em; }

/* 見出しラベル（英字）：斜体をやめ、トップと同じ字間の広い英字に */
.section-label,
.wv2-section-label,
.bl-related__heading-en {
  font-family: var(--font-label-2026);
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-2026);
}
.section-label::before,
.wv2-section-label::before { background: var(--ink-2026); opacity: 1; }
.section-title em,
.wv2-section-title em { font-style: normal; color: var(--ink-2026); }

/* ボタン：墨色の四角。光が走る演出と影はなし */
.btn-primary,
.bl-cta__btn,
.btn--primary {
  color: #fff;
  background: var(--ink-2026);
  border-color: var(--ink-2026);
  box-shadow: none;
}
.btn-primary:hover,
.bl-cta__btn:hover,
.btn--primary:hover {
  color: #fff;
  background: var(--ink-hover-2026);
  border-color: var(--ink-hover-2026);
  box-shadow: none;
}
.btn-primary::after,
.bl-cta__btn::after { display: none; }
.btn-outline,
.btn--outline {
  color: var(--ink-2026);
  background: #fff;
  border: 1px solid var(--ink-2026);
}
.btn-outline:hover,
.btn--outline:hover {
  color: var(--ink-2026);
  background: #E3EBEE;
  border-color: var(--ink-2026);
  box-shadow: none;
}

/* 改行：見出し・短い説明文は単語の区切り（<wbr>や読点）で折り返し、1〜2文字だけの行を作らない。
   長い本文は text-wrap: pretty で最後の行が短くなりすぎないようにする */
.page-hero h1,
.page-hero-desc,
.section-title,
.bl-author__bio,
.profile-tagline,
.strength-item,
.intro__lead,
.intro__body {
  word-break: keep-all;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}
.episode-body p,
.episode-aside,
.profile-note { text-wrap: pretty; }

/* トップの Intro：スマホで小さすぎないように（本文 14.5px 以上） */
/* 1行目のコピーを主役に（短くしたぶん大きく） */
body.home .intro__lead {
  font-family: var(--font-ja-serif);
  font-weight: 700;
  font-size: clamp(1.3rem, 1rem + 1.4vw, 1.9rem);
  line-height: 1.7;
  letter-spacing: 0.06em;
}
body.home .intro__body { font-size: clamp(14.5px, 0.4vw + 13px, 16px); line-height: 2; }

/* About ページ：自己紹介カードのアイコン（絵文字から置き換え）の大きさ・色をそろえる */
.profile-card__icon,
.profile-card--wide .profile-card__icon {
  font-size: 13px;
  color: var(--ink-2026);
}

/* ------------------------------------------------------------
  4.5 Price（トップページ）：料金4つを2列×2段に（4つ目だけ取り残されないように）
------------------------------------------------------------ */
@media (min-width: 768px) {
  body.home .price-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ------------------------------------------------------------
  5. About（トップページ）：キャリアタイムラインを外したので1カラムに
------------------------------------------------------------ */
/* 左右の余白を広く */
body.home .about .container { padding-inline: clamp(32px, 10vw, 160px); }

/* 自己紹介の文章部分を、ほけんだよりと同じ「掲示板に貼った紙」に */
body.home .about-intro {
  position: relative;
  padding: 48px clamp(22px, 5vw, 56px) 36px;
  background-color: #FFFEFB;
  background-image: repeating-linear-gradient(to bottom, transparent 0 35px, rgba(36, 48, 58, 0.045) 35px 36px);
  box-shadow:
    0 1px 1px rgba(36, 48, 58, 0.06),
    0 2px 4px rgba(36, 48, 58, 0.05),
    -8px 9px 0 -1px #F3F0EA,
    -8px 9px 2px -1px rgba(36, 48, 58, 0.08),
    0 22px 40px -14px rgba(36, 48, 58, 0.24);
  rotate: 0.5deg;
}
/* スマホ：1段目＝左に「—— ABOUT ME」（写真の下端にそろえる）・右上に写真、2段目＝見出しを横幅いっぱいに
   （横並びのままだと見出しが細切れに改行されるため） */
@media (max-width: 599px) {
  body.home .about-intro__head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "label   photo"
      "heading heading";
    align-items: end;
    gap: 18px 16px;
  }
  body.home .about-intro__lead { display: contents; }
  body.home .about-intro__label {
    grid-area: label;
    align-self: end;
    margin: 0;
    white-space: nowrap;   /* 「ABOUT / ME」と2行に割れないように */
  }
  body.home .about-intro__photo { grid-area: photo; }
  body.home .about-intro__photo img { width: 104px; }
  body.home .about-intro__heading {
    grid-area: heading;
    font-size: 1.2rem;
    word-break: keep-all;
    overflow-wrap: anywhere;
  }
}

/* マスキングテープ（ほけんだよりと色違いのミント） */
body.home .about-intro::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: -14px;
  left: 28%;
  width: 110px;
  height: 26px;
  rotate: 4deg;
  background: rgba(127, 199, 174, 0.45);
}

body.home .about-body {
  grid-template-columns: minmax(0, 1fr);
  max-width: 760px;
}
@media (max-width: 1024px) {
  body.home .about-body { grid-template-columns: minmax(0, 1fr); }
}
