/* ===== 色・文字（ここを変えると全体の雰囲気が変わる） ===== */
:root {
  --bg: #faf6f3;          /* 背景（ほんのり桜色がかったアイボリー） */
  --paper: #fffdfb;
  --tint: #f4ebe7;        /* 交互のセクション背景（ブラッシュ） */
  --blush: #ecd9d2;
  --ink: #2f2a33;         /* 文字 */
  --ink-soft: #6b6370;
  --night: #33293a;       /* 深いプラム（お問い合わせ・フッター） */
  --night-2: #43364a;
  --gold: #b48a78;        /* ローズゴールド */
  --gold-light: #d8b6a6;
  --main: #5a4560;        /* 本文中の強調色（プラム） */
  --main-soft: #e8dcd8;
  --line: #ebdfd9;
  --line-strong: #d9c6bd;
  --font: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif;
  --font-head: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --font-en: "Cormorant Garamond", "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15.5px;
  line-height: 2.05;
  letter-spacing: .06em;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--main); }
h1, h2, h3 { font-family: var(--font-head); font-weight: 500; line-height: 1.6; margin: 0; }
p { margin: 0 0 1.1em; }

/* ===== 仮の内容（確認用の黄色）。本番前に <mark class="kari"> を外す ===== */
mark.kari {
  background: linear-gradient(transparent 15%, #fff2a8 15%);
  color: var(--ink);
  padding: 0 .1em;
}

.proto-bar {
  background: #000;
  color: #ddd;
  font-size: 12px;
  text-align: center;
  padding: 6px 16px;
  letter-spacing: .04em;
}

/* ===== ヘッダー ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 14px clamp(16px, 4vw, 48px);
  background: rgba(250, 246, 243, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(180, 138, 120, .35);
}
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.logo-mark { width: 38px; height: 38px; }
.logo-text { font-family: var(--font-head); font-weight: 500; font-size: 18px; line-height: 1.3; display: flex; flex-direction: column; letter-spacing: .12em; }
.logo-text small { font-family: var(--font); font-size: 10.5px; color: var(--gold); letter-spacing: .3em; }

.nav { display: flex; align-items: center; gap: 26px; }
.nav a { white-space: nowrap; color: var(--ink); text-decoration: none; font-size: 13.5px; letter-spacing: .12em; transition: color .2s; }
.nav a:hover { color: var(--gold); }
.nav .nav-cta {
  background: var(--main); color: #fff !important; padding: 8px 22px; border-radius: 999px;
}
.nav .nav-cta:hover { background: var(--gold); }
.menu-btn { display: none; }

/* ===== ボタン ===== */
.btn {
  display: inline-flex; align-items: center; gap: 14px; text-decoration: none;
  padding: 15px 34px; letter-spacing: .18em; font-size: 14px; transition: .3s; border-radius: 999px;
}
.btn::after { content: ""; width: 22px; height: 1px; background: currentColor; transition: width .3s; }
.btn:hover::after { width: 34px; }
.btn-main { background: var(--main); color: #fff; box-shadow: 0 10px 24px rgba(90,69,96,.18); }
.btn-main:hover { background: var(--gold); }
.btn-sub { color: var(--main); border: 1px solid var(--line-strong); background: rgba(255,255,255,.5); }
.btn-sub:hover { border-color: var(--gold); color: var(--gold); }

/* ===== ファーストビュー ===== */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse at 85% 15%, rgba(236,217,210,.9), transparent 55%),
    radial-gradient(ellipse at 10% 95%, rgba(232,220,216,.8), transparent 50%),
    var(--bg);
  color: var(--ink);
  display: grid; grid-template-columns: 1.4fr 1fr; align-items: center; gap: 32px;
  min-height: min(88vh, 760px);
  padding: clamp(72px, 10vw, 128px) clamp(24px, 7vw, 112px);
}
.hero-frame {
  position: absolute; inset: clamp(14px, 2.4vw, 28px);
  border: 1px solid rgba(180, 138, 120, .4); pointer-events: none;
}
.hero-inner { position: relative; }
.hero-eyebrow {
  display: flex; align-items: center; gap: 16px; font-size: 13px; letter-spacing: .3em;
  color: var(--gold); margin-bottom: 30px;
}
.hero-eyebrow span {
  font-family: var(--font-en); font-style: italic; font-size: 18px; letter-spacing: .08em;
  padding-right: 16px; border-right: 1px solid rgba(180,138,120,.5);
}
.hero-title { color: var(--main); font-size: clamp(28px, 4.4vw, 50px); letter-spacing: .14em; line-height: 1.75; margin-bottom: 28px; }
.nb { display: inline-block; }
.hero-lead { color: var(--ink-soft); font-size: 15px; margin-bottom: 40px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero-points { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 28px; }
.hero-points li { font-size: 13px; color: var(--ink-soft); letter-spacing: .14em; display: flex; align-items: center; gap: 10px; }
.hero-points li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

.hero-art { position: relative; justify-self: center; }
.hero-emblem {
  display: flex; flex-direction: column; align-items: center; gap: 22px;
  position: relative;
  padding: 120px 52px 56px; border: 1px solid rgba(180,138,120,.6);
  border-radius: 999px 999px 0 0; background: rgba(255,255,255,.55);
  outline: 1px solid rgba(180,138,120,.25); outline-offset: 10px;
}
.emblem-leaf { width: 70px; position: absolute; top: 40px; left: 50%; transform: translateX(-50%); }
.emblem-line { width: 1px; height: 60px; background: linear-gradient(transparent, var(--gold)); }
.emblem-line:last-child { background: linear-gradient(var(--gold), transparent); }
.emblem-text {
  writing-mode: vertical-rl; font-family: var(--font-head); font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: .5em; color: var(--main); display: flex; align-items: center;
}
.emblem-text i { display: block; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); margin: 18px 0; }

