/* =========================================================
   がんばるホーム LP  style.css
   外壁塗装・防水工事 / 相模原市
   ========================================================= */

/* ---------- Design Tokens ---------- */
:root {
  --orange:        #F18D1A;
  --orange-light:  #FBB040;
  --orange-deep:   #EA5414;
  --orange-dark:   #C8430C;
  --ink:           #2B2521;
  --ink-soft:      #5E544B;
  --gray:          #8A8079;
  --cream:         #FFF7EC;
  --cream-2:       #FCEAD3;
  --cream-3:       #FBDFBE;
  --line-green:    #06C755;
  --white:         #ffffff;

  --shadow-xs: 0 2px 10px rgba(180, 70, 15, .06);
  --shadow-sm: 0 10px 30px rgba(180, 70, 15, .10);
  --shadow-md: 0 22px 50px rgba(180, 70, 15, .16);
  --shadow-lg: 0 36px 80px rgba(120, 40, 5, .22);

  --radius:    18px;
  --radius-lg: 28px;
  --radius-xl: 40px;

  --maxw: 1160px;
  --ease:  cubic-bezier(.16,.84,.44,1);
  --ease-2: cubic-bezier(.22,1,.36,1);

  --ff-jp:    "Noto Sans JP", system-ui, sans-serif;
  --ff-round: "Zen Maru Gothic", "Noto Sans JP", sans-serif;
  --ff-en:    "Barlow Semi Condensed", sans-serif;

  --header-h: 84px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--ff-jp);
  color: var(--ink);
  background: var(--white);
  line-height: 1.9;
  font-weight: 400;
  letter-spacing: .02em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
::selection { background: var(--orange); color: #fff; }
body.is-locked { overflow: hidden; }

/* ---------- Layout helpers ---------- */
.container { width: min(100% - 48px, var(--maxw)); margin-inline: auto; }
.container--narrow { width: min(100% - 48px, 840px); }
.sp-only { display: none; }

/* ---------- Section heads ---------- */
.section-head { text-align: center; margin-bottom: 60px; }
.section-eyebrow {
  display: inline-block;
  font-family: var(--ff-en);
  font-weight: 800; letter-spacing: .28em;
  color: var(--orange-deep); font-size: .9rem;
  margin-bottom: 14px; position: relative; padding-left: 2px;
}
.section-eyebrow::before {
  content: ""; display: inline-block; width: 26px; height: 2px; border-radius: 2px;
  background: var(--orange); vertical-align: middle; margin-right: 12px;
}
.section-eyebrow--white { color: #ffe0bf; }
.section-eyebrow--white::before { background: rgba(255,255,255,.7); }
.section-title {
  font-family: var(--ff-round);
  font-size: clamp(1.8rem, 4.6vw, 2.75rem);
  font-weight: 900; line-height: 1.4; letter-spacing: .03em;
}
.section-title em {
  font-style: normal; color: var(--orange-deep);
  position: relative; padding: 0 .08em;
}
.section-desc {
  margin-top: 18px; color: var(--ink-soft); font-weight: 500;
  font-size: 1rem;
}
.section-head--light .section-title,
.section-head--light .section-desc { color: #fff; }
.section-head--light .section-title em { color: #ffe6cc; }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: 17px 32px; border-radius: 999px;
  font-weight: 700; letter-spacing: .04em; font-size: 1rem;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s;
  overflow: hidden; isolation: isolate;
}
.btn--lg { padding: 20px 44px; font-size: 1.06rem; }
.btn:hover { transform: translateY(-4px); }
.btn:active { transform: translateY(-1px); }
.btn__ico {
  font-family: var(--ff-en); font-weight: 900; font-size: .68rem;
  background: rgba(255,255,255,.95); color: var(--line-green);
  border-radius: 5px; padding: 3px 6px; line-height: 1;
}
.btn--line {
  background: var(--line-green); color: #fff;
  box-shadow: 0 12px 26px rgba(6,199,85,.34);
}
.btn--line:hover { box-shadow: 0 20px 36px rgba(6,199,85,.46); }
.btn--mail {
  background: var(--white); color: var(--orange-deep);
  border: 2px solid var(--orange); box-shadow: var(--shadow-sm);
}
.btn--mail:hover { background: var(--orange); color: #fff; border-color: var(--orange); }
.btn--ghost {
  background: rgba(255,255,255,.1); color: #fff;
  border: 2px solid rgba(255,255,255,.75);
}
.btn--ghost:hover { background: #fff; color: var(--orange-deep); }
.btn--ghost .btn__ico { color: var(--orange-deep); }

/* =========================================================
   Loader
   ========================================================= */
.loader {
  position: fixed; inset: 0; z-index: 9999;
  display: grid; place-items: center;
  background: radial-gradient(120% 120% at 70% 20%, #fff7ec 0%, #ffe2bd 55%, #ffcf9b 100%);
  transition: opacity .7s var(--ease), visibility .7s var(--ease);
}
.loader.is-hidden { opacity: 0; visibility: hidden; }
.loader__inner { text-align: center; width: min(82%, 340px); }
.loader__logo-wrap { overflow: hidden; }
.loader__logo {
  width: 100%; max-width: 270px; margin: 0 auto 26px;
  opacity: 0; transform: translateY(18px);
}
.loader__bar {
  width: 100%; height: 4px; border-radius: 4px;
  background: rgba(200,67,12,.16); overflow: hidden;
}
.loader__bar span {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--orange), var(--orange-deep));
  border-radius: 4px;
}
.loader__text {
  margin-top: 16px; font-family: var(--ff-en);
  font-weight: 800; letter-spacing: .18em; color: var(--orange-deep);
  opacity: 0;
}

/* =========================================================
   Scroll progress
   ========================================================= */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--orange), var(--orange-deep));
  z-index: 1001; transition: width .12s linear;
}

/* =========================================================
   Header
   ========================================================= */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 1000;
  background: rgba(255,255,255,.94);
  transition: box-shadow .35s, background .35s;
}
.header.is-scrolled { background: #fff; box-shadow: 0 6px 28px rgba(0,0,0,.08); }
.header__inner {
  width: min(100% - 48px, 1300px); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h); transition: height .35s;
}
.header.is-scrolled .header__inner { height: 66px; }
.header__logo img { height: 52px; width: auto; transition: height .35s; }
.header.is-scrolled .header__logo img { height: 42px; }

