/* ==========================================================
   松坂産業株式会社
   あんしん買取保証付仲介制度 LP
========================================================== */


/*==========================================================
Google Fonts
==========================================================*/

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700&family=Noto+Serif+JP:wght@500;700&display=swap');


/*==========================================================
Reset
==========================================================*/

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

html{
    scroll-behavior:smooth;
}

body{
    font-family:"Noto Sans JP",sans-serif;
    color:#222;
    background:#fbfdff;
    font-size:20px;
    line-height:1.9;
    overflow-x:hidden;
}

img{
    width:100%;
    display:block;
}

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

ul{
    list-style:none;
}

table{
    border-collapse:collapse;
    width:100%;
}


/*==========================================================
Common
==========================================================*/

.container{
    width:min(1120px,92%);
    margin:auto;
}

section{
    padding:80px 0;
    position:relative;
}

.section-title{
    text-align:center;
    margin-bottom:60px;
    position:relative;
}

.section-title span{
    display:inline-block;
    color:#3aa7e3;
    font-size:13px;
    letter-spacing:4px;
    font-weight:700;
    margin-bottom:12px;
}

.section-title h2{
    font-size:36px;
    color:#18467a;
    line-height:1.5;
    font-weight:700;
}

.section-title::after{
    content:"";
    width:70px;
    height:3px;
    background:#2F8FD0;
    display:block;
    margin:18px auto 0;
    border-radius:5px;
}

.section-lead{
    max-width:760px;
    margin:0 auto 50px;
    text-align:center;
    color:#666;
}


/*==========================================================
Typography
==========================================================*/

.hero h1{
    font-family:"Noto Serif JP",serif;
    font-weight:700;
    letter-spacing:.04em;
}

h2,h3{
    font-family:"Noto Sans JP",sans-serif;
    font-weight:700;
}


/*==========================================================
Button
==========================================================*/

.btn{
    display:inline-flex;
    justify-content:center;
    align-items:center;
    min-width:220px;
    height:58px;
    border-radius:40px;
    font-weight:700;
    transition:.35s;
    text-align:center;
    line-height:1.4;
}