.hero-scroll {
  position: absolute; right: clamp(34px, 4.6vw, 56px); bottom: clamp(30px, 4vw, 44px);
  writing-mode: vertical-rl;
  font-family: var(--font-en); font-style: italic; font-size: 14px; letter-spacing: .2em;
  color: var(--gold); text-decoration: none; padding-bottom: 52px; font-size: 13px;
}
.hero-scroll::after {
  content: ""; position: absolute; left: 50%; bottom: 0; width: 1px; height: 42px; background: var(--gold);
  animation: scrollLine 2.2s ease-in-out infinite; transform-origin: top;
}
@keyframes scrollLine { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ===== セクション共通 ===== */
.section { padding: clamp(80px, 11vw, 140px) clamp(20px, 5vw, 48px); }
.section-tint { background: var(--tint); }
.wrap { max-width: 1080px; margin: 0 auto; }
.wrap.narrow { max-width: 780px; }
.section-head { text-align: center; margin-bottom: clamp(48px, 6vw, 72px); }
.section-head.left { text-align: left; margin-bottom: 28px; }
.section-head .en {
  font-family: var(--font-en); font-style: italic; font-size: 20px; letter-spacing: .12em;
  color: var(--gold); margin-bottom: 6px;
}
.section-head h2 { font-size: clamp(23px, 3vw, 30px); letter-spacing: .16em; }
.section-head h2::after {
  content: ""; display: block; width: 40px; height: 1px; background: var(--gold); margin: 22px auto 0;
}
.section-head.left h2::after { margin-left: 0; }
.section-lead { color: var(--ink-soft); margin: 24px 0 0; }
.note { font-size: 12.5px; color: var(--ink-soft); margin-top: 20px; }
.note.center { text-align: center; margin-top: 32px; }

/* ===== お悩み ===== */
.worry-list {
  list-style: none; margin: 0 auto; padding: 0; max-width: 880px;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px;
  border-top: 1px solid var(--line);
}
.worry-list li {
  padding: 22px 8px 22px 34px; position: relative; border-bottom: 1px solid var(--line);
  font-family: var(--font-head); font-size: 16px;
}
.worry-list li::before {
  content: ""; position: absolute; left: 8px; top: 50%; width: 9px; height: 9px; margin-top: -5px;
  background: var(--gold-light); border-radius: 0 60%;
}
.worries-answer {
  text-align: center; margin-top: 56px; font-family: var(--font-head);
  font-size: clamp(17px, 2vw, 20px); letter-spacing: .14em; line-height: 2.1; color: var(--main);
}

/* ===== 業務内容 ===== */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--paper); padding: 44px 36px 40px; border-radius: 20px;
  border: 1px solid var(--line); position: relative; overflow: hidden;
  transition: box-shadow .4s, transform .4s;
}
.card::before {
  content: ""; position: absolute; left: 36px; right: 36px; top: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
  opacity: 0; transition: opacity .4s;
}
.card:hover { box-shadow: 0 18px 40px rgba(90,69,96,.08); transform: translateY(-3px); }
.card:hover::before { opacity: 1; }
.card-num {
  display: block; font-family: var(--font-en); font-style: italic; font-size: 34px; line-height: 1;
  color: var(--gold); margin-bottom: 22px;
}
.card h3 { font-size: 19px; letter-spacing: .12em; margin-bottom: 14px; }
.card p { font-size: 14px; color: var(--ink-soft); margin: 0; line-height: 2; }

