@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* ============================================================
   Base / Reset
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  color: #333;
  background: #fff;
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }

/* ============================================================
   Variables
   ============================================================ */
:root {
  --color-primary: #1a3a7c;
  --color-accent:  #294571;
  --color-bg-light: #f0f4f8;
  --color-bg-blue:#2a81d8;
  --color-text:    #333;
  --color-white:   #fff;
  --max-width: 1200px;
  --header-height: 70px;
}

/* ============================================================
   Layout helpers
   ============================================================ */
.l-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}
@media (max-width: 768px) {
  .l-container { padding: 0 20px; }
  .l-header__inner { padding-left: 16px !important;}
}

/* ============================================================
   Header
   ============================================================ */
.l-header {
  position: fixed;
  top: 0; left: 0; width: 100%;
  height: var(--header-height);
  /*background: rgba(255,255,255,0.02);
  backdrop-filter: blur(4px);*/
  background: rgba(255,255,255,1);
  z-index: 100;
  /* box-shadow: 0 1px 6px rgba(0,0,0,.08); */
}
.l-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  /* max-width: var(--max-width); */
  max-width: 100%;
  margin: 0 auto;
  padding: 0 40px;
}
.l-header__logo { flex-shrink: 0; }
.l-header__logo img { height: 36px; width: auto; display: block; }

/* ロゴ：マークが右からコロコロ → テキストが左からゆっくりフェードイン */
@keyframes logo-roll-bounce {
  0%   { transform: translateX(260px) translateY(0)     rotate(0deg);     animation-timing-function: ease-in-out; }
  55%  { transform: translateX(0)     translateY(0)     rotate(-1080deg); animation-timing-function: ease-out; }
  65%  { transform: translateX(0)     translateY(-10px) rotate(-1080deg); animation-timing-function: ease-in; }
  72%  { transform: translateX(0)     translateY(0)     rotate(-1080deg); animation-timing-function: ease-out; }
  80%  { transform: translateX(0)     translateY(-5px)  rotate(-1080deg); animation-timing-function: ease-in; }
  90%  { transform: translateX(0)     translateY(0)     rotate(-1080deg); }
  100% { transform: translateX(0)     translateY(0)     rotate(-1080deg); }
}
@keyframes logo-text-fadein {
  0%   { opacity: 0; transform: translateX(-18px); }
  100% { opacity: 1; transform: translateX(0); }
}
.l-header__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.l-header__logo-mark {
  will-change: transform;
}
body.page-home .l-header__logo-mark {
  animation: logo-roll-bounce 1.9s 0.2s both;
}
.l-header__logo-text {
  max-width: none;
}
/* バウンド着地(0.2s delay + 1.9s × 90% = 1.91s) + 余韻0.2s → 2.1s で開始 */
body.page-home .l-header__logo-text {
  animation: logo-text-fadein 1.1s 2.1s ease-out both;
}
/* ホームページ: ナビ・ハンバーガーをロゴアニメーション着地まで非表示 */
@keyframes nav-fadein {
  0%   { opacity: 0; }
  100% { opacity: 1; }
}
body.page-home .g-nav,
body.page-home .js-hamburger {
  animation: nav-fadein 0.6s 2.1s ease-out both;
}

@media (min-width: 769px) {
  .l-header__logo img { height: 47px; }
  @keyframes logo-roll-bounce {
    0%   { transform: translateX(450px) translateY(0)     rotate(0deg);     animation-timing-function: ease-in-out; }
    55%  { transform: translateX(0)     translateY(0)     rotate(-1080deg); animation-timing-function: ease-out; }
    65%  { transform: translateX(0)     translateY(-10px) rotate(-1080deg); animation-timing-function: ease-in; }
    72%  { transform: translateX(0)     translateY(0)     rotate(-1080deg); animation-timing-function: ease-out; }
    80%  { transform: translateX(0)     translateY(-5px)  rotate(-1080deg); animation-timing-function: ease-in; }
    90%  { transform: translateX(0)     translateY(0)     rotate(-1080deg); }
    100% { transform: translateX(0)     translateY(0)     rotate(-1080deg); }
  }
}

/* Global nav */
.g-nav { display: flex; align-items: center; gap: clamp(16px, 4vw, 82px); min-width: 0; }
.g-nav__list { display: flex; gap: clamp(10px, 2.5vw, 82px); }
.g-nav__item a {
  display: inline-block;
  position: relative;
  font-size: 0.85rem;
  font-weight: 500;
  color: #444;
  white-space: nowrap;
  transition: color .2s;
}
.g-nav__item a:hover { color: var(--color-accent); }
.g-nav .g-nav__item a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .3s ease;
}
.g-nav .g-nav__item a:hover::after { transform: scaleX(1); }
.g-nav__cta a {
  display: inline-block;
  padding: 6px clamp(12px, 3%, 62px);
  background: var(--color-accent);
  color: #fff;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background .2s;
}
.g-nav__cta a:hover { background: var(--color-primary); }

/* Hamburger */
.js-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px; height: 44px;
  gap: 6px;
  cursor: pointer;
  background: var(--color-primary); border: none; padding: 4px;
  border-radius: 50%;
}
.js-hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.js-hamburger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.js-hamburger.is-open span:nth-child(2) { opacity: 0; }
.js-hamburger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Mobile nav drawer */
.g-nav__drawer {
  display: none;
  position: fixed;
  top: var(--header-height); left: 0; width: 100%;
  background: #fff;
  padding: 24px 20px 32px;
  box-shadow: 0 4px 12px rgba(0,0,0,.1);
  z-index: 99;
}
.g-nav__drawer.is-open { display: block; }
.g-nav__drawer .g-nav__list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid #eee;
}
.g-nav__drawer .g-nav__item a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid #eee;
  font-size: 1rem;
}
.g-nav__drawer .g-nav__cta { display: block; margin-top: 20px; }
.g-nav__drawer .g-nav__cta a { display: block; text-align: center; padding: 14px; }

@media (max-width: 900px) {
  .g-nav__list,
  .g-nav__cta { display: none; }
  .js-hamburger { display: flex; }
}


/* ============================================================
   Main visual
   ============================================================ */
.s-main {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
}
.s-main.is-sub {
  min-height: 50vh;
}
.s-main.is-sub .s-main__catch {
  font-size: clamp(1.6rem, 5vw, 5.5rem);
  margin-bottom: 16px;
}
.s-main.is-sub .s-main__lead {
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.s-main.is-sub .s-main__sub {
  font-size: 0.82rem;
}
.s-main.is-sub .s-main__inner {
  padding: 52px 40px;
}
.s-main__bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/index/main/bg.jpg');
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.s-main__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 80px 40px;
}
.s-main__text { flex: 1; }
.s-main__catch {
  font-size: clamp(2.4rem, 8vw, 9.4rem);
  font-weight: 900;
  line-height: 1.2;
  color: var(--color-primary);
  margin-bottom: 28px;

  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-style: normal;
  white-space: nowrap;
}
.s-main__lead {
  font-size: 1.65rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
}
.s-main__sub {
  font-size: 0.95rem;
  color: #222;
}
.s-main__image {
  flex: 0 0 340px;
  max-width: 340px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
}
.s-main__image img { width: 100%; height: 260px; object-fit: cover; }

