@charset "utf-8";
/* ==========================================================================
   株式会社スペースラボ コーポレートサイト
   style.css
   1. 変数（色・フォント）  2. リセット／共通  3. ヘッダー  4. ヒーロー
   5. セクション共通  6. 会社紹介  7. 業務内容  8. 対応の流れ
   9. お問い合わせ／FAQ  10. フッター  11. スマホ固定バー  12. レスポンシブ
   ========================================================================== */

/* ---------- 1. 変数 ------------------------------------------------------ */
:root{
  --brand:#0953A0;          /* ブランドブルー */
  --brand-dark:#073D78;     /* ネイビー（見出し） */
  --brand-pale:#EAF1F8;     /* 淡いブルー背景 */
  --brand-line:#D3E3F2;     /* 罫線 */
  --accent:#C9A27E;         /* アクセント（ゴールド） */
  --ink:#4C4949;            /* 本文 */
  --ink-mute:#7d7a7a;       /* 補足テキスト */
  --page:#FAFAF8;           /* ページ背景 */
  --white:#fff;

  --font-ja:"Noto Sans JP",system-ui,sans-serif;
  --font-head:"Zen Kaku Gothic New","Noto Sans JP",sans-serif;
  --font-en:"Jost",system-ui,sans-serif;

  --radius:12px;
  --shadow-sm:0 4px 16px rgba(9,83,160,.08);
  --shadow-md:0 10px 30px rgba(9,83,160,.18);
  --shadow-lg:0 20px 44px rgba(9,83,160,.22);

  --container:1280px;
  --gutter:clamp(20px,3vw,48px);
  --header-h:100px;         /* ヘッダー高さ（PC。メニュークリック時の停止位置に使用） */
}

/* ---------- 2. リセット／共通 ------------------------------------------- */
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%;scroll-padding-top:var(--header-h)}
body{
  margin:0;background:var(--page);color:var(--ink);
  font-family:var(--font-ja);font-size:16px;line-height:1.8;
  -webkit-font-smoothing:antialiased;overflow-x:hidden;
}
h1,h2,h3,p,ul,ol,li,dl,dt,dd,figure{margin:0;padding:0}
ul,ol{list-style:none}
img{display:block;max-width:100%;height:auto}
a{color:var(--brand);text-decoration:none;transition:color .25s ease}
a:hover{color:var(--brand-dark)}
svg{display:block;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
summary::-webkit-details-marker{display:none}
.nowrap{white-space:nowrap}
:focus-visible{outline:2px solid var(--brand);outline-offset:2px}

/* ボタン */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  font-weight:700;border-radius:8px;white-space:nowrap;
  transition:transform .25s ease,box-shadow .25s ease,background .25s ease,color .25s ease;
}
.btn svg{width:15px;height:15px;stroke-width:2.2;flex:0 0 auto}
.btn--primary{background:var(--brand);color:var(--white);box-shadow:0 4px 16px rgba(9,83,160,.22)}
.btn--primary:hover{background:var(--brand-dark);color:var(--white);transform:translateY(-2px);box-shadow:0 10px 24px rgba(9,83,160,.3)}
.btn--light{background:var(--white);color:var(--brand-dark);box-shadow:0 12px 32px rgba(7,61,120,.18)}
.btn--light:hover{color:var(--brand);transform:translateY(-3px);box-shadow:0 18px 40px rgba(7,61,120,.3)}
.btn--sm{font-size:14px;padding:13px 22px;border-radius:7px}
.btn--lg{font-size:16px;padding:17px 32px}
.btn--block{width:100%;font-size:15px;padding:16px 24px}

/* 写真枠 */
.ph{position:relative;overflow:hidden;border-radius:var(--radius);box-shadow:var(--shadow-sm);background:var(--brand-line)}
.ph img{width:100%;height:100%;object-fit:cover}

/* ---------- 3. ヘッダー ------------------------------------------------- */
.site-header{
  position:fixed;inset:0 0 auto;z-index:60;
  background:rgba(250,250,248,.94);backdrop-filter:blur(10px);
  border-bottom:1px solid var(--brand-line);transition:box-shadow .3s ease;
}
.site-header.is-scrolled{box-shadow:0 6px 24px rgba(7,61,120,.1)}
.header-inner{
  max-width:var(--container);margin:0 auto;padding:0 var(--gutter);
  height:100px;display:flex;align-items:center;justify-content:space-between;gap:32px;
  transition:height .3s ease;
}
.site-header.is-scrolled .header-inner{height:74px}
.header-logo{flex:0 0 auto;display:flex;align-items:center}
.header-logo img{height:64px;width:auto;transition:height .3s ease}
.site-header.is-scrolled .header-logo img{height:48px}

