/* ================================================================
   LPテンプレート スタイルシート
   トンマナ：専門学校国際理工カレッジ公式サイト（itc.ac.jp）実測値に準拠
   白ベース × スクールレッド × チャットブルー
   カスタマイズは :root の変数から。
   ================================================================ */

:root {
  /* --- カラー --------------------------------------------------
     学校公式サイトの計算済みスタイルから採取した実際の配色 */
  --color-primary: #d32d26;        /* キーカラー（学校のスクールレッド） */
  --color-primary-dark: #ad2119;   /* ホバー時 */
  --color-primary-tint: #faeaea;   /* 淡いレッド（背景用・公式サイトと同色） */
  --color-yellow: #ffd54a;         /* サブアクセント（イエロー） */
  --color-coral: #ed6b00;          /* サブアクセント（公式サイトのオレンジ） */
  --color-widget: #0057aa;         /* AIチャットウィジェット自体のブルー（公式サイトのリンク色と同じ） */
  --color-widget-tint: #e8f0f9;

  --color-text: #030303;           /* 基本テキスト（公式サイト実測） */
  --color-text-sub: #5c5c5c;       /* 補足テキスト */
  --color-text-mute: #9b9b9b;      /* 日付・キャプション */
  --color-text-invert: #ffffff;

  --color-bg: #ffffff;
  --color-bg-warm: #f4f4f4;        /* 公式サイト実測のオフホワイト */
  --color-border: #e5e5e5;

  /* --- タイポグラフィ：公式サイトと同じフォントを採用 --- */
  --font-base: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans",
    Meiryo, "MS PGothic", sans-serif;
  --font-en: "Jost", "Helvetica Neue", Arial, sans-serif;

  /* --- レイアウト --- */
  --max-width: 1180px;
  --radius-sm: 10px;    /* カード */
  --radius-lg: 30px;    /* 大きめのブロック */
  --radius-pill: 9999px;
  --shadow-sm: 0 3px 14px rgba(68, 68, 68, 0.07);
  --shadow-md: 0 10px 30px rgba(68, 68, 68, 0.11);
  --header-height: 104px;
  --transition: 0.3s ease;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--color-text);
  background: var(--color-bg);
  font-size: 16px;
  line-height: 2;
  letter-spacing: 0.04em;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
button { font: inherit; cursor: pointer; border: none; background: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 110px 0;
  position: relative;
}

@media (max-width: 768px) {
  section { padding: 70px 0; }
  body { font-size: 15px; }
}

/* ---------- 装飾ドット（実サイトの dot オブジェクト相当） ---------- */
.deco-dots {
  position: absolute;
  background-image: radial-gradient(var(--dot-color, rgba(65, 169, 165, 0.28)) 2.5px, transparent 2.6px);
  background-size: 16px 16px;
  pointer-events: none;
  z-index: 0;
}

/* ==================================================================
   セクション見出し
   英語（大）＋ 日本語（小）の縦積み ＝ 実サイトの型
   ================================================================== */
.section-head {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
}

.section-head .en {
  display: block;
  font-family: var(--font-en);
  font-weight: 600;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.2;
  letter-spacing: 0.08em;
  color: var(--color-primary);
}

.section-head .ja {
  display: block;
  margin-top: 10px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-text);
}

.section-head .desc {
  margin-top: 20px;
  font-size: 15px;
  color: var(--color-text-sub);
}

.section-head.light .en,
.section-head.light .ja,
.section-head.light .desc {
  color: var(--color-text-invert);
}

/* 左寄せ見出し（横並びレイアウト用） */
.section-head.align-left {
  text-align: left;
}

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 60px;
  padding: 0 44px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
  transition: background var(--transition), color var(--transition),
    border-color var(--transition), box-shadow var(--transition),
    transform var(--transition);
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-text-invert);
  box-shadow: 0 6px 16px rgba(65, 169, 165, 0.28);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(65, 169, 165, 0.34);
}

.btn-outline {
  background: #fff;
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-2px);
}

/* 白抜き（濃色背景の上） */
.btn-white {
  background: #fff;
  color: var(--color-primary);
}

.btn-white:hover {
  background: var(--color-bg-warm);
  transform: translateY(-2px);
}

.btn-small {
  min-height: 44px;
  padding: 0 26px;
  font-size: 13.5px;
  gap: 8px;
}

.btn .arrow {
  font-family: var(--font-en);
  transition: transform var(--transition);
}

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

.center {
  text-align: center;
  margin-top: 56px;
  position: relative;
  z-index: 1;
}

/* テキストリンク（詳しくはこちら →） */
.more-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-primary);
  transition: gap var(--transition);
}

