/* =========================================================
   実践型AI学習スクール — メインビジュアル
   モバイルファースト（SPデフォルト → min-width でPCを上書き）
   ---------------------------------------------------------
   ブレークポイント
     base            : スマホ（〜599px を想定した初期値）
     min-width:600px : タブレット
     min-width:861px : PC（旧 max-width:860px の境界を反転）
   ---------------------------------------------------------
   フォントサイズは rem 指定（ユーザーのブラウザ文字サイズ設定を尊重）。
   基準は 1rem = 16px。clamp() 内の vw はそのまま維持。
   ========================================================= */

:root{
  --ink:        #1a2430;   /* 見出しの濃色 */
  --accent:     #009BBA;   /* シアン系アクセント（40代・強調語） */
  --accent-deep:#0e8394;   /* CTA濃いめ */
  --body-text:  #3a4553;   /* 本文グレー */
  --bg-left-a:  #eaf4fb;   /* 左パネル 上グラデ */
  --bg-left-b:  #d7ecfa;   /* 左パネル 下グラデ */
  --photo-bg:   #ece7e0;   /* 写真プレースホルダの背景 */
  --navy:       #34597f;   /* お悩みセクションの濃紺背景 */
  --font-family-base: 'Minion Variable Concept', 'Noto Sans JP', sans-serif;
}

*{ box-sizing:border-box; margin:0; padding:0; }

html{ -webkit-text-size-adjust:100%;
	scroll-behavior: smooth;}

body{
  font-family:var(--font-family-base);
  color:var(--ink);
  background:#fff;
  line-height:1.6;
}

img{ max-width:100%; height:auto; display:block; }


/* =========================================================
   HERO ─ ベース（＝スマホ）
   1カラム縦積み：テキスト → 写真2枚
   ========================================================= */
.hero{
  display:flex;
  flex-direction:column;
  background:linear-gradient(160deg,var(--bg-left-a) 0%,var(--bg-left-b) 100%);
}

