:root {
    /* カラーパレット：信頼感と優しさのベースに、温かみをプラス */
    --color-gray-base: #5c6266;
    --color-celeste: #81D8D0;
    --color-celeste-light: #E0F5F3;
    --color-deep-green-blue: #144955;
    --color-accent-warm: #E68A69;
    --color-bg-light: #F7FAFA;
    --color-bg-white: #ffffff;
    --color-text-main: #333C40;
    
    /* タイポグラフィ：信頼感重視 */
    --font-body: 'Noto Sans JP', sans-serif;
    --font-en: 'Outfit', sans-serif;
    --line-height-base: 1.8;
  }

  /* Reset & Base */
  * { margin: 0; padding: 0; box-sizing: border-box; }
  body {
    font-family: var(--font-body);
    color: var(--color-text-main);
    background-color: var(--color-bg-light);
    line-height: var(--line-height-base);
    font-size: clamp(15px, 1.1vw, 17px);
    overflow-x: hidden;
    letter-spacing: 0.04em;
  }
  a { text-decoration: none; color: inherit; }
  ul { list-style: none; }
  img { max-width: 100%; height: auto; display: block; }

  /* 共通レイアウト */
  .section {
    padding-top: 12vw; /* 上書きされないよう個別に指定 */
    padding-bottom: 12vw;
    position: relative;
    z-index: 2;
  }
  .container-dynamic {
    width: 100%;
    padding-left: 7vw;
    padding-right: 7vw;
    position: relative;
  }
  .container-dynamic.reverse {
    padding-left: 7vw;
    padding-right: 7vw;
  }

  /* 見出しスタイル */
  .sec-title {
    font-size: clamp(28px, 3.5vw, 42px);
    color: var(--color-deep-green-blue);
    margin-bottom: 4.5rem; /* タイトル下の余白を広げる */
    font-weight: 800;
    position: relative;
    display: inline-block;
    z-index: 1;
    letter-spacing: 0.08em;
  }
  .sec-title::after {
    content: "";
    display: block;
    width: 50px;
    height: 4px;
    background-color: var(--color-celeste);
    margin-top: 15px;
    border-radius: 2px;
  }

  /* ボタン（モダンでデザイン性のある丸アイコン付きスタイル） */
  .btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 0.6rem 0.6rem 2.5rem; /* 右側は丸アイコン分を空ける */
    background-color: var(--color-deep-green-blue);
    color: #fff;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 8px 20px rgba(20, 73, 85, 0.15);
    border: 2px solid var(--color-deep-green-blue);
    cursor: pointer;
    max-width: 100%;
    white-space: normal; 
    text-align: center;
    line-height: 1.4;
    overflow: hidden; /* ホバー背景のはみ出しを防ぐ */
    z-index: 1;
  }
  
  /* ホバー時の背景スライド */
  .btn::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 0%; height: 100%;
    background-color: var(--color-celeste);
    transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: -1;
  }

  /* 丸い矢印アイコン */
  .btn::after {
    content: "➔";
    margin-left: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px; height: 45px;
    background-color: #fff;
    color: var(--color-deep-green-blue);
    border-radius: 50%;
    font-family: var(--font-en);
    font-size: 1.2rem;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  }

  .btn:hover {
    color: var(--color-deep-green-blue);
    border-color: var(--color-celeste);
    box-shadow: 0 15px 25px rgba(129, 216, 208, 0.3);
    transform: translateY(-4px);
  }
  .btn:hover::before {
    width: 100%;
  }
  .btn:hover::after {
    background-color: var(--color-deep-green-blue);
    color: #fff;
    transform: translateX(3px); /* 矢印が少し右へ */
  }

  /* ヘッダー用アウトラインボタン */
  .btn-outline {
    background-color: transparent;
    color: var(--color-deep-green-blue);
    border: 2px solid var(--color-deep-green-blue);
    box-shadow: none;
    padding: 0.4rem 0.4rem 0.4rem 1.5rem !important; /* スマホでも崩れないように強制指定 */
  }
  .btn-outline::after {
    width: 32px; height: 32px;
    font-size: 1rem;
    margin-left: 10px;
    background-color: var(--color-deep-green-blue);
    color: #fff;
  }
  .btn-outline:hover {
    border-color: var(--color-deep-green-blue);
    color: #fff;
  }
  .btn-outline:hover::before {
    background-color: var(--color-deep-green-blue);
  }
  .btn-outline:hover::after {
    background-color: #fff;
    color: var(--color-deep-green-blue);
  }

  /* カレンダー用ボタン */
  .btn-calendar {
    background-color: rgba(255,255,255,0.05);
    color: #fff;
    border: 2px solid rgba(255,255,255,0.6);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  }
  .btn-calendar::after {
    background-color: #fff;
    color: var(--color-deep-green-blue);
  }
  .btn-calendar:hover {
    border-color: #fff;
    color: var(--color-deep-green-blue);
    box-shadow: 0 12px 25px rgba(0,0,0,0.2);
  }
  .btn-calendar:hover::before {
    background-color: #fff;
  }
  .btn-calendar:hover::after {
    background-color: var(--color-deep-green-blue);
    color: #fff;
  }

  /* CTA専用の白ベースボタン */
  .btn-cta {
    background-color: #fff;
    color: var(--color-deep-green-blue);
    border-color: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  }
  .btn-cta::before {
    background-color: var(--color-accent-warm); /* ホバー時のスライド色をテラコッタに */
  }
  .btn-cta::after {
    background-color: var(--color-deep-green-blue);
    color: #fff;
  }
  .btn-cta:hover {
    color: #fff;
    border-color: var(--color-accent-warm);
    box-shadow: 0 15px 35px rgba(230, 138, 105, 0.4);
  }
  .btn-cta:hover::after {
    background-color: #fff;
    color: var(--color-accent-warm);
  }

  /* ヘッダー */
  header.global-header {
    position: fixed;
    top: 20px; left: 2vw; right: 2vw; width: auto;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 10px 30px; 
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  }
  
  /* ロゴエリア */
  .header-logo-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
  }
  .header-logo {
    display: block;
    width: 50px;
    flex-shrink: 0;
  }
  .header-logo img {
    width: 100%;
    height: auto;
    display: block;
  }
  .header-logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .header-logo-text .catch {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-celeste);
    letter-spacing: 0.05em;
    line-height: 1.2;
    margin-bottom: 2px;
  }
  .header-logo-text .name {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--color-deep-green-blue);
    font-family: var(--font-en);
    line-height: 1.1;
  }

  .global-nav ul { display: flex; gap: 2vw; align-items: center;}
  .global-nav a { font-size: 1.05rem; font-weight: 700; color: var(--color-gray-base); transition: color 0.3s; }
  .global-nav a:hover { color: var(--color-celeste); }

  /* 言語切り替え */
  .lang-switcher {
    margin-left: 2vw;
    font-family: var(--font-en);
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-left: 2vw;
    border-left: 1px solid rgba(0,0,0,0.1);
  }
  .lang-switcher a { color: var(--color-gray-base); transition: color 0.3s; }
  .lang-switcher a.active { color: var(--color-deep-green-blue); border-bottom: 2px solid var(--color-celeste); }
  .lang-switcher a:hover { color: var(--color-celeste); }

  /* メインビジュアル (Hero) */
  .hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
    display: flex;
    align-items: flex-end; 
    padding: 0 8vw 10vh; 
    border-radius: 0 0 30px 30px; 
  }
  .hero-slider {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1;
    /* 読み込み直後やフェードの隙間で背景が沈まないよう1枚目を敷く */
    background-image: url('../images/DSC00460.jpg');
    background-size: cover;
    background-position: center;
  }
  .hero-slide {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: heroFadeInOut 42s infinite ease-in-out;
  }
  .hero-slide:nth-child(1) { background-image: url('../images/DSC00460.jpg'); animation-delay: 0s; }
  .hero-slide:nth-child(2) { background-image: url('../images/DSC00823.jpg'); animation-delay: 7s; }
  .hero-slide:nth-child(3) { background-image: url('../images/DSC01090.jpg'); animation-delay: 14s; }
  .hero-slide:nth-child(4) { background-image: url('../images/DSC00294.jpg'); animation-delay: 21s; }
  .hero-slide:nth-child(5) { background-image: url('../images/DSC00911.jpg'); animation-delay: 28s; }
  .hero-slide:nth-child(6) { background-image: url('../images/DSC00576.jpg'); animation-delay: 35s; }

  /*
    写真がはっきり見えるよう、全体の青みは最小限に。
    文字が乗る左下だけを暗くして可読性を確保する。
  */
  .hero-overlay {
    position: absolute; top:0; left:0; width:100%; height:100%;
    background:
      linear-gradient(
        to top,
        rgba(9, 38, 46, 0.60) 0%,
        rgba(9, 38, 46, 0.32) 26%,
        rgba(9, 38, 46, 0.12) 55%,
        rgba(9, 38, 46, 0) 80%
      ),
      linear-gradient(
        135deg,
        rgba(20, 73, 85, 0.26) 0%,
        rgba(20, 73, 85, 0.06) 55%,
        rgba(20, 73, 85, 0.14) 100%
      );
    z-index: 2;
  }

  @keyframes heroFadeInOut {
    0% { opacity: 0; transform: scale(1.06); }
    4% { opacity: 1; }
    16% { opacity: 1; }
    21% { opacity: 0; transform: scale(1); }
    100% { opacity: 0; transform: scale(1); }
  }

  .hero-content {
    position: relative;
    z-index: 3;
    color: #fff;
    max-width: 850px;
  }
  .hero-catch {
    font-size: clamp(20px, 5vw, 60px); 
    font-weight: 800;
    line-height: 1.6;
    margin-bottom: 20px;
    /* 透かしを薄くしたぶん、文字側で可読性を担保する */
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5), 0 6px 24px rgba(0, 0, 0, 0.35);
    word-break: keep-all;
  }
  .hero-content p {
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5), 0 6px 20px rgba(0, 0, 0, 0.3);
  }
  .hero-catch-highlight {
    position: relative;
    display: inline; 
    z-index: 1;
    margin-top: 5px; 
    white-space: normal;
    background-image: linear-gradient(transparent 60%, var(--color-celeste) 60%, var(--color-celeste) 90%, transparent 90%);
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
  }
  .hero-catch-highlight::after {
    display: none;
  }

  /* ターゲット層 */
  .target-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 50px;
  }
  .target-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(20, 73, 85, 0.04);
    position: relative;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 2;
    border-top: 4px solid transparent;
  }
  .target-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(20, 73, 85, 0.1);
    border-top-color: var(--color-celeste);
  }
  .target-num {
    font-family: var(--font-en);
    font-size: 3.5rem;
    font-weight: 800;
    color: #d1dce0; /* コース紹介と同様に少し濃い色へ変更 */
    line-height: 1;
    margin-bottom: 10px;
    transition: color 0.4s;
  }
  .target-card:hover .target-num {
    color: var(--color-celeste);
  }
  .target-card h4 {
    font-size: 1.25rem;
    color: var(--color-deep-green-blue);
    margin-bottom: 15px;
    font-weight: 700;
  }

  /* インフォメーションエリア (メリハリをつけるダークな全幅帯) */
  .info-strip {
    background: linear-gradient(135deg, var(--color-deep-green-blue) 0%, #0b2c33 100%); /* 立体的なグラデーション */
    padding: 60px 4vw;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 10;
    margin: 0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2); /* 帯自体を浮かせるシャドウ */
    border-top: 1px solid rgba(255, 255, 255, 0.1); /* 上部のハイライトで厚みを表現 */
  }
  .info-strip-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    width: 100%;
    max-width: 1200px;
    justify-content: space-between;
  }
  .info-strip-text {
    font-weight: 700;
    color: #fff;
    font-size: clamp(18px, 1.8vw, 24px);
    display: flex;
    align-items: center;
    gap: 20px;
  }
  .clock-icon {
    width: 40px; height: 40px;
    border: 3px solid var(--color-celeste);
    border-radius: 50%;
    position: relative;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3), inset 0 2px 5px rgba(255,255,255,0.2); /* 時計アイコンも立体的に */
  }
  .clock-icon::before, .clock-icon::after {
    content: ""; position: absolute;
    background: var(--color-celeste);
    border-radius: 2px;
  }
  .clock-icon::before { width: 3px; height: 12px; top: 8px; left: 16px; box-shadow: 0 1px 2px rgba(0,0,0,0.2); }
  .clock-icon::after { width: 10px; height: 3px; top: 17px; left: 16px; box-shadow: 0 1px 2px rgba(0,0,0,0.2); }

  /* コース紹介 */
  .course-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 3vw;
    margin-bottom: 100px; /* 余白を広げて抜け感を出す */
    position: relative;
    z-index: 2;
  }
  .course-item {
    flex: 1 1 320px;
    background: linear-gradient(145deg, #ffffff 0%, #f0f4f5 100%); /* べた塗りを防ぐ上品なグラデーション */
    padding: 50px 40px;
    border-radius: 12px; 
    border: 1px solid rgba(20, 73, 85, 0.08); /* 輪郭をうっすらと描いて背景との境界を作る */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04), inset 0 2px 0 rgba(255, 255, 255, 1); /* 浮き上がるようなシャドウ */
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s;
  }
  .course-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(20, 73, 85, 0.12), inset 0 2px 0 rgba(255, 255, 255, 1);
  }
  
  .course-item::before {
    content: "0" counter(course-counter);
    counter-increment: course-counter;
    position: absolute;
    top: 30px; right: 30px;
    font-family: var(--font-en);
    font-size: 3rem;
    font-weight: 800;
    color: #d1dce0; /* 薄すぎた色を少し濃い色に変更して視認性をアップ */
    line-height: 1;
    transition: color 0.4s;
  }
  body { counter-reset: course-counter; }
  .course-item:hover::before { color: var(--color-celeste); } /* ホバー時の色を濃く鮮やかにしてメリハリを出す */

  .course-item h3 {
    color: var(--color-deep-green-blue);
    margin-bottom: 25px;
    font-size: 1.5rem;
    font-weight: 800;
    position: relative;
    z-index: 1;
  }
  .course-item p { flex-grow: 1; margin-bottom: 30px; color: var(--color-gray-base); position: relative; z-index: 1; }

  /* ViewMoreボタン */
  .view-more-btn {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    font-family: var(--font-en);
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--color-celeste);
    letter-spacing: 0.05em;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
    position: relative;
    z-index: 1;
  }
  .view-more-btn::after { content: " ➔"; margin-left: 8px; transition: transform 0.3s; }
  .course-item:hover .view-more-btn {
    color: var(--color-deep-green-blue);
    border-bottom-color: var(--color-deep-green-blue);
  }
  .course-item:hover .view-more-btn::after { transform: translateX(5px); }

  /* 案内バナー BOX */
  .info-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2vw;
    margin-top: 0; /* 見出しを追加したため上マージンをリセット */
    position: relative;
    z-index: 2;
  }
  .info-box {
    position: relative;
    color: #fff;
    padding: 60px 30px;
    text-align: center;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 240px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15); /* ボックス自体に強い影 */
    border-top: 1px solid rgba(255, 255, 255, 0.2); /* 上部ハイライトで厚み */
    border-bottom: 2px solid rgba(0, 0, 0, 0.4); /* 下部に暗いボーダーで厚み */
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s;
    transform: translateY(0);
  }
  .info-box-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; background-position: center;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 0;
  }
  .info-box::after {
    content: "";
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(20, 73, 85, 0.7);
    transition: background 0.4s;
    z-index: 1;
  }
  .info-box:nth-child(2)::after { background: rgba(129, 216, 208, 0.85); }
  .info-box:nth-child(2) .info-box-content h3 { color: var(--color-deep-green-blue); }
  .info-box:nth-child(2) .info-box-content span { color: rgba(20, 73, 85, 0.8); }

  /* ホバー時にボックス全体が浮き上がる */
  .info-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
  }
  .info-box:hover .info-box-bg { transform: scale(1.1); }
  .info-box:hover::after { background: rgba(20, 73, 85, 0.5); }
  .info-box:nth-child(2):hover::after { background: rgba(129, 216, 208, 0.7); }

  .info-box-content {
    position: relative; z-index: 2;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  }
  .info-box:hover .info-box-content { transform: translateY(-3px); }

  .info-box-content h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 5px;
    letter-spacing: 0.05em;
  }
  .info-box-content span {
    font-family: var(--font-en);
    font-size: 0.85rem;
    opacity: 0.8;
    letter-spacing: 0.15em;
    text-transform: uppercase;
  }

  /* CTAセクション (デザイン性を高めたリッチな表現) */
  .cta-section {
    position: relative;
    text-align: center;
    color: #fff;
    padding: 14vw 4vw;
    background-image: url('../images/DSC00823.jpg'); /* お問い合わせCTA背景 */
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* パララックス効果で奥行きを演出 */
  }
  .cta-section::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    /* ネイビーからチェレステへの美しいグラデーションオーバーレイ */
    background: linear-gradient(135deg, rgba(20, 73, 85, 0.95) 0%, rgba(129, 216, 208, 0.8) 100%);
    z-index: 1;
  }
  .cta-content { 
    position: relative; 
    z-index: 2; 
    max-width: 800px; 
    margin: 0 auto; 
  }
  .cta-content h2 {
    font-size: clamp(16px, 3.5vw, 40px);
    font-weight: 800;
    margin-bottom: 25px;
    letter-spacing: 0.05em;
    line-height: 1.4;
    text-shadow: 0 4px 15px rgba(0,0,0,0.2);
    white-space: nowrap;
  }
  .cta-content h2 .cta-title-line {
    display: block;
    width: 100%;
    text-align: center;
  }
  .cta-content p {
    margin-bottom: 50px;
    font-weight: 500;
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
  }

  /* フッター */
  footer {
    background: #0F172A; 
    color: #fff;
    padding: 80px 4vw 40px;
    overflow: hidden; /* マージンの突き抜け（白い領域）を完全に防ぐ */
  }
  .footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 60px; /* marginからpaddingに変更し、下部の謎の余白を解消 */
  }
  
  .footer-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  
  .footer-right {
    display: flex;
  }

  /* フッターロゴエリア */
  .footer-logo-wrap {
    display: flex;
    align-items: center;
    gap: 25px;
    text-decoration: none;
    margin-bottom: 40px;
  }
  .footer-logo {
    display: block;
    width: 90px; 
    flex-shrink: 0;
  }
  .footer-logo img {
    width: 100%;
    height: auto;
    display: block;
  }
  .footer-logo-text {
    display: flex;
    flex-direction: column;
    text-align: left;
  }
  .footer-logo-text .catch {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-celeste);
    letter-spacing: 0.05em;
    line-height: 1.2;
    margin-bottom: 5px;
  }
  .footer-logo-text .name {
    font-size: 1.6rem;
    font-weight: 800;
    font-family: var(--font-en);
    line-height: 1.2;
    color: #fff;
  }

  .footer-nav {
    display: grid;
    grid-template-columns: repeat(3, auto);
    gap: 60px;
  }
  .footer-nav ul { display: flex; flex-direction: column; gap: 15px; }
  .footer-nav a { font-weight: 500; opacity: 0.8; transition: opacity 0.3s; font-size: 1.05rem; }
  .footer-nav a:hover { opacity: 1; color: var(--color-celeste); }

  /* 追従CTA */
  .floating-cta { position: fixed; bottom: 30px; right: 30px; z-index: 999; }
  .circle-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FF9E7D 0%, var(--color-accent-warm) 100%);
    color: #fff;
    text-decoration: none;
    box-shadow: 
      0 12px 25px rgba(230, 138, 105, 0.5), 
      inset 0 4px 8px rgba(255, 255, 255, 0.5), 
      inset 0 -4px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  }
  .circle-btn:hover {
    background: linear-gradient(135deg, #1A5A69 0%, var(--color-deep-green-blue) 100%);
    box-shadow: 
      0 15px 35px rgba(20, 73, 85, 0.4),
      inset 0 4px 8px rgba(255, 255, 255, 0.3), 
      inset 0 -4px 8px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
  }
  .circle-text {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    animation: rotateText 12s linear infinite;
  }
  .circle-text svg { width: 100%; height: 100%; }
  .circle-text text {
    fill: #fff;
    font-size: 13px;
    font-weight: 700;
  }
  .circle-icon {
    font-size: 1.8rem;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 3px 5px rgba(0,0,0,0.25)); /* アイコンにも立体感 */
  }
  .circle-btn:hover .circle-icon {
    transform: scale(1.15) rotate(-15deg);
  }

  @keyframes rotateText {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }

  /* アニメーション */
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s cubic-bezier(0.25, 1, 0.5, 1),
                transform 1s cubic-bezier(0.25, 1, 0.5, 1);
  }
  .reveal.active { opacity: 1; transform: translateY(0); }

  /* 言語切り替えアニメーション用 */
  .i18n-elem {
    transition: opacity 0.3s ease;
  }

  /* レスポンシブ対応 */
  @media (max-width: 992px) {
    header.global-header { top: 10px; left: 10px; right: 10px; padding: 10px 20px; border-radius: 30px;}
    .header-logo-wrap { gap: 8px; }
    .header-logo { width: 40px; } 
    .header-logo-text .catch { font-size: 0.6rem; }
    .header-logo-text .name { font-size: 0.85rem; }
    .global-nav { display: none; }
    .section { padding-top: 15vw; padding-bottom: 15vw; } /* スマホ時も余白を確保 */
    .container-dynamic { padding-left: 5vw; padding-right: 5vw; }
    .container-dynamic.reverse { padding-left: 5vw; padding-right: 5vw; }
    .course-layout { flex-direction: column; }
    .info-strip { padding: 40px 5vw; } 
    .info-strip-inner { justify-content: center; text-align: center; }
    
    /* スマホ用のボタン微調整 */
    .btn { padding: 0.5rem 0.5rem 0.5rem 1.8rem; font-size: 0.95rem; }
    .btn::after { width: 38px; height: 38px; margin-left: 15px; font-size: 1.1rem; }
    .btn-outline { padding: 0.3rem 0.3rem 0.3rem 1.2rem !important; }
    .btn-outline::after { width: 28px; height: 28px; font-size: 0.9rem; }

    .footer-container { flex-direction: column; align-items: center; text-align: center; gap: 50px; }
    .footer-left { align-items: center; }
    .footer-logo-wrap { flex-direction: column; text-align: center; gap: 15px; margin-bottom: 30px; }
    .footer-logo-text { text-align: center; }
    .footer-nav { grid-template-columns: 1fr; justify-content: center; text-align: center; gap: 40px; }
    .floating-cta { bottom: 20px; right: 20px; }
    .circle-btn { width: 90px; height: 90px; }
    .circle-text text { font-size: 10.5px; }
    .circle-icon { font-size: 1.5rem; }
    
    .cta-section { background-attachment: scroll; } /* スマホでの背景固定の不具合を防止 */
  }


  /* Mobile layout hardening: 360–600px */
  @media (max-width: 600px) {
    *, *::before, *::after { min-width: 0; }
    html { font-size: 15px; overflow-x: hidden; }
    body { overflow-x: clip; overflow-wrap: anywhere; }

    header.global-header {
      top: 6px; left: 6px; right: 6px; padding: 8px 12px;
      border-radius: 24px; gap: 8px;
    }
    .header-logo-wrap { gap: 6px; flex: 1 1 auto; min-width: 0; }
    .header-logo { width: 32px; }
    .header-logo-text { min-width: 0; }
    .header-logo-text .catch { display: none; }
    .header-logo-text .name {
      display: block; max-width: 145px; font-size: 0.72rem; line-height: 1.15;
      white-space: normal; overflow-wrap: anywhere;
    }
    header.global-header > div:last-child { flex: 0 0 auto; }
    .lang-switcher {
      margin-left: 6px; padding-left: 8px; gap: 8px; font-size: 0.85rem;
    }

    .page-hero {
      height: auto; min-height: 300px; padding: 100px 16px 54px;
      border-radius: 0 0 24px 24px; background-attachment: scroll;
    }
    .page-hero h1 {
      max-width: 100%; font-size: clamp(2rem, 11vw, 3rem); line-height: 1.08;
      letter-spacing: 0.04em; overflow-wrap: anywhere;
    }
    .page-hero p { font-size: 0.95rem; letter-spacing: 0.08em; line-height: 1.5; }

    .section { padding-top: 64px; padding-bottom: 64px; }
    .container-dynamic, .container-dynamic.reverse {
      padding-left: 16px; padding-right: 16px;
    }
    .sec-title {
      display: block; max-width: 100%; margin-bottom: 40px;
      font-size: clamp(1.55rem, 8vw, 2rem); line-height: 1.35;
      letter-spacing: 0.04em; overflow-wrap: anywhere;
    }

    .btn {
      width: 100%; max-width: 100%; min-height: 48px;
      justify-content: space-between; padding: 8px 8px 8px 18px;
      font-size: 0.95rem; line-height: 1.35;
    }
    .btn::after { flex: 0 0 34px; width: 34px; height: 34px; margin-left: 10px; }
    .btn-outline { padding: 8px 8px 8px 16px !important; }

    footer { padding: 60px 16px 28px; }
    .footer-container { width: 100%; padding-bottom: 42px; gap: 36px; }
    .footer-left, .footer-right { width: 100%; align-items: center; justify-content: center; }
    .footer-logo { width: 72px; }
    .footer-logo-text .name { font-size: 1.15rem; overflow-wrap: anywhere; }
    .footer-nav { width: 100%; gap: 26px; }

    .floating-cta { right: 12px; bottom: 12px; }
    .circle-btn { width: 76px; height: 76px; }
    .circle-text text { font-size: 9.5px; }
    .circle-icon { font-size: 1.25rem; }
  }

  @media (max-width: 600px) {
    .hero {
      height: 100svh; min-height: 600px; padding: 0 18px 72px;
      border-radius: 0 0 24px 24px;
    }
    .hero-content { max-width: 100%; }
    .hero-catch {
      font-size: clamp(1.75rem, 8vw, 2.45rem); line-height: 1.45;
      word-break: normal; overflow-wrap: anywhere;
    }
    .hero-catch-highlight { white-space: normal; }
    .target-grid, .info-boxes { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .target-card { margin-top: 0 !important; padding: 30px 22px; }
    .course-layout { width: 100%; gap: 28px; }
    .course-layout > * { width: 100%; }
    .course-item { padding: 30px 22px; }
    .info-strip { padding: 38px 16px; }
    .info-strip-inner { flex-direction: column; align-items: stretch; gap: 24px; }
    .info-strip-text { justify-content: center; width: 100%; line-height: 1.5; }
    .info-strip-text span { white-space: normal !important; }
    .info-box { min-height: 210px; padding: 42px 20px; }
    .cta-section { padding: 88px 16px; }
    .cta-content h2 { white-space: normal; font-size: 1.55rem; line-height: 1.5; }
    .cta-content p { margin-bottom: 34px; font-size: 1rem; }
  }



  /* 左右幅の統一：全ページのコンテンツを画面中央に配置 */
  html, body {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
  .container-dynamic,
  .container-dynamic.reverse {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: clamp(16px, 7vw, 112px);
    padding-right: clamp(16px, 7vw, 112px);
  }
  @media (max-width: 992px) {
    .container-dynamic,
    .container-dynamic.reverse {
      padding-left: 5vw;
      padding-right: 5vw;
    }
  }
  @media (max-width: 600px) {
    .container-dynamic,
    .container-dynamic.reverse {
      padding-left: 16px;
      padding-right: 16px;
    }
  }

  /* Student profile and news */
  .student-profile-section { background: #eef8f7; }
  .student-profile-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
  }
  .student-profile-card {
    min-height: 100%;
    padding: 30px 26px;
    background: #fff;
    border-top: 5px solid var(--color-celeste);
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(20, 73, 85, 0.07);
  }
  .student-profile-label {
    display: block;
    margin-bottom: 18px;
    color: var(--color-gray-base);
    font-family: var(--font-en);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  .student-profile-card h3 {
    margin-bottom: 18px;
    color: var(--color-deep-green-blue);
    font-size: 1.45rem;
    line-height: 1.4;
  }
  .student-profile-card p { color: var(--color-gray-base); font-size: 0.95rem; }
  .profile-summary {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--color-deep-green-blue);
  }
  .profile-summary strong {
    font-family: var(--font-en);
    font-size: clamp(2rem, 3vw, 2.8rem);
    font-weight: 800;
    line-height: 1;
  }
  .profile-summary span { font-size: 0.9rem; font-weight: 700; }
  .profile-bar-list { display: grid; gap: 12px; }
  .profile-bar-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 4px;
    color: var(--color-text-main);
    font-size: 0.8rem;
    font-weight: 700;
  }
  .profile-bar-head span:last-child {
    flex-shrink: 0;
    color: var(--color-deep-green-blue);
    font-family: var(--font-en);
  }
  .profile-bar-track {
    height: 7px;
    overflow: hidden;
    background: #e8efef;
    border-radius: 2px;
  }
  .profile-bar-fill { width: var(--value); height: 100%; background: var(--color-celeste); }
  .profile-bar-row:nth-child(2n) .profile-bar-fill { background: #4aa9ad; }
  .profile-bar-row.is-other .profile-bar-fill { background: var(--color-accent-warm); }
  .gender-bar {
    display: flex;
    height: 20px;
    margin: 26px 0 22px;
    overflow: hidden;
    border-radius: 4px;
    background: #e8efef;
  }
  .gender-bar span:first-child { width: 60.5%; background: #144955; }
  .gender-bar span:last-child { width: 39.5%; background: var(--color-accent-warm); }
  .gender-list { display: grid; gap: 14px; }
  .gender-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 10px;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(20, 73, 85, 0.1);
  }
  .gender-item:last-child { border-bottom: 0; }
  .gender-dot { width: 11px; height: 11px; border-radius: 50%; background: #144955; }
  .gender-item:last-child .gender-dot { background: var(--color-accent-warm); }
  .gender-item strong { color: var(--color-deep-green-blue); font-family: var(--font-en); }
  .profile-source-note {
    margin-top: 26px;
    color: var(--color-gray-base);
    font-size: 0.82rem;
    text-align: right;
  }
  .news-section { background: #fff; }
  .news-list {
    max-width: 980px;
    margin: 0 auto;
    border-top: 1px solid rgba(20, 73, 85, 0.14);
  }
  .news-item,
  .news-empty {
    display: grid;
    grid-template-columns: 130px 110px minmax(0, 1fr);
    gap: 22px;
    align-items: center;
    padding: 22px 4px;
    border-bottom: 1px solid rgba(20, 73, 85, 0.14);
  }
  .news-date { color: var(--color-gray-base); font-family: var(--font-en); font-weight: 600; font-size: 0.95rem; }
  .news-category {
    padding: 4px 8px;
    color: var(--color-deep-green-blue);
    background: var(--color-celeste-light);
    border-radius: 4px;
    font-size: 0.78rem;
    font-weight: 700;
    text-align: center;
  }
  .news-title { color: var(--color-deep-green-blue); font-weight: 700; font-size: 1rem; line-height: 1.6; }
  .news-empty {
    display: block;
    color: var(--color-gray-base);
    text-align: center;
  }
  @media (max-width: 1000px) {
    .student-profile-grid { grid-template-columns: 1fr; }
    .student-profile-card { min-height: 0; }
  }
  @media (max-width: 600px) {
    .news-item { grid-template-columns: 1fr auto; gap: 8px 12px; }
    .news-date { font-size: 0.88rem; }
    .news-title { grid-column: 1 / -1; font-size: 0.95rem; }
  }

  /* 受講生構成：円グラフを主役にした2026年7月データ表示 */
  .student-profile-section {
    background: #f3f9f8;
    border-top: 1px solid rgba(20, 73, 85, 0.06);
  }
  .student-profile-card {
    display: flex;
    flex-direction: column;
    padding: 30px 28px 28px;
    border-top: 5px solid var(--color-celeste);
  }
  .student-profile-card:nth-child(2) { border-top-color: var(--color-accent-warm); }
  .student-profile-card:nth-child(3) { border-top-color: var(--color-deep-green-blue); }
  .student-profile-card h3 { margin-bottom: 22px; }
  .profile-chart-wrap {
    display: grid;
    place-items: center;
    margin-bottom: 28px;
  }
  .profile-donut {
    --donut-size: 188px;
    position: relative;
    display: grid;
    place-items: center;
    width: var(--donut-size);
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--donut-data);
    box-shadow: 0 14px 30px rgba(20, 73, 85, 0.12);
  }
  .profile-donut::before {
    content: "";
    position: absolute;
    inset: 25px;
    border-radius: 50%;
    background: #fff;
    box-shadow: inset 0 0 0 1px rgba(20, 73, 85, 0.06);
  }
  .profile-donut-center {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    color: var(--color-deep-green-blue);
    line-height: 1.1;
  }
  .profile-donut-center strong {
    font-family: var(--font-en);
    font-size: 2.15rem;
    font-weight: 800;
  }
  .profile-donut-center span { margin-top: 5px; font-size: 0.78rem; font-weight: 700; }
  .profile-legend {
    display: grid;
    gap: 10px;
    margin-top: auto;
  }
  .profile-legend-item {
    display: grid;
    grid-template-columns: 10px minmax(0, 1fr) auto;
    gap: 9px;
    align-items: center;
    min-width: 0;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(20, 73, 85, 0.08);
    font-size: 0.8rem;
  }
  .profile-legend-item:last-child { padding-bottom: 0; border-bottom: 0; }
  .profile-legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--legend-color);
  }
  .profile-legend-name { overflow-wrap: anywhere; font-weight: 700; }
  .profile-legend-value {
    color: var(--color-deep-green-blue);
    font-family: var(--font-en);
    font-weight: 800;
    white-space: nowrap;
  }
  .profile-source-note {
    padding-top: 20px;
    border-top: 1px solid rgba(20, 73, 85, 0.1);
  }
  @media (max-width: 1000px) {
    .student-profile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .student-profile-card:last-child { grid-column: 1 / -1; }
  }
  @media (max-width: 680px) {
    .student-profile-grid { grid-template-columns: 1fr; }
    gap: 8px;
    margin-bottom: 14px;
    color: var(--color-deep-green-blue);
  }
  .profile-summary strong {
    font-family: var(--font-en);
    font-size: clamp(2rem, 3vw, 2.8rem);
    font-weight: 800;
    line-height: 1;
  }
  .profile-summary span { font-size: 0.9rem; font-weight: 700; }
  .profile-bar-list { display: grid; gap: 12px; }
  .profile-bar-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 4px;
    color: var(--color-text-main);
    font-size: 0.8rem;
    font-weight: 700;
  }
  .profile-bar-head span:last-child {
    flex-shrink: 0;
    color: var(--color-deep-green-blue);
    font-family: var(--font-en);
  }
  .profile-bar-track {
    height: 7px;
    overflow: hidden;
    background: #e8efef;
    border-radius: 2px;
  }
  .profile-bar-fill { width: var(--value); height: 100%; background: var(--color-celeste); }
  .profile-bar-row:nth-child(2n) .profile-bar-fill { background: #4aa9ad; }
  .profile-bar-row.is-other .profile-bar-fill { background: var(--color-accent-warm); }
  .gender-bar {
    display: flex;
    height: 20px;
    margin: 26px 0 22px;
    overflow: hidden;
    border-radius: 4px;
    background: #e8efef;
  }
  .gender-bar span:first-child { width: 60.5%; background: #144955; }
  .gender-bar span:last-child { width: 39.5%; background: var(--color-accent-warm); }
  .gender-list { display: grid; gap: 14px; }
  .gender-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 10px;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(20, 73, 85, 0.1);
  }
  .gender-item:last-child { border-bottom: 0; }
  .gender-dot { width: 11px; height: 11px; border-radius: 50%; background: #144955; }
  .gender-item:last-child .gender-dot { background: var(--color-accent-warm); }
  .gender-item strong { color: var(--color-deep-green-blue); font-family: var(--font-en); }
  .profile-source-note {
    margin-top: 26px;
    color: var(--color-gray-base);
    font-size: 0.82rem;
    text-align: right;
  }
  .news-section { background: #fff; }
  .news-list {
    max-width: 980px;
    margin: 0 auto;
    border-top: 1px solid rgba(20, 73, 85, 0.14);
  }
  .news-item,
  .news-empty {
    display: grid;
    grid-template-columns: 130px 110px minmax(0, 1fr);
    gap: 22px;
    align-items: center;
    padding: 22px 4px;
    border-bottom: 1px solid rgba(20, 73, 85, 0.14);
  }
  .news-date { color: var(--color-gray-base); font-family: var(--font-en); font-weight: 600; font-size: 0.95rem; }
  .news-category {
    padding: 4px 8px;
    color: var(--color-deep-green-blue);
    background: var(--color-celeste-light);
    border-radius: 4px;
    font-size: 0.78rem;
    font-weight: 700;
    text-align: center;
  }
  .news-title { color: var(--color-deep-green-blue); font-weight: 700; font-size: 1rem; line-height: 1.6; }
  .news-empty {
    display: block;
    color: var(--color-gray-base);
    text-align: center;
  }
  @media (max-width: 1000px) {
    .student-profile-grid { grid-template-columns: 1fr; }
    .student-profile-card { min-height: 0; }
  }
  @media (max-width: 600px) {
    .news-item { grid-template-columns: 1fr auto; gap: 8px 12px; }
    .news-date { font-size: 0.88rem; }
    .news-title { grid-column: 1 / -1; font-size: 0.95rem; }
  }

  /* 受講生構成：円グラフを主役にした2026年7月データ表示 */
  .student-profile-section {
    background: #f3f9f8;
    border-top: 1px solid rgba(20, 73, 85, 0.06);
  }
  .student-profile-card {
    display: flex;
    flex-direction: column;
    padding: 30px 28px 28px;
    border-top: 5px solid var(--color-celeste);
  }
  .student-profile-card:nth-child(2) { border-top-color: var(--color-accent-warm); }
  .student-profile-card:nth-child(3) { border-top-color: var(--color-deep-green-blue); }
  .student-profile-card h3 { margin-bottom: 22px; }
  .profile-chart-wrap {
    display: grid;
    place-items: center;
    margin-bottom: 28px;
  }
  .profile-donut {
    --donut-size: 188px;
    position: relative;
    display: grid;
    place-items: center;
    width: var(--donut-size);
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--donut-data);
    box-shadow: 0 14px 30px rgba(20, 73, 85, 0.12);
  }
  .profile-donut::before {
    content: "";
    position: absolute;
    inset: 25px;
    border-radius: 50%;
    background: #fff;
    box-shadow: inset 0 0 0 1px rgba(20, 73, 85, 0.06);
  }
  .profile-donut-center {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    color: var(--color-deep-green-blue);
    line-height: 1.1;
  }
  .profile-donut-center strong {
    font-family: var(--font-en);
    font-size: 2.15rem;
    font-weight: 800;
  }
  .profile-donut-center span { margin-top: 5px; font-size: 0.78rem; font-weight: 700; }
  .profile-legend {
    display: grid;
    gap: 10px;
    margin-top: auto;
  }
  .profile-legend-item {
    display: grid;
    grid-template-columns: 10px minmax(0, 1fr) auto;
    gap: 9px;
    align-items: center;
    min-width: 0;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(20, 73, 85, 0.08);
    font-size: 0.8rem;
  }
  .profile-legend-item:last-child { padding-bottom: 0; border-bottom: 0; }
  .profile-legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--legend-color);
  }
  .profile-legend-name { overflow-wrap: anywhere; font-weight: 700; }
  .profile-legend-value {
    color: var(--color-deep-green-blue);
    font-family: var(--font-en);
    font-weight: 800;
    white-space: nowrap;
  }
  .profile-source-note {
    padding-top: 20px;
    border-top: 1px solid rgba(20, 73, 85, 0.1);
  }
  @media (max-width: 1000px) {
    .student-profile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .student-profile-card:last-child { grid-column: 1 / -1; }
  }
  @media (max-width: 680px) {
    .student-profile-grid { grid-template-columns: 1fr; }
    .student-profile-card:last-child { grid-column: auto; }
    .student-profile-card { padding: 26px 20px; }
    .profile-donut { --donut-size: 174px; }
  }

