/* テンプレート：natural
   色（--main）と書体（--font-heading・--font-body・--font-en）は site.yaml の theme から <html> に入る。
   生成り色の紙と茶色の文字が基本。--main は英字の見出し・番号・細い線・メインのボタンにだけ使う。
   動きは html.js のときだけ付ける（JavaScript が動かなくても内容はすべて見える） */

:root {
  --paper: #fbfaf7;
  --paper-2: #f3f0e9;
  --ink: #524b40;
  --ink-soft: #8a857c;
  --line: #d6d1c4;
  --line-soft: #e8e4da;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --header-h: 60px;
  --callbar-h: 64px;
  --gutter: 20px;
  --section-y: 96px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 2;
  letter-spacing: 0.08em;
  padding-bottom: var(--callbar-h);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 500;
}

p,
figure,
dl,
dd {
  margin: 0;
}

ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

button {
  font: inherit;
  color: inherit;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.container--narrow {
  max-width: 860px;
}

.pending {
  color: var(--ink-soft);
  opacity: 0.8;
  font-size: 0.9em;
}

.icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── デモ用の帯 ── */
.demo-banner {
  position: relative;
  z-index: 40;
  background: #fff4c2;
  color: #5c4a00;
  font-size: 12px;
  text-align: center;
  padding: 6px 16px;
  line-height: 1.6;
  letter-spacing: 0.04em;
}

.demo-banner__date {
  white-space: nowrap;
}

/* ── ヘッダー（スマホ：店名とメニューボタンだけの帯） ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(251, 250, 247, 0.96);
  border-bottom: 1px solid var(--line-soft);
}

.site-header__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--header-h);
  padding: 0 var(--gutter);
  max-width: 1180px;
  margin: 0 auto;
}

.site-header__name {
  font-family: var(--font-heading);
  font-size: 18px;
  letter-spacing: 0.16em;
  text-decoration: none;
}

.site-header__contact {
  display: none;
}

.menu-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: 0;
  padding: 8px 0;
  cursor: pointer;
  font-size: 12px;
  letter-spacing: 0.12em;
}

.menu-btn__lines {
  position: relative;
  width: 22px;
  height: 1px;
  background: var(--ink);
  transition: background 0.2s;
}

.menu-btn__lines::before,
.menu-btn__lines::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--ink);
  transition: transform 0.3s var(--ease);
}

.menu-btn__lines::before {
  transform: translateY(-6px);
}

.menu-btn__lines::after {
  transform: translateY(6px);
}

.is-menu-open .menu-btn__lines {
  background: transparent;
}

.is-menu-open .menu-btn__lines::before {
  transform: rotate(30deg);
}

.is-menu-open .menu-btn__lines::after {
  transform: rotate(-30deg);
}

/* スマホのメニュー：ヘッダーの下に全画面で開く */
.nav {
  display: none;
}

.is-menu-open body {
  overflow: hidden;
}

.is-menu-open .nav {
  display: block;
  position: fixed;
  inset: var(--menu-top, var(--header-h)) 0 0;
  overflow-y: auto;
  background: var(--paper);
  padding: 24px var(--gutter) 48px;
}

.nav__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line-soft);
}

.nav__list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 4px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14px;
  text-decoration: none;
}

.nav__list .icon {
  color: var(--main);
  flex-shrink: 0;
}

.nav__list a[aria-current='page'] {
  color: var(--main);
}

/* ── 最初の画面：左に縦書きのキャッチコピー、右に写真 ── */
.hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  padding: 24px var(--gutter) 0;
  max-width: 1400px;
  margin: 0 auto;
}

.hero__text {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.hero__catch {
  writing-mode: vertical-rl;
  font-size: 22px;
  line-height: 1.9;
  letter-spacing: 0.24em;
}

.hero__line {
  display: block;
}

.js .hero__line {
  opacity: 0;
  animation: fade-in 1.6s var(--ease) forwards;
}

.js .hero__line:nth-child(2) {
  animation-delay: 0.5s;
}

.js .hero__line:nth-child(3) {
  animation-delay: 1s;
}

.hero__meta {
  writing-mode: vertical-rl;
  font-size: 11px;
  color: var(--ink-soft);
  letter-spacing: 0.2em;
  line-height: 1.8;
}

.hero__visual {
  position: relative;
}

.hero__slides {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--paper-2);
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.6s var(--ease);
}

