﻿/* ---- SNAKE CAREER TIMELINE (RECRUIT) v3 ---- */

.snt{
  max-width:920px;
  margin:0 auto
}

.snt-row{
  display:grid;
  grid-template-columns:1fr 56px 1fr;
  align-items:center
}

.snt-hub{
  display:flex;
  justify-content:center;
  align-items:center;
  position:relative;
  z-index:2
}

.snt-circle{
  width:24px;
  height:24px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:0;
  color:transparent;
  box-shadow:0 0 0 8px rgba(var(--accent-rgb),.08);
  flex-shrink:0
}

.snt-slot{
  padding:12px 22px
}

.snt-gap{
}

.snt-card{
  background:#fff;
  border-radius:20px;
  padding:24px 28px;
  border:1.5px solid var(--line);
  transition:box-shadow 220ms,transform 220ms;
  height:100%
}

.snt-card:hover{
  transform:translateY(-3px);
  box-shadow:0 12px 32px rgba(20,30,50,.08)
}

.snt-phase-num{
  font-size:clamp(31px,3.5vw,43px);
  font-weight:900;
  letter-spacing:-.02em;
  line-height:1.15;
  margin:0 0 4px
}

.snt-phase-lbl{
  font-size:13.5px;
  font-weight:900;
  letter-spacing:.2em;
  color:var(--ink-mid);
  margin:0 0 16px;
  display:block
}

.snt-head{
  font-size:19px;
  font-weight:900;
  margin:0 0 8px;
  letter-spacing:.02em
}

.snt-text{
  font-size:16.5px;
  line-height:1.95;
  color:var(--ink);
  font-weight:500;
  margin:0 0 14px
}

.snt-pills{
  display:flex;
  flex-wrap:wrap;
  gap:6px
}

.snt-pill{
  font-size:13px;
  font-weight:900;
  letter-spacing:.12em;
  padding:4px 13px;
  border-radius:999px
}

/* arc connectors — explicit divs, no pseudo-elements */

.snt-arc{
  height:60px
}

.snt-arc-r{
  width:50%;
  margin-left:50%;
  border-right:3px solid;
  border-bottom:3px solid;
  border-bottom-right-radius:60px
}

.snt-arc-l{
  width:50%;
  border-left:3px solid;
  border-bottom:3px solid;
  border-bottom-left-radius:60px
}

/* Stage accent colors */

.sc1 .snt-circle,.sc2 .snt-circle,.sc3 .snt-circle,.sc4 .snt-circle{
  background:linear-gradient(135deg,var(--pink),var(--pink-d))
}

.sc1 .snt-phase-num,.sc2 .snt-phase-num,.sc3 .snt-phase-num,.sc4 .snt-phase-num{
  color:var(--pink)
}

.sc1 .snt-pill,.sc2 .snt-pill,.sc3 .snt-pill,.sc4 .snt-pill{
  background:var(--accent-soft);
  color:var(--pink-d)
}

.sc1 .snt-card,.sc2 .snt-card,.sc3 .snt-card,.sc4 .snt-card{
  border-color:rgba(var(--accent-rgb),.4)
}

.ca12,.ca23,.ca34{
  border-color:var(--pink)
}

@media(max-width:680px){
  .snt-row{
    grid-template-columns:56px 1fr;
    gap:0 14px
  }

  .snt-row .snt-gap{
    display:none
  }

  .snt-hub{
    justify-content:flex-start
  }

  /* sc2/sc4行はHTML順が slot→hub→gap なので、モバイルでは順序を逆転させ hub を左に */

  .sc2 .snt-hub,.sc4 .snt-hub{
    order:-1
  }

  .sc2 .snt-slot,.sc4 .snt-slot{
    order:1
  }

  .snt-circle{
    width:18px;
    height:18px;
    font-size:0
  }

  .snt-slot{
    padding:10px 0
  }

  .snt-arc{
    height:36px
  }

  .snt-arc-r,.snt-arc-l{
    width:3px;
    margin-left:8px;
    border-right:none;
    border-bottom:none;
    border-bottom-right-radius:0;
    border-bottom-left-radius:0;
    border-left:3px solid
  }

  .snt-phase-num{
    font-size:23px
  }

  .snt-card{
    padding:18px 20px
  }

  .snt-phase-lbl{
    font-size:12px;
    letter-spacing:.14em;
    margin-bottom:10px
  }

  .snt-text{
    font-size:15px;
    line-height:1.85
  }

  .snt-pills{
    gap:5px
  }

  .snt-pill{
    font-size:12px;
    padding:3px 10px
  }
}

/* === Background Animated Flow Lines === */

.bg-flow{
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:-1;
  overflow:hidden
}

body[data-page="home"] .bg-flow{
  z-index:1
}

body[data-page="home"] #home .wrap{
  position:relative;
  z-index:2
}

.bg-flow svg{
  width:100%;
  height:100%
}

.bl{
  fill:none;
  stroke-linecap:round;
  stroke-linejoin:round
}