/* --- 左：テキスト側 --- */
.hero__left{
  position:relative;
  padding:70px 4% 30px;   /* 上部はロゴぶんの余白を確保 */
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.logo{
  position:absolute;
  top:0; left:0;
  background:#fff;
  padding:14px 22px 15px;
  border-bottom-right-radius:14px;
}
.logo img{ height:24px; width:auto; }

.hero__inner{ max-width:620px; }

.headline{
  font-size:clamp(1.875rem,7.5vw,2.5rem);   /* 30–40px */
  font-weight:800;
  line-height:1.3;
  letter-spacing:.01em;
  margin-bottom:15px;
}
.headline .em{ color:var(--accent); }

.lead{
  color:var(--body-text);
  font-size:0.9rem;
  line-height:1.6;
  font-weight:500;
}
.lead .quote{ color:var(--ink); font-weight:700; }
.lead__note{ margin-top:14px; font-weight:600; }

/* --- CTA --- */
.cta-wrap{
  margin-top:34px;
  position:relative;
  display:block;
  text-align:center;
}
.cta-badge{
  position:absolute;
  top:-15px; left:50%;
  transform:translateX(-50%);
  background:#fff;
  color:var(--ink);
  font-size:0.8125rem;  /* 13px */
  font-weight:700;
  padding:5px 20px;
  border-radius:999px;
  white-space:nowrap;
  box-shadow:0 2px 8px rgba(20,60,90,.12);
  z-index:2;
}
.cta-badge .num{ color:var(--accent-deep); }

.cta{
  display:block;
  background:var(--accent-deep);
  color:#fff;
  font-size:clamp(0.9375rem,4.4vw,1.125rem); /* 15–18px */
  font-weight:800;
  letter-spacing:.01em;
  white-space:nowrap;
  text-decoration:none;
  padding:22px 24px;
  border-radius:999px;
  box-shadow:0 10px 24px rgba(14,131,148,.30);
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.cta:hover{
  background:#0b7381;
  transform:translateY(-2px);
  box-shadow:0 14px 30px rgba(14,131,148,.38);
}
.cta:focus-visible{ outline:3px solid #fff; outline-offset:3px; }

/* --- 右：写真側（スマホでも横並び2枚。高さを抑えて横長に） --- */
.hero__right{
  display:grid;
  grid-template-columns:1fr 1fr;
  grid-template-rows:1fr;
  height:150px;              /* SP：低めにして各写真を横長に */
}
.photo{
  position:relative;
  background:var(--photo-bg);
  overflow:hidden;
}
.photo img{
  width:100%; height:100%;
  object-fit:cover;
}
.photo__ph{
  position:absolute; inset:0;
  display:flex; align-items:center; justify-content:center;
  flex-direction:column; gap:6px;
  color:#9a938a;
  font-size:0.875rem;                        /* 14px */
  text-align:center;
  padding:20px;
}
.photo__ph svg{ width:44px; height:44px; opacity:.5; }
.photo:nth-child(1){ background:#ece7e0; }
.photo:nth-child(2){ background:#e6e2dc; }


/* =========================================================
   ロゴセクション ─ ベース（＝スマホ）
   ========================================================= */
.logo-section{ padding:20px 0 30px; background:#fff; overflow:hidden; }
.container{ width:90%; max-width:1200px; margin:0 auto; }

.logo-title-simple{
  text-align:center;
  font-size:clamp(0.8rem, 0.7rem + 0.73vw, 1.3rem);
  font-weight:700;
  line-height:1.6;
  color:var(--ink);
  margin-bottom:18px;
}

.top-corplogo-track,
.top-corplogo-track-r{
  display:flex;
  width:100%;
  overflow:hidden;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent);
          mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent);
}
.top-corplogo-track-r{ margin-top:16px; }

.top-corplogo-list{
  list-style:none;
  margin:0; padding:0;
  flex:0 0 auto;
  display:flex;
  align-items:center;
  animation:corp-scroll-left 40s linear infinite;
}
.top-corplogo-track-r .top-corplogo-list{
  animation-name:corp-scroll-right;
}

.top-corplogo-list li{
  flex:0 0 auto;
  width:120px;
  padding:0 14px;
}
.top-corplogo-list img{
  width:100%;
  height:auto;
  object-fit:contain;
}

@keyframes corp-scroll-left{
  from{ transform:translateX(0); }
  to  { transform:translateX(-100%); }
}
@keyframes corp-scroll-right{
  from{ transform:translateX(-100%); }
  to  { transform:translateX(0); }
}

@media (prefers-reduced-motion:reduce){
  .top-corplogo-list{ animation:none; }
}

.sp-only{ display:block; }
.top-corplogo-track-r.sp-only{ display:flex; }
.top-corplogo-list.sp-only{ display:flex; }


/* =========================================================
   お悩みセクション ─ ベース（＝スマホ）
   ========================================================= */
.worries{
  position:relative;
  background:var(--navy);
  padding:44px 0;
  overflow:visible;              /* ▼がはみ出せるように */
}
.worries__inner{
  width:90%;
  max-width:1200px;
  margin:0 auto;
}

.worries__eyebrow{
  text-align:center;
  color:#fff;
  font-size:0.8125rem;
  font-weight:600;
  margin-bottom:6px;
  opacity:.92;
}
.worries__title{
  text-align:center;
  color:#fff;
  font-size:clamp(1.125rem,4.6vw,1.75rem);
  font-weight:800;
  line-height:1.5;
  margin-bottom:28px;
}

.worries__grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:14px;
}

.worry-card{
  position:relative;
  background:#fff;
  border-radius:12px;
  padding:22px 16px;
  box-shadow:0 6px 16px rgba(10,30,60,.14);
  display:flex;
  align-items:center;
}
.worry-card__text{
  color:var(--ink);
  font-size:clamp(0.9375rem,3.6vw,1.0625rem);
  font-weight:700;
  line-height:1.55;
}
.worry-card__text .em{ color:var(--accent); }

/* 次セクションへ繋ぐ▼
   濃紺セクションの下辺から白いセクションに向かって突き出す。
   絶対配置で下へはみ出させることで、白背景の上に濃紺の三角が見える。 */
.worries__arrow{
  position:absolute;
  left:50%;
  bottom:0;
  transform:translate(-50%,100%);   /* 下辺から下へ100%ぶん出す */
  width:0; height:0;
  border-left:44px solid transparent;
  border-right:44px solid transparent;
  border-top:26px solid var(--navy);
  z-index:2;
}


/* =========================================================
   解決（活用事例）セクション ─ ベース（＝スマホ）
   ========================================================= */
.solution{
  background:#fff;
  padding:36px 0 44px;
}
.solution__inner{
  width:90%;
  max-width:1200px;
  margin:0 auto 24px;
}
.solution__eyebrow{
  text-align:center;
  color:var(--body-text);
  font-size:0.8125rem;
  font-weight:600;
  margin-bottom:6px;
}
.solution__title{
  text-align:center;
  color:var(--ink);
  font-size:clamp(1.25rem,4.8vw,1.875rem);
  font-weight:800;
  line-height:1.5;
}
.solution__title .em{ color:var(--accent); }

.cases{
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
  scroll-snap-type:x mandatory;
  padding:4px 5% 12px;
}
.cases__track{
  display:flex;
  gap:14px;
  width:max-content;
}

.case-card{
  scroll-snap-align:center;
  flex:0 0 auto;
  width:76vw;
  max-width:320px;
  border-radius:12px;
  overflow:hidden;
  box-shadow: 0 3px 5px rgba(10,30,60,.1);
}
.case-card img{
  width:100%;
  height:auto;
  display:block;
}

/* =========================================================
   成果物例セクション ─ ベース（＝スマホ）
   ========================================================= */
.deliverables{
  background:#fff;
  padding:0 0 44px;
}
.deliverables__inner{
  width:90%;
  max-width:1200px;
  margin:0 auto;
}

.deliverables__title{
	width: fit-content; 
	margin: 0 auto 25px;
  	color: var(--ink);
  	font-size: clamp(1.25rem,4.8vw,1.875rem);
  	font-weight: 800;
  	line-height: 1.5;
  	border-bottom: var(--accent) 2px solid;
	padding-bottom: 8px;
}
.deliverables__title span{
  color: var(--accent);
}
.deliverables__headline{
  text-align: center;
  color: var(--body-text);
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 15px;
}
.deliverables__tag{
	display: flex;
	gap: 5%;
	justify-content: center;
	text-decoration: none;
	list-style: none;
	color: var(--ink);
	font-size: 1rem;
	font-weight: 700;
	margin-bottom: 25px;
}

.deliverables__tag a:visited {
  color: var(--ink);
}
.deliverables__tag li{
	display: flex;
	align-items: center;
	gap: 4px;
}
.deliverables__tag li a{
	color: var(--ink);
	text-decoration: none;
}
.deliverables__tag li a:hover{
	opacity: 0.6; 
  	transition: opacity 0.3s ease;
}
.deliverables__tag li::before{
	content: "";
	display: inline-block;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: radial-gradient(circle, var(--accent) 0%, var(--accent) 38%, #d5f0f6 38%, #d5f0f6 100%);
	flex-shrink: 0;
	transform: translateY(1px);
}

.deliverable-card-container{
	display: grid;
	gap: 10px;
}
.deliverable-card {
  background-color: #eaf5fb; 
  border: 1px solid #d8eaf5;
  border-radius: 12px; 
  padding: 20px 15px;
  max-width: 480px;
  margin: 0 auto;
}
.deliverable-card__body{
	padding: 10px 15px 0; 
}


.deliverable-card__header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}
.deliverable-card__badge {
  background-color: var(--accent); 
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
  line-height: 1.4;
}
.deliverable-card__sub {
  color: var(--accent);
  font-size: 0.9375rem;
  font-weight: 700;
}
.deliverable-card__title {
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.35;
  margin-bottom: 16px;
}
.deliverable-card__list {
  list-style: none;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px; 
}
.deliverable-card__list li {
  position: relative;
  padding-left: 1.2em;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
	font-feature-settings: "palt";
  text-spacing-trim: trim-start;
}
.deliverable-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 1em;
  height: 1em;
  background-image: url("../images/check_accent.svg"); /* 既存のチェックアイコン画像 */
  background-size: contain;
  background-repeat: no-repeat;
}
.deliverable-card__text {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--body-text);
  margin-bottom: 20px;
  text-align: justify;
		font-feature-settings: "palt";
  text-spacing-trim: trim-start;
}
.deliverable-card__rel {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 10px;
}
.deliverable-card__rel-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--accent);
	line-height: 1;
	margin-bottom: 10px;
}
.deliverable-card__rel-tag {
  display: inline-block;
  background-color: #fff;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 0.725rem;
  font-weight: 400;
  padding: 3px 10px 5px;
  border-radius: 100vmax;
  text-decoration: none;
  transition: opacity 0.2s;
}
/*
.deliverable-card__rel-tag:hover {
  opacity: 0.5;
}
.deliverable-card__rel-tag:visited {
  color: var(--accent);
}
*/
.deliverable-card__image {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: auto;
	background-color: #fff;
}
.deliverable-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* =========================================================
   成果物例セクション ─ ベース（＝スマホ）
   ========================================================= */
