:root {
  --c-primary: #1a3a5c;
  --c-primary-dark: #12293f;
  --c-primary-soft: #244d73;
  --c-accent: #c9a24b;
  --c-line: #06c755;
  --c-line-dark: #05a648;
  --c-text: #2b2b2b;
  --c-text-sub: #68707a;
  --c-bg: #ffffff;
  --c-bg-alt: #f6f4ef;
  --c-border: #e6e2d8;
  --c-white: #ffffff;
  --font-base: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --container: 1080px;
  --narrow: 880px;
  --gutter: 24px;
  --section-py: 120px;
  --radius: 8px;
  --shadow: 0 8px 28px rgba(18, 41, 63, 0.06);
  --ease: cubic-bezier(.16, .7, .3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 70px;
}

body {
  margin: 0;
  padding-top: 64px;
  overflow-x: hidden;
  color: var(--c-text);
  background: var(--c-bg);
  font-family: var(--font-base);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, summary { font: inherit; }
p, h1, h2, h3, ul, dl, dd { margin-top: 0; }
.nowrap { white-space: nowrap; }
.sp-only { display: none; }
.container { width: min(calc(100% - (var(--gutter) * 2)), var(--container)); margin-inline: auto; }
.container.narrow { max-width: var(--narrow); }

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  width: 100%;
  height: 64px;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--c-border);
}

.header-inner {
  width: min(calc(100% - 40px), 1240px);
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--c-primary); }
.brand-logo { width: 174px; height: auto; }
.brand-name { font-size: 22px; font-weight: 700; letter-spacing: .12em; }
.brand-mark { color: var(--c-accent); font-size: 27px; line-height: 1; transform: rotate(-12deg); }