/* =========================================================
   2026 Revision: Student Profile & Info Updates
========================================================= */
.student-profile-intro {
  text-align: center;
  font-size: clamp(1.05rem, 1.3vw, 1.25rem);
  font-weight: 700;
  color: var(--color-deep-green-blue);
  margin: -1.5rem auto 3rem;
  max-width: 780px;
  line-height: 1.8;
}

.student-profile-grid {
  display: flex !important;
  justify-content: center !important;
  max-width: 860px !important;
  margin: 0 auto 30px !important;
}

.student-profile-grid .student-profile-card {
  width: 100% !important;
}

.profile-content-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(300px, 1.1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.profile-content-layout .profile-chart-wrap {
  margin-bottom: 0;
}

.profile-content-layout .profile-legend {
  width: 100%;
  margin-top: 0;
}

.profile-content-layout .profile-legend-item {
  padding: 11px 0;
  font-size: 0.95rem;
}

@media (max-width: 680px) {
  .profile-content-layout {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .profile-content-layout .profile-chart-wrap {
    margin-bottom: 0;
  }
}

/* Info strip / calendar refinements */
.info-strip {
  padding: 14px 20px !important;
}

.info-strip-text span[data-i18n="info-hours-desc"] {
  font-size: clamp(0.95rem, 1vw, 1.1rem) !important;
  font-weight: 700 !important;
}

.btn-calendar {
  font-size: 0.95rem !important;
  padding: 0.5rem 1.4rem !important;
}
/* =========================================================
   Clean Section Backgrounds
========================================================= */

/* 1. News Section */
.news-section {
  background-color: var(--color-bg-base);
}

.news-list {
  background: #FFFFFF;
  border: 1px solid rgba(20, 73, 85, 0.08);
  border-radius: 12px;
  padding: clamp(20px, 3vw, 36px);
  box-shadow: 0 6px 20px rgba(20, 73, 85, 0.04);
}

/* 2. Courses Section */
.section-courses-top {
  background-color: var(--color-bg-warm);
}

.section-courses-top .course-layout {
  border: none !important;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px !important;
}

.section-courses-top .course-item {
  background: #FFFFFF !important;
  border: 1px solid rgba(20, 73, 85, 0.08) !important;
  border-radius: 12px !important;
  padding: 24px !important;
  box-shadow: 0 6px 20px rgba(20, 73, 85, 0.04) !important;
}

/* 3. Student Profile Section */
.student-profile-section {
  background-color: var(--color-bg-soft-blue);
}

.student-profile-card {
  background: #FFFFFF !important;
  border-radius: 16px !important;
  border: 1px solid rgba(20, 73, 85, 0.08) !important;
  box-shadow: 0 8px 24px rgba(20, 73, 85, 0.05) !important;
}

/* 4. Target Section */
.section-target-top {
  position: relative;
  overflow: hidden;
  background-color: var(--color-bg-warm);
}

.section-target-top .reveal {
  position: relative;
  z-index: 1;
}

.student-profile-bg-artwork {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  max-width: 1300px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.85;
}

.student-profile-bg-artwork img {
  display: block;
  flex: 0 0 auto;
  width: clamp(480px, 53vw, 1100px);
  max-width: none;
  height: auto;
  object-fit: contain;
}

@media (max-width: 900px) {
  .student-profile-bg-artwork {
    align-items: flex-end;
    max-width: 100%;
    opacity: 0.3;
  }
}

.section-target-top .target-grid {
  border: none !important;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px !important;
}

.section-target-top .target-card {
  background: #FFFFFF !important;
  border: 1px solid rgba(20, 73, 85, 0.08) !important;
  border-radius: 12px !important;
  padding: 22px !important;
  box-shadow: 0 6px 20px rgba(20, 73, 85, 0.04) !important;
}

/* 5. Information Section */
.section-info-top {
  background-color: var(--color-bg-base);
}

.info-boxes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.info-box {
  border-radius: 12px !important;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(20, 73, 85, 0.1) !important;
  border: 1px solid rgba(20, 73, 85, 0.1) !important;
}



/* =========================================================
   2026 Revision: Warm Profile & Softer Information Cards
========================================================= */

/* 動く全体背景となじむ、黄みを抑えた淡い暖色の面。 */
main > #student-profile.student-profile-section {
  background-color: #fff4ec !important;
  background-image:
    radial-gradient(circle at 12% 18%, rgba(245, 177, 132, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(255, 249, 243, 0.96), rgba(253, 237, 227, 0.92) 55%, rgba(255, 248, 241, 0.96)) !important;
}

/* コース紹介のカードは透けやグラデーションのない白に戻す。 */
main > #courses.section-courses-top .course-item,
main > #courses.section-courses-top .course-item:hover {
  background: #fff !important;
  background-image: none !important;
}

/* 写真カードの角と影をやわらげ、整然さを保ちながら親しみを出す。 */
#information .info-boxes {
  gap: clamp(18px, 2.2vw, 28px);
}

