/* =============================================================
  1. 全体共通設定（リセット・基本フォント・カラー）
============================================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    color: #333333;
    background-color: #faf8f5; /* 暖かみのある非常に薄いベージュ */
    line-height: 1.6;
    padding-bottom: 120px; /* 固定ボトムCTAが被らないための余白 */
}

a {
    color: #1a3c37;
    text-decoration: none;
}

/* 共通コンテナ */
.main-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
}


/* =============================================================
  2. プレミアム・ヘッダーデザイン（最適化版）
============================================================= */
.header {
    background-color: #ffffff !important;
    border-bottom: 1px solid #eef1f0 !important;
    padding: 18px 0 !important; /* ロゴが大きくなる分、上下の余白をゆったりに調整 */
    position: sticky !important;
    top: 0 !important;
    z-index: 100 !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02) !important;
}

.header-container {
    max-width: 1100px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

/* ロゴの配置（キャッチコピーと画像を縦にキレイに並べる） */
.logo a {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    text-decoration: none !important;
}

/* キャッチコピー（控えめで繊細な極小サイズ） */
.logo-catch {
    font-size: 8.5px !important;      /* 目立ちすぎない美しく繊細なサイズ */
    color: #00796b !important;        /* ロゴに調和する深いグリーン */
    font-weight: 500 !important;       /* 少し細めにして上品さを強調 */
    letter-spacing: 0.05em !important; /* 文字の間隔を広げて高級感をプラス */
    margin-bottom: 4px !important;    /* 画像とのちょうどいい隙間 */
    line-height: 1.2 !important;
    white-space: nowrap !important;   /* 改行を防ぐ */
}

/* ロゴ画像（主役として存在感のあるサイズへ拡大！） */
.logo-image {
    height: 48px !important;          /* 視認性の良い大きさにしっかりアップ */
    width: auto !important;
    display: block !important;
    transition: opacity 0.2s !important;
}

.logo-image:hover {
    opacity: 0.85 !important;
}

/* ナビゲーションメニューの配置調整 */
.nav {
    display: flex !important;
    align-items: center !important;
}

.nav ul {
    display: flex !important;
    gap: 25px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.nav a {
    font-size: 14px !important;
    color: #555555 !important;
    text-decoration: none !important;
    font-weight: bold !important;
    transition: color 0.2s !important;
}

.nav a:hover, .nav a.active {
    color: #00796b !important; /* テーマカラーの緑に光る */
}


/* =============================================================
  3. メインビジュアル（左右分離レイアウト・絶対重ならない設定）
============================================================= */
.main-visual {
    background-color: #7bc5b9; /* お手本と同じ、少し青みがかった美しいミントグリーン */
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.main-visual .mv-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between; /* 左右に綺麗に分配 */
    height: 500px;
    position: relative;
}

/* 左側テキストエリア：絶対に全体の55%幅を超えないように固定 */
.mv-text-area {
    width: 55%;
    padding: 40px 0 40px 20px;
    z-index: 2;
    box-sizing: border-box;
}

.mv-tag {
    display: inline-block;
    background-color: #f26f21; /* オレンジ */
    color: #ffffff;
    font-size: 13px;
    font-weight: bold;
    padding: 4px 12px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.mv-text-area h2 {
    font-size: 36px; /* 文字サイズを少し抑え、綺麗に2行に収まるように調整 */
    color: #1a3c37;
    line-height: 1.35;
    margin-bottom: 18px;
    font-weight: 900;
    letter-spacing: -0.01em;
}

.mv-text-area .highlight {
    color: #1a3c37;
}

.mv-desc {
    font-size: 15px;
    color: #1a3c37;
    line-height: 1.6;
    margin-bottom: 22px;
    font-weight: bold;
}

/* 白色のタグ */
.mv-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 25px;
}

.mv-features span {
    background-color: #ffffff;
    color: #1a3c37;
    font-size: 13px;
    font-weight: bold;
    padding: 6px 14px;
    border-radius: 30px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* ボタンエリア */
.mv-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.mv-buttons .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    box-shadow: 0 3px 0px rgba(0,0,0,0.1);
    transition: transform 0.1s;
}

.mv-buttons .btn:hover {
    transform: translateY(1px);
    box-shadow: 0 1px 0px rgba(0,0,0,0.1);
}

.mv-buttons .btn-tel {
    background-color: #1d62b4;
    color: #ffffff !important;
}
.mv-buttons .btn-tel::before {
    content: "📞 ";
}

.mv-buttons .btn-green {
    background-color: #27ae60;
    color: #ffffff !important;
}
.mv-buttons .btn-green::before {
    content: "📷 ";
}

.mv-buttons .btn-white {
    background-color: #ffffff;
    color: #1d62b4 !important;
    border: 2px solid #1d62b4;
    box-shadow: 0 3px 0px rgba(29, 98, 180, 0.15);
    padding: 8px 18px;
}

/* 右側画像エリア：全体の45%幅に完全に収め、左側に絶対にはみ出させない */
.mv-image-area {
    width: 45%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end; /* 右端に寄せる */
    z-index: 1;
}

/* 画像自体の無駄な透明スペースが消えたため、右端にピッタリ綺麗に収まります */
.mv-photo {
    height: 100%;
    width: auto;
    object-fit: contain;
    max-width: 100%; /* コンテナからはみ出るのを物理的に防止 */
}


/* =============================================================
  4. コンテンツセクション共通設定
============================================================= */
.section {
    margin-bottom: 60px;
}

.section-title {
    text-align: center;
    font-size: 26px;
    color: #1a3c37;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #79c3b7;
}

.en-title {
    display: block;
    font-size: 12px;
    color: #79c3b7;
    letter-spacing: 2px;
    margin-bottom: 5px;
}


/* =============================================================
  5. グリッドカードレイアウト
============================================================= */
.card {
    background-color: #ffffff;
    border: 1px solid #e2ded6;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
    transition: transform 0.2s;
}

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

/* グリッドシステム */
.grid-6 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.method-card {
    border-top: 5px solid #79c3b7;
}

.card-link {
    display: inline-block;
    margin-top: 15px;
    font-size: 13px;
    font-weight: bold;
    color: #1d62b4;
    text-decoration: underline;
}


/* =============================================================
  6. 選ばれる6つの理由（線画アイコン・シンプルデザイン）
============================================================= */
/* 旧絵文字アイコンを非表示 */
.card-icon {
    display: none !important;
}

/* 新しいSVGアイコン用のミントグリーン台座 */
.card-icon-svg {
    width: 48px;
    height: 48px;
    background-color: #e6f4f1; /* 優しいミントグリーン */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.card-icon-svg svg {
    width: 24px;
    height: 24px;
    color: #00796b; /* テーマの深い緑 */
}

/* カード全体のスタイル上書き */
.reasons-section .card {
    background: #ffffff !important;
    border: 1px solid #eef1f0 !important;
    border-radius: 8px !important;
    padding: 25px 20px !important;
    text-align: left !important; /* 左寄せで見やすく */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.01) !important;
}

.reasons-section .card h4 {
    font-size: 16px !important;
    color: #1a3c37 !important;
    font-weight: bold !important;
    margin-bottom: 10px !important;
}

/* タイトル下のミントグリーンのアンダーライン */
.reasons-section .card h4::after {
    content: "" !important;
    display: block !important;
    width: 35px !important;
    height: 10px !important;
    border-bottom: 2px solid #7bc5b9 !important;
    margin-top: 4px !important;
}

.reasons-section .card p {
    font-size: 13px !important;
    color: #555555 !important;
    line-height: 1.6 !important;
    margin: 0 !important;
}


/* =============================================================
  7. 買取品目 32種類
============================================================= */
.grid-32 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.item-mini-card {
    background-color: #ffffff;
    border: 1px solid #e2ded6;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
}

.item-mini-card h4 {
    font-size: 14px;
    color: #1a3c37;
    margin-bottom: 5px;
    font-weight: bold;
}

.item-mini-card p {
    font-size: 11px;
    color: #7f8c8d;
}


/* =============================================================
  8. 買取実績（横並び強制＆画像サイズガード）
============================================================= */
.results-row {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.results-col {
    flex: 1; /* 4つの枠の横幅を完全に均等化 */
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    box-sizing: border-box;
    position: relative;
}

/* 実績写真のはみ出し強制防止ガード */
.results-col img {
    width: 65%;          /* 枠の2/3サイズにきれいに縮小 */
    height: auto;
    display: block;
    margin: 10px auto;   /* 真ん中配置＆心地いい上下余白 */
    border-radius: 4px;
}

.results-col h5 {
    font-size: 14px;
    color: #1a3c37;
    line-height: 1.4;
    margin-bottom: 8px;
    height: 40px;
    overflow: hidden;
}

.results-col .price {
    font-size: 18px;
    font-weight: bold;
    color: #e67e22; /* 目立つオレンジ */
}

.results-col .area {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: rgba(26, 60, 55, 0.85);
    color: #ffffff;
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: bold;
}


/* =============================================================
  9. 買取詳細ページ（kaitori.html）用のスタイル
============================================================= */
.page-header {
    background: linear-gradient(135deg, #1a3c37, #2d5a52);
    color: #ffffff;
    padding: 80px 20px;
    text-align: center;
}
.page-sub {
    font-size: 14px;
    color: #7bc5b9;
    font-weight: bold;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
}
.page-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 15px;
}
.page-lead {
    font-size: 15px;
    color: #e0eee0;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* 固定アンカーナビ */
.anchor-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    background-color: #ffffff;
    padding: 15px 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 10;
}
.anchor-btn {
    display: inline-block;
    padding: 10px 25px;
    background-color: #e6f4f1;
    color: #00796b;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    border-radius: 20px;
    transition: background-color 0.2s, color 0.2s;
}
.anchor-btn:hover {
    background-color: #00796b;
    color: #ffffff;
}

.kaitori-section {
    padding: 80px 20px;
    border-bottom: 1px solid #eef1f0;
}
.visit-bg {
    background-color: #fcfbf9;
}
.kaitori-header {
    text-align: center;
    margin-bottom: 30px;
}

.kaitori-header .card-icon-svg {
    width: 64px;
    height: 64px;
    background-color: #e6f4f1;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}
.kaitori-header .card-icon-svg svg {
    width: 30px;
    height: 30px;
    color: #00796b;
}

.kaitori-header h3 {
    font-size: 26px;
    color: #1a3c37;
    font-weight: bold;
    margin-bottom: 8px;
}
.kaitori-badge {
    display: inline-block;
    font-size: 12px;
    background-color: #f26f21;
    color: #ffffff;
    padding: 4px 15px;
    border-radius: 15px;
    font-weight: bold;
}
.kaitori-desc {
    max-width: 800px;
    margin: 0 auto 50px auto;
    font-size: 15px;
    color: #555555;
    line-height: 1.8;
    text-align: center;
}

/* ステップフロー */
.step-container {
    max-width: 1000px;
    margin: 0 auto;
}
.step-title {
    font-size: 18px;
    color: #1a3c37;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}
.step-title::after {
    content: "";
    display: block;
    width: 40px;
    height: 3px;
    background-color: #7bc5b9;
    margin: 10px auto 0 auto;
}
.step-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}
.step-card {
    background-color: #ffffff;
    border: 1px solid #eef1f0;
    padding: 35px 25px 25px 25px;
    border-radius: 12px;
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}
.step-num {
    position: absolute;
    top: -15px;
    left: 25px;
    background-color: #00796b;
    color: #ffffff;
    font-size: 14px;
    font-weight: 900;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}
.step-card h5 {
    font-size: 16px;
    color: #1a3c37;
    font-weight: bold;
    margin-bottom: 12px;
}
.step-card p {
    font-size: 13px;
    color: #666666;
    line-height: 1.6;
}


/* =============================================================
  10. 固定ボトムCTA
============================================================= */
.bottom-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 -4px 15px rgba(0,0,0,0.1);
    z-index: 100;
    padding: 15px 20px;
    border-top: 3px solid #79c3b7;
}

.cta-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cta-text {
    font-size: 13px;
    color: #555555;
    max-width: 60%;
    line-height: 1.4;
}

.cta-btns {
    display: flex;
    gap: 10px;
}

.cta-btns .btn {
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 14px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 0px rgba(0,0,0,0.15);
}

.btn-cta-tel {
    background-color: #1d62b4;
    color: #ffffff;
}

.btn-cta-green {
    background-color: #27ae60;
    color: #ffffff;
}


/* =============================================================
  11. プレミアム・モダンフッター
============================================================= */
.footer {
    background-color: #1a3c37 !important; /* 重厚感のある濃いグリーン */
    padding: 30px 20px !important;
    margin-top: 0 !important;
}

.footer-container {
    max-width: 1100px !important;
    margin: 0 auto !important;
}

.footer-copy {
    font-size: 12px !important;
    color: #a3b8b5 !important; /* 目に優しい上品な淡いグレー */
    text-align: center !important; /* 完全中央揃え */
    margin: 0 !important;
    line-height: 1.8 !important;
    letter-spacing: 0.05em !important;
}


/* =============================================================
  12. レスポンシブ対応（スマホ表示時の自動調整）
============================================================= */
@media (max-width: 768px) {
    /* ヘッダーの調整（崩れ防止） */
    .header-container {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .logo-catch {
        display: none !important; /* スマホではキャッチを隠してスッキリさせる */
    }
    
    .logo-image {
        height: 36px !important;  /* スマホ用のサイズ */
        margin: 0 auto;
    }

    .nav ul {
        gap: 15px !important;
    }
    
    .nav a {
        font-size: 12px !important;
    }

    /* メインビジュアルのレスポンシブ化 */
    .main-visual .mv-container {
        flex-direction: column-reverse;
        min-height: auto;
        padding-top: 20px;
        height: auto;
    }
    
    .mv-text-area {
        width: 100%;
        text-align: center;
        padding: 20px;
    }
    
    .mv-text-area h2 {
        font-size: 28px;
    }
    
    .mv-features {
        justify-content: center;
    }
    
    .mv-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .mv-buttons .btn {
        width: 100%;
    }
    
    .mv-image-area {
        width: 100%;
        height: 220px;
        justify-content: center;
    }
    
    .mv-photo {
        width: auto;
        height: 100%;
    }

    /* グリッドの1列化 */
    .grid-6, .grid-3, .step-grid, .results-row {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
    
    .grid-32 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .results-col img {
        width: 50%; /* スマホ縦並び時は少し大きめに調整 */
    }

    /* 固定ボトムCTAの調整 */
    .bottom-cta {
        padding: 10px;
    }
    
    .cta-container {
        flex-direction: column;
        gap: 10px;
    }
    
    .cta-text {
        display: none;
    }
    
    .cta-btns {
        width: 100%;
    }
    
    .cta-btns .btn {
        flex: 1;
        font-size: 12px;
        padding: 10px;
    }
}