.hero__slide.is-active {
  opacity: 1;
}

.hero__slide .photo {
  height: 100%;
}

.js .hero__slide img {
  transform: scale(1.06);
  transition: transform 7s linear;
}

.js .hero__slide.is-active img {
  transform: scale(1);
}

.hero__dots {
  display: flex;
  justify-content: flex-end;
  gap: 4px;
  margin-top: 8px;
}

.hero__dot {
  width: 28px;
  height: 20px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  position: relative;
}

.hero__dot::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: var(--line);
  transition: background 0.3s;
}

.hero__dot.is-active::before {
  background: var(--ink);
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ── お知らせの帯 ── */
.news {
  padding: 32px 0 0;
}

.news__inner {
  display: grid;
  gap: 8px;
}

.news__label {
  font-family: var(--font-en);
  font-size: 20px;
  color: var(--main);
  letter-spacing: 0.06em;
  line-height: 1.4;
}

.news__label span {
  margin-left: 12px;
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--ink-soft);
}

.news__list {
  border-top: 1px solid var(--line);
}

.news__list li {
  display: grid;
  grid-template-columns: 6.5em 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14px;
  line-height: 1.8;
}

.news__list time {
  font-family: var(--font-en);
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}

/* ── セクション共通 ── */
.section {
  padding: var(--section-y) 0;
}

.section--tint {
  background: var(--paper-2);
}

.section--narrow {
  padding: calc(var(--section-y) / 2) 0;
}

.head {
  text-align: center;
  margin-bottom: 48px;
}

.head__en {
  font-family: var(--font-en);
  font-size: 36px;
  line-height: 1.2;
  color: var(--main);
  letter-spacing: 0.04em;
}

.head__ja {
  margin-top: 8px;
  font-size: 13px;
  letter-spacing: 0.2em;
}

.head__ja::after {
  content: '';
  display: block;
  width: 1px;
  height: 28px;
  margin: 16px auto 0;
  background: var(--line);
}

.head--left {
  text-align: left;
  margin-bottom: 24px;
}

.head--left .head__ja::after {
  margin-left: 0;
}

.empty {
  text-align: center;
  color: var(--ink-soft);
}

/* 「〇〇を見る」のリンク */
.more {
  margin-top: 48px;
  text-align: center;
}

.concept__text .more {
  margin-top: 32px;
}

/* ── 下のページの見出し：うしろに薄く写真 ── */
.page-head {
  position: relative;
  overflow: hidden;
  background: var(--paper-2);
  padding: 64px 0;
  text-align: center;
}

/* 写真は淡くして、文字を読みやすくする（暗い写真でも濁らないよう明るさを上げる） */
.page-head__photo {
  position: absolute;
  inset: 0;
  opacity: 0.2;
  filter: brightness(1.4) saturate(0.7);
}

.page-head__inner {
  position: relative;
}

.page-head__en {
  font-family: var(--font-en);
  font-size: 40px;
  line-height: 1.2;
  color: var(--main);
  letter-spacing: 0.04em;
}

.page-head__ja {
  margin-top: 8px;
  font-size: 15px;
  letter-spacing: 0.24em;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 16px;
  padding-bottom: 16px;
  font-size: 12px;
  color: var(--ink-soft);
}

.breadcrumb a {
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.section--first {
  padding-top: 48px;
}

/* ── 写真とダミー枠 ── */
.photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
  background: var(--line-soft);
  color: var(--ink-soft);
  font-size: 12px;
  text-align: center;
  padding: 16px;
}