@media (max-width: 900px) {
  .s-main__catch {  font-size: clamp(3.4rem, 6vw, 6rem); white-space: none;}
  .s-main__lead { font-size: 1.25rem; }
  .s-main__inner { flex-direction: column; padding: 60px 20px; }
  .s-main.is-sub .s-main__inner { padding: 36px 20px; }
  .s-main__image { flex: none; max-width: 100%; width: 100%; }
  .s-main__image img { height: 200px; }
  .s-main__sub {
    background: rgba(247, 252, 255, 0.45);
    backdrop-filter: blur(4px);
    padding: 15px 18px;
    border-radius: 8px;
  }
}

/* ============================================================
   News
   ============================================================ */
.s-news { padding: 120px 0; background: #fff; }
.s-news__inner {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}
.s-news__label {
  flex: 0 0 auto;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: .1em;
  padding: 6px 16px;
  align-self: flex-start;
}
.s-news__list { flex: 1; }
.s-news__item {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 10px 0;
  /* border-bottom: 1px solid #eee; */
  font-size: 0.9rem;
}
/* .s-news__item:first-child { border-top: 1px solid #eee; } */
.s-news__date { flex: 0 0 90px; color: #888; font-size: 0.82rem; }
.s-news__title a:hover { color: var(--color-accent); text-decoration: underline; }

@media (max-width: 768px) {
  .s-news__inner { flex-direction: column; gap: 16px; padding: 0 20px; }
  .s-news__item { flex-direction: column; gap: 4px; }
  .s-news__date { flex: none; }
}

/* ============================================================
   Section heading common
   ============================================================ */
.c-section-head {
  text-align: left;
  margin-bottom: 48px;
  position: relative;
  z-index: 0;
}

/*
  デコレーション丸 — スクロール到達後にふわっと出現
  ・左と上部を大きく見切れさせ、右下の弧のみ表示
  ・:has(.is-visible) で子要素の reveal 発火を検知してアニメーション開始
*/
.c-section-head::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width:  clamp(380px, 52vw, 640px);
  height: clamp(380px, 52vw, 640px);
  background: #d6e8f8;
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
  /* 初期状態: 非表示 + わずかに縮小（右下の弧を中心に拡大） */
  opacity: 0;
  transform: translate(-58%, -58%) scale(0.82);
  transition:
    opacity   0.65s ease,
    transform 0.70s cubic-bezier(.22,.86,.4,1.0);
}

/* 子要素に is-visible が付いた瞬間に丸を表示 */
.c-section-head:has(.is-visible)::before {
  opacity: 1;
  transform: translate(-58%, -58%) scale(1);
}

/* 中央揃えバリアント（RECRUIT INFO）— 丸は表示しない */
.c-section-head.is-center {
  text-align: center;
}
.c-section-head.is-center::before {
  display: none;
}

/* 丸が出てからテキストをアニメーション（遅延を上書き） */
.c-section-head .c-section-head__en[data-reveal] { transition-delay: 0.50s; }
.c-section-head .c-section-head__ja[data-reveal] { transition-delay: 0.70s; }

.c-section-head__en {
  display: block;
  font-size: clamp(2.8rem, 6vw, 6.5rem);
  font-weight: 900;
  color: var(--color-text);
  letter-spacing: .04em;
  line-height: 1;
}
.c-section-head__en::first-letter {
  color: var(--color-primary);
}

.c-section-head__ja {
  display: block;
  font-size: 1rem;
  color: #666;
  margin-top: 8px;
}

/* ============================================================
   Service
   ============================================================ */
.s-service {
  padding: 80px 0;
  background: #fff;
}
.s-service__inner { max-width: var(--max-width); margin: 0 auto; padding: 0 40px; }
.s-service__label {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 48px;
}

/* Diagram */
.s-service__diagram {
  position: relative;
  width:80%;
  max-width: var(--max-width);
  height: 600px;
  margin: 0 auto 56px;
}
.s-service__diagram-item {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  font-size: 0.82rem;
  color: #555;
}
.s-service__diagram-item .box {
  width: 120px; height: 90px;
  background: #ccc;
  border-radius: 2px;
}
/* center */
.s-service__diagram-item.is-center {
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.9rem;
  color: var(--color-primary);
}
.s-service__diagram-item.is-center .box {
  width: 130px; height: 100px;
  background: var(--color-bg-light);
  border: 2px solid #bbb;
}
/* top */
.s-service__diagram-item.is-top { top: 0; left: 42%; transform: translateX(-50%); }
/* bottom */
.s-service__diagram-item.is-bottom { bottom: 0; left: 42%; transform: translateX(-50%); }
/* left */
.s-service__diagram-item.is-left { top: 42%; left: 0; transform: translateY(-50%); }
/* right */
.s-service__diagram-item.is-right { top: 42%; right: 0; transform: translateY(-50%); }

/* Connector lines via pseudo / SVG overlay */
.s-service__diagram-svg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}