.counseling {
  background-color: var(--accent); 
  color: #fff;
  padding: 40px 0;
}

.counseling__inner {
  width: 90%;
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.counseling__label {
  display: inline-block;
  background-color: #b58900;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 8px 20px;
  border-radius: 6px;
  margin-bottom: 15px;
}

.counseling__title {
  font-size: clamp(1.25rem, 4.8vw, 1.875rem);
  font-weight: 800;
  line-height: 1.45;
  margin-bottom: 15px;
}

.counseling__text {
  font-size: 0.875rem;
  line-height: 1.85;
  margin-bottom: 30px;
  text-align: justify;
  font-feature-settings: "palt";
  text-spacing-trim: trim-start;
}
.counseling__image {
  max-width: 520px;
  margin: 0 auto 36px;
}
.counseling__image img {
  width: 100%;
  height: auto;
  display: block;
}

/* --- CTAボタンの配色上書き --- */
.counseling__cta {
  margin-top: 30px;
}
.counseling__cta-badge {
  background-color: #3b5c7e; /* 紺色バッジ */
  color: #fff;
}
.counseling__cta-badge .num {
  color: #fff;
}
.counseling__cta-btn {
  background-color: #fff; /* 白ボタン */
  color: var(--ink);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}
.counseling__cta-btn .em {
  color: var(--accent);
  font-weight: 800;
}
.counseling__cta-btn:hover {
  background-color: #f7fcff;
}










/* =========================================================
   選ばれる理由セクション ─ ベース（＝スマホ）
   薄い水色背景／理由3点＋講師カード横スクロール（自動無限ループ）
   ========================================================= */
.reasons{
  background:#eaf5fb;
  padding-bottom:44px;
}

/* 見出し（上下に細いシアンのライン） */
.reasons__head{
  background:#fff;
  border-top:2px solid var(--accent);
  border-bottom:1px solid var(--accent);
  padding:22px 5%;
  margin-bottom:32px;
}
.reasons__title{
  text-align:center;
  color:var(--ink);
  font-size:clamp(1.125rem,4.6vw,1.75rem);
  font-weight:800;
  line-height:1.4;
}
.reasons__title .em{ color:var(--accent); }

.reasons__inner{
  width:90%;
  max-width:1200px;
  margin:0 auto 28px;
}

/* 理由ブロック（番号＋本文）
   --reason-indent : 番号の幅＋gap。講師カルーセルを全幅に引き出す量。 */
.reason{
  --reason-indent: calc(60px + 14px);   /* SP：番号幅60px + gap14px */
  display:flex;
  gap:14px;
  align-items:flex-start;
  padding:18px 0;
}
.reason + .reason{ border-top:1px solid #d5e6f0; }
.reason__num{
  flex:0 0 auto;
  width:60px;               /* 固定幅にして引き出し量を確定させる（SP） */
  color:var(--accent);
  font-size:clamp(2.75rem,12vw,3.5rem);
  font-weight:800;
  line-height:1;
  text-align:center;
}
.reason__body{
  flex:1 1 auto;
  min-width:0;           /* 中の講師カルーセルが親幅で overflow スクロールできるように */
}
.reason__lead{
  font-size:clamp(1.0625rem,4.4vw,1.375rem);
  font-weight:800;
  line-height:1.4;
  margin-bottom:8px;
}
.reason__lead .em{ color:var(--accent); }
.reason__text{
  font-size:0.875rem;
  line-height:1.8;
  color:var(--body-text);
}

/* --- 講師カード：横スクロール（solutionと同じ仕様。手動・端で止まる） --- */
.teachers{
  margin-top:24px;            /* 理由1の説明文との間隔 */
  /* 番号ぶんのインデントを打ち消して、左端を番号「1」に揃えて全幅で流す */
  margin-left:calc(-1 * var(--reason-indent, 0px));
  width:calc(100% + var(--reason-indent, 0px));
  max-width:none;
  min-width:0;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
  scroll-snap-type:x mandatory;
  padding:4px 0 20px;
}
/* マウスでドラッグできることを示すカーソル */
.teachers[data-drag-scroll]{ cursor:grab; }
.teachers[data-drag-scroll].is-dragging{
  cursor:grabbing;
  scroll-snap-type:none;      /* ドラッグ中はスナップを切って自由に動かす */
  scroll-behavior:auto;
  user-select:none;           /* ドラッグ中の文字選択を防ぐ */
}
.teachers__track{
  display:flex;
  gap:14px;
  width:max-content;
}

.teacher-card{
  scroll-snap-align:start;    /* 左端で揃える（1枚目が見切れないように） */
  flex:0 0 auto;
  width:80vw;                 /* SP：1名＋次が少し覗く */
  max-width:320px;
  background:#fff;
  border-radius:10px;
  padding:24px 20px 22px;
  box-shadow:0 4px 14px rgba(10,30,60,.08);
}
.teacher-card__photo{
  width:120px; height:120px;
  border-radius:50%;
  background:#d8dce0;         /* 写真プレースホルダ（実写真に差し替え） */
  margin:0 auto 16px;
  overflow:hidden;
}
.teacher-card__photo img{
  width:100%; height:100%;
  object-fit:cover;
}
.teacher-card__role{
  font-size:0.9375rem;
  font-weight:700;
  line-height:1.5;
  margin-bottom:10px;
}
.teacher-card__name{ font-size:1.0625rem; }
.teacher-card__bio{
  font-size:0.8125rem;
  line-height:1.7;
  color:var(--body-text);
}

/* --- 理由2・3：画像＋キャプションのステップ ---
   SP  ：各ステップ＝画像(左)＋テキスト(右) を縦に3つ積む
   PC  ：各ステップ＝画像(上)＋テキスト(下) を横に3つ並べる
   SP・タブレットも講師カルーセルと同様、番号ぶん左に引き出して
   左端を番号に揃える。                                        */
.steps{
  margin-top:20px;
  margin-left:calc(-1 * var(--reason-indent, 0px));   /* 番号の左端に揃える */
  width:calc(100% + var(--reason-indent, 0px));
  display:flex;
  flex-direction:column;     /* SP：縦積み */
  gap:18px;
}
.step{
  display:flex;              /* SP：画像左・テキスト右 */
  align-items:center;
  gap:14px;
}
.step__media{
  flex:0 0 40%;             /* SP：左に画像 */
  border-radius:8px;
  overflow:hidden;
}
.step__media img{
  width:100%;
  height:auto;              /* 画像本来の縦横比を保つ（切り抜かない） */
  display:block;
}
/* 画像未配置のプレースホルダ（実画像を入れると img が高さを決める） */
.step__media:empty{
  aspect-ratio:4 / 3;
  background:#c8d3dc;
}
.step__body{ flex:1 1 auto; min-width:0; }
.step__title{
  color:var(--accent);
  font-size:1rem;
  font-weight:800;
  margin-bottom:6px;
}
.step__text{
  font-size:0.8125rem;
  line-height:1.7;
  color:var(--body-text);
}


/* =========================================================
   講座紹介セクション ─ ベース（＝スマホ）
   カードは丸ごと画像。SP：横1列スクロール／PC・タブレット：2カラム
   ========================================================= */
.courses, .faq-section{
  background:#fff;
  padding:44px 0;
}
.courses__inner{
  width:100%;
  max-width:1000px;
  margin:0 auto;
}
.courses__title, .faq-title{
  text-align:center;
  color:var(--ink);
  font-size:clamp(1.25rem,4.8vw,1.875rem);
  font-weight:800;
  line-height:1.5;
  margin-bottom:28px;
}
.courses__title .em{ color:var(--accent); }

/* SP：横1列スクロール */
.courses__grid{	
display:flex;
  gap: 10px;  
  width:max-content;
  max-width:100%;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
  scroll-snap-type:x mandatory;
  scroll-padding-left: 15px;
	padding: 0 15px 12px;
}
.courses__grid[data-drag-scroll]{ cursor:grab; }
.courses__grid[data-drag-scroll].is-dragging{
  cursor:grabbing;
  scroll-snap-type:none;
  scroll-behavior:auto;
  user-select:none;
}
.course-card{
  scroll-snap-align:start;
  flex:0 0 auto;
  width:85vw;                 /* SP：1枚＋次が少し覗く */
  max-width:390px;
}
/*
.course-card img{
  width:100%;
  height:auto;
  display:block;
  border-radius:12px;
}
*/
/*-----講座紹介追加--------------------*/
.course-card{
  background-color: #fff;
  margin-right: 10px;
  border-radius: 12px;
  border: solid 1px var(--accent);
　box-shadow: 0 8px 20px rgba(10,30,60,.16);
}
.course-card:last-child{
	margin-right: 0;
}

.card-header{
	width: 100%;
	padding: 30px 0 30px 15px;
	border-radius: 12px 12px 0 0;
    background-repeat: no-repeat;
    background-size: 100% auto; 
}

.c-card-01{
	background-image: url("../images/course_01-img.jpg");
}
.c-card-02{
  background-image: url("../images/course_02-img.jpg");
}
.c-card-03{
  background-image: url("../images/course_03-img.jpg");
}
.c-card-04{
  background-image: url("../images/course_04-img.jpg");
}

.card-badge, .card-title, .target-badge{
	display: inline-block;
	padding: 5px;
	font-size: 0.75rem;
	font-weight: 700;
	line-height: 1;
	color: #fff;
	background-color: var(--accent);
	font-variant-ligatures: no-common-ligatures; /* 念のためのリセット */
	font-feature-settings: "palt";
	text-spacing-trim: trim-start;
	letter-spacing: 0.1em;
	margin-bottom: 5px;
}
.card-title{
	display: inline-block;
	padding: 7px 5px;
	font-size: 1.2rem;
	color: var(--body-text);
	background-color: #fff;
	margin-bottom: 0;
}
.card-title span{
	color: var(--accent);
}
.card-body{
	padding: 20px 15px;
}
.card-body p{
	text-align: justify;
	font-size: 0.8125rem;
	color: var(--body-text);
	line-height: 1.5;
	margin-bottom: 10px;
	min-height: 3lh;
	font-variant-ligatures: no-common-ligatures; 
    font-feature-settings: "palt";
}
.card-list{
	font-size: 0.8125rem;
	color: var(--body-text);
	font-weight: 700;
	list-style: none;
}
.card-list li{
	position: relative;
	padding-left: 1.2em;
}
.card-list li::before{
	content: ""; /* ★空の文字にしておく */
	display: inline-block;
	position: absolute;
	left: 0;
	top: 0.3em;
	width: 1em;
	height: 1em;
  background-image: url("../images/check_accent.svg"); 
  background-size: contain;
  background-repeat: no-repeat;
}
.card-list li span{
	font-weight: 300;	
}
.card-footer{
	padding: 0 20px 30px;
}
.target-badge{
	margin-bottom: 10px;
}
.target-text{
	font-weight: 700;
	line-height: 1.25;
	font-size: 1rem;
	color: var(--body-text);
}
.target-text strong{
	 color:  var(--accent);
}

/* =========================================================
   無料カウンセリングのメリットセクション ─ ベース（＝スマホ）
   薄い水色背景／カード3枚（SP縦積み→PC3カラム）＋CTA
   ラベルは CTA と同じ濃いシアン（--accent-deep）で一体感を出す
   ========================================================= */
.merit{
  background:#eaf5fb;
  padding:44px 0;
}
.merit__inner{
  width:90%;
  max-width:1100px;
  margin:0 auto;
}
.merit__eyebrow{
  text-align:center;
  color:var(--ink);
  font-size:0.9375rem;
  font-weight:600;
  line-height:1.6;
  margin-bottom:6px;
}
.merit__eyebrow .quote{ color:var(--accent); font-weight:700; }
.merit__title{
  text-align:center;
  color:var(--ink);
  font-size:clamp(1.375rem,5.2vw,2rem);
  font-weight:800;
  line-height:1.4;
  margin-bottom:28px;
}
.merit__title .em{ color:var(--accent); }

/* カード3枚のグリッド（外側の白パネルは無し。薄水色背景に直接置く） */
.merit__grid{
  display:grid;
  grid-template-columns:1fr;      /* SP：縦積み */
  gap:14px;
  margin-bottom:20px;
}
.merit-card{
  background:#fff;
  border:1px solid #e5eef4;
  border-radius:12px;
  padding:26px 16px 20px;
  text-align:center;
  position:relative;
  box-shadow:0 3px 10px rgba(10,30,60,.05);
  margin-bottom: 14px;
}
.merit-card__label{
  position:absolute;
  top:-14px; left:50%;
  transform:translateX(-50%);
  background:var(--accent-deep);   /* 元は赤→CTAと同じ濃いシアンに変更 */
  color:#fff;
  font-size:0.8125rem;
  font-weight:700;
  line-height:1;
  white-space:nowrap;
  padding:7px 16px;
  border-radius:999px;
  box-shadow:0 2px 6px rgba(14,131,148,.25);
}
.merit-card__text{
  margin-top:6px;
  color:var(--ink);
  font-size:1.0625rem;
  font-weight:700;
  line-height:1.55;
}
.bonus_banner{
	width: 100%;
	height: auto;
	margin-bottom: 50px;
}




/*----------↓Q＆A----------*/
.faq-section{
	 border-bottom: 2px solid var(--accent);
}

.faq-title{
	margin-bottom: 20px;
}

.faq-item{
	background-color: #eaf5fb;
	border-radius: 12px;
	padding: 6% 5%;
	color: var(--body-text);
	margin-bottom: 15px;
	box-shadow:0 3px 5px rgba(10,30,60,.1);
}
.faq-item:last-child{
	margin-bottom: 0;
}

.faq-row {
    display: flex;
    align-items: flex-start;
    row-gap: 20px;
	column-gap: 10px;
       }
.faq-q {
	margin-bottom: 10px;
       }
.faq-icon {
     width: 32px;
     height: 32px;
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: 16px;
     font-weight: 800;
     flex-shrink: 0;
	line-height: 1;
	padding-bottom: 2px;
	transform: translateY(-5px);
       }
.faq-icon.q {
     background: #fff;
     color:  var(--body-text);
	padding-bottom: 4px;
       }
.faq-icon.a {
     background: var(--accent);
     color: #fff;
	
       }
.faq-text {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text-main);
    margin-top: 4px;
    line-height: 1.35;
    text-align: justify;
    font-variant-ligatures: no-common-ligatures; 
    font-feature-settings: "palt";
    text-spacing-trim: trim-start;
	margin: 0;
       }
.faq-a .faq-text {
         font-weight: 300;
         color: var(--color-text-light);
         line-height: 1.5;
         font-size: 0.875rem;
         font-feature-settings: "palt";
       }





/*----------↑ここまで----------*/



/* CTA（既存の .cta-wrap を中央寄せで再利用） */
.merit__cta{
  display:block;
  text-align:center;
  margin-top:0;
}

footer{
  font-size:0.7rem;
  padding: 20px 0 110px;
  text-align: center;
}
/* 下から出てくるPOPUPバナー */
.popup-bnr{
position: fixed;
z-index: 20;
bottom: 0;
left: 50%;
transform: translateY(100%) translateX(-50%);
width: 94%;
text-align: center;
font-weight: bold;
line-height: 120%;
visibility: hidden;
transition: opacity 0.4s, transform 0.4s;
}
	
.popup-bnr.is-visible {
opacity: 1;
visibility: visible;
transform: translateY(0%) translateX(-50%) ;
pointer-events: auto;
display: block; 
margin: 0 auto 15px;
}
.popup-bnr span{
position:relative;
display:block;
margin:auto;
width:75%;
z-index:1;
text-align:center;
color: var(--body-text);
font-size: 0.86rem;
background-color:#fff;
padding:8px 0;
border-radius: 100vmax;
line-height: 1;
border: solid 1px var(--accent-deep);
}
.popup-bnr span span{
	display: inline;
	color: var(--accent-deep);
	border: none;
	background-color:transparent;
}
	
.popup-bnr a{
display: block;
height: auto;
padding: 28px 0 24px 0;
text-decoration: none;
color:#fff;
filter: drop-shadow(0 0 6px rgba(0,67,118,0.2));
transition: all 0.3s ease;
border-radius: 100vmax;
background: #0b5f9d;
margin-top: -18px;
font-size: clamp(1.125rem,4vw,1.5625rem);
letter-spacing: 0.075rem;
line-height: 1;
width:100%;
border:solid 2px #fff;

	}

.shine {
  overflow: hidden;
}
.shine::after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: -100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0) 28%, rgba(255, 255, 255, 0.75) 32%, rgba(255, 255, 255, 0.75) 78%, rgba(255, 255, 255, 0) 82%);
  animation: shine-loop 2.2s linear infinite;
