/* =========================================
   Variables & Reset
   ========================================= */
:root {
    --g-900: #0B2A22;
    --g-800: #0F3A30;
    --g-600: #1B4A3C;
    --g-200: #D9E8E2;
    --gold: #D6B15E;
    --gold-100: #F1E2B6;
    --cta: #FFB000;
    --cta-hover: #E6A000;
    --white: #FFFFFF;
    --bg-soft: #F4F7F6;
    --text: #101214;
    --text-on-dark: #F4F6F5;
    --muted: #8B9298;
    --border: #D7E0DD;
    /* Font Stacks */
    --font-mincho: "Noto Serif JP", "游明朝", YuMincho, "Hiragino Mincho ProN", serif;
    --font-gothic: "Noto Sans JP", "Helvetica Neue", Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    background-color: var(--bg-soft);
    color: var(--text);
    font-family: var(--font-gothic);
    line-height: 1.8;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

/* Utility Classes */
.font-mincho { font-family: var(--font-mincho) !important; }
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.fw-bold { font-weight: bold; }

a { text-decoration: none; transition: 0.3s; }
a:hover { opacity: 0.8; }
img { max-width: 100%; height: auto; vertical-align: bottom; }

/* =========================================
   Header
   ========================================= */
header {
    background-color: var(--g-900);
    padding: 15px 0;
    border-bottom: 1px solid var(--g-600);
}
.header_inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.header_logo {
    width: 160px;
}
.header_info {
    color: var(--text-on-dark);
    font-size: 0.75rem;
    text-align: right;
    line-height: 1.5;
    opacity: 0.9;
}
.header_info p { margin: 0; }
.header_info .tel_label {
    color: var(--gold);
    font-weight: bold;
    font-size: 1.1rem;
    display: block;
    margin-top: 4px;
}

/* =========================================
   First View (Hero)
   ========================================= */
.contents_main {
    background: var(--g-900);
    text-align: center;
    width: 100%;
    overflow: hidden;
    border-bottom: 4px solid var(--gold);
}
.contents_main img {
    width: 100%;
    max-width: 1000px;
    display: block;
    margin: 0 auto;
}

/* =========================================
   Common Sections
   ========================================= */
.section-dark {
    background-color: var(--g-900);
    color: var(--text-on-dark);
    padding: 60px 20px;
    text-align: center;
    border-top: 1px solid var(--g-600);
    border-bottom: 1px solid var(--g-600);
    position: relative;
}

/* Arrow Down Effect */
.section-arrow::after {
    content: "";
    position: absolute;
    bottom: -19px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-top: 20px solid var(--g-900);
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    z-index: 10;
}

.section-light {
    background-color: var(--bg-soft);
    padding: 60px 20px;
}

.section-white {
    background-color: var(--white);
    padding: 60px 20px;
}

.inner {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

/* Typography within sections */
.headline-lg {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    margin: 0;
    line-height: 1.6;
}
.brand-name {
    color: var(--gold);
    font-weight: bold;
}
.marker {
    background: linear-gradient(transparent 60%, var(--gold-100) 60%);
    font-weight: bold;
    padding: 0 4px;
    color: var(--text);
}

/* =========================================
   Forms & CTA
   ========================================= */
.form-section {
    background-color: var(--bg-soft);
    padding: 40px 20px;
}
.form-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}
.form_input input {
    height: 60px;
    width: 100%;
    border-radius: 4px;
    border: 2px solid var(--border);
    font-size: 1.2rem;
    padding: 0 15px;
    margin-bottom: 20px;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
}

.cta-btn {
    display: inline-block;
    position: relative;
    width: 100%;
    background: linear-gradient(to bottom, #FFC107 0%, #FF9800 100%);
    color: #1A1A1A;
    font-size: clamp(1.2rem, 4vw, 2rem);
    font-weight: 900;
    padding: 20px 10px;
    border: none;
    border-radius: 6px;
    box-shadow: 0 6px 0 #E68900, 0 10px 20px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-mincho);
    overflow: hidden;
    line-height: 1.2;
}

/* CTA Shine Effect */
.cta-btn::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20%;
    height: 200%;
    background: rgba(255, 255, 255, 0.4);
    transform: rotate(30deg);
    animation: cta-shine 3.5s infinite ease-in-out;
}
@keyframes cta-shine {
    0% { left: -60%; opacity: 0; }
    10% { opacity: 0.5; }
    20% { left: 120%; opacity: 0; }
    100% { left: 120%; opacity: 0; }
}

.cta-btn:hover {
    transform: translateY(2px);
    box-shadow: 0 4px 0 #E68900;
    filter: brightness(1.05);
}

.cta_notes {
    margin-top: 20px;
    font-size: 0.85rem;
    color: var(--text);
    text-align: left;
    display: inline-block;
}
.cta_notes a { color: var(--g-600); text-decoration: underline; }
.disclaimer {
    display: block;
    font-size: 0.75rem;
    color: var(--muted);
    margin-top: 10px;
    text-align: center;
}

/* =========================================
   Cards & Content
   ========================================= */
.card-white {
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 40px;
    margin: 40px auto;
    max-width: 900px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    text-align: center;
}

.problem-list {
    font-size: clamp(1.2rem, 3vw, 2rem);
    line-height: 2;
    margin-bottom: 20px;
    list-style: none;
    padding: 0;
    text-align: left;
    display: inline-block;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 40px auto 0;
}
.features-grid img {
    width: 100%;
    border-radius: 4px;
    border: 1px solid var(--border);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* Result Section */
.result_description {
    margin-top: 30px;
}
.result_description p {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    line-height: 2;
    text-align: left;
    max-width: 800px;
    margin: 0 auto;
}

/* Testimonials */
.voice-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    /* padding: 0 0 30px 0;  <- padding指定を整理 */
    padding-bottom: 30px;
    margin-bottom: 40px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}
/* 画像は削除するので img スタイルは不要になりますが、念のため残すか、削除してもOK */
.voice-card img {
    width: 100%;
}

/* 新しく追加：利用者の声ヘッダー（CSSでデザイン再現） */
.voice-header {
    background-color: var(--g-900);
    padding: 20px;
    display: flex;
    align-items: center;
    border-bottom: 4px solid var(--gold);
    margin-bottom: 20px;
}
/* アイコン用クラス定義はHTMLから削除されますが、スタイル定義自体は残しておいても問題ありません */
.voice-icon {
    width: 50px;
    height: 50px;
    background-color: var(--g-600);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--gold);
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
    border: 2px solid var(--gold);
}
.voice-info {
    text-align: left;
}
.voice-name {
    color: var(--gold);
    font-size: 1.2rem;
    font-weight: bold;
    font-family: var(--font-mincho);
    line-height: 1.2;
}
.voice-attr {
    color: var(--text-on-dark);
    font-size: 0.85rem;
    opacity: 0.9;
    margin-top: 4px;
    display: inline-block;
}

