/* リセットCSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 変数定義 */
:root {
    --primary-color: #00594c;
    --secondary-color: #ff8c00;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --info-color: #007bff;
    --text-primary: rgb(51, 51, 51);
    --text-secondary: #6c757d;
    --bg-light: rgb(193, 204, 203);
    --bg-gray: rgb(219, 225, 225);
    --white: #ffffff;
    --dark: #343a40;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

/* 基本スタイル */
body {
    font-family: 'Noto Sans JP', system-ui, -apple-system, sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-primary);
    background-color: var(--white);
    overflow-x: hidden;
}

     .se-only {
    display: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.sp-only,　.se-only {
    display: none;
}


/* モバイルヘッダー */
.mobile-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.mobile-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    height: 60px;
}

.mobile-logo{
    display: flex;
    align-items: center;    /* 縦方向を中央揃え（好みで） */
    font-weight: bold;
}
.mobile-logo-img {
    height: 35px;
    width: auto;
}
.mobile-logo-name{
    font-size: 16px;
}

.mobile-cta-btn {
    /*background: var(--secondary-color);*/
    background: #ffa500;
    color: var(--text-primary);
    white-space: nowrap;
    display: inline-flex;  
    align-items: center;   /* （任意）縦位置をそろえたい場合 */
    padding: 4px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    transition: var(--transition);
    box-shadow:  2px 2px;
}

.mobile-cta-btn:hover {
    background: var(--white);
    box-shadow:  0.5px 0.5px 2px 1px;
}

/* ヘッダー */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: var(--transition);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo-img {
    height: 50px;
    width: auto;
}

.nav-desktop {
    display: block;
}

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

.nav-list a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: var(--transition);
}

.nav-list a:hover {
    color: var(--primary-color);
}

.cta-nav {
    background: var(--primary-color);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 25px;
}

.cta-nav:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 30px;
    position: relative;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--text-primary);
    margin: 5px 0;
    transition: var(--transition);
}

.nav-mobile {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    transform: translateY(-100%);
    transition: var(--transition);
}

.nav-mobile.active {
    transform: translateY(0);
}

.nav-list-mobile {
    list-style: none;
    padding: 20px;
}

.nav-list-mobile li {
    padding: 10px 0;
    border-bottom: 1px solid var(--bg-gray);
}

.nav-list-mobile a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    display: block;
}

/* ヒーローセクション */
.hero {
    position: relative;
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 0 40px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 89, 76, 0.8), rgba(0, 89, 76, 0.6));
}

.hero-content {
    text-align: center;
    color: var(--white);
    z-index: 1;
    animation: fadeInUp 1s ease;
}

.hero-badge {
    display: inline-block;
    background: var(--secondary-color);
    background: #f8b500;
    color: var(--text-primary);
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 20px;
    margin-bottom: 25px;
}

.hero-title {
    margin-bottom: 30px;
}

.hero-title-large {
    display: block;
    font-size: 60px;
    font-weight: 900;
    line-height: 1.2;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    letter-spacing: 0.02em;
}

.hero-subtitle {
    font-size: 28px;
    margin-bottom: 50px;
    opacity: 0.95;
    line-height: 1.6;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    margin-bottom: 40px;
}

.stat-item {
    text-align: center;
}

.stat-icon {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    position: relative;
}