#information .info-box {
  border: 3px solid rgba(255, 255, 255, 0.82) !important;
  border-radius: 32px 16px 32px 16px !important;
  box-shadow: 0 12px 30px rgba(20, 73, 85, 0.1) !important;
  transform: translateY(0);
}

#information .info-box:nth-child(even) {
  border-radius: 16px 32px 16px 32px !important;
}

#information .info-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 38px rgba(20, 73, 85, 0.15) !important;
}

@media (max-width: 680px) {
  #information .info-box,
  #information .info-box:nth-child(even) {
    border-radius: 26px 14px 26px 14px !important;
  }
}

/* =========================================================
   2026 Revision: Profile, hero copy and 3 x 3 information
========================================================= */
main > #student-profile .student-profile-card {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.hero-catch-mainline {
  display: block;
  width: fit-content;
  max-width: 100%;
  white-space: nowrap;
  font-size: clamp(15px, 3.8vw, 58px);
  letter-spacing: -0.035em;
}

#information .info-boxes {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 960px) {
  #information .info-boxes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .hero-catch-mainline {
    font-size: clamp(14px, 4.15vw, 18px);
  }

  #information .info-boxes {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   2026 Revision: Student profile chart and portrait gallery
========================================================= */
main > #student-profile .student-profile-grid {
  justify-content: stretch !important;
  max-width: 1180px !important;
}