@keyframes fl{
  from{
    stroke-dashoffset:4200
  }

  to{
    stroke-dashoffset:0
  }
}

@keyframes flr{
  from{
    stroke-dashoffset:0
  }

  to{
    stroke-dashoffset:4200
  }
}

.bl1{
  stroke:#E94B5C;
  stroke-width:3.5;
  opacity:.22;
  stroke-dasharray:620 3580;
  animation:fl 20s linear infinite
}

.bl2{
  stroke:#4A8FE7;
  stroke-width:2.5;
  opacity:.18;
  stroke-dasharray:500 3700;
  animation:flr 25s linear infinite;
  animation-delay:-8s
}

.bl3{
  stroke:#60A07D;
  stroke-width:3.5;
  opacity:.16;
  stroke-dasharray:700 3500;
  animation:fl 30s linear infinite;
  animation-delay:-14s
}

.bl4{
  stroke:#E94B5C;
  stroke-width:2.5;
  opacity:.2;
  stroke-dasharray:440 3760;
  animation:flr 22s linear infinite;
  animation-delay:-5s
}

.bl5{
  stroke:#4A8FE7;
  stroke-width:2.5;
  opacity:.15;
  stroke-dasharray:360 3840;
  animation:fl 17s linear infinite;
  animation-delay:-10s
}

.bl6{
  stroke:#60A07D;
  stroke-width:1.5;
  opacity:.12;
  stroke-dasharray:280 3920;
  animation:flr 32s linear infinite;
  animation-delay:-18s
}

.bl7{
  stroke:#E94B5C;
  stroke-width:1.5;
  opacity:.12;
  stroke-dasharray:480 3720;
  animation:fl 28s linear infinite;
  animation-delay:-22s
}

/* Company table */

.co-table{
  margin-top:32px;
  border-top:1px solid var(--line)
}

.co-table .r{
  display:grid;
  grid-template-columns:200px 1fr;
  gap:24px;
  padding:18px 8px;
  border-bottom:1px solid var(--line)
}

.co-table .k{
  font-size:15px;
  font-weight:900;
  letter-spacing:.06em;
  color:var(--ink-mid)
}

.co-table .v{
  font-size:17px;
  font-weight:500
}

.company-access{
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(320px,.85fr);
  gap:34px;
  align-items:stretch;
  margin-top:32px
}

.access-map{
  min-height:420px;
  border:1px solid var(--line);
  border-radius:18px;
  overflow:hidden;
  background:var(--bg-soft);
  box-shadow:0 14px 34px rgba(20,30,50,.06)
}

.access-map iframe{
  display:block;
  width:100%;
  height:100%;
  min-height:420px;
  border:0
}

.access-info{
  display:flex;
  flex-direction:column;
  gap:18px
}

.access-tabs{
  display:flex;
  gap:10px;
  padding:6px;
  border:1px solid var(--line);
  border-radius:999px;
  background:#fff;
  align-self:flex-start
}

.access-tabs button{
  min-width:94px;
  min-height:42px;
  padding:8px 18px;
  border:0;
  border-radius:999px;
  background:transparent;
  color:var(--ink-mid);
  font-size:14px;
  font-weight:900;
  letter-spacing:.06em;
  cursor:pointer;
  transition:background 180ms,color 180ms,box-shadow 180ms
}

.access-tabs button:hover,.access-tabs button.is-on{
  background:var(--cta-bg);
  color:var(--cta-text);
  box-shadow:0 8px 18px rgba(var(--accent-rgb),.12)
}

.access-card{
  padding:30px;
  border:1px solid var(--line);
  border-radius:18px;
  background:#fff;
  box-shadow:0 10px 28px rgba(20,30,50,.05)
}

.access-label{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:5px 12px;
  border-radius:999px;
  background:var(--accent-soft);
  color:var(--pink);
  font-size:13px;
  font-weight:900;
  letter-spacing:.12em;
  margin-bottom:16px
}

.access-label::before{
  content:"";
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--pink)
}

.access-card h3{
  font-size:22px;
  font-weight:900;
  margin:0 0 12px
}

.access-card p{
  font-size:17px;
  line-height:1.9;
  font-weight:700;
  margin:0 0 22px
}

.access-card a{
  display:inline-flex;
  align-items:center;
  gap:10px;
  color:var(--pink-d);
  font-size:15px;
  font-weight:900
}

.access-note{
  color:var(--ink-mid);
  font-size:15px;
  line-height:1.9;
  font-weight:500;
  margin:0
}

@media (max-width:720px){
  .company-access{
    grid-template-columns:1fr;
    gap:22px
  }

  .access-map,.access-map iframe{
    min-height:320px
  }

  .access-tabs{
    width:100%;
    align-self:stretch
  }

  .access-tabs button{
    flex:1;
    min-width:0
  }

  .access-card{
    padding:24px 22px
  }

  .co-table .r{
    grid-template-columns:1fr;
    gap:6px
  }
}

