/*
Theme Name: アンカーズ キッズダンスアカデミー
Theme URI: https://example.com
Description: 保育園児対象のダンススクール用WordPressテーマ(水色配色版)
Version: 2.0
Author: Your Name
*/


/* ========== 基本設定 ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', sans-serif;
    line-height: 1.8;
    color: #333;
    overflow-x: hidden;
}

/* ========== スクロールプログレスバー ========== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, #38BDF8, #0EA5E9, #14B8A6);
    z-index: 9999;
    transition: width 0.1s ease;
}
/* ========== アニメーション用クラス ========== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.active {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-left.active {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-right.active {
    opacity: 1;
    transform: translateX(0);
}

.zoom-in {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.zoom-in.active {
    opacity: 1;
    transform: scale(1);
}

.stagger-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.stagger-item.active {
    opacity: 1;
    transform: translateY(0);
}

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

/* ========== ヘッダー(簡素化版) ========== */
header {
    background: linear-gradient(135deg, #38BDF8 0%, #0EA5E9 50%, #14B8A6 100%);
    color: white;
    padding: 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(56, 189, 248, 0.3);
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 0.3rem 0;
    background: rgba(56, 189, 248, 0.95);
    backdrop-filter: blur(10px);
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    position: relative;
    overflow: hidden;
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: white;
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.nav-links a:hover::before {
    width: 80%;
}

.nav-links a:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-2px);
}