/* ── ボタン：細い枠。乗せると矢印が少し進む ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-width: 240px;
  min-height: 52px;
  padding: 0 20px 0 24px;
  border: 1px solid var(--ink);
  font-size: 14px;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.btn__arrow {
  position: relative;
  width: 28px;
  height: 1px;
  background: currentColor;
  transition: transform 0.3s var(--ease);
}

.btn__arrow::after {
  content: '';
  position: absolute;
  right: 0;
  top: -3px;
  width: 7px;
  height: 1px;
  background: currentColor;
  transform: rotate(35deg);
  transform-origin: right center;
}

.btn:hover .btn__arrow {
  transform: translateX(4px);
}

.btn:hover {
  background: var(--ink);
  color: var(--paper);
}

.btn--fill {
  background: var(--main);
  border-color: var(--main);
  color: #fff;
}

.btn--fill:hover {
  background: var(--ink);
  border-color: var(--ink);
}

/* ── 想い ── */
.concept__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.concept__text {
  grid-column: 1 / -1;
  margin-bottom: 24px;
}

.concept__lead {
  font-size: 15px;
  line-height: 2.4;
  letter-spacing: 0.1em;
}

.concept__photo {
  overflow: hidden;
}

.concept__photo--1 {
  aspect-ratio: 3 / 4;
}

.concept__photo--2 {
  aspect-ratio: 3 / 4;
  margin-top: 48px;
}

.concept__photo--3 {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 9;
  width: 80%;
  margin-left: auto;
}

/* ── 家づくりの考え方：縦書きの見出し ── */
.ways {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.way {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    'num title'
    'body title';
  align-content: start;
  column-gap: 24px;
  padding: 32px 4px;
  border-bottom: 1px solid var(--line);
}

.way__num {
  grid-area: num;
  font-family: var(--font-en);
  font-size: 18px;
  color: var(--main);
  letter-spacing: 0.06em;
  line-height: 1.4;
  margin-bottom: 12px;
}

.way__title {
  grid-area: title;
  writing-mode: vertical-rl;
  font-size: 20px;
  letter-spacing: 0.24em;
  line-height: 1.6;
}

.way__body {
  grid-area: body;
  font-size: 14px;
  line-height: 2.1;
}

/* ── 施工事例 ── */
.tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 24px;
  margin-bottom: 40px;
}

.tabs__btn {
  padding: 6px 2px;
  border: 0;
  border-bottom: 1px solid transparent;
  background: none;
  font-size: 14px;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}

.tabs__btn.is-active,
.tabs__btn:hover {
  color: var(--ink);
  border-bottom-color: var(--main);
}

.works {
  display: grid;
  gap: 40px 24px;
}

.work[hidden] {
  display: none;
}

.work__photo {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  margin-bottom: 16px;
}

.work__photo .photo {
  transition: transform 1.2s var(--ease);
}

.work__cat {
  display: inline-block;
  margin-bottom: 6px;
  padding: 0 10px;
  border: 1px solid var(--line);
  font-size: 11px;
  line-height: 1.9;
  color: var(--ink-soft);
}

.work__title {
  font-size: 16px;
  line-height: 1.7;
}

.work__meta {
  margin-top: 4px;
  font-size: 12px;
  color: var(--ink-soft);
}

.work__note {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.9;
}

/* ── 対応している工事 ── */
.services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 24px;
  max-width: 900px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.services li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.6;
}

.services li::before {
  content: '';
  flex-shrink: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--main);
}

.services__note {
  margin-top: 32px;
  text-align: center;
  font-size: 13px;
  color: var(--ink-soft);
}

/* ── お客様の声 ── */
.voices {
  display: grid;
  gap: 48px 32px;
}

.voice__photo {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  margin-bottom: 20px;
}

.voice__title {
  font-size: 18px;
  line-height: 1.7;
  letter-spacing: 0.12em;
}

.voice__name {
  margin-top: 8px;
  font-size: 12px;
  color: var(--ink-soft);
}

.voice__body {
  margin-top: 12px;
  font-size: 14px;
  line-height: 2;
}

/* ── 見学のご案内 ── */
.showroom {
  display: grid;
  gap: 32px;
}

