/*
Theme Name: 心の履歴書 リーディング協会
Theme URI: https://kokorono-rirekisyo.com/
Author: 心の履歴書 リーディング協会
Author URI: https://kokorono-rirekisyo.com/
Description: 心の履歴書 リーディング協会 公式オリジナルテーマ。クリーム色ベースの優しいデザインに、3つの軸（自己受容・心の履歴書・精神分析論）を表現した独自のカウンセリングサイトテーマ。
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kokorono-rirekisyo
Tags: custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ===========================================
   心の履歴書 リーディング協会 - 共通スタイル
   Brand: #664b4f / Accent: #ffb0a4 / Base: #fef9f3
   Font: Zen Kaku Gothic New + Lato
   =========================================== */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body { font-family: 'Zen Kaku Gothic New', 'Lato', -apple-system, BlinkMacSystemFont, sans-serif; color: #3a2e30; background: #fef9f3; line-height: 1.95; letter-spacing: 0.04em; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: opacity .3s ease, color .3s ease; }
a:hover { opacity: .7; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

:root {
  --brand: #664b4f;
  --brand-dark: #4a3438;
  --brand-light: #8a6e72;
  --accent: #ffb0a4;
  --accent-soft: #ffd4cc;
  --accent-deep: #e89a8e;
  --leaf: #abd98b;
  --leaf-dark: #6cc19e;
  --base: #fef9f3;
  --cream: #fef9f3;
  --cream-deep: #f8eee2;
  --bg-warm: #fdf4ec;
  --bg-soft: #f8eee2;
  --line: #ead9c8;
  --text: #3a2e30;
  --text-mute: #7a6a6c;
  --serif: 'Zen Kaku Gothic New', 'Lato', serif;
  --sans: 'Zen Kaku Gothic New', 'Lato', sans-serif;
  --ease: cubic-bezier(.25, .46, .45, .94);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ===== Container ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; position: relative; }
.container-narrow { max-width: 880px; margin: 0 auto; padding: 0 32px; position: relative; }

/* ===== Header ===== */
.header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  padding: 0 40px; height: 80px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(254, 249, 243, 0.96);
  backdrop-filter: blur(10px);
  transition: box-shadow .4s ease, height .3s ease;
}
.header.scrolled { box-shadow: 0 2px 16px rgba(102, 75, 79, 0.08); height: 70px; }
.header__logo { font-family: var(--serif); font-size: 17px; font-weight: 500; color: var(--brand); letter-spacing: 0.08em; line-height: 1.3; }
.header__logo small { display: block; font-size: 11px; color: var(--brand-light); letter-spacing: 0.15em; margin-top: 2px; }
.header__nav { display: flex; align-items: center; gap: 32px; }
.header__nav a { font-size: 13.5px; color: var(--text); letter-spacing: 0.08em; position: relative; padding: 6px 0; }
.header__nav a::after { content: ''; position: absolute; bottom: 0; left: 50%; width: 0; height: 1px; background: var(--accent-deep); transition: all .3s ease; transform: translateX(-50%); }
.header__nav a:hover { color: var(--brand); opacity: 1; }
.header__nav a:hover::after, .header__nav a.is-active::after { width: 100%; }
.header__nav a.is-active { color: var(--brand); }
.header__cta { display: inline-flex; align-items: center; gap: 8px; padding: 11px 22px; background: var(--brand); color: #fff !important; border-radius: 999px; font-size: 13px; letter-spacing: 0.1em; transition: all .3s ease; }
.header__cta:hover { background: var(--brand-dark); opacity: 1 !important; transform: translateY(-1px); box-shadow: 0 6px 14px rgba(102, 75, 79, 0.2); }

/* Hamburger */
.hamburger { display: none; width: 40px; height: 40px; position: relative; }
.hamburger span { position: absolute; left: 8px; width: 24px; height: 1.5px; background: var(--brand); transition: all .3s ease; }
.hamburger span:nth-child(1) { top: 14px; }
.hamburger span:nth-child(2) { top: 20px; }
.hamburger span:nth-child(3) { top: 26px; }
.hamburger.is-open span:nth-child(1) { transform: rotate(45deg); top: 20px; }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: rotate(-45deg); top: 20px; }

/* ===== Decorative leaf accents ===== */
.leaf-acc { position: absolute; pointer-events: none; opacity: 0.85; z-index: 0; }
.leaf-acc--tl { top: -30px; left: -20px; width: 90px; transform: rotate(-15deg); }
.leaf-acc--tr { top: -20px; right: -30px; width: 110px; transform: rotate(20deg) scaleX(-1); }
.leaf-acc--bl { bottom: -20px; left: 20px; width: 80px; transform: rotate(-25deg); }
.leaf-acc--br { bottom: 30px; right: 40px; width: 100px; transform: rotate(25deg) scaleX(-1); }

/* ===== Hero (page header for inner pages) ===== */
.page-hero {
  position: relative; padding: 180px 0 90px;
  background: var(--cream-deep);
  text-align: center;
  overflow: hidden;
  border-radius: 0 0 50% 50% / 0 0 8% 8%;
}
.page-hero::before {
  content: ''; position: absolute; top: 100px; left: 50%; transform: translateX(-50%);
  width: 60px; height: 1px; background: var(--accent-deep); z-index: 1;
}
.page-hero .en { font-family: var(--serif); font-size: 12px; letter-spacing: 0.4em; color: var(--accent-deep); text-transform: uppercase; display: block; margin-bottom: 14px; position: relative; z-index: 1; }
.page-hero h1 { font-family: var(--serif); font-size: 34px; font-weight: 500; color: var(--brand); letter-spacing: 0.12em; line-height: 1.5; position: relative; z-index: 1; }
.page-hero p { font-size: 14px; color: var(--text-mute); margin-top: 16px; letter-spacing: 0.08em; position: relative; z-index: 1; }
.page-hero .leaf-acc--tl { top: 110px; left: 4%; width: 100px; opacity: 0.7; }
.page-hero .leaf-acc--tr { top: 130px; right: 4%; width: 110px; opacity: 0.7; }

/* Breadcrumb */
.breadcrumb { padding: 14px 0; font-size: 12px; color: var(--text-mute); background: var(--cream); border-bottom: 1px solid var(--line); }
.breadcrumb a { color: var(--brand-light); }
.breadcrumb .sep { margin: 0 10px; opacity: 0.5; }

/* ===== Section heading ===== */
.sect { padding: 110px 0; position: relative; }
.sect-warm { background: var(--cream-deep); }
.sect-soft { background: var(--bg-soft); }
.sect-cream { background: var(--cream); }
.sect-head { text-align: center; margin-bottom: 60px; position: relative; }
.sect-head .en { font-family: var(--serif); font-size: 11px; letter-spacing: 0.4em; color: var(--accent-deep); text-transform: uppercase; display: block; margin-bottom: 12px; }
.sect-head .deco { width: 50px; height: 1px; background: var(--accent-deep); margin: 0 auto 18px; }
.sect-head h2 { font-family: var(--serif); font-size: 30px; font-weight: 500; color: var(--brand); letter-spacing: 0.12em; line-height: 1.6; }
.sect-head p { font-size: 14px; color: var(--text-mute); margin-top: 16px; letter-spacing: 0.06em; }
.sect-head .leaf-deco { position: absolute; top: -40px; left: 50%; transform: translateX(-50%); width: 36px; opacity: 0.8; }

/* ===== Buttons ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 36px; border-radius: 999px; font-size: 14px; letter-spacing: 0.1em; font-weight: 500; transition: all .3s ease; cursor: pointer; }
.btn--primary { background: var(--brand); color: #fff !important; }
.btn--primary:hover { background: var(--brand-dark); opacity: 1 !important; transform: translateY(-2px); box-shadow: 0 8px 22px rgba(102, 75, 79, 0.25); }
.btn--accent { background: var(--accent); color: var(--brand) !important; }
.btn--accent:hover { background: var(--accent-deep); color: #fff !important; opacity: 1 !important; transform: translateY(-2px); }
.btn--line { background: #06c755; color: #fff !important; }
.btn--line:hover { background: #04a847; opacity: 1 !important; transform: translateY(-2px); box-shadow: 0 8px 22px rgba(6, 199, 85, 0.3); }
.btn--ghost { background: transparent; color: var(--brand) !important; border: 1px solid var(--brand); }
.btn--ghost:hover { background: var(--brand); color: #fff !important; opacity: 1 !important; }
.btn--lg { padding: 20px 48px; font-size: 15px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; align-items: center; margin-top: 36px; }

/* ===== Cards / Feature ===== */
.feature-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 50px; position: relative; z-index: 1; }
.feature-card { background: #fff; border-radius: 16px; padding: 48px 32px; text-align: center; box-shadow: 0 4px 30px rgba(102, 75, 79, 0.06); border: 1px solid var(--line); transition: transform .3s ease, box-shadow .3s ease; position: relative; overflow: hidden; }
.feature-card:hover { transform: translateY(-6px); box-shadow: 0 14px 40px rgba(102, 75, 79, 0.12); }
.feature-card__num { font-family: 'Lato', serif; font-size: 11px; letter-spacing: 0.3em; color: var(--accent-deep); margin-bottom: 16px; }
.feature-card__icon { width: 110px; height: 110px; margin: 0 auto 22px; display: flex; align-items: center; justify-content: center; }
.feature-card__icon img { width: 100%; height: 100%; object-fit: contain; }
.feature-card h3 { font-family: var(--serif); font-size: 19px; font-weight: 500; color: var(--brand); letter-spacing: 0.08em; margin-bottom: 14px; line-height: 1.6; }
.feature-card p { font-size: 14px; color: var(--text-mute); line-height: 1.95; letter-spacing: 0.03em; }

/* ===== Plan / Price ===== */
.plan-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.plan-card { background: #fff; border-radius: 12px; padding: 40px 36px; border: 1px solid var(--line); display: flex; flex-direction: column; transition: all .3s ease; position: relative; overflow: hidden; }
.plan-card::before { content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: var(--accent); transition: width .3s ease; }
.plan-card:hover { box-shadow: 0 14px 40px rgba(102, 75, 79, 0.1); transform: translateY(-4px); }
.plan-card:hover::before { width: 8px; }
.plan-card__cat { font-family: 'Lato', serif; font-size: 10px; letter-spacing: 0.3em; color: var(--accent-deep); text-transform: uppercase; margin-bottom: 10px; }
.plan-card h3 { font-family: var(--serif); font-size: 21px; font-weight: 500; color: var(--brand); letter-spacing: 0.06em; margin-bottom: 16px; line-height: 1.5; }
.plan-card__price { font-family: 'Lato', serif; font-size: 28px; color: var(--brand-dark); font-weight: 600; letter-spacing: 0.04em; margin-bottom: 6px; }
.plan-card__price small { font-size: 13px; color: var(--text-mute); font-weight: 400; margin-left: 8px; letter-spacing: 0.05em; }
.plan-card__duration { font-size: 12px; color: var(--text-mute); margin-bottom: 22px; padding-bottom: 22px; border-bottom: 1px dashed var(--line); }
.plan-card p { font-size: 14px; color: var(--text-mute); line-height: 1.95; flex: 1; }

/* ===== Step / Flow ===== */
.flow-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 50px; position: relative; }
.flow-list::before { content: ''; position: absolute; top: 50px; left: 10%; right: 10%; height: 1px; background: var(--line); z-index: 0; }
.flow-item { text-align: center; position: relative; z-index: 1; }
.flow-item__icon { width: 100px; height: 100px; margin: 0 auto 14px; background: var(--cream); border: 1px solid var(--line); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: all .3s ease; }
.flow-item__icon img { width: 50%; height: 50%; object-fit: contain; }
.flow-item:hover .flow-item__icon { background: #fff; transform: translateY(-4px); box-shadow: 0 8px 20px rgba(102, 75, 79, 0.1); border-color: var(--accent-deep); }
.flow-item__num { font-family: 'Lato', serif; font-size: 10px; letter-spacing: 0.3em; color: var(--accent-deep); margin-bottom: 8px; }
.flow-item h4 { font-family: var(--serif); font-size: 14px; font-weight: 500; color: var(--brand); margin-bottom: 8px; letter-spacing: 0.06em; }
.flow-item p { font-size: 12px; color: var(--text-mute); line-height: 1.8; }

/* ===== FAQ ===== */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { display: flex; align-items: flex-start; gap: 18px; padding: 24px 0; cursor: pointer; transition: color .3s ease; }
.faq-q:hover { color: var(--brand); }
.faq-q__mark { font-family: 'Lato', serif; font-size: 18px; color: var(--accent-deep); font-weight: 600; flex-shrink: 0; line-height: 1.5; }
.faq-q__text { flex: 1; font-size: 15px; font-weight: 500; color: var(--brand); letter-spacing: 0.05em; line-height: 1.6; padding-top: 2px; }
.faq-q__icon { width: 20px; height: 20px; flex-shrink: 0; position: relative; margin-top: 6px; transition: transform .3s ease; }
.faq-q__icon::before, .faq-q__icon::after { content: ''; position: absolute; background: var(--brand); }
.faq-q__icon::before { top: 50%; left: 0; right: 0; height: 1px; transform: translateY(-50%); }
.faq-q__icon::after { left: 50%; top: 0; bottom: 0; width: 1px; transform: translateX(-50%); transition: transform .3s ease; }
.faq-item.is-open .faq-q__icon::after { transform: translateX(-50%) scaleY(0); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s ease; }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a__inner { overflow: hidden; }
.faq-a__body { padding: 0 0 24px 36px; font-size: 14px; color: var(--text-mute); line-height: 1.95; }
.faq-a__mark { font-family: 'Lato', serif; font-size: 18px; color: var(--brand); font-weight: 600; margin-right: 10px; }

/* ===== Profile ===== */
.profile { display: grid; grid-template-columns: 380px 1fr; gap: 60px; align-items: flex-start; max-width: 1000px; margin: 0 auto; position: relative; }
.profile__photo { aspect-ratio: 3 / 4; border-radius: 50% 50% 6px 6px / 18% 18% 4% 4%; overflow: hidden; position: relative; box-shadow: 0 14px 40px rgba(102, 75, 79, 0.12); }
.profile__photo img { width: 100%; height: 100%; object-fit: cover; }
.profile__photo::after { content: ''; position: absolute; bottom: -30px; right: -30px; width: 140px; height: 140px; background: var(--accent-soft); border-radius: 50%; z-index: -1; opacity: 0.5; }
.profile__body { padding-top: 20px; }
.profile__body .en { font-family: var(--serif); font-size: 11px; letter-spacing: 0.4em; color: var(--accent-deep); text-transform: uppercase; display: block; margin-bottom: 12px; }
.profile__body h2 { font-family: var(--serif); font-size: 26px; font-weight: 500; color: var(--brand); letter-spacing: 0.1em; line-height: 1.7; margin-bottom: 24px; }
.profile__body p { font-size: 14px; color: var(--text-mute); line-height: 2.05; margin-bottom: 18px; }
.profile__name { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); font-family: var(--serif); font-size: 18px; color: var(--brand); letter-spacing: 0.08em; }
.profile__name small { display: block; font-size: 11px; color: var(--text-mute); letter-spacing: 0.15em; margin-top: 4px; font-weight: 400; }
.profile__creds { margin-top: 18px; font-size: 13px; color: var(--text-mute); line-height: 2; }

/* ===== Format ===== */
.format-list { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 40px; }
.format-card { background: #fff; padding: 0 0 40px; border-radius: 12px; border: 1px solid var(--line); text-align: center; transition: all .3s ease; overflow: hidden; }
.format-card:hover { box-shadow: 0 14px 40px rgba(102, 75, 79, 0.1); transform: translateY(-4px); }
.format-card__img { aspect-ratio: 4 / 3; overflow: hidden; margin-bottom: 30px; }
.format-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.format-card:hover .format-card__img img { transform: scale(1.05); }
.format-card h3 { font-family: var(--serif); font-size: 22px; font-weight: 500; color: var(--brand); margin-bottom: 16px; letter-spacing: 0.08em; padding: 0 30px; }
.format-card p { font-size: 14px; color: var(--text-mute); line-height: 1.95; text-align: left; padding: 0 36px; }

/* ===== Table ===== */
.info-table { width: 100%; border-collapse: collapse; max-width: 720px; margin: 0 auto; background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 20px rgba(102, 75, 79, 0.06); }
.info-table th, .info-table td { padding: 22px 24px; text-align: left; border-bottom: 1px solid var(--line); font-size: 14px; vertical-align: top; }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: none; }
.info-table th { width: 32%; color: var(--brand); font-weight: 500; letter-spacing: 0.08em; background: var(--cream); }
.info-table td { color: var(--text); line-height: 1.95; }

/* ===== Form ===== */
.form-grp { margin-bottom: 26px; }
.form-grp label { display: block; font-size: 13px; color: var(--brand); margin-bottom: 8px; letter-spacing: 0.08em; font-weight: 500; }
.form-grp label .req { color: var(--accent-deep); margin-left: 6px; font-size: 11px; }
.form-grp input, .form-grp textarea, .form-grp select,
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 textarea {
  width: 100%; padding: 14px 18px; border: 1px solid var(--line); border-radius: 6px; font-size: 15px; font-family: inherit; background: #fff; color: var(--text); transition: border-color .3s ease, box-shadow .3s ease;
}
.form-grp input:focus, .form-grp textarea:focus,
.wpcf7 input:focus, .wpcf7 textarea:focus { outline: none; border-color: var(--accent-deep); box-shadow: 0 0 0 3px rgba(232, 154, 142, 0.15); }
.form-grp textarea, .wpcf7 textarea { min-height: 160px; resize: vertical; }
.form-check { display: flex; align-items: center; gap: 10px; justify-content: center; margin: 30px 0; font-size: 13px; color: var(--text-mute); }
.form-check input { width: 16px; height: 16px; accent-color: var(--brand); }
.form-submit { text-align: center; }
.wpcf7-submit { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 20px 48px; border-radius: 999px; font-size: 15px; letter-spacing: 0.1em; font-weight: 500; transition: all .3s ease; cursor: pointer; background: var(--brand); color: #fff; border: none; }
.wpcf7-submit:hover { background: var(--brand-dark); transform: translateY(-2px); box-shadow: 0 8px 22px rgba(102, 75, 79, 0.25); }

/* ===== CTA section ===== */
.cta-block { background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%); color: #fff; padding: 100px 0; text-align: center; position: relative; overflow: hidden; }
.cta-block::before { content: ''; position: absolute; top: -50%; right: -10%; width: 500px; height: 500px; background: var(--accent); opacity: 0.12; border-radius: 50%; }
.cta-block::after { content: ''; position: absolute; bottom: -30%; left: -5%; width: 350px; height: 350px; background: var(--accent-soft); opacity: 0.08; border-radius: 50%; }
.cta-block .en { font-family: var(--serif); font-size: 11px; letter-spacing: 0.4em; color: var(--accent); text-transform: uppercase; display: block; margin-bottom: 14px; position: relative; }
.cta-block h2 { font-family: var(--serif); font-size: 28px; font-weight: 500; letter-spacing: 0.1em; line-height: 1.7; margin-bottom: 20px; position: relative; }
.cta-block p { font-size: 14px; color: rgba(255, 255, 255, 0.85); line-height: 1.95; max-width: 620px; margin: 0 auto; position: relative; letter-spacing: 0.05em; }
.cta-block .btn-row { position: relative; }
.cta-block .btn--primary { background: var(--accent); color: var(--brand) !important; }
.cta-block .btn--primary:hover { background: var(--accent-soft); }
.cta-block .btn--ghost { color: #fff !important; border-color: rgba(255, 255, 255, 0.5); }
.cta-block .btn--ghost:hover { background: rgba(255, 255, 255, 0.1); color: #fff !important; border-color: #fff; }

/* ===== Footer ===== */
.footer { background: #2d2225; color: rgba(255, 255, 255, 0.7); padding: 80px 0 30px; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 50px; margin-bottom: 60px; }
.footer__brand { font-family: var(--serif); font-size: 16px; color: #fff; letter-spacing: 0.1em; margin-bottom: 18px; line-height: 1.5; }
.footer__brand small { display: block; font-size: 10px; color: rgba(255, 255, 255, 0.5); letter-spacing: 0.15em; margin-top: 4px; }
.footer__addr { font-size: 12px; line-height: 2; color: rgba(255, 255, 255, 0.6); }
.footer__title { font-family: var(--serif); font-size: 13px; color: #fff; letter-spacing: 0.1em; margin-bottom: 18px; font-weight: 500; }
.footer__list a { display: block; font-size: 12px; color: rgba(255, 255, 255, 0.6); padding: 6px 0; letter-spacing: 0.04em; }
.footer__list a:hover { color: var(--accent); opacity: 1; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 30px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 11px; color: rgba(255, 255, 255, 0.4); }
.footer__bottom a { color: rgba(255, 255, 255, 0.6); }

/* ===== Animation ===== */
.fade-up { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.fade-up.is-visible { opacity: 1; transform: translateY(0); }
.fade-up.d1 { transition-delay: .1s; }
.fade-up.d2 { transition-delay: .2s; }
.fade-up.d3 { transition-delay: .3s; }
.fade-up.d4 { transition-delay: .4s; }

/* ===== Otameshi Banner (price page) ===== */
.otameshi-banner { position: relative; background: #fff; border: 3px solid #ff8c5e; border-radius: 16px; padding: 48px 56px; box-shadow: 0 14px 40px rgba(255,140,94,0.15); }
.otameshi-banner__content { text-align: center; }
.otameshi-banner__limit { display: inline-block; padding: 7px 28px; background: #fff; border: 1.5px solid #664b4f; border-radius: 999px; font-size: 13px; color: #664b4f; letter-spacing: 0.08em; font-weight: 500; margin-bottom: 18px; }
.otameshi-banner__title { font-family: 'Zen Kaku Gothic New', serif; font-size: 40px; font-weight: 600; color: #664b4f; letter-spacing: 0.08em; margin-bottom: 8px; position: relative; display: inline-block; }
.otameshi-banner__title::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 8px; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 8'><path d='M0 4 Q 12.5 0 25 4 T 50 4 T 75 4 T 100 4' stroke='%23ff8c5e' stroke-width='1.5' fill='none'/></svg>") repeat-x; background-size: 50px 8px; }
.otameshi-banner__price { display: flex; align-items: baseline; gap: 16px; margin: 26px 0 20px; flex-wrap: wrap; justify-content: center; }
.otameshi-banner__price-old { font-size: 17px; color: #7a6a6c; }
.otameshi-banner__price-old s { color: #7a6a6c; }
.otameshi-banner__arrow { color: #ff8c5e; font-size: 20px; }
.otameshi-banner__price-new { font-family: 'Zen Kaku Gothic New', serif; font-size: 38px; font-weight: 700; color: #ff8c5e; letter-spacing: 0.06em; }
.otameshi-banner__perk { display: inline-flex; align-items: center; padding: 9px 20px; border: 1.5px solid #4aa3d6; border-radius: 999px; margin-bottom: 28px; flex-wrap: wrap; gap: 10px; }
.otameshi-banner__perk-label { font-size: 12px; color: #4aa3d6; font-weight: 600; padding-right: 10px; border-right: 1px solid #4aa3d6; }
.otameshi-banner__perk-text { font-size: 14px; color: #664b4f; }
.otameshi-banner__btn { display: block; max-width: 540px; margin: 0 auto; padding: 20px 32px; background: #ff8c5e; color: #fff !important; font-family: 'Zen Kaku Gothic New', serif; font-size: 17px; font-weight: 600; letter-spacing: 0.08em; text-align: center; border-radius: 10px; transition: all .3s ease; box-shadow: 0 6px 16px rgba(255,140,94,0.3); }
.otameshi-banner__btn:hover { background: #f07a4a; opacity: 1 !important; transform: translateY(-2px); box-shadow: 0 10px 22px rgba(255,140,94,0.4); }
.otameshi-banner__zoom-badge { position: absolute; top: 16px; right: 18px; background: #fff; border: 1px solid #d8e8f5; border-radius: 999px; padding: 6px 14px 6px 10px; display: inline-flex; align-items: center; gap: 6px; box-shadow: 0 2px 8px rgba(45,140,255,0.12); }
.otameshi-banner__zoom-badge span { font-size: 11px; color: #2D8CFF; font-weight: 600; letter-spacing: 0.05em; }

/* ===== Voice Slider (price page) ===== */
.voice-slider { position: relative; max-width: 980px; margin: 0 auto; padding: 0 60px; }
.voice-slider__viewport { overflow: hidden; }
.voice-slider__track { display: flex; transition: transform .5s cubic-bezier(.25,.46,.45,.94); }
.voice-slide { flex: 0 0 100%; display: grid; grid-template-columns: 280px 1fr; gap: 0; align-items: stretch; }
.voice-slide__photo { aspect-ratio: 4/5; overflow: hidden; border-radius: 8px; }
.voice-slide__photo img { width: 100%; height: 100%; object-fit: cover; }
.voice-slide__body { background: #4ba39d; padding: 36px 36px 36px 40px; margin-left: -30px; border-radius: 8px; align-self: center; color: #fff; box-shadow: 0 10px 30px rgba(75,163,157,0.25); }
.voice-slide__demo { font-size: 14px; color: #fff; opacity: 0.9; letter-spacing: 0.06em; margin-bottom: 14px; font-weight: 500; }
.voice-slide__title { background: rgba(255,255,255,0.95); color: #2d6b66; font-family: 'Zen Kaku Gothic New', serif; font-size: 16px; font-weight: 700; padding: 12px 16px; border-radius: 4px; letter-spacing: 0.04em; line-height: 1.5; margin-bottom: 16px; }
.voice-slide__body p { font-size: 14px; line-height: 1.95; color: rgba(255,255,255,0.95); letter-spacing: 0.04em; }
.voice-slider__btn { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 1px solid #ead9c8; font-size: 24px; color: #664b4f; cursor: pointer; transition: all .3s ease; box-shadow: 0 4px 12px rgba(102,75,79,0.1); z-index: 2; display: flex; align-items: center; justify-content: center; line-height: 1; }
.voice-slider__btn:hover { background: #664b4f; color: #fff; }
.voice-slider__btn--prev { left: 0; }
.voice-slider__btn--next { right: 0; }
.voice-slider__dots { display: flex; justify-content: center; gap: 10px; margin-top: 30px; }
.voice-slider__dot { width: 10px; height: 10px; border-radius: 50%; background: #d8c8be; cursor: pointer; padding: 0; transition: all .3s ease; }
.voice-slider__dot.is-active { background: #4ba39d; transform: scale(1.3); }
.voice-slider__dot:hover { background: #8a6e72; }

/* ===== Policy (privacy page) ===== */
.policy h3 { font-family: 'Zen Kaku Gothic New', serif; font-size: 17px; color: #664b4f; margin: 36px 0 12px; font-weight: 500; letter-spacing: 0.06em; padding-bottom: 8px; border-bottom: 1px solid #e8dcd9; }
.policy p { font-size: 14px; line-height: 2; color: #5a4a4c; margin-bottom: 14px; }
.policy ul { margin: 10px 0 14px 22px; }
.policy ul li { font-size: 14px; line-height: 1.9; color: #5a4a4c; padding-left: 12px; position: relative; }
.policy ul li::before { content: '・'; position: absolute; left: 0; color: #ffb0a4; }
.policy a { color: #664b4f; text-decoration: underline; }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .header { padding: 0 20px; height: 70px; }
  .header__logo { font-size: 14px; }
  .header__logo small { font-size: 10px; }
  .header__nav { position: fixed; top: 70px; left: 0; width: 100%; height: calc(100vh - 70px); background: var(--cream); flex-direction: column; gap: 0; padding: 30px 0; transform: translateX(100%); transition: transform .4s ease; overflow-y: auto; }
  .header__nav.is-open { transform: translateX(0); }
  .header__nav a { display: block; width: 100%; padding: 18px 30px; font-size: 15px; border-bottom: 1px solid var(--line); text-align: center; }
  .header__nav a::after { display: none; }
  .header__cta { margin: 20px 30px; justify-content: center; }
  .hamburger { display: block; }

  .container, .container-narrow { padding: 0 20px; }
  .page-hero { padding: 130px 0 60px; border-radius: 0 0 24% 24% / 0 0 5% 5%; }
  .page-hero h1 { font-size: 24px; letter-spacing: 0.08em; }
  .sect { padding: 70px 0; }
  .sect-head h2 { font-size: 22px; letter-spacing: 0.08em; }

  .feature-3 { grid-template-columns: 1fr; gap: 20px; }
  .plan-list { grid-template-columns: 1fr; gap: 20px; }
  .format-list { grid-template-columns: 1fr; gap: 20px; }
  .flow-list { grid-template-columns: repeat(2, 1fr); gap: 30px 16px; }
  .flow-list::before { display: none; }

  .profile { grid-template-columns: 1fr; gap: 30px; }
  .profile__photo { max-width: 280px; margin: 0 auto; }
  .profile__body { text-align: left; padding-top: 0; }
  .profile__body h2 { font-size: 22px; }

  .info-table th { width: 36%; padding: 16px 14px; font-size: 13px; }
  .info-table td { padding: 16px 14px; font-size: 13px; }

  .cta-block { padding: 70px 0; }
  .cta-block h2 { font-size: 22px; }
  .btn { padding: 14px 28px; font-size: 13px; }
  .btn--lg { padding: 16px 32px; font-size: 14px; }
  .btn-row { flex-direction: column; align-items: stretch; gap: 12px; }
  .btn-row .btn { width: 100%; }

  .leaf-acc { width: 60px !important; opacity: 0.5; }
  .leaf-acc--tr, .leaf-acc--br { display: none; }

  .footer__top { grid-template-columns: 1fr; gap: 30px; margin-bottom: 40px; }
  .footer__bottom { flex-direction: column; gap: 12px; text-align: center; }

  .otameshi-banner { padding: 36px 24px 32px; }
  .otameshi-banner__title { font-size: 28px; letter-spacing: 0.06em; }
  .otameshi-banner__price-new { font-size: 30px; }
  .otameshi-banner__price-old { font-size: 14px; }
  .otameshi-banner__btn { font-size: 15px; padding: 16px 24px; }
  .otameshi-banner__zoom-badge { top: 10px; right: 10px; padding: 4px 10px 4px 8px; }
  .otameshi-banner__zoom-badge span { font-size: 10px; }

  .voice-slider { padding: 0 12px; }
  .voice-slide { grid-template-columns: 1fr; gap: 0; }
  .voice-slide__photo { aspect-ratio: 4/3; max-width: 260px; margin: 0 auto -16px; position: relative; z-index: 2; }
  .voice-slide__body { margin-left: 0; padding: 32px 24px; }
  .voice-slide__title { font-size: 15px; }
  .voice-slider__btn { width: 36px; height: 36px; font-size: 20px; }
}

/* Hide WP admin bar margin if logged in */
html { margin-top: 0 !important; }
* html body { margin-top: 0 !important; }