.gnav { display: flex; align-items: center; gap: 30px; }
.gnav__list { display: flex; gap: 4px; }
.gnav__link {
  position: relative; font-weight: 700; font-size: .94rem;
  padding: 8px 12px; border-radius: 8px; transition: color .3s;
}
.gnav__link::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px;
  height: 2px; background: var(--orange-deep);
  transform: scaleX(0); transform-origin: left; transition: transform .32s var(--ease);
}
.gnav__link:hover { color: var(--orange-deep); }
.gnav__link:hover::after,
.gnav__link.is-active::after { transform: scaleX(1); }
.gnav__link.is-active { color: var(--orange-deep); }

.gnav__line {
  display: inline-flex; align-items: center; gap: .5em;
  background: var(--line-green); color: #fff;
  padding: 11px 20px; border-radius: 999px;
  font-weight: 700; font-size: .9rem;
  box-shadow: 0 8px 18px rgba(6,199,85,.3);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.gnav__line:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(6,199,85,.42); }
.gnav__line-ico {
  font-family: var(--ff-en); font-weight: 900; font-size: .68rem;
  background: #fff; color: var(--line-green);
  border-radius: 5px; padding: 2px 5px; line-height: 1;
}

.hamburger { display: none; width: 46px; height: 46px; position: relative; z-index: 1100; }
.hamburger span {
  position: absolute; left: 10px; width: 26px; height: 2.5px; border-radius: 3px;
  background: var(--ink); transition: transform .4s var(--ease), opacity .25s;
}
.hamburger span:nth-child(1) { top: 15px; }
.hamburger span:nth-child(2) { top: 22px; }
.hamburger span:nth-child(3) { top: 29px; }
.hamburger.is-active span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.hamburger.is-active span:nth-child(2) { opacity: 0; }
.hamburger.is-active span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 40px) 0 90px;
  overflow: hidden; isolation: isolate;
  background: linear-gradient(165deg, #fff7ec 0%, #ffe6c6 55%, #ffd49f 100%);
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; }
.hero__overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(98deg, rgba(255,248,238,.86) 0%, rgba(255,248,238,.42) 30%, rgba(255,248,238,0) 54%),
    radial-gradient(70% 50% at 85% 8%, rgba(255,255,255,.32), transparent 70%);
}
@media (max-width: 860px) {
  .hero__overlay {
    background:
      linear-gradient(180deg, rgba(255,248,238,.1) 0%, rgba(255,248,238,.35) 45%, rgba(255,248,238,.82) 100%);
  }
}
.hero__inner {
  position: relative; z-index: 2;
  width: min(100% - 48px, var(--maxw)); margin-inline: auto;
  display: grid; grid-template-columns: 1.12fr .88fr;
  align-items: center; gap: 48px;
}
.hero__sub {
  overflow: hidden; margin-bottom: 16px;
}
.hero__sub span {
  display: inline-block; font-weight: 700; color: var(--orange-deep);
  font-size: clamp(1rem, 2.4vw, 1.3rem); letter-spacing: .12em;
  padding: 7px 18px; border-radius: 999px;
  background: rgba(255,255,255,.7); box-shadow: var(--shadow-xs);
}
.hero__title {
  font-family: var(--ff-round);
  font-size: clamp(1.9rem, 5.4vw, 3.35rem);
  font-weight: 900; line-height: 1.3; letter-spacing: .02em;
}
.hero__title-line { display: block; overflow: hidden; }
.hero__title-line > span { display: inline-block; }
.hero__title em {
  font-style: normal; color: var(--orange-deep); position: relative;
}
.hero__title em::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: .06em; height: .26em;
  background: linear-gradient(90deg, rgba(241,141,26,.45), rgba(234,84,20,.45));
  z-index: -1; border-radius: 4px;
}
.hero__lead { margin-top: 24px; font-size: 1.06rem; color: var(--ink-soft); font-weight: 500; }
.hero__tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.hero__tags li {
  background: #fff; color: var(--orange-deep); border: 1.5px solid var(--cream-3);
  padding: 7px 16px; border-radius: 999px; font-size: .85rem; font-weight: 700;
  box-shadow: var(--shadow-xs);
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.hero__visual { position: relative; display: grid; place-items: center; }
.hero__chara-disc {
  position: absolute; width: 92%; aspect-ratio: 1; border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255,255,255,.9) 0%, rgba(255,210,156,.25) 55%, transparent 72%);
  animation: pulse 5s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{ transform: scale(1); opacity:.9 } 50%{ transform: scale(1.06); opacity:1 } }
