/* =========================================
   1. Variables & Global Reset
========================================= */
:root {
    /* 店舗買取り.com の公式カラー */
    --primary-green: #007737;
    --accent-orange: #FC5F00;
    --accent-yellow: #F7C81C;
    --text-main: #323232;
    --text-sab: rgb(255, 255, 255);
    --text-light: #555555;
    --bg-warm: #FAF8F0; /* 温かみのあるオフホワイト */
    --bg-white: #ffffff;
    --border-color: #EFEFEF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    /* 50代向けにベースフォントサイズを17pxに拡大（通常は15〜16px） */
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 17px; 
    color: var(--text-main);
    line-height: 1.8;
    background-color: var(--bg-white);
    padding-top: 80px; 
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

.inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
}

@media screen and (max-width: 768px) {
    body { font-size: 15px; padding-top: 70px; }
}


/* =========================================
   2. Common Components (人情味・安心感)
========================================= */
.sec-title {
    text-align: center;
    margin-bottom: 80px;
}
.sec-title h2 {
    font-size: 40px;
    font-weight: 900;
    color: var(--text-sab);
    line-height: 1.4;
    display: inline-block;
    position: relative;
}

.sec-title p {
    font-size: 24px;
    color: var(--text-sab);
    font-weight: bold;
    margin-bottom: 15px;
}

.btn-orange {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-orange);
    color: #fff;
    font-weight: bold;
    border-radius: 50px;
    padding: 20px 50px;
    font-size: 20px;
    box-shadow: 0 6px 15px rgba(252, 95, 0, 0.3);
    transition: 0.3s;
    text-align: center;
}
.btn-orange:hover {
    background: #e05400;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(252, 95, 0, 0.4);
}

.btn-green {
    border: solid 1px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-green);
    color: #fff;
    font-weight: bold;
    border-radius: 50px;
    padding: 15px 40px;
    font-size: 18px;
    box-shadow: 0 4px 10px rgba(0, 119, 55, 0.2);
    transition: 0.3s;
}
.btn-green:hover {
    background: #005823;
    transform: translateY(-2px);
}

.text-center { text-align: center; max-width: 480px; margin: 0 auto;}
.text-center p { font-size: 32px; font-weight: bold; margin-bottom: 20px; color: var(--text-sab); }
@media screen and (max-width: 768px) {
    .text-center p { font-size: 24px; }
}
.text-center span {
    text-shadow:
        2px  2px 0 var(--primary-green),
        -2px  2px 0 var(--primary-green),
        2px -2px 0 var(--primary-green),
        -2px -2px 0 var(--primary-green)
}

/* 蛍光ペン風ハイライト */
.marker {
    background: linear-gradient(transparent 60%, var(--accent-yellow) 0%);
    font-weight: 900;
}

@media screen and (max-width: 768px) {
    .sec-title { margin-bottom: 40px; }
    .sec-title h2 { font-size: 24px; }
    .sec-title p { font-size: 16px; }
    .btn-orange { width: 100%; padding: 15px; font-size: 18px; }
}


/* =========================================
   3. Header
========================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    z-index: 100;
    height: 80px;
    display: flex;
    align-items: center;
}
.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
.header__logo {
    font-size: 26px;
    font-weight: 900;
    color: var(--primary-green);
    display: flex;
    align-items: center;
    gap: 5px;
}
.header__logo .material-icons {
    font-size: 32px;
    color: var(--accent-orange);
}
.header__nav {
    display: flex;
    align-items: center;
    gap: 24px;
}
.header__nav a {
    font-weight: 700;
    font-size: 16px;
    color: var(--text-main);
}
.header__nav a:hover {
    color: var(--primary-green);
}
.header__btn {
    background: var(--accent-orange);
    color: #fff !important;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: bold;
}
.header__btn:hover {
    background: #e05400;
}

@media screen and (max-width: 768px) {
    .header { height: 70px; }
    .header__nav { display: none; }
    .header__logo { font-size: 20px; }
}


/* =========================================
   4. MV (First View)
========================================= */
.mv {
    background: var(--bg-warm);
    padding: 70px 0 90px;
    position: relative;
}
.mv::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: #fff;
    border-radius: 40px 40px 0 0; /* 丸みを持たせて優しさを演出 */
}
.mv__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 2;
}
.mv__content {
    width: 55%;
}
.mv__content h1 {
    font-size: 36px;
    font-weight: 900;
    color: var(--text-main);
    line-height: 1.4;
    margin-bottom: 25px;
}
.mv__content p.lead {
    display: inline-block;
    font-size: 22px;
    color: var(--primary-green);
    font-weight: bold;
    margin-bottom: 15px;
    border: 2px solid var(--primary-green);
    padding: 5px 20px;
    border-radius: 50px;
    background: #fff;
}
.mv__content p.strong {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 35px;
    line-height: 1.6;
}
.mv__image {
    width: 45%;
    position: relative;
}
.mv__image img {
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 119, 55, 0.1);
}
.mv__badges {
    position: absolute;
    bottom: -30px;
    right: -20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}