.more-link::after {
  content: "";
  width: 26px;
  height: 1.5px;
  background: currentColor;
  position: relative;
  transition: width var(--transition);
}

.more-link:hover { gap: 14px; }
.more-link:hover::after { width: 34px; }

.more-link.light { color: var(--color-text-invert); }

/* ==================================================================
   HEADER（透過・上に重なる）
   ================================================================== */
.header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
  transition: background var(--transition), box-shadow var(--transition),
    height var(--transition);
}

/* スクロールすると白背景で固定 */
.header.is-fixed {
  position: fixed;
  height: 76px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 12px rgba(68, 68, 68, 0.08);
  animation: slideDown 0.35s ease;
}

@keyframes slideDown {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.04em;
  color: var(--color-text);
}

.logo .logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-en);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.logo .logo-img {
  height: 32px;
  width: auto;
  flex-shrink: 0;
}

.logo .logo-text small {
  display: block;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--color-primary);
  font-family: var(--font-en);
  white-space: nowrap;
}

/* 狭い画面ではロゴ画像だけにして、ヘッダーの窮屈な折り返しを防ぐ */
@media (max-width: 480px) {
  .header .logo .logo-text { display: none; }

  /* フッターは横並びのままだと画面幅を超えるので縦積みにする */
  .footer .logo {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .footer .logo .logo-text small { white-space: normal; }
}

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

.nav-list {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-list > li > a {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  position: relative;
  padding: 6px 0;
  display: block;
}

.nav-list > li > a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--color-primary);
  transition: width var(--transition);
}

.nav-list > li > a:hover { color: var(--color-primary); }
.nav-list > li > a:hover::after { width: 100%; }

.header-cta { display: flex; align-items: center; gap: 14px; }

.header-tel {
  text-align: right;
  line-height: 1.3;
}

.header-tel .num {
  font-family: var(--font-en);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--color-text);
}

.header-tel small {
  display: block;
  font-size: 10.5px;
  color: var(--color-text-sub);
  letter-spacing: 0.04em;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--color-primary);
  z-index: 1100;
  padding: 0 12px;
}

.nav-toggle span {
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

@media (max-width: 1080px) {
  .header-tel { display: none; }
  .nav-list { gap: 20px; }
}

@media (max-width: 900px) {
  :root { --header-height: 76px; }

  .nav-list {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    background: var(--color-primary);
    transform: translateX(100%);
    transition: transform var(--transition);
  }

  .nav-list.is-open { transform: translateX(0); }

  .nav-list > li > a {
    font-size: 19px;
    color: #fff;
  }

  .nav-list > li > a::after { background: #fff; }

  .header-cta .btn { display: none; }
  .nav-toggle { display: flex; }

  .nav-toggle.is-active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle.is-active span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

/* ==================================================================
   KV（キービジュアル）— 白ベース＋温かみのある背景
   ================================================================== */
/* KVは「キャッチコピーだけの1画面」。スクロールすると次の .kv-intro が現れる構成 */
.kv {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding-top: var(--header-height);
  overflow: hidden;
  background: var(--color-bg-warm);
}

/* 1画面目は「名乗り」。中央寄せの1カラムで、誰が何をつくったのかだけを伝える */
.kv .container {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.kv-copy {
  max-width: 780px;
}

.kv-logo {
  width: 62px;
  height: 62px;
  object-fit: contain;
  margin: 0 auto 20px;
  display: block;
}

.kv-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--color-primary);
  padding-bottom: 14px;
  margin-bottom: 22px;
  border-bottom: 2px solid var(--color-primary);
}

/* ヒーロー下部の制作クレジット帯 */
.kv-credit {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 18px 24px 8px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-text-sub);
}

/* 次のセクションへ促すスクロール誘導 */
.scroll-cue {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding-bottom: 28px;
}

.scroll-cue .line {
  width: 1px;
  height: 34px;
  background: var(--color-border);
  overflow: hidden;
  position: relative;
}

.scroll-cue .line::after {
  content: "";
  position: absolute;
  top: -34px;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-primary);
  animation: scrollCueMove 1.8s ease-in-out infinite;
}

@keyframes scrollCueMove {
  to { top: 34px; }
}

.scroll-cue .txt {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--color-text-mute);
}

@media (prefers-reduced-motion: reduce) {
  .scroll-cue .line::after { animation: none; top: 0; }
}

/* --- 1画面目の見出しまわり --- */
.kv-title {
  font-size: clamp(27px, 4.6vw, 52px);
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0.02em;
  color: var(--color-text);
}