/* Detail */
.s-service__detail { max-width: 700px; margin: 0 auto; text-align: center; }
.s-service__detail-title { font-size: 1.25rem; font-weight: 700; color: var(--color-primary); margin-bottom: 16px; }
.s-service__detail-body { font-size: 0.9rem; color: #555; line-height: 1.9; margin-bottom: 28px; }
.c-btn-outline {
  display: inline-block;
  padding: 12px 36px;
  border: 2px solid #aaa;
  border-radius: 30px;
  font-size: 0.9rem;
  color: #555;
  transition: border-color .2s, color .2s;
}
.c-btn-outline:hover { border-color: var(--color-accent); color: var(--color-accent); }

@media (max-width: 768px) {
  .s-service__inner { padding: 0 20px; }
  .s-service__diagram { width: 100%; height: auto; position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .s-service__diagram-item { position: static; transform: none; }
  .s-service__diagram-svg { display: none; }
  .s-service__diagram-item.is-center { grid-column: 1 / -1; }
}

/* ============================================================
   Recruit
   ============================================================ */
.s-recruit {
  position: relative;
  padding: 140px 0;
  background-color: var(--color-bg-light);
}
.s-recruit::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/images/index/visual-space.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.15;
  z-index: 0;
}
.s-recruit > * {
  position: relative;
  z-index: 1;
}
.s-recruit__inner { max-width: var(--max-width); margin: 0 auto; padding: 0 40px; text-align: center; }
.s-recruit__body { font-size: 0.9rem; color: #555; line-height: 1.9; margin-bottom: 80px; }
.s-recruit__buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin-bottom: 24px; }
.c-btn-recruit {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 44px;
  border: 2px solid var(--color-primary);
  border-radius: 40px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
  min-width: 200px;
  justify-content: center;
  transition: background .2s, color .2s;
}
.c-btn-recruit:hover { background: var(--color-primary); color: #fff; }
.c-btn-recruit .arrow {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--color-primary);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.c-btn-recruit:hover .arrow { background: #fff; }
.c-btn-recruit .arrow::after {
  content: '';
  display: block;
  width: 6px; height: 6px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg) translate(-1px, 1px);
}
.c-btn-recruit:hover .arrow::after { border-color: var(--color-primary); }
.s-recruit__contact { margin-top: 8px; }
.c-btn-contact-sm {
  display: inline-block;
  padding: 12px 40px;
  background: var(--color-accent);
  color: #fff;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background .2s;
}
.c-btn-contact-sm:hover { background: var(--color-primary); }

@media (max-width: 600px) {
  .s-recruit__inner { padding: 0 20px; }
  .c-btn-recruit { min-width: 100%; }
}

/* ============================================================
   Initiatives (当社の取り組み)
   ============================================================ */
.s-initiatives { padding: 80px 0; background: var(--color-white); position: relative; overflow: hidden; }
.s-initiatives__inner { max-width: var(--max-width); margin: 0 auto; padding: 0 40px; }
.s-initiatives__label {
  font-size: 0.78rem;
  letter-spacing: .12em;
  color: #888;
  margin-bottom: 4px;
}
.s-initiatives__heading { font-size: 1.1rem; font-weight: 700; color: #333; margin-bottom: 40px; }
.s-initiatives__items { display: flex; flex-direction: column; gap: 56px; }
.s-initiatives__item {
  display: flex;
  align-items: center;
  gap: 98px;
}
.s-initiatives__item.is-reverse { flex-direction: row-reverse; }
.s-initiatives__item-image { flex: 0 0 440px; }
.s-initiatives__item-image img { width: 100%; height: 340px; object-fit: cover; border-radius: 4px; background: #ccc; }
.s-initiatives__item-body { flex: 1; }
.s-initiatives__item-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 0;
  display: inline-block;
  position: relative;
  padding-bottom: 14px;
}
.s-initiatives__item-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, #5ab0f0 0%, #90ccf8 55%, transparent 100%);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.65s cubic-bezier(.22,.86,.4,1.0) 0.25s;
}
.s-initiatives__item-body.is-visible .s-initiatives__item-title::after {
  transform: scaleX(1);
}
.s-initiatives__item-text {
  font-size: 0.88rem;
  color: #555;
  line-height: 2;
  margin-top: 16px;
  margin-bottom: 0;
}
.s-initiatives__item-link {
  display: inline-flex;
  align-items: flex-end;
  gap: 10px;
  margin-top: 24px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: .12em;
  color: var(--color-primary);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: gap 0.25s ease, opacity 0.25s ease;
}
/* 直角三角形: 右角=底辺右、底辺がアンダーラインと接する */
.s-initiatives__item-link::after {
  content: '';
  display: block;
  flex-shrink: 0;
  width: 11px;
  height: 13px;
  background: currentColor;
  clip-path: polygon(0% 0%, 100% 100%, 0% 100%);
  transition: transform 0.25s ease;
}
.s-initiatives__item-link:hover {
  opacity: 0.6;
  gap: 16px;
}
.s-initiatives__item-link:hover::after {
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .s-initiatives__inner { padding: 0 20px; }
  .s-initiatives__item,
  .s-initiatives__item.is-reverse { flex-direction: column; gap: 20px; }
  .s-initiatives__item-image { flex: none; width: 100%; }
}

/* ============================================================
   Recruit Page (採用情報ページ専用)
   ============================================================ */
.s-recruit-page {
  padding: 80px 0;
  background: #fff;
}

/* ── 分岐カード（左右並列） ───────── */
.s-recruit-page__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 96px;
}

.s-recruit-page__card {
  display: flex;
  flex-direction: column;
  padding: 40px 36px;
  border: 2px solid #dde8f5;
  border-radius: 4px;
  transition: border-color .25s, box-shadow .25s;
  color: inherit;
}
.s-recruit-page__card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 8px 32px rgba(26, 58, 124, .08);
}

.s-recruit-page__card-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--color-primary);
  background: #eef1f7;
  padding: 4px 14px;
  margin-bottom: 16px;
  align-self: flex-start;
}

.s-recruit-page__card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 14px;
}

.s-recruit-page__card-text {
  font-size: 0.88rem;
  color: #555;
  line-height: 1.9;
  margin-bottom: 16px;
}

.s-recruit-page__card-salary {
  font-size: 0.82rem;
  color: #555;
  line-height: 1.9;
  padding: 14px 16px;
  background: var(--color-bg-light);
  margin-bottom: 28px;
  flex: 1;
}

.s-recruit-page__card-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-primary);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  align-self: flex-start;
  margin-top: auto;
}
.s-recruit-page__card-btn::after {
  content: '→';
  font-size: 0.8em;
}

/* ── WORK 先輩の声 ───────────────── */
.s-recruit-page__voice {
  margin-bottom: 96px;
}

/* 丸デコレーション非表示 */
.s-recruit-page__voice .c-section-head::before {
  display: none;
}

.s-recruit-page__voice-item {
  display: flex;
  align-items: flex-start;
  gap: 60px;
  margin-top: 48px;
}

.s-recruit-page__voice-image {
  flex: 0 0 360px;
}
.s-recruit-page__voice-image img {
  width: 100%;
  height: auto;        /* アスペクト比を保持 */
  border-radius: 4px;
  display: block;
}

.s-recruit-page__voice-body {
  flex: 1;
}
.s-recruit-page__voice-dept {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--color-primary);
  margin-bottom: 6px;
}
.s-recruit-page__voice-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 24px;
}
.s-recruit-page__voice-name span {
  font-size: 0.85rem;
  font-weight: 400;
  color: #888;
  margin-left: 10px;
}
.s-recruit-page__voice-text {
  font-size: 0.9rem;
  line-height: 2;
  color: #555;
}

/* ── Entry CTA ───────────────────── */
.s-recruit-page__entry {
  text-align: center;
  padding-top: 16px;
}
.s-recruit-page__entry-btn {
  display: inline-block;
  padding: 18px 72px;
  background: var(--color-primary);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .1em;
  border-radius: 40px;
  transition: background .2s, transform .2s;
}
.s-recruit-page__entry-btn:hover {
  background: var(--color-accent);
  transform: translateY(-2px);
}
.s-recruit-page__entry p {
  font-size: 0.82rem;
  color: #888;
  margin-top: 14px;
}

