/*
Theme Name: 汀珈琲 MIGIWA COFFEE
Description: 架空のカフェの見本（2026-11-11）。淡い水色と白の地・深い青緑・差し色のレモン色。写真の角は大きく丸く、段の区切りはゆるい波線。
Version: 1.0
*/

:root {
	--bg:     #EEF6F7;   /* 淡い水色 */
	--white:  #ffffff;
	--ink:    #1F5C63;   /* 深い青緑 */
	--text:   #2d4a4e;
	--mute:   #5f7f83;
	--line:   #cfe3e6;
	--lemon:  #F2D66B;   /* 差し色 */
	--lemon-l: #FBF0C4;
	--hand: "Caveat", "Zen Maru Gothic", cursive;
	--sans: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Yu Gothic", sans-serif;
	--gut: max(16px, 4vw);
	--r: 28px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--text); font-family: var(--sans); font-size: 15px; line-height: 1.9; letter-spacing: .04em; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.4; margin: 0; color: var(--ink); text-wrap: balance; font-weight: 500; }
p { margin: 0 0 1em; }
table { border-collapse: collapse; width: 100%; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
[hidden] { display: none !important; }

.wrap { max-width: 1120px; margin: 0 auto; padding-left: var(--gut); padding-right: var(--gut); }
.pc { display: inline; }

/* ---------- ボタン ---------- */
.btn { display: inline-block; font-family: var(--sans); font-weight: 700; font-size: 14px; letter-spacing: .08em; text-decoration: none; padding: .65em 1.8em; border-radius: 999px; border: 2px solid var(--ink); transition: background .2s, color .2s; cursor: pointer; line-height: 1.6; }
.btn--main { background: var(--ink); color: var(--white); }
.btn--main:hover { background: #174850; border-color: #174850; }
.btn--line { background: var(--white); color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--white); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ---------- 見本の一行 ---------- */
.mihon-bar { margin: 0; padding: .35em var(--gut); background: var(--lemon-l); color: var(--ink); font-size: 11px; text-align: center; letter-spacing: .04em; }

/* ---------- ヘッダー ---------- */
.hd { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 24px; padding: 10px var(--gut); background: rgba(255,255,255,.95); backdrop-filter: blur(6px); }
.hd__logo { text-decoration: none; display: flex; flex-direction: column; line-height: 1.15; margin-right: auto; }
.hd__name { font-size: 26px; font-weight: 700; letter-spacing: .18em; color: var(--ink); }
.hd__en { font-size: 10px; font-weight: 700; letter-spacing: .16em; color: var(--ink); }
.hd__nav { display: flex; gap: clamp(16px, 2.6vw, 40px); position: absolute; left: 50%; transform: translateX(-50%); }
.hd__nav a { text-decoration: none; font-weight: 700; font-size: 14px; letter-spacing: .1em; color: var(--ink); padding: 6px 0; border-bottom: 2px solid transparent; }
.hd__nav a:hover { border-bottom-color: var(--lemon); }
.hd__btn { padding: .55em 1.8em; }
.hd__burger { display: none; width: 44px; height: 44px; background: none; border: 0; padding: 0; cursor: pointer; position: relative; }
.hd__burger span { position: absolute; left: 8px; right: 8px; height: 3px; border-radius: 2px; background: var(--ink); transition: transform .2s, opacity .2s; }
.hd__burger span:nth-child(1) { top: 13px; }
.hd__burger span:nth-child(2) { top: 21px; }
.hd__burger span:nth-child(3) { top: 29px; }
.is-menu .hd__burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.is-menu .hd__burger span:nth-child(2) { opacity: 0; }
.is-menu .hd__burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.spmenu { display: none; }

/* ---------- 波線 ---------- */
.wave { display: block; width: 100%; height: 44px; fill: var(--bg); }
.wave__line { fill: none; stroke: #a9d3da; stroke-width: 2; vector-effect: non-scaling-stroke; }
.wave--white { fill: var(--white); }
.wave--top { fill: var(--white); transform: scaleY(-1); position: absolute; top: -1px; left: 0; }
.wave--bottom { position: absolute; bottom: -1px; left: 0; }
.wave--top .wave__line { stroke: none; }
.wave--bottom { }

/* ---------- トップの一番上 ---------- */
.hero { background: var(--bg); position: relative; }
.hero__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px; align-items: center; padding-top: 36px; padding-bottom: 18px; }
.hero__h { font-size: clamp(38px, 5vw, 56px); font-weight: 700; letter-spacing: .12em; line-height: 1.35; }
.hero__en { font-family: var(--hand); font-size: 26px; font-weight: 600; color: var(--ink); margin: 10px 0 18px; display: inline-block; padding-bottom: 4px; background: linear-gradient(var(--lemon), var(--lemon)) left bottom / 56% 3px no-repeat; transform: rotate(-3deg); transform-origin: left; }
.hero__tag { display: flex; align-items: center; gap: 10px; width: fit-content; max-width: 100%; margin: 0 0 12px; padding: .55em 1.6em .55em 1.1em; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--ink); background: var(--white); }
.hero__tag--rec { background: var(--lemon-l); }
.hero__tag svg { width: 24px; height: 24px; flex: none; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.hero__fig { margin: 0; aspect-ratio: 16 / 10; border-radius: 50%; overflow: hidden; background: #cfe3e6; box-shadow: 0 10px 30px rgba(31,92,99,.12); }
.hero__fig img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 写真カード ---------- */
.sec { padding: 28px 0 40px; position: relative; }
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.card { display: block; text-decoration: none; background: var(--white); border-radius: var(--r); box-shadow: 0 4px 16px rgba(31,92,99,.1); overflow: hidden; transition: transform .2s; }
.card:hover { transform: translateY(-4px); }
.card__img { display: block; aspect-ratio: 4 / 3.2; overflow: hidden; border-radius: var(--r); }
.card__img img { width: 100%; height: 100%; object-fit: cover; }
.card__txt { display: block; text-align: center; padding: 14px 8px 18px; }
.card__h { display: inline-block; font-size: 18px; font-weight: 700; letter-spacing: .12em; color: var(--ink); padding-bottom: 5px; background: linear-gradient(var(--lemon), var(--lemon)) center bottom / 34px 3px no-repeat; margin-bottom: 8px; }
.card small { display: block; font-size: 12px; color: var(--text); letter-spacing: .08em; }

/* ---------- 献立帳 ---------- */
.sec--tint { background: var(--bg); padding: 70px 0 74px; margin-top: 20px; }
.kon-card { display: grid; grid-template-columns: 240px 1fr; align-items: center; max-width: 820px; margin: 0 auto; background: var(--white); border-radius: var(--r); padding: 28px 36px; box-shadow: 0 6px 22px rgba(31,92,99,.08); }
.kon-card__h { text-align: center; padding-right: 24px; border-right: 1px solid var(--line); }
.kon-card__h h2 { font-size: 28px; font-weight: 700; letter-spacing: .2em; }
.kon-card__h svg { width: 120px; height: 60px; margin: 10px auto 0; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.kon-card .kon { padding-left: 32px; }
.kon li { display: flex; align-items: baseline; gap: 8px; padding: 6px 0; font-size: 15px; font-weight: 500; color: var(--ink); }
.kon__n small { display: block; font-size: 11px; font-weight: 400; color: var(--mute); letter-spacing: .04em; line-height: 1.5; }
.kon__d { flex: 1; min-width: 16px; border-bottom: 2px dotted #9fc3c8; transform: translateY(-4px); }
.kon__p { font-weight: 700; white-space: nowrap; }
.more { text-align: center; margin: 28px 0 0; }

/* ---------- PICK UP ---------- */
.pick__head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.pick__en { font-size: 22px; font-weight: 700; letter-spacing: .24em; position: relative; }
.pick__en::after { content: ""; position: absolute; right: -16px; top: -8px; width: 14px; height: 10px; border-top: 2px solid var(--lemon); border-right: 2px solid var(--lemon); border-radius: 0 8px 0 0; transform: rotate(8deg); }
.pick__bar { width: 1px; height: 22px; background: var(--line); margin-left: 12px; }
.pick__jp { margin: 0; font-size: 16px; font-weight: 700; letter-spacing: .14em; color: var(--ink); }
.pick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.pick figure { margin: 0; text-align: center; }
.pick__img { display: block; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; box-shadow: 0 4px 16px rgba(31,92,99,.1); }
.pick__img img { width: 100%; height: 100%; object-fit: cover; }
.pick figcaption { margin-top: 10px; font-weight: 700; letter-spacing: .1em; color: var(--ink); }

/* ---------- 店の様子 ---------- */
.shop { display: grid; grid-template-columns: 4fr 8fr; gap: 24px; align-items: center; }
.shop__h { font-size: 24px; font-weight: 700; letter-spacing: .16em; padding-bottom: 8px; background: linear-gradient(var(--lemon), var(--lemon)) left bottom / 60px 3px no-repeat; margin-bottom: 18px; }
.shop__txt p { font-size: 13px; line-height: 2.1; }
.shop__pics { position: relative; height: 340px; }
.shop__pics span { position: absolute; display: block; overflow: hidden; border-radius: 22px; box-shadow: 0 8px 24px rgba(31,92,99,.18); border: 4px solid var(--white); }
.shop__pics img { width: 100%; height: 100%; object-fit: cover; }
.shop__a { left: 0; top: 0; width: 44%; height: 300px; }
.shop__b { left: 34%; top: 40px; width: 36%; height: 280px; z-index: 2; }
.shop__c { right: 0; top: 14px; width: 32%; height: 240px; }

/* ---------- フッター ---------- */
.ft { background: var(--ink); color: #eaf5f6; margin-top: 56px; }
.ft__in { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; padding-top: 28px; padding-bottom: 12px; }
.ft__logo { margin: 0; display: flex; align-items: baseline; gap: 12px; }
.ft__name { font-size: 24px; font-weight: 700; letter-spacing: .18em; }
.ft__en { font-size: 12px; font-weight: 700; letter-spacing: .12em; }
.ft__info { border-left: 1px solid rgba(255,255,255,.3); padding-left: 28px; font-size: 12px; line-height: 1.8; }
.ft__info p { margin: 0; }
.ft__nav { display: flex; gap: 22px; flex-wrap: wrap; border-left: 1px solid rgba(255,255,255,.3); padding-left: 28px; }
.ft__nav a { font-size: 12px; text-decoration: none; letter-spacing: .08em; }
.ft__nav a:hover { text-decoration: underline; }
.ft__copy { margin: 0; padding: 10px var(--gut) 20px; text-align: center; font-size: 11px; opacity: .7; }

/* ---------- 下層ページ ---------- */
.page-hero { background: var(--bg); position: relative; padding-top: 34px; }
.page-hero__in { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: center; padding-bottom: 18px; }
.page-hero__in:has(.page-hero__img) { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.crumb { font-family: var(--hand); font-size: 20px; color: var(--mute); margin: 0 0 6px; }
.crumb a { text-decoration: none; }
.crumb span { margin: 0 .6em; }
.page-hero__h { font-size: clamp(28px, 4vw, 42px); font-weight: 700; letter-spacing: .14em; padding-bottom: 10px; background: linear-gradient(var(--lemon), var(--lemon)) left bottom / 64px 3px no-repeat; display: inline-block; }
.page-hero__lead { margin: 16px 0 0; font-size: 15px; }
.page-hero__img { margin: 0; aspect-ratio: 16 / 10; border-radius: 50%; overflow: hidden; box-shadow: 0 10px 30px rgba(31,92,99,.12); }
.page-hero__img img { width: 100%; height: 100%; object-fit: cover; }

.entry { padding: 36px 0 20px; max-width: 880px; margin: 0 auto; }
.entry h2 { font-size: 24px; font-weight: 700; letter-spacing: .12em; margin: 44px 0 16px; padding-bottom: 8px; background: linear-gradient(var(--lemon), var(--lemon)) left bottom / 48px 3px no-repeat; }
.entry h2:first-child { margin-top: 0; }
.entry h3 { font-size: 18px; font-weight: 700; margin: 28px 0 8px; }
.entry-img { margin: 24px 0; }
.entry-img img { width: 100%; border-radius: var(--r); }
.entry-img figcaption { font-size: 12px; color: var(--mute); margin-top: 6px; }
.cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; align-items: start; }
.box { background: var(--bg); border-radius: 20px; padding: 18px 22px; }
.box p { margin: 0; }
.lemon { background: var(--lemon-l); border-radius: 20px; padding: 18px 22px; }
.lemon p { margin: 0; }
.tbl th, .tbl td { text-align: left; padding: 12px 14px; border-bottom: 1px dotted #9fc3c8; vertical-align: top; }
.tbl th { width: 7em; color: var(--ink); font-weight: 700; white-space: nowrap; }
.kon-box { background: var(--bg); border-radius: var(--r); padding: 20px 28px 14px; margin-bottom: 22px; }
.kon-box__h { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.kon-box__h span { font-family: var(--hand); font-size: 20px; color: var(--mute); margin-right: .8em; }
.kon-box .kon__d { border-bottom-color: #7fb0b7; }

.form { background: var(--bg); border-radius: var(--r); padding: 22px 26px; }
.form__note { background: var(--lemon-l); border-radius: 12px; padding: .5em 1em; font-size: 13px; color: var(--ink); }
.form label { display: block; font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 14px; }
.form input, .form select, .form textarea { display: block; width: 100%; margin-top: 4px; padding: 10px 14px; font: inherit; font-weight: 400; border: 1px solid var(--line); border-radius: 14px; background: var(--white); color: var(--text); }

/* ---------- スマホ ---------- */
@media (max-width: 900px) {
	.pc { display: none; }
	.hd { padding: 6px 16px; gap: 8px; }
	.hd__name { font-size: 24px; }
	.hd__nav, .hd__btn { display: none; }
	.hd__burger { display: block; }
	.spmenu { position: fixed; inset: 0; z-index: 40; background: var(--bg); flex-direction: column; justify-content: center; align-items: center; gap: 22px; padding: 60px 24px 24px; }
	.is-menu .spmenu { display: flex; }
	.is-menu { overflow: hidden; }
	.spmenu a:not(.btn) { font-size: 22px; font-weight: 700; letter-spacing: .16em; text-decoration: none; color: var(--ink); }
	.spmenu .btn { margin-top: 10px; }

	.hero__in { grid-template-columns: 1fr; gap: 18px; padding-top: 22px; text-align: center; }
	.hero__fig { order: -1; aspect-ratio: 16 / 10; }
	.hero__txt { display: flex; flex-direction: column; align-items: center; }
	.hero__h { font-size: clamp(30px, 8.4vw, 40px); }
	.hero__h br { display: none; }
	.hero__en { transform: none; background-position: center bottom; background-size: 40% 3px; }
	.hero__tag { font-size: 14px; }

	.cards { grid-template-columns: 1fr; gap: 16px; }
	.card { display: grid; grid-template-rows: 100px auto; }
	.card__img { aspect-ratio: auto; height: 120px; }
	.card__txt { display: flex; align-items: center; justify-content: center; gap: 18px; text-align: left; padding: 12px 16px 16px; }
	.card__h { margin: 0; }
	.card small { border-left: 1px solid var(--line); padding-left: 18px; }

	.kon-card { grid-template-columns: 1fr; padding: 24px 20px; }
	.kon-card__h { border-right: 0; border-bottom: 1px solid var(--line); padding: 0 0 14px; margin-bottom: 10px; }
	.kon-card .kon { padding-left: 0; }

	.pick { grid-template-columns: 1fr; gap: 18px; }
	.shop { grid-template-columns: 1fr; }
	.shop__pics { height: 260px; }
	.shop__a { height: 220px; }
	.shop__b { height: 210px; top: 40px; }
	.shop__c { height: 180px; }

	.ft__in { grid-template-columns: 1fr; gap: 14px; text-align: center; }
	.ft__logo { justify-content: center; }
	.ft__info, .ft__nav { border-left: 0; padding-left: 0; justify-content: center; }

	.page-hero__in:has(.page-hero__img) { grid-template-columns: 1fr; }
	.cols { grid-template-columns: 1fr; }
	.tbl th { width: 5.5em; }
}