.header-nav{display:flex;align-items:center}
.nav-list{display:flex;align-items:center;gap:clamp(20px,2.4vw,40px)}
.nav-list a{
  font-size:15px;font-weight:500;color:var(--brand-dark);padding-bottom:6px;
  background-image:linear-gradient(var(--brand),var(--brand));
  background-repeat:no-repeat;background-position:left bottom;background-size:0 2px;
  transition:background-size .32s cubic-bezier(.4,0,.2,1),color .25s ease;
}
.nav-list a:hover{background-size:100% 2px;color:var(--brand)}
.nav-only-sp,.nav-tel-sp{display:none}

.header-cta{
  display:flex;align-items:center;gap:16px;
  padding-left:clamp(8px,1.5vw,24px);margin-left:4px;border-left:1px solid var(--brand-line);
}
.header-info{display:flex;flex-direction:column;align-items:flex-end;gap:4px;line-height:1.3}
.header-info__company{font-size:15px;font-weight:700;letter-spacing:.16em;color:var(--brand-dark);white-space:nowrap}
.header-info__tel{font-family:var(--font-en);font-size:19px;font-weight:500;letter-spacing:.04em;color:var(--brand-dark);white-space:nowrap}
.header-info__hours{font-size:11px;color:var(--ink-mute);letter-spacing:.04em;white-space:nowrap}

.nav-toggle{
  display:none;width:44px;height:44px;padding:0;cursor:pointer;
  border:1px solid var(--brand-line);background:var(--white);border-radius:10px;
  flex-direction:column;align-items:center;justify-content:center;gap:5px;
}
.nav-toggle span{display:block;width:20px;height:2px;background:var(--brand);border-radius:2px;transition:transform .3s ease,opacity .2s ease}
.nav-toggle.is-open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.nav-toggle.is-open span:nth-child(2){opacity:0}
.nav-toggle.is-open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

/* ---------- 4. ヒーロー ------------------------------------------------- */
.hero{position:relative;height:min(88svh,740px);min-height:520px;overflow:hidden;background:var(--brand-dark)}
.hero__media{position:absolute;inset:0;overflow:hidden}
.hero__slide{
  position:absolute;inset:-4%;opacity:0;
  background-size:cover;background-position:center;
  transition:opacity 1.4s ease-in-out;
  animation:heroZoom 14s ease-in-out infinite alternate;
}
.hero__slide.is-active{opacity:1}
.hero__slide:nth-child(2){animation-direction:alternate-reverse}
@keyframes heroZoom{from{transform:scale(1)}to{transform:scale(1.1) translate3d(-1.5%,-1%,0)}}
.hero__overlay{
  position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(105deg,rgba(7,61,120,.62) 0%,rgba(9,83,160,.4) 45%,rgba(9,83,160,.16) 100%);
}
.hero__overlay-bottom{
  position:absolute;inset:auto 0 0;height:34%;pointer-events:none;
  background:linear-gradient(to top,rgba(7,61,120,.38),rgba(7,61,120,0));
}
.hero__watermark{
  position:absolute;left:clamp(16px,2vw,40px);top:clamp(146px,19vh,200px);
  font-family:var(--font-en);font-size:min(11vw,20svh,160px);font-weight:600;
  line-height:.9;letter-spacing:.02em;color:rgba(255,255,255,.26);
  pointer-events:none;user-select:none;
}
.hero__inner{
  position:relative;height:100%;max-width:var(--container);margin:0 auto;
  padding:150px var(--gutter) 52px;
  display:flex;flex-direction:row-reverse;align-items:flex-end;justify-content:space-between;
  gap:clamp(24px,4vw,72px);
}
.hero__catch{
  align-self:stretch;margin-right:clamp(24px,6vw,110px);padding-top:clamp(20px,4vh,48px);
  display:flex;flex-direction:row-reverse;align-items:flex-start;gap:clamp(8px,1vw,18px);
  font-family:var(--font-head);font-weight:700;font-size:min(3.4vw,4.2svh,48px);
  line-height:1.5;letter-spacing:.14em;color:var(--white);
  text-shadow:0 4px 24px rgba(7,61,120,.45);
}
.hero__catch span{writing-mode:vertical-rl;white-space:nowrap}
.hero__catch span:nth-child(2){margin-top:clamp(16px,3vw,44px)}
.hero__body{display:flex;flex-direction:column;gap:clamp(14px,2.2vh,24px);max-width:min(620px,54vw)}
.hero__lead{font-size:17px;line-height:2.05;letter-spacing:.03em;color:rgba(255,255,255,.92)}
.hero__actions{display:flex;flex-wrap:wrap;align-items:center;gap:16px}
.hero__tel{display:inline-flex;align-items:center;gap:8px;white-space:nowrap;font-size:13px;color:rgba(255,255,255,.85)}
.hero__tel svg{width:16px;height:16px}
.hero__tel a{font-family:var(--font-en);font-size:17px;font-weight:500;letter-spacing:.03em;color:var(--white)}
.hero__tel a:hover{color:var(--white);text-decoration:underline}