.mv__badge {
    background: #fff;
    border-radius: 50px;
    padding: 15px 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: bold;
    font-size: 16px;
    color: var(--primary-green);
}
.mv__badge .material-icons {
    font-size: 24px;
    color: var(--accent-orange);
}

@media screen and (max-width: 768px) {
    .mv { padding: 40px 0 60px; }
    .mv__inner { flex-direction: column; }
    .mv__content, .mv__image { width: 100%; }
    .mv__content h1 { font-size: 24px; text-align: center; }
    .mv__content p.lead { font-size: 16px; display: block; text-align: center;}
    .mv__content p.strong { font-size: 14px; text-align: center; }
    .mv__content .text-center { text-align: center; }
    .mv__badges { position: relative; bottom: 0; right: 0; margin-top: 20px; }
}


/* =========================================
   5. Service (お悩み)
========================================= */
.service {
    padding: 80px 0 60px;
    background: #fff;
    background-image: url(/assets/images/top/top_kaitori_bg_01.jpg);
    background-size: cover;
    clip-path: polygon(0% 0%, 100% 0%, 100% 85%, 50% 100%, 0% 85%);
}

.service h2 { color: var(--text-sab); }

.problem-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    margin-bottom: 50px;
}

.problem-item {
    position: relative;
    background: #fff;
    border-radius: 16px;
    padding: 50px 60px;
    text-align: center;
    border: 2px solid var(--border-color);
    transition: 0.3s;
}

@media screen and (max-width: 768px) {
    .problem-item {
        border-radius: 8px;
    }
}

.problem-item::before {
    content: "";
    position: absolute;
    top: -13px;
    left: 17px;
    width: 33px;
    height: 28px;
    background-image: url(../img/quotation.png);
    background-repeat: no-repeat;
    background-size: contain;
}
@media screen and (max-width: 768px) {
    .problem-item::before {
    content: "";
    position: absolute;
    top: -8px;
    height: 16px;
    left: 15px;
    }
}

.problem-item .material-icons {
    color: var(--primary-green);
    font-size: 40px;
    margin-bottom: 15px;
    background: var(--bg-warm);
    padding: 15px;
    border-radius: 50%;
}
.problem-item p {
    font-size: 2rem;
    line-height: 1.6;
    margin: 0 auto;
}

@media screen and (max-width: 768px) {
    .problem-item p {
    font-size: 1.5rem;}
    }
.problem-item span {
    background: linear-gradient(transparent 75%, #FFEC80 70%);
}
.service-img {
    max-width: 600px;
    margin: 0 auto 40px;
    display: block;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.material-icons {
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
}

@media screen and (max-width: 768px) {
    .service { padding: 60px 0 40px; clip-path: polygon(0% 0%, 100% 0%, 100% 95%, 50% 100%, 0% 95%); }
    .problem-list { grid-template-columns: 1fr; gap: 15px; }
    .problem-item { display: flex; gap: 16px; align-items: center; padding: 16px 20px;}
    .problem-item .material-icons { margin-bottom: 0; }
}


/* =========================================
   6. Strengths & Compare (3つの強み・比較表)
========================================= */
.strengths {
    padding: 80px 0 60px;
    background: var(--bg-warm);
    border-radius: 40px 40px 0 0;
}
.strength-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}
.strength-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.04);
}
.strength-card__icon {
    margin-bottom: 20px;
}
.strength-card__icon .material-icons {
    font-size: 60px;
    color: var(--primary-green);
}
.strength-card h3 {
    font-size: 18px;
    color: var(--accent-orange);
    margin-bottom: 10px;
    font-weight: 900;
}
.strength-card h4 {
    font-size: 22px;
    color: var(--text-main);
    margin-bottom: 20px;
    line-height: 1.5;
}
.strength-card p {
    font-size: 16px;
    color: var(--text-light);
    text-align: left;
}