mix-blend-mode:screen;
	opacity: 0.5;
}
@keyframes shine-loop {
  0% {
    transform: translateX(0);
  }
  20% {
    transform: translateX(200%);
  }
  100% {
    transform: translateX(200%);
  }
}



/* =========================================================
   600px〜：タブレット
   ========================================================= */
@media (min-width:600px){
  .hero__right{
    grid-template-columns:1fr 1fr;
    grid-template-rows:none;
    min-height:340px;
  }
  .cta-wrap{ display:inline-block; text-align:left; }
  .cta{ display:inline-block; padding:24px 56px; }
  .top-corplogo-list li{ width:150px; }

  .worries{ padding-top:56px; }
  .worries__grid{ gap:18px; }
  .worry-card{ padding:20px; }

  .teacher-card{ width:340px; }

  /* 講座：2カラム（タブレット・PC共通） */
  .courses__grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:clamp(31px,5.2vw,52px);
    width:auto;
    overflow:visible;
    scroll-snap-type:none;
    padding:0;
    cursor:default;
  }
  .courses__grid[data-drag-scroll]{ cursor:default; }
  .course-card{width:auto; max-width:none; }
	

	
/*----------コースのカード部分----------*/
	
  .course-card:nth-child(2n){
		margin-right: 0;
	}
  .card-header{
	padding: clamp(25px,4vw,40px) 0 clamp(25px,4vw,40px) clamp(15px,2.5vw,25px);
}
  .card-badge, .card-title, .target-badge{
	padding: clamp(5px,0.83vw,10px);
	font-size: clamp(0.75rem,2vw,1rem);
	}	
  .card-title{
	display: inline-block;
	font-size: clamp(1.2rem,3.2vw,1.5625rem);
}	
  .card-body{
		padding: 20px clamp(15px,2.5vw,30px)
	}
  .card-body p{
		font-size: clamp(0.875rem,2.3vw,1.0625rem);
		margin-bottom: 20px;
	  min-height: 4lh;
	}	
  .card-list{
		font-size: clamp(0.8125rem,2.1vw,1rem);
	}	

 .target-text{
		font-size: clamp(1rem,2.15vw,1.25rem);
	}	