.stat-icon img {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.stat-number {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 36px;
    font-weight: bold;
    line-height: 1;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 25%, #FFD700 50%, #FFA500 75%, #FFD700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
    background-size: 200% auto;
    animation: goldShimmer 3s linear infinite;
}

.stat-number span {
    font-size: 54px;
    font-weight: 900;
}

.stat-label {
    font-size: 24px;
    font-weight: bold;
    color: var(--white);
    line-height: 1.3;
    margin-top: 10px;
    position: relative;
    display: inline-block;
}

.stat-label::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.stat-label sup {
    font-size: 12px;
    vertical-align: super;
    line-height: 0;
}
.hero-note {
    font-size: 14px;
    opacity: 0.8;
    margin-top: 15px;
    margin-bottom: 30px;
}

.hero-note-list{
  opacity: 0.75;   
  text-align: left;

  display:block;
  flex-wrap:wrap;

  list-style:none;      /* 既定の黒点を消す */
  margin:1% auto;
  padding:0;

  counter-reset: note;  /* カウンタを 0 に初期化 */
}

.hero-note-list li{
  position:relative;
  padding-left:2em;   /* マーカー分の字下げ（お好みで調整） */
  font-size: 13px;
}

.hero-note-list li::before{
  counter-increment: note;             /* 1 → 2 → 3 … */
  content:"※" counter(note);           /* “※1” “※2” … */

  position:absolute;
  left:0;
  top:0;
  font-weight:bold; 
}


.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

/* ボタンスタイル */
.btn {
    display: inline-block;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-large {
    padding: 24px 48px;
    font-size: 18px;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
}





/* セクション共通 */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: clamp(10px, 6.5vw, 60px);
    line-height: 1.4;
    font-size: clamp(18px, 6.5vw, 36px);
}

.section-title-en {
    display: block;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 2px;
    opacity: 0.7;
    margin-bottom: 10px;
}

.highlight {
    color: var(--secondary-color);
    font-weight: 900;
    text-decoration: underline;
    text-decoration-color: var(--secondary-color);
    text-decoration-thickness: 3px;
    text-underline-offset: 5px;
}

/* お悩みセクション */
.worries {
    position: relative;
    background: rgb(51, 51, 51);
    overflow: hidden;
    margin-bottom: 0;
}

.worries::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255, 255, 255, 0.03) 10px,
        rgba(255, 255, 255, 0.03) 20px
    );
    z-index: 1;
}

.worries-wrapper {
    position: relative;
    padding: 60px 0;
}

.worries .container {
    position: relative;
    z-index: 2;
}

.worries .section-title {
    color: var(--white);
}

.worries-content {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 60px;
}

.worries-image {
    flex: 0 0 400px;
    max-width: 400px;
}

.thinking-student-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.worries-list {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.worry-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.95);
    padding: 30px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.worry-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.worry-icon {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
}

.worry-item p {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
    text-align: left;
    line-height: 1.6;
}

.solution-arrow {
    text-align: center;
    padding: 20px 0 40px;
    margin: 0;
    background: transparent;
    position: relative;
}

.arrow-img {
    width: 60px;
    animation: bounce 2s infinite;
    position: relative;
    z-index: 2;
}

/* 解決セクション */
.solution {
    background: var(--bg-gray);
    padding: 0 0 50px;
    margin-top: 0;
}

.solution-message {
    position: relative;
    text-align: center;
    background: var(--white);
    padding: 60px 40px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto;
}

.solution-message::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 193, 7, 0.1) 0%, transparent 70%);
    z-index: 0;
}

.solution-message::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255, 193, 7, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 89, 76, 0.05) 0%, transparent 50%);
    z-index: 0;
}

.solution-message > * {
    position: relative;
    z-index: 1;
}

.solution-message h3 {
    font-size: clamp(23px,  4vw, 24px);
    color: var(--primary-color);
    margin-bottom: 20px;
}

.solution-text {
    font-size: 25px;
    font-weight: bold;
    line-height: 1.4;
    color: var(--text-primary);
}

.emphasis {
    display: block;
    color: var(--secondary-color);
    font-size: 36px;
    margin-top: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.solution-image {
    margin-top: 40px;
}

.solution-image img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

/* 選ばれる理由 */
.reasons {
    position: relative;
    background: #f8f9fa;
    overflow: hidden;
}

.reasons::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 20px,
            rgba(255, 193, 7, 0.03) 20px,
            rgba(255, 193, 7, 0.03) 40px
        ),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 20px,
            rgba(0, 89, 76, 0.03) 20px,
            rgba(0, 89, 76, 0.03) 40px
        );
    z-index: 0;
}

.reasons .container {
    position: relative;
    z-index: 1;
}

.reasons-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.reason-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(0, 89, 76, 0.1);
    position: relative;
    overflow: hidden;
}

.reason-card.reason-with-image {
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 0;
    overflow: hidden;
}

.reason-card.reason-with-image .reason-content {
    width: 100%;
    padding: 40px 30px;
}

.reason-card.reason-with-image .reason-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.reason-card.reason-with-image .reason-icon {
    flex-shrink: 0;
    margin: 0;
}

.reason-card.reason-with-image h3 {
    text-align: left;
    margin: 0;
}

.reason-card.reason-with-image .reason-image {
    width: 100%;
    text-align: center;
    margin: 0;
}

.reason-card.reason-with-image .reason-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    margin: 0;
}