.hero__dots{position:absolute;left:var(--gutter);bottom:26px;display:flex;align-items:center;gap:10px;z-index:2}
.hero__dots button{
  width:34px;height:3px;padding:0;border:0;border-radius:2px;cursor:pointer;
  background:rgba(255,255,255,.34);transition:background .3s ease;
}
.hero__dots button.is-active{background:var(--white)}

.hero__scroll{position:absolute;right:clamp(12px,1.4vw,22px);bottom:24px;display:flex;flex-direction:column;align-items:center;gap:10px;pointer-events:none}
.hero__scroll-label{writing-mode:vertical-rl;font-family:var(--font-en);font-size:10px;letter-spacing:.32em;color:rgba(255,255,255,.7)}
.hero__scroll-line{position:relative;display:block;width:1px;height:56px;background:rgba(255,255,255,.28);overflow:hidden}
.hero__scroll-line i{position:absolute;inset:0;display:block;background:var(--white);animation:scrollLine 2.2s ease-in-out infinite}
@keyframes scrollLine{0%{transform:translateY(-100%);opacity:0}40%{opacity:1}100%{transform:translateY(100%);opacity:0}}

/* ---------- 5. セクション共通 ------------------------------------------- */
.section{position:relative;overflow:hidden;padding:clamp(88px,9vw,140px) 0}
.section--about{padding-bottom:clamp(190px,17vw,240px)}
.section--services{background:var(--brand-pale)}
.section--contact{background:linear-gradient(180deg,var(--brand-pale) 0%,var(--brand-pale) 70%,var(--page) 100%)}
.section__inner{position:relative;max-width:var(--container);margin:0 auto;padding:0 var(--gutter);display:flex;gap:clamp(32px,4vw,64px)}
.section__head{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;gap:22px;padding-top:6px}
.section__eyebrow{writing-mode:vertical-rl;font-family:var(--font-en);font-size:12px;font-weight:500;letter-spacing:.34em;color:var(--brand)}
.section__title{writing-mode:vertical-rl;font-family:var(--font-head);font-size:clamp(24px,2.1vw,30px);font-weight:700;letter-spacing:.2em;color:var(--brand-dark)}
.section__rule{display:block;width:1px;height:clamp(60px,8vw,110px);background:linear-gradient(var(--brand),rgba(9,83,160,0))}
.section__body{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:clamp(32px,4vw,56px)}
.section__lead{font-size:15.5px;line-height:2.05;letter-spacing:.02em;max-width:720px}
.section__lead b{color:var(--brand)}
.sp-only{display:none}

/* 背景の英字 */
.bg-word{
  position:absolute;top:clamp(24px,3.5vw,56px);
  font-family:var(--font-en);font-size:clamp(100px,14vw,230px);font-weight:600;
  line-height:.82;letter-spacing:.01em;color:rgba(9,83,160,.07);
  pointer-events:none;user-select:none;
}
.bg-word--left{left:clamp(-24px,-2vw,0px)}
.bg-word--right{right:clamp(-30px,-2vw,0px);color:rgba(9,83,160,.08)}

/* 設計図ドローイング */
.blueprint{position:absolute;height:auto;pointer-events:none;user-select:none;stroke-width:1}
.blueprint--about{right:-120px;bottom:-80px;width:min(720px,52vw);opacity:.5}
.blueprint--services{left:-170px;bottom:-110px;width:min(760px,54vw);opacity:.55}

/* カード共通ヘッド */
.card{background:var(--white);border:1px solid var(--brand-line);border-radius:var(--radius);box-shadow:var(--shadow-sm);padding:clamp(28px,3vw,44px)}
.card__head{display:flex;align-items:center;gap:14px;margin-bottom:26px}
.card__head h3{font-family:var(--font-head);font-size:18px;font-weight:700;letter-spacing:.14em;color:var(--brand-dark);white-space:nowrap}
.card__en{font-family:var(--font-en);font-size:11px;font-weight:500;letter-spacing:.28em;color:var(--accent)}
.card__rule{flex:1 1 auto;height:1px;background:var(--brand-line)}

