@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&family=Noto+Serif+JP:wght@600;700&display=swap");

:root {
  --paper: #fff2c9;
  --paper-deep: #f7cf68;
  --ink: #1c1a17;
  --muted: #6c6258;
  --vermilion: #b83a2d;
  --vermilion-dark: #8d2a21;
  --gold: #d48a18;
  --line: #dfa941;
  --footer: #2b2622;
  --white: #fffaf0;
  --shadow: 0 16px 45px rgba(92, 57, 10, 0.14);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background-color: #efad2f;
  background-image: linear-gradient(135deg, rgba(255,255,255,.18) 25%, transparent 25%), linear-gradient(225deg, rgba(255,255,255,.18) 25%, transparent 25%), linear-gradient(315deg, rgba(255,255,255,.12) 25%, transparent 25%), linear-gradient(45deg, rgba(255,255,255,.12) 25%, transparent 25%);
  background-position: 32px 0, 32px 0, 0 0, 0 0;
  background-size: 64px 64px;
  font-family: "Noto Sans JP", "游ゴシック", sans-serif;
  font-size: 16px;
  line-height: 1.9;
}
body.nav-open { overflow: hidden; }
a, p, td, address { overflow-wrap: anywhere; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
a:hover { color: var(--vermilion); }
img { display: block; max-width: 100%; height: auto; }
.container { width: min(100% - 40px, 1120px); margin-inline: auto; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 8px 14px; background: var(--ink); color: white; transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); background: rgba(255, 248, 224, .96); backdrop-filter: blur(12px); }
.header-inner { min-height: 85px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { flex: 0 0 260px; overflow: hidden; }
.brand img { width: auto; max-width: none; height: 81px; }
.header-copy { display: none; }
.nav-toggle { width: 46px; height: 46px; display: grid; place-content: center; gap: 5px; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: var(--white); cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: currentColor; transition: .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.global-nav { display: none; position: fixed; inset: 82px 0 0; padding: 28px 24px; background: var(--paper); }
.global-nav.is-open { display: block; }
.nav-list, .footer-links { margin: 0; padding: 0; list-style: none; }
.nav-list > li { border-bottom: 1px solid var(--line); }
.nav-list a { display: block; padding: 13px 8px; text-decoration: none; font-weight: 500; }
.product-menu { padding-left: 18px; }
.product-menu summary { padding: 13px 8px; font-weight: 500; cursor: pointer; }
.product-menu ul { margin: 0 0 10px; padding-left: 20px; }

main { min-height: 55vh; }
.section { padding: 64px 0; }
.section-tight { padding: 44px 0; }
.eyebrow { margin: 0 0 8px; color: var(--vermilion); font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; font-family: "Noto Serif JP", "游明朝", serif; line-height: 1.45; }
h1 { font-size: clamp(1.8rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.2rem); }
h3 { font-size: 1.2rem; }
.section-title { position: relative; margin-bottom: 34px; padding-bottom: 16px; text-align: center; }
.section-title::after { content: ""; position: absolute; bottom: 0; left: 50%; width: 58px; height: 2px; background: var(--vermilion); transform: translateX(-50%); }
.lead { color: var(--muted); font-size: 1.06rem; }

.hero { display: grid; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--white); }
.hero-media { width: 100%; height: 100%; min-height: 280px; object-fit: cover; }
.hero-content { display: flex; flex-direction: column; justify-content: center; margin: 0; padding: 44px max(24px, calc((100vw - 1120px) / 2)); border-top: 1px solid var(--line); color: var(--ink); background-color: var(--paper-deep); background-image: linear-gradient(135deg, rgba(255,255,255,.2) 25%, transparent 25%), linear-gradient(225deg, rgba(255,255,255,.2) 25%, transparent 25%); background-size: 58px 58px; }
.hero-content h1 { max-width: 820px; margin-bottom: 12px; }
.hero-content p { margin: 0; letter-spacing: .08em; }
.trust-banner { padding: 30px; border: 1px solid var(--vermilion); background: rgba(255, 250, 240, .94); box-shadow: var(--shadow); text-align: center; font-family: "Noto Serif JP", serif; font-size: clamp(1.05rem, 2.5vw, 1.3rem); font-weight: 700; }

.product-grid { display: grid; gap: 22px; }
.product-card { overflow: hidden; border: 1px solid var(--line); border-radius: 4px; background: var(--white); box-shadow: 0 8px 25px rgba(53,39,27,.06); transition: transform .2s, box-shadow .2s; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.product-card-body { padding: 20px; }
.product-card h3 { margin-bottom: 8px; color: var(--vermilion-dark); }
.product-card p { margin: 0 0 15px; color: var(--muted); font-size: .94rem; }
.text-link { color: var(--vermilion); font-weight: 700; }
.commitment-section { position: relative; background: rgba(255, 232, 164, .72); }
.commitment-grid { display: grid; gap: 20px; margin: 0; padding: 0; list-style: none; counter-reset: commitment; }
.commitment-grid li { position: relative; min-height: 250px; padding: 68px 28px 30px; border: 1px solid var(--line); border-top: 3px solid var(--vermilion); background: rgba(255,253,249,.92); box-shadow: 0 12px 32px rgba(53,39,27,.08); counter-increment: commitment; }
.commitment-grid li::before { content: "0" counter(commitment); position: absolute; top: 18px; left: 28px; color: var(--gold); font-family: "Noto Serif JP", serif; font-size: 1.8rem; font-weight: 700; line-height: 1; }
.commitment-grid h3 { margin-bottom: 14px; color: var(--vermilion-dark); font-size: clamp(1.16rem, 2vw, 1.38rem); }
.commitment-grid p { margin: 0; color: var(--muted); }

.page-hero { padding: 68px 0 50px; border-bottom: 1px solid var(--line); background: linear-gradient(135deg, rgba(255,242,201,.96), rgba(247,207,104,.92)); text-align: center; }
.page-hero h1 { margin-bottom: 8px; }
.page-hero .lead { margin: 0; }
.page-hero .page-lead { margin: 0 0 10px; color: var(--muted); font-size: 1.06rem; }
.hero-title .nowrap { display: inline-block; white-space: nowrap; }
.content-grid { display: grid; gap: 36px; align-items: start; }
.product-photo { width: 100%; border: 1px solid var(--line); border-radius: 3px; box-shadow: var(--shadow); }
.spec-table { width: 100%; border-collapse: collapse; border: 1px solid var(--line); background: var(--white); }
.spec-table th, .spec-table td { padding: 17px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.spec-table th { width: 29%; background: var(--paper-deep); font-weight: 700; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.company-table th { width: 29%; }
.building-grid { display: grid; gap: 24px; align-items: stretch; }
.building-photo { width: 100%; height: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: center; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.map-frame { overflow: hidden; border: 1px solid var(--line); border-radius: 4px; box-shadow: var(--shadow); }
.map-frame iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }
.map-link { margin-top: 10px; text-align: right; }
.contact-panel, .notice-panel { padding: clamp(24px, 5vw, 42px); border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow); }
.contact-panel + .contact-panel, .notice-panel { margin-top: 24px; }
.contact-panel h2, .notice-panel h2 { color: var(--vermilion-dark); }
.notice-panel { border-top: 3px solid var(--vermilion); }

.cta { padding: 50px 0; background: var(--paper-deep); }
.cta-inner { display: grid; gap: 24px; align-items: center; }
.cta h2 { margin-bottom: 4px; }
.cta p { margin: 0; color: var(--muted); }
.cta-actions { display: grid; gap: 12px; }
.button { display: inline-flex; min-height: 54px; align-items: center; justify-content: center; padding: 12px 20px; border: 1px solid var(--vermilion); border-radius: 2px; color: white; background: var(--vermilion); text-decoration: none; font-weight: 700; }
.button:hover { color: white; background: var(--vermilion-dark); }
.button-secondary { color: var(--vermilion); background: transparent; }
.button-secondary:hover { color: white; }

.site-footer { padding: 48px 0 24px; color: #f4ecdd; background: var(--footer); }
.footer-grid { display: grid; gap: 32px; }
.footer-brand { font-family: "Noto Serif JP", serif; font-size: 1.25rem; font-weight: 700; }
.site-footer address { font-style: normal; color: #d8ccbc; }
.site-footer a { color: #f4ecdd; }
.footer-links { columns: 2; }
.footer-links li { margin-bottom: 6px; }
.footer-meta { margin-top: 32px; padding-top: 22px; border-top: 1px solid rgba(244,236,221,.18); color: #bfb3a3; font-size: .8rem; text-align: center; }
.mobile-dock { display: none; }

@media (min-width: 640px) {
  .container { width: min(100% - 64px, 1120px); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .commitment-grid { grid-template-columns: repeat(3, 1fr); }
  .building-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-inner { grid-template-columns: 1fr auto; }
  .cta-actions { grid-template-columns: repeat(2, minmax(190px, 1fr)); }
  .footer-grid { grid-template-columns: 1.35fr 1fr; }
}

@media (min-width: 960px) {
  body.nav-open { overflow: auto; }
  .nav-toggle { display: none; }
  .header-copy { display: block; flex: 1 1 300px; max-width: 330px; color: var(--muted); font-size: .72rem; font-weight: 500; line-height: 1.45; }
  .header-copy p { margin: 0; }
  .header-copy p:first-child { color: var(--vermilion-dark); font-weight: 700; }
  .global-nav, .global-nav.is-open { display: block; position: static; padding: 0; background: transparent; }
  .nav-list { display: flex; align-items: center; gap: 4px; }
  .nav-list > li { border: 0; }
  .nav-list a { padding: 11px 12px; }
  .product-menu { position: relative; padding: 0; }
  .product-menu summary { padding: 11px 12px; list-style: none; }
  .product-menu summary::-webkit-details-marker { display: none; }
  .product-menu ul { display: none; position: absolute; top: 100%; left: 0; min-width: 245px; margin: 0; padding: 10px; border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow); list-style: none; }
  .product-menu:hover ul { display: block; }
  .product-grid { grid-template-columns: repeat(4, 1fr); }
  .content-grid { grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr); }
  .section { padding: 86px 0; }
  .hero { grid-template-columns: minmax(390px, .82fr) minmax(0, 1.18fr); min-height: 540px; }
  .hero-media { grid-column: 2; grid-row: 1; min-height: 540px; }
  .hero-content { grid-column: 1; grid-row: 1; padding: 70px clamp(40px, 6vw, 90px); border-top: 0; border-right: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1.4fr 1fr .8fr; }
}

@media (max-width: 959px) {
  body.nav-open .site-header { background: #fff8e0; backdrop-filter: none; }
  .global-nav, .global-nav.is-open { overflow-y: auto; overscroll-behavior: contain; background-color: #fff8e0; background-image: none; box-shadow: 0 12px 30px rgba(53,39,27,.18); opacity: 1; }
}

@media (max-width: 639px) {
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .brand { flex-basis: 200px; }
  .brand img { height: 60px; }
  .header-inner { min-height: 86px; }
  .global-nav { inset-block-start: 86px; }
  .hero-media { min-height: 0; aspect-ratio: 3 / 2; }
  .spec-table, .spec-table tbody, .spec-table tr, .spec-table th, .spec-table td { display: block; width: 100%; }
  .spec-table th { padding-bottom: 8px; border-bottom: 0; }
  .spec-table td { padding-top: 8px; }
  .cta-actions { grid-template-columns: 1fr; }
  .mobile-dock { position: fixed; right: 0; bottom: 0; left: 0; z-index: 80; display: grid; grid-template-columns: repeat(5, 1fr); min-height: calc(68px + env(safe-area-inset-bottom)); padding: 5px 4px env(safe-area-inset-bottom); border-top: 1px solid rgba(141,42,33,.25); background: rgba(255,250,240,.98); box-shadow: 0 -5px 18px rgba(53,39,27,.14); backdrop-filter: blur(12px); }
  .mobile-dock a { display: flex; min-width: 0; min-height: 58px; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: var(--ink); font-size: .68rem; font-weight: 700; line-height: 1.2; text-align: center; text-decoration: none; }
  .mobile-dock a:hover, .mobile-dock a:focus-visible { color: var(--vermilion); background: rgba(247,207,104,.28); }
  .mobile-dock svg { width: 23px; height: 23px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .mobile-dock .mobile-dock-phone { color: var(--vermilion); }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
