*, *::before, *::after { box-sizing:border-box; margin:0; padding:0; }
:root {
  --red:    #E60012;
  --blue:   #0066CC;
  --yellow: #FFD500;
  --navy:   #1E293B;
  --body:   #334155;
  --sub:    #64748B;
  --border: #E2E8F0;
  --bg:     #F8FAFC;
  --white:  #FFFFFF;
}
html { scroll-behavior:smooth; }
body { font-family:'Noto Sans JP',sans-serif; color:var(--body); line-height:1.75; overflow-x:hidden; background:#fff; }

/* Header */
header { position:fixed; top:0; left:0; right:0; z-index:200; background:rgba(255,255,255,.97); backdrop-filter:blur(12px); border-bottom:1px solid var(--border); height:64px; display:flex; align-items:center; }
.header-inner { max-width:1200px; margin:0 auto; width:100%; padding:0 40px; display:flex; align-items:center; justify-content:space-between; }
.logo { font-family:'Outfit',sans-serif; font-weight:900; font-size:1.4rem; color:var(--navy); text-decoration:none; letter-spacing:.05em; }
.logo .s { color:var(--red); }
.logo .t { color:var(--blue); }
nav { display:flex; gap:32px; align-items:center; }
nav a { font-size:.82rem; font-weight:500; color:var(--sub); text-decoration:none; transition:color .2s; }
nav a:hover, nav a.on { color:var(--navy); font-weight:700; }
.nav-contact { background:var(--red); color:#fff!important; padding:8px 20px; border-radius:4px; font-weight:700!important; }

/* Hero */
.hero { margin-top:64px; min-height:72vh; background:#fff; position:relative; overflow:hidden; display:flex; align-items:center; }
.hero-band { position:absolute; top:0; left:0; bottom:0; width:6px; background:linear-gradient(to bottom, var(--red), var(--blue)); }
.hero-right-block { position:absolute; right:0; top:0; bottom:0; width:42%; background:var(--red); clip-path:polygon(18% 0,100% 0,100% 100%,0% 100%); }
.hero-right-block::after { content:'MID\ACAREER'; white-space:pre; position:absolute; bottom:32px; right:32px; font-family:'Outfit',sans-serif; font-size:4.5rem; font-weight:900; color:rgba(255,255,255,.07); line-height:1.1; text-align:right; }
.hero-photo-area { position:absolute; right:0; top:0; bottom:0; width:42%; clip-path:polygon(18% 0,100% 0,100% 100%,0% 100%); background:linear-gradient(145deg,#ffd0cc,#ffb3ab); display:flex; align-items:center; justify-content:center; flex-direction:column; gap:10px; }
.hero-photo-area span { font-size:.8rem; color:rgba(200,0,0,.4); font-weight:500; }
.hero-overlay { position:absolute; right:0; top:0; bottom:0; width:42%; clip-path:polygon(18% 0,100% 0,100% 100%,0% 100%); background:linear-gradient(to right, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 35%); pointer-events:none; }
.hero-inner { max-width:1200px; margin:0 auto; width:100%; padding:100px 40px; position:relative; z-index:5; }
.breadcrumb { display:flex; gap:8px; margin-bottom:36px; }
.breadcrumb a { font-size:.78rem; color:var(--sub); text-decoration:none; }
.breadcrumb span { font-size:.78rem; color:var(--sub); }
.breadcrumb .cur { color:var(--red); }
.hero-label { font-family:'Outfit',sans-serif; font-size:.7rem; font-weight:700; letter-spacing:.25em; color:var(--red); margin-bottom:16px; display:flex; align-items:center; gap:12px; }
.hero-label::before { content:''; display:block; width:40px; height:2px; background:var(--red); }
.hero-h1 { font-family:'Zen Kaku Gothic New',sans-serif; font-size:clamp(2.6rem,5vw,4.8rem); font-weight:900; color:var(--navy); line-height:1.1; letter-spacing:-.03em; margin-bottom:28px; }
.hero-h1 .red { color:var(--red); }
.hero-h1 .sub-line { display:block; font-size:clamp(1.4rem,2.5vw,2.2rem); color:var(--blue); margin-top:8px; }
.hero-desc { font-size:1rem; color:var(--sub); line-height:1.9; max-width:500px; margin-bottom:48px; }
.hero-btns { display:flex; gap:16px; flex-wrap:wrap; }
.btn-red { display:inline-flex; align-items:center; gap:10px; background:var(--red); color:#fff; font-weight:700; font-size:.92rem; padding:18px 44px; border-radius:4px; text-decoration:none; transition:all .25s; box-shadow:0 4px 20px rgba(230,0,18,.2); }
.btn-red:hover { background:#c0000f; transform:translateY(-2px); box-shadow:0 8px 28px rgba(230,0,18,.3); }
.btn-outline { display:inline-flex; align-items:center; gap:10px; border:2px solid var(--navy); color:var(--navy); font-weight:700; font-size:.9rem; padding:16px 36px; border-radius:4px; text-decoration:none; transition:all .25s; }
.btn-outline:hover { background:var(--navy); color:#fff; }

/* Wrap / Section */
.wrap { max-width:1200px; margin:0 auto; padding:0 40px; }
section { padding:96px 0; }
.bg { background:var(--bg); }
.ttl-block { margin-bottom:56px; }
.section-en { font-family:'Outfit',sans-serif; font-size:.7rem; font-weight:700; letter-spacing:.2em; color:var(--red); text-transform:uppercase; display:flex; align-items:center; gap:10px; margin-bottom:14px; }
.section-en::before { content:''; display:block; width:28px; height:2px; background:var(--red); }
.section-ttl { font-family:'Zen Kaku Gothic New',sans-serif; font-size:clamp(1.8rem,3.5vw,2.8rem); font-weight:900; color:var(--navy); line-height:1.2; letter-spacing:-.02em; }
.section-lead { font-size:.97rem; color:var(--sub); line-height:1.9; max-width:600px; margin-top:16px; }

/* Why AST */
.why-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.why-card { background:#fff; border:1px solid var(--border); border-top:4px solid var(--red); border-radius:0 0 12px 12px; padding:36px 28px; transition:transform .3s, box-shadow .3s; }
.why-card:nth-child(2) { border-top-color:var(--blue); }
.why-card:nth-child(3) { border-top-color:var(--yellow); }
.why-card:hover { transform:translateY(-6px); box-shadow:0 16px 48px rgba(0,0,0,.08); }
.why-num { font-family:'Outfit',sans-serif; font-size:.68rem; font-weight:700; letter-spacing:.2em; color:var(--red); margin-bottom:16px; }
.why-card:nth-child(2) .why-num { color:var(--blue); }
.why-card:nth-child(3) .why-num { color:#B45309; }
.why-card h3 { font-family:'Zen Kaku Gothic New',sans-serif; font-size:1.1rem; font-weight:700; color:var(--navy); margin-bottom:12px; line-height:1.4; }
.why-card p { font-size:.88rem; color:var(--sub); line-height:1.85; }

/* Jobs */
.job-card { background:#fff; border:1px solid var(--border); border-radius:12px; overflow:hidden; margin-bottom:20px; box-shadow:0 1px 4px rgba(0,0,0,.04); transition:box-shadow .3s; }
.job-card:hover { box-shadow:0 6px 24px rgba(0,0,0,.08); }
.job-head { padding:28px 36px; display:flex; align-items:center; justify-content:space-between; cursor:pointer; gap:24px; }
.job-head-left { flex:1; }
.job-badge { display:inline-block; background:#FFF0F0; color:var(--red); font-size:.7rem; font-weight:700; padding:4px 12px; border-radius:4px; letter-spacing:.06em; margin-bottom:10px; }
.job-head h3 { font-family:'Zen Kaku Gothic New',sans-serif; font-size:1.15rem; font-weight:700; color:var(--navy); margin-bottom:10px; }
.job-tags { display:flex; gap:8px; flex-wrap:wrap; }
.job-tag { background:var(--bg); color:var(--sub); font-size:.72rem; padding:3px 10px; border-radius:4px; }
.job-salary { text-align:right; flex-shrink:0; }
.job-salary .val { font-family:'Outfit',sans-serif; font-size:1.4rem; font-weight:900; color:var(--red); }
.job-salary .val span { font-size:.8rem; color:var(--sub); font-family:'Noto Sans JP',sans-serif; font-weight:400; }
.job-salary .lbl { font-size:.72rem; color:var(--sub); margin-top:2px; }
.expand-btn { width:36px; height:36px; border-radius:50%; border:2px solid var(--border); background:#fff; display:flex; align-items:center; justify-content:center; cursor:pointer; transition:all .3s; flex-shrink:0; font-size:1rem; color:var(--sub); }
.job-card.open .expand-btn { background:var(--navy); border-color:var(--navy); color:#fff; transform:rotate(180deg); }
.job-body { max-height:0; overflow:hidden; transition:max-height .4s cubic-bezier(.4,0,.2,1); }
.job-card.open .job-body { max-height:1400px; }
.job-body-inner { padding:32px 36px; border-top:1px solid var(--border); display:grid; grid-template-columns:1fr 1fr; gap:40px; }
.detail-group h4 { font-family:'Outfit',sans-serif; font-size:.7rem; font-weight:700; letter-spacing:.15em; color:var(--blue); margin-bottom:14px; }
.detail-table { border-collapse:collapse; width:100%; }
.detail-table tr { border-bottom:1px solid #F1F5F9; }
.detail-table th { width:110px; padding:11px 0; font-size:.82rem; font-weight:600; color:var(--sub); text-align:left; vertical-align:top; }
.detail-table td { padding:11px 0 11px 16px; font-size:.88rem; color:var(--body); vertical-align:top; line-height:1.7; }
.detail-table td ul { padding-left:1em; }
.detail-table td li { margin-bottom:3px; }
.apply-btn { display:inline-flex; align-items:center; gap:8px; background:var(--red); color:#fff; font-weight:700; font-size:.88rem; padding:14px 32px; border-radius:4px; text-decoration:none; margin-top:20px; transition:all .2s; }
.apply-btn:hover { background:#c0000f; transform:translateY(-1px); }
.full-col { grid-column:1/-1; }

/* Casual CTA */
.casual-bar { background:var(--navy); padding:56px 40px; border-radius:16px; display:flex; align-items:center; justify-content:space-between; gap:40px; margin-top:48px; }
.casual-bar-text h3 { font-family:'Zen Kaku Gothic New',sans-serif; font-size:1.4rem; font-weight:900; color:#fff; margin-bottom:8px; }
.casual-bar-text p { font-size:.9rem; color:rgba(255,255,255,.6); }
.casual-bar-btn { display:inline-flex; align-items:center; gap:10px; border:2px solid rgba(255,255,255,.4); color:#fff; font-weight:700; font-size:.9rem; padding:14px 32px; border-radius:4px; text-decoration:none; white-space:nowrap; transition:all .2s; flex-shrink:0; }
.casual-bar-btn:hover { border-color:#fff; background:rgba(255,255,255,.1); }

/* Flow */
.flow-row { display:grid; grid-template-columns:repeat(6,1fr); gap:0; position:relative; }
.flow-row::before { content:''; position:absolute; top:28px; left:calc(100%/12); right:calc(100%/12); height:2px; background:linear-gradient(90deg,var(--red),var(--blue)); z-index:0; }
.flow-step { text-align:center; padding:0 6px; position:relative; z-index:1; }
.flow-circle { width:56px; height:56px; border-radius:50%; background:var(--navy); color:#fff; font-family:'Outfit',sans-serif; font-weight:700; font-size:.95rem; display:flex; align-items:center; justify-content:center; margin:0 auto 20px; box-shadow:0 0 0 6px #fff; }
.flow-step:last-child .flow-circle { background:var(--red); }
.flow-step h4 { font-size:.86rem; font-weight:700; color:var(--navy); margin-bottom:6px; }
.flow-step p { font-size:.75rem; color:var(--sub); line-height:1.6; }

/* Voice */
.voice-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:24px; }
.voice-card { background:#fff; border:1px solid var(--border); border-radius:12px; padding:32px; transition:transform .3s, box-shadow .3s; }
.voice-card:hover { transform:translateY(-4px); box-shadow:0 12px 36px rgba(0,0,0,.07); }
.voice-q { font-family:'Outfit',sans-serif; font-size:4rem; color:#FEE2E2; line-height:1; margin-bottom:-8px; }
.voice-text { font-family:'Zen Kaku Gothic New',sans-serif; font-size:1rem; font-weight:700; color:var(--navy); line-height:1.5; margin-bottom:14px; }
.voice-body { font-size:.86rem; color:var(--sub); line-height:1.85; margin-bottom:24px; }
.voice-person { display:flex; align-items:center; gap:12px; border-top:1px solid var(--border); padding-top:16px; }
.v-avatar { width:44px; height:44px; border-radius:50%; background:var(--bg); display:flex; align-items:center; justify-content:center; font-size:1.2rem; flex-shrink:0; }
.v-name { font-size:.88rem; font-weight:700; color:var(--navy); }
.v-role { font-size:.75rem; color:var(--sub); margin-top:2px; }

/* Q&A */
.qa-wrap { max-width:760px; }
.qa-item { border-bottom:1px solid var(--border); }
.qa-q { display:flex; align-items:flex-start; gap:16px; padding:22px 0; cursor:pointer; }
.qa-q:hover .qa-qtext { color:var(--red); }
.qa-qmark { font-family:'Outfit',sans-serif; font-size:1.1rem; font-weight:900; color:var(--red); flex-shrink:0; line-height:1.5; }
.qa-qtext { font-size:.96rem; font-weight:600; color:var(--navy); flex:1; line-height:1.55; transition:color .2s; }
.qa-icon { font-size:1.2rem; color:var(--sub); flex-shrink:0; transition:transform .3s; margin-top:2px; }
.qa-item.open .qa-icon { transform:rotate(45deg); }
.qa-a { max-height:0; overflow:hidden; transition:max-height .35s cubic-bezier(.4,0,.2,1); }
.qa-item.open .qa-a { max-height:300px; }
.qa-a-inner { display:flex; gap:16px; padding:0 0 22px 40px; }
.qa-amark { font-family:'Outfit',sans-serif; font-size:1.1rem; font-weight:900; color:var(--blue); flex-shrink:0; line-height:1.5; }
.qa-atext { font-size:.9rem; color:var(--sub); line-height:1.9; flex:1; }

/* CTA bottom */
.cta-bottom { background:var(--red); padding:100px 0; position:relative; overflow:hidden; }
.cta-bottom::before { content:'APPLY'; position:absolute; right:-20px; bottom:-20px; font-family:'Outfit',sans-serif; font-size:16rem; font-weight:900; color:rgba(255,255,255,.05); line-height:1; pointer-events:none; }
.cta-inner { position:relative; z-index:1; text-align:center; }
.cta-inner h2 { font-family:'Zen Kaku Gothic New',sans-serif; font-size:clamp(1.8rem,4vw,3rem); font-weight:900; color:#fff; margin-bottom:16px; }
.cta-inner p { font-size:1rem; color:rgba(255,255,255,.75); margin-bottom:48px; }
.cta-btns { display:flex; gap:20px; justify-content:center; flex-wrap:wrap; }
.btn-white { display:inline-flex; align-items:center; gap:10px; background:#fff; color:var(--red); font-weight:700; font-size:.95rem; padding:18px 44px; border-radius:4px; text-decoration:none; transition:all .2s; box-shadow:0 4px 20px rgba(0,0,0,.15); }
.btn-white:hover { transform:translateY(-2px); box-shadow:0 8px 32px rgba(0,0,0,.2); }
.btn-white-outline { display:inline-flex; align-items:center; gap:10px; border:2px solid rgba(255,255,255,.5); color:#fff; font-weight:600; font-size:.9rem; padding:16px 36px; border-radius:4px; text-decoration:none; transition:all .2s; }
.btn-white-outline:hover { border-color:#fff; background:rgba(255,255,255,.1); }

/* Footer */
footer { background:var(--navy); padding:64px 0 0; }
.footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr 1fr 1fr; gap:48px; padding-bottom:48px; border-bottom:1px solid rgba(255,255,255,.07); }
.footer-logo { font-family:'Outfit',sans-serif; font-size:1.4rem; font-weight:900; color:#fff; display:block; margin-bottom:14px; letter-spacing:.05em; text-decoration:none; }
.footer-brand p { font-size:.82rem; color:rgba(255,255,255,.38); line-height:1.8; max-width:240px; }
.footer-nav h4 { font-size:.7rem; font-weight:700; letter-spacing:.15em; color:rgba(255,255,255,.45); text-transform:uppercase; margin-bottom:14px; font-family:'Outfit',sans-serif; }
.footer-nav ul { list-style:none; }
.footer-nav li { margin-bottom:9px; }
.footer-nav a { font-size:.82rem; color:rgba(255,255,255,.48); text-decoration:none; transition:color .2s; }
.footer-nav a:hover { color:#fff; }
.footer-btm { padding:20px 0; display:flex; justify-content:space-between; align-items:center; }
.footer-btm p { font-size:.74rem; color:rgba(255,255,255,.25); }
.footer-btm-links { display:flex; gap:24px; }
.footer-btm-links a { font-size:.74rem; color:rgba(255,255,255,.28); text-decoration:none; }

/* ---- モバイル対応（追加） ---- */
@media (max-width: 768px) {
  .hero { min-height: auto; display: block; }
  .hero-right-block, .hero-overlay { display: none; }
  .hero-photo-area { position: relative; width: 100%; height: 220px; clip-path: none; }
  .hero-inner { padding: 90px 20px 30px !important; }
  .why-grid, .job-body-inner, .flow-row, .voice-grid { grid-template-columns: 1fr !important; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .wrap { padding-left: 20px; padding-right: 20px; }
}
