/* =========================================================
   N2 CONNECT - style.css（整理版）
   - セクションごとにまとめ
   - 重複していた定義を統合（挙動は維持）
   - コメント追加で見通しを改善
========================================================= */


/* =========================================================
   0) Reset / Base
========================================================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Noto Sans JP', sans-serif;

  /* ヒーロー上の文字が白前提だったため維持 */
  color: #ffffff;

  /* 以前の「白帯解消」方針を最終値として維持 */
  padding-top: 0;
}

/* =========================================================
   SECTION HEAD（EN + JA）
========================================================= */
.section-head {
  margin-bottom: 40px;
}

.section-title-en {
  font-family: 'Inter', sans-serif;
  font-size: 40px;
  letter-spacing: 0.14em;
  margin-bottom: 8px;
}

.section-title-ja {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.25;
}

/* SP */
@media (max-width: 768px) {
  .section-head {
    margin-bottom: 28px;
  }

  .section-title-ja {
    font-size: 22px;
  }
}


/* =========================================================
   1) HERO
========================================================= */
.hero {
  position: relative;
  height: 100vh;
  background-image: url("../images/hero.jpg"); /* assets/css/ から見た相対 */
  background-size: cover;
  background-position: center top;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(11, 42, 63, 0.45),
    rgba(11, 42, 63, 0.55)
  );
}

.hero-inner {
  position: relative;
  max-width: 1100px;
  height: 100%;
  padding: 0 24px;

  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-title {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.35;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-text {
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
  margin-bottom: 40px;
}

/* 以前の名残：ボタンは今は不要だが、クラスは残しておく */
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* PCだけ：文字ブロックを右へ（現状の挙動を維持） */
@media (min-width: 1024px) {
  .hero-inner {
    padding-left: 120px;
    padding-right: 24px;
  }
}


/* =========================================================
   2) Buttons
========================================================= */
.btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 28px;
  text-decoration: none;
  border-radius: 6px;
  font-size: 14px;
  transition: opacity 0.2s;
}

.btn:hover {
  opacity: 0.85;
}

.btn-primary {
  background: #1f6fff;
  color: #fff;
}

.btn-secondary {
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
}

.btn-en {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.12em;
  margin-bottom: 4px;
}


/* =========================================================
   3) Header / Nav（追従＋SPハンバーガー）
   - site-header の重複（absolute/fixed/透明/白背景）を統合
========================================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;

  z-index: 100;

  /* 初期表示はヒーロー上＝透明 */
  background-color: transparent;
  border-bottom: 1px solid transparent;
  backdrop-filter: none;

  transition: background-color 0.2s ease, backdrop-filter 0.2s ease, border-color 0.2s ease;
}

.site-header-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
}

/* PCでヘッダー左右余白を少し増やす */
@media (min-width: 1024px) {
  .site-header-inner {
    padding: 0 32px;
  }
}

/* ロゴ（画像） */
.site-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

/* ヘッダー内ロゴ画像サイズ */
.site-logo img {
  height: 32px;     /* PC */
  width: auto;
  display: block;
}

/* SP */
@media (max-width: 768px) {
  .site-logo img {
    height: 28px;
  }
}


.site-nav {
  display: flex;
  gap: 18px;
  align-items: center;
}

.site-nav-link {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-decoration: none;
  color: #ffffff;
  opacity: 0.9;
}

.site-nav-link {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-decoration: none;
  color: #ffffff;
  opacity: 0.9;

  position: relative;
  display: inline-block;

  transition: color 0.2s ease, opacity 0.2s ease;
}

.site-nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  border-radius: 999px;

  background: rgba(255, 255, 255, 0.9);

  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.site-nav-link:hover {
  opacity: 1;
}

.site-nav-link:hover::after {
  transform: scaleX(1);
}

/* スクロール後（白背景）では下線を濃色に */
.site-header.is-scrolled .site-nav-link::after {
  background: rgba(22, 216, 246, 0.983);
}


/* CONTACT：丸枠なし（フラット化：現状の要望反映済み） */
.site-nav-link-contact {
  padding: 0;
  border: none;
  border-radius: 0;
}

