/* =========================================================
   site.css — つづらのサイトのデザイン
   文字の大きさは rem で書く(文字を大きくする部品が、全体を比例して大きくするため)
   和文の文字組みの基本は /assets/kit/kit.css(全社で共通)
   目次: 1 色と文字の名前  2 土台  3 ヘッダー  4 フッター  5 共通の部品
         6 下層のページ  7 トップページ  8 お知らせ  9 フォーム  10 現れる動き  11 印刷
   ========================================================= */

/* ---------- 1. 色と文字の名前 ---------- */
:root {
  --c-bg: #fff;
  --c-text: #333;
  --c-muted: #555;
  --c-link: #0b6f96;
  --c-orange: #ff8200;        /* メニューの帯 */
  --c-orange-light: #ffa500;
  --c-green: #228b22;         /* 見出し・電話番号 */
  --c-green-dark: #1b6e1b;
  --c-wine: #a4445c;          /* ロゴの色。トップの見出し・フッター */
  --c-wine-dark: #77132c;
  --c-navy: #01149b;          /* ボタン */
  --c-red: #c8102e;
  --c-teal: #22878b;
  --c-mint: #f0fff0;          /* 下層のページの題の箱 */
  --c-pink: #fff4f4;          /* お知らせの帯 */
  --c-cream: #fff4ea;         /* 事業内容・アクセスの帯 */
  --c-footer: #f0d3d3;
  --c-line: #d9d9d9;
  --c-surface: #fff;
  --c-on-dark: #fff;
  --c-focus: #0b57d0;
  --font-round: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  --font-mincho: "BIZ UDMincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --w-wide: 71.25rem;         /* 1140px */
  --w-text: 56.25rem;         /* 900px */
  /* 共通の部品(kit.css)に渡す色 */
  --kit-text: var(--c-text); --kit-surface: var(--c-surface); --kit-border: #767676; --kit-line: #bdbdbd;
  --kit-accent: var(--c-green-dark); --kit-on-accent: #fff; --kit-focus: var(--c-focus); --kit-muted: var(--c-muted);
  --kit-cal-head: #e3f6e3; --kit-cal-today: #fff7d6; --kit-cal-event: #f3faf3; --kit-cal-cancel: #fdecee; --kit-danger: #b00020;
}