@media (max-width: 768px) {
  .s-recruit-page {
    padding: 56px 0;
  }
  .s-recruit-page__cards {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 64px;
  }
  .s-recruit-page__card {
    padding: 28px 24px;
  }
  .s-recruit-page__voice {
    margin-bottom: 64px;
  }
  .s-recruit-page__voice-item {
    flex-direction: column;
    gap: 24px;
  }
  .s-recruit-page__voice-image {
    flex: none;
    width: 100%;
  }
  .s-recruit-page__voice-image img {
    height: auto;
  }
  .s-recruit-page__entry-btn {
    padding: 16px 40px;
    width: 100%;
  }
}

/* ============================================================
   Job Detail (fulltime / parttime 共通)
   ============================================================ */
.s-job-detail {
  padding: 80px 0;
  background: #fff;
}

.s-job-detail__inner {
  max-width: 800px;
}

/* テーブル — s-company__table と同系デザイン */
.s-job-detail__table {
  border-top: 1px solid #dde3ea;
  margin-bottom: 64px;
}

.s-job-detail__row {
  display: flex;
  border-bottom: 1px solid #dde3ea;
}

.s-job-detail__row dt {
  flex: 0 0 160px;
  padding: 20px 16px 20px 12px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
  background: #eef1f7;
  display: flex;
  align-items: flex-start;
}

.s-job-detail__row dd {
  flex: 1;
  padding: 20px 12px 20px 24px;
  font-size: 0.9rem;
  color: #444;
  line-height: 1.9;
}

/* Entry CTA */
.s-job-detail__entry {
  text-align: center;
}
.s-job-detail__entry-btn {
  display: inline-block;
  padding: 18px 72px;
  background: var(--color-primary);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .1em;
  border-radius: 40px;
  transition: background .2s, transform .2s;
}
.s-job-detail__entry-btn:hover {
  background: var(--color-accent);
  transform: translateY(-2px);
}
.s-job-detail__entry p {
  font-size: 0.82rem;
  color: #888;
  margin-top: 14px;
}

@media (max-width: 600px) {
  .s-job-detail {
    padding: 56px 0;
  }
  .s-job-detail__row {
    flex-direction: column;
  }
  .s-job-detail__row dt {
    flex: none;
    padding: 12px 16px 4px;
  }
  .s-job-detail__row dd {
    padding: 4px 16px 14px;
  }
  .s-job-detail__entry-btn {
    padding: 16px 40px;
    width: 100%;
  }
}

/* ============================================================
   Business (事業内容)
   ============================================================ */
.s-business {
  padding: 80px 0;
  background: #fff;
}

.s-business__item {
  display: flex;
  align-items: center;
  gap: 80px;
  margin-bottom: 80px;
}
.s-business__item:last-child {
  margin-bottom: 0;
}
.s-business__item.is-reverse {
  flex-direction: row-reverse;
}

.s-business__item-image {
  flex: 0 0 460px;
}
.s-business__item-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

.s-business__item-body {
  flex: 1;
}
.s-business__item-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 3px solid #dde8f5;
  position: relative;
}
.s-business__item-title::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--color-primary);
}
.s-business__item-text {
  font-size: 0.92rem;
  line-height: 2;
  color: #555;
}

@media (max-width: 900px) {
  .s-business {
    padding: 56px 0;
  }
  .s-business__item,
  .s-business__item.is-reverse {
    flex-direction: column;
    gap: 24px;
    margin-bottom: 56px;
  }
  .s-business__item-image {
    flex: none;
    width: 100%;
  }
  .s-business__item-image img {
    height: 220px;
  }
}

/* ============================================================
   Business Page — Section Navigation (.s-biz-nav)
   ============================================================ */
.s-biz-nav {
  background: var(--color-primary);
  border-bottom: none;
  position: sticky;
  top: var(--header-height);
  z-index: 50;
}
.s-biz-nav__inner {
  padding-top: 0;
  padding-bottom: 0;
}
.s-biz-nav__list {
  display: flex;
  gap: 0;
  margin: 0;
}
.s-biz-nav__item {
  flex: 1;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}
.s-biz-nav__item:last-child {
  border-right: none;
}
.s-biz-nav__link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  transition: background .2s, color .2s;
}
.s-biz-nav__link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.s-biz-nav__num {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  opacity: 1;
}
.s-biz-nav__name {
  letter-spacing: 0.02em;
}

/* ============================================================
   Business Page — Individual Section (.s-biz)
   ============================================================ */
.s-biz {
  padding: 100px 0;
  background: #fff;
}
.s-biz.is-alt {
  background: var(--color-bg-light);
}

/* --- Section heading --- */
.s-biz__head {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 36px;
}
.s-biz__num {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(5rem, 12vw, 9rem);
  font-weight: 200;
  line-height: 1;
  color: #dde8f5;
  flex-shrink: 0;
  letter-spacing: -0.02em;
  user-select: none;
}
.s-biz__title-wrap {
  padding-bottom: 8px;
}
.s-biz__title-en {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  font-weight: 700;
  color: #aabdd6;
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.s-biz__title-ja {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 900;
  color: var(--color-primary);
  line-height: 1;
  position: relative;
  padding-left: 16px;
}
.s-biz__title-ja::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 80%;
  background: var(--color-primary);
  border-radius: 2px;
}

/* --- Lead text --- */
.s-biz__lead {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.8;
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid #dde8f5;
}

/* --- Image + text layout --- */
.s-biz__layout {
  display: flex;
  gap: 56px;
  align-items: flex-start;
  margin-bottom: 56px;
}
.s-biz__layout.is-reverse {
  flex-direction: row-reverse;
}
.s-biz__layout-img {
  flex: 0 0 420px;
}
.s-biz__layout-img img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}
.s-biz__layout-body {
  flex: 1;
}
.s-biz__text {
  font-size: 0.93rem;
  line-height: 2;
  color: #555;
  margin-bottom: 18px;
}
.s-biz__text:last-of-type {
  margin-bottom: 0;
}

/* --- Check list --- */
.s-biz__points {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 28px;
}
.s-biz__point-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary);
}
.s-biz__point-icon {
  width: 20px;
  height: 20px;
  background: var(--color-primary);
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
}
.s-biz__point-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 4px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: translate(-55%, -60%) rotate(-45deg);
}

/* --- Service flow (転用の流れ) --- */
.s-biz__flow {
  background: #fff;
  border: 1px solid #dde8f5;
  border-radius: 8px;
  padding: 40px;
  margin-bottom: 32px;
}
.s-biz.is-alt .s-biz__flow {
  background: #fff;
}
.s-biz__flow-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 32px;
  text-align: center;
  letter-spacing: 0.04em;
}
.s-biz__flow-steps {
  display: flex;
  gap: 0;
  position: relative;
  counter-reset: none;
}
.s-biz__flow-steps::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(to right, var(--color-primary), #aabdd6);
  z-index: 0;
  opacity: 0.3;
}
.s-biz__flow-step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 8px;
}
.s-biz__flow-step-num {
  display: inline-block;
  background: var(--color-primary);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
  letter-spacing: 0.04em;
}
.s-biz__flow-step-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: #444;
  line-height: 1.6;
}

