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

/* モバイル最適化 */
html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

/* タッチ対応 */
a, button, [role="button"] {
    touch-action: manipulation;
}

/* 画像の最適化 */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* テキスト選択の改善 */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* カスタムプロパティ（CSS変数） */
:root {
    --navy-blue: #1a365d;
    --gold: #d4af37;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --dark-text: #2d3748;
    --shadow: 0 10px 30px rgba(26, 54, 93, 0.15);
    --shadow-heavy: 0 20px 60px rgba(26, 54, 93, 0.25);
}

/* 基本スタイル */
body {
    font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Yu Gothic', 'Meiryo', 'MS Gothic', sans-serif;
    line-height: 1.8;
    color: var(--dark-text);
    background: url('w_background.jpg') no-repeat center center fixed;
    background-size: cover;
    font-weight: 400;
}

/* ヘッダー */
header {
    background: var(--white);
    color: var(--dark-text);
    padding: 1rem 0;
    box-shadow: var(--shadow-heavy);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header nav div {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

header img {
    height: 60px;
    width: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

header h1 {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--dark-text);
}

.header-btn {
    background: var(--gold);
    color: var(--navy-blue);
    padding: 0.8rem 1.5rem;
    border: none;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
    letter-spacing: 0.05em;
    text-decoration: none;
    display: inline-block;
}

.header-btn:hover {
    background: #e6c347;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
    color: var(--navy-blue);
}

/* ヒーローセクション */
#hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('top_img.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 2rem;
    position: relative;
}

.hero-content {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    color: var(--white);
    padding-left: 3rem;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 2rem;
    letter-spacing: 0.02em;
    font-family: 'Noto Serif JP', 'Yu Mincho', 'YuMincho', 'Hiragino Mincho ProN', 'Hiragino Mincho Pro', 'MS Mincho', serif;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7), 4px 4px 12px rgba(0, 0, 0, 0.5);
}

.hero-content .highlight {
    color: var(--gold);
    font-weight: 900;
}

.hero-content p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 3rem;
    opacity: 0.9;
    font-weight: 300;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
}

.btn-primary {
    background: var(--gold);
    color: var(--dark-text);
    padding: 1rem 2.5rem;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.05em;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    background: #e6c347;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
    color: var(--dark-text);
}

/* メインコンテンツ */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* セクション共通スタイル */
section {
    margin: 4rem 0;
    padding: 3rem;
    background: linear-gradient(135deg, var(--navy-blue) 0%, #2c5282 100%);
    color: var(--white);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(26, 54, 93, 0.4), 0 8px 25px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.3);
    position: relative;
    overflow: hidden;
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold) 0%, #f7d794 100%);
}

section h2 {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 2rem;
    font-weight: 700;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold) 0%, #f7d794 100%);
    border-radius: 2px;
}

/* 導入セクション */
#introduction p {
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.intro-highlight {
    text-align: center;
    font-size: 1.4rem;
    margin-bottom: 2rem;
    color: var(--gold);
}

/* 成功者の言葉セクション */
.success-quotes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

.success-quote-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--gold);
    text-align: center;
}

.quote-author {
    color: var(--gold);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.quote-text {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.quote-description {
    font-size: 0.9rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
}

/* 比較グリッド */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin: 3rem 0;
}

.comparison-item {
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid;
}

.comparison-item.traditional {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ff6b6b;
}

.comparison-item.modern {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--gold);
}

.comparison-item.before-item {
    background: rgba(244, 67, 54, 0.1);
    border-color: #f44336;
    padding: 3rem;
}

.comparison-item.after-item {
    background: rgba(76, 175, 80, 0.1);
    border-color: #4caf50;
    padding: 3rem;
}

.comparison-item h3 {
    color: #ff6b6b;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.comparison-item.modern h3 {
    color: var(--gold);
}

