/* ============================================================
   KS CAFE stylesheet
   色・文字サイズは下の :root の値を変えると全体へ反映されます。
============================================================ */
:root {
  --ivory: #f8f4ed;
  --paper: #fffdf9;
  --blue: #5d87aa;
  --blue-deep: #3e6d92;
  --blue-pale: #dbe7ef;
  --ink: #262b2d;
  --muted: #687176;
  --brown: #5d4436;
  --line: rgba(38, 43, 45, .14);
  --shadow: 0 20px 60px rgba(39, 55, 64, .12);
  --radius: 18px;
  --container: 1120px;
  --header-height: 82px;
}

/* ===== 基本設定 ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-height); }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Noto Sans JP", sans-serif; line-height: 1.9; letter-spacing: .035em; }
body.nav-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, summary, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #f2a93b; outline-offset: 4px; }
.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.section { padding: 112px 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 2000; top: 8px; left: 8px; padding: 10px 18px; transform: translateY(-150%); color: #fff; background: var(--blue-deep); border-radius: 8px; }
.skip-link:focus { transform: translateY(0); }
.sp-only { display: none; }

/* ===== ヘッダー ===== */
.site-header { position: fixed; z-index: 1000; inset: 0 0 auto; height: var(--header-height); background: rgba(255,253,249,.94); border-bottom: 1px solid transparent; transition: .3s; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 30px rgba(39,55,64,.08); backdrop-filter: blur(14px); }
.header-inner { width: min(calc(100% - 40px), 1240px); height: 100%; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand-mark { width: 48px; aspect-ratio: 1; display: grid; place-items: center; flex: 0 0 auto; overflow: hidden; background: #fff; border-radius: 50%; }
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.brand-name { font-size: 14px; font-weight: 700; letter-spacing: .2em; line-height: 1.3; }
.brand-name small { display: block; margin-top: 3px; color: var(--blue); font-size: 7px; letter-spacing: .18em; }
.global-nav { display: flex; align-items: center; gap: clamp(12px, 1.5vw, 24px); }
.global-nav a { position: relative; padding: 10px 0; font-size: 11px; font-weight: 700; text-decoration: none; letter-spacing: .09em; }
.global-nav a:not(.nav-cta)::after { content: ""; position: absolute; inset: auto 0 4px; height: 1px; background: var(--blue); transform: scaleX(0); transition: transform .2s; }
.global-nav a:hover::after, .global-nav a.is-active::after { transform: scaleX(1); }
.global-nav .nav-cta { padding: 10px 18px; color: #fff; background: var(--blue); border-radius: 999px; }
.nav-toggle { display: none; }

/* ===== Hero ===== */
.hero { position: relative; min-height: 760px; height: 100svh; max-height: 920px; margin-top: var(--header-height); display: grid; align-items: center; overflow: hidden; color: #fff; }
.hero-image, .hero-overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; object-position: center; }
.hero-overlay { background: linear-gradient(90deg, rgba(23,32,38,.75) 0%, rgba(23,32,38,.34) 48%, rgba(23,32,38,.06) 75%); }
.hero-inner { position: relative; z-index: 1; width: min(calc(100% - 48px), var(--container)); margin: auto; }
.eyebrow { margin: 0 0 18px; color: currentColor; font-size: 12px; font-weight: 700; letter-spacing: .3em; }
.hero h1 { margin: 0 0 24px; font-family: "Shippori Mincho", serif; font-size: clamp(38px, 5vw, 70px); font-weight: 600; line-height: 1.38; letter-spacing: .05em; text-shadow: 0 2px 20px rgba(0,0,0,.16); }
.hero-inner > p:not(.eyebrow) { font-size: clamp(14px, 1.5vw, 17px); }
.button-group { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { min-height: 54px; padding: 14px 28px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 999px; font-size: 14px; font-weight: 700; text-align: center; text-decoration: none; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(25,42,52,.18); }
.button-primary { color: #fff; background: var(--blue); }
.button-light { color: var(--ink); background: rgba(255,255,255,.94); }
.button-line { color: #fff; background: #3f9f4b; }
.button-large { min-width: 310px; min-height: 64px; font-size: 16px; }
.scroll-cue { position: absolute; z-index: 2; right: 3%; bottom: 32px; display: flex; align-items: center; gap: 14px; color: #fff; font-size: 9px; letter-spacing: .25em; text-decoration: none; writing-mode: vertical-rl; }
.scroll-cue i { display: block; width: 1px; height: 70px; background: rgba(255,255,255,.4); overflow: hidden; }
.scroll-cue i::after { content: ""; display: block; width: 100%; height: 45%; background: #fff; animation: scrollLine 1.8s ease-in-out infinite; }
@keyframes scrollLine { from { transform: translateY(-110%); } to { transform: translateY(230%); } }

/* ===== 共通見出し ===== */
.section-heading { margin-bottom: 54px; text-align: center; }
.section-heading-left { text-align: left; }
.section-heading p { margin: 0 0 8px; color: var(--blue); font: 600 13px/1.2 "Noto Sans JP", sans-serif; letter-spacing: .28em; }
.section-heading h2 { margin: 0; font: 600 clamp(28px, 4vw, 42px)/1.45 "Shippori Mincho", serif; letter-spacing: .08em; }
.section-heading span { display: block; margin-top: 12px; color: var(--muted); font-size: 13px; }
.lead { margin: 0 0 26px; color: var(--brown); font: 600 clamp(23px, 3vw, 34px)/1.8 "Shippori Mincho", serif; letter-spacing: .09em; }
.note { color: var(--muted); font-size: 12px; }
.align-center { text-align: center; }

/* ===== About ===== */
.about { background: var(--ivory); }
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(50px, 8vw, 110px); align-items: center; }
.about-copy > p:not(.lead) { max-width: 530px; color: #4f5659; }
.about-visual { position: relative; margin: 0; padding: 0 0 32px 32px; }
.about-visual::before { content: ""; position: absolute; inset: 40px 32px 0 0; background: var(--blue-pale); border-radius: var(--radius); }
.about-visual img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.about-visual figcaption { position: absolute; z-index: 2; right: 0; bottom: 0; color: var(--blue-deep); font: 500 14px "Shippori Mincho", serif; letter-spacing: .12em; }

/* ===== Concept ===== */
.concept { background: var(--paper); }
.concept-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); }
.concept-card { position: relative; min-height: 310px; padding: 52px 44px; text-align: center; }
.concept-card + .concept-card { border-left: 1px solid var(--line); }
.concept-number { position: absolute; top: 18px; left: 22px; color: var(--blue); font-size: 12px; font-weight: 700; letter-spacing: .2em; }
.concept-icon { width: 74px; height: 74px; margin: auto; display: grid; place-items: center; color: var(--brown); background: var(--ivory); border-radius: 50%; font: 500 30px "Shippori Mincho", serif; }
.concept-card h3 { margin: 24px 0 12px; font: 600 20px "Shippori Mincho", serif; }
.concept-card p { margin: 0; color: var(--muted); font-size: 14px; }

/* ===== Menu ===== */
.menu { background: var(--blue-pale); }
.menu-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 7vw, 90px); align-items: stretch; }
.menu-photo { position: relative; margin: 0; min-height: 640px; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.menu-photo img { width: 100%; height: 100%; object-fit: cover; }
.menu-photo figcaption { position: absolute; right: 0; bottom: 0; padding: 18px 28px; color: #fff; background: var(--blue-deep); font-size: 11px; letter-spacing: .2em; }
.menu-list-wrap { padding: 16px 0; }
.menu-category { padding: 27px 0; border-bottom: 1px solid rgba(62,109,146,.25); }
.menu-category:first-child { padding-top: 0; }
.menu-category h3 { margin: 0 0 14px; color: var(--blue-deep); font: 600 18px "Shippori Mincho", serif; letter-spacing: .15em; }
.menu-category dl { margin: 0; }
.menu-category dl div { display: grid; grid-template-columns: 1fr auto; gap: 20px; padding: 7px 0; font-size: 14px; }
.menu-category dd { margin: 0; font-weight: 600; }

/* ===== Gallery ===== */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 250px; gap: 12px; }
.gallery-item { position: relative; margin: 0; padding: 0; overflow: hidden; color: #fff; background: #ccd7dc; border: 0; border-radius: 4px; cursor: zoom-in; }
.gallery-wide { grid-column: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(17,26,31,.55)); }
.gallery-item span { position: absolute; z-index: 1; left: 20px; bottom: 16px; font-size: 10px; letter-spacing: .22em; }
.gallery-item:hover img { transform: scale(1.04); }

/* ===== News ===== */
.news { color: #fff; background: var(--blue-deep); }
.news-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 80px; }
.news .section-heading p { color: var(--blue-pale); }
.news-list { margin: 0 0 30px; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.25); }
.news-list li { padding: 18px 0; display: grid; grid-template-columns: 110px 1fr; gap: 22px; border-bottom: 1px solid rgba(255,255,255,.25); }
.news-list time { color: var(--blue-pale); font-size: 12px; }
.news-list span { font-size: 14px; }

/* ===== Voice ===== */
.voice { background: var(--ivory); }
.voice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.voice-card { margin: 0; padding: 34px; background: var(--paper); border-radius: var(--radius); box-shadow: 0 10px 30px rgba(44,56,62,.06); }
.voice-card div { color: #c58b3a; letter-spacing: .13em; }
.voice-card p { margin: 18px 0 22px; font-family: "Shippori Mincho", serif; }
.voice-card cite { color: var(--muted); font-size: 12px; font-style: normal; }

/* ===== FAQ ===== */
.faq-layout { display: grid; grid-template-columns: .65fr 1.35fr; gap: 80px; }
.accordion details { border-top: 1px solid var(--line); }
.accordion details:last-child { border-bottom: 1px solid var(--line); }
.accordion summary { position: relative; padding: 24px 54px 24px 44px; list-style: none; font-weight: 600; cursor: pointer; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::before { content: "Q"; position: absolute; left: 8px; color: var(--blue); font-family: "Shippori Mincho", serif; font-size: 20px; }
.accordion summary::after { content: "+"; position: absolute; right: 12px; top: 50%; color: var(--blue); font-size: 24px; font-weight: 400; transform: translateY(-50%); }
.accordion details[open] summary::after { content: "−"; }
.accordion details p { margin: 0; padding: 0 54px 24px 44px; color: var(--muted); font-size: 14px; }

/* ===== Access ===== */
.access { background: var(--ivory); }
.access-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 24px; }
.shop-info, .map-card { min-height: 430px; padding: clamp(32px, 5vw, 60px); background: var(--paper); border-radius: var(--radius); }
.shop-info h3 { margin: 0 0 26px; font: 600 24px "Shippori Mincho", serif; letter-spacing: .12em; }
.shop-info dl { margin: 0; }
.shop-info dl div { display: grid; grid-template-columns: 100px 1fr; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.shop-info dt { color: var(--muted); }
.shop-info dd { margin: 0; }
.map-card { position: relative; display: grid; place-items: center; text-align: center; overflow: hidden; background: var(--blue-pale); }
.map-card::before, .map-card::after { content: ""; position: absolute; width: 130%; height: 1px; background: rgba(62,109,146,.2); transform: rotate(-21deg); }
.map-card::after { transform: rotate(35deg); }
.map-card > * { position: relative; z-index: 1; }
.map-pin { width: 56px; height: 56px; display: grid; place-items: center; color: #fff; background: var(--blue); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); }
.map-card p { margin: -30px 0 0; color: var(--blue-deep); font-size: 18px; font-weight: 700; letter-spacing: .15em; }
.map-card small { display: block; margin-top: 8px; font-size: 11px; font-weight: 400; letter-spacing: .05em; }
.map-card a { padding-bottom: 2px; color: var(--blue-deep); border-bottom: 1px solid currentColor; font-size: 13px; font-weight: 700; text-decoration: none; }

/* ===== Contact / Footer ===== */
.contact { position: relative; padding: 120px 24px; background: url("../images/brand-illustration-background.webp") center/cover; }
.contact::before { content: ""; position: absolute; inset: 0; background: rgba(248,244,237,.34); }
.contact-panel { position: relative; width: min(800px, 100%); margin: auto; padding: clamp(44px, 7vw, 76px); text-align: center; background: rgba(255,253,249,.94); border-radius: 28px; box-shadow: var(--shadow); backdrop-filter: blur(6px); }
.contact h2 { margin: 0 0 22px; font: 600 clamp(27px, 4vw, 40px)/1.5 "Shippori Mincho", serif; }
.contact .eyebrow { color: var(--blue); }
.button-center { justify-content: center; }
.text-link { align-self: center; margin: 12px 18px; color: var(--blue-deep); font-size: 13px; font-weight: 700; }
.site-footer { padding: 60px 24px 30px; text-align: center; color: #fff; background: #25333b; }
.brand-footer { justify-content: center; color: #fff; }
.brand-footer .brand-mark { box-shadow: 0 0 0 1px rgba(255,255,255,.22); }
.site-footer nav { margin: 30px 0 38px; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 30px; }
.site-footer nav a { font-size: 12px; text-decoration: none; }
.site-footer > small { color: rgba(255,255,255,.6); font-size: 10px; letter-spacing: .12em; }

/* ===== Lightbox / ページ上部ボタン ===== */
.lightbox { width: min(980px, calc(100% - 32px)); padding: 0; overflow: visible; background: transparent; border: 0; }
.lightbox::backdrop { background: rgba(10,18,22,.88); backdrop-filter: blur(4px); }
.lightbox img { width: 100%; max-height: 82vh; object-fit: contain; border-radius: 8px; }
.lightbox-close { position: absolute; right: 0; bottom: calc(100% + 10px); width: 44px; height: 44px; color: #fff; background: transparent; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; font-size: 28px; cursor: pointer; }
.back-to-top { position: fixed; z-index: 900; right: 22px; bottom: 22px; width: 48px; height: 48px; opacity: 0; visibility: hidden; color: #fff; background: var(--blue-deep); border: 0; border-radius: 50%; box-shadow: 0 10px 30px rgba(20,34,42,.2); cursor: pointer; transition: .25s; }
.back-to-top.is-visible { opacity: 1; visibility: visible; }

/* ===== スクロール表示アニメーション ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } .reveal { opacity: 1; transform: none; } }

/* ===== タブレット ===== */
@media (max-width: 980px) {
  :root { --header-height: 72px; }
  .nav-toggle { position: relative; z-index: 2; width: 46px; height: 46px; padding: 11px; display: grid; align-content: center; gap: 5px; background: transparent; border: 0; cursor: pointer; }
  .nav-toggle span:not(.sr-only) { width: 100%; height: 1.5px; background: var(--ink); transition: .25s; }
  .nav-toggle[aria-expanded="true"] span:nth-of-type(2) { transform: translateY(6.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-of-type(3) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-of-type(4) { transform: translateY(-6.5px) rotate(-45deg); }
  .global-nav { position: fixed; inset: var(--header-height) 0 0; padding: 28px 32px 50px; display: grid; align-content: start; gap: 3px; overflow: auto; opacity: 0; visibility: hidden; background: var(--paper); transform: translateX(100%); transition: .3s; }
  .global-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .global-nav a { padding: 14px 8px; font-size: 14px; border-bottom: 1px solid var(--line); }
  .global-nav .nav-cta { margin-top: 14px; text-align: center; border: 0; }
  .about-grid, .menu-layout { gap: 48px; }
  .concept-card { padding: 48px 24px; }
  .news-grid, .faq-layout { grid-template-columns: 1fr; gap: 20px; }
  .news .section-heading { margin-bottom: 24px; }
  .voice-card { padding: 26px; }
}

/* ===== スマートフォン ===== */
@media (max-width: 700px) {
  .container { width: min(calc(100% - 32px), var(--container)); }
  .section { padding: 78px 0; }
  .sp-only { display: inline; }
  .brand-mark { width: 42px; }
  .brand-name { font-size: 12px; }
  .hero { min-height: 660px; height: calc(100svh - var(--header-height)); margin-top: var(--header-height); align-items: end; }
  .hero-image { object-position: 61% center; }
  .hero-overlay { background: linear-gradient(0deg, rgba(19,29,34,.85) 0%, rgba(19,29,34,.35) 63%, rgba(19,29,34,.08) 100%); }
  .hero-inner { width: calc(100% - 32px); padding-bottom: 70px; }
  .hero h1 { font-size: clamp(34px, 10.6vw, 48px); line-height: 1.42; }
  .hero-inner > p:not(.eyebrow) { font-size: 13px; }
  .hero .button-group { display: grid; grid-template-columns: 1fr; }
  .hero .button { width: 100%; }
  .scroll-cue { display: none; }
  .section-heading { margin-bottom: 36px; }
  .section-heading-left { text-align: left; }
  .section-heading h2 { font-size: 29px; }
  .about-grid, .menu-layout, .access-grid { grid-template-columns: 1fr; }
  .about-grid { gap: 40px; }
  .about-visual { padding: 0 0 24px 18px; }
  .lead { font-size: 24px; }
  .concept-grid { grid-template-columns: 1fr; }
  .concept-card { min-height: auto; padding: 44px 26px; }
  .concept-card + .concept-card { border-top: 1px solid var(--line); border-left: 0; }
  .menu-photo { min-height: 430px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 190px; gap: 8px; }
  .gallery-wide { grid-column: span 2; }
  .gallery-item span { left: 12px; bottom: 10px; }
  .news-grid { gap: 8px; }
  .news-list li { grid-template-columns: 1fr; gap: 3px; }
  .news .button { width: 100%; }
  .voice-grid { grid-template-columns: 1fr; }
  .faq-layout { gap: 4px; }
  .accordion summary { padding: 20px 40px 20px 34px; font-size: 14px; }
  .accordion summary::before { left: 2px; }
  .accordion summary::after { right: 4px; }
  .accordion details p { padding: 0 36px 20px 34px; }
  .shop-info, .map-card { min-height: 380px; }
  .shop-info dl div { grid-template-columns: 84px 1fr; }
  .contact { padding: 72px 16px; }
  .contact-panel { padding: 42px 22px; }
  .contact-panel > p:not(.eyebrow,.note) br { display: none; }
  .button-large { min-width: 0; width: 100%; }
  .site-footer nav { display: grid; grid-template-columns: 1fr 1fr; }
}

/* 印刷時は操作用UIを非表示にします */
@media print { .site-header, .back-to-top, .scroll-cue { display: none; } .hero { margin-top: 0; } .reveal { opacity: 1; transform: none; } }

/* ===== 制作サンプルの帯（Len.Design 2026-09-07 追加） ===== */
:root { --demo-bar: 34px; }
.demo-bar { position: fixed; top: 0; left: 0; right: 0; z-index: 1001; height: var(--demo-bar); display: flex; align-items: center; justify-content: center; padding: 0 12px; background: #3e6d92; color: #fff; font-size: 12.5px; line-height: 1.4; letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.demo-bar a { color: #fff; font-weight: 700; }
.site-header { top: var(--demo-bar); }
.hero { margin-top: calc(var(--header-height) + var(--demo-bar)); }
html { scroll-padding-top: calc(var(--header-height) + var(--demo-bar)); }
.global-nav { top: calc(var(--header-height) + var(--demo-bar)); }
@media (max-width: 640px) { .demo-bar { font-size: 11.5px; } }
.demo-bar-short { display: none; }
@media (max-width: 640px) { .demo-bar-long { display: none; } .demo-bar-short { display: inline; } }
