/* 富山BASE の型（site-platform cbdaee2 の apps/toyama-base/content/assets/toyama-refinement.css）をそのまま写した。Mergeble は文章と写真だけを替える（docs/decisions/0015） */
/* The original grid, type scale, page-name header and mobile tables stay in base.css. */
:root {
  --accent: #a85539;
  --accent-d: #87432d;
  --mute: #69675f;
  --accent-t: rgba(168, 85, 57, .075);
  /* 和の部品（site-kit・0008）の差し替え。入力欄の線は地に対して 3:1 以上、手順の番号は漢数字、写真の「イメージ」の札は和紙の色 */
  --field-line: #85837c;
  --flow-counter: cjk-decimal;
  --photo-note-bg: rgb(255 254 250 / .92);
  --photo-note-ink: var(--ink);
  --photo-note-line: var(--rule-2);
  --display-mincho: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  --mincho: var(--display-mincho);
}

main > section:not(.admin-page):not(.home-intro) { padding-block: clamp(30px, 3.4vw, 46px); }

/* ヘッダーのすりガラス・ナビの押しやすさ・リンクの線などの共通部分は site-kit の base.css へ移した（2026-10-24）。 */
:root { --head-bg: rgba(255, 255, 255, .84); }
.site-head { border-bottom-color: #dedbd3; }
/* ナビの「予約」は他の項目と同じ色・太さ（2026-10-25 本人）。朱は今いるページの項目だけ（site-kit の aria-current） */
/* Mergeble だけ: ヘッダーの社名とナビを明朝に（2026-10-27 本人）。site-kit は .brand b と .nav をゴシックに固定している。
   トップの大きな社名（.home-brand）は消し、その字面（600・字間 .18em）をヘッダーの社名に移した。読みの（マージブル）は字間 0 のまま */
.brand b, .nav { font-family: var(--display-mincho); }
.brand b { font-weight: 600; }
.brand b :is(.lab, i) > span[translate="no"] { letter-spacing: .18em; }

/* フッターの「管理画面」（Worker が Preview だけに足す・0011）。デスクトップはリンクの列の右端、
   携帯は著作権の行の右端（2026-10-25 本人）。読み上げとタブの順は最後のまま */
.foot-line .wrap:has(> .foot-admin) { column-gap: 18px; }
.foot-line .wrap:has(> .foot-admin) > .foot-links { margin-left: auto; }
@media (max-width: 760px) {
  .foot-line .wrap:has(> .foot-admin) > .foot-links { order: 1; flex-basis: 100%; margin-left: 0; }
}

/* 進むボタンは site-kit の .btn-primary（地を塗らない朱の二重罫・0008）。漢数字の手順の番号は本文の書体で */
.flow > li::before { font-family: inherit; font-size: 13px; font-weight: 600; letter-spacing: .06em; }
.home-copy { text-wrap: balance; }
.hero-photo { padding-bottom: 28px; }
.hero-photo .btns { gap: 12px 24px; }
.plan-note { font-size: 12px; line-height: 1.85; color: var(--sub); max-width: var(--read); }
.hero-photo .plan-note { margin-top: 18px; }

/* Keep the stay's value and its next step together in the opening viewport,
   including a short desktop viewport caused by browser zoom. Text remains in
   normal flow so larger fonts can expand instead of being clipped. */
.home-intro { padding-block: 30px 24px; }
.home-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.home-intro-copy { min-width: 0; padding-block: 20px; }
.home-intro-label {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--accent-d);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .14em;
}
.home-intro-label::before { content: ''; width: 24px; height: 1px; background: currentColor; }
.home-intro .home-copy {
  margin: 20px 0 0;
  font-size: clamp(32px, 3.2vw, 43px);
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: .025em;
  text-wrap: initial;
}
.home-intro-lead {
  max-width: 28em;
  margin-top: 22px;
  color: var(--sub);
  font-size: 14px;
  line-height: 2;
  line-break: strict;
  text-wrap: pretty;
}
.home-intro-actions { margin-top: 28px; }
.home-intro .btns { gap: 8px 20px; }
.home-intro .btn-primary { padding-inline: 19px; min-height: 52px; gap: 15px; }
.home-intro .btn-primary svg { flex: none; }
.home-intro-secondary { font-size: 13px; }
.home-intro-rate { margin-top: 10px; font-size: 12px; line-height: 1.8; color: var(--sub); }
.home-intro-visual .photo {
  height: clamp(320px, calc(100svh - 205px), 510px);
  aspect-ratio: auto;
  min-width: 0;
}
.home-intro-visual .photo.has-img > img { object-position: 58% 50%; }
.home-intro .plan-note { max-width: none; font-size: 11px; margin-top: 18px; }
@media (min-width: 760px) and (max-height: 660px) {
  .home-intro { padding-block: 20px 18px; }
  .home-intro-copy { padding-block: 0; }
  .home-intro .home-copy { font-size: 36px; line-height: 1.5; margin-top: 16px; }
  .home-intro-lead { margin-top: 16px; line-height: 1.9; }
  .home-intro-actions { margin-top: 22px; }
}
@media (min-width: 760px) and (max-width: 1079px) {
  .home-intro-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; }
  .home-intro .home-copy { font-size: clamp(28px, 3.5vw, 36px); }
  .home-intro .btns { gap: 4px 16px; }
}
@media (max-width: 759px) {
  .home-intro { padding-block: 24px 22px; }
  .home-intro-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .home-intro-copy { padding: 0; }
  .home-intro-label { font-size: 12px; gap: 10px; }
  .home-intro .home-copy { margin-top: 12px; font-size: clamp(27px, 8vw, 34px); line-height: 1.5; }
  .home-intro-lead { margin-top: 16px; font-size: 14px; line-height: 1.85; }
  .home-intro-actions { margin-top: 20px; }
  .home-intro .btns { gap: 4px 16px; }
  .home-intro .btn-primary { padding-inline: 16px; font-size: 13px; gap: 9px; }
  .home-intro-rate { font-size: 11px; margin-top: 8px; }
  .home-intro-visual .photo { height: clamp(170px, 27svh, 230px); aspect-ratio: auto; }
  .home-intro-visual .photo.has-img > img { object-position: 55% 56%; }
  .home-intro .plan-note { margin-top: 14px; }
}
@media print {
  .home-intro-visual .photo { height: auto; aspect-ratio: 3 / 2; }
}
.photo { border-color: #dedbd3; }

@media (max-width: 759px) {
  .hero-photo .btns .note { flex-basis: 100%; }
}

/* 客室は頁名と導入文から、写真・物語・予約へ読み進む目録。 */
.houses-head { max-width: 50rem; margin-bottom: 44px; }
.houses-head .page-title { margin-top: 16px; font-size: clamp(2.25rem, 1.9rem + 1vw, 3rem); font-weight: 500; line-height: 1.4; }
.houses-lead { max-width: 38em; margin-top: 18px; color: var(--sub); font-size: .95rem; line-height: 2; text-wrap: pretty; }
.houses-head .plan-note { margin-top: 20px; }
.houses-page > .fact { max-width: none; padding-top: 24px; border-top: 2px solid var(--line-strong); }
.houses-page > .fact + .fact { margin-top: 56px; }
.houses-page .fact-k { color: var(--accent-d); font-family: var(--gothic); font-size: .75rem; }
.houses-page .fact-v { margin-top: 8px; font-size: 2.5rem; font-weight: 500; line-height: 1.3; letter-spacing: .12em; }
.house-spread { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; max-width: none; align-items: start; }
.house-visual, .house-story { min-width: 0; }
.house-visual > div:first-child { padding-block: 10px; border-block: 1px solid var(--rule-2); }
.house-visual .photo { aspect-ratio: 4 / 3; border: 0; }
.house-visual .photo img { width: 100%; height: 100%; object-fit: cover; }
.house-book .small { font-size: .78rem; }
.house-story { max-width: none; }
.houses-page .house-story h3 { margin: 0; font-size: 1.45rem; font-weight: 500; line-height: 1.75; letter-spacing: .035em; text-wrap: balance; line-break: strict; }
.houses-page .house-story p { margin-top: 18px; color: #53514b; font-size: .925rem; line-height: 2.05; letter-spacing: .025em; text-wrap: pretty; line-break: strict; }
.houses-page .house-story h3 + p { margin-top: 22px; }
.houses-page .house-story strong { font-weight: inherit; text-decoration-line: underline; text-decoration-color: rgba(168, 85, 57, .28); text-decoration-thickness: 3px; text-underline-offset: .22em; text-decoration-skip-ink: none; }
@media (max-width: 1079px) {
  .house-spread { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .house-story { max-width: 46rem; }
}
@media (max-width: 759px) {
  .houses-head { margin-bottom: 36px; }
  .houses-page > .fact + .fact { margin-top: 44px; }
  .houses-page .fact-v { font-size: 2.1rem; }
  .houses-page .house-story h3 { font-size: 1.35rem; }
  .houses-page .house-story p { font-size: .925rem; line-height: 2; }
}
@media (forced-colors: active) {
  .houses-page .house-story p { color: CanvasText; }
  .houses-page .house-story strong { text-decoration-color: CanvasText; text-decoration-thickness: 1px; }
}

.home-intro-visual { min-width: 0; }