main > #student-profile .student-profile-card {
  padding-right: 0 !important;
}

/* 右側は KlS-latest.png のビジュアルに譲り、チャートと凡例は左寄せにまとめる。 */
main > #student-profile .profile-content-layout {
  grid-template-columns:
    minmax(190px, 0.78fr)
    minmax(245px, 1fr);
  gap: clamp(24px, 3.5vw, 54px);
  width: 100%;
  max-width: 620px;
}

main > #student-profile .profile-chart-wrap {
  justify-self: start;
}

@media (min-width: 681px) {
  main > #student-profile .profile-content-layout {
    margin-left: -24px;
  }
}

@media (max-width: 1080px) {
  main > #student-profile .profile-content-layout {
    max-width: 560px;
  }
}

@media (max-width: 900px) {
  main > #student-profile .profile-content-layout {
    max-width: 100%;
  }
}

@media (max-width: 680px) {
  main > #student-profile .profile-content-layout {
    grid-template-columns: 1fr;
    margin-left: 0;
    gap: 26px;
  }

  main > #student-profile .profile-chart-wrap {
    justify-self: start;
  }
}

/* 右側の受講者ビジュアルは、情報ブロックより少し下へ。 */
main > #student-profile .student-profile-bg-artwork {
  align-items: center;
}