/*------↑ここまで--------------------------------------	*/
	

  /* メリット：3カラム（タブレット・PC共通） */
  .merit__grid{
    grid-template-columns:repeat(3,1fr);
    gap:16px;
  }
  .merit-card{ padding:30px 16px 22px; }
  /* CTAは中央寄せを維持（汎用 .cta-wrap の inline-block を上書き） */
  .merit__cta.cta-wrap{ display:block; text-align:center; }
  .merit__cta .cta{ display:inline-block; }
	
	.bonus_banner{
		margin: auto;
		max-width: 600px;
		height: auto;
		margin-bottom: 80px;
	}
	
	
	
	
	
/*----------Q＆A　タブレット・PC用----------*/
       .faq-list {
         max-width: 800px;
         margin: 0 auto;
         display: flex;
         flex-direction: column;
       }
	.faq-item{
		padding: 30px;
	}
	
	
/*------↑ここまで--------------------------------------	*/	
	
	
/*----------POPUPバナー　タブレット・PC用----------*/

.popup-bnr{
	width: 80%;
	max-width:800px;
}
.popup-bnr span{
	font-size: clamp(1rem,2vw,1.125rem);
	max-width: 320px;
}
.popup-bnr a{
	font-size: clamp(1.25rem,3.1vw,1.5625rem);
	padding:30px 0 25px 0; 
	}