/* ---------- 6. 会社紹介 ------------------------------------------------- */
.about__grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:clamp(32px,3.5vw,56px);align-items:start}
.about__text{display:flex;flex-direction:column;gap:22px}
.about__text p{font-size:15.5px;line-height:2.1;letter-spacing:.02em;text-wrap:pretty}
.about__catch{font-family:var(--font-head);font-size:clamp(19px,1.7vw,24px)!important;font-weight:700;line-height:1.9!important;letter-spacing:.06em!important;color:var(--brand-dark)}
.about__figures{position:relative;display:flex;flex-direction:column;gap:18px}
.about__figures::before{content:"";position:absolute;left:-18px;top:-18px;right:18px;bottom:18px;background:var(--brand-pale);border-radius:var(--radius)}
.ph--about-main{height:clamp(300px,30vw,420px)}
.about__figures-row{position:relative;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.ph--about-sub{height:clamp(130px,13vw,180px)}

.company__list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px clamp(24px,3vw,48px)}
.company__row{display:flex;gap:16px;align-items:flex-start;padding:16px 0;border-bottom:1px solid var(--brand-pale)}
.company__row>span:last-child{display:flex;flex-direction:column;gap:3px;min-width:0}
.company__icon{flex:0 0 auto;width:34px;height:34px;border-radius:9px;background:var(--brand-pale);display:flex;align-items:center;justify-content:center;color:var(--brand)}
.company__icon svg{width:18px;height:18px}
.company__row dt{font-size:12px;letter-spacing:.1em;color:var(--ink-mute)}
.company__row dd{font-size:15.5px;font-weight:500;line-height:1.7;color:var(--brand-dark)}
.company__num{font-family:var(--font-en);font-size:16px;font-weight:500;letter-spacing:.03em;white-space:nowrap}

/* ---------- 7. 業務内容 ------------------------------------------------- */
.services{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(20px,2.2vw,32px)}
.svc{
  display:flex;flex-direction:column;background:var(--white);border-radius:var(--radius);
  overflow:hidden;box-shadow:var(--shadow-sm);
  transition:transform .3s cubic-bezier(.4,0,.2,1),box-shadow .3s ease;
}
.svc:hover{transform:translateY(-6px);box-shadow:var(--shadow-lg)}
.svc__media{position:relative;height:200px;background:var(--brand-line)}
.svc__media img{width:100%;height:100%;object-fit:cover}
.svc__no{
  position:absolute;left:0;top:0;width:52px;height:52px;
  display:flex;align-items:center;justify-content:center;
  background:var(--brand);color:var(--white);font-family:var(--font-en);font-size:19px;font-weight:500;
}
.svc__body{flex:1 1 auto;display:flex;flex-direction:column;gap:16px;padding:clamp(24px,2.4vw,32px)}
.svc__title{font-family:var(--font-head);font-size:clamp(18px,1.6vw,21px);font-weight:700;letter-spacing:.06em;color:var(--brand-dark);white-space:nowrap}
.svc__text{font-size:14.5px;line-height:2;letter-spacing:.02em;text-wrap:pretty}
.fits{margin-top:auto;display:flex;flex-direction:column;gap:10px;padding:18px 20px;background:var(--page);border-left:2px solid var(--accent);border-radius:0 8px 8px 0}
.fits__label{font-size:12px;font-weight:700;letter-spacing:.14em;color:var(--accent)}
.fits ul{display:flex;flex-direction:column;gap:7px}
.fits li{display:flex;gap:9px;align-items:flex-start;font-size:13.5px;line-height:1.75}
.fits li svg{width:15px;height:15px;stroke:var(--brand);stroke-width:2.4;flex:0 0 auto;margin-top:3px}
.fits li span{flex:1 1 auto;min-width:0}

