@charset "UTF-8";
/* CSS Document */
:root{
  /* Layout tokens */
  --container: 1200px;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;
  /* Brand palette（必要に応じて置換） */
  --brand: linear-gradient(90deg, #FF914D 0%, #FFE066 100%);       /* メインカラー */
  --accent: #04003d;      /* 強調（見出しやアクティブ）*/
  --bg: #FFFFFF;          /* 背景 */
  --surface: #F7F9FF;     /* セクションの薄い背景 */
  --text: #16181C;        /* 本文 */
  --muted: #6B7280;       /* 補助テキスト */
  --line: #E5E7EB;        /* 罫線 */
  --hero-grad-1:#0B1020;
  --hero-grad-2:#16213e;
  --header-h:72px;
  /* Effects */
  --radius: 12px;
  --shadow-1: 0 2px 10px rgba(0,0,0,.06);
}

/* Reset / base */
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0; color:var(--text); background:var(--bg);
  font-family: system-ui, -apple-system, "Noto Sans JP", "Hiragino Sans", "Yu Gothic UI", sans-serif;
  line-height:1.7;
  font-size:clamp(15px, 1.1vw, 18px);
}
img{max-width:100%; height:auto; display:block}
a{color:inherit}

/* Typography */
 h1{font-size:clamp(28px, 4.5vw, 54px); line-height:1.15; margin:0 0 var(--s5)}
 h2{font-size:clamp(22px, 3.2vw, 36px); line-height:1.25; margin:0 0 var(--s4)}
 h3{font-size:clamp(18px, 2.2vw, 24px); line-height:1.35; margin:0 0 var(--s3)}
 p{margin:0 0 var(--s4)}
 .lead{color:var(--muted)}
 .kicker{font-weight:700; letter-spacing:.08em; color:var(--brand); text-transform:uppercase; font-size:.9em}

/* Layout utilities */
.container{max-width:var(--container); margin:auto; padding:0 var(--s5)}
.section{padding: clamp(48px, 8vw, 120px) 0}
.stack > * + *{margin-top:var(--s4)}
.center{text-align:center}

.grid{display:grid; gap:var(--s6)}
.grid-2{grid-template-columns:1fr}
.grid-3{grid-template-columns:1fr}
@media (min-width:768px){
  .grid-2{grid-template-columns:1fr 1fr}
  .grid-3{grid-template-columns:repeat(3,1fr)}
}

/* Components */
.card{
  padding:var(--s6);
}
.btn{
  display:inline-block; padding:12px 18px; border-radius:9999px; text-decoration:none;
  background:var(--brand); color:#fff; font-weight:700;
}
.btn:hover{opacity:.92}
.btn--ghost{background:transparent; color:var(--brand); border:1px solid var(--brand)}

/* Hero */
.hero{background:linear-gradient(180deg, var(--surface), #fff)}
.hero p{max-width:70ch; margin-left:auto; margin-right:auto}

.hero.section {
  position: relative;
  isolation: isolate;
  min-height: clamp(400px, 75vh, 720px);
  text-align: center;
  overflow: hidden;
}

/* まず背景ラッパーは全画面に広げる（現状どおり） */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at center,
rgba(18, 10, 127, 0.25) 0%,
rgba(6, 1, 64, 0.35) 100%
  );
}

.hero-inner {
  max-width: 960px;
  margin: 6em auto 0;
  padding: 60px 20px 0; /* ←上だけ余白を増やす */
}

@media (max-width: 767px) {
  /* ヒーロー全体の高さを少し低めに */
  .hero.section {
    min-height: clamp(320px, 55vh, 500px);
  }

  /* 背景画像の見せ方を調整 */
  .hero-bg img {
    object-fit: cover; /* contain → cover にして縦をカット */
  }

  /* 内側の余白もスマホ向けに調整（任意） */
  .hero-inner {
    margin: 3em auto 0;
    padding: 40px 16px 0;
  }
}

@media (max-width: 767px) {
  .hero-inner {
    margin-top: 6em;    /* ← 今よりさらに下げる */
    padding-top: 60px;  /* ← 上の余白を増やす */
  }
}

/* 見出し */
.hero h1 {
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-weight: 800;
  line-height: 1.3;
font-size: clamp(32px, 4.5vw, 56px);
  color: #FFF;
  text-shadow: 0 3px 12px rgba(0,0,0,.25);
}

