/* subpage.css — additional styles for recruit / news subpages */

/* nav — match index light theme */
.nav { background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(16px) saturate(140%); border-bottom: 1px solid var(--line); }

/* ================ Subpage Hero ================ */
.subpage-hero{
  padding: clamp(120px, 18vh, 220px) var(--gutter) clamp(80px, 12vh, 140px);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.subpage-hero::before{
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 80% 30%, rgba(46, 181, 230, 0.10), transparent 60%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(212, 168, 42, 0.06), transparent 60%);
  pointer-events: none;
}
.subpage-hero .container{ position: relative; z-index: 1; max-width: var(--container); margin: 0 auto; }
.subpage-eyebrow{
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 32px;
}
.subpage-eyebrow .line{
  display: block;
  width: 40px;
  height: 1px;
  background: var(--accent);
}
.subpage-headline{
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(48px, 7vw, 112px);
  letter-spacing: -0.025em;
  line-height: 0.95;
  color: var(--navy);
  margin-bottom: 28px;
}
.subpage-headline .it{
  font-style: normal;
  font-weight: 500;
  color: var(--navy);
}
.subpage-headline-jp{
  color: var(--fg-dim);
  font-size: clamp(14px, 1.1vw, 17px);
  line-height: 1.85;
  max-width: 60ch;
}
@media (min-width: 760px){
  .subpage-headline-jp{ max-width: none; white-space: nowrap; }
}

/* ================ Philosophy ================ */
.philosophy-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (max-width: 720px){ .philosophy-grid{ grid-template-columns: 1fr; } }
.philo-card{
  background: var(--bg);
  padding: clamp(28px, 3vw, 44px);
  transition: background .3s;
}
.philo-card:hover{ background: var(--bg-2); }
.philo-num{
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--fg-mute);
  margin-bottom: 28px;
}
.philo-title{
  font-family: var(--font-en);
  font-weight: 500;
  font-size: clamp(22px, 2vw, 30px);
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin-bottom: 18px;
}
.philo-body{
  color: var(--fg-dim);
  font-size: 14px;
  line-height: 1.85;
  max-width: 50ch;
}

