@charset "UTF-8";

/* =========================================================
   神脇工務店 LP  -  style.css
   白背景 + 差し色 #0000cd + 木目アクセント
   ========================================================= */

/* ---------------- Design Tokens ---------------- */
:root {
  --c-accent: #0000cd;        /* 差し色（メディアムブルー） */
  --c-accent-dark: #00009e;
  --c-accent-soft: #eef0fb;
  --c-ink: #2b2925;           /* 文字（やわらかい黒） */
  --c-ink-soft: #6c665d;
  --c-wood: #9a7a55;          /* 木目ブラウン */
  --c-wood-dark: #6f5638;
  --c-wood-soft: #f4efe7;     /* 温かみのある背景 */
  --c-line: #e6e0d6;
  --c-white: #ffffff;
  --c-dark: #20262e;          /* 濃色セクション */

  --font-base: "Noto Sans JP", system-ui, sans-serif;
  --font-head: "Zen Maru Gothic", "Noto Sans JP", sans-serif;

  --maxw: 1120px;
  --pad: clamp(20px, 5vw, 48px);
  --radius: 14px;
  --shadow: 0 18px 40px -24px rgba(31, 28, 22, .35);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------------- Reset / Base ---------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--c-ink);
  background: var(--c-white);
  line-height: 1.85;
  font-size: 16px;
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s, opacity .25s; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, dl, dd { margin: 0; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* skip link & focus */
.skip-link {
  position: fixed; top: -100px; left: 16px; z-index: 1100;
  background: var(--c-accent); color: #fff; padding: 12px 20px; border-radius: 0 0 8px 8px;
  font-weight: 700; font-family: var(--font-head); transition: top .25s var(--ease);
}
.skip-link:focus { top: 0; }
:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 3px; border-radius: 4px; }
.header:not(.is-solid) :focus-visible { outline-color: #fff; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.pc-only { display: inline; }
.sp-only { display: none; }

/* ---------------- Section common ---------------- */
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--alt { background: var(--c-wood-soft); }
.section--dark { background: var(--c-dark); color: var(--c-white); }

.sec-head { text-align: center; max-width: 760px; margin: 0 auto clamp(36px, 5vw, 60px); }
.sec-head__eyebrow {
  font-family: var(--font-head);
  color: var(--c-accent);
  letter-spacing: .14em;
  font-size: .9rem;
  margin-bottom: 14px;
}
.sec-head__eyebrow::before {
  content: ""; display: inline-block; width: 26px; height: 2px;
  background: var(--c-accent); vertical-align: middle; margin-right: 12px;
}
.sec-head__title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(1.5rem, 4.5vw, 2.4rem);
  line-height: 1.4;
  letter-spacing: .04em;
}
.sec-head__lead { margin-top: 18px; color: var(--c-ink-soft); font-size: .98rem; }
.sec-head--light .sec-head__lead { color: rgba(255,255,255,.78); }
.sec-head--light .sec-head__eyebrow { color: #aeb6ff; }
.sec-head--light .sec-head__eyebrow::before { background: #aeb6ff; }

/* ---------------- Brand Logo ---------------- */
.brand-logo { display: block; width: auto; object-fit: contain; }
.brand-logo--header { height: 40px; }
.brand-logo--loader { height: 64px; margin: 0 auto; }
.brand-logo--footer { height: 46px; }
/* ヒーロー上（ヘッダー透過時）はロゴを白抜き＋陰影で視認性確保 */
.header:not(.is-solid) .brand-logo--header {
  filter: brightness(0) invert(1) drop-shadow(0 2px 12px rgba(0,0,0,.4));
}
.brand-logo--footer { filter: brightness(0) invert(1); }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; border-radius: 999px; font-weight: 700;
  font-family: var(--font-head); letter-spacing: .04em; line-height: 1.3;
  transition: transform .25s var(--ease), box-shadow .25s, background .25s, color .25s;
  white-space: nowrap;
}
.btn .ico { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }
.btn--mail { background: var(--c-accent); color: #fff; box-shadow: 0 14px 26px -14px rgba(0,0,205,.7); }
.btn--mail:hover { background: var(--c-accent-dark); transform: translateY(-3px); box-shadow: 0 20px 32px -14px rgba(0,0,205,.8); }
.btn--tel { background: var(--c-wood-dark); color: #fff; box-shadow: 0 14px 26px -16px rgba(111,86,56,.8); }
.btn--tel:hover { background: #5b4529; transform: translateY(-3px); }
.btn--ghost { background: rgba(255,255,255,.12); color: #fff; border: 1.5px solid rgba(255,255,255,.7); backdrop-filter: blur(4px); }
.btn--ghost:hover { background: #fff; color: var(--c-ink); transform: translateY(-3px); }
.btn--sm { padding: 9px 16px; font-size: .82rem; }
.btn--lg { flex-direction: column; gap: 4px; padding: 20px 40px; min-width: 280px; }
.btn--lg .ico { width: 1.5em; height: 1.5em; }
.btn__main { font-size: 1.1rem; }
.btn__sub { font-size: .78rem; font-weight: 500; opacity: .85; letter-spacing: .06em; font-family: var(--font-base); }

/* ---------------- Loader ---------------- */
.loader {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  background: var(--c-white);
  transition: opacity .7s ease, visibility .7s ease;
}
.loader.is-hidden { opacity: 0; visibility: hidden; }
.loader__inner { text-align: center; }
.loader__logo { animation: floatUp .8s var(--ease) both; }
.loader__name {
  margin-top: 18px; font-family: var(--font-head); font-weight: 900;
  font-size: 1.3rem; letter-spacing: .3em; color: var(--c-ink);
  animation: floatUp .8s var(--ease) .1s both;
}
.loader__bar {
  width: 180px; height: 3px; margin: 22px auto 0; border-radius: 3px;
  background: var(--c-line); overflow: hidden;
}
.loader__bar span {
  display: block; height: 100%; width: 40%; border-radius: 3px;
  background: var(--c-accent); animation: load 1.1s ease-in-out infinite;
}
@keyframes load { 0%{transform:translateX(-120%)} 100%{transform:translateX(360%)} }
@keyframes floatUp { from{opacity:0;transform:translateY(14px)} to{opacity:1;transform:translateY(0)} }

/* ---------------- Header ---------------- */
.header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 900;
  transition: background .35s, box-shadow .35s, padding .35s;
  padding-block: 14px;
}
.header__inner {
  width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.header__brand { display: flex; align-items: center; gap: 12px; }
.header__brand { flex: none; }
.header__brand-sub { font-size: .64rem; letter-spacing: .18em; color: var(--c-ink-soft); display: block; white-space: nowrap; }
/* header on hero (transparent -> white on scroll) */
.header:not(.is-solid) .header__brand-sub { color: rgba(255,255,255,.85); text-shadow: 0 2px 12px rgba(0,0,0,.4); }
.header:not(.is-solid) .gnav__link { color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,.35); }
.header.is-solid { background: rgba(255,255,255,.96); box-shadow: 0 6px 24px -16px rgba(0,0,0,.4); backdrop-filter: blur(8px); padding-block: 10px; }

.gnav { display: flex; align-items: center; gap: 22px; }
.gnav__list { display: flex; gap: 20px; flex-wrap: nowrap; }
.gnav__link { font-weight: 500; font-size: .9rem; position: relative; padding-block: 6px; white-space: nowrap; }
.gnav__link::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--c-accent); transition: width .3s var(--ease); }
.gnav__link:hover { color: var(--c-accent); }
.gnav__link:hover::after { width: 100%; }
.gnav__cta { display: flex; gap: 8px; }

.hamburger { display: none; width: 44px; height: 44px; position: relative; z-index: 950; }
.hamburger span { position: absolute; left: 10px; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: .3s var(--ease); }
.hamburger span:nth-child(1){ top: 15px; } .hamburger span:nth-child(2){ top: 21px; } .hamburger span:nth-child(3){ top: 27px; }
.header.is-solid .hamburger span { background: var(--c-ink); }
.is-menu-open .hamburger span { background: #fff; }
.is-menu-open .hamburger span:nth-child(1){ top: 21px; transform: rotate(45deg); }
.is-menu-open .hamburger span:nth-child(2){ opacity: 0; }
.is-menu-open .hamburger span:nth-child(3){ top: 21px; transform: rotate(-45deg); }

/* ---------------- Hero ---------------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  color: #fff; overflow: hidden;
}
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: -2; }
.hero__overlay {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, rgba(15,18,24,.74) 0%, rgba(15,18,24,.42) 55%, rgba(0,0,80,.32) 100%);
}
.hero__inner { width: 100%; max-width: var(--maxw); margin-inline: auto; padding: 120px var(--pad) 100px; }
.hero__eyebrow { font-family: var(--font-head); letter-spacing: .12em; font-size: clamp(.85rem,2vw,1rem); margin-bottom: 22px; opacity: 0; animation: heroIn .9s var(--ease) .25s both; }
.hero__title {
  font-family: var(--font-head); font-weight: 900;
  font-size: clamp(2rem, 6.4vw, 4rem); line-height: 1.32; letter-spacing: .03em;
  text-shadow: 0 4px 30px rgba(0,0,0,.35);
  opacity: 0; animation: heroIn 1s var(--ease) .4s both;
}
.hero__title strong { color: #fff; position: relative; }
.hero__title strong::after { content: ""; position: absolute; left: -2%; right: -2%; bottom: .08em; height: .28em; background: var(--c-accent); z-index: -1; border-radius: 3px; opacity: .92; }
.hero__lead { margin-top: 26px; font-size: clamp(.92rem, 2vw, 1.08rem); line-height: 2; text-shadow: 0 2px 14px rgba(0,0,0,.4); opacity: 0; animation: heroIn 1s var(--ease) .55s both; }
.hero__cta { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 16px; opacity: 0; animation: heroIn 1s var(--ease) .7s both; }
@keyframes heroIn { from{opacity:0; transform:translateY(26px)} to{opacity:1; transform:translateY(0)} }

.hero__scroll {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  font-size: .66rem; letter-spacing: .28em; color: #fff; writing-mode: vertical-rl;
  display: flex; align-items: center; gap: 14px;
}
.hero__scroll span { display: block; width: 1px; height: 46px; background: rgba(255,255,255,.6); position: relative; overflow: hidden; }
.hero__scroll span::after { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 50%; background: #fff; animation: scrollLine 1.8s ease-in-out infinite; }
@keyframes scrollLine { 0%{transform:translateY(-100%)} 100%{transform:translateY(200%)} }

/* ---------------- Problem ---------------- */
.problem__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.problem__item {
  display: flex; align-items: center; gap: 18px;
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 26px 26px; box-shadow: var(--shadow);
  transition: transform .35s var(--ease), border-color .35s;
}
.problem__item:hover { transform: translateY(-5px); border-color: var(--c-accent); }
.problem__icon { flex: none; width: 54px; height: 54px; border-radius: 50%; background: var(--c-accent-soft); color: var(--c-accent); display: grid; place-items: center; }
.problem__icon svg { width: 28px; height: 28px; }
.problem__text { font-size: .98rem; line-height: 1.6; }
.problem__text strong { color: var(--c-accent); font-weight: 700; }

/* ---------------- Solution ---------------- */
.solution { position: relative; color: #fff; text-align: center; overflow: hidden; padding-block: clamp(80px, 12vw, 150px); }
.solution__bg { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: -2; transform: scale(1.05); }
.solution__overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,18,14,.78), rgba(0,0,90,.6)); }
.solution__eyebrow { font-family: var(--font-head); letter-spacing: .12em; color: #d9deff; margin-bottom: 16px; }
.solution__title { font-family: var(--font-head); font-weight: 900; font-size: clamp(1.7rem, 5vw, 3rem); line-height: 1.4; letter-spacing: .04em; }
.solution__title strong { color: #fff; }
.solution__title strong::after { content: ""; display: block; width: 64px; height: 4px; background: var(--c-accent); margin: 22px auto 0; border-radius: 4px; }
.solution__text { margin-top: 26px; font-size: clamp(.95rem,2vw,1.05rem); line-height: 2; color: rgba(255,255,255,.9); }

/* ---------------- Reason ---------------- */
.reason__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.reason__card {
  position: relative; background: #fff; border-radius: var(--radius);
  padding: 40px 26px 32px; box-shadow: var(--shadow);
  border-top: 4px solid var(--c-accent);
  transition: transform .35s var(--ease);
}
.reason__card:hover { transform: translateY(-6px); }
.reason__num { font-family: var(--font-head); font-weight: 900; font-size: 2.4rem; color: var(--c-accent-soft); line-height: 1; display: block; }
.reason__title { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; line-height: 1.45; margin: 8px 0 14px; letter-spacing: .03em; }
.reason__text { font-size: .9rem; color: var(--c-ink-soft); line-height: 1.85; }

/* reason feature image */
.reason__feature {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 4vw, 48px);
  align-items: center; margin-bottom: clamp(36px, 5vw, 56px);
}
.reason__feature-img { margin: 0; position: relative; }
.reason__feature-img img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); display: block; }
.reason__feature-img::after { content: ""; position: absolute; right: -14px; bottom: -14px; width: 64%; height: 64%; border: 3px solid var(--c-accent); border-radius: var(--radius); z-index: -1; }
.reason__feature-eyebrow { font-family: var(--font-head); font-weight: 700; color: var(--c-accent); font-size: 1.05rem; letter-spacing: .06em; margin-bottom: 14px; }
.reason__feature-lead { font-family: var(--font-head); font-weight: 500; font-size: clamp(1.15rem, 2.4vw, 1.5rem); line-height: 1.75; letter-spacing: .04em; }

/* ---------------- Works ---------------- */
.works__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.work-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--c-line); transition: transform .3s var(--ease), box-shadow .3s; }
.work-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(43,41,37,.16); }
.work-card__media {
  position: relative; aspect-ratio: 4 / 3; margin: 0; overflow: hidden; background: var(--c-wood-soft);
}
.work-card__media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .5s var(--ease);
}
.work-card:hover .work-card__media img { transform: scale(1.05); }
.work-card__body { padding: 24px 26px 28px; }
.work-card__title { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; letter-spacing: .03em; margin-bottom: 10px; }
.work-card__title::before { content: ""; display: inline-block; width: 18px; height: 3px; background: var(--c-accent); vertical-align: middle; margin-right: 10px; border-radius: 3px; }
.work-card__text { font-size: .92rem; color: var(--c-ink-soft); line-height: 1.85; }