.voice-text {
    padding: 0 30px;
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: left;
}
/* =========================================
   会社概要・利用規約・プラポリ
   ========================================= */
.contents_cat {
    width: 1000px;
    margin: 0 auto;
    padding: 0 0 40px;
    background-color: #f5f5f5;
}
.contents_in {
    width: 960px;
    margin: 0 auto;
    padding: 30px 20px;
    background-color: #ffffff;
}
.contents_in2 {
    width: 92%;
    margin: 0 auto;
    padding: 30px 40px;
    background-color: #ffffff;
}
.cat_title {
    text-align: center;
}

.cat_title_in {
    font-size: 2.4rem;
    line-height: 150%;
    border-bottom: 3px dotted #b92702;
    color: #000000;
    padding: 10px 20px;
    margin: 50px 0 30px 0;
    text-align: center;
    display: inline-block;
}
.law_cat {
    display: flex;
    padding: 30px 20px;
    border-bottom: 1px solid #b0b0b0;
}

.law_title {
    width: 30%;
    text-align: center;
    font-size: 1.1em;
    font-weight: bold;
}

.law_text {
    width: 70%;
    padding: 0px 20px;
}
.font_ss {
    font-size: 0.8em;
    line-height: 160%;
}
@media (min-width:600px) and (max-width:1000px) {
    .contents_cat {
        width: 92%;
    }
    .contents_in {
        width: 92%;
    }

    .cat_title_in {
        font-size: 2rem;
        margin: 30px 0;
    }
}
@media only screen and (max-width:599px) {
    .contents_cat {
        width: 96%;
    }
    .contents_in {
        width: 96%;
        padding: 30px 10px;
    }
    .contents_in2 {
        width: 92%;
        padding: 30px 10px;
    }
    .cat_title_in {
        font-size: 0.9em;
        margin: 10px 0 20px;
    }
.law_cat {
    display: block;
    padding: 20px;
}

.law_title {
    width: 100%;
    text-align: left;
    padding: 0 0 20px 0;
    font-size: 1.2em;
}

.law_text {
    width: 100%;
    padding: 0;
}
}
/* =========================================
   Footer
   ========================================= */