/* ===== 料金 ===== */
.price-table-wrap { max-width: 780px; margin: 0 auto; overflow-x: auto; }
.price-table { width: 100%; border-collapse: collapse; }
.price-table th, .price-table td { padding: 22px 12px; border-bottom: 1px solid var(--line-strong); text-align: left; }
.price-table thead th {
  font-family: var(--font-en); font-style: italic; font-weight: 400; font-size: 16px; color: var(--gold);
  border-bottom: 1px solid var(--gold); letter-spacing: .1em; padding-top: 0;
}
.price-table thead th:last-child { text-align: right; }
.price-table tbody th { font-weight: 400; }
.price-table td { text-align: right; font-family: var(--font-head); font-size: 17px; color: var(--main); white-space: nowrap; }
#price .note { max-width: 780px; margin-left: auto; margin-right: auto; }

/* ===== ごあいさつ ===== */
.about { display: grid; grid-template-columns: 340px 1fr; gap: clamp(36px, 7vw, 96px); align-items: start; }
.about-photo { position: relative; }
.about-photo::before {
  content: ""; position: absolute; inset: 16px -16px -16px 16px; border: 1px solid var(--gold);
  border-radius: 999px 999px 0 0; z-index: 0;
}
.about-photo svg { position: relative; z-index: 1; border-radius: 999px 999px 0 0; overflow: hidden; }
.about-photo svg rect { fill: var(--blush); rx: 0; }
.about-photo span {
  position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); z-index: 2;
  font-size: 12px; color: var(--ink-soft); background: rgba(255,255,255,.85); padding: 2px 12px; border-radius: 99px;
}
.about-catch {
  font-family: var(--font-head); font-size: clamp(20px, 2.4vw, 25px);
  line-height: 1.9; letter-spacing: .12em; color: var(--main); margin-bottom: 28px;
}
.about-sign { text-align: right; font-family: var(--font-head); font-size: 19px; letter-spacing: .2em; margin-top: 28px; }
.profile {
  display: grid; grid-template-columns: 6em 1fr; gap: 10px 20px; margin: 32px 0 0;
  padding-top: 26px; border-top: 1px solid var(--line-strong); font-size: 13.5px;
}
.profile dt { color: var(--gold); letter-spacing: .14em; }
.profile dd { margin: 0; }

/* ===== ご相談の流れ ===== */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.flow li { padding: 8px 28px 8px; position: relative; text-align: center; border-left: 1px solid var(--line-strong); }
.flow li:last-child { border-right: 1px solid var(--line-strong); }
.flow-num {
  display: block; font-family: var(--font-en); font-style: italic; font-size: 15px; letter-spacing: .14em;
  color: var(--gold); margin-bottom: 10px;
}
.flow-num::before { content: "Step "; }
.flow h3 { font-size: 18px; letter-spacing: .12em; margin-bottom: 14px; }
.flow p { font-size: 13.5px; color: var(--ink-soft); margin: 0; text-align: left; line-height: 1.95; }