.showroom__photo {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.showroom__title {
  font-size: 20px;
  letter-spacing: 0.14em;
  margin-bottom: 16px;
}

.info {
  margin: 24px 0 32px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  text-align: left;
}

.info div {
  display: grid;
  grid-template-columns: 8em 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.info dt {
  color: var(--ink-soft);
}

/* ── トップの案内の帯（見学のご案内）：写真と文章を左右に ── */
.banner {
  display: grid;
  gap: 32px;
}

.banner__photo {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.banner__title {
  font-size: 20px;
  letter-spacing: 0.14em;
  margin-bottom: 16px;
}

.banner__body {
  margin-bottom: 32px;
  font-size: 14px;
}

/* ── トップの採用情報へのリンク：枠で囲んだ帯 ── */
.recruit-link {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 4px 24px;
  padding: 28px 24px;
  border: 1px solid var(--line);
  text-decoration: none;
  transition: background 0.2s;
}

.recruit-link:hover {
  background: var(--paper-2);
}

.recruit-link__en {
  font-family: var(--font-en);
  font-size: 28px;
  line-height: 1.3;
  color: var(--main);
}

.recruit-link__ja {
  grid-row: 2;
  font-size: 13px;
  letter-spacing: 0.2em;
}

.recruit-link__text {
  grid-column: 1;
  grid-row: 3;
  margin-top: 8px;
  font-size: 14px;
  color: var(--ink-soft);
}

.recruit-link .btn__arrow {
  grid-column: 2;
  grid-row: 1 / span 3;
  width: 40px;
}

.recruit-link:hover .btn__arrow {
  transform: translateX(4px);
}

/* ── 採用情報 ── */
.recruit {
  font-size: 15px;
  line-height: 2.2;
}

/* ── 会社概要 ── */
.company {
  border-top: 1px solid var(--line);
}

.company__row {
  display: grid;
  grid-template-columns: 6.5em 1fr;
  gap: 16px;
  padding: 16px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.8;
}

.company__row dt {
  color: var(--ink-soft);
}

/* ── アクセス ── */
.access {
  display: grid;
  gap: 32px;
}

.access__name {
  font-family: var(--font-heading);
  font-size: 18px;
  letter-spacing: 0.14em;
  margin-bottom: 4px;
}

.access__hours {
  margin: 16px 0 28px;
  font-size: 14px;
}

.access__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.map {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 0;
  filter: sepia(0.2) saturate(0.7);
}

.map--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--line-soft);
  color: var(--ink-soft);
  font-size: 13px;
}

/* ── 問い合わせ ── */
.contact {
  padding: var(--section-y) 0;
  border-top: 1px solid var(--line-soft);
  text-align: center;
}

.contact__en {
  font-family: var(--font-en);
  font-size: 36px;
  line-height: 1.2;
  color: var(--main);
}

.contact__title {
  margin-top: 12px;
  font-size: 20px;
  line-height: 1.8;
  letter-spacing: 0.14em;
}

.contact__lead {
  margin-top: 12px;
  font-size: 14px;
  color: var(--ink-soft);
}

.contact__tel {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 32px;
  font-family: var(--font-en);
  font-size: 34px;
  line-height: 1.2;
  letter-spacing: 0.06em;
  text-decoration: none;
}

.contact__tel span {
  font-size: 16px;
  color: var(--main);
}

.contact__hours {
  margin-top: 8px;
  font-size: 12px;
  color: var(--ink-soft);
}

.contact-page {
  text-align: center;
}

.contact-page__tel {
  margin-top: 40px;
  padding: 40px 24px;
  border: 1px solid var(--line);
}

.contact-page__tel .contact__tel {
  margin-top: 0;
}

.contact__tel--pending {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink-soft);
}

.contact__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

/* ── フッター ── */
.site-footer {
  background: var(--paper-2);
  font-size: 13px;
  line-height: 1.9;
}

/* 写真の帯：枚数にかかわらず1列に並べる */
.strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
}

.strip li {
  aspect-ratio: 1;
  overflow: hidden;
}

.site-footer__inner {
  display: grid;
  gap: 32px;
  padding-top: 48px;
  padding-bottom: 32px;
}