/* 小さいテキスト */
.hero h1 .hero-sub {
display: inline-block;
font-size: clamp(26px, 3.8vw, 40px);
font-weight: 600;  /* 少し軽めにして差別化 */
opacity: 0.9;   
margin-bottom: 0.2em; 
}

.hero-buttons {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  gap: 16px;
  max-width: 480px;   /* ボタン全体の幅を制御 */
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons .btn {
  flex: 1;             /* 両方同じ幅に伸びる */
  text-align: center;  /* テキスト中央 */
  padding: 12px 0;     /* 横paddingをなくす */
  font-size: 16px;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.25s ease;
}

/* メインボタン */
.hero-buttons .btn-primary {
  background: #2A23A5;
  color: #FFF;
  border: 2px solid #2A23A5;
}

.hero-buttons .btn-primary:hover {
  background: #1F1977;
  border-color: #1F1977;
}

@media (max-width: 767px) {
  .hero-buttons {
    max-width: 360px;   /* ボタン全体の幅を少し狭める（任意） */
    gap: 12px;          /* ボタン間の隙間も少し狭くする */
  }

  .hero-buttons .btn {
    font-size: 14px;    /* 文字サイズを小さく */
    padding: 10px 0;    /* 高さも一回り小さく */
    border-radius: 6px; /* 角丸も控えめに */
  }
}

/* サブボタン */
.hero-buttons .btn-outline {
  background: transparent;
  color: #FFF;
  border: 2px solid #FFF;
}

.hero-buttons .btn-outline:hover {
  background: rgba(255,255,255,0.1);
}
.hero-buttons .btn-primary {
  background:linear-gradient(90deg, #FF914D 0%, #FFE066 100%); /* 黄色グラデ */
  color: #1F1977;         /* 紺色文字 */
  border: none;
  font-weight: 700;
}

.hero-buttons .btn-primary:hover {
  background: linear-gradient(135deg, #FFC107 0%, #FFA000 100%); /* 濃いめの黄色へ */
  color: #120E4A; /* hover時はさらに濃い紺に */
}

.sp-only {
  display: none;
}
@media (max-width: 767px) {
  .sp-only {
    display: inline;
  }
}

#vision.section.alt {
  background: radial-gradient(
    circle at center,
    #120a7f 0%,   /* 中央は明るいブルー */
    #060140 100%  /* 外側に行くほど暗め */
  );
  color: #FFF; /* セクション内テキストを白に */
  padding: 80px 20px; /* セクション上下の余白調整 */
}

#vision h2 {
  color: #FFF;         /* 見出しも白に */
  margin-bottom: 24px; /* 見出しと本文の余白 */
  font-weight: 700;
}

#vision p {
  color: #FFF;         /* 段落も白に */
  margin-bottom: 16px; /* 段落間の余白 */
  line-height: 1.7;
}

#vision .container {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 20px;
}

#vision p {
  line-height: 2;
  margin-bottom: 1.2em;
}

#why.section {
  background: #F5F5F5; /* 幅100%で背景色 */
}

/* カード本体 */
.book-card {
display: grid;
grid-template-columns: 120px 1fr;  /* 左：表紙 / 右：本文 */
gap: 16px;
padding: 16px;
border-radius: 14px;
background: #fff !important; 
box-shadow: 0 2px 5px rgba(0,0,0,.08);
align-items: center;
}

/* 表紙サムネイル */
.book-thumb {
  display: block;
  border-radius: 10px;
  background: #f2f2f2;         /* 画像未読み込み時の下地 */
  aspect-ratio: 2/3;           /* 書籍らしい縦長比率 */
}
.book-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .25s ease;
}
.book-thumb:hover img {
  transform: scale(1.03);
}

/* テキスト側 */
.book-body {
  display: grid;
  gap: 8px;
}
.book-title {
  font-size: clamp(16px, 2.2vw, 20px);
  line-height: 1.4;
  margin: 0;
  color: #000;
}
.book-meta {
  margin: 0;
  font-size: 13px;
  color: #000;
}

