/* ════════════════════════════════════════════
   style.css
   共通スタイル
   ════════════════════════════════════════════ */

/* ─── RESET & ROOT ─── */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
:root {
  --sans: "Noto Sans JP", sans-serif;
  --serif: "Noto Serif JP", serif;
  --display: "Bebas Neue", sans-serif;
  --accent: #2d6a3f;
  --accent-gradient: linear-gradient(135deg, #0d3818 0%, #2d6a3f 50%, #a9c71a 100%);
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.75;
  background: #f8f7f5;
  color: #111;
  overflow-x: hidden;
}
/* entry-complete.html はfooterをページ下部に固定したいのでflex */
body.page-complete {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ════════════════════════════════════════════
   HEADER（全ページ共通・ダークデザイン）
   ════════════════════════════════════════════ */
.site-header {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02), 0 4px 16px rgba(0, 0, 0, 0.04);
  position: sticky;
  top: 0;
  z-index: 300;
  flex-shrink: 0;
  gap: 16px;
}
.header-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  min-width: 0;
  flex-shrink: 1;
}
.header-logo img {
  height: 44px;
  width: 44px;
  object-fit: contain;
  flex-shrink: 0;
}
.header-logo-divider {
  width: 1px;
  height: 32px;
  background: rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
}
.header-logo-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  overflow: hidden;
}
.header-logo-text .name {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #111;
  line-height: 1.2;
  white-space: nowrap;
}
.header-logo-text .sub {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: #aaa;
  line-height: 1;
  white-space: nowrap;
}
.header-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/*
  .header-back-btn
  ─────────────────────────────────────────────
  ヘッダー右側のボタン。
  デフォルト非表示。
  ・index.html → JSで show/hide（役職を選び直す）
  ・その他のページ → main.js が .is-visible を付与（トップに戻る）
  ・将来 index.html にもトップ戻るボタンが必要になったら
    .header-back-btn を別途スタイル調整するだけでOK
*/
.header-btn-sub {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #888;
  background: transparent;
  border: 1px solid #ddd;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition:
    color 0.2s,
    border-color 0.2s;
}
.header-btn-sub:hover {
  color: #111;
  border-color: #aaa;
}
.header-btn-sub .back-arrow {
  font-size: 14px;
}
.header-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 28px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: #fff;
  background: var(--accent-gradient);
  border: none;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  cursor: pointer;
  transition: filter 0.2s;
}
.header-btn-primary:hover {
  filter: brightness(0.9);
}
.header-btn-primary .btn-arrow {
  font-size: 13px;
  transition: transform 0.2s;
}
.header-btn-primary:hover .btn-arrow {
  transform: translateX(3px);
}

/* ヘッダーがどんなスマホ幅でも1段で収まるよう、
   横幅に応じて段階的にコンパクト化する */
@media (max-width: 480px) {
  .site-header {
    height: 72px;
    padding: 0 16px;
    gap: 10px;
  }
  .header-logo {
    gap: 10px;
  }
  .header-logo img {
    height: 36px;
    width: 36px;
  }
  .header-logo-divider {
    display: none;
  }
  .header-btn-primary {
    padding: 11px 18px;
    font-size: 12px;
    letter-spacing: 0.06em;
    gap: 8px;
  }
}
@media (max-width: 360px) {
  .header-logo-text .legal-suffix {
    display: none;
  }
  .header-logo-text .name {
    font-size: 13px;
  }
  .header-btn-sub {
    padding: 10px 14px;
  }
  .header-btn-primary {
    padding: 10px 16px;
  }
}

/* ════════════════════════════════════════════
   FOOTER（全ページ共通）
   ════════════════════════════════════════════ */
.site-footer {
  margin-top: auto;
  text-align: center;
  padding: 24px;
  flex-shrink: 0;
  font-size: 11px;
  color: #aaa;
  letter-spacing: 0.08em;
  border-top: 1px solid #e5e5e5;
  background: #fff;
}

/* ════════════════════════════════════════════
   SECTION COMMON（index.html・about.html 共通）
   ════════════════════════════════════════════ */
.sec {
  padding: 60px 0;
}
.sec-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
}
.sec-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e5e5e5;
  margin-bottom: 48px;
}
.sec-num {
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 0.15em;
  color: var(--accent);
}
.sec-title {
  font-family: var(--display);
  font-size: clamp(28px, 3.5vw, 44px);
  letter-spacing: 0.04em;
  color: #111;
  line-height: 1;
}
.sec-ja {
  font-size: 13px;
  color: #aaa;
  font-weight: 300;
  margin-left: 8px;
}

/* DOMAIN CARDS */
.domain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px 44px;
}
.dc {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.dc::before {
  content: "";
  width: 36px;
  height: 3px;
  background: var(--active-color, var(--accent));
}
.dc .dc-name {
  font-family: var(--display);
  font-size: 27px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: #111;
  line-height: 1.25;
}
.dc .dc-desc {
  font-size: 13.5px;
  color: #666;
  line-height: 1.9;
}
.dc .dc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #f0ede8;
}
.dc .dc-tag {
  font-size: 11px;
  padding: 3px 9px;
  background: #f8f7f5;
  color: #555;
  border: 1px solid #e5e5e5;
  letter-spacing: 0.03em;
}
/* TIMELINE */
.tl-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.tl-grid::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 0;
  right: 0;
  height: 1px;
  background: #e5e5e5;
  z-index: 0;
}
.tl-step {
  padding: 0 24px 0 0;
  position: relative;
  z-index: 1;
}
.tl-step:last-child {
  padding-right: 0;
}
.tl-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--active-color);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tl-dot-inner {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--active-color);
}
.tl-period {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--active-color);
  margin-bottom: 6px;
  font-weight: 500;
}
.tl-name {
  font-size: 14px;
  font-weight: 500;
  color: #111;
  margin-bottom: 6px;
}
.tl-desc {
  font-size: 13px;
  color: #888;
  line-height: 1.7;
}