.hero__chara {
  position: relative; z-index: 2; width: min(100%, 380px);
  filter: drop-shadow(0 30px 44px rgba(180,55,8,.3));
  mix-blend-mode: multiply;
}
.hero__english {
  position: absolute; bottom: -8px; left: 50%; transform: translateX(-50%);
  font-family: var(--ff-en); font-weight: 900; white-space: nowrap;
  font-size: clamp(1.2rem, 3.4vw, 2rem); letter-spacing: .05em;
  color: rgba(234,84,20,.18); z-index: 1;
}

.hero__scroll {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  z-index: 3; display: grid; justify-items: center; gap: 8px;
}
.hero__scroll-txt {
  font-family: var(--ff-en); font-weight: 700; font-size: .72rem;
  letter-spacing: .25em; color: var(--orange-deep);
}
.hero__scroll-line { width: 1.5px; height: 46px; background: rgba(234,84,20,.3); position: relative; overflow: hidden; }
.hero__scroll-line::after {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 40%;
  background: var(--orange-deep); animation: scrolldown 1.8s var(--ease) infinite;
}
@keyframes scrolldown { 0%{ transform: translateY(-100%) } 100%{ transform: translateY(350%) } }

/* =========================================================
   Marquee
   ========================================================= */
.marquee {
  background: var(--orange-deep); color: #fff; overflow: hidden;
  padding: 14px 0; white-space: nowrap;
}
.marquee__track { display: inline-flex; align-items: center; gap: 28px; animation: marquee 28s linear infinite; }
.marquee__track span {
  font-family: var(--ff-en); font-weight: 700; font-size: 1.05rem; letter-spacing: .12em;
}
.marquee__dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.7); flex: 0 0 auto; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   Concept
   ========================================================= */