@media (max-width: 900px) {
  main > #student-profile .student-profile-bg-artwork {
    align-items: flex-end;
  }
}


main > #student-profile .profile-source-note {
  margin-top: clamp(64px, 7vw, 92px) !important;
  padding-top: 24px !important;
}

@media (max-width: 680px) {
  main > #student-profile .profile-source-note {
    margin-top: 58px !important;
    padding-top: 22px !important;
  }
}

/* =========================================================
   CTAセクション：背景写真をしっかり見せる
   common.css の !important グラデーションより詳細度を上げて上書きする。
========================================================= */
main > .cta-section {
  position: relative !important;
  overflow: hidden !important;
  background-color: #0f3f4a !important;
  background-image: url('../images/DSC00465.jpg') !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  background-position: center 42% !important;
  background-attachment: fixed !important;
}

/* 写真を活かしたまま白文字が読めるだけの控えめなスクリーン */
main > .cta-section::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  width: auto !important;
  height: auto !important;
  border-radius: 0 !important;
  background:
    linear-gradient(
      135deg,
      rgba(12, 48, 57, 0.52) 0%,
      rgba(12, 48, 57, 0.34) 45%,
      rgba(20, 73, 85, 0.46) 100%
    ) !important;
  z-index: 1 !important;
  pointer-events: none !important;
}