/* REQ TABLE */
.req-wrap {
  background: #fff;
  border: 1px solid #e5e5e5;
}
.req-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  border-bottom: 1px solid #f0ede8;
}
.req-row:last-child {
  border-bottom: none;
}
.req-k {
  padding: 20px 24px;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--active-color);
  font-weight: 500;
  background: #fafaf8;
  border-right: 1px solid #f0ede8;
  display: flex;
  align-items: flex-start;
  padding-top: 22px;
}
.req-v {
  padding: 18px 28px;
  font-size: 14px;
  color: #333;
  line-height: 1.8;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.req-v ul {
  list-style: none;
  padding: 0;
}
.req-v li {
  position: relative;
  padding: 2px 0 2px 18px;
  font-size: 14px;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.req-v li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--active-color);
}
.req-map {
  margin-top: 14px;
  border: 1px solid #e5e5e5;
  overflow: hidden;
}
.req-map iframe {
  display: block;
  width: 100%;
  height: 280px;
  border: 0;
}
.badge-r {
  display: inline-block;
  padding: 2px 10px;
  font-size: 10px;
  letter-spacing: 0.1em;
  background: var(--active-color);
  color: #fff;
  margin-bottom: 8px;
}
.badge-p {
  display: inline-block;
  padding: 2px 10px;
  font-size: 10px;
  letter-spacing: 0.1em;
  border: 1px solid #ddd;
  color: #999;
  margin-bottom: 8px;
  margin-top: 8px;
}

/* SHARED BUTTONS */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 40px;
  background: #111;
  color: #fff;
  text-decoration: none;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  transition: background 0.2s;
  white-space: nowrap;
}
.btn-primary:hover {
  background: var(--accent-gradient);
}
.btn-primary .arr {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid currentColor;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  transition: transform 0.2s;
}
.btn-primary:hover .arr {
  transform: translateX(3px);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border: 1px solid #ccc;
  color: #888;
  text-decoration: none;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.1em;
  background: #fff;
  transition:
    border-color 0.2s,
    color 0.2s;
  white-space: nowrap;
}
.btn-secondary:hover {
  border-color: #111;
  color: #111;
}

/* ════════════════════════════════════════════
   index.html 専用スタイル
   ════════════════════════════════════════════ */

/* SELECTOR SCREEN */
.selector-header {
  padding: 56px 32px 40px;
  text-align: center;
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
}
.selector-header .label {
  font-size: 11px;
  letter-spacing: 0.3em;
  color: #999;
  margin-bottom: 14px;
}
.selector-header h1 {
  font-family: var(--display);
  font-size: clamp(48px, 8vw, 96px);
  letter-spacing: 0.04em;
  line-height: 1;
  color: #111;
}
.selector-header p {
  font-size: 14px;
  color: #888;
  margin-top: 12px;
  letter-spacing: 0.04em;
}

.role-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid #e5e5e5;
}
.role-card {
  cursor: pointer;
  border: none;
  background: none;
  text-align: left;
  padding: 0;
  position: relative;
  overflow: hidden;
  border-right: 1px solid #e5e5e5;
  transition: box-shadow 0.25s;
}
.role-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  z-index: 1;
}
.role-card:last-child {
  border-right: none;
}
.card-inner {
  padding: 48px 40px 56px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: background 0.2s;
}
.role-card:hover .card-inner {
  background: var(--rc);
}
.card-role-en {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  color: var(--rc);
  margin-bottom: 20px;
  transition: color 0.2s;
}
.role-card:hover .card-role-en {
  color: #fff;
}
.card-role-name {
  font-family: var(--display);
  font-size: clamp(32px, 3.5vw, 52px);
  letter-spacing: 0.04em;
  line-height: 1.1;
  color: #111;
  margin-bottom: 0;
  transition: color 0.2s;
}
.role-card:hover .card-role-name {
  color: #fff;
}
.card-desc {
  font-size: 13px;
  color: #666;
  line-height: 1.8;
  font-weight: 300;
  border-top: 1px solid #e5e5e5;
  padding-top: 20px;
  margin-top: auto;
  transition:
    color 0.2s,
    border-color 0.2s;
}
.role-card:hover .card-desc {
  color: rgba(255, 255, 255, 0.8);
  border-color: rgba(255, 255, 255, 0.2);
}
.card-cta {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--rc);
  transition: color 0.2s;
}
.role-card:hover .card-cta {
  color: #fff;
}
.cta-arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid currentColor;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  transition:
    background 0.2s,
    color 0.2s;
}
.role-card:hover .cta-arrow {
  background: #fff;
  color: var(--rc);
}

/* DETAIL / BANNER */
.role-banner {
  background: var(--active-color);
  background-image:
    radial-gradient(ellipse 900px 500px at 85% -10%, rgba(255, 255, 255, 0.10), transparent 60%),
    linear-gradient(155deg, rgba(255, 255, 255, 0.05), transparent 45%);
  padding: 0;
  overflow: hidden;
  position: relative;
}
.role-banner::before {
  content: "";
  position: absolute;
  top: -140px;
  right: -140px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}
