/* ==========================================================================
   DOYA! Experience Osaka — site styles
   ブランドのルールは brand/BRAND.md。色とフォントはこの最初のブロックだけで変えられます。
   ========================================================================== */
:root {
  /* ---- ブランドの色 ---- */
  --red: #E53920;          /* 朱（メイン）：ロゴ・見出し・大きな帯 */
  --red-strong: #C8321A;   /* 白い文字をのせるボタン用の、少し濃い朱 */
  --red-soft: #FCE9E3;     /* 朱のごく薄い色（タグの背景など） */
  --ink: #222222;          /* 文字 */
  --ink-2: #5B5550;        /* 小さい説明文 */
  --cream: #F8F4EC;        /* 背景（基本） */
  --cream-2: #F0E8DA;      /* 背景（少し濃い） */
  --white: #FFFFFF;
  --line: #E6DCCD;         /* 区切り線 */
  --navy: #223A70;         /* きちんと版（出張茶道・法人向け）のベース */
  --navy-soft: #E7EBF4;
  --board: #23423A;        /* 黒板 */
  --wood: #B98A55;         /* 黒板の枠・指し棒 */

  /* ---- フォント ---- */
  --font-display: "Darumadrop One", "Zen Maru Gothic", system-ui, sans-serif; /* ロゴっぽい手書き風の見出し */
  --font-round: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", system-ui, sans-serif; /* 見出し・ボタン */
  --font-body: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", system-ui, sans-serif; /* 本文 */

  /* ---- 大きさ・余白 ---- */
  --wrap: 1160px;
  --gut: clamp(16px, 4.5vw, 40px);
  --space: clamp(56px, 9vw, 104px);
  --radius: 18px;
  --shadow: 0 1px 2px rgba(40, 24, 12, .06), 0 10px 28px rgba(40, 24, 12, .08);

  /* ---- 古いページ（WordPress から移した部分）用の別名。上の色に合わせて自動で変わる ---- */
  --paper: var(--cream);
  --paper-2: var(--cream-2);
  --matcha: var(--red-strong);
  --matcha-2: #A82812;
  --matcha-light: #F08A73;
  --hinoki: var(--red);
  --serif: var(--font-round);
  --sans: var(--font-body);
  --ast-global-color-0: var(--red-strong);
  --ast-global-color-1: #A82812;
  --ast-global-color-2: var(--ink);
  --ast-global-color-3: var(--ink-2);
  --ast-global-color-4: var(--white);
  --ast-global-color-5: var(--cream-2);
  --ast-global-color-6: var(--cream);
  --ast-global-color-7: var(--line);
  --ast-global-color-8: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.75 var(--sans); letter-spacing: .01em;
  overflow-x: hidden;
}
:lang(ja) body, body:lang(ja) { line-height: 1.9; }
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--matcha); text-underline-offset: .2em; }
.content p, .content li { overflow-wrap: anywhere; }
a:hover { color: var(--matcha-2); }
:focus-visible { outline: 3px solid var(--hinoki); outline-offset: 2px; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; line-height: 1.3; margin: 0 0 .5em; letter-spacing: .02em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 1.3rem + 3vw, 3.25rem); }
h2 { font-size: clamp(1.55rem, 1.2rem + 1.5vw, 2.25rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.3em; }

.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; z-index: 99; background: var(--white); padding: 8px 12px; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.bar { max-width: var(--wrap); margin: 0 auto; padding: 10px var(--gut); display: flex; align-items: center; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand-seal {
  width: 40px; height: 40px; flex: none; display: grid; place-items: center;
  background: var(--matcha); color: var(--paper); border-radius: 4px;
  font: 700 22px/1 var(--serif); transform: rotate(-3deg);
  box-shadow: inset 0 0 0 2px var(--paper), inset 0 0 0 3px var(--matcha);
}
.brand-name { font: 700 1.05rem/1.2 var(--serif); letter-spacing: .03em; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav > ul { display: flex; gap: 4px; align-items: center; }
.site-nav a { display: block; padding: 8px 12px; text-decoration: none; color: var(--ink); font-size: .95rem; border-radius: 6px; }
.site-nav a:hover, .site-nav a[aria-current] { color: var(--matcha); background: var(--paper-2); }
.has-sub { position: relative; }
.has-sub > ul { position: absolute; top: 100%; left: 0; min-width: 260px; background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 6px; display: none; }
.has-sub:hover > ul, .has-sub:focus-within > ul { display: block; }
.menu-btn { display: none; }

@media (max-width: 900px) {
  .menu-btn { display: grid; gap: 5px; width: 44px; height: 44px; padding: 12px 10px; background: none; border: 0; cursor: pointer; }
  .menu-btn span { display: block; height: 2px; background: var(--ink); transition: transform .2s; }
  .menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); max-height: calc(100vh - 64px); overflow: auto; }
  .site-nav.open { display: block; }
  .site-nav > ul { flex-direction: column; align-items: stretch; padding: 8px var(--gut) 16px; }
  .has-sub > ul { position: static; display: block; border: 0; background: none; padding: 0 0 0 14px; min-width: 0; }
  .brand-name { font-size: .95rem; }
}

/* ---------- content sections (converted from the old page builder) ---------- */
.content { min-height: 60vh; }
.content > :not(section):not(.wp-block-uagb-container):not(.alignfull):not(.post-head):not(.post-body) { max-width: var(--wrap); margin-left: auto; margin-right: auto; padding-left: var(--gut); padding-right: var(--gut); }
.uagb-is-root-container, .content > section, .content > .alignfull { padding: clamp(40px, 7vw, 88px) var(--gut); }
.uagb-is-root-container > .uagb-container-inner-blocks-wrap,
.uagb-is-root-container.c-row, .uagb-is-root-container.c-col { max-width: var(--wrap); margin-left: auto; margin-right: auto; }
.uagb-container-inner-blocks-wrap { display: flex; flex-direction: column; gap: 20px; }
.c-col { display: flex; flex-direction: column; gap: 20px; }
.c-row { display: flex; flex-wrap: wrap; gap: 28px; align-items: stretch; }
.c-row > * { flex: 1 1 280px; min-width: 0; }
.c-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.c-row > .uagb-container-inner-blocks-wrap { flex-direction: row; flex-wrap: wrap; }
.c-bg { background: var(--bg); }
.c-dark { color: var(--paper); }
.c-dark a:not(.uagb-buttons-repeater):not(.btn) { color: #fff; }
.c-dark h1, .c-dark h2, .c-dark h3 { color: #fff; }
.c-bgimg {
  position: relative; color: #fff; isolation: isolate;
  background: linear-gradient(rgba(20, 32, 22, .55), rgba(20, 32, 22, .65)), var(--bgimg) center / cover no-repeat;
  min-height: clamp(320px, 52vh, 560px); justify-content: center;
}
.c-bgimg h1, .c-bgimg h2, .c-bgimg h3, .c-bgimg a:not(.uagb-buttons-repeater) { color: #fff; }
.c-bgimg .uagb-heading-text { text-shadow: 0 1px 12px rgba(0,0,0,.35); }

/* headings */
.wp-block-uagb-advanced-heading { text-align: inherit; }
.uagb-desc-text { font-size: 1.1rem; max-width: 60ch; }
.uagb-is-root-container > .uagb-container-inner-blocks-wrap > .wp-block-uagb-advanced-heading,
.uagb-is-root-container > .wp-block-uagb-advanced-heading { text-align: center; }
.uagb-is-root-container > .uagb-container-inner-blocks-wrap > .wp-block-uagb-advanced-heading .uagb-desc-text { margin-inline: auto; }

/* info boxes */
.wp-block-uagb-info-box .uagb-ifb-content { display: flex; flex-direction: column; gap: 8px; height: 100%; }
.uagb-ifb-icon-wrap svg { width: 36px; height: 36px; fill: var(--matcha); }
.c-dark .uagb-ifb-icon-wrap svg, .c-bgimg .uagb-ifb-icon-wrap svg { fill: currentColor; }
.uagb-ifb-image-content img { border-radius: 10px; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; margin-bottom: 8px; }
.uagb-ifb-title { margin: 4px 0; }
.uagb-ifb-title-prefix { color: var(--hinoki); font-weight: 700; margin: 0; }
.uagb-ifb-desc { margin: 0; color: inherit; }
.c-grid > .wp-block-uagb-container, .c-grid > .wp-block-uagb-info-box,
.c-row > .wp-block-uagb-container.c-bg {
  background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 18px; color: var(--ink);
}
.c-grid > .wp-block-uagb-container h3, .c-grid > .wp-block-uagb-container a:not(.uagb-buttons-repeater) { color: var(--ink); }
.uagb-is-root-container > .uagb-container-inner-blocks-wrap > section.wp-block-uagb-info-box { max-width: 760px; margin: 0 auto; text-align: center; }
.uagb-is-root-container > .uagb-container-inner-blocks-wrap > section.wp-block-uagb-info-box .uagb-ifb-icon-wrap { align-self: center; }

/* buttons */
.uagb-buttons__wrap { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.uagb-buttons-repeater, .wp-block-button__link, .btn {
  display: inline-flex; align-items: center; gap: .6em; justify-content: center;
  background: var(--matcha); color: #fff !important; text-decoration: none; border: 0;
  padding: .85em 1.7em; border-radius: 999px; font: 700 1rem/1.2 var(--sans); cursor: pointer;
}
.uagb-buttons-repeater:hover, .wp-block-button__link:hover, .btn:hover { background: var(--matcha-2); }
.uagb-buttons-repeater svg { width: .8em; height: .8em; fill: currentColor; }
.c-dark .uagb-buttons-repeater, .c-bgimg .uagb-buttons-repeater { background: var(--paper); color: var(--matcha-2) !important; }
.btn-ghost { background: transparent; color: var(--matcha) !important; box-shadow: inset 0 0 0 2px var(--matcha); }
.btn-ghost:hover { background: var(--matcha); color: #fff !important; }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 1em 0; }

/* lists with icons */
.wp-block-uagb-icon-list .uagb-icon-list__wrap { display: flex; flex-direction: column; gap: 10px; }
.wp-block-uagb-icon-list-child { display: flex; gap: 12px; align-items: flex-start; }
.uagb-icon-list__source-wrap svg { width: 1.1em; height: 1.1em; fill: var(--matcha); margin-top: .35em; }
.c-dark .uagb-icon-list__source-wrap svg { fill: currentColor; }

/* images, galleries, separators */
.wp-block-uagb-image img, .wp-block-image img { border-radius: 10px; }
.wp-block-image { margin: 1.5em 0; }
.wp-block-image figcaption { font-size: .9rem; color: var(--ink-2); margin-top: .5em; }
.gallery { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }
.wp-block-uagb-separator { border-top: 1px solid var(--line); margin: 24px auto; width: 120px; }
.wp-block-spacer { height: 16px !important; }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 10px; max-width: 820px; margin: 0 auto; width: 100%; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 0 18px; color: var(--ink); }
.faq summary { cursor: pointer; padding: 16px 28px 16px 0; font-weight: 700; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 12px; font: 400 1.5rem/1 var(--sans); color: var(--matcha); }
.faq details[open] summary::after { content: "−"; }
.faq-a { padding: 0 0 16px; }

/* core blocks */
.wp-block-columns { display: flex; flex-wrap: wrap; gap: 28px; margin: 1.5em 0; }
.wp-block-column { flex: 1 1 260px; min-width: 0; }
.wp-block-media-text { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; margin: 2em 0; }
.wp-block-media-text img { border-radius: 10px; }
@media (max-width: 700px) { .wp-block-media-text { grid-template-columns: 1fr; } }
.wp-block-table { overflow-x: auto; margin: 1.5em 0; }
table { border-collapse: collapse; width: 100%; background: var(--white); }
th, td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
th { background: var(--paper-2); }
blockquote, .wp-block-quote { border-left: 3px solid var(--matcha-light); margin: 1.5em 0; padding: .3em 0 .3em 1.2em; color: var(--ink-2); }
.wp-block-group { margin: 1.5em 0; }
.has-text-align-center { text-align: center; }
.aligncenter { margin-left: auto; margin-right: auto; text-align: center; }
.aligncenter img { margin: 0 auto; }

/* embeds, maps, booking */
.embed { position: relative; aspect-ratio: 16 / 9; }
.embed.tall { aspect-ratio: 9 / 16; max-width: 360px; margin: 0 auto; }
.embed iframe, .map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 10px; }
.map { position: relative; aspect-ratio: 16 / 9; min-height: 280px; }
.booking { background: var(--white); border-radius: 12px; padding: 12px; }
.ig { display: flex; justify-content: center; }
.reviews-link { text-align: center; }

/* contact form */
.contact-form { display: grid; gap: 14px; max-width: 640px; width: 100%; margin: 0 auto; background: var(--white); color: var(--ink); padding: clamp(18px, 4vw, 32px); border-radius: 14px; border: 1px solid var(--line); }
.contact-form label { display: grid; gap: 6px; font-weight: 500; font-size: .95rem; }
.contact-form input, .contact-form textarea { font: inherit; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); color: var(--ink); width: 100%; }
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form .hp { display: none; }
.form-note { font-size: .85rem; color: var(--ink-2); margin: 0; text-align: center; }
@media (max-width: 520px) { .contact-form .form-row { grid-template-columns: 1fr; } }

/* posts */
.post-head, .post-body { max-width: 760px; margin: 0 auto; padding: 0 var(--gut); }
.post-head { padding-top: clamp(32px, 6vw, 64px); }
.post-date { color: var(--ink-2); font-size: .9rem; margin: 0 0 .4em; }
.post-body { padding-bottom: 64px; }
.post-body h2 { margin-top: 1.6em; font-size: 1.6rem; }
.post-list { list-style: none; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); max-width: var(--wrap); margin: 0 auto; }
.post-list a { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--ink); }
.post-list img { aspect-ratio: 3 / 2; object-fit: cover; border-radius: 8px; width: 100%; }
.pl-date { font-size: .85rem; color: var(--ink-2); }
.pl-title { font-family: var(--serif); font-weight: 700; line-height: 1.4; }

/* footer */
.site-footer { background: var(--ink); color: #d9dfd6; padding: 56px var(--gut) 24px; margin-top: 0; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.foot-inner { max-width: var(--wrap); margin: 0 auto; display: grid; gap: 32px; grid-template-columns: 1.3fr 1fr 1fr; }
.foot-name { font: 700 1.3rem/1.3 var(--serif); color: #fff; }
.foot-contact p { margin: 0 0 .4em; }
.foot-links ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.copy { max-width: var(--wrap); margin: 40px auto 0; font-size: .85rem; color: #9aa596; }
@media (max-width: 760px) { .foot-inner { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* fixes after first visual check */
svg { overflow: hidden; }
.ig { min-width: 0; }
.ig blockquote.instagram-media, .ig iframe { min-width: 0 !important; max-width: 100% !important; width: 100% !important; margin: 0 !important; }
.wp-block-uagb-container.c-bgimg:not(.uagb-is-root-container) { padding: 28px 22px; border-radius: 12px; min-height: 300px; display: flex; flex-direction: column; justify-content: flex-end; }
.wp-block-uagb-container.c-bg:not(.uagb-is-root-container) { padding: 22px; border-radius: 12px; }
.uagb-container-inner-blocks-wrap > *, .c-col > *, .c-row > * { min-width: 0; max-width: 100%; }
.map { aspect-ratio: auto; height: clamp(280px, 45vw, 420px); min-height: 0; width: 100%; }
.uagb-is-root-container { overflow-x: clip; }
.ig { overflow: hidden; width: 100%; }
.ig > * { max-width: 100% !important; }
.uagb-is-root-container > .uagb-container-inner-blocks-wrap { width: 100%; }
.c-col > *, .uagb-container-inner-blocks-wrap > * { align-self: stretch; }
.c-col > .wp-block-uagb-buttons, .c-col > .wp-block-button { align-self: auto; }
.uagb-is-root-container.c-row, .uagb-is-root-container.c-col { max-width: none; margin: 0; width: 100%; padding-inline: max(var(--gut), calc((100% - var(--wrap)) / 2)); }
/* responsive visibility from the old builder */
@media (min-width: 1025px) { .hide-desk { display: none !important; } }
@media (min-width: 768px) and (max-width: 1024px) { .hide-tab { display: none !important; } }
@media (max-width: 767px) { .hide-mob { display: none !important; } }
/* core columns stack on phones */
@media (max-width: 780px) { .wp-block-column { flex-basis: 100% !important; } }
.wp-block-columns .wp-block-columns { margin: 0; }

/* ---------- layout clean-up (Oct 2026) ---------- */
/* calmer, even spacing between sections; no double padding when sections are nested */
.uagb-is-root-container, .content > section, .content > .alignfull { padding-block: clamp(36px, 5vw, 64px); }
.uagb-is-root-container .uagb-is-root-container { padding: 0 !important; }
.wp-block-spacer { display: none; }
.content > p:first-child:empty { display: none; }
.uagb-container-inner-blocks-wrap, .c-col { gap: 16px; }
.c-row { gap: 24px; }
.c-bg + .c-bg[style*="--ast-global-color-5"], .c-bg[style*="--ast-global-color-5"] + .c-bg[style*="--ast-global-color-5"] { padding-top: 0; }

/* media + text blocks: equal halves, photo fills its side neatly */
.wp-block-media-text { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; }
.wp-block-media-text__media { margin: 0; }
.wp-block-media-text__media img { width: 100%; height: 100%; max-height: 460px; object-fit: cover; }
.wp-block-media-text p[style*="font-size:14px"] { font-size: 1rem !important; }
@media (max-width: 700px) { .wp-block-media-text { grid-template-columns: 1fr !important; } .wp-block-media-text__media { order: -1; } }

/* single photos never too tall or too wide */
.wp-block-image img, .wp-block-uagb-image img { max-height: 560px; width: auto; max-width: 100%; margin-inline: auto; object-fit: cover; }
.wp-block-image.is-resized img { width: auto !important; }

/* photo galleries: even rows, last row centred */
.gallery { --gap: 10px; display: flex !important; flex-wrap: wrap; justify-content: center; gap: var(--gap); width: 100%; max-width: var(--wrap); margin-inline: auto; }
.gallery figure { margin: 0; flex: 0 0 calc((100% - (var(--cols, 3) - 1) * var(--gap)) / var(--cols, 3)); }
.gallery img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; max-height: none; }
@media (max-width: 640px) {
  .gallery figure { flex-basis: calc((100% - var(--gap)) / 2); }
  .gallery[data-odd] figure:first-child { flex-basis: 100%; }
  .gallery[data-odd] figure:first-child img { aspect-ratio: 16 / 9; }
}

/* client logos: same visual size, in one tidy row */
.logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 28px 56px; max-width: 920px; margin: 8px auto 0; }
.logos figure { margin: 0; }
.logos img { height: 64px; width: auto; max-width: 170px; object-fit: contain; border-radius: 0; mix-blend-mode: multiply; }
@media (max-width: 640px) { .logos { gap: 20px 32px; } .logos img { height: 44px; max-width: 120px; } }

/* Instagram posts: phone-sized card, centred */
.ig { max-width: 480px; margin-inline: auto; }

/* ---------- blog ---------- */
.cat-filter { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; max-width: var(--wrap); margin: 0 auto 28px; padding: 0 var(--gut); }
.cat-filter a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--ink); text-decoration: none; font-size: .95rem; }
.cat-filter a span { font-size: .8rem; color: var(--ink-2); }
.cat-filter a[aria-current="true"] { background: var(--matcha); border-color: var(--matcha); color: #fff; }
.cat-filter a[aria-current="true"] span { color: #dfe9df; }
.post-list { gap: 24px; padding: 0 var(--gut) 8px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.post-list li[hidden] { display: none; }
.post-list a { height: 100%; gap: 0; background: var(--white); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; transition: box-shadow .2s, transform .2s; }
.post-list a:hover { box-shadow: 0 10px 28px rgba(31, 42, 34, .12); transform: translateY(-2px); color: var(--ink); }
.post-list img, .pl-noimg { border-radius: 0; aspect-ratio: 16 / 10; width: 100%; background: var(--paper-2); }
.pl-meta { display: flex; gap: 10px; align-items: center; padding: 14px 16px 4px; font-size: .82rem; color: var(--ink-2); }
.pl-cat { display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--paper-2); color: var(--matcha-2); font-size: .8rem; font-weight: 700; text-decoration: none; }
.pl-title { padding: 2px 16px 0; font-size: 1.1rem; }
.pl-desc { padding: 6px 16px 18px; font-size: .9rem; color: var(--ink-2); line-height: 1.6; }
.content > .post-list, .content > .cat-filter { padding-top: 0; }
body.page .content > .post-list:first-child, body.page .content > .cat-filter:first-child { margin-top: clamp(28px, 5vw, 48px); }
.content > .post-list:last-child { margin-bottom: clamp(40px, 6vw, 72px); }

/* single post: one calm reading column */
.post-head { padding-top: clamp(28px, 5vw, 56px); padding-bottom: 8px; }
.post-crumb { margin: 0 0 18px; font-size: .9rem; }
.post-crumb a { text-decoration: none; }
.post-meta { display: flex; gap: 12px; align-items: center; color: var(--ink-2); font-size: .9rem; margin: 0 0 .6em; }
.post-head h1 { font-size: clamp(1.8rem, 1.2rem + 2.4vw, 2.6rem); }
.post-body { max-width: 720px; font-size: 1.05rem; line-height: 1.9; padding-bottom: 48px; }
.post-body > * { max-width: 100% !important; padding-inline: 0 !important; }
.post-body h2 { font-size: 1.45rem; margin: 2em 0 .6em; padding-bottom: .35em; border-bottom: 1px solid var(--line); }
.post-body h3 { font-size: 1.2rem; margin: 1.6em 0 .5em; }
.post-body p { margin: 0 0 1.1em; }
.post-body .lead { font-size: 1.2rem; color: var(--ink-2); font-family: var(--serif); }
.post-body img { display: block; width: auto; max-width: 100%; max-height: 70vh; height: auto; margin: 1.6em auto; border-radius: 10px; }
.post-body figure { margin: 1.6em 0; }
.post-body figure img { margin: 0 auto; }
.post-body iframe { width: 100%; min-height: 320px; border: 0; border-radius: 10px; margin: 1em 0; }
.post-body .uagb-is-root-container, .post-body .alignfull { padding: 0 !important; margin: 1.5em 0; background: none; }
.related { max-width: var(--wrap); margin: 0 auto; padding: 8px 0 clamp(48px, 7vw, 80px); border-top: 1px solid var(--line); }
.related h2 { text-align: center; font-size: 1.5rem; margin: 40px 0 24px; padding: 0 var(--gut); }

/* ---------- Google reviews (shown on the page) ---------- */
.reviews { width: 100%; max-width: var(--wrap); margin: 0 auto; }
.rv-head { display: flex; align-items: center; gap: 14px; justify-content: center; margin-bottom: 18px; }
.rv-g { width: 40px; height: 40px; }
.rv-title { margin: 0; font-weight: 700; }
.rv-sum { margin: 0; display: flex; align-items: center; gap: 8px; }
.rv-stars { color: #f5b301; letter-spacing: 1px; }
.rv-off { color: #d6d6d6; }
.rv-list { list-style: none; margin: 0; padding: 4px 4px 14px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 320px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; }
.rv-card { scroll-snap-align: start; background: var(--white); color: var(--ink); border: 1px solid var(--line); border-radius: 12px; padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.rv-top { display: flex; align-items: center; gap: 10px; }
.rv-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--matcha); color: #fff; display: grid; place-items: center; font-weight: 700; flex: none; }
.rv-name { margin: 0; font-weight: 700; line-height: 1.3; }
.rv-date { margin: 0; font-size: .8rem; color: var(--ink-2); }
.rv-text { margin: 0; font-size: .95rem; line-height: 1.7; }
.reviews .reviews-link { margin-top: 18px; }
.c-dark .rv-title, .c-bgimg .rv-title { color: #fff; }
.ig-link a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); text-decoration: none; font-size: .95rem; }
.ig-link a::before { content: ""; width: 18px; height: 18px; border-radius: 5px; background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.rv-list { align-items: start; }
.post-crumb { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.post-lang { font-size: .85rem; padding: 3px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); }
.update-box { background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--matcha); border-radius: 10px; padding: 14px 18px; margin: 0 0 1.6em; font-size: .95rem; line-height: 1.7; }
.update-box ul { margin: .3em 0; }
.update-title { margin: 0; font-weight: 700; color: var(--matcha-2); }
.update-title span { font-weight: 400; color: var(--ink-2); font-size: .85rem; }
.update-note { margin: .4em 0 0; font-size: .85rem; color: var(--ink-2); }
.site-nav a { white-space: nowrap; }

/* =====================================================================
   Design layer (Oct 2026): calmer, more natural layout on top of the
   converted page-builder markup. Later rules win, so keep this last.
   ===================================================================== */

/* --- rows: the number of items decides the columns (no "3 + 1 giant") --- */
.c-row:not(:has(> .uagb-container-inner-blocks-wrap)),
.c-row > .uagb-container-inner-blocks-wrap,
.c-grid:not(:has(> .uagb-container-inner-blocks-wrap)),
.c-grid > .uagb-container-inner-blocks-wrap {
  display: grid !important; gap: clamp(20px, 3vw, 36px); align-items: start;
  grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr));
}
:is(.c-row, .c-grid, .c-row > .uagb-container-inner-blocks-wrap, .c-grid > .uagb-container-inner-blocks-wrap):has(> :nth-child(2):last-child) { --n: 2; }
:is(.c-row, .c-grid, .c-row > .uagb-container-inner-blocks-wrap, .c-grid > .uagb-container-inner-blocks-wrap):has(> :nth-child(4):last-child) { --n: 4; }
:is(.c-row, .c-grid, .c-row > .uagb-container-inner-blocks-wrap, .c-grid > .uagb-container-inner-blocks-wrap):has(> :only-child) { --n: 1; }
:is(.c-row, .c-grid, .c-row > .uagb-container-inner-blocks-wrap, .c-grid > .uagb-container-inner-blocks-wrap):has(> :nth-child(6):last-child) { --n: 3; }
.c-row > *, .c-row > .uagb-container-inner-blocks-wrap > * { flex: none; width: auto; }
@media (max-width: 1000px) {
  :is(.c-row, .c-grid, .c-row > .uagb-container-inner-blocks-wrap, .c-grid > .uagb-container-inner-blocks-wrap):has(> :nth-child(4):last-child) { --n: 2; }
}
@media (max-width: 720px) {
  .c-row:not(:has(> .uagb-container-inner-blocks-wrap)), .c-row > .uagb-container-inner-blocks-wrap,
  .c-grid:not(:has(> .uagb-container-inner-blocks-wrap)), .c-grid > .uagb-container-inner-blocks-wrap { --n: 1 !important; }
}

/* photos inside multi-column rows: same shape, so rows line up */
:is(.c-row, .c-grid) :is(.wp-block-uagb-image, .uagb-ifb-image-content, .wp-block-image) img { width: 100%; aspect-ratio: 4 / 3; height: auto; max-height: 540px; object-fit: cover; border-radius: 12px; }
:is(.c-row, .c-grid, .c-row > .uagb-container-inner-blocks-wrap):has(> :nth-child(2):last-child) > :is(.wp-block-uagb-image, .wp-block-image) img { aspect-ratio: 4 / 5; max-height: 560px; }
.wp-block-uagb-image figure, .wp-block-image figure { margin: 0; }

/* --- icons: never bigger than the text around them --- */
.content a svg, .content button svg, .wp-block-button__link svg, .uagb-button__icon svg { width: .85em !important; height: .85em !important; fill: currentColor; flex: none; vertical-align: -0.1em; }
.uagb-ifb-icon-wrap svg { width: 28px; height: 28px; }
.uagb-icon-list__source-wrap svg { width: 1em; height: 1em; }
/* when a box already shows a number like "01", hide the extra number icon */
.uagb-ifb-content:has(.uagb-ifb-title-prefix) > .uagb-ifb-icon-wrap { display: none; }
.uagb-ifb-title-prefix { font: 700 .85rem/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--hinoki); }
p.uagb-ifb-title-prefix:only-of-type { margin-bottom: 2px; }

/* --- softer cards: no hard borders, gentle shadow --- */
.c-grid > .wp-block-uagb-container, .c-grid > .wp-block-uagb-info-box,
.c-row > .wp-block-uagb-container.c-bg, .wp-block-uagb-container.c-bg:not(.uagb-is-root-container) {
  border: 0 !important; border-radius: 16px; box-shadow: 0 1px 2px rgba(31, 42, 34, .06), 0 8px 24px rgba(31, 42, 34, .06);
}
.c-bgimg .wp-block-uagb-container.c-bg:not(.uagb-is-root-container) { background: rgba(255, 255, 255, .94) !important; color: var(--ink); }
.c-bgimg .wp-block-uagb-container.c-bg:not(.uagb-is-root-container) :is(h2, h3, h4, a:not(.uagb-buttons-repeater)) { color: var(--ink); }
.wp-block-uagb-info-box { text-align: left; }
.uagb-ifb-content { gap: 6px; }
.uagb-ifb-title { font-size: 1.2rem; line-height: 1.4; }
h2.uagb-ifb-title, .uagb-heading-text { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); }
.uagb-ifb-desc, .uagb-desc-text { color: var(--ink-2); line-height: 1.8; }
.c-dark .uagb-ifb-desc, .c-bgimg .uagb-ifb-desc, .c-dark .uagb-desc-text, .c-bgimg .uagb-desc-text { color: inherit; }

/* section headings: centred, with a small brush-like line */
.uagb-separator { width: 48px; height: 3px; background: var(--hinoki); border-radius: 2px; margin: 10px auto 0; opacity: .8; }
.uagb-is-root-container > .uagb-container-inner-blocks-wrap > :is(header, .wp-block-uagb-advanced-heading):first-child { margin-bottom: 8px; }

/* hero sections: text on the left, readable width */
.content > .c-bgimg.uagb-is-root-container:first-child, .content > section.c-bgimg:first-child { min-height: clamp(380px, 62vh, 620px); }
.c-bgimg .uagb-ifb-desc { max-width: 60ch; font-size: 1.05rem; }

/* media + text: image keeps its own shape, text sits beside it */
.wp-block-media-text { align-items: center; gap: clamp(24px, 4vw, 56px); }
.wp-block-media-text__media img { height: auto; aspect-ratio: 4 / 5; max-height: 520px; }
.wp-block-media-text.alignwide .wp-block-media-text__media img, .wp-block-media-text[style*="auto 20%"] .wp-block-media-text__media img { aspect-ratio: 3 / 4; }

/* lone wide photos between sections */
.uagb-is-root-container > .uagb-container-inner-blocks-wrap > .wp-block-uagb-image img { max-height: 520px; width: 100%; object-fit: cover; }

/* buttons: one style everywhere, natural size */
.uagb-buttons-repeater, .wp-block-button__link, .btn { padding: .8em 1.6em; font-size: .98rem; box-shadow: none; }
.uagb-infobox-cta-link:not(.wp-block-button__link) { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; text-decoration: none; }
.uagb-ifb-button-wrapper { margin-top: 10px; }

/* tables (prices): calmer */
table { border-radius: 12px; overflow: hidden; box-shadow: 0 1px 2px rgba(31, 42, 34, .06); }
th, td { border: 0; border-bottom: 1px solid var(--line); }
tr:last-child td { border-bottom: 0; }

/* FAQ */
.faq details { border: 0; box-shadow: 0 1px 2px rgba(31, 42, 34, .06); }

/* phones: tighter, calmer */
@media (max-width: 720px) {
  .uagb-is-root-container, .content > section, .content > .alignfull { padding-block: 40px; }
  h2.uagb-ifb-title, .uagb-heading-text { font-size: 1.6rem; }
  .content > .c-bgimg.uagb-is-root-container:first-child, .content > section.c-bgimg:first-child { min-height: 420px; }
}
/* core "columns" blocks follow the same rule as rows */
.wp-block-columns { display: grid !important; gap: clamp(20px, 3vw, 36px); align-items: start; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); }
.wp-block-columns:has(> :nth-child(2):last-child) { --n: 2; }
.wp-block-columns:has(> :nth-child(4):last-child) { --n: 4; }
.wp-block-columns:has(> :only-child) { --n: 1; }
.wp-block-column { flex-basis: auto !important; }
.wp-block-columns[style*="font-size:14px"] { font-size: 1rem !important; }
@media (max-width: 1000px) { .wp-block-columns:has(> :nth-child(4):last-child) { --n: 2; } }
@media (max-width: 720px) { .wp-block-columns { --n: 1 !important; } }
:is(.wp-block-columns) :is(.uagb-ifb-image-content, .wp-block-image, .wp-block-uagb-image) img { width: 100%; aspect-ratio: 4 / 3; height: auto; max-height: 540px; object-fit: cover; border-radius: 12px; }
.logos img { width: 160px; height: 64px; max-width: none; object-fit: contain; }
@media (max-width: 640px) { .logos img { width: 120px; height: 46px; } }
/* plain section headings get the same centred look as the builder headings */
.content > h2.wp-block-heading, .uagb-container-inner-blocks-wrap > h2.wp-block-heading, .content > .wp-block-heading:is(h2) { text-align: center; }
.content > h2.wp-block-heading::after, .uagb-container-inner-blocks-wrap > h2.wp-block-heading::after { content: ""; display: block; width: 48px; height: 3px; background: var(--hinoki); border-radius: 2px; margin: 12px auto 0; opacity: .8; }
/* timeline (pancake class): small markers */
.uagb-timeline__marker { width: 14px; height: 14px; border-radius: 50%; background: var(--matcha); flex: none; overflow: hidden; }
.uagb-timeline__marker svg { display: none; }
/* any single builder photo outside a row: not taller than a screen */
.content .wp-block-uagb-image img { max-height: 560px; object-fit: cover; }
.c-row > .wp-block-columns, .c-grid > .wp-block-columns, .wp-block-column > .wp-block-columns { margin: 0; }
:is(.c-row, .c-grid, .wp-block-columns) img { max-height: 540px; }

