:root {
  --ink: #26221e;
  --muted: #5f5851;
  --line: #ddd4c8;
  --paper: #faf6ef;
  --white: #fffdf9;
  --charcoal: #2b2622;
  --orange: #d24c10;
  --orange-deep: #a93a0b;
  --orange-soft: #f6e3d3;
  --sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 18px; line-height: 1.9; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
h1, h2, h3, p, figure, ul, ol { margin-top: 0; }
button, input, textarea { font: inherit; }
.shell { width: min(100% - 48px, 1160px); margin-inline: auto; }
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section-white { background: var(--white); }
.section-dark { background: var(--charcoal); color: #f4eee6; }
h2 { margin-bottom: 20px; font-size: clamp(30px, 4vw, 46px); font-weight: 700; line-height: 1.4; letter-spacing: -.01em; }
h3 { margin-bottom: 10px; font-size: 24px; font-weight: 500; line-height: 1.5; }
.lead { max-width: 40em; color: var(--muted); font-size: 20px; }
.section-dark .lead { color: #d8cfc4; }
.wide-break { display: none; }
@media (min-width: 900px) { .wide-break { display: inline; } }

/* header */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 10; transition: background-color .2s ease; }
.site-header.solid { position: sticky; background: var(--paper); border-bottom: 1px solid var(--line); }
.site-header.on-photo.scrolled { background: rgba(43,38,34,.96); }
.header-inner { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.wordmark { display: inline-flex; flex-direction: column; gap: 2px; line-height: 1.3; }
.product-logo { font-family: "Dancing Script", cursive; font-size: 44px; font-weight: 700; letter-spacing: 0; line-height: 1; }
.company-logo { font-size: 26px; font-weight: 900; letter-spacing: .06em; }
.footer-brand .company-logo { display: block; font-size: 28px; }
.wordmark small { font-size: 14px; font-weight: 500; opacity: .85; }
.main-nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); font-size: 17px; font-weight: 500; }
.main-nav a:hover { color: var(--orange); }
.main-nav .active { color: var(--orange-deep); font-weight: 500; }
.nav-trial { min-height: 48px; display: inline-flex; align-items: center; padding: 0 22px; color: #fff !important; background: var(--orange); font-weight: 700; white-space: nowrap; }
.nav-trial:hover { background: var(--orange-deep); }
.menu-button { display: none; position: relative; z-index: 30; min-height: 48px; align-items: center; gap: 12px; padding: 0 4px 0 8px; color: inherit; background: transparent; border: 0; font-size: 16px; font-weight: 700; cursor: pointer; }
.menu-button .bars { position: relative; width: 26px; height: 14px; }
.menu-button .bars::before, .menu-button .bars::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; transition: transform .2s ease, top .2s ease; }
.menu-button .bars::before { top: 0; }
.menu-button .bars::after { top: 12px; }
.menu-button[aria-expanded="true"] { color: #fff; }
.menu-button[aria-expanded="true"] .bars::before { top: 6px; transform: rotate(45deg); }
.menu-button[aria-expanded="true"] .bars::after { top: 6px; transform: rotate(-45deg); }
.on-photo { color: #fff; }
.on-photo .main-nav a:hover { color: #ffd2b8; }
body.menu-open { overflow: hidden; }
.mobile-cta { display: none; }
@media (max-width: 960px) {
  .menu-button { display: inline-flex; }
  .header-inner { min-height: 72px; }
  .product-logo { font-size: 38px; }
  .main-nav { display: none; position: fixed; inset: 0; z-index: 20; flex-direction: column; align-items: stretch; gap: 0; padding: 104px 24px 32px; overflow-y: auto; color: #fff; background: var(--charcoal); font-size: 24px; font-weight: 500; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 22px 0; border-bottom: 1px solid #4a423b; }
  .main-nav .active { color: #ffb68e; }
  .main-nav .nav-trial { margin-top: 32px; min-height: 64px; justify-content: center; border: 0; font-size: 20px; }
  .main-nav a:hover { color: #ffb68e; }
  body { padding-bottom: 84px; }
  .mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9; display: block; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(250,246,239,.96); border-top: 1px solid var(--line); }
  .mobile-cta .button { width: 100%; }
}
/* buttons */
.button { min-height: 58px; display: inline-flex; justify-content: center; align-items: center; padding: 0 30px; border: 0; font-size: 18px; font-weight: 700; cursor: pointer; transition: background-color .18s ease; }
.button-orange { color: #fff; background: var(--orange); }
.button-orange:hover { background: var(--orange-deep); }
.button-paper { color: var(--orange-deep); background: var(--white); }
.button-paper:hover { background: var(--orange-soft); }
.button-line { color: inherit; border: 2px solid currentColor; }
.button-line:hover { background: rgba(255,255,255,.14); }
.text-link { font-weight: 700; color: var(--orange-deep); border-bottom: 2px solid var(--orange); padding-bottom: 2px; }

/* hero */
.hero { position: relative; min-height: min(820px, 100svh); display: flex; align-items: flex-end; color: #fff; background: #1d1a17 url("/assets/setouchi-inn-hero.jpg") center / cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,17,14,.82) 0%, rgba(20,17,14,.55) 42%, rgba(20,17,14,0) 72%), linear-gradient(0deg, rgba(20,17,14,.55) 0%, rgba(20,17,14,0) 40%); }
.hero-inner { position: relative; padding: 150px 0 clamp(64px, 9vw, 110px); }
.hero h1 { max-width: 11em; margin-bottom: 28px; font-size: clamp(34px, 8.6vw, 84px); font-weight: 700; line-height: 1.25; letter-spacing: -.02em; }
.hero-lead { max-width: 32em; margin-bottom: 40px; font-size: clamp(18px, 2vw, 22px); line-height: 1.9; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.hero-actions .button-line { color: #fff; }
@media (max-width: 780px) {
  .hero { min-height: 760px; background-position: 62% center; }
  .hero::before { background: linear-gradient(0deg, rgba(20,17,14,.88) 0%, rgba(20,17,14,.55) 55%, rgba(20,17,14,.15) 100%); }
  }

/* page hero (inner pages) */
.page-hero { padding: 72px 0 80px; background: var(--paper); border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 14em; margin-bottom: 20px; font-size: clamp(36px, 5.4vw, 62px); font-weight: 700; line-height: 1.3; letter-spacing: -.015em; }
.page-hero p { max-width: 38em; color: var(--muted); font-size: 20px; }
.page-hero .button { margin-top: 12px; }
.photo-hero { position: relative; color: #fff; background: #1d1a17 url("/assets/setouchi-inn-hero.jpg") 60% 60% / cover no-repeat; }
.photo-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,17,14,.85), rgba(20,17,14,.45) 60%, rgba(20,17,14,.15)); }
.photo-hero .shell { position: relative; padding: 170px 0 90px; }
.photo-hero h1 { max-width: 14em; margin-bottom: 20px; font-size: clamp(36px, 5.4vw, 62px); font-weight: 700; line-height: 1.3; }
.photo-hero p { max-width: 36em; font-size: 20px; margin-bottom: 0; }


/* showcase */
.showcase { margin-top: 56px; }
.showcase img, .split img, .shot img { display: block; width: 100%; height: auto; border: 1px solid var(--line); background: #fff; box-shadow: 0 20px 50px -24px rgba(40,25,10,.35); }
.showcase figcaption, .shot figcaption { margin-top: 14px; color: var(--muted); font-size: 16px; }
.split { display: grid; grid-template-columns: .9fr 1.2fr; align-items: center; gap: clamp(32px, 5vw, 72px); margin-top: clamp(64px, 8vw, 104px); }
.split.reverse { grid-template-columns: 1.2fr .9fr; }
.split.reverse .split-copy { order: 2; }
.split-copy h3 { font-size: clamp(26px, 3vw, 34px); font-weight: 700; }
.split-copy p { color: var(--muted); }
.crop-top { aspect-ratio: auto; height: auto; }
@media (max-width: 860px) { .split, .split.reverse { grid-template-columns: 1fr; } .split.reverse .split-copy { order: 0; } }



/* steps */
.steps { list-style: none; margin: 48px 0 0; padding: 0; counter-reset: step; border-top: 2px solid var(--ink); }
.steps li { counter-increment: step; display: grid; grid-template-columns: 90px 1fr; gap: 8px 24px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(step); color: var(--orange); font-size: 52px; font-weight: 700; line-height: 1.1; }
.steps strong { display: block; font-size: 24px; font-weight: 700; }
.steps p { margin: 4px 0 0; color: var(--muted); }

/* cta */
.cta { padding: clamp(64px, 8vw, 100px) 0; color: #fff; background: var(--orange); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta h2 { margin-bottom: 8px; }
.cta p { margin: 0; font-size: 20px; }

/* feature detail */
.detail { padding: clamp(56px, 7vw, 88px) 0; border-bottom: 1px solid var(--line); }
.detail-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.detail h2 { font-size: clamp(28px, 3.4vw, 40px); }
.detail .num { margin-bottom: 8px; color: var(--orange-deep); font-weight: 700; }
.note { margin-top: 24px; padding: 22px 26px; background: var(--white); border: 1px solid var(--line); }
.note strong { display: block; margin-bottom: 6px; }
.note p { margin: 0; color: var(--muted); font-size: 17px; }
.flow-line { margin-top: 24px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-weight: 500; }
.flow-line b { margin: 0 .4em; color: var(--orange); }
@media (max-width: 860px) { .detail-grid { grid-template-columns: 1fr; } }

/* faq */
.faq-list { max-width: 860px; border-top: 2px solid var(--ink); }
details { border-bottom: 1px solid var(--line); }
summary { position: relative; padding: 26px 48px 26px 0; font-size: 21px; font-weight: 500; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); color: var(--orange); font-size: 32px; font-weight: 400; }
details[open] summary::after { content: "−"; }
details p { margin: 0 0 26px; color: var(--muted); }

/* company */
.profile { max-width: 860px; margin: 40px 0 0; border-top: 2px solid var(--ink); }
.profile div { display: grid; grid-template-columns: 200px 1fr; gap: 8px 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.profile dt { font-weight: 500; }
.profile dd { margin: 0; }
@media (max-width: 640px) { .profile div { grid-template-columns: 1fr; } }
.prose { max-width: 40em; }
.prose p { margin-bottom: 1.4em; }

/* trial form */
.trial-wrap { max-width: 760px; padding: 64px 0 100px; }
#trial-form { display: grid; gap: 8px; margin-top: 40px; }
.field-label { margin-top: 18px; font-weight: 500; }
.field-label span { margin-left: 8px; color: var(--orange-deep); font-size: 15px; }
.field-label small { margin-left: 8px; color: var(--muted); font-size: 15px; font-weight: 400; }
input[type=text], input[type=email], textarea, #trial-form input:not([type]) { width: 100%; min-height: 56px; padding: 12px 16px; color: var(--ink); background: #fff; border: 1px solid #b9ad9d; border-radius: 0; font-size: 18px; }
input:focus, textarea:focus { outline: 3px solid #f0b48f; border-color: var(--orange); }
fieldset { margin: 22px 0 0; padding: 0; border: 0; }
legend { padding: 0; margin-bottom: 10px; font-weight: 500; }
legend small { margin-left: 8px; color: var(--muted); font-size: 15px; font-weight: 400; }
.check-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.check-grid label, .consent { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 16px; background: #fff; border: 1px solid #b9ad9d; cursor: pointer; }
.consent { margin-top: 22px; border: 0; background: transparent; padding: 0; align-items: flex-start; }
input[type=checkbox] { width: 22px; height: 22px; flex: none; accent-color: var(--orange); margin-top: 3px; }
.check-grid input { margin-top: 0; }
.submit-button { margin-top: 24px; width: 100%; }
.form-note { margin: 12px 0 0; color: var(--muted); font-size: 16px; }
.form-error { margin: 12px 0 0; color: #b3261e; }
@media (max-width: 560px) { .check-grid { grid-template-columns: 1fr; } }

/* footer */
.site-footer { padding: 64px 0 40px; color: #e9e1d6; background: var(--charcoal); }
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-brand .product-logo { display: block; font-size: 48px; }
.footer-brand p { margin: 8px 0 0; color: #bfb4a6; font-size: 16px; }
.footer-cols { display: flex; gap: clamp(32px, 6vw, 80px); flex-wrap: wrap; }
.footer-cols h4 { margin: 0 0 12px; font-size: 16px; color: #bfb4a6; font-weight: 500; }
.footer-cols a { display: block; padding: 4px 0; font-size: 17px; }
.footer-cols a:hover { color: #ffb68e; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid #4a423b; color: #bfb4a6; font-size: 15px; }

/* 日本語の折り返し */
body { line-break: strict; word-break: auto-phrase; }
h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }

/* 画像の拡大リンク */
.zoom { position: relative; display: block; }
.zoom img { cursor: zoom-in; }

/* スマホ */
@media (max-width: 860px) {
  .shell { width: min(100% - 40px, 1160px); }
  .zoom::after { content: "タップで拡大"; position: absolute; right: 10px; bottom: 10px; padding: 6px 12px; color: #fff; background: rgba(43,38,34,.82); font-size: 15px; font-weight: 500; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 14px; }
  .hero-actions .button { width: 100%; }
  .cta-inner { flex-direction: column; align-items: stretch; }
  .cta .button { width: 100%; }
  .footer-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 24px; width: 100%; }
  .section { padding: 64px 0; }
  .page-hero { padding: 56px 0 60px; }
  .page-hero h1 { font-size: clamp(32px, 8.6vw, 62px); }
  .steps li { grid-template-columns: 56px 1fr; gap: 0 14px; }
  .steps li::before { font-size: 44px; }
  .split, .split.reverse { gap: 28px; margin-top: 56px; }
}
.mobile-cta { transition: transform .25s ease; }
@media (max-width: 960px) { .mobile-cta:not(.show) { transform: translateY(110%); } }



.cta-actions { display: flex; flex-wrap: wrap; gap: 14px 20px; }
.cta .button-line { color: #fff; }
@media (max-width: 860px) { .cta-actions { flex-direction: column; align-items: stretch; width: 100%; } .cta-actions .button { width: 100%; } }

/* 料金 */
.calc { max-width: 640px; padding: clamp(24px, 4vw, 40px); background: var(--orange-soft); }
.calc-label { display: block; margin-bottom: 8px; font-weight: 500; }
.calc-input { display: flex; align-items: center; gap: 12px; }
.calc-input input { width: 160px; min-height: 64px; padding: 8px 16px; color: var(--ink); background: #fff; border: 1px solid #b9ad9d; border-radius: 0; font-size: 32px; font-weight: 700; }
.calc-input span { font-size: 22px; font-weight: 500; }
.calc-range { width: 100%; margin: 24px 0 8px; accent-color: var(--orange); }
.calc-result { display: flex; align-items: baseline; gap: 10px; margin: 16px 0 4px; }
.calc-result strong { font-size: clamp(44px, 8vw, 64px); font-weight: 700; line-height: 1.1; }
.calc-result span { font-size: 22px; font-weight: 500; }
.calc-note { margin: 0; color: var(--muted); }
.price-table { width: 100%; max-width: 640px; margin: 40px 0 16px; border-collapse: collapse; }
.price-table th, .price-table td { padding: 16px 12px; border-bottom: 1px solid var(--line); text-align: left; font-size: 20px; }
.price-table th { border-bottom: 2px solid var(--ink); font-size: 17px; color: var(--muted); }
.price-table td:last-child, .price-table th:last-child { text-align: right; font-weight: 500; }



.fact-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-bottom: 56px; }
.fact-trio strong { display: block; margin-bottom: 6px; font-size: clamp(22px, 2.4vw, 28px); font-weight: 700; line-height: 1.4; }
.fact-trio p { margin: 0; color: var(--muted); }
@media (max-width: 860px) { .fact-trio { grid-template-columns: 1fr; gap: 24px; margin-bottom: 40px; } }
.hero-lead { text-wrap: pretty; }


/* ---- トップページ（再構成） ---- */
.hero-label { margin: 0 0 18px; font-size: clamp(18px, 2vw, 22px); font-weight: 500; letter-spacing: .02em; }
.hero-lead { margin-bottom: 36px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 36px; margin: 40px 0 0; padding: 0; list-style: none; font-size: 18px; font-weight: 500; }
.hero-facts li { position: relative; padding-left: 1.4em; }
.hero-facts li::before { content: "✓"; position: absolute; left: 0; color: #ffb68e; }
@media (max-width: 780px) {
  .hero { min-height: 0; }
  .hero-inner { padding-top: 130px; }
  .hero-facts { flex-direction: column; gap: 6px; margin-top: 32px; }
}

.feat-list { margin-top: 56px; border-top: 2px solid var(--ink); }
.feat { display: grid; grid-template-columns: 1fr 1.15fr; align-items: center; gap: clamp(32px, 5vw, 72px); padding: clamp(40px, 5vw, 64px) 0; border-bottom: 1px solid var(--line); }
.feat:nth-child(even) .feat-img { order: -1; }
.feat-num { display: block; margin-bottom: 4px; color: var(--orange); font-size: clamp(48px, 6vw, 72px); font-weight: 700; line-height: 1.1; }
.feat h3 { margin-bottom: 8px; font-size: clamp(26px, 3vw, 34px); font-weight: 700; }
.feat-value { margin-bottom: 20px; font-size: 22px; font-weight: 500; line-height: 1.6; }
.feat-line { margin: 0 0 12px; }
.feat-line b { display: block; font-size: 17px; font-weight: 500; color: var(--orange-deep); }
.feat-before { color: var(--muted); }
.feat-before b { color: var(--muted); }
.feat .text-link { display: inline-block; margin-top: 12px; }
.feat-img img { display: block; width: 100%; height: auto; border: 1px solid var(--line); background: #fff; box-shadow: 0 18px 40px -24px rgba(40,25,10,.4); }
@media (max-width: 860px) {
  .feat { grid-template-columns: 1fr; gap: 24px; }
  .feat:nth-child(even) .feat-img { order: 0; }
  .feat-img { order: 2; }
  .feat-value { font-size: 20px; }
}

.flow-diagram { display: flex; align-items: center; gap: 20px; margin-top: 48px; }
.fd-box { display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 18px 24px; background: var(--paper); border: 2px solid var(--ink); font-size: 20px; font-weight: 500; line-height: 1.5; text-align: center; }
.fd-box strong { font-size: 24px; font-weight: 700; }
.fd-box span { color: var(--muted); font-size: 17px; font-weight: 500; }
.fd-source { flex: 1.2; padding: 28px 24px; }
.fd-core { flex: .8; padding: 36px 24px; color: #fff; background: var(--orange); border-color: var(--orange); }
.fd-core strong { font-size: 30px; }
.fd-outs { flex: 1; display: grid; gap: 12px; }
.fd-arrow { flex: none; width: 36px; height: 24px; background: var(--orange); clip-path: polygon(0 30%, 55% 30%, 55% 0, 100% 50%, 55% 100%, 55% 70%, 0 70%); }
.fd-note { margin: 28px 0 0; color: var(--muted); font-size: 17px; }
@media (max-width: 860px) {
  .flow-diagram { flex-direction: column; align-items: stretch; gap: 14px; }
  .fd-arrow { align-self: center; transform: rotate(90deg); }
  .fd-outs { gap: 10px; }
}

.start-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 32px); margin-top: 40px; }
.start-panel { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(28px, 4vw, 44px); }
.start-demo { background: #eeeae3; }
.start-trial { background: var(--orange-soft); }
.start-panel h3 { font-size: clamp(24px, 3vw, 30px); font-weight: 700; }
.start-panel p { flex: 1; margin-bottom: 28px; }
.button-line-dark { color: var(--ink); border: 2px solid var(--ink); }
.button-line-dark:hover { background: rgba(0,0,0,.06); }
.start-more { margin: 32px 0 0; }
@media (max-width: 860px) { .start-grid { grid-template-columns: 1fr; } .start-panel .button { width: 100%; } }

.price-block { max-width: 760px; }
.price-big { margin: 0 0 20px; font-size: clamp(40px, 7vw, 72px); font-weight: 700; line-height: 1.3; }
.price-big span { font-size: .45em; font-weight: 500; margin-right: .3em; }
.price-points { display: flex; flex-wrap: wrap; gap: 8px 32px; margin: 0 0 28px; padding: 0; list-style: none; font-size: 20px; font-weight: 500; }
.price-points li { position: relative; padding-left: 1.4em; }
.price-points li::before { content: "✓"; position: absolute; left: 0; color: var(--orange); }
@media (max-width: 860px) { .price-points { flex-direction: column; } }


/* 本文中の PSYQY0 もロゴと同じ書体 */
.brand { font-family: "Dancing Script", cursive; font-weight: 700; font-size: 1.15em; letter-spacing: 0; line-height: 1; white-space: nowrap; }
.fd-box .brand, .fd-core .brand { color: inherit; font-size: 1.3em; font-weight: 700; }

/* 最後の登録欄：色の帯をやめ、ページと同じ背景にする */
.cta { color: var(--ink); background: var(--paper); border-top: 1px solid var(--line); }
.cta .button-line { color: var(--ink); border-color: var(--ink); }
.cta .button-line:hover { background: rgba(0,0,0,.06); }

/* 黒い太枠をやめ、薄い茶系の細い線にする */
:root { --edge: #cdbfae; }
.fd-box { background: #fff; border: 1px solid var(--edge); }
.steps, .faq-list, .profile, .feat-list { border-top: 1px solid var(--edge); }
.price-table th { border-bottom: 1px solid var(--edge); }
.button-line-dark, .cta .button-line { border: 1px solid #8a7d6e; }
.fd-box.fd-core { background: var(--orange); border-color: var(--orange); color: #fff; }

/* 上の帯：色の帯をやめ、ページの背景と同じ色にして溶け込ませる */
.site-header { transition: background-color .25s ease, color .25s ease; }
.site-header.solid { border-bottom: 0; }
.site-header.on-photo.scrolled { background: var(--paper); color: var(--ink); }
.site-header.on-photo.scrolled .main-nav a:hover { color: var(--orange); }
.site-header.on-photo.scrolled .menu-button[aria-expanded="true"] { color: #fff; }

/* 上の帯は JS で背景と同じ色・文字色に追従させる（切り替えのアニメーションは付けない） */
.site-header { transition: none; }


/* 帯の文字色：背景の境目で、文字そのものが上下に色分けされる（JSが --fg-grad を入れる） */
.site-header.fg-split .header-inner { color: transparent; background: var(--fg-grad); -webkit-background-clip: text; background-clip: text; }
.site-header.fg-split .menu-button .bars::before, .site-header.fg-split .menu-button .bars::after { background: var(--fg); }
.site-header.fg-split .menu-button[aria-expanded="true"] .bars::before, .site-header.fg-split .menu-button[aria-expanded="true"] .bars::after { background: #fff; }

/* メニューボタンは二本線だけ（押しやすいよう余白を広げる） */
.menu-button { padding: 0 8px; min-width: 48px; justify-content: center; }

/* トップの見出しだけ、明朝体で大きく */
.hero h1 { max-width: none; font-family: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif; font-size: clamp(42px, 11.5vw, 108px); font-weight: 700; line-height: 1.3; letter-spacing: .02em; }

/* メニューを開いている間は、下の固定ボタンを隠す（ボタンが二重に出ない） */
body.menu-open .mobile-cta { display: none !important; }

/* スマホのメニュー：項目の下に残る空白の、ちょうど真ん中に登録ボタンを置く */
@media (max-width: 960px) {
  .main-nav { padding-bottom: 0; }
  .main-nav .nav-trial { margin-top: auto; margin-bottom: auto; }
}

/* スマホのメニュー：押したボタンの位置から、縁をぼかした円がふわっと広がる。閉じるときは円が縮む */
@property --r { syntax: "<length>"; inherits: false; initial-value: 0px; }
@media (max-width: 960px) {
  .main-nav {
    display: flex; visibility: hidden; pointer-events: none;
    --r: 0px; --feather: 120px;
    -webkit-mask-image: radial-gradient(circle at var(--mx, calc(100% - 40px)) var(--my, 36px), #000 calc(var(--r) - var(--feather)), transparent var(--r));
            mask-image: radial-gradient(circle at var(--mx, calc(100% - 40px)) var(--my, 36px), #000 calc(var(--r) - var(--feather)), transparent var(--r));
    will-change: --r;
    transition: --r .9s cubic-bezier(.3,.6,.2,1), visibility 0s linear .9s;
  }
  .main-nav.open {
    visibility: visible; pointer-events: auto;
    --r: 170vmax;
    transition: --r 1s cubic-bezier(.3,.6,.2,1), visibility 0s;
  }
}
@media (prefers-reduced-motion: reduce) {
  .main-nav, .main-nav.open { transition: none; }
}