/* ボタン */
.btn-buy {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 10px;
  background: linear-gradient(135deg, #FFD84D 0%, #FFC107 100%); /* 黄色グラデ */
  color: #1F1977;                /* 紺文字 */
  font-weight: 700;
  text-decoration: none;
  transition: transform .12s ease, box-shadow .12s ease, background .2s ease;
  box-shadow: 0 4px 14px rgba(0,0,0,.12);
}
.btn-buy:hover {
  background: linear-gradient(135deg, #FFC107 0%, #FFA000 100%);
  transform: translateY(-1px);
}
.btn-buy:active {
  transform: translateY(0);
}

/* スマホ時（縦並び＆中央寄せ） */
@media (max-width: 720px) {
  .book-card {
    grid-template-columns: 1fr;   /* 横並び→縦積み */
    text-align: center;           /* 文字中央寄せ */
    justify-items: center;        /* グリッド要素を中央に */
  }

  .book-thumb {
    max-width: 200px;             /* 表紙が大きくなりすぎないよう制限 */
    margin-bottom: 12px;
  }

  .book-body {
    display: grid;
    gap: 8px;
    justify-items: center;        /* タイトル・メタ・ボタンも中央 */
  }

  .book-actions {
    width: 100%;                  /* ボタンを幅いっぱいにしたい場合 */
    max-width: 240px;             /* 最大幅を制御すると綺麗 */
  }

  .btn-buy {
    display: block;
    width: 100%;
    text-align: center;
  }
}

/* セクション全体：暗めグラデ＋余白 */
#philosophy.section.alt{
  background: radial-gradient(circle at center, #120a7f 0%, #060140 100%);
  color:#FFF;
  padding: 80px 0;
}

/* 中身の横幅制御 */
#philosophy .container{
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

/* セクション見出し */
#philosophy h2.center{
  font-weight: 800;
  letter-spacing: .02em;
  margin-bottom: 24px;
}

/* 2カラムの中身を “カード” に */
#philosophy .grid.grid-2{
  gap: 20px;
}
#philosophy .grid.grid-2 > .stack{
  padding: 24px;
  border-radius: 16px;
  background: rgba(255,255,255,0.06);            /* ほんのり白をのせる */
  border: 1px solid rgba(255,255,255,0.14);      /* 薄い輪郭 */
  box-shadow: 0 10px 28px rgba(0,0,0,.18);       /* 控えめな影 */
  backdrop-filter: saturate(120%) blur(6px);     /* ガラス感（対応ブラウザ） */
}

/* カード内見出し */
#philosophy h3{
  font-weight: 800;
  margin: 4px 0 12px;
}

#philosophy h3 {
  font-weight: 800;
  margin: 24px 0 12px; /* ← 上に余白を追加（デフォ20〜24pxがおすすめ） */
}

#philosophy h3:first-of-type {
  margin-top: 0; /* ミッションは上に詰める */
}

/* ミッションの英語行を少し強調 */
#philosophy p{
  line-height: 1.8;
  margin: 0 0 12px;
}
#philosophy p br + span{}

#philosophy p:first-of-type{
  font-size: clamp(16px,2.2vw,18px);
}

/* ビジョン（ul）はチェック風の飾り */
#philosophy ul{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
#philosophy ul li {
  position: relative;
  padding-left: 28px;
}
#philosophy ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.1em;
  font-size: 18px;
  font-weight: 600;
  color: #FFD84D; /* 黄色でブランド感 */
}

/* バリュー（ol）はナンバーラベル */
#philosophy ol{
  list-style: none;
  counter-reset: val;
  margin: 0; padding: 0;
  display: grid; gap: 10px;
}
#philosophy ol li{
  counter-increment: val;
  position: relative;
  padding-left: 40px;
  line-height: 1.8;
}
#philosophy ol li::before{
  content: counter(val);
  position: absolute; left: 0; top: .1em;
  width: 28px; height: 28px; border-radius: 999px;
  display: grid; place-items: center;
  font-weight: 800;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.28);
  color: #FFF;
}

/* レスポンシブ：スマホは1カラム＋余白調整 */
@media (max-width: 768px){
  #philosophy .grid.grid-2{ grid-template-columns: 1fr; }
  #philosophy .grid.grid-2 > .stack{ padding: 20px; }
  #philosophy h2.center{ margin-bottom: 16px; }
}


