/* about_meiyo.css : 「明洋情報システムについて」ページ専用CSS
   ヘッダー／グローバルナビ／フッターは site-common.css で管理する。 */
:root{
 --navy:#102a43;--navy2:#173f5f;--blue:#1769aa;--blue2:#2f80c7;
 --sky:#eef7ff;--sky2:#f7fbff;--text:#25313c;--sub:#627181;
 --line:#dfe7ee;--green:#2f8f75;--orange:#e58b2a;
 --shadow:0 12px 34px rgba(22,55,82,.09)
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;color:var(--text);background:#fff;line-height:1.85;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans JP","Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif}
a{color:var(--blue)}
.wrap{width:min(1080px,calc(100% - 34px));margin:auto}
.breadcrumb{padding:17px 0;color:#7c8995;font-size:.86rem}.breadcrumb a{color:#687785;text-decoration:none}

/* hero */
.hero{position:relative;overflow:hidden;color:#fff;background:radial-gradient(circle at 85% 16%,rgba(91,199,165,.18),transparent 27%),radial-gradient(circle at 68% 88%,rgba(255,199,96,.16),transparent 30%),linear-gradient(135deg,#102a43 0%,#174f78 58%,#1769aa 100%)}
.hero-inner{width:min(1080px,calc(100% - 34px));margin:auto;padding:78px 0 74px;display:grid;grid-template-columns:1.15fr .85fr;gap:54px;align-items:center}
.hero-kicker{margin:0 0 12px;color:#abd9f3;font-size:.8rem;font-weight:800;letter-spacing:.15em}
.hero h1{margin:0 0 18px;font-size:clamp(2.2rem,5vw,3.65rem);line-height:1.2}
.hero h1 span{display:block;margin-top:10px;color:#d9effb;font-size:.43em;font-weight:650}
.hero .lead{margin:0;color:#eaf5fb;font-size:1.08rem}
.history-panel{padding:26px;border:1px solid rgba(255,255,255,.22);border-radius:20px;background:rgba(255,255,255,.10);box-shadow:0 24px 60px rgba(0,0,0,.15);backdrop-filter:blur(8px)}
.history-panel .year{font-size:2.6rem;font-weight:850;line-height:1;color:#fff}
.history-panel .year-label{margin:6px 0 20px;color:#cfe8f6;font-size:.85rem}
.history-line{padding:13px 0;border-top:1px solid rgba(255,255,255,.16)}
.history-line strong{display:block;color:#fff}.history-line span{color:#d5e7f1;font-size:.84rem}

/* common */
.section{padding:72px 0}.section.soft{background:var(--sky2)}.section.blue{background:linear-gradient(180deg,#f1f8fe,#fff)}
.eyebrow{display:inline-flex;align-items:center;gap:8px;margin-bottom:11px;color:var(--blue);font-size:.78rem;font-weight:800;letter-spacing:.14em}
.eyebrow:before{content:"";width:28px;height:2px;background:var(--blue2)}
.section-title{margin:0 0 18px;color:var(--navy);font-size:clamp(1.65rem,3vw,2.25rem);line-height:1.45}
.section-lead{max-width:860px;margin:0 0 34px;color:#586979;font-size:1.02rem}
p{margin:0 0 1.2em}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:34px;align-items:start}

/* cards */
.card-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.card{padding:27px 24px;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:0 7px 22px rgba(22,55,82,.05)}
.card-icon{width:49px;height:49px;margin-bottom:16px;display:grid;place-items:center;border-radius:13px;background:#eaf5fd;font-size:1.4rem}
.card:nth-child(2) .card-icon{background:#eef8ef}.card:nth-child(3) .card-icon{background:#fff5e8}.card:nth-child(4) .card-icon{background:#f0efff}.card:nth-child(5) .card-icon{background:#eef8f7}.card:nth-child(6) .card-icon{background:#fff0f4}
.card h3{margin:0 0 8px;color:var(--navy);font-size:1.08rem}.card p{margin:0;color:#60717f;font-size:.92rem}

/* philosophy */
.statement{padding:40px;border-radius:20px;color:#fff;background:linear-gradient(135deg,var(--navy),var(--navy2));box-shadow:var(--shadow)}
.statement h2{margin:0 0 14px;font-size:clamp(1.6rem,3vw,2.15rem)}.statement p{color:#dcebf4}
.check-list{list-style:none;padding:0;margin:0}.check-list li{position:relative;padding:11px 0 11px 34px;border-bottom:1px dashed #dce5ec}
.check-list li:before{content:"✓";position:absolute;left:2px;top:11px;width:22px;height:22px;display:grid;place-items:center;border-radius:50%;background:var(--blue);color:#fff;font-size:.75rem;font-weight:800}

/* company table */
.company-box{overflow:hidden;border:1px solid var(--line);border-radius:17px;background:#fff;box-shadow:0 7px 22px rgba(22,55,82,.04)}
.company-row{display:grid;grid-template-columns:190px 1fr;border-bottom:1px solid var(--line)}
.company-row:last-child{border-bottom:0}.company-key{padding:17px 20px;background:#f4f8fb;color:var(--navy);font-weight:800}.company-value{padding:17px 22px}
.business-list{margin:0;padding-left:1.3em}.business-list li{margin:4px 0}

/* bridge */
.bridge{display:grid;grid-template-columns:1fr auto 1fr;gap:20px;align-items:center}
.bridge-card{padding:30px;border:1px solid var(--line);border-radius:17px;background:#fff;text-align:center}
.bridge-card .big{font-size:2rem;margin-bottom:8px}.bridge-card h3{margin:0 0 8px;color:var(--navy)}.bridge-card p{margin:0;color:#60717f;font-size:.91rem}
.bridge-arrow{font-size:1.8rem;color:var(--blue)}

/* CTA（フッター本体は site-common.css で管理） */
.contact-cta{padding:70px 0;color:#fff;text-align:center;background:linear-gradient(135deg,#0f263a 0%,#153d5b 60%,#1769aa 120%)}
.contact-inner{width:min(900px,calc(100% - 34px));margin:auto}.contact-label{margin:0 0 8px;color:#9fd8f5;font-size:.78rem;font-weight:800;letter-spacing:.14em}
.contact-cta h2{margin:0 0 15px;font-size:clamp(1.8rem,4vw,2.55rem)}.contact-cta p{color:#d9e9f2}
.button-row{margin-top:26px;display:flex;justify-content:center;flex-wrap:wrap;gap:12px}.btn{display:inline-block;padding:12px 24px;border-radius:9px;text-decoration:none;font-weight:800}
.btn-primary{color:var(--navy);background:#fff}.btn-secondary{color:#fff;border:1px solid rgba(255,255,255,.42);background:rgba(255,255,255,.07)}

@media(max-width:920px){
 .hero-inner{grid-template-columns:1fr}.card-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:700px){
 .hero-inner{padding:50px 0 54px}.section{padding:52px 0}.two-col,.card-grid{grid-template-columns:1fr}
 .company-row{grid-template-columns:1fr}.company-key{padding-bottom:7px}.company-value{padding-top:7px}
 .bridge{grid-template-columns:1fr}.bridge-arrow{transform:rotate(90deg);text-align:center}.statement{padding:29px 23px}
}


/* access */
.access-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:28px;align-items:stretch}
.access-info,.access-map{border:1px solid var(--line);border-radius:17px;background:#fff;box-shadow:0 7px 22px rgba(22,55,82,.05)}
.access-info{padding:28px}
.access-info h3{margin:0 0 18px;color:var(--navy);font-size:1.25rem}
.access-list{margin:0}
.access-list>div{display:grid;grid-template-columns:100px 1fr;gap:14px;padding:13px 0;border-bottom:1px solid var(--line)}
.access-list dt{color:var(--navy);font-weight:800}
.access-list dd{margin:0}
.access-note{margin-top:20px;padding:16px 18px;border-radius:12px;background:var(--sky);color:#43586a;font-size:.92rem}
.access-note strong{display:block;margin-bottom:5px;color:var(--navy)}
.access-note p{margin:0}
.access-map{overflow:hidden;min-height:390px}
.access-map iframe{display:block;width:100%;height:100%;min-height:390px;border:0}
@media(max-width:700px){
 .access-grid{grid-template-columns:1fr}
 .access-info{padding:22px 19px}
 .access-list>div{grid-template-columns:1fr;gap:3px}
 .access-map,.access-map iframe{min-height:330px}
}


/* =========================================================
   ACCESS MAP
   ========================================================= */

.access-section {
    padding-top: 70px;
    padding-bottom: 70px;
}

/* 説明文 */
.access-section .section-lead {
    max-width: 900px;
    margin-bottom: 35px;
    line-height: 1.9;
}

/* 左：会社情報 ／ 右：Google Map */
.access-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 480px;
    gap: 50px;
    align-items: start;
    margin-top: 30px;
}

/* 左側 */
.access-info {
    min-width: 0;
}

.access-info h3 {
    margin: 0 0 25px;
    font-size: 20px;
    font-weight: 700;
    color: #0b2942;
}

/* 所在地・最寄り駅・駅から */
.access-list {
    margin: 0;
}

.access-list > div {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(20, 80, 120, 0.15);
}

.access-list > div:first-child {
    border-top: 1px solid rgba(20, 80, 120, 0.15);
}

.access-list dt {
    margin: 0;
    font-weight: 700;
    color: #36566d;
}

.access-list dd {
    margin: 0;
    line-height: 1.8;
    color: #1d3445;
}

.access-list dd strong {
    color: #082b45;
}

/* Google Map */
.access-map {
    width: 100%;
    height: 330px;
}

.access-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 8px;
}

/* JR利用時の注意 */
.access-note {
    margin-top: 28px;
    padding: 20px 22px;
    background: rgba(255, 255, 255, 0.65);
    border-left: 4px solid #1675b6;
    border-radius: 0 6px 6px 0;
}

.access-note strong {
    display: block;
    margin-bottom: 8px;
    color: #0b2942;
}

.access-note p {
    margin: 0;
    line-height: 1.85;
}


/* =========================================================
   ACCESS MAP - Tablet / Smartphone
   ========================================================= */

@media screen and (max-width: 900px) {

    .access-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .access-map {
        height: 320px;
    }
}

@media screen and (max-width: 767px) {

    .access-section {
        padding-top: 45px;
        padding-bottom: 45px;
    }

    .access-section .section-lead {
        margin-bottom: 25px;
    }

    .access-grid {
        display: block;
        margin-top: 25px;
    }

    .access-info h3 {
        margin-bottom: 18px;
        font-size: 18px;
    }

    .access-list > div {
        display: block;
        padding: 13px 0;
    }

    .access-list dt {
        margin-bottom: 5px;
    }

    .access-list dd {
        line-height: 1.7;
    }

    .access-note {
        margin-top: 22px;
        padding: 18px;
    }

    .access-map {
        width: 100%;
        height: 280px;
        margin-top: 28px;
    }

    .access-map iframe {
        width: 100%;
        height: 280px;
    }
}



/* =========================================================
   ACCESS MAP - Smartphone 表示補正
   所在地・最寄り駅・駅からの内容を必ず表示
   ========================================================= */

@media screen and (max-width: 767px) {

    .access-list {
        display: block !important;
        width: 100% !important;
    }

    .access-list > div {
        display: block !important;
        width: 100% !important;
        padding: 14px 0 !important;
    }

    .access-list dt {
        display: block !important;
        width: 100% !important;
        margin: 0 0 7px 0 !important;
        padding: 0 !important;
        font-weight: 700;
    }

    .access-list dd {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: static !important;
        width: auto !important;
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
        margin: 0 !important;
        padding: 0 0 0 18px !important;
        font-size: 14px !important;
        line-height: 1.7 !important;
    }

    .access-list dd strong {
        display: inline !important;
        visibility: visible !important;
    }
}