/* 比較表 */
.compare {
    background: #fff;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    max-width: 900px;
    margin: 0 auto 50px;
}
.compare h3 {
    text-align: center;
    font-size: 26px;
    margin-bottom: 40px;
    color: var(--text-main);
    font-weight: 900;
}
.compare-grid {
    display: flex;
    gap: 32px;
}
.compare-box {
    flex: 1;
    border-radius: 16px;
    padding: 24px;
    border: 3px solid;
}
.compare-box--bad {
    background: #fdf2f2;
    border-color: #f8b4b4;
}
.compare-box--good {
    background: #eef8f2;
    border-color: var(--primary-green);
    position: relative;
}
.compare-box--good::before {
    content: "おすすめ！";
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-orange);
    color: #fff;
    padding: 5px 20px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 16px;
}
.compare-box h4 {
    text-align: center;
    font-size: 22px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px dashed rgba(0,0,0,0.1);
}
.compare-box--bad h4 { color: #d32f2f; }
.compare-box--good h4 { color: var(--primary-green); }
.compare-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 17px;
    font-weight: bold;
}
.compare-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 2px solid rgba(0,0,0,0.1);
    font-size: 20px;
    font-weight: 900;
}
.compare-total span:last-child {
    font-size: 32px;
}

@media screen and (max-width: 768px) {
    .strengths { padding: 60px 0 40px; }
    .strength-list { grid-template-columns: 1fr; }
    .compare-grid { flex-direction: column; }
}

.sec_title p {
    text-shadow:
        1px  1px 0 var(--text-sab),
        -1px -1px 0 var(--text-sab),
        1px -1px 0 var(--text-sab),
        -1px  1px 0 var(--text-sab);
}
/* =========================================
   7. Results (買取り実績/売却事例)
========================================= */
.results {
    padding: 80px 0 60px;
}
.results h2 { color: var(--text-sab); }

.results-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}
.results-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid var(--border-color);
    transition: 0.3s;
}
.results-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-color: var(--primary-green);
}
.results-card__img {
    width: 100%;
    height: 200px;
    background-color: #eee;
    object-fit: cover;
}
.results-card__body {
    padding: 25px;
}
.results-card__tag {
    display: inline-block;
    background: var(--bg-warm);
    color: var(--primary-green);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 10px;
}
.results-card__title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--text-main);
    line-height: 1.4;
}
.results-card__price {
    background: #fdf5f0;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
}
.results-card__price p {
    display: flex;
    justify-content: space-between;
    font-size: 15px;
    margin-bottom: 5px;
    font-weight: bold;
}
.results-card__price p:last-child {
    margin-bottom: 0;
    color: var(--accent-orange);
    font-size: 18px;
    border-top: 1px dashed #ccc;
    padding-top: 5px;
    margin-top: 5px;
}
.results-card__desc {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
}

@media screen and (max-width: 768px) {
    .results { padding: 60px 0 40px; }
    .results-list { grid-template-columns: 1fr; gap: 20px; }
    .results-card__img { height: 180px; }
}


/* =========================================
   8. Flow (売却の流れ)
========================================= */
.flow {
    padding: 80px 0 60px;
    background: #fff;
    background-size: cover;
    background-image: url(/assets/images/top/top_service_bg_01.jpg);
}
.flow-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto 50px;
}
.flow-item {
    display: flex;
    align-items: center;
    background: var(--bg-warm);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    position: relative;
}
.flow-item:not(:last-child)::after {
    content: "▼";
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--primary-green);
    font-size: 30px;
    z-index: 2;
}
.flow-item__num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: var(--primary-green);
    color: #fff;
    border-radius: 50%;
    font-size: 28px;
    font-weight: 900;
    flex-shrink: 0;
    margin-right: 30px;
    font-family: 'Noto sans JP', serif;
}
.flow-item__body {
    flex-grow: 1;
}
.flow-item__body h3 {
    font-size: 22px;
    color: var(--primary-green);
    margin-bottom: 10px;
    font-weight: 900;
}
.flow-item__body p {
    font-size: 16px;
    color: var(--text-main);
}

