/* Copied from 農業サイト/site/style.css by wp-theme/build.py. Edit the static site, then sync. */
/* なおらいファーム トップページ（デザイン案）
   スマホを基本にして、860px 以上でパソコンの並びにする */

/* クラフト明朝（アトリエこたつ）。見出しと手書きの雰囲気を出したい文に使う */
@font-face { font-family: "Craft Mincho"; src: url("../fonts/craftmincho.woff2") format("woff2"); font-display: swap; }

:root {
  --paper: #F7F1E3;
  --sheet: #FFFDF8;
  --washi: #FAF6EE;
  --ink: #2C2A24;
  --ink-2: #6E675A;
  --line: #E4DDCF;
  --leaf: #4F7D3A;
  --shu: #B8452F;
  --kraft: #E6D3AE;
  --board: #2F4A3B;
  --chalk: #F3F0E6;
  --chalk-y: #F2E3A0;
  --wood: #A27A4E;
  --foot: #5A4632;
  --dash: #CFC4AE;
  --tape: rgba(226, 206, 150, 0.82);
  --marker: rgba(242, 222, 140, 0.9);
  --gothic: "BIZ UDPGothic", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  --hand: "Craft Mincho", "Yu Mincho", serif;
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .42 0 0 0 0 .36 0 0 0 0 .24 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='6'%3E%3Cpath d='M0 3 Q6 0.5 12 3 T24 3' fill='none' stroke='%23A39780' stroke-width='1.1'/%3E%3C/svg%3E");
}

/* 日本語は文節で折り返す */
html { word-break: auto-phrase; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }

body {
  margin: 0;
  background-color: var(--paper); background-image: var(--noise);
  color: var(--ink);
  font-family: var(--gothic); font-size: 15px; line-height: 1.8;
}
p, ul, h1, h2, h3, figure { margin: 0; }
ul { padding: 0; list-style: none; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
/* Ruby never drops below the 12px minimum */
rt { font-size: max(12px, 0.5em); font-weight: 400; color: var(--ink-2); }
.nw { white-space: nowrap; }
/* クラフト明朝は字間が広いので、かなを詰める */
.s-h, .intro, .gnav, .logo-sub, .veg b, .veg em, .guest b, .diary h3, .shop-name, .sub-h, .also b, .tag, .foot-nav, .stamp,
.hero-tab, .hn-story h3,
.p-h, .g-name, .g-grid b, .n-top h2, .n-grid h3, .cal-name, .cal-head i, .post h1, .memo, .post-nav a, .f-label { font-family: var(--hand); font-weight: 400; font-feature-settings: "palt"; }

.wrap { max-width: 1080px; margin: 0 auto; padding-inline: 20px; }
.wave { height: 6px; margin: 0 20px; background: var(--wave) repeat-x; }
.wrap > .wave { margin: 0; }

/* テープで貼った写真 */
.taped { display: block; position: relative; background: #FFFFFF; padding: 4px; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18); }
.taped::before { content: ""; position: absolute; z-index: 1; top: -7px; left: 50%; width: 44px; height: 13px; margin-left: -22px;
  background: var(--tape); transform: rotate(-4deg); }
.taped img { width: 100%; height: 100%; object-fit: cover; }

/* 見出し：マーカーを引いた文字と、色鉛筆の小さな絵 */
.s-h { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; font-size: 23px; line-height: 1.4; }
.s-h span { background: linear-gradient(transparent 62%, var(--marker) 62%); padding: 0 3px; }
.s-h small { margin-left: auto; font-size: 13px; color: var(--ink-2); }
.s-h img { height: 44px; margin: -14px 0 -10px; }

/* 別ページへのリンクは、直売所の値札のような荷札にする */
.more { display: flex; justify-content: flex-end; margin-top: 16px; }
.tag { display: inline-flex; align-items: center; gap: 10px; position: relative; padding: 5px 16px 5px 30px;
  background: var(--kraft); color: var(--ink); font-size: 15px; line-height: 1.6;
  clip-path: polygon(14px 0, 100% 0, 100% 100%, 14px 100%, 0 50%); transform: rotate(-2deg); transition: transform 0.15s; }
.tag::before { content: ""; position: absolute; left: 13px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%;
  background: var(--paper); box-shadow: inset 0 0 0 1.5px #B59A6A; }
.tag::after { content: "→"; font-family: var(--gothic); font-size: 13px; color: var(--shu); }
a:hover .tag, .tag:hover { transform: rotate(0deg) translateX(2px); }

/* The header links land on these sections; stop a little below the top edge
   (smooth scrolling is set on html, only without reduced motion) */
#yasai, #guest, #nikki, #shop { scroll-margin-top: 24px; }

/* ---------------------------------------------------------------- ヘッダーとタイトル */

.site-head { display: flex; align-items: center; justify-content: flex-end; padding: 10px 16px 0; }
/* The header strip overlays the hero picture; only its links and button take clicks */
.site-head { pointer-events: none; }
.site-head a, .site-head button { pointer-events: auto; }
.gnav { display: none; }
.menu { width: 44px; height: 44px; border: 0; background: none; padding: 12px 10px; cursor: pointer; }
.menu span, .menu span::before, .menu span::after { display: block; height: 2px; background: var(--ink); border-radius: 1px; }
.menu span { position: relative; }
.menu span::before, .menu span::after { content: ""; position: absolute; left: 0; right: 0; }
.menu span::before { top: -8px; }
.menu span::after { top: 8px; }

.hero { position: relative; }
.hero-title { text-align: center; padding: 0 16px 12px; transition: opacity 0.5s, visibility 0s; }
/* ロゴはぱぐのみんちょをパスにした SVG（img/logo_*.svg）。白いふちで絵の上でも読めるようにする */
.logo img { height: var(--logo-h); width: auto; margin: 0; filter: drop-shadow(0 0 3px rgba(255, 253, 248, 0.95)) drop-shadow(0 0 1px rgba(255, 253, 248, 0.95)); }
.lockup { --logo-h: 56px; display: inline-block; text-align: left; }
/* 「な」は細い横棒の先がいちばん左に出ていて、下半分はそれより右から始まる。
   字の端でそろえるとサブタイトルが左にはみ出て見えるので、ロゴの高さの 1 割ほど右へ下げる */
.logo-sub { margin-top: 4px; padding-left: calc(var(--logo-h) * 0.11); font-size: 13px; color: var(--ink-2); }

/* ---------------------------------------------------------------- Hero storybook (motion: hero.js) */

/* The stage crops; the canvas is the whole 3:1 picture pinned to the right edge, so narrow
   screens keep the shrine side. hero.js zooms by transforming the canvas (origin top-left). */
.hero-art { position: relative; }
.hero-stage { position: relative; overflow: hidden; aspect-ratio: 2 / 1;
  -webkit-mask-image: linear-gradient(to bottom, #000 86%, transparent); mask-image: linear-gradient(to bottom, #000 86%, transparent); }
.hero-canvas { position: absolute; top: 0; right: 0; height: 100%; aspect-ratio: 3 / 1; transform-origin: 0 0;
  transition: transform 1.1s cubic-bezier(0.62, 0.04, 0.24, 1); }
.hero-canvas img { width: 100%; height: 100%; }
.hero.is-zoomed .hero-stage { cursor: zoom-out; }

/* Invisible hotspots over the three subjects; a soft warm light only when hinted */
.hero-hot { position: absolute; margin: 0; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  background: radial-gradient(closest-side, rgba(255, 249, 232, 0.5), rgba(255, 249, 232, 0.16) 62%, rgba(255, 249, 232, 0));
  opacity: 0; transition: opacity 0.45s; -webkit-tap-highlight-color: transparent; }
.hero-hot.is-hint { opacity: 1; }
@media (hover: hover) { .hero-hot:hover { opacity: 1; } }
.hero.is-zoomed .hero-hot { opacity: 0; pointer-events: none; }

/* Story strip: three quiet titles centered on the faded lower edge of the picture, parted by small
   dots. Hover sketches a light pencil line under a title; the open story gets the same line in
   vermilion. The line is drawn left to right (clip-path) like a stroke of the pencil. */
.hero-tabs { --stroke: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 8' preserveAspectRatio='none'%3E%3Cpath d='M2 5.4C17 3.6 31 6 48 4.7S82 3.1 98 4.2 113 5.3 118 3.5' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");
  position: relative; z-index: 4; display: flex; justify-content: center; margin-top: -14px; padding-inline: 8px; }
.hero-tab { position: relative; min-height: 44px; margin: 0; padding: 8px 14px 11px; border: 0; background: none; cursor: pointer;
  color: var(--ink); font-size: 16px; line-height: 1.5; letter-spacing: 0.06em; white-space: nowrap;
  transition: color 0.3s; -webkit-tap-highlight-color: transparent; }
.hero-tab + .hero-tab::before { content: ""; position: absolute; left: -2px; top: 50%; width: 4px; height: 4px; margin-top: -3px;
  border-radius: 50%; background: #BDB197; }
.hero-tab::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 5px; height: 6px; background-color: var(--wood);
  -webkit-mask: var(--stroke) center / 100% 100% no-repeat; mask: var(--stroke) center / 100% 100% no-repeat;
  opacity: 0.6; clip-path: inset(0 100% 0 0); transition: clip-path 0.5s cubic-bezier(0.3, 0.7, 0.2, 1), background-color 0.3s, opacity 0.3s; }
.hero-tab.is-hint::after { clip-path: inset(0); }
@media (hover: hover) { .hero-tab:hover::after { clip-path: inset(0); } }
.hero-tab[aria-expanded="true"] { color: var(--shu); }
.hero-tab[aria-expanded="true"]::after { clip-path: inset(0); background-color: var(--shu); opacity: 0.9; }
.hero-tab:focus { outline: none; }
.hero-tab:focus-visible { outline: 1.5px dashed var(--shu); outline-offset: -3px; }

/* Story note. Narrow (< 1100px): it unfolds in the page flow right under the strip, so the zoomed
   picture stays clear. Wide: it floats over the picture in a borderless paper mist (see below). */
.hero-note { --hn-pad: 5.5%; display: grid; grid-template-rows: 0fr; visibility: hidden;
  transition: grid-template-rows 0.6s cubic-bezier(0.3, 0.7, 0.2, 1), visibility 0s 0.6s; }
.hero.is-zoomed .hero-note { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows 0.6s cubic-bezier(0.3, 0.7, 0.2, 1); }
.hn-clip { min-height: 0; overflow: hidden; }
.hn-col { position: relative; max-width: 620px; margin: 0 auto; padding: 12px 20px 22px; opacity: 0; transition: opacity 0.3s; }
.hero.is-zoomed .hn-col { opacity: 1; transition: opacity 0.5s 0.2s; }
.hero.is-zoomed .hero-note.is-turning .hn-col { opacity: 0; transition: opacity 0.3s; }
.hn-stories { display: grid; }
.hn-story { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity 0.35s, visibility 0s 0.35s; }
.hn-story.is-on { opacity: 1; visibility: visible; transition: opacity 0.6s 0.2s; }
.hn-story h3 { padding-right: 40px; font-size: 1.3em; line-height: 1.5; letter-spacing: 0.04em; }
/* A short vermilion hairline over the heading, like the rule at the head of a picture-book page */
.hn-story h3::before { content: ""; display: block; width: 2.2em; height: 1px; margin-bottom: 0.7em; background: var(--shu); opacity: 0.8; }
.hn-story p { margin-top: 0.5em; line-height: 1.9; }
.hn-story h3 + p { margin-top: 0.65em; }
/* The 12px reading is wider than 直会 / 万九千; let it overhang a little instead of spreading the base */
.hn-story ruby { ruby-align: center; }
.hn-story rt { line-height: 1; letter-spacing: -0.06em; margin-inline: -0.3em; }
/* Close: a single thin cross, no frame */
.hn-close { position: absolute; z-index: 1; top: 2px; right: 6px; width: 44px; height: 44px; margin: 0; padding: 0; border: 0;
  background: none; color: var(--ink-2); cursor: pointer; transition: color 0.2s, transform 0.3s; }
.hn-close::before, .hn-close::after { content: ""; position: absolute; left: 50%; top: 50%; width: 17px; height: 1.5px; margin: -0.75px 0 0 -8.5px;
  background: currentColor; transform: rotate(45deg); }
.hn-close::after { transform: rotate(-45deg); }
.hn-close:hover { color: var(--shu); transform: rotate(90deg); }
.hn-close:focus { outline: none; }
.hn-close:focus-visible { outline: 1.5px dashed var(--shu); outline-offset: -8px; }

@media (prefers-reduced-motion: reduce) {
  .hero-canvas, .hero-title, .hero-hot, .hero-tab, .hero-tab::after, .hero-note, .hero-note::before, .hero-note::after,
  .hn-col, .hn-story, .hn-close {
    transition-duration: 0s !important; transition-delay: 0s !important; }
}

/* ---------------------------------------------------------------- 畑の写真と紹介文 */

.intro-sec { display: grid; gap: 26px; padding-block: 26px 34px; }
/* Copy first, picture second: on wide screens the picture sits on the right, across from the
   logo at the top left, so the first screen does not lean to the left */
.intro-sec .photo { aspect-ratio: 4 / 3; transform: rotate(1.5deg); margin-inline: 6px; }
.intro { font-size: 21px; line-height: 1.75; }
.intro-sub { margin-top: 14px; font-size: 14.5px; color: var(--ink-2); line-height: 1.9; }

/* ---------------------------------------------------------------- なおらい野菜（黒板・お知らせ・とれる時期） */

.yasai-sec { padding-block: 30px; }
.yasai-top { display: grid; gap: 40px; }

.board { align-self: start; background-color: var(--board); background-image: var(--noise); color: var(--chalk);
  border: 8px solid var(--wood); border-radius: 4px; padding: 14px 16px 20px; box-shadow: inset 0 0 22px rgba(0, 0, 0, 0.35), 0 2px 4px rgba(0, 0, 0, 0.15); }
.board .s-h { color: var(--chalk-y); }
.board .s-h span { background: none; padding: 0; }
.board .s-h small { color: rgba(243, 240, 230, 0.75); }
/* The list is edited in WordPress, so it has to look right with 1 to 6+ items:
   centered rows, a column count chosen from the item count, and varied chalk tilts */
.veg { --cols: 2; --gap: 16px; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px var(--gap); text-align: center; }
.veg > div { flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)); min-width: 0; }
.veg > div:only-child { flex-basis: 64%; }
.veg img { width: auto; height: 96px; max-width: 100%; object-fit: contain; margin: 0 auto 6px; }
.veg > div:nth-child(6n+1) { transform: rotate(-2deg); }
.veg > div:nth-child(6n+2) { transform: rotate(1.5deg); margin-top: 4px; }
.veg > div:nth-child(6n+3) { transform: rotate(-1deg); margin-top: 2px; }
.veg > div:nth-child(6n+4) { transform: rotate(2deg); }
.veg > div:nth-child(6n+5) { transform: rotate(-1.5deg); margin-top: 3px; }
.veg > div:nth-child(6n) { transform: rotate(1deg); margin-top: 1px; }
.veg b { display: block; font-size: 19px; line-height: 1.5; }
.veg em { display: block; font-style: normal; font-size: 19px; line-height: 1.5; color: var(--chalk-y); }
.veg span { display: block; margin-top: 2px; font-size: 13px; line-height: 1.55; text-wrap: balance; color: rgba(243, 240, 230, 0.85); }

.news { display: grid; gap: 10px; font-size: 14.5px; }
.news li { display: grid; grid-template-columns: 3.4em 1fr; gap: 8px; }
.news time { color: var(--ink-2); font-weight: 600; }

.harvest { margin-top: 48px; }
/* とれる時期：月の欄に、野菜の色の色鉛筆で線を引いたような帯。今月の欄だけ薄く色をつける */
.cal { --now: 11; border-top: 1px dashed var(--dash); }
.cal li { display: grid; grid-template-columns: 92px 1fr; align-items: stretch; min-height: 50px; border-bottom: 1px dashed var(--dash); }
.cal-name { display: flex; align-items: center; gap: 6px; font-size: 14px; line-height: 1.3; }
.cal-name img { flex: none; width: 32px; height: 32px; object-fit: contain; }
.cal-m { display: grid; grid-template-columns: repeat(12, 1fr); align-items: center;
  background:
    linear-gradient(to right, transparent calc((var(--now) - 1) / 12 * 100%), rgba(184, 69, 47, 0.08) 0,
      rgba(184, 69, 47, 0.08) calc(var(--now) / 12 * 100%), transparent 0),
    repeating-linear-gradient(to right, transparent 0 calc(100% / 12 - 1px), #EAE3D4 calc(100% / 12 - 1px) calc(100% / 12)); }
.cal li.cal-head { min-height: 34px; }
.cal-head i { font-style: normal; text-align: center; font-size: 13px; color: var(--ink-2); }
.cal-head i.now { color: var(--shu); }
.cal-m b { grid-row: 1; height: 12px; margin-inline: 3px; background: var(--noise), var(--c, var(--marker));
  border-radius: 7px 3px 8px 2px / 5px 7px 4px 8px; transform: rotate(-0.7deg); }
.cal li:nth-child(odd) .cal-m b { transform: rotate(0.5deg); }
.cal-memo { margin-top: 12px; font-size: 13px; color: var(--ink-2); }

/* ---------------------------------------------------------------- 本日のゲスト */

.guest-sec { padding-block: 34px 38px; }
.guest { display: grid; gap: 26px; }
.guest-photo { aspect-ratio: 1 / 1; width: 88%; max-width: 440px; justify-self: center; transform: rotate(-2deg); }
.guest-body b { display: block; font-size: 22px; line-height: 1.4; margin-bottom: 14px; }
/* 先生のひとことは、写真から出る吹き出しにする（スマホは上の写真から、パソコンは左の写真から） */
.bubble { position: relative; background: var(--sheet); border-radius: 12px; padding: 10px 16px; font-size: 15px; line-height: 1.7;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08); }
.bubble::before { content: ""; position: absolute; left: 26px; top: -9px; border: 6px solid transparent; border-bottom: 10px solid var(--sheet); border-top: 0; }

/* これまでのゲスト：小さく並べて、続きがあることを並びで伝える */
.past { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 26px; }
.past a { display: block; font-size: 13px; line-height: 1.45; text-align: center; color: var(--ink-2); }
.past a:hover { color: var(--ink); }
.past .taped { aspect-ratio: 1 / 1; padding: 3px; margin-bottom: 6px; }
.past .taped::before { width: 26px; height: 9px; margin-left: -13px; top: -5px; }
.past li:nth-child(1) .taped { transform: rotate(2deg); }
.past li:nth-child(2) .taped { transform: rotate(-1.5deg); }
.past li:nth-child(3) .taped { transform: rotate(1deg); }

/* ---------------------------------------------------------------- 畑の日記 */

.diary-sec { padding-block: 30px; }
.diary { display: grid; grid-template-columns: 46% 1fr; gap: 18px; align-items: start; }
.diary .taped { aspect-ratio: 4 / 3; transform: rotate(1.5deg); margin-top: 6px; }
/* 日付は消印のようなスタンプ */
.stamp { display: inline-block; margin-bottom: 6px; padding: 0 8px; border: 1.5px solid var(--shu); border-radius: 3px; color: var(--shu);
  font-size: 14px; letter-spacing: 0.06em; transform: rotate(-3deg); }
.diary h3 { font-size: 19px; line-height: 1.5; margin-bottom: 6px; }
.diary h3 a:hover { background: linear-gradient(transparent 62%, var(--marker) 62%); }
.diary p { font-size: 14px; line-height: 1.75; }
.diary-list { display: grid; margin-top: 20px; border-top: 1px dashed var(--dash); }
.diary-list a { display: grid; grid-template-columns: 56px 3.6em 1fr; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--dash); }
.diary-list img { width: 56px; height: 42px; object-fit: cover; border: 2px solid #FFFFFF; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15); }
.diary-list time { font-weight: 600; font-size: 13px; color: var(--ink-2); }
.diary-list span { font-size: 14.5px; }

/* ---------------------------------------------------------------- お店のご案内 */

.shop { padding-block: 30px 44px; }
.shop-main { display: grid; gap: 28px; }
/* 色鉛筆の絵の下に同じ構図の写真を置き、カーソルを乗せる（スマホはタップ）と写真に切り替わる */
.swap { margin: 0; aspect-ratio: 4 / 3; overflow: visible; cursor: pointer; outline: none; }
.swap img { position: absolute; inset: 4px; width: calc(100% - 8px); height: calc(100% - 8px); object-fit: cover; }
.swap .il { transition: opacity 0.7s ease, filter 0.7s ease; }
.swap:hover .il, .swap:focus .il, a:hover .swap .il { opacity: 0; filter: saturate(1.4) blur(2px); }
.cam { position: absolute; z-index: 2; right: 10px; bottom: 10px; width: 30px; height: 30px; padding: 6px; border-radius: 50%;
  background: rgba(255, 253, 248, 0.92); fill: none; stroke: var(--ink-2); stroke-width: 1.7; stroke-linejoin: round;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); transition: opacity 0.4s; }
.swap:hover .cam, .swap:focus .cam, a:hover .swap .cam { opacity: 0; }
/* The wooden shelf from beside the counter stands in front of the lower-right corner of the
   pharmacy picture, so the outside of the shop and the shelf inside read as one scene.
   pointer-events: none keeps the picture's photo swap working under the shelf. */
.shop-art { position: relative; margin: 6px 0 10px; padding-right: 15%; }
.shop-art > .swap { transform: rotate(-1.2deg); }
.shop-art .cam { right: auto; left: 10px; }
.il-tana { position: absolute; z-index: 2; right: 0; bottom: -7%; width: 41%; height: auto; pointer-events: none;
  filter: drop-shadow(0 3px 2px rgba(70, 50, 30, 0.2)) drop-shadow(0 8px 10px rgba(70, 50, 30, 0.12)); }
.shop-name { font-size: 22px; margin-bottom: 8px; }
.shop-note { font-size: 15px; line-height: 1.95; }
.contact { display: grid; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--dash); font-size: 14.5px; line-height: 1.7; }
.contact li { display: flex; align-items: flex-start; gap: 10px; }
.contact svg { flex: none; width: 18px; height: 18px; margin-top: 0.2em; fill: none; stroke: var(--leaf); stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
/* Business hours as a small table: label column, then day and time columns that line up
   (the day sits in a 3em box, so 月〜木 / 金 / 土 all start their times at the same place) */
.hours { flex: 1; display: grid; gap: 6px; margin: 0; }
.hours > div { display: grid; grid-template-columns: 4.8em 1fr; column-gap: 8px; align-items: baseline; }
.hours dt { color: var(--ink-2); font-size: 13.5px; letter-spacing: 0.04em; }
.hours dd { margin: 0; font-variant-numeric: tabular-nums; }
.contact .hours li { display: block; }
.hours .d { display: inline-block; min-width: 3em; }
.map { position: relative; aspect-ratio: 4 / 3; padding: 6px; background: #FFFFFF; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18); transform: rotate(0.8deg); }
.map::before { content: ""; position: absolute; z-index: 1; top: -8px; left: 50%; width: 56px; height: 15px; margin-left: -28px; background: var(--tape); transform: rotate(3deg); }
.map iframe { display: block; width: 100%; height: 100%; border: 0; filter: saturate(0.75) sepia(0.12); }

.sub-h { margin-top: 44px; margin-bottom: 14px; font-size: 18px; }
.shops { display: grid; gap: 16px; }
.also { display: grid; grid-template-columns: 42% 1fr; gap: 14px; align-items: center;
  background: var(--sheet); border-radius: 6px 16px 5px 14px / 14px 5px 16px 6px; padding: 12px 16px; }
.also .swap { transform: rotate(-1.5deg); }
.also .cam { width: 24px; height: 24px; padding: 4px; right: 8px; bottom: 8px; }
.also b { display: block; font-size: 18px; }
.also p { font-size: 14px; }
.also.wanted { display: block; background: none; border: 1.5px dashed #B9AE98; padding: 16px 18px; }
.also.wanted .tag { margin-top: 10px; float: right; }
.also.wanted::after { content: ""; display: block; clear: both; }

/* ---------------------------------------------------------------- フッター */

.site-foot { margin-top: 20px; }
.foot-art { position: relative; z-index: 1; margin-bottom: -2px; overflow: hidden; }
.foot-art img { width: 100%; min-width: 760px; height: auto; }
.foot-body { background: var(--foot); color: #F3EFE6; padding: 26px 0 18px; }
.foot-in { display: grid; gap: 22px; }
.foot-brand img { height: 34px; width: auto; }
.foot-brand p { font-size: 13px; line-height: 1.8; color: rgba(243, 239, 230, 0.85); }
.foot-addr { margin-top: 12px; }
.foot-hours { margin-top: 2px; }
/* Narrow: a two-column list on hairlines; the fifth link takes the full last row */
.foot-nav { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; font-size: 16px; line-height: 1.5; }
.foot-nav a { padding: 11px 0; border-top: 1px solid rgba(243, 239, 230, 0.16); transition: color 0.2s; }
.foot-nav a:last-child { grid-column: 1 / -1; }
.foot-nav a:hover { color: #FFFFFF; text-decoration: underline; text-decoration-color: rgba(243, 239, 230, 0.5); text-decoration-thickness: 1px; text-underline-offset: 6px; }
.copy { margin-top: 22px; padding-top: 12px; border-top: 1px solid rgba(243, 239, 230, 0.18); text-align: center;
  font-size: 12px; letter-spacing: 0.2em; color: rgba(243, 239, 230, 0.6); }

/* ---------------------------------------------------------------- Scroll reveal (classes added by site.js) */

/* `translate` composes with each block's own `transform` tilt */
.rv-item { opacity: 0; translate: 0 var(--rv-y, 14px);
  transition: opacity var(--rv-dur, 0.8s) ease, translate calc(var(--rv-dur, 0.8s) * 1.3) cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: calc(var(--rv-n, 0) * var(--rv-step, 120ms)); }
.rv-item.rv-in { opacity: 1; translate: 0 0; }
/* A slightly different breath per band */
.intro-sec { --rv-y: 18px; --rv-dur: 1s; --rv-step: 180ms; }
.yasai-sec { --rv-y: 12px; --rv-dur: 0.8s; --rv-step: 120ms; }
.guest-sec { --rv-y: 20px; --rv-dur: 1.1s; --rv-step: 200ms; }
.diary-sec { --rv-y: 12px; --rv-dur: 0.85s; --rv-step: 140ms; }
.shop { --rv-y: 10px; --rv-dur: 0.7s; --rv-step: 90ms; }

/* ---------------------------------------------------------------- パソコン */

@media (min-width: 860px) {
  body { font-size: 16px; }
  .wrap { padding-inline: 40px; }
  .wave { margin: 0 40px; }

  /* Above the hero's story note (z-index 3), so the links stay crisp over its mist */
  .site-head { position: absolute; z-index: 5; top: 0; left: 0; right: 0; padding: 22px 40px; }
  .gnav { display: flex; gap: 28px; font-size: 18px; text-shadow: 0 0 6px rgba(255, 253, 248, 0.95), 0 0 2px rgba(255, 253, 248, 0.95); }
  .menu { display: none; }

  /* The logo sits in the sky at 13% of the picture's height (a 3:1 stage is 33.333vw tall) */
  .hero-title { position: absolute; z-index: 1; left: 5.5%; top: 4.333vw; padding: 0; text-align: left; }
  /* ヘッダーは1枚の絵として、幅に比例して大きくする（ロゴも文も、絵と同じ割合で） */
  .lockup { --logo-h: clamp(64px, 6.4vw, 170px); }
  .logo-sub { margin-top: 6px; font-size: clamp(13px, 1.25vw, 32px); text-shadow: 0 0 6px rgba(255, 253, 248, 0.95), 0 0 2px rgba(255, 253, 248, 0.95); }
  .hero.is-zoomed .hero-title { opacity: 0; visibility: hidden; transition: opacity 0.4s, visibility 0s 0.4s; }
  .hero-stage { aspect-ratio: 3 / 1; }
  .hero-tab { font-size: 17px; padding-inline: 18px; }
  .hn-col { font-size: 16px; }

  .intro-sec { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 56px; align-items: center; padding-block: 40px 54px; }
  .intro { font-size: 26px; }
  .intro-sub { font-size: 15px; }

  .yasai-sec { padding-block: 50px 46px; }
  .yasai-top { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 56px; align-items: start; }
  .board { padding: 18px 24px 24px; }
  .veg img { height: 116px; }
  .veg:has(> :nth-child(3)) { --cols: 3; }
  .veg:has(> :nth-child(3)) img { height: 96px; }
  .veg:has(> :nth-child(4):last-child) { --cols: 2; }
  .veg:has(> :nth-child(7)) { --cols: 4; }
  .news-sec { padding-top: 14px; }
  .harvest { margin-top: 64px; }
  .cal li { grid-template-columns: 160px 1fr; min-height: 62px; }
  .cal-name { font-size: 17px; gap: 10px; }
  .cal-name img { width: 46px; height: 46px; }
  .cal-head i { font-size: 15px; }
  .cal-m b { height: 15px; margin-inline: 5px; }

  .guest-sec { padding-block: 54px 60px; }
  .guest { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
  .guest-photo { width: 100%; max-width: 460px; justify-self: start; margin: 8px 0 0 6px; }
  .guest-body b { font-size: 30px; margin-bottom: 16px; }
  .bubble { font-size: 16.5px; padding: 12px 20px; max-width: 24em; }
  .bubble::before { left: -9px; top: 18px; border: 6px solid transparent; border-right: 10px solid var(--sheet); border-left: 0; }
  .past { gap: 18px; margin-top: 34px; }

  .diary-sec { padding-block: 44px; }
  .diary-wrap { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: start; }
  .diary-wrap .diary-list { margin-top: 6px; }

  .shop { padding-block: 50px 64px; }
  /* The pharmacy scene and its information side by side, the map as a wide strip below */
  .shop-main { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); grid-template-areas: "art info" "map map"; gap: 56px 56px; align-items: center; }
  .shop-art { grid-area: art; margin: 6px 0 16px; }
  .shop-info { grid-area: info; }
  .shop-note { font-size: 16px; }
  .map { grid-area: map; aspect-ratio: 7 / 2; transform: rotate(0.35deg); }
  .sub-h { margin-top: 56px; }
  .shops { grid-template-columns: 1fr 1fr; gap: 24px; }

  /* Footer: brand on the left, the five links in one row level with the logo */
  .foot-body { padding: 30px 0 18px; }
  .foot-in { grid-template-columns: minmax(0, 1fr) auto; column-gap: 48px; align-items: start; }
  .foot-nav { display: flex; align-items: center; height: 34px; gap: clamp(20px, 2.4vw, 38px); white-space: nowrap; }
  .foot-nav a { padding: 0; border: 0; }
}

/* Between the phone layout and roomy desktops the brand needs the full width, so the
   single row of links moves under it instead of wrapping */
@media (min-width: 860px) and (max-width: 1039px) {
  .foot-in { grid-template-columns: 1fr; row-gap: 18px; }
}

/* Home page: the inline nav sits in the open sky between the logo and the shrine. It ends where
   the trees left of the shrine begin (about 79% across the picture), so no link lands on the roof.
   --cw is the picture's width: the full width while the stage is 3:1, at least 1380px once the
   stage stops shrinking (1100px and up). Every link keeps a soft paper-white glow for contrast. */
@media (min-width: 960px) {
  body:not(.page) .site-head { --cw: 100%; padding-right: calc(var(--cw) * 0.21); }
  body:not(.page) .gnav { gap: clamp(22px, 2.2vw, 42px); font-size: clamp(17px, 1.2vw, 23px); }
  body:not(.page) .gnav a { text-shadow: 0 0 6px rgba(250, 246, 238, 0.98), 0 0 14px rgba(250, 246, 238, 0.92), 0 1px 3px rgba(250, 246, 238, 0.95);
    transition: color 0.2s; }
  body:not(.page) .gnav a:hover { color: var(--shu); }
}

/* Wide (>= 1100px): the story strip rests centered on the faded lower edge of the picture and the
   story note floats over the zoomed picture. The stage is never shorter than 460px. */
@media (min-width: 1100px) {
  body:not(.page) .site-head { --cw: max(100%, 1380px); }
  .hero-title { top: max(4.333vw, 60px); }
  .hero-stage { aspect-ratio: auto; height: max(33.333vw, 460px); }
  /* A soft paper glow (no edge) keeps the titles readable where the picture has not quite faded */
  .hero-tabs { position: absolute; left: 50%; bottom: 0; margin: 0; padding: 4px 40px; transform: translate(-50%, 42%);
    background: radial-gradient(closest-side, rgba(247, 243, 232, 0.94), rgba(247, 243, 232, 0.72) 62%, rgba(247, 243, 232, 0)); }
  .hero-tab { font-size: clamp(17px, 1.15vw, 22px); padding: 0.5em 1.05em 0.7em; }
  .hero-tab::after { left: 0.9em; right: 0.9em; bottom: 0.32em; }

  .hero-note { --hn-col: clamp(340px, 29vw, 560px); position: absolute; z-index: 3; inset: 0; display: block; visibility: visible;
    pointer-events: none; transition: none; }
  .hero.is-zoomed .hero-note { transition: none; }
  /* The mist: one per side, only the side of the open story shows. Kinari paper at 94% along the
     outer edge, easing out to nothing inside the picture, and dissolving into the faded bottom */
  .hero-note::before, .hero-note::after { content: ""; position: absolute; z-index: 0; top: 0; bottom: 0; width: calc(var(--hn-pad) + var(--hn-col) + 20vw);
    background-color: #F7F3E8; background-image: var(--noise);
    -webkit-mask-image: var(--mist), linear-gradient(to bottom, #000 76%, transparent); -webkit-mask-composite: source-in;
    mask-image: var(--mist), linear-gradient(to bottom, #000 76%, transparent); mask-composite: intersect;
    opacity: 0; transition: opacity 0.5s; }
  .hero-note::before { left: 0; --mist: linear-gradient(to right, rgba(0, 0, 0, 0.94) calc(100% - 18vw), rgba(0, 0, 0, 0.8) calc(100% - 14vw),
    rgba(0, 0, 0, 0.5) calc(100% - 9vw), rgba(0, 0, 0, 0.2) calc(100% - 4.5vw), transparent); }
  .hero-note::after { right: 0; --mist: linear-gradient(to left, rgba(0, 0, 0, 0.94) calc(100% - 18vw), rgba(0, 0, 0, 0.8) calc(100% - 14vw),
    rgba(0, 0, 0, 0.5) calc(100% - 9vw), rgba(0, 0, 0, 0.2) calc(100% - 4.5vw), transparent); }
  .hero.is-zoomed .hero-note[data-side="left"]::before,
  .hero.is-zoomed .hero-note[data-side="right"]::after { opacity: 1; transition: opacity 0.8s 0.15s; }

  /* The text column, 5.5% in from its edge (the logo's margin), centered in the height above the strip.
     z-index 1 keeps it above ::after, which would otherwise paint over the text */
  .hn-clip { position: absolute; z-index: 1; top: 0; bottom: 64px; left: var(--hn-pad); width: var(--hn-col); display: flex; align-items: center; overflow: visible; }
  .hero-note[data-side="right"] .hn-clip { left: auto; right: var(--hn-pad); }
  .hn-col { width: 100%; max-width: none; margin: 0; padding: 0; font-size: clamp(15px, 1.06vw, 20px); pointer-events: auto;
    transform: translateX(-12px); transition: opacity 0.3s, transform 0.4s; }
  .hero-note[data-side="right"] .hn-col { transform: translateX(12px); }
  .hero.is-zoomed .hn-col { transform: none; transition: opacity 0.6s 0.35s, transform 0.9s 0.35s cubic-bezier(0.2, 0.7, 0.2, 1); }
  .hero.is-zoomed .hero-note.is-turning .hn-col { opacity: 0; transition: opacity 0.3s; }
  .hn-close { top: -10px; right: -14px; }

  .intro-sec { padding-top: 76px; }
}

/* ---------------------------------------------------------------- メニュー（スマホ） */

/* メニューのボタンで、テープで留めた紙のメニューを開く。動きは site.js */
@media (max-width: 859px) {
  .site-head { position: relative; z-index: 5; }
}
/* On the home page the four links would touch the logo below 960px, so they fold into the button */
@media (min-width: 860px) and (max-width: 959px) {
  body:not(.page) .gnav { display: none; }
  body:not(.page) .menu { display: block; }
  body:not(.page).menu-open .gnav { display: grid; top: 66px; right: 36px; text-shadow: none; }
}
@media (max-width: 959px) {
  .menu-open .gnav { display: grid; gap: 2px; position: absolute; top: 52px; right: 12px; min-width: 210px; padding: 16px 26px;
    background: var(--sheet); box-shadow: 0 4px 16px rgba(0, 0, 0, 0.16); font-size: 18px; line-height: 2.1; transform: rotate(-0.6deg); }
  .menu-open .gnav::before { content: ""; position: absolute; top: -7px; left: 50%; width: 48px; height: 14px; margin-left: -24px;
    background: var(--tape); transform: rotate(3deg); }
  .menu span::before, .menu span::after { transition: transform 0.2s, top 0.2s; }
  .menu-open .menu span { background: transparent; }
  .menu-open .menu span::before { top: 0; transform: rotate(45deg); }
  .menu-open .menu span::after { top: 0; transform: rotate(-45deg); }
}

/* ---------------------------------------------------------------- 下のページ共通 */

/* 大きな絵はトップだけ。下のページの頭は、ロゴとメニューの帯にする */
.page .site-head { justify-content: space-between; padding-top: 12px; padding-right: 10px; }
.head-logo img { height: 30px; width: auto; }
/* いまいるページは、見出しと同じマーカーを引く */
.gnav a[aria-current] { background: linear-gradient(transparent 62%, var(--marker) 62%); }

.page-head { padding-block: 30px 24px; }
.p-h { display: flex; align-items: center; gap: 10px; font-size: 30px; line-height: 1.35; }
.p-h span { background: linear-gradient(transparent 62%, var(--marker) 62%); padding: 0 4px; }
.p-h img { height: 66px; margin: -18px 0 -14px; }
.lead { margin-top: 16px; max-width: 36em; font-size: 15px; line-height: 1.95; color: var(--ink-2); }
.sec { padding-block: 30px; }
.more.center { justify-content: center; }

/* ---------------------------------------------------------------- 本日のゲスト（一覧） */

.guest-now { display: grid; gap: 22px; padding-bottom: 20px; }
.guest-now .taped { aspect-ratio: 1 / 1; max-width: 460px; transform: rotate(-2deg); }
.g-name { font-size: 26px; line-height: 1.4; margin: 6px 0 14px; }
.guest-now .bubble { font-size: 15.5px; padding: 12px 18px; }
.g-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px 18px; }
.g-grid li { scroll-margin-top: 20px; }
.g-grid .taped { aspect-ratio: 1 / 1; margin-bottom: 12px; }
.g-grid li:nth-child(3n+1) .taped { transform: rotate(1.5deg); }
.g-grid li:nth-child(3n+2) .taped { transform: rotate(-1.2deg); }
.g-grid li:nth-child(3n) .taped { transform: rotate(0.8deg); }
.g-grid b { display: block; font-size: 17px; line-height: 1.4; }
.g-grid p { margin-top: 4px; font-size: 13.5px; line-height: 1.7; color: var(--ink-2); }
/* トップから来たゲストに、見出しと同じマーカーを引く */
.g-grid li:target b { background: linear-gradient(transparent 62%, var(--marker) 62%); }

/* ---------------------------------------------------------------- 畑の日記（一覧と記事） */

/* いちばん新しい日記は、トップと同じ形で大きく出す */
.n-top { display: grid; gap: 18px; }
.n-top .taped { aspect-ratio: 4 / 3; transform: rotate(1.5deg); margin-inline: 6px; }
.n-top h2 { font-size: 23px; line-height: 1.45; margin-bottom: 8px; }
.n-top:hover h2 { background: linear-gradient(transparent 62%, var(--marker) 62%); }
.n-top p { font-size: 15px; line-height: 1.9; }
.n-grid { display: grid; gap: 24px; }
.n-grid a { display: grid; grid-template-columns: 42% 1fr; gap: 16px; align-items: start; }
.n-grid .taped { aspect-ratio: 4 / 3; transform: rotate(-1.2deg); }
.n-grid li:nth-child(even) .taped { transform: rotate(1deg); }
.n-grid .stamp { font-size: 13px; margin-bottom: 4px; }
.n-grid h3 { font-size: 18px; line-height: 1.45; }
.n-grid a:hover h3 { background: linear-gradient(transparent 62%, var(--marker) 62%); }
.n-grid p { margin-top: 4px; font-size: 13.5px; line-height: 1.7; color: var(--ink-2);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* 日記の記事 */
.post { max-width: 720px; padding-block: 34px 10px; }
.post h1 { font-size: 28px; line-height: 1.45; margin-top: 6px; }
.post-body > p { margin-top: 1.1em; font-size: 15.5px; line-height: 2; }
.photos { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 30px 4px 32px; }
.photos .taped { aspect-ratio: 3 / 4; }
.photos .taped:nth-child(1) { transform: rotate(-1.5deg); }
.photos .taped:nth-child(2) { transform: rotate(1.2deg); margin-top: 14px; }
.photos.one { grid-template-columns: 1fr; }
.photos.one .taped { aspect-ratio: 4 / 3; transform: rotate(-1deg); margin-top: 0; }
/* 日報の「今日の農業ひとこと」は、罫線の紙にテープで貼ったメモにする */
.memo { position: relative; margin: 40px 6px 10px; padding: 18px 22px 14px; background-color: var(--sheet);
  background-image: repeating-linear-gradient(transparent 0 33px, #E7DFCC 33px 34px); background-position: 0 18px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.14); transform: rotate(-0.6deg); }
.memo::before { content: ""; position: absolute; top: -8px; left: 28px; width: 56px; height: 15px; background: var(--tape); transform: rotate(-5deg); }
.memo h2 { font-size: 15px; font-weight: 400; line-height: 34px; color: var(--shu); }
.memo p { font-size: 17px; line-height: 34px; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; margin-top: 48px; border-block: 1px dashed var(--dash); }
.post-nav a { padding: 14px 8px; font-size: 15px; line-height: 1.5; }
.post-nav a:hover span { background: linear-gradient(transparent 62%, var(--marker) 62%); }
.post-nav small { display: block; margin-bottom: 2px; font-family: var(--gothic); font-size: 12px; color: var(--ink-2); }
.post-nav .prev small::before { content: "← "; color: var(--shu); }
.post-nav .next { grid-column: 2; text-align: right; border-left: 1px dashed var(--dash); }
.post-nav .next small::after { content: " →"; color: var(--shu); }

/* ---------------------------------------------------------------- お問い合わせ */

/* 便箋のような紙に、下線だけの入力欄 */
.form { position: relative; max-width: 680px; padding: 28px 22px 26px; background: var(--sheet); box-shadow: 0 1px 4px rgba(0, 0, 0, 0.14); }
.form::before { content: ""; position: absolute; top: -8px; left: 50%; width: 60px; height: 15px; margin-left: -30px; background: var(--tape); transform: rotate(-3deg); }
.form fieldset { margin: 0 0 24px; padding: 0; border: 0; }
.field { display: grid; gap: 4px; margin-bottom: 24px; }
.f-label { padding: 0; font-size: 16px; line-height: 1.6; }
/* 必須・任意は、ふつうのフォームと同じ小さな札 */
.req, .opt { display: inline-block; margin-left: 8px; padding: 0 6px; border-radius: 3px; font-family: var(--gothic); font-size: 12px; line-height: 1.7; vertical-align: 2px; }
.req { background: var(--shu); color: #FFFFFF; }
.opt { box-shadow: inset 0 0 0 1px #B9AE98; color: var(--ink-2); }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form textarea {
  width: 100%; box-sizing: border-box; border: 0; border-bottom: 1.5px solid var(--dash); border-radius: 0; background: transparent;
  color: var(--ink); font: inherit; font-size: 16px; padding: 6px 2px; }
.form textarea { min-height: 204px; resize: vertical; border-bottom: 0; line-height: 34px; padding: 0 2px;
  background: repeating-linear-gradient(transparent 0 33px, var(--dash) 33px 34px); }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--leaf); }
.kinds { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 6px; }
.kinds label { position: relative; cursor: pointer; }
.kinds input { position: absolute; opacity: 0; }
.kinds span { display: inline-block; padding: 3px 16px; border: 1.5px dashed #B9AE98; border-radius: 999px; font-size: 14.5px; }
.kinds input:checked + span { border-style: solid; border-color: var(--leaf); background: rgba(79, 125, 58, 0.08); }
.kinds input:focus-visible + span { outline: 1px dashed var(--shu); outline-offset: 2px; }
/* 送信ボタンは、ほかでは使っていない、ふつうの塗りのボタンにする */
.send { display: block; width: 100%; max-width: 320px; margin: 8px auto 0; padding: 12px 24px; border: 0; border-radius: 6px;
  background: var(--leaf); color: #FFFFFF; font-family: var(--gothic); font-size: 16px; font-weight: 700; letter-spacing: 0.08em;
  cursor: pointer; box-shadow: 0 2px 0 rgba(0, 0, 0, 0.12); transition: background 0.15s; }
.send:hover { background: #42692F; }
.send:focus-visible { outline: 2px solid var(--leaf); outline-offset: 3px; }
.form-note { margin-top: 16px; text-align: center; font-size: 12px; color: var(--ink-2); }
.contact-wrap { display: grid; gap: 26px; }
.contact-side p { font-size: 15px; line-height: 1.95; }
.contact-side p + p { margin-top: 10px; }
.contact-side img { display: none; }

/* 文の中のリンク */
.post-body p a { text-decoration: underline; text-decoration-color: var(--shu); text-decoration-thickness: 1px; text-underline-offset: 4px; }
.post-body p a:hover { background: linear-gradient(transparent 62%, var(--marker) 62%); }

/* ---------------------------------------------------------------- 下のページ（パソコン） */

@media (min-width: 860px) {
  .page .site-head { position: static; padding-top: 26px; padding-right: 40px; }
  .head-logo img { height: 40px; }
  .page .gnav { gap: clamp(18px, 2vw, 30px); font-size: clamp(16px, 1.45vw, 19px); text-shadow: none; }
  .page-head { padding-block: 50px 34px; }
  .p-h { font-size: 40px; }
  .p-h img { height: 88px; margin: -24px 0 -18px; }
  .lead { font-size: 16px; }
  .sec { padding-block: 44px; }

  .guest-now { grid-template-columns: minmax(0, 440px) 1fr; gap: 64px; align-items: center; }
  .g-name { font-size: 32px; }
  .guest-now .bubble { font-size: 17px; padding: 14px 22px; max-width: 26em; }
  .g-grid { grid-template-columns: repeat(3, 1fr); gap: 46px 44px; }
  .g-grid b { font-size: 19px; }
  .g-grid p { font-size: 14px; }

  .n-top { grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
  .n-top h2 { font-size: 28px; }
  .n-top p { font-size: 16px; }
  .n-grid { grid-template-columns: repeat(3, 1fr); gap: 44px; }
  .n-grid a { grid-template-columns: 1fr; gap: 14px; }
  .n-grid h3 { font-size: 19px; }

  .post { padding-block: 50px 10px; }
  .post h1 { font-size: 36px; }
  .post-body > p { font-size: 16.5px; }
  .photos { gap: 28px; margin: 36px 0 38px; }
  .memo { margin-inline: 0; padding: 20px 30px 16px; }

  .form { padding: 40px 48px 34px; }
  .contact-wrap { grid-template-columns: 1fr 1.75fr; gap: 56px; align-items: start; }
  .contact-side p { font-size: 16px; }
  .contact-side img { display: block; width: 62%; max-width: 220px; margin: 34px 0 0 8%; }
}