footer{
  padding: 30px 0 130px;
}	
	
	
}






/* =========================================================
   861px〜：PC（旧デフォルトの見た目に復帰）
   ========================================================= */
@media (min-width:861px){
  .hero{
    display:grid;
    grid-template-columns:1.2fr 0.8fr;   /* 画像を横長に、テキストも広く */
    height:560px;                        /* FVの高さを抑える */
  }

  .hero__left{
    padding:0 6% 0 12%;
  }
  .logo{ padding:18px 34px 20px; }
  .logo img{ height:34px; }

  .hero__inner{ margin-top:50px; }

  .headline{
    font-size:clamp(2.5rem,4.4vw,3.4rem);
    line-height:1.2;
    margin-bottom:15px;
  }

  .lead{
    font-size:clamp(1rem,1.15vw,1.125rem);
    line-height:1.7;
  }

  .cta-wrap{ margin-top:40px; }
  .cta{
    font-size:clamp(1.25rem,1.5vw,1.4375rem);
    padding:26px 64px 24px;
  }
.counseling{
	padding: 60px 0;
	}	
	
.counseling__cta-badge{
width: auto;
padding:5px 60px;
text-align: center;
}
  .hero__right{
    grid-template-columns:1fr;
    grid-template-rows:1fr 1fr;
    height:560px;                        /* .hero と同じ高さで写真2枚を分割 */
  }

  .sp-only{ display:none; }
  .top-corplogo-track-r.sp-only{ display:none; }
  .top-corplogo-list li{ width:170px; padding:0 20px; }
  .logo-section{ padding:30px 0; }

  .worries{ padding:64px 0; }
  .worries__eyebrow{ font-size:0.9375rem; }
  .worries__title{
    font-size:clamp(1.5rem,2.4vw,2rem);
    margin-bottom:40px;
  }
  .worries__grid{
    grid-template-columns:repeat(4,1fr);
    gap:24px;
  }
  .worry-card{ padding:24px; border-radius:10px; }
  .worry-card__text{ font-size:1.0625rem; }
  .worries__arrow{
    border-left-width:54px;
    border-right-width:54px;
    border-top-width:30px;
  }

  .solution{ padding:56px 0 72px; }
  .solution__inner{ margin-bottom:36px; }
  .solution__eyebrow{ font-size:0.9375rem; }
  .cases{
    overflow:visible;
    padding:0;
    width:90%;
    max-width:1200px;
    margin:0 auto;
  }
  .cases__track{
    width:auto;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
  }
  .case-card{ width:auto; max-width:none; }
	.course-card:nth-child(2n){
		margin-right: 0;
	}
	
/*----------↓成果物例の部分----------*/
.deliverables{
	padding-bottom: 80px;
	}
	
.test{
width: 100%; 
background: red;
}

.deliverable-card {
    max-width: 1200px; 
    display: flex;
    align-items: center; 
    gap: 50px;
    padding: 30px 50px;
  }	
	.deliverable-card__sub{
		font-size: 1rem;
	}
.deliverable-card__title{
		font-size: 1.5rem;
		margin-top: 10px;
	}
.deliverable-card__body {
  flex: 1;
  min-width: 0; 
	padding: 0;
  }	
.deliverable-card__image {
    flex: 0 0 50%; 
    height: auto;
  }		
  .card-body p{
	  min-height: 3lh;
	}
.deliverable-card__rel-group {
    display: flex;
    align-items: center; /* 文字とボタンの上下中央をピッタリ揃える */
    gap: 10px;          /* 間隔 */
  }
.deliverable-card__rel-label{
	font-size: 1rem;	
	}
.deliverable-card__rel-label, .deliverable-card__rel {
    margin-bottom: 0;
  }
	
/*----------↑成果物例ここまで----------*/
	
/*----------↓カウンセリングのご案内の部分----------*/	
.counseling__inner {
    max-width: 1100px; 
    display: grid;
    grid-template-columns: 1.05fr 0.95fr; /* 左右の幅比率（左テキスト : 右画像） */
    column-gap: 40px;
    align-items: center;
    text-align: left;
  }

  /* --- 左側：テキストエリアの指定 --- */
  .counseling__label {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    margin-bottom: 16px;
  }

  .counseling__title {
    grid-column: 1;
    grid-row: 2;
    text-align: left;
    margin-bottom: 16px;
  }

  .counseling__text {
    grid-column: 1;
    grid-row: 3;
    text-align: left;
    margin-bottom: 0;
	  font-size: 1rem;
  }

  /* --- 右側：画像エリアの指定 --- */
  .counseling__image {
    grid-column: 2;
    grid-row: 1 / span 3;
    max-width: 100%;
    margin: 0;
  }

  /* --- 下部：CTAボタンエリアの指定 --- */
  .counseling__cta {
    grid-column: 1 / -1; 
	width: 100%;
  	text-align: center;
    margin-top: 40px;
  }	
	
	
/*----------↑カウンセリングのご案内ここまで----------*/	

  /* 選ばれる理由：PC */
  .reasons{ padding-bottom:64px; }
  .reasons__head{ padding:36px 5%; margin-bottom:44px; }
  .reasons__title{ font-size:clamp(1.75rem,2.4vw,2.125rem); }
  .reasons__inner{ margin-bottom:40px; }
  .reason{ gap:28px; padding:40px 0; --reason-indent: calc(96px + 28px); }
  .reason__num{ font-size:4.5rem; width:96px; }
  .reason__lead{ font-size:1.7rem; margin-bottom:12px; }
  .reason__text{ font-size:0.9375rem; }
  .teachers{ padding:8px 0 12px; }
  .teacher-card{ width:320px; padding:28px 24px 24px; }

  /* 理由2・3のステップ：PCは画像(上)＋テキスト(下)を3列。
     講師カルーセルと同じく番号ぶん左に引き出して全幅で揃える */
  .steps{
    margin-top:28px;
    margin-left:calc(-1 * var(--reason-indent, 0px));
    width:calc(100% + var(--reason-indent, 0px));
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:28px;
  }
  .step{ display:block; }           /* PC：画像が上、テキストが下 */
  .step__media{
    width:100%;
    margin-bottom:14px;
    border-radius:10px;
  }
  .step__media:empty{ aspect-ratio:16 / 10; }   /* 画像未配置時のみ枠比率 */
  .step__title{ font-size:1.125rem; margin-bottom:8px; }
  .step__text{ font-size:0.875rem; }
}
/* ========== GMOバナーの配置調整 ========== */
.gmo-logo {
  margin-top: 24px;
  max-width: 500px; 
  width: 100%;
}