main > .cta-section::after {
  display: none !important;
}

main > .cta-section .cta-content {
  position: relative;
  z-index: 2;
  width: min(100%, 1000px);
  max-width: 1000px;
  margin-inline: auto;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.42);
}

main > .cta-section .cta-content h2 {
  display: block;
  width: 100%;
  margin-inline: auto;
  text-align: center;
}

main > .cta-section .cta-content h2 .cta-title-lines {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: stretch;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  text-align: center;
}

main > .cta-section .cta-content h2 .cta-title-line {
  position: static;
  left: auto;
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  transform: none;
  text-indent: 0;
  text-align: center;
  text-wrap: var(--kls-reading-wrap, balance);
}

/* 日本語の長い見出しもカード内で自然に折り返す。 */
.section-target-top .target-copy .target-title-long {
  word-break: normal;
  overflow-wrap: anywhere;
  line-height: 1.55;
}

@media (max-width: 900px) {
  /* iOS などで background-attachment: fixed が崩れるため通常スクロールに */
  main > .cta-section {
    background-attachment: scroll !important;
  }
}

/* CTAボタン：スマホでもPC版と同様にコンパクトな中央揃えカプセル形状を維持 */
.cta-section .btn.btn-cta,
main > .cta-section .btn.btn-cta {
  display: inline-flex !important;
  width: auto !important;
  max-width: 100% !important;
  min-height: 0 !important;
  justify-content: center !important;
  align-items: center !important;
  padding: 0.6rem 0.6rem 0.6rem 2.2rem !important;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  border-radius: 50px !important;
  background-color: #fff !important;
  color: var(--color-deep-green-blue) !important;
  border: 2px solid #fff !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
  margin: 0 auto !important;
  text-align: center !important;
}

