/* Base Styles */
:root {
    --primary-color: #0066ff; /* スポーティなブルー */
    --accent-color: #ff6b00;  /* 視認性の高いオレンジ */
    --bg-color: #ffffff;
    --bg-light: #f8f9fa;
    --bg-dark: #1a1a1a;
    --text-color: #333333;
    --text-white: #ffffff;
    --font-family: 'Inter', 'Noto Sans JP', sans-serif;
    --transition: all 0.3s ease;
}

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

html, body {
    font-family: var(--font-family);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-color);
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
}

.text-accent {
    color: var(--accent-color);
}

.text-white {
    color: var(--text-white);
}

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

/* Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
}

.section-desc {
    text-align: center;
    margin-top: -30px;
    margin-bottom: 40px;
    font-size: 1.1rem;
    color: #555;
}

.bg-light {
    background-color: var(--bg-light);
}

.bg-dark {
    background-color: var(--bg-dark);
}

.grid {
    display: grid;
    gap: 30px;
}

.two-cols {
    grid-template-columns: 1fr;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    /* モバイルのタップ対応: 最低44pxの高さ確保 */
    min-height: 48px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background-color: #06C755;
    color: var(--text-white);
    box-shadow: 0 4px 15px rgba(6, 199, 85, 0.4);
}

.btn-primary:hover {
    background-color: #05a044;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(6, 199, 85, 0.5);
}

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

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

.btn-lg {
    font-size: 1.1rem;
    padding: 20px 40px;
    width: 100%; /* モバイルでは幅いっぱい */
}

/* Hero Section */
.hero {
    position: relative;
    z-index: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 60px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('./images/GrowithLPイメージ.png');
    background-size: cover;
    background-position: center;
    z-index: -1;
}