/* スクロール後：白背景にして可読性UP */
.site-header.is-scrolled {
  background-color: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(10, 20, 30, 0.18);
}


/* スクロール後の文字色（黒寄り） */
.site-header.is-scrolled .site-logo,
.site-header.is-scrolled .site-nav-link {
  color: rgba(10, 20, 30, 0.92);
  opacity: 1;
}

/* CONTACT は border を消しているので、ここは実害なし（残してOK） */
.site-header.is-scrolled .site-nav-link-contact {
  border-color: rgba(10, 20, 30, 0.35);
}


/* =========================================================
   4) SP Hamburger / Drawer
========================================================= */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: rgba(255, 255, 255, 0.95);
  transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}

.site-header.is-scrolled .nav-toggle-bar {
  background: rgba(10, 20, 30, 0.92);
}

.nav-drawer {
  display: none;
  padding: 12px 24px 18px;
}

.nav-drawer-link {
  display: block;
  padding: 12px 0;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  letter-spacing: 0.10em;
  text-decoration: none;
  color: #ffffff;
  opacity: 0.95;
}

/* SPドロワー側の CONTACT（現状はピル枠：必要ならここもフラット化できます） */
.nav-drawer-link-contact {
  margin-top: 6px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  width: fit-content;
}

.site-header.is-scrolled .nav-drawer-link {
  color: rgba(10, 20, 30, 0.92);
}

.site-header.is-scrolled .nav-drawer-link-contact {
  border-color: rgba(10, 20, 30, 0.35);
}

/* SP切替：PCナビ非表示、ハンバーガー表示 */
@media (max-width: 768px) {
  .site-nav {
    display: none;
  }

  .nav-toggle {
    display: inline-block;
  }

  .site-header.is-open .nav-drawer {
    display: block;
  }
}

/* ハンバーガー → × */
.site-header.is-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.site-header.is-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.site-header.is-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =========================================================
   VIEW MORE BUTTON（pill）
========================================================= */
.section-cta {
  margin-top: 32px;
}

/* 中央寄せしたい場合は .section-cta にこの1行を追加してもOK
.section-cta { display: flex; justify-content: center; }
*/

.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 24px;
  border-radius: 999px;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-pill .btn-pill-arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}

 /* ボタン色は全体で統一 */
.btn-pill--dark {
  background: #2563eb;
  color: #ffffff;
}

.btn-pill--dark:hover {
  background: #1d4ed8;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.28);
}

.btn-pill:hover .btn-pill-arrow {
  transform: translateX(4px);
}

/* SP */
@media (max-width: 768px) {
  .section-cta {
    margin-top: 24px;
  }

  .btn-pill {
    padding: 13px 22px;
  }
}

/* =========================================================
   5) SERVICES（カード）
========================================================= */
.services {
  background: #ffffff;
  color: #0a141e;
  padding: 88px 24px;
}

.services-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.services-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

/* カード */
.service-item {
  background: #ffffff;
  border: 1px solid rgba(10, 20, 30, 0.12);
  border-radius: 16px;
  padding: 28px 28px 26px;
}

.service-item-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 14px;
}

.service-item-text {
  font-size: 15px;
  line-height: 1.85;
  opacity: 0.9;
}