/* Section variants */
.alt{background:#fafbff}
.divider{border-top:1px solid var(--line)}

/* Lists */
.list{list-style:none; margin:0; padding:0}
.list li{display:flex; gap:12px; align-items:flex-start}
.list li + li{margin-top:var(--s3)}

/* Jobs / definition-like blocks */
.job{
  border:1px solid var(--line); border-radius:12px; padding:var(--s6);
}
.job h3{margin-top:0}

#jobs h2,
#jobs h3 {
  color: #000;
  font-weight: 700;
}

#jobs p {
  color: #000;
  line-height: 1.8;       /* 読みやすい行間 */
  margin-bottom: 1.2em;   /* 段落間の余白 */
}

/* セクション全体（背景は白のまま） */
#jobs.section{
  background:#FFF;
  padding: 80px 0;
}

/* 見出しまわり */
#jobs h2.center{
  font-weight: 800;
  letter-spacing:.02em;
  margin-bottom: 20px;
}

/* リード文（最初の2段） */
#jobs .stack.center p{
  max-width: 72ch;
  margin-inline: auto;
  color:#4b5563;       /* 少しだけ薄く */
  line-height:1.9;
}

/* 職種ブロック：h3 と、その直後の p をカード化 */
#jobs h3{
  font-weight: 800;
  margin: 28px 0 10px;
  position: relative;
  padding-left: 14px;
}
#jobs h3::before{
  content:"";
  position:absolute; left:0; top:.25em;
  width:6px; height:1.2em; border-radius:3px;
  background: linear-gradient(135deg,#FFD84D 0%, #FFC107 100%); /* 細いアクセントバー */
}

/* 直後の本文をカードに */
#jobs h3 + p{
  background:#f7f7f9;                 /* ごく薄いグレー */
  border:1px solid #edeef2;
  border-radius:16px;
  padding:18px 20px;
  line-height:1.9;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);  /* 控えめな影 */
}

/* カードの中の見出し風ラベル（「■求められる能力」など）を少し強調 */
#jobs h3 + p { white-space: pre-wrap; }    /* <br> を維持しつつ折り返し綺麗に */
#jobs h3 + p br + br { line-height: 1; }   /* 空行の詰まりを微調整 */
#jobs h3 + p { font-size: 15.5px; }
#jobs h3 + p::first-line{ font-weight: 600; }

/* 箇条書き風の行頭「■」を読みやすく（任意） */
#jobs h3 + p {
  --bullet:#9aa3b2;
}
#jobs h3 + p { 
  /* 単純に「■」が入る行の視認性を上げる（色は変えず余白で調整） */
}
#jobs h3 + p em{ font-style:normal; font-weight:700; }

/* 募集対象カードも同じ見た目に */
#jobs h3 + p + h3 + p{} /* そのままでもOK */

/* 余白の整え */
#jobs .stack > h3:last-of-type{ margin-top: 32px; }
#jobs .stack > p:last-of-type{ margin-bottom: 0; }

/* スマホ調整 */
@media (max-width: 768px){
  #jobs .container{ padding-inline: 20px; }
  #jobs h3{ margin: 24px 0 8px; }
  #jobs h3 + p{ padding:16px; }
}

#requirements.section.alt{
  background:#F5F5F5;
  padding:80px 0;
}

#requirements .container{
  max-width: 900px;          /* お好みで 800〜1080px */
  margin: 0 auto;
  padding: 0 20px;
}

/* 1つの大きなボックス（カード） */
#requirements .req-card{
  background:#fff;
  border:1px solid #E5E7EB;
  border-radius:16px;
  padding:24px 24px;
  box-shadow:0 2px 6px rgba(0,0,0,.05);
}

#requirements .req-card{
  position: relative; /* 疑似要素を置くため */
  background:#fff;
  border:1px solid #E5E7EB;
  border-radius:12px;
  padding:24px 28px;
  box-shadow:0 4px 10px rgba(0,0,0,.05);
}

/* 上ラインをグラデーションに */
#requirements .req-card::before{
  content:"";
  position:absolute;
  top:0; left:0;
  width:100%; height:6px;         /* 上ラインの太さ */
  border-radius:12px 12px 0 0;    /* カード角丸に合わせる */
  background:linear-gradient(90deg, #50CABC, #3BA9E5);
}