.role-banner::after {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}
.banner-bg-text {
  position: absolute;
  z-index: 0;
  font-family: var(--display);
  font-size: clamp(100px, 15vw, 240px);
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.06);
  line-height: 1;
  white-space: nowrap;
  bottom: -0.14em;
  left: -0.02em;
  pointer-events: none;
}
.banner-inner {
  position: relative;
  z-index: 1;
  max-width: 1020px;
  margin: 0 auto;
  padding: 40px 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 380px);
  align-items: center;
  gap: 40px;
}
.banner-eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.25em;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 14px;
}
.banner-title {
  font-family: var(--display);
  font-size: 56px;
  letter-spacing: 0.03em;
  line-height: 1;
  color: #fff;
  white-space: nowrap;
}
@media (max-width: 1020px) {
  .banner-title {
    font-size: 38px;
  }
  .domain-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.banner-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.9;
  font-weight: 300;
  border-left: 2px solid rgba(255, 255, 255, 0.25);
  padding-left: 20px;
}
.banner-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 28px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.bstat .num {
  font-family: var(--display);
  font-size: 32px;
  color: #fff;
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
}
.bstat .unit {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  margin-left: 2px;
}
.bstat .lbl {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.08em;
  margin-top: 4px;
}
.banner-stripe {
  height: 6px;
  background: rgba(0, 0, 0, 0.15);
}
.content-body {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px 80px;
}

/* INDEX INLINE FORM */
.form-wrap {
  margin-top: 64px;
  background: var(--active-color);
  padding: 56px 48px;
}
.form-label {
  font-size: 10px;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 12px;
}
.form-title {
  font-family: var(--display);
  font-size: clamp(36px, 5vw, 60px);
  letter-spacing: 0.04em;
  color: #fff;
  line-height: 1;
  margin-bottom: 4px;
}
.form-sub {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 36px;
}
.fgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(255, 255, 255, 0.1);
}
.fgrid .ff {
  grid-column: 1/-1;
}
.fgrid .fg {
  background: var(--active-color);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.fgrid .fg label {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  gap: 8px;
}
.fgrid .fg .req-star {
  color: rgba(255, 255, 255, 0.7);
  font-size: 10px;
}
.fgrid .fg input,
.fgrid .fg select,
.fgrid .fg textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 0;
  color: #fff;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 300;
  outline: none;
  width: 100%;
  transition: border-color 0.2s;
}
.fgrid .fg input::placeholder,
.fgrid .fg textarea::placeholder {
  color: rgba(255, 255, 255, 0.2);
}
.fgrid .fg input:focus,
.fgrid .fg select:focus,
.fgrid .fg textarea:focus {
  border-bottom-color: rgba(255, 255, 255, 0.8);
}
.fgrid .fg select option {
  background: #333;
}
.fgrid .fg textarea {
  resize: vertical;
  min-height: 88px;
}
.form-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.form-foot p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.7;
  letter-spacing: 0.04em;
}
.send {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 40px;
  background: #fff;
  color: var(--active-color);
  border: none;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  transition: background 0.2s;
  white-space: nowrap;
}
.send:hover {
  background: rgba(255, 255, 255, 0.85);
}
.send svg {
  transition: transform 0.2s;
}
.send:hover svg {
  transform: translateX(4px);
}

/* COMPANY LINK SECTION */
.company-link-section {
  background: #111;
  padding: 80px 40px;
  position: relative;
  overflow: hidden;
}
.company-link-section::before {
  content: "COMPANY";
  position: absolute;
  font-family: var(--display);
  font-size: clamp(80px, 14vw, 180px);
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.04);
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  pointer-events: none;
  line-height: 1;
}
.company-link-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 48px;
}
.company-link-left .cl-eyebrow {
  font-size: 10px;
  letter-spacing: 0.35em;
  color: #666;
  margin-bottom: 16px;
}
.company-link-left .cl-title {
  font-family: var(--display);
  font-size: clamp(36px, 5vw, 64px);
  letter-spacing: 0.04em;
  line-height: 1;
  color: #fff;
  margin-bottom: 16px;
}
.company-link-left .cl-desc {
  font-size: 14px;
  color: #888;
  line-height: 1.9;
  font-weight: 300;
  max-width: 1020px;
}
.cl-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #555;
}
.cl-item::before {
  content: "";
  width: 20px;
  height: 1px;
  background: #444;
  flex-shrink: 0;
}
.company-link-btn {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 14px;
  padding: 20px 40px;
  border: 1px solid #333;
  background: transparent;
  color: #fff;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background 0.25s,
    border-color 0.25s;
}
.company-link-btn:hover {
  background: #fff;
  color: #111;
  border-color: #fff;
}
.company-link-btn .btn-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid currentColor;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
  transition: transform 0.25s;
}
.company-link-btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* ════════════════════════════════════════════
   about.html 専用スタイル
   ════════════════════════════════════════════ */

/* HERO */
.hero {
  background: #111;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}
.hero-bg-text {
  position: absolute;
  font-family: var(--display);
  font-size: clamp(120px, 20vw, 260px);
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.035);
  bottom: -10px;
  left: -10px;
  line-height: 1;
  pointer-events: none;
  white-space: nowrap;
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 40px 80px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  z-index: 1;
  width: 100%;
}
.hero-eyebrow {
  font-size: 10px;
  letter-spacing: 0.35em;
  color: #555;
  margin-bottom: 20px;
}
.hero-title {
  font-family: var(--display);
  font-size: clamp(56px, 9vw, 112px);
  letter-spacing: 0.03em;
  line-height: 0.92;
  color: #fff;
}
.hero-title span {
  display: block;
  color: rgba(255, 255, 255, 0.3);
  font-size: clamp(28px, 4.5vw, 56px);
  margin-top: 8px;
}
.hero-desc {
  max-width: 1020px;
  margin-top: 36px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.95;
  font-weight: 300;
  border-left: 2px solid rgba(255, 255, 255, 0.15);
  padding-left: 20px;
}
.hero-stripe {
  height: 6px;
  background: var(--accent-gradient);
}

