@charset "utf-8";
/* ============================
       Reset & Base
    ============================ */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { font-size: 18px; scroll-behavior: smooth; }
    body {
      font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Meiryo', sans-serif;
      color: #333;
      background: #fff;
      line-height: 1.7;
      overflow-x: hidden;   /* 横スクロール・はみ出し防止 */
    }
    img { max-width: 100%; height: auto; display: block; }
    a { color: inherit; text-decoration: none; }
    ul { list-style: none; }

    /* ============================
       Color Tokens
    ============================ */
    :root {
      --blue-primary:   #0077F3;
      --blue-dark:      #0361C3;
      --blue-light:     #e8f4fb;
      --blue-bg:        #d6edf8;
      --yellow:         #f5c400;
      --yellow-light:   #fff8dc;
      --orange:         #f5891e;
      --text-dark:      #222;
      --text-mid:       #444;
      --text-light:     #666;
      --text-dark:      #222;
      --border:         #ddd;
      --section-bg:     #f4f8fb;
    }

    /* ============================
       Header — 1枚画像・中央配置
    ============================ */
    .site-header {
      background: #fff;
      border-bottom: 1px solid var(--border);
      padding: 12px 20px;
      text-align: center;
      position: relative;   /* お問い合わせボタンの基点 */
    }
    .site-header .header-img img {
      height: auto;
      width: 805px;
      max-width: 100%;
      margin: 0 auto;
    }
    /* ヘッダー右上のお問い合わせボタン */
    .header-contact-btn {
      position: absolute;
      top: 12px;             /* 上端から固定距離に配置 */
      right: 20px;
      transform: none;       /* translateY(-50%) を解除 */
      background: transparent;
      color: #888;
      border: none;
      font-size: 0.78rem;
      font-weight: 600;
      padding: 6px 4px;
      border-radius: 4px;
      white-space: nowrap;
      transition: color 0.2s;
      display: inline-flex;
      align-items: center;
      gap: 5px;
    }
    .header-contact-btn:hover { color: #555; }
    /* アイコン画像 */
    .header-contact-btn .contact-icon {
      width: 18px;
      height: 18px;
      display: inline-block;
      flex-shrink: 0;
    }
    .header-contact-btn .contact-icon img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      display: block;
    }
    @media (max-width: 600px) {
      .header-contact-btn {
        position: static;
        transform: none;
        display: inline-flex;
        margin: 8px auto 0;
      }
    }

    /* ============================
       Hero スライダー
    ============================ */
    .hero {
      background: linear-gradient(135deg, #e0f2fb 0%, #f0faff 100%);
      padding: 0;
      position: relative;
      overflow: hidden;
    }

    /* ---- スライダー本体 ---- */
    .slider-wrapper {
      position: relative;
      width: 100%;
      overflow: hidden;
    }
    .slider-track {
      display: flex;
      transition: transform 0.5s ease;
      will-change: transform;
      /* track自体が画面幅を超えないよう制限 */
      width: 100%;
    }
    .slide {
      /* 100vw を使うことで font-size に依存せず確実に画面幅になる */
      min-width: 100vw;
      max-width: 100vw;
      flex-shrink: 0;
      overflow: hidden;   /* 念のため内側からもはみ出し防止 */
    }
    /* picture タグにも幅を効かせる */
    .slide picture {
      display: block;
      width: 100%;
    }
    .slide img {
      width: 100%;
      max-width: 100%;
      height: auto;
      object-fit: contain;
      display: block;
      max-height: min(510px, 55vw);
    }
    @media (max-width: 600px) {
      .slide img {
        max-height: none;   /* SP縦長画像は高さ制限なしで全体表示 */
      }
    }
    /* 矢印ボタン */
    .slider-btn {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background: rgba(255,255,255,0.85);
      border: none;
      border-radius: 50%;
      width: 40px;
      height: 40px;
      padding: 0;
      cursor: pointer;
      z-index: 10;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 2px 8px rgba(0,0,0,0.15);
      color: var(--blue-dark);
      transition: background 0.2s;
    }
    .slider-btn:hover { background: #fff; }
    .slider-btn.prev { left: 12px; }
    .slider-btn.next { right: 12px; }
    /* ドット */
    .slider-dots {
      display: flex;
      justify-content: center;
      gap: 8px;
      padding: 14px 0;
    }
    .slider-dots button {
      width: 15px; height: 15px;
      border-radius: 50%;
      background: var(--border);
      border: none;
      cursor: pointer;
      padding: 0;
      transition: background 0.2s;
    }
    .slider-dots button.active { background: var(--blue-primary); }

    /* ============================
       固定フローティングボタン（右下）
    ============================ */
    .floating-cta {
      position: fixed;
      bottom: 24px;
      right: 20px;
      z-index: 999;
      display: flex;
      flex-direction: column;
      gap: 10px;
      align-items: flex-end;
    }
    /* 固定バナー */
    .floating-banner {
      display: block;
      width: 210px;          /* 140px × 1.5倍 */
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 4px 18px rgba(0,0,0,0.22);
      transition: opacity 0.2s, transform 0.2s;
      flex-shrink: 0;
    }
    .floating-banner img {
      width: 100%;
      height: auto;
      display: block;
    }
    .floating-banner:hover { opacity: 0.92; transform: translateY(-2px); }
    /* お申込みボタン（オレンジ） */
    .btn-primary {
      display: inline-block;
      background: linear-gradient(135deg, #ff8c00, #e85d00);
      color: #fff;
      font-size: 1.05rem;
      font-weight: 700;
      padding: 14px 18px;
      border-radius: 14px;
      box-shadow: 0 4px 18px rgba(232,93,0,0.50);
      transition: opacity 0.2s, transform 0.2s;
      cursor: pointer;
      border: none;
      white-space: normal;
      width: 210px;          /* バナーと同幅（140px × 1.5倍） */
      text-align: center;
      line-height: 1.5;
    }
    .btn-primary:hover { opacity: 0.9; transform: translateY(-2px); }
    .btn-outline {
      display: inline-block;
      background: #fff;
      color: var(--blue-primary);
      border: 2px solid var(--blue-primary);
      font-size: 0.88rem;
      font-weight: 700;
      padding: 10px 18px;
      border-radius: 50px;
      box-shadow: 0 2px 10px rgba(0,0,0,0.12);
      transition: background 0.2s, color 0.2s;
      cursor: pointer;
      white-space: nowrap;
      text-align: center;
    }
    .btn-outline:hover { background: var(--blue-primary); color: #fff; }

    /* ============================
       Program Target & Goals
    ============================ */
	
	.movie {
		width 			: 80%;
		height 			: auto;
		margin 			: 0 auto; 
		& iframe {
			width 		: 100%;
			height 		: auto;
			aspect-ratio: 16 / 9;
		}
	}

    /* ============================
       教材構成（1枚画像）
    ============================ */
    .materials-single {
      text-align: center;
    }
    .materials-single picture {
      display: block;
      width: 100%;
    }
    .materials-single img {
      width: 100%;
      max-width: 1100px;
      height: auto;
      border-radius: 10px;
      margin: 0 auto;
    }

    /* ============================
       Section Common
    ============================ */
    .section { padding: 60px 20px; }
    .section.bg-light { background: var(--section-bg); }
    .section-inner { max-width: 960px; margin: 0 auto; }
    .section-title {
      text-align: center;
      font-size: 1.5rem;
      font-weight: 900;
      color: var(--blue-primary);
      margin-bottom: 36px;
      position: relative;
    }
    .section-title::after {
      content: '';
      display: block;
      width: 48px;
      height: 4px;
      background: linear-gradient(90deg, var(--blue-primary), var(--yellow));
      border-radius: 2px;
      margin: 10px auto 0;
    }

    /* ============================
       Program Target & Goals
    ============================ */
    .target-goals {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 24px;
    }
    @media (max-width: 640px) { .target-goals { grid-template-columns: 1fr; } }
    .target-card {
      background: #fff;
      border: 1px solid var(--border);
      border-radius: 10px;
      overflow: hidden;
    }
    .target-card-header {
      background: var(--blue-primary);
      color: #fff;
      font-weight: 700;
      font-size: 0.95rem;
      padding: 10px 18px;
    }
    .target-card-body { padding: 18px; }
    .target-row { display: flex; gap: 12px; margin-bottom: 12px; font-size: 0.9rem; }
    .target-label {
      background: var(--blue-bg);
      color: var(--blue-dark);
      font-weight: 700;
      padding: 2px 10px;
      border-radius: 4px;
      white-space: nowrap;
      font-size: 0.82rem;
      align-self: flex-start;
      margin-top: 2px;
    }
    .target-value { color: var(--text-mid); }
    .goals-list { padding-left: 0; }
    .goals-list li {
      display: flex;
      gap: 8px;
      font-size: 0.88rem;
      color: var(--text-mid);
      margin-bottom: 10px;
    }
    .goals-list li::before {
      content: '●';
      color: var(--blue-primary);
      flex-shrink: 0;
      margin-top: 2px;
    }
    .goals-list strong { color: var(--text-dark); }

    /* ============================
       Features
    ============================ */
    .features-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
    }
    @media (max-width: 640px) { .features-grid { grid-template-columns: 1fr; } }
    .feature-card {
      background: #fff;
      border: 1px solid var(--border);
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 2px 10px rgba(0,0,0,0.06);
      display: flex;
      flex-direction: column;
    }
    .feature-badge {
      background: var(--blue-primary);
      color: #fff;
      font-size: 0.8rem;
      font-weight: 700;
      padding: 6px 0;
      text-align: center;
    }
    .feature-img {
      background: var(--section-bg);
      height: 140px;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
    }
    .feature-img img { width: 100%; height: 100%; object-fit: cover; }
    .feature-body { padding: 14px 16px; flex: 1; font-size: 0.84rem; color: var(--text-mid); }
    .orange { color: #FF7800; font-weight: 600;}
    .feature-footer {
      padding: 10px 16px 16px;
      text-align: center;
    }
    .btn-sm {
      display: inline-block;
      background: linear-gradient(135deg, var(--blue-primary), var(--blue-dark));
      color: #fff;
      font-size: 0.82rem;
      font-weight: 700;
      padding: 8px 18px;
      border-radius: 50px;
      border: none;
      outline: none;
      box-shadow: 0 2px 8px rgba(33,150,196,0.3);
      transition: opacity 0.2s;
      cursor: pointer;
    }
    .btn-sm:hover { opacity: 0.88; }
    .feature-note {
      text-align: center;
      color: var(--blue-dark);
      font-size: 0.9rem;
      font-weight: 700;
      margin: 24px 0 10px;
      background: var(--yellow-light);
      border: 1px dashed var(--yellow);
      border-radius: 8px;
      padding: 12px 20px;
    }

    /* ============================
       教材構成
    ============================ */
    .materials-note {
      text-align: center;
      font-size: 0.88rem;
      color: var(--text-light);
      margin-bottom: 20px;
    }
    .materials-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
    }
    @media (max-width: 640px) { .materials-grid { grid-template-columns: 1fr; } }
    .material-card {
      background: #fff;
      border: 1px solid var(--border);
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 1px 6px rgba(0,0,0,0.06);
    }
    .material-card-header {
      background: var(--blue-dark);
      color: #fff;
      font-size: 0.8rem;
      font-weight: 700;
      padding: 7px 12px;
    }
    .material-card-img {
      background: var(--section-bg);
      height: 110px;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
    }
    .material-card-img img { width: 100%; height: 100%; object-fit: cover; }
    .material-card-body { padding: 10px 12px; font-size: 0.82rem; color: var(--text-mid); }
    .material-caption {
      text-align: center;
      font-size: 0.78rem;
      color: var(--text-light);
      margin-top: 14px;
    }

    /* ============================
       Voices
    ============================ */
    .voice-card {
      background: #fff;
      border: 1px solid var(--border);
      border-radius: 12px;
      padding: 24px;
      margin-bottom: 24px;
      box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    }
    .voice-card.teacher { border-top: 4px solid var(--blue-primary); }
    .voice-card.student { border-top: 4px solid var(--orange); }
    .voice-header { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
    .voice-avatar {
      width: 56px; height: 56px;
      border-radius: 50%;
      background: var(--blue-bg);
      display: flex; align-items: center; justify-content: center;
      font-size: 1.5rem; flex-shrink: 0; overflow: hidden;
    }
    .voice-avatar img { width: 100%; height: 100%; object-fit: cover; }
    .voice-role { font-size: 1rem; font-weight: 700; color: var(--blue-dark); }
    .voice-card.student .voice-role { color: var(--orange); }
    .voice-qa-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 20px;
      margin-bottom: 20px;
    }
    @media (max-width: 580px) { .voice-qa-grid { grid-template-columns: 1fr; } }
    .voice-q { font-size: 0.82rem; font-weight: 700; color: var(--text-dark); margin-bottom: 8px; }
    .voice-chart {
      background: var(--section-bg);
      border-radius: 8px;
      height: 110px;
      display: flex; align-items: center; justify-content: center;
      font-size: 0.78rem; color: var(--text-light);
    }
    .voice-good-label {
      font-weight: 700; font-size: 0.92rem;
      color: var(--blue-primary);
      margin-bottom: 10px;
      padding-bottom: 6px;
      border-bottom: 2px solid var(--blue-bg);
    }
    .voice-card.student .voice-good-label { color: var(--orange); border-bottom-color: #fce8d2; }
    .voice-comment-group { margin-bottom: 14px; }
    .voice-comment-title { font-size: 0.82rem; font-weight: 700; color: var(--blue-dark); margin-bottom: 6px; }
    .voice-comment-title::before { content: '＜'; }
    .voice-comment-title::after { content: '＞'; }
    .voice-comment-list li {
      font-size: 0.82rem; color: var(--text-mid);
      padding-left: 16px; position: relative; margin-bottom: 4px;
    }
    .voice-comment-list li::before {
      content: '●'; position: absolute; left: 0;
      color: var(--blue-primary); font-size: 0.7rem; top: 4px;
    }
    .voice-card.student .voice-comment-list li::before { color: var(--orange); }
    .voice-more {
      font-size: 0.78rem;
      color: #bbb;                  /* 薄いグレー */
      text-decoration: none;        /* 下線なし */
      cursor: pointer;
      display: flex;
      justify-content: flex-end;
      align-items: center;
      gap: 4px;
      margin-top: 6px;
      background: none;
      border: none;
      padding: 0;
      width: 100%;
      font-family: inherit;
    }
    .voice-more::after {
      content: '▼';
      font-size: 0.6rem;
      transition: transform 0.25s;
    }
    .voice-more.open::after { transform: rotate(180deg); }
    .voice-more-body {
      display: none;
      margin-top: 8px;
    }
    .voice-more-body.open { display: block; }
    .voice-more-body li {
      font-size: 0.82rem;
      color: var(--text-mid);
      padding-left: 16px;
      position: relative;
      margin-bottom: 4px;
    }
    .voice-more-body li::before {
      content: '●';
      position: absolute;
      left: 0;
      color: var(--blue-primary);
      font-size: 0.7rem;
      top: 4px;
    }
    .voice-card.student .voice-more-body li::before { color: var(--orange); }

    /* ============================
       特長モーダル（ポップアップ）
    ============================ */
    .modal-overlay {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.65);
      z-index: 2000;
      align-items: center;
      justify-content: center;
      /* ×ボタンが外にはみ出す分の余白を確保 */
      padding: 36px 20px 20px;
    }
    .modal-overlay.open { display: flex; }

    /* ×ボタンのはみ出しを包む外側ラッパー */
    .modal-outer {
      position: relative;
      max-width: 1200px;
      width: 100%;
      /* ×ボタン分の上余白 */
      padding-top: 24px;
    }

    .modal-box {
      background: #fff;
      border-radius: 14px;
      width: 100%;
      /* 画面高の85%を上限にスクロール */
      max-height: calc(85vh - 24px);
      overflow-y: auto;
      overflow-x: hidden;
      box-shadow: 0 8px 40px rgba(0,0,0,0.30);
      position: relative;
      animation: modalIn 0.25s ease;

      /* ==============================
         スクロールバーのデザイン
         （Webkit系：Chrome / Safari / Edge）
      ============================== */
      scrollbar-width: thin;                        /* Firefox */
      scrollbar-color: var(--blue-primary) #e8f4fb; /* Firefox: thumb / track */
    }
    /* Webkit スクロールバー */
    .modal-box::-webkit-scrollbar {
      width: 8px;
    }
    .modal-box::-webkit-scrollbar-track {
      background: #e8f4fb;
      border-radius: 0 14px 14px 0; /* 右角丸に合わせる */
    }
    .modal-box::-webkit-scrollbar-thumb {
      background: linear-gradient(180deg, var(--blue-primary), var(--blue-dark));
      border-radius: 4px;
      border: 2px solid #e8f4fb;    /* track との間に隙間 */
    }
    .modal-box::-webkit-scrollbar-thumb:hover {
      background: var(--blue-dark);
    }
    @keyframes modalIn {
      from { opacity: 0; transform: scale(0.94) translateY(12px); }
      to   { opacity: 1; transform: scale(1)    translateY(0);     }
    }
    .modal-close {
      position: absolute;
      /* modal-outer の右上に配置（padding-top:24px の帯の中に収める） */
      top: 0; right: 0;
      background: #fff;
      border: 3px solid var(--blue-primary);
      border-radius: 50%;
      width: 40px; height: 40px;
      font-size: 1.1rem;
      cursor: pointer;
      display: flex; align-items: center; justify-content: center;
      color: var(--blue-primary);
      font-weight: 700;
      box-shadow: 0 2px 8px rgba(0,0,0,0.20);
      transition: background 0.2s, color 0.2s;
      z-index: 10;
    }
    .modal-close:hover {
      background: var(--blue-primary);
      color: #fff;
    }
    .modal-img-wrap {
      padding: 0;
      background: transparent;
      text-align: center;
    }
    .modal-img-wrap picture {
      display: block;
      width: 100%;
    }
    .modal-img-wrap img {
      max-width: 100%;
      height: auto;
      border-radius: 14px;
      display: block;
      margin: 0 auto;
    }

    /* ============================
       円グラフ画像エリア
    ============================ */
    .voice-chart {
      background: var(--section-bg);
      border-radius: 8px;
      /* グラフ画像サイズに合わせて高さ調整 */
      min-height: 250px;
      display: flex; align-items: center; justify-content: center;
      overflow: hidden;
      padding: 8px;
    }
    .voice-chart img {
      width: 100%;
      max-width: 350px;
      height: auto;
      display: block;
      margin: 0 auto;
    }

    /* ============================
       Partners
    ============================ */
    .partners-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 10px 30px;
    }
    @media (min-width: 640px) { .partners-grid { grid-template-columns: repeat(3, 1fr); } }
    .partner-name { font-size: 0.88rem; color: var(--text-mid); padding: 6px 0; border-bottom: 1px solid var(--border); }

    /* ============================
       CTA Section
    ============================ */
    .cta-section {
      background: linear-gradient(135deg, var(--blue-bg) 0%, #e0f2fb 100%);
      padding: 50px 20px;
      text-align: center;
    }
    /* お申込みボタン：オレンジ */
    .cta-section .cta-btn-primary {
      display: block;
      background: linear-gradient(135deg, #ff8c00, #e85d00);
      color: #fff;
      font-size: 1.1rem;
      font-weight: 700;
      padding: 16px 48px;
      border-radius: 50px;
      box-shadow: 0 4px 18px rgba(232,93,0,0.45);
      max-width: 380px;
      margin: 0 auto 18px;
      text-align: center;
      transition: opacity 0.2s, transform 0.2s;
    }
    .cta-section .cta-btn-primary:hover { opacity: 0.9; transform: translateY(-2px); }
    /* お問い合わせ：枠なし・グレー・アイコン付き */
    .cta-section .cta-btn-outline {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      background: #fff;      /* 白背景に戻す */
      color: #888;
      border: none;
      font-size: 0.95rem;
      font-weight: 600;
      padding: 12px 28px;
      border-radius: 50px;
      margin: 0 auto;
      transition: color 0.2s, background 0.2s;
      cursor: pointer;
      box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    }
    .cta-section .cta-btn-outline:hover { color: #555; background: #f5f5f5; }
    /* CTAお問い合わせのアイコン画像 */
    .cta-contact-icon {
      width: 20px;
      height: 20px;
      flex-shrink: 0;
      display: inline-block;
    }
    .cta-contact-icon img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      display: block;
    }

    /* ============================
       Footer
    ============================ */
    .site-footer {
      background: #222;
      color: #aaa;
      font-size: 0.82rem;
      padding: 32px 20px;
    }
    .footer-inner {
      max-width: 960px;
      margin: 0 auto;
      display: flex;
      align-items: flex-start;
      gap: 28px;
      flex-wrap: wrap;
    }
    .footer-logo img { height: 22px; filter: brightness(0) invert(1); margin-bottom: 8px; }
    .footer-company { font-weight: 700; color: #fff; font-size: 0.95rem; margin-bottom: 6px; }
    .footer-address { font-size: 0.78rem; line-height: 1.8; }
    .footer-links {
      margin-left: auto;
      display: flex; gap: 16px; flex-wrap: wrap; align-items: center;
    }
    .footer-links a { color: #aaa; font-size: 0.8rem; }
    .footer-links a:hover { color: #fff; }
    .footer-cta {
      background: var(--blue-primary);
      color: #fff;
      font-size: 0.8rem;
      font-weight: 700;
      padding: 8px 18px;
      border-radius: 6px;
      white-space: nowrap;
    }
    .copyright { text-align: center; margin-top: 24px; font-size: 0.75rem; color: #666; }

    /* ============================
       Responsive
    ============================ */
    @media (max-width: 768px) {
      .hero-text-block .main-catch { font-size: 1.15rem; }
      .section-title { font-size: 1.25rem; }
      .features-grid { grid-template-columns: 1fr; }
      .footer-links { margin-left: 0; }
      .floating-cta { bottom: 16px; right: 12px; }
      .floating-banner { width: 165px; }
      .btn-primary { width: 165px; font-size: 0.88rem; padding: 11px 12px; }
    }
    @media (max-width: 480px) {
      .floating-banner { width: 135px; }
      .btn-primary { width: 135px; font-size: 0.8rem; }
    }