@media (max-width: 768px) {
    .hero-bg {
        background-position: 35% center;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* テキスト可読性確保のための半透明黒 */
}

.hero-content {
    color: var(--text-white);
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.4;
}

.hero-title .highlight {
    color: var(--accent-color);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Reasons */
.cards-grid {
    grid-template-columns: 1fr;
}

.card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.card h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

/* Features */
.features-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.feature-item {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.feature-content h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.feature-note {
    font-size: 0.8rem;
    font-weight: normal;
    background: rgba(0, 102, 255, 0.1);
    color: var(--primary-color);
    padding: 4px 8px;
    border-radius: 4px;
}

/* Coaches */
.coaches-grid {
    grid-template-columns: 1fr;
    gap: 20px;
}

.coach-profile {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    border: 1px solid rgba(255,255,255,0.4);
    /* グラスモーフィズム */
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.coach-name {
    font-size: 1.4rem;
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.coach-title {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 500;
}

.coach-credentials {
    list-style-position: inside;
    margin-bottom: 15px;
    color: #555;
    padding-left: 0;
    list-style-type: none;
    font-size: 0.9rem;
}

.coach-credentials li::before {
    content: "🏆";
    margin-right: 8px;
}

.coach-message {
    font-style: italic;
    font-size: 1.1rem;
    border-left: 4px solid var(--accent-color);
    padding-left: 20px;
    color: #444;
}

.coach-tier {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: white;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.tier-active-gen {
    background: linear-gradient(135deg, #FF9800 0%, #F57C00 100%);
    box-shadow: 0 4px 10px rgba(255, 152, 0, 0.3);
}

.tier-active-vet {
    background: linear-gradient(135deg, #4CAF50 0%, #388E3C 100%);
    box-shadow: 0 4px 10px rgba(76, 175, 80, 0.3);
}

.coach-price {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
    background: var(--bg-light);
    padding: 15px;
    border-radius: 8px;
    font-weight: 600;
}

.coach-price span {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

.coach-price span > span {
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 800;
}



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

.faq-item {
    margin-bottom: 15px;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 20px;
    background: white;
    border: none;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-family);
    color: var(--text-color);
    /* 最低44pxのタップ領域保護 */
    min-height: 60px;
}

.faq-answer {
    padding: 0 20px;
    background: var(--bg-light);
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
}

.faq-answer.open {
    padding: 20px;
    max-height: 500px;
}

/* Closing */
.closing-title {
    font-size: 2rem;
    margin-bottom: 20px;
}

.closing-desc {
    font-size: 1.2rem;
    margin-bottom: 40px;
}

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

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 107, 0, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(255, 107, 0, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 107, 0, 0); }
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: #aaa;
    padding: 40px 0;
    text-align: center;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-links a {
    color: #ddd;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.copyright {
    font-size: 0.8rem;
}

/* Responsive (Tablet & PC) */
@media (min-width: 768px) {
    .btn-lg {
        width: auto;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .two-cols {
        grid-template-columns: 1fr 1fr;
    }

    .cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .coaches-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .coaches-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Flow Section */
.flow-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}
.flow-step {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    gap: 20px;
}
.step-number {
    background: var(--accent-color);
    color: white;
    font-weight: bold;
    padding: 10px 15px;
    border-radius: 8px;
    white-space: nowrap;
}
.step-content h3 {
    margin-bottom: 5px;
    font-size: 1.2rem;
}
.step-content p {
    font-size: 0.9rem;
    color: #555;
}

/* Chat Visual Placeholder */
.chat-visual-placeholder {
    margin-top: 20px;
    background: #f0f0f0;
    padding: 15px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.mt-3 {
    margin-top: 1.5rem;
}
.chat-bubble {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    max-width: 90%;
}
.student-bubble {
    align-self: flex-end;
    justify-content: flex-end;
}
.coach-bubble {
    align-self: flex-start;
    justify-content: flex-start;
}
.chat-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
    flex-shrink: 0;
}
.student-bubble .chat-avatar {
    background: #FF6B00;
}
.coach-bubble .chat-avatar {
    background: var(--primary-color);
}
.chat-text {
    background: white;
    padding: 10px 15px;
    border-radius: 15px;
    font-size: 0.9rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    line-height: 1.5;
}
.student-bubble .chat-text {
    background: #85e05a; /* LINE-like green */
    color: #111;
}
.coach-bubble .chat-text {
    background: white;
    color: #333;
}

/* Annotated Image for Video Analysis */
.annotated-image-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 10px auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.annotated-image-container .base-image {
    width: 100%;
    display: block;
    border-radius: 12px;
}
.annotation-circle {
    position: absolute;
    top: 30%;
    right: 35%;
    width: 50px;
    height: 50px;
    border: 3px solid #ff3333;
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(255,0,0,0.5);
}
.annotation-arrow {
    position: absolute;
    top: 45%;
    right: 38%;
    color: #ff3333;
    font-size: 2rem;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.8);
    transform: rotate(45deg);
}

/* Coach Image and Details */
.coach-image-placeholder {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #eee;
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
}

.coach-image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.coach-details {
    margin: 15px 0;
    text-align: left;
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
}

.coach-details summary {
    font-weight: bold;
    cursor: pointer;
    padding: 10px 15px;
    background: #eee;
    color: var(--text-color);
    font-size: 0.9rem;
    list-style: none;
}
.coach-details summary::-webkit-details-marker {
    display: none;
}
.coach-details summary::after {
    content: " ▼";
    font-size: 0.8rem;
    float: right;
}
.coach-details[open] summary::after {
    content: " ▲";
}

.coach-details-content {
    padding: 15px;
    font-size: 0.85rem;
    color: #444;
}

.coach-details-content p {
    margin-bottom: 10px;
}
.coach-details-content p:last-child {
    margin-bottom: 0;
}

@media (max-width: 480px) {
    .flow-step {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* -------------------------------------
 * Header Navigation & Mobile Menu
 * ------------------------------------- */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    background: transparent;
    padding: 15px 0;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 10px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-decoration: none;
    line-height: 1.1;
}

.logo-main {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-logo {
    height: 62px;
    width: auto;
    display: block;
    transition: var(--transition);
}

.logo-text {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 2.1rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    transition: var(--transition);
    display: inline-flex;
}

.logo-orange {
    color: #ff5a1f; /* Vibrant logo orange */
}

.logo-green {
    color: #00b853; /* Vibrant logo green */
}

.logo-tagline {
    font-family: 'Inter', sans-serif;
    font-size: 0.62rem;
    font-weight: 700;
    color: #4a5568;
    letter-spacing: 0.08em;
    margin-top: 4px;
    padding-left: 2px;
    text-transform: uppercase;
    transition: var(--transition);
}

.header.scrolled .header-logo {
    height: 48px;
}

.header.scrolled .logo-text {
    font-size: 1.7rem;
}

.header.scrolled .logo-tagline {
    font-size: 0.55rem;
    margin-top: 2px;
}

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

.nav-links li {
    margin: 0;
}

.nav-links a {
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

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

.nav-cta {
    padding: 10px 24px !important;
    min-height: auto !important;
    font-size: 0.9rem !important;
    border-radius: 30px;
    font-weight: 700 !important;
    background-color: #06C755 !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(6, 199, 85, 0.4) !important;
    -webkit-text-stroke: 0 !important;
    -webkit-text-fill-color: #ffffff !important;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    height: 3px;
    background-color: var(--text-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .logo {
        line-height: 1;
    }
    .logo-main {
        gap: 8px;
    }
    .header-logo {
        height: 48px;
    }
    .logo-text {
        font-size: 1.6rem;
    }
    .logo-tagline {
        display: none;
    }
    .header.scrolled .header-logo {
        height: 38px;
    }
    .header.scrolled .logo-text {
        font-size: 1.3rem;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        padding: 30px 20px;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        gap: 20px;
        transform: translateY(-150%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.4s ease, opacity 0.4s ease, visibility 0.4s ease;
        z-index: 999;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .menu-toggle {
        display: flex;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

/* -------------------------------------
 * YouTube アイコン ツールチップ (.video-tooltip)
 * PCホバー時に黒背景・白文字の吹き出しを表示。
 * スマホはfont-sizeラベル("動画を見る")で代替。
 * ------------------------------------- */

.video-tooltip {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.video-tooltip::after {
    content: attr(data-tip);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    background: rgba(30, 30, 30, 0.92);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    white-space: nowrap;
    padding: 5px 10px;
    border-radius: 6px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
    letter-spacing: 0.03em;
}

.video-tooltip::before {
    content: '';
    position: absolute;
    bottom: calc(100% + 2px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    border: 5px solid transparent;
    border-top-color: rgba(30, 30, 30, 0.92);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.video-tooltip:hover::after,
.video-tooltip:hover::before {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* コーチSNSリンク共通スタイル */
.coach-sns-links {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
}

.coach-sns-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: #555;
    transition: color 0.2s ease;
    max-width: 140px;
    text-align: center;
}

.coach-sns-item:hover {
    color: #333;
}

.sns-label {
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.4;
    display: block;
}

@media (max-width: 768px) {
    .coach-sns-links {
        gap: 16px;
    }
    .sns-label {
        font-size: 0.7rem;
    }
}

.video-tooltip .sns-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: inherit;
}

/* ----------------------------------------
 * 満員御礼 (Sold Out) Badge
 * Eye-catching animated badge for coaches
 * who have reached full capacity.
 * ---------------------------------------- */

.coach-soldout-badge {
    background: linear-gradient(135deg, #FF9800 0%, #F57C00 50%, #E65100 100%);
    color: #fff;
    font-weight: 900;
    font-size: 1.15rem;
    text-align: center;
    padding: 10px 16px;
    border-radius: 8px;
    margin-bottom: 10px;
    letter-spacing: 0.15em;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 4px 15px rgba(245, 124, 0, 0.45),
        0 0 20px rgba(245, 124, 0, 0.2);
    animation: soldout-glow 2s ease-in-out infinite;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

/* Shimmering light sweep across badge */
.coach-soldout-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.25),
        transparent
    );
    animation: soldout-shimmer 3s ease-in-out infinite;
}

.soldout-icon {
    font-size: 1.3rem;
    margin-right: 4px;
    animation: soldout-bounce 2s ease-in-out infinite;
    display: inline-block;
}

.soldout-sub {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 4px;
    opacity: 0.92;
    letter-spacing: 0.05em;
}

@keyframes soldout-glow {
    0%, 100% {
        box-shadow:
            0 4px 15px rgba(245, 124, 0, 0.45),
            0 0 20px rgba(245, 124, 0, 0.2);
    }
    50% {
        box-shadow:
            0 4px 25px rgba(245, 124, 0, 0.65),
            0 0 35px rgba(245, 124, 0, 0.35);
    }
}

@keyframes soldout-shimmer {
    0%   { left: -100%; }
    50%  { left: 150%; }
    100% { left: 150%; }
}

@keyframes soldout-bounce {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.15); }
}

@media (max-width: 480px) {
    .coach-soldout-badge {
        font-size: 1rem;
        padding: 8px 12px;
    }
}

/* キャンセル待ちモーダルのスタイル */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #fff;
    width: 90%;
    max-width: 500px;
    border-radius: 12px;
    padding: 30px;
    position: relative;
    transform: translateY(-20px);
    transition: all 0.3s ease;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #888;
    transition: color 0.2s;
}

.modal-close:hover {
    color: #333;
}

.btn-waitlist:hover {
    background: #F57C00 !important;
    color: #fff !important;
}

/* Coach Filter Styles */
.coach-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}
.filter-btn {
    padding: 8px 20px;
    border-radius: 20px;
    border: 2px solid var(--accent-color);
    background: #fff;
    color: var(--accent-color);
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}
.filter-btn.active, .filter-btn:hover {
    background: var(--accent-color);
    color: #fff;
}

/* 無料カウンセリング予約モーダルのスタイル */
.counseling-modal-content {
    max-width: 600px;
    padding: 25px 30px;
}

.counseling-header {
    margin-bottom: 20px;
    border-bottom: 1px solid #f1f3f5;
    padding-bottom: 15px;
}

.step-indicator {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-top: 15px;
}

.step-badge {
    flex: 1;
    text-align: center;
    background: #f1f3f5;
    color: #868e96;
    padding: 6px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    transition: all 0.3s ease;
}

.step-badge.active {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 10px rgba(0, 56, 117, 0.2);
}

.counseling-step {
    display: none;
}

.counseling-step.active {
    display: block;
    animation: fadeInStep 0.3s ease-in-out;
}

@keyframes fadeInStep {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.step-instructions {
    font-size: 0.95rem;
    color: #495057;
    margin-bottom: 15px;
    text-align: center;
}

.counselor-select-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    max-height: 300px;
    overflow-y: auto;
    padding: 5px;
    margin-bottom: 20px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    background: #f8f9fa;
}

/* Custom Scrollbar for Coach Select Grid */
.counselor-select-grid::-webkit-scrollbar {
    width: 6px;
}
.counselor-select-grid::-webkit-scrollbar-track {
    background: transparent;
}
.counselor-select-grid::-webkit-scrollbar-thumb {
    background: #ced4da;
    border-radius: 3px;
}
.counselor-select-grid::-webkit-scrollbar-thumb:hover {
    background: #adb5bd;
}

.counselor-option-card {
    position: relative;
    cursor: pointer;
    display: block;
}

.counselor-option-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.counselor-card-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    padding: 10px;
    transition: all 0.2s ease;
}

.counselor-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid #e9ecef;
}

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

.counselor-details {
    display: flex;
    flex-direction: column;
}

.counselor-name {
    font-weight: bold;
    font-size: 0.9rem;
    color: #212529;
}

.counselor-price {
    font-size: 0.75rem;
    color: #6c757d;
}

/* Selected State */
.counselor-option-card input[type="radio"]:checked + .counselor-card-inner {
    border-color: var(--primary-color);
    background: #f0f7ff;
    box-shadow: 0 4px 10px rgba(0, 56, 117, 0.1);
}

.counselor-option-card input[type="radio"]:checked + .counselor-card-inner .counselor-name {
    color: var(--primary-color);
}

.step-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    border-top: 1px solid #f1f3f5;
    padding-top: 15px;
    margin-top: 20px;
}

@media (max-width: 576px) {
    .counselor-select-grid {
        grid-template-columns: 1fr;
    }
    .counseling-modal-content {
        padding: 20px 20px;
    }
    .step-badge {
        font-size: 0.75rem;
        padding: 5px 8px;
    }
}

/* ==============================================
   大幅リニューアル用：新機能・実績・推薦セクションのスタイル
   ============================================== */

/* 3カラム用コア機能グリッド */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
}

@media (min-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    background: white;
    border-radius: 16px;
    padding: 35px 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,102,255,0.08);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,102,255,0.1);
}

.feature-card-header {
    margin-bottom: 15px;
}

.feature-badge {
    display: inline-block;
    background: rgba(0, 102, 255, 0.1);
    color: var(--primary-color);
    font-size: 0.75rem;
    font-weight: bold;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.feature-badge.new {
    background: #E65100;
    color: white;
}

.feature-card-title {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--primary-color);
    margin: 0;
    line-height: 1.4;
}

.feature-card-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
}

.feature-card-details {
    list-style-type: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.feature-card-details li {
    position: relative;
    padding-left: 20px;
    font-size: 0.88rem;
    line-height: 1.6;
    color: #444;
    margin-bottom: 8px;
    font-weight: bold;
}

.feature-card-details li::before {
    content: "✓";
    color: var(--accent-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.feature-card-visual {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #f1f3f5;
}

/* Build実績（数字）セクション */
.build-stats-section {
    background: linear-gradient(135deg, #00183b 0%, #002e6e 100%);
    color: white;
    padding: 50px 30px;
    border-radius: 20px;
    margin: 50px 0;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.build-stats-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 30px auto 0 auto;
}

.build-stat-box {
    flex: 1 1 250px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 25px;
    backdrop-filter: blur(10px);
    text-align: center;
}

.build-stat-number {
    font-size: 3.8rem;
    font-weight: 800;
    color: #FFB300;
    margin-bottom: 5px;
    line-height: 1;
}

.build-stat-label {
    font-size: 1.05rem;
    font-weight: bold;
    color: #e2e8f0;
    line-height: 1.4;
}

/* 専門家の声 */
.expert-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
}

@media (min-width: 768px) {
    .expert-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

.expert-card {
    background: white;
    border-radius: 16px;
    padding: 35px 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-top: 5px solid var(--primary-color);
    display: flex;
    flex-direction: column;
}

.expert-quote {
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
    font-weight: bold;
    margin-bottom: 25px;
    position: relative;
    padding-left: 20px;
}

.expert-quote::before {
    content: "“";
    font-size: 3rem;
    font-family: serif;
    color: var(--primary-color);
    opacity: 0.2;
    position: absolute;
    left: 0;
    top: -15px;
}

.expert-info {
    margin-top: auto;
    border-top: 1px solid #f1f3f5;
    padding-top: 20px;
}

.expert-name {
    font-weight: bold;
    font-size: 1.15rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.expert-title {
    font-size: 0.85rem;
    color: #6c757d;
    line-height: 1.4;
    font-weight: 600;
}

/* ==============================================
   リニューアル機能紹介 & 利用シミュレーション
   ============================================== */

/* バッジスタイル */
.badge-custom {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 12px;
}
.badge-orange-light {
    background: rgba(255, 107, 0, 0.1);
    color: var(--accent-color);
}
.badge-orange-solid {
    background: var(--accent-color);
    color: white;
}
.badge-gray-light {
    background: #e9ecef;
    color: #495057;
}

/* メイン機能の10回チケットカード */
.main-feature-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(255, 107, 0, 0.15);
    border-top: 5px solid var(--accent-color);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.main-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(255, 107, 0, 0.12);
}

.ticket-consumption-box {
    margin-top: auto;
    padding: 12px;
    background: #fff8f3;
    border-radius: 8px;
    border: 1px dashed rgba(255, 107, 0, 0.3);
    text-align: center;
    font-weight: 700;
    color: var(--accent-color);
    font-size: 0.95rem;
}

/* 練習ノートカード */
.note-feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 30px;
}
@media (min-width: 768px) {
    .note-feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
.note-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.note-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}
.note-card-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: #222;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.note-card-highlight {
    color: var(--accent-color);
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 12px;
}

/* 利用シミュレーションセクション */
.simulation-section {
    padding: 80px 0;
    background: #fdfdfd;
    border-top: 1px solid #f1f3f5;
}
.sim-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 30px;
}
@media (min-width: 992px) {
    .sim-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
.sim-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04);
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    transition: transform 0.3s ease;
}
.sim-card:hover {
    transform: translateY(-3px);
}
.sim-left {
    display: flex;
    flex-direction: column;
}
.sim-right {
    border-top: 1px solid #f1f3f5;
    padding-top: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.sim-left, .sim-right {
    width: 100%;
}

/* シミュレーション左側スタイル */
.sim-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: bold;
    color: #a86200;
    background: #fff4e6;
    padding: 4px 12px;
    border-radius: 4px;
    margin-bottom: 12px;
}
.sim-user-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}
.sim-user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffe3d1 0%, #ffd0b3 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}
.sim-user-name {
    font-size: 1.3rem;
    font-weight: bold;
    color: #111;
}
.sim-quote {
    font-size: 1rem;
    color: #444;
    font-weight: 700;
    line-height: 1.5;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
    margin-bottom: 20px;
}
.sim-build-note {
    background: #fafafa;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #eee;
}
.sim-build-note h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.sim-build-note p {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* シミュレーション右側消費計画スタイル */
.consumption-plan {
    height: 100%;
    display: flex;
    flex-direction: column;
}
.consumption-header {
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent-color);
    border-bottom: 2px solid rgba(255, 107, 0, 0.15);
    padding-bottom: 10px;
    margin-bottom: 15px;
}
.consumption-rows {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
    flex-grow: 1;
}
.consumption-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: #444;
    font-weight: 600;
    border-bottom: 1px solid #f8f8f8;
    padding-bottom: 8px;
}
.consumption-row-tickets {
    color: var(--accent-color);
    font-weight: 700;
    white-space: nowrap;
}
.consumption-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 2px dashed #ffe5d4;
    padding-top: 15px;
    font-weight: 800;
    color: #111;
}
.consumption-footer-label {
    font-size: 0.95rem;
}
.consumption-footer-value {
    font-size: 1.25rem;
    color: var(--accent-color);
}

/* チケットの視覚的表示用 */
.ticket-visual-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
    justify-content: center;
}
.ticket-visual-item {
    font-size: 1.25rem;
    display: inline-block;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
    transition: transform 0.2s ease;
}
.ticket-visual-item:hover {
    transform: scale(1.2) rotate(5deg);
}

/* 練習ノート：目標からプロ回答までのフロー図 */
.note-flow-diagram {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    padding: 24px;
    border-radius: 16px;
    border: 1px solid rgba(255, 107, 0, 0.15);
    margin: 30px auto 10px auto;
    max-width: 900px;
    box-shadow: 0 8px 25px rgba(255, 107, 0, 0.04);
}
@media (min-width: 768px) {
    .note-flow-diagram {
        flex-direction: row;
        justify-content: space-between;
    }
}
.note-flow-step {
    flex: 1;
    text-align: center;
    padding: 16px;
    border-radius: 12px;
    background: #fdfdfd;
    border: 1px solid #f0f0f0;
    position: relative;
    font-weight: 700;
    font-size: 0.9rem;
    color: #333;
}
.note-flow-step.step-highlight {
    border-color: rgba(255, 107, 0, 0.25);
    background: #fffdfb;
}
.note-flow-arrow {
    font-size: 1.4rem;
    color: var(--accent-color);
    transform: rotate(90deg);
    font-weight: bold;
}
@media (min-width: 768px) {
    .note-flow-arrow {
        transform: rotate(0deg);
    }
}

/* チケット使用状況の視覚的プログレスバー */
.visual-progress-bar {
    width: 100%;
    height: 12px;
    background: #e9ecef;
    border-radius: 10px;
    margin-top: 15px;
    overflow: hidden;
    display: flex;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}
.progress-part-1 {
    height: 100%;
    background: var(--accent-color);
}
.progress-part-2 {
    height: 100%;
    background: #ffa057;
}
.progress-part-3 {
    height: 100%;
    background: #ffc294;
}
.progress-part-blue-1 {
    height: 100%;
    background: var(--primary-color);
}
.progress-part-blue-2 {
    height: 100%;
    background: #4d94ff;
}
.progress-part-blue-3 {
    height: 100%;
    background: #99c2ff;
}

/* スプリットレイアウト（カードと画像の上下配置） */
.feature-split-layout {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 60px;
}
.feature-split-top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
@media (min-width: 992px) {
    .feature-split-top {
        grid-template-columns: repeat(2, 1fr);
    }
}
.feature-split-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fafafa;
    border-radius: 24px;
    border: 1px solid rgba(0, 0, 0, 0.03);
    padding: 30px;
    width: 100%;
}