/* ===== よくある質問 ===== */
.faq { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary {
  cursor: pointer; list-style: none; padding: 26px 52px 26px 52px; position: relative;
  font-family: var(--font-head); font-size: 16px; letter-spacing: .08em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: "Q."; position: absolute; left: 8px; top: 21px; font-family: var(--font-en); font-style: italic;
  color: var(--gold); font-size: 24px;
}
/* 右端の ＋／− */
.faq summary::after {
  content: ""; position: absolute; right: 12px; top: 50%; width: 14px; height: 1px; background: var(--ink-soft);
}
.faq details:not([open]) summary {
  background: linear-gradient(var(--ink-soft), var(--ink-soft)) no-repeat calc(100% - 18.5px) 50% / 1px 14px;
}
.faq details p { padding: 0 20px 28px 52px; margin: 0; color: var(--ink-soft); font-size: 14.5px; }

/* ===== 事務所案内 ===== */
.office { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: stretch; }
.office-info { display: grid; grid-template-columns: 7em 1fr; margin: 0; border-top: 1px solid var(--line-strong); }
.office-info dt, .office-info dd { padding: 16px 0; border-bottom: 1px solid var(--line); margin: 0; font-size: 14px; }
.office-info dt { color: var(--gold); letter-spacing: .14em; }
.office-map {
  min-height: 320px; background: var(--blush); border-radius: 20px;
  display: flex; align-items: center; justify-content: center; padding: 20px; text-align: center;
  filter: grayscale(.2);
}
.office-map span { background: rgba(255,255,255,.9); padding: 8px 18px; border-radius: 99px; font-size: 12.5px; color: var(--ink-soft); }

/* ===== お問い合わせ ===== */
.contact {
  background: radial-gradient(ellipse at 20% 0%, rgba(180,138,120,.14), transparent 60%), var(--night);
  color: #fff;
}
.contact .section-head .en { color: var(--gold-light); }
.contact .section-lead, .contact .note { color: #d6cad3; }
.contact-boxes { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-box {
  border: 1px solid rgba(180,138,120,.5); color: #fff; text-decoration: none;
  padding: 36px 24px; display: flex; flex-direction: column; align-items: center; gap: 8px; transition: .3s; border-radius: 20px;
}
.contact-box:hover { background: rgba(180,138,120,.08); border-color: var(--gold-light); }
.contact-label { font-family: var(--font-en); font-style: italic; font-size: 17px; color: var(--gold-light); letter-spacing: .14em; }
.contact-value { font-family: var(--font-head); font-size: clamp(19px, 2.4vw, 25px); letter-spacing: .1em; word-break: break-all; }
.contact-sub { font-size: 12px; color: #d6cad3; }

/* ===== フッター ===== */
.site-footer {
  background: #2a2130; color: #b9adb6; text-align: center; padding: 56px 16px 96px; font-size: 12.5px;
  border-top: 1px solid rgba(180,138,120,.3);
}
.footer-name { font-family: var(--font-head); font-size: 18px; letter-spacing: .2em; color: #fff; margin-bottom: 6px; }
.copy { margin: 24px 0 0; font-family: var(--font-en); font-size: 13px; letter-spacing: .12em; }

.float-cta { display: none; }

/* ===== ふわっと表示 ===== */
.fade { opacity: 0; transform: translateY(18px); transition: opacity 1s ease, transform 1s ease; }
.fade.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .fade { opacity: 1; transform: none; transition: none; }
  .hero-scroll::after { animation: none; }
  html { scroll-behavior: auto; }
}

/* ===== タブレット・スマホ ===== */
@media (max-width: 1180px) {
  .nav { gap: 18px; }
  .nav a { font-size: 12.5px; letter-spacing: .06em; }
}
@media (max-width: 960px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .flow li:nth-child(2) { border-right: 1px solid var(--line-strong); }
}
@media (max-width: 1080px) {
  .menu-btn {
    display: block; background: transparent; color: var(--main); border: 1px solid var(--line-strong); border-radius: 999px;
    padding: 7px 14px; font: inherit; font-size: 12px; letter-spacing: .14em; cursor: pointer; white-space: nowrap; flex-shrink: 0;
  }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line-strong); padding: 8px 24px 24px; display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 14px; }
  .nav .nav-cta { margin-top: 16px; text-align: center; border: 0; }
}
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .hero-art { display: none; }
  .hero-scroll { display: none; }
}
@media (max-width: 720px) {
  body { font-size: 15px; }
  .pc { display: none; }
  .hero { min-height: auto; padding: 72px 32px 120px; }
  .hero-eyebrow { flex-direction: column; align-items: flex-start; gap: 6px; }
  .hero-eyebrow span { border: 0; padding: 0; }
  .hero-title { letter-spacing: .1em; }
  .btn { padding: 14px 26px; }
  .worry-list { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .card { padding: 36px 28px; }
  .about { grid-template-columns: 1fr; }
  .about-photo { max-width: 240px; margin: 0 auto 24px; }
  .flow { grid-template-columns: 1fr; row-gap: 0; }
  .flow li, .flow li:last-child, .flow li:nth-child(2) { border: 0; border-bottom: 1px solid var(--line-strong); padding: 28px 8px; }
  .flow li:first-child { border-top: 1px solid var(--line-strong); }
  .office { grid-template-columns: 1fr; }
  .office-map { min-height: 220px; }
  .contact-boxes { grid-template-columns: 1fr; }
  .price-table th, .price-table td { padding: 18px 6px; font-size: 14px; }
  .price-table td { font-size: 15px; }
  .float-cta {
    display: block; position: fixed; right: 16px; bottom: 16px; z-index: 40;
    background: var(--main); color: #fff; text-decoration: none; font-size: 13px; letter-spacing: .16em;
    padding: 13px 24px; border-radius: 999px; box-shadow: 0 8px 24px rgba(90,69,96,.3);
  }
}
@media (max-width: 480px) {
  .site-header { padding: 12px 16px; }
  .logo { gap: 10px; }
  .logo-mark { width: 32px; height: 32px; }
  .logo-text { font-size: 15px; letter-spacing: .04em; }
  .logo-text small { letter-spacing: .2em; }
  .office-info { grid-template-columns: 6em 1fr; }
}
