:root {
  --en-body-font: 游ゴシック体, "Yu Gothic", YuGothic, "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", Meiryo, メイリオ, "MS PGothic", "ＭＳ Ｐゴシック", sans-serif;
  --en-display-font: "Frank Ruhl Libre", serif;
}

html { overflow-x: clip; }
body { color: var(--color-text); background: var(--color-bg); font-family: var(--en-body-font); font-size: 16px; font-weight: 400; line-height: 1.5; }
body, button, a { font-family: var(--en-body-font); }
img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
a { color: inherit; }

.container { width: min(100% - 32px, 1200px); margin-inline: auto; }
.site-header { background: var(--color-bg); border-bottom: 1px solid color-mix(in srgb, var(--color-text) 20%, var(--color-bg)); }
.site-header > .container { min-height: 76px; display: flex; align-items: center; gap: 32px; }
.site-logo { flex: 0 0 auto; color: var(--color-text); font-size: 18px; font-weight: 700; letter-spacing: .04em; line-height: 1.3; text-decoration: none; white-space: nowrap; }
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; align-items: center; gap: 20px; list-style: none; }
.site-nav a { display: grid; min-height: 44px; align-items: center; color: var(--color-text); font-size: 10px; font-weight: 400; letter-spacing: -0.8px; line-height: 1.2; text-decoration: none; white-space: nowrap; transition: color .2s ease, text-decoration-color .2s ease; }
.site-nav a:hover, .site-nav a:focus-visible, .site-nav a.active { color: var(--color-primary); text-decoration: underline; text-underline-offset: 5px; }
.hamburger { display: none; }

.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--color-text); }
.hero-slides { position: relative; width: 100%; aspect-ratio: 4 / 3; max-height: 760px; }
.hero-slides::after { position: absolute; inset: 0; z-index: 1; background: color-mix(in srgb, var(--color-text) 36%, transparent); content: ""; }
.hero-slides img { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; }
.hero-slides img.is-active { opacity: 1; }
.hero-copy { position: absolute; inset: 0; z-index: 2; display: flex; align-items: flex-start; justify-content: center; flex-direction: column; color: #ffffff; }
.hero-copy > p { margin-bottom: 16px; font-size: 16px; letter-spacing: .12em; }
.hero h1 { max-width: 820px; font-family: var(--en-display-font); font-size: 40px; font-weight: 400; letter-spacing: 2px; line-height: 1.3; }
.hero-copy .button-primary { margin-top: 40px; }

section { padding-block: 64px; }
.section-heading { margin-bottom: 40px; }
.section-heading > p, .eyebrow, .contact-overlay > p:first-child { margin-bottom: 8px; color: var(--color-primary); font-family: var(--en-display-font); font-size: 18px; font-weight: 400; letter-spacing: 2px; line-height: 1.3; }
.section-heading h2, .split-copy h2, .contact-overlay h2 { font-family: var(--en-display-font); font-size: 40px; font-weight: 400; letter-spacing: 2px; line-height: 1.3; }
.section-heading-center { text-align: center; }

.intro-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.intro-card { padding: 0 16px 16px; }
.intro-card img { width: calc(100% + 32px); margin: 0 -16px 16px; }
.intro-card h3, .service-card h3, .guide-list h3 { font-size: 16px; font-weight: 700; line-height: 1.5; }
.intro-card p { margin-top: 8px; color: var(--color-secondary); font-size: 13px; }

.concept-section, .service-section { background: color-mix(in srgb, var(--color-accent) 10%, var(--color-bg)); }
.split-layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: 64px; }
.split-copy > p:not(.eyebrow) { margin-top: 24px; max-width: 480px; }
.split-copy .button-secondary { margin-top: 32px; }