@media screen and (max-width: 768px) {
    .flow { padding: 60px 0 40px; }
    .flow-item { text-align: center; padding: 25px 20px;}
    .flow-item__num { width: 60px; height: 60px; margin-right: 16px; margin-bottom: 20px; /* 余白追加 */ }
    .flow-item__body h3 { text-align: center; }
}


/* =========================================
   9. FAQ (SEO & 50代向け：常時表示カード型)
========================================= */
.faq {
    padding: 80px 0 60px;
    background: var(--bg-warm);
    border-radius: 40px 40px 0 0;
}
.faq-list {
    max-width: 860px;
    margin: 0 auto 40px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}
/* アコーディオンをやめ、常に開いた安心感のあるカード型へ */
.faq-card {
    background: #fff;
    border-radius: 20px;
    padding: 35px 40px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.04);
}
.faq-q {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    font-size: 20px;
    font-weight: 900;
    color: var(--text-main);
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 2px dashed var(--border-color);
}
.faq-q .icon-q {
    color: var(--accent-orange);
    font-size: 28px;
    font-family: 'Noto Serif JP', serif;
    line-height: 1;
}
.faq-a {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    font-size: 17px;
    color: var(--text-light);
    line-height: 1.8;
}
.faq-a .icon-a {
    color: var(--primary-green);
    font-size: 28px;
    font-family: 'Noto Serif JP', serif;
    line-height: 1;
    font-weight: 900;
}

@media screen and (max-width: 768px) {
    .faq { padding: 60px 0 40px; }
    .faq-card { padding: 25px 20px; }
    .faq-q { font-size: 18px; flex-direction: column; gap: 10px;}
    .faq-a { font-size: 15px; flex-direction: column; gap: 10px;}
}


/* =========================================
   10. Contact (フォーム)
========================================= */
.contact {
    padding: 80px 0 60px;
    background: #fff;
}
.contact-form {
    background: #fff;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 8px 10px rgba(0,0,0,0.08);
}
.form-group {
    margin-bottom: 16px;
}
.form-label {
    display: block;
    font-weight: bold;
    margin-bottom: 12px;
    font-size: 18px;
}
.req {
    background: #d32f2f;
    color: #fff;
    font-size: 13px;
    padding: 4px 8px;
    border-radius: 4px;
    margin-left: 10px;
    vertical-align: middle;
}
.form-control {
    width: 100%;
    padding: 18px; /* 50代がタップしやすいよう大きめに */
    border: 2px solid #ccc;
    border-radius: 8px;
    font-size: 18px; /* iOSのズーム防止と視認性向上 */
    font-family: inherit;
    background: #fafafa;
}
.form-control:focus {
    outline: none;
    border-color: var(--primary-green);
    background: #fff;
}
textarea.form-control {
    resize: vertical;
}
.radio-group {
    display: flex;
    gap: 30px;
}
.radio-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 18px;
}
.radio-label input[type="radio"] {
    width: 24px;
    height: 24px;
}
.form-submit {
    text-align: center;
    margin-top: 50px;
}
.btn-submit {
    width: 100%;
    max-width: 500px;
    background: var(--accent-orange);
    color: #fff;
    border: none;
    padding: 25px;
    border-radius: 50px;
    font-size: 24px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(252, 95, 0, 0.3);
    transition: 0.3s;
}
.btn-submit:hover {
    transform: scale(1.02);
    background: #e05400;
}
.contact-tel {
    text-align: center;
    margin-top: 40px;
    background: var(--bg-warm);
    padding: 16px;
    border-radius: 16px;
}
.contact-tel p {
    font-weight: bold;
    color: var(--text-main);
}
.contact-tel a {
    font-size: 32px;
    font-weight: 900;
    color: var(--primary-green);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

@media screen and (max-width: 768px) {
    .contact { padding: 60px 0 40px; }
    .contact-form { padding: 30px 20px; }
    .radio-group { flex-direction: column; gap: 15px; }
    .btn-submit { font-size: 20px; padding: 20px; }
    .contact-tel a { font-size: 24px; }
}