/* ---- fixes after owner review (Oct 3) ---- */
/* page titles: big again (the card-title size must not shrink h1) */
.content h1, h1.uagb-ifb-title, .uagb-heading-text:is(h1) { font-size: clamp(2.3rem, 1.3rem + 3.6vw, 4rem); line-height: 1.15; letter-spacing: .01em; }
.c-bgimg h1, .c-dark h1 { text-shadow: 0 2px 18px rgba(0, 0, 0, .25); }
.content h2.uagb-ifb-title, .content h2.uagb-heading-text, .content > h2, .uagb-container-inner-blocks-wrap > h2 { font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.6rem); }
.post-head h1 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3rem); }

/* title-only banners (Experience, Blog, Contact…): calm height, title centred */
.content > .c-dark.c-bg.uagb-is-root-container:first-child, .content > .wp-block-spacer:first-child + .c-dark.c-bg.uagb-is-root-container { padding-block: clamp(48px, 7vw, 88px); text-align: center; }
.content > .c-dark.c-bg.uagb-is-root-container:first-child .wp-block-uagb-info-box, .content > .wp-block-spacer:first-child + .c-dark.c-bg .wp-block-uagb-info-box { text-align: center; }

/* hero with photo: title larger and a bit higher, text block not squeezed */
.content > .c-bgimg.uagb-is-root-container:first-child > .uagb-container-inner-blocks-wrap, .content > section.c-bgimg:first-child > .uagb-container-inner-blocks-wrap { gap: 18px; }

