/* 
  リースダイレクト デザインシステム (案B：安心感・温かみ)
  基調色：深いグリーン（信頼感）、アクセント：温かみのあるオレンジ/ブラウン
*/

:root {
    /* カラーパレット */
    --clr-primary-900: #1d3b2f; /* 深い緑 */
    --clr-primary-700: #2d5a4c;
    --clr-primary-500: #42826c;
    --clr-primary-100: #e8f3ef; /* 薄い緑背景用 */
    
    --clr-accent-500: #d97736; /* 温かみのあるオレンジ（CTA用） */
    --clr-accent-600: #b85e23;
    
    --clr-text-900: #333333;
    --clr-text-600: #555555;
    --clr-text-300: #999999;
    
    --clr-bg-light: #fdfbf7; /* 真っ白ではない温かい背景色 */
    --clr-white: #ffffff;
    
    /* タイポグラフィ */
    --font-family-base: 'Noto Sans JP', sans-serif;
    
    /* 余白・構造 */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;
    
    --transition-speed: 0.3s;
}

/* リセット & 基盤スタイル */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family-base);
    color: var(--clr-text-900);
    background-color: var(--clr-bg-light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

/* ユーティリティ */
.text-center { text-align: center; }
.text-accent { color: var(--clr-accent-500); }
.bg-primary-light { background-color: var(--clr-primary-100); }

.pc-only { display: block; }
.sp-only { display: none; }
span.pc-only { display: inline; }
span.sp-only { display: none; }
br.pc-only { display: block; }
br.sp-only { display: none; }

@media (max-width: 768px) {
    .pc-only { display: none !important; }
    .sp-only { display: block !important; }
    span.sp-only { display: inline !important; }
    br.sp-only { display: block !important; }
}



/* ヘッダー */
.top-bar {
    background-color: var(--clr-primary-900);
    color: var(--clr-white);
    text-align: center;
    font-size: 0.8rem;
    padding: 0.3rem 0;
    font-weight: 500;
}

.header {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-xs) 0;
}

.logo {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--clr-primary-900);
    letter-spacing: -0.5px;
}


main {
    padding-top: 100px; /* ヘッダーの高さ分調整 */
}

/* アニメーション用クラス */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

/* 共通セクション設定 */
section {
    padding: var(--spacing-lg) 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: var(--spacing-md);
    line-height: 1.4;
    color: var(--clr-primary-900);
}

/* FV（ファーストビュー） */
.fv {
    position: relative;
    padding: 100px 0 120px;
    display: flex;
    align-items: center;
    overflow: hidden;
}


.pc-only { display: block; }
.sp-only { display: none; }

/* 背景を暗くして文字を見やすくするオーバーレイ */




/* 比較・解決策セクション */
.compare-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: var(--spacing-lg);
}

.compare-card {
    background-color: var(--clr-white);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
}

.compare-card.highlight {
    border: 2px solid var(--clr-primary-500);
    transform: scale(1.02);
    box-shadow: 0 10px 25px rgba(66, 130, 108, 0.2);
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .compare-card.highlight {
        transform: scale(1);
    }
}

.card-header {
    padding: 1.5rem;
    background-color: #f5f5f5;
    text-align: center;
}

.bg-primary {
    background-color: var(--clr-primary-700);
    color: var(--clr-white);
}

.card-header h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.result {
    font-weight: 900;
    font-size: 1.2rem;
}

.text-danger {
    color: #c94f4f;
}

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

.card-body {
    padding: 1.5rem;
    flex-grow: 1;
}

/* 3つの理由セクション */
.reason-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: var(--spacing-lg);
}

