/* 
  ==========================================
  Variables & Reset
  ==========================================
*/
:root {
    --primary-color: #1b4332; /* 深い緑（伝統的・堅実・信頼感） */
    --secondary-color: #b45309; /* 落ち着いたアンバー（温かみ） */
    --accent-color: #dc2626; /* 強調用の赤 */
    --bg-light: #faf9f6; /* 和紙のようなごく薄いベージュ */
    --text-main: #27272a; /* 黒に近いが少し柔らかい */
    --text-muted: #52525b;
    --white: #ffffff;
    --border-color: #e4e4e7;
}

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

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text-main);
    line-height: 1.8;
    background-color: var(--bg-light);
    overflow-x: hidden;
    font-size: 16px; /* モバイルでの可読性向上 */
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
    -webkit-tap-highlight-color: transparent;
}

/* 
  ==========================================
  Typography & Utility
  ==========================================
*/
.container {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 2.5rem;
    position: relative;
    letter-spacing: 0.05em;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 4px;
    background: var(--secondary-color);
    margin: 15px auto 0;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(180, 83, 9, 0.5); }
    70% { transform: scale(1.03); box-shadow: 0 0 0 15px rgba(180, 83, 9, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(180, 83, 9, 0); }
}

.pulse {
    animation: pulse 2.5s infinite;
}

/* 
  ==========================================
  Header
  ==========================================
*/
.header {
    background: var(--white);
    border-bottom: 2px solid var(--primary-color);
    position: sticky; /* fixedからstickyに変更し自然な挙動に */
    top: 0;
    width: 100%;
    z-index: 100;
}

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

.logo {
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--primary-color);
}

.btn-header {
    background: var(--secondary-color);
    color: var(--white);
    padding: 10px 20px; /* タップサイズ拡大 */
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: background 0.2s;
}

.btn-header:hover {
    background: #92400e;
}

/* 
  ==========================================
  First View (FV) - 独自色強め
  ==========================================
*/
.fv {
    background: var(--bg-light);
    position: relative;
    padding: 40px 0 60px;
    border-bottom: 1px solid var(--border-color);
}

.fv-container {
    display: flex;
    flex-direction: column; /* 画像を下、テキストを上に配置(Batonzとの差別化) */
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 5%;
    text-align: center;
}

.fv-text {
    width: 100%;
    margin-bottom: 40px;
}

.badge {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 6px 20px;
    border-radius: 30px;
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 1rem;
    border: 2px solid var(--primary-color);
}

.fv-title {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.4;
    margin-bottom: 25px;
    color: var(--text-main);
}

