/*
Theme Name: 進路の灯台
Theme URI: 
Author: ハイグレードデザイン
Author URI: 
Description: 千葉県の通信制高校・サポート校ガイド「進路の灯台」公式テーマ
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: shinro-no-todai
*/

    /* --- 変数定義 & リセット（参考サイト準拠） --- */
    :root {
      --primary-color: #1a1a1a;
      --accent-color: #c0392b;
      --text-color: #333333;
      --bg-light: #f5f2ed;
      --white: #ffffff;
      --border-color: #e5e2dc;
      --footer-bg: #1a1a1a;
    }

    * { margin: 0; padding: 0; box-sizing: border-box; }

    html, body {
      overflow-x: hidden;
      width: 100%;
      scroll-behavior: smooth;
    }

    body {
      font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
      color: var(--text-color);
      line-height: 1.6;
      background-color: var(--white);
      padding-top: 70px;
    }

    body.is-no-scroll {
      overflow: hidden;
      height: 100%;
    }

    a { text-decoration: none; color: inherit; }
    img { max-width: 100%; height: auto; display: block; }
    ul { list-style: none; }

    .container {
      max-width: 1100px;
      margin: 0 auto;
      padding: 0 20px;
    }
    .section-padding { padding: 80px 0; }
    .bg-light { background-color: var(--bg-light); }

    .section-title {
      text-align: center;
      font-size: 28px;
      margin-bottom: 50px;
      color: var(--primary-color);
      font-weight: bold;
      position: relative;
    }
    .section-title::after {
      content: '';
      display: block;
      width: 40px;
      height: 4px;
      border-radius: 2px;
      background-color: var(--accent-color);
      margin: 20px auto 0;
    }

    /* --- ヘッダー (A) --- */
    .header {
      background-color: var(--white);
      box-shadow: 0 2px 10px rgba(0,0,0,0.05);
      position: fixed;
      width: 100%;
      top: 0; left: 0;
      z-index: 1000;
      height: 70px;
    }
    .header-inner {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
      height: 100%;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .logo {
      font-size: 22px;
      color: var(--primary-color);
      font-weight: bold;
      display: flex;
      align-items: center;
      gap: 8px;
      position: relative;
      z-index: 1002;
    }
    .logo svg { color: var(--accent-color); }

    .global-nav ul { display: flex; align-items: center; gap: 30px; }
    .global-nav a { font-weight: bold; font-size: 15px; transition: color 0.3s; }
    .global-nav a:hover { color: var(--accent-color); }
    .btn-contact {
      background-color: var(--accent-color);
      color: var(--white) !important;
      padding: 10px 24px;
      border-radius: 30px;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
    }
    .btn-contact:hover {
      background-color: #a02817;
      transform: translateY(-2px);
    }

    .hamburger { display: none; }
    .drawer-overlay { display: none; }

    /* --- FVラッパー --- */
    .fv-wrapper { }

    /* --- ヒーローセクション (A) --- */
    .hero {
      height: 60vh;
      min-height: 450px;
      position: relative;
    }
    .hero-swiper { width: 100%; height: 100%; }
    .hero-slide {
      display: flex;
      align-items: center;
      justify-content: center;
      background-size: cover;
      background-position: center;
      position: relative;
      height: 100%;
    }
    .hero-slide::before {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0; bottom: 0;
      background: rgba(27, 54, 93, 0.5);
    }
    .slide-content {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      z-index: 10;
      text-align: center;
      color: var(--white);
      padding: 40px;
      width: 100%;
      max-width: 800px;
    }
    .slide-content h2 {
      font-size: 42px;
      margin-bottom: 20px;
      line-height: 1.4;
      text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    }
    .slide-content p {
      font-size: 18px;
      font-weight: bold;
      text-shadow: 0 1px 3px rgba(0,0,0,0.5);
    }

    /* --- 強みバッジ (A) --- */
    .hero-badges {
      display: flex;
      justify-content: center;
      gap: 15px;
      margin-top: 25px;
      flex-wrap: wrap;
    }
    .hero-badge {
      background: rgba(255, 255, 255, 0.15);
      border: 1px solid rgba(255, 255, 255, 0.3);
      backdrop-filter: blur(4px);
      padding: 8px 16px;
      border-radius: 30px;
      font-size: 14px;
      font-weight: bold;
      display: flex;
      align-items: center;
      gap: 6px;
      letter-spacing: 0.5px;
      box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }
    .hero-badge svg {
      color: var(--accent-color);
      width: 16px;
      height: 16px;
    }

    /* --- 検索セクション (A) --- */
    .search-section {
      position: relative;
      margin-top: -60px;
      z-index: 20;
      padding: 0 0 50px 0;
    }

    .search-box {
      background-color: var(--white);
      color: var(--text-color);
      padding: 35px 40px;
      border-radius: 16px;
      box-shadow: 0 15px 40px rgba(0,0,0,0.08);
      border: 1px solid rgba(0,0,0,0.05);
    }

    .search-title {
      font-size: 20px;
      font-weight: bold;
      margin-bottom: 20px;
      display: flex;
      align-items: center;
      gap: 8px;
      color: var(--primary-color);
    }
    .search-title svg {
      color: var(--accent-color);
    }

    .search-form {
      display: flex;
      flex-direction: column;
      gap: 0;
    }
    .input-group {
      display: flex;
      flex-direction: column;
      flex: 1;
      min-width: 0;
    }
    .input-group label {
      margin-bottom: 8px;
      font-size: 13px;
      font-weight: bold;
      color: #64748b;
    }
    .input-group select {
      padding: 0 15px;
      height: 50px;
      border-radius: 8px;
      border: 1px solid var(--border-color);
      font-size: 15px;
      background-color: #f8fafc;
      color: var(--text-color);
      cursor: pointer;
      transition: border-color 0.3s;
    }
    .input-group select:focus {
      outline: none;
      border-color: var(--accent-color);
    }
    .search-actions {
      display: flex;
      gap: 12px;
      margin-top: 16px;
    }
    .btn-search {
      background-color: var(--accent-color);
      color: var(--white);
      border: none;
      padding: 14px 32px;
      border-radius: 12px;
      font-size: 16px;
      font-weight: bold;
      cursor: pointer;
      transition: background-color 0.3s, transform 0.2s, box-shadow 0.2s;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 2px;
      white-space: nowrap;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
      flex: 1;
    }
    .btn-search-main { font-size: 16px; font-weight: 800; }
    .btn-search-sub { font-size: 11px; font-weight: 500; opacity: 0.85; }
    .btn-search:hover {
      background-color: #a02817;
      transform: translateY(-2px);
      box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    }
    .btn-pdf {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 14px 24px;
      border-radius: 12px;
      border: 2px solid var(--primary-color);
      background: var(--white);
      color: var(--primary-color);
      font-weight: 700;
      white-space: nowrap;
      transition: all 0.3s;
    }
    .btn-pdf:hover {
      background: var(--primary-color);
      color: var(--white);
    }
    .btn-pdf:hover svg { color: var(--white); }
    .btn-pdf svg { flex-shrink: 0; color: var(--accent-color); transition: color 0.3s; }
    .btn-pdf-text { display: flex; flex-direction: column; }
    .btn-pdf-main { font-size: 14px; font-weight: 800; }
    .btn-pdf-sub { font-size: 10px; font-weight: 500; opacity: 0.6; }

    /* --- 比較セクション (B カードUI) --- */
    .compare-section {
      padding: 80px 0;
      background-color: var(--white);
    }
    .compare-section .section-subtitle {
      color: var(--accent-color);
      font-size: 13px;
      font-weight: 800;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      margin-bottom: 12px;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .compare-section .section-subtitle::before {
      content: "";
      display: block;
      width: 24px;
      height: 2px;
      background-color: var(--accent-color);
    }
    .compare-section .section-title {
      text-align: left;
      margin-bottom: 40px;
    }
    .compare-section .section-title::after {
      display: none;
    }
    .compare-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 40px;
    }
    .compare-card {
      background: var(--bg-light);
      border-radius: 24px;
      padding: 50px 40px;
      border: 1px solid var(--border-color);
      position: relative;
      overflow: hidden;
    }
    .compare-card.highlight {
      background: #f5f2ed;
      color: var(--text-color);
      border-color: #e5e2dc;
      box-shadow: 0 6px 24px rgba(0,0,0,0.08);
    }
    .compare-card-title {
      font-size: 28px;
      font-weight: 900;
      margin-bottom: 30px;
      color: var(--primary-color);
      display: flex;
      align-items: center;
      gap: 12px;
    }
    .compare-card.highlight .compare-card-title {
      color: var(--text-color);
      padding-bottom: 16px;
      border-bottom: 3px solid var(--accent-color);
      display: inline-block;
    }
    .compare-list { list-style: none; }
    .compare-list li {
      margin-bottom: 24px;
      display: flex;
      align-items: flex-start;
      gap: 16px;
    }
    .compare-list li:last-child { margin-bottom: 0; }
    .compare-icon {
      width: 24px; height: 24px;
      border-radius: 50%;
      background: rgba(0,0,0,0.05);
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0;
      color: var(--primary-color);
      margin-top: 2px;
    }
    .compare-card.highlight .compare-icon {
      background: var(--accent-color);
      color: #fff;
    }
    .compare-text h4 { font-size: 15px; font-weight: 800; margin-bottom: 4px; }
    .compare-text p { font-size: 14px; color: #666; line-height: 1.7; }

    /* --- 注目の学校 (B スタイル) --- */
    .pickup-section {
      padding: 80px 0 80px;
      background-color: var(--bg-light);
      overflow: hidden;
    }
    .pickup-section .section-subtitle {
      color: var(--accent-color);
      font-size: 13px;
      font-weight: 800;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      margin-bottom: 12px;
    }
    .pickup-section .section-title {
      margin-bottom: 16px;
    }
    .pickup-section .section-title::after {
      display: none;
    }
    .pickup-swiper {
      width: 100%;
      padding: 20px 0 0;
      position: relative;
    }
    .pickup-swiper .swiper-slide {
      width: 320px;
      height: auto;
    }
    .pickup-swiper .swiper-pagination {
      position: relative !important;
      bottom: auto !important;
      margin-top: 30px;
      padding-bottom: 10px;
    }
    .pickup-swiper .swiper-pagination-bullet { background: #aaa; opacity: 0.3; width: 10px; height: 10px; }
    .pickup-swiper .swiper-pagination-bullet-active { background: var(--accent-color); opacity: 1;}

    .school-card {
      background: var(--white);
      border-radius: 16px;
      overflow: hidden;
      box-shadow: 0 4px 20px rgba(0,0,0,0.05);
      display: flex;
      flex-direction: column;
      height: 100%;
      border: 1px solid var(--border-color);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      color: inherit;
      cursor: pointer;
    }
    .school-card:hover { transform: translateY(-8px); box-shadow: 0 12px 30px rgba(0,0,0,0.1); }
    .school-card .img-wrap { height: 200px; position: relative; overflow: hidden;}
    .school-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
    .school-card:hover .img-wrap img { transform: scale(1.05); }
    .school-card .badge {
      position: absolute; top: 16px; left: 16px;
      background: var(--white); color: var(--primary-color);
      padding: 6px 14px; border-radius: 999px; font-size: 11px; font-weight: 800; z-index: 2;
      box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    }
    .school-card .body { padding: 24px; display: flex; flex-direction: column; flex-grow: 1; }
    .school-card .title { font-size: 18px; font-weight: 900; margin-bottom: 12px; color: var(--primary-color); line-height: 1.4;}
    .school-card .desc { font-size: 13px; color: #666; margin-bottom: 24px; flex-grow: 1; line-height: 1.6;}
    .school-card .link {
      font-size: 14px; font-weight: 800; color: var(--accent-color); display: flex; align-items: center; gap: 6px; transition: gap 0.3s;
    }
    .school-card:hover .link { gap: 10px; }

    /* --- 進路ガイド (B スプリットレイアウト) --- */
    .guide-section {
      padding: 80px 0;
      background-color: var(--white);
    }
    .guide-section .section-subtitle {
      color: var(--accent-color);
      font-size: 13px;
      font-weight: 800;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      margin-bottom: 12px;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .guide-section .section-subtitle::before {
      content: "";
      display: block;
      width: 24px;
      height: 2px;
      background-color: var(--accent-color);
    }
    .guide-section .section-title {
      text-align: left;
      font-size: 32px;
      font-weight: 900;
      line-height: 1.3;
      margin-bottom: 0;
    }
    .guide-section .section-title::after { display: none; }

    .guide-layout {
      display: flex;
      gap: 60px;
    }
    .guide-intro {
      width: 300px;
      flex-shrink: 0;
      display: flex;
      flex-direction: column;
    }
    .guide-tabs-vertical {
      display: flex;
      flex-direction: column;
      gap: 12px;
      align-items: flex-start;
      margin-top: 10px;
    }
    .tab-btn-vert {
      background: transparent;
      border: none;
      color: #999;
      padding: 8px 0;
      font-size: 15px;
      font-weight: 700;
      cursor: pointer;
      transition: all 0.3s;
      display: flex;
      align-items: center;
      gap: 12px;
    }
    .tab-btn-vert::before {
      content: '';
      display: block;
      width: 0;
      height: 2px;
      background-color: var(--accent-color);
      transition: width 0.3s ease;
    }
    .tab-btn-vert:hover { color: var(--primary-color); }
    .tab-btn-vert:hover::before { width: 16px; }
    .tab-btn-vert.active { color: var(--primary-color); }
    .tab-btn-vert.active::before { width: 30px; }

    .guide-list {
      flex: 1;
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 40px;
      align-content: start;
    }
    .guide-card {
      display: flex;
      flex-direction: column;
      cursor: pointer;
      background: var(--white);
      border-radius: 16px;
      overflow: hidden;
      border: 1px solid var(--border-color);
      box-shadow: 0 2px 12px rgba(0,0,0,0.04);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    .guide-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 12px 30px rgba(0,0,0,0.1);
    }
    .guide-card a {
      display: flex;
      flex-direction: column;
      height: 100%;
    }
    .guide-card .img-wrap {
      overflow: hidden;
      height: 200px;
    }
    .guide-card .img-wrap img {
      width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s;
    }
    .guide-card:hover .img-wrap img { transform: scale(1.05); }
    .guide-card .card-content {
      padding: 20px 24px 24px;
      display: flex;
      flex-direction: column;
      gap: 8px;
      flex: 1;
    }
    .guide-card .meta { font-size: 12px; font-weight: 800; color: var(--accent-color); letter-spacing: 0.05em;}
    .guide-card .g-title { font-size: 17px; font-weight: 900; color: var(--primary-color); line-height: 1.5; transition: color 0.3s;}
    .guide-card:hover .g-title { color: var(--accent-color); }
    .guide-card .read-more {
      margin-top: auto;
      padding-top: 12px;
      font-size: 13px;
      font-weight: 700;
      color: var(--accent-color);
      display: flex;
      align-items: center;
      gap: 6px;
      transition: gap 0.3s;
    }
    .guide-card:hover .read-more { gap: 10px; }

    /* --- 共感ブロック (②) --- */
    .trouble-section {
      padding: 80px 0;
      background-color: var(--white);
    }
    .trouble-section .section-label {
      text-align: center;
      font-size: 13px;
      font-weight: 800;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      color: #999;
      margin-bottom: 16px;
    }
    .trouble-section .section-title {
      margin-bottom: 50px;
    }
    .trouble-section .section-title::after {
      background-color: var(--primary-color);
    }
    .trouble-list {
      max-width: 640px;
      margin: 0 auto;
      border-top: 1px solid var(--border-color);
      border-bottom: 1px solid var(--border-color);
      padding: 30px 0;
    }
    .trouble-list li {
      display: flex;
      align-items: center;
      gap: 14px;
      padding: 14px 0;
      font-size: 16px;
      color: var(--text-color);
    }
    .trouble-list .check-icon {
      width: 28px; height: 28px;
      border-radius: 50%;
      background: var(--accent-color);
      color: var(--white);
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0;
    }
    .trouble-resolve {
      text-align: center;
      margin-top: 50px;
      font-size: 24px;
      font-weight: 900;
      color: var(--primary-color);
      line-height: 1.5;
    }

    /* --- 解決提示 (③ FEATURE) --- */
    .feature-section {
      padding: 80px 0;
      background-color: var(--bg-light);
    }
    .feature-section .section-label {
      text-align: center;
      font-size: 13px;
      font-weight: 800;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      color: #999;
      margin-bottom: 16px;
    }
    .feature-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 30px;
    }
    .feature-card {
      background: var(--white);
      border-radius: 16px;
      overflow: hidden;
      box-shadow: 0 4px 20px rgba(0,0,0,0.04);
      border: 1px solid var(--border-color);
    }
    .feature-card .card-img {
      height: 180px;
      overflow: hidden;
      position: relative;
    }
    .feature-card .card-img img {
      width: 100%; height: 100%; object-fit: cover;
    }
    .feature-card .point-label {
      position: absolute; top: 16px; left: 16px;
      font-size: 12px; font-weight: 900; color: var(--text-color);
      background: var(--white);
      padding: 4px 12px;
      border-radius: 4px;
      box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    }
    .feature-card .point-label span {
      font-size: 22px;
      font-weight: 900;
      margin-left: 4px;
    }
    .feature-card .card-body {
      padding: 24px;
    }
    .feature-card .card-body h4 {
      font-size: 17px;
      font-weight: 900;
      color: var(--primary-color);
      margin-bottom: 10px;
      line-height: 1.4;
    }
    .feature-card .card-body p {
      font-size: 14px;
      color: #666;
      line-height: 1.7;
    }

    /* --- メイン導線カード (④) --- */
    .cta-nav-section {
      padding: 70px 0;
      background-color: var(--bg-light);
      position: relative;
    }
    .cta-nav-section::before {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0; bottom: 0;
      background: var(--bg-light);
    }
    .cta-nav-section .container {
      position: relative;
      z-index: 1;
    }
    .cta-nav-heading {
      text-align: center;
      color: var(--primary-color);
      font-size: 22px;
      font-weight: 900;
      margin-bottom: 12px;
    }
    .cta-nav-sub {
      text-align: center;
      color: #888;
      font-size: 14px;
      margin-bottom: 36px;
    }
    .cta-nav-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    .cta-nav-card {
      display: flex;
      align-items: center;
      gap: 16px;
      background: var(--white);
      border: none;
      border-radius: 16px;
      padding: 28px 24px;
      transition: all 0.3s ease;
      cursor: pointer;
      box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    }
    .cta-nav-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 12px 30px rgba(0,0,0,0.15);
    }
    .cta-nav-card .nav-icon {
      width: 52px; height: 52px;
      border-radius: 14px;
      background: var(--accent-color);
      color: var(--white);
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0;
    }
    .cta-nav-card .nav-text {
      flex: 1;
    }
    .cta-nav-card .nav-text h4 {
      font-size: 16px;
      font-weight: 800;
      color: var(--primary-color);
      margin-bottom: 4px;
    }
    .cta-nav-card .nav-text p {
      font-size: 12px;
      color: #999;
    }
    .cta-nav-card .nav-arrow {
      color: var(--accent-color);
      flex-shrink: 0;
      transition: transform 0.3s;
    }
    .cta-nav-card:hover .nav-arrow {
      transform: translateX(4px);
    }

    /* --- 学校関係者向けCTA (⑨) --- */
    .school-cta-section {
      padding: 60px 0;
      background-color: var(--primary-color);
      text-align: center;
    }
    .school-cta-section h3 {
      font-size: 24px;
      font-weight: 900;
      color: var(--white);
      margin-bottom: 16px;
    }
    .school-cta-section p {
      font-size: 15px;
      color: #999999;
      margin-bottom: 30px;
      line-height: 1.7;
    }
    .school-cta-btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: var(--accent-color);
      color: var(--white);
      padding: 16px 40px;
      border-radius: 999px;
      font-size: 16px;
      font-weight: 800;
      transition: all 0.3s;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }
    .school-cta-btn:hover {
      background: #a02817;
      transform: translateY(-3px);
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    }

    .is-hidden { display: none !important; }

    /* --- 創業ストーリー (A) --- */
    .about-inner {
      display: flex;
      background: var(--white);
      border-radius: 20px;
      overflow: hidden;
      box-shadow: 0 15px 40px rgba(0,0,0,0.08);
      opacity: 0; transform: translateY(30px);
    }
    .about-img {
      flex: 1; min-height: 400px;
      background-image: url('https://images.unsplash.com/photo-1559825481-12a05cc00344?ixlib=rb-4.0.3&auto=format&fit=crop&w=1000&q=80');
      background-size: cover; background-position: center;
    }
    .about-content {
      flex: 1.2; padding: 60px 50px; display: flex; flex-direction: column; justify-content: center;
    }
    .about-content h3 { font-size: 24px; color: var(--primary-color); margin-bottom: 20px; line-height: 1.4;}
    .about-content p { margin-bottom: 15px; color: #555; line-height: 1.7;}
    .about-sign { margin-top: 30px; font-weight: bold; color: var(--primary-color); text-align: right; }

    /* --- ポータル型フッター (A) --- */
    .footer {
      background-color: var(--footer-bg);
      color: #999999;
      padding: 80px 0 40px;
      position: relative;
    }

    .footer-top {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1.5fr;
      gap: 50px;
      padding-bottom: 60px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .footer-info-column .footer-logo {
      color: var(--white);
      font-size: 26px;
      font-weight: bold;
      margin-bottom: 20px;
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .footer-info-column .footer-logo svg { color: var(--accent-color); }
    .footer-info-column .footer-tagline {
      color: var(--white);
      font-size: 14px;
      font-weight: bold;
      margin-bottom: 15px;
    }
    .footer-info-column .footer-desc {
      font-size: 14px;
      line-height: 1.8;
      margin-bottom: 25px;
    }

    .footer-sns { display: flex; gap: 15px; }
    .sns-link {
      width: 40px; height: 40px;
      background-color: rgba(255, 255, 255, 0.05); border-radius: 50%;
      display: flex; align-items: center; justify-content: center; color: var(--white); transition: all 0.3s;
    }
    .sns-link:hover { background-color: var(--accent-color); transform: translateY(-3px); }

    .footer-title {
      color: var(--white); font-size: 16px; font-weight: bold; margin-bottom: 25px; position: relative; padding-bottom: 10px;
    }
    .footer-title::after {
      content: ''; position: absolute; bottom: 0; left: 0; width: 30px; height: 2px; background-color: var(--accent-color);
    }

    .footer-nav-list { list-style: none; }
    .footer-nav-list li { margin-bottom: 12px; }
    .footer-nav-list a { font-size: 14px; transition: color 0.3s, transform 0.3s; display: inline-block; }
    .footer-nav-list a:hover { color: var(--accent-color); transform: translateX(5px); }

    .footer-area-blocks { display: block; }
    .footer-area-block h5 {
      color: #cbd5e1; font-size: 12px; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.5px;
    }

    .footer-bottom {
      padding-top: 40px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px;
    }
    .footer-copyright { font-size: 12px; }
    .footer-sub-links { display: flex; gap: 20px; }
    .footer-sub-links a { font-size: 12px; transition: color 0.3s; }
    .footer-sub-links a:hover { color: var(--white); }

    .back-to-top {
      position: absolute; top: -25px; left: 50%; transform: translateX(-50%);
      width: 50px; height: 50px; background-color: var(--accent-color); color: var(--white);
      border-radius: 50%; display: flex; align-items: center; justify-content: center;
      box-shadow: 0 4px 10px rgba(0,0,0,0.2); cursor: pointer; transition: all 0.3s; z-index: 10;
    }
    .back-to-top:hover { background-color: #a02817; transform: translateX(-50%) translateY(-5px); }

    /* --- レスポンシブ対応 --- */
    @media (max-width: 1024px) {
      .compare-grid { grid-template-columns: 1fr; }
      .guide-layout { flex-direction: column; gap: 40px; }
      .guide-intro { width: 100%; margin-bottom: 10px; }
      .guide-tabs-vertical { flex-direction: row; flex-wrap: wrap; gap: 15px; margin-top: 0; }
      .tab-btn-vert {
        padding: 10px 24px;
        background: var(--bg-light);
        border: 1px solid var(--border-color);
        border-radius: 999px;
        font-size: 14px;
      }
      .tab-btn-vert::before { display: none; }
      .tab-btn-vert.active {
        background: var(--primary-color);
        color: var(--white);
        border-color: var(--primary-color);
      }
      .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
    }

    @media (max-width: 768px) {
      /* ドロワーメニュー */
      .hamburger {
        display: block; width: 30px; height: 22px; position: relative; background: none; border: none; cursor: pointer; z-index: 1002;
      }
      .hamburger-line {
        position: absolute; width: 100%; height: 2px; background-color: var(--primary-color); left: 0; transition: all 0.3s ease;
      }
      .hamburger-line:nth-child(1) { top: 0; }
      .hamburger-line:nth-child(2) { top: 50%; transform: translateY(-50%); }
      .hamburger-line:nth-child(3) { bottom: 0; }

      .hamburger.is-open .hamburger-line:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
      .hamburger.is-open .hamburger-line:nth-child(2) { opacity: 0; }
      .hamburger.is-open .hamburger-line:nth-child(3) { top: 50%; transform: translateY(-50%) rotate(-45deg); }

      .drawer-overlay {
        display: block; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.6);
        z-index: 1000; opacity: 0; visibility: hidden; transition: all 0.3s ease;
      }
      .drawer-overlay.is-open { opacity: 1; visibility: visible; }

      .global-nav {
        position: fixed; top: 0; right: 0; width: 100%; height: 100vh; height: 100dvh;
        background-color: var(--white); padding: 90px 30px 40px; z-index: 1001; overflow-y: auto;
        transform: translateX(100%); transition: transform 0.3s ease-in-out;
      }
      .global-nav.is-open { transform: translateX(0); }
      .global-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
      .global-nav li { border-bottom: 1px solid var(--border-color); }
      .global-nav a { display: block; padding: 18px 0; font-size: 16px; }
      .global-nav .btn-contact { margin-top: 25px; text-align: center; border-radius: 8px; padding: 15px; box-shadow: none; }

      /* FV100svh対応 */
      .fv-wrapper { display: flex; flex-direction: column; height: calc(100svh - 70px); }
      .hero { flex: 1 1 auto; height: auto; min-height: 0; }
      .slide-content { padding: 20px; }
      .slide-content h2 { font-size: 24px; margin-bottom: 10px; }
      .slide-content p { font-size: 14px; }

      .hero-badges { gap: 6px; margin-top: 15px; }
      .hero-badge { padding: 4px 10px; font-size: 10px; }
      .hero-badge svg { width: 12px; height: 12px; }

      /* 検索ボックス */
      .search-section { flex: 0 0 auto; margin-top: -30px; padding: 0 15px 20px; }
      .search-box { padding: 20px 20px 25px; border-radius: 12px; }
      .search-title { font-size: 16px; margin-bottom: 15px; }
      .search-form { flex-direction: column; align-items: stretch; gap: 12px; }
      .input-group label { margin-bottom: 4px; font-size: 12px; }
      .input-group select { height: 46px; font-size: 14px; padding: 0 10px; }
      .search-actions { flex-direction: column; gap: 10px; }
      .btn-search { width: 100%; padding: 14px; }
      .btn-pdf { width: 100%; justify-content: center; }

      /* 共感・解決提示・導線 */
      .trouble-section { padding: 50px 0; }
      .trouble-resolve { font-size: 20px; }
      .feature-section { padding: 50px 0; }
      .feature-grid { grid-template-columns: 1fr; gap: 20px; }
      .feature-card .card-img { height: 160px; }
      .cta-nav-section { padding: 50px 0; }
      .cta-nav-heading { font-size: 18px; }
      .cta-nav-grid { grid-template-columns: 1fr; gap: 16px; }
      .school-cta-section { padding: 40px 0; }
      .school-cta-section h3 { font-size: 20px; }
      .school-cta-btn { padding: 14px 30px; font-size: 14px; }

      /* 比較 */
      .compare-section { padding: 50px 0; }
      .compare-card { padding: 30px 20px; border-radius: 16px; }
      .compare-card-title { font-size: 22px; }

      /* 注目の学校 */
      .pickup-section { padding: 50px 0 40px; }
      .pickup-swiper .swiper-slide { width: 280px; }

      /* ガイド */
      .guide-section { padding: 50px 0; }
      .guide-list { grid-template-columns: 1fr; gap: 30px; }
      .guide-tabs-vertical { gap: 8px; margin-bottom: 20px; }
      .tab-btn-vert { padding: 8px 16px; font-size: 12px; }
      .guide-card .img-wrap { height: 180px; }

      /* About */
      .about-inner { flex-direction: column; }
      .about-img { min-height: 250px; }
      .about-content { padding: 30px 25px; }
      .about-content h3 { font-size: 20px; }

      /* フッター */
      .footer-top { grid-template-columns: 1fr; gap: 40px; }
      .footer-area-blocks { grid-template-columns: 1fr; }
      .footer-bottom { flex-direction: column; text-align: center; }
    }

    /* --- 記事詳細ページ --- */
    .article-header {
      padding: 100px 0 40px;
      background-color: var(--bg-light);
    }
    .article-breadcrumb {
      font-size: 13px;
      color: #999;
      margin-bottom: 20px;
    }
    .article-breadcrumb a {
      color: var(--accent-color);
      transition: opacity 0.3s;
    }
    .article-breadcrumb a:hover { opacity: 0.7; }
    .article-meta-label {
      display: inline-block;
      background: var(--accent-color);
      color: var(--white);
      padding: 4px 14px;
      border-radius: 999px;
      font-size: 11px;
      font-weight: 800;
      margin-bottom: 16px;
    }
    .article-title {
      font-size: 32px;
      font-weight: 900;
      color: var(--primary-color);
      line-height: 1.4;
      margin-bottom: 16px;
    }
    .article-date {
      font-size: 13px;
      color: #999;
    }
    .article-thumbnail {
      max-width: 900px;
      margin: 0 auto;
      border-radius: 16px;
      overflow: hidden;
      margin-top: -20px;
      position: relative;
      z-index: 10;
      box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    }
    .article-thumbnail img {
      width: 100%;
      height: auto;
    }
    .article-body {
      max-width: 1000px;
      margin: 0 auto;
      padding: 50px 40px 80px;
      font-size: 16px;
      line-height: 1.9;
      color: var(--text-color);
    }
    .article-body h2 {
      font-size: 24px;
      font-weight: 900;
      color: var(--primary-color);
      margin: 50px 0 20px;
      padding: 16px 20px;
      background: var(--bg-light);
      border-left: 5px solid var(--accent-color);
      border-radius: 0 8px 8px 0;
    }
    .article-body h3 {
      font-size: 20px;
      font-weight: 800;
      color: var(--primary-color);
      margin: 40px 0 16px;
      padding: 12px 0;
      border-bottom: 2px solid var(--border-color);
      position: relative;
    }
    .article-body h3::after {
      content: '';
      position: absolute;
      bottom: -2px;
      left: 0;
      width: 80px;
      height: 2px;
      background: var(--accent-color);
    }
    .article-body h4 {
      font-size: 17px;
      font-weight: 800;
      color: var(--primary-color);
      margin: 30px 0 12px;
      padding-left: 14px;
      border-left: 3px solid var(--accent-color);
    }
    .article-body p {
      margin-bottom: 24px;
    }
    .article-body ul, .article-body ol {
      margin-bottom: 24px;
      padding-left: 24px;
    }
    .article-body li {
      list-style: disc;
      margin-bottom: 8px;
    }
    .article-body blockquote {
      border-left: 4px solid var(--accent-color);
      padding: 16px 24px;
      background: var(--bg-light);
      border-radius: 0 8px 8px 0;
      margin: 24px 0;
      color: #555;
    }

    /* --- 記事一覧ページ --- */
    .archive-header {
      padding: 100px 0 40px;
      background-color: var(--bg-light);
    }
    .column-tabs {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      padding: 40px 0 0;
    }
    .column-tab {
      padding: 8px 22px;
      border-radius: 999px;
      font-size: 14px;
      font-weight: 700;
      color: var(--text-color);
      background: var(--white);
      border: 1px solid var(--border-color);
      transition: all 0.3s;
    }
    .column-tab:hover {
      border-color: var(--primary-color);
      color: var(--primary-color);
    }
    .column-tab.active {
      background: var(--primary-color);
      color: var(--white);
      border-color: var(--primary-color);
    }
    .archive-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 40px;
      padding: 60px 0 40px;
    }

    /* ページネーション */
    .nav-links {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 8px;
      padding: 40px 0 80px;
    }
    .nav-links a,
    .nav-links span {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 44px;
      height: 44px;
      padding: 0 14px;
      border-radius: 10px;
      font-size: 14px;
      font-weight: 700;
      transition: all 0.3s;
      border: 1px solid var(--border-color);
      background: var(--white);
      color: var(--text-color);
    }
    .nav-links a:hover {
      background: var(--primary-color);
      color: var(--white);
      border-color: var(--primary-color);
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }
    .nav-links .current {
      background: var(--primary-color);
      color: var(--white);
      border-color: var(--primary-color);
    }
    .nav-links .prev,
    .nav-links .next {
      font-size: 13px;
      padding: 0 18px;
      background: var(--bg-light);
    }
    .nav-links .dots {
      border: none;
      background: none;
      min-width: auto;
      padding: 0 4px;
      color: #999;
    }
    .pagination {
      padding: 40px 0 80px;
    }

    /* --- 学校一覧ページ (提案C: サイドバーフィルター型) --- */
    .school-archive-hero {
      background: var(--primary-color);
      padding: 50px 0;
      text-align: center;
      color: var(--white);
    }
    .school-archive-hero h1 {
      font-size: 28px;
      font-weight: 900;
      margin-bottom: 8px;
      color: var(--white);
    }
    .school-archive-hero h1::after { display: none; }
    .school-archive-hero p {
      color: #999999;
      font-size: 14px;
    }

    .school-container {
      max-width: 1400px;
      margin: 0 auto;
      padding: 0 24px;
    }

    .school-page-layout {
      display: flex;
      gap: 36px;
      padding: 40px 0 80px;
      align-items: flex-start;
    }

    /* サイドバー */
    .school-sidebar {
      width: 280px;
      flex-shrink: 0;
      position: sticky;
      top: 90px;
      max-height: calc(100vh - 110px);
      overflow-y: auto;
    }
    .filter-box {
      background: var(--white);
      border-radius: 16px;
      padding: 28px;
      border: 1px solid var(--border-color);
    }
    .filter-toggle-btn { display: none; }
    .filter-title {
      font-size: 16px;
      font-weight: 900;
      color: var(--primary-color);
      margin-bottom: 20px;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .filter-title svg { color: var(--accent-color); }
    .filter-group { margin-bottom: 24px; }
    .filter-group:last-of-type { margin-bottom: 28px; }
    .filter-label {
      font-size: 12px;
      font-weight: 700;
      color: #999;
      margin-bottom: 8px;
      display: block;
    }
    .filter-group select {
      width: 100%;
      height: 44px;
      border-radius: 8px;
      border: 1px solid var(--border-color);
      padding: 0 12px;
      font-size: 13px;
      background: var(--bg-light);
    }
    .filter-group select:focus {
      outline: none;
      border-color: var(--accent-color);
    }
    .filter-tags {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }
    .filter-check {
      display: flex;
      align-items: center;
      gap: 10px;
      cursor: pointer;
      font-size: 13px;
      color: #555;
      transition: color 0.2s;
    }
    .filter-check:hover { color: var(--primary-color); }
    .filter-check input[type="checkbox"] {
      width: 18px;
      height: 18px;
      accent-color: var(--accent-color);
      cursor: pointer;
    }
    .btn-filter {
      width: 100%;
      background: var(--accent-color);
      color: var(--white);
      border: none;
      height: 44px;
      border-radius: 8px;
      font-size: 14px;
      font-weight: 700;
      cursor: pointer;
      transition: all 0.3s;
    }
    .btn-filter:hover { background: #a02817; }
    .btn-reset {
      width: 100%;
      margin-top: 10px;
      background: transparent;
      color: #999;
      border: 1px solid var(--border-color);
      height: 38px;
      border-radius: 8px;
      font-size: 13px;
      cursor: pointer;
      transition: all 0.3s;
    }
    .btn-reset:hover {
      border-color: var(--primary-color);
      color: var(--primary-color);
    }

    /* メインコンテンツ */
    .school-main { flex: 1; }
    .school-result-bar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 24px;
    }
    .school-result-count { font-size: 13px; color: #999; }
    .school-result-count strong { color: var(--primary-color); font-size: 18px; }

    .school-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
      align-content: start;
    }
    .school-grid .s-card {
      background: var(--white);
      border-radius: 14px;
      overflow: hidden;
      border: 1px solid var(--border-color);
      transition: all 0.3s;
      display: flex;
      flex-direction: column;
    }
    .school-grid .s-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    }
    .s-card-img {
      overflow: hidden;
      position: relative;
    }
    .s-card-img img {
      width: 100%; height: auto; display: block; transition: transform 0.5s;
    }
    .s-card:hover .s-card-img img { transform: scale(1.05); }
    .s-card-area {
      position: absolute;
      bottom: 0; left: 0; right: 0;
      background: linear-gradient(transparent, rgba(0,0,0,0.6));
      padding: 20px 16px 10px;
      color: var(--white);
      font-size: 11px;
      font-weight: 700;
    }
    .s-card-body {
      padding: 18px;
      display: flex;
      flex-direction: column;
      flex: 1;
    }
    .s-card-title {
      font-size: 15px;
      font-weight: 900;
      color: var(--primary-color);
      margin-bottom: 8px;
      line-height: 1.4;
    }
    .s-card-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 4px;
      margin-bottom: 10px;
    }
    .s-card-tag {
      font-size: 10px;
      padding: 2px 8px;
      border-radius: 4px;
      background: #eef2ff;
      color: var(--primary-color);
      font-weight: 600;
    }
    .s-card-desc {
      font-size: 12px;
      color: #888;
      line-height: 1.6;
      flex: 1;
      margin-bottom: 12px;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
    .s-card-btn {
      display: block;
      text-align: center;
      background: var(--bg-light);
      color: var(--primary-color);
      padding: 10px;
      border-radius: 8px;
      font-size: 12px;
      font-weight: 700;
      transition: all 0.3s;
    }
    .s-card:hover .s-card-btn {
      background: var(--primary-color);
      color: var(--white);
    }

    .school-no-results {
      grid-column: 1 / -1;
      text-align: center;
      padding: 60px 20px;
      color: #999;
      font-size: 15px;
    }

    /* --- 学校詳細ページ --- */
    /* --- 学校詳細ページ (提案C: 2カラム並列型) --- */
    .sd-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
    .sd-breadcrumb-bar { background: var(--bg-light); padding: 80px 0 16px; }
    .sd-breadcrumb { font-size: 13px; color: #999; }
    .sd-breadcrumb a { color: var(--accent-color); }
    .sd-breadcrumb a:hover { text-decoration: underline; }

    .sd-hero {
      display: flex; gap: 50px; align-items: center;
      padding: 50px 0 60px;
    }
    .sd-hero-image {
      flex: 1; border-radius: 20px; overflow: hidden;
      box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    }
    .sd-hero-image img { width: 100%; height: 400px; object-fit: cover; }
    .sd-hero-info { flex: 1; }
    .sd-hero-tags { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
    .sd-tag-area {
      background: var(--accent-color); color: var(--white);
      padding: 5px 16px; border-radius: 999px; font-size: 12px; font-weight: 700;
    }
    .sd-tag-feature {
      background: var(--bg-light); color: var(--primary-color); border: 1px solid var(--border-color);
      padding: 5px 16px; border-radius: 999px; font-size: 12px; font-weight: 700;
    }
    .sd-hero-title {
      font-size: 34px; font-weight: 900; color: var(--primary-color);
      line-height: 1.3; margin-bottom: 20px;
    }
    .sd-hero-intro { font-size: 16px; color: #666; line-height: 1.8; margin-bottom: 28px; }
    .sd-hero-meta {
      display: flex; gap: 30px; padding-top: 20px;
      border-top: 1px solid var(--border-color);
    }
    .sd-meta-label { font-size: 11px; font-weight: 700; color: #999; text-transform: uppercase; letter-spacing: 0.05em; }
    .sd-meta-value { font-size: 15px; font-weight: 800; color: var(--primary-color); margin-top: 4px; }

    .sd-content-area {
      display: flex; gap: 50px; padding: 0 0 80px;
    }
    .sd-main { flex: 1; }
    .sd-aside { width: 320px; flex-shrink: 0; }

    .sd-section { margin-bottom: 40px; }
    .sd-section h2 {
      font-size: 20px; font-weight: 900; color: var(--primary-color);
      margin-bottom: 20px; display: flex; align-items: center; gap: 12px;
    }
    .sd-section h2::before {
      content: ''; display: block; width: 4px; height: 24px;
      background: var(--accent-color); border-radius: 2px; flex-shrink: 0;
    }
    .sd-section p { margin-bottom: 16px; line-height: 1.9; }

    .sd-suited-list { padding-left: 0; margin-bottom: 16px; }
    .sd-suited-list li {
      list-style: none; padding: 12px 16px; margin-bottom: 8px;
      background: var(--bg-light); border-radius: 10px; font-size: 15px;
      display: flex; align-items: center; gap: 12px;
    }
    .sd-suited-list li::before {
      content: '\2713'; color: var(--accent-color); font-weight: 900; font-size: 16px;
    }

    .sd-aside-card {
      background: var(--white); border: 1px solid var(--border-color);
      border-radius: 16px; padding: 30px; position: sticky; top: 90px;
      box-shadow: 0 4px 16px rgba(0,0,0,0.04);
    }
    .sd-aside-card h3 {
      font-size: 18px; font-weight: 900; color: var(--primary-color);
      margin-bottom: 16px; text-align: center;
    }
    .sd-aside-card > p { font-size: 13px; color: #888; text-align: center; margin-bottom: 20px; line-height: 1.6; }
    .sd-btn-primary {
      display: block; text-align: center;
      background: var(--accent-color); color: var(--white);
      padding: 16px; border-radius: 12px; font-size: 16px; font-weight: 800;
      transition: all 0.3s; margin-bottom: 12px;
    }
    .sd-btn-primary:hover { background: #a02817; }
    .sd-btn-secondary {
      display: block; text-align: center;
      background: var(--white); color: var(--primary-color);
      padding: 14px; border-radius: 12px; font-size: 14px; font-weight: 700;
      border: 1px solid var(--border-color); transition: all 0.3s;
    }
    .sd-btn-secondary:hover { border-color: var(--primary-color); }

    .sd-aside-info { margin-top: 24px; }
    .sd-aside-info-item {
      padding: 14px 0; border-bottom: 1px solid var(--border-color);
      display: flex; justify-content: space-between; align-items: center;
    }
    .sd-aside-info-item:last-child { border-bottom: none; }
    .sd-aside-info-label { font-size: 12px; color: #999; font-weight: 700; }
    .sd-aside-info-value { font-size: 14px; font-weight: 700; color: var(--text-color); text-align: right; }

    @media (max-width: 1024px) {
      .sd-content-area { flex-direction: column; }
      .sd-aside { width: 100%; }
      .sd-aside-card { position: static; }
    }
    @media (max-width: 768px) {
      .sd-hero { flex-direction: column; gap: 30px; padding: 30px 0 40px; }
      .sd-hero-image img { height: 250px; }
      .sd-hero-title { font-size: 26px; }
      .sd-hero-meta { flex-direction: column; gap: 16px; }
      .sd-breadcrumb-bar { padding: 70px 0 12px; }
    }

    /* --- お問い合わせページ --- */
    .contact-header {
      background: var(--primary-color);
      padding: 60px 0;
      text-align: center;
      color: var(--white);
    }
    .contact-header--school {
      background: var(--primary-color);
    }
    .contact-header h1 {
      font-size: 32px; font-weight: 900; margin-bottom: 12px; color: var(--white);
    }
    .contact-header h1::after { display: none; }
    .contact-header p { color: #999999; font-size: 15px; line-height: 1.7; }
    .contact-badge {
      display: inline-block;
      background: var(--accent-color); color: var(--white);
      padding: 5px 18px; border-radius: 999px;
      font-size: 12px; font-weight: 700; margin-bottom: 16px;
    }

    .contact-card {
      background: var(--white);
      border-radius: 20px;
      padding: 50px;
      margin-top: -30px;
      position: relative; z-index: 10;
      box-shadow: 0 8px 30px rgba(0,0,0,0.06);
      border: 1px solid var(--border-color);
      margin-bottom: 80px;
      max-width: 800px;
      margin-left: auto; margin-right: auto;
    }
    .contact-lead {
      text-align: center;
      font-size: 15px; color: #666;
      margin-bottom: 40px; line-height: 1.8;
    }

    .contact-benefits {
      display: flex; gap: 20px; margin-bottom: 40px;
      padding: 24px; background: #f5f5f5;
      border-radius: 12px; border: 1px solid #d0d0d0;
    }
    .benefit-item { flex: 1; text-align: center; }
    .benefit-icon { font-size: 28px; margin-bottom: 8px; }
    .benefit-text { font-size: 13px; font-weight: 700; color: var(--primary-color); line-height: 1.4; }

    /* CF7フォームスタイル上書き */
    .contact-card .wpcf7-form { }
    .contact-card .wpcf7-form p {
      margin-bottom: 0;
    }
    .contact-card .wpcf7-form label {
      display: flex; align-items: center; gap: 8px;
      font-size: 15px; font-weight: 700; color: var(--primary-color);
      margin-bottom: 8px;
      margin-top: 24px;
    }
    .contact-card .wpcf7-form .form-section-title + p label,
    .contact-card .wpcf7-form p:first-child label {
      margin-top: 0;
    }
    .contact-card .wpcf7-form input[type="text"],
    .contact-card .wpcf7-form input[type="email"],
    .contact-card .wpcf7-form input[type="tel"],
    .contact-card .wpcf7-form textarea,
    .contact-card .wpcf7-form select {
      width: 100%;
      padding: 14px 18px;
      border: 1px solid var(--border-color);
      border-radius: 10px;
      font-size: 15px;
      background: var(--bg-light);
      color: var(--text-color);
      transition: border-color 0.3s, box-shadow 0.3s;
      margin-top: 4px;
    }
    .contact-card .wpcf7-form input:focus,
    .contact-card .wpcf7-form textarea:focus,
    .contact-card .wpcf7-form select:focus {
      outline: none;
      border-color: var(--accent-color);
      box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
      background: var(--white);
    }
    .contact-card .wpcf7-form textarea {
      resize: vertical; min-height: 160px;
    }
    .contact-card .wpcf7-form input[type="submit"] {
      display: block;
      width: 100%; max-width: 400px;
      margin: 30px auto 0;
      padding: 18px;
      background: var(--accent-color);
      color: var(--white);
      border: none;
      border-radius: 12px;
      font-size: 17px;
      font-weight: 800;
      cursor: pointer;
      transition: all 0.3s;
    }
    .contact-card .wpcf7-form input[type="submit"]:hover {
      background: #a02817;
      transform: translateY(-2px);
      box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    }
    /* 学校関係者用の送信ボタン */
    .contact-header--school + .container .wpcf7-form input[type="submit"] {
      background: var(--primary-color);
    }
    .contact-header--school + .container .wpcf7-form input[type="submit"]:hover {
      background: var(--accent-color);
    }

    /* CF7バリデーション */
    .contact-card .wpcf7-not-valid-tip {
      font-size: 12px; color: #e53e3e; margin-top: 4px;
    }
    .contact-card .wpcf7-response-output {
      border-radius: 10px !important;
      padding: 16px !important;
      text-align: center;
      margin: 20px 0 0 !important;
    }

    /* 必須・任意バッジ */
    .form-required {
      font-size: 10px; font-weight: 700; color: var(--white);
      background: #e53e3e; padding: 2px 8px; border-radius: 4px;
    }
    .form-optional {
      font-size: 10px; font-weight: 700; color: #999;
      background: var(--bg-light); padding: 2px 8px; border-radius: 4px;
    }

    /* 同意チェック */
    .contact-card .wpcf7-form .form-agree {
      text-align: center; margin: 30px 0;
    }
    .contact-card .wpcf7-form .form-agree label {
      font-size: 14px; color: #666; justify-content: center;
    }
    .contact-card .wpcf7-acceptance input { width: 18px; height: 18px; accent-color: var(--accent-color); }

    /* セクション区切り */
    .contact-card .wpcf7-form p:has(.form-section-title) {
      margin: 0; padding: 0;
    }
    .form-section-title {
      font-size: 16px; font-weight: 800; color: var(--primary-color);
      margin: 36px 0 20px; padding: 0 0 10px 0;
      border-bottom: 2px solid var(--border-color);
      display: flex; align-items: center; gap: 8px;
    }
    .form-section-title::before {
      content: ''; display: block; width: 4px; height: 20px;
      background: var(--accent-color); border-radius: 2px;
      flex-shrink: 0;
    }

    /* CF7ラジオボタン */
    .contact-card .wpcf7-radio {
      display: flex;
      gap: 24px;
      margin: 8px 0 20px;
    }
    .contact-card .wpcf7-list-item {
      display: flex;
      align-items: center;
      gap: 6px;
      font-size: 15px;
      color: var(--text-color);
      cursor: pointer;
    }
    .contact-card .wpcf7-list-item input[type="radio"] {
      width: 20px;
      height: 20px;
      accent-color: var(--accent-color);
      cursor: pointer;
    }
    .contact-card .wpcf7-list-item-label {
      font-weight: 600;
    }

    /* 名前2カラム */
    .form-name-row {
      display: flex; gap: 16px;
    }
    .form-name-row > span,
    .form-name-row > p { flex: 1; margin-bottom: 0; }
    .form-name-row label { margin-top: 0 !important; }

    @media (max-width: 768px) {
      .contact-header { padding: 40px 0 50px; }
      .contact-header h1 { font-size: 24px; }
      .contact-card { padding: 30px 20px; border-radius: 14px; }
      .form-name-row { flex-direction: column; gap: 0; }
      .contact-benefits { flex-direction: column; gap: 16px; }
    }

    /* --- 学校詳細ページ (旧CSS - 後方互換) --- */
    .school-detail-header {
      padding: 100px 0 40px;
      background-color: var(--bg-light);
    }
    .school-detail-header .article-breadcrumb {
      margin-bottom: 16px;
    }
    .school-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-bottom: 16px;
    }
    .school-tag {
      display: inline-block;
      padding: 4px 14px;
      border-radius: 999px;
      font-size: 12px;
      font-weight: 700;
    }
    .school-tag.area {
      background: var(--accent-color);
      color: var(--white);
    }
    .school-tag.feature {
      background: var(--bg-light);
      color: var(--primary-color);
      border: 1px solid var(--border-color);
    }
    .school-detail-title {
      font-size: 32px;
      font-weight: 900;
      color: var(--primary-color);
      line-height: 1.4;
      margin-bottom: 12px;
    }
    .school-detail-intro {
      font-size: 16px;
      color: #666;
      line-height: 1.7;
    }

    @media (max-width: 1024px) {
      .school-grid { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 768px) {
      .article-title { font-size: 24px; }
      .article-body { padding: 30px 16px 60px; font-size: 15px; }
      .article-body h2 { font-size: 20px; }
      .archive-grid { grid-template-columns: 1fr; gap: 30px; }
      .school-page-layout { flex-direction: column; }
      .school-sidebar { width: 100%; position: static; max-height: none; }
      .filter-toggle-btn {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        background: var(--white);
        border: 1px solid var(--border-color);
        border-radius: 12px;
        padding: 16px 20px;
        font-size: 15px;
        font-weight: 800;
        color: var(--primary-color);
        cursor: pointer;
        margin-bottom: 0;
        transition: all 0.3s;
      }
      .filter-toggle-btn svg { transition: transform 0.3s; }
      .filter-toggle-btn.is-open svg { transform: rotate(180deg); }
      .filter-toggle-btn.is-open { border-radius: 12px 12px 0 0; margin-bottom: 0; }
      .filter-box { border-radius: 0 0 16px 16px; }
      .filter-box.is-closed { display: none; }
      .filter-box .filter-title { display: none; }
      .school-grid { grid-template-columns: 1fr; gap: 20px; }
      .s-card-img { /* 画像比率そのまま */ }
      .school-archive-hero { padding: 40px 0; }
      .school-archive-hero h1 { font-size: 24px; }
      .school-detail-title { font-size: 24px; }
    }