/* ================ Job list ================ */
.job-list{
  list-style: none;
  border-top: 1px solid var(--line);
}
.job-row{
  display: grid;
  grid-template-columns: 130px 1fr 150px;
  gap: 32px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
  transition: padding .25s, background .25s;
}
.job-row:hover{ padding-left: 12px; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.02), transparent); }
.job-row:hover .job-apply{ background: var(--aqua); color: #001018; border-color: var(--aqua); }
@media (max-width: 720px){
  .job-row{ grid-template-columns: 1fr; gap: 16px; }
  .job-apply{ justify-self: center; width: 100%; text-align: center; }
}
.job-team{
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--accent);
  text-transform: uppercase;
  padding-top: 8px;
}
.job-id{
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--fg-mute);
  margin-bottom: 10px;
}
.job-title{
  font-family: var(--font-en);
  font-weight: 500;
  font-size: clamp(20px, 1.7vw, 26px);
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.job-summary{
  color: var(--fg-dim);
  font-size: 14px;
  line-height: 1.8;
  max-width: 64ch;
  margin-bottom: 18px;
}
.job-tags{
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.job-tag{
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  padding: 4px 9px;
  border-radius: 3px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-2);
  color: var(--fg-dim);
}
.job-apply{
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 11px 22px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: transparent;
  color: var(--fg);
  cursor: pointer;
  transition: all .2s;
  align-self: center;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

/* ================ Selection Flow ================ */
.flow-list{
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (max-width: 900px){ .flow-list{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px){ .flow-list{ grid-template-columns: 1fr; } }
.flow-list li{
  background: var(--bg);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.flow-num{
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.18em;
  color: var(--accent);
}
.flow-step{
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.flow-desc{
  color: var(--fg-dim);
  font-size: 13px;
  line-height: 1.7;
}

/* ================ Benefits ================ */
.benefits-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (max-width: 720px){ .benefits-grid{ grid-template-columns: 1fr; } }
.benefit{
  background: var(--bg);
  padding: 28px;
}
.benefit-h{
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 17px;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.benefit p{
  color: var(--fg-dim);
  font-size: 13.5px;
  line-height: 1.75;
}

/* ================ News article (detail page) ================ */
.news-article{
  padding: clamp(120px, 18vh, 200px) var(--gutter) clamp(80px, 12vh, 120px);
}
.news-article-meta{
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.news-back{
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin-right: 8px;
  transition: color .2s;
}
.news-back:hover{ color: var(--aqua); }
.news-article-title{
  font-family: var(--font-jp);
  font-weight: 500;
  font-size: clamp(24px, 2.7vw, 34px);
  letter-spacing: 0.005em;
  line-height: 1.45;
  max-width: 880px;
  margin-bottom: 56px;
}
.news-article-keyvisual{
  margin: 0 0 56px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: #000;
}
.news-article-keyvisual img{
  width: 100%;
  height: auto;
  display: block;
}
.news-article-hero{
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 32px;
  align-items: center;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 56px;
}
.news-article-hero-mark{
  background: #FFFFFF;
  padding: 14px 16px;
  border-radius: 6px;
  display: grid;
  place-items: center;
}
.news-article-hero-mark img{
  width: 100%;
  height: auto;
  display: block;
}
.news-article-quote{
  font-family: var(--font-jp);
  font-weight: 300;
  font-size: clamp(17px, 1.6vw, 22px);
  font-style: italic;
  color: var(--aqua);
  line-height: 1.65;
  letter-spacing: 0.01em;
}
.news-article-body{ max-width: 880px; }
.news-article-body p{
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 2.0;
  color: var(--fg);
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}
.news-article-video{
  margin: 12px 0 40px;
}
.news-video-frame{
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background: #000;
  border: 1px solid var(--line);
  overflow: hidden;
}
.news-video-frame iframe{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.news-article-share{
  margin-top: 80px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 24px;
}
.news-share-label{
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-mute);
}
.news-share-links{ display: flex; gap: 18px; }
.news-share-links a{
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--fg-dim);
  text-transform: uppercase;
  transition: color .2s;
}
.news-share-links a:hover{ color: var(--aqua); }
.news-article-nav{
  margin-top: 24px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
}
.news-nav-link{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-dim);
  transition: color .2s;
}
.news-nav-link.prev{ justify-self: start; }
.news-nav-link.next{ justify-self: end; }
.news-nav-link.all{
  justify-self: center;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 10px 22px;
}
.news-nav-link:hover{ color: var(--aqua); }
.news-nav-link.all:hover{ border-color: var(--aqua); }
@media (max-width: 720px){
  .news-article-nav{ grid-template-columns: 1fr; gap: 12px; }
  .news-nav-link.prev, .news-nav-link.next{ justify-self: start; }
}
.news-page-list{
  list-style: none;
  border-top: 1px solid var(--line);
}
.news-page-item{
  display: grid;
  grid-template-columns: 140px 120px 1fr 32px;
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
  cursor: pointer;
  transition: padding .25s, background .25s;
  text-decoration: none;
  color: inherit;
}
.news-page-item:hover{ padding-left: 12px; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.02), transparent); }
.news-page-item:hover .news-arrow{ color: var(--aqua); transform: translateX(4px); }
@media (max-width: 720px){
  .news-page-item{ grid-template-columns: 1fr; gap: 8px; padding: 24px 0; }
}
.news-page-title{
  font-size: 15px;
  color: var(--fg);
  line-height: 1.6;
}
.news-page-summary{
  margin-top: 8px;
  font-size: 13px;
  color: var(--fg-mute);
  line-height: 1.7;
}

/* News filter chips */
.news-filters{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
}
.news-filter{
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-2);
  color: var(--fg-dim);
  cursor: pointer;
  transition: all .2s;
}
.news-filter:hover{ color: var(--fg); }
.news-filter.active{
  background: var(--aqua);
  color: #001018;
  border-color: var(--aqua);
}