/* galleries: every row fills the full width, photos share one height */
.gallery { gap: 10px; }
.gallery figure { flex: 1 1 calc((100% - (var(--cols, 3) - 1) * 10px) / var(--cols, 3)); min-width: 0; }
.gallery img { aspect-ratio: auto; height: clamp(170px, 19vw, 260px); width: 100%; object-fit: cover; }
@media (max-width: 640px) {
  .gallery figure { flex: 1 1 calc(50% - 5px); }
  .gallery img { height: 150px; }
  .gallery[data-odd] figure:first-child img { height: 220px; }
}
/* section headings: always centred */
.uagb-is-root-container > .uagb-container-inner-blocks-wrap > :is(header, .wp-block-uagb-info-box, .wp-block-uagb-advanced-heading):has(> .uagb-ifb-content > .uagb-ifb-title-wrap > h2:only-child, h2.uagb-heading-text),
.uagb-is-root-container > :is(header, .wp-block-uagb-info-box, .wp-block-uagb-advanced-heading):has(h2) { text-align: center; }
.uagb-is-root-container > .uagb-container-inner-blocks-wrap > :is(header, .wp-block-uagb-info-box):has(> .uagb-ifb-content > .uagb-ifb-title-wrap > h2:only-child) .uagb-ifb-title-wrap::after { content: ""; display: block; width: 48px; height: 3px; background: var(--hinoki); border-radius: 2px; margin: 12px auto 0; opacity: .8; }
.content h2.wp-block-heading { text-align: center; }