.reason-card {
    background: var(--clr-white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 8px 20px rgba(0,0,0,0.04);
    position: relative;
    overflow: hidden;
}

.reason-num {
    font-size: 4rem;
    font-weight: 900;
    color: rgba(66, 130, 108, 0.1);
    position: absolute;
    top: -10px;
    right: 10px;
    z-index: 0;
}

.reason-card h3 {
    font-size: 1.3rem;
    color: var(--clr-primary-900);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.reason-card p {
    position: relative;
    z-index: 1;
}

/* お客様の声セクション */
.voice-card {
    background-color: var(--clr-white);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    border-left: 6px solid var(--clr-primary-500);
}

.voice-profile {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px dashed #eee;
}

.profile-img {
    width: 60px; /* アイコンサイズに縮小 */
    height: 60px;
    border-radius: 50%;
    margin-right: 1.5rem;
    object-fit: cover;
    background-color: #f5f5f5;
    flex-shrink: 0;
    border: 1px solid #ddd;
}

.profile-specs strong {
    font-size: 1.1rem;
    color: var(--clr-primary-900);
}

.voice-content h3 {
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    color: var(--clr-primary-900);
    font-weight: bold;
}

/* ご利用の流れ */
.flow-list {
    max-width: 800px;
    margin: 0 auto;
}

.flow-step {
    display: flex;
    background: var(--clr-white);
    border-radius: var(--border-radius-md);
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    overflow: hidden;
}

.step-header {
    background-color: var(--clr-primary-700);
    color: var(--clr-white);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    min-width: 180px;
}

.step-num {
    font-size: 1rem;
    font-weight: bold;
    line-height: 1.1;
    margin-right: 1rem;
    text-align: center;
    color: rgba(255,255,255,0.8);
}

.step-num::after {
    content: '';
    display: block;
    width: 2px;
    height: 30px;
    background: rgba(255,255,255,0.3);
    margin: 0.5rem auto 0;
}

.step-title {
    font-size: 1.1rem;
}

.step-body {
    padding: 1.5rem;
    display: flex;
    align-items: center;
}

@media (max-width: 600px) {
    .flow-step {
        flex-direction: column;
    }
    .step-header {
        min-width: auto;
        padding: 1rem;
    }
    .step-num::after {
        display: none;
    }
}

/* 安心の約束 */
.promise-list {
    max-width: 800px;
    margin: 0 auto;
    background: var(--clr-white);
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 8px 30px rgba(0,0,0,0.05);
    border-top: 5px solid var(--clr-accent-500);
}

.promise-list li {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px dashed #ddd;
}

.promise-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.promise-list .check {
    color: var(--clr-accent-500);
    font-size: 1.5rem;
    font-weight: bold;
}

.promise-list strong {
    font-size: 1.15rem;
    color: var(--clr-primary-900);
    display: block;
    margin-bottom: 0.3rem;
}

.before-after {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .before-after {
        flex-direction: column;
    }
    .arrow {
        transform: rotate(90deg);
    }
}

.before, .after {
    flex: 1;
    padding: 1.5rem;
    border-radius: var(--border-radius-md);
}

.before {
    background-color: #f8f9fa;
    border: 1px dashed #ced4da;
    color: var(--clr-text-600);
}

.after {
    background-color: #fff9e6;
    border: 1px solid #ffe8cc;
}

.before span, .after span {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: bold;
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    margin-bottom: 0.5rem;
}

.before span { background-color: #e9ecef; }
.after span { background-color: var(--clr-accent-500); color: white; }

.arrow {
    font-size: 2rem;
    color: var(--clr-primary-500);
}

/* FAQセクション */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background-color: var(--clr-white);
    border-radius: var(--border-radius-md);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    overflow: hidden;
}

.faq-item summary {
    padding: 1.5rem;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    background-color: var(--clr-white);
    position: relative;
    list-style: none; /* hide default arrow */
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--clr-primary-500);
}

/* 共通画像スタイル設定 */
.compare-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: var(--border-radius-sm);
    margin-bottom: 1rem;
    background-color: #f0f0f0;
}

.step-img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: var(--border-radius-sm);
    margin-right: 1.5rem;
    flex-shrink: 0;
    background-color: #f0f0f0;
}

.promise-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    flex-shrink: 0;
    background-color: #f0f0f0;
}


@media (max-width: 768px) {
    .step-img {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    .content-with-img {
        flex-direction: column;
        align-items: flex-start;
    }
}


/* 会社テーブル (Akiya-pass風) */
.company-profile {
    background: #f9f9f9;
}

.company-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    background: #fff;
    border: 1px solid #eee;
}