/* MESSAGE */
.msg-sec {
  background: #fff;
}
.msg-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 64px;
  align-items: start;
}
.msg-lead {
  font-family: var(--serif);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.75;
  color: #111;
  font-weight: 300;
  margin-bottom: 32px;
}
.msg-body {
  font-size: 14px;
  color: #555;
  line-height: 2;
  font-weight: 300;
}
.msg-body p + p {
  margin-top: 1.4em;
}
.msg-name {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #e5e5e5;
  font-size: 13px;
  color: #888;
  letter-spacing: 0.06em;
}
.msg-name strong {
  font-size: 15px;
  color: #111;
  font-weight: 500;
  display: block;
  margin-top: 4px;
}
.msg-img-wrap {
  border: 1px solid #e5e5e5;
  background: #f0ede8;
  aspect-ratio: 3/4;
  display: flex;
  align-items: center;
  justify-content: center;
}
.msg-img-placeholder {
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 0.2em;
  color: #ccc;
  text-align: center;
  line-height: 2.2;
}
.msg-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  object-position: 20% center;
}

/* WORK */
.work-sec {
  background: #f8f7f5;
}

/*■■■■■■■■■■■■■■■■■■■■*/
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #e5e5e5;
}
/*■■■■■■■■■■■■■■■■■■■■*/

.work-card {
  background: #fff;
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
}
.work-name {
  font-size: 17px;
  font-weight: 500;
  color: #111;
  margin-bottom: 16px;
  line-height: 1.5;
}
.work-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.work-list li {
  font-size: 13px;
  color: #666;
  line-height: 1.7;
  padding-left: 14px;
  position: relative;
}
.work-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-gradient);
}
.work-langs {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #f0ede8;
  font-size: 12px;
  color: #aaa;
  line-height: 1.9;
}
.work-langs strong {
  color: #888;
  font-weight: 500;
}

/* INTERVIEW */
.interview-sec-wrap {
  background: #fff;
  padding: 60px 0;
}
.interview-prof {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
  padding: 16px 24px;
  background: #fff;
  border: 1px solid #e5e5e5;
}
.interview-role {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--accent);
}
.interview-name {
  font-size: 14px;
  color: #111;
  font-weight: 500;
  margin-top: 3px;
}
.qa-item {
  background: #fff;
  border: 1px solid #e5e5e5;
  margin-bottom: 16px;
  overflow: hidden;
}
.qa-q {
  display: flex;
  gap: 0;
  align-items: stretch;
  border-bottom: 1px solid #f0ede8;
}
.qa-label {
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: #fff;
  background: var(--accent-gradient);
  padding: 20px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  writing-mode: vertical-rl;
  white-space: nowrap;
}
.qa-q-text {
  font-size: 14px;
  color: #666;
  line-height: 1.85;
  font-weight: 300;
  padding: 20px 28px;
}
.qa-a {
  display: flex;
  gap: 0;
  align-items: stretch;
}
.qa-a-label {
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--accent);
  background: #f8f7f5;
  padding: 20px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  writing-mode: vertical-rl;
  white-space: nowrap;
  border-right: 1px solid #f0ede8;
}
.qa-a-text {
  font-size: 14px;
  color: #333;
  line-height: 1.95;
  font-weight: 300;
  padding: 24px 28px;
}

/* WELFARE */
.welfare-sec {
  background: #f8f7f5;
}
.welfare-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 56px;
}
.wf-item {
  display: flex;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid #e5e5e5;
}
.wf-marker {
  width: 6px;
  height: 6px;
  margin-top: 8px;
  background: var(--accent-gradient);
  flex-shrink: 0;
}
.wf-title {
  font-size: 16px;
  font-weight: 500;
  color: #111;
  margin-bottom: 8px;
  line-height: 1.5;
}
.wf-desc {
  font-size: 13px;
  color: #888;
  line-height: 1.8;
}

/* BACK TO RECRUIT */
.back-to-recruit {
  background: #111;
  padding: 80px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.back-to-recruit::before {
  content: "RECRUIT";
  position: absolute;
  font-family: var(--display);
  font-size: clamp(80px, 16vw, 200px);
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.03);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  pointer-events: none;
}
.btr-inner {
  position: relative;
  z-index: 1;
}
.btr-eyebrow {
  font-size: 10px;
  letter-spacing: 0.35em;
  color: #555;
  margin-bottom: 16px;
}
.btr-title {
  font-family: var(--display);
  font-size: clamp(36px, 6vw, 80px);
  letter-spacing: 0.04em;
  color: #fff;
  line-height: 1;
  margin-bottom: 24px;
}
.btr-desc {
  font-size: 14px;
  color: #666;
  margin-bottom: 40px;
  line-height: 1.8;
}
.btr-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 20px 56px;
  background: #fff;
  color: #111;
  text-decoration: none;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  transition:
    background 0.2s,
    color 0.2s;
}
.btr-btn:hover {
  background: var(--accent-gradient);
  color: #fff;
}
.btr-btn .arr {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid currentColor;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  transition: transform 0.2s;
}
.btr-btn:hover .arr {
  transform: translateX(4px);
}

/* ════════════════════════════════════════════
   entry.html 専用スタイル
   ════════════════════════════════════════════ */