.image-caption {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 8px;
    margin-bottom: 20px;
}

.reason-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 193, 7, 0.05) 0%, transparent 70%);
    transform: rotate(45deg);
    z-index: 0;
}

.reason-card > * {
    position: relative;
    z-index: 1;
}

.reason-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-color: rgba(0, 89, 76, 0.3);
}

.reason-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
}

.reason-icon img {
    width: 100%;
    height: 100%;
}

.reason-card h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 900;
}

.reason-card p {
    line-height: 1.8;
    color: var(--text-primary);
}

/* 実績紹介 */
.achievements {
    background: var(--bg-light);
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 30px;
}

.achievement-item {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    position: relative;
}

.achievement-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.achievement-icon {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 80px;
}

.achievement-icon img {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.achievement-content {
    margin-top: 30px;
}

.achievement-number {
    font-size: 56px;
    font-weight: 900;
    color: var(--secondary-color);
    line-height: 1;
    margin-bottom: 15px;
}

.achievement-unit {
    font-size: 32px;
}

.achievement-title {
    font-size: 20px;
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 10px;
}

.achievement-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.achievement-note {
    text-align: center;
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 20px;
}

/* 6つの特徴 */
.features {
    background: var(--bg-light);
}

.features-image {
    text-align: center;
    margin-bottom: 60px;
}

.features-img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.features-detail {
    max-width: 800px;
    margin: 0 auto;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    position: relative;
}

.feature-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 120px;
    height: 120px;
    opacity: 0.8;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-number {
    font-size: 48px;
    font-weight: 900;
    color: var(--secondary-color);
    margin-right: 30px;
    flex-shrink: 0;
    line-height: 1;
    margin-top: -5px;
}

.feature-content {
    flex: 1;
}

.feature-content h3 {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1;
}

.feature-content p {
    line-height: 1.8;
    color: var(--text-primary);
}

/* 合格実績 */
.results {
    background: var(--primary-color);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.results::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('./images/campus.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: 0;
}

.results .container {
    position: relative;
    z-index: 1;
}

.results .section-title {
    color: var(--white);
}

.results-chart-container {
    max-width: 900px;
    margin: 0 auto 60px;
}

.chart-wrapper {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 40px;
    height: 400px;
    position: relative;
}

#resultsChart {
    max-height: 100%;
}

.results-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 600px;
    margin: 0 auto;
}

.highlight-item {
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
    padding: 30px 20px;
    border-radius: 12px;
    transition: var(--transition);
    border: 2px solid rgba(255, 193, 7, 0.3);
    position: relative;
    overflow: hidden;
}

.highlight-item::before {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -30%;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(255, 193, 7, 0.2) 0%, transparent 60%);
    animation: pulse 3s ease-in-out infinite;
    z-index: 0;
}

.highlight-item:hover {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.3) 0%, rgba(255, 255, 255, 0.15) 100%);
    transform: translateY(-5px);
    border-color: rgba(255, 193, 7, 0.5);
}

.highlight-year {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--secondary-color);
    position: relative;
    z-index: 1;
}

.highlight-rate {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.rate-number {
    font-size: 64px;
    font-weight: 900;
    color: var(--secondary-color);
    line-height: 1;
}

.rate-percent {
    font-size: 32px;
    font-weight: bold;
    margin-left: 5px;
}

.highlight-number {
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.total-number {
    font-size: 48px;
    font-weight: 900;
    color: var(--secondary-color);
}

.highlight-trend {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

.trend-icon {
    font-size: 48px;
    color: var(--secondary-color);
}

.trend-text {
    font-size: 24px;
    font-weight: bold;
}

.highlight-desc {
    font-size: 18px;
    font-weight: bold;
    opacity: 1;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.results-message {
    text-align: center;
    font-size: 24px;
    line-height: 1.6;
    font-weight: bold;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin-top: 40px;
}

/* 合格体験記 */
.success {
    background: var(--bg-light);
}

.success-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.success-card {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    animation: fadeIn 0.5s ease;
}

.success-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.student-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 20px;
}

.student-info h3 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.university {
    font-size: 16px;
    color: var(--success-color);
    font-weight: bold;
    margin-bottom: 5px;
}

.school {
    font-size: 14px;
    color: var(--text-secondary);
}

.success-content {
    position: relative;
    /*padding-left: 40px;*/ 
    margin-bottom: 20px;
}

.quote-mark {
    display: none;
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 60px;
    color: var(--secondary-color);
    font-family: Georgia, serif;
}

.success-content p {
    line-height: 1.8;
    color: var(--text-primary);
}

.success-rating {
    text-align: right;
}

.stars {
    color: var(--secondary-color);
    font-size: 20px;
    margin-right: 10px;
}

.rating-text {
    font-size: 14px;
    color: var(--text-secondary);
}


/* 受講の流れ */
.flow {
    background: var(--white);
}

.flow-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--text-secondary);
    margin: -20px auto 60px;
    max-width: 800px;
    line-height: 1.8;
}

.flow-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.flow-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--bg-gray);
    transform: translateX(-50%);
}