.site-footer__name {
  font-family: var(--font-heading);
  font-size: 20px;
  letter-spacing: 0.16em;
  margin-bottom: 8px;
}

.site-footer__nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 24px;
}

.site-footer__nav a {
  text-decoration: none;
}

.site-footer__nav a:hover {
  text-decoration: underline;
}

.site-footer__copy {
  padding: 16px var(--gutter) 24px;
  border-top: 1px solid var(--line);
  font-family: var(--font-en);
  font-size: 12px;
  text-align: center;
  color: var(--ink-soft);
}

/* ── スマホ下の電話・地図ボタン ── */
.callbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  display: flex;
  gap: 8px;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  background: rgba(251, 250, 247, 0.96);
  border-top: 1px solid var(--line);
}

.callbar__btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid var(--ink);
  color: var(--ink);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.callbar__btn--primary {
  flex: 1.4;
  background: var(--main);
  border-color: var(--main);
  color: #fff;
}

/* ── ふわっと表示（JavaScript が動くときだけ） ── */
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
  transition-delay: calc(var(--i, 0) * 0.06s);
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ── タブレット幅 ── */
@media (min-width: 600px) {
  .works,
  .voices {
    grid-template-columns: 1fr 1fr;
  }

  .services {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ── PC幅 ── */
@media (min-width: 900px) {
  :root {
    --gutter: 40px;
    --section-y: 140px;
  }

  body {
    padding-bottom: 0;
  }

  /* ヘッダー：上の段に店名と連絡先、下の段にアイコン付きのメニュー（スクロールしても付いてくる） */
  .site-header__top {
    height: 88px;
  }

  .site-header__name {
    font-size: 24px;
    letter-spacing: 0.2em;
  }

  .site-header__contact {
    display: flex;
    align-items: center;
    gap: 28px;
  }

  .site-header__address {
    font-size: 12px;
    color: var(--ink-soft);
  }

  .site-header__tel-wrap {
    text-align: right;
    line-height: 1.4;
  }

  .site-header__tel {
    font-family: var(--font-en);
    font-size: 22px;
    letter-spacing: 0.04em;
    text-decoration: none;
  }

  .site-header__tel span {
    margin-right: 6px;
    font-size: 13px;
    color: var(--main);
  }

  .site-header__hours {
    font-size: 11px;
    color: var(--ink-soft);
  }

  .site-header__btn {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 22px;
    background: var(--main);
    color: #fff;
    font-size: 13px;
    letter-spacing: 0.12em;
    text-decoration: none;
    transition: background 0.2s;
  }

  .site-header__btn:hover {
    background: var(--ink);
  }

  .menu-btn {
    display: none;
  }

  .nav,
  .is-menu-open .nav {
    display: block;
    position: static;
    padding: 0;
    background: none;
    border-top: 1px solid var(--line-soft);
  }

  .nav__list {
    display: flex;
    justify-content: center;
    border: 0;
    max-width: 1180px;
    margin: 0 auto;
  }

  .nav__list li {
    flex: 0 1 120px;
  }

  .nav__list a {
    flex-direction: column;
    gap: 4px;
    padding: 12px 4px 14px;
    border: 0;
    font-size: 12px;
    letter-spacing: 0.1em;
    transition: color 0.2s;
  }

  .nav__list a:hover {
    color: var(--main);
  }

  /* 最初の画面 */
  .hero {
    grid-template-columns: minmax(160px, 1fr) minmax(0, 4fr);
    gap: 40px;
    padding-top: 40px;
  }

  .hero__text {
    align-items: center;
    padding: 24px 0;
  }

  .hero__catch {
    font-size: 32px;
    letter-spacing: 0.3em;
  }

  .hero__meta {
    font-size: 12px;
  }

  .hero__slides {
    aspect-ratio: auto;
    height: min(72vh, 720px);
    min-height: 460px;
  }

  /* お知らせ */
  .news {
    padding-top: 48px;
  }

  .news__inner {
    grid-template-columns: 200px 1fr;
    gap: 40px;
    align-items: start;
  }

  .news__label {
    display: flex;
    flex-direction: column;
    font-size: 28px;
  }

  .news__label span {
    margin: 4px 0 0;
  }

  /* 想い：真ん中に文章、まわりに写真 */
  .concept__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr) minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 56px;
    row-gap: 40px;
    align-items: start;
  }

  .concept__text {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    margin: 0;
  }

  .concept__lead {
    font-size: 16px;
    line-height: 2.6;
    text-align: center;
  }

  .concept__photo--1 {
    grid-column: 1;
    grid-row: 1;
  }

  .concept__photo--2 {
    grid-column: 3;
    grid-row: 1 / span 2;
    margin-top: 120px;
  }

  .concept__photo--3 {
    grid-column: 1;
    grid-row: 2;
    width: 72%;
    aspect-ratio: 1;
  }

  /* 家づくりの考え方：縦の線で区切って横に並べる */
  .ways {
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    border-top: 0;
    border-left: 1px solid var(--line);
  }

  .way {
    grid-template-columns: 1fr;
    grid-template-areas:
      'num'
      'title'
      'body';
    justify-items: center;
    padding: 8px 32px 16px;
    border-bottom: 0;
    border-right: 1px solid var(--line);
  }

  .way__num {
    margin-bottom: 24px;
  }

  .way__title {
    font-size: 24px;
    min-height: 9em;
    margin-bottom: 32px;
  }

  .way__body {
    justify-self: stretch;
  }

  /* 施工事例・お客様の声 */
  .works,
  .voices {
    grid-template-columns: repeat(3, 1fr);
  }

  .works {
    gap: 56px 32px;
  }

  /* 見学のご案内・アクセス：左右に並べる */
  .showroom,
  .banner {
    grid-template-columns: 7fr 5fr;
    gap: 64px;
    align-items: center;
  }

  .page-head {
    padding: 112px 0;
  }

  .page-head__en {
    font-size: 56px;
  }

  .section--first {
    padding-top: 72px;
  }

  .recruit-link {
    grid-template-columns: auto auto 1fr auto;
    padding: 40px 56px;
  }

  .recruit-link__ja,
  .recruit-link__text {
    grid-row: 1;
    grid-column: auto;
    margin: 0;
  }

  .recruit-link .btn__arrow {
    grid-column: 4;
    grid-row: 1;
  }

  .contact-page__tel {
    padding: 56px 48px;
  }

  .access {
    grid-template-columns: 5fr 7fr;
    gap: 64px;
    align-items: center;
  }

  .contact__tel {
    font-size: 44px;
  }

  .site-footer__inner {
    grid-template-columns: 1fr 1fr;
    padding-top: 64px;
  }

  .site-footer__nav {
    grid-template-columns: repeat(3, 1fr);
    align-content: start;
  }

  .callbar {
    display: none;
  }
}


/* 問い合わせフォームの見本（c.sampleForm）。送信はされない */
.sample-form {
  display: grid;
  gap: 16px;
  margin-top: 32px;
  text-align: left;
}

.sample-form label {
  display: grid;
  gap: 6px;
  font-size: 14px;
}

.sample-form input,
.sample-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid currentColor;
  border-radius: 0;
  background: #fff;
  color: inherit;
  font: inherit;
}

.sample-form button {
  justify-self: center;
  min-height: 48px;
  padding: 0 32px;
  border: 0;
  border-radius: 0;
  background: var(--main);
  color: #fff;
  font: inherit;
  cursor: pointer;
}

.sample-form__note {
  margin: 0;
  font-size: 14px;
  text-align: center;
}

.sample-form__note[hidden] {
  display: none;
}

/* ちょうど3件のときは、1件だけ下に残らないよう3列にする */
@media (min-width: 600px) and (max-width: 899px) {
  .works:has(> :nth-child(3):last-child),
  .voices:has(> :nth-child(3):last-child) {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* 端末の「動きを減らす」設定では、動きを止める */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .js .reveal,
  .js .hero__line {
    opacity: 1;
    transform: none;
  }
}