/* ---------- 2. 土台 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1rem; }
body { margin: 0; font-family: var(--font-round); font-size: 1rem; color: var(--c-text); background: var(--c-bg); }
img, video, iframe { max-width: 100%; }
img, video { height: auto; }
a { color: var(--c-link); }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--c-focus); outline-offset: 2px; }
h1, h2, h3, h4, p, ul, ol, figure, table, dl, dd { margin: 0; }
ul, ol { padding-left: 1.5em; }
.wrap { width: 100%; max-width: var(--w-wide); margin-inline: auto; padding-inline: 1.25rem; }
.wrap--text { max-width: var(--w-text); }
.skip { position: absolute; left: -999rem; top: 0; z-index: 100; padding: .75rem 1rem; color: #fff; background: #000; }
.skip:focus { left: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.sp-only { display: none; }
@media (max-width: 47.99em) { .sp-only { display: inline; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ---------- 3. ヘッダー ---------- */
.site-header { background: var(--c-surface); box-shadow: 0 .5rem 1.5rem rgba(0, 0, 0, .05); position: relative; z-index: 20; }
.site-header__top { display: flex; align-items: center; justify-content: space-between; gap: .5rem 1.5rem; flex-wrap: wrap; padding-block: .5rem; }
.site-brand__logo { display: block; width: 14.5rem; max-width: 60vw; }
.site-brand__logo img { display: block; width: 100%; }
.site-brand__tagline { font-size: 1rem; font-weight: 700; line-height: 1.4; color: var(--c-wine); }
.site-contact { text-align: center; }
.site-contact__lead { font-family: var(--font-mincho); font-size: 1rem; font-weight: 700; line-height: 1.4; color: var(--c-wine); }
.site-contact__tel { display: inline-flex; align-items: center; gap: .375rem; font-size: 2.0625rem; font-weight: 700; line-height: 1.2; letter-spacing: .02em; color: var(--c-green); text-decoration: none; }
.site-contact__tel svg { width: 1.6rem; height: 1.6rem; fill: #4770aa; flex: none; }
.site-header__side { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: .5rem 2rem; }

.gnav { background: var(--c-orange); color: var(--c-on-dark); }
.gnav__inner { display: flex; justify-content: center; }
.gnav__toggle { display: none; }
.gnav__list { display: flex; flex-wrap: wrap; justify-content: center; list-style: none; margin: 0; padding: 0; }
.gnav__item { position: relative; }
.gnav__item + .gnav__item { border-left: 1px dotted rgba(255, 255, 255, .9); }
.gnav__link { display: flex; align-items: center; gap: .5rem; min-height: 3.125rem; padding: .5rem 1.125rem; font: inherit; font-size: 1rem; font-weight: 700; line-height: 1.5; color: inherit; text-decoration: none; background: none; border: 0; cursor: pointer; }
.gnav__link:hover, .gnav__link:focus-visible, .gnav__item:focus-within > .gnav__link { background: var(--c-orange-light); }
.gnav__link[aria-expanded]::after { content: ""; width: 0; height: 0; border: .3rem solid transparent; border-top-color: currentColor; border-bottom-width: 0; }
.gnav__sub { position: absolute; left: 0; top: 100%; min-width: 16rem; list-style: none; margin: 0; padding: 0; background: var(--c-orange); box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15); display: none; }
.gnav__item:hover > .gnav__sub, .gnav__item:focus-within > .gnav__sub, .gnav__link[aria-expanded="true"] + .gnav__sub { display: block; }
.gnav__sub li + li { border-top: 1px solid rgba(255, 255, 255, .7); }
.gnav__sub a { display: block; padding: .75rem 1.25rem; font-size: .9375rem; font-weight: 700; color: inherit; text-decoration: none; }
.gnav__sub a:hover, .gnav__sub a:focus-visible { background: var(--c-orange-light); }
.gnav a[aria-current="page"] { text-decoration: underline; text-underline-offset: .3em; }

@media (max-width: 63.99em) {
  .site-header__top { justify-content: center; text-align: center; }
  .site-brand__logo { margin-inline: auto; }
  .site-contact__tel { font-size: 1.75rem; }
  .site-header__side { justify-content: center; flex-direction: column-reverse; gap: .5rem; }
  .gnav__inner { display: block; padding: 0; }
  /* JS が動くときだけ、メニューをたたむ(動かないときは開いたまま出す) */
  .js .gnav__toggle { display: flex; align-items: center; justify-content: center; gap: .5rem; width: 100%; min-height: 3.125rem; font: inherit; font-size: 1.125rem; font-weight: 700; color: inherit; background: none; border: 0; cursor: pointer; }
  .js .gnav__toggle::before { content: ""; width: 1.5rem; height: 1rem; border-block: 3px solid currentColor; background: linear-gradient(currentColor, currentColor) center / 100% 3px no-repeat; }
  .js .gnav__toggle[aria-expanded="false"] + .gnav__list { display: none; }
  .gnav__list { display: block; }
  .gnav__item + .gnav__item, .gnav__item { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .7); }
  .gnav__link { width: 100%; justify-content: space-between; padding-inline: 1.25rem; }
  .gnav__sub { position: static; display: block; box-shadow: none; background: rgba(0, 0, 0, .08); }
  .js .gnav__link[aria-expanded="false"] + .gnav__sub { display: none; }
  .js .gnav__item:hover > .gnav__sub, .js .gnav__item:focus-within > .gnav__sub { display: none; }
  .js .gnav__link[aria-expanded="true"] + .gnav__sub { display: block; }
  .gnav__sub a { padding-left: 2.25rem; }
}