/* --- Feature cards --- */
.s-biz__features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  list-style: none;
  margin-bottom: 0;
}
.s-biz__feature-card {
  background: #fff;
  border: 1px solid #dde8f5;
  border-top: 3px solid var(--color-primary);
  border-radius: 0 0 8px 8px;
  padding: 28px 24px;
}
.s-biz.is-alt .s-biz__feature-card {
  background: #fff;
}
.s-biz__feature-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 10px;
  padding-left: 14px;
  position: relative;
}
.s-biz__feature-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  background: var(--color-primary);
  border-radius: 50%;
}
.s-biz__feature-text {
  font-size: 0.83rem;
  color: #666;
  line-height: 1.8;
}

/* --- Note box --- */
.s-biz__note {
  background: var(--color-bg-light);
  border-left: 3px solid var(--color-primary);
  border-radius: 0 4px 4px 0;
  padding: 20px 24px;
  font-size: 0.85rem;
  color: #666;
  line-height: 1.9;
}
.s-biz.is-alt .s-biz__note {
  background: #fff;
}

/* --- External service card --- */
.s-biz__ext-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  max-width: 80%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 32px;
  padding: 28px 32px;
  background: #fff;
  border: 1px solid #dde8f5;
  border-radius: 8px;
}
.s-biz.is-alt .s-biz__ext-card {
  background: #fff;
}
.s-biz__ext-card-label {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: var(--color-primary);
  padding: 3px 10px;
  border-radius: 2px;
}
.s-biz__ext-card-logo {
  line-height: 0;
}
.s-biz__ext-card-logo img {
  height: 60px;
  width: auto;
  max-width: 340px;
  object-fit: contain;
  display: block;
}
.s-biz__ext-card-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-primary);
}
.s-biz__ext-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-bg-blue);
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  transition: opacity .2s;
}
.s-biz__ext-card-link:hover {
  opacity: 0.7;
}
.s-biz__ext-card-link svg {
  flex-shrink: 0;
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .s-biz {
    padding: 60px 0;
  }
  .s-biz__layout,
  .s-biz__layout.is-reverse {
    flex-direction: column;
    gap: 32px;
  }
  .s-biz__layout-img {
    flex: none;
    width: 100%;
  }
  .s-biz__layout-img img {
    height: 220px;
  }
  .s-biz__features {
    grid-template-columns: 1fr 1fr;
  }
  .s-biz__flow-steps::before {
    display: none;
  }
}

@media (max-width: 600px) {
  .s-biz-nav__link {
    flex-direction: column;
    gap: 2px;
    padding: 12px 6px;
    font-size: 0.72rem;
  }
  .s-biz-nav__num {
    font-size: 0.85rem;
  }
  .s-biz__head {
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
  }
  .s-biz__num {
    font-size: 3.5rem;
  }
  .s-biz__features {
    grid-template-columns: 1fr;
  }
  .s-biz__flow {
    padding: 24px 16px;
  }
  .s-biz__flow-steps {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }
  .s-biz__flow-step {
    width: 100%;
    max-width: 240px;
  }
}

/* ============================================================
   Company (会社概要)
   ============================================================ */
.s-company {
  padding: 80px 0;
  background: var(--color-white);
  position: relative;
  overflow: hidden;
}
.s-company__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}
.s-company__table {
  max-width: 800px;
  margin: 40px auto;
  border-top: 1px solid #dde3ea;
}
.s-company__row {
  display: flex;
  border-bottom: 1px solid #dde3ea;
}
.s-company__row dt {
  flex: 0 0 160px;
  padding: 16px 20px 16px 12px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
  background: #eef1f7;
  display: flex;
  align-items: center;
}
.s-company__row dd {
  flex: 1;
  padding: 16px 12px 16px 24px;
  font-size: 0.88rem;
  color: #444;
  line-height: 1.8;
}
.s-company__more {
  text-align: center;
  margin-top: 8px;
}

@media (max-width: 600px) {
  .s-company__inner  { padding: 0 20px; }
  .s-company__row    { flex-direction: column; }
  .s-company__row dt { flex: none; padding: 10px 16px 4px; }
  .s-company__row dd { padding: 4px 16px 12px; }
}

/* ============================================================
   Contact CTA (blue band)
   ============================================================ */
.s-contact-cta {
  padding: 60px 0;
  background: var(--color-bg-blue);
  color: #fff;
}
.s-contact-cta__inner { max-width: var(--max-width); margin: 0 auto; padding: 0 40px; text-align: center; }
.s-contact-cta__title { font-size: 1.1rem; font-weight: 700; margin-bottom: 28px; }
.s-contact-cta__buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 60px; }
.c-btn-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 16px 36px;
  background: var(--color-bg-blue);
  color:#FFF;
  border:1px solid #FFF;
  border-radius: 1px;
  font-weight: 700;
  font-size: 1.6rem;
  transition: opacity .2s;
  min-width: 240px;
  justify-content: center;
}
.c-btn-cta img{
  display: inline-block;
  width:60%;
  height:60%;
  display:flex;
  align-items:center;
  justify-content:center;
}
.c-btn-cta:hover { opacity: .85; }
.c-btn-cta .icon { font-size: 1.3rem; }

@media (max-width: 600px) {
  .s-contact-cta__inner { padding: 0 20px; }
  .c-btn-cta { min-width: 100%; font-size: 1rem; }
}

/* ============================================================
   Footer
   ============================================================ */