.comparison-item.before-item h3 {
    color: #f44336;
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.comparison-item.after-item h3 {
    color: #4caf50;
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.comparison-conclusion {
    color: var(--gold);
    font-weight: bold;
    text-align: center;
    margin-top: 1rem;
}

.comparison-item.traditional .comparison-conclusion {
    color: #ff6b6b;
}

/* 選択セクション */
.choice-section {
    background: rgba(255, 255, 255, 0.1);
    padding: 3rem;
    border-radius: 12px;
    margin: 3rem 0;
    border: 2px solid var(--gold);
}

.choice-title {
    color: var(--gold);
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.choice-subtitle {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* 500万円の選択グリッド */
.choice-options-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

.choice-option {
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid;
    text-align: center;
}

.choice-option.choice-bad {
    background: rgba(244, 67, 54, 0.1);
    border-color: #f44336;
}

.choice-option.choice-good {
    background: rgba(255, 193, 7, 0.1);
    border-color: #ffc107;
}

.choice-option.choice-best {
    background: rgba(76, 175, 80, 0.1);
    border-color: #4caf50;
}

.choice-option h4 {
    margin-bottom: 1rem;
}

.choice-option.choice-bad h4 {
    color: #f44336;
}

.choice-option.choice-good h4 {
    color: #ffc107;
}

.choice-option.choice-best h4 {
    color: #4caf50;
}

.choice-option p {
    font-size: 0.9rem;
}

/* 旧スタイル（互換性のため残す） */
.choice-item {
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid;
    text-align: center;
}

.choice-item.choice-bad {
    background: rgba(244, 67, 54, 0.1);
    border-color: #f44336;
}

.choice-item.choice-good {
    background: rgba(255, 193, 7, 0.1);
    border-color: #ffc107;
}

.choice-item.choice-best {
    background: rgba(76, 175, 80, 0.1);
    border-color: #4caf50;
}

.choice-item h4 {
    margin-bottom: 1rem;
}

.choice-item.choice-bad h4 {
    color: #f44336;
}

.choice-item.choice-good h4 {
    color: #ffc107;
}

.choice-item.choice-best h4 {
    color: #4caf50;
}

.choice-conclusion {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
}

.choice-point {
    margin-bottom: 1rem;
}

.choice-point:last-child {
    margin-bottom: 0;
}

/* ガイダンス画像 */
.guidance-images {
    text-align: center;
    margin: 3rem 0;
}

.guidance-image {
    width: 90%;
    max-width: 1000px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    margin: 0 auto;
}

/* 課題セクション */
#issues {
    background: linear-gradient(135deg, var(--navy-blue) 0%, #2c5282 100%);
    color: var(--white);
}

#issues h2 {
    color: var(--white);
}

#issues h2::after {
    background: linear-gradient(90deg, var(--gold) 0%, #f7d794 100%);
}

.issues-subtitle {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.2rem;
}

.issues-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.issues-list li {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--gold);
    font-size: 1.1rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.issues-list li:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.issues-result {
    text-align: center;
    margin: 3rem 0;
}

.issues-result h3 {
    color: var(--gold);
    font-size: 1.5rem;
}

.issues-problems {
    list-style: none;
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid #ff6b6b;
}

.issues-problems li {
    color: #ff6b6b;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 107, 107, 0.3);
    position: relative;
    padding-left: 2rem;
}

.issues-problems li:last-child {
    border-bottom: none;
}

.issues-problems li::before {
    content: '✗';
    position: absolute;
    left: 0;
    color: #ff6b6b;
    font-weight: bold;
    font-size: 1.2rem;
}

/* 特長セクション */
.features-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.feature-item {
    background: rgba(212, 175, 55, 0.1);
    padding: 2rem 1rem;
    border-radius: 12px;
    border: 2px solid var(--gold);
    text-align: center;
    color: var(--white);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: left 0.5s ease;
}

.feature-item:hover::before {
    left: 100%;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.feature-item h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.feature-item p {
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--white);
}

.feature-icon {
    font-size: 100px !important;
    margin-bottom: 1rem;
    display: block;
}

/* Individual icon colors */
.feature-item:nth-child(1) .feature-icon {
    color: #8B9DC3; /* Muted blue */
}

.feature-item:nth-child(2) .feature-icon {
    color: #A8D5BA; /* Muted green */
}

.feature-item:nth-child(3) .feature-icon {
    color: #F4C2A1; /* Muted orange */
}

.feature-item:nth-child(4) .feature-icon {
    color: #D4A5C7; /* Muted purple */
}

.feature-item:nth-child(5) .feature-icon {
    color: #C7B299; /* Muted brown */
}

/* 会員種別セクション */
.membership-types {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

.membership-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid var(--gold);
    text-align: center;
}

.membership-item.membership-featured {
    background: rgba(255, 255, 255, 0.15);
    border: 3px solid var(--gold);
    transform: scale(1.05);
}

.membership-item h3 {
    color: var(--gold);
    margin-bottom: 1rem;
}

.membership-category {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.membership-price {
    font-size: 2rem;
    font-weight: bold;
    color: var(--white);
}

.membership-period {
    font-size: 0.9rem;
}

.membership-note {
    font-size: 0.8rem;
    margin-top: 1rem;
    color: var(--gold);
}

/* 特典セクション */
.benefits-section {
    background: rgba(212, 175, 55, 0.1);
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
}

.benefits-title {
    color: var(--gold);
    text-align: center;
    margin-bottom: 2rem;
}

.benefits-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.benefit-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--gold);
}

.benefit-description {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* プラットフォーム説明 */
.platform-description {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

.effects-title,
.usage-title {
    color: var(--gold);
    text-align: center;
    font-size: 1.8rem;
    margin: 4rem 0 2rem;
}

/* 比較リスト */
.comparison-list {
    list-style: none;
    padding: 0;
}

.comparison-point {
    padding: 1rem 0;
    border-bottom: 1px solid;
    color: var(--white);
    position: relative;
    padding-left: 2rem;
}

.comparison-point:last-child {
    border-bottom: none;
}

.comparison-point.bad {
    border-color: rgba(244, 67, 54, 0.3);
}

.comparison-point.bad::before {
    content: '✗';
    position: absolute;
    left: 0;
    color: #f44336;
}

.comparison-point.good {
    border-color: rgba(76, 175, 80, 0.3);
}

.comparison-point.good::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4caf50;
}

/* お客様の声セクション */
#testimonials {
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
    color: var(--dark-text);
}

#testimonials h2 {
    color: var(--navy-blue);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--gold);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-item.testimonial-featured {
    grid-column: 1 / -1;
    max-width: 600px;
    margin: 0 auto;
}

.testimonial-item h3 {
    color: var(--navy-blue);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.testimonial-item p {
    color: var(--dark-text);
    font-style: italic;
    line-height: 1.6;
}

/* プロセスグリッド */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

.process-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 12px;
}

.process-number {
    background: var(--gold);
    color: var(--navy-blue);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.process-title {
    color: var(--gold);
    margin-bottom: 1rem;
}

/* 笹圭吾についてセクション */
#profile {
    overflow: hidden;
}

.profile-content {
    display: flex;
    gap: 0;
    align-items: stretch;
    margin-top: 0;
    margin-left: -3rem;
    margin-bottom: -3rem;
    height: 600px;
}

.profile-image {
    flex: 0 0 400px;
    position: relative;
}

.sasa-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    box-shadow: none;
    border: none;
}