/* スリークな機能リスト項目 */
.sleek-feature-item {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s ease, border-color 0.3s ease;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    height: 100%;
}
.sleek-feature-item:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 107, 0, 0.3);
}
.sleek-feature-item:last-child {
    margin-bottom: 0;
}

/* プレミアムな画像浮き枠 */
.premium-image-wrap {
    background: #ffffff;
    padding: 12px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.04);
    display: inline-block;
    max-width: 100%;
}
.premium-image-wrap img {
    border-radius: 12px;
    display: block;
    max-width: 100%;
    height: auto;
}

/* チケットシステム前提条件エリア */
.ticket-system-premise {
    background: linear-gradient(135deg, #ffffff 0%, #fffbf8 100%);
    border: 1px solid #ffe8d6;
    border-radius: 20px;
    padding: 24px 30px;
    box-shadow: 0 10px 30px rgba(255, 107, 0, 0.04);
    position: relative;
    overflow: hidden;
    margin-bottom: 45px;
}
.ticket-system-premise::after {
    content: "";
    position: absolute;
    right: -50px;
    top: -50px;
    width: 150px;
    height: 150px;
    background: rgba(255, 107, 0, 0.03);
    border-radius: 50%;
    pointer-events: none;
}
.ticket-system-header {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}
.ticket-system-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--accent-color);
    color: #fff;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: bold;
    width: fit-content;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.ticket-system-title {
    font-size: 1.3rem;
    color: #111;
    font-weight: 800;
    margin: 0;
    line-height: 1.3;
}
.ticket-system-desc {
    font-size: 0.92rem;
    color: #555;
    line-height: 1.6;
    margin: 0;
}
.ticket-system-footer {
    display: flex;
    flex-direction: column;
    gap: 15px;
    border-top: 1px solid #ffd8bd;
    padding-top: 20px;
    margin-top: 5px;
}
@media (min-width: 768px) {
    .ticket-system-footer {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}
.ticket-info-badge {
    display: flex;
    align-items: center;
    gap: 12px;
}
.ticket-use-cases {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}
.ticket-use-item {
    background: rgba(0, 102, 255, 0.04);
    border: 1px solid rgba(0, 102, 255, 0.08);
    border-radius: 10px;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: bold;
}
.ticket-use-item.item-green {
    background: rgba(21, 128, 61, 0.04);
    border: 1px solid rgba(21, 128, 61, 0.08);
}
.ticket-use-badge {
    color: #fff;
    font-size: 0.72rem;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: bold;
}






/* =========================================================
 * マイコチ リニューアル追加スタイル
 * （お知らせ帯 / アプリ紹介 / プロモーションアニメ）
 * ========================================================= */

/* ---------- お知らせ帯 ---------- */
:root {
    --announcement-height: 0px;
}

#announcement-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1100;
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(90deg, #fff9db 0%, #fff3bf 100%);
    border-bottom: 2px solid #ffd43b;
    padding: 10px 44px 10px 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.announcement-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}

.announcement-label {
    flex-shrink: 0;
    background: #1a2b49;
    color: #ffd43b;
    font-size: 0.78rem;
    font-weight: bold;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.announcement-text {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1a2b49;
    line-height: 1.5;
}

.announcement-text strong {
    color: #c2410c;
}

#announcement-close {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: rgba(26, 43, 73, 0.08);
    color: #1a2b49;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
    transition: var(--transition);
}

#announcement-close:hover {
    background: rgba(26, 43, 73, 0.2);
}