.primary{
    background:linear-gradient(180deg,#FFE37B,#F8C943);
    color:#163e70;
    box-shadow:0 10px 25px rgba(0,0,0,.12);
}

.primary:hover{
    transform:translateY(-4px);
}

.secondary{
    background:#2f8fd0;
    color:#fff;
}

.secondary:hover{
    background:#257fc0;
}

.outline{
    border:2px solid #2f8fd0;
    background:#fff;
    color:#2f8fd0;
}

.outline:hover{
    background:#2f8fd0;
    color:#fff;
}

.btn-line{
    background:#06C755;
    color:#fff;
    box-shadow:0 10px 25px rgba(6,199,85,.25);
}

.btn-line:hover{
    background:#05a847;
    transform:translateY(-4px);
}

/*==========================================================
About イラスト・吹き出し
==========================================================*/

.illust-wrap{
    position:relative;
    display:inline-block;
    text-align:center;
    width:100%;
}

.illust-img{
    width:250px;
    height:auto;
    display:block;
    margin:0 auto;
}

.bubble{
    position:absolute;
    bottom:calc(100% - 20px);
    left:50%;
    transform:translateX(-50%);
    background:#fff;
    border:2px solid #2f8fd0;
    color:#18467A;
    font-size:14px;
    font-weight:700;
    padding:10px 18px;
    border-radius:20px;
    white-space:nowrap;
    box-shadow:0 4px 16px rgba(0,0,0,.10);
    opacity:0;
    transition:opacity .3s;
    pointer-events:none;
}

.bubble::after{
    content:"";
    position:absolute;
    top:100%;
    left:50%;
    transform:translateX(-50%);
    border:8px solid transparent;
    border-top-color:#2f8fd0;
}

/* PC：ホバーで表示 */
.illust-wrap:hover .bubble{
    opacity:1;
}

/* スマホ：常に表示 */
@media(max-width:768px){
    .bubble{
        opacity:1;
        position:relative;
        bottom:auto;
        left:auto;
        transform:none;
        margin:0 auto 16px;
        display:inline-block;
        white-space:normal;
        text-align:center;
    }
    .bubble::after{
        display:none;
    }
}

/*==========================================================
Contact 外林さんスタッフイラスト
==========================================================*/

.contact-inner{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:40px;
    flex-wrap:wrap;
}

.contact-staff{
    width:230px;
    height:auto;
    flex-shrink:0;
}

/*==========================================================
Company 外観写真
==========================================================*/

.company-photo{
    flex:0 0 320px;
}

.company-photo img{
    border-radius:16px;
    box-shadow:0 15px 40px rgba(0,0,0,.12);
    width:100%;
    height:260px;
    object-fit:cover;
    object-position:center;
}

/*==========================================================
背景交互＋斜め区切り
==========================================================*/

/* Problemを薄青に */
.problem{
    background:#f0f8ff;
}

/* Meritを薄青に */
.merit{
    background:#f0f8ff;
}

/* Reasonを薄青に */
.reason{
    background:#f0f8ff;
}

/* CTA前の斜め区切り（Comparisonの下） */
.comparison{
    padding-bottom:120px;
    clip-path:polygon(0 0, 100% 0, 100% 88%, 0 100%);
}

/* Contact前の斜め区切り（Leafletの下） */
.leaflet{
    padding-bottom:120px;
    clip-path:polygon(0 0, 100% 0, 100% 88%, 0 100%);
}

/* Responsive */
@media(max-width:768px){
    .contact-inner{
        flex-direction:column;
        gap:24px;
    }
    .contact-staff{
        width:120px;
    }
    .company-photo{
        flex:0 0 100%;
    }
    .comparison{
        clip-path:polygon(0 0, 100% 0, 100% 92%, 0 100%);
        padding-bottom:100px;
    }
    .leaflet{
        clip-path:polygon(0 0, 100% 0, 100% 92%, 0 100%);
        padding-bottom:100px;
    }
}


/*==========================================================
Header
==========================================================*/

.header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    z-index:999;
    background:rgba(255,255,255,.90);
    backdrop-filter:blur(12px);
    border-bottom:1px solid rgba(0,0,0,.05);
}

