/* ============================================================
   株式会社Fiore コーポレートLP  ── Bold Corporate (Red / White / Dark)
   参考：propagateinc.com/smart-seo のデザイン言語を、Fioreの
   物流事業（在庫・梱包・発送）向けに再構成。
   ============================================================ */
:root {
  /* --- カラー（赤コーポレート／Fioreのローズを少し温かい紅に） --- */
  --red:      #D8283C;   /* 主要アクセント */
  --red-d:    #A81628;   /* 濃赤（3Dボタン下端・ホバー） */
  --red-dd:   #7C0E1C;   /* さらに濃い赤 */
  --orange:   #F0782A;   /* リボン */
  --ink:      #1E1416;   /* 本文・見出し（温かい黒） */
  --sub:      #5E5157;   /* 補助テキスト */
  --base:     #FFFFFF;   /* ページ背景 */
  --paper:    #FBF6F6;   /* 微差の面 */
  --pink:     #FCECEE;   /* 淡ピンク面 */
  --pink-2:   #F8DADD;   /* 濃いめ淡ピンク */
  --line:     #ECE1E2;   /* 罫線 */
  --line-2:   #E0D1D3;   /* やや濃い罫線 */
  --dark-1:   #2A0C10;   /* ダーク面（上） */
  --dark-2:   #140709;   /* ダーク面（下） */

  --font: 'Zen Kaku Gothic New', sans-serif;
  --font-brand: 'Zen Maru Gothic', sans-serif;

  --maxw: 1180px;
  --gutter: clamp(1.15rem, 4.5vw, 3rem);
  --radius: 16px;
  --radius-lg: 26px;

  font-size: 16px;
  --ease: cubic-bezier(.22, .68, .16, 1);
  --ease-out: cubic-bezier(.16, .84, .32, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  overflow-x: clip;
  font-family: var(--font);
  font-weight: 500;
  color: var(--ink);
  background: var(--base);
  line-height: 1.85;
  font-feature-settings: "palt";
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
::selection { background: var(--red); color: #fff; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- スクロール進捗バー ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 200; pointer-events: none;
  background: linear-gradient(90deg, var(--red-dd), var(--red), var(--orange));
}

/* ---------- 共通：赤い3Dボタン ---------- */
.btn-cta {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-weight: 900; font-size: .95rem; color: #fff; text-align: center;
  background: linear-gradient(180deg, #E23346, var(--red));
  padding: .95em 1.9em; border: 0; border-radius: 999px; cursor: pointer;
  box-shadow: 0 4px 0 var(--red-d), 0 16px 26px -14px rgba(168,22,40,.7);
  transition: transform .15s var(--ease), box-shadow .15s var(--ease), filter .2s var(--ease);
}
.btn-cta i { font-style: normal; transition: transform .25s var(--ease); }
.btn-cta:hover { transform: translateY(-2px); filter: brightness(1.03); box-shadow: 0 6px 0 var(--red-d), 0 22px 30px -14px rgba(168,22,40,.75); }
.btn-cta:hover i { transform: translateX(4px); }
.btn-cta:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--red-d), 0 10px 18px -12px rgba(168,22,40,.7); }
.btn-cta--lg { font-size: 1.05rem; padding: 1.1em 2.6em; }

/* ---------- 共通：見出しラベル ---------- */
.eyebrow { display: inline-block; font-weight: 900; font-size: .82rem; letter-spacing: .12em; color: var(--red); margin-bottom: 1rem; }
.eyebrow--light { color: #FF9AA6; }
.sec-head { margin-bottom: clamp(2.2rem, 4vw, 3.4rem); }
.sec-head--center { text-align: center; }
.sec-head--left { text-align: left; }
.sec-title {
  font-family: var(--font); font-weight: 900;
  font-size: clamp(1.6rem, 3.6vw, 2.5rem); line-height: 1.45; letter-spacing: .02em;
}
.sec-lead { margin-top: 1.1rem; color: var(--sub); font-size: .98rem; }
.sec-head--center .sec-lead { max-width: 40em; margin-left: auto; margin-right: auto; }
section { padding: clamp(3.8rem, 8vw, 7rem) 0; position: relative; }

/* ---------- ヘッダー ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: env(safe-area-inset-top) var(--gutter) 0;
  height: calc(76px + env(safe-area-inset-top));
  background: rgba(255,255,255,.86);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transition: height .35s var(--ease), box-shadow .35s var(--ease);
}
.header.is-stuck { height: calc(62px + env(safe-area-inset-top)); box-shadow: 0 1px 0 var(--line), 0 12px 26px -22px rgba(30,20,22,.5); }
.brand { display: flex; align-items: center; gap: .6rem; line-height: 1.2; }
.brand-mark {
  width: 26px; height: 26px; flex: none; position: relative;
  background: linear-gradient(140deg, var(--red), var(--red-dd)); border-radius: 8px 8px 8px 2px;
  box-shadow: 0 5px 12px -6px var(--red);
}
.brand-mark::after { content: ""; position: absolute; inset: 0; margin: auto; width: 8px; height: 8px; background: #fff; border-radius: 3px 3px 3px 1px; }
.brand-name { font-family: var(--font-brand); font-weight: 900; font-size: 1.04rem; letter-spacing: .02em; }
.brand-sub { display: block; font-size: .54rem; letter-spacing: .3em; color: var(--sub); font-weight: 700; }
.gnav ul { display: flex; gap: 1.7rem; }
.gnav a { position: relative; font-size: .9rem; font-weight: 700; padding: .4em 0; transition: color .2s; }
.gnav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--red); transition: right .3s var(--ease); }
.gnav a:hover { color: var(--red); }
.gnav a:hover::after { right: 0; }
.header-cta { font-size: .85rem; padding: .7em 1.5em; }
.menu-btn { display: none; }

/* ---------- ヒーロー ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: calc(96px + env(safe-area-inset-top)) 0 3.5rem; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.hero-scrim { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(20,7,9,.9) 0%, rgba(20,7,9,.62) 38%, rgba(20,7,9,.15) 66%, rgba(20,7,9,.35) 100%); }
.hero-inner {
  position: relative; z-index: 1; width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter);
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); gap: clamp(2rem, 4vw, 4rem); align-items: center;
}
.hero-copy { color: #fff; }
.hero-eyebrow {
  display: inline-block; background: var(--red); color: #fff; font-weight: 900; font-size: .78rem; letter-spacing: .05em;
  padding: .5em 1.1em; border-radius: 6px; margin-bottom: 1.5rem;
}
.hero-title { font-family: var(--font); font-weight: 900; font-size: clamp(2.1rem, 5.2vw, 3.7rem); line-height: 1.32; letter-spacing: .02em; text-shadow: 0 4px 30px rgba(0,0,0,.35); }
.hero-title .l { display: block; }
.hero-title em { font-style: normal; color: #FFC9CF; }
.hero-lead { margin-top: 1.5rem; font-size: 1.02rem; line-height: 1.9; max-width: 28em; color: rgba(255,255,255,.92); }
.hero-stats { margin-top: 2.2rem; display: flex; gap: .8rem; flex-wrap: wrap; }
.hero-stats li {
  flex: 1 1 auto; min-width: 120px; text-align: center;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.28); border-radius: 12px;
  padding: .9rem .6rem; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.hero-stats .s-label { display: block; font-size: .68rem; font-weight: 700; letter-spacing: .08em; color: rgba(255,255,255,.8); margin-bottom: .1em; }
.hero-stats .s-value { display: block; font-family: var(--font); font-weight: 900; font-size: 1.55rem; line-height: 1.1; color: #fff; font-variant-numeric: tabular-nums; }
.hero-stats .s-value small { font-size: .5em; margin-left: .12em; font-weight: 700; }

/* ヒーロー右：フォームカード */
.hero-card {
  position: relative; background: #fff; border-radius: 20px; padding: 2rem 1.6rem 1.6rem;
  box-shadow: 0 40px 70px -30px rgba(0,0,0,.55); border: 1px solid rgba(255,255,255,.6);
}
.hero-card-ribbon {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%); white-space: nowrap;
  background: linear-gradient(180deg, #FF8B3D, var(--orange)); color: #fff; font-weight: 900; font-size: .74rem; letter-spacing: .02em;
  padding: .45em 1.2em; border-radius: 999px; box-shadow: 0 8px 18px -8px rgba(240,120,42,.7);
}
.hero-card-title { font-weight: 900; font-size: 1.2rem; text-align: center; margin-top: .3rem; }
.hero-card-note { font-size: .8rem; color: var(--sub); text-align: center; margin-top: .3rem; margin-bottom: 1.2rem; }
.hero-form { display: grid; gap: .8rem; }
.hf-field span { display: block; font-size: .76rem; font-weight: 700; margin-bottom: .3em; }
.hf-field .req { font-style: normal; color: var(--red); font-size: .68rem; margin-left: .4em; }
.hf-field .opt { font-style: normal; color: var(--sub); font-size: .68rem; margin-left: .4em; }
.hf-field input, .hf-field select, .hf-field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--line-2); border-radius: 10px; padding: .7em .9em;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.hf-field textarea { resize: vertical; line-height: 1.7; }
.hf-field input:focus, .hf-field select:focus, .hf-field textarea:focus { outline: none; border-color: var(--red); background: #fff; box-shadow: 0 0 0 3px var(--pink); }
.hero-form-btn { width: 100%; margin-top: .3rem; }
.hf-privacy { font-size: .68rem; color: var(--sub); text-align: center; margin-top: .2rem; }
.hf-privacy a { color: var(--red); text-decoration: underline; }

/* ---------- お悩み（ダーク） ---------- */
.pains { background: linear-gradient(160deg, var(--dark-1), var(--dark-2)); color: #fff; overflow: hidden; }
.pains::before { content: ""; position: absolute; top: -20%; right: -10%; width: 55%; height: 90%; background: radial-gradient(circle, rgba(216,40,60,.4), transparent 68%); pointer-events: none; }
.pains-inner { position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.pains-title { font-family: var(--font); font-weight: 900; font-size: clamp(1.7rem, 3.6vw, 2.5rem); line-height: 1.5; }
.pain-list { display: grid; gap: 1rem; }
.pain { display: flex; align-items: center; gap: 1.1rem; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.16); border-radius: 999px; padding: 1.05rem 1.6rem; transition: border-color .3s, background .3s, transform .3s; }
.pain:hover { border-color: rgba(255,154,166,.6); background: rgba(216,40,60,.12); transform: translateX(4px); }
.pain-ico { flex: none; width: 46px; height: 46px; display: grid; place-items: center; color: #FF9AA6; background: rgba(216,40,60,.16); border: 1px solid rgba(255,154,166,.3); border-radius: 13px; transition: color .3s, background .3s, border-color .3s; }
.pain-ico svg { width: 23px; height: 23px; }
.pain:hover .pain-ico { color: #fff; background: rgba(216,40,60,.4); border-color: rgba(255,154,166,.6); }
.pain p { font-weight: 700; font-size: clamp(.92rem, 1.6vw, 1.02rem); }

/* ---------- Fioreなら（3つの価値） ---------- */
.solution { background: var(--base); }
.value-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.2rem, 2.4vw, 2rem); }
.value { background: var(--base); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2.2rem 1.8rem; text-align: center; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.value:hover { transform: translateY(-8px); box-shadow: 0 34px 50px -34px rgba(30,20,22,.4); border-color: var(--pink-2); }
.value-ico { display: grid; place-items: center; width: 66px; height: 66px; margin: 0 auto 1.2rem; color: var(--red); background: var(--pink); border-radius: 18px; }
.value-ico svg { width: 32px; height: 32px; }
.value h3 { font-family: var(--font); font-weight: 900; font-size: 1.2rem; line-height: 1.5; margin-bottom: .7rem; }
.value p { font-size: .92rem; color: var(--sub); text-align: left; }

/* ---------- 私たちについて ---------- */
.about { background: var(--paper); }
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2.2rem, 5vw, 4.5rem); align-items: center; }
.about-photo { position: relative; }
.about-photo img { width: 100%; height: auto; aspect-ratio: 4/3.4; object-fit: cover; border-radius: var(--radius-lg); box-shadow: 0 40px 60px -40px rgba(30,20,22,.45); }
.about-badge { position: absolute; top: 1.1rem; left: -0.6rem; background: var(--red); color: #fff; font-weight: 900; font-size: .74rem; letter-spacing: .1em; padding: .5em 1.1em; border-radius: 8px; box-shadow: 0 10px 20px -10px var(--red-d); }
.about-copy p { color: var(--sub); margin-bottom: 1.1rem; max-width: 32em; }
.about-cta { margin-top: .8rem; }

/* ---------- サービス内容 ---------- */
.services { background: var(--base); }
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.2rem, 2.4vw, 2rem); }
.service { background: var(--base); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.service:hover { transform: translateY(-8px); box-shadow: 0 36px 54px -36px rgba(30,20,22,.45); }
.service-media { position: relative; overflow: hidden; }
.service-media img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; transition: transform .6s var(--ease); }
.service:hover .service-media img { transform: scale(1.06); }
.service-tag { position: absolute; top: .9rem; left: .9rem; width: 40px; height: 40px; display: grid; place-items: center; font-family: var(--font); font-weight: 900; font-size: 1rem; color: #fff; background: var(--red); border-radius: 10px; box-shadow: 0 8px 16px -8px var(--red-d); }
.service-body { padding: 1.5rem 1.6rem 1.9rem; }
.service-body h3 { font-family: var(--font); font-weight: 900; font-size: 1.25rem; color: var(--red); margin-bottom: .6rem; }
.service-body p { font-size: .92rem; color: var(--sub); }

/* ---------- 選ばれる理由（ピンク） ---------- */
.reasons { background: radial-gradient(120% 90% at 80% 0%, var(--pink-2), var(--pink) 55%, #fff 100%); }
.reason-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.1rem, 2vw, 1.6rem); }
.reason { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2rem 2rem 2rem 2.2rem; overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.reason::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: linear-gradient(180deg, var(--red), var(--red-dd)); }
.reason:hover { transform: translateY(-6px); box-shadow: 0 34px 50px -34px rgba(168,22,40,.35); }
.reason-num { font-family: var(--font); font-weight: 900; font-size: 2rem; line-height: 1; color: var(--pink-2); display: block; margin-bottom: .6rem; }
.reason:hover .reason-num { color: var(--red); }
.reason h3 { font-family: var(--font); font-weight: 900; font-size: 1.18rem; line-height: 1.5; margin-bottom: .6rem; }
.reason p { font-size: .92rem; color: var(--sub); }
.reasons-cta { text-align: center; margin-top: clamp(2.2rem, 4vw, 3.2rem); }

/* ---------- ご依頼の流れ（STEP） ---------- */
.flow { background: var(--base); }
.flow-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.flow-step { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem 1.4rem; }
.flow-step:not(:last-child)::after { content: ""; position: absolute; top: 50%; right: -0.65rem; width: 1.3rem; height: 2px; background: var(--pink-2); z-index: 1; }
.flow-num { display: inline-block; font-family: var(--font); font-weight: 900; font-size: .82rem; letter-spacing: .08em; color: var(--red); margin-bottom: .8rem; }
.flow-step h3 { font-family: var(--font); font-weight: 900; font-size: 1.08rem; line-height: 1.5; margin-bottom: .6rem; }
.flow-step p { font-size: .86rem; color: var(--sub); }

/* ---------- 会社情報 ---------- */
.company { background: var(--paper); }
.company-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: stretch; }
.company-dl { border-top: 2px solid var(--ink); }
.company-dl > div { display: grid; grid-template-columns: 8em 1fr; gap: 1.2rem; padding: 1.2rem .3rem; border-bottom: 1px solid var(--line-2); font-size: .95rem; }
.company-dl dt { font-weight: 900; color: var(--red); }
.company-dl dd { color: var(--ink); }
.company-map { min-height: 340px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 50px -40px rgba(30,20,22,.4); background: #fff; }
.company-map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; filter: grayscale(.12); }

/* ---------- 採用情報（ダーク） ---------- */
.recruit { background: linear-gradient(160deg, var(--dark-1), var(--dark-2)); color: #fff; overflow: hidden; }
.recruit::before { content: ""; position: absolute; bottom: -20%; left: -10%; width: 55%; height: 90%; background: radial-gradient(circle, rgba(216,40,60,.35), transparent 68%); pointer-events: none; }
.recruit .wrap { position: relative; z-index: 1; }
.recruit-title { font-family: var(--font); font-weight: 900; font-size: clamp(1.7rem, 3.6vw, 2.5rem); line-height: 1.45; }
.recruit-lead { text-align: center; color: rgba(255,255,255,.88); max-width: 40em; margin: 0 auto; }
.recruit-stats { margin: 2.6rem auto 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; max-width: 720px; }
.rstat { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); padding: 1.8rem 1rem; text-align: center; display: flex; flex-direction: column; gap: .4rem; }
.rstat b { font-family: var(--font); font-weight: 900; font-size: clamp(1.5rem, 3vw, 2.1rem); color: #fff; line-height: 1.15; font-variant-numeric: tabular-nums; }
.rstat b small { font-size: .5em; margin-left: .1em; color: #FFB3BC; }
.rstat span { font-size: .8rem; font-weight: 700; color: rgba(255,255,255,.7); }
.recruit-table { max-width: 860px; margin: 2.6rem auto 0; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-lg); padding: .5rem clamp(1rem, 3vw, 2rem); }
.recruit-dl > div { display: grid; grid-template-columns: 8em 1fr; gap: 1.4rem; padding: 1.15rem .2rem; border-bottom: 1px solid rgba(255,255,255,.12); align-items: start; }
.recruit-dl > div:last-child { border-bottom: 0; }
.recruit-dl dt { font-family: var(--font); font-weight: 900; font-size: .95rem; color: #FFB3BC; }
.recruit-dl dd { font-size: .95rem; color: rgba(255,255,255,.92); }
.loc-list { display: flex; flex-wrap: wrap; gap: .5rem; }
.loc-list li { font-size: .8rem; font-weight: 700; color: rgba(255,255,255,.82); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); padding: .32em .8em; border-radius: 999px; line-height: 1.5; transition: color .2s, background .2s, border-color .2s; }
.loc-list li:hover { color: #fff; background: rgba(216,40,60,.4); border-color: rgba(255,154,166,.6); }

/* ---------- お問い合わせ ---------- */
.contact { background: var(--base); }
.contact .wrap { max-width: 760px; }
.contact-note { margin-top: 1.1rem; font-size: .95rem; color: var(--sub); }
.sec-head--center .contact-note { max-width: 40em; margin-left: auto; margin-right: auto; }
.notice { margin: 0 auto 2.4rem; background: var(--pink); border: 1px solid var(--pink-2); border-left: 4px solid var(--red); border-radius: 14px; padding: 1.3rem 1.6rem; }
.notice-title { font-family: var(--font); font-weight: 900; color: var(--red); font-size: 1rem; margin-bottom: .4em; }
.notice p { font-size: .88rem; line-height: 1.9; color: var(--ink); }
.form { display: grid; gap: 1.4rem; }
.field label { display: block; font-family: var(--font); font-weight: 700; font-size: .9rem; margin-bottom: .5em; }
.field .req { color: var(--red); font-size: .72rem; margin-left: .5em; font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--line-2); transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input, .field select { padding: .85em 1.2em; border-radius: 10px; }
.field textarea { padding: .9em 1.2em; border-radius: 14px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); background: #fff; box-shadow: 0 0 0 3px var(--pink); }
.submit-btn { justify-self: center; margin-top: .6rem; padding: 1.05em 3.6em; font-size: 1.02rem; }

/* ---------- フッター ---------- */
.footer { background: var(--dark-2); color: #fff; padding: clamp(2.8rem, 5vw, 4rem) 0 2rem; }
.footer-top { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-brand { display: flex; align-items: center; gap: .6rem; font-family: var(--font-brand); font-weight: 900; font-size: 1.3rem; }
.footer-brand small { font-size: .56rem; letter-spacing: .28em; opacity: .5; font-weight: 700; margin-left: .1em; }
.footer-add { margin-top: 1rem; font-style: normal; font-size: .84rem; opacity: .72; line-height: 1.9; }
.footer-nav { display: grid; grid-auto-rows: min-content; gap: .7rem 1.6rem; grid-template-columns: repeat(2, auto); align-content: start; }
.footer-nav a { font-size: .86rem; font-weight: 700; opacity: .8; transition: opacity .2s, color .2s; }
.footer-nav a:hover { opacity: 1; color: #FFB3BC; }
.copyright { margin-top: 1.8rem; font-size: .72rem; opacity: .45; }

/* ---------- トップへ戻る ---------- */
.to-top {
  position: fixed; z-index: 90; right: calc(1.3rem + env(safe-area-inset-right)); bottom: calc(1.3rem + env(safe-area-inset-bottom));
  width: 50px; height: 50px; border: 0; cursor: pointer; color: #fff; font-size: 1.1rem; font-weight: 900;
  background: linear-gradient(180deg, #E23346, var(--red)); border-radius: 12px;
  box-shadow: 0 4px 0 var(--red-d), 0 14px 24px -12px rgba(168,22,40,.7);
  opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.to-top.is-show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { transform: translateY(-2px); }

/* ============================================================
   モーション（スクロール登場） ※ reduced-motion で停止
   ============================================================ */
html.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .75s var(--ease-out), transform .75s var(--ease-out); }
html.js .reveal.is-in { opacity: 1; transform: none; }

/* ============================================================
   レスポンシブ
   ============================================================ */
@media (min-width: 861px) and (max-width: 1080px) {
  .gnav ul { gap: 1.1rem; }
  .gnav a { font-size: .84rem; }
  .header-cta { padding: .6em 1.1em; font-size: .8rem; }
}
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.2rem; }
  .hero-card { max-width: 440px; }
  .pains-inner { grid-template-columns: 1fr; gap: 1.8rem; }
  .value-grid, .services-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .flow-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem 1.6rem; }
  .flow-step:not(:last-child)::after { display: none; }
  .about-grid, .company-grid { grid-template-columns: 1fr; gap: 2.2rem; }
}
@media (max-width: 860px) {
  .gnav, .header .header-cta { display: none; }
  .menu-btn { display: grid; place-items: center; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; color: var(--ink); z-index: 101; }
  .menu-btn span, .menu-btn::before, .menu-btn::after { content: ""; display: block; width: 24px; height: 2.5px; background: currentColor; margin: 3px 0; border-radius: 999px; transition: transform .35s var(--ease), opacity .3s; }
  .menu-btn.is-open span { opacity: 0; }
  .menu-btn.is-open::before { transform: translateY(5.5px) rotate(45deg); }
  .menu-btn.is-open::after { transform: translateY(-5.5px) rotate(-45deg); }
  .mnav { position: fixed; inset: 0; z-index: 99; background: linear-gradient(160deg, var(--dark-1), var(--dark-2)); display: grid; place-items: center; opacity: 0; pointer-events: none; transition: opacity .4s var(--ease); }
  .mnav.is-open { opacity: 1; pointer-events: auto; }
  .mnav nav { display: grid; gap: 1.8rem; text-align: center; }
  .mnav ul { display: grid; gap: 1.4rem; }
  .mnav a { display: flex; align-items: baseline; gap: .8rem; color: #fff; font-family: var(--font); font-size: 1.3rem; font-weight: 900; }
  .mnav a span { font-family: var(--font); font-size: .8rem; color: #FFB3BC; }
  .mnav-cta { justify-self: center; }
}
@media (min-width: 861px) { .mnav { display: none; } }
@media (max-width: 620px) {
  .reason-grid { grid-template-columns: 1fr; }
  .hero-stats li { min-width: 90px; }
  .recruit-stats { grid-template-columns: 1fr; max-width: 340px; }
  .recruit-dl > div, .company-dl > div { grid-template-columns: 1fr; gap: .35rem; }
  .footer-top { flex-direction: column; }
}
@media (max-height: 560px) and (orientation: landscape) {
  .hero { min-height: auto; }
}
@supports not (aspect-ratio: 1) {
  .about-photo img { height: 340px; }
  .service-media img { height: 210px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html.js .reveal { opacity: 1; transform: none; }
}