@media (max-width: 768px) {
  .services {
    padding: 72px 24px;
  }

  .services-list {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .service-item {
    padding: 22px 22px 20px;
    border-radius: 14px;
  }
}


/* =========================================================
   6) STANCE
========================================================= */
.stance {
  background: #f1f4f7;
  color: #0a141e;
  padding: 96px 24px;
}

.stance-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.stance-text {
  font-size: 16px;
  line-height: 1.9;
  max-width: 720px;
  opacity: 0.9;
}

@media (max-width: 768px) {
  .stance {
    padding: 72px 24px;
  }

}

/* ===== Stance：画像レイアウト（追記） ===== */
.stance-grid {
  display: grid;
  grid-template-columns: 1fr 520px;
  gap: 56px;
  align-items: center;
}

.stance-media {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(10, 20, 30, 0.10);
}

.stance-image {
  display: block;
  width: 100%;
  height: 360px;
  object-fit: cover;
}

/* SP */
@media (max-width: 768px) {
  .stance-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .stance-image {
    height: 220px;
  }
}


/* =========================================================
   7) COMPANY
========================================================= */
.company {
  background: #ffffff;
  color: #0a141e;
  padding: 96px 24px;
}

.company-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.company-list {
  max-width: 720px;
}

.company-list div {
  display: grid;
  grid-template-columns: 120px 1fr;
  padding: 12px 0;
  border-bottom: 1px solid rgba(10, 20, 30, 0.08);
}

.company-list dt {
  font-size: 14px;
  opacity: 0.7;
}

.company-list dd {
  font-size: 15px;
}

/* ===== Company：Maps ===== */
.company-maps {
  margin-top: 36px;
}

.company-maps-title {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  letter-spacing: 0.14em;
  opacity: 0.8;
  margin-bottom: 14px;
}

.company-maps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.company-map-card {
  border: 1px solid rgba(10, 20, 30, 0.10);
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff;
}

.company-map-name {
  font-weight: 600;
  font-size: 14px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(10, 20, 30, 0.08);
}

.company-map-frame {
  width: 100%;
  height: 480px;
  border-radius: 16px;
}

.company-map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.company-map-meta {
  font-size: 13px;
  opacity: 0.75;
  padding: 10px 14px 12px;
}

/* SP */
@media (max-width: 768px) {
  .company-maps-grid {
    grid-template-columns: 1fr;
  }

  .company-map-frame {
    height: 200px;
  }
}


/* =========================================================
   8) RECRUIT
========================================================= */
.recruit {
  background: #f1f4f7;
  color: #0a141e;
  padding: 96px 24px;
}

.recruit-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.recruit-text {
  font-size: 16px;
  line-height: 1.9;
  max-width: 720px;
}


/* =========================================================
   9) CONTACT
========================================================= */
.contact {
  background: #ffffff;
  color: #0a141e;
  padding: 96px 24px;
}

.contact-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.contact-text {
  font-size: 16px;
  line-height: 1.9;
  max-width: 720px;
  opacity: 0.9;
  margin-bottom: 28px;
}

/* フォーム全体 */
.contact-form {
  max-width: 820px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 18px;
}

/* フィールド */
.contact-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-field-full {
  grid-column: 1 / -1;
}

.contact-label {
  font-size: 13px;
  opacity: 0.75;
}

.contact-input,
.contact-select,
.contact-textarea {
  width: 100%;
  border: 1px solid rgba(10, 20, 30, 0.14);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 15px;
  outline: none;
  background: #ffffff;
  color: #0a141e;
}

.contact-textarea {
  resize: vertical;
  min-height: 160px;
}

/* フォーカス */
.contact-input:focus,
.contact-select:focus,
.contact-textarea:focus {
  border-color: rgba(31, 111, 255, 0.65);
}

/* ハニーポットは完全非表示 */
.contact-honeypot {
  display: none;
}

/* チェック */
.contact-check {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.contact-checkbox {
  width: 18px;
  height: 18px;
}

/* 送信ボタン（ここだけは必要） */
.contact-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  height: 44px;
  padding: 0 18px;

  border: 0;
  border-radius: 12px;

  background: #1f6fff;
  color: #ffffff;

  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

/* disabled の見た目（←これが無いせいで「活性に見える」） */
.contact-submit:disabled {
  background: rgba(10, 20, 30, 0.18);
  color: rgba(10, 20, 30, 0.45);
  cursor: not-allowed;
  opacity: 1; /* 透明化ではなく色で表現 */
}

/* hover は活性時のみ */
.contact-submit:not(:disabled):hover {
  opacity: 0.9;
}

.contact-note {
  margin-top: 10px;
  font-size: 12px;
  opacity: 0.65;
}

/* SP */
@media (max-width: 768px) {
  .contact {
    padding: 72px 24px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}


/* =========================================================
   10) FOOTER
========================================================= */
.site-footer {
  background: #0b2a3f; /* ヒーローより少し落ち着いた色 */
  color: rgba(255, 255, 255, 0.9);
  padding: 48px 24px 24px;
}

.site-footer-inner {
  max-width: 1100px;
  margin: 0 auto 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}

.footer-brand {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  letter-spacing: 0.14em;
  margin-bottom: 8px;
}

.footer-address {
  font-size: 13px;
  opacity: 0.75;
}

.footer-nav {
  display: flex;
  gap: 20px;
}

.footer-link {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  position: relative;
}

.footer-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.7);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.footer-link:hover::after {
  transform: scaleX(1);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 16px;
  text-align: center;
  font-size: 12px;
  opacity: 0.6;
}

/* SP */
@media (max-width: 768px) {
  .site-footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-nav {
    gap: 16px;
  }
}


/* =========  ▽▽▽ 以降は、各ページ用 ▽▽▽  ========= */

/* =========================================================
   RECRUIT Page（recruit.html で使用している分のみ）
   - 重複していた HERO/SECTION/CTA 定義を 1 系統に統一
   - !important による上書きを撤去
   - recruit.html 側で未使用の定義（recruit-inner / recruit-text / recruit-hero-label）を除外
========================================================= */

/* fixed header spacer */
.page-spacer{
  height: 72px; /* .site-header-inner と合わせる */
}

/* =========================================================
   RECRUIT Page HEADER（初期状態から見えるように）
========================================================= */
.page-recruit .site-header{
  background-color: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(10, 20, 30, 0.10);
}

.page-recruit .site-nav-link{
  color: rgba(10, 20, 30, 0.92);
  opacity: 1;
}

.page-recruit .site-nav-link::after{
  background: rgba(22, 216, 246, 0.98);
}

/* ハンバーガーメニュー用（SP） */
.page-recruit .nav-toggle-bar{
  background: rgba(10, 20, 30, 0.85);
}


/* =========================================================
   HERO（左：文章 / 右：画像）
========================================================= */
.page-recruit .recruit-hero{
  padding: 96px 0 56px;
  background: linear-gradient(180deg, #f6f8fb 0%, #ffffff 70%);
  color: #0b2a3f;
  overflow: hidden;
}

.page-recruit .recruit-hero-inner{
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;

  display: flex;
  gap: 72px;
  align-items: center;
}

.page-recruit .recruit-hero-left{
  flex: 1.35 1 auto;
  min-width: 0;
}

.page-recruit .recruit-hero-title{
  font-size: 40px;
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin: 0 0 18px;
}

.page-recruit .recruit-hero-lead{
  font-size: 15px;
  line-height: 1.9;
  color: rgba(11, 42, 63, 0.86);
  margin-bottom: 18px;
}

.page-recruit .recruit-hero-lead p + p{
  margin-top: 8px;
}

.page-recruit .recruit-hero-list{
  margin: 18px 0 18px;
  padding: 0;
  list-style: none;

  display: grid;
  gap: 10px;
}

.page-recruit .recruit-hero-list li{
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: rgba(11, 42, 63, 0.88);
}

.page-recruit .recruit-hero-list li::before{
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0b2a3f;
  opacity: 0.9;
}

.page-recruit .recruit-hero-note{
  font-size: 13px;
  color: rgba(11, 42, 63, 0.70);
  margin: 10px 0 18px;
}

.page-recruit .recruit-hero-right{
  flex: 1 1 520px;
  min-width: 0;
}

.page-recruit .recruit-hero-right img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(10, 20, 30, 0.18);
  object-fit: cover;
}

.page-recruit .recruit-hero-cta{
  margin-top: 8px;
}


/* =========================================================
   SECTION（recruit.html の section 構造）
========================================================= */
.page-recruit .section{
  background: #ffffff;
  color: #0a141e;
  padding: 88px 0;
}

.page-recruit .section.bg-light{
  background: #f6f8fb;
}

.page-recruit .section-inner{
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
}

.page-recruit .section-title{
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
  color: #0b2a3f;
}

.page-recruit .section-text{
  font-size: 16px;
  line-height: 1.95;
  max-width: 760px;
  opacity: 0.9;
  color: rgba(11, 42, 63, 0.86);
}

.page-recruit .section-text + .section-text{
  margin-top: 10px;
}

.page-recruit .section-quote{
  margin: 22px auto 0;
  padding: 18px 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(11, 42, 63, 0.10);
  color: rgba(11, 42, 63, 0.92);
  font-weight: 700;
  line-height: 1.8;
  max-width: 760px;
  text-align: center;
}


/* =========================================================
   PHILOSOPHY（中央寄せブロック）
========================================================= */
.page-recruit .philosophy-center{
  text-align: center;
}

.page-recruit .philosophy-center .section-inner{
  max-width: 900px;
}

.page-recruit .philosophy-center .section-lead{
  font-size: 17px;
  font-weight: 600;
  color: rgba(11, 42, 63, 0.88);
  line-height: 1.9;
  margin: 0 0 14px;
}

.page-recruit .philosophy-center p{
  font-size: 15px;
  line-height: 1.95;
  color: rgba(11, 42, 63, 0.86);
}

.page-recruit .philosophy-center p + p{
  margin-top: 14px;
}

.page-recruit .philosophy-center .section-quote{
  margin: 20px auto;
  padding: 18px 18px;
  border-radius: 14px;
  background: rgba(11, 42, 63, 0.06);
  color: rgba(11, 42, 63, 0.92);
  font-weight: 700;
  line-height: 1.7;
  max-width: 760px;
}

.page-recruit .philosophy-center .section-last{
  margin-top: 18px;
  font-weight: 700;
  color: rgba(11, 42, 63, 0.92);
}


/* =========================================================
   VALUES（画像 + 文章）
========================================================= */
.page-recruit .section-flex{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}

.page-recruit .section-image img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  box-shadow: 0 18px 46px rgba(10, 20, 30, 0.14);
  object-fit: cover;
}

.page-recruit .section-textbox p{
  font-size: 15px;
  line-height: 1.95;
  color: rgba(11, 42, 63, 0.86);
}

.page-recruit .section-textbox p + p{
  margin-top: 12px;
}


/* =========================================================
   PERSON LIST（ul.person-list）
========================================================= */
.page-recruit .person-list{
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  max-width: 760px;
}

.page-recruit .person-list li{
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  line-height: 1.95;
  color: rgba(11, 42, 63, 0.86);
}

.page-recruit .person-list li::before{
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0b2a3f;
  opacity: 0.9;
}


/* =========================================================
   JOBS（services：カード）
========================================================= */
.page-recruit .services{
  background: #ffffff;
  color: #0a141e;
  padding: 88px 24px;
}

.page-recruit .services-inner{
  max-width: 1100px;
  margin: 0 auto;
}

.page-recruit .services-list{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.page-recruit .service-item{
  background: #ffffff;
  border: 1px solid rgba(10, 20, 30, 0.12);
  border-radius: 16px;
  padding: 28px 28px 26px;
}

.page-recruit .service-item-title{
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 14px;
  color: #0b2a3f;
}

.page-recruit .service-item-text{
  font-size: 15px;
  line-height: 1.85;
  color: rgba(11, 42, 63, 0.86);
}

.page-recruit .section-cta{
  margin-top: 22px;
}


/* =========================================================
   CTA（section cta + recruit-cta-box）
========================================================= */
.page-recruit .section.cta{
  background: linear-gradient(180deg, #eaf6ff 0%, #f7fbff 100%);
  color: #0a141e;
}

.page-recruit .recruit-cta-box{
  background: linear-gradient(180deg, #eaf6ff 0%, #f7fbff 100%);
  border-radius: 20px;
  padding: 52px 56px;
  box-shadow: 0 18px 40px rgba(20, 60, 120, 0.10);
  border: 1px solid rgba(20, 60, 120, 0.10);
}

.page-recruit .recruit-cta-box .section-title{
  color: #0a141e;
  margin: 0 0 16px;
}

.page-recruit .recruit-cta-box .section-text{
  color: rgba(10, 20, 30, 0.80);
  margin: 0 0 22px;
}


/* =========================================================
   Recruit Modals（dialog）
========================================================= */
.recruit-modal{
  width: min(920px, calc(100% - 32px));
  border: 0;
  padding: 0;
  background: transparent;
}

.recruit-modal[open]{
  position: fixed;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
}

.recruit-modal::backdrop{
  background: rgba(10, 20, 30, 0.55);
}

.recruit-modal-panel{
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(10, 20, 30, 0.28);
  overflow: hidden;

  max-height: min(82vh, 840px);
  display: flex;
  flex-direction: column;
}

.recruit-modal-head{
  position: relative;
  padding: 22px 24px;
  border-bottom: 1px solid rgba(10, 20, 30, 0.10);
}

.recruit-modal-head-title{
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  color: #0b2a3f;
}

.recruit-modal-close{
  position: absolute;
  top: 16px;
  right: 18px;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  font-size: 26px;
  line-height: 40px;
  cursor: pointer;
  opacity: 0.7;
}

.recruit-modal-close:hover{
  opacity: 1;
}

.recruit-modal-body{
  padding: 0 24px 18px;
  overflow: auto;
}

.recruit-modal-table{
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.9;
}

.recruit-modal-table th{
  width: 160px;
  text-align: left;
  vertical-align: top;
  padding: 14px 10px 14px 0;
  color: rgba(10,20,30,.75);
  font-weight: 800;
  border-bottom: 1px solid rgba(10, 20, 30, 0.10);
}

.recruit-modal-table td{
  padding: 14px 0;
  border-bottom: 1px solid rgba(10, 20, 30, 0.10);
}

.recruit-modal-foot{
  padding: 16px 24px 22px;
  border-top: 1px solid rgba(10, 20, 30, 0.10);
  background: #f6f8fb;
  display: flex;
  justify-content: center;
}


/* =========================================================
   responsive
========================================================= */
@media (max-width: 960px){
  .page-recruit .recruit-hero-inner{
    gap: 36px;
  }
  .page-recruit .recruit-hero-title{
    font-size: 34px;
  }
}

@media (max-width: 820px){
  .page-recruit .recruit-hero-inner{
    flex-direction: column;
    align-items: stretch;
  }
  .page-recruit .recruit-hero-right{
    order: -1;
  }
  .page-recruit .recruit-hero-right img{
    border-radius: 18px;
  }

  .page-recruit .section-flex{
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .page-recruit .services-list{
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .page-recruit .service-item{
    padding: 22px 22px 20px;
    border-radius: 14px;
  }
}

@media (max-width: 640px){
  .page-recruit .recruit-hero{
    padding: 80px 0 44px;
  }
  .page-recruit .recruit-hero-title{
    font-size: 28px;
  }

  .page-recruit .section{
    padding: 64px 0;
  }
  .page-recruit .section-title{
    font-size: 24px;
  }

  .page-recruit .recruit-cta-box{
    padding: 32px 24px;
  }

  .recruit-modal-table th{
    width: 110px;
  }
  .recruit-modal-head{
    padding: 18px 16px;
  }
  .recruit-modal-body{
    padding: 0 16px 12px;
  }
  .recruit-modal-foot{
    padding: 14px 16px 18px;
  }
}

/* =========================================================
   SERVICES Page（services.html 用）
========================================================= */

/* 固定ヘッダー分の上余白（recruitと同じ） */
.page-services .page-spacer{
  height: 72px;
}

/* SERVICES Page HEADER（初期状態から見えるように） */
.page-services .site-header{
  background-color: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(10, 20, 30, 0.10);
}
.page-services .site-nav-link{
  color: rgba(10, 20, 30, 0.92);
  opacity: 1;
}
.page-services .site-nav-link::after{
  background: rgba(22, 216, 246, 0.98);
}
/* ハンバーガー（SP） */
.page-services .nav-toggle-bar{
  background: rgba(10, 20, 30, 0.85);
}

/* HERO */
.page-services .services-hero{
  padding: 88px 0 56px;
  background: linear-gradient(180deg, #f6f8fb 0%, #ffffff 70%);
  color: #0b2a3f;
}
.page-services .services-hero-inner{
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.page-services .services-hero-lead{
  font-size: 15px;
  line-height: 1.9;
  color: rgba(11, 42, 63, 0.86);
  max-width: 760px;
}

/* HERO：画像（services-hero.jpg） */
.page-services .services-hero-media{
  margin-top: 22px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(10, 20, 30, 0.10);
  box-shadow: 0 24px 60px rgba(10, 20, 30, 0.18);
}
.page-services .services-hero-image{
  width: 100%;
  height: 360px;
  display: block;
  object-fit: cover;
}

.page-services .services-hero-cta{
  margin-top: 18px;
}

/* section 共通（servicesページ用） */
.page-services .section{
  background: #ffffff;
  color: #0a141e;
  padding: 88px 0;
}
.page-services .section.bg-light{
  background: #f6f8fb;
}

/* inner / title / text */
.page-services .svc-inner{
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.page-services .svc-title{
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #0b2a3f;
  margin-bottom: 14px;
}
.page-services .svc-text{
  font-size: 15px;
  line-height: 1.95;
  color: rgba(11, 42, 63, 0.86);
  max-width: 760px;
}

/* 一覧カード */
.page-services .svc-list{
  margin-top: 26px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.page-services .svc-card{
  background: #ffffff;
  border: 1px solid rgba(10, 20, 30, 0.12);
  border-radius: 16px;
  padding: 28px 28px 26px;
}
.page-services .svc-card-title{
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 12px;
  color: #0b2a3f;
}
.page-services .svc-card-text{
  font-size: 15px;
  line-height: 1.85;
  color: rgba(11, 42, 63, 0.86);
}
.page-services .svc-card-meta{
  margin-top: 16px;
  display: grid;
  gap: 10px;
}
.page-services .svc-card-meta > div{
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(10, 20, 30, 0.08);
}
.page-services .svc-card-meta dt{
  font-size: 13px;
  opacity: 0.7;
}
.page-services .svc-card-meta dd{
  font-size: 14px;
  color: rgba(11, 42, 63, 0.86);
}
.page-services .svc-card-cta{
  margin-top: 18px;
}

/* 詳細ブロック */
.page-services .svc-detail-grid{
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.page-services .svc-detail-box{
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(11, 42, 63, 0.10);
  border-radius: 16px;
  padding: 22px 22px 20px;
}
.page-services .svc-detail-title{
  font-size: 16px;
  font-weight: 800;
  color: #0b2a3f;
  margin-bottom: 10px;
}
.page-services .svc-list-bullets,
.page-services .svc-list-steps{
  margin: 0;
  padding-left: 18px;
  color: rgba(11, 42, 63, 0.86);
  line-height: 1.9;
  font-size: 14px;
}
.page-services .svc-list-bullets li + li,
.page-services .svc-list-steps li + li{
  margin-top: 6px;
}

/* CTA box */
.page-services .svc-cta-box{
  background: linear-gradient(180deg, #eaf6ff 0%, #f7fbff 100%);
  border-radius: 20px;
  padding: 44px 40px;
  box-shadow: 0 18px 40px rgba(20, 60, 120, 0.10);
  border: 1px solid rgba(20, 60, 120, 0.10);
}

/* responsive */
@media (max-width: 820px){
  .page-services .svc-list{
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .page-services .svc-detail-grid{
    grid-template-columns: 1fr;
  }

  .page-services .services-hero-image{
    height: 240px;
  }
}
@media (max-width: 640px){
  .page-services .services-hero{
    padding: 80px 0 44px;
  }
  .page-services .section{
    padding: 64px 0;
  }
  .page-services .svc-title{
    font-size: 24px;
  }
  .page-services .svc-cta-box{
    padding: 32px 24px;
  }

  .page-services .services-hero-image{
    height: 220px;
  }
}