.company-table th, .company-table td {
    padding: 1.2rem 1rem;
    border-bottom: 1px solid #eee;
    font-size: 0.95rem;
    color: #333;
}

.company-table th {
    width: 25%;
    text-align: left;
    background: #fdfdfd;
    font-weight: bold;
    border-right: 1px solid #eee;
}

.company-table td a {
    color: var(--clr-accent-500);
}

.company-map {
    margin-top: 2rem;
    width: 100%;
    height: 350px;
    border: none;
    background: #eee;
}
.faq-item[open] summary::after {
    content: '-';
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    background-color: var(--clr-white);
    border-top: 1px solid #f0f0f0;
    margin-top: 1rem;
    padding-top: 1rem;
}

/* CTAエリア */
.cta {
    background-color: var(--clr-primary-900);
    color: var(--clr-white);
    padding: 4rem 0;
}

.cta h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: white;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

@media (min-width: 769px) {
    .cta-actions {
        flex-direction: row;
        justify-content: center;
        max-width: 800px;
    }
    .cta-actions > a {
        flex: 1;
    }
}

.btn-tel {
    background-color: var(--clr-white);
    color: var(--clr-primary-900);
    display: flex;
    flex-direction: column;
    font-size: 1.5rem;
    padding: 0.5rem 2rem;
    border: 2px solid var(--clr-white);
}

.btn-tel .small {
    font-size: 0.8rem;
    font-weight: normal;
}

.btn-tel:hover {
    background-color: transparent;
    color: var(--clr-white);
}

/* フッター */
.footer {
    background-color: #11231c; /* primary-900よりさらに暗く */
    color: var(--clr-white);
    padding: 4rem 0 2rem;
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 3rem;
}

/* 独自お問い合わせフォーム */
.bg-primary-light {
    background-color: #f6f9f8;
}

.form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 1.8rem;
    text-align: left;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 0.6rem;
    color: var(--clr-primary-900);
}

.required {
    background-color: #e53e3e;
    color: white;
    font-size: 0.75rem;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    margin-left: 0.5rem;
    vertical-align: middle;
}

.optional {
    background-color: #718096;
    color: white;
    font-size: 0.75rem;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    margin-left: 0.5rem;
    vertical-align: middle;
}

.custom-form input[type="text"],
.custom-form input[type="tel"],
.custom-form input[type="email"],
.custom-form textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ccc;
    border-radius: var(--border-radius-sm);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #fafafa;
}

.custom-form input:focus,
.custom-form textarea:focus {
    border-color: var(--clr-primary-500);
    outline: none;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(66, 130, 108, 0.15);
}

.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 0.5rem 0;
}

.radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: normal !important;
    font-size: 1.1rem;
}

.radio-label input[type="radio"] {
    margin-right: 0.5rem;
    width: 1.3rem;
    height: 1.3rem;
    accent-color: var(--clr-primary-500);
    cursor: pointer;
}

.form-submit {
    margin-top: 3rem;
}

.btn-submit {
    background-color: var(--clr-accent-500);
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    padding: 1.2rem 4rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 5px 15px rgba(228, 128, 67, 0.3);
    width: 100%;
    max-width: 350px;
}

.btn-submit:hover {
    background-color: var(--clr-accent-600);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(228, 128, 67, 0.4);
}

@media (max-width: 768px) {
    .form-wrapper {
        padding: 2rem 1.5rem;
    }
    .radio-group {
        flex-direction: column;
        gap: 1rem;
    }
    .btn-submit {
        max-width: 100%;
        padding: 1rem;
    }
}

.footer-brand h2 {
    font-size: 1.5rem;
    color: var(--clr-white);
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.footer-company h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: rgba(255,255,255,0.8);
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.footer-company p {
    line-height: 1.8;
    color: rgba(255,255,255,0.7);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--clr-white);
    text-decoration: underline;
}

.footer-copy {
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.8rem;
}

