/*
Theme Name: Cafe Komorebi
Theme URI: https://tribal-works.com/
Author: TRIBAL WORKS
Description: カフェ・飲食店向けの店舗サイト(制作サンプル)。メニューのカスタム投稿とカテゴリ、営業時間・アクセス付き。
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: komorebi
*/

:root {
	--c-bg: #fbf6ee;
	--c-text: #4a3728;
	--c-muted: #8a7461;
	--c-line: #e5d7c0;
	--c-surface: #f3eadb;
	--c-card: #fffaf2;
	--c-primary: #5a3e2b;
	--c-accent: #c9674a;
	--c-on-primary: #fffaf0;
	--c-dark: #3a2719;
	--c-footer-bg: #3a2719;
	--radius: 22px;
	--btn-radius: 999px;
	--hdr-bg: rgba(251, 246, 238, .92);
	--hdr-solid: #fbf6ee;
	--font-en: "Cormorant Garamond", "Shippori Mincho", serif;
	--font-head: "Shippori Mincho", "Noto Sans JP", serif;
	--shadow: 0 14px 34px rgba(90, 62, 43, .14);
}
.theme-komorebi .brand { font-family: var(--font-head); }
.theme-komorebi .brand small { font-family: var(--font-en); font-size: .76rem; letter-spacing: .22em; }
.theme-komorebi .eyebrow { font-family: var(--font-en); font-style: italic; text-transform: none; letter-spacing: .12em; font-size: 1.05rem; font-weight: 600; }
.theme-komorebi .section__title { font-weight: 700; letter-spacing: .06em; }
.theme-komorebi .section__head--center .section__title::after { content: ""; display: block; width: 44px; height: 14px; margin: 14px auto 0; background: radial-gradient(circle at 7px 7px, var(--c-accent) 3px, transparent 4px), radial-gradient(circle at 22px 7px, #7a8450 3px, transparent 4px), radial-gradient(circle at 37px 7px, var(--c-accent) 3px, transparent 4px); }
.theme-komorebi .page-header { text-align: center; background: var(--c-surface); }
.theme-komorebi .page-header__title { letter-spacing: .08em; }
.theme-komorebi .breadcrumb { display: flex; justify-content: center; }
.theme-komorebi .card { border-radius: var(--radius); border-color: transparent; background: var(--c-card); box-shadow: 0 6px 20px rgba(90, 62, 43, .08); }
.theme-komorebi .card__thumb { border-radius: 999px 999px 0 0; aspect-ratio: 1 / 1.05; }
.card--menu .card__body { text-align: center; }
.card--menu .card__meta { justify-content: center; font-family: var(--font-en); font-size: 1rem; color: var(--c-accent); font-weight: 600; }
.theme-komorebi .form input[type="text"], .theme-komorebi .form input[type="email"], .theme-komorebi .form input[type="tel"], .theme-komorebi .form select, .theme-komorebi .form textarea { background: #fffdf8; border-radius: 14px; }
.theme-komorebi .btn { letter-spacing: .06em; }

/* ---------- ヒーロー ---------- */
.hero { padding: 56px 0 80px; background: linear-gradient(180deg, #f6ecda 0%, var(--c-bg) 100%); overflow: hidden; }
.hero__inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.hero__art svg { width: 100%; max-width: 400px; display: block; margin: 0 auto; filter: drop-shadow(0 18px 28px rgba(90, 62, 43, .2)); }
.steam { animation: steam 4s ease-in-out infinite; transform-origin: center; }
@keyframes steam { 0%, 100% { opacity: .35; transform: translateY(0); } 50% { opacity: .85; transform: translateY(-6px); } }
.hero__title { font-size: clamp(2rem, 4.6vw, 3.3rem); line-height: 1.5; letter-spacing: .08em; margin: 6px 0 .6em; }
.hero__lead { color: var(--c-muted); max-width: 30em; margin-bottom: 2em; }
@media (max-width: 860px) { .hero__inner { grid-template-columns: 1fr; gap: 28px; text-align: center; } .hero__lead { margin-left: auto; margin-right: auto; } .btn-row { justify-content: center; } .hero__art svg { max-width: 270px; } }

/* ---------- コンセプト ---------- */
.concept__text { text-align: center; font-size: 1.02rem; line-height: 2.2; letter-spacing: .04em; }

/* ---------- メニュー一覧 ---------- */
.menu-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr; gap: 6px; }
.menu-list__item a { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 0 12px; padding: 16px 4px; color: inherit; border-bottom: 1px solid var(--c-line); }
.menu-list__item a:hover { opacity: 1; background: rgba(201, 103, 74, .06); }
.menu-list__name { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; }
.menu-list__dots { border-bottom: 2px dotted #c9b693; transform: translateY(-4px); }
.menu-list__price { font-family: var(--font-en); font-size: 1.25rem; font-weight: 600; color: var(--c-accent); }
.menu-list__note { grid-column: 1 / -1; font-size: .82rem; color: var(--c-muted); margin-top: 2px; }
.menu-note { text-align: center; color: var(--c-muted); font-size: .85rem; margin-top: 18px; }

/* ---------- ギャラリー ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery__item { margin: 0; }
.gallery__item .tile, .gallery__item .gallery__img { display: block; width: 100%; aspect-ratio: 1 / 1; height: auto; object-fit: cover; border-radius: 999px 999px var(--radius) var(--radius); }
.gallery__item:nth-child(even) .tile, .gallery__item:nth-child(even) .gallery__img { border-radius: var(--radius); }
.gallery__item figcaption { text-align: center; font-size: .82rem; color: var(--c-muted); margin-top: 10px; }
@media (max-width: 700px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

/* ---------- お知らせ・情報 ---------- */
.top-news { display: grid; grid-template-columns: 260px 1fr; gap: 40px; }
.top-news__head .section__title { margin-bottom: 1em; }
@media (max-width: 800px) { .top-news { grid-template-columns: 1fr; gap: 20px; } }
.info { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: center; }
.info__table th { background: transparent; width: 7em; color: var(--c-accent); font-family: var(--font-head); }
.info__map { aspect-ratio: 1 / 1.05; border-radius: 999px 999px var(--radius) var(--radius); overflow: hidden; max-width: 420px; width: 100%; justify-self: center; }
@media (max-width: 800px) { .info { grid-template-columns: 1fr; } }

.cta-band { background: var(--c-dark); color: #f6ecda; text-align: center; padding: 84px 0; }
.cta-band h2 { font-size: clamp(1.5rem, 3.6vw, 2.2rem); letter-spacing: .08em; }
.cta-band p { opacity: .85; margin-bottom: 2em; }
.cta-band .btn--primary { background: #f6ecda; color: var(--c-primary); }