/* even rhythm between sections */
.uagb-is-root-container, .content > section, .content > .alignfull { padding-block: clamp(36px, 4.5vw, 64px); }
.uagb-is-root-container + .uagb-is-root-container:not(.c-bg):not(.c-bgimg) { padding-top: clamp(12px, 2vw, 28px); }

/* reviews: a calm grid instead of a scrolling strip */
.rv-list { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; padding: 4px 0 0; }
.rv-list > li:nth-child(n+7) { display: none; }
.reviews .reviews-link { margin-top: 22px; }
@media (max-width: 900px) { .rv-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } .rv-list > li:nth-child(n+5) { display: none; } }
@media (max-width: 600px) {
  .rv-list { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 82%; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
  .rv-list::-webkit-scrollbar { display: none; }
  .rv-list > li:nth-child(n+5) { display: flex; }
}
.wp-block-columns:has(> :only-child) > .wp-block-column > :is(header, .wp-block-uagb-advanced-heading):has(> h2) { text-align: center; }
.wp-block-columns:has(> :only-child) > .wp-block-column > :is(header, .wp-block-uagb-advanced-heading):has(> h2) .uagb-desc-text { margin-inline: auto; }

/* ==========================================================================
   DOYA! brand layer — header, footer, and the new page layouts.
   Mobile first: base rules are for phones, wider screens are added below.
   ========================================================================== */
body { background: var(--cream); color: var(--ink); font-family: var(--font-body); }
h1, h2, h3, h4 { font-family: var(--font-round); font-weight: 900; letter-spacing: .01em; }
a { color: var(--red-strong); }
a:hover { color: #A82812; }
::selection { background: var(--red); color: #fff; }
img { max-width: 100%; }

/* ---------- buttons ---------- */
.d-btn, .book-btn, .foot-cta-btn, .btn, .uagb-buttons-repeater, .wp-block-button__link {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px;
  border-radius: 999px; border: 0; cursor: pointer; text-decoration: none; white-space: nowrap;
  font: 700 1rem/1.2 var(--font-round); background: var(--red-strong); color: #fff !important;
  box-shadow: 0 4px 0 #9E2510; transition: transform .15s, box-shadow .15s;
}
.d-btn:hover, .book-btn:hover, .foot-cta-btn:hover, .btn:hover, .uagb-buttons-repeater:hover, .wp-block-button__link:hover { transform: translateY(2px); box-shadow: 0 2px 0 #9E2510; background: var(--red-strong); color: #fff !important; }
.d-btn svg, .book-btn svg { width: 1.15em; height: 1.15em; flex: none; }
.d-btn.bell:hover svg, .book-btn:hover svg { animation: ring .6s ease; transform-origin: 50% 10%; }
.d-btn.ghost, .btn-ghost { background: #fff; color: var(--red-strong) !important; box-shadow: inset 0 0 0 2px var(--red-strong), 0 4px 0 var(--line); }
.d-btn.ghost:hover, .btn-ghost:hover { background: var(--red-soft); }
.d-btn.ghost.light { background: transparent; color: #fff !important; box-shadow: inset 0 0 0 2px rgba(255,255,255,.85); }
.d-btn.ghost.light:hover { background: rgba(255,255,255,.12); }
.d-btn.wide { width: 100%; }
.d-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.d-btns.center { justify-content: center; }
@keyframes ring { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(16deg); } 40% { transform: rotate(-14deg); } 60% { transform: rotate(9deg); } 80% { transform: rotate(-5deg); } }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(248, 244, 236, .96); backdrop-filter: blur(8px); border-bottom: 0; box-shadow: 0 1px 0 var(--line); transition: box-shadow .2s; }
.site-header.scrolled { box-shadow: 0 8px 24px rgba(40, 24, 12, .08); }
.bar { max-width: var(--wrap); margin: 0 auto; padding: 8px var(--gut); display: flex; align-items: center; gap: 10px; min-height: 64px; }
.brand { margin-right: auto; display: block; line-height: 0; }
.brand img { height: 40px; width: auto; }
.book-btn { min-height: 42px; padding: 8px 16px; font-size: .95rem; order: 2; }
.menu-btn { display: grid; order: 3; gap: 5px; width: 44px; height: 44px; padding: 12px 10px; background: none; border: 0; cursor: pointer; }
.menu-btn span { display: block; height: 2.5px; border-radius: 2px; background: var(--ink); transition: transform .2s, opacity .2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
.site-nav { position: fixed; inset: 64px 0 0 0; z-index: 59; display: none; background: var(--cream); padding: 10px var(--gut) 48px; overflow: auto; max-height: none; border: 0; }
.site-nav.open { display: block; animation: navin .25s ease; }
@keyframes navin { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav > ul { display: flex; flex-direction: column; gap: 2px; }
.site-nav a, .mega-btn { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 8px; padding: 15px 8px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: none; color: var(--ink); text-decoration: none; font: 700 1.15rem/1.3 var(--font-round); cursor: pointer; text-align: left; }
.site-nav a[aria-current] { color: var(--red); background: none; }
.mega-btn span { width: 9px; height: 9px; border-right: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: rotate(45deg); transition: transform .2s; margin-right: 6px; }
.has-mega.open .mega-btn span { transform: rotate(-135deg); }
.mega { display: none; padding: 10px 0 14px; }
.has-mega.open .mega { display: block; }
.mega ul { display: grid; gap: 8px; }
.mega a { display: flex; gap: 12px; align-items: center; justify-content: flex-start; padding: 8px; border: 0; border-radius: 14px; background: #fff; font-size: 1rem; box-shadow: var(--shadow); }
.mega img { width: 84px; height: 64px; object-fit: cover; border-radius: 10px; flex: none; }
.mega strong { display: block; font: 700 1rem/1.35 var(--font-round); }
.mega small { display: block; color: var(--ink-2); font: 500 .85rem/1.4 var(--font-body); }
.mega-all { margin: 12px 0 0; }
.mega-all a { border: 0; box-shadow: none; background: none; color: var(--red-strong); padding: 6px 4px; justify-content: flex-start; }
body.menu-open { overflow: hidden; }

@media (min-width: 1000px) {
  .brand img { height: 48px; }
  .menu-btn { display: none; }
  .book-btn { order: 3; }
  .site-nav { position: static; display: block; transform: none; padding: 0; background: none; overflow: visible; order: 2; animation: none; }
  .site-nav > ul { flex-direction: row; align-items: center; gap: 2px; }
  .site-nav a, .mega-btn { width: auto; border: 0; border-radius: 999px; padding: 10px 14px; font-size: .98rem; }
  .site-nav a:hover, .mega-btn:hover, .has-mega.open .mega-btn { background: var(--red-soft); color: var(--red-strong); }
  .has-mega { position: static; }
  .mega { display: block; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 3px solid var(--red); box-shadow: 0 24px 48px rgba(40, 24, 12, .14);
    padding: 22px max(var(--gut), calc((100% - var(--wrap)) / 2 + var(--gut))) 26px; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s; }
  .has-mega.open .mega { opacity: 1; visibility: visible; transform: none; }
  .mega ul { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .mega a { box-shadow: none; background: none; }
  .mega a:hover { background: var(--red-soft); }
  .mega a:hover img { transform: scale(1.05) rotate(-1.5deg); }
  .mega img { width: 104px; height: 76px; transition: transform .25s; }
  .mega-all { text-align: right; }
}

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #E9E2D8; padding: 0 0 28px; margin: 0; }
.foot-cta { background: var(--red); color: #fff; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 4px 16px; padding: 26px var(--gut); position: relative; overflow: hidden; }
.foot-cta > div { min-width: 0; }
.foot-cta-text { font: 400 clamp(1.6rem, 1.1rem + 2vw, 2.4rem)/1.15 var(--font-display); margin: 0; }
.foot-cta-text span { color: #FFE0D6; }
.foot-cta-sub { margin: 4px 0 0; color: #FFE9E2; font: 700 .95rem/1.5 var(--font-round); }
.foot-cta-btn { grid-column: 1 / -1; background: #fff; color: var(--red-strong) !important; box-shadow: 0 4px 0 rgba(0,0,0,.2); justify-self: start; margin-top: 10px; }
.foot-cta-btn:hover { background: #fff; color: var(--red-strong) !important; box-shadow: 0 2px 0 rgba(0,0,0,.2); }
.foot-chara { width: 84px; height: auto; transform: translateY(40px); opacity: 0; transition: transform .6s cubic-bezier(.3, 1.6, .5, 1), opacity .4s; animation: none; }
.foot-chara.in { transform: none; opacity: 1; animation: bob 3.4s ease-in-out .8s infinite; }
.foot-inner { max-width: var(--wrap); margin: 0 auto; padding: 36px var(--gut) 0; display: grid; gap: 28px; grid-template-columns: 1fr; }
.foot-brand img { width: 180px; height: auto; margin-bottom: 10px; }
.foot-brand p { margin: 0; color: #CFC6BA; font-size: .95rem; }
.foot-contact p { margin: 0 0 6px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: #FFD3C7; text-decoration: underline; }
.foot-links ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.copy { max-width: var(--wrap); margin: 30px auto 0; padding: 0 var(--gut); color: #A99F94; font-size: .85rem; }
@media (min-width: 760px) {
  .foot-cta { grid-template-columns: auto 1fr auto; justify-content: center; padding: 30px max(var(--gut), calc((100% - var(--wrap)) / 2 + var(--gut))); }
  .foot-cta-btn { grid-column: auto; justify-self: end; margin-top: 0; }
  .foot-chara { width: 104px; }
  .foot-inner { grid-template-columns: 1.4fr 1fr 1fr; }
}

/* ---------- Doyakichi ---------- */
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-7px) rotate(-1.5deg); } }
@keyframes wave { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-8deg); } 50% { transform: rotate(6deg); } 75% { transform: rotate(-4deg); } }
@keyframes pop { 0% { transform: scale(.3); opacity: 0; } 70% { transform: scale(1.08); opacity: 1; } 100% { transform: scale(1); opacity: 1; } }
.chara-wrap { position: relative; margin: 0; }
.chara { display: block; width: 100%; height: auto; transform-origin: 50% 95%; animation: bob 3.6s ease-in-out infinite; }
.chara:hover { animation: wave .8s ease-in-out; }
.chara-wrap .bubble { position: absolute; left: 50%; top: -6px; transform-origin: 20% 100%; background: #fff; color: var(--ink); font: 700 .92rem/1.25 var(--font-round); padding: 8px 12px; border-radius: 14px; box-shadow: var(--shadow); white-space: nowrap; opacity: 0; }
.chara-wrap .bubble::after { content: ""; position: absolute; left: 14px; bottom: -6px; width: 12px; height: 12px; background: #fff; transform: rotate(45deg); }
.chara-wrap.in .bubble { animation: pop .55s cubic-bezier(.3, 1.6, .5, 1) .3s forwards; }
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .chara, .foot-chara.in { animation: none !important; }
  [data-reveal], .foot-chara { opacity: 1 !important; transform: none !important; transition: none; }
  .chara-wrap .bubble { opacity: 1; animation: none !important; }
}

/* ---------- shared section pieces ---------- */
.d-main { display: block; overflow-x: clip; }
.d-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.d-wrap.narrow { max-width: 860px; }
.d-sec { padding: var(--space) 0; }
.d-sec.tight { padding: calc(var(--space) * .55) 0; }
.d-sec.white { background: #fff; }
.d-sec.soft { background: var(--cream-2); }
.d-head { margin: 0 0 clamp(24px, 4vw, 40px); }
.d-head.center { text-align: center; }
.d-head.with-chara { position: relative; }
.d-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 8px; color: var(--red); font: 700 .82rem/1 var(--font-round); letter-spacing: .14em; text-transform: uppercase; }
.d-eyebrow::before { content: ""; width: 20px; height: 20px; flex: none; background: url(/brand/doya-mark-small-red.svg) center / contain no-repeat; }
.d-h2 { font-size: clamp(1.7rem, 1.2rem + 2.2vw, 2.6rem); line-height: 1.25; margin: 0; }
.d-h2.small { font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2rem); }
.d-text p, .d-text { color: var(--ink-2); line-height: 1.9; font-size: 1.02rem; }
.d-text p { margin: 0 0 1em; }

/* ---------- program page ---------- */
.p-hero { position: relative; color: #fff; background: #3A2A20 var(--img) center / cover no-repeat; overflow: hidden; }
.p-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30, 18, 10, .25) 0%, rgba(30, 18, 10, .78) 72%); }
.p-hero .d-wrap { position: relative; padding-top: 22px; padding-bottom: 150px; }
.crumb { display: flex; flex-wrap: wrap; gap: 6px; font-size: .85rem; margin: 0 0 clamp(60px, 12vw, 120px); }
.crumb a { color: #fff; text-decoration: none; opacity: .9; }
.crumb span { opacity: .75; }
.p-hero .tag { display: inline-block; margin: 0 0 12px; padding: 6px 12px; border-radius: 999px; background: var(--red); font: 700 .82rem/1 var(--font-round); }
.p-hero h1 { font: 400 clamp(2.3rem, 1.4rem + 4.4vw, 4.4rem)/1.08 var(--font-display); margin: 0 0 14px; max-width: 15ch; text-shadow: 0 2px 16px rgba(0,0,0,.25); }
.p-hero .lead p { margin: 0 0 .3em; color: #FFF2EC; font-size: clamp(1rem, .95rem + .3vw, 1.15rem); line-height: 1.7; max-width: 46ch; }
.p-hero-chara { position: absolute; right: 6px; bottom: -8px; width: 118px; }
.p-hero-chara .bubble { left: auto; right: 70%; top: 4px; }
.p-hero-chara .bubble::after { left: auto; right: 14px; }
@media (min-width: 860px) { .p-hero .d-wrap { padding-bottom: 96px; } .p-hero-chara { width: 200px; right: max(16px, calc((100% - var(--wrap)) / 2)); } }

.intro-grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .intro-grid { grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; align-items: start; } }
.board { position: relative; background: var(--board); color: #F4F1E8; border: 10px solid var(--wood); border-radius: 14px; padding: 20px 20px 22px; box-shadow: var(--shadow), inset 0 0 40px rgba(0,0,0,.25); }
.board::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: -10px; height: 6px; background: #8B6438; border-radius: 3px; }
.board-title { margin: 0 0 12px; font: 400 1.5rem/1.2 var(--font-display); color: #fff; }
.board-title span { display: block; font: 700 .9rem/1.4 var(--font-round); color: #CFE3D6; margin-top: 2px; }
.board ul { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; }
.board li { display: grid; grid-template-columns: 26px 88px 1fr; align-items: center; gap: 8px; padding-bottom: 10px; border-bottom: 1px dashed rgba(255,255,255,.22); }
.board li:last-child { border-bottom: 0; padding-bottom: 0; }
.board .ic { color: #FFD9A8; width: 22px; height: 22px; }
.board .ic svg { width: 22px; height: 22px; display: block; }
.board .k { color: #CFE3D6; font-size: .85rem; }
.board .v { font: 700 1rem/1.35 var(--font-round); }
.board .d-btn { width: 100%; }
@media (min-width: 900px) { .board { position: sticky; top: 90px; } }

.snaps { display: grid; grid-auto-flow: column; grid-auto-columns: 62%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 4px 18px; margin: 0 calc(var(--gut) * -1); padding-inline: var(--gut); scrollbar-width: none; }
.snaps::-webkit-scrollbar { display: none; }
.snaps figure { scroll-snap-align: center; }
.snaps figure { margin: 0; background: #fff; padding: 6px 6px 18px; border-radius: 6px; box-shadow: var(--shadow); transform: rotate(var(--r)); transition: transform .3s; }
.snaps figure:hover { transform: rotate(0) scale(1.03); z-index: 1; }
.snaps img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 3px; display: block; }
@media (min-width: 700px) { .snaps { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(4, 1fr); gap: 18px; overflow: visible; margin: 0; padding: 8px 0 0; } }

.feat-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.feat-grid li { background: var(--cream); border-radius: var(--radius); overflow: hidden; }
.feat-grid img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.feat-grid h3 { font-size: 1.15rem; margin: 16px 18px 6px; }
.feat-grid p { margin: 0 18px 8px; color: var(--ink-2); font-size: .95rem; line-height: 1.75; }
.feat-grid p:last-child { margin-bottom: 20px; }
@media (min-width: 640px) { .feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .feat-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

.head-chara { display: none; }
@media (min-width: 900px) { .head-chara { display: block; position: absolute; right: 0; top: -40px; width: 130px; } .head-chara .bubble { left: auto; right: 80%; } .head-chara .bubble::after { left: auto; right: 14px; } }
.timetable { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.timetable li { position: relative; display: grid; grid-template-columns: 112px 1fr; gap: 14px; align-items: start; background: #fff; border-radius: var(--radius); padding: 12px; box-shadow: var(--shadow); }
.timetable .period { position: absolute; left: 6px; top: 6px; z-index: 1; background: var(--red); color: #fff; font: 700 .78rem/1 var(--font-round); padding: 6px 10px; border-radius: 999px; box-shadow: 0 2px 0 #9E2510; }
.timetable img { width: 112px; height: 112px; object-fit: cover; border-radius: 12px; }
.timetable h3 { font-size: 1.08rem; margin: 4px 0 4px; }
.timetable p { margin: 0; color: var(--ink-2); font-size: .94rem; line-height: 1.7; }
@media (min-width: 900px) {
  .timetable { grid-template-columns: repeat(var(--n, 4), 1fr); gap: 20px; }
  .timetable li { display: block; padding: 0; overflow: hidden; }
  .timetable img { width: 100%; height: auto; aspect-ratio: 4 / 3; border-radius: 0; }
  .timetable li > div { padding: 14px 18px 20px; }
  .timetable .period { left: 12px; top: 12px; }
}

.story { display: grid; gap: 24px; align-items: center; }
.story img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow); }
@media (min-width: 860px) { .story { grid-template-columns: 1fr 1.1fr; gap: 56px; } }

.how { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: how; }
.how li { counter-increment: how; position: relative; background: #fff; border-radius: var(--radius); padding: 22px 20px 20px 74px; box-shadow: var(--shadow); }
.how li::before { content: counter(how); position: absolute; left: 18px; top: 20px; width: 40px; height: 40px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font: 400 1.3rem/1 var(--font-display); }
.how h3 { margin: 0 0 4px; font-size: 1.1rem; }
.how p { margin: 0; color: var(--ink-2); font-size: .95rem; line-height: 1.7; }
@media (min-width: 860px) { .how { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

.d-faq { display: grid; gap: 10px; }
.d-faq details { background: #fff; border-radius: 16px; box-shadow: var(--shadow); padding: 0 18px; }
.d-faq summary { list-style: none; cursor: pointer; padding: 16px 32px 16px 0; position: relative; font: 700 1rem/1.5 var(--font-round); }
.d-faq summary::-webkit-details-marker { display: none; }
.d-faq summary::before { content: "Q."; color: var(--red); margin-right: 8px; font-family: var(--font-display); font-weight: 400; }
.d-faq summary::after { content: "+"; position: absolute; right: 0; top: 12px; font: 400 1.5rem/1 var(--font-display); color: var(--red); transition: transform .2s; }
.d-faq details[open] summary::after { transform: rotate(45deg); }
.d-faq .a { padding: 0 0 16px; color: var(--ink-2); line-height: 1.8; }
.d-faq .a p { margin: 0 0 .5em; }

.sticky-book { position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 55; display: flex; align-items: center; justify-content: space-between; gap: 10px; background: #fff; border-radius: 999px; padding: 6px 6px 6px 18px; box-shadow: 0 10px 30px rgba(40, 24, 12, .22); transform: translateY(140%); transition: transform .3s ease; }
.sticky-book span { min-width: 0; font-size: .82rem; color: var(--ink-2); line-height: 1.3; }
.sticky-book strong { display: block; color: var(--ink); font: 700 .95rem/1.25 var(--font-round); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-book .d-btn { min-height: 44px; padding: 8px 18px; }
body.scrolled-past .sticky-book { transform: none; }
@media (min-width: 900px) { .sticky-book { display: none; } }
.layout-program .site-footer { padding-bottom: 96px; }
@media (min-width: 900px) { .layout-program .site-footer { padding-bottom: 28px; } }

/* ---------- reviews (report card) ---------- */
.reviews { max-width: none; }
.rv-head { justify-content: center; }
.rv-card { border: 0 !important; border-radius: var(--radius); box-shadow: var(--shadow); background: #fff; position: relative; }
.rv-avatar { background: var(--red); }
.rv-title { font-family: var(--font-round); font-weight: 900; }
.rv-stars { color: #F2A900; }

/* ---------- small page header + plan + booking ---------- */
.page-head { background: var(--red); color: #fff; padding: 26px 0 30px; }
.page-head .crumb { margin: 0 0 14px; }
.page-head h1 { margin: 0; font: 400 clamp(2rem, 1.4rem + 2.6vw, 3.2rem)/1.1 var(--font-display); }
.page-head p { margin: 6px 0 0; color: #FFE6DE; font: 700 1rem/1.4 var(--font-round); }
.plan-grid { display: grid; gap: 24px; align-items: start; }
@media (min-width: 860px) { .plan-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px; } }
.ticket { position: relative; background: #fff; border-radius: 22px; padding: 26px 22px; box-shadow: var(--shadow); border-top: 8px solid var(--red); }
.ticket-name { margin: 0; font: 700 1.1rem/1.4 var(--font-round); }
.ticket-price { margin: 6px 0 18px; font: 400 clamp(2.4rem, 2rem + 2vw, 3.2rem)/1 var(--font-display); color: var(--red); }
.ticket-price small { font: 700 1rem/1 var(--font-round); color: var(--ink-2); margin-left: 6px; }
.ticket h2, .note-card h2 { font-size: 1rem; margin: 18px 0 8px; color: var(--ink); }
.checks, .addons, .note-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.checks li { position: relative; padding-left: 30px; line-height: 1.6; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-size: .75rem; font-weight: 700; }
.addons li { padding: 10px 14px; background: var(--cream); border-radius: 12px; }
.ticket .d-btn { margin-top: 22px; }
.note-card { border-radius: 18px; padding: 6px 20px 18px; border: 2px dashed var(--line); background: #FFFDF8 repeating-linear-gradient(transparent 0 31px, #EFE6D6 31px 32px); }
.note-card li { line-height: 2; }
.plan-chara { width: 150px; margin: 0 auto 12px; }
.plan-chara .bubble { left: 70%; }
.booking-help { margin: 0 0 14px; color: var(--ink-2); }
.booking-card { background: #fff; border-radius: 22px; padding: 10px; box-shadow: var(--shadow); min-height: 420px; }
.booking-card .booking { background: none; padding: 0; }

/* ---------- きちんと版（出張茶道・法人向け） ---------- */
.theme-kichin .site-header { background: rgba(255, 255, 255, .97); }
.theme-kichin .brand img { height: 34px; }
.theme-kichin .book-btn, .theme-kichin .d-btn, .theme-kichin .btn { background: var(--navy); box-shadow: 0 4px 0 #142550; }
.theme-kichin .d-btn.ghost { background: #fff; color: var(--navy) !important; box-shadow: inset 0 0 0 2px var(--navy); }
.theme-kichin .d-eyebrow { color: var(--navy); }
.theme-kichin .d-eyebrow::before { width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.theme-kichin .foot-cta { background: var(--navy); }
.theme-kichin .foot-chara { display: none; }
.theme-kichin .foot-cta-btn { color: var(--navy) !important; }
.theme-kichin .page-head, .theme-kichin .k-hero { background: var(--navy); }
.theme-kichin .chara-wrap { display: none; }

/* ---------- home ---------- */
.h-hero { position: relative; overflow: hidden; background: var(--cream); }
.h-hero::before { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -160px; border-radius: 50%; background: var(--red-soft); }
.h-hero-in { position: relative; display: grid; gap: 22px; padding-top: 26px; padding-bottom: 44px; }
.h-kicker { display: inline-block; margin: 0 0 12px; padding: 6px 12px; border-radius: 999px; background: var(--ink); color: #fff; font: 700 .82rem/1.2 var(--font-round); }
.h-hero h1 { margin: 0 0 14px; font: 400 clamp(3rem, 1.6rem + 6.4vw, 6rem)/.98 var(--font-display); color: var(--ink); letter-spacing: 0; }
.h-hero h1 em { font-style: normal; color: var(--red); }
.h-lead { margin: 0; color: var(--ink-2); font-size: clamp(1.02rem, .95rem + .35vw, 1.2rem); line-height: 1.8; max-width: 44ch; }
.h-chips { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; max-width: 440px; }
.h-chips li { background: #fff; border-radius: 14px; padding: 10px 12px; font-size: .88rem; color: var(--ink-2); box-shadow: var(--shadow); }
.h-chips strong { display: block; color: var(--red); font: 400 1.3rem/1.1 var(--font-display); }
.h-hero-art { position: relative; aspect-ratio: 1 / .92; max-width: 520px; width: 100%; justify-self: center; }
.h-hero-art .ph { position: absolute; object-fit: cover; border-radius: 18px; border: 5px solid #fff; box-shadow: 0 14px 34px rgba(40, 24, 12, .18); }
.h-hero-art .ph1 { width: 62%; aspect-ratio: 4 / 5; left: 0; top: 2%; transform: rotate(-4deg); }
.h-hero-art .ph2 { width: 50%; aspect-ratio: 1; right: 0; top: 0; transform: rotate(4deg); }
.h-hero-art .ph3 { width: 46%; aspect-ratio: 4 / 3; right: 4%; bottom: 0; transform: rotate(-2deg); }
.h-chara { position: absolute; width: 40%; left: 30%; bottom: -6%; }
.h-chara .chara { filter: drop-shadow(0 10px 16px rgba(40, 24, 12, .22)); }
.h-chara .bubble { left: -30%; top: 6%; }
@media (min-width: 900px) {
  .h-hero-in { grid-template-columns: 1.05fr 1fr; align-items: center; gap: 56px; padding-top: 56px; padding-bottom: 84px; }
  .h-chips { grid-template-columns: repeat(4, 1fr); max-width: none; }
}

.word-board { position: relative; max-width: 860px; margin: 0 auto; background: var(--board); color: #F4F1E8; border: 12px solid var(--wood); border-radius: 16px; padding: 26px 22px 30px; text-align: center; box-shadow: var(--shadow), inset 0 0 50px rgba(0,0,0,.28); }
.word-board::after { content: ""; position: absolute; left: 24px; right: 24px; bottom: -12px; height: 7px; background: #8B6438; border-radius: 3px; }
.wb-label { margin: 0; font: 700 .82rem/1 var(--font-round); letter-spacing: .16em; text-transform: uppercase; color: #CFE3D6; }
.wb-word { margin: 10px 0 6px; font: 400 clamp(3rem, 2rem + 5vw, 5.4rem)/1 var(--font-display); color: #fff; }
.wb-word span { font-size: .5em; color: #FFD9A8; vertical-align: middle; margin-left: .2em; }
.wb-def { margin: 0 auto 10px; font: 700 clamp(1.1rem, 1rem + .6vw, 1.45rem)/1.5 var(--font-round); max-width: 30ch; }
.wb-note { margin: 0 auto; max-width: 52ch; color: #DDE7DF; line-height: 1.8; font-size: .98rem; }

.d-sub { margin: 10px 0 0; color: var(--ink-2); line-height: 1.7; }
.d-head.with-chara .head-chara { top: -54px; }
.also { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.also li { background: #fff; border: 2px dashed var(--line); border-radius: 16px; padding: 14px 16px; color: var(--ink-2); line-height: 1.6; }
.also strong { display: block; color: var(--ink); font-family: var(--font-round); }
@media (min-width: 760px) { .also { grid-template-columns: 1fr 1fr; } }

.split { display: grid; gap: 26px; align-items: center; }
.split .photo { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow); }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; gap: 56px; } }
.band-navy { background: var(--navy); color: #fff; }
.band-navy .d-h2 { color: #fff; }
.d-eyebrow.light { color: #C9D3EA; }
.d-eyebrow.light::before { background: none; width: 8px; height: 8px; border-radius: 50%; background-color: var(--red); }
.d-text.light, .d-text.light p { color: #DCE2F0; }
.d-btn.white { background: #fff; color: var(--navy) !important; box-shadow: 0 4px 0 rgba(0,0,0,.25); }
.d-btn.white:hover { background: #fff; color: var(--navy) !important; }
.d-main .map { position: relative; width: 100%; height: 320px; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); }
.d-main .map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.d-main .post-list { padding: 0; max-width: none; margin: 0; }

/* ---------- program cards (home, lists) ---------- */
.pg-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 640px) { .pg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1000px) { .pg-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; } }
.pg-card a { position: relative; display: flex; flex-direction: column; height: 100%; background: #fff; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; }
.pg-card a:hover { transform: translateY(-4px); box-shadow: 0 4px 8px rgba(40, 24, 12, .06), 0 22px 44px rgba(40, 24, 12, .14); color: var(--ink); }
.pg-img { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.pg-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.pg-card a:hover .pg-img img { transform: scale(1.06); }
.pg-tag { position: absolute; left: 12px; top: 12px; background: var(--red); color: #fff; font: 700 .78rem/1 var(--font-round); padding: 7px 11px; border-radius: 999px; }
.pg-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; flex: 1; }
.pg-name { font: 900 1.18rem/1.35 var(--font-round); padding-right: 40px; }
.pg-desc { color: var(--ink-2); font-size: .93rem; line-height: 1.7; flex: 1; }
.pg-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-top: 6px; padding-top: 12px; border-top: 1px dashed var(--line); font-size: .88rem; color: var(--ink-2); }
.pg-meta strong { color: var(--red-strong); font: 700 1.05rem/1 var(--font-round); }
.pg-go { position: absolute; right: 14px; top: calc((100vw - 2 * var(--gut)) * .625 - 22px); width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--red-strong); display: grid; place-items: center; font-weight: 700; box-shadow: var(--shadow); transition: transform .2s, background .2s, color .2s; }
@media (min-width: 640px) { .pg-go { top: auto; bottom: 64px; } }
.pg-card a:hover .pg-go { background: var(--red-strong); color: #fff; transform: translateX(4px); }
@media (max-width: 639px) {
  .pg-grid { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 80%; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--gut) * -1); padding: 4px var(--gut) 18px; scrollbar-width: none; }
  .pg-grid::-webkit-scrollbar { display: none; }
  .pg-card { scroll-snap-align: center; }
  .pg-go { top: calc(80vw * .625 - 22px); }
}

/* ---------- service pages (きちんと版) ---------- */
.k-hero { background: var(--navy); color: #fff; overflow: hidden; }
.k-hero-in { display: grid; gap: 24px; padding-top: 34px; padding-bottom: 40px; align-items: center; }
.k-hero h1 { margin: 0 0 12px; font: 700 clamp(2rem, 1.4rem + 2.8vw, 3.2rem)/1.2 var(--font-round); color: #fff; }
.k-hero .lead p { margin: 0; color: #DCE2F0; line-height: 1.85; font-size: 1.05rem; max-width: 46ch; }
.k-hero-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; box-shadow: 0 18px 40px rgba(0, 0, 0, .3); }
@media (min-width: 900px) { .k-hero-in { grid-template-columns: 1.1fr 1fr; gap: 56px; padding-top: 64px; padding-bottom: 72px; } .k-hero-img { aspect-ratio: 4 / 5; max-height: 520px; } }
.k-trust { background: #fff; border-bottom: 1px solid var(--line); }
.k-trust .d-wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 28px; padding-top: 18px; padding-bottom: 18px; }
.k-trust p { margin: 0; font: 700 .8rem/1 var(--font-round); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.k-logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 30px; }
.k-logos img { width: 120px; height: 42px; object-fit: contain; mix-blend-mode: multiply; }
.k-video { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); background: #000; }
.k-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.k-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.k-points li { background: var(--cream); border-radius: 16px; overflow: hidden; border-top: 3px solid var(--navy); }
.k-points img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.k-points h3 { margin: 16px 18px 6px; font-size: 1.12rem; color: var(--navy); }
.k-points p { margin: 0 18px 10px; color: var(--ink-2); line-height: 1.75; font-size: .95rem; }
.k-points p:last-child { margin-bottom: 18px; }
@media (min-width: 700px) { .k-points { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .k-points:has(> :nth-child(3):last-child) { grid-template-columns: repeat(3, 1fr); } .k-points:has(> :nth-child(4):last-child) { grid-template-columns: repeat(4, 1fr); } }
.k-plans { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.k-plans li { background: #fff; border-radius: 16px; padding: 18px 20px; box-shadow: var(--shadow); border-left: 5px solid var(--navy); }
.k-size { margin: 0; font: 700 1.05rem/1.3 var(--font-round); color: var(--navy); }
.k-base { margin: 6px 0 0; color: var(--ink-2); font-size: .9rem; }
.k-price { margin: 4px 0 0; font: 700 1.3rem/1.3 var(--font-round); color: var(--ink); }
.k-note { margin: 6px 0 0; color: var(--ink-2); font-size: .9rem; line-height: 1.6; }
@media (min-width: 760px) { .k-plans { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .k-plans { grid-template-columns: repeat(var(--n, 3), 1fr); } .k-plans:has(> :nth-child(4):last-child) { --n: 4; } .k-plans:has(> :nth-child(5):last-child) { --n: 5; } }
.k-sub { text-align: center; margin: 40px 0 14px; font-size: 1.2rem; color: var(--navy); }
.k-options { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.k-options li { display: grid; gap: 2px; background: #fff; border-radius: 14px; padding: 14px 18px; border: 1px solid var(--line); }
.k-options span { color: var(--ink-2); font-size: .92rem; }
.k-options em { font-style: normal; font-weight: 700; color: var(--navy); }
@media (min-width: 760px) { .k-options { grid-template-columns: repeat(2, 1fr); } }
.k-flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.k-flow li { display: grid; gap: 14px; grid-template-columns: 1fr; background: #fff; border-radius: 16px; padding: 16px; box-shadow: var(--shadow); }
.k-flow li:has(img) { grid-template-columns: 96px 1fr; align-items: start; }
.k-flow img { width: 96px; height: 96px; object-fit: cover; border-radius: 12px; }
.k-flow h3 { margin: 2px 0 6px; font-size: 1.08rem; color: var(--navy); }
.k-flow p { margin: 0; color: var(--ink-2); font-size: .94rem; line-height: 1.75; }
@media (min-width: 1000px) { .k-flow { grid-template-columns: repeat(4, 1fr); gap: 18px; } .k-flow li, .k-flow li:has(img) { grid-template-columns: 1fr; } .k-flow img { width: 100%; height: auto; aspect-ratio: 4 / 3; } }
.k-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.k-gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; }
@media (min-width: 760px) { .k-gallery { grid-template-columns: repeat(4, 1fr); gap: 14px; } }
.k-appeal { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.k-appeal li { padding: 18px 20px; border-radius: 14px; background: var(--cream); }
.k-appeal h3 { margin: 0 0 6px; font-size: 1.05rem; color: var(--navy); }
.k-appeal h3::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--red); margin-right: 8px; vertical-align: middle; }
.k-appeal p { margin: 0; color: var(--ink-2); line-height: 1.75; font-size: .95rem; }
@media (min-width: 760px) { .k-appeal { grid-template-columns: repeat(2, 1fr); } }
.k-foot { text-align: center; color: var(--ink-2); margin: 22px 0 0; font-size: .92rem; }
.k-contact { background: var(--navy-soft); }
.theme-kichin .contact-form .btn { background: var(--navy); box-shadow: 0 4px 0 #142550; }
.theme-kichin .rv-avatar { background: var(--navy); }
.theme-kichin .d-h2 { color: var(--navy); }
.theme-kichin .k-hero .d-h2, .theme-kichin .band-navy .d-h2 { color: #fff; }
.contact-form { border: 0; box-shadow: var(--shadow); border-radius: 20px; }
.contact-form input, .contact-form textarea { background: #fff; border: 1.5px solid var(--line); border-radius: 12px; min-height: 48px; font-size: 1rem; }
.contact-form input:focus, .contact-form textarea:focus { outline: 3px solid var(--red-soft); border-color: var(--red); }
.theme-kichin .contact-form input:focus, .theme-kichin .contact-form textarea:focus { outline-color: var(--navy-soft); border-color: var(--navy); }
.contact-form .btn { width: 100%; min-height: 52px; font-size: 1.05rem; }
.h-hero h1.ja { font-size: clamp(2.4rem, 1.4rem + 4.6vw, 4.4rem); line-height: 1.15; }
.h-chips li strong { white-space: nowrap; }
.pg-go { top: auto !important; right: 12px; bottom: 12px; }
.pg-name { padding-right: 0; }
/* contact + faq */
.c-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.c-cards li { display: grid; gap: 4px; background: #fff; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.c-cards .c-ic { width: 44px; height: 44px; border-radius: 50%; background: var(--red-soft); display: grid; place-items: center; font-size: 1.2rem; margin-bottom: 6px; }
.c-cards strong { font-family: var(--font-round); }
.c-cards a { font: 700 1.1rem/1.4 var(--font-round); text-decoration: none; overflow-wrap: anywhere; }
.c-cards small { color: var(--ink-2); font-size: .88rem; line-height: 1.6; }
@media (min-width: 860px) { .c-cards { grid-template-columns: repeat(3, 1fr); } }
.c-grid2 { display: grid; gap: 32px; align-items: start; }
@media (min-width: 960px) { .c-grid2 { grid-template-columns: 1.2fr 1fr; gap: 56px; } }
.c-chara { width: 130px; margin: 0 0 14px auto; }
.c-chara .bubble { left: auto; right: 70%; }
.c-chara .bubble::after { left: auto; right: 14px; }
.d-main .contact-form { max-width: none; margin: 0; background: #fff; }
.center-box { text-align: center; }
.faq-chara { width: 120px; margin: 0 auto 6px; }
.faq-chara .bubble { left: 75%; }
.policy { background: #fff; border-radius: 22px; padding: 8px 24px 24px; box-shadow: var(--shadow); }
.policy h2 { font-size: 1.3rem; margin: 22px 0 8px; color: var(--red); }
.policy p { line-height: 1.85; color: var(--ink-2); }
.thanks-chara { width: 170px; margin: 30px auto 10px; }
.thanks-chara .bubble { left: 72%; }
.thanks-h1 { font: 400 clamp(2rem, 1.4rem + 2.6vw, 3rem)/1.2 var(--font-display); margin: 0 0 10px; }
.d-main .cat-filter { padding: 0; }
/* older pages: hero titles in the brand display font */
.content > .c-bgimg h1, .content > .c-dark h1, .content > section.c-bgimg h1 { font-family: var(--font-display); font-weight: 400; letter-spacing: 0; }
.content .uagb-separator { background: var(--red); }

/* School entrance photo (access / contact) */
.entrance { margin: 20px 0 0; }
.entrance img { display: block; width: 100%; max-width: 480px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; box-shadow: var(--shadow); }
.entrance figcaption { margin-top: 8px; font-size: .9rem; color: var(--ink-2); }