.header .container{
    height:70px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.logo-image{
    width:250px;
    height:auto;
    display:block;
}

.anshin-logo{
    width:420px;
    max-width:100%;
    height:auto;
    display:block;
    margin:0 auto;
}

.global-nav{
    display:flex;
    align-items:center;
    gap:34px;
}

.global-nav a{
    font-size:15px;
    font-weight:500;
    transition:.3s;
}

.global-nav a:hover{
    color:#2f8fd0;
}

.header-btn{
    background:#2f8fd0;
    color:#fff !important;
    padding:13px 24px;
    border-radius:40px;
}

.header-btn:hover{
    background:#2178b6;
}


/*==========================================================
Hero
==========================================================*/

.hero{
    position:relative;
    overflow:hidden;
    padding:170px 0 120px;
    background:linear-gradient(
        135deg,
        #f7fcff 0%,
        #e8f7ff 30%,
        #d6f0ff 65%,
        #bfe7ff 100%
    );
}

.hero::before{
    content:"";
    position:absolute;
    width:700px;
    height:700px;
    border-radius:50%;
    background:rgba(255,255,255,.65);
    top:-220px;
    right:-180px;
    filter:blur(20px);
}

.hero::after{
    content:"";
    position:absolute;
    width:520px;
    height:520px;
    background:rgba(255,255,255,.28);
    clip-path:polygon(50% 0%,100% 25%,82% 100%,18% 90%,0% 30%);
    right:40px;
    top:120px;
}

.hero-overlay{
    position:absolute;
    left:-120px;
    bottom:-120px;
    width:420px;
    height:420px;
    background:rgba(255,255,255,.22);
    clip-path:polygon(30% 0%,100% 20%,78% 100%,8% 82%,0% 18%);
}

.hero-container{
    position:relative;
    z-index:10;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:70px;
}

.hero-text{
    flex:1;
}

.hero-sub{
    display:inline-block;
    margin-bottom:20px;
    color:#2f8fd0;
    font-weight:700;
    letter-spacing:2px;
}

.hero h1{
    font-size:44px;
    color:#18467a;
    line-height:1.65;
    margin-bottom:28px;
}

.hero h1 strong{
    display:block;
    color:#2f8fd0;
    font-size:54px;
    margin-top:12px;
}

.hero p{
    max-width:620px;
    color:#222;
    margin-bottom:40px;
    font-size:18px;
}

.hero-buttons{
    display:flex;
    gap:18px;
    flex-wrap:wrap;
}

.hero-logo{
    flex:0 0 420px;
    position:relative;
}

.hero-logo::before{
    content:"";
    position:absolute;
    width:380px;
    height:380px;
    background:rgba(255,255,255,.75);
    border-radius:50%;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    filter:blur(8px);
}

.hero-logo img{
    position:relative;
    z-index:5;
    width:100%;
    filter:drop-shadow(0 15px 35px rgba(0,0,0,.12));
}


/*==========================================================
Problem
==========================================================*/

.problem{
    background:#ffffff;
}

.problem-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:30px;
    align-items:stretch; 
}

.problem-card{
    background:#fff;
    border-radius:20px;
    padding:36px;
    border:1px solid #e8eef5;
    box-shadow:0 12px 30px rgba(18,58,99,.06);
    transition:.35s;
    height:100%;
}

.problem-card:hover{
    transform:translateY(-6px);
    box-shadow:0 20px 40px rgba(18,58,99,.10);
}

.problem-card h3{
    color:#18467a;
    font-size:22px;
    margin-bottom:16px;
}

.problem-card p{
    color:#222;
}


/*==========================================================
About
==========================================================*/