body.announcement-closed #announcement-bar {
    display: none;
}

/* ヘッダーをお知らせ帯の分だけ下げる */
.header {
    top: var(--announcement-height);
}

/* ヒーローの中身もお知らせ帯の分だけ下げる */
.hero {
    padding-top: calc(60px + var(--announcement-height));
}

@media (max-width: 768px) {
    #announcement-bar {
        padding: 8px 40px 8px 12px;
    }
    .announcement-text {
        font-size: 0.8rem;
    }
}

/* ---------- アプリ紹介セクション ---------- */
.app-intro {
    background: linear-gradient(180deg, #eef4ff 0%, #ffffff 100%);
}

.app-intro-header {
    text-align: center;
}

.app-new-badge {
    display: inline-block;
    background: linear-gradient(90deg, var(--primary-color), #00a3ff);
    color: #fff;
    font-size: 0.85rem;
    font-weight: bold;
    padding: 6px 18px;
    border-radius: 30px;
    letter-spacing: 0.1em;
    margin-bottom: 15px;
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
}

.app-intro-lead {
    font-size: 1.05rem;
    color: #444;
    line-height: 1.9;
    margin-bottom: 40px;
}

.app-intro-lead strong {
    color: var(--primary-color);
}

.app-screens {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 10px 4px 20px 4px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.app-screen-card {
    flex: 0 0 230px;
    scroll-snap-align: center;
    background: #fff;
    border-radius: 16px;
    padding: 15px 15px 20px 15px;
    box-shadow: 0 6px 20px rgba(0, 40, 100, 0.08);
    border: 1px solid rgba(0, 102, 255, 0.08);
    text-align: center;
}

.app-screen-frame {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    margin-bottom: 12px;
    background: #f8fafc;
    aspect-ratio: 516 / 1018;
}

.app-screen-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.app-screen-card h3 {
    font-size: 0.98rem;
    color: #1a2b49;
    margin-bottom: 6px;
}

.app-screen-card p {
    font-size: 0.8rem;
    color: #666;
    line-height: 1.6;
    text-align: left;
}

.app-screens-hint {
    text-align: center;
    font-size: 0.78rem;
    color: #99a;
    margin: 0 0 30px 0;
}

.app-highlight-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 10px;
}

/* チケットを使わない機能（雑談・報告 / エール）の2枚組 */
.app-highlight-grid--pair {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 0;
}

.app-extra-lead {
    text-align: center;
    font-size: 0.95rem;
    font-weight: bold;
    color: #1a2b49;
    margin: 40px 0 24px 0;
}

.app-highlight-card {
    position: relative;
    background: #fff;
    border-radius: 14px;
    padding: 28px 22px 22px 22px;
    box-shadow: 0 4px 15px rgba(0, 40, 100, 0.07);
    border-top: 4px solid var(--accent-color);
}

.app-highlight-badge {
    position: absolute;
    top: -12px;
    left: 18px;
    background: var(--accent-color);
    color: #fff;
    font-size: 0.72rem;
    font-weight: bold;
    padding: 3px 12px;
    border-radius: 20px;
    letter-spacing: 0.08em;
}

.app-highlight-card h3 {
    font-size: 1.05rem;
    color: #1a2b49;
    margin-bottom: 8px;
}

.app-highlight-card p {
    font-size: 0.87rem;
    color: #555;
    line-height: 1.7;
}

.app-highlight-note {
    display: inline-block;
    margin-top: 8px;
    font-size: 0.78rem;
    color: #e06c00;
    font-weight: 500;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .app-highlight-grid,
    .app-highlight-grid--pair {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .pc-only {
        display: none;
    }
}

/* ---------- NEWピル / レッスン料金チップ ---------- */
.new-pill {
    display: inline-block;
    background: #c2410c;
    color: #fff;
    font-size: 0.62rem;
    font-weight: bold;
    padding: 2px 7px;
    border-radius: 10px;
    vertical-align: middle;
    letter-spacing: 0.06em;
}

.ticket-use-item.item-orange {
    background: rgba(194, 65, 12, 0.04);
    border: 1px solid rgba(194, 65, 12, 0.1);
}

.lesson-price-table {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.lesson-price-table span {
    background: #fff7ed;
    border: 1px solid rgba(194, 65, 12, 0.2);
    color: #7c2d12;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 8px;
}

.lesson-price-table strong {
    color: #c2410c;
}

/* ---------- プロモーションアニメ（30秒でわかるマイコチ） ---------- */
.promo-movie {
    background: linear-gradient(135deg, #06122e 0%, #0a2a5e 60%, #003c8f 100%);
    color: #fff;
    overflow: hidden;
}

.promo-stage {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.promo-phone {
    position: relative;
    width: 270px;
    height: 540px;
    background: #0b0f19;
    border-radius: 36px;
    border: 6px solid #232a3b;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.06);
    flex-shrink: 0;
}

.promo-notch {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 18px;
    background: #232a3b;
    border-radius: 12px;
    z-index: 3;
}

.promo-screen {
    position: absolute;
    inset: 4px;
    border-radius: 28px;
    overflow: hidden;
    background: #101623;
}

.promo-scene {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 30px 18px 70px 18px;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 0.6s ease, transform 0.6s ease;
    pointer-events: none;
}

.promo-scene.active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.scene-label {
    position: absolute;
    bottom: 22px;
    left: 14px;
    right: 14px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: bold;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 8px 6px;
    backdrop-filter: blur(4px);
}

/* シーン1: 撮影（実写プレーヤー） */
.scene-cam {
    position: relative;
    width: 100%;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
}

.scene-cam img {
    display: block;
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.promo-scene.active .scene-cam img {
    animation: camZoom 6s ease-in-out infinite alternate;
}

@keyframes camZoom {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}

.scene-cam-frame {
    position: absolute;
    inset: 10px;
    border: 1.5px solid rgba(255, 255, 255, 0.55);
    border-radius: 8px;
    pointer-events: none;
}

.scene-rec-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.78rem;
    font-weight: bold;
    letter-spacing: 0.12em;
    color: #ff5252;
    background: rgba(0, 0, 0, 0.55);
    padding: 4px 10px;
    border-radius: 8px;
}

.rec-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ff5252;
}

.promo-scene.active .rec-dot {
    animation: recBlink 1s steps(1) infinite;
}

@keyframes recBlink {
    50% { opacity: 0.15; }
}

/* シーン2: 送信 */
.scene-chat-header {
    align-self: stretch;
    text-align: center;
    background: #1a2b49;
    color: #fff;
    font-size: 0.9rem;
    font-weight: bold;
    padding: 10px;
    border-radius: 12px;
}

.scene-bubble {
    max-width: 92%;
    background: #06C755;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.5;
    padding: 12px 14px;
    border-radius: 16px 16px 4px 16px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.promo-scene.active .scene-bubble-user {
    animation: bubbleIn 0.7s cubic-bezier(0.2, 0.9, 0.3, 1.2) both;
    animation-delay: 0.35s;
}

@keyframes bubbleIn {
    from { opacity: 0; transform: translateY(26px) scale(0.85); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.scene-video-thumb {
    position: relative;
    width: 100%;
    height: 110px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 8px;
}

.scene-video-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.scene-thumb-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    border: 1.5px solid rgba(255, 255, 255, 0.8);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    padding-left: 3px;
}

.scene-plane {
    font-size: 2rem;
}

.promo-scene.active .scene-plane {
    animation: planeFly 1.8s ease-in-out infinite;
    animation-delay: 0.9s;
}

@keyframes planeFly {
    0% { opacity: 0; transform: translate(-30px, 20px) scale(0.8); }
    40% { opacity: 1; }
    100% { opacity: 0; transform: translate(50px, -46px) scale(1.05); }
}

/* シーン3: 分析 */
.scene-analyze-frame {
    position: relative;
    width: 100%;
    height: 220px;
    background: #14213d;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    overflow: hidden;
}

.scene-analyze-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.8) brightness(0.85) contrast(1.05);
}

.scene-marker {
    position: absolute;
    top: 6px;
    right: 36px;
    width: 58px;
    height: 58px;
    border: 3px dashed var(--accent-color);
    border-radius: 50%;
    background: rgba(255, 107, 0, 0.1);
    box-shadow: 0 0 18px rgba(255, 107, 0, 0.45);
}

.promo-scene.active .scene-marker {
    animation: markerPulse 1.4s ease-in-out infinite;
}

@keyframes markerPulse {
    0%, 100% { transform: scale(1); opacity: 0.65; }
    50% { transform: scale(1.18); opacity: 1; }
}

.scene-arrow {
    position: absolute;
    top: 22px;
    right: 104px;
    font-size: 1.7rem;
    color: var(--accent-color);
    font-weight: bold;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.promo-scene.active .scene-arrow {
    animation: arrowSlide 1.4s ease-in-out infinite;
}

@keyframes arrowSlide {
    0%, 100% { transform: translateX(0); opacity: 0.5; }
    50% { transform: translateX(16px); opacity: 1; }
}

.scene-bubble-coach {
    background: #fff;
    color: #1a2b49;
    border-radius: 16px 16px 16px 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.promo-scene.active .scene-bubble-coach {
    animation: bubbleIn 0.7s cubic-bezier(0.2, 0.9, 0.3, 1.2) both;
    animation-delay: 0.5s;
}

.scene-coach-icon {
    font-size: 1.4rem;
}

/* シーン4: レッスン＆上達 */
.scene-call-frame {
    position: relative;
    width: 100%;
    height: 170px;
    background: linear-gradient(180deg, #14213d 0%, #1d3461 100%);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.scene-call-coach {
    font-size: 4rem;
}

.scene-call-you {
    position: absolute;
    right: 12px;
    bottom: 12px;
    width: 62px;
    height: 46px;
    background: #0b0f19;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-radius: 10px;
    overflow: hidden;
}

.scene-call-you img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.scene-call-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(255, 82, 82, 0.9);
    font-size: 0.68rem;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 8px;
}

.scene-graph {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    height: 90px;
}

.scene-bar {
    width: 30px;
    height: var(--h);
    background: linear-gradient(180deg, var(--accent-color), #ff9a56);
    border-radius: 6px 6px 2px 2px;
    transform-origin: bottom;
}

.promo-scene.active .scene-bar {
    animation: barGrow 0.9s cubic-bezier(0.2, 0.9, 0.3, 1.15) both;
}

.promo-scene.active .scene-bar:nth-child(2) { animation-delay: 0.25s; }
.promo-scene.active .scene-bar:nth-child(3) { animation-delay: 0.5s; }

@keyframes barGrow {
    from { transform: scaleY(0); }
    to { transform: scaleY(1); }
}

.scene-trophy {
    font-size: 2.2rem;
    align-self: flex-start;
}

.promo-scene.active .scene-trophy {
    animation: trophyPop 0.7s cubic-bezier(0.2, 0.9, 0.3, 1.4) both;
    animation-delay: 0.95s;
}

@keyframes trophyPop {
    from { opacity: 0; transform: scale(0.2) rotate(-25deg); }
    to { opacity: 1; transform: scale(1) rotate(0); }
}

/* プロモ 右側ステップ */
.promo-side {
    max-width: 380px;
}

.promo-steps {
    list-style: none;
    margin: 0 0 25px 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.promo-steps li {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 13px 18px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    opacity: 0.65;
}

.promo-steps li span {
    font-size: 1.3rem;
}

.promo-steps li.active {
    background: rgba(255, 107, 0, 0.16);
    border-color: var(--accent-color);
    opacity: 1;
    transform: translateX(6px);
}

.promo-dots {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.promo-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    padding: 0;
    transition: var(--transition);
}

.promo-dot.active {
    background: var(--accent-color);
    transform: scale(1.3);
}

@media (max-width: 900px) {
    .promo-stage {
        gap: 30px;
    }
    .promo-side {
        max-width: 100%;
        width: 100%;
        padding: 0 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .promo-scene,
    .promo-scene * {
        animation: none !important;
        transition: none !important;
    }
}

/* =========================================================
 * TOPリデザイン v2（ヘッダー常時白 / ヒーロー2カラム）
 * ========================================================= */

/* ---------- ヘッダー：常時白背景（ロゴ・ナビの可読性確保） ---------- */
.header {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(10, 30, 70, 0.06), 0 4px 20px rgba(10, 30, 70, 0.06);
    padding: 10px 0;
}

.header .header-logo {
    height: 40px;
}

.header .logo-text {
    font-size: 1.6rem;
}

.header .logo-tagline {
    font-size: 0.55rem;
    margin-top: 2px;
    color: #7a8699;
}

/* ---------- ヒーロー v2 ---------- */
.hero-v2 {
    display: flex;
    align-items: center;
    min-height: 100vh;
    padding-top: calc(120px + var(--announcement-height));
    padding-bottom: 90px;
}

.hero-v2 .hero-overlay {
    background: linear-gradient(100deg,
        rgba(5, 14, 33, 0.94) 0%,
        rgba(5, 14, 33, 0.86) 38%,
        rgba(5, 14, 33, 0.55) 68%,
        rgba(5, 14, 33, 0.35) 100%);
}

/* 下端を次セクションの背景色へなめらかに繋ぐ */
.hero-v2::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 110px;
    background: linear-gradient(180deg, rgba(248, 249, 250, 0) 0%, #f8f9fa 100%);
    pointer-events: none;
    z-index: 1;
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
    gap: 40px;
    align-items: center;
    width: 100%;
}

/* --- 左：コピー --- */
.hero-copy {
    color: #fff;
    text-align: left;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: #cfe0ff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 7px 16px;
    border-radius: 30px;
    margin-bottom: 26px;
    backdrop-filter: blur(4px);
}

.hero-eyebrow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00e676;
    box-shadow: 0 0 10px rgba(0, 230, 118, 0.9);
}

.hero-title-v2 {
    font-size: clamp(2.1rem, 4.2vw, 3.4rem);
    font-weight: 900;
    line-height: 1.32;
    letter-spacing: 0.02em;
    margin-bottom: 18px;
    color: #ffffff;
}

.hero-marker {
    position: relative;
    color: #fff;
    padding: 0 4px;
}

.hero-marker::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 6px;
    height: 0.38em;
    background: linear-gradient(90deg, var(--accent-color), #ff9a56);
    border-radius: 3px;
    z-index: -1;
    opacity: 0.9;
}

.hero-catch {
    font-size: clamp(1.15rem, 2vw, 1.5rem);
    font-weight: 800;
    color: #ffb37e;
    letter-spacing: 0.04em;
    margin-bottom: 22px;
}

.hero-lead {
    font-size: 1rem;
    line-height: 2;
    color: rgba(255, 255, 255, 0.86);
    margin-bottom: 34px;
    max-width: 560px;
}

.hero-cta-row {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.hero-cta-main {
    background: linear-gradient(135deg, #06C755 0%, #00a344 100%);
    color: #fff;
    font-size: 1.05rem;
    font-weight: 800;
    padding: 17px 38px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    letter-spacing: 0.04em;
    box-shadow: 0 10px 30px rgba(6, 199, 85, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    transition: var(--transition);
}

.hero-cta-main:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(6, 199, 85, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.hero-cta-arrow {
    display: inline-block;
    margin-left: 6px;
    transition: transform 0.3s ease;
}

.hero-cta-main:hover .hero-cta-arrow {
    transform: translateX(4px);
}

.hero-cta-sub {
    color: #dbe7ff;
    font-size: 0.92rem;
    font-weight: 700;
    border-bottom: 1px solid rgba(219, 231, 255, 0.5);
    padding-bottom: 3px;
    transition: var(--transition);
}

.hero-cta-sub:hover {
    color: #fff;
    border-color: #fff;
}

.hero-microcopy {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.62);
    margin-bottom: 34px;
}

.hero-trust {
    list-style: none;
    display: flex;
    gap: 12px;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.hero-trust li {
    display: flex;
    flex-direction: column;
    gap: 2px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    padding: 12px 18px;
    backdrop-filter: blur(4px);
}

.hero-trust strong {
    font-size: 1.02rem;
    color: #fff;
    letter-spacing: 0.03em;
}

.hero-trust span {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.66);
    font-weight: 600;
}

/* --- 右：アプリモック --- */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-phone {
    width: min(290px, 72%);
    border-radius: 30px;
    border: 7px solid #1b2334;
    background: #1b2334;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.08);
    overflow: hidden;
    transform: rotate(3deg);
}

.hero-phone img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 22px;
}

.hero-float-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.96);
    color: #14213d;
    font-size: 0.8rem;
    font-weight: 800;
    padding: 11px 16px;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
    white-space: nowrap;
}

.hero-float-1 {
    top: 9%;
    left: -4%;
    animation: floatY 4.5s ease-in-out infinite;
}

.hero-float-2 {
    bottom: 12%;
    right: -3%;
    animation: floatY 4.5s ease-in-out 2.2s infinite;
}

@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* --- レスポンシブ --- */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .hero-v2 {
        padding-top: calc(110px + var(--announcement-height));
        padding-bottom: 70px;
    }
    .hero-lead br {
        display: none;
    }
    .hero-visual {
        order: 2;
    }
    .hero-phone {
        width: min(250px, 62%);
    }
}

@media (max-width: 480px) {
    .hero-cta-row {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }
    .hero-cta-main {
        width: 100%;
    }
    .hero-cta-sub {
        align-self: center;
    }
    .hero-trust {
        gap: 8px;
    }
    .hero-trust li {
        padding: 10px 12px;
        flex: 1;
        min-width: 96px;
    }
    .hero-trust strong {
        font-size: 0.88rem;
        white-space: nowrap;
    }
    .hero-trust span {
        font-size: 0.68rem;
    }
    .hero-float-1 { left: 0; }
    .hero-float-2 { right: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-float-card {
        animation: none !important;
    }
}