.service-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.service-card h3 { padding-top: 12px; text-align: center; }
.section-action { margin-top: 40px; text-align: center; }
.button-primary, .button-secondary, .button-outline { display: inline-grid; min-height: 44px; place-items: center; padding: 10px 30px; font-size: 16px; font-weight: 400; line-height: 1.5; text-decoration: none; transition: background .2s ease, border-color .2s ease, color .2s ease; }
.button-primary { background: var(--color-primary); color: #ffffff; border: 1px solid var(--color-primary); border-radius: 0; }
.button-primary:hover, .button-primary:focus-visible { background: color-mix(in srgb, var(--color-primary) 84%, #000000); border-color: color-mix(in srgb, var(--color-primary) 84%, #000000); }
.button-secondary { color: var(--color-text); background: transparent; border: 1px solid color-mix(in srgb, var(--color-text) 45%, var(--color-bg)); border-radius: 8px; }
.button-secondary:hover, .button-secondary:focus-visible { color: var(--color-primary); border-color: var(--color-primary); }
.button-outline { color: #ffffff; background: transparent; border: 1px solid #ffffff; border-radius: 8px; }
.button-outline:hover, .button-outline:focus-visible { color: var(--color-text); background: #ffffff; }

.guide-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; list-style: none; counter-reset: guide; }
.guide-list li { display: flex; gap: 16px; padding-top: 16px; border-top: 1px solid color-mix(in srgb, var(--color-text) 24%, var(--color-bg)); }
.guide-list strong { color: var(--color-accent); font-family: var(--en-display-font); font-size: 28px; font-weight: 400; letter-spacing: 2px; line-height: 1.3; }
.guide-list p { margin-top: 8px; color: var(--color-secondary); font-size: 13px; }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.access-section { background: color-mix(in srgb, var(--color-primary) 5%, var(--color-bg)); }
.split-layout-reverse > img { order: 2; }
.access-list { margin-top: 24px; margin-bottom: 32px; border-top: 1px solid color-mix(in srgb, var(--color-text) 20%, var(--color-bg)); }
.access-list > div { display: grid; grid-template-columns: 84px 1fr; gap: 16px; padding-block: 12px; border-bottom: 1px solid color-mix(in srgb, var(--color-text) 20%, var(--color-bg)); }
.access-list dt { font-weight: 700; }
.access-list dd { margin: 0; }
.access-list a { color: var(--color-primary); text-decoration: none; }
.access-list a:hover, .access-list a:focus-visible { text-decoration: underline; text-underline-offset: 4px; }

.contact-section { position: relative; isolation: isolate; display: grid; min-height: 480px; place-items: center; padding: 64px 16px; overflow: hidden; color: #ffffff; text-align: center; }
.contact-section > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; aspect-ratio: auto; }
.contact-section::before { position: absolute; inset: 0; z-index: -1; background: color-mix(in srgb, var(--color-text) 62%, transparent); content: ""; }
.contact-overlay { max-width: 640px; }
.contact-overlay > p:nth-of-type(2) { margin-top: 24px; }
.contact-overlay > p:first-child { color: #ffffff; }
.contact-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; margin-top: 32px; }
.contact-actions .button-primary { border-color: #ffffff; }

@media (max-width: 1024px) {
  .site-header > .container { gap: 20px; }
  .site-nav ul { gap: 12px; }
  .split-layout { gap: 40px; }
  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .service-card:last-child { grid-column: 2; }
}

@media (max-width: 767px) {
  .container { width: min(100% - 32px, 1200px); }
  .site-header { position: relative; z-index: 10; }
  .site-header > .container { min-height: 64px; justify-content: space-between; }
  .site-logo { max-width: calc(100% - 64px); font-size: 15px; overflow: hidden; text-overflow: ellipsis; }
  .hamburger { display: grid; width: 44px; min-width: 44px; height: 44px; align-content: center; gap: 5px; padding: 10px; color: var(--color-text); background: transparent; border: 0; cursor: pointer; }
  .hamburger span { display: block; width: 24px; height: 1px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; margin: 0; padding: 8px 16px 16px; background: var(--color-bg); border-bottom: 1px solid color-mix(in srgb, var(--color-text) 20%, var(--color-bg)); }
  .site-nav.open { display: block; }
  .site-nav ul { display: block; }
  .site-nav li + li { border-top: 1px solid color-mix(in srgb, var(--color-text) 14%, var(--color-bg)); }
  .site-nav a { min-height: 44px; font-size: 14px; letter-spacing: normal; }
  .hero-slides { aspect-ratio: 4 / 3; min-height: 360px; }
  .hero-copy { align-items: flex-start; padding-bottom: 40px; }
  .hero-copy > p { margin-bottom: 12px; font-size: 14px; }
  .hero h1 { font-size: 28px; letter-spacing: 2px; }
  .hero-copy .button-primary { margin-top: 24px; }
  section { padding-block: 48px; }
  .section-heading { margin-bottom: 32px; }
  .section-heading > p, .eyebrow, .contact-overlay > p:first-child { font-size: 16px; }
  .section-heading h2, .split-copy h2, .contact-overlay h2 { font-size: 28px; }
  .intro-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .intro-card { padding: 0; }
  .intro-card img { width: 100%; margin: 0 0 12px; }
  .intro-card h3, .intro-card p { padding-inline: 0; }
  .intro-card p { font-size: 13px; }
  .intro-card:last-child { grid-column: 1 / -1; width: calc(50% - 8px); }
  .split-layout { grid-template-columns: 1fr; gap: 24px; }
  .split-layout-reverse > img { order: 0; }
  .split-copy > p:not(.eyebrow) { margin-top: 16px; }
  .split-copy .button-secondary { margin-top: 24px; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
  .service-card:last-child { grid-column: auto; }
  .section-action { margin-top: 32px; }
  .guide-list { grid-template-columns: 1fr; gap: 20px; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .access-list > div { grid-template-columns: 72px 1fr; gap: 12px; }
  .contact-section { min-height: 420px; padding-block: 48px; }
  .contact-actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .contact-actions a { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

.site-header.scrolled { box-shadow: none; }

.section { padding-block: 64px; }
.section-title { margin: 0 0 40px; color: var(--color-text); font-family: var(--en-display-font); font-size: 40px; font-weight: 400; letter-spacing: 2px; line-height: 1.3; }
.footer-brand { min-width: 0; }
.footer-privacy { display: inline-block; color: rgba(255, 255, 255, 0.7); white-space: nowrap; }
.site-footer .footer-brand { min-width: 0; }
.site-footer .footer-privacy { display: inline-block; color: rgba(255, 255, 255, 0.7); white-space: nowrap; }

@media (max-width: 767px) {
  .section { padding-block: 48px; }
  .section-title { margin-bottom: 32px; font-size: 28px; }
  .site-header.nav-collapsed .site-nav { top: 64px; padding: 8px 16px 16px; border-top: 0; box-shadow: none; max-height: calc(100vh - 64px); }
  .site-header.nav-collapsed .site-nav ul { display: block; }
  .site-header.nav-collapsed .site-nav a { display: grid; padding: 0; border-bottom: 0; }
}

.site-footer .footer-brand { min-width: 0; }

/* sm-page-hero */
/* 下層ページの見出しの帯(全ページ共通。正本 = faq の帯。高さは PC 390px / スマホ 300px。unify-page-hero.js) */
.smph-faq-hero { position: relative; isolation: isolate; display: grid; min-height: 440px; place-items: center; padding: 64px 16px; overflow: hidden; color: rgb(255, 255, 255); text-align: center; }
.smph-faq-hero > img { position: absolute; inset: 0px; z-index: -2; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
.smph-faq-hero::before { position: absolute; inset: 0px; z-index: -1; background: color-mix(in srgb, var(--color-text) 48%, transparent); content: ""; }
.smph-faq-hero-content { max-width: 760px; }
.smph-faq-hero p { margin-bottom: 16px; font-family: var(--en-display-font); font-size: 18px; font-weight: 400; letter-spacing: 2px; line-height: 1.3; }
.smph-faq-hero h1 { font-family: var(--en-display-font); font-size: 40px; font-weight: 400; letter-spacing: 2px; line-height: 1.3; }
@media (max-width: 767px) {.smph-faq-hero { min-height: 360px; padding-block: 48px; } .smph-faq-hero p { margin-bottom: 12px; font-size: 16px; } .smph-faq-hero h1 { font-size: 28px; }}
[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:40px !important;line-height:52px !important;letter-spacing:2px !important;font-weight:400 !important;}
[data-sm-section-title]{font-size:40px !important;line-height:52px !important;letter-spacing:2px !important;font-weight:400 !important;}
@media (max-width: 767px){[data-sm-page-title]{font-size:28px !important;line-height:36.4px !important;letter-spacing:2px !important;font-weight:400 !important;}[data-sm-section-title]{font-size:28px !important;line-height:36.4px !important;letter-spacing:2px !important;font-weight:400 !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(40px);transition:opacity 0.9s ease,transform 0.9s 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;}}