/* ---------------- Gallery ---------------- */
.gallery__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery__item { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 3; box-shadow: var(--shadow); margin: 0; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s var(--ease); }
.gallery__item:hover img { transform: scale(1.07); }
.gallery__item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  padding: 30px 18px 16px; color: #fff; font-family: var(--font-head); font-weight: 700;
  font-size: .92rem; letter-spacing: .04em;
  background: linear-gradient(to top, rgba(15,18,24,.82), rgba(15,18,24,0));
}
.gallery__item figcaption::before { content: ""; display: inline-block; width: 16px; height: 3px; background: var(--c-accent); vertical-align: middle; margin-right: 8px; border-radius: 3px; }

/* ---------------- Promise ---------------- */
.promise { position: relative; overflow: hidden; }
.promise__bg { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center; transform: scale(1.05); }
.promise__overlay { position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, rgba(22,26,32,.9) 0%, rgba(18,22,46,.86) 55%, rgba(0,0,70,.84) 100%); }
.promise > .container { position: relative; z-index: 1; }
.promise__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.promise__card { backdrop-filter: blur(2px); }
.promise__card {
  position: relative; padding: 44px 30px 36px; border-radius: var(--radius);
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.14);
  text-align: center; transition: transform .35s var(--ease), background .35s;
}
.promise__card:hover { transform: translateY(-6px); background: rgba(255,255,255,.08); }
.promise__no {
  display: inline-grid; place-items: center; width: 62px; height: 62px; margin-bottom: 18px;
  font-family: var(--font-head); font-weight: 900; font-size: 1.4rem; color: #fff;
  border-radius: 50%; background: var(--c-accent); box-shadow: 0 12px 24px -12px rgba(0,0,205,.9);
}
.promise__title { font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; line-height: 1.45; margin-bottom: 14px; letter-spacing: .03em; }
.promise__text { font-size: .92rem; color: rgba(255,255,255,.8); line-height: 1.85; }