/* 意図した位置でだけ改行させる（日本語は任意の位置で折り返してしまうため） */
.kv-title .l,
.kv-intro h2 .l {
  display: block;
}

@media (min-width: 900px) {
  .kv-title .l,
  .kv-intro h2 .l {
    white-space: nowrap;
  }
}

.kv-title .accent { color: var(--color-primary); }

.kv-tagline {
  margin-top: 24px;
  font-size: clamp(14.5px, 1.5vw, 17px);
  font-weight: 700;
  color: var(--color-text);
}

.kv-note {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.95;
  color: var(--color-text-sub);
}

/* 改行の出し分け：br-pc は広い画面だけ、br-sp は狭い画面だけ改行する */
.br-pc { display: inline; }
.br-sp { display: none; }

@media (max-width: 600px) {
  .br-pc { display: none; }
  .br-sp { display: inline; }
}

/* KVの直後、スクロールで現れる「で、何ができるの？」セクション。
   1画面目が"名乗り"、ここが"実物と機能"という役割分担 */
.kv-intro {
  padding: 110px 0;
  background: #fff;
  overflow: hidden;
}

.kv-intro .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.intro-eyebrow {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--color-primary);
  margin-bottom: 18px;
}

.intro-eyebrow small {
  display: block;
  margin-top: 6px;
  font-family: var(--font-base);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-text-sub);
}

.kv-intro h2 {
  font-size: clamp(24px, 3.2vw, 40px);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.03em;
  color: var(--color-text);
}

.kv-intro h2 .mark {
  background: linear-gradient(transparent 62%, rgba(254, 200, 0, 0.5) 62%);
  padding: 0 2px;
}

.kv-intro h2 .accent { color: var(--color-primary); }

.kv-intro .kv-sub {
  margin-top: 26px;
  font-size: 15.5px;
  line-height: 1.95;
  color: var(--color-text-sub);
  max-width: 470px;
}

.kv-actions {
  margin-top: 36px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.intro-visual {
  display: flex;
  justify-content: center;
}

/* widget-shot・装飾の丸・KRCバッジをまとめて1つの箱として扱う基準コンテナ。
   これがないと、装飾が親要素の幅を基準に配置されてしまい、
   横幅が変わったときに丸だけ widget から離れて浮いてしまう。 */
.widget-wrap {
  position: relative;
  width: 100%;
  max-width: 340px;
}

.widget-wrap .widget-shot {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 1;
}

.widget-wrap .widget-shot img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 900px) {
  .kv-intro { padding: 76px 0; }

  .kv-intro .container {
    grid-template-columns: 1fr;
    gap: 44px;
    text-align: center;
  }

  .kv-intro .kv-sub { margin-inline: auto; }
  .kv-intro .kv-actions { justify-content: center; }
  .intro-visual { order: -1; }
}

/* 装飾の丸（widget-wrap基準で配置） */
.widget-wrap .blob {
  position: absolute;
  border-radius: 50%;
  z-index: 0;
}

.widget-wrap .blob-yellow {
  width: 120px; height: 120px;
  background: var(--color-yellow);
  opacity: 0.85;
  top: -34px; right: -26px;
}

.widget-wrap .blob-coral {
  width: 74px; height: 74px;
  background: var(--color-coral);
  opacity: 0.8;
  bottom: -24px; left: -22px;
}

.kv .dots-1 { width: 190px; height: 170px; top: 120px; left: -40px; }
.kv .dots-2 { width: 150px; height: 150px; bottom: 60px; right: 4%; --dot-color: rgba(254, 200, 0, 0.4); }

@media (max-width: 900px) {
  .kv .dots-1 { width: 130px; height: 120px; top: 90px; left: -30px; }
  .kv .dots-2 { width: 110px; height: 110px; bottom: 40px; right: -20px; }
  .kv-logo { width: 52px; height: 52px; }
}

@media (max-width: 600px) {
  .kv-eyebrow { font-size: 11.5px; letter-spacing: 0.08em; }
  .kv-credit { font-size: 11.5px; line-height: 1.8; }
}

/* ==================================================================
   CONCEPT
   ================================================================== */
.concept { overflow: hidden; }

.concept .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.concept h2 {
  font-size: clamp(21px, 2.6vw, 30px);
  font-weight: 700;
  line-height: 1.85;
  letter-spacing: 0.04em;
}

.concept h2 .en {
  display: block;
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--color-primary);
  margin-bottom: 18px;
}

.concept p {
  margin-top: 28px;
  font-size: 15.5px;
  color: var(--color-text-sub);
}