.l-footer { background: #3d3939; border-top: 1px solid var(--color-bg-blue); padding: 20px 0 4px; }
.l-footer__upper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px 18px;
}
.l-footer__nav { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.l-footer__nav a { display: inline-block; position: relative; font-size: 0.82rem; color: #FFF; transition: color .2s; }
.l-footer__nav a:hover { color: #b7d9eb; }
.l-footer__nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--color-bg-light);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .3s ease;
}
.l-footer__nav a:hover::after { transform: scaleX(1); }
.l-footer__lower {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 28px 40px 0;
}
.l-footer__info { font-size: 0.88rem; color: #888; line-height: 1.8; }
.l-footer__info .company-name { font-size: 1.42rem; font-weight: 700; color: #333; margin-bottom: 4px; }
.l-footer__logo { display:flex; gap: 0.5rem;}
.l-footer__logo img { height: 36px; width: auto; }
.l-footer__copy {
  text-align: center;
  font-size: 0.72rem;
  color: #aaa;
  padding-top: 24px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: 40px;
  padding-right: 40px;
}

@media (min-width: 769px) {
  .l-footer__logo img { height: 60px; }
}
@media (max-width: 768px) {
  .l-footer__upper { flex-direction: column; gap: 20px; padding: 0 20px 24px; }
  .l-footer__lower { flex-direction: column; align-items: flex-start; gap: 20px; padding: 20px 20px 0; }
  .l-footer__copy { padding-left: 20px; padding-right: 20px; }
}

/* ============================================================
   Main visual — right-fixed decorative image
   z-index: bg=0, float=1, inner-text=2
   ============================================================ */
.s-main__float {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

/* 右端固定、高さ100%（セクション全高）*/
.s-main__float-parallax {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
}

/* 始点 height:100% → ズームでクロップ */
.s-main__float-img {
  display: block;
  height: 100%;
  width: auto;
  max-width: none;
  opacity: 0.6;
  filter: drop-shadow(-16px 0 32px rgba(26, 58, 124, 0.12));
  animation: anim-float-zoom 8s ease-in-out infinite;
  will-change: transform;
  transform-origin: center center;
}

@keyframes anim-float-zoom {
  0%   { transform: scale(1);    }
  50%  { transform: scale(1.07); }
  100% { transform: scale(1);    }
}

/* ============================================================
   Animations — page load (main visual)
   ============================================================ */
@keyframes anim-slide-left {
  from { opacity: 0; transform: translateX(-64px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes anim-blur-in {
  from { opacity: 0; filter: blur(20px); transform: scale(1.04); }
  to   { opacity: 1; filter: blur(0);    transform: scale(1); }
}
@keyframes anim-fade-up {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.s-main__catch {
  animation: anim-slide-left 2.8s 2.1s cubic-bezier(.22,.68,0,1.2) both;
}
.s-main__lead {
  animation: anim-fade-up .8s 2.55s cubic-bezier(.22,.68,0,1.2) both;
}
.s-main__sub {
  animation: anim-fade-up .8s 2.75s cubic-bezier(.22,.68,0,1.2) both;
}
.s-main__image {
  animation: anim-blur-in 1.2s 2.6s cubic-bezier(.4,0,.2,1) both;
}

/* サブページ：ロゴアニメーションなしのためdelayを即時に */
.s-main.is-sub .s-main__catch  { animation-delay: 0s; }
.s-main.is-sub .s-main__lead   { animation-delay: 0s; }
.s-main.is-sub .s-main__sub    { animation-delay: 0s; }
.s-main.is-sub .s-main__image  { animation-delay: 0s; }

/* ============================================================
   Animations — scroll reveal
   ============================================================ */

/* overflow clip so translated elements don't create scrollbar */
 .s-service, .s-recruit, .s-initiatives, .s-contact-cta {
  overflow: hidden;
}

/* Base hidden state */
[data-reveal] {
  opacity: 0;
  transition:
    opacity   1.0s cubic-bezier(.4,0,.2,1),
    transform 1.0s cubic-bezier(.4,0,.2,1);
  transition-delay: 0.2s;
  will-change: opacity, transform;
}
[data-reveal="left"]  { transform: translateX(-56px); }
[data-reveal="right"] { transform: translateX( 56px); }
[data-reveal="up"]    { transform: translateY( 36px); }

[data-reveal].is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* Blur-in on scroll */
.js-blur-in {
  opacity: 0;
  filter: blur(18px);
  transform: scale(1.05);
  transition:
    opacity   1.2s cubic-bezier(.4,0,.2,1),
    filter    1.2s cubic-bezier(.4,0,.2,1),
    transform 1.2s cubic-bezier(.4,0,.2,1);
  transition-delay: 0.2s;
  will-change: opacity, filter, transform;
}
.js-blur-in.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: scale(1);
}

/* Stagger delay helpers */
[data-reveal-delay="1"] { transition-delay: 1.10s; }
[data-reveal-delay="2"] { transition-delay: 1.20s; }
[data-reveal-delay="3"] { transition-delay: 1.30s; }
[data-reveal-delay="4"] { transition-delay: 1.45s; }
[data-reveal-delay="5"] { transition-delay: 1.60s; }

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  [data-reveal], .js-blur-in,
  .s-main__catch, .s-main__lead, .s-main__sub, .s-main__image,
  .s-main__float-img {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    animation: none !important;
    transition: none !important;
  }
  .c-section-head::before {
    opacity: 1 !important;
    transform: translate(-58%, -58%) scale(1) !important;
    transition: none !important;
  }
  body.page-home .g-nav,
  body.page-home .js-hamburger {
    opacity: 1 !important;
    animation: none !important;
  }
}

/* ============================================================
   Entry / Contact Form Section
   ============================================================ */
.s-entry-form,
.s-contact-form {
  padding: 80px 0;
  background: var(--color-bg-light);
}

.s-entry-form__inner,
.s-contact-form__inner {
  max-width: 720px;
}

.s-entry-form__lead {
  margin-bottom: 36px;
  font-size: 0.9rem;
  color: #555;
  line-height: 1.9;
}
.s-entry-form__note {
  color: #c53030;
  font-size: 0.82rem;
  margin-top: 6px;
}

/* フォームカード */
.s-entry-form__card {
  background: #fff;
  border-radius: 4px;
  padding: 48px 56px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, .06);
}

@media (max-width: 768px) {
  .s-entry-form,
  .s-contact-form {
    padding: 56px 0;
  }
  .s-entry-form__card {
    padding: 32px 24px;
  }
}

/* ============================================================
   Form Components
   ============================================================ */
.c-form {
  max-width: 600px;
  margin: 0 auto;
}

.c-form__group {
  margin-bottom: 1.5rem;
}

.c-form__label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.5rem;
}

/* 必須・任意バッジ */
.c-form__badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 2px;
  margin-left: 6px;
  vertical-align: middle;
}
.c-form__badge.is-required { background: #c53030; color: #fff; }
.c-form__badge.is-optional { background: #aaa;    color: #fff; }

/* ラジオグループ */
.c-form__radios {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.c-form__radio-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  cursor: pointer;
}

/* 同意チェックボックス */
.c-form__check-label {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.88rem;
  color: #555;
  cursor: pointer;
  line-height: 1.7;
}
.c-form__check-label input[type="checkbox"] {
  margin-top: 3px;
  flex-shrink: 0;
}
.c-form__check-label a {
  color: var(--color-primary);
  text-decoration: underline;
}

/* 複数選択チェックボックス */
.c-form__checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
}
.c-form__check-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  cursor: pointer;
}
.c-form__check-item input[type="checkbox"] {
  flex-shrink: 0;
}
.c-form__hint {
  margin-top: 6px;
  font-size: 0.8rem;
  color: #888;
}

.c-form__input,
.c-form__textarea,
.c-form__select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  font-size: 1rem;
  line-height: 1.5;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.c-form__input:focus,
.c-form__textarea:focus,
.c-form__select:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.c-form__textarea {
  resize: vertical;
  min-height: 120px;
}

.c-form__select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 0.5rem center;
  background-repeat: no-repeat;
  background-size: 1.5em 1.5em;
  padding-right: 2.5rem;
  appearance: none;
}

.c-form__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 0.375rem;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.15s ease-in-out, transform 0.15s ease-in-out;
  background-color: #3b82f6;
  color: #ffffff;
  width: 100%;
}

.c-form__submit:hover {
  background-color: #2563eb;
  transform: translateY(-1px);
}

.c-form__submit:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.c-form__submit:active {
  transform: translateY(0);
}

/* ============================================================
   Privacy Policy
   ============================================================ */
.s-privacy-policy {
  padding: 80px 0;
  background: #fff;
}

.s-privacy-policy__inner {
  max-width: 900px;
}

/* ── 2段ブロック ─────────────────── */
.s-privacy-policy__block {
  padding: 60px 0;
}
.s-privacy-policy__block:first-child {
  padding-top: 0;
}
.s-privacy-policy__block:last-child {
  padding-bottom: 0;
}

/* 段区切り線 */
.s-privacy-policy__divider {
  border: none;
  border-top: 2px solid var(--color-bg-light);
  margin: 0;
}

/* ── ブロックタイトル ─────────────── */
.s-privacy-policy__block-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  padding-bottom: 14px;
  margin-bottom: 32px;
  border-bottom: 3px solid #dde8f5;
  position: relative;
}
.s-privacy-policy__block-title::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 80px;
  height: 3px;
  background: var(--color-primary);
}

