@charset "UTF-8";
/* ==========================================================
   SGIC 採用LP  style.css
   構成: midori_rec_4 のLPと同一（header / mv / section群 / footer / cta）
   カラー: SGIC RED #CE0037 / SGIC GREEN #49C5B1（クライアント指定）
   ========================================================== */
:root {
  --red: #CE0037;
  --red-dark: #A8002D;
  --green: #49C5B1;
  --green-dark: #1E7F70;   /* 文字用に暗くした補助色（白背景で4.5:1以上） */
  --green-soft: #E9F7F4;
  --ink: #1A1D1F;
  --ink-sub: #4A5256;
  --line: #D9DEDF;
  --bg-gray: #F3F5F5;
  --dark: #1C2224;
}

html { font-size: 10px; scroll-behavior: auto; }

body {
  font-family: "Noto Sans JP", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", Arial, "メイリオ", Meiryo, sans-serif;
  font-size: 1.6rem;
  color: var(--ink);
  font-weight: 400;
  background: #fff;
  letter-spacing: .06em;
  line-height: 1.9;
}

*, *:before, *:after { box-sizing: border-box; }

img { vertical-align: middle; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
section { padding: 8rem 0 9rem; }
strong { color: var(--red); font-weight: 700; }
strong.st-marker { color: var(--ink); background-image: linear-gradient(transparent 62%, rgba(73,197,177,.55) 0); }

.bg-w { background: #fff; }
.bg-color { background: var(--bg-gray); }
.txt-c { text-align: center; }
.pc { display: block; }
.sp { display: none; }

.container { max-width: 1120px; margin-left: auto; margin-right: auto; padding-left: 20px; padding-right: 20px; }

/* アイコンフォント（未読込時にリガチャ文字がはみ出さないよう幅を固定） */
.material-symbols-outlined { display: inline-block; width: 1em; height: 1em; overflow: hidden; white-space: nowrap; line-height: 1; vertical-align: middle; }

/* ---------- 見出し ---------- */
h2 {
  text-align: center;
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: .05em;
  margin: 0 0 4rem;
  font-size: 3.6rem;
  color: var(--ink);
}
h2 span {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: .8rem;
}
h2::after {
  content: "";
  display: block;
  width: 88px;
  height: 4px;
  margin: 2.2rem auto 0;
  background: linear-gradient(90deg, var(--red) 0 50%, var(--green) 50% 100%);
}

h3 { line-height: 1.5; font-weight: 700; margin: 2em 0 1em; font-size: 2rem; }

h3.type01 { display: flex; align-items: flex-start; margin: 0 0 1.4rem; font-size: 2rem; }
h3.type01 .num {
  flex: 0 0 auto;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 900;
  font-size: 2.2rem;
  line-height: 1;
  color: #fff;
  background: var(--red);
  padding: .55rem .9rem .5rem;
  margin-right: 1.2rem;
  clip-path: polygon(0 0, 100% 0, calc(100% - 7px) 100%, 0 100%);
  padding-right: 1.4rem;
}

h3.type02 { position: relative; padding-left: 1.1em; font-size: 1.9rem; margin: 0 0 1.2rem; }
h3.type02::before {
  content: ""; position: absolute; left: 0; top: .1em; bottom: .1em; width: 5px;
  background: linear-gradient(var(--red) 0 50%, var(--green) 50% 100%);
}

h3.type03 { padding: .7em 1em; color: #fff; background: var(--ink); border-left: 8px solid var(--red); margin: 3rem 0 0; font-size: 1.9rem; }
h3.type03:first-child { margin-top: 0; }

h3.type04 { position: relative; padding-bottom: .5em; margin: 0; font-size: 2.2rem; }
h3.type04 span { color: var(--red); font-weight: 900; letter-spacing: .12em; }
h3.type04::before { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: var(--line); }
h3.type04::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 110px; height: 4px; background: var(--red); }

h3.icon { display: flex; align-items: center; }
h3.icon .material-symbols-outlined { margin-right: 1rem; }

p.lead { font-weight: 700; font-size: 2.4rem; text-align: center; line-height: 1.7; margin-bottom: 2rem; }
.text_box { padding: 1.6rem 1.2rem; margin: 1em 0 2em; border-radius: 4px; }
.text_box p { margin: 0; }
.section-intro { max-width: 820px; margin: 0 auto 4.5rem; text-align: center; }

/* ---------- ヘッダ ---------- */
header { background: #fff; border-bottom: 1px solid var(--line); z-index: 10; }
header .wrap-header { position: relative; height: 74px; }
header .wrap-header h1.logo { position: absolute; left: 24px; top: 50%; transform: translateY(-50%); margin: 0; line-height: 1; }
header .wrap-header h1.logo img { height: 36px; width: auto; }
header .wrap-header nav ul { display: flex; justify-content: flex-end; align-items: center; margin: 0; padding: 0; list-style: none; }
header .wrap-header nav ul li { margin-right: 3.2rem; }
header .wrap-header nav ul li:last-child { margin-right: 24px; }
header .wrap-header nav ul li a { color: var(--ink); line-height: 74px; font-size: 1.4rem; font-weight: 700; letter-spacing: .08em; position: relative; }
header .wrap-header nav ul li a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 20px; height: 3px; background: var(--red); transform: scaleX(0); transition: transform .25s; transform-origin: left; }
header .wrap-header nav ul li a:hover::after { transform: scaleX(1); }
header .wrap-header nav ul li a.nav-cta { background: var(--red); color: #fff; line-height: 1; padding: 1.2rem 2.2rem; border-radius: 2px; }
header .wrap-header nav ul li a.nav-cta::after { display: none; }
header .wrap-header nav ul li a.nav-cta:hover { background: var(--red-dark); }
header .hamburger { display: none; }
header.fixed { position: fixed; width: 100%; top: 0; box-shadow: 0 2px 12px rgba(0,0,0,.08); }

/* ---------- メインビジュアル ---------- */
.mv-wrap { position: relative; background: var(--dark); overflow: hidden; }
.mv-wrap .mv-img { position: absolute; inset: 0; }
.mv-wrap .mv-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.mv-wrap::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, rgba(20,26,28,.92) 0%, rgba(20,26,28,.78) 42%, rgba(20,26,28,.2) 78%, rgba(20,26,28,.05) 100%);
}
.mv-inner { position: relative; z-index: 2; max-width: 1120px; margin: 0 auto; padding: 10rem 20px 11rem; color: #fff; }
.mv-eyebrow { display: inline-block; font-size: 1.4rem; font-weight: 700; letter-spacing: .14em; background: var(--red); color: #fff; padding: .5rem 1.4rem; margin: 0 0 2.4rem; }
.mv-title { margin: 0 0 2.4rem; font-weight: 900; font-size: 4.6rem; line-height: 1.45; letter-spacing: .04em; max-width: 780px; }
.mv-title em { font-style: normal; color: var(--green); }
.mv-sub { font-size: 1.9rem; line-height: 1.9; margin: 0 0 4rem; max-width: 640px; color: #E8EEEE; }
.mv-btns { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .8rem; font-weight: 700; font-size: 1.7rem; letter-spacing: .08em; padding: 1.7rem 3.4rem; border-radius: 2px; transition: background .2s, color .2s, border-color .2s; }
.btn-red { background: var(--red); color: #fff; border: 2px solid var(--red); }
.btn-red:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn-line { color: #fff; border: 2px solid #fff; }
.btn-line:hover { background: #fff; color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; border: 2px solid var(--ink); }
.btn-dark:hover { background: #000; }

/* 実績ストリップ */
.facts { position: relative; z-index: 3; max-width: 1120px; margin: -5.5rem auto 0; padding: 0 20px; }
.facts ul { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; list-style: none; background: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.14); border-top: 5px solid var(--red); }
.facts li { padding: 2.4rem 1rem; text-align: center; border-right: 1px solid var(--line); }
.facts li:last-child { border-right: 0; }
.facts .k { display: block; font-size: 1.3rem; font-weight: 700; color: var(--ink-sub); letter-spacing: .1em; }
.facts .v { display: block; font-size: 2.8rem; font-weight: 900; line-height: 1.35; color: var(--red); letter-spacing: .02em; }
.facts .v small { font-size: 1.5rem; font-weight: 700; color: var(--ink); margin-left: .2rem; }

/* ---------- リード ---------- */
#lead { padding: 10rem 0 8rem; }
#lead .lead-copy { text-align: center; font-weight: 900; font-size: 3rem; line-height: 1.8; margin: 0 0 4rem; }
#lead .lead-copy .hl { background: linear-gradient(transparent 60%, rgba(73,197,177,.5) 0); }
#lead .greeting { max-width: 860px; margin: 0 auto; display: grid; grid-template-columns: 150px 1fr; gap: 3rem; align-items: center; padding: 3rem 3.4rem; background: var(--bg-gray); border-left: 6px solid var(--green); }
#lead .greeting img { width: 150px; border-radius: 50%; background: #fff; border: 4px solid #fff; box-shadow: 0 0 0 2px var(--green); }
#lead .greeting .photo-blank { width: 150px; height: 150px; border-radius: 50%; background: #dfe4e5; border: 4px solid #fff; box-shadow: 0 0 0 2px var(--green); }
#lead .greeting p { margin: 0; }

/* ---------- About（特別な経験 3つの理由） ---------- */
.about_h3 { margin-top: 0; }
#about .card, #benefit .card { height: 100%; }
.card-col { margin-bottom: 3.2rem; }
.card { background: #fff; border-top: 4px solid var(--red); box-shadow: 0 4px 18px rgba(0,0,0,.07); display: flex; flex-direction: column; }
.card .card-img { aspect-ratio: 3 / 2; overflow: hidden; background: #ccc; }
.card .card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.card:hover .card-img img { transform: scale(1.04); }
.card .card-body { padding: 2.4rem 2.2rem 2.8rem; flex: 1; }
.card .card-body p { margin: 0 0 1em; font-size: 1.5rem; line-height: 1.95; }
.card .card-body p:last-child { margin-bottom: 0; }
.card .tag { display: inline-block; background: var(--green); color: #0F3A33; font-weight: 700; font-size: 1.3rem; padding: .2rem 1rem; letter-spacing: .06em; margin-bottom: 1.2rem; }
#benefit .card { border-top-color: var(--green); }
#benefit .card .card-img { aspect-ratio: 16 / 9; }

/* ---------- Check（不満チェック） ---------- */
#check { background: var(--dark); color: #fff; }
#check h2 { color: #fff; }
#check h2 span { color: var(--green); }
#check .check-list { max-width: 900px; margin: 0 auto; }
#check .check-item { background: #fff; color: var(--ink); padding: 2.8rem 3rem; margin-bottom: 2.4rem; border-left: 8px solid var(--red); }
#check .check-item h3 { margin: 0 0 1.2rem; display: flex; align-items: flex-start; gap: 1.2rem; font-size: 2.1rem; }
#check .check-item h3 .material-symbols-outlined { color: var(--red); font-size: 3.2rem; font-variation-settings: 'FILL' 1, 'wght' 700; flex: 0 0 auto; line-height: 1; }
#check .check-item p { margin: 0 0 1em; font-size: 1.5rem; }
#check .check-item p:last-child { margin-bottom: 0; }
#check .check-close { text-align: center; margin-top: 4rem; font-size: 2.2rem; font-weight: 900; line-height: 1.8; }
#check .check-close strong { color: var(--green); }

/* ---------- Fit（こんな人） ---------- */
.fit-item { display: grid; grid-template-columns: 70px 1fr; gap: 2.4rem; padding: 3rem 0; border-bottom: 1px solid var(--line); }
.fit-item:first-child { border-top: 1px solid var(--line); }
.fit-item .no { font-size: 5.6rem; font-weight: 900; line-height: 1; color: var(--green); font-family: "Noto Sans JP", sans-serif; }
.fit-item h3 { margin: 0 0 1rem; font-size: 2.2rem; }
.fit-item p { margin: 0 0 .9em; font-size: 1.5rem; }
.fit-item p:last-child { margin-bottom: 0; }
.fit-wrap { max-width: 900px; margin: 0 auto; }

/* ---------- 特典バナー（土日完全休み） ---------- */
.holiday { display: grid; grid-template-columns: auto 1fr; gap: 3rem; align-items: center; margin-top: 4rem; padding: 3.4rem 4rem; background: var(--green-soft); border: 2px solid var(--green); }
.holiday .badge { background: var(--green); color: #0F3A33; font-weight: 900; font-size: 2.6rem; line-height: 1.4; padding: 2rem 2.6rem; text-align: center; letter-spacing: .04em; }
.holiday h3 { margin: 0 0 .8rem; }
.holiday p { margin: 0; font-size: 1.5rem; }

/* ---------- Model（条件） ---------- */
.model-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 4rem; }
.model-grid .text_box { margin: 0 0 2rem; border: 1px solid var(--line); background: #fff; padding: 2rem 2.2rem; }
.model-grid .text_box p { font-size: 1.5rem; }
.model-grid .text_box .big { font-size: 2.6rem; font-weight: 900; color: var(--red); line-height: 1.4; }
.model-grid .text_box .big small { font-size: 1.5rem; color: var(--ink); font-weight: 700; }
.model-list { list-style: none; margin: 0; padding: 0; font-size: 1.5rem; }
.model-list li { padding: .5rem 0 .5rem 2.6rem; position: relative; }
.model-list li::before { content: ""; position: absolute; left: 0; top: 1.15rem; width: 14px; height: 8px; border-left: 3px solid var(--red); border-bottom: 3px solid var(--red); transform: rotate(-45deg) scale(.9); }

/* ---------- Voice ---------- */
.voice-card { display: grid; grid-template-columns: 270px 1fr; gap: 4rem; padding: 4rem; margin-bottom: 3rem; background: #fff; border-top: 4px solid var(--red); box-shadow: 0 4px 18px rgba(0,0,0,.06); }
.voice-card:nth-of-type(even) { border-top-color: var(--green); }
.voice-card .who { text-align: center; }
.voice-card .who img { width: 200px; border-radius: 50%; background: var(--bg-gray); border: 4px solid #fff; box-shadow: 0 0 0 3px var(--green); }
.voice-card:nth-of-type(odd) .who img { box-shadow: 0 0 0 3px var(--red); }
.voice-card .who .role { display: block; margin-top: 1.6rem; font-weight: 700; font-size: 1.5rem; line-height: 1.6; }
.voice-card .who .role b { display: block; font-size: 1.9rem; }
.voice-card .txt p { margin: 0 0 1.1em; font-size: 1.5rem; }
.voice-card .txt p:last-child { margin-bottom: 0; }
.voice-card .txt .voice-title { font-size: 2.2rem; font-weight: 900; line-height: 1.6; margin-bottom: 1.4rem; padding-bottom: 1rem; border-bottom: 2px dotted var(--line); }
.voice-note { text-align: center; font-size: 1.3rem; color: var(--ink-sub); margin-top: 1rem; }
.voice_icon { display: inline-flex; }

/* ---------- Tools（環境・ツール = midoriのSchedule相当） ---------- */
.flow-box .flow-item { margin-bottom: 0; }
.flow-box h3.icon { background: var(--ink); color: #fff; font-weight: 700; padding: 1.1rem 1.6rem; margin: 0; border-left: 8px solid var(--red); font-size: 1.9rem; }
.flow-box .schedule-box { border: 3px solid var(--ink); border-top: 0; background: #fff; }
.flow-box .schedule-box .img { height: 100%; min-height: 200px; }
.flow-box .schedule-box .img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.flow-box .schedule-box .text_box { margin: 0; padding: 2.4rem 3rem; }
.flow-box .schedule-box .text_box p { font-size: 1.5rem; }
.flow-box .schedule-box .text_box .sub { font-size: 1.3rem; color: var(--ink-sub); margin-top: .8em; }
.flow-box .schedule-box .row { margin: 0; align-items: stretch; }
.flow-box .schedule-box .row > div { padding: 0; }
.flow-box .schedule-box .row > div:last-child { display: flex; align-items: center; }
.arrow { margin: 1.2rem 0 -.6rem; color: var(--red); text-align: center; line-height: 1; }
.arrow span { font-size: 5rem; }

/* ---------- Step ---------- */
dl.step { margin: 0; }
dl.step .step-item { margin-bottom: 0; }
.step .text_box { background: var(--bg-gray); margin: 1.4rem 0 0; padding: 2.2rem 2.6rem; }
.step .text_box p { margin: 0; font-size: 1.5rem; }
.step .step-note { margin: .8rem 0 0; font-size: 1.3rem; color: var(--ink-sub); }

/* ---------- 募集要項 ---------- */
table { width: 1000px; max-width: calc(100% - 40px); margin: 0 auto; border-collapse: collapse; padding: 0; }
table tr { background: #fff; border-bottom: 1px solid var(--line); }
table tr:first-child { border-top: 3px solid var(--red); }
table th { padding: 1.8rem 1.6rem; background: var(--ink); color: #fff; width: 24%; text-align: left; font-weight: 700; vertical-align: top; border-bottom: 1px solid #3a4245; font-size: 1.5rem; }
table th::after { content: "："; }
table td { padding: 1.8rem 2.2rem; font-size: 1.5rem; vertical-align: top; }
table td .job { display: block; margin-bottom: 1.6rem; padding-bottom: 1.6rem; border-bottom: 1px dashed var(--line); }
table td .job:last-child { margin: 0; padding: 0; border: 0; }
table td .job b { display: block; font-size: 1.7rem; color: var(--red); }
table td .job .lbl { display: inline-block; font-size: 1.2rem; font-weight: 700; background: var(--ink); color: #fff; padding: 0 .7rem; margin-right: .6rem; }
table td .job .lbl.g { background: var(--green); color: #0F3A33; }

/* ---------- Q&A ---------- */
.accordion { width: 100%; max-width: 900px; margin: 0 auto; }
.accordion_hidden { position: absolute; opacity: 0; pointer-events: none; }
.accordion_open { display: block; padding: 1.5rem 8rem 1.5rem 6.4rem; background: var(--ink); color: #fff; cursor: pointer; margin: 8px 0 0; position: relative; font-weight: 700; line-height: 1.6; }
.accordion_open::before { content: "Q"; position: absolute; left: 0; top: 0; bottom: 0; width: 5rem; display: flex; align-items: center; justify-content: center; background: var(--red); font-weight: 900; font-size: 2rem; }
.accordion_open::after { content: "+"; position: absolute; right: 2.4rem; top: 50%; transform: translateY(-50%); font-size: 3rem; font-weight: 400; line-height: 1; transition: transform .3s; }
.accordion_hidden:checked + .accordion_open::after { content: "−"; }
.accordion_hidden:focus-visible + .accordion_open { outline: 3px solid var(--green); outline-offset: 2px; }
.accordion_inner { display: block; height: 0; overflow: hidden; padding: 0 2rem 0 6.4rem; opacity: 0; transition: opacity .4s; background: #fff; position: relative; font-size: 1.5rem; }
.accordion_inner::before { content: "A"; position: absolute; left: 0; top: 1.6rem; width: 5rem; text-align: center; font-weight: 900; font-size: 2rem; color: var(--green-dark); }
.accordion_hidden:checked + .accordion_open + .accordion_inner { height: auto; opacity: 1; padding: 1.6rem 2rem 1.8rem 6.4rem; border: 1px solid var(--line); border-top: 0; margin-bottom: 1.6rem; }

/* ---------- Message ---------- */
.message-box { display: grid; grid-template-columns: 5fr 6fr; gap: 4rem; align-items: center; max-width: 1000px; margin: 0 auto; }
.message-box .img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; box-shadow: 14px 14px 0 var(--green); }
.message-box p { margin: 0 0 1.2em; }
.message-box .sign { font-weight: 700; text-align: right; margin-top: 2rem; }

/* ---------- Map ---------- */
.map-info { text-align: center; margin-bottom: 3rem; }
.map-info h3 { margin: 0 0 .6rem; font-size: 2.4rem; }
.map-info p { margin: 0; }
.map-frame { width: 100%; height: 460px; border: 0; display: block; filter: grayscale(.25); }

/* ---------- Contact ---------- */
#flow { background: var(--dark); color: #fff; }
#flow h2 { color: #fff; }
#flow h2 span { color: var(--green); }
#flow .lead { color: #fff; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 2.4rem; max-width: 900px; margin: 4rem auto 5rem; }
.contact-card { background: #fff; color: var(--ink); text-align: center; padding: 3rem 2rem; border-top: 5px solid var(--red); }
.contact-card:nth-child(2) { border-top-color: var(--green); }
.contact-card h3 { margin: 0 0 1rem; font-size: 1.9rem; }
.contact-card .tel { display: block; font-size: 3.6rem; font-weight: 900; color: var(--red); letter-spacing: .04em; line-height: 1.3; }
.contact-card p { margin: .6rem 0 0; font-size: 1.4rem; }
.contact-card .btn { margin-top: 1rem; }
.mail_box { width: 720px; max-width: 100%; margin: 0 auto; background: #fff; color: var(--ink); padding: 4rem; }
.mail_box h3 { margin: 0 0 2.4rem; text-align: center; font-size: 2.4rem; }
.mailform { margin: 0; }
.mailform dt { font-weight: 700; margin: 2.2rem 0 .6rem; font-size: 1.5rem; }
.mailform dt .must { display: inline-block; background: var(--red); color: #fff; font-size: 1.1rem; padding: 0 .7rem; margin-right: .8rem; letter-spacing: .1em; vertical-align: 1px; }
.mailform dt .opt { display: inline-block; background: var(--line); color: var(--ink-sub); font-size: 1.1rem; padding: 0 .7rem; margin-right: .8rem; letter-spacing: .1em; vertical-align: 1px; }
.mailform dd { margin: 0; }
.mailform input[type=text], .mailform input[type=email], .mailform input[type=tel], .mailform select, .mailform textarea { width: 100%; padding: 1.3rem 1.4rem; font-size: 1.6rem; font-family: inherit; border: 1px solid #b7c0c2; border-radius: 2px; background: #fbfcfc; color: var(--ink); }
.mailform input:focus, .mailform select:focus, .mailform textarea:focus { outline: 3px solid rgba(73,197,177,.55); border-color: var(--green-dark); background: #fff; }
.mailform .radios label { display: inline-block; margin-right: 2.2rem; cursor: pointer; }
.mailform .radios input { margin-right: .5rem; accent-color: var(--red); }
.mailform .agree { margin-top: 2.4rem; font-size: 1.4rem; }
.mailform .agree input { accent-color: var(--red); margin-right: .6rem; }
.mfp_buttons { text-align: center; margin-top: 3rem; }
.mfp_buttons button { font-family: inherit; cursor: pointer; background: var(--red); color: #fff; border: 0; font-weight: 700; font-size: 1.8rem; padding: 1.8rem 6rem; letter-spacing: .12em; border-radius: 2px; }
.mfp_buttons button:hover { background: var(--red-dark); }
.mail_box[hidden] { display: none; }
.form-lead { text-align: center; margin: -1rem 0 1rem; font-size: 1.4rem; color: var(--ink-sub); }
.form-tabs { display: flex; max-width: 720px; margin: 0 auto; }
.form-tab { flex: 1; font-family: inherit; font-weight: 700; font-size: 1.5rem; padding: 1.4rem 1rem; cursor: pointer; border: 0; background: #3a4245; color: #fff; letter-spacing: .06em; }
.form-tab.active { background: var(--red); }
.form-tab:focus-visible { outline: 3px solid var(--green); outline-offset: -3px; }
.form-status { margin-top: 1.6rem; text-align: center; font-size: 1.4rem; color: var(--ink-sub); }

/* ---------- フッタ ---------- */
footer { background: #111516; text-align: center; color: #cfd6d7; padding: 4rem 0 3.4rem; }
footer .f-logo img { height: 34px; width: auto; }
footer .f-addr { margin: 1.6rem 0 0; font-size: 1.3rem; line-height: 1.9; }
footer small { display: block; margin-top: 1.8rem; font-size: 1.2rem; color: #8b9698; }

/* ---------- ページトップ / CTA ---------- */
#fixedTop { display: block; position: fixed; width: 54px; height: 54px; line-height: 54px; background: var(--red); right: 0; bottom: -200px; text-align: center; z-index: 20; cursor: pointer; }
#fixedTop span { color: #fff; font-size: 3rem; line-height: 54px; }
.cta a { display: none; }

/* ---------- スクロール表示 ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .card-img img { transition: none; } }

/* ==========================================================
   タブレット / スマホ
   ========================================================== */
@media (max-width: 991px) {
  .mv-title { font-size: 3.8rem; }
  .model-grid { grid-template-columns: 1fr; }
  .voice-card { grid-template-columns: 1fr; gap: 2.4rem; padding: 3rem 2.4rem; }
  .message-box { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  body { letter-spacing: .02em; font-size: 1.5rem; line-height: 1.85; padding-bottom: 50px; }
  section { padding: 5rem 0 5.5rem; }
  .pc { display: none; }
  .sp { display: block; }
  h2 { font-size: 2.6rem; margin-bottom: 3rem; }
  h2 span { font-size: 1.3rem; }
  h3 { margin: 1.5em 0 1em; font-size: 1.8rem; }
  p.lead { font-size: 2rem; }

  header .wrap-header { height: 60px; }
  header .wrap-header h1.logo { left: 14px; }
  header .wrap-header h1.logo img { height: 28px; }
  header .hamburger { display: block; position: absolute; z-index: 13; right: 10px; top: 9px; width: 42px; height: 42px; cursor: pointer; }
  header .hamburger span { display: block; position: absolute; width: 28px; height: 3px; left: 7px; background: var(--ink); transition: .4s ease-in-out; }
  header .hamburger span:nth-child(1) { top: 11px; }
  header .hamburger span:nth-child(2) { top: 20px; }
  header .hamburger span:nth-child(3) { top: 29px; }
  header .hamburger.active span { background: #fff; }
  header .hamburger.active span:nth-child(1) { top: 20px; transform: rotate(315deg); }
  header .hamburger.active span:nth-child(2), header .hamburger.active span:nth-child(3) { top: 20px; transform: rotate(-315deg); }
  header .wrap-header nav { max-width: 100%; position: fixed; z-index: 12; top: 0; left: 0; transform: translateX(100%); transition: all .5s; width: 100%; margin: 0 !important; padding: 60px 0 0; background: rgba(28,34,36,.97); min-height: 100vh; visibility: hidden; }
  header .wrap-header nav.active { transform: translateX(0); visibility: visible; }
  header .wrap-header nav ul { display: block; padding: 0; }
  header .wrap-header nav ul li { margin: 0; border-bottom: 1px solid rgba(255,255,255,.2); text-align: center; }
  header .wrap-header nav ul li:last-child { margin: 0; }
  header .wrap-header nav ul li a { display: block; color: #fff; line-height: 1.5; padding: 1.7rem 1rem; }
  header .wrap-header nav ul li a::after { display: none; }
  header .wrap-header nav ul li a.nav-cta { margin: 2rem; padding: 1.5rem; }

  .mv-inner { padding: 5rem 20px 8.5rem; }
  .mv-wrap::before { background: linear-gradient(180deg, rgba(20,26,28,.86) 0%, rgba(20,26,28,.72) 55%, rgba(20,26,28,.5) 100%); }
  .mv-title { font-size: 2.3rem; letter-spacing: 0; }
  .facts .v small { display: block; margin: 0; font-size: 1.1rem; }
  .mv-sub { font-size: 1.5rem; margin-bottom: 2.8rem; }
  .mv-eyebrow { font-size: 1.2rem; }
  .btn { width: 100%; font-size: 1.5rem; padding: 1.5rem 2rem; }
  .facts { margin-top: -4.5rem; padding: 0 12px; }
  .facts ul { grid-template-columns: 1fr 1fr; }
  .facts li { padding: 1.6rem .6rem; border-bottom: 1px solid var(--line); }
  .facts li:nth-child(2n) { border-right: 0; }
  .facts li:nth-last-child(-n+2) { border-bottom: 0; }
  .facts .v { font-size: 2.2rem; }

  #lead { padding: 5rem 0 4.5rem; }
  #lead .lead-copy { font-size: 2rem; }
  #lead .greeting { grid-template-columns: 1fr; text-align: left; padding: 2.4rem 2rem; gap: 1.6rem; justify-items: center; }
  #lead .greeting img, #lead .greeting .photo-blank { width: 110px; height: 110px; }

  h3.type01 { font-size: 1.8rem; }
  #check .check-item { padding: 2.2rem 1.8rem; }
  #check .check-item h3 { font-size: 1.8rem; }
  #check .check-close { font-size: 1.8rem; }
  .fit-item { grid-template-columns: 1fr; gap: .6rem; }
  .fit-item .no { font-size: 4rem; }
  .fit-item h3 { font-size: 1.9rem; }
  .holiday { grid-template-columns: 1fr; padding: 2.4rem 2rem; gap: 1.6rem; text-align: center; }
  .holiday .badge { font-size: 2.2rem; padding: 1.4rem; }

  .voice-card .who img { width: 150px; }
  .voice-card .txt .voice-title { font-size: 1.9rem; }

  .flow-box h3.icon { font-size: 1.6rem; }
  .flow-box .schedule-box .img { min-height: 0; aspect-ratio: 16 / 9; }
  .flow-box .schedule-box .text_box { padding: 1.8rem 1.6rem; }
  .arrow span { font-size: 4rem; }

  table { width: calc(100% - 20px); max-width: none; }
  table, table tbody, table tr, table th, table td { display: block; width: 100%; }
  table tr { border: 1px solid var(--line); margin-bottom: 1rem; border-top-width: 1px; }
  table tr:first-child { border-top: 1px solid var(--line); }
  table th { padding: 1rem 1.4rem; }
  table td { padding: 1.4rem; }

  .accordion_open { padding: 1.3rem 5.4rem 1.3rem 5.4rem; font-size: 1.4rem; }
  .accordion_open::before { width: 4rem; }
  .accordion_open::after { right: 1.6rem; }
  .accordion_inner { padding-left: 5.4rem; padding-right: 1.4rem; font-size: 1.4rem; }
  .accordion_inner::before { width: 4rem; }
  .accordion_hidden:checked + .accordion_open + .accordion_inner { padding-left: 5.4rem; padding-right: 1.4rem; }

  .message-box .img img { box-shadow: 8px 8px 0 var(--green); }
  .map-frame { height: 340px; }
  .contact-cards { grid-template-columns: 1fr; margin: 3rem auto 4rem; }
  .contact-card .tel { font-size: 3rem; }
  .mail_box { padding: 2.4rem 1.6rem; }
  .mailform .radios label { display: block; margin: .4rem 0; }

  .cta a { display: block; width: calc(100% - 54px); background: var(--red); height: 54px; line-height: 54px; color: #fff; font-size: 1.7rem; font-weight: 700; position: fixed; bottom: 0; left: 0; text-align: center; z-index: 19; letter-spacing: .1em; }
  #fixedTop { width: 54px; height: 54px; }
}

/* ---------- 文章全文掲載用の追加スタイル ---------- */
.wide-card { display: grid; grid-template-columns: 400px 1fr; background: #fff; border-top: 4px solid var(--green); box-shadow: 0 4px 18px rgba(0,0,0,.07); margin-bottom: 3rem; }
.wide-card .card-img { aspect-ratio: auto; overflow: hidden; position: relative; background: #ccc; min-height: 260px; }
.wide-card .card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.wide-card .card-body { padding: 3rem 3.4rem 3.2rem; }
.wide-card .card-body p { margin: 0 0 1em; font-size: 1.5rem; }
.wide-card .card-body p:last-child { margin-bottom: 0; }
.wide-card h3.type02 { font-size: 2.1rem; margin-bottom: 1.4rem; }
.holiday .badge .material-symbols-outlined { font-size: 5rem; }
.voice-card .txt .voice-no { font-weight: 900; color: var(--red); letter-spacing: .12em; font-size: 1.6rem; margin-bottom: 1.4rem; padding-bottom: 1rem; border-bottom: 2px dotted var(--line); }
.voice-card .txt .voice-note { margin-top: 2rem; font-size: 1.2rem; color: var(--ink-sub); }
.voice-card .who .role { font-weight: 700; font-size: 1.5rem; }
.flow-box .flow-item h3.icon { align-items: center; }
@media (max-width: 991px) { .wide-card { grid-template-columns: 1fr; } .wide-card .card-img { min-height: 0; aspect-ratio: 16 / 9; } }
@media (max-width: 768px) { .wide-card .card-body { padding: 2.2rem 1.8rem 2.4rem; } }

/* ---------- 環境・ツール一覧表 ---------- */
table.tools-table { width: 100%; max-width: 900px; margin: 0 auto; }
table.tools-table th { width: 34%; font-size: 1.7rem; vertical-align: middle; border-left: 8px solid var(--red); padding: 2.2rem 1.8rem; }
table.tools-table th .material-symbols-outlined { font-size: 2.6rem; margin-right: 1rem; color: var(--green); vertical-align: middle; }
table.tools-table th::after { content: none; }
table.tools-table td { font-size: 1.9rem; font-weight: 700; vertical-align: middle; padding: 2.2rem 2.4rem; }
table.tools-table td .sub { display: block; margin-top: .8rem; font-size: 1.3rem; font-weight: 400; color: var(--ink-sub); }
table.tools-table tr:nth-child(even) td { background: var(--bg-gray); }
@media (max-width: 768px) {
  table.tools-table { width: 100%; }
  table.tools-table th { width: 100%; border-left-width: 6px; padding: 1.2rem 1.4rem; font-size: 1.6rem; }
  table.tools-table td { font-size: 1.6rem; padding: 1.4rem; }
}

/* 担当者メッセージ：丸枠の空写真 */
.message-box .img { display: flex; justify-content: center; }
.photo-blank-lg { width: 280px; height: 280px; max-width: 100%; border-radius: 50%; background: #dfe4e5; border: 6px solid #fff; box-shadow: 0 0 0 3px var(--green); }
.message-box .img img { border-radius: 50%; }
@media (max-width: 768px) { .photo-blank-lg { width: 200px; height: 200px; } }

/* 土日完全休み・有給：写真つきバナー */
.holiday { grid-template-columns: 360px 1fr; align-items: stretch; padding: 0; gap: 0; }
.holiday > div:last-child { padding: 3.2rem 3.6rem; align-self: center; }
.holiday .holiday-img { overflow: hidden; }
.holiday .holiday-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 768px) {
  .holiday { grid-template-columns: 1fr; text-align: left; padding: 0; }
  .holiday .holiday-img { aspect-ratio: 3 / 2; }
  .holiday > div:last-child { padding: 2.2rem 1.8rem 2.4rem; }
}

/* ---------- 見学／応募 並列導線 ---------- */
header .wrap-header nav ul li a.nav-line { line-height: 1; padding: 1.1rem 2rem; border: 2px solid var(--red); color: var(--red); border-radius: 2px; }
header .wrap-header nav ul li a.nav-line::after { display: none; }
header .wrap-header nav ul li a.nav-line:hover { background: var(--red); color: #fff; }
header .wrap-header nav ul li { margin-right: 2.4rem; }
header .wrap-header nav ul li:nth-last-child(2) { margin-right: 1rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 1.4rem; justify-content: center; }
#flow .contact-cards { max-width: 900px; margin: 4rem auto 2.4rem; }
#flow a.contact-card { display: block; transition: transform .2s, box-shadow .2s; }
#flow a.contact-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0,0,0,.3); }
#flow a.contact-card:nth-child(1) { border-top-color: var(--green); }
#flow a.contact-card:nth-child(2) { border-top-color: var(--red); }
.contact-tel { text-align: center; margin: 0 0 5rem; font-size: 1.4rem; color: #dfe6e6; }
.contact-tel .tel { color: #fff; font-size: 2.4rem; font-weight: 900; letter-spacing: .04em; margin-right: .6rem; }
.forms-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; scroll-margin-top: 90px; }
.forms-grid .mail_box { width: 100%; padding: 3rem 2.6rem; scroll-margin-top: 90px; }
.forms-grid .mail_box#formCasual { border-top: 6px solid var(--green); }
.forms-grid .mail_box#formApply { border-top: 6px solid var(--red); }
.forms-grid .mail_box h3 { font-size: 2.1rem; }
@media (max-width: 991px) { .forms-grid { grid-template-columns: 1fr; } }
@media (max-width: 768px) {
  .cta { display: flex; position: fixed; bottom: 0; left: 0; width: calc(100% - 54px); z-index: 19; }
  .cta a { display: block; flex: 1; width: auto; background: var(--red); height: 54px; line-height: 54px; color: #fff; font-size: 1.6rem; font-weight: 700; text-align: center; position: static; letter-spacing: .08em; }
  .cta a:first-child { background: var(--ink); }
  .forms-grid .mail_box { padding: 2.4rem 1.6rem; }
  .contact-tel .tel { display: block; margin: .4rem 0; }
}

/* 「SGICではこんな働き方ができます！」セクション：写真の幅を全カード共通（400px）にし、高さはカードの高さに合わせて写真が枠いっぱいに入る */
#benefit .wide-card { align-items: stretch; }
@media (max-width: 991px) {
  #benefit .wide-card .card-img { height: auto; aspect-ratio: 16 / 9; }
}

/* 「特別な経験」セクションの太字強調：黒の太字 */
#about strong { color: var(--ink); font-weight: 700; }

/* 採用担当の写真（丸型） */
#lead .greeting img { height: 150px; object-fit: cover; }
@media (max-width: 768px) { #lead .greeting img { height: 110px; } }
.message-box .img { text-align: center; }
.message-box .img img.photo-round { width: 280px; max-width: 100%; height: 280px; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 50%; border: 6px solid #fff; box-shadow: 0 0 0 3px var(--green); }
@media (max-width: 768px) { .message-box .img img.photo-round { width: 200px; height: 200px; box-shadow: 0 0 0 3px var(--green); } }

/* リードコピーの改行：文節ごとに折り返し */
#lead .lead-copy .nb { display: inline-block; }
#lead .lead-copy-s { font-size: 2.4rem; }
@media (max-width: 768px) { #lead .lead-copy-s { font-size: 1.8rem; } }

/* 見出し・リードの改行：文節ごとに折り返し */
h2 .nb, #flow .lead .nb { display: inline-block; }
#flow .lead { text-align: left; max-width: 900px; margin-left: auto; margin-right: auto; }
/* 見出し内の文節spanは英字ラベル(h2 span)のスタイルを引き継がない */
h2 span.nb { display: inline-block !important; font-size: inherit !important; font-weight: inherit !important; letter-spacing: inherit !important; text-transform: none !important; color: inherit !important; margin: 0 !important; }