/* 開発メンバーの生の声（インタビューからの引用） */
.voice-quote {
  margin: 28px 0 0;
  padding: 22px 26px;
  border-left: 4px solid var(--color-primary);
  background: var(--color-primary-tint);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 14.5px;
  line-height: 1.95;
  color: var(--color-text);
  font-style: normal;
}

.voice-quote .voice-by {
  display: block;
  margin-top: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-text-sub);
}

/* KRCロゴの丸バッジ（ヒーロービジュアルの装飾） */
.krc-badge {
  position: absolute;
  top: -18px;
  right: -14px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #fff;
  padding: 8px;
  box-sizing: border-box;
  object-fit: contain;
  box-shadow: var(--shadow-md);
  z-index: 3;
}

.concept .note {
  margin-top: 32px;
  display: inline-block;
  padding: 20px 34px;
  border-radius: var(--radius-sm);
  background: var(--color-primary-tint);
  color: var(--color-primary-dark);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.8;
}

/* 実スクリーンショットは縦長(チャット)・横長(管理画面)が混在するため、
   クロップせず自然な比率のまま並べるレイアウト */
.concept-visual {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}

.concept-visual .ph {
  border-radius: var(--radius-sm);
  background: var(--color-bg-warm);
  border: 1px solid var(--color-border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.concept-visual .ph:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.concept-visual .ph img {
  width: 100%;
  height: auto;
  display: block;
}

/* 1枚目（チャット会話の縦長スクショ）は2行分の高さを使う */
.concept-visual .ph:nth-child(1) { grid-row: 1 / 3; }
.concept-visual .ph:nth-child(1) img { height: 100%; object-fit: cover; object-position: top; }

.concept .dots-1 {
  width: 220px; height: 200px;
  right: -30px; bottom: -40px;
  z-index: 0;
}

@media (max-width: 900px) {
  .concept .container { grid-template-columns: 1fr; gap: 44px; }
}

/* ==================================================================
   SERVICE
   ================================================================== */
.service { background: var(--color-bg-warm); }

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position: relative;
  z-index: 1;
}

.service-card {
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 40px 30px 34px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.service-card .num {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--color-primary);
}

/* 円形アイコン枠 */
.service-card .icon {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: var(--color-primary-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.service-card .icon svg {
  width: 54px;
  height: 54px;
  stroke: var(--color-primary);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.service-card p {
  font-size: 14px;
  color: var(--color-text-sub);
  line-height: 1.9;
  flex-grow: 1;
}

@media (max-width: 900px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .service-card { padding: 32px 22px 28px; }
}

@media (max-width: 600px) {
  .service-grid { grid-template-columns: 1fr; }
}

/* ==================================================================
   COUNSELING（こんなお悩み）
   ================================================================== */
.counseling { overflow: hidden; }

.counseling .lead-box { text-align: center; margin-bottom: 56px; position: relative; z-index: 1; }

.counseling .lead-box .catch {
  display: inline-block;
  font-size: 15px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.counseling .lead-box h2 {
  font-size: clamp(21px, 2.8vw, 30px);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.7;
}

.counseling .lead-box h2 .mark {
  background: linear-gradient(transparent 62%, rgba(254, 200, 0, 0.5) 62%);
}

.counseling .lead-box p {
  margin-top: 22px;
  font-size: 15px;
  color: var(--color-text-sub);
}

.bubbles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}

.bubbles.cols-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 720px;
  margin: 0 auto;
}

/* 吹き出し */
.bubble {
  background: #fff;
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.9;
  position: relative;
}

.bubble::after,
.bubble::before {
  content: "";
  position: absolute;
  bottom: -18px;
  left: 46px;
  border-style: solid;
}

.bubble::before {
  border-width: 18px 12px 0 12px;
  border-color: var(--color-primary) transparent transparent transparent;
}

.bubble::after {
  bottom: -14px;
  border-width: 15px 10px 0 10px;
  border-color: #fff transparent transparent transparent;
  left: 48px;
}

.bubble .person {
  display: block;
  margin-top: 18px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--color-text-mute);
  letter-spacing: 0.06em;
}

.bubble:nth-child(2) { border-color: var(--color-yellow); }
.bubble:nth-child(2)::before { border-top-color: var(--color-yellow); }
.bubble:nth-child(3) { border-color: var(--color-coral); }
.bubble:nth-child(3)::before { border-top-color: var(--color-coral); }

.counseling .dots-1 { width: 170px; height: 160px; top: 40px; left: -50px; }

@media (max-width: 900px) {
  .bubbles { grid-template-columns: 1fr; gap: 32px; }
}

/* ==================================================================
   WORKS（カテゴリタイル）
   ================================================================== */
.works { background: var(--color-bg-warm); }

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.works-tile {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 5 / 3;
  background: linear-gradient(135deg, var(--color-primary), #6cc6c2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: transform var(--transition), box-shadow var(--transition);
}

.works-tile:nth-child(2) { background: linear-gradient(135deg, #4a9fd8, #7fc4e8); }
.works-tile:nth-child(3) { background: linear-gradient(135deg, #e0a93b, var(--color-yellow)); }
.works-tile:nth-child(4) { background: linear-gradient(135deg, #d46950, var(--color-coral)); }
.works-tile:nth-child(5) { background: linear-gradient(135deg, #6f7fc4, #97a5e0); }
.works-tile:nth-child(6) { background: linear-gradient(135deg, #5a9d7a, #86c4a3); }

.works-tile:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.works-tile .label {
  position: relative;
  z-index: 1;
  text-align: center;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.works-tile .label small {
  display: block;
  margin-top: 6px;
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  opacity: 0.85;
}

/* NEW CASE（ティール帯） */
.new-case {
  margin-top: 80px;
  background: var(--color-primary);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  color: #fff;
}

.new-case .head {
  text-align: center;
  margin-bottom: 40px;
}

.new-case .head .en {
  display: block;
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  opacity: 0.85;
}

.new-case .head .ja {
  display: block;
  margin-top: 8px;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.case-card {
  background: #fff;
  border-radius: var(--radius-sm);
  overflow: hidden;
  color: var(--color-text);
  transition: transform var(--transition), box-shadow var(--transition);
}

.case-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

.case-card .thumb {
  aspect-ratio: 16 / 10;
  background: var(--color-bg-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-mute);
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.14em;
}

.case-card .body { padding: 22px 24px 26px; }

.case-card .cat {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--color-primary);
  background: var(--color-primary-tint);
  border-radius: var(--radius-pill);
  padding: 3px 14px;
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}

.case-card h4 {
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.7;
  margin-bottom: 10px;
}

.case-card p {
  font-size: 13.5px;
  color: var(--color-text-sub);
  line-height: 1.9;
}

@media (max-width: 900px) {
  .works-grid { grid-template-columns: repeat(2, 1fr); }
  .case-grid { grid-template-columns: 1fr; }
  .new-case { padding: 40px 24px; margin-top: 56px; }
}

@media (max-width: 560px) {
  .works-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .works-tile .label { font-size: 14px; }
}

/* ==================================================================
   ABOUT
   ================================================================== */
.about { overflow: hidden; }

.about-message {
  background: var(--color-bg-warm);
  border-radius: var(--radius-lg);
  padding: 56px 56px;
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 34px;
  position: relative;
  z-index: 1;
}

.about-message .en {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--color-primary);
}

.about-message h3 {
  margin-top: 14px;
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 700;
  line-height: 1.75;
  letter-spacing: 0.04em;
}

.about-message p {
  margin-top: 20px;
  font-size: 14.5px;
  color: var(--color-text-sub);
}

.about-message .more-link { margin-top: 26px; }

.about-message .ph {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-sm);
  background: #fff;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-mute);
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.14em;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  position: relative;
  z-index: 1;
}

.about-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 32px 26px;
  background: #fff;
  transition: transform var(--transition), box-shadow var(--transition),
    border-color var(--transition);
}

.about-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.about-card .en {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--color-primary);
}

.about-card h3 {
  margin-top: 10px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.about-card p {
  margin-top: 12px;
  font-size: 13.5px;
  color: var(--color-text-sub);
  line-height: 1.9;
}

.about-card .more-link { margin-top: 16px; font-size: 13px; }

.about .dots-1 { width: 200px; height: 180px; top: 30px; right: -40px; --dot-color: rgba(254, 200, 0, 0.35); }

@media (max-width: 900px) {
  .about-message { grid-template-columns: 1fr; padding: 36px 26px; gap: 32px; }
  .about-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .about-grid { grid-template-columns: 1fr; }
}

/* ==================================================================
   NEWS / BLOG
   ================================================================== */
.news-blog { background: var(--color-bg-warm); }

.news-blog .split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.panel-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 18px;
  border-bottom: 2px solid var(--color-primary);
  margin-bottom: 8px;
}

.panel-head .ttl .en {
  display: block;
  font-family: var(--font-en);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.1;
  color: var(--color-primary);
}

.panel-head .ttl .ja {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.panel-head .more-link { font-size: 13px; flex-shrink: 0; }

.post-item {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border);
}

.post-item .date {
  font-family: var(--font-en);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--color-text-mute);
  flex-shrink: 0;
  width: 90px;
}

.post-item .cat {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
  border-radius: var(--radius-pill);
  padding: 2px 12px;
  line-height: 1.7;
  align-self: center;
}

.post-item .title {
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.8;
}

.post-item .title:hover { color: var(--color-primary); }

@media (max-width: 900px) {
  .news-blog .split { grid-template-columns: 1fr; gap: 48px; }
  .post-item { flex-wrap: wrap; gap: 8px 14px; }
  .post-item .title { width: 100%; }
}

/* ==================================================================
   CONTACT CTA
   ================================================================== */
.contact-cta { padding-bottom: 110px; }

.contact-box {
  background: var(--color-primary);
  border-radius: var(--radius-lg);
  padding: 60px 56px;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact-box .deco-dots {
  --dot-color: rgba(255, 255, 255, 0.22);
  width: 200px; height: 180px;
  top: -20px; left: -30px;
}

.contact-box .deco-dots.right {
  left: auto; right: -30px; top: auto; bottom: -20px;
}

.contact-box .inner { position: relative; z-index: 1; }

.contact-box .en {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  opacity: 0.9;
}

.contact-box h2 {
  margin-top: 12px;
  font-size: clamp(21px, 2.8vw, 30px);
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.7;
}

.contact-box p {
  margin-top: 16px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.9);
}

.contact-actions {
  margin-top: 34px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.contact-tel { text-align: left; line-height: 1.4; }

.contact-tel .num {
  font-family: var(--font-en);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.contact-tel small {
  display: block;
  font-size: 12px;
  opacity: 0.85;
}

@media (max-width: 768px) {
  .contact-box { padding: 44px 24px; }
  .contact-actions { flex-direction: column; gap: 18px; }
  .contact-tel { text-align: center; }
}

/* ==================================================================
   FOOTER
   ================================================================== */
.footer {
  background: var(--color-text);
  color: rgba(255, 255, 255, 0.72);
  padding-top: 70px;
  font-size: 13.5px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer .logo { color: #fff; }
.footer .logo .logo-mark { background: var(--color-primary); }
.footer .logo .logo-text small { color: rgba(255, 255, 255, 0.6); }

.footer-brand address {
  margin-top: 20px;
  font-style: normal;
  line-height: 2;
  color: rgba(255, 255, 255, 0.6);
}

.footer-col h4 {
  font-family: var(--font-en);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.footer-col li { margin-bottom: 11px; }
.footer-col a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 24px 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}

.footer-bottom .legal { display: flex; gap: 22px; }
.footer-bottom .legal a:hover { color: #fff; }

@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr; }
}

/* ==================================================================
   FLOW（教職員の使い方：2ステップ）
   ================================================================== */
.flow {
  display: flex;
  align-items: stretch;
  gap: 20px;
  max-width: 780px;
  margin: 0 auto;
}

.flow-step {
  flex: 1;
  background: #fff;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 30px 26px;
  text-align: center;
}

.flow-step.is-user {
  border-color: var(--color-primary);
  background: var(--color-primary-tint);
}

.flow-step .who {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  background: #fff;
  border-radius: var(--radius-pill);
  padding: 4px 16px;
  margin-bottom: 14px;
}

.flow-step p {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.8;
}

.flow-arrow {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  font-family: var(--font-en);
  font-size: 26px;
  font-weight: 600;
  color: var(--color-primary);
}

.flow-note {
  text-align: center;
  margin-top: 24px;
  font-size: 13.5px;
  color: var(--color-text-sub);
}

.flow-note strong {
  color: var(--color-primary-dark);
}

.flow-tags {
  margin-top: 44px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.flow-tags .tag {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-sub);
  background: var(--color-bg-warm);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  padding: 8px 20px;
}

@media (max-width: 640px) {
  .flow { flex-direction: column; }
  .flow-arrow { justify-content: center; transform: rotate(90deg); }
}

/* ==================================================================
   COST（コスト比較）
   ================================================================== */
.cost { background: var(--color-bg-warm); overflow: hidden; }

.cost-compare {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  max-width: 780px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cost-card {
  flex: 1;
  background: #fff;
  border-radius: var(--radius-md, var(--radius-sm));
  padding: 36px 30px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.cost-card .label {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--color-text-sub);
  letter-spacing: 0.04em;
}

.cost-card .price {
  margin-top: 14px;
  font-family: var(--font-en);
  font-weight: 700;
  color: var(--color-text);
}

.cost-card .price .yen {
  font-size: 34px;
}

.cost-card .price .unit {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-sub);
  margin-left: 4px;
}

.cost-card.is-new {
  background: var(--color-primary);
  transform: scale(1.05);
}

.cost-card.is-new .label,
.cost-card.is-new .price,
.cost-card.is-new .price .unit {
  color: #fff;
}

.cost-arrow {
  flex-shrink: 0;
  font-family: var(--font-en);
  font-size: 30px;
  font-weight: 700;
  color: var(--color-primary);
}

.cost-highlight {
  margin: 56px auto 0;
  max-width: 780px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  position: relative;
  z-index: 1;
}

.cost-highlight .item {
  text-align: center;
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 26px 16px;
}

.cost-highlight .num {
  font-family: var(--font-en);
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 700;
  color: var(--color-coral);
  line-height: 1.2;
}

.cost-highlight .num small {
  font-size: 15px;
  font-weight: 600;
  margin-left: 2px;
}

.cost-highlight .cap {
  margin-top: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--color-text-sub);
  letter-spacing: 0.04em;
}

.cost .dots-1 { width: 200px; height: 180px; bottom: -20px; left: -50px; --dot-color: rgba(254, 200, 0, 0.4); }

@media (max-width: 640px) {
  .cost-compare { flex-direction: column; }
  .cost-arrow { transform: rotate(90deg); }
  .cost-highlight { grid-template-columns: 1fr; gap: 14px; }
}

/* ==================================================================
   ROADMAP（導入までの流れ）
   ================================================================== */
.roadmap-list {
  max-width: 640px;
  margin: 0 auto;
  counter-reset: step;
}

.roadmap-item {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--color-border);
}

.roadmap-item:last-child { border-bottom: none; }

.roadmap-item .step-no {
  counter-increment: step;
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--color-bg-warm);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 17px;
}

.roadmap-item .step-no::before {
  content: counter(step);
}

.roadmap-item .step-text {
  flex-grow: 1;
  font-size: 15.5px;
  font-weight: 700;
}

.roadmap-item .step-badge {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: var(--color-coral);
  border-radius: var(--radius-pill);
  padding: 6px 16px;
}

.roadmap-item.is-current {
  background: var(--color-primary-tint);
  border-radius: var(--radius-sm);
  padding: 22px 20px;
  margin: 4px 0;
  border-bottom: none;
}

.roadmap-item.is-current .step-no {
  background: var(--color-primary);
  color: #fff;
}

.roadmap-item.is-done .step-text {
  color: var(--color-text-sub);
  text-decoration: line-through;
  text-decoration-color: var(--color-border);
}

@media (max-width: 560px) {
  .roadmap-item { gap: 16px; }
  .roadmap-item .step-text { font-size: 14px; }
}

/* ==================================================================
   DATA LIST（蓄積されるデータ）
   ================================================================== */
.data-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.data-item {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 24px 20px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

.data-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.data-item .glyph {
  font-family: var(--font-en);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
  width: 44px;
  height: 44px;
  line-height: 44px;
  border-radius: 50%;
  background: var(--color-primary-tint);
  margin: 0 auto 14px;
}

.data-item p {
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.7;
}

@media (max-width: 900px) {
  .data-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .data-grid { grid-template-columns: 1fr; }
}

/* ==================================================================
   TRY（実際に使ってみてください：最後のCTA）
   ================================================================== */
.try {
  padding-bottom: 110px;
}

.try-box {
  background: var(--color-primary);
  border-radius: var(--radius-lg);
  padding: 64px 56px;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.try-box .deco-dots {
  --dot-color: rgba(255, 255, 255, 0.22);
  width: 200px;
  height: 180px;
  top: -20px;
  left: -30px;
}

.try-box .deco-dots.right {
  left: auto;
  right: -30px;
  top: auto;
  bottom: -20px;
}

.try-box .inner {
  position: relative;
  z-index: 1;
}

.try-box .en {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  opacity: 0.9;
}

.try-box h2 {
  margin-top: 12px;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.6;
}

.try-box p {
  margin-top: 18px;
  font-size: 15px;
  line-height: 1.95;
  color: rgba(255, 255, 255, 0.92);
}

.try-box .btn {
  margin-top: 34px;
}

@media (max-width: 768px) {
  .try { padding-bottom: 76px; }
  .try-box { padding: 44px 24px; }
}

/* ==================================================================
   INTERVIEW（開発した部員に聞きました）
   ================================================================== */
.interview-card {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  background: var(--color-bg-warm);
  border-radius: var(--radius-lg);
  padding: 48px;
  align-items: start;
}

.interview-photo {
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-sm);
  background: #fff;
  border: 2px dashed var(--color-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--color-text-mute);
  overflow: hidden;
}

/* 写真がある場合はダッシュ枠を消して実画像をそのまま見せる */
.interview-photo:has(img) {
  border-style: solid;
  padding: 0;
}

.interview-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

.interview-photo svg {
  width: 56px;
  height: 56px;
  stroke: var(--color-text-mute);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.interview-photo span {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.interview-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text);
  padding-bottom: 20px;
  margin-bottom: 24px;
  border-bottom: 2px solid var(--color-primary);
}

.interview-name small {
  display: block;
  margin-top: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: 0.06em;
}

.qa-item {
  margin-bottom: 26px;
}

.qa-item:last-child {
  margin-bottom: 0;
}

.qa-item .q {
  display: block;
  font-weight: 700;
  color: var(--color-primary-dark);
  font-size: 14.5px;
  margin-bottom: 10px;
}

.qa-item .a {
  font-size: 14.5px;
  line-height: 1.95;
  color: var(--color-text-sub);
}

@media (max-width: 720px) {
  .interview-card {
    grid-template-columns: 1fr;
    padding: 32px 24px;
    gap: 28px;
  }
  .interview-photo {
    max-width: 200px;
    margin: 0 auto;
    aspect-ratio: 1;
  }
}

/* ==================================================================
   WIDGET TRIO（実際のチャットウィジェット3態を並べる）
   ================================================================== */
.widget-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 900px;
  margin: 0 auto;
}

.widget-trio figure {
  margin: 0;
}

.widget-trio .widget-shot {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: transform var(--transition), box-shadow var(--transition);
}

.widget-trio .widget-shot:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.widget-trio .widget-shot img {
  width: 100%;
  height: auto;
  display: block;
}

.widget-trio figcaption {
  margin-top: 14px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-sub);
  line-height: 1.7;
}

.widget-trio figcaption strong {
  display: block;
  font-size: 14px;
  color: var(--color-text);
  margin-bottom: 2px;
}

@media (max-width: 700px) {
  .widget-trio { grid-template-columns: 1fr; max-width: 320px; }
}

/* ==================================================================
   BROWSER FRAME（管理画面キャプチャのモックアップ表示）
   ================================================================== */
.browser-frame {
  background: #fff;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.browser-frame:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.browser-frame .bar {
  height: 36px;
  background: var(--color-bg-warm);
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
}

.browser-frame .bar .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--color-border);
  flex-shrink: 0;
}

.browser-frame .bar .dot.d1 { background: var(--color-coral); }
.browser-frame .bar .dot.d2 { background: var(--color-yellow); }
.browser-frame .bar .dot.d3 { background: var(--color-primary); }

.browser-frame .bar .url {
  margin-left: 10px;
  font-family: var(--font-en);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--color-text-mute);
}

.browser-frame .shot-scroll {
  max-height: 340px;
  overflow: hidden;
  position: relative;
}

.browser-frame .shot-scroll img {
  width: 100%;
  height: auto;
  display: block;
}

.browser-frame .shot-scroll::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 64px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 92%);
  pointer-events: none;
}

.browser-frame figcaption {
  padding: 16px 20px 20px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--color-text-sub);
  line-height: 1.8;
}

.browser-frame figcaption strong {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 4px;
}

/* 見出し＋説明とセットの2カラム構成（機能の実物紹介） */
.showcase-row {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
}

.showcase-row:not(:last-child) { margin-bottom: 90px; }

.showcase-row.is-reverse .showcase-text { order: 2; }
.showcase-row.is-reverse .browser-frame { order: 1; }

.showcase-text .en {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--color-primary);
}

.showcase-text h3 {
  margin-top: 12px;
  font-size: clamp(19px, 2.2vw, 24px);
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.7;
}

.showcase-text p {
  margin-top: 16px;
  font-size: 14.5px;
  color: var(--color-text-sub);
  line-height: 1.9;
}

.showcase-text ul {
  margin-top: 18px;
}

.showcase-text ul li {
  position: relative;
  padding-left: 22px;
  font-size: 13.5px;
  color: var(--color-text-sub);
  margin-bottom: 8px;
}

.showcase-text ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--color-primary-tint);
  border: 2px solid var(--color-primary);
}

/* キャプチャ2枚を並べるグリッド（自動取得の例） */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

@media (max-width: 900px) {
  .showcase-row {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .showcase-row.is-reverse .showcase-text,
  .showcase-row.is-reverse .browser-frame {
    order: initial;
  }
  .showcase-row:not(:last-child) { margin-bottom: 56px; }
  .browser-frame .shot-scroll { max-height: 260px; }
  .showcase-grid { grid-template-columns: 1fr; }
}

/* ---------- スクロール表示アニメーション ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