.cta-section .btn.btn-cta::after,
main > .cta-section .btn.btn-cta::after {
  content: "➔" !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 45px !important;
  width: 45px !important;
  height: 45px !important;
  margin-left: 20px !important;
  background-color: var(--color-deep-green-blue) !important;
  color: #fff !important;
  border-radius: 50% !important;
  font-family: var(--font-en) !important;
  font-size: 1.2rem !important;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

.cta-section .btn.btn-cta:hover,
main > .cta-section .btn.btn-cta:hover {
  color: #fff !important;
  border-color: var(--color-accent-warm) !important;
  box-shadow: 0 15px 35px rgba(230, 138, 105, 0.4) !important;
}

.cta-section .btn.btn-cta:hover::after,
main > .cta-section .btn.btn-cta:hover::after {
  background-color: #fff !important;
  color: var(--color-accent-warm) !important;
}


/* =========================================================
   2026 Revision: TOPページのレスポンシブ調整
========================================================= */

/*
  「KLSで学んでいる方の紹介」の KlS-latest.png。
  タブレット以下では不透明度0.3の右上トリミングで、
  見出しに重なって"かすれた汚れ"のようになっていたため、
  セクション下部にしっかり見えるビジュアルとして置き直す。
*/
@media (max-width: 900px) {
  main > #student-profile.student-profile-section {
    /* 写真の高さぶんの余白を確保して本文と重ねない */
    padding-bottom: calc(min(calc(56.25vw - 22.5px), 349px) + 40px) !important;
  }

  main > #student-profile .student-profile-bg-artwork {
    max-width: 100%;
    opacity: 0.95;
  }

  main > #student-profile .student-profile-bg-artwork img {
    width: min(calc(100% - 40px), 620px);
  }
}

/* スマホでは中央寄りに置いて左の余白が空きすぎないように */
@media (max-width: 600px) {
  main > #student-profile.student-profile-section {
    padding-bottom: calc(56.25vw + 31px) !important;
  }

  main > #student-profile .student-profile-bg-artwork img {
    width: calc(100% - 16px);
    margin-right: 8px;
  }
}

/* =========================================================
   2026 Revision: TOPの人物ビジュアルと紹介文の位置調整
========================================================= */

/* 紹介文はカードと同じ幅を基準にして左揃えにする。 */
main > #student-profile .student-profile-intro {
  width: min(1180px, 100%);
  max-width: 1180px;
  margin-right: auto;
  margin-left: auto;
  text-align: left;
}

/* 右側の受講者ビジュアルを画面端から少し内側へ移動する。 */
@media (min-width: 901px) {
  main > #student-profile .student-profile-bg-artwork img {
    margin-right: 64px;
  }
}

@media (max-width: 900px) {
  main > #student-profile .student-profile-bg-artwork img {
    margin-right: 20px;
  }
}

@media (max-width: 600px) {
  main > #student-profile .student-profile-bg-artwork img {
    margin-right: 8px;
  }
}

/* メインビジュアル直下の人物を、見出し帯の中で見切れずに表示する。 */
main > #news.news-section > .ambient-photo--person-3 {
  top: 18px;
  right: 10px;
  bottom: auto;
  width: clamp(300px, 30vw, 440px);
}

@media (max-width: 768px) {
  main > #news.news-section > .ambient-photo--person-3 {
    top: 12px;
    right: 12px;
    width: clamp(170px, 46vw, 240px);
  }
}

/*
  ヒーロー見出し：スマホで1行目が nowrap のせいで 16px まで縮み、
  2行目(31px)と不揃いになっていた。折り返しを許して階層を整える。
*/
@media (max-width: 600px) {
  .hero-catch-mainline {
    white-space: normal;
    width: auto;
    font-size: clamp(19px, 5.6vw, 26px);
    line-height: 1.5;
    letter-spacing: -0.01em;
  }

  .hero-content p {
    font-size: 14.5px !important;
    line-height: 1.65 !important;
  }
}

/* タブレット：1行に収めるための詰めすぎを緩和 */
@media (min-width: 601px) and (max-width: 900px) {
  .hero-catch-mainline {
    font-size: clamp(24px, 4.4vw, 34px);
    letter-spacing: -0.02em;
  }
}

/* =========================================================
   2026 Revision: 受講者データを大きく見せるレイアウト
========================================================= */

/* 赤枠で示された範囲を使い、紹介文とデータを左端から大きく配置する。 */
@media (min-width: 1201px) {
  main > #student-profile .student-profile-intro {
    width: auto;
    max-width: 1060px;
    margin-left: 0;
    margin-right: 0;
    font-size: clamp(1.25rem, 1.35vw, 1.5rem);
  }

  main > #student-profile .student-profile-grid {
    max-width: 1050px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  main > #student-profile .student-profile-card {
    padding-left: 0 !important;
  }

  main > #student-profile .student-profile-label {
    font-size: 0.92rem;
    letter-spacing: 0.1em;
  }

  main > #student-profile .student-profile-card h3 {
    margin-top: 12px;
    margin-bottom: 30px;
    font-size: 1.75rem;
  }

  main > #student-profile .profile-content-layout {
    grid-template-columns: 320px minmax(390px, 1fr);
    gap: clamp(54px, 4vw, 76px);
    width: 100%;
    max-width: 920px;
    margin-left: 0;
  }

  main > #student-profile .profile-donut {
    --donut-size: 320px !important;
  }

  main > #student-profile .profile-donut::before {
    inset: 42px;
  }

  main > #student-profile .profile-donut-center span {
    font-size: 0.98rem;
  }

  main > #student-profile .profile-legend-item {
    grid-template-columns: 13px minmax(0, 1fr) auto;
    gap: 14px;
    padding: 15px 0;
    font-size: 1.1rem;
  }

  main > #student-profile .profile-legend-dot {
    width: 13px;
    height: 13px;
  }
}