.gmo-logo img {
  width: 100%;       /* 枠いっぱいに広げる */
  height: auto;
  display: block;
}

/* PC表示（861px以上）の調整 */
@media (min-width: 861px) {
  .hero__inner {
    margin-top: 30px; /* 全体が上がりすぎないよう微調整 */
  }
}
/* ========== ヘッダーエリア（ロゴ＋ボタン） ========== */
.header-group {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
}

/* ロゴ部分 */
.header-group .logo {
  position: static;
  background: #fff;
  padding: 10px 16px;
  border-bottom-right-radius: 12px;
}
.header-group .logo img {
  height: 22px;
  width: auto;
}

/* 右上ボタン（スマホ・タブレット用） */
.header-btn {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  background: var(--accent);
  color: #fff;
  font-size: 0.8125rem; /* 13px相当 */
  font-weight: 700;
  padding: 10px 16px;
  text-decoration: none;
  line-height: 1;
  transition: background-color 0.2s ease;
}

.header-btn:hover {
  background: var(--accent-deep);
}

/* 吹き出しアイコン画像 */
.header-btn__icon {
  width: 18px;
  height: auto;
  display: block;
}

/* PC表示（861px以上）の調整 */
@media (min-width: 861px) {
  .header-group .logo {
    padding: 14px 28px;
  }
  .header-group .logo img {
    height: 28px;
  }
  /* PC版ではボタンを非表示 */
  .header-btn {
    display: none;
  }
}