.concept { padding: 100px 0; background: var(--white); }
.concept__box {
  position: relative; background: linear-gradient(150deg, #fff8ef, #fff);
  border: 1px solid var(--cream-2); border-radius: var(--radius-xl);
  padding: clamp(40px, 6vw, 72px); text-align: center; box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.concept__box::before, .concept__box::after {
  content: ""; position: absolute; border-radius: 50%; z-index: 0;
}
.concept__box::before { width: 200px; height: 200px; background: radial-gradient(circle, rgba(251,176,64,.16), transparent 70%); top: -60px; right: -40px; }
.concept__box::after  { width: 240px; height: 240px; background: radial-gradient(circle, rgba(234,84,20,.1), transparent 70%); bottom: -80px; left: -50px; }
.concept__title { position: relative; z-index: 1; font-family: var(--ff-round); font-size: clamp(1.55rem, 4vw, 2.3rem); font-weight: 900; line-height: 1.5; margin-bottom: 22px; }
.concept__text { position: relative; z-index: 1; color: var(--ink-soft); font-weight: 500; }
.concept__points {
  position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px;
  margin-top: 34px;
}
.concept__point {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: .95rem;
  background: #fff; border: 1px solid var(--cream-2); border-radius: 999px;
  padding: 10px 20px 10px 12px; box-shadow: var(--shadow-xs);
}
.concept__point span {
  font-family: var(--ff-en); font-weight: 800; font-size: .85rem; color: #fff;
  background: var(--orange-deep); width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center;
}

/* =========================================================
   Strength
   ========================================================= */
.strength { padding: 110px 0; background: var(--cream); position: relative; }
.strength__grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 26px; }
.strength__card {
  position: relative; flex: 1 1 200px; min-width: 200px; max-width: 258px;
  background: #fff; border-radius: var(--radius-lg);
  padding: 44px 24px 34px; text-align: center; box-shadow: var(--shadow-sm);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
  overflow: hidden;
}
.strength__card::before {
  content: ""; position: absolute; inset: auto 0 0 0; height: 0;
  background: linear-gradient(180deg, rgba(241,141,26,.08), transparent);
  transition: height .45s var(--ease);
}
.strength__card:hover { transform: translateY(-10px); box-shadow: var(--shadow-md); }
.strength__card:hover::before { height: 100%; }
.strength__num {
  position: absolute; top: 18px; right: 22px;
  font-family: var(--ff-en); font-weight: 900; font-size: 2.6rem;
  color: var(--cream-2); line-height: 1;
}
.strength__ico {
  position: relative; z-index: 1; width: 84px; height: 84px; margin: 0 auto 18px;
  display: grid; place-items: center; border-radius: 24px;
  background: linear-gradient(145deg, var(--cream), #fff);
  color: var(--orange-deep); box-shadow: inset 0 0 0 1px var(--cream-2);
  transition: transform .45s var(--ease), background .45s;
}
.strength__card:hover .strength__ico { transform: rotate(-6deg) scale(1.05); }
.strength__ico svg { width: 42px; height: 42px; }
.strength__name { position: relative; z-index: 1; font-family: var(--ff-round); font-size: 1.22rem; font-weight: 900; line-height: 1.45; margin-bottom: 14px; }
.strength__desc { position: relative; z-index: 1; font-size: .92rem; color: var(--ink-soft); font-weight: 500; line-height: 1.85; }

/* =========================================================
   Service
   ========================================================= */
.service { padding: 110px 0; background: var(--white); }
.service__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; }
.service__card {
  background: #fff; border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid #f3e6d4;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.service__card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.service__img { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.service__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.service__card:hover .service__img img { transform: scale(1.07); }
.service__badge {
  position: absolute; left: 20px; top: 20px;
  font-family: var(--ff-en); font-weight: 900; font-size: 1.15rem;
  background: var(--orange-deep); color: #fff; width: 50px; height: 50px;
  border-radius: 50%; display: grid; place-items: center;
  box-shadow: 0 8px 18px rgba(202,67,12,.38);
}
.service__body { padding: 34px 34px 38px; }
.service__name {
  font-family: var(--ff-round); font-size: 1.65rem; font-weight: 900;
  margin-bottom: 16px; display: inline-block;
}
.service__name::after {
  content: ""; display: block; width: 52px; height: 4px; border-radius: 4px;
  background: linear-gradient(90deg, var(--orange), var(--orange-deep)); margin-top: 10px;
}
.service__desc { color: var(--ink-soft); font-weight: 500; margin-bottom: 20px; }
.service__list { display: grid; gap: 12px; }
.service__list li { position: relative; padding-left: 30px; font-weight: 700; font-size: .96rem; }
.service__list li::before {
  content: ""; position: absolute; left: 0; top: .5em;
  width: 16px; height: 9px; border-left: 3px solid var(--orange-deep);
  border-bottom: 3px solid var(--orange-deep); transform: rotate(-45deg);
}
.service__note {
  margin-top: 40px; text-align: center; font-weight: 700; color: var(--ink-soft);
  background: var(--cream); padding: 26px; border-radius: var(--radius);
}

/* =========================================================
   Works (Before/After slider)
   ========================================================= */
.works { position: relative; padding: 110px 0; overflow: hidden; isolation: isolate; }
.works__bg {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(155deg, var(--orange) 0%, var(--orange-deep) 70%, var(--orange-dark) 100%);
}
.works__bg::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 60% at 80% 10%, rgba(255,255,255,.16), transparent 60%);
}
.works__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.ba {
  background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 26px 50px rgba(110,30,0,.3); display: flex; flex-direction: column;
}
.ba__view {
  position: relative; aspect-ratio: 4/5; overflow: hidden;
  cursor: ew-resize; user-select: none; touch-action: none;
}
.ba__after { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba__before-wrap { position: absolute; top: 0; left: 0; bottom: 0; width: 50%; overflow: hidden; will-change: width; z-index: 2; }
/* before 画像は view 全体サイズで描画し、wrapper でクリップする（幅は JS で view 幅に同期） */
.ba__before {
  position: absolute; top: 0; left: 0; right: auto; bottom: auto;
  height: 100%; width: auto; max-width: none; object-fit: cover; pointer-events: none;
}
.ba__tag {
  position: absolute; top: 12px; font-family: var(--ff-en); font-weight: 800; font-size: .78rem;
  color: #fff; padding: 4px 12px; border-radius: 6px; letter-spacing: .05em; z-index: 3;
}
.ba__tag--before { left: 12px; background: rgba(43,37,33,.85); }
.ba__tag--after  { right: 12px; background: var(--orange-deep); }
.ba__handle {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; margin-left: -1.5px;
  background: #fff; z-index: 4; box-shadow: 0 0 14px rgba(0,0,0,.35); pointer-events: none;
}
.ba__handle span {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 44px; height: 44px; border-radius: 50%; background: #fff;
  box-shadow: 0 6px 16px rgba(0,0,0,.3); display: grid; place-items: center;
}
.ba__handle span::before, .ba__handle span::after {
  content: ""; position: absolute; width: 0; height: 0;
  border-top: 6px solid transparent; border-bottom: 6px solid transparent;
}
.ba__handle span::before { border-right: 8px solid var(--orange-deep); left: 9px; }
.ba__handle span::after  { border-left: 8px solid var(--orange-deep); right: 9px; }
.ba__title { font-family: var(--ff-round); font-size: 1.22rem; font-weight: 900; padding: 24px 24px 0; }
.ba__desc { padding: 10px 24px 28px; font-size: .9rem; color: var(--ink-soft); font-weight: 500; line-height: 1.8; }

/* Before / 施工中 / After（3枚組） */
.tri {
  grid-column: 1 / -1; background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 26px 50px rgba(110,30,0,.3); display: flex; flex-direction: column;
}
.tri__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; background: #f0e6da; }
.tri__item { position: relative; margin: 0; aspect-ratio: 4/3; overflow: hidden; }
.tri__item img { width: 100%; height: 100%; object-fit: cover; }
.tri__tag {
  position: absolute; top: 12px; left: 12px; font-family: var(--ff-en); font-weight: 800;
  font-size: .78rem; color: #fff; padding: 4px 12px; border-radius: 6px; letter-spacing: .05em;
}
.tri__tag--before { background: rgba(43,37,33,.85); }
.tri__tag--during { background: var(--orange); font-family: var(--ff-jp); }
.tri__tag--after  { background: var(--orange-deep); }

/* その他の施工写真（自動スクロール） */
.gallery { margin-top: 56px; }
.gallery__title {
  color: #fff; text-align: center; font-family: var(--ff-round); font-weight: 900;
  font-size: 1.3rem; margin-bottom: 26px;
}
.gallery__marquee {
  overflow: hidden; position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.gallery__track { display: flex; gap: 20px; width: max-content; animation: gallery-scroll 45s linear infinite; }
.gallery__marquee:hover .gallery__track { animation-play-state: paused; }
.gallery__item {
  margin: 0; flex: 0 0 auto; width: 300px; aspect-ratio: 4/3; overflow: hidden;
  border-radius: var(--radius); box-shadow: 0 16px 34px rgba(90,25,0,.28); background: #fff;
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; }
@keyframes gallery-scroll { to { transform: translateX(calc(-50% - 10px)); } }

/* =========================================================
   Timing
   ========================================================= */
.timing { padding: 110px 0; background: var(--cream); }
.timing__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.timing__card {
  position: relative; background: #fff; border-radius: var(--radius-lg); padding: 50px 40px;
  text-align: center; box-shadow: var(--shadow-sm); overflow: hidden;
}
.timing__card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 6px;
  background: linear-gradient(90deg, var(--orange), var(--orange-deep));
}
.timing__label { font-weight: 700; color: var(--orange-deep); letter-spacing: .08em; }
.timing__big {
  font-family: var(--ff-en); font-weight: 800; font-size: clamp(3.2rem, 9vw, 5rem);
  line-height: 1.05; color: var(--ink); margin: 10px 0 16px;
}
.timing__tilde { font-family: var(--ff-jp); font-size: .5em; vertical-align: .25em; margin: 0 .08em; color: var(--orange); }
.timing__big small { font-family: var(--ff-round); font-size: 1.5rem; font-weight: 900; margin-left: 6px; }
.timing__note { color: var(--ink-soft); font-weight: 500; font-size: .95rem; }

/* =========================================================
   Flow
   ========================================================= */
.flow { padding: 110px 0; background: var(--white); }
.flow__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.flow__item {
  position: relative; background: var(--cream); border-radius: var(--radius);
  padding: 38px 24px 32px; text-align: center;
  transition: transform .4s var(--ease);
}
.flow__item:hover { transform: translateY(-6px); }
.flow__item::after {
  content: ""; position: absolute; right: -16px; top: 92px; z-index: 2;
  width: 0; height: 0; border-left: 15px solid var(--cream-3);
  border-top: 11px solid transparent; border-bottom: 11px solid transparent;
}
.flow__item:last-child::after { display: none; }
.flow__step {
  display: inline-flex; align-items: baseline; gap: .35em;
  font-family: var(--ff-en); font-weight: 800; color: var(--orange-deep);
  font-size: .82rem; letter-spacing: .14em; margin-bottom: 14px;
}
.flow__step i { font-style: normal; font-size: 1.5rem; line-height: 1; }
.flow__ico {
  width: 70px; height: 70px; margin: 0 auto 16px; border-radius: 50%;
  background: #fff; color: var(--orange-deep); display: grid; place-items: center;
  box-shadow: var(--shadow-xs);
}
.flow__ico svg { width: 36px; height: 36px; }
.flow__name { font-family: var(--ff-round); font-size: 1.15rem; font-weight: 900; margin-bottom: 10px; }
.flow__desc { font-size: .9rem; color: var(--ink-soft); font-weight: 500; line-height: 1.8; }

/* =========================================================
   Message
   ========================================================= */
.message { padding: 110px 0; background: var(--cream); position: relative; }
.message__inner {
  display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 50px;
  background: #fff; border-radius: var(--radius-xl); padding: clamp(34px, 5vw, 60px);
  box-shadow: var(--shadow-sm); overflow: hidden;
}
.message__visual { position: relative; display: grid; place-items: center; }
.message__chara-bg {
  position: absolute; width: 100%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, var(--cream) 0%, transparent 70%);
}
.message__chara { position: relative; z-index: 1; width: min(80%, 260px); filter: drop-shadow(0 18px 30px rgba(180,55,8,.25)); mix-blend-mode: multiply; }
.message__title { font-family: var(--ff-round); font-size: clamp(1.5rem, 3.8vw, 2.2rem); font-weight: 900; line-height: 1.45; margin: 6px 0 20px; }
.message__text { color: var(--ink-soft); font-weight: 500; }
.message__sign { margin-top: 24px; font-weight: 700; color: var(--ink); }
.message__sign strong { font-family: var(--ff-round); font-size: 1.3rem; margin-left: 6px; }