.form-header {
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
  padding: 48px 40px 40px;
}
.form-header-inner {
  max-width: 720px;
  margin: 0 auto;
}
.form-eyebrow {
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--accent);
  margin-bottom: 14px;
}
.form-heading {
  font-family: var(--display);
  font-size: clamp(40px, 6vw, 72px);
  letter-spacing: 0.04em;
  line-height: 1;
  color: #111;
  margin-bottom: 12px;
}
.form-lead {
  font-size: 14px;
  color: #888;
  line-height: 1.8;
}

.form-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 40px 80px;
}
.fg-section {
  margin-bottom: 48px;
}
.fg-section-title {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: #aaa;
  padding-bottom: 12px;
  border-bottom: 1px solid #e5e5e5;
  margin-bottom: 24px;
}

/* entry.html の .fg（白背景・ボーダー型） */
.fg {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}
.fg label {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: #555;
  font-weight: 500;
}
.req-star {
  color: #e03535;
  font-size: 11px;
  margin-left: 6px;
}
.fg input,
.fg select,
.fg textarea {
  width: 100%;
  padding: 15px 18px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.4;
  color: #111;
  background: #fff;
  border: 1px solid #ddd;
  outline: none;
  transition:
    border-color 0.2s,
    background 0.2s;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}
.fg input,
.fg select {
  height: 52px;
}
.fg input:focus,
.fg select:focus,
.fg textarea:focus {
  border-color: var(--accent);
}
.fg input::placeholder,
.fg textarea::placeholder {
  color: #bbb;
}
.fg textarea {
  resize: none;
  min-height: 140px;
  line-height: 1.75;
  overflow: hidden;
}
.fg select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23aaa' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

/* 送信を試みて未入力の必須項目があった場合、赤く強調する */
.entry-form.was-submitted .fg input:invalid,
.entry-form.was-submitted .fg select:invalid,
.entry-form.was-submitted .fg textarea:invalid {
  border-color: #e03535;
  background: #fff6f6;
}
.entry-form.was-submitted .fg input:invalid:focus,
.entry-form.was-submitted .fg select:invalid:focus,
.entry-form.was-submitted .fg textarea:invalid:focus {
  border-color: #e03535;
}
.entry-form.was-submitted .fg:has(:invalid) label {
  color: #e03535;
}
.entry-form.was-submitted .fg:has(:invalid) .req-star {
  font-weight: 700;
}

.form-submit {
  padding-top: 32px;
  border-top: 1px solid #e5e5e5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.form-submit-note {
  font-size: 13px;
  color: #aaa;
  line-height: 1.7;
}
.send-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 48px;
  background: var(--accent-gradient);
  color: #fff;
  border: none;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  transition: opacity 0.2s;
  white-space: nowrap;
}
.send-btn:hover {
  opacity: 0.85;
}
.send-btn svg {
  transition: transform 0.2s;
}
.send-btn:hover svg {
  transform: translateX(4px);
}

/* ════════════════════════════════════════════
   entry-complete.html 専用スタイル
   ════════════════════════════════════════════ */
.hero-band {
  background: #111;
  padding: 56px 40px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero-band::before {
  content: "THANK YOU";
  position: absolute;
  font-family: var(--display);
  font-size: clamp(80px, 14vw, 180px);
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.03);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  pointer-events: none;
}
.hero-band-inner {
  position: relative;
  z-index: 1;
}
.check-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
}
.check-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.check-circle::before {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  border: 1px solid rgba(45, 106, 63, 0.2);
}
.check-circle svg {
  width: 28px;
  height: 28px;
  stroke: var(--accent);
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.complete-eyebrow {
  font-size: 10px;
  letter-spacing: 0.35em;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 12px;
}
.complete-title {
  font-family: var(--display);
  font-size: clamp(44px, 7vw, 72px);
  letter-spacing: 0.04em;
  line-height: 1;
  color: #fff;
  margin-bottom: 20px;
}
.complete-message {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 2;
  font-weight: 300;
  margin-bottom: 24px;
}
.complete-note {
  margin: 0 auto;
  max-width: 480px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.complete-note p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.75;
  letter-spacing: 0.03em;
}
.hero-stripe {
  height: 4px;
  background: var(--accent-gradient);
}

.flow-sec {
  max-width: 800px;
  margin: 0 auto;
  padding: 72px 40px 60px;
  width: 100%;
}
.flow-label {
  font-size: 10px;
  letter-spacing: 0.35em;
  color: #aaa;
  text-align: center;
  margin-bottom: 8px;
}
.flow-title {
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: 0.04em;
  color: #111;
  text-align: center;
  margin-bottom: 56px;
  line-height: 1;
}

.flow-list {
  display: flex;
  flex-direction: column;
}
.flow-step {
  display: flex;
  gap: 0;
  align-items: stretch;
}
.flow-step-left {
  display: none;
}
.flow-dot {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  flex-shrink: 0;
  background: #fff;
  border: 1.5px solid #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: #ccc;
  transition:
    border-color 0.2s,
    color 0.2s;
}
.flow-step.active .flow-dot {
  background: var(--accent-gradient);
  border-color: var(--accent);
  color: #fff;
}
.flow-connector {
  display: none;
}
.flow-step:last-child .flow-connector {
  display: none;
}
.flow-step-body {
  flex: 1;
  padding: 0 0 40px 0;
}
.flow-step:last-child .flow-step-body {
  padding-bottom: 0;
}
.flow-step-header {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--accent-gradient);
  padding: 12px 24px;
  margin-bottom: 16px;
  position: relative;
}
.flow-step.inactive .flow-step-header {
  background: #f0ede8;
}
.flow-step-tag {
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.15em;
  color: #fff;
  margin-right: 16px;
  flex-shrink: 0;
}
.flow-step.inactive .flow-step-tag {
  color: #bbb;
}
.flow-step-slash {
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.25);
  margin-right: 16px;
  flex-shrink: 0;
}
.flow-step.inactive .flow-step-slash {
  background: #ddd;
}
.flow-step-name {
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  line-height: 1.3;
}
.flow-step.inactive .flow-step-name {
  color: #888;
}
.flow-step-meta {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.6);
  margin-left: auto;
  padding-left: 16px;
  flex-shrink: 0;
}
.flow-step.inactive .flow-step-meta {
  color: #bbb;
}
.flow-step-desc {
  font-size: 13px;
  color: #888;
  line-height: 1.9;
  font-weight: 300;
  padding-left: 4px;
}