footer {
    background: var(--g-900);
    border-top: 5px solid var(--gold);
    padding: 60px 20px;
    color: var(--text-on-dark);
}
.footer_brand {
    font-family: var(--font-mincho);
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 20px;
    font-weight: bold;
}
.footer-risk {
    font-size: 0.8rem;
    opacity: 0.8;
    max-width: 800px;
    margin: 0 auto;
}
.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin-top: 30px;
    flex-wrap: wrap;
}
.footer-links a { color: var(--gold); }
.copy {
    background-color: #051411;
    color: var(--muted);
    text-align: center;
    padding: 15px 0;
    margin-top: 40px;
    font-size: 0.9rem;
}

/* =========================================
   Animations (Simple Fade In)
   ========================================= */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   Media Queries
   ========================================= */
@media screen and (max-width: 599px) {
    /* ヘッダーをコンパクトにする調整 */
    header {
        padding: 5px 0; /* 上下の余白を極小に */
        /* 高さは固定せず、中身に合わせて最小限にする */
        min-height: 50px;
        display: flex;
        align-items: center;
    }

    .header_inner {
        display: flex;
        flex-direction: row; /* 横並び */
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 0 10px; /* 左右の余白も少し詰める */
        gap: 10px;
    }
    
    .header_logo {
        width: 80px; /* ロゴサイズを縮小してスペース確保 */
        flex-shrink: 0;
    }
    
    .header_logo img {
        max-height: 25px; /* ロゴの高さを抑える */
        width: auto;
    }

    .header_info { 
        text-align: right;
        flex-grow: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    /* 会社情報を表示させる（極小サイズ） */
    .header_info p {
        display: block;
        font-size: 9px; /* 読めるギリギリの小ささ */
        line-height: 1.1;
        margin: 0;
        color: rgba(244, 246, 245, 0.8); /* 少し薄くしてごちゃつきを軽減 */
        letter-spacing: -0.05em; /* 文字間を詰める */
    }

    /* 電話番号をPCと同じデザインに戻す */
    .header_info .tel_label {
        font-size: 0.9rem;
        font-weight: bold;
        color: var(--gold); /* PCと同じゴールド色 */
        display: block;
        margin-top: 2px;
        background: none; /* 背景色削除 */
        padding: 0;
    }

    /* フォーム周辺のマージンを縮小 */
    .form-section {
        padding: 25px 15px !important; /* インラインスタイルの60px等を強制的に上書きして狭くする */
    }
    
    .form_input input {
        margin-bottom: 10px; /* 入力欄とボタンの間隔を詰める */
        height: 50px; /* スマホ用に高さを少し抑える */
    }
    
    .cta_notes {
        margin-top: 10px; /* ボタンと注釈の間隔を詰める */
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .card-white { padding: 25px 15px; }
    .voice-text { padding: 0 20px; }
    
    /* Adjust padding for mobile */
    .section-dark, .section-light, .section-white {
        padding: 40px 15px;
    }
    
    .headline-lg { font-size: 1.8rem; }
    
    /* Arrow adjustment */
    .section-arrow::after {
        border-top-width: 15px;
        border-left-width: 15px;
        border-right-width: 15px;
        bottom: -14px;
    }
}