/* ── 本文 ──────────────────────── */
.s-privacy-policy__block-body {
  font-size: 0.9rem;
  line-height: 2;
  color: #444;
}
.s-privacy-policy__block-body p {
  margin-bottom: 1.2em;
}

/* 番号付きリスト（1〜5） */
.s-privacy-policy__list {
  counter-reset: pp-list;
  margin-bottom: 2em;
}
.s-privacy-policy__list > li {
  counter-increment: pp-list;
  display: flex;
  flex-wrap: wrap;
  gap: 0 12px;
  margin-bottom: 1.2em;
  padding-left: 0;
  align-items: baseline;
}
.s-privacy-policy__list > li::before {
  content: counter(pp-list) ".";
  flex-shrink: 0;
  font-weight: 700;
  color: var(--color-primary);
  min-width: 20px;
  align-self: flex-start;
}
/* 数字 + list-head が1行目、p は折り返して2行目 */
.s-privacy-policy__list-head {
  font-weight: 700;
  flex: 1;
}
.s-privacy-policy__list > li p {
  flex-basis: 100%;
  margin: 4px 0 0 calc(20px + 12px); /* 数字幅 + gap 分インデント */
}

/* 制定日・代表者 */
.s-privacy-policy__signature {
  margin-top: 2em;
  padding: 16px 20px;
  border-left: 4px solid #dde8f5;
  font-size: 0.88rem;
  color: #555;
  line-height: 2;
}
.s-privacy-policy__signature p { margin: 0; }

/* お問合せ枠 */
.s-privacy-policy__contact-box {
  margin-top: 2em;
  padding: 20px 24px;
  background: var(--color-bg-light);
  border-left: 4px solid var(--color-primary);
  font-size: 0.88rem;
  color: #444;
  line-height: 2;
}
.s-privacy-policy__contact-box p { margin: 0 0 0.6em; }
.s-privacy-policy__contact-box p:last-child { margin-bottom: 0; }

/* 小見出し h3 */
.s-privacy-policy__sub-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 2em 0 0.6em;
  padding-left: 10px;
  border-left: 3px solid var(--color-primary);
}

/* 小見出し h4 */
.s-privacy-policy__sub-title-sm {
  font-size: 0.9rem;
  font-weight: 700;
  color: #333;
  margin: 1.4em 0 0.5em;
}

/* 定義リスト（dt/dd） */
.s-privacy-policy__dl {
  margin: 0 0 1.6em;
}
.s-privacy-policy__dl dt {
  font-weight: 700;
  color: #333;
  margin-top: 1em;
}
.s-privacy-policy__dl dd {
  margin-left: 1.5em;
  line-height: 2;
}
.s-privacy-policy__dl dd p {
  margin: 0.4em 0;
}

/* 丸数字リスト（①②③）*/
.s-privacy-policy__circle-list {
  counter-reset: circle-list;
  margin: 0.4em 0;
  padding-left: 0;
}
.s-privacy-policy__circle-list > li {
  counter-increment: circle-list;
  display: flex;
  gap: 8px;
  margin-bottom: 0.3em;
}
.s-privacy-policy__circle-list > li::before {
  content: counter(circle-list, cjk-earthly-branch);
  /* fallback: ①②... 風の表示は下記で対応 */
  content: "①";
  flex-shrink: 0;
  color: var(--color-primary);
  font-size: 0.85em;
}
.s-privacy-policy__circle-list > li:nth-child(1)::before { content: "①"; }
.s-privacy-policy__circle-list > li:nth-child(2)::before { content: "②"; }
.s-privacy-policy__circle-list > li:nth-child(3)::before { content: "③"; }
.s-privacy-policy__circle-list > li:nth-child(4)::before { content: "④"; }

@media (max-width: 768px) {
  .s-privacy-policy {
    padding: 50px 0;
  }
  .s-privacy-policy__block {
    padding: 40px 0;
  }
  .s-privacy-policy__block-title {
    font-size: 1.2rem;
  }
  .s-privacy-policy__sub-title {
    font-size: 0.95rem;
  }
}

/* Success message */
.c-form__success {
  margin-bottom: 1.5rem;
  padding: 1rem;
  background-color: #dcfce7;
  border: 1px solid #bbf7d0;
  color: #166534;
  border-radius: 0.375rem;
}

/* ============================================================
   Confirm page components
   ============================================================ */
.c-form__confirm-list {
  margin: 0 0 2rem;
}
.c-form__confirm-row {
  display: flex;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid #e5e7eb;
  gap: 16px;
}
.c-form__confirm-row:first-child {
  border-top: 1px solid #e5e7eb;
}
.c-form__confirm-label {
  flex: 0 0 140px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
}
.c-form__confirm-value {
  flex: 1;
  font-size: 0.9375rem;
  color: #111827;
  white-space: pre-wrap;
  word-break: break-word;
}
.c-form__confirm-tag {
  display: inline-block;
  background: #e0e7ff;
  color: var(--color-primary);
  font-size: 0.8rem;
  padding: 2px 10px;
  border-radius: 12px;
  margin: 2px 4px 2px 0;
}
.c-form__confirm-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.c-form__back-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  border: 2px solid #d1d5db;
  border-radius: 0.375rem;
  font-size: 1rem;
  font-weight: 600;
  color: #374151;
  background: #fff;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
}
.c-form__back-btn:hover {
  background: #f9fafb;
  border-color: #9ca3af;
}
.c-form__submit-form {
  flex: 1;
  min-width: 180px;
}
@media (max-width: 480px) {
  .c-form__confirm-label {
    flex: 0 0 100px;
  }
  .c-form__confirm-actions {
    flex-direction: column;
  }
  .c-form__back-btn,
  .c-form__submit-form {
    width: 100%;
  }
}