.sec-divider {
  border: none;
  border-top: 1px solid #e5e5e5;
  max-width: 1000px;
  margin: 0 auto;
}
.cta-sec {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0px 40px 72px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════ */
@media (max-width: 860px) {
  .site-header {
    height: 80px;
    padding: 0 20px;
  }
  .header-btn-sub span:last-child {
    display: none;
  }
  .header-btn-sub {
    padding: 12px 16px;
  }
  /* index */
  .role-cards {
    grid-template-columns: 1fr;
  }
  .role-card {
    border-right: none;
    border-bottom: 1px solid #e5e5e5;
  }
  .role-card:last-child {
    border-bottom: none;
  }
  .domain-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .dc .dc-name {
    font-size: 24px;
  }
  .tl-grid {
    display: block;
  }
  .tl-grid::before {
    display: none;
  }
  .tl-step {
    display: grid;
    grid-template-columns: 32px 1fr;
    column-gap: 16px;
    padding-bottom: 28px;
    position: relative;
  }
  .tl-step:last-child {
    padding-bottom: 0;
  }
  .tl-step:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 15px;
    top: 32px;
    bottom: 0;
    width: 1px;
    background: #e5e5e5;
  }
  .tl-dot {
    grid-column: 1;
    grid-row: 1 / span 3;
    margin-bottom: 0;
  }
  .tl-period {
    grid-column: 2;
  }
  .tl-name {
    grid-column: 2;
  }
  .tl-desc {
    grid-column: 2;
  }
  .banner-inner {
    grid-template-columns: 1fr;
    padding: 32px 24px 0;
  }
  .banner-right {
    padding-bottom: 32px;
  }
  .banner-scroll-wrap {
    width: 100%;
  }
  .banner-scroll-btn {
    width: 100%;
    justify-content: center;
  }
  .content-body {
    padding: 0 24px 60px;
  }
  .form-wrap {
    padding: 40px 24px;
  }
  .fgrid {
    grid-template-columns: 1fr;
  }
  .fgrid .ff {
    grid-column: 1;
  }
  .req-row {
    grid-template-columns: 100px 1fr;
  }
  .req-k {
    padding: 16px 12px;
    font-size: 10.5px;
  }
  .req-v,
  .req-v li {
    font-size: 14px;
  }
  .req-v {
    padding: 16px 16px;
    line-height: 1.75;
  }
  .banner-title {
    font-size: clamp(26px, 8vw, 44px);
  }
  .sec-title {
    font-size: clamp(18px, 5.2vw, 28px);
    white-space: nowrap;
  }
  .company-link-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .company-link-btn {
    width: 100%;
    justify-content: center;
  }
  .company-link-section {
    padding: 56px 24px;
  }
  .company-link-items {
    flex-wrap: wrap;
    gap: 16px;
  }
  /* about */
  .hero-inner {
    padding: 56px 24px 64px;
  }
  .sec-inner {
    padding: 0 24px;
  }
  .sec {
    padding: 56px 0;
  }
  .msg-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .msg-img-wrap {
    max-width: 280px;
    aspect-ratio: 3/4;
    margin: 0 auto;
  }
  .work-grid {
    grid-template-columns: 1fr;
  }
  .welfare-list {
    grid-template-columns: 1fr 1fr;
  }
  .back-to-recruit {
    padding: 56px 24px;
  }
  .interview-sec-wrap {
    padding: 56px 0;
  }
}
@media (max-width: 720px) {
  .hero-band {
    padding: 48px 24px 52px;
  }
  .complete-message {
    font-size: 14.5px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.7);
  }
  .complete-note p {
    color: rgba(255, 255, 255, 0.6);
  }
  .flow-sec {
    padding: 48px 24px 56px;
  }
  .flow-step-body {
    padding: 0 0 32px 0;
  }
  .flow-step:last-child .flow-step-body {
    padding-bottom: 0;
  }
  .flow-step-header {
    flex-wrap: nowrap;
    align-items: flex-start;
    row-gap: 0;
    padding: 12px 16px;
  }
  .flow-step-tag {
    font-size: 11px;
    margin-right: 8px;
  }
  .flow-step-slash {
    margin-right: 8px;
  }
  .flow-step-name {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 14px;
    line-height: 1.4;
  }
  .flow-step-meta {
    width: auto;
    flex-shrink: 0;
    margin-left: 8px;
    margin-top: 2px;
    padding-left: 0;
    font-size: 10px;
    white-space: nowrap;
    text-align: right;
  }
  .flow-step-desc {
    padding-left: 0;
  }
  .cta-sec {
    padding: 0px 24px 56px;
    flex-direction: column;
    align-items: center;
  }
  .btn-primary,
  .btn-secondary {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }
}
@media (max-width: 640px) {
  .form-header {
    padding: 40px 24px 32px;
  }
  .form-body {
    padding: 40px 24px 60px;
  }
  .form-submit {
    flex-direction: column;
    align-items: stretch;
  }
  .send-btn {
    width: 100%;
    justify-content: center;
    padding: 16px 24px;
  }
}
@media (max-width: 560px) {
  .welfare-list {
    grid-template-columns: 1fr;
  }
  /* index: 3枚のカードをできるだけ1画面に収める */
  .selector-header {
    padding: 20px 20px 14px;
  }
  .selector-header h1 {
    font-size: clamp(32px, 11vw, 44px);
  }
  .selector-header p {
    margin-top: 6px;
    font-size: 12px;
  }
  .selector-header .label {
    margin-bottom: 8px;
    font-size: 10px;
  }
  .card-inner {
    padding: 20px 20px 18px;
  }
  .card-role-en {
    font-size: 10px;
    letter-spacing: 0.2em;
    margin-bottom: 6px;
  }
  .card-role-name {
    font-size: 24px;
    line-height: 1.2;
  }
  .card-desc {
    font-size: 12px;
    line-height: 1.6;
    padding-top: 12px;
    margin-top: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .card-cta {
    margin-top: 12px;
    font-size: 11px;
  }
  .cta-arrow {
    width: 22px;
    height: 22px;
  }
}

/* ════════════════════════════════════════════
   recruit.css — 採用詳細ページ専用スタイル

   このファイルに含まれるもの：
   ・ページ別アクセントカラー変数
   ・ドメインタグ
   ・クラウド環境カード
   ・使用言語タグ
   ・ロードマップカード
   ・選考フロー（.process-*）
   ・応募CTAブロック
   ════════════════════════════════════════════ */

/* ─── ページ別アクセントカラー ─────────────────
   body に .page-graduate / .page-engineer / .page-management
   クラスを付与することで色が切り替わる
────────────────────────────────────────────── */
.page-graduate,
.page-engineer,
.page-management {
  background: #fff;
}
.page-graduate {
  --active-color: #d4870a;
}
.page-engineer {
  --active-color: #2d6a3f;
}
.page-management {
  --active-color: #1e3a6e;
}

/* ─── DOMAIN TAGS（カード外の技術タグ一覧） ─── */
.domain-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.domain-tag {
  font-size: 11px;
  padding: 4px 12px;
  background: #fff;
  color: #555;
  border: 1px solid #ddd;
  letter-spacing: 0.04em;
}

/* ─── CLOUD GRID（クラウド環境カード） ──────── */
.cloud-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.cloud-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  padding: 32px 28px;
  position: relative;
}
.cloud-card.main {
  border-color: var(--active-color);
}
.cloud-card.main::after {
  content: "メイン";
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 9px;
  letter-spacing: 0.12em;
  padding: 3px 8px;
  background: var(--active-color);
  color: #fff;
}
.cloud-logo {
  font-family: var(--display);
  font-size: 40px;
  letter-spacing: 0.03em;
  color: #111;
  line-height: 1;
  margin-bottom: 6px;
}
.cloud-full {
  font-size: 11px;
  color: #aaa;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}
.cloud-desc {
  font-size: 13px;
  color: #888;
  line-height: 1.75;
}
.cloud-services {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}
.cloud-svc {
  font-size: 10px;
  padding: 2px 8px;
  border: 1px solid #eee;
  color: #999;
  letter-spacing: 0.04em;
}

/* ─── LANG TAGS（使用言語タグ） ─────────────── */
.lang-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  row-gap: 10px;
}
.lang-tag {
  font-family: var(--display);
  font-size: 24px;
  letter-spacing: 0.03em;
  font-weight: 400;
  color: #171717;
  line-height: 1.3;
}
.lang-tag:not(:last-child)::after {
  content: "/";
  display: inline-block;
  margin: 0 16px;
  color: var(--active-color, var(--accent));
}
@media (max-width: 860px) {
  .lang-tag {
    font-size: 16px;
  }
  .lang-tag:not(:last-child)::after {
    margin: 0 10px;
  }
}