.fv-title .highlight {
    color: var(--accent-color);
    background: linear-gradient(transparent 70%, #fef08a 70%);
}

.fv-desc {
    font-size: 1.2rem;
    margin-bottom: 30px;
    font-weight: 500;
}

.fv-desc strong {
    color: var(--accent-color);
    font-size: 1.5rem;
    font-weight: 900;
}

.fv-checks {
    list-style: none;
    margin-bottom: 35px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.fv-checks li {
    font-size: 1.15rem;
    font-weight: 700;
    background: var(--white);
    padding: 12px 25px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.fv-checks i {
    color: var(--primary-color);
    margin-right: 8px;
}

.cta-btn {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 900;
    padding: 18px 30px;
    border-radius: 6px;
    box-shadow: 0 8px 15px rgba(180, 83, 9, 0.3);
    border-bottom: 4px solid #92400e;
    transition: transform 0.1s;
}

.cta-btn:active {
    transform: translateY(4px);
    border-bottom: 0px;
}

.cta-btn i {
    margin-left: 10px;
}

.fv-image-wrapper {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
}

.fv-image {
    width: 100%;
    border-radius: 12px;
    border: 5px solid var(--white);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

/* 
  ==========================================
  Blocks General
  ==========================================
*/
.section-pad {
    padding: 80px 0;
}

/* 共感ブロック */
.empathy {
    background: var(--white);
}

.empathy-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.empathy-card {
    background: var(--bg-light);
    padding: 35px 25px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.empathy-card i {
    color: var(--text-muted);
    margin-bottom: 20px;
    opacity: 0.5;
}

.empathy-card p {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.6;
}

.empathy-conclusion {
    text-align: center;
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--white);
    padding: 25px;
    background: var(--primary-color);
    border-radius: 8px;
    max-width: 600px;
    margin: 0 auto;
}

/* 解決策 */
.solution {
    background: var(--bg-light);
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.solution-item {
    background: var(--white);
    padding: 30px 20px;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    text-align: center;
}

.solution-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    font-size: 1.4rem;
    font-weight: 900;
    line-height: 50px;
    border-radius: 4px;
    margin: 0 auto 20px;
}

.solution-item h3 {
    font-size: 1.15rem;
    font-weight: 700;
}

/* ベネフィット */
.benefits {
    background: var(--white);
}

.benefit-lead {
    text-align: center;
    font-size: 1.3rem;
    margin-bottom: 40px;
}

.benefit-lead   {
    color: var(--accent-color);
    font-size: 1.6rem;
    font-weight: 900;
}

.comparison {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.comp-box {
    background: var(--bg-light);
    border-radius: 8px;
    padding: 35px;
    flex: 1;
    min-width: 280px;
    border: 1px solid var(--border-color);
}

.comp-box.good {
    border: 2px solid var(--secondary-color);
    background: #fff8f1;
}

.comp-header {
    font-size: 1.4rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px dashed var(--border-color);
}

.comp-box.good .comp-header {
    color: var(--secondary-color);
    border-bottom: 2px dashed #fed7aa;
}

.comp-list {
    list-style: none;
}

.comp-list li {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
}

.comp-box.bad i {
    color: var(--text-muted);
    margin-right: 12px;
}

.comp-box.good i {
    color: var(--secondary-color);
    margin-right: 12px;
    font-size: 1.3rem;
}

/* 実績 */
.track-record {
    background: var(--primary-color);
    color: var(--white);
}

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

.record-stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
}

.stat-box {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 30px;
    border-radius: 8px;
    min-width: 260px;
    text-align: center;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #cbd5e1;
}

.stat-value {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1;
}

.stat-value span {
    font-size: 1.4rem;
}

.stat-highlight {
    display: inline-block;
    padding: 18px 30px;
    background: var(--white);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: 900;
    text-align: center;
    margin: 0 auto;
    display: block;
    max-width: max-content;
}

/* クロージング */
.closing {
    background: var(--bg-light);
    text-align: center;
}

.urgency-box {
    background: #fef2f2;
    border: 2px solid #fca5a5;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 50px;
    color: #991b1b;
}

.urgency-box h3 {
    font-size: 1.4rem;
    font-weight: 900;
    margin-bottom: 15px;
}

.urgency-box p {
    font-size: 1.15rem;
    font-weight: 700;
}

.cta-title {
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 30px;
    line-height: 1.4;
}

.cta-btn.large {
    font-size: 1.6rem;
    padding: 25px 40px;
    border-radius: 8px;
    display: inline-block;
    width: 100%;
    max-width: 600px;
}

.cta-btn.large .phone-icon {
    font-size: 2rem;
    margin-right: 15px;
    vertical-align: middle;
}

.cta-btn.large small {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    margin-top: 10px;
}

/* フッター */
.footer {
    background: #18181b;
    color: #a1a1aa;
    padding: 50px 0 30px;
    text-align: center;
    margin-bottom: 0; /* JS制御でスマホ時はマージン追加 */
}

.footer-info {
    margin-bottom: 25px;
    font-size: 1rem;
    line-height: 2;
}

.footer-info strong {
    color: #e4e4e7;
}

/* モバイル固定ボタン */
.mobile-sticky {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background: rgba(255,255,255,0.9);
    padding: 10px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    backdrop-filter: blur(5px);
}

.sticky-btn {
    display: block;
    background: var(--accent-color);
    color: var(--white);
    text-align: center;
    padding: 15px;
    font-size: 1.3rem;
    font-weight: 900;
    border-radius: 6px;
    box-shadow: 0 4px 6px rgba(220, 38, 38, 0.4);
}

.sticky-btn i {
    margin-right: 10px;
}

/* 
  ==========================================
  Media Queries
  ==========================================
*/
@media (max-width: 768px) {
    body {
        font-size: 15px; /* スマホでは標準的に */
    }
    
    .fv-title {
        font-size: 2.1rem;
        line-height: 1.3;
    }
    
    .fv-desc {
        font-size: 1.1rem;
    }
    
    .fv-checks {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .fv-checks li {
        width: 100%;
        text-align: center;
    }

    .cta-btn {
        width: 100%;
        padding: 18px 10px;
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 1.7rem;
    }
    
    .cta-title {
        font-size: 1.6rem;
    }

    .cta-btn.large {
        font-size: 1.3rem;
        padding: 20px 10px;
    }

    .stat-value {
        font-size: 2.8rem;
    }

    .empathy-conclusion {
        font-size: 1.3rem;
        width: 100%;
    }

    .urgency-box h3 {
        font-size: 1.2rem;
    }

    /* モバイル固定ボタン表示時の余白調整 */
    .mobile-sticky {
        display: block;
    }
    
    .footer {
        padding-bottom: 90px;
    }
}

/* 
  ==========================================
  LINE Button & Form Styles
  ==========================================
*/
.line-btn {
    background: #06c755 !important;
    border-bottom: 4px solid #04a043 !important;
    box-shadow: 0 8px 15px rgba(6, 199, 85, 0.3) !important;
}

.line-btn:active {
    border-bottom: 0px !important;
}

.line-btn-mobile {
    background: #06c755 !important;
    box-shadow: 0 4px 6px rgba(6, 199, 85, 0.4) !important;
}

.form-area {
    margin-top: 60px;
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    text-align: left;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-main);
}

.form-title {
    font-size: 1.5rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 30px;
    color: var(--primary-color);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 15px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.required {
    background: var(--accent-color);
    color: var(--white);
    font-size: 0.8rem;
    padding: 3px 8px;
    border-radius: 4px;
    margin-left: 10px;
    vertical-align: middle;
}

.inquiry-form input[type="text"],
.inquiry-form input[type="tel"],
.inquiry-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1.1rem;
    font-family: inherit;
    transition: border-color 0.2s;
    background: var(--bg-light);
}

.inquiry-form input:focus,
.inquiry-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(27, 67, 50, 0.1);
}

.form-submit-btn {
    width: 100%;
    border: none;
    cursor: pointer;
    font-size: 1.3rem;
    margin-top: 10px;
}

.form-note {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .form-area {
        padding: 25px 20px;
        margin-top: 40px;
    }
    .form-submit-btn {
        font-size: 1.2rem;
        padding: 15px;
    }
}

/* 
  ==========================================
  Fee Reason Block
  ==========================================
*/
.fee-reason {
    background: var(--white);
}

.fee-reason-box {
    background: #f8fafc;
    border: 3px solid var(--primary-color);
    border-radius: 12px;
    padding: 50px 40px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    max-width: 800px;
    margin: 0 auto;
}

.fee-badge {
    display: inline-block;
    background: var(--accent-color);
    color: var(--white);
    padding: 8px 25px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 900;
    margin-bottom: 25px;
    letter-spacing: 0.05em;
}

.fee-catch {
    font-size: 1.8rem;
    color: var(--primary-color);
    line-height: 1.6;
    margin-bottom: 30px;
    font-weight: 900;
}

.fee-desc {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-main);
}

.fee-desc strong {
    color: var(--secondary-color);
    font-size: 1.25rem;
    display: inline-block;
    margin-top: 15px;
    background: linear-gradient(transparent 70%, #fef08a 70%);
}

@media (max-width: 768px) {
    .fee-reason-box {
        padding: 30px 20px;
    }
    .fee-catch {
        font-size: 1.4rem;
    }
    .fee-desc {
        text-align: left;
    }
}
