/* 税育調査ガード - 誠実で信頼感のあるデザイン */

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

body {
    font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* コンテナ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ヘッダー・ヒーローセクション */
header {
    background-image: url('top_pc.png');
    background-size: 100% 100%;
    background-position: center;
    color: white;
    text-align: center;
    padding: 0;
    position: relative;
    height: 1080px;
    display: flex;
    align-items: center;
    justify-content: center;
}


header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* セクション共通スタイル */
section {
    padding: 60px 0;
    margin: 0 auto;
    max-width: 1200px;
}

/* ヒーローセクション直後のセクションの間隔を削除（全画面サイズで適用） */
header + section {
    margin: 0 !important;
    padding: 0 !important;
    border-top: none !important;
}

/* ヒーロー直後のセクション内コンテナのパディング調整 */
header + section .container {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
}

section:nth-child(even) {
    background-color: white;
}

section:nth-child(odd) {
    background-color: #f8f9fa;
}

/* 最終メッセージセクション（6番目のセクション）にbb.jpegを設定 */
section:nth-child(6) {
    background-image: url('bb.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: transparent;
    max-width: none;
    width: 100%;
}

/* 共感セクション（2番目のセクション）の背景にwb.jpgを設定 */
section:nth-child(2) {
    background-image: url('wb.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: transparent;
    max-width: none;
    width: 100%;
}

/* 提供内容セクション（4番目のセクション）の背景にgb.jpegを設定 */
section:nth-child(4) {
    background-image: url('bb2.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: transparent;
    max-width: none;
    width: 100%;
}

/* 見出し */
h2 {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #3498db, #2980b9);
}

h3 {
    font-size: 1.5rem;
    color: #34495e;
    margin-bottom: 15px;
    padding-left: 20px;
    border-left: 4px solid #3498db;
}

/* 年間プラン特典のh3を中央表示 */
section h3 {
    text-align: center;
    border: none;
    padding: 0;
}

/* パラグラフ */
p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* リスト */
ul {
    max-width: 800px;
    margin: 0 auto 30px;
    list-style: none;
}

li {
    background: white;
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-left: 4px solid #002559;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

li:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

li::before {
    content: '✓';
    color: #002559;
    font-weight: bold;
    margin-right: 10px;
}

/* 提供内容セクションのリスト */
section:nth-child(4) li {
    border-left-color: #002559;
}

section:nth-child(4) li::before {
    content: '●';
    color: #002559;
}

/* 年間特典のリスト */
.benefits li {
    border-left-color: #f39c12;
}

.benefits li::before {
    content: '';
}

/* 4つの要素グリッド */
.four-elements {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 30px;
    margin: 40px 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.element-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-top: 5px solid #002559;
    transition: transform 0.3s ease;
}

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

.element-card h3 {
    border: none;
    padding: 0;
    color: #2c3e50;
    margin-bottom: 20px;
}

/* 料金セクション */
/* 料金セクション - 誠実・信頼感デザイン */
.pricing {
    text-align: center;
    margin: 60px 0;
    background: transparent;
    padding: 60px 40px;
}

.pricing h2 {
    color: #2c3e50;
    margin-bottom: 50px;
    font-size: 2.4rem;
    font-weight: 600;
    position: relative;
}

.pricing h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #002559;
    border-radius: 2px;
}

.price-cards {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 800px;
    margin: 0 auto;
}

.price-card {
    background: #ffffff;
    border: 2px solid #dee2e6;
    border-radius: 12px;
    padding: 50px 40px;
    min-width: 300px;
    flex: 1;
    max-width: 380px;
    transition: all 0.3s ease;
    position: relative;
}

.price-card:hover {
    border-color: #002559;
    box-shadow: 0 8px 30px rgba(0,37,89,0.15);
    transform: translateY(-2px);
}

.price-type {
    font-size: 1.4rem;
    font-weight: 700;
    color: #002559;
    margin-bottom: 30px;
    text-transform: none;
    letter-spacing: 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #f1f3f4;
}

.price-amount {
    font-size: 2.6rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 8px;
    line-height: 1.2;
    font-family: 'Noto Sans JP', sans-serif;
}

.price-period {
    font-size: 1rem;
    color: #6c757d;
    margin-bottom: 25px;
    font-weight: 500;
}

.price-annual {
    font-size: 2.6rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 8px;
    line-height: 1.2;
    font-family: 'Noto Sans JP', sans-serif;
}

.price-note {
    font-size: 0.95rem;
    color: #6c757d;
    font-weight: 400;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #f1f3f4;
}

.annual-card {
    border-color: #002559;
    box-shadow: 0 6px 25px rgba(0,37,89,0.12);
    position: relative;
}

.annual-card::before {
    content: 'おすすめ';
    position: absolute;
    top: -12px;
    right: 20px;
    background: #002559;
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.annual-card .price-type {
    color: #002559;
    border-bottom-color: #002559;
}

/* 料金画像レイアウト */
.price-images {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.price-image-item {
    flex: 1;
    max-width: 400px;
    text-align: center;
}

.price-image-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.price-image-item img:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* モバイル表示：縦並び */
@media (max-width: 768px) {
    .price-images {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    
    .price-image-item {
        max-width: 300px;
        width: 100%;
    }
}

/* 訴求セクション - ミニマルデザイン */
.risk-section {
    background: #2c3e50;
    padding: 100px 20px;
    position: relative;
    color: white;
    text-align: center;
}

.risk-flow {
    max-width: 1200px;
    margin: 0 auto;
}

.risk-title {
    font-size: 2.8rem;
    font-weight: 300;
    margin-bottom: 60px;
    line-height: 1.4;
}

.risk-title .emphasis {
    font-weight: 700;
    color: #e74c3c;
    display: block;
    font-size: 3.2rem;
    margin: 20px 0;
    letter-spacing: 2px;
}

.consequences {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    margin: 80px 0;
    flex-wrap: wrap;
}

.consequence {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50px;
    padding: 20px 40px;
    font-size: 1.3rem;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
    position: relative;
}

.consequence:hover {
    background: rgba(231,76,60,0.8);
    transform: scale(1.05);
    border-color: #e74c3c;
}

.consequence:nth-child(2)::before,
.consequence:nth-child(2)::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40px;
    height: 2px;
    background: rgba(255,255,255,0.5);
}

.consequence:nth-child(2)::before {
    left: -50px;
    transform: translateY(-50%);
}

.consequence:nth-child(2)::after {
    right: -50px;
    transform: translateY(-50%);
}

.solution-message {
    margin-top: 100px;
    padding: 60px 40px;
    background: linear-gradient(135deg, rgba(255,255,255,0.15), rgba(255,255,255,0.05));
    border-radius: 30px;
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(20px);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    overflow: hidden;
}

.solution-message::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: shimmer 3s ease-in-out infinite;
}

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

.solution-message p {
    font-size: 2rem;
    font-weight: 400;
    margin: 0;
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

.solution-brand {
    color: #3498db;
    font-weight: 700;
    font-size: 2.2rem;
    text-shadow: 0 0 20px rgba(52,152,219,0.5);
}

@media (max-width: 768px) {
    .consequences {
        flex-direction: column;
        gap: 30px;
    }
    
    .consequence:nth-child(2)::before,
    .consequence:nth-child(2)::after {
        display: none;
    }
    
    .risk-title {
        font-size: 2.2rem;
    }
    
    .risk-title .emphasis {
        font-size: 2.6rem;
    }
}

/* フッター */
footer {
    background: #ffffff;
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid #e0e0e0;
}

footer p {
    color: #666666;
    font-size: 0.9rem;
    margin: 0;
    text-align: center;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}

/* CTA ボタン */
button {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    border: none;
    padding: 20px 40px;
    font-size: 1.3rem;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(231,76,60,0.3);
    margin: 30px auto;
    display: block;
}

button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(231,76,60,0.4);
    background: linear-gradient(135deg, #c0392b, #a93226);
}

/* 最終メッセージセクション */
.final-message {
    background: transparent;
    color: #2c3e50;
    text-align: center;
    padding: 80px 20px;
    margin-top: 40px;
}

.final-message p {
    font-size: 1.3rem;
    margin-bottom: 30px;
}

.final-message p:first-child {
    color: #3498db;
    font-size: 1.5rem;
    font-weight: 600;
}

.final-message .transition {
    font-size: 1.5rem;
    font-weight: 600;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* モバイル専用改行 */
.mobile-break {
    display: inline;
}

.mobile-break-title {
    display: inline;
}

@media (max-width: 768px) {
    .mobile-break::before {
        content: '\A';
        white-space: pre;
    }
    
    .mobile-break-title::before {
        content: '\A';
        white-space: pre;
    }
}

/* モバイル表示最適化 */
@media (max-width: 768px) {
    /* ヒーローセクションのモバイル対応 */
    header {
        background-image: url('az.png') !important;
        height: 100vh !important;
        max-height: 1920px;
        background-size: cover !important;
        background-position: center center !important;
        background-repeat: no-repeat;
    }
    
    /* セクション基本設定 */
    section {
        padding: 40px 15px;
        margin: 0;
        max-width: none;
        width: 100%;
    }
    
    /* コンテナ調整 */
    .container {
        padding: 0 15px;
    }
    
    /* 見出しサイズ調整 */
    h2 {
        font-size: 1.8rem;
        margin-bottom: 25px;
    }
    
    h3 {
        font-size: 1.3rem;
        margin-bottom: 12px;
    }
    
    /* パラグラフ調整 */
    p {
        font-size: 1rem;
        margin-bottom: 15px;
        line-height: 1.6;
    }
    
    /* 4つの要素を1列に */
    .four-elements {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 30px 0;
    }
    
    .element-card {
        padding: 25px 20px;
        margin-bottom: 15px;
    }
    
    .element-card h3 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }
    
    .element-card p {
        font-size: 0.9rem;
    }
    
    /* リスト項目調整 */
    li {
        padding: 18px 15px;
        margin-bottom: 12px;
        font-size: 0.95rem;
    }
    
    /* 価格カード */
    .price-cards {
        flex-direction: column;
        gap: 20px;
    }
    
    .price-card {
        min-width: 100%;
        padding: 30px 25px;
    }
    
    .price-type {
        font-size: 1.2rem;
    }
    
    .price-amount {
        font-size: 2.2rem;
    }
    
    /* ボタンのタッチ最適化 */
    button {
        padding: 18px 35px;
        font-size: 1.1rem;
        min-height: 50px;
        width: 100%;
        max-width: 300px;
        margin: 25px auto;
        border-radius: 25px;
    }
    
    /* 最終メッセージセクション */
    .final-message {
        padding: 60px 15px;
    }
    
    .final-message p {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }
    
    .final-message p:first-child {
        font-size: 1.3rem;
    }
    
    .final-message .transition {
        font-size: 1.3rem;
    }
    
    /* フッター */
    footer {
        padding: 30px 15px;
    }
    
    footer p {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    /* 極小画面対応 */
    header {
        background-image: url('az.png') !important;
        height: 100vh !important;
        max-height: 1920px;
        background-size: cover !important;
        background-position: center center !important;
        background-repeat: no-repeat;
    }
    
    section {
        padding: 30px 12px;
    }
    
    .container {
        padding: 0 12px;
    }
    
    h2 {
        font-size: 1.6rem;
        margin-bottom: 20px;
    }
    
    p {
        font-size: 0.95rem;
    }
    
    .element-card {
        padding: 20px 15px;
    }
    
    .element-card h3 {
        font-size: 1.1rem;
    }
    
    .element-card p {
        font-size: 0.85rem;
    }
    
    li {
        padding: 15px 12px;
        font-size: 0.9rem;
    }
    
    .price-card {
        padding: 25px 20px;
    }
    
    .price-amount {
        font-size: 2rem;
    }
    
    button {
        padding: 16px 30px;
        font-size: 1rem;
        min-height: 48px;
    }
    
    .final-message {
        padding: 50px 12px;
    }
    
    .final-message p {
        font-size: 1rem;
    }
    
    .final-message p:first-child {
        font-size: 1.2rem;
    }
    
    .final-message .transition {
        font-size: 1.2rem;
    }
}