.profile-text {
    flex: 1;
    padding: 2rem 0 2rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#profile ul {
    list-style: none;
    margin-top: 0;
}

#profile li {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    padding-left: 2rem;
    color: var(--white);
}

#profile li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: bold;
    font-size: 1.2rem;
}

.profile-conclusion {
    text-align: center;
    font-size: 1.3rem;
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 12px;
    color: var(--gold);
}

/* 行動喚起セクション */
#cta {
    background: linear-gradient(135deg, var(--gold) 0%, #f7d794 100%);
    color: var(--navy-blue);
    text-align: center;
}

#cta h2 {
    color: var(--navy-blue);
    font-size: 2.2rem;
}

#cta p {
    color: var(--navy-blue);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.cta-buttons .btn-primary {
    background: var(--navy-blue);
    color: var(--white);
}

/* フッター */
footer {
    background: var(--white);
    color: var(--dark-text);
    padding: 3rem 0 2rem;
    margin-top: 4rem;
}

footer > div {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    text-align: left;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-logo {
    height: 40px;
    width: auto;
}

footer h4 {
    color: var(--dark-text);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

footer p {
    color: var(--dark-text);
    line-height: 1.6;
}

/* レスポンシブデザイン */
/* タブレット対応 */
@media (max-width: 1024px) {
    main {
        padding: 0 1.5rem;
    }
    
    section {
        padding: 2.5rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .success-quotes {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .membership-types {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* モバイル対応 */
@media screen and (max-width: 768px) {
    body {
        font-size: 14px;
    }
    
    /* ヘッダー */
    header nav div {
        flex-direction: row;
        text-align: center;
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .header-left {
        flex-direction: row;
        gap: 1rem;
        align-items: center;
        justify-content: center;
    }
    
    header img {
        height: 40px;
    }
    
    header h1 {
        font-size: 1.1rem;
    }
    
    .header-btn {
        font-size: 0.85rem;
        padding: 0.7rem 1.2rem;
        white-space: nowrap;
    }
    
    /* ヒーロー */
    #hero {
        height: 90vh;
        padding: 0 1rem;
        align-items: center;
    }
    
    .hero-content {
        padding-left: 0;
        text-align: center;
        padding: 2rem 0;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
        line-height: 1.3;
        margin-bottom: 1.5rem;
    }
    
    .hero-content p {
        font-size: 1rem;
        margin-bottom: 2rem;
        line-height: 1.6;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .btn-primary {
        padding: 1rem 2rem;
        font-size: 0.95rem;
        width: 100%;
        max-width: 280px;
        text-align: center;
        min-height: 44px;
    }
    
    /* メイン */
    main {
        padding: 0 1rem;
    }
    
    section {
        padding: 1.5rem;
        margin: 1.5rem 0;
        border-radius: 12px;
    }
    
    section h2 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    #cta h2 {
        font-size: 1.4rem;
    }
    
    /* グリッド系を全て1列に */
    .success-quotes {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }
    
    /* 成功者の言葉 - モバイル版での順番制御 */
    .success-quotes div:nth-child(1) {
        order: 1; /* 松下幸之助氏 */
    }
    
    .success-quotes div:nth-child(2) {
        order: 2; /* 稲盛和夫氏 */
    }
    
    .success-quotes div:nth-child(3) {
        order: 3; /* 柳井正氏 */
    }
    
    .comparison-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }
    
    /* 税育税理士の新指導セクション - モバイル対応 */
    .guidance-comparison-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }
    
    .guidance-item {
        margin-bottom: 1rem;
    }
    
    .guidance-traditional {
        order: 1;
    }
    
    .guidance-modern {
        order: 2;
    }
    
    /* 500万円の選択セクション - モバイル対応 */
    .choice-options-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .choice-option.choice-bad {
        order: 1;
    }
    
    .choice-option.choice-good {
        order: 2;
    }
    
    .choice-option.choice-best {
        order: 3;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .membership-types {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .process-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* 課題セクション */
    .issues-list {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .issues-list li {
        padding: 1.2rem;
        font-size: 1rem;
    }
    
    /* 特長アイテム */
    .feature-item {
        padding: 1.5rem 1rem;
    }
    
    .feature-item h3 {
        font-size: 1rem;
        line-height: 1.4;
    }
    
    .feature-item p {
        font-size: 0.85rem;
    }
    
    .feature-icon {
        font-size: 60px !important;
    }
    
    /* 会員種別 */
    .membership-item.membership-featured {
        transform: none;
    }
    
    /* 比較アイテム */
    .comparison-item.before-item,
    .comparison-item.after-item {
        padding: 1.5rem;
    }
    
    /* 選択セクション */
    .choice-section {
        padding: 1.5rem;
    }
    
    .choice-title {
        font-size: 1.5rem;
    }
    
    /* プロフィール */
    .profile-content {
        flex-direction: column;
        height: auto;
        margin-left: 0;
        margin-bottom: 0;
    }
    
    .profile-image {
        flex: none;
        height: 250px;
    }
    
    .profile-text {
        padding: 1.5rem 0;
    }
    
    /* フッター */
    footer > div {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .footer-left {
        justify-content: center;
    }
    
    /* CTA */
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
}

/* 極小デバイス対応 */
@media (max-width: 480px) {
    header nav div {
        padding: 0 0.5rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .header-left {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    header h1 {
        font-size: 1rem;
    }
    
    #hero {
        height: 100vh;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .hero-content p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    main {
        padding: 0 0.5rem;
    }
    
    section {
        padding: 1rem;
        margin: 1rem 0;
    }
    
    section h2 {
        font-size: 1.5rem;
    }
    
    #cta h2 {
        font-size: 1.4rem;
    }
    
    .btn-primary {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .feature-icon {
        font-size: 50px !important;
    }
    
    .profile-image {
        height: 200px;
    }
}

/* 税育税理士の新指導セクション */
.guidance-comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin: 3rem 0;
}

.guidance-item {
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid;
}

.guidance-traditional {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ff6b6b;
}

.guidance-traditional h3 {
    color: #ff6b6b;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.guidance-traditional .guidance-conclusion {
    color: #ff6b6b;
    font-weight: bold;
    text-align: center;
    margin-top: 1rem;
}

.guidance-modern {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--gold);
}

.guidance-modern h3 {
    color: var(--gold);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.guidance-modern .guidance-conclusion {
    color: var(--gold);
    font-weight: bold;
    text-align: center;
    margin-top: 1rem;
}

/* 入会時期セクションのスタイル */
.joining-images {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20%;
}

.joining-image {
    transform: scale(0.7);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

/* モバイル対応 - 入会時期セクション */
@media (max-width: 768px) {
    .joining-images {
        flex-direction: column;
        gap: 2rem;
        padding: 0;
        align-items: center;
    }
    
    .joining-image {
        transform: scale(0.6);
        max-width: 80%;
        height: auto;
    }

    /* 会員特典セクション - モバイル対応 */
    #member-benefits ul {
        max-width: 95% !important;
        font-size: 16px !important;
        padding: 0 1rem !important;
    }

    #member-benefits ul li {
        padding: 0.5rem 0;
        word-break: break-word;
    }

    /* 説明動画セクション - モバイル対応 */
    #explanation-video div a {
        padding: 12px 20px !important;
        font-size: 16px !important;
        margin: 20px 10px !important;
        word-break: keep-all;
    }

    /* 会員種別タイトル - モバイル対応 */
    #membership h2 {
        font-size: 1.8rem !important;
        line-height: 1.4 !important;
        word-break: keep-all;
    }

    #membership h2 span {
        font-size: 0.5em !important;
        white-space: nowrap;
    }
}

/* PC表示のみで改行を表示するクラス */
.pc-only {
    display: inline;
}

/* モバイル表示では改行を非表示 */
@media (max-width: 768px) {
    .pc-only {
        display: none;
    }
}

/* デスクトップでは改行を非表示 */
@media (min-width: 769px) {
    .mobile-only {
        display: none;
    }
}