/* ─── ROADMAP CARDS（成長ロードマップ） ─────── */
.roadmap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.rm-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}
/* 左サイドのアクセントライン */
.rm-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--active-color);
  opacity: 0.15;
}
.rm-period {
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--active-color);
  font-weight: 500;
  margin-bottom: 12px;
}
.rm-name {
  font-size: 16px;
  font-weight: 500;
  color: #111;
  margin-bottom: 8px;
  line-height: 1.3;
}
.rm-desc {
  font-size: 13px;
  color: #888;
  line-height: 1.75;
}

/* ─── PROCESS（選考フロー） ─────────────────────
   ※ entry-complete の .flow-* と名前衝突を避けるため
      このページでは .process-* を使用する
────────────────────────────────────────────── */
.process-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.process-step {
  display: block;
  position: relative;
}
/* コネクターライン（丸番号を廃止したため非表示） */
.process-step:not(:last-child)::before {
  display: none;
}
.process-num-col {
  display: none;
}
.process-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid #e5e5e5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-size: 14px;
  color: #bbb;
  flex-shrink: 0;
  transition:
    background 0.2s,
    border-color 0.2s,
    color 0.2s;
}
.process-step.active .process-circle {
  background: var(--active-color);
  border-color: var(--active-color);
  color: #fff;
}
.process-content {
  padding: 0 0 40px 0;
}
.process-step:last-child .process-content {
  padding-bottom: 0;
}
.process-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  margin-bottom: 16px;
  background: #f8f7f5;
  border-left: 3px solid #e5e5e5;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.process-step.active .process-header {
  background: var(--active-color);
  border-color: var(--active-color);
}
.process-label {
  font-size: 10px;
  letter-spacing: 0.15em;
  color: #bbb;
  font-weight: 500;
}
.process-step.active .process-label {
  color: rgba(255, 255, 255, 0.6);
}
.process-divider {
  width: 1px;
  height: 14px;
  background: #ddd;
}
.process-step.active .process-divider {
  background: rgba(255, 255, 255, 0.3);
}
.process-name {
  font-size: 15px;
  font-weight: 500;
  color: #333;
}
.process-step.active .process-name {
  color: #fff;
}
.process-badge {
  font-size: 11px;
  color: #aaa;
  margin-left: auto;
}
.process-step.active .process-badge {
  color: rgba(255, 255, 255, 0.6);
}
.process-desc {
  font-size: 14px;
  color: #666;
  line-height: 1.85;
  padding-left: 4px;
}