/* ---------- 4. フッター ---------- */
.site-footer { margin-top: 0; color: var(--c-wine); background: var(--c-footer); }
.site-footer__main { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem 3rem; padding-block: 3rem; }
.site-footer__org { display: grid; grid-template-columns: 5rem 1fr; gap: 0 1rem; max-width: 34rem; }
.site-footer__logo { width: 5rem; }
.site-footer__name { font-size: 1.5625rem; font-weight: 700; line-height: 1.6; }
.site-footer__name--sub { font-size: 1.25rem; margin-top: .5rem; }
.site-footer__text { font-size: 1rem; font-weight: 700; line-height: 1.5; }
.site-footer__text a { color: inherit; }
.site-footer__fb { display: inline-flex; align-items: center; gap: .375rem; margin-top: .5rem; font-size: .875rem; font-weight: 700; color: #1a66c2; }
.site-footer__fb svg { width: 1.375rem; height: 1.375rem; fill: currentColor; }
.fnav { font-size: 1rem; font-weight: 500; }
.fnav ul { list-style: none; margin: 0; padding: 0; }
.fnav > ul > li { margin-bottom: .25rem; }
.fnav a, .fnav summary { display: inline-block; padding: .25rem 0; color: inherit; }
.fnav summary { cursor: pointer; }
.fnav details ul { padding: 0 0 .5rem 1rem; }
.site-footer__copy { padding: .75rem 1rem; font-size: .9375rem; text-align: center; color: #f3e6ea; background: var(--c-wine); }
.to-top { position: fixed; right: 1rem; bottom: 1rem; z-index: 30; display: grid; place-items: center; width: 3rem; height: 3rem; color: #fff; background: var(--c-orange); border-radius: 50%; box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .25); text-decoration: none; }
.to-top svg { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- 5. 共通の部品 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 2.75rem; padding: .5rem 1.25rem; font-size: 1.125rem; font-weight: 700; line-height: 1.3; color: #fff; background: var(--c-navy); border: 2px solid transparent; border-radius: .3125rem; text-decoration: none; cursor: pointer; }
.btn::after { content: "›"; font-size: 1.2em; line-height: 1; }
.btn:hover { filter: brightness(1.2); }
.btn--red { background: var(--c-red); }
.btn--green { background: var(--c-green-dark); }
.btn--plain::after { content: none; }
.btn-row { margin-top: 1rem; }
.btn-row--center { text-align: center; }
.prose { font-size: 1rem; }
.prose > * + * { margin-top: 1em; }
.prose h3 { font-size: 1.25rem; }
.prose h4 { font-size: 1.125rem; }
.prose ul, .prose ol { padding-left: 1.5em; }
.prose li + li { margin-top: .25em; }
.prose--lead { font-size: 1.125rem; }
.center { text-align: center; }
.right { text-align: right; }
.fig { text-align: center; }
.fig img { border-radius: .625rem; }
.fig figcaption { margin-top: .5rem; font-size: .9375rem; color: var(--c-muted); }
.cols { display: flex; gap: 1.25rem 2rem; align-items: flex-start; }
.cols > .col { flex: 1 1 0; min-width: 0; }
.cols > .col > * + * { margin-top: 1.25rem; }
@media (max-width: 47.99em) { .cols { flex-direction: column; } .cols > .col { width: 100%; flex-basis: auto; } }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); gap: .625rem; list-style: none; margin: 0; padding: 0; }
.gallery img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: .375rem; }
.table-wrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: 1rem; background: var(--c-surface); }
.tbl th, .tbl td { padding: .75rem 1rem; text-align: left; vertical-align: top; border: 1px solid var(--c-line); }
.tbl thead th { background: #e9f5e9; }
.tbl tbody th { width: 9em; font-weight: 700; background: #f6f6f6; white-space: nowrap; }
.tbl--history td:nth-child(1), .tbl--history td:nth-child(2) { white-space: nowrap; }
.video { width: 100%; border-radius: .625rem; background: #000; }
.faq { border: 1px solid var(--c-line); background: var(--c-surface); }
.faq + .faq { border-top: 0; }
.top-faq > .wrap > .faq + .faq { margin-top: 0; }
.faq > summary { padding: .75rem 1rem .75rem 2.5rem; font-size: 1rem; font-weight: 700; cursor: pointer; list-style: none; position: relative; }
.faq > summary::-webkit-details-marker { display: none; }
.faq > summary::before { content: "+"; position: absolute; left: 1rem; font-weight: 700; }
.faq[open] > summary::before { content: "−"; }
.faq__a { padding: .75rem 1.25rem 1rem 2.5rem; color: var(--c-wine-dark); border-top: 1px dashed var(--c-line); }
.notice-box { padding: 1.25rem; border: 2px dotted var(--c-green); border-radius: .625rem; background: var(--c-surface); }

/* ---------- 6. 下層のページ ---------- */
.page-hero { margin-top: 3.75rem; padding: 1.875rem; text-align: center; background: var(--c-mint); border-radius: .9375rem; }
.page-hero > * + * { margin-top: 1.25rem; }
.page-hero .prose { max-width: 50rem; margin-inline: auto; }
.page-hero .fig img { max-width: min(100%, 50rem); }
.page-title { font-family: var(--font-mincho); font-size: 2rem; font-weight: 700; color: var(--c-green); }
.page-title--wine { color: var(--c-wine); }
.sec { padding-block: 1.875rem; }
.sec:last-of-type { padding-bottom: 3.75rem; }
.sec > .wrap > * + * { margin-top: 1.25rem; }
.h-sec { padding-bottom: .5rem; font-family: var(--font-mincho); font-size: 1.75rem; font-weight: 700; color: var(--c-green); border-bottom: 2px dotted var(--c-green); }
.h-sec--center { text-align: center; color: var(--c-text); }
.h-sub { padding-bottom: .375rem; font-family: var(--font-mincho); font-size: 1.3125rem; font-weight: 700; text-align: center; border-bottom: 2px dotted var(--c-text); }
.h-mini { font-size: 1.125rem; font-weight: 700; color: #643944; }
.h-top { font-size: 2.25rem; font-weight: 800; text-align: center; color: var(--c-wine); }
.card { padding: 1.25rem; background: var(--c-surface); border-radius: .625rem; }

/* ---------- 7. トップページ ---------- */
.hero { position: relative; background: #ddd; }
.hero__list { list-style: none; margin: 0; padding: 0; position: relative; height: clamp(15rem, 42vw, 33.75rem); overflow: hidden; }
.hero__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility .8s; }
.hero__slide.is-active { opacity: 1; visibility: visible; }
.hero__slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero__slide > a { display: block; height: 100%; }
.hero__caption { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .75rem; padding: 1rem 3.5rem; text-align: center; color: #fff; background: rgba(0, 0, 0, .25); text-shadow: 0 .125rem .5rem rgba(0, 0, 0, .6); }
.hero__title { font-size: clamp(1.5rem, 4vw, 2.75rem); font-weight: 800; }
.hero__text { font-size: clamp(1rem, 2vw, 1.375rem); font-weight: 700; }
.hero__btn { position: absolute; top: 50%; z-index: 2; width: 2.75rem; height: 2.75rem; margin-top: -1.375rem; font-size: 1.75rem; line-height: 1; color: #fff; background: rgba(0, 0, 0, .35); border: 0; border-radius: 50%; cursor: pointer; }
.hero__btn--prev { left: .5rem; } .hero__btn--next { right: .5rem; }
.hero__ctrl { position: absolute; right: .75rem; bottom: .75rem; z-index: 2; padding: .25rem .75rem; font: inherit; font-size: .875rem; font-weight: 700; color: #fff; background: rgba(0, 0, 0, .55); border: 0; border-radius: 1rem; cursor: pointer; }
html:not(.js) .hero__btn, html:not(.js) .hero__ctrl { display: none; }
html:not(.js) .hero__slide:first-child { opacity: 1; visibility: visible; }

.top-news { padding-block: 3rem 4rem; background: var(--c-pink); }
.top-news > .wrap > * + * { margin-top: 1.5rem; }
.news-list { list-style: none; margin: 0; padding: 0; border-top: 3px dotted var(--c-wine); }
.news-list__item { display: grid; grid-template-columns: 11rem 1fr; gap: .25rem 1.5rem; padding: 1rem .75rem; border-bottom: 3px dotted var(--c-wine); }
.news-list__date { font-size: 1rem; font-weight: 700; color: var(--c-wine); }
.news-list__title { font-size: 1.1875rem; font-weight: 700; }
.news-list__title a { color: var(--c-text); text-decoration: none; }
.news-list__title a:hover { text-decoration: underline; }
.news-list__summary { font-size: .9375rem; }
@media (max-width: 47.99em) { .news-list__item { grid-template-columns: 1fr; } }

.top-intro { padding-block: 3.5rem; }
.top-intro > .wrap > * + * { margin-top: 2rem; }
.top-intro .prose { font-size: 1.125rem; font-weight: 700; }

/* 紙の地模様は、色を重ねて薄くして敷く */
.top-services { padding-block: 3.5rem; background: linear-gradient(rgba(255, 244, 234, .86), rgba(255, 244, 234, .86)), url("../img/tsuzura-bg.jpg") center / 37.5rem auto; }
.top-services > .wrap > * + * { margin-top: 1.25rem; }
.boxed-title { display: flex; justify-content: center; gap: .5rem; font-size: 1.25rem; font-weight: 700; color: var(--c-wine); }
.boxed-title span { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 2px solid currentColor; border-radius: .375rem; background: var(--c-surface); }
.h-grad { margin-top: 2.5rem; font-size: 2.5rem; font-weight: 800; text-align: center; color: #fa6e04; background: linear-gradient(90deg, #fa6e04, #f00); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.svc { display: grid; grid-template-columns: 11rem 1fr; gap: 0 1rem; padding: .625rem; background: var(--c-surface); border: 5px dotted var(--c-wine); border-radius: .625rem; }
.svc__img { align-self: stretch; }
.svc__img img { display: block; width: 100%; height: 100%; min-height: 6rem; object-fit: contain; }
.svc__title { padding: .125rem .75rem; font-size: 1.875rem; font-weight: 800; line-height: 1.4; color: #fff; background: var(--svc-color, var(--c-wine)); border-radius: .625rem; }
.svc__row { display: flex; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; margin-top: .625rem; padding-inline: .5rem; }
.svc__text { font-size: 1.1875rem; line-height: 1.5; }
.svc__row .btn { flex: none; }
.prose + .svc { margin-top: 1rem; } /* 説明の段落の下に、カードを置くとき(水曜オープンの各週) */
.svc-group { display: grid; gap: 1.25rem; padding-left: 2.5rem; }
.svc-group .svc { border-color: var(--c-green); }
@media (max-width: 47.99em) {
  .svc { grid-template-columns: 1fr; }
  .svc__img img { height: 9rem; }
  .svc__title { font-size: 1.5rem; }
  .svc__row { flex-direction: column; align-items: flex-start; }
  .svc-group { padding-left: 1rem; }
  .h-grad { font-size: 1.75rem; }
  .h-top { font-size: 1.75rem; }
}
/* カードの題の色(今のサイトの色を写した) */
.svc--nagakute-onecoin { --svc-color: #0d9488; } .svc--momotaro-shien { --svc-color: #166534; }
.svc--day-service-tsuzura { --svc-color: #78716c; } .svc--tuzura-a { --svc-color: #a4445c; }
.svc--transportation { --svc-color: #1e3a8a; } .svc--chindon-car-project { --svc-color: #0e7490; }
.svc--open-on-wednesdays { --svc-color: #228b22; } .svc--otedama-exercise { --svc-color: #9a3412; }
.svc--dandy-talk { --svc-color: #713f12; } .svc--tsuzura-cafe { --svc-color: #701a75; }
.svc--homemade-bread { --svc-color: #9a3412; } .svc--tsuzura-bar { --svc-color: #312e81; }
.svc--gojogojo { --svc-color: #3f6212; } .svc--tsuzulife { --svc-color: #c2410c; }
.svc--tsuzurakai { --svc-color: #7c2d12; } .svc--kominka-rental { --svc-color: #44403c; }

.top-chindon { padding-block: 3.5rem; color: #fff; background: var(--c-green); }
.top-chindon > .wrap > * + * { margin-top: 1.5rem; }
.top-chindon .h-top { color: #fff; }
.top-chindon .prose { font-size: 1.1875rem; font-weight: 500; }
.top-chindon .fig img { border-radius: .625rem; }

.top-calendar { padding-block: 3.5rem; }
.paper { padding: 1.5rem 1.25rem; background: linear-gradient(rgba(250, 248, 243, .88), rgba(250, 248, 243, .88)), url("../img/tsuzura-bg.jpg") center / 37.5rem auto; border-radius: .625rem; }
.paper > * + * { margin-top: 1.25rem; }
.contact-note { font-size: 1rem; text-align: center; }

.top-faq { padding-block: 3.5rem; background: linear-gradient(rgba(250, 248, 243, .88), rgba(250, 248, 243, .88)), url("../img/tsuzura-bg.jpg") center / 37.5rem auto; }
.top-faq > .wrap > * + * { margin-top: 1.25rem; }
.h-cat { margin-top: 1.75rem; font-size: 1.1875rem; font-weight: 700; color: var(--c-teal); }

.top-access { padding-block: 3.5rem; background: var(--c-cream); }
.top-access > .wrap > * + * { margin-top: 1.5rem; }
.access { max-width: 50rem; margin-inline: auto; }
.access + .access { margin-top: 3rem; }
.access > * + * { margin-top: 1rem; }
.access__name { font-size: 1rem; font-weight: 700; }
.access__media { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.access__media iframe { display: block; width: 100%; height: 100%; min-height: 18rem; border: 0; }
.access__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 47.99em) { .access__media { grid-template-columns: 1fr; } }

/* ---------- 8. お知らせ ---------- */
.news-article__date { font-weight: 700; color: var(--c-wine); }
.news-article__title { font-family: var(--font-mincho); font-size: 2rem; font-weight: 700; color: var(--c-green); }
.news-article__summary { font-size: 1.125rem; }
.news-article__photo img { border-radius: .625rem; max-height: 40rem; width: auto; }
/* 付ける PDF(チラシなど)。本文と写真の下に、ボタンの形で出す */
.news-article__files { margin-top: 2rem; text-align: center; }
.news-article__files p { margin: .75rem 0 0; }
.news-article__back { margin-top: 2.5rem; text-align: center; }

/* ---------- 9. フォーム ---------- */
.form { display: grid; gap: 1.25rem; }
.form__field > label, .form__legend { display: block; margin-bottom: .375rem; padding: 0; font-size: 1rem; font-weight: 700; }
.form__req { margin-left: .5rem; padding: 0 .375rem; font-size: .8125rem; color: #fff; background: var(--c-red); border-radius: .25rem; }
.form input[type="text"], .form input[type="tel"], .form input[type="email"], .form textarea { width: 100%; padding: .625rem .75rem; font: inherit; font-size: 1rem; color: var(--c-text); background: var(--c-surface); border: 2px solid #767676; border-radius: .375rem; }
.form textarea { min-height: 9rem; resize: vertical; }
.form fieldset { margin: 0; padding: 0; border: 0; }
.form__check { display: flex; align-items: flex-start; gap: .5rem; padding: .25rem 0; font-weight: 400; }
.form__check input { width: 1.25rem; height: 1.25rem; margin-top: .3rem; flex: none; }
.form__note { font-size: .9375rem; color: var(--c-muted); }
.form__submit { text-align: center; }
.form__submit .btn { min-width: 12rem; font-size: 1.25rem; }
.form__submit .btn[disabled] { opacity: .5; cursor: not-allowed; }
/* 送る仕組み(共通の部品 /assets/kit/form.js。2026-12-01 につないだ)のための見た目。
   欄は、仕組みが templates/form-contact.html から .form__fields の中に作る。結果ごとの知らせ・ロボットよけの場所・送信完了の窓は、ページに手で書いてある */
.form__fields { display: grid; gap: 1.25rem; }
.form input[aria-invalid="true"], .form textarea[aria-invalid="true"] { border-color: var(--c-red); box-shadow: inset 0 0 0 1px var(--c-red); }
.form__check input[aria-invalid="true"] { outline: 2px solid var(--c-red); outline-offset: 2px; }
.form__robot { display: flex; justify-content: center; min-height: 4.375rem; }
.form__submit .btn[aria-busy="true"], .form[aria-busy="true"] .form__submit .btn { cursor: wait; }
.form__message { padding: 1rem 1.25rem; font-weight: 700; color: var(--c-green-dark); background: var(--c-mint); border: 2px dotted var(--c-green); border-radius: .625rem; }
.form__message--error { color: var(--c-red); background: var(--c-pink); border-color: var(--c-red); }
.form__message[hidden] { display: none; }
/* 送信完了の窓(うまく送れたときに、画面の中央に出す。OK で閉じると、トップページに戻る) */
.form-done { width: min(30rem, calc(100vw - 2rem)); max-height: calc(100vh - 2rem); margin: auto; padding: 2.5rem 1.5rem 2rem; overflow: auto; text-align: center; color: var(--c-text); background: var(--c-surface); border: 5px dotted var(--c-wine); border-radius: .9375rem; }
.form-done::backdrop { background: rgba(0, 0, 0, .55); }
.form-done__title { margin-bottom: 1rem; font-family: var(--font-mincho); font-size: 1.75rem; font-weight: 700; color: var(--c-wine); }
.form-done__text { margin-bottom: 1.75rem; font-size: 1.0625rem; line-height: 1.8; }
.form-done__ok { min-width: 10rem; }
.form-done__note { margin-top: 1rem; font-size: .9375rem; color: var(--c-muted); }

/* ---------- 10. 現れる動き(フェードイン) ---------- */
/* 印(data-reveal)の付いた区画は、画面に入ったときに、ゆっくり現れる(今のサイトと同じ動き。1.25秒)。
   - JS が動くときだけ隠す(.js は /assets/kit/a11y.js が付ける)。動かないときは、最初から見えている
   - 動きを減らす設定の方には、動かさない(最初から見えている)
   - 万一 /assets/js/site.js が読めなかったときは、4秒たつと自動で見えるようにしてある */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transition: opacity 1.25s ease; animation: reveal-failsafe 0s linear 4s forwards; }
  .js.reveal-ready [data-reveal] { animation: none; }
  .js [data-reveal].is-in { opacity: 1; }
}
@keyframes reveal-failsafe { to { opacity: 1; } }

/* ---------- 11. 印刷 ---------- */
@media print { [data-reveal] { opacity: 1 !important; } }
@media print { .gnav, .to-top, .site-header__tools, .hero__btn, .hero__ctrl { display: none !important; } }