/* ---------- 8. 対応の流れ ----------------------------------------------- */
.flow{position:relative;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(14px,1.6vw,24px)}
.flow::before{content:"";position:absolute;left:6%;right:6%;top:34px;height:1px;background:var(--brand-line)}
.flow__step{position:relative;display:flex;flex-direction:column;align-items:center;gap:18px;padding:0 6px;text-align:center}
.flow__num{
  width:68px;height:68px;border-radius:50%;display:flex;align-items:center;justify-content:center;
  font-family:var(--font-en);font-size:24px;font-weight:500;
  background:var(--white);color:var(--brand-dark);border:1px solid var(--brand-line);box-shadow:var(--shadow-sm);
  transition:transform .3s ease,box-shadow .3s ease;
}
.flow__num.is-current{background:var(--brand);color:var(--white);border-color:var(--brand);box-shadow:0 10px 24px rgba(9,83,160,.28)}
.flow__num.is-pulse{transform:translateY(-6px);box-shadow:0 14px 30px rgba(9,83,160,.22)}
.flow__text{display:flex;flex-direction:column;gap:8px}
.flow__text b{font-family:var(--font-head);font-size:16.5px;font-weight:700;letter-spacing:.08em;color:var(--brand-dark);white-space:nowrap}
.flow__text span{font-size:13px;line-height:1.85;color:var(--ink-mute);white-space:nowrap}

/* ---------- 9. お問い合わせ／FAQ ---------------------------------------- */
.contact__intro{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:24px}
.contact__catch{font-family:var(--font-head);font-size:clamp(21px,2vw,28px);font-weight:700;line-height:1.85;letter-spacing:.06em;color:var(--brand-dark);white-space:nowrap}
.chips{display:flex;flex-wrap:wrap;gap:10px}
.chips li{display:flex;align-items:center;gap:8px;flex:0 0 auto;background:var(--white);border:1px solid var(--brand-line);border-radius:999px;padding:9px 18px;font-size:13px;color:var(--brand-dark);white-space:nowrap}
.chips li svg{width:15px;height:15px;stroke:var(--brand)}

.contact__cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(20px,2.2vw,28px)}
.ccard{
  position:relative;display:flex;flex-direction:column;justify-content:space-between;gap:28px;
  min-height:250px;padding:clamp(28px,3vw,40px);border-radius:var(--radius);overflow:hidden;
  transition:transform .3s cubic-bezier(.4,0,.2,1),box-shadow .3s ease;
}
.ccard:hover{transform:translateY(-6px)}
.ccard--form{background:var(--brand);color:var(--white);box-shadow:var(--shadow-md)}
.ccard--form:hover{color:var(--white);box-shadow:0 22px 48px rgba(9,83,160,.32)}
.ccard--tel{background:var(--white);border:1px solid var(--brand-line);box-shadow:var(--shadow-sm)}
.ccard--tel:hover{box-shadow:0 20px 44px rgba(9,83,160,.16)}
.ccard__word{position:absolute;right:-20px;bottom:-40px;font-family:var(--font-en);font-size:120px;font-weight:600;line-height:1;pointer-events:none}
.ccard--form .ccard__word{color:rgba(255,255,255,.1)}
.ccard--tel .ccard__word{color:rgba(9,83,160,.07)}
.ccard__head{position:relative;display:flex;align-items:center;gap:14px}
.ccard__icon{width:52px;height:52px;border-radius:13px;display:flex;align-items:center;justify-content:center;flex:0 0 auto}
.ccard__icon svg{width:24px;height:24px;stroke-width:1.9}
.ccard--form .ccard__icon{background:rgba(255,255,255,.16);color:var(--white)}
.ccard--tel .ccard__icon{background:var(--brand-pale);color:var(--brand)}
.ccard__titles{display:flex;flex-direction:column;gap:5px}
.ccard__en{font-family:var(--font-en);font-size:12px;font-weight:500;letter-spacing:.3em}
.ccard--form .ccard__en{color:rgba(255,255,255,.75)}
.ccard--tel .ccard__en{color:var(--brand)}
.ccard__ja{font-family:var(--font-head);font-size:clamp(19px,1.7vw,23px);font-weight:700;letter-spacing:.08em;white-space:nowrap}
.ccard--tel .ccard__ja{color:var(--brand-dark)}
.ccard__foot{position:relative;display:flex;flex-direction:column;gap:16px;align-items:flex-start}
.ccard__foot .btn{padding:15px 26px;font-size:15px}
.ccard__note{font-size:13.5px;line-height:1.9}
.ccard--form .ccard__note{color:rgba(255,255,255,.88);font-size:14px}
.ccard--tel .ccard__note{color:var(--ink-mute);letter-spacing:.02em}
.ccard__num{font-family:var(--font-en);font-size:clamp(34px,3.6vw,46px);font-weight:500;letter-spacing:.02em;line-height:1.1;color:var(--brand-dark)}
.ccard__num:hover{color:var(--brand)}

