:root {
  --navy: #102a43;
  --blue: #174b7a;
  --blue-light: #eaf2f8;
  --gold: #b8872e;
  --gold-light: #f6efe1;
  --ink: #1c2733;
  --muted: #5e6b78;
  --line: #dbe3ea;
  --surface: #ffffff;
  --background: #f6f8fa;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(16, 42, 67, 0.08);
  --container: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--background);
  font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: 16px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-underline-offset: 0.2em; }
a:hover { color: var(--gold); }
button, input, textarea, select { font: inherit; }

:focus-visible {
  outline: 3px solid #f1b24a;
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); color: #fff; }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img { width: 250px; height: 50px; object-fit: contain; }
.menu-button { display: none; padding: 8px; border: 0; border-radius: 8px; background: transparent; color: var(--navy); cursor: pointer; }
.menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 26px; height: 2px; background: currentColor; transition: transform .2s ease; }
.menu-icon { position: relative; }
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
.menu-icon::before { top: -8px; }
.menu-icon::after { top: 8px; }
.menu-button[aria-expanded="true"] .menu-icon { background: transparent; }
.menu-button[aria-expanded="true"] .menu-icon::before { top: 0; transform: rotate(45deg); }
.menu-button[aria-expanded="true"] .menu-icon::after { top: 0; transform: rotate(-45deg); }
.site-nav ul { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.site-nav a { display: block; padding: 10px 14px; border-radius: 8px; color: var(--navy); font-weight: 700; text-decoration: none; }
.site-nav a:hover { background: var(--blue-light); }
.site-nav a[aria-current="page"] { background: var(--navy); color: #fff; }

.hero {
  position: relative;
  min-height: 440px;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background: var(--navy);
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  background: url("../img/header-bg.webp") center / cover no-repeat;
}
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 29, 48, .92) 0%, rgba(16, 42, 67, .72) 45%, rgba(16, 42, 67, .08) 75%);
}
.hero-content { max-width: 660px; padding-block: 80px; }
.eyebrow { margin: 0 0 12px; color: #f3c975; font-size: .85rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.hero h1 { margin: 0 0 20px; font-family: "Noto Serif JP", "Yu Mincho", serif; font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.3; letter-spacing: .05em; }
.hero-lead { max-width: 590px; margin: 0 0 30px; font-size: clamp(1rem, 2vw, 1.2rem); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 10px 22px; border: 1px solid transparent; border-radius: 999px; background: var(--gold); color: #fff; font-weight: 800; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
.button:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.18); }
.button-secondary { border-color: rgba(255,255,255,.65); background: rgba(16,42,67,.35); }
.hero-stats { display: flex; gap: clamp(24px, 4vw, 48px); margin: 36px 0 0; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.28); }
.hero-stats dt { color: #f3c975; font-size: .78rem; font-weight: 800; letter-spacing: .1em; }
.hero-stats dd { margin: 2px 0 0; font-size: clamp(1.15rem, 2.4vw, 1.45rem); font-weight: 800; }
.strength-certs { display: flex; justify-content: center; flex-wrap: wrap; gap: 20px; margin-top: 46px; }
.strength-certs img { width: auto; height: 110px; border-radius: 8px; box-shadow: 0 8px 24px rgba(0, 0, 0, .35); }

.section { padding-block: clamp(56px, 8vw, 88px); }
.section-white { background: var(--surface); }
.section-blue { background: var(--navy); color: #fff; }
.section-heading { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.section-heading.align-left { margin-left: 0; text-align: left; }
.section-heading h2, .page-title h1 { margin: 0 0 12px; color: var(--navy); font-family: "Noto Serif JP", "Yu Mincho", serif; font-size: clamp(1.75rem, 4vw, 2.7rem); line-height: 1.4; }
.section-blue .section-heading h2 { color: #fff; }
.section-heading p { margin: 0; color: var(--muted); }
.section-blue .section-heading p { color: #d6e1ea; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card { padding: 30px; border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius); background: rgba(255,255,255,.06); }
.feature-number { color: #f3c975; font-family: Georgia, serif; font-size: 2rem; line-height: 1; }
.feature-card h3 { margin: 18px 0 12px; font-size: 1.25rem; }
.feature-card p { margin: 0; color: #d6e1ea; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 72px); align-items: start; }

.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.category-card { display: flex; flex-direction: column; padding: 26px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); color: inherit; text-decoration: none; transition: transform .15s ease, border-color .15s ease; }
.category-card:hover { color: inherit; border-color: var(--gold); transform: translateY(-3px); }
.category-card h3 { margin: 0 0 8px; color: var(--navy); font-size: 1.15rem; }
.category-card p { margin: 0; color: var(--muted); font-size: .92rem; }
.category-card .card-more { margin-top: auto; padding-top: 14px; color: var(--gold); font-size: .9rem; font-weight: 800; }
.category-card-cta { border-style: dashed; background: var(--gold-light); }

.swatch-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 0; padding: 0; list-style: none; }
.swatch-chip { display: block; position: relative; height: 62px; border-radius: 10px; overflow: hidden; box-shadow: inset 0 1px 2px rgba(255,255,255,.7), 0 4px 12px rgba(16,42,67,.14); }
.swatch-chip::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 38%, rgba(255,255,255,.5) 46%, transparent 54%); }
.swatch p { margin: 8px 0 0; color: var(--navy); font-size: .82rem; font-weight: 700; text-align: center; line-height: 1.4; }
.swatch-note { margin: 18px 0 0; color: var(--muted); font-size: .82rem; }
.swatch-gold24 { background: linear-gradient(135deg, #f9e8ae, #e8bf58 40%, #c8922f 70%, #eecf7d); }
.swatch-gold10 { background: linear-gradient(135deg, #f8f0d8, #e6d190 45%, #c9ad62 75%, #efe2b4); }
.swatch-silver { background: linear-gradient(135deg, #ffffff, #d9dde2 45%, #aeb6bf 75%, #e8ecf0); }
.swatch-rhodium { background: linear-gradient(135deg, #f4f7fa, #cfd8e0 45%, #9fadb9 75%, #dee6ec); }
.swatch-pinkgold { background: linear-gradient(135deg, #fbe3d8, #eab8a2 45%, #cf9179 75%, #f3cdbb); }
.swatch-antique { background: linear-gradient(135deg, #d9c07a, #a98737 45%, #77602a 75%, #c3a75e); }
.swatch-blacknickel { background: linear-gradient(135deg, #5a616a, #33383f 45%, #101215 80%, #3c434b); }
.swatch-gunmetal { background: linear-gradient(135deg, #6d7683, #454e5b 45%, #232a34 80%, #4d5663); }
.contact-panel { padding: clamp(28px, 5vw, 48px); border-radius: var(--radius); background: var(--gold-light); }
.contact-panel h2 { margin-top: 0; color: var(--navy); font-family: "Noto Serif JP", serif; font-size: clamp(1.6rem, 4vw, 2.25rem); }
.phone { display: inline-block; margin-block: 8px; color: var(--navy); font-size: clamp(1.8rem, 5vw, 2.7rem); font-weight: 900; line-height: 1.2; text-decoration: none; }
.service-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.service-list li { padding: 5px 11px; border: 1px solid #dfcfae; border-radius: 999px; background: rgba(255,255,255,.65); font-size: .9rem; }

.page-title { padding-block: 46px 62px; border-bottom: 1px solid var(--line); background: linear-gradient(135deg, #fff, var(--blue-light)); }
.breadcrumb { margin-bottom: 26px; font-size: .82rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; list-style: none; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold); text-decoration: underline; }
.breadcrumb li + li::before { content: "›"; margin-right: 4px; color: var(--muted); }
.breadcrumb li[aria-current] { color: var(--navy); font-weight: 700; }
.page-title p { max-width: 760px; margin: 0; color: var(--muted); }
.content { width: min(calc(100% - 40px), 900px); margin-inline: auto; padding-block: 56px 80px; }
.content-card { padding: clamp(24px, 5vw, 48px); border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.content-card + .content-card { margin-top: 22px; }
.content-card h2 { margin: 0 0 16px; color: var(--blue); font-size: clamp(1.25rem, 3vw, 1.55rem); line-height: 1.5; }
.content-card p:last-child { margin-bottom: 0; }
.content-card figure { margin: 0 0 24px; }
.content-card figure img { width: 100%; max-height: 310px; border-radius: 10px; object-fit: cover; }
.purpose-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 0; list-style: none; counter-reset: purpose; }
.purpose-list li { padding: 12px 16px; border-radius: 8px; background: var(--blue-light); counter-increment: purpose; }
.purpose-list li::before { content: counter(purpose, decimal-leading-zero) ". "; color: var(--gold); font-weight: 900; }

.company-table { width: 100%; border-collapse: collapse; }
.company-table th, .company-table td { padding: 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.company-table th { width: 10rem; color: var(--navy); background: #f3f6f8; }
.company-table tr:last-child th, .company-table tr:last-child td { border-bottom: 0; }

.menu-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 0; }
.menu-item { padding: 16px 18px; border-radius: 10px; background: var(--blue-light); }
.menu-item dt { color: var(--navy); font-weight: 800; }
.menu-item dd { margin: 4px 0 0; color: var(--muted); font-size: .92rem; }
.menu-note { margin: 22px 0 0; }

.faq-list { display: grid; gap: 14px; }
.faq-item { overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 4px 18px rgba(16,42,67,.05); }
.faq-item summary { position: relative; padding: 22px 56px 22px 24px; color: var(--navy); font-size: 1.08rem; font-weight: 800; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; top: 50%; right: 24px; color: var(--gold); font-size: 1.6rem; transform: translateY(-50%); }
.faq-item[open] summary::after { content: "−"; }
.faq-answer { padding: 0 24px 22px; color: #334454; }
.faq-answer p { margin: 0; }
.faq-answer ol { margin-bottom: 0; padding-left: 1.5rem; }

.form-shell { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.form-shell iframe { display: block; width: 100%; min-height: 1280px; border: 0; }
.form-note { padding: 18px 22px; background: var(--gold-light); text-align: center; }

.policy h2 { margin-top: 2.25em; color: var(--navy); font-size: 1.2rem; }
.policy h2:first-child { margin-top: 0; }

.site-footer { padding-block: 48px 24px; background: #0b2033; color: #c9d5df; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: start; }
.footer-brand { margin: 0 0 12px; color: #fff; font-family: "Noto Serif JP", serif; font-size: 1.3rem; font-weight: 800; }
.footer-address { margin: 0; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 22px; margin: 0; padding: 0; list-style: none; }
.footer-nav a { color: #dce5ec; text-decoration: none; }
.footer-nav a:hover { color: #f3c975; }
.copyright { margin: 32px 0 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); color: #8fa2b2; font-size: .8rem; text-align: center; }

@media (max-width: 820px) {
  .container, .content { width: min(calc(100% - 28px), var(--container)); }
  .header-inner { min-height: 70px; }
  .brand img { width: 210px; height: 42px; }
  .menu-button { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; }
  .site-nav { position: absolute; top: 100%; left: 0; width: 100%; padding: 10px 14px 18px; border-bottom: 1px solid var(--line); background: #fff; box-shadow: 0 12px 20px rgba(16,42,67,.08); }
  .site-nav { display: none; }
  .site-nav.is-open { display: block; }
  .site-nav ul { display: grid; }
  .site-nav a { padding: 12px 16px; }
  .hero { min-height: 500px; align-items: end; }
  .hero::before { background-position: 64% center; }
  .hero::after { background: linear-gradient(0deg, rgba(8,29,48,.96) 0%, rgba(16,42,67,.74) 58%, rgba(16,42,67,.12) 100%); }
  .hero-content { padding-block: 150px 46px; }
  .feature-grid, .split, .footer-grid { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { flex-wrap: wrap; gap: 18px 32px; }
  .strength-certs { gap: 14px; margin-top: 36px; }
  .strength-certs img { height: 84px; }
  .footer-nav { justify-content: flex-start; }
}

.not-found { min-height: 75vh; display: grid; place-items: center; text-align: center; }

@media (max-width: 560px) {
  .feature-card { padding: 24px; }
  .actions .button { width: 100%; }
  .category-grid { grid-template-columns: 1fr; }
  .swatch-grid { grid-template-columns: repeat(2, 1fr); }
  .purpose-list { grid-template-columns: 1fr; }
  .menu-list { grid-template-columns: 1fr; }
  .company-table, .company-table tbody, .company-table tr, .company-table th, .company-table td { display: block; width: 100%; }
  .company-table th { padding-bottom: 6px; border-bottom: 0; }
  .company-table td { padding-top: 8px; }
  .form-shell iframe { min-height: 1450px; }
}

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