/* ---------------- Closing ---------------- */
.closing__inner { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.closing__photo { position: relative; }
.closing__photo img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); position: relative; z-index: 1; }
.closing__photo-deco { position: absolute; left: -16px; top: -16px; width: 70%; height: 70%; border: 3px solid var(--c-accent); border-radius: var(--radius); z-index: 0; }
.closing__eyebrow { font-family: var(--font-head); color: var(--c-accent); letter-spacing: .14em; margin-bottom: 14px; }
.closing__title { font-family: var(--font-head); font-weight: 900; font-size: clamp(1.6rem, 4.5vw, 2.5rem); line-height: 1.42; letter-spacing: .04em; margin-bottom: 24px; }
.closing__text { font-size: .96rem; color: var(--c-ink); line-height: 2; }
.closing__sign { margin-top: 28px; display: flex; align-items: baseline; gap: 14px; }
.closing__sign-label { font-size: .82rem; color: var(--c-ink-soft); letter-spacing: .1em; }
.closing__sign-name { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; letter-spacing: .12em; }

/* ---------------- CTA ---------------- */
.cta { background: linear-gradient(135deg, var(--c-accent) 0%, var(--c-accent-dark) 100%); color: #fff; padding-block: clamp(64px, 9vw, 110px); position: relative; overflow: hidden; }
.cta::before, .cta::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.07); }
.cta::before { width: 320px; height: 320px; top: -120px; right: -80px; }
.cta::after { width: 220px; height: 220px; bottom: -100px; left: -60px; }
.cta__inner { text-align: center; position: relative; z-index: 1; }
.cta__eyebrow { font-family: var(--font-head); letter-spacing: .14em; color: #d9deff; margin-bottom: 14px; }
.cta__title { font-family: var(--font-head); font-weight: 900; font-size: clamp(1.7rem, 5vw, 2.6rem); letter-spacing: .04em; }
.cta__text { margin-top: 18px; font-size: .98rem; line-height: 2; color: rgba(255,255,255,.92); }
.cta__actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; }
.cta .btn--mail { background: #fff; color: var(--c-accent); }
.cta .btn--mail:hover { background: #f3f4ff; }
.cta .btn--tel { background: var(--c-wood-dark); }
.cta__hours { margin-top: 26px; font-size: .82rem; color: rgba(255,255,255,.8); letter-spacing: .04em; }

/* ---------------- Company ---------------- */
.company__table { max-width: 760px; margin: 0 auto; border-top: 1px solid var(--c-line); }
.company__row { display: grid; grid-template-columns: 180px 1fr; border-bottom: 1px solid var(--c-line); }
.company__row dt { font-family: var(--font-head); font-weight: 700; padding: 20px 16px; background: rgba(255,255,255,.5); letter-spacing: .06em; }
.company__row dd { padding: 20px 16px; color: var(--c-ink); }
.company__row dd a:hover { color: var(--c-accent); text-decoration: underline; }

/* ---------------- Footer ---------------- */
.footer { background: var(--c-dark); color: rgba(255,255,255,.85); padding-top: clamp(48px, 7vw, 72px); }
.footer__inner { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; align-items: start; padding-bottom: 40px; }
.footer__brand { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.footer__name { white-space: nowrap; }
.footer__name { font-family: var(--font-head); font-weight: 900; font-size: 1.2rem; letter-spacing: .18em; color: #fff; }
.footer__sub { font-size: .72rem; letter-spacing: .14em; color: rgba(255,255,255,.6); }
.footer__info { font-size: .88rem; line-height: 2; }
.footer__info a:hover { color: #fff; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 8px 22px; align-content: start; }
.footer__nav a { font-size: .86rem; position: relative; }
.footer__nav a:hover { color: #fff; }
.footer__copy { text-align: center; font-size: .76rem; color: rgba(255,255,255,.5); padding: 22px; border-top: 1px solid rgba(255,255,255,.1); letter-spacing: .06em; }

/* ---------------- Floating CTA (SP) ---------------- */
.float-cta { position: fixed; bottom: 0; left: 0; width: 100%; z-index: 800; display: none; grid-template-columns: 1fr 1fr; box-shadow: 0 -8px 24px -16px rgba(0,0,0,.5); }
.float-cta__btn { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px; font-family: var(--font-head); font-weight: 700; font-size: .95rem; color: #fff; }
.float-cta__btn .ico { width: 1.2em; height: 1.2em; fill: currentColor; }
.float-cta__btn--mail { background: var(--c-accent); }
.float-cta__btn--tel { background: var(--c-wood-dark); }

/* ---------------- Scroll reveal ---------------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal:nth-child(2) { transition-delay: .08s; }
.reveal:nth-child(3) { transition-delay: .16s; }
.reveal:nth-child(4) { transition-delay: .24s; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 980px) {
  .reason__list { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

/* nav -> drawer (タブレット幅から) */
@media (max-width: 1120px) {
  .gnav {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 32px;
    background: linear-gradient(160deg, var(--c-dark), #0c1230);
    transform: translateX(100%); transition: transform .45s var(--ease);
    padding: 80px var(--pad);
  }
  .is-menu-open .gnav { transform: translateX(0); }
  .gnav__list { flex-direction: column; gap: 4px; text-align: center; width: 100%; }
  .gnav__link { color: #fff !important; font-size: 1.1rem; font-family: var(--font-head); display: block; padding: 12px; }
  .gnav__link::after { display: none; }
  .gnav__cta { flex-direction: column; width: 100%; max-width: 320px; }
  .gnav__cta .btn { width: 100%; font-size: .95rem; padding: 14px; }
  .hamburger { display: block; }
}

@media (max-width: 820px) {
  .pc-only { display: none; }
  .sp-only { display: inline; }

  .problem__list { grid-template-columns: 1fr; }
  .problem__item { padding: 20px; }
  .reason__list { grid-template-columns: 1fr; }
  .reason__feature { grid-template-columns: 1fr; gap: 28px; }
  .reason__feature-img::after { display: none; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .works__grid { grid-template-columns: 1fr; gap: 24px; }
  .promise__list { grid-template-columns: 1fr; }
  .closing__inner { grid-template-columns: 1fr; }
  .closing__photo { max-width: 420px; margin: 0 auto; }
  .footer__inner { grid-template-columns: 1fr; gap: 24px; }

  .float-cta { display: grid; }
  body { padding-bottom: 56px; }
  .hero__scroll { display: none; }

  /* SP: ヒーロー動画の表示位置を左寄りに */
  .hero__video { object-position: 20% center; }
}

@media (max-width: 480px) {
  body { font-size: 15px; }
  .btn--lg { min-width: 0; width: 100%; }
  .cta__actions { flex-direction: column; align-items: stretch; }
  .company__row { grid-template-columns: 100px 1fr; }
  .company__row dt { padding: 14px 12px; font-size: .85rem; }
  .company__row dd { padding: 14px 12px; font-size: .9rem; }
  .hero__inner { padding-top: 96px; }
}

/* reduce motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