/* ─── FORM CTA（ページ内応募ボタン） ─────────── */
.form-cta-wrap {
  margin-top: 64px;
  padding: 56px 48px;
  background: #fff;
  border: 1px solid #e5e5e5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.form-cta-left .cta-label {
  font-size: 10px;
  letter-spacing: 0.3em;
  color: #aaa;
  margin-bottom: 12px;
}
.form-cta-left .cta-title {
  font-family: var(--display);
  font-size: clamp(32px, 4vw, 52px);
  letter-spacing: 0.04em;
  color: #111;
  line-height: 1;
  margin-bottom: 8px;
}
.form-cta-left .cta-sub {
  font-size: 13px;
  color: #888;
}
.form-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 48px;
  background: var(--accent-gradient);
  color: #fff;
  text-decoration: none;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  white-space: nowrap;
  transition: opacity 0.2s;
  flex-shrink: 0;
}
.form-cta-btn:hover {
  opacity: 0.85;
}
.form-cta-btn svg {
  transition: transform 0.2s;
}
.form-cta-btn:hover svg {
  transform: translateX(4px);
}

/* ─── RESPONSIVE ──────────────────────────── */
@media (max-width: 860px) {
  .cloud-grid {
    grid-template-columns: 1fr;
  }
  .roadmap {
    grid-template-columns: 1fr 1fr;
  }
  .form-cta-wrap {
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 24px;
  }
  .form-cta-btn {
    width: 100%;
    justify-content: center;
  }
}
@media (max-width: 560px) {
  .roadmap {
    grid-template-columns: 1fr;
  }
}

/* ─── OFFICIAL SITE SECTION ─── */
.official-site-section {
  background: #fff;
  border-top: 1px solid #e5e5e5;
  padding: 32px 40px;
  position: relative;
}

.official-site-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.official-site-label {
  font-size: 10px;
  letter-spacing: 0.3em;
  color: #aaa;
  margin-bottom: 8px;
}
.official-site-desc {
  font-size: 13px;
  color: #888;
  line-height: 1.75;
}
.official-site-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border: 1px solid #ddd;
  color: #555;
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  white-space: nowrap;
  transition:
    border-color 0.2s,
    color 0.2s,
    background 0.2s;
  flex-shrink: 0;
}
.official-site-btn:hover {
  border-color: #111;
  color: #111;
}

@media (max-width: 640px) {
  .official-site-section {
    padding: 28px 24px;
  }
  .official-site-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .official-site-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ─── CLOUD SIMPLE ─── */
.cloud-simple {
  display: flex;
  align-items: center;
  gap: 0;
  background: #fff;
  border: 1px solid #ececea;
  box-shadow: 0 2px 10px rgba(17, 17, 17, 0.03);
}
.cloud-simple-main {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 28px 40px;
  border-right: 1px solid #e5e5e5;
  background: color-mix(in srgb, var(--active-color, var(--accent)) 5%, #fff);
}
.cloud-main-badge {
  font-size: 9px;
  letter-spacing: 0.2em;
  padding: 3px 8px;
  background: var(--active-color);
  color: #fff;
  flex-shrink: 0;
}
.cloud-main-name {
  font-family: var(--display);
  font-size: 36px;
  letter-spacing: 0.03em;
  color: #111;
  line-height: 1;
}
.cloud-main-full {
  font-size: 11px;
  color: #aaa;
  letter-spacing: 0.04em;
}
.cloud-simple-sub {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 28px 40px;
}
.cloud-sub-label {
  font-size: 10px;
  letter-spacing: 0.15em;
  color: #bbb;
}
.cloud-sub-item {
  font-family: var(--display);
  font-size: 28px;
  letter-spacing: 0.03em;
  color: #bbb;
  line-height: 1;
}

@media (max-width: 640px) {
  .cloud-simple {
    flex-direction: column;
    align-items: flex-start;
  }
  .cloud-simple-main {
    border-right: none;
    border-bottom: 1px solid #e5e5e5;
    width: 100%;
  }
  .cloud-simple-sub {
    padding: 20px 28px;
  }
}

/* ─── BANNER SCROLL BUTTON ─── */
.banner-scroll-wrap {
  margin-top: 24px;
}
.banner-scroll-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--active-color);
  text-decoration: none;
  background: #fff;
  padding: 13px 26px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition:
    background 0.2s,
    box-shadow 0.2s,
    transform 0.2s;
}
.banner-scroll-btn:hover {
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
  transform: translateY(2px);
}
.banner-scroll-btn svg {
  transition: transform 0.3s;
}
.banner-scroll-btn:hover svg {
  transform: translateY(3px);
}