.faq{display:flex;flex-direction:column;gap:16px}
.qa{background:var(--white);border:1px solid var(--brand-line);border-radius:10px;overflow:hidden}
.qa summary{display:flex;align-items:center;gap:16px;padding:20px 24px;cursor:pointer;list-style:none}
.qa__q,.qa__a{flex:0 0 auto;font-family:var(--font-en);font-size:17px;font-weight:500}
.qa__q{color:var(--brand)}
.qa__a{color:var(--accent)}
.qa__text{flex:1 1 auto;font-size:15.5px;font-weight:500;color:var(--brand-dark);letter-spacing:.03em}
.qa__chev{width:18px;height:18px;flex:0 0 auto;stroke:var(--brand);transition:transform .3s ease}
.qa[open] .qa__chev{transform:rotate(180deg)}
.qa__body{display:flex;gap:16px;padding:18px 24px 22px;border-top:1px solid var(--brand-pale);font-size:14.5px;line-height:2;letter-spacing:.02em}

/* ---------- 10. フッター ------------------------------------------------ */
.site-footer{position:relative;background:var(--brand-dark);color:var(--white);overflow:hidden}
.site-footer__mark{
  position:absolute;right:var(--gutter);top:clamp(10px,1.2vw,18px);
  width:min(400px,32vw);opacity:.07;filter:brightness(0) invert(1);
  pointer-events:none;user-select:none;
}
.site-footer__inner{
  position:relative;max-width:var(--container);margin:0 auto;
  padding:clamp(64px,6vw,96px) var(--gutter) 40px;
  display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.7fr) minmax(0,1fr);gap:clamp(32px,4vw,64px);
}
.site-footer__brand{display:flex;flex-direction:column;gap:20px}
.site-footer__logo{height:56px;width:auto;align-self:flex-start;filter:brightness(0) invert(1);opacity:.96}
.site-footer__meta{display:flex;flex-direction:column;gap:7px;font-size:13.5px;line-height:1.9;color:rgba(255,255,255,.8)}
.site-footer__company{font-family:var(--font-head);font-size:15px;font-weight:700;letter-spacing:.1em;color:var(--white);white-space:nowrap}
.site-footer__num{font-family:var(--font-en);font-size:14px;letter-spacing:.03em}
.site-footer__nav{display:flex;flex-direction:column;gap:14px}
.site-footer__navlabel{font-family:var(--font-en);font-size:11px;font-weight:500;letter-spacing:.3em;color:rgba(255,255,255,.55)}
.site-footer__nav a{font-size:14px;color:rgba(255,255,255,.86)}
.site-footer__nav a:hover{color:var(--white)}
.site-footer__cta{display:flex;flex-direction:column;gap:18px;padding:clamp(24px,2.4vw,32px);background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.14);border-radius:var(--radius)}
.site-footer__ctacopy{font-family:var(--font-head);font-size:16px;font-weight:700;line-height:1.8;letter-spacing:.06em}
.site-footer__ctanote{font-size:12.5px;line-height:1.9;color:rgba(255,255,255,.72)}
.site-footer__ctatel{font-family:var(--font-en);font-size:19px;font-weight:500;letter-spacing:.03em;color:var(--white)}
.site-footer__ctatel:hover{color:var(--white);text-decoration:underline}
.site-footer__bottom{
  position:relative;border-top:1px solid rgba(255,255,255,.14);
  max-width:var(--container);margin:0 auto;padding:20px var(--gutter);
  display:flex;align-items:center;justify-content:space-between;gap:16px;
}
.site-footer__copy,.site-footer__tagline{font-family:var(--font-en);white-space:nowrap}
.site-footer__copy{font-size:11.5px;letter-spacing:.14em;color:rgba(255,255,255,.6)}
.site-footer__tagline{font-size:10.5px;letter-spacing:.3em;color:rgba(255,255,255,.4)}

/* ---------- 11. スマホ固定バー ------------------------------------------ */
.fixed-bar{display:none}