/* ============================================================
   News List Page  (s-news-page)
   ============================================================ */
.s-news-page {
  padding: 80px 0 100px;
  background: #fff;
}
.s-news-page__inner {
  max-width: 800px;
}
.s-news-page__item {
  border-bottom: 1px solid #e5e7eb;
}
.s-news-page__item:first-child {
  border-top: 1px solid #e5e7eb;
}
.s-news-page__link {
  display: grid;
  grid-template-columns: 90px 1fr;
  grid-template-rows: auto auto;
  column-gap: 20px;
  row-gap: 4px;
  padding: 20px 8px;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s;
}
.s-news-page__link:hover {
  background: #f8faff;
}
.s-news-page__date {
  grid-row: 1 / 3;
  align-self: center;
  font-size: 0.82rem;
  color: #888;
  white-space: nowrap;
}
.s-news-page__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1.5;
}
.s-news-page__link:hover .s-news-page__title {
  color: var(--color-accent);
  text-decoration: underline;
}
.s-news-page__excerpt {
  margin: 0;
  font-size: 0.85rem;
  color: #666;
  line-height: 1.6;
}
.s-news-page__empty {
  padding: 40px 0;
  text-align: center;
  color: #888;
}
.s-news-page__pagination {
  margin-top: 48px;
  display: flex;
  justify-content: center;
}

@media (max-width: 600px) {
  .s-news-page__link {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }
  .s-news-page__date {
    grid-row: auto;
  }
}

/* ============================================================
   News Show Page  (s-news-show)
   ============================================================ */
.s-news-show {
  padding: 80px 0 100px;
  background: #fff;
}
.s-news-show__inner {
  max-width: 800px;
}
.s-news-show__header {
  padding-bottom: 24px;
  border-bottom: 2px solid var(--color-primary);
  margin-bottom: 40px;
}
.s-news-show__date {
  display: block;
  font-size: 0.82rem;
  color: #888;
  margin-bottom: 10px;
}
.s-news-show__title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.6;
}
.s-news-show__body {
  font-size: 0.975rem;
  line-height: 2;
  color: #333;
}
.s-news-show__body p { margin: 0 0 1.4em; }
.s-news-show__body h2 { font-size: 1.2rem; font-weight: 700; margin: 2em 0 0.6em; color: var(--color-primary); }
.s-news-show__body h3 { font-size: 1.05rem; font-weight: 700; margin: 1.6em 0 0.5em; }
.s-news-show__body ul,
.s-news-show__body ol { padding-left: 1.5em; margin: 0 0 1.4em; }
.s-news-show__body li { margin-bottom: 0.4em; }
.s-news-show__body a { color: var(--color-primary); text-decoration: underline; }
.s-news-show__back {
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid #e5e7eb;
}
.s-news-show__back-link {
  font-size: 0.9rem;
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
}
.s-news-show__back-link:hover {
  text-decoration: underline;
}

/* ============================================================
   Form — Error list
   ============================================================ */
.c-form__errors {
  margin-bottom: 1.5rem;
  padding: 1rem 1rem 1rem 1.25rem;
  background-color: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 0.375rem;
  color: #991b1b;
}
.c-form__errors ul {
  list-style: disc;
  padding-left: 1.2em;
}
.c-form__errors li {
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
  line-height: 1.6;
}
.c-form__errors li:last-child {
  margin-bottom: 0;
}

/* ============================================================
   Confirm — data table  (.c-confirm__)
   ============================================================ */
.c-confirm__table {
  width: 100%;
  margin-bottom: 2rem;
  border-top: 1px solid #dde3ea;
}

.c-confirm__row {
  display: flex;
  align-items: flex-start;
  border-bottom: 1px solid #dde3ea;
}

.c-confirm__label {
  flex: 0 0 140px;
  padding: 16px 12px 16px 12px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
  background: #eef1f7;
  display: flex;
  align-items: flex-start;
}

.c-confirm__value {
  flex: 1;
  padding: 16px 12px 16px 24px;
  font-size: 0.9rem;
  color: #333;
  line-height: 1.8;
  word-break: break-word;
  white-space: pre-wrap;
}

@media (max-width: 600px) {
  .c-confirm__row { flex-direction: column; }
  .c-confirm__label { flex: none; width: 100%; padding: 10px 16px 4px; }
  .c-confirm__value { padding: 4px 16px 12px; }
}

/* ============================================================
   Confirm — action buttons row
   ============================================================ */
.c-form__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.c-form__actions form {
  flex: 1;
  min-width: 180px;
}

.c-form__back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  border: 2px solid #d1d5db;
  border-radius: 0.375rem;
  font-size: 1rem;
  font-weight: 600;
  color: #374151;
  background: #fff;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
  white-space: nowrap;
}

.c-form__back:hover {
  background: #f9fafb;
  border-color: #9ca3af;
}

@media (max-width: 480px) {
  .c-form__actions { flex-direction: column; }
  .c-form__back,
  .c-form__actions form { width: 100%; }
}

/* ============================================================
   Complete — thank you block
   ============================================================ */
.c-form__complete {
  text-align: center;
  padding: 48px 24px;
}

.c-form__complete-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.c-form__complete-text {
  font-size: 0.9rem;
  color: #555;
  line-height: 2;
  margin-bottom: 2rem;
}

/* ============================================================
   Common button  (.c-btn)
   ============================================================ */
.c-btn {
  display: inline-block;
  padding: 0.75rem 2.5rem;
  border-radius: 0.375rem;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: background 0.15s, transform 0.15s;
  cursor: pointer;
}

.c-btn--primary {
  background: var(--color-primary);
  color: #fff;
}

.c-btn--primary:hover {
  background: var(--color-accent);
  transform: translateY(-1px);
}

/* ========================================================
   404 Not Found
======================================================== */
.s-not-found {
  padding: 80px 0 100px;
  text-align: center;
}

.s-not-found__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.s-not-found__message {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-text);
}

.s-not-found__btn {
  display: inline-block;
  padding: 0.85rem 3rem;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0.375rem;
  transition: background 0.15s, transform 0.15s;
}

.s-not-found__btn:hover {
  background: var(--color-accent);
  transform: translateY(-1px);
}

/* ========================================================
   Visual Space
======================================================== */
.visual-space {
  background-image: url('/images/index/visual-space.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 65vh;
}

@media (max-width: 680px) {
  .visual-space {
    height: 55vh;
  }
}