/* =========================================================
   FAQ
   ========================================================= */
.faq { padding: 110px 0; background: var(--white); }
.faq__list { display: flex; flex-direction: column; gap: 16px; }
.faq__item { background: var(--cream); border-radius: var(--radius); overflow: hidden; transition: box-shadow .3s; }
.faq__item:hover { box-shadow: var(--shadow-sm); }
.faq__q { width: 100%; display: flex; align-items: center; gap: 16px; padding: 24px 26px; text-align: left; }
.faq__mark { font-family: var(--ff-en); font-weight: 900; font-size: 1.35rem; color: var(--orange-deep); flex: 0 0 auto; }
.faq__qtext { font-weight: 700; flex: 1; font-size: 1.02rem; }
.faq__toggle { position: relative; width: 22px; height: 22px; flex: 0 0 auto; }
.faq__toggle::before, .faq__toggle::after {
  content: ""; position: absolute; top: 50%; left: 50%; background: var(--orange-deep);
  border-radius: 2px; transform: translate(-50%,-50%); transition: transform .3s var(--ease);
}
.faq__toggle::before { width: 18px; height: 2.5px; }
.faq__toggle::after  { width: 2.5px; height: 18px; }
.faq__q[aria-expanded="true"] .faq__toggle::after { transform: translate(-50%,-50%) scaleY(0); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.faq__q[aria-expanded="true"] + .faq__a { grid-template-rows: 1fr; }
.faq__a-in { overflow: hidden; }
.faq__a-in p { padding: 0 26px 26px 60px; color: var(--ink-soft); font-weight: 500; font-size: .95rem; }

/* =========================================================
   Contact
   ========================================================= */
.contact { position: relative; overflow: hidden; isolation: isolate; padding: 100px 0; color: #fff; }
.contact__bg {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(135deg, var(--orange-deep) 0%, var(--orange-dark) 100%);
}
.contact__bg::after {
  content: ""; position: absolute; inset: -30%;
  background: repeating-conic-gradient(from 0deg at 22% 28%,
    rgba(255,255,255,0) 0deg 9deg, rgba(255,255,255,.07) 9deg 18deg);
  animation: spin 100s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.contact__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 220px 1fr; align-items: center; gap: 44px; }
.contact__chara { width: 100%; max-width: 220px; justify-self: center; filter: drop-shadow(0 20px 30px rgba(0,0,0,.3)); mix-blend-mode: multiply; }
.contact__title { font-family: var(--ff-round); font-size: clamp(1.7rem, 4.6vw, 2.6rem); font-weight: 900; line-height: 1.4; }
.contact__lead { margin: 18px 0 30px; font-weight: 500; opacity: .96; }
.contact__cta { display: flex; flex-wrap: wrap; gap: 16px; }

/* =========================================================
   Footer
   ========================================================= */
.footer { background: var(--ink); color: #e9e2da; padding: 70px 0 28px; }
.footer__top { display: grid; grid-template-columns: 1fr 1.4fr; gap: 50px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer__logo { height: 64px; width: auto; background: #fff; padding: 10px 16px; border-radius: 12px; margin-bottom: 20px; }
.footer__tagline { line-height: 1.8; font-weight: 700; color: #ffd2a3; }
.footer__tagline span { font-family: var(--ff-en); font-weight: 600; color: #ffb877; }
.footer__info { display: grid; gap: 16px; align-content: start; }
.footer__info > div { display: grid; grid-template-columns: 130px 1fr; gap: 14px; font-size: .95rem; }
.footer__info dt { font-weight: 700; color: #ffb877; }
.footer__info a { color: #ffc78e; text-decoration: underline; word-break: break-all; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 10px 24px; padding: 28px 0; justify-content: center; }
.footer__nav a { font-size: .9rem; font-weight: 700; color: #d8cfc6; transition: color .3s; }
.footer__nav a:hover { color: #ffb877; }
.footer__copy { text-align: center; font-size: .82rem; color: #9c948c; font-family: var(--ff-en); letter-spacing: .05em; }

/* =========================================================
   Floating actions
   ========================================================= */
.floats { position: fixed; right: 18px; bottom: 18px; z-index: 900; display: grid; gap: 12px; justify-items: center; }
.float {
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  box-shadow: var(--shadow-md); transition: transform .35s var(--ease), box-shadow .3s, opacity .35s;
}
.float--line { background: var(--line-green); color: #fff; text-align: center; line-height: 1.05; gap: 1px; }
.float--line .float__ico { font-family: var(--ff-en); font-weight: 900; font-size: .62rem; background: #fff; color: var(--line-green); border-radius: 4px; padding: 1px 4px; }
.float--line .float__txt { font-size: .66rem; font-weight: 800; }
.float--mail { background: #fff; color: var(--orange-deep); border: 1.5px solid var(--cream-3); }
.float--mail svg { width: 26px; height: 26px; }
.float--top { background: var(--ink); color: #fff; opacity: 0; pointer-events: none; transform: translateY(8px); }
.float--top svg { width: 24px; height: 24px; }
.float:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.floats.show-top .float--top { opacity: 1; pointer-events: auto; transform: none; }

/* =========================================================
   Reveal
   ========================================================= */
[data-reveal] { opacity: 0; transform: translateY(42px); transition: opacity .8s var(--ease-2), transform .8s var(--ease-2); }
[data-reveal].is-in { opacity: 1; transform: none; }
/* staggered children for grids */
.strength__grid [data-reveal]:nth-child(2), .works__grid [data-reveal]:nth-child(2) { transition-delay: .08s; }
.strength__grid [data-reveal]:nth-child(3), .works__grid [data-reveal]:nth-child(3) { transition-delay: .16s; }
.strength__grid [data-reveal]:nth-child(4) { transition-delay: .24s; }
.strength__grid [data-reveal]:nth-child(5) { transition-delay: .32s; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .strength__grid [data-reveal]:nth-child(3) { transition-delay: 0s; }
  .flow__list { grid-template-columns: repeat(2, 1fr); }
  .flow__item:nth-child(2)::after { display: none; }
  .works__grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .tri__row { gap: 2px; }
}

@media (max-width: 860px) {
  :root { --header-h: 70px; }
  .hamburger { display: block; }
  .gnav {
    position: fixed; inset: 0 0 0 auto; width: min(80%, 330px);
    background: #fff; flex-direction: column; justify-content: center; gap: 26px;
    padding: 50px 40px; transform: translateX(100%);
    transition: transform .45s var(--ease); box-shadow: -12px 0 50px rgba(0,0,0,.16);
  }
  .gnav.is-open { transform: translateX(0); }
  .gnav__list { flex-direction: column; gap: 2px; width: 100%; }
  .gnav__list li { width: 100%; }
  .gnav__link { display: block; text-align: center; padding: 15px 0; font-size: 1.05rem; border-bottom: 1px solid #f1e6d8; }
  .gnav__link::after { display: none; }

  .hero { min-height: auto; padding: calc(var(--header-h) + 36px) 0 64px; }
  .hero__inner { grid-template-columns: 1fr; text-align: center; gap: 16px; }
  .hero__visual { order: -1; }
  .hero__chara { width: min(62%, 250px); }
  .hero__sub, .hero__tags, .hero__cta { justify-content: center; }
  .hero__sub { display: flex; }
  .hero__scroll { display: none; }

  .service__grid { grid-template-columns: 1fr; }
  .timing__cards { grid-template-columns: 1fr; }
  .message__inner { grid-template-columns: 1fr; text-align: center; gap: 24px; }
  .message__chara { width: min(50%, 200px); }
  .contact__inner { grid-template-columns: 1fr; text-align: center; }
  .contact__chara { max-width: 170px; }
  .contact__cta { justify-content: center; }
  .footer__top { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 560px) {
  .container, .container--narrow { width: calc(100% - 36px); }
  .sp-only { display: inline; }
  .section-head { margin-bottom: 42px; }
  .strength__grid [data-reveal] { transition-delay: 0s !important; }
  .tri__row { grid-template-columns: 1fr; }
  .gallery__item { width: 230px; }
  .flow__list { grid-template-columns: 1fr; }
  .flow__item::after { display: none; }
  .btn { width: 100%; }
  .hero__cta, .contact__cta { width: 100%; }
  .footer__info > div { grid-template-columns: 100px 1fr; }
  .floats { right: 12px; bottom: 12px; }
  .float { width: 54px; height: 54px; }
}

/* =========================================================
   Reduced motion
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
