/* ============================================================
 *  GRIOS 採用ページ 共通スタイル  (grios-recruit.css)
 *  全ページ共通で1回だけ読み込めばOK
 * ============================================================ */
/* ---- scope: すべて .grios-recruit 配下。テーマCSSと干渉しません ---- */
.grios-recruit *{box-sizing:border-box;}
.grios-recruit{
  --coral:#E8613A; --coral-d:#D14E29; --coral-tint:#FBEDE7;
  --sky:#1B72D4; --sky-l:#3A8DDE; --sky-tint:#EAF2FC;
  --green:#1E8A5E; --ink:#1A1A1A; --near:#111111;
  --gray:#8A8A8A; --line:#E4E4E4; --paper:#FFFFFF;
  font-family:"Meiryo","Hiragino Kaku Gothic ProN","Yu Gothic","YuGothic",sans-serif;
  color:var(--ink); background:var(--paper);
  max-width:960px; margin:0 auto; line-height:1.85;
  -webkit-font-smoothing:antialiased;
}
.grios-recruit a{color:inherit;}

/* ---- ヘッダー / ナビ ---- */
.gr-head{
  position:sticky; top:0; z-index:20; background:rgba(255,255,255,.94);
  backdrop-filter:blur(8px); border-bottom:1px solid var(--line);
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 24px; flex-wrap:wrap; gap:10px;
}
.gr-logo{display:flex; align-items:center;}
.gr-logoimg{height:26px; width:auto; display:block;}
.gr-nav{display:flex; gap:4px; flex-wrap:wrap;}
.gr-tab{
  border:none; background:transparent; cursor:pointer; font:inherit;
  font-size:14px; color:var(--gray); padding:8px 14px; border-radius:999px;
  transition:color .2s, background .2s;
}
.gr-tab:hover{color:var(--ink);}
.gr-tab.is-active{color:#fff; background:var(--ink);}
.gr-tab:focus-visible{outline:2px solid var(--sky); outline-offset:2px;}

/* ---- ページ切替 ---- */
.gr-page{display:none;}
.gr-page.is-shown{display:block; animation:grfade .35s ease;}
@keyframes grfade{from{opacity:0; transform:translateY(6px);} to{opacity:1; transform:none;}}

/* ---- ヒーロー ---- */
.gr-hero{position:relative; overflow:hidden; background:var(--near); color:#fff; padding:64px 40px 58px;}
.gr-hero .ghost{
  position:absolute; right:-10px; bottom:-24px; font-family:"Calibri","Segoe UI",sans-serif;
  font-weight:800; font-size:150px; letter-spacing:.02em; color:#fff; opacity:.05;
  line-height:1; pointer-events:none; user-select:none;
}
.gr-kick{
  font-family:"Calibri","Segoe UI",sans-serif; font-size:12px; font-weight:700;
  letter-spacing:.22em; text-transform:uppercase; color:var(--coral); margin:0 0 18px;
}
.gr-hero h1{font-size:30px; font-weight:700; line-height:1.5; margin:0; max-width:80%; position:relative;}
.gr-hero .lead{margin:22px 0 0; color:#cfcfcf; font-size:15px; max-width:80%; position:relative;}
.gr-hero .rule{width:52px; height:3px; background:var(--coral); margin:26px 0 0;}

/* ---- 概要スペック表 ---- */
.gr-body{padding:44px 40px 8px;}
.gr-spec{border-top:2px solid var(--ink); margin:0 0 8px;}
.gr-spec dl{display:grid; grid-template-columns:150px 1fr; margin:0;}
.gr-spec dt,.gr-spec dd{padding:13px 4px; border-bottom:1px solid var(--line); margin:0;}
.gr-spec dt{font-size:12.5px; color:var(--gray); font-weight:700; letter-spacing:.04em;}
.gr-spec dd{font-size:14.5px;}
.gr-spec dd small{color:var(--gray); font-size:12px;}
.gr-spec dd b{color:var(--coral-d);}

/* ---- セクション ---- */
.gr-sec{padding:36px 0 4px;}
.gr-sec .kick{
  font-family:"Calibri","Segoe UI",sans-serif; font-size:11px; font-weight:700;
  letter-spacing:.2em; text-transform:uppercase; color:var(--sky); margin:0 0 6px;
}
.gr-sec h2{
  font-size:20px; font-weight:700; margin:0 0 8px; padding-left:14px; position:relative;
}
.gr-sec h2::before{
  content:""; position:absolute; left:0; top:.2em; bottom:.2em; width:4px;
  background:var(--coral); border-radius:2px;
}
.gr-sec h2 + .under{width:44px; height:2px; background:var(--line); margin:0 0 18px 14px;}
.gr-sec p{margin:0 0 14px; font-size:14.5px;}
.gr-sec ul{margin:0 0 14px; padding-left:1.15em;}
.gr-sec li{font-size:14.5px; margin:0 0 6px;}
.gr-note{font-size:12.5px; color:var(--gray);}

/* ---- キャリアステップ ---- */
.gr-steps{display:grid; gap:12px;}
.gr-step{border:1px solid var(--line); border-left:3px solid var(--coral); border-radius:6px; padding:16px 18px;}
.gr-step .n{font-family:"Calibri",sans-serif; font-size:12px; font-weight:700; letter-spacing:.14em; color:var(--coral); text-transform:uppercase;}
.gr-step h3{margin:2px 0 6px; font-size:16px;}
.gr-step .skill{font-size:12.5px; color:var(--gray); margin:8px 0 0;}
.gr-model{background:var(--coral-tint); border-radius:8px; padding:16px 20px; margin:16px 0 0; font-size:14px;}
.gr-model .row{display:flex; justify-content:space-between; padding:5px 0; border-bottom:1px dashed rgba(0,0,0,.08);}
.gr-model .row:last-child{border:none;}
.gr-model b{color:var(--coral-d);}

/* ---- 魅力カード ---- */
.gr-cards{display:grid; grid-template-columns:1fr 1fr; gap:12px;}
.gr-card{background:var(--sky-tint); border-radius:8px; padding:16px 18px;}
.gr-card h4{margin:0 0 6px; font-size:14px; color:var(--sky);}
.gr-card p{font-size:13px; margin:0;}

/* ---- インターン職種 ---- */
.gr-role{border:1px solid var(--line); border-radius:8px; padding:18px 20px; margin:0 0 12px;}
.gr-role .rk{font-family:"Calibri",sans-serif; font-size:11px; font-weight:700; letter-spacing:.14em; color:var(--sky); text-transform:uppercase;}
.gr-role h3{margin:2px 0 6px; font-size:16px;}
.gr-role p{margin:0; font-size:14px;}

/* ---- タイムテーブル ---- */
.gr-time{background:var(--coral-tint); border-radius:10px; padding:8px 6px; margin:4px 0 0;}
.gr-time .t{display:grid; grid-template-columns:64px 1fr; gap:14px; padding:9px 18px; align-items:baseline; border-bottom:1px solid rgba(232,97,58,.14);}
.gr-time .t:last-child{border:none;}
.gr-time .hh{font-family:"Calibri",sans-serif; font-weight:700; color:var(--coral-d); font-size:14px;}
.gr-time .ev{font-size:14px;}
.gr-core{display:grid; gap:8px; margin:4px 0 0;}
.gr-core li{list-style:none; padding-left:18px; position:relative; font-size:14px;}
.gr-core li::before{content:""; position:absolute; left:0; top:.55em; width:7px; height:7px; border-radius:50%; background:var(--coral);}

/* ---- summer: hero stats ---- */
.gr-herostats{display:flex; gap:30px; margin:26px 0 0; flex-wrap:wrap; position:relative;}
.gr-herostats .s{display:flex; flex-direction:column;}
.gr-herostats .n{font-family:"Calibri","Segoe UI",sans-serif; font-weight:800; font-size:26px; color:#fff; line-height:1;}
.gr-herostats .l{font-size:11.5px; color:#bdbdbd; margin-top:6px; letter-spacing:.02em;}

/* ---- stat cards (数字で見る) ---- */
.gr-stats{display:grid; grid-template-columns:repeat(4,1fr); gap:12px;}
.gr-stat{border:1px solid var(--line); border-radius:10px; padding:20px 12px; text-align:center;}
.gr-stat .n{font-family:"Calibri","Segoe UI",sans-serif; font-weight:800; font-size:30px; color:var(--coral-d); line-height:1;}
.gr-stat .l{font-size:12px; color:var(--gray); margin-top:9px; line-height:1.5;}

/* ---- core icon cards ---- */
.gr-corecards{display:grid; grid-template-columns:repeat(3,1fr); gap:12px;}
.gr-cc{border:1px solid var(--line); border-radius:10px; padding:20px 18px;}
.gr-cc .ic{width:44px; height:44px; border-radius:50%; background:var(--coral-tint); display:flex; align-items:center; justify-content:center; margin-bottom:13px;}
.gr-cc .ic svg{width:22px; height:22px; stroke:var(--coral-d); fill:none;}
.gr-cc h3{margin:0 0 6px; font-size:15px;}
.gr-cc p{margin:0; font-size:13px; color:#555;}

/* ---- visual timeline ---- */
.gr-phase{font-family:"Calibri","Segoe UI",sans-serif; font-size:11px; font-weight:700; letter-spacing:.16em; text-transform:uppercase; color:var(--sky); margin:20px 0 2px; padding-left:22px;}
.gr-tl{position:relative; margin:0; padding-left:22px;}
.gr-tl::before{content:""; position:absolute; left:5px; top:8px; bottom:8px; width:2px; background:linear-gradient(var(--coral),rgba(232,97,58,.18));}
.gr-tl .row{position:relative; display:grid; grid-template-columns:64px 1fr; gap:14px; padding:10px 0; align-items:baseline;}
.gr-tl .row::before{content:""; position:absolute; left:-19px; top:15px; width:10px; height:10px; border-radius:50%; background:#fff; border:2px solid var(--coral);}
.gr-tl .row.hl::before{background:var(--coral);}
.gr-tl .hh{font-family:"Calibri","Segoe UI",sans-serif; font-weight:700; color:var(--coral-d); font-size:13.5px;}
.gr-tl .ev{font-size:14px;}
.gr-tl .ev .tag{display:inline-block; font-size:10.5px; font-weight:700; color:var(--coral-d); background:var(--coral-tint); border-radius:4px; padding:1px 7px; margin-left:7px; vertical-align:middle;}

/* ---- photo placeholders / gallery ---- */
.gr-gallery{display:grid; grid-template-columns:repeat(3,1fr); gap:10px;}
.gr-ph{border-radius:10px; background:repeating-linear-gradient(45deg,#f4f4f4,#f4f4f4 11px,#ededed 11px,#ededed 22px); border:1px solid var(--line); aspect-ratio:4/3; display:flex; align-items:center; justify-content:center; color:#b3b3b3;}
.gr-ph span{font-size:11px; display:flex; flex-direction:column; align-items:center; gap:7px;}
.gr-ph svg{width:26px; height:26px; stroke:#c2c2c2; fill:none;}

/* ---- FAQ ---- */
.gr-faq details{border:1px solid var(--line); border-radius:8px; margin:0 0 8px; overflow:hidden;}
.gr-faq summary{list-style:none; cursor:pointer; padding:14px 18px; font-size:14px; font-weight:700; display:flex; justify-content:space-between; align-items:center; gap:12px;}
.gr-faq summary::-webkit-details-marker{display:none;}
.gr-faq summary::after{content:"＋"; color:var(--coral); font-weight:700;}
.gr-faq details[open] summary::after{content:"−";}
.gr-faq .a{padding:0 18px 15px; font-size:13.5px; color:#555;}

/* ---- floating CTA (summer only; hidden when its article is display:none) ---- */
.gr-fab{position:fixed; right:22px; bottom:22px; z-index:30;}
.gr-fab a{display:inline-flex; align-items:center; gap:8px; background:var(--coral); color:#fff; text-decoration:none; font-weight:700; font-size:14px; padding:13px 26px; border-radius:999px; box-shadow:0 10px 26px rgba(232,97,58,.34); transition:background .2s, transform .15s;}
.gr-fab a:hover{background:var(--coral-d); transform:translateY(-1px);}
.gr-fab a:focus-visible{outline:2px solid #fff; outline-offset:2px;}

/* ---- mentor spotlight ---- */
.gr-mentor{background:var(--near); color:#fff; border-radius:14px; padding:32px 30px; margin:2px 0 0;}
.gr-mgrid{display:grid; grid-template-columns:210px 1fr; gap:26px; align-items:start;}
.gr-mphoto{aspect-ratio:3/4; border-radius:10px; background:repeating-linear-gradient(45deg,#242424,#242424 11px,#1d1d1d 11px,#1d1d1d 22px); border:1px solid #333; display:flex; align-items:center; justify-content:center; color:#666;}
.gr-mphoto span{font-size:11px; display:flex; flex-direction:column; align-items:center; gap:7px;}
.gr-mphoto svg{width:26px; height:26px; stroke:#5a5a5a; fill:none;}
.gr-mbody .role{font-size:13px; color:var(--coral); font-weight:700; margin:0 0 12px; letter-spacing:.02em;}
.gr-mbody .bio{font-size:13.5px; color:#d5d5d5; margin:0; line-height:1.95;}
.gr-mstats{display:grid; grid-template-columns:repeat(4,1fr); gap:16px; margin:22px 0 0; border-top:1px solid #2a2a2a; padding-top:20px;}
.gr-mstat .n{display:block; font-family:"Calibri","Segoe UI",sans-serif; font-weight:800; font-size:23px; color:#fff; line-height:1.15;}
.gr-mstat .n em{font-style:normal; color:var(--coral); font-size:13px;}
.gr-mstat .l{display:block; font-size:11px; color:#9a9a9a; margin-top:7px; line-height:1.5;}

/* ---- feedback keyvisual ---- */
.gr-fbimg{width:100%; border-radius:12px; display:block; margin:2px 0 0;}

/* ---- marquee ---- */
.gr-marquee{overflow:hidden; white-space:nowrap; border-top:1px solid var(--line); border-bottom:1px solid var(--line); padding:14px 0;}
.gr-mqtrack{display:inline-block; animation:grmq 24s linear infinite; font-family:"Calibri","Segoe UI",sans-serif; font-weight:800; letter-spacing:.14em; color:var(--coral); font-size:15px;}
.gr-mqtrack span{padding:0 14px;}
@keyframes grmq{from{transform:translateX(0);} to{transform:translateX(-50%);}}

/* ---- closing ---- */
.gr-closing{background:var(--near); color:#fff; text-align:center; padding:54px 30px;}
.gr-closing .gr-kick{color:var(--coral); margin:0 0 16px;}
.gr-closing h2{font-size:26px; margin:0 0 16px; line-height:1.55;}
.gr-closing p{color:#cfcfcf; font-size:14px; max-width:620px; margin:0 auto; line-height:1.9;}

/* ---- CTA ---- */
.gr-cta{padding:40px; text-align:center; border-top:1px solid var(--line); margin-top:32px;}
.gr-btn{
  display:inline-block; background:var(--coral); color:#fff; text-decoration:none;
  font-weight:700; font-size:15px; padding:15px 44px; border-radius:999px;
  transition:background .2s, transform .15s;
}
.gr-btn:hover{background:var(--coral-d); transform:translateY(-1px);}
.gr-btn:focus-visible{outline:2px solid var(--sky); outline-offset:3px;}
.gr-cta .sub{display:block; font-size:12px; color:var(--gray); margin-top:10px;}

.gr-foot{background:var(--near); color:#8f8f8f; font-size:12px; text-align:center; padding:20px;}
.gr-foot .gr-logoimg{height:20px;}

/* ---- レスポンシブ ---- */
@media(max-width:640px){
  .gr-hero{padding:44px 22px 40px;} .gr-hero h1{font-size:23px; max-width:100%;}
  .gr-hero .lead,.gr-hero .ghost{max-width:100%;} .gr-hero .ghost{font-size:96px;}
  .gr-body{padding:32px 22px 8px;} .gr-cta{padding:32px 22px;}
  .gr-spec dl{grid-template-columns:104px 1fr;}
  .gr-cards{grid-template-columns:1fr;}
  .gr-time .t{grid-template-columns:56px 1fr; gap:10px; padding:9px 12px;}
  .gr-stats{grid-template-columns:repeat(2,1fr);}
  .gr-corecards{grid-template-columns:1fr;}
  .gr-gallery{grid-template-columns:1fr 1fr;}
  .gr-herostats{gap:20px;}
  .gr-tl .row{grid-template-columns:54px 1fr; gap:10px;}
  .gr-fab{right:12px; left:12px; bottom:12px;}
  .gr-fab a{width:100%; justify-content:center;}
  .gr-mgrid{grid-template-columns:1fr;}
  .gr-mphoto{aspect-ratio:16/10; max-width:200px;}
  .gr-mstats{grid-template-columns:1fr 1fr;}
  .gr-closing h2{font-size:21px;}
}
@media(prefers-reduced-motion:reduce){
  .gr-page.is-shown{animation:none;} .gr-btn:hover{transform:none;} .gr-mqtrack{animation:none;}
}