/* 標準的なノートPC幅では人物用の領域を残しつつ、情報を拡大する。 */
@media (min-width: 1201px) and (max-width: 1599px) {
  main > #student-profile .student-profile-grid {
    max-width: 740px !important;
  }

  main > #student-profile .profile-content-layout {
    grid-template-columns: 280px minmax(330px, 1fr);
    gap: 42px;
    max-width: 720px;
  }

  main > #student-profile .profile-donut {
    --donut-size: 280px !important;
  }

  main > #student-profile .profile-donut::before {
    inset: 36px;
  }

  main > #student-profile .student-profile-bg-artwork img {
    width: 700px;
    margin-right: 100px;
  }
}

/* ワイド画面では人物を左へ寄せ、拡大した凡例との間に余白を残す。 */
@media (min-width: 1600px) {
  main > #student-profile .student-profile-bg-artwork img {
    margin-right: clamp(130px, 8vw, 170px);
  }
}

@media (min-width: 681px) and (max-width: 1200px) {
  main > #student-profile .profile-donut {
    --donut-size: 240px !important;
  }

  main > #student-profile .profile-donut::before {
    inset: 32px;
  }

  main > #student-profile .profile-legend-item {
    font-size: 1rem;
  }
}

@media (max-width: 680px) {
  main > #student-profile .profile-donut {
    --donut-size: min(220px, 70vw) !important;
  }

  main > #student-profile .profile-donut::before {
    inset: 29px;
  }

  main > #student-profile .profile-legend-item {
    font-size: 1rem;
  }
}

/* 受講者データの凡例：地域名と割合の間隔を狭める（2026-09） */
main > #student-profile .profile-legend {
  width: 100%;
  max-width: 300px;
}

@media (max-width: 680px) {
  main > #student-profile .profile-legend {
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* 受講者データ横の人物ビジュアル：拡大し、人物の右端をコンテンツの右端に揃える（2026-09）
   画像内の人物は横幅の約41%〜95%の位置にある */
@media (min-width: 1201px) {
  main > #student-profile .student-profile-bg-artwork {
    left: 0;
    right: 0;
    max-width: none;
    justify-content: flex-start;
  }

  main > #student-profile .student-profile-bg-artwork img {
    width: var(--art-w);
    margin-right: 0;
  }
}

@media (min-width: 1201px) and (max-width: 1599px) {
  main > #student-profile .student-profile-bg-artwork img {
    --art-w: clamp(820px, 62vw, 960px);
    /* 人物（画像幅の約95%地点まで）の右端をコンテンツの右端（右余白7vw）に揃える */
    margin-left: calc(100% - 7vw - 0.954 * var(--art-w));
  }
}

@media (min-width: 1600px) {
  main > #student-profile .student-profile-bg-artwork img {
    --art-w: clamp(1000px, 62vw, 1250px);
    /* 人物の右端をコンテンツの右端（右余白112px）に揃える */
    margin-left: calc(100% - 112px - 0.954 * var(--art-w));
  }
}

/* メインビジュアル：最初の写真はズームせず、読み込み直後からそのまま表示（2026-09） */
.hero .hero-slide:nth-child(1) {
  opacity: 1;
  animation-name: heroFadeFirst;
}

@keyframes heroFadeFirst {
  0%   { opacity: 1; transform: none; }
  16%  { opacity: 1; transform: none; }
  21%  { opacity: 0; transform: none; }
  96%  { opacity: 0; transform: none; }
  100% { opacity: 1; transform: none; }
}

/* =========================================================
   TOP 受講者データ：スマホではグラフの背景に人物画像（2026-09）
   画像内の人物は横幅の約36%〜96%、高さの約3%〜94%の位置にある
========================================================= */
.profile-sp-artwork {
  display: none;
}

@media (max-width: 767px) {
  main > #student-profile.student-profile-section {
    padding-bottom: 72px !important;
    overflow-x: clip !important;
  }

  main > #student-profile .student-profile-bg-artwork {
    display: none;
  }

  main > #student-profile .profile-content-layout {
    position: relative;
  }

  main > #student-profile .profile-content-layout > .profile-chart-wrap,
  main > #student-profile .profile-content-layout > .profile-legend {
    position: relative;
    z-index: 1;
  }

  main > #student-profile .profile-sp-artwork {
    display: block;
    position: absolute;
    top: var(--sp-art-top, calc(-84px - 1.5vw));
    left: var(--sp-art-left, calc(14.6vw - 16px));
    z-index: 0;
    width: var(--sp-art-w, 88vw);
    pointer-events: none;
    opacity: var(--sp-art-opacity, 0.9);
  }

  main > #student-profile .profile-sp-artwork img {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
  }
}

/* =========================================================
   TOP メインビジュアル：スマホの見出し（2026-09）
   「1人ひとりを大切にする、／アットホームな学びの場。」の2行で表示し、
   下線のマーカーを各行に付ける
========================================================= */
@media (max-width: 600px) {
  .hero .hero-catch {
    font-size: clamp(1.5rem, 7.1vw, 2.2rem);
  }

  .hero .hero-catch-highlight {
    display: inline;
    margin-top: 0;
    background-image: linear-gradient(transparent 60%, var(--color-celeste) 60%, var(--color-celeste) 90%, transparent 90%);
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
  }

  .hero .hero-catch-highlight::after {
    display: none;
  }

  .hero .hero-catch-mainline {
    margin-bottom: 6px;
  }
}

/* =========================================================
   TOP メインビジュアル：写真が切れすぎないように（2026-09）
   - 写真を拡大するズーム（1.06倍）をなくす
   - 縦長の画面（スマホ・タブレット）では高さを抑え、写真の見える範囲を広げる
   - 人物が中央から外れないよう、写真ごとに表示位置を調整
========================================================= */
@keyframes heroFadeInOut {
  0%   { opacity: 0; transform: none; }
  4%   { opacity: 1; transform: none; }
  16%  { opacity: 1; transform: none; }
  21%  { opacity: 0; transform: none; }
  100% { opacity: 0; transform: none; }
}

@media (max-width: 600px) and (orientation: portrait) {
  .hero {
    height: min(100svh, 136vw);
    min-height: 520px;
  }
}

@media (min-width: 601px) and (max-width: 1024px) and (orientation: portrait) {
  .hero {
    height: min(100svh, 96vw);
    min-height: 600px;
  }
}

@media (max-width: 1024px) and (orientation: portrait) {
  .hero .hero-slide:nth-child(2) { background-position: 58% 50%; }
  .hero .hero-slide:nth-child(3) { background-position: 55% 50%; }
  .hero .hero-slide:nth-child(4) { background-position: 60% 50%; }
  .hero .hero-slide:nth-child(6) { background-position: 72% 50%; }
}

/* TOP メインビジュアル：写真の切り替えを速く（2026-09）
   1枚あたり 7秒 → 2秒（6枚で1周 12秒） */
.hero .hero-slide { animation-duration: 12s; }
.hero .hero-slide:nth-child(1) { animation-delay: 0s; }
.hero .hero-slide:nth-child(2) { animation-delay: 2s; }
.hero .hero-slide:nth-child(3) { animation-delay: 4s; }
.hero .hero-slide:nth-child(4) { animation-delay: 6s; }
.hero .hero-slide:nth-child(5) { animation-delay: 8s; }
.hero .hero-slide:nth-child(6) { animation-delay: 10s; }

/* TOP：PC専用／スマホ専用の改行（2026-09） */
br.front-desktop-break {
  display: inline;
}

br.front-mobile-break {
  display: none;
}

@media (max-width: 600px) {
  br.front-desktop-break {
    display: none;
  }

  br.front-mobile-break {
    display: inline;
  }

  /* 日本語のメインコピーは、読点の後だけで改行して2行にする。 */
  html:lang(ja) .hero .hero-catch-highlight {
    white-space: nowrap;
  }

  html:lang(ja) .hero .hero-catch-highlight > br.front-desktop-break {
    display: inline;
  }
}
