/* NPO法人 みんなのおかわり（デモ）全ページ共通。画用紙とクレヨン。写真は使わない */
:root {
  --paper: #FFF8E7;
  --paper2: #FFFCF3;
  --ink: #3B302A;
  --red: #E4572E;
  --blue: #3E7CB1;
  --green: #5B9A4B;
  --orange: #F28C28;
  --blue15: rgba(62, 124, 177, .15);
  --hand: "Yomogi", "Zen Maru Gothic", sans-serif;
  --body: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "BIZ UDPGothic", sans-serif;
  --wrap: 1120px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0; color: var(--ink); font-family: var(--body); font-size: 16.5px; line-height: 1.75;
  background-color: var(--paper);
  /* 画用紙のすじ（不透明度4%） */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cg fill='none' stroke='%233B302A' stroke-opacity='.04' stroke-width='1'%3E%3Cpath d='M0 23 C40 20 90 26 180 22'/%3E%3Cpath d='M0 71 C60 74 120 68 180 72'/%3E%3Cpath d='M0 118 C50 115 110 121 180 117'/%3E%3Cpath d='M0 160 C70 163 120 158 180 161'/%3E%3C/g%3E%3C/svg%3E");
  font-variant-numeric: tabular-nums;
}
img, svg { max-width: 100%; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
a { color: var(--blue); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
p { margin: 0 0 .9em; }
h1, h2, h3 { font-weight: 400; margin: 0; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.small { font-size: 14.5px; }
.b { font-weight: 700; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.art { display: block; width: 100%; height: auto; overflow: visible; }

/* ボタン：赤のクレヨンで塗った地。角は少し不ぞろい */
.btn {
  display: inline-flex; align-items: center; gap: .4em; padding: .72em 1.35em; margin: .2em 1.2em .2em 0;
  background: var(--red); color: #fff; font: 700 16px/1.3 var(--body); text-decoration: none; border: 0; cursor: pointer;
  border-radius: 14px 10px 16px 12px; box-shadow: inset 0 -3px 0 rgba(59, 48, 42, .22);
  transition: transform .12s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(2px); }
.btn--s { padding: .5em .95em; font-size: 15px; margin: 0; white-space: nowrap; }
.tlink { display: inline-block; font-weight: 700; margin: .2em 0; }

/* ヘッダー */
.hd { position: sticky; top: 0; z-index: 30; background: var(--paper); }
.hd__in { width: min(1240px, 100% - 32px); margin-inline: auto; display: flex; align-items: center; gap: 18px; padding: 12px 0 6px; }
.hd .rule { display: block; width: 100%; height: 10px; margin-top: -2px; }
.logo { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; flex: none; }
.logo .bowl { width: 46px; height: 46px; }
.logo__t { display: flex; flex-direction: column; line-height: 1.05; }
.logo__n { font-family: var(--hand); font-size: 24px; letter-spacing: .02em; }
.logo__k { font-size: 11.5px; font-weight: 700; letter-spacing: .2em; margin-top: 3px; }
.hd__brand { display: flex; align-items: flex-start; gap: 6px; flex: none; }
.hd__demo { font-size: 9.5px; letter-spacing: .12em; color: rgba(59, 48, 42, .55); border: 1px solid rgba(59, 48, 42, .3); border-radius: 3px; padding: 0 4px; line-height: 1.5; align-self: flex-start; margin-top: 8px; }
.gnav { display: flex; align-items: center; gap: 4px 18px; margin-left: auto; flex-wrap: wrap; justify-content: flex-end; }
.gnav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 700; font-size: 14.5px; padding: 4px 0; position: relative; white-space: nowrap; }
.gnav a[aria-current="page"]::after { content: ""; position: absolute; left: -3px; right: -3px; bottom: -3px; height: 7px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 8' preserveAspectRatio='none'%3E%3Cpath d='M2 5 C20 2 40 7 60 4 C75 2 88 6 98 3' fill='none' stroke='%23E4572E' stroke-width='3.4' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") center/100% 100% no-repeat; }
.gnav a:not(.btn):hover { color: var(--red); }
.gnav__next { display: none; }
.hd__menu { display: none; }
.bowl .steam { transform-box: fill-box; }

/* 最初の画面 */
.hero { position: relative; width: min(1280px, 100%); margin: 8px auto 0; }
.hero__art { padding: 0 2%; }
.hero-art { width: 100%; height: auto; aspect-ratio: 1200 / 640; }
.hero__date {
  position: absolute; left: 5%; bottom: -36px; display: flex; flex-direction: column; text-decoration: none; color: var(--ink);
  background: var(--paper); padding: 14px 30px 16px 26px; border-radius: 6px 14px 8px 12px; transform: rotate(-2deg);
  box-shadow: 0 0 0 2px rgba(59, 48, 42, .12);
}
.hero__next { font-family: var(--hand); font-size: 26px; line-height: 1; }
.hero__day { position: relative; margin: 6px 0 4px; font-family: var(--hand); font-size: clamp(40px, 5.4vw, 70px); line-height: 1.15; white-space: nowrap; padding: 0 .1em; }
.hero__num em { font-style: normal; color: var(--red); }
.hero__ring { position: absolute; left: -9%; top: -26%; width: 117%; height: 150%; pointer-events: none; }
.hero__where { font-weight: 700; font-size: 16px; margin-top: 4px; }

.intro { display: grid; grid-template-columns: 1.05fr 1fr; gap: 24px 56px; align-items: center; padding: 92px 0 56px; }
.intro__h { font-family: var(--hand); font-size: clamp(36px, 4.6vw, 58px); line-height: 1.35; letter-spacing: .01em; font-feature-settings: "palt"; }
.intro__fee { display: inline-block; font-weight: 700; font-size: 18px; padding: 4px 2px; background: linear-gradient(transparent 62%, rgba(228, 87, 46, .22) 62%, rgba(228, 87, 46, .22) 92%, transparent 92%); }
.intro__go { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; }

/* 区画 */
.sec { padding: 56px 0; }
.sep { width: min(var(--wrap), 100% - 40px); margin: 0 auto; }
.sep .rule { display: block; width: 100%; height: 12px; }
.narrow > * { max-width: 780px; }
.narrow > .h2 { max-width: none; }
.h2 { display: flex; align-items: center; gap: 10px; font-family: var(--hand); font-size: clamp(26px, 3vw, 34px); line-height: 1.3; margin-bottom: 22px; font-feature-settings: "palt"; }
.h2 > span { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 8' preserveAspectRatio='none'%3E%3Cpath d='M2 4 C25 6 45 2 70 5 C82 6 92 3 98 4' fill='none' stroke='%233E7CB1' stroke-width='3' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") left bottom/100% 7px no-repeat; padding-bottom: 6px; }
.bowl--h { width: 40px; height: 40px; flex: none; margin-top: -6px; }
.bowl--xs { width: 24px; height: 24px; display: inline-block; vertical-align: -6px; margin-right: 4px; }

/* こどもへ の札 */
.kd { position: relative; background: var(--blue15); border-radius: 22px 16px 26px 18px; padding: 38px 36px 28px; }
.kd .frame { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.kd__tag { position: absolute; left: 22px; top: -14px; margin: 0; background: var(--blue); color: #fff; font-family: var(--hand); font-size: 17px; padding: 3px 14px 4px; border-radius: 8px 12px 9px 11px; transform: rotate(-3deg); }
.kd__body { display: flex; gap: 28px; align-items: center; }
.kd__t { flex: 1; }
.kd__t p { font-family: var(--hand); font-size: 21px; line-height: 1.7; margin: 0 0 .25em; }
.kd__art { flex: 0 0 min(240px, 34%); }

/* 次に開く日（トップ） */
.nx__grid { display: grid; grid-template-columns: minmax(260px, 340px) 1fr; gap: 28px 56px; align-items: start; }
.nx__day { padding: 6px 0 14px; margin-bottom: 14px; border-bottom: 2px dashed rgba(59, 48, 42, .2); }
.nx__d { font-family: var(--hand); font-size: 32px; color: var(--red); line-height: 1.2; margin-bottom: 6px; }
.al { font-size: 14.5px; font-weight: 700; display: inline-block; border: 2px solid var(--ink); border-radius: 9px 6px 10px 7px; padding: 1px 10px; }
.nx__note { font-size: 15px; }

/* カレンダー（D-3） */
.dg { margin: 0; }
.dg__h { font-family: var(--hand); font-size: 26px; margin-bottom: 14px; }
.dg__foot { font-size: 14.5px; margin-top: 14px; }
.cals__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cal { background: var(--paper2); border-radius: 10px 16px 12px 14px; padding: 14px 16px 12px; box-shadow: 0 0 0 2px rgba(59, 48, 42, .14); }
.cal__m { font-family: var(--hand); font-size: 28px; margin: 0 0 4px 6px; line-height: 1.2; }
.cal table { width: 100%; border-collapse: collapse; text-align: center; table-layout: fixed; }
.cal th { font-size: 12.5px; font-weight: 700; padding: 2px 0 6px; }
.cal td { font-size: 15px; height: 40px; position: relative; }
.cal .sat { color: var(--blue); font-weight: 700; }
.cal__d { position: relative; display: inline-grid; place-items: center; width: 34px; height: 30px; font-weight: 700; color: var(--red); }
.cal__ring { position: absolute; left: -3px; top: -3px; width: calc(100% + 6px); height: calc(100% + 6px); }
.cal__pic { position: absolute; right: -2px; bottom: -6px; width: 22px; z-index: 1; }
.cals--s .cal { max-width: 340px; }

/* 1回の流れ（D-1） */
.flow__l { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0 34px; }
.flow__i { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.flow__time { font-weight: 700; font-size: 17px; }
.flow__art { display: block; width: 100%; max-width: 170px; margin: 4px 0 2px; }
.flow__lab { font-family: var(--hand); font-size: 21px; }
.flow__arw { position: absolute; right: -36px; top: 42%; width: 38px; }
.flow__note { position: absolute; bottom: calc(100% + 4px); left: -20%; right: -20%; font-family: var(--hand); font-size: 15.5px; line-height: 1.4; margin: 0; }
.flow--big .flow__l { margin-top: 72px; }
.flow__br { position: absolute; top: calc(100% + 6px); left: 60%; display: flex; align-items: center; gap: 4px; font-family: var(--hand); font-size: 15.5px; white-space: nowrap; }
.flow__br .arw { width: 30px; transform: rotate(35deg); }
.flow--big { padding-bottom: 46px; }
.flow__txt { max-width: 760px; margin-top: 30px; }

.tt { margin: 34px 0 18px; max-width: 820px; }
.tt div { display: grid; grid-template-columns: 7.2em 1fr; gap: 14px; padding: 12px 0; border-top: 2px dashed rgba(59, 48, 42, .18); }
.tt dt { font-weight: 700; font-size: 18px; color: var(--red); }
.tt dd { margin: 0; }

/* トップの小さめの区画 */
.al-s { display: grid; grid-template-columns: auto 1fr; gap: 6px 40px; align-items: start; padding: 40px 0; }
.al-s .h2 { margin-bottom: 0; }
.side { display: grid; grid-template-columns: minmax(200px, 300px) 1fr; gap: 32px 64px; align-items: center; }
.side--r { grid-template-columns: 1fr minmax(240px, 420px); }
.kf-top__t { max-width: 760px; margin-bottom: 30px; }
.photo { display: flex; align-items: center; gap: 22px; padding: 28px 0; max-width: 760px; }
.photo__art { flex: 0 0 96px; }
.photo__h { font-family: var(--hand); font-size: 22px; margin-bottom: 4px; }
.photo__t p { margin: 0; }
.photo__t .tlink { margin-left: .6em; }

/* 寄付の受け取り方（D-2） */
.kfz { background: var(--paper2); border-radius: 18px 12px 20px 14px; padding: 26px 28px 28px; box-shadow: 0 0 0 2px rgba(59, 48, 42, .12); }
.kfz__grid { display: grid; grid-template-columns: 110px 1fr 120px; grid-template-rows: auto auto; gap: 18px 20px; align-items: center; }
.kfz__start { grid-row: 1 / 3; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.kfz__start .bowl { width: 64px; height: 64px; }
.kfz__big { font-family: var(--hand); font-size: 40px; line-height: 1; }
.kfz__road { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; position: relative; }
.kfz__road--m { border-left: 7px solid var(--red); background: rgba(228, 87, 46, .07); }
.kfz__road--f { border-left: 7px solid var(--green); background: rgba(91, 154, 75, .08); flex-wrap: wrap; }
.kfz__node { display: flex; flex-direction: column; align-items: center; text-align: center; width: 150px; flex: none; }
.kfz__node .art { width: 58px; }
.kfz__node b { font-size: 15px; line-height: 1.4; margin-top: 4px; }
.kfz__node small { font-size: 12.5px; line-height: 1.4; margin-top: 2px; }
.kfz__arw { width: 38px; flex: none; }
.kfz__end b { font-family: var(--hand); font-weight: 400; font-size: 20px; line-height: 1.4; }
.kfz__lists { flex: 1 1 260px; }
.kfz__lists p { display: flex; gap: 8px; align-items: flex-start; font-size: 14.5px; line-height: 1.55; margin: 0 0 8px; }
.kfz__lists b { display: block; }
.mk { width: 26px; height: 26px; flex: none; }
.kfz__table { grid-column: 3; grid-row: 1 / 3; }
.kfz__note { position: relative; margin: 22px 0 0; padding: 14px 20px; font-weight: 700; text-align: center; }
.kfz__note .frame { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ページの頭（下層） */
.ph { padding: 46px 0 20px; }
.ph__in { display: grid; grid-template-columns: 1fr minmax(200px, 360px); gap: 20px 48px; align-items: end; }
.ph__h1 { font-family: var(--hand); font-size: clamp(38px, 5vw, 60px); line-height: 1.25; margin-bottom: 14px; font-feature-settings: "palt"; }
.ph__lead { font-size: 17.5px; max-width: 40em; }
.pgend { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 20px 0 72px; }

.two { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 64px; align-items: start; }
.fee, .info, .menu { border-collapse: collapse; width: 100%; margin-bottom: 18px; }
.fee th, .fee td, .info th, .info td, .menu th, .menu td { text-align: left; padding: 12px 14px; border-bottom: 2px dashed rgba(59, 48, 42, .2); vertical-align: top; }
.fee thead th, .menu thead th { font-size: 13.5px; border-bottom: 3px solid var(--ink); }
.fee tbody th { width: 7.5em; }
.info th { width: 7.5em; font-weight: 700; white-space: nowrap; }
.allergy .b { font-size: 18px; }
.rules p { padding-left: 1.1em; position: relative; }
.rules p::before { content: ""; position: absolute; left: 0; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }

/* 次に開く日（/hi/） */
.next { background: var(--paper2); padding: 52px 0; margin: 24px 0; }
.next__in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(180px, 260px); gap: 20px 48px; align-items: center; }
.next__date { padding: 0 12px; }
.next__h { grid-column: 1 / -1; font-family: var(--hand); font-size: 24px; }
.next__date span { position: relative; display: inline-block; font-family: var(--hand); font-size: clamp(36px, 3.8vw, 54px); color: var(--red); line-height: 1.2; padding: .1em .3em; white-space: nowrap; }
.next__ring { position: absolute; left: -7%; top: -22%; width: 114%; height: 144%; }
.next__time { font-weight: 700; }
.next__time span { white-space: nowrap; margin-right: 1em; }
.next__menu { list-style: none; padding: 0; margin: 0 0 12px; font-family: var(--hand); font-size: 24px; line-height: 1.5; }

/* 献立表の見方（D-4） */
.kdt { margin-bottom: 26px; }
.kdt__grid { display: grid; grid-template-columns: minmax(260px, 380px) 1fr; grid-template-rows: repeat(4, auto); column-gap: 0; position: relative; }
.kdt__paper { grid-column: 1; grid-row: 1 / 5; background: #fff; border-radius: 4px; transform: rotate(-1deg); position: relative; }
.kdt__paper .frame { position: absolute; inset: 0; width: 100%; height: 100%; }
.kdt__r { grid-column: 1; position: relative; z-index: 1; margin: 0; padding: 10px 26px; }
.kdt__r1 { padding-top: 24px; grid-row: 1; } .kdt__r2 { grid-row: 2; } .kdt__r3 { grid-row: 3; } .kdt__r4 { grid-row: 4; }
.kdt__date { font-family: var(--hand); font-size: 30px; color: var(--red); }
.kdt__r2 span { font-family: var(--hand); font-size: 22px; line-height: 1.5; }
.kdt__r4 { padding-bottom: 20px; display: flex; flex-direction: column; gap: 6px; }
.kdt__blank { display: block; height: 30px; border-bottom: 2px dotted rgba(59, 48, 42, .25); }
.kdt__nine { align-self: flex-end; font-size: 11.5px; line-height: 1.5; border: 1.5px solid var(--ink); border-radius: 6px; padding: 3px 8px; max-width: 16em; background: var(--paper); }
.kdt__n { grid-column: 2; margin: 0; padding: 8px 0 8px 76px; position: relative; font-size: 15px; line-height: 1.55; align-self: center; }
.kdt__n1 { grid-row: 1; } .kdt__n2 { grid-row: 2; } .kdt__n3 { grid-row: 3; } .kdt__n4 { grid-row: 4; }
.kdt__n::before { content: ""; position: absolute; left: -16px; top: 50%; width: 60px; border-top: 2.5px solid var(--ink); border-radius: 2px; }
.kdt__no { position: absolute; left: 44px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50% 46% 52% 48%; border: 2.5px solid var(--red); color: var(--red); font-weight: 700; font-size: 14px; display: grid; place-items: center; background: var(--paper); }
.kdt__n b { display: block; font-size: 15.5px; }
.tbl { overflow-x: auto; }
.menu th[scope="row"] { font-family: var(--hand); font-weight: 400; font-size: 19px; white-space: nowrap; }
.later { margin: 6px 0 22px; padding: 14px 18px; border: 2px dashed rgba(59, 48, 42, .3); border-radius: 12px; }
.later__d { display: flex; flex-wrap: wrap; gap: 6px 22px; font-family: var(--hand); font-size: 20px; margin-bottom: 4px; }

.basho__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px 48px; align-items: start; }
.basho__name { font-size: 18px; }
.how div { display: grid; grid-template-columns: 4.6em 1fr; gap: 10px; padding: 8px 0; border-bottom: 2px dashed rgba(59, 48, 42, .16); }
.how dt { font-weight: 700; }
.how dd { margin: 0; }
.map__t text { paint-order: stroke; stroke: var(--paper); stroke-width: 4px; }

/* 手伝いたい方へ */
.roles { list-style: none; padding: 0; margin: 0 0 20px; }
.role { display: grid; grid-template-columns: 150px 1fr; border-top: 2px dashed rgba(59, 48, 42, .2); }
.role:last-child { border-bottom: 2px dashed rgba(59, 48, 42, .2); }
.role__time { margin: 0; padding: 20px 14px; font-weight: 700; font-size: 17px; color: #fff; background: var(--c); border-radius: 4px 0 0 4px; }
.role--red { --c: var(--red); } .role--blue { --c: var(--blue); } .role--green { --c: var(--green); } .role--free { --c: var(--ink); }
.role__b { padding: 16px 0 10px 24px; }
.role h3 { font-family: var(--hand); font-size: 24px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; margin-bottom: 6px; }
.role h3 small { font-family: var(--body); font-size: 13.5px; }
.role__dot { width: 14px; height: 14px; border-radius: 48% 52% 50% 46%; background: var(--c); align-self: center; }
.contact { display: grid; grid-template-columns: minmax(180px, 280px) 1fr; gap: 28px 56px; align-items: start; }
.ask { background: var(--paper2); border-radius: 12px; padding: 14px 18px; margin-bottom: 16px; box-shadow: 0 0 0 2px rgba(59, 48, 42, .12); }
.ask__h { font-weight: 700; margin-bottom: 4px; }
.purpose { font-size: 14.5px; border-left: 4px solid var(--blue); padding-left: 12px; }
.btn--line { font-size: 17px; }

/* 寄付のこと */
.caution { max-width: 820px; background: var(--paper2); border-left: 8px solid var(--blue); border-radius: 0 12px 12px 0; padding: 20px 26px 12px; }
.pay { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 32px; margin-bottom: 14px; }
.pay__i { border: 2.5px solid var(--ink); border-radius: 16px 10px 18px 12px; padding: 20px 24px 10px; background: var(--paper2); }
.pay__i h3, .okng__i h3 { font-family: var(--hand); font-size: 24px; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.okng { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 32px; margin-bottom: 22px; }
.okng__i { padding: 18px 22px 8px; border-radius: 14px; }
.okng__i--ok { background: rgba(91, 154, 75, .1); }
.okng__i--ng { background: rgba(228, 87, 46, .08); }
.okng__i ul { margin: 0; padding-left: 1.2em; }
.okng__i li { margin-bottom: .5em; }
.narrow-in { max-width: 800px; }

/* 法人について */
.greet__b { max-width: 760px; font-size: 17px; line-height: 1.95; }
.greet__name { text-align: right; font-family: var(--hand); font-size: 22px; margin-top: 18px; }
.greet__note { max-width: 760px; font-size: 13px; border-top: 1.5px solid rgba(59, 48, 42, .2); padding-top: 8px; color: rgba(59, 48, 42, .8); }
.docs { list-style: none; padding: 0; margin: 4px 0 16px; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.docs__l { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; font-weight: 700; }
.docs small { font-size: 11px; margin-left: 4px; border: 1px solid currentColor; border-radius: 3px; padding: 0 4px; opacity: .7; }
.form-sec__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 28px 56px; align-items: start; }
.tel { font-size: 28px; font-weight: 700; line-height: 1.3; }
.tel span { display: block; font-size: 14px; }
.tel small { display: block; font-size: 13.5px; font-weight: 400; }
.form { background: var(--paper2); padding: 26px 26px 16px; border-radius: 16px 12px 18px 14px; box-shadow: 0 0 0 2px rgba(59, 48, 42, .14); }
.f { margin-bottom: 16px; }
.f label { display: block; font-weight: 700; margin-bottom: 4px; }
.req { font-size: 11.5px; color: #fff; background: var(--red); border-radius: 4px; padding: 1px 6px; margin-left: 8px; vertical-align: 2px; }
.f__hint { font-size: 13.5px; margin: -2px 0 4px; }
.f input, .f select, .f textarea { width: 100%; font: inherit; color: var(--ink); background: #fff; border: 2px solid rgba(59, 48, 42, .45); border-radius: 8px 6px 9px 7px; padding: 10px 12px; }
.form__err { color: #B83A16; font-weight: 700; }
.form__done { margin-top: 14px; font-weight: 700; border-left: 4px solid var(--green); padding-left: 12px; }
.kj div { display: grid; grid-template-columns: 11em 1fr; gap: 12px; padding: 10px 0; border-top: 2px dashed rgba(59, 48, 42, .16); font-size: 15px; }
.kj dt { font-weight: 700; }
.kj dd { margin: 0; }
.shashin__grid { display: grid; grid-template-columns: 150px 1fr; gap: 24px 48px; align-items: start; max-width: 960px; }
.shashin .kd { margin-bottom: 26px; margin-top: 14px; }

/* フッター */
.ft { background: var(--blue); color: #fff; position: relative; margin-top: 40px; }
.ft .zig { position: absolute; left: 0; right: 0; top: -9px; width: 100%; height: 18px; display: block; }
.ft__in { width: min(var(--wrap), 100% - 40px); margin: 0 auto; padding: 52px 0 26px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px 56px; }
.ft p { margin: 0 0 6px; font-size: 14.5px; }
.ft__name { font-weight: 700; margin-top: 14px !important; }
.logo--w { color: #fff; }
.ft__nav { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 20px; align-content: start; }
.ft__nav a { color: #fff; font-weight: 700; font-size: 14.5px; }
.ft__c { text-align: center; font-size: 12.5px !important; padding: 0 0 22px; opacity: .9; }

/* ---------------- 動き（transform と opacity だけ。JS があるときだけ隠す） */
@keyframes steam { 0%, 100% { transform: translateY(0); opacity: .6; } 50% { transform: translateY(-3px); opacity: 1; } }
.bowl .steam { animation: steam 4s ease-in-out infinite; }
@keyframes wipe { from { transform: scaleX(1); } to { transform: scaleX(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(8px) rotate(-2deg); } to { opacity: 1; transform: translateY(0) rotate(-2deg); } }
.js .hero-art .wipe { transform-box: fill-box; transform-origin: right center; animation: wipe .9s cubic-bezier(.45, .1, .3, 1) .1s both; }
.hero-art .wipe { transform: scaleX(0); }
.js .hero-art .hf { animation: fadeIn .45s ease both; }
.js .hero-art .hf0 { animation-delay: .5s; } .js .hero-art .hf1 { animation-delay: 1s; } .js .hero-art .hf2 { animation-delay: 1.1s; }
.js .hero-art .hf3 { animation-delay: 1.2s; } .js .hero-art .hf4 { animation-delay: 1.3s; } .js .hero-art .hf5 { animation-delay: 1.4s; }
.js .hero__date { animation: rise .4s ease .1s both; }
.js .hero__ring { animation: fadeIn .3s ease 1.1s both; }

.js .rv, .js .dg-i { opacity: 0; transform: translateY(10px); transition: opacity .4s ease, transform .4s ease; }
.js .dg-i { transform: translateY(6px); transition-duration: .3s; transition-delay: calc(var(--i, 0) * .1s); }
.js .rv.is-in, .js .dg.is-in .dg-i { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .bowl .steam, .js .hero-art .wipe, .js .hero-art .hf, .js .hero__date, .js .hero__ring { animation: none !important; }
  .js .hero-art .wipe { transform: scaleX(0); }
  .js .rv, .js .dg-i { opacity: 1; transform: none; transition: none; }
  .btn { transition: none; }
}

/* ---------------- 幅ごと */
@media (max-width: 1100px) {
  .gnav { display: none; }
  .hd__menu { display: inline-flex; flex-direction: column; align-items: center; background: none; border: 0; padding: 0 2px; color: var(--ink); font: 700 11px/1 var(--body); cursor: pointer; margin-left: 4px; }
  .hd__menu .bowl { width: 36px; height: 30px; }
  .hd__next { margin-left: auto; }
  .nav-open .gnav { display: flex; position: fixed; inset: 74px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); padding: 16px 24px 26px; border-bottom: 3px solid var(--blue); max-height: calc(100vh - 74px); overflow: auto; }
  .nav-open .gnav a:not(.btn) { font-size: 17px; padding: 13px 4px; border-bottom: 2px dashed rgba(59, 48, 42, .18); }
  .nav-open .gnav a[aria-current="page"]::after { left: 4px; right: auto; width: 8em; bottom: 6px; }
  .nav-open .gnav__next { display: inline-flex; align-self: flex-start; margin-bottom: 10px; }
  .flow__l { gap: 0 24px; }
  .flow__arw { right: -28px; width: 30px; }
}
@media (max-width: 900px) {
  .intro, .nx__grid, .side, .side--r, .two, .basho__grid, .form-sec__grid, .contact, .ph__in { grid-template-columns: 1fr; }
  .side--r .side__art { order: -1; }
  .side__art, .contact__art { max-width: 260px; }
  .ph__art { max-width: 300px; }
  .kfz__grid { grid-template-columns: 1fr; }
  .kfz__start { grid-row: auto; flex-direction: row; justify-content: center; }
  .kfz__table { grid-column: 1; grid-row: auto; max-width: 140px; justify-self: center; }
  .next__in { grid-template-columns: 1fr; }
  .next__art { max-width: 280px; }
  .cals__row { grid-template-columns: 1fr; max-width: 380px; }
  .al-s { grid-template-columns: 1fr; }
  .pay, .okng { grid-template-columns: 1fr; }
  .ft__in { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .hd__in { gap: 8px; padding: 8px 0 4px; width: calc(100% - 24px); }
  .logo { gap: 6px; }
  .logo .bowl { width: 36px; height: 36px; }
  .logo__n { font-size: 16px; letter-spacing: 0; }
  .logo__k { font-size: 10px; }
  .hd__brand { position: relative; }
  .hd__demo { position: absolute; left: 42px; top: 100%; margin: 0; font-size: 8px; line-height: 1.3; }
  .hd__in { padding-bottom: 10px; }
  .hd__menu { flex: 0 0 44px; margin-left: 0; white-space: nowrap; font-size: 10px; }
  .hd__next { font-size: 12px; padding: .35em .6em; flex-direction: column; gap: 0; line-height: 1.25; }
  .hd__nx1 { font-size: 11px; }
  .nav-open .gnav { inset: 66px 0 auto 0; }
  .hero { margin-top: 2px; }
  .hero__art { padding: 0; }
  .hero-art { aspect-ratio: auto; height: 300px; }
  .hero__date { left: 16px; bottom: -48px; padding: 10px 20px 12px 18px; }
  .hero__next { font-size: 20px; }
  .hero__day { font-size: 42px; }
  .hero__where { font-size: 14.5px; }
  .intro { padding: 76px 0 40px; }
  .intro__h { font-size: 34px; }
  .sec { padding: 40px 0; }
  .kd { padding: 34px 20px 20px; }
  .kd__body { flex-direction: column; align-items: stretch; }
  .kd__art { flex: none; max-width: 200px; align-self: center; }
  .kd__t p { font-size: 19px; }
  .flow__l { grid-template-columns: 1fr; gap: 30px; max-width: 360px; margin-inline: auto; }
  .flow--big .flow__l { margin-top: 20px; }
  .flow__i { display: grid; grid-template-columns: 120px 1fr; grid-template-areas: "art time" "art lab"; text-align: left; align-items: center; column-gap: 14px; }
  .flow__time { grid-area: time; align-self: end; }
  .flow__lab { grid-area: lab; align-self: start; }
  .flow__art { grid-area: art; }
  .flow__arw { right: auto; left: 44px; top: auto; bottom: -32px; width: 30px; transform: rotate(90deg); }
  .flow__note { position: static; grid-column: 1 / -1; order: 0; text-align: left; margin-bottom: 4px; grid-row: 1; }
  .flow--big .flow__i:nth-child(3) { grid-template-areas: "note note" "art time" "art lab"; }
  .flow--big .flow__i:nth-child(3) .flow__note { grid-area: note; }
  .flow__br { position: static; grid-column: 2; }
  .flow--big .flow__i:nth-child(3) { grid-template-areas: "note note" "art time" "art lab" ". br"; }
  .flow--big .flow__i:nth-child(3) .flow__br { grid-area: br; }
  .flow__br .arw { transform: none; }
  .flow--big { padding-bottom: 0; }
  .tt div { grid-template-columns: 1fr; gap: 2px; }
  .kfz { padding: 20px 14px; display: flex; flex-direction: column; }
  .kfz__note { order: -1; margin: 0 0 16px; }
  .kfz .dg__h { order: -2; }
  .kfz__road { flex-direction: column; align-items: stretch; }
  .kfz__node { width: auto; flex-direction: row; text-align: left; gap: 10px; flex-wrap: wrap; }
  .kfz__node b { margin: 0; }
  .kfz__node small { flex-basis: 100%; padding-left: 68px; margin-top: -6px; }
  .kfz__arw { transform: rotate(90deg); align-self: center; }
  .kfz__lists { flex: none; }
  .kdt__grid { grid-template-columns: 1fr; grid-template-rows: repeat(8, auto); }
  .kdt__n { grid-column: 1; padding-left: 40px; }
  .kdt__n1 { grid-row: 5; margin-top: 14px; } .kdt__n2 { grid-row: 6; } .kdt__n3 { grid-row: 7; } .kdt__n4 { grid-row: 8; }
  .kdt__n::before { display: none; }
  .kdt__no { left: 0; }
  .kdt__r { padding: 8px 18px; }
  .role { grid-template-columns: 1fr; }
  .role__time { border-radius: 4px 4px 0 0; padding: 8px 14px; }
  .role__b { padding: 12px 0 10px; }
  .kj div { grid-template-columns: 1fr; gap: 2px; }
  .shashin__grid { grid-template-columns: 1fr; }
  .shashin__art { max-width: 120px; }
  .photo { align-items: flex-start; }
  .photo__art { flex-basis: 72px; }
  .ft__nav { grid-template-columns: 1fr; }
  .menu { min-width: 560px; }
}