/* ---------- 12. スクロール表示アニメーション ---------------------------- */
.reveal.is-hidden{opacity:0}
.reveal.is-shown{animation:fadeUp .8s cubic-bezier(.22,1,.36,1) both}
@keyframes fadeUp{from{opacity:0;transform:translateY(28px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation:none!important;transition-duration:.01ms!important}
  .reveal.is-hidden{opacity:1}
}

/* ==========================================================================
   レスポンシブ（タブレット）
   ========================================================================== */
@media (max-width:1240px){
  .hero__lead br{display:none}
}
@media (max-width:1100px){
  .header-info__hours{display:none}
  .nav-list{gap:18px}
  .nav-list a{font-size:14px}
  .about__grid{grid-template-columns:1fr}
  .company__list{grid-template-columns:1fr}
  .flow{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px 16px}
  .flow::before{display:none}
}

/* ==========================================================================
   レスポンシブ（スマートフォン）
   ========================================================================== */
@media (max-width:900px){
  :root{--header-h:64px}   /* スマホのヘッダー高さ */
  body{padding-bottom:0}

  /* ヘッダー */
  .header-inner{height:64px;padding:0 16px;gap:12px}
  .site-header.is-scrolled .header-inner{height:64px}
  .header-logo img,.site-header.is-scrolled .header-logo img{height:38px}
  .nav-toggle{display:flex}
  .header-cta{display:none}
  .header-nav{
    display:none;position:absolute;inset:100% 0 auto;
    flex-direction:column;align-items:stretch;
    padding:8px 16px 20px;background:var(--white);border-top:1px solid var(--brand-pale);
    box-shadow:0 12px 28px rgba(7,61,120,.12);
  }
  .header-nav.is-open{display:flex}
  .nav-list{flex-direction:column;align-items:stretch;gap:0}
  .nav-list a{padding:15px 4px;font-size:15px;background-image:none;border-bottom:1px solid var(--brand-pale)}
  .nav-list li:last-child a{border-bottom:0}
  .nav-only-sp{display:block}
  .nav-tel-sp{display:flex;flex-direction:column;gap:4px;margin-top:14px;padding:14px 16px;background:var(--brand-pale);border-radius:10px}
  .nav-tel-sp__num{font-family:var(--font-en);font-size:20px;font-weight:500;letter-spacing:.03em;color:var(--brand-dark)}
  .nav-tel-sp__hours{font-size:11.5px;color:var(--ink-mute)}

  /* ヒーロー */
  .hero{height:auto;min-height:0}
  .hero__watermark{left:10px;top:82px;font-size:min(21vw,86px);line-height:.88;color:rgba(255,255,255,.26)}
  .hero__overlay{background:linear-gradient(160deg,rgba(7,61,120,.62) 0%,rgba(9,83,160,.4) 45%,rgba(9,83,160,.2) 100%)}
  .hero__overlay-bottom{height:46%;background:linear-gradient(to top,rgba(7,61,120,.5),rgba(7,61,120,0))}
  .hero__inner{
    height:auto;min-height:calc(100svh - 64px);
    padding:84px 20px 104px;flex-direction:column;align-items:stretch;justify-content:space-between;gap:24px;
  }
  .hero__catch{
    align-self:flex-end;margin-right:0;padding-top:8px;gap:6px;
    font-size:min(6.2vw,3.4svh,26px);letter-spacing:.13em;
  }
  .hero__catch span:nth-child(2){margin-top:22px}
  .hero__body{max-width:none;gap:16px}
  .hero__lead{font-size:13.5px;line-height:1.95}
  .hero__lead br{display:none}
  .hero__actions{flex-direction:column;align-items:stretch;gap:10px}
  .hero__actions .btn{min-height:52px;font-size:15px;padding:14px 20px}
  .hero__tel{display:none}
  .hero__dots{left:20px;bottom:88px}
  .hero__dots button{width:28px}
  .hero__scroll{display:none}

  /* セクション共通：見出しを横書きに */
  .section{padding:74px 0 96px}
  .section--about{padding-bottom:130px}
  .section--services{padding-bottom:120px}
  .section__inner{flex-direction:column;gap:22px;padding:0 20px}
  .section__head{flex-direction:column;align-items:stretch;gap:8px;padding-top:0}
  .section__eyebrow{writing-mode:horizontal-tb;font-size:10px;letter-spacing:.3em}
  .section__title{writing-mode:horizontal-tb;font-size:22px;letter-spacing:.16em}
  .section__rule{width:100%;height:1px;background:linear-gradient(to right,var(--brand),rgba(9,83,160,0))}
  .section__body{gap:26px}
  .section__lead{font-size:14px;line-height:2}
  .section__lead br{display:none}
  .sp-only{display:block}

  .bg-word{top:18px;font-size:min(23vw,96px)}
  .bg-word--left{left:-8px}
  .bg-word--right{right:-10px}
  .blueprint--about{right:-70px;bottom:-30px;width:min(430px,112vw);opacity:.5}
  .blueprint--services{left:-90px;bottom:-40px;width:min(450px,116vw);opacity:.55}

  /* 会社紹介 */
  .about__grid{gap:24px}
  .about__text{gap:16px}
  .about__text p{font-size:14px;line-height:2}
  .about__catch{font-size:17px!important}
  .about__figures{gap:12px}
  .about__figures::before{display:none}
  .ph--about-main{height:210px}
  .about__figures-row{gap:12px}
  .ph--about-sub{height:120px}
  .card{padding:22px 18px}
  .card__head{margin-bottom:14px}
  .card__head h3{font-size:16px;letter-spacing:.12em}
  .company__row{flex-direction:column;gap:4px;padding:13px 0}
  .company__icon{display:none}
  .company__row dd,.company__num{font-size:14.5px;white-space:normal}

  /* 業務内容 */
  .services{grid-template-columns:1fr;gap:20px}
  .svc__media{height:190px}
  .svc__no{width:46px;height:46px;font-size:17px}
  .svc__body{padding:22px 18px 20px;gap:14px}
  .svc__title{font-size:18px;white-space:normal}
  .svc__text{font-size:13.5px;line-height:1.95}
  .fits{padding:16px}
  .fits li{font-size:13px}

  /* 対応の流れ */
  .flow{grid-template-columns:1fr;gap:0}
  .flow__step{flex-direction:row;align-items:flex-start;gap:16px;text-align:left;padding:0 0 26px;position:relative}
  .flow__step::before{content:"";position:absolute;left:26px;top:58px;bottom:0;width:1px;background:var(--brand-line)}
  .flow__step:last-child::before{display:none}
  .flow__num{width:52px;height:52px;font-size:20px;flex:0 0 auto}
  .flow__text{gap:6px;padding-top:6px}
  .flow__text b{font-size:16px;white-space:normal}
  .flow__text span{font-size:13px;white-space:normal}

  /* お問い合わせ */
  .contact__intro{flex-direction:column;align-items:stretch;gap:16px}
  .contact__catch{font-size:18px;white-space:normal}
  .chips{flex-direction:column}
  .chips li{padding:11px 16px;font-size:12.5px}
  .contact__cards{grid-template-columns:1fr;gap:16px}
  .ccard{min-height:0;gap:18px;padding:26px 20px}
  .ccard:hover{transform:none}
  .ccard__word{font-size:84px;right:-14px;bottom:-30px}
  .ccard__icon{width:46px;height:46px}
  .ccard__ja{font-size:18px;white-space:normal}
  .ccard__foot .btn{width:100%;min-height:52px}
  .ccard__num{
    display:flex;align-items:center;justify-content:center;
    width:100%;min-height:56px;background:var(--brand-pale);border-radius:8px;font-size:28px;
  }
  .qa summary{padding:17px 16px;gap:12px;min-height:52px}
  .qa__text{font-size:14px;line-height:1.7}
  .qa__body{padding:16px;font-size:13.5px;line-height:1.95}

  /* フッター */
  .site-footer__mark{right:12px;top:10px;width:min(230px,60vw)}
  .site-footer__inner{grid-template-columns:1fr;gap:26px;padding:44px 20px 28px}
  .site-footer__logo{height:46px}
  .site-footer__nav{flex-flow:row wrap;gap:10px 18px}
  .site-footer__navlabel{display:none}
  .site-footer__nav a{font-size:13px}
  .site-footer__cta{padding:22px 18px}
  .site-footer__ctacopy{font-size:15px}
  .site-footer__ctacopy br{display:none}
  .site-footer__cta .btn{min-height:52px}
  .site-footer__bottom{flex-direction:column;align-items:flex-start;gap:6px;padding:16px 20px}
  .site-footer__copy{font-size:11px;letter-spacing:.12em}
  .site-footer__tagline{font-size:9.5px;letter-spacing:.28em}

  /* 固定CTAバー */
  .fixed-bar{
    position:fixed;inset:auto 0 0;z-index:70;
    display:grid;grid-template-columns:1fr 1fr;gap:8px;
    padding:10px 12px calc(10px + env(safe-area-inset-bottom));
    background:rgba(250,250,248,.96);backdrop-filter:blur(10px);
    border-top:1px solid var(--brand-line);box-shadow:0 -6px 20px rgba(7,61,120,.1);
  }
  .fixed-bar a{display:flex;align-items:center;justify-content:center;gap:8px;min-height:52px;font-size:14px;font-weight:700;border-radius:8px}
  .fixed-bar svg{width:16px;height:16px}
  .fixed-bar__tel{background:var(--white);border:1px solid var(--brand);color:var(--brand)}
  .fixed-bar__form{background:var(--brand);color:var(--white);box-shadow:0 6px 18px rgba(9,83,160,.28)}
  .fixed-bar__form:hover{color:var(--white)}
}