.about{
    position:relative;
    overflow:hidden;
    background:linear-gradient(180deg,#ffffff 0%,#f5fbff 100%);
}

.about::before{
    content:"";
    position:absolute;
    width:460px;
    height:460px;
    right:-120px;
    top:60px;
    background:rgba(95,181,235,.08);
    clip-path:polygon(50% 0%,100% 25%,80% 100%,15% 90%,0% 30%);
}

.about .container{
    position:relative;
    z-index:2;
}

.about-content{
    display:grid;
    grid-template-columns:1.1fr .9fr;
    gap:60px;
    align-items:center;
}

.about-text .lead{
    font-size:20px;
    font-weight:700;
    color:#18467A;
    margin-bottom:24px;
    line-height:1.7;
}

.about-text p{
    margin-bottom:18px;
    color:#222;
}

.about-text .note{
    font-size:14px;
    color:#888;
    border-left:3px solid #2f8fd0;
    padding-left:12px;
    margin-top:24px;
    line-height:1.7; 
    word-break:keep-all;
}

/*.about-image img{
    border-radius:20px;
    box-shadow:0 18px 45px rgba(0,0,0,.08);
}/*



/*==========================================================
Merit
==========================================================*/

.merit{
    background:#ffffff;
}

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

.merit-card{
    background:#fff;
    border-radius:22px;
    padding:38px 30px;
    text-align:center;
    border:1px solid #e6edf5;
    box-shadow:0 15px 35px rgba(0,0,0,.05);
    transition:.3s;
}

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

.merit-card-number{
    width:58px;
    height:58px;
    margin:0 auto 24px;
    border-radius:50%;
    background:linear-gradient(135deg,#4DB5F2,#2F8FD0);
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:bold;
    font-size:22px;
}

.merit-card h3{
    color:#18467A;
    font-size:20px;
    margin-bottom:18px;
    line-height:1.6;
}

.merit-card p{
    color:#222;
    line-height:1.9;
}


/*==========================================================
Comparison
==========================================================*/

.comparison{
    background:#f8fcff;
}

/* ★修正：table-wrap でスクロール対応 */
.table-wrap{
    overflow-x:auto;
    border-radius:18px;
    box-shadow:0 18px 40px rgba(0,0,0,.08);
}

/* ★修正：compare-table でスタイル適用 */
.compare-table{
    min-width:600px;
    width:100%;
    background:#fff;
    border-collapse:collapse;
}

.compare-table thead th{
    background:#18467A;
    color:#fff;
    padding:20px 16px;
    font-size:16px;
    text-align:center;
    vertical-align:middle;
}

.compare-table thead th:first-child{
    width:200px;
    text-align:left;
    padding-left:24px;
}

.compare-table tbody td{
    padding:20px 16px;
    border-bottom:1px solid #edf2f7;
    text-align:center;
    vertical-align:middle;
    font-size:22px;
}

.compare-table tbody tr:nth-child(even){
    background:#fbfdff;
}

/* ★修正：行ラベル用クラス */
.row-label{
    text-align:left !important;
    font-weight:700;
    color:#18467A;
    font-size:16px !important;
    padding-left:24px !important;
}

/* ★修正：弊社制度列をハイライト */
.compare-table thead th:last-child{
    background:#2f8fd0;
}

.compare-table tbody td:last-child{
    background:rgba(47,143,208,.06);
}

.good{
    color:#2F8FD0;
    font-size:24px;
    font-weight:bold;
}

.normal{
    color:#F2B705;
    font-size:24px;
    font-weight:bold;
}

.bad{
    color:#B5BDC6;
    font-size:24px;
    font-weight:bold;
}

.comparison-note{
    margin-top:20px;
    font-size:13px;
    color:#888;
    text-align:center;
}


/*==========================================================
CTA（中間）
==========================================================*/

.cta{
    position:relative;
    overflow:hidden;
    color:#fff;
    background:linear-gradient(135deg,#2F8FD0 0%,#2B74B8 100%);
    text-align:center;
    padding:80px 0;
}

.cta::before{
    content:"";
    position:absolute;
    right:-120px;
    top:-80px;
    width:420px;
    height:420px;
    background:rgba(255,255,255,.08);
    clip-path:polygon(50% 0%,100% 25%,82% 100%,18% 92%,0% 28%);
}

.cta .container{
    position:relative;
    z-index:2;
}

.cta h2{
    color:#fff;
    font-size:30px;
    margin-bottom:16px;
}

.cta p{
    color:rgba(255,255,255,.9);
    margin-bottom:36px;
    font-size:17px;
}

.cta-buttons{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:20px;
}

.cta-buttons .primary{
    color:#18467A;
}

/*.cta-buttons .outline{
    border:2px solid #fff;
    background:transparent;
    color:#fff;
}

.cta-buttons .outline:hover{
    background:#fff;
    color:#18467A;
    transform:translateY(-4px);
}/*


/*==========================================================
Flow
==========================================================*/

.flow{
    position:relative;
    overflow:hidden;
    background:linear-gradient(180deg,#ffffff 0%,#eef8ff 100%);
    padding:90px 0;
}

.flow::after{
    content:"";
    position:absolute;
    right:-120px;
    bottom:-80px;
    width:380px;
    height:380px;
    background:rgba(61,167,232,.08);
    clip-path:polygon(35% 0%,100% 18%,80% 100%,10% 88%,0% 25%);
}

.flow-list{
    position:relative;
    z-index:2;
    max-width:860px;
    margin:auto;
    display:flex;
    flex-direction:column;
    gap:24px;
}

.flow-item{
    display:flex;
    gap:30px;
    align-items:flex-start;
    background:#fff;
    padding:30px;
    border-radius:22px;
    border:1px solid #e8eef5;
    box-shadow:0 15px 35px rgba(0,0,0,.05);
}

/* ★修正：flow-step クラスで番号を表示 */
.flow-step{
    flex:0 0 78px;
    height:78px;
    border-radius:50%;
    background:linear-gradient(180deg,#57b8ef,#2f8fd0);
    color:#fff;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:24px;
    font-weight:bold;
}

.flow-text h3{
    color:#18467A;
    margin-bottom:12px;
    font-size:22px;
}

.flow-text p{
    color:#222;
}


/*==========================================================
Reason
==========================================================*/

.reason{
    position:relative;
    overflow:hidden;
    background:#ffffff;
    padding:90px 0;
}

.reason::before{
    content:"";
    position:absolute;
    left:-120px;
    top:80px;
    width:420px;
    height:420px;
    background:rgba(61,167,232,.06);
    clip-path:polygon(50% 0%,100% 25%,82% 100%,18% 92%,0% 28%);
}

.reason-grid{
    position:relative;
    z-index:2;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.reason-card{
    background:#fff;
    border-radius:22px;
    padding:35px;
    border:1px solid #e7eef5;
    box-shadow:0 15px 35px rgba(22,62,112,.05);
    transition:.35s;
}

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

.reason-number{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:54px;
    height:54px;
    border-radius:50%;
    background:#2f8fd0;
    color:#fff;
    font-weight:bold;
    margin-bottom:22px;
    font-size:18px;
}

.reason-card h3{
    color:#18467A;
    font-size:22px;
    margin-bottom:18px;
}

.reason-card p{
    color:#222;
    line-height:1.9;
}


/*==========================================================
FAQ
==========================================================*/

.faq{
    background:#f8fcff;
    position:relative;
    overflow:hidden;
    padding:100px 0;
}

.faq::before{
    content:"";
    position:absolute;
    left:-100px;
    top:50px;
    width:350px;
    height:350px;
    background:rgba(47,143,208,.06);
    clip-path:polygon(50% 0%,100% 25%,82% 100%,18% 92%,0% 28%);
}

.faq-list{
    position:relative;
    z-index:2;
    max-width:900px;
    margin:0 auto;
}

.faq-item{
    background:#fff;
    border:1px solid #e7edf5;
    border-radius:18px;
    box-shadow:0 10px 25px rgba(0,0,0,.05);
    margin-bottom:28px;
    padding:30px 34px;
    transition:.3s;
}

.faq-item:hover{
    transform:translateY(-3px);
    box-shadow:0 16px 35px rgba(0,0,0,.08);
}

.faq-question{
    display:flex;
    align-items:flex-start;
    gap:16px;
    margin-bottom:20px;
    color:#18467A;
    font-size:20px;
    font-weight:700;
    line-height:1.6;
}

.faq-answer{
    display:flex;
    align-items:flex-start;
    gap:16px;
    color:#222;
    font-size:17px;
    line-height:2;
}

.faq-label{
    width:38px;
    height:38px;
    flex-shrink:0;
    display:flex;
    justify-content:center;
    align-items:center;
    border-radius:50%;
    background:#2f8fd0;
    color:#fff;
    font-size:20px;
    font-weight:700;
}

.faq-label.answer{
    background:#8bbddf;
}

.faq-question span:last-child,
.faq-answer span:last-child{
    flex:1;
}


/*==========================================================
Leaflet（チラシ）
==========================================================*/

.leaflet{
    background:#ffffff;
    padding:90px 0;
}

/* ★修正：2枚並べるグリッドレイアウト */
.leaflet-images{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:30px;
    max-width:900px;
    margin:0 auto 36px;
}

.leaflet-item{
    background:#fff;
    display:flex;
    justify-content:center;
    align-items:center;
    padding:16px;
}

.leaflet-item:hover{
    box-shadow:0 20px 45px rgba(0,0,0,.15);
}

.leaflet-item a{
    display:block;
    position:relative;
    overflow:hidden;
}

.leaflet-item a::after{
    content:"🔍 クリックで拡大";
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%) scale(.85);
    background:rgba(47,143,208,.92);
    color:#fff;
    font-size:15px;
    font-weight:700;
    padding:12px 22px;
    border-radius:40px;
    white-space:nowrap;
    opacity:0;
    transition:opacity .3s, transform .3s;
    pointer-events:none;
}

.leaflet-item:hover a::after{
    opacity:1;
    transform:translate(-50%,-50%) scale(1);
}

.leaflet-item img{
    width:100%;
    max-height:560px;
    object-fit:contain;
    display:block;
}

.leaflet-caption{
    display:block;
    text-align:center;
    padding:10px;
    background:#f0f7ff;
    color:#2f8fd0;
    font-size:13px;
    font-weight:700;
    letter-spacing:0.05em;
}

/* ★PDFリンクボタン */
.leaflet-pdf-link{
    text-align:center;
}


/*==========================================================
Contact
==========================================================*/

.contact{
    position:relative;
    overflow:hidden;
    color:#fff;
    background:linear-gradient(135deg,#2F8FD0 0%,#2B74B8 100%);
    padding:80px 0;
}

.contact::before{
    content:"";
    position:absolute;
    right:-120px;
    top:-80px;
    width:420px;
    height:420px;
    background:rgba(255,255,255,.08);
    clip-path:polygon(50% 0%,100% 25%,82% 100%,18% 92%,0% 28%);
}

.contact .container{
    position:relative;
    z-index:2;
}

.contact .section-title span{
    color:rgba(255,255,255,.7);
}

.contact .section-title h2{
    color:#fff;
}

.contact .section-title::after{
    background:rgba(255,255,255,.4);
}

.contact-lead{
    text-align:center;
    margin:0 auto 45px;
    max-width:720px;
    color:rgba(255,255,255,.9);
    font-size:17px;
}

.contact-buttons{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:20px;
}

.contact-buttons .btn{
    min-width:240px;
}

.contact-buttons .primary{
    color:#18467A;
}

/*.contact-buttons .outline{
    border:2px solid #fff;
    background:transparent;
    color:#fff;
}

.contact-buttons .outline:hover{
    background:#fff;
    color:#18467A;
}/*


/*==========================================================
Company
==========================================================*/

.company{
    background:#f8fcff;
    padding:80px 0;
}

/* グリッドで左（情報）右（写真）に分割 */
.company-wrapper{
    display:grid;
    grid-template-columns:1fr 380px; /* 写真を大きく */
    gap:50px;
    align-items:start;
}

/* ロゴ＋会社名を横並び・下部揃え */
.company-header{
    display:flex;
    align-items:flex-end;
    gap:12px;
    margin-bottom:24px;
}

.company-mark{
    flex:0 0 auto;
}

.company-mark img{
    width:50px;
    height:auto;
    display:block;
}

.company-header h2{
    font-size:26px;
    color:#18467A;
    margin:0;
    line-height:1;
}

/* h2はcompany-headerに移動したので非表示 */
.company-info h2{
    display:none;
}

.company-info p{
    color:#444;
    margin-bottom:18px;
    line-height:1.9;
}

.company-info ul{
    list-style:none;
    color:#444;
    line-height:2.2;
}

.company-info ul li{
    padding-left:1em;
    position:relative;
}

.company-info ul li::before{
    content:"▶";
    position:absolute;
    left:0;
    color:#2f8fd0;
    font-size:10px;
    top:6px;
}

.company-info a{
    color:#2f8fd0;
    text-decoration:underline;
}

/* 外観写真：枠なし・大きめ */
.company-photo img{
    width:100%;
    height:320px; /* 高さを大きく */
    object-fit:cover;
    object-position:center;
    border-radius:0; /* 枠・角丸なし */
    box-shadow:none; /* 影なし */
}

/* スマホ：縦並びに */
@media(max-width:768px){
    .company-wrapper{
        grid-template-columns:1fr;
    }
    .company-photo img{
        height:220px;
    }
}


/*==========================================================
Footer ★修正：中央揃え・見栄え改善
==========================================================*/

.footer{
    background:#18467A;
    color:#fff;
    padding:50px 0 30px;
}

.footer-inner{
    text-align:center;
}

.footer-company{
    font-size:20px;
    font-weight:700;
    margin-bottom:14px;
    color:#fff;
}

.footer-address{
    font-size:14px;
    color:rgba(255,255,255,.8);
    line-height:1.9;
    margin-bottom:28px;
}

.footer-address a{
    color:rgba(255,255,255,.8);
    text-decoration:underline;
}

.footer-nav{
    display:flex;
    justify-content:center;
    gap:28px;
    flex-wrap:wrap;
    margin-bottom:28px;
}

.footer-nav a{
    color:rgba(255,255,255,.75);
    font-size:14px;
    transition:.3s;
}

.footer-nav a:hover{
    color:#fff;
    opacity:1;
}

/* ★修正：著作権表示を中央揃え */
.footer-copy{
    font-size:13px;
    color:rgba(255,255,255,.55);
    border-top:1px solid rgba(255,255,255,.15);
    padding-top:22px;
    text-align:center;
}


/*==========================================================
Responsive
==========================================================*/

@media (max-width:1024px){

    .hero-container{
        flex-direction:column-reverse;
        gap:50px;
    }

    .hero{
        padding:140px 0 90px;
        text-align:center;
    }

    .hero p{
        margin:0 auto 40px;
    }

    .hero-buttons{
        justify-content:center;
    }

    .hero-logo{
        flex:0 0 auto;
        max-width:360px;
        margin:auto;
    }

    .about-content{
        grid-template-columns:1fr;
        gap:40px;
    }

    .merit-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .reason-grid{
        grid-template-columns:repeat(2,1fr);
    }

}

@media (max-width:768px){

    section{
        padding:70px 0;
    }

    .container{
        width:92%;
    }

    .section-title h2{
        font-size:28px;
    }

    .hero{
        padding:120px 0 70px;
    }

    .hero h1{
        font-size:30px;
        line-height:1.5;
    }

    .hero h1 strong{
        font-size:36px;
    }

    .hero p{
        font-size:16px;
    }

    .problem-grid{
        grid-template-columns:1fr;
    }

    .merit-grid{
        grid-template-columns:1fr;
    }

    .reason-grid{
        grid-template-columns:1fr;
    }

    .flow-item{
        flex-direction:column;
        align-items:flex-start;
    }

    .leaflet-images{
        grid-template-columns:1fr;
    }

    .compare-table{
        min-width:560px;
    }

    .contact-buttons{
        flex-direction:column;
        align-items:center;
    }

    .contact-buttons .btn{
        width:100%;
        max-width:420px;
    }

    .footer-nav{
        flex-direction:column;
        gap:14px;
    }

    .company-wrapper{
        flex-direction:column;
    }

}

@media (max-width:480px){

    .hero{
        padding-top:110px;
    }

    .hero h1{
        font-size:26px;
    }

    .hero h1 strong{
        font-size:32px;
    }

    .section-title h2{
        font-size:24px;
    }

    .btn{
        width:100%;
        max-width:100%;
    }

    .reason-card,
    .problem-card,
    .merit-card{
        padding:28px;
    }

    .flow-item{
        padding:24px;
    }

    .faq-item{
        padding:24px;
    }

    .faq-question{
        font-size:17px;
    }

}