/* 中身は1列に統一 */
#requirements .req-card .grid.grid-2{
  display:grid;
  grid-template-columns:1fr; /* ← 1列化 */
  gap:0;
}

/* 見出し（小さめ＆細め）＋黄色バー：上寄せ微調整済み */
#requirements h3{
  position:relative;
  font-weight:600;
  font-size:15px;
  color:#374151;
  margin:16px 0 6px;
  padding-left:18px;
  line-height:1.35;
  letter-spacing:.5px;
}
#requirements h3::before{
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%); /* 縦位置を文字中央に揃える */
  width: 10px;                 /* 四角の幅 */
  height: 10px;                /* 四角の高さ */
  border-radius: 2px;          /* 少し角丸にすると柔らかい印象 */
  background: #50CABC; 
}

/* テキスト＆リスト */
#requirements p,
#requirements li{
  line-height:1.85;
  color:#374151;
  margin:0;
}
#requirements ul{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:6px;
}
#requirements ul li{
  position:relative;
  padding-left:22px;
}
#requirements ul li::before{
  content:"";
  position:absolute; left:4px; top:9px;
  width:6px; height:12px;
  border-right:2px solid #50cabc;
  border-bottom:2px solid #50cabc;
  transform:rotate(45deg);
  opacity:.9;
}

.flow-v2{
  --bg: #E9FBFE;
  --card-bg: #fff;
  --card-bd: #E5E7EB;
  --title: #111827;
  --text: #374151;
}

.flow-v2{ background:var(--bg); padding:64px 0; }
.flow-v2 .container{ max-width: 860px; margin:0 auto; padding:0 20px; }
.flow-v2 h2.center{ margin-bottom: 20px; font-weight: 800; }

/* タイムライン：単なるリストに */
.tl{ list-style:none; margin:0; padding:0; display:grid; gap:20px; }
.tl-item{ }

/* カード */
.tl-card{
  background: var(--card-bg);
  border: 1px solid var(--card-bd);
  border-radius: 14px;
  padding: 20px 22px;
  box-shadow: 0 2px 4px rgba(0,0,0,.05);
}
.tl-title{
  margin: 0 0 8px;
  font: 700 16px/1.4 ui-sans-serif, system-ui, -apple-system, "Noto Sans JP", sans-serif;
  color: var(--title);
}
.tl-card p{
  margin:0;
  color: var(--text);
  line-height: 1.8;
  font-size: 15px;
}
.tl-link{ color:#0284c7; text-decoration:underline; }

/* 矢印 */
.tl-arrow{
  margin: 14px auto 0px;
  width: 0; 
  height: 0; 
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-top: 14px solid #94a3b8; /* グレー矢印 */
  opacity: .8;
}

/* スマホ */
@media (max-width: 640px){
  .tl-card{ padding:16px 18px; }
  .tl-title{ font-size:15px; }
}

/* セクション土台（背景は白想定） */
#message.section {
  background: #FFF;
  padding: 80px 0;
}
#message .message-wrap {
gap:10px;            
align-items: start;
grid-template-columns: 3fr 2fr;
}
#message .message-text {
  max-width: none;
}

#message .message-photo {
  max-width: 100%;         /* gridの2fr分いっぱい使う */
}

/* 本文 */
#message .message-text p {
  color: #374151;
  line-height: 1.9;
  margin: 0 0 12px;
}
#message .message-text .lead {
  font-size: clamp(16px, 2.2vw, 18px);
}
#message .signature {
  margin-top: 10px;
  color: #000;
  font-size: 18px;
  text-align: right; /* 署名は右寄せで締める */
}

/* 写真カード */
#message .message-photo {
  padding: 10px;
  max-width: 60%; 
  justify-self: center;
}
#message .message-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

  #message .message-photo img {
    border-radius: 12px; /* ついでに角丸を効かせると軽く見える */
  }

@media (max-width: 768px){
  #message .message-wrap { grid-template-columns: 1fr; }

  /* 写真サイズを制御 */
  #message .message-photo { 
    max-width: 240px;   /* ← 今は420px → 240pxに縮小 */
    margin: 0 auto 16px; 
  }

  #message .message-photo img {
    border-radius: 12px; /* ついでに角丸を効かせると軽く見える */
  }

  #message h2 { margin-bottom: 10px; }
  #message .signature { text-align: left; }
}