/* ========== ヒーローセクション ========== */
.hero {
    position: relative;
    color: white;
    padding: 0;
    text-align: center;
    overflow: hidden;
    margin-top: 60px;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* PC用背景画像 */
.hero-single-image {
    background-image: url('image/hero-pc.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* スマホ用背景画像(メディアクエリで切り替え) */
@media (max-width: 768px) {
    .hero-single-image {
        background-image: url('image/hero-sp.jpg');
        min-height: 100vh;
        max-height: 1000px;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

/* CTAボタンの位置調整 */
.hero .cta-button {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: fadeInUp 1s ease 0.4s both;
    z-index: 20;
}

.hero .cta-button:hover {
    transform: translateX(-50%) translateY(-3px);
    box-shadow: 0 12px 35px rgba(251, 191, 36, 0.6), 0 0 25px rgba(251, 191, 36, 0.4);
}

@keyframes fadeInUpCenter {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* ========== CTAボタン ========== */
.cta-button {
    display: inline-block;
    padding: 1.3rem 3.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
/* キラッと光るエフェクト */

.cta-button::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.cta-button:hover::before {
    opacity: 1;
    animation: sparkle 0.6s ease;
}

@keyframes sparkle {
    0% {
        transform: scale(0) rotate(0deg);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: scale(1) rotate(180deg);
        opacity: 0;
    }
}
/* シャインエフェクト(光が流れる) */
.cta-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
    transition: left 0.6s ease;
    pointer-events: none;
}

.cta-button:hover::after {
    left: 150%;
}

.cta-button span {
    position: relative;
    z-index: 1;
}

.cta-button-primary {
    background: linear-gradient(135deg, #FBBF24 0%, #F59E0B 100%);
    color: #1F2937;
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.4);
}

.cta-button-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(251, 191, 36, 0.6), 0 0 25px rgba(251, 191, 36, 0.4);
}
/* セクション間のCTAボタン */

.section-cta {
    text-align: center;
    padding: 3rem 2rem;
}

.section-cta .cta-button {
    margin: 0 auto;
    color: #fff;
}

/* ========== コンテナ ========== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    margin-bottom: 0;
    padding-top: 6rem;
    padding-bottom: 6rem;
    position: relative;
}

/* ========== 波デザイン ========== */
.section-wave-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z" fill="white"/></svg>') repeat-x;
    background-size: cover;
    z-index: 1;
}

.section-wave-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M985.66,92.83C906.67,72,823.78,31,743.84,14.19c-82.26-17.34-168.06-16.33-250.45.39-57.84,11.73-114,31.07-172,41.86A600.21,600.21,0,0,1,0,27.35V120H1200V95.8C1132.19,118.92,1055.71,111.31,985.66,92.83Z" fill="white"/></svg>') repeat-x;
    background-size: cover;
    z-index: 1;
}

/* ========== 背景色(水色・クリーム・グリーン) ========== */
.section-bg-light-blue {
    background: linear-gradient(180deg, #F0F9FF 0%, #E0F2FE 100%);
    position: relative;
    overflow: hidden;
}

.section-bg-light-pink {
    background: linear-gradient(180deg, #FEF3C7 0%, #FEF3C7 100%);
    position: relative;
    overflow: hidden;
}

.section-bg-light-purple {
    background: linear-gradient(180deg, #ECFDF5 0%, #D1FAE5 100%);
    position: relative;
    overflow: hidden;
}

.section-bg-white {
    background: white;
    position: relative;
    overflow: hidden;
}

/* ========== パララックス効果 ========== */
.parallax-bg {
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    pointer-events: none;
    z-index: 0;
    will-change: transform;
}

.parallax-circles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.parallax-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
    will-change: transform;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(30px, -30px) scale(1.05);
    }
    50% {
        transform: translate(-20px, -50px) scale(0.95);
    }
    75% {
        transform: translate(-40px, -20px) scale(1.02);
    }
}

.parallax-circle-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #38BDF8, transparent);
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.parallax-circle-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #14B8A6, transparent);
    top: 50%;
    right: 15%;
    animation-delay: 5s;
}

.parallax-circle-3 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #10B981, transparent);
    bottom: 10%;
    left: 20%;
    animation-delay: 10s;
}

.parallax-wave-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(56, 189, 248, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(20, 184, 166, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(16, 185, 129, 0.05) 0%, transparent 50%);
    animation: wave-move 15s ease-in-out infinite;
}

@keyframes wave-move {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(30px, -30px);
    }
}

/* ========== セクションタイトル ========== */
.section-title {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #38BDF8 0%, #0EA5E9 50%, #14B8A6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 800;
    position: relative;
    padding-bottom: 2rem;
}

.section-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 5px;
    background: linear-gradient(90deg, #38BDF8, #0EA5E9, #14B8A6);
    border-radius: 3px;
    animation: lineExpand 1s ease forwards;
}

@keyframes lineExpand {
    to {
        width: 100px;
    }
}

/* ========== 表現カード(枠線削除) ========== */
.expression-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.expression-card {
    background: white;
    border-radius: 30px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.12);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.expression-card:hover {
    transform: translateY(-15px) rotate(-2deg);
    box-shadow: 0 25px 60px rgba(56, 189, 248, 0.3);
}

.expression-card-image {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, #BAE6FD 0%, #7DD3FC 100%);
    transition: transform 0.4s ease;
}

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

.expression-card:hover .expression-card-image {
    transform: scale(1.1);
}

.expression-card-content {
    padding: 2rem;
}

.expression-card h3 {
    color: #0EA5E9;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.common-rule {
    background: linear-gradient(135deg, #FBBF24 0%, #F59E0B 100%);
    padding: 3rem;
    border-radius: 30px;
    margin-top: 2rem;
    text-align: center;
    color: white;
    box-shadow: 0 15px 50px rgba(251, 191, 36, 0.4);
    transition: all 0.3s ease;
}

.common-rule:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 60px rgba(251, 191, 36, 0.5);
}

.common-rule h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

/* ========== 課題と解決策(Before→After形式) ========== */
.challenge-solution-modern {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-question {
    font-size: 2.8rem;
    background: linear-gradient(135deg, #38BDF8 0%, #0EA5E9 50%, #14B8A6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
    margin-bottom: 1.5rem;
}

.section-header .section-subtitle {
    font-size: 1.3rem;
    color: #4b5563;
    font-weight: 600;
}

.ba-container {
    display: grid;
    gap: 4rem;
}

.ba-row {
    display: grid;
    grid-template-columns: 1fr 80px 1fr;
    gap: 2rem;
    align-items: center;
}

.card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}

.before-card {
    border-top: 5px solid #F472B6;
}

.before-card .card-image {
    height: 200px;
    background: linear-gradient(135deg, #FBCFE8 0%, #F9A8D4 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.before-card .card-image::after {
    content: '課題';
    position: absolute;
    top: 15px;
    left: 15px;
    background: #F472B6;
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-weight: 800;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(244, 114, 182, 0.4);
}

.after-card {
    border-top: 5px solid #10B981;
}

.after-card .card-image {
    height: 200px;
    background: linear-gradient(135deg, #D1FAE5 0%, #A7F3D0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.after-card .card-image::after {
    content: '解決';
    position: absolute;
    top: 15px;
    left: 15px;
    background: #10B981;
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-weight: 800;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

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

.card-content {
    padding: 2rem;
}

.card-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: #1f2937;
    line-height: 1.5;
    margin-bottom: 0.8rem;
}

.card-description {
    font-size: 1rem;
    color: #6b7280;
    line-height: 1.7;
}

.arrow-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.arrow {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #38BDF8 0%, #0EA5E9 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    font-weight: 900;
    box-shadow: 0 8px 20px rgba(56, 189, 248, 0.4);
    transition: all 0.3s ease;
}

.arrow:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 30px rgba(56, 189, 248, 0.6);
}

.solution-footer {
    margin-top: 5rem;
    text-align: center;
    padding: 3.5rem;
    background: linear-gradient(135deg, #38BDF8 0%, #14B8A6 100%);
    border-radius: 25px;
    box-shadow: 0 15px 50px rgba(56, 189, 248, 0.3);
}

.solution-footer h3 {
    color: white;
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
}

.solution-footer p {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.9;
    opacity: 0.95;
}
/* ========== 指導方針(枠線削除・水色配色) ========== */
.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.philosophy-item {
    background: linear-gradient(135deg, #F59E0B 0%, #FBBF24 100%);
    padding: 2rem;
    border-radius: 25px;
    text-align: center;
    color: #065F46; /* ã“ã“ã¯OK */
    box-shadow: 0 15px 40px rgba(16, 185, 129, 0.3);
    transition: all 0.3s;
}

.philosophy-item:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 20px 50px rgba(16, 185, 129, 0.4);
}

.philosophy-image {
    width: 120px;
    height: 120px;
    background: rgba(255,255,255,0.5);
    border-radius: 20px;
    margin: 0 auto 1.5rem;
}
.philosophy-image img{
    width: 100%;
    border-radius: 10px;
    display: block;
}
.philosophy-item h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    font-weight: 800;
    color: #fff;
}

.philosophy-item p {
    color: #Fff;
}
/* ========== 5つの力(カルーセル・水色配色) ========== */
.five-powers {
    background: linear-gradient(135deg, #E0F2FE 0%, #BAE6FD 100%);
    padding: 4rem;
    border-radius: 30px;
    margin-top: 3rem;
}

.five-powers-title {
    text-align: center;
    color: #0369A1;
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    padding: 0 60px;
    margin-top: 2rem;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 2rem;
}

.carousel-item {
    min-width: 100%;
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.carousel-item h4 {
    background: linear-gradient(135deg, #38BDF8 0%, #0EA5E9 100%);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 15px;
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.carousel-item p {
    line-height: 1.9;
    color: #4b5563;
    font-size: 1.05rem;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #38BDF8 0%, #0EA5E9 100%);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(56, 189, 248, 0.4);
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-nav:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 10px 30px rgba(56, 189, 248, 0.6);
}

.carousel-nav.prev {
    left: 0;
}

.carousel-nav.next {
    right: 0;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 2rem;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #BAE6FD;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicator.active {
    background: #0EA5E9;
    transform: scale(1.3);
}

/* ========== クラス編成(枠線削除) ========== */

.class-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.class-type {
    background: white;
    padding: 2.5rem;
    border-radius: 25px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
}

.class-type:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(56, 189, 248, 0.3);
}

.class-type h4 {
    background: linear-gradient(135deg, #FBBF24 0%, #F59E0B 100%);
    color: white;
    padding: 1.2rem;
    border-radius: 15px;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    text-align: center;
}

.class-detail strong {
    color: #F59E0B;
    font-weight: 700;
}

/* ========== 料金案内(2カラム対応) ========== */
.pricing-section {
    background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
    padding: 4rem;
    border-radius: 30px;
    margin-top: 3rem;
}

.pricing-highlight {
    text-align: center;
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    margin-bottom: 3rem;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.pricing-highlight h3 {
    color: #F59E0B;
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.zero-yen {
    font-size: 3.5rem;
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
    margin: 1rem 0;
}

.pricing-tables {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.pricing-table {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.pricing-table:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.pricing-table h4 {
    color: #F59E0B;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 800;
}

.pricing-table table {
    width: 100%;
    border-collapse: collapse;
}

.pricing-table th,
.pricing-table td {
    padding: 1rem;
    text-align: center;
    border: 2px solid #FDE68A;
}

.pricing-table th {
    background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
    font-weight: 700;
    color: #78350F;
}

/* 保育園料金を2カラム配置 */
.pricing-grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.pricing-contract-box,
.pricing-target-box,
.pricing-included-box {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.pricing-contract-box h3,
.pricing-target-box h3,
.pricing-included-box h3 {
    color: #F59E0B;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    text-align: center;
}

.pricing-contract-box ul,
.pricing-target-box ul,
.pricing-included-box ul {
    list-style: none;
    padding: 0;
}

.pricing-contract-box li,
.pricing-target-box li,
.pricing-included-box li {
    padding: 0.8rem 0;
    color: #4b5563;
    font-size: 1.05rem;
}

/* ========== 導入事例・ブログカード ========== */
.case-grid, .blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}
.case-grid + div {
    background: linear-gradient(135deg, #BAE6FD 0%, #7DD3FC 100%);
    padding: 3rem 2rem;
    border-radius: 30px;
    text-align: center;
    margin-top: 4rem;
    box-shadow: 0 15px 50px rgba(56, 189, 248, 0.3);
}

.case-grid + div h3 {
    color: #0C4A6E;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 900;
}

.case-grid + div p {
    color: #0C4A6E;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.8;
}

.case-grid + div .count-number {
    color: #F59E0B;
    font-size: 2.5rem;
    font-weight: 900;
    display: inline-block;
}
.case-card, .blog-card {
    background: white;
    border-radius: 25px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s;
}

.case-card:hover, .blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(56, 189, 248, 0.3);
}

.blog-card:hover {
    box-shadow: 0 20px 50px rgba(16, 185, 129, 0.3);
}

.case-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #F59E0B 0%, #EF4444 100%);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 800;
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.4);
    z-index: 10;
}

.case-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.case-card:hover .case-image img {
    transform: scale(1.1);
}

.blog-image {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, #D1FAE5 0%, #A7F3D0 100%);
}

.case-content, .blog-content {
    padding: 2rem;
}

.case-card h4, .blog-card h3 {
    color: #0EA5E9;
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    font-weight: 800;
}

.case-info {
    background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
    padding: 0.8rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: #78350F;
    text-align: center;
}

.blog-date {
    color: #10B981;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.blog-content .read-more {
    display: inline-block;
    color: #10B981;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
    margin-top: 1rem;
}

.blog-content .read-more:hover {
    color: #059669;
    transform: translateX(5px);
}

.count-number {
    display: inline-block;
}


.greeting-section {
    background: white;
    padding: 4rem;
    border-radius: 30px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
}

.greeting-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    align-items: center;
}

.greeting-image-wrapper {
    width: 300px;
    height: 300px;
}

.greeting-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.greeting-text h3 {
    color: #0EA5E9;
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 900;
}

.greeting-text h4 {
    color: #6b7280;
    font-size: 1.2rem;
    margin-bottom: 2rem;
    font-weight: 600;
}

.greeting-text p {
    color: #4b5563;
    line-height: 2;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.greeting-text a {
    display: inline-block;
    background: linear-gradient(135deg, #0EA5E9 0%, #0284C7 100%);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.4);
    transition: all 0.3s;
    margin-top: 1rem;
}

.greeting-text a:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(14, 165, 233, 0.6);
}

/* ========== 導入の流れ(縦タイムライン) ========== */
.steps-grid {
    position: relative;
    max-width: 800px;
    margin: 4rem auto 0;
    padding-left: 4rem;
}


.steps-grid::before {
    content: '';
    position: absolute;
    left: 1.5rem;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #38BDF8 0%, #0EA5E9 50%, #14B8A6 100%);
    border-radius: 2px;
}

.intro-step {
    background: white;
    padding: 2.5rem;
    border-radius: 25px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    position: relative;
    transition: all 0.3s;
    margin-bottom: 3rem;
}

.intro-step:hover {
    transform: translateX(10px);
    box-shadow: 0 20px 50px rgba(56, 189, 248, 0.3);
}


.intro-step::before {
    content: '';
    position: absolute;
    left: -3.2rem;
    top: 2.5rem;
    width: 2rem;
    height: 2rem;
    background: linear-gradient(135deg, #38BDF8 0%, #0EA5E9 100%);
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 4px 15px rgba(56, 189, 248, 0.5);
    z-index: 2;
}

.intro-step::after {
    content: attr(data-step);
    position: absolute;
    top: -18px;
    left: 25px;
    background: linear-gradient(135deg, #FBBF24 0%, #F59E0B 100%);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    font-weight: 800;
    font-size: 0.9rem;
    box-shadow: 0 8px 20px rgba(251, 191, 36, 0.4);
}

.intro-step h4 {
    color: #0EA5E9;
    font-size: 1.4rem;
    margin: 1.5rem 0 1rem;
    font-weight: 800;
}

.intro-step p {
    color: #4b5563;
    line-height: 1.8;
}

/* ========== FAQ(枠線削除・水色配色) ========== */.faq-grid {
    display: grid;
    gap: 2.5rem;
    margin-top: 3rem;
}

.faq-item {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.faq-item:hover {
    box-shadow: 0 15px 40px rgba(56, 189, 248, 0.3);
}

.faq-question {
    background: linear-gradient(135deg, #0EA5E9 0%, #0284C7 100%);
    color: white;
    padding: 2rem;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.faq-question::before {
    content: 'Q';
    background: white;
    color: #0EA5E9;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.faq-answer {
    background: #FEF3C7;
    padding: 2rem;
    display: flex;
    align-items: start;
    gap: 1.5rem;
}

.faq-answer::before {
    content: 'A';
    background: linear-gradient(135deg, #FBBF24 0%, #F59E0B 100%);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.faq-answer div {
    line-height: 1.8;
    color: #78350F;
    font-weight: 500;
}

/* ========== お問い合わせ(水色配色) ========== */
.contact-hero {
    background: linear-gradient(135deg, #38BDF8 0%, #14B8A6 100%);
    color: white;
    padding: 4rem 3rem;
    border-radius: 30px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(56, 189, 248, 0.4);
}

.contact-hero h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 900;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contact-method {
    background: white;
    color: #1F2937;
    padding: 3rem 2rem;
    border-radius: 25px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
}

.contact-method:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(56, 189, 248, 0.3);
}

.contact-method h4 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    color: #0EA5E9;
}

.phone-number {
    font-size: 2rem;
    font-weight: 900;
    color: #EF4444;
    margin: 1rem 0;
}

.email-address {
    font-size: 1.3rem;
    font-weight: 700;
    color: #0EA5E9;
    word-break: break-all;
}

.contact-method a {
    display: inline-block;
    margin-top: 1.5rem;
    background: linear-gradient(135deg, #FBBF24 0%, #F59E0B 100%);
    color: #1F2937;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s;
}

.contact-method a:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(251, 191, 36, 0.5);
}

/* ========== YouTubeセクション(水色配色) ========== */.youtube-section {
    background: white;
    padding: 4rem;
    border-radius: 30px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
    margin-top: 3rem;
}

.youtube-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.youtube-placeholder {
    background: #000;
    height: 350px;
    border-radius: 25px;
}

.youtube-info h4 {
    color: #e90e0e;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
}
/* ========== フッター ========== */
footer {
    background: linear-gradient(135deg, #E0F2FE 0%, #BAE6FD 100%);
    color: #0C4A6E; /* æ¿ƒã„é’æ–‡å­— */
    padding: 4rem 2rem 2rem;
    margin-top: 8rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.footer-info p {
    margin: 0.8rem 0;
    font-size: 1.05rem;
    color: #0C4A6E;
}

.copyright {
    border-top: 2px solid rgba(14, 165, 233, 0.3);
    padding-top: 2rem;
    margin-top: 3rem;
    font-size: 0.95rem;
    color: #0369A1;
}

.page-hero {
    background: linear-gradient(135deg, #38BDF8 0%, #0EA5E9 100%);
    color: white;
    padding: 10rem 2rem 6rem;
    text-align: center;
    margin-top: 70px;
}

.page-hero h1 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.3rem;
    opacity: 0.95;
}

.back-link {
    background: rgba(255,255,255,0.2);
    padding: 0.7rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    transition: all 0.3s;
}

.back-link:hover {
    background: rgba(255,255,255,0.35);
    transform: translateY(-2px);
}

/* ブログページ用 */
.blog-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #F59E0B 0%, #EF4444 100%);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 800;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.blog-excerpt {
    color: #6b7280;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.read-more {
    display: inline-block;
    color: #10B981;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
}

.read-more:hover {
    color: #059669;
    transform: translateX(5px);
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 4rem;
}

.page-number,
.pagination a {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: white;
    color: #10B981;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.page-number:hover,
.pagination a:hover {
    background: #10B981;
    color: white;
    transform: scale(1.1);
}

.page-number.active,
.pagination .current {
    background: #10B981;
    color: white;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.info-card {
    background: white;
    padding: 2.5rem;
    border-radius: 25px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    text-align: center;
}

.info-card h3 {
    color: #0EA5E9;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.phone-large {
    color: #EF4444;
    font-size: 2rem;
    font-weight: 900;
    margin: 1rem 0;
}

.email-large {
    color: #0EA5E9;
    font-size: 1.3rem;
    font-weight: 700;
    word-break: break-all;
}

.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 25px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
}

.form-title {
    color: #0EA5E9;
    font-size: 2rem;
    margin-bottom: 2rem;
    font-weight: 900;
    text-align: center;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    color: #1F2937;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.required {
    color: #EF4444;
    font-weight: 900;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #BAE6FD;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0EA5E9;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.checkbox-group {
    display: flex;
    align-items: start;
    gap: 0.8rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 0.3rem;
}

.submit-button {
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(135deg, #FBBF24 0%, #F59E0B 100%);
    color: #1F2937;
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.4);
}

.submit-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(251, 191, 36, 0.6);
}

.office-info {
    background: linear-gradient(135deg, #E0F2FE 0%, #BAE6FD 100%);
    padding: 3rem;
    border-radius: 25px;
    margin-top: 4rem;
}

.office-info h3 {
    color: #0369A1;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 900;
}

.office-info p {
    color: #0C4A6E;
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.instructor-profile-detail {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 2rem;
    align-items: start;
    padding: 2.5rem;
}

.instructor-profile-image {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #BAE6FD 0%, #7DD3FC 100%);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(56, 189, 248, 0.3);
    overflow: hidden;
}

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

.instructor-location {
    color: #6b7280;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.instructor-history-table {
    background: #f9fafb;
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 1.5rem;
}

.instructor-history-table table {
    width: 100%;
    border-collapse: collapse;
}

.instructor-history-table tr {
    border-bottom: 1px solid #e5e7eb;
}

.instructor-history-table tr:last-child {
    border-bottom: none;
}

.history-label {
    padding: 0.8rem 1rem;
    font-weight: 700;
    border-radius: 8px;
    width: 150px;
}

.history-label-yellow {
    background: #FEF3C7;
    color: #78350f;
}

.history-label-blue {
    background: #DBEAFE;
    color: #1e40af;
}

.history-label-green {
    background: #D1FAE5;
    color: #065f46;
}

.history-content {
    padding: 0.8rem 1rem;
    color: #374151;
    line-height: 1.7;
}

.timeline-container {
    max-width: 1000px;
    margin: 3rem auto;
}

.timeline-2col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.timeline-column {
    position: relative;
    padding-left: 3rem;
}

.timeline-line {
    position: absolute;
    left: 1rem;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #FBBF24 0%, #F59E0B 100%);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 2.5rem;
}

.timeline-dot {
    position: absolute;
    left: -3.2rem;
    top: 0.3rem;
    width: 2rem;
    height: 2rem;
    background: #FBBF24;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 4px 10px rgba(251, 191, 36, 0.4);
}

.timeline-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.timeline-card-current {
    background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
    border: 2px solid #FBBF24;
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.3);
}

.timeline-year {
    font-size: 1.5rem;
    font-weight: 900;
    color: #F59E0B;
    margin-bottom: 0.5rem;
}

.timeline-count {
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.timeline-desc {
    color: #6b7280;
    line-height: 1.7;
}

.timeline-highlight {
    color: #78350f;
    font-weight: 700;
}

.timeline-note {
    color: #92400e;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* è³ªä¿è¨¼ */
.quality-assurance-box {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.quality-assurance-content {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
    align-items: center;
}

.quality-assurance-image {
    width: 250px;
    height: 200px;
    background: linear-gradient(135deg, #E0F2FE 0%, #BAE6FD 100%);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(56, 189, 248, 0.3);
}

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

.quality-assurance-content p {
    color: #374151;
    line-height: 2;
    font-size: 1.05rem;
}

.facilities-list-box {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    max-width: 900px;
    margin: 0 auto;
}

.facilities-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem 1.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.facilities-list li {
    padding: 0.6rem 0;
    color: #374151;
    border-bottom: 1px solid #e5e7eb;
}

.facilities-note {
    margin-top: 2rem;
    padding: 1.2rem;
    background: linear-gradient(135deg, #E0F2FE 0%, #BAE6FD 100%);
    border-radius: 10px;
    text-align: center;
}

.facilities-note p {
    color: #0369A1;
    font-weight: 700;
    font-size: 1rem;
    margin: 0;
}

.achievements-box {
    background: linear-gradient(135deg, #FBBF24 0%, #F59E0B 100%);
    color: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    margin-top: 3rem;
    box-shadow: 0 15px 40px rgba(251, 191, 36, 0.4);
}

.achievements-number {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.achievements-text {
    font-size: 1.3rem;
    font-weight: 700;
}

.achievements-sub {
    font-size: 1rem;
    margin-top: 1rem;
    opacity: 0.9;
}

/* CTA */
.instructor-cta-box {
    background: linear-gradient(135deg, #E0F2FE 0%, #BAE6FD 100%);
    padding: 4rem;
    border-radius: 30px;
    text-align: center;
    margin-top: 6rem;
    box-shadow: 0 15px 50px rgba(56, 189, 248, 0.3);
}

.instructor-cta-box h3 {
    color: #0369A1;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 900;
}

.instructor-cta-box p {
    color: #0C4A6E;
    font-size: 1.2rem;
    line-height: 1.8;
    font-weight: 600;
    margin-bottom: 2rem;
}

.instructors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.instructors-grid .instructor-card-image {
    width: 100%;
    height: 400px;          /* 高さを固定 */
    overflow: hidden;       /* はみ出し防止 */
    object-fit: cover;      /* 画像を綺麗にトリミング */
    object-position: center; /* 中央配置 */
}
.instructors-grid .instructor-card-image img{
    width: 100%;
    display: block;
}
.instructor-card {
    background: white;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.instructor-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(56, 189, 248, 0.3);
}
.instructor-card-content{
    padding: 1rem;
}
.instructor-name {
    color: #0EA5E9;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-weight: 900;
}

.instructor-role {
    color: #6b7280;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.instructor-specialty {
    background: linear-gradient(135deg, #E0F2FE 0%, #BAE6FD 100%);
    padding: 1rem;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    color: #0369A1;
    font-weight: 700;
    text-align: center;
}

.instructor-description {
    color: #4b5563;
    line-height: 1.9;
    margin-bottom: 1.5rem;
}

.target-selector-section {
    background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
    padding: 4rem 2rem;
    margin-top: -2rem;
    position: relative;
    z-index: 10;
}

.target-selector-wrapper {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.target-selector-title {
    font-size: 2rem;
    color: #F59E0B;
    margin-bottom: 2rem;
    font-weight: 900;
}

.target-selector {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 700px;
    margin: 0 auto 1.5rem;
}

.target-btn {
    background: white;
    border: none;
    border-radius: 25px;
    padding: 2rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.target-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(251, 191, 36, 0.3);
}

.target-btn.active {
    background: linear-gradient(135deg, #FBBF24 0%, #F59E0B 100%);
    box-shadow: 0 15px 50px rgba(251, 191, 36, 0.5);
}

.target-icon {
    font-size: 3rem;
}

.target-label {
    font-size: 1.5rem;
    font-weight: 800;
    color: #78350F;
}

.target-btn.active .target-label {
    color: white;
}

.target-note {
    color: #78350F;
    font-size: 0.95rem;
    font-weight: 600;
    opacity: 0.8;
}

.content-gakudo,
.content-hoikuen {
    display: none;
}

.content-active {
    display: block !important;
}

/* ========== 最終CTA（相談ボックス） ========== */
.cta-box-final {
    background: linear-gradient(135deg, #E0F2FE 0%, #BAE6FD 100%);
    padding: 4rem;
    border-radius: 30px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(56, 189, 248, 0.3);
}

.cta-box-final h3 {
    color: #0369A1;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 900;
}

.cta-box-final p {
    color: #0C4A6E;
    font-size: 1.2rem;
    line-height: 1.8;
    font-weight: 600;
    margin-bottom: 2rem;
}

/* ========== レスポンシブ ========== */
@media (max-width: 1024px) {
    .class-grid {
        grid-template-columns: 1fr;
    }

    .greeting-content,
    .youtube-content {
        grid-template-columns: 1fr;
    }

    .pricing-grid-2col {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .section-question {
        font-size: 1.8rem;
    }

    .ba-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .arrow-container {
        transform: rotate(90deg);
    }

    .card-image {
        height: 150px !important;
    }

    .card-content {
        padding: 1.5rem;
    }

    .card-title {
        font-size: 1.1rem;
    }

    .solution-footer h3 {
        font-size: 1.5rem;
    }

    .solution-footer p {
        font-size: 1rem;
    }

    .hero {
        height: 100vh;
        max-height: 1000px;
        margin-top: 0;
    }

    .hero .cta-button {
        bottom: 100px;
        left: 50%;
        width: 80%;
    }
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

header {
    display: none !important;
}

.mobile-menu-toggle {
    display: flex !important;
    position: fixed;
    top: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.mobile-menu-toggle:active {
    transform: scale(0.95);
}



nav {
    display: none !important;
}

.nav-links {
    display: none !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: linear-gradient(135deg, #38BDF8 0%, #0EA5E9 100%) !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 2rem !important;
    z-index: 9998 !important;
    padding: 2rem !important;
    margin: 0 !important;
    list-style: none !important;
}

.nav-links.active {
    display: flex !important;
}

.nav-links li {
    margin: 0 !important;
}

.nav-links a {
    font-size: 1.5rem !important;
    padding: 1rem 2rem !important;
    color: white !important;
    text-decoration: none !important;
}

    .container {
        padding: 0 1rem !important;
    }

    .section {
        padding: 4rem 0;
    }

    .target-selector {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .target-selector-title {
        font-size: 1.5rem;
    }

    .target-btn {
        padding: 1.5rem 1rem;
    }

    .target-icon {
        font-size: 2.5rem;
    }

    .target-label {
        font-size: 1.2rem;
    }

    .steps-grid {
        padding-left: 3rem;
    }

    .steps-grid::before {
        left: 1rem;
    }

    .intro-step::before {
        left: -2.7rem;
    }

    .five-powers,
    .challenge-solution-wrapper,
    .pricing-section,
    .age-info,
    .common-rule,
    .contact-hero,
    .greeting-section,
    .youtube-section {
        margin-left: -1rem;
        margin-right: -1rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .carousel-container {
        padding: 0 50px;
        margin-left: -1rem;
        margin-right: -1rem;
        width: 100vw;
    }

    .carousel-nav {
        width: 45px;
        height: 45px;
        font-size: 1.5rem;
    }

    .carousel-item {
        padding: 2rem 1.5rem;
    }

    .carousel-item h4 {
        font-size: 1.3rem;
        padding: 0.8rem 1.2rem;
    }

    .carousel-item p {
        font-size: 0.95rem;
    }

    .five-powers {
        padding: 2rem 0;
        border-radius: 0;
    }

    .five-powers-title {
        font-size: 1.4rem;
    }

    .pricing-section {
        border-radius: 0;
    }

    .pricing-highlight {
        padding: 1.5rem;
        border-radius: 20px;
    }

    .pricing-table {
        padding: 1.5rem;
        overflow-x: auto;
    }

    .challenge-solution-wrapper {
        border-radius: 0;
        box-shadow: none;
    }

    .challenge-section,
    .solution-section {
        border-radius: 0;
    }

    .case-grid, .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .case-content, .blog-content {
        padding: 1.5rem;
    }

    .case-card h4, .blog-card h3 {
        font-size: 1.3rem;
    }

    .philosophy-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .philosophy-item {
        padding: 1.5rem 1rem;
    }

    .philosophy-image {
        width: 70px;
        height: 70px;
        margin-bottom: 0.8rem;
    }

    .philosophy-item h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .philosophy-item p {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    .challenge-section {
        padding: 3rem 1rem;
    }

    .challenge-main-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    .challenge-item {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 2rem 1.5rem;
    }

    .solution-section {
        padding: 3rem 1rem;
    }

    .solution-main-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    .solution-item {
        padding: 1.5rem;
    }

    .solution-item-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }

    .solution-icon {
        font-size: 2.5rem;
    }

    .solution-item-header h3 {
        font-size: 1.2rem;
    }

    .solution-item p {
        font-size: 0.95rem;
        line-height: 1.7;
        text-align: center;
    }

    .solution-footer {
        padding: 1.5rem;
    }

    .solution-footer p {
        font-size: 1rem;
        line-height: 1.7;
    }

    .zero-yen {
        font-size: 2.5rem;
    }

    .pricing-tables {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .pricing-table h4 {
        font-size: 1.2rem;
    }

    .pricing-table table {
        min-width: 100%;
        font-size: 0.85rem;
    }

    .pricing-table th,
    .pricing-table td {
        padding: 0.7rem 0.5rem;
        font-size: 0.85rem;
    }

    .class-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .class-type {
        padding: 1.5rem;
    }

    .class-type h4 {
        font-size: 1.2rem;
        padding: 0.8rem;
    }

    .class-detail {
        font-size: 0.9rem;
    }

    .faq-grid {
        gap: 1rem;
    }

    .faq-question,
    .faq-answer {
        padding: 1.2rem;
        font-size: 0.95rem;
    }

    .faq-question::before,
    .faq-answer::before {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .contact-hero {
        padding: 3rem 1.5rem;
    }

    .contact-hero h3 {
        font-size: 1.4rem;
        line-height: 1.6;
    }

    .contact-hero p {
        font-size: 0.95rem;
    }

    .contact-methods {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-method {
        padding: 2rem 1.5rem;
    }

    .contact-method h4 {
        font-size: 1.2rem;
    }

    .phone-number {
        font-size: 1.5rem;
    }

    .email-address {
        font-size: 1.1rem;
    }

    .expression-types {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .expression-card-content {
        padding: 1.5rem;
    }

    .expression-card h3 {
        font-size: 1.5rem;
    }

    .common-rule {
        padding: 2rem 1.5rem;
    }

    .age-info {
        padding: 2.5rem 1.5rem;
    }

    .age-info h2 {
        font-size: 2rem;
    }

    .youtube-content {
        grid-template-columns: 1fr;
    }

    .youtube-placeholder {
        height: 250px;
    }

    .youtube-section {
        padding: 2rem 1.5rem;
    }

    .greeting-content {
        grid-template-columns: 1fr;
    }

    .greeting-image-wrapper {
        width: 200px;
        height: 200px;
        margin: 0 auto 2rem;
    }

    .greeting-section {
        padding: 2rem 1.5rem;
    }

    .greeting-text h3 {
        font-size: 1.6rem;
        text-align: center;
    }

    .greeting-text h4 {
        font-size: 1rem;
        text-align: center;
    }

    .greeting-text p {
        font-size: 0.95rem;
    }

    .page-hero h1 {
        font-size: 2rem;
    }

    .contact-info,
    .instructor-grid {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 2rem 1.5rem;
    }

    .instructor-profile-detail {
        grid-template-columns: 1fr;
    }

    .instructor-profile-image {
        width: 200px;
        height: 200px;
        margin: 0 auto 2rem;
    }

    .timeline-2col {
        grid-template-columns: 1fr;
    }

    .instructors-grid {
        grid-template-columns: 1fr;
    }

    .quality-assurance-content {
        grid-template-columns: 1fr;
    }

    .quality-assurance-image {
        width: 100%;
        margin: 0 auto;
    }

    .facilities-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem 1rem;
    }

    .achievements-number {
        font-size: 2.5rem;
    }

    .instructor-cta-box {
        padding: 2rem 1.5rem;
    }

    .instructor-cta-box h3 {
        font-size: 1.5rem;
    }
    .cta-box-final {
        padding: 2rem 1.5rem !important; /* スマホは小さめに */
    }

    .cta-box-final h3 {
        font-size: 1.2rem !important;
    }

    .cta-box-final p {
        font-size: 1rem !important;
    }
    .cta-box-final .cta-button{
    width: 100%;
    padding: 1.2rem;
    font-size: 1rem;
}
}