.header-line,
.btn-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 56px;
  padding: 13px 28px;
  color: var(--c-white);
  background: var(--c-line);
  border-radius: var(--radius);
  box-shadow: 0 8px 22px rgba(6, 199, 85, .22);
  font-weight: 700;
  line-height: 1.4;
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.header-line { min-height: 40px; padding: 8px 16px; gap: 8px; font-size: 13px; }
.header-line:hover, .btn-line:hover { background: var(--c-line-dark); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(6, 199, 85, .28); }
.header-line:focus-visible, .btn-line:focus-visible, summary:focus-visible, a:focus-visible { outline: 3px solid #ffd66f; outline-offset: 3px; }
.line-icon { width: 30px; height: 24px; flex: 0 0 30px; object-fit: contain; }

.hero {
  position: relative;
  width: 100%;
  min-height: 650px;
  display: grid;
  place-items: center;
  isolation: isolate;
  overflow: hidden;
  color: var(--c-white);
  background: var(--c-primary-dark);
}

.hero-media, .hero-shade { position: absolute; inset: 0; }
.hero-media {
  z-index: -3;
  top: 0;
  bottom: 0;
  left: 50%;
  right: auto;
  width: 100vw;
  max-width: none;
  height: 100%;
  background-color: #183551;
  object-fit: cover;
  object-position: center;
  transform: translateX(-50%);
}
.hero-shade { z-index: -2; background: rgba(10, 30, 48, .64); }
.asset-name {
  position: absolute;
  right: 18px;
  bottom: 16px;
  z-index: 2;
  padding: 5px 10px;
  color: rgba(255, 255, 255, .72);
  background: rgba(18, 41, 63, .78);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 4px;
  font-size: 10px;
  letter-spacing: .06em;
}

.hero-content { padding-block: 86px 72px; text-align: center; }
.hero-label, .sec-label {
  margin-bottom: 20px;
  color: var(--c-accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .3em;
  line-height: 1.5;
}
.hero-label::after { content: ""; display: block; width: 40px; height: 2px; margin: 16px auto 0; background: var(--c-accent); }
.hero h1 { margin-bottom: 26px; font-size: clamp(34px, 4.2vw, 54px); line-height: 1.5; letter-spacing: .055em; }
.hero-lead { margin-bottom: 28px; font-size: clamp(15px, 1.7vw, 19px); font-weight: 500; }
.hero-lead strong { margin-inline: .12em; color: #f6d686; font-size: 1.2em; }
.hero .btn-line { min-width: 350px; }
.cta-note { margin: 12px 0 0; color: rgba(255, 255, 255, .74); font-size: 11px; }
.hero-categories { margin: 38px 0 0; color: rgba(255, 255, 255, .78); font-size: 12px; }

.free-bar { color: var(--c-white); background: var(--c-primary); border-top: 1px solid rgba(255, 255, 255, .12); }
.free-grid { display: grid; grid-template-columns: repeat(4, 1fr); padding-block: 34px; }
.free-item { min-height: 66px; display: flex; align-items: center; justify-content: center; gap: 14px; padding-inline: 24px; text-align: center; font-size: 14px; font-weight: 500; }
.free-item + .free-item { border-left: 1px solid rgba(255, 255, 255, .35); }
.free-icon { flex: 0 0 46px; width: 46px; height: 46px; object-fit: contain; }
.free-item strong { color: #f2cd78; font-size: 18px; }

.section { padding-block: var(--section-py); }
.section-white { background: var(--c-bg); }
.section-alt { background: var(--c-bg-alt); }
.sec-head { margin-bottom: 58px; text-align: center; }
.sec-label { display: block; margin-bottom: 15px; }
.sec-title { margin-bottom: 18px; color: var(--c-primary); font-size: clamp(27px, 3vw, 36px); line-height: 1.45; letter-spacing: .06em; }
.sec-line { display: block; width: 42px; height: 2px; margin-inline: auto; background: var(--c-accent); }
.sec-lead { margin: 22px 0 0; color: var(--c-text-sub); }
.section-note { margin: 38px 0 0; color: var(--c-text-sub); font-size: 13px; text-align: center; }

.item-grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 24px; }
.item-card {
  grid-column: span 2;
  min-height: 286px;
  padding: 24px 18px 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
}
.item-card:nth-child(5) { grid-column: 2 / span 2; }
.item-icon {
  width: 124px;
  height: 124px;
  margin-bottom: 20px;
  object-fit: cover;
  border-radius: 12px;
}
.item-card h3 { margin-bottom: 8px; color: var(--c-primary); font-size: 17px; line-height: 1.5; }
.item-card h3 small { font-size: 12px; }
.item-card p { margin: 0; color: var(--c-text-sub); font-size: 12px; line-height: 1.7; }

.promise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.promise-card { min-height: 250px; padding: 8px 42px 28px; text-align: center; }
.promise-card + .promise-card { border-left: 1px solid var(--c-border); }
.card-number { display: block; margin-bottom: 18px; color: var(--c-accent); font-size: 26px; font-weight: 600; letter-spacing: .12em; }
.promise-card h3 { margin-bottom: 16px; color: var(--c-primary); font-size: 18px; line-height: 1.6; }
.promise-card p { margin: 0; color: var(--c-text-sub); font-size: 14px; line-height: 2; }
.section-cta { margin-top: 54px; text-align: center; }
.section-cta .btn-line { min-width: 320px; }

.method-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px; }
.method-card { overflow: hidden; background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--radius); box-shadow: var(--shadow); }
.method-image { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: center; background-color: #e8dfce; }
.method-image.visit { background-color: #e5ebec; }
.method-body { padding: 30px 34px 36px; text-align: center; }
.method-body h3 { margin-bottom: 14px; color: var(--c-primary); font-size: 22px; }
.method-body h3 span { margin-left: 7px; padding: 4px 9px; color: var(--c-white); background: var(--c-accent); border-radius: 4px; font-size: 11px; vertical-align: middle; }
.method-body p { margin: 0; color: var(--c-text-sub); font-size: 14px; }

.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step-card { position: relative; min-height: 350px; padding: 30px 28px 32px; background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--radius); text-align: center; }
.step-card:not(:last-child)::after { content: ""; position: absolute; z-index: 2; top: 50%; right: -19px; width: 0; height: 0; border-top: 8px solid transparent; border-bottom: 8px solid transparent; border-left: 11px solid var(--c-primary); transform: translateY(-50%); }
.step-number { position: absolute; top: 24px; left: 24px; color: var(--c-accent); font-size: 34px; font-weight: 600; line-height: 1; }
.step-number small { display: block; margin-bottom: 5px; font-size: 10px; letter-spacing: .18em; }
.step-icon { width: 118px; height: 118px; margin: 8px auto 20px; object-fit: cover; border-radius: 16px; }
.step-card h3 { margin-bottom: 14px; color: var(--c-primary); font-size: 18px; }
.step-card p { margin: 0; color: var(--c-text-sub); font-size: 13px; line-height: 1.85; }

.safety-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.safety-card { padding: 32px 24px 30px; border: 1px solid var(--c-border); border-radius: var(--radius); text-align: center; }
.safety-icon { width: 96px; height: 96px; margin: 0 auto 20px; object-fit: cover; border-radius: 14px; }
.safety-card h3 { margin-bottom: 14px; color: var(--c-primary); font-size: 16px; line-height: 1.6; }
.safety-card p { margin: 0; color: var(--c-text-sub); font-size: 12px; line-height: 1.9; }

.faq-list { display: grid; gap: 12px; }
.faq-list details { background: var(--c-white); border: 1px solid var(--c-border); border-radius: 5px; box-shadow: 0 3px 12px rgba(18, 41, 63, .025); }
.faq-list summary { position: relative; min-height: 62px; padding: 17px 58px 17px 64px; display: flex; align-items: center; color: var(--c-primary); cursor: pointer; font-weight: 600; line-height: 1.65; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before { content: "Q"; position: absolute; left: 24px; color: var(--c-primary); font-size: 17px; font-weight: 700; }
.faq-list summary::after { content: "+"; position: absolute; right: 24px; color: var(--c-primary); font-size: 22px; font-weight: 400; transition: transform .25s ease; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { margin: 0; padding: 4px 58px 24px 64px; color: var(--c-text-sub); font-size: 14px; }

.company-table { margin: 0; border-top: 1px solid var(--c-border); border-left: 1px solid var(--c-border); }
.company-table > div { display: grid; grid-template-columns: 210px 1fr; border-right: 1px solid var(--c-border); border-bottom: 1px solid var(--c-border); }
.company-table dt, .company-table dd { margin: 0; padding: 17px 22px; }
.company-table dt { color: var(--c-primary); background: var(--c-bg-alt); font-weight: 600; }
.company-table dd { overflow-wrap: anywhere; }
.company-table a { text-decoration: underline; text-underline-offset: 3px; }
.license-note { margin-left: 10px; color: var(--c-text-sub); font-size: 12px; }

/* 六宝紋の由来（濃色帯・ブランドの核） */
.origin { padding-block: var(--section-py); color: var(--c-white); background: var(--c-primary); }
.origin-head { margin-bottom: 54px; text-align: center; }
.origin-mark { width: 66px; height: auto; margin: 0 auto 26px; }
.origin-title { margin-bottom: 18px; color: var(--c-white); font-size: clamp(27px, 3vw, 36px); line-height: 1.45; letter-spacing: .1em; }
.origin-title small { display: block; margin-top: 12px; color: rgba(255, 255, 255, .55); font-size: 11px; font-weight: 400; letter-spacing: .26em; }
.origin-lead { max-width: 760px; margin: 26px auto 0; color: rgba(255, 255, 255, .78); font-size: 14px; line-height: 2.1; }
.origin-lead strong { color: #f2cd78; font-weight: 600; }
.origin-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: rgba(255, 255, 255, .18);
  border: 1px solid rgba(255, 255, 255, .18);
}
.origin-item { padding: 34px 26px; text-align: center; background: var(--c-primary); }
.origin-num { display: block; margin-bottom: 14px; color: var(--c-accent); font-size: 19px; font-weight: 600; letter-spacing: .12em; }
.origin-item h3 { margin-bottom: 10px; color: var(--c-white); font-size: 17px; line-height: 1.6; }
.origin-item p { margin: 0; color: rgba(255, 255, 255, .7); font-size: 13px; line-height: 1.95; }
.origin-foot { margin-top: 50px; text-align: center; }
.origin-note { max-width: 760px; margin: 0 auto; color: rgba(255, 255, 255, .72); font-size: 13px; line-height: 2.1; }
.origin-colors { max-width: 760px; margin: 18px auto 0; color: rgba(255, 255, 255, .5); font-size: 12px; line-height: 2; }
.origin-copy { margin: 34px 0 0; color: var(--c-white); font-size: clamp(19px, 2.2vw, 24px); letter-spacing: .1em; }

.final-cta { padding-block: 82px; color: var(--c-white); background: var(--c-primary); text-align: center; }
.final-cta h2 { margin-bottom: 12px; font-size: clamp(27px, 3.4vw, 38px); letter-spacing: .06em; }
.final-cta p { margin-bottom: 28px; color: rgba(255, 255, 255, .82); }
.final-cta .btn-line { min-width: 340px; }

.site-footer { padding: 70px 0 28px; color: rgba(255, 255, 255, .72); background: var(--c-primary-dark); font-size: 12px; }
.footer-grid { display: grid; grid-template-columns: 280px 1fr; gap: 70px; }
.footer-brand .brand { margin-bottom: 24px; color: var(--c-white); }
.footer-logo { width: 186px; }
.footer-brand p, .footer-brand address { margin-bottom: 12px; font-style: normal; line-height: 1.8; }
.footer-brand a { color: var(--c-white); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 14px 30px; margin-bottom: 28px; color: var(--c-white); }
.footer-nav a { border-bottom: 1px solid transparent; }
.footer-nav a:hover { border-bottom-color: currentColor; }
.legal-notes { margin: 0; padding: 0; list-style: none; line-height: 1.85; }
.legal-notes li + li { margin-top: 5px; }
.copyright { margin: 50px 0 0; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .15); text-align: center; }

.mobile-cta { display: none; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (max-width: 960px) {
  :root { --section-py: 100px; }
  .item-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .item-card { grid-column: span 2; }
  .item-card:nth-child(5) { grid-column: span 2; }
  .item-card:last-child { grid-column: 3 / span 2; }
  .promise-card { padding-inline: 25px; }
  .safety-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  :root { --gutter: 20px; --section-py: 76px; }
  body { padding-top: 60px; padding-bottom: 78px; font-size: 15px; }
  html { scroll-padding-top: 64px; }
  .sp-only { display: block; }
  .site-header { height: 60px; }
  .header-inner { width: calc(100% - 32px); gap: 12px; }
  .brand-name { font-size: 18px; letter-spacing: .08em; }
  .brand-mark { font-size: 23px; }
  .header-line { min-height: 38px; padding-inline: 12px; font-size: 11px; }
  .header-line .line-icon { display: none; }

  .hero { min-height: 590px; }
  .hero-content { padding-block: 72px 58px; }
  .hero-label { margin-bottom: 18px; font-size: 10px; }
  .hero h1 { margin-bottom: 24px; font-size: clamp(29px, 8.5vw, 38px); line-height: 1.55; }
  .hero-lead { font-size: 14px; line-height: 2; }
  .hero .btn-line, .section-cta .btn-line, .final-cta .btn-line { width: 100%; min-width: 0; }
  .cta-note { font-size: 10px; }
  .hero-categories { margin-top: 30px; font-size: 10px; line-height: 1.9; }
  .asset-name { right: 10px; bottom: 10px; font-size: 8px; }

  .free-grid { grid-template-columns: repeat(2, 1fr); padding-block: 18px; }
  .free-item { min-height: 82px; padding: 12px 10px; flex-direction: column; gap: 7px; font-size: 11px; line-height: 1.5; }
  .free-item + .free-item { border-left: 0; }
  .free-item:nth-child(even) { border-left: 1px solid rgba(255, 255, 255, .25); }
  .free-item:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .25); }
  .free-icon { width: 36px; height: 36px; flex-basis: 36px; font-size: 14px; }
  .free-item strong { font-size: 15px; }

  .sec-head { margin-bottom: 42px; }
  .sec-label { margin-bottom: 12px; font-size: 10px; }
  .sec-title { margin-bottom: 15px; font-size: clamp(25px, 7.3vw, 31px); }
  .sec-lead { margin-top: 18px; font-size: 14px; }

  .item-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .item-card { grid-column: span 1; min-height: 220px; padding: 18px 10px 20px; }
  .item-card:nth-child(5) { grid-column: span 1; }
  .item-card:last-child { grid-column: 1 / -1; width: calc(50% - 7px); justify-self: center; }
  .item-icon { width: 96px; height: 96px; margin-bottom: 14px; }
  .item-card h3 { font-size: 14px; }
  .item-card p { font-size: 10px; }
  .section-note { margin-top: 30px; text-align: left; }

  .promise-grid, .method-grid, .steps-grid, .footer-grid { grid-template-columns: 1fr; }
  .promise-grid { gap: 0; }

  .origin-grid { grid-template-columns: repeat(2, 1fr); }
  .origin-mark { width: 56px; }
  .origin-item { padding: 26px 16px; }
  .origin-item h3 { font-size: 15px; }
  .origin-item p { font-size: 12px; }
  .origin-lead, .origin-note { font-size: 13px; text-align: left; }
  .origin-colors { text-align: left; }
  .promise-card { min-height: 0; padding: 8px 8px 38px; }
  .promise-card + .promise-card { padding-top: 38px; border-top: 1px solid var(--c-border); border-left: 0; }
  .promise-card p { font-size: 13px; }
  .section-cta { margin-top: 36px; }

  .method-grid { gap: 22px; }
  .method-image { height: auto; aspect-ratio: 16 / 9; }
  .method-body { padding: 25px 22px 28px; }
  .method-body h3 { font-size: 19px; }
  .method-body p { font-size: 13px; }

  .steps-grid { gap: 18px; }
  .step-card { min-height: 330px; padding: 28px 25px; }
  .step-card:not(:last-child)::after { top: auto; right: 50%; bottom: -16px; border-top: 10px solid var(--c-primary); border-right: 8px solid transparent; border-bottom: 0; border-left: 8px solid transparent; transform: translateX(50%); }

  .safety-grid { grid-template-columns: 1fr; gap: 14px; }
  .safety-card { display: grid; grid-template-columns: 58px 1fr; gap: 0 18px; align-items: center; padding: 23px 20px; text-align: left; }
  .safety-icon { grid-row: 1 / 3; width: 54px; height: 54px; margin: 0; }
  .safety-card h3 { margin: 0 0 5px; font-size: 15px; }
  .safety-card p { font-size: 11px; }

  .faq-list summary { min-height: 64px; padding: 15px 44px 15px 47px; font-size: 13px; }
  .faq-list summary::before { left: 17px; }
  .faq-list summary::after { right: 16px; }
  .faq-list details p { padding: 0 22px 22px 47px; font-size: 12px; }

  .company-table > div { grid-template-columns: 1fr; }
  .company-table dt, .company-table dd { padding: 13px 16px; }
  .company-table dt { border-bottom: 1px solid var(--c-border); font-size: 12px; }
  .company-table dd { font-size: 13px; }
  .license-note { display: block; margin: 3px 0 0; }

  .final-cta { padding-block: 65px; }
  .final-cta h2 { font-size: 25px; line-height: 1.6; }
  .final-cta p { font-size: 13px; }

  .site-footer { padding-top: 58px; }
  .footer-grid { gap: 38px; }
  .footer-nav { gap: 12px 20px; }
  .copyright { margin-top: 38px; }

  .mobile-cta {
    position: fixed;
    z-index: 60;
    left: 0;
    right: 0;
    bottom: 0;
    display: block;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .97);
    border-top: 1px solid var(--c-border);
    transform: translateY(120%);
    transition: transform .3s var(--ease);
  }
  .mobile-cta.is-visible { transform: none; }
  .mobile-cta .btn-line { width: 100%; min-height: 54px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none !important; }
}

@media print {
  .site-header, .mobile-cta { position: static; }
  body { padding: 0; }
  .reveal { opacity: 1; transform: none !important; }
}
