/* 河内焼 陶芸教室（kawachiyaki.com）全ページ共通
   見本：宮嵜なおのページ（静かな作家のページ）と、ハチマル とうげい教室（白土・呉須の青・縦書き・緑のボタン）
   - ふつうのページ（トップ・登り窯・講師・アクセス）：白い地＋細い明朝の見出しと線
   - 教室のページ（<body class="lp">：体験・会員・出張・えらぶ）：白土の地＋呉須の青＋手書きの見出し＋緑のボタン
   ハチマルの茶色・ネイビー・ロゴは使わない */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
:root {
  --paper: #f7f5f1;     /* 白い地（クリームにしない） */
  --white: #ffffff;
  --alt: #ece8e1;       /* となりの欄の地 */
  --ink: #2b2622;
  --ink-mid: #4d463f;
  --mute: #6d655c;
  --line: #cfc8bd;
  --clay: #f3f2ee;      /* 白土 */
  --clay-2: #e9e7e0;    /* 少し焼けた白土 */
  --gosu: #1d3c8c;      /* 呉須（コバルトの青） */
  --gosu-pale: #dfe5f1;
  --speck: #a8916f;     /* 土の粒 */
  --hi: #c4581f;        /* 窯の火（ほんの少しだけ使う） */
  --cta: #16a34a; --cta-dark: #12833c;
  --sans: 'Noto Sans JP', sans-serif;
  --serif: 'Shippori Mincho', serif;
  --hand: 'Klee One', serif;
}
body { font-family: var(--sans); background: var(--paper); color: var(--ink); font-size: 15px; line-height: 2.1; letter-spacing: .04em; line-break: strict; word-break: auto-phrase; overflow-wrap: anywhere; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--gosu); outline-offset: 3px; }
.wrap { width: min(1120px, calc(100% - 48px)); margin: 0 auto; }
.sec { padding: clamp(80px, 11vw, 150px) 0; }
.sec.white { background: var(--white); }
.sec.alt { background: var(--alt); }
.small { font-size: .85rem; color: var(--mute); }
.nowrap { white-space: nowrap; }

/* 見出し：小さめの明朝＋右へのびる細い線 */
.label { display: flex; align-items: center; gap: 20px; font-family: var(--serif); font-weight: 500; font-size: clamp(1.15rem, 1.8vw, 1.4rem); letter-spacing: .2em; line-height: 1.6; }
.label::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.lead { margin-top: 26px; max-width: 36em; color: var(--ink-mid); }
.lead + .lead { margin-top: 1em; }

/* 文字のリンク（ボタンの代わり） */
.tlink { display: inline-flex; align-items: center; gap: 12px; padding: 6px 0; text-decoration: none; font-family: var(--serif); letter-spacing: .12em; border-bottom: 1px solid currentColor; line-height: 1.7; }
.tlink::after { content: ""; width: 26px; height: 1px; background: currentColor; transition: width .2s; flex: none; }
.tlink:hover::after { width: 40px; }
.links { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px 40px; }

/* LINE のボタン（全ページ同じ緑） */
.line-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--cta); color: #fff; text-decoration: none; font-weight: 700; letter-spacing: .08em; padding: 15px 30px; border-radius: 4px; box-shadow: 0 3px 0 var(--cta-dark); transition: transform .12s, box-shadow .12s; line-height: 1.5; border: 0; cursor: pointer; font-family: inherit; font-size: 1rem; }
.line-btn:hover { transform: translateY(2px); box-shadow: 0 1px 0 var(--cta-dark); }
.line-btn.s { padding: 9px 18px; font-size: .9rem; }
.tel-big { font-family: var(--serif); font-size: clamp(1.6rem, 4vw, 2.2rem); letter-spacing: .08em; text-decoration: none; line-height: 1.4; }

/* ヘッダー */
.site-header { position: absolute; inset: 0 0 auto 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 28px; }
.site-logo { font-family: var(--serif); font-weight: 600; font-size: 1.2rem; letter-spacing: .22em; text-decoration: none; white-space: nowrap; }
.site-logo span { font-size: .8em; letter-spacing: .18em; margin-left: .3em; }
.gnav { display: flex; gap: 22px; }
.gnav a { text-decoration: none; font-size: .88rem; letter-spacing: .1em; padding: 8px 0; border-bottom: 1px solid transparent; }
.gnav a:hover, .gnav a[aria-current="page"] { border-bottom-color: currentColor; }
.menu-btn { display: none; position: fixed; top: 12px; right: 12px; z-index: 30; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(43,38,34,.6); cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.menu-btn span { display: block; width: 20px; height: 1.5px; background: #fff; transition: transform .25s, opacity .25s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.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(-6.5px) rotate(-45deg); }
.spnav { position: fixed; inset: 0; z-index: 25; background: var(--paper); display: flex; flex-direction: column; justify-content: center; padding: 80px 32px; overflow-y: auto; }
.spnav[hidden] { display: none; }
.spnav a { text-decoration: none; font-family: var(--serif); font-size: 1.05rem; letter-spacing: .12em; padding: 13px 0; border-bottom: 1px solid var(--line); }
.spnav a[aria-current="page"] { color: var(--gosu); }
.spnav .spnav-line { margin-top: 28px; border: 0; background: var(--cta); color: #fff; text-align: center; font-family: var(--sans); font-weight: 700; border-radius: 4px; }
@media (max-width: 1080px) { .gnav { display: none; } .menu-btn { display: flex; } }

/* 下の帯 */
.site-footer { background: var(--white); border-top: 1px solid var(--line); padding: 64px 0 40px; font-size: .88rem; }
.site-footer .wrap { display: grid; gap: 26px; }
.f-logo { font-family: var(--serif); font-weight: 600; font-size: 1.3rem; letter-spacing: .22em; }
.f-logo span { font-size: .8em; }
.f-info { display: flex; flex-wrap: wrap; gap: 10px 56px; color: var(--ink-mid); line-height: 1.9; }
.f-nav { display: flex; flex-wrap: wrap; gap: 4px 26px; }
.f-nav a, .f-links a { text-decoration: none; }
.f-nav a:hover, .f-links a:hover { text-decoration: underline; }
.f-links { display: flex; flex-wrap: wrap; gap: 4px 26px; color: var(--mute); }
.copy { font-size: .78rem; color: var(--mute); }

/* 横に並ぶ写真（横スクロール） */
.slide-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-top: 56px; }
.slide-head h3 { font-family: var(--serif); font-weight: 500; font-size: 1.05rem; letter-spacing: .2em; }
.slide-head .hint { font-size: .8rem; color: #8a8178; letter-spacing: .1em; }
.arrows { display: flex; gap: 4px; flex: none; }
.arrows button { width: 40px; height: 40px; border: 0; background: transparent; color: var(--ink); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.arrows button:hover { opacity: .5; }
.arrows svg { width: 22px; height: 22px; }
.scroller { margin-top: 18px; display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 16px; scrollbar-width: thin; scrollbar-color: var(--line) transparent; cursor: grab; }
.scroller.dragging { cursor: grabbing; scroll-snap-type: none; }
.scroller.dragging img { pointer-events: none; }
.scroller figure { flex: 0 0 auto; width: min(300px, 70vw); scroll-snap-align: start; }
.scroller img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; user-select: none; -webkit-user-drag: none; }
.scroller figcaption { margin-top: 10px; font-size: .82rem; color: var(--mute); letter-spacing: .1em; line-height: 1.7; }
.scroller.wide figure { width: min(480px, 84vw); }
.scroller.wide img { aspect-ratio: 3 / 2; }
.scroller.square figure { width: min(260px, 62vw); }
.scroller.square img { aspect-ratio: 1; }

/* 表（料金・時間など） */
.info { border-top: 1px solid var(--line); max-width: 880px; }
.info > div { display: grid; grid-template-columns: 8em 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.info dt { font-family: var(--serif); letter-spacing: .12em; }
.info dd { color: var(--ink-mid); }
.info dd .note { display: block; font-size: .85rem; color: var(--mute); }

/* 予約は確定ではない、のお知らせ */
.kakutei { max-width: 860px; padding: 20px 24px; background: var(--white); border-left: 4px solid var(--gosu); font-size: .95rem; line-height: 1.9; }
.kakutei b { display: block; font-family: var(--serif); font-weight: 600; font-size: 1.15rem; color: var(--gosu); margin-bottom: 6px; }

/* お問い合わせの3つ（LINE・電話・メール） */
.contact { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 0; margin-top: 48px; border-top: 1px solid var(--line); }
.contact > div { padding: 28px 28px 28px 0; border-bottom: 1px solid var(--line); }
.contact > div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.contact h3 { font-family: var(--serif); font-weight: 500; font-size: 1rem; letter-spacing: .16em; margin-bottom: 12px; }
.contact p { color: var(--ink-mid); font-size: .92rem; }
.contact .line-btn { margin-top: 14px; }

/* ===== 教室のページ（ハチマル とうげい教室と同じ形） ===== */
body.lp { background: var(--clay); font-size: 16px; line-height: 1.95; letter-spacing: .02em; }
.lp .site-header { position: sticky; top: 0; background: var(--clay); border-bottom: 1px solid var(--gosu); padding: 12px 28px; }
.lp .site-logo { color: var(--gosu); }
.lp h1, .lp .h2, .lp .step h3, .lp .faq dt { font-family: var(--hand); font-weight: 600; color: var(--gosu); line-height: 1.5; text-wrap: balance; }
.lp .blk { padding: 100px 0; }
.lp .blk.white { background: var(--white); }
.lp .blk.clay2 { background: var(--clay-2); }
.lp .h2 { font-size: clamp(1.7rem, 3.4vw, 2.2rem); margin-bottom: 32px; letter-spacing: .04em; }
.lp .info dt { font-family: var(--sans); font-weight: 700; color: var(--gosu); letter-spacing: .06em; }
.lp .info dd { color: var(--ink); }
.speck { background-color: var(--clay);
  background-image: radial-gradient(circle at 20% 30%, rgba(168,145,111,.35) 0 1.2px, transparent 1.6px),
                    radial-gradient(circle at 70% 80%, rgba(168,145,111,.25) 0 1px, transparent 1.4px),
                    radial-gradient(circle at 45% 60%, rgba(60,50,40,.18) 0 .9px, transparent 1.3px);
  background-size: 37px 41px, 53px 47px, 29px 31px; }

/* 教室ページの最初の画面：縦書きの題字と写真 */
.fv { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); height: min(calc(100svh - 64px), 820px); min-height: 600px; }
.fv-text { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: 1fr auto auto; gap: 0 36px; padding: 56px 40px 48px 6vw; }
.fv h1 { writing-mode: vertical-rl; font-size: clamp(2.6rem, 4.6vw, 4rem); letter-spacing: .12em; grid-row: 1 / 4; }
.fv-side { grid-row: 2; max-width: 340px; min-width: 0; }
.fv-act { grid-row: 3; min-width: 0; margin-top: 20px; }
.fv-side .where { font-size: .95rem; color: var(--mute); margin-bottom: 14px; border-left: 3px solid var(--gosu); padding-left: 12px; line-height: 1.7; }
.fv-side .what { font-size: 1.05rem; }
.fv-act .price { font-size: .92rem; color: var(--mute); margin-top: 14px; }
.fv-act .price b { font-size: 1.25rem; color: var(--ink); }
.fv-photo { position: relative; overflow: hidden; margin: 0; }
.fv-photo img { width: 100%; height: 100%; object-fit: cover; }

/* 流れ（順番がある内容なので番号の代わりに「1回目」などの言葉で） */
.flow { background: var(--gosu); color: #fff; }
.lp .flow .h2 { color: #fff; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.step { padding-right: 28px; }
.step .no { font-family: var(--hand); font-size: 1.15rem; display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.step .no::after { content: ""; flex: 1; height: 1px; background: rgba(255,255,255,.45); }
.step:last-child .no::after { display: none; }
.lp .step h3 { color: #fff; font-size: 1.4rem; margin-bottom: 6px; }
.step p { color: #d7def0; font-size: .97rem; }

/* 予約・相談の欄 */
.booking { border-top: 2px solid var(--gosu); }
.booking .grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
.other { display: grid; gap: 14px; }
.other div { border-left: 3px solid var(--gosu); padding: 2px 0 2px 16px; }
.other b { display: block; color: var(--gosu); }
.other a { color: var(--ink); }

/* ===== 教室をえらぶ ===== */
.tabs { display: flex; flex-wrap: wrap; gap: 0; border-bottom: 1px solid var(--gosu); margin-top: 8px; }
.tabs button { flex: 1 1 0; min-width: 0; padding: 16px 10px; border: 1px solid transparent; border-bottom: 0; background: transparent; font-family: var(--hand); font-weight: 600; font-size: 1.15rem; color: var(--mute); cursor: pointer; line-height: 1.4; }
.tabs button[aria-selected="true"] { background: var(--white); color: var(--gosu); border-color: var(--gosu); margin-bottom: -1px; }
.panel { background: var(--white); padding: 28px clamp(18px, 3vw, 36px) 36px; border: 1px solid var(--gosu); border-top: 0; }
.panel[hidden] { display: none; }
.panel .q { font-weight: 700; margin-bottom: 14px; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choices button { padding: 10px 18px; border: 1px solid var(--line); background: var(--clay); border-radius: 3px; font-family: inherit; font-size: .98rem; color: var(--ink); cursor: pointer; line-height: 1.5; }
.choices button:hover { border-color: var(--gosu); }
.choices button[aria-pressed="true"] { background: var(--gosu); border-color: var(--gosu); color: #fff; }
.choices.days button { min-width: 3.4em; font-family: var(--hand); font-weight: 600; font-size: 1.1rem; }
.results { margin-top: 28px; display: grid; gap: 18px; }
.results:empty { display: none; }
.tip { padding: 14px 18px; background: var(--gosu-pale); color: var(--ink); font-size: .95rem; line-height: 1.85; }
.tip b { color: var(--gosu); }
.card { border: 1px solid var(--line); background: var(--clay); padding: 22px 24px; display: grid; gap: 10px; }
.card h3 { font-family: var(--hand); font-weight: 600; color: var(--gosu); font-size: 1.3rem; line-height: 1.5; }
.card dl { display: grid; grid-template-columns: 6em 1fr; gap: 4px 14px; font-size: .95rem; }
.card dt { color: var(--mute); }
.card .acts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 6px; }
.card .more { color: var(--gosu); font-size: .95rem; }

/* 予約リクエストのフォーム（送ると、書いた内容が入った LINE が開く） */
.apply { margin-top: 8px; padding: 20px; background: var(--white); border: 1px solid var(--line); display: grid; gap: 16px; max-width: 600px; }
.apply[hidden] { display: none; }
.apply label, .apply .ql { display: block; font-size: .95rem; font-weight: 700; }
.apply input[type=text], .apply input[type=date], .apply select, .apply textarea { display: block; width: 100%; margin-top: 6px; padding: 10px 12px; font-size: 16px; border: 1px solid var(--line); border-radius: 3px; background: #fff; font-family: inherit; font-weight: 400; }
.apply .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.apply .opts { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 6px; }
.apply .opts label { font-weight: 400; display: flex; align-items: center; gap: 6px; }
.apply .hint { font-size: .82rem; color: var(--mute); font-weight: 400; }
.apply .warn { color: #b23a2a; font-size: .88rem; font-weight: 400; }
.apply .warn:empty { display: none; }
.apply .line-btn { justify-self: start; }

/* ===== トップ ===== */
.hero { display: grid; grid-template-columns: 5fr 7fr; min-height: min(100svh, 900px); background: var(--paper); }
.hero-side { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 30px; padding: 120px 40px 60px; text-align: center; }
.hero-title { display: flex; flex-direction: row-reverse; align-items: flex-start; gap: 22px; }
.hero-title h1 { writing-mode: vertical-rl; font-family: var(--serif); font-weight: 600; font-size: clamp(3.4rem, 6vw, 5.2rem); letter-spacing: .3em; line-height: 1; }
.hero-title .sub { writing-mode: vertical-rl; font-family: var(--serif); font-size: clamp(1rem, 1.4vw, 1.2rem); letter-spacing: .5em; padding-top: 1.2em; color: var(--ink-mid); }
.hero-side .place { font-family: var(--serif); font-size: .92rem; letter-spacing: .3em; color: var(--mute); }
.hero-photo { position: relative; overflow: hidden; margin: 0; }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.hero-photo figcaption { position: absolute; right: 16px; bottom: 12px; color: #fff; font-size: .78rem; letter-spacing: .1em; text-shadow: 0 1px 3px rgba(0,0,0,.6); }

.callband { background: var(--white); padding: 26px 0; border-bottom: 1px solid #e4ded4; }
.callband .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.callband p { font-family: var(--serif); letter-spacing: .12em; line-height: 1.8; }
.callband p span { display: block; font-family: var(--sans); font-size: .85rem; letter-spacing: .06em; color: var(--mute); }

.words { display: grid; grid-template-columns: 1fr auto; gap: clamp(40px, 8vw, 120px); align-items: center; }
.words figure img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.words figcaption { margin-top: 10px; font-size: .82rem; color: var(--mute); }
.words p { writing-mode: vertical-rl; font-family: var(--serif); font-size: clamp(1.05rem, 1.5vw, 1.2rem); line-height: 2.6; letter-spacing: .2em; height: 22em; }

.pick { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 48px; border-top: 1px solid var(--line); }
.pick a { display: block; padding: 26px 24px 28px 0; text-decoration: none; border-bottom: 1px solid var(--line); }
.pick a + a { padding-left: 24px; border-left: 1px solid var(--line); }
.pick b { display: flex; align-items: center; gap: 12px; font-family: var(--serif); font-weight: 600; font-size: 1.2rem; letter-spacing: .14em; }
.pick b::after { content: ""; width: 26px; height: 1px; background: currentColor; transition: width .2s; }
.pick a:hover b::after { width: 40px; }
.pick span { display: block; margin-top: 8px; font-size: .9rem; color: var(--mute); }

.courses { display: grid; gap: 0; margin-top: 48px; border-top: 1px solid var(--line); }
.course { display: grid; grid-template-columns: 300px 1fr; gap: clamp(24px, 4vw, 56px); padding: 32px 0; border-bottom: 1px solid var(--line); align-items: start; }
.course img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.course h3 { font-family: var(--serif); font-weight: 600; font-size: 1.25rem; letter-spacing: .12em; line-height: 1.6; }
.course p { margin-top: 10px; color: var(--ink-mid); }
.course .tlink { margin-top: 14px; }

.sched-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(32px, 6vw, 80px); margin-top: 48px; }
.sched-box h3 { font-family: var(--serif); font-weight: 600; letter-spacing: .16em; font-size: 1.1rem; padding-bottom: 10px; border-bottom: 1px solid var(--ink); }
.sched-box dl > div { display: grid; grid-template-columns: 9.5em 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.sched-box dt { font-family: var(--serif); letter-spacing: .08em; }
.sched-box dd { color: var(--ink-mid); }
.sched-box dd b { font-weight: 500; color: var(--ink); font-size: 1.05rem; }
.oshirase { margin-top: 48px; padding: 18px 22px; background: var(--white); font-size: .9rem; color: var(--ink-mid); max-width: 880px; }
.oshirase b { font-family: var(--serif); font-weight: 600; color: var(--ink); margin-right: .6em; }

.split { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.split.rev { grid-template-columns: 5fr 7fr; }
.split figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split figcaption { margin-top: 10px; font-size: .82rem; color: var(--mute); }

.teachers { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); margin-top: 56px; }
.teacher img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.name { font-family: var(--serif); font-weight: 500; font-size: clamp(1.5rem, 2.6vw, 1.9rem); letter-spacing: .3em; line-height: 1.5; margin-top: 22px; }
.name small { display: block; margin-top: 4px; font-family: var(--sans); font-size: .78rem; letter-spacing: .2em; color: #8a8178; }
.teacher p { margin-top: 14px; color: var(--ink-mid); }

/* ===== 講師・登り窯 ===== */
.page-head { padding: 150px 0 40px; }
.page-head h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.8rem, 3.4vw, 2.6rem); letter-spacing: .24em; line-height: 1.5; }
.page-head p { margin-top: 18px; color: var(--ink-mid); max-width: 38em; }
.history { margin-top: 28px; border-top: 1px solid var(--line); font-size: .92rem; }
.history > div { display: grid; grid-template-columns: 9.5em 1fr; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.history dt { font-family: var(--serif); letter-spacing: .06em; }
.history dd { color: var(--ink-mid); }
.event-list { margin-top: 24px; columns: 2; column-gap: 56px; list-style: none; font-size: .88rem; color: var(--ink-mid); }
.event-list li { padding: 8px 0; border-bottom: 1px solid var(--line); break-inside: avoid; line-height: 1.7; }
details.more-box { margin-top: 32px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
details.more-box summary { cursor: pointer; padding: 16px 0; font-family: var(--serif); letter-spacing: .14em; }
details.more-box[open] summary { border-bottom: 1px solid var(--line); }
details.more-box .event-list { margin-bottom: 24px; }

.page-hero { position: relative; height: min(78svh, 720px); overflow: hidden; }
.page-hero img { width: 100%; height: 100%; object-fit: cover; }
.diary { margin-top: 56px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.entry { display: grid; grid-template-columns: 260px 1fr; gap: clamp(24px, 4vw, 56px); padding: 36px 0; border-bottom: 1px solid var(--line); align-items: start; }
.entry img { width: 100%; height: auto; }
.entry time { display: block; font-family: var(--serif); letter-spacing: .12em; color: var(--mute); font-size: .92rem; }
.entry h3 { font-family: var(--serif); font-weight: 600; font-size: 1.15rem; letter-spacing: .12em; margin-top: 4px; }
.entry p { margin-top: 10px; color: var(--ink-mid); }
.sign { margin-top: 32px; font-family: var(--serif); letter-spacing: .3em; text-align: right; }
.thumbs { margin-top: 24px; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px; }
.thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; }

.mapimg { margin-top: 24px; max-width: 601px; border: 1px solid var(--line); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }

/* ===== スマホ ===== */
@media (max-width: 820px) {
  body { font-size: 15px; }
  .wrap { width: calc(100% - 32px); }
  .site-header { padding: 16px 18px; }
  .lp .site-header { padding: 12px 76px 12px 16px; }
  .site-logo { font-size: 1.05rem; }
  .info > div { grid-template-columns: 1fr; gap: 2px; }
  .contact { grid-template-columns: 1fr; }
  .contact > div, .contact > div + div { padding: 24px 0; border-left: 0; }

  .hero { display: block; position: relative; height: 100svh; max-height: 200vw; min-height: 560px; background: #1c140d; }
  .hero-photo { position: absolute; inset: 0; }
  .hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,14,9,.55) 0%, rgba(20,14,9,.12) 34%, rgba(20,14,9,0) 55%); }
  .hero-photo figcaption { display: none; }
  .hero-side { position: absolute; inset: auto 0 0 0; z-index: 1; gap: 14px; padding: 0 24px 40px; color: #fff; }
  .hero-title { gap: 14px; }
  .hero-title h1 { font-size: 3.2rem; }
  .hero-title .sub { color: rgba(255,255,255,.92); }
  .hero-side .place { color: rgba(255,255,255,.88); font-size: .82rem; }
  .home .site-header { color: #fff; }

  .words { grid-template-columns: 1fr; }
  .words p { writing-mode: horizontal-tb; height: auto; letter-spacing: .1em; line-height: 2.3; }
  .pick { grid-template-columns: 1fr; }
  .pick a, .pick a + a { padding: 22px 0; border-left: 0; }
  .course { grid-template-columns: 1fr; gap: 18px; }
  .sched-grid, .split, .split.rev, .teachers { grid-template-columns: 1fr; }
  .sched-box dl > div { grid-template-columns: 1fr; gap: 0; }
  .entry { grid-template-columns: 1fr; gap: 16px; }
  .entry img { max-width: 320px; }
  .history > div { grid-template-columns: 1fr; gap: 0; }
  .event-list { columns: 1; }
  .page-head { padding: 110px 0 28px; }

  .lp .blk { padding: 72px 0; }
  .fv { grid-template-columns: 1fr; height: auto; min-height: 0; }
  .fv-photo { order: -1; height: 300px; }
  .fv-text { padding: 32px 16px 44px; gap: 0 20px; grid-template-rows: auto auto; }
  .fv h1 { grid-row: 1; font-size: 2.4rem; }
  .fv-side { grid-row: 1; align-self: end; max-width: none; }
  .fv-act { grid-row: 2; grid-column: 1 / -1; margin-top: 24px; }
  .fv-act .line-btn { display: flex; }
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .step { padding-right: 0; }
  .step .no::after { display: none; }
  .booking .grid { grid-template-columns: 1fr; gap: 28px; }
  .tabs button { font-size: .98rem; padding: 14px 4px; }
  .card { padding: 18px 16px; }
  .card dl { grid-template-columns: 1fr; gap: 0; }
  .card dd { margin-bottom: 6px; }
  .apply .row2 { grid-template-columns: 1fr; }
  .apply .line-btn { justify-self: stretch; }
}
/* 仕上げ：白い余白、窯の写真、呉須の細い線 */
:root { --paper:#f5f6f5; --alt:#eaf0f1; --clay:#f5f6f3; --clay-2:#e9eeeb; --ink:#292e2e; --ink-mid:#485150; --mute:#646e6b; --line:#cbd3cf; }
body { font-size:16px; background:#fff; }
input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline:2px solid var(--gosu); outline-offset:4px; }
.wrap { width:min(1120px, calc(100% - 64px)); }
.site-header, .lp .site-header { position:relative; min-height:84px; padding:18px 32px; background:#fff; border-bottom:1px solid var(--line); }
.site-logo { font-weight:500; }
.gnav { gap:clamp(14px, 1.6vw, 26px); }
.gnav a { font-size:.875rem; }
.menu-btn { border-radius:2px; background:var(--gosu); }
.hero { grid-template-columns:38% 62%; min-height:0; height:calc(100svh - 84px); max-height:900px; background:#fff; }
.hero-side { padding:48px 24px; gap:40px; }
.hero-title { gap:30px; }
.hero-title h1 { font-weight:500; font-size:clamp(3.5rem, 5.8vw, 5.8rem); letter-spacing:.24em; }
.hero-title .sub { color:var(--gosu); }
.hero-photo img { object-position:50% 58%; }
.hero-photo figcaption { font-size:.8125rem; }
.callband { background:var(--alt); border:0; padding:32px 0; }
.home .sec:not(.white):not(.alt) { background:var(--paper); }
.label { font-weight:700; gap:28px; }
/* 11/24 なおさん：見出しが目に止まりにくい → 太字・呉須の青・少し大きく */
.label { color:var(--gosu); font-size:clamp(1.35rem, 2.4vw, 1.75rem); }
.label::after { height:2px; background:var(--gosu-pale); }
.words { grid-template-columns:minmax(0, 1fr) auto; gap:clamp(40px, 6vw, 88px); }
.words figure { align-self:center; }
.words p { font-size:1.0625rem; line-height:2.35; }
.course { padding:40px 0; }
.course h3, .pick b { font-weight:500; }
.slide-head .hint, .scroller figcaption, .words figcaption, .split figcaption { font-size:.875rem; }
.slide-head { flex-wrap:wrap; }
.scroller { overscroll-behavior-x:contain; }
.scroller figure { margin:0; }
.site-footer { padding:72px 0 32px; background:#f4f6f5; }
.f-nav a, .f-links a { padding:8px 0; text-underline-offset:6px; }
.f-nav, .f-links { gap:4px 30px; }
.page-head { padding:72px 0 48px; background:var(--paper); }
.page-head h1 { display:flex; align-items:center; gap:36px; }
.page-head h1::after { content:''; height:1px; flex:1; background:var(--line); }
.entry { grid-template-columns:240px minmax(0, 1fr); padding:40px 0; }
.entry img { width:auto; max-width:min(100%, 240px); justify-self:start; }
.entry p { max-width:42em; line-height:2.2; }
.entry time { color:var(--gosu); }
.thumbs { grid-template-columns:repeat(auto-fill, minmax(140px, 180px)); gap:16px; }
.thumbs img { width:auto; max-width:100%; height:auto; aspect-ratio:auto; }
.teacher p { max-width:36em; }
.lp .site-header { position:relative; }
.speck { background-image:radial-gradient(circle, #98a59a26 .7px, transparent 1px), radial-gradient(circle, #98a59a19 .6px, transparent 1px); background-size:43px 47px, 67px 71px; }
.fv { grid-template-columns:minmax(0, 1fr) minmax(0, 1.1fr); height:auto; min-height:min(720px, calc(100svh - 84px)); }
.fv-text { padding:56px clamp(24px, 3vw, 48px); gap:0 28px; grid-template-columns:auto minmax(0, 1fr); }
.fv h1 { font-size:clamp(2.25rem, 3.5vw, 3.2rem); letter-spacing:.09em; white-space:nowrap; align-self:start; text-wrap:nowrap; }
.fv-side { align-self:end; }
.fv-photo img { min-height:100%; }
.lp .h2 { font-size:clamp(1.65rem, 3vw, 2.2rem); }
.booking .line-btn { margin-top:24px; }
.erabu-intro .wrap, .erabu-picker .wrap { max-width:960px; }
.erabu-intro { border-bottom:1px solid var(--line); }
.erabu-intro p { max-width:42em; }
.erabu-picker { padding-top:36px !important; }
.erabu-picker .kakutei { max-width:none; background:var(--clay); font-size:.9375rem; }
.tabs { border:0; gap:6px; }
.tabs button { padding:18px 10px; background:var(--clay-2); border:1px solid var(--line); border-bottom:0; font-size:1.125rem; }
.tabs button[aria-selected=true] { background:var(--gosu); color:#fff; border-color:var(--gosu); margin-bottom:0; }
.panel { border:1px solid var(--line); border-top:2px solid var(--gosu); padding:32px; }
.panel .q { font-weight:500; margin-bottom:20px; }
.choices { gap:12px; }
.choices button { min-height:52px; padding:12px 20px; border-radius:0; background:#fff; border-color:#9ba9a3; }
.choices.days { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:8px; }
.choices.days button { min-width:0; padding:12px 0; border-bottom:3px solid var(--gosu); }
.choices.days button[data-v="2"], .choices.days button[data-v="0"] { background:#f1f3f1; color:var(--mute); border:1px dashed #a6afa9; }
.choices.days button[aria-pressed=true] { color:#fff; background:var(--gosu); border-color:var(--gosu); }
.results { margin-top:32px; gap:24px; }
.tip { background:var(--gosu-pale); padding:18px 20px; }
.card { background:var(--clay); border:0; border-top:1px solid var(--gosu); padding:28px; gap:18px; }
.card h3 { font-size:1.5rem; }
.card dl { row-gap:10px; }
.card .more { text-underline-offset:6px; padding:10px 0; }
.apply { max-width:none; padding:24px; gap:22px; border:0; border-top:1px solid var(--line); }
.apply input, .apply select, .apply textarea { min-width:0; min-height:48px; }
.apply input[type=radio] { min-height:24px; width:20px; accent-color:var(--gosu); }
.apply .opts label { min-height:44px; }
.apply .hint { font-size:.875rem; }
.apply textarea { resize:vertical; }
@media (max-width:1080px) and (min-width:821px) { .site-header { padding-right:80px; } .fv-text { grid-template-columns:1fr; } .fv h1 { grid-row:1; } .fv-side { grid-row:2; margin-top:28px; } .fv-act { grid-row:3; } }
@media (max-width:820px) {
  body { font-size:16px; }
  .wrap { width:calc(100% - 40px); }
  .site-header, .lp .site-header { min-height:72px; padding:18px 76px 18px 20px; }
  .site-logo { font-size:1rem; letter-spacing:.12em; }
  .home .site-header { position:absolute; background:transparent; border:0; color:#fff; }
  .home .site-logo { text-shadow:0 1px 5px #000; }
  .hero { height:100svh; min-height:0; max-height:none; }
  .hero-photo::after { content:none; }
  .hero-photo img { object-position:50% 48%; }
  .hero-photo figcaption { display:block; right:20px; bottom:12px; font-size:.75rem; }
  .hero-side { align-items:flex-start; padding:0 28px max(56px, env(safe-area-inset-bottom)); gap:18px; text-align:left; text-shadow:0 1px 6px #0009; }
  .hero-title { flex-direction:column; gap:12px; }
  .hero-title h1 { writing-mode:horizontal-tb; font-size:clamp(2.8rem, 12vw, 3.8rem); letter-spacing:.23em; }
  .hero-title .sub { writing-mode:horizontal-tb; padding:0; color:#fff; font-size:1.125rem; letter-spacing:.5em; }
  .hero-side .place { color:#fff; font-size:.875rem; }
  .callband { padding:28px 0; }
  .callband .line-btn { width:100%; }
  .words { grid-template-columns:1fr; gap:36px; }
  .words p { writing-mode:vertical-rl; height:25em; font-size:clamp(.9rem, 3.9vw, 1.0625rem); line-height:2.15; justify-self:center; }
  .course { padding:28px 0; }
  .page-head { padding:44px 0 36px; }
  .page-head h1 { gap:18px; }
  .page-hero { height:55svh; }
  .entry { grid-template-columns:1fr; gap:22px; }
  .entry img { max-width:min(100%, 240px); }
  .fv { grid-template-columns:1fr; min-height:0; }
  .fv-photo { height:clamp(230px, 68vw, 360px); }
  .fv-text { padding:36px 20px 44px; gap:0 22px; grid-template-columns:auto minmax(0,1fr); }
  .fv h1 { font-size:clamp(1.8rem, 7.5vw, 2.35rem); grid-row:1; }
  .fv-side { align-self:center; }
  .fv-side .what { font-size:1rem; }
  .fv-side .where { font-size:.875rem; padding-left:10px; }
  .tabs { gap:3px; }
  .tabs button { font-size:1rem; padding:16px 4px; }
  .panel { padding:24px 14px; }
  .choices { gap:10px; }
  .choices:not(.days) button { flex:1 1 140px; }
  .choices.days { gap:4px; }
  .choices.days button { font-size:1rem; }
  .card { padding:22px 14px; }
  .card h3 { font-size:1.3rem; }
  .card .acts { align-items:stretch; flex-direction:column; gap:8px; }
  .card .line-btn { width:100%; padding:15px 12px; font-size:.9375rem; }
  .apply { padding:22px 0 0; }
  .tip { padding:16px 14px; }
  .erabu-picker .kakutei { padding:18px; }
  .site-footer { padding-top:48px; }
}
@media (prefers-reduced-motion:reduce) { *, *::before, *::after { animation:none !important; transition:none !important; scroll-behavior:auto !important; } }

/* 縦書きの中の数字を立てる（「1日」） */
.tcy { text-combine-upright: all; }

/* トップの最初の画面（11/24 作り直し）：3回目。写真左側に題字、手と器は空ける。 */
.home .hero-te { position:relative; display:block; height:calc(100svh - 84px); min-height:0; max-height:none; overflow:hidden; background:#fff; }
.home .hero-te .hero-photo { position:absolute; inset:0 0 28px 7%; margin:0; overflow:hidden; }
.home .hero-te .hero-photo::after { content:none; }
.home .hero-te .hero-photo img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:50% 50%; }
.home .hero-te .hero-side { position:absolute; inset:0; z-index:1; display:block; padding:0; text-align:left; text-shadow:none; }
.home .hero-te .hero-title { position:absolute; top:12%; left:16%; display:flex; flex-direction:row-reverse; align-items:flex-start; gap:clamp(20px, 2.5vw, 40px); color:#fff; text-shadow:0 2px 12px #0006; }
.home .hero-te .hero-title h1 { writing-mode:vertical-rl; font-family:var(--serif); font-weight:700; font-size:clamp(76px, 9vw, 138px); letter-spacing:.16em; line-height:1.08; white-space:nowrap; color:inherit; }
.home .hero-te .hero-title .sub { writing-mode:vertical-rl; font-family:var(--serif); padding-top:.35em; font-weight:500; font-size:clamp(18px, 1.8vw, 27px); letter-spacing:.38em; line-height:1.5; white-space:nowrap; color:inherit; }
.home .hero-te .place { position:absolute; bottom:64px; left:2.5%; display:flex; align-items:center; gap:24px; writing-mode:vertical-rl; font-family:var(--serif); font-size:14px; letter-spacing:.24em; line-height:1.5; color:var(--gosu); }
.home .hero-te .place::after { content:""; width:1px; height:72px; background:currentColor; }
@media (max-width:820px) {
  .home .hero-te { height:100svh; min-height:0; max-height:none; }
  .home .hero-te .hero-photo { inset:0 0 210px; height:auto; min-height:0; }
  .home .hero-te .hero-photo img { object-position:64% 40%; }
  .home .hero-te .hero-title { top:auto; bottom:28px; left:24px; gap:16px; color:var(--ink); text-shadow:0 1px 5px #ffffff80; }
  .home .hero-te .hero-title h1 { font-size:clamp(64px, 19vw, 80px); letter-spacing:.16em; line-height:1.05; }
  .home .hero-te .hero-title .sub { padding-top:5.5em; font-size:17px; letter-spacing:.3em; line-height:1.4; }
  .home .hero-te .place { top:auto; bottom:30px; left:auto; right:28px; padding:0; gap:20px; font-size:13px; }
  .home .hero-te .place::after { height:44px; }
}

/* 教室ページの最初の画面（パソコン）：説明と電話・ボタンを題字の横に寄せ、1画面に収める（出張の電話番号が下に落ちていた） */
@media (min-width: 1081px) {
  .fv-text { grid-template-rows: auto auto; align-content: center; row-gap: 28px; }
  .fv h1 { grid-row: 1 / 3; }
  .fv-side { grid-row: 1; align-self: end; }
  .fv-act { grid-row: 2; align-self: start; margin-top: 0; }
}

/* 登り窯ページ（11/24 本人「縦横サイズが違うので、うまく見せて。トリミングしてもいい」）
   - 下の小さい写真：同じ大きさの四角にそろえて切る
   - 作品の横スライド：高さをそろえ、器が切れないように1枚ずつの形のまま並べる */
.thumbs { grid-template-columns:repeat(6, 1fr); gap:8px; }
.thumbs img { width:100%; height:auto; aspect-ratio:1; object-fit:cover; }
@media (max-width:820px) { .thumbs { grid-template-columns:repeat(3, 1fr); gap:6px; } }
.scroller.fit figure { width:auto; }
.scroller.fit img { width:auto; height:clamp(240px, 34vw, 400px); aspect-ratio:auto; object-fit:contain; }

/* 教室をえらぶ：曜日ごとの一覧（11/24 本人「ボタンを押さないと何曜日にできるか分からない」）
   パソコンは7列の表、スマホは曜日を左に置いた縦の並び */
.erabu-week .wk-title { margin-bottom:22px; }
.week { list-style:none; display:grid; grid-template-columns:repeat(7, 1fr); border:1px solid var(--line); background:var(--white); }
.wk-day { display:flex; flex-direction:column; border-left:1px solid var(--line); min-width:0; }
.wk-day:first-child { border-left:0; }
.wk-head { display:block; width:100%; padding:10px 4px; border:0; border-bottom:1px solid var(--line); background:var(--gosu); color:#fff; font-family:var(--hand); font-weight:600; font-size:1.2rem; text-align:center; line-height:1.4; cursor:pointer; }
.wk-head:hover { background:#16306f; }
.wk-head:disabled, .is-none .wk-head { background:var(--clay-2); color:var(--mute); cursor:default; }
.wk-body { padding:12px 10px 14px; display:grid; gap:12px; align-content:start; flex:1; }
.wk-item { display:grid; gap:0; font-size:.9rem; line-height:1.6; padding-left:10px; border-left:3px solid var(--gosu); }
.wk-item b { color:var(--ink); font-weight:700; }
.wk-item span { color:var(--gosu); }
.wk-item small { color:var(--mute); font-size:.8rem; }
.wk-item.k-nao, .wk-item.k-hachimaru { border-left-color:#5b7bd0; }
.wk-item.k-chakichi { border-left-color:var(--speck); }
.wk-none { color:var(--mute); font-size:.85rem; }
.wk-note { margin-top:12px; font-size:.9rem; color:var(--ink-mid); }
.wk-note a { color:var(--gosu); }
@media (max-width:820px) {
  .week { grid-template-columns:1fr; }
  .wk-day { flex-direction:row; border-left:0; border-top:1px solid var(--line); }
  .wk-day:first-child { border-top:0; }
  .wk-head { width:3.2em; flex:none; border-bottom:0; border-right:1px solid var(--line); display:flex; align-items:center; justify-content:center; }
  .wk-body { padding:10px 12px; gap:8px; }
  .wk-item { grid-template-columns:auto auto 1fr; gap:0 10px; align-items:baseline; }
}

/* 予約リクエスト：選べる日だけを並べる。押した順に第1希望・第2希望 */
.slots { margin-top:10px; display:grid; gap:6px; max-height:360px; overflow-y:auto; padding:4px 6px 4px 0; overscroll-behavior:contain; }
.sl-day { display:grid; grid-template-columns:8.4em 1fr; align-items:center; gap:8px; padding:6px 0; border-bottom:1px dashed var(--line); }
.sl-date { font-weight:700; font-size:.95rem; }
.sl-times { display:flex; flex-wrap:wrap; gap:6px; }
.sl { position:relative; display:inline-flex; align-items:baseline; gap:6px; padding:7px 12px; border:1px solid var(--gosu); border-radius:3px; background:#fff; color:var(--gosu); font-family:inherit; font-size:.92rem; cursor:pointer; line-height:1.4; }
.sl small { font-size:.75rem; color:var(--mute); }
.sl[aria-pressed=true] { background:var(--gosu); color:#fff; }
.sl[aria-pressed=true] small { color:#dfe5f1; }
.sl[aria-pressed=true]::after { content:attr(data-no); position:absolute; top:-9px; right:-6px; background:var(--cta); color:#fff; font-size:.68rem; padding:0 5px; border-radius:2px; line-height:1.5; }
.sl:disabled { border-color:var(--line); color:var(--mute); background:var(--clay-2); cursor:not-allowed; text-decoration:line-through; }
.sl:disabled small { color:#b23a2a; text-decoration:none; }
.apply .picked { margin-top:10px; font-size:.95rem; }
.apply .picked:empty { display:none; }
.apply .line-btn:disabled { background:#9ca3af; box-shadow:0 3px 0 #6b7280; cursor:not-allowed; transform:none; }
.card .note { font-size:.9rem; color:var(--ink-mid); }
.chakichi-tel { display:grid; font-size:.9rem; }
@media (max-width:820px) {
  .sl-day { grid-template-columns:1fr; gap:4px; }
}
.erabu-intro { border-bottom:0; }
.lp .erabu-week { padding:8px 0 72px; }
.erabu-week .wrap { max-width:1120px; }
.erabu-week .wk-title { font-size:clamp(1.4rem, 2.6vw, 1.8rem); }

/* 教室ページの最初の写真：横長の写真でも右の欄いっぱいに広げる（下が余っていた） */
.fv-photo img { position:absolute; inset:0; width:100%; height:100%; min-height:0; object-fit:cover; }

/* トップ：河内焼とは（11/24） */
.about-kawachi { margin-top:clamp(72px, 10vw, 120px); }
.about-kawachi .lead { max-width:40em; }
.about-kawachi .lead a { color:var(--gosu); }
#about { scroll-margin-top:24px; }
/* 11/24 スケジュールの欄の中の「教室をえらぶ」 */
.erabu-in { margin-top:72px; padding-top:56px; border-top:1px solid var(--line); }
