:root {
  --z-base: 0;
  --z-content: 1;
  --z-header: 2;
  --site-width: 108rem;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.625rem;
  line-height: 1.5;
  font-feature-settings: "pkna";
  -webkit-text-size-adjust: 100%;
}

html { font-size: 0.625rem; }
body {
  min-width: 320px;
  background: #fff;
  color: var(--color-text);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.4rem;
  line-height: inherit;
  overflow-wrap: break-word;
  word-wrap: break-word;
}
a { color: inherit; text-decoration: none; transition: color .2s ease, opacity .2s ease, background-color .2s ease; }
a:hover { text-decoration: underline; }
img { display: block; max-width: 100%; }
.container { width: min(var(--site-width), calc(100% - 3.6rem)); margin: 0 auto; }

.site-header { position: relative; z-index: var(--z-header); background: #fff; box-shadow: 0 .2rem .2rem rgba(0, 0, 0, .24); }
.site-header .container { min-height: 8.4rem; display: flex; align-items: center; gap: 2.4rem; }
.site-logo { flex: 0 0 auto; color: var(--color-text); font-size: 2.1rem; font-weight: 700; line-height: 1.5; text-decoration: none; }
.site-logo:hover { color: var(--color-primary); text-decoration: none; }
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; align-items: center; gap: 2.4rem; list-style: none; }
.site-nav a { display: flex; min-height: 4.4rem; align-items: center; color: #000; font-size: 1.4rem; font-weight: 500; white-space: nowrap; }
.site-nav a:hover, .site-nav a.active { color: var(--color-primary); text-decoration: underline; }
.hamburger { display: none; }

.contact-strip { background: var(--color-bg); }
.contact-strip__inner { display: flex; justify-content: space-between; align-items: center; gap: 3rem; padding: 1.8rem 0; }
.eyebrow { color: var(--color-primary); font-size: 1.2rem; font-weight: 700; }
.contact-strip h2 { font-size: 1.8rem; font-weight: 700; }
.contact-strip__actions { display: flex; align-items: center; gap: .8rem; }
.contact-tel { display: flex; flex-direction: column; min-height: 5rem; justify-content: center; padding: .3rem 1.2rem; line-height: 1.2; text-decoration: none; }
.contact-tel span { font-size: 1.1rem; font-weight: 500; }
.contact-tel strong { font-size: 2rem; font-weight: 700; }

.button { display: inline-flex; min-height: 5.4rem; align-items: center; justify-content: center; padding: .4rem 2.2rem; border: 0; border-radius: .4rem; font-size: 1.6rem; font-weight: 700; line-height: 1.5; box-shadow: 0 .3rem .9rem rgba(0, 0, 0, .2); text-decoration: none; }
.button:hover { opacity: .7; text-decoration: none; }
.button--primary { background: var(--color-primary); color: #fff; }
.button--line { background: var(--color-accent); color: var(--color-text); }
.button--outline { border: 1px solid color-mix(in srgb, var(--color-text) 25%, #fff); border-radius: .2rem; background: #fff; color: var(--color-text); box-shadow: 0 .2rem .2rem rgba(0, 0, 0, .24); }
.button--light { background: #fff; color: var(--color-text); }

.hero { position: relative; isolation: isolate; min-height: 57rem; overflow: hidden; color: #fff; }
.hero::after { content: ""; position: absolute; z-index: var(--z-base); inset: 0; background: color-mix(in srgb, var(--color-text) 58%, transparent); }
.hero__slides, .hero__slides img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__slides img { object-fit: cover; opacity: 0; transition: opacity .5s ease; }
.hero__slides img.is-active { opacity: 1; }
.hero__content { position: relative; z-index: var(--z-content); display: flex; min-height: 57rem; flex-direction: column; justify-content: center; align-items: flex-start; padding-top: 6rem; padding-bottom: 6rem; }
.hero__label { margin-bottom: 1.2rem; font-size: 1.6rem; font-weight: 500; }
.hero h1 { max-width: 80rem; font-size: 5rem; font-weight: 700; line-height: 1.5; }
.hero__lead { max-width: 56rem; margin-top: 1.8rem; font-size: 1.6rem; font-weight: 500; }
.hero__button { margin-top: 3rem; }

.section { padding: 6rem 0; }
.section-heading { margin-bottom: 3rem; }
.section-heading h2, .intro-band h2, .price-copy h2, .final-cta h2 { font-size: 3.2rem; font-weight: 700; line-height: 1.5; }
.intro-band { background: var(--color-bg); }
.intro-band__grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 6rem; padding-top: 6rem; padding-bottom: 6rem; }
.intro-band__copy > p:last-child, .price-copy > p { margin-top: 1.8rem; font-size: 1.6rem; }
.intro-band__links { display: grid; align-content: start; gap: .6rem; }
.intro-band__links a { display: grid; gap: .4rem; padding: 1.8rem 2.4rem; border-left: .5rem solid var(--color-primary); background: var(--color-secondary); box-shadow: 0 .3rem .6rem rgba(0, 0, 0, .16); }
.intro-band__links a:hover { color: var(--color-primary); text-decoration: none; }
.intro-band__links span { font-size: 1.8rem; font-weight: 700; }
.intro-band__links b { font-size: 1.4rem; font-weight: 400; }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.service-card { overflow: hidden; border-radius: .4rem; background: var(--color-secondary); box-shadow: 0 .3rem .6rem rgba(0, 0, 0, .16); }
.service-card img, .gallery-grid img, .flow-photo img, .case-track img, .final-cta__image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.service-card > div { padding: 2.4rem; }
.service-card h3, .strength-grid h3, .price-panels h3, .flow-list h3 { color: #000; font-size: 1.8rem; font-weight: 700; }
.service-card p { margin-top: 1.2rem; }
.service-card a { display: inline-block; margin-top: 1.8rem; color: var(--color-primary); font-weight: 700; }
.strength { background: color-mix(in srgb, var(--color-primary) 7%, #fff); }
.strength-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.strength-grid article { padding: 2.4rem; border-radius: .4rem; background: #fff; box-shadow: 0 .3rem .6rem rgba(0, 0, 0, .16); }
.strength-grid span { display: block; margin-bottom: 1.2rem; color: var(--color-primary); font-size: 2.4rem; font-weight: 700; }
.strength-grid p { margin-top: 1.2rem; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.flow-layout, .price-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: start; }
.flow-photo { position: sticky; top: 1.8rem; }
.flow-list { display: grid; gap: 1.8rem; list-style: none; }
.flow-list li { display: grid; grid-template-columns: 5rem 1fr; gap: 1.2rem; }
.flow-list span { color: var(--color-primary); font-size: 2rem; font-weight: 700; }
.flow-list p { margin-top: .6rem; }
.price-section { background: var(--color-bg); }
.price-copy .button { margin-top: 2.4rem; }
.price-panels { display: grid; gap: .6rem; }
.price-panels article { padding: 2.4rem; border-radius: .4rem; background: var(--color-secondary); box-shadow: 0 .3rem .6rem rgba(0, 0, 0, .16); }
.price-panels p { margin-top: 1.2rem; }
.case-strip { overflow: hidden; padding: 0; }
.case-track { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; min-width: 100rem; }
.final-cta { position: relative; isolation: isolate; overflow: hidden; color: #fff; }
.final-cta::after { content: ""; position: absolute; z-index: var(--z-base); inset: 0; background: color-mix(in srgb, var(--color-text) 65%, transparent); }
.final-cta__image, .final-cta__image img { position: absolute; inset: 0; width: 100%; height: 100%; }
.final-cta__image img { object-fit: cover; }
.final-cta__content { position: relative; z-index: var(--z-content); padding-top: 7rem; padding-bottom: 7rem; }
.final-cta h2 { margin-top: .6rem; }
.final-cta__content > p:not(.eyebrow) { margin-top: 1.2rem; font-size: 1.6rem; }
.final-cta__content > div { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-top: 3rem; }

@media (max-width: 1024px) {
  .site-header .container { gap: 1.4rem; }
  .site-logo { font-size: 1.8rem; }
  .site-nav ul { gap: 1.2rem; }
  .site-nav a { font-size: 1.3rem; }
  .intro-band__grid, .flow-layout, .price-layout { gap: 3rem; }
}
@media (max-width: 768px) {
  .site-header .container { position: relative; min-height: 6.4rem; justify-content: space-between; }
  .site-logo { font-size: 1.7rem; }
  .hamburger { display: grid; width: 4.4rem; min-height: 4.4rem; place-content: center; gap: .5rem; border: 0; background: transparent; }
  .hamburger span { display: block; width: 2.4rem; height: .2rem; background: var(--color-text); transition: transform .2s ease, opacity .2s ease; }
  .site-nav { display: none; position: absolute; top: 100%; right: 0; left: 0; margin: 0; padding: 1.2rem 1.8rem 1.8rem; background: #fff; box-shadow: 0 .3rem .6rem rgba(0, 0, 0, .16); }
  .site-nav.open { display: block; }
  .site-nav ul { display: grid; gap: 0; }
  .site-nav a { min-height: 4.8rem; border-bottom: 1px solid color-mix(in srgb, var(--color-text) 15%, #fff); }
  .contact-strip__inner { align-items: flex-start; flex-direction: column; gap: 1.2rem; }
  .contact-strip__actions { width: 100%; flex-wrap: wrap; }
  .contact-tel { min-width: 15rem; padding-left: 0; }
  .contact-strip__actions .button { min-height: 4.4rem; flex: 1; padding-right: 1.2rem; padding-left: 1.2rem; font-size: 1.4rem; }
  .hero, .hero__content { min-height: 47rem; }
  .hero h1 { font-size: 3.4rem; }
  .hero__lead { font-size: 1.4rem; }
  .section { padding: 4.8rem 0; }
  .section-heading h2, .intro-band h2, .price-copy h2, .final-cta h2 { font-size: 2.4rem; }
  .intro-band__grid, .flow-layout, .price-layout { grid-template-columns: 1fr; gap: 3rem; padding-top: 4.8rem; padding-bottom: 4.8rem; }
  .service-grid, .strength-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-photo { position: static; }
  .case-track { grid-template-columns: repeat(4, 24rem); min-width: 0; width: max-content; }
  .case-strip { overflow-x: auto; }
  .final-cta__content { padding-top: 5.4rem; padding-bottom: 5.4rem; }
}
@media (max-width: 420px) {
  .container { width: min(var(--site-width), calc(100% - 3.6rem)); }
  .contact-tel { width: 100%; }
  .contact-strip__actions .button { flex: 1 1 calc(50% - .4rem); }
  .hero h1 { font-size: 3rem; }
  .hero__button { width: 100%; }
  .intro-band__links a { padding: 1.6rem 1.8rem; }
  .service-card > div, .strength-grid article, .price-panels article { padding: 1.8rem; }
  .final-cta__content > div .button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .hero__slides img:not(.is-active) { display: none; }
}

.footer-brand { min-width: 0; }
.footer-privacy { display: inline-block; margin-top: .4rem; white-space: nowrap; }

/* sm-page-hero */
/* 下層ページの見出しの帯(全ページ共通。正本 = faq の帯。高さは PC 390px / スマホ 300px。unify-page-hero.js) */
.smph-container { width: min(var(--site-width), calc(100% - 3.6rem)); margin: 0px auto; }
.site-header .smph-container { min-height: 8.4rem; display: flex; align-items: center; gap: 2.4rem; }
.smph-hero { position: relative; isolation: isolate; min-height: 57rem; overflow: hidden; color: rgb(255, 255, 255); }
.smph-hero::after { content: ""; position: absolute; z-index: var(--z-base); inset: 0px; background: color-mix(in srgb, var(--color-text) 58%, transparent); }
.smph.smph-hero__slides, .smph.smph-hero__slides img { position: absolute; inset: 0px; width: 100%; height: 100%; }
.smph.smph-hero__slides img { object-fit: cover; opacity: 0; transition: opacity 0.5s; }
.smph.smph-hero__slides img.smph-is-active { opacity: 1; }
.smph.smph-hero__content { position: relative; z-index: var(--z-content); display: flex; min-height: 57rem; flex-direction: column; justify-content: center; align-items: flex-start; padding-top: 6rem; padding-bottom: 6rem; }
.smph.smph-hero__label { margin-bottom: 1.2rem; font-size: 1.6rem; font-weight: 500; }
.smph-hero h1 { max-width: 80rem; font-size: 5rem; font-weight: 700; line-height: 1.5; }
.smph.smph-hero__lead { max-width: 56rem; margin-top: 1.8rem; font-size: 1.6rem; font-weight: 500; }
@media (max-width: 1024px) {.site-header .smph-container { gap: 1.4rem; }}
@media (max-width: 768px) {.site-header .smph-container { position: relative; min-height: 6.4rem; justify-content: space-between; } .smph-hero, .smph.smph-hero__content { min-height: 47rem; } .smph-hero h1 { font-size: 3.4rem; } .smph.smph-hero__lead { font-size: 1.4rem; }}
@media (max-width: 420px) {.smph-container { width: min(var(--site-width), calc(100% - 3.6rem)); } .smph-hero h1 { font-size: 3rem; }}
@media (prefers-reduced-motion: reduce) {.smph.smph-hero__slides img:not(.smph-is-active) { display: none; }}
.smph-faq.smph-hero, .smph-faq.smph-hero .smph.smph-hero__content { min-height: 36rem; }
.smph-faq.smph-hero .smph.smph-hero__slides img { aspect-ratio: 4 / 3; }
.smph-faq.smph-hero h1 { font-size: 4.2rem; }
@media (max-width: 768px) {.smph-faq.smph-hero, .smph-faq.smph-hero .smph.smph-hero__content { min-height: 28rem; } .smph-faq.smph-hero h1 { font-size: 3.2rem; }}
[data-sm-page-hero] [data-smph-media]{height:390px !important;min-height:0 !important;max-height:none !important;aspect-ratio:auto !important;overflow:hidden !important;}
[data-sm-page-hero] > :only-child{max-width:none !important;width:100% !important;margin-left:0 !important;margin-right:0 !important;}
[data-sm-page-hero] img{width:100% !important;height:100% !important;max-width:none !important;max-height:none !important;object-fit:cover !important;aspect-ratio:auto !important;}
[data-sm-page-hero]{height:auto !important;min-height:390px !important;max-height:none !important;}
@media (max-width: 767px){[data-sm-page-hero]{min-height:300px !important;}[data-sm-page-hero] [data-smph-media]{height:300px !important;}}

/* 下層ページの見出しの大きさを全ページでそろえる(unify-page-headings.js が実測の最多値から書く) */
[data-sm-page-title]{font-size:50px !important;line-height:75px !important;letter-spacing:normal !important;font-weight:700 !important;}
[data-sm-section-title]{font-size:32px !important;line-height:48px !important;letter-spacing:normal !important;font-weight:700 !important;}
@media (max-width: 767px){[data-sm-page-title]{font-size:30px !important;line-height:45px !important;letter-spacing:normal !important;font-weight:700 !important;}[data-sm-section-title]{font-size:24px !important;line-height:36px !important;letter-spacing:normal !important;font-weight:700 !important;}}

/* sm-normalize */
/* セクションの写真の縦横比をそろえる・スマホで狭すぎる段組みを1列に・見出しを文節で折り返す(normalize-sections.js) */
[data-sm-ratio]{aspect-ratio:1 / 0.7500 !important;height:auto !important;min-height:0 !important;max-height:none !important;}
img[data-sm-ratio]{width:100% !important;object-fit:cover !important;display:block;}
[data-sm-gallery]{display:grid !important;grid-template-columns:repeat(3,minmax(0,1fr)) !important;grid-auto-rows:auto !important;gap:16px !important;}
[data-sm-gallery] > *{grid-column:auto !important;grid-row:auto !important;width:auto !important;height:auto !important;margin:0 !important;position:relative !important;}
@media (min-width: 768px){[data-sm-gx-pc]{display:none !important;}}
@media (max-width: 767px){[data-sm-gallery]{grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:8px !important;}[data-sm-gx-sp]{display:none !important;}}

[data-sm-imgbox]{height:auto !important;min-height:0 !important;max-height:none !important;}
@media (max-width: 767px){[data-sm-sp1]{display:grid !important;grid-template-columns:1fr !important;gap:24px !important;}[data-sm-sp1] > *{width:auto !important;max-width:none !important;flex:none !important;grid-column:auto !important;}}
@media (max-width: 767px){[data-sm-sp-tall]{aspect-ratio:4 / 5 !important;height:auto !important;min-height:0 !important;max-height:none !important;}img[data-sm-sp-tall]{width:100% !important;object-fit:cover !important;}}
h1, h2, h3{word-break:auto-phrase;text-wrap:balance;}
[data-sm-hero-box="media"]{height:720px !important;min-height:0 !important;max-height:none !important;aspect-ratio:auto !important;}
[data-sm-hero-box="media"] > *{height:100% !important;min-height:0 !important;}
[data-sm-hero-wide]{max-width:none !important;width:100% !important;margin-left:0 !important;margin-right:0 !important;}
[data-sm-hero-box="section"]{height:auto !important;min-height:720px !important;max-height:none !important;}
img[data-sm-hero-img]{width:100% !important;height:100% !important;object-fit:cover !important;}
@media (max-width: 767px){[data-sm-hero-box="media"]{height:420px !important;}[data-sm-hero-box="section"]{min-height:420px !important;}}
.site-footer .footer-nav ul{display:grid !important;grid-auto-flow:column !important;grid-template-rows:repeat(5, auto) !important;grid-auto-columns:max-content !important;column-gap:clamp(24px, 3vw, 48px) !important;row-gap:0 !important;}
.site-footer .footer-nav li{margin:0 0 0.4rem !important;}
@media (min-width: 768px){.site-footer .footer-grid{grid-template-columns:minmax(0, 1.4fr) auto minmax(0, 1fr) !important;}}
@media (min-width: 768px){.site-header:not(.nav-collapsed) .site-nav ul{display:flex !important;flex-wrap:nowrap !important;grid-template-columns:none !important;align-items:center !important;gap:0 clamp(14px, 1.6vw, 28px) !important;}.site-header:not(.nav-collapsed) .site-nav li{flex:none !important;}.site-header:not(.nav-collapsed) .site-nav a{white-space:nowrap !important;}}

/* sm-reveal */
/* セクションのフェードイン(common.js が画面に入った .fade-in に .visible を付ける。add-section-reveal.js) */
.sm-js .fade-in{opacity:0;transform:translateY(12px);transition:opacity 0.8s ease,transform 0.8s ease;}
.sm-js .fade-in.visible{opacity:1;transform:none;}
@media (prefers-reduced-motion: reduce){.fade-in, .fade-in > *{opacity:1 !important;transform:none !important;transition:none !important;}}