.flow-item {
    position: relative;
    padding: 40px 0;
}

.flow-item:nth-child(odd) {
    padding-right: 50%;
    text-align: right;
}

.flow-item:nth-child(even) {
    padding-left: 50%;
    text-align: left;
}

.flow-number {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: var(--white);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    box-shadow: var(--shadow);
    z-index: 1;
}

.flow-number span {
    font-size: 36px;
    display: block;
}

.flow-content {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 12px;
    margin: 0 30px;
}

.flow-image {
    width: 100%;
    height: 150px;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
}

.flow-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.flow-content h3 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.flow-timing {
    font-size: 14px;
    color: var(--secondary-color);
    font-weight: bold;
    margin-bottom: 10px;
}

.flow-content p {
    font-size: 16px;
    line-height: 1.6;
}

/* 授業の様子 */
.lesson-style {
    background: var(--white);
    padding: 80px 0;
}

.lesson-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--text-secondary);
    margin: -20px auto 60px;
    max-width: 600px;
    line-height: 1.8;
}

.lesson-steps {
    max-width: 1000px;
    margin: 0 auto;
}

.lesson-step {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 80px;
    position: relative;
}

.lesson-step.reverse {
    flex-direction: row-reverse;
}

.step-number {
    position: static;
    display: inline-block;
    top: 0;
    left: -100px;
    background: var(--secondary-color);
    color: var(--white);
    font-size: 14px;
    font-weight: bold;
    padding: 8px 20px;
    border-radius: 13px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.lesson-step.reverse .step-number {
    left: auto;
    right: -100px;
}


.step-content {
    flex: 1;
    background: var(--bg-light);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    width: 95%;
    margin: 0 auto;

}

.step-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.step-header h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.step-desc {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.step-image {
    width: 100%;
    max-width: 500px;
    margin: 0 auto 30px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.step-image img {
    width: 100%;
    height: auto;
    display: block;
}

.step-detail {
    line-height: 1.8;
    color: var(--text-primary);
}

.lesson-cta {
    text-align: center;
    margin-top: 60px;
    padding: 40px;
    background: var(--bg-gray);
    border-radius: 12px;
}

.cta-text {
    font-size: 20px;
    color: var(--text-primary);
    margin-bottom: 30px;
    font-weight: bold;
}

/* 料金プラン */
.pricing {
    position: relative;
    background: var(--bg-light);
    overflow: hidden;
}

.pricing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('./images/cherry_blossom.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 0;
}

.pricing .container {
    position: relative;
    z-index: 1;
}

.pricing-table {
    overflow-x: auto;
    margin-bottom: 40px;
}

.pricing-table table {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.pricing-table th,
.pricing-table td {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid var(--bg-gray);
}

.pricing-table th {
    background: var(--primary-color);
    color: var(--white);
    font-weight: bold;
}

.pricing-table td {
    background: var(--white);
    position: relative;
}

.pricing-table tr:last-child td {
    border-bottom: none;
}

.popular-course {
    background: linear-gradient(135deg, #fff8e1 0%, #ffffff 100%) !important;
    position: relative;
}

.popular-badge {
    position: absolute;
    top: -12px;
    right: 10px;
    background: var(--danger-color);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
    animation: bounce 2s infinite;
}

.badge-text {
    display: block;
    line-height: 1;
}

.popular-notice {
    margin-top: 30px;
    text-align: center;
    position: relative;
}

.notice-bubble {
    display: inline-block;
    background: var(--white);
    padding: 20px 30px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    border: 2px solid var(--secondary-color);
}

.notice-bubble::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid var(--secondary-color);
}

.notice-bubble::after {
    content: '';
    position: absolute;
    top: -7px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid var(--white);
}

.notice-bubble p {
    margin: 0;
    font-size: 16px;
    color: var(--text-primary);
    line-height: 1.6;
}

.notice-bubble strong {
    color: var(--secondary-color);
    font-size: 20px;
}

.highlight-text {
    color: var(--primary-color);
    font-weight: bold;
    background: linear-gradient(transparent 40%, rgba(255, 193, 7, 0.5) 40%, rgba(255, 193, 7, 0.5) 90%, transparent 90%);
    padding: 0 4px;
    border-radius: 2px;
}

.price {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
}

.tax {
    font-size: 14px;
    color: var(--text-secondary);
}

.small {
    display: block;
    font-size: 14px;
    color: var(--text-secondary);
}

.pricing-includes {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.pricing-includes h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
}

.includes-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.include-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.include-item img {
    width: 24px;
    height: 24px;
}


.pricing-note-list{  
    text-align: left;
    color: var(--text-secondary);
    line-height: 1.6;
    display:flex;
    flex-wrap:wrap;
    list-style:none;      /* 既定の黒点を消す */
    counter-reset: note;  /* カウンタを 0 に初期化 */
}

.pricing-note-list li{
  position:relative;
  padding-left:1em;   /* マーカー分の字下げ */
  font-size: 13px;
}

.pricing-note-list li::before{
  content:"※";        
  position:absolute;
  left:0;
  top:0;
  font-weight:bold; 
}

/* 保護者メッセージ */
.message {
    background: var(--bg-gray);
}

.subtitle {
    display: block;
    font-size: 20px;
    font-weight: normal;
    margin-top: 10px;
}

.message-content {
    display: grid;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.message-photo img {
    width: 100%;
    border-radius: 12px;
}

.message-text {
    padding: 20px;
}

.message-lead {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.message-text p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.message-highlight {
    font-weight: bold;
}

/* オレンジ色で“太め”の下線 */
.highlight-underline{
  text-decoration-line: underline;     
  text-decoration-color: #ff8a35;        
  text-decoration-thickness: 10px;       
  text-underline-offset: -5px;  /* 文字からの距離 */
}


.signature {
    margin-top: 30px;
    text-align: right;
}

.signature img {
    height: 60px;
}

/* FAQ */
.faq {
    background: var(--white);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    background: var(--bg-light);
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px;
    border: none;
    background: none;
    text-align: left;
    font-size: 18px;
    font-weight: bold;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--bg-gray);
}

.faq-icon {
    width: 24px;
    height: 24px;
    transition: var(--transition);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    display: none;
    padding: 0 20px 20px;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-answer p {
    line-height: 1.8;
    color: var(--text-primary);
    font-size: 16px;
}

/* CTA */
.cta {
    position: relative;
    background: var(--primary-color);
    color: var(--white);
    padding: 100px 0;
}

.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('./images/campus2.jpg');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.cta-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 89, 76, 0.85);
    z-index: 2;
}

.cta-content {
    position: relative;
    z-index: 3;
    text-align: center;
}

.cta-title {
    font-size: 40px;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.4;
}

.cta-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.cta-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.cta-feature img {
    width: 40px;
    height: 40px;
}

.cta-feature span {
    font-size: 14px;
}

.btn-cta {
    /*background: var(--secondary-color);*/
    background: #ffa500;
    color: var(--text-primary);
    padding: 10px 60px 20px 60px;
    font-size: 20px;
    border-radius: 50px;
    box-shadow:  4px 4px;
    display: inline-flex;   /* 横並びの基準にする */
    flex-direction:column; 
    justify-content: center;   /*  1行目を中央寄せ */
    align-items: center;    /* 画像と文字の縦位置をそろえる */

}
/* アイコン＋メイン文を 1 行固定に */
.btn-main,.nav-btn-main{
    display:inline-flex;        /* 横並び */
    align-items: center;    /* 縦中央揃え */
    gap: .3em;                  /* アイコンと文字の間隔 */
}

/* アイコンを“文字 1 字分”として振る舞わせる */
.btn-main img{
    height:30px; 
    width:auto;
    margin:auto;
}

.btn-text {
    display: block;
    font-size: 20px;
    margin-bottom: 5px;
    font-weight: bold;
}
    
/* アイコンを“文字 1 字分”として振る舞わせる */
.nav-btn-main img{
    height:1.5em;     
    width:auto;
}
.nav-btn-txt{
    margin-bottom: 2px;
}


/* サブテキストだけ 2 行目に落とす */
 .btn-sub {
     display: block;
    font-weight: normal;
    opacity: 0.9;
    flex-basis: 100%;       /* 100% 幅にして折り返し確定 */
    font-size: clamp(10.5px, 2.8vw, 13px);        /* お好みで文字を小さく */
}

.btn-large {
    width: 100%;
    padding: 18px 24px;
}

    

.btn-cta:hover {
    background: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.btn-pulse {
    animation: pulse 2s infinite;
}

/* フッター */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 60px 0 20px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('./images/campus.png');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: 0;
}

.footer .container {
    position: relative;
    z-index: 1;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-logo img {
    height: 40px;
}

.footer-logo p {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.8;
    margin: 0;
}

.footer h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.footer-nav ul {
    list-style: none;
}

.footer-nav li {
    margin-bottom: 10px;
}

.footer-nav a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-nav a:hover {
    opacity: 1;
    color: var(--secondary-color);
}

.footer-contact p {
    margin-bottom: 10px;
    opacity: 0.8;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 14px;
}

.footer-bottom a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-bottom a:hover {
    opacity: 1;
}

/* スクロールトップボタン */
.scroll-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.scroll-top-arrow {
    font-size: 20px;
    line-height: 1;
    font-weight: bold;
}

/* アニメーション */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.7);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(255, 193, 7, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 193, 7, 0);
    }
}


/* ——— パルス（脈動）エフェクト ——— */
.btn-pulse{
    position:relative;
    overflow:hidden;          /* はみ出したリングを隠す */
    animation:pulse-scale 2.2s cubic-bezier(.66,0,0,1) infinite;
}
@keyframes pulse-scale{
    0%,20%,100%{transform:scale(1);}
    10%   {transform:scale(1.05);}   /* ボタン本体が 5% だけ膨らむ */
    55%   {transform:scale(1.05);}   
}


@keyframes goldShimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

/* レスポンシブデザイン - タブレット */
@media (max-width: 1024px) {


    .container {
        padding: 0 30px;
    }
    
    .hero-title-large {
        font-size: 40px;
    }
    
    
    .worries-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .worries-image {
        max-width: 100%;
        flex: 0px;
    }
    
    .thinking-student-img {
        max-width: 400px;
    }
    
    .achievements-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .achievement-item {
        margin-top: 40px;
    }
    
    .message-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 
================================================
レスポンシブデザイン - スマートフォン
=================================================
 */
@media (max-width: 768px) {
    .reason-card h3, .flow-content h3 {
        font-size: clamp(10px, 5vw, 33px);
    }

    /* 共通 */
    .sp-only {
        display: inline;
    }
    .se-only {
        display: none;
    }
    .container {
        padding: 0 15px;
    }    
    section {
        padding: 30px 0;
    }
    


    /* モバイルヘッダー表示 */
    .mobile-header {
        display: block;
    }
    /* ヘッダー */
    .nav-desktop {
        display: none;
    }
    .mobile-menu-toggle {
        display: block;
    }
    .nav-mobile {
        display: block;
    }
    
    /* ヒーロー */
    .hero {
        min-height: auto;
        padding: 70px 0 30px;
    }
    .hero-badge {
        font-size: 16px;
        padding: 10px 24px;
        margin-bottom: 20px;
    }
    .hero-title-large {
        font-size: 36px;
        margin-bottom: 20px;
        line-height: 1.1;
        letter-spacing: -0.02em;
    }
    .hero-subtitle {
        font-size: 20px;
        line-height: 1.5;
        margin-bottom: 30px;
        font-weight: 500;
    }
    .hero-stats {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 15px;
        justify-content: space-around;
        margin-bottom: 20px;
    }

    .hero-note {
        font-size: 11px;
        padding: 0 15px;
        margin-bottom: 20px;
        margin-top: 0;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
        padding: 0 15px;
        gap: 12px;
    }

    .hero-note-list li{
        font-size: 10.5px;
    }
    
    .stat-icon {
        width: 110px;
        height: 110px;
        margin-bottom: 10px;
    }
    .stat-number {
        font-size: 28px;
    }
    .stat-number span {
        font-size: 42px;
    }
    .stat-label {
        font-size: 16px;
        line-height: 1.2;
        font-weight: bold;
    }
    .stat-label::after {
        height: 2px;
        bottom: -3px;
    }
    .stat-label sup {
        font-size: clamp(8px, 2.2vw, 10.5px);     
    }

   
    
    /* アイコンを“文字 1 字分”として振る舞わせる */
    .btn-main img{
      height:clamp(16px, 6.8vw, 32px);  
      width:auto;
    }
    .btn-text {
        font-size: clamp(14px, 4.2vw, 24px);
    }
    .btn-cta {
        width: 100%;
        padding: 10px 30px 15px 30px;
        font-size: 4.7vw;
    }

    
    /* お悩み */
    .worries-wrapper {
         padding: 20px 0;
    }    
    .worries-content {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 30px;
    }
    .worries-image {
        flex: none;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .thinking-student-img {
        max-width: 320px;
        margin: 0 auto;
        display: block;
    }
    
    .worries-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .worry-item {
        flex-direction: column;
        text-align: center;
        padding: 20px 10px;
        margin-bottom: 0;
        gap: 0;
    }
    
    .worry-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 10px;
    }
    
    .worry-item p {
        font-size: 13px;
        line-height: 1.4;
        text-align: center;
        margin: 0;
    }
    
    .solution-text {
        font-size: clamp(14px,  3.9vw, 24px);
        line-height: 1.5;
    }
    
    .emphasis {
        font-size: clamp(23px,  4vw, 24px);
        display: block;
        margin-top: 10px;
    }
    
    /* 選ばれる理由 */
    .reasons-grid {
        grid-template-columns: 1fr;
    }
    
    .reason-card {
        padding: 30px 20px;
    }
    
    /* 実績紹介 */
    .achievements-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .achievement-item {
        margin-top: 40px;
        padding: 40px 20px;
    }
    
    .achievement-number {
        font-size: 48px;
    }
    
    .achievement-unit {
        font-size: 28px;
    }
    
    .achievement-title {
        font-size: 18px;
    }
    
    /* 6つの特徴 */
    .feature-item {
        flex-direction: row;
        text-align: left;
        padding: 20px;
        margin-bottom: 20px;
        align-items: flex-start;
    }
    .feature-icon {
        width: 80px;
        height: 80px;
        right: 15px;
        opacity: 0.7;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    .feature-number {
        font-size: 28px;
        margin-right: 15px;
        margin-bottom: 0;
        margin-top: -3px;
    }
    .feature-content h3 {
        font-size: 16px;
        margin-bottom: 10px;
    }
    .feature-content p {
        font-size: 13px;
        line-height: 1.6;
    }
    
    /* 合格実績 */
    .chart-wrapper {
        padding: 20px;
        height: 300px;
    }
    
    .results-highlights {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .highlight-item {
        padding: 15px;
    }
    
    .highlight-desc {
        font-size: 14px;
        margin-top: 5px;
    }
    
    .rate-number {
        font-size: 48px;
    }
    .rate-percent {
        font-size: 24px;
    }

    .total-number,.trend-icon {
        font-size: 36px;
    }

    .trend-text {
        font-size: 20px;
    }
    
    .results-message {
        font-size: clamp(12px, 3.4vw, 22px);
        padding: 0 15px;
    }
    
    /* 合格体験記 */
    .success-card {
        padding: 30px 20px;
    }
    .success-header {
        flex-direction: column;
        text-align: center;
    }
    
    .student-photo {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    /* 受講の流れ */
    .flow-timeline::before {
        left: 20px;
    }
    
    .flow-item:nth-child(odd), .flow-item:nth-child(even) {
        padding-left: 60px;
        padding-right: 0;
        text-align: left;
    }
    .flow-number {
        left: 20px;
        transform: translateX(-50%);
        width: 80px;
        height: 80px;
        font-size: 14px;
    }
    .flow-number span {
        font-size: 28px;
    }
    .flow-content {
        margin: 0;
    }
    .flow-subtitle {
        font-size: 15px;
        margin-top: 5px;
    }
    
    /* 授業の様子 */
    .lesson-subtitle {
        font-size: 15px;
        padding: 0 15px;
        margin-bottom: 40px;
    }
    .lesson-step {
        flex-direction: column;
        gap: 0;
        margin-bottom: 40px;
    }
    .lesson-step.reverse {
        flex-direction: column;
    }
    
    .step-number {
        position: static;
        display: inline-block;
        margin-bottom: 20px;
    }
    
    .lesson-step.reverse .step-number {
        right: auto;
    }
    
    .step-content {
        padding: 30px 20px;
    }
    .step-header h3 {
        font-size: 20px;
    }
    .step-desc {
        font-size: 14px;
        margin-bottom: 20px;
    }
    .step-image {
        margin-bottom: 20px;
    }
    .step-detail {
        font-size: 14px;
    }
    
    .lesson-cta {
        padding: 30px 20px;
        margin: 40px 15px 0;
    }
    
    .cta-text {
        font-size: 16px;
        margin-bottom: 20px;
    }
    
    /* 料金 */
    .pricing-table table {
        font-size: 14px;
    }
    
    .pricing-table th,
    .pricing-table td {
        padding: 15px 10px;
    }
    
    .price {
        font-size: 4vw;
    }
    .tax{
        font-size: 3vw;
    }
    
    .popular-badge {
        font-size: 10px;
        padding: 3px 8px;
        top: -10px;
        right: 5px;
    }
    
    .notice-bubble {
        padding: 15px 20px;
        margin: 0 15px;
    }
    
    .notice-bubble p {
        font-size: 14px;
    }
    
    .notice-bubble strong {
        font-size: 18px;
    }
    
    .includes-list {
        grid-template-columns: 1fr;
    }
    
    /* 保護者メッセージ */
    .message-content {
        padding: 20px;
    }
    
    .message-text {
        padding: 0;
    }
    
    .message-lead {
        font-size: 20px;
    }
    
    /* FAQ */
    .faq-question {
        font-size: 15px;
        padding: 18px 15px;
        line-height: 1.5;
    }
    
    .faq-answer {
        padding: 0 15px 18px;
    }
    
    .faq-answer p {
        font-size: 14px;
    }
    
    /* CTA */
    .cta {
        padding: 60px 0;
    }
    
    .cta-title {
        font-size: 24px;
        line-height: 1.4;
        margin-bottom: 15px;
    }
    
    .cta-subtitle {
        font-size: 15px;
        line-height: 1.6;
        margin-bottom: 30px;
    }
    
    .cta-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    


    
    /* フッター */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-logo {
        flex-direction: row;
        justify-content: center;
    }
    
    .footer-logo img {
        height: 30px;
    }
    
    .footer-logo p {
        font-size: 12px;
    }
}

/* 
================================================
レスポンシブデザイン - スマートフォン
=================================================
 */
@media (max-width: 480px) {
    .reason-card.reason-with-image .reason-header{
        gap: 7px;
    }
    .reason-icon{
        width: 80px;
        height: 80px;
    }
}

/* 
iPhone SE等の小型端末対応 
*/
@media (max-width: 375px) {
    .btn-sub {
        font-size: 13px;        /* お好みで文字を小さく */
    }
    .se-only {
        display: inline;
    }
   .mobile-logo-name{
    font-size: 14px;
   }

    .hero-title-large {
        font-size: 29px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }

    .reason-card h3{
        font-size: clamp(16px, 5.3vw, 20px);
    }

    .flow-content h3  {
        font-size: clamp(16px, 4.5vw, 20px);
    }

    .step-header h3, .price  {
        font-size: clamp(16px, 5.5vw, 24px);
    }

    .tax{
        font-size: clamp(12px, 4.0vw, 16px);
    }
    .small{
        font-size: 12px;
    }

    .results-message{
        font-size: 14px;
    }
    .flow-subtitle {
        font-size: 13px;

    }
    .flow-content {
        padding: 20px;
    }


    .stat-icon {
        width: 80px;
        height: 80px;
    }


    
    .stat-number span {
        font-size: 32px;
    }
    
    .stat-label {
        font-size: 11px;
    }
    
    .pricing-table {
        font-size: 12px;
    }
    
    .worry-icon {
        width: 70px;
        height: 70px;
    }
    
    .worry-item p {
        font-size: 3vw;
    }

    .btn-main-br img{
      height:clamp(32px, 13vw, 64px);  
      width:auto;
    }
}

/* 高解像度ディスプレイ対応 */
@media (-webkit-min-device-pixel-ratio: 2),
       (min-resolution: 192dpi) {
    .hero-bg-img,
    .features-img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}