/* ======================================================
   北浦運送株式会社
   style.css
====================================================== */

/* ---------- リセット ---------- */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:"Noto Sans JP",sans-serif;

    color:#333;

    line-height:1.8;

    background:#ffffff;

}

img{

    max-width:100%;

    display:block;

}

a{

    text-decoration:none;

    color:inherit;

}

ul{

    list-style:none;

}

.container{

    width:90%;

    max-width:1200px;

    margin:auto;

}

/* ---------- ヘッダー ---------- */

header{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    background:#fff;

    box-shadow:0 3px 10px rgba(0,0,0,.08);

    z-index:999;

}

header .container{

    display:flex;

    justify-content:space-between;

    align-items:center;

    height:90px;

}

.logo h1{

    font-size:30px;

    color:#003366;

    font-weight:700;

}

.logo p{

    font-size:12px;

    color:#777;

    letter-spacing:2px;

}

nav ul{

    display:flex;

    gap:35px;

}

nav a{

    font-weight:700;

    transition:.3s;

}

nav a:hover{

    color:#005bac;

}

/* ---------- メイン画像.hero-text ---------- */

.hero{

    height:100vh;

    background:url("../images/top.jpg") center center/cover no-repeat;

    position:relative;

    margin-top:90px;

}

.hero-overlay{
    width:100%;
    height:100%;
    background:transparent;
    display:flex;
    justify-content:flex-start;
    align-items:center;
    text-align:left;
    color:#fff;
}

.hero-text h2{

    font-size:58px;

    line-height:1.4;

    margin-bottom:30px;

    text-shadow:0 3px 15px rgba(0,0,0,.4);

}

.hero-text p{

    font-size:26px;

    margin-bottom:40px;

}

.btn{

    display:inline-block;

    padding:16px 40px;

    background:#f6b400;

    color:#fff;

    font-weight:bold;

    border-radius:50px;

    transition:.3s;

}

.btn:hover{

    background:#003366;

}

/* ---------- 共通タイトル ---------- */

section{

    padding:100px 0;

}

section h2{

    text-align:center;

    color:#003366;

    font-size:40px;

    margin-bottom:60px;

    position:relative;

}

section h2::after{

    content:"";

    width:80px;

    height:4px;

    background:#f6b400;

    display:block;

    margin:20px auto 0;

}
/*======================================================
サービス紹介
======================================================*/

.service{

    background:#f8f9fb;

}

.service-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:35px;

}

.service-card{

    background:#fff;

    border-radius:12px;

    overflow:hidden;

    box-shadow:0 8px 25px rgba(0,0,0,.08);

    transition:.3s;

}

.service-card:hover{

    transform:translateY(-8px);

    box-shadow:0 15px 35px rgba(0,0,0,.15);

}

.service-card img{

    width:100%;

    height:300px;

    object-fit:cover;

}

.service-card h3{

    color:#003366;

    font-size:24px;

    padding:25px 25px 10px;

}

.service-card p{

    padding:0 25px 30px;

    line-height:1.9;

}

/*======================================================
保有車両
======================================================*/

.vehicle{

    background:#ffffff;

}

.vehicle-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:35px;

}

.vehicle-card{

    background:#fff;

    border-radius:12px;

    overflow:hidden;

    box-shadow:0 8px 25px rgba(0,0,0,.08);

    transition:.3s;

}

.vehicle-card:hover{

    transform:translateY(-8px);

}

.vehicle-card img{
    width:100%;
    height:250px;
    object-fit:cover;
}

.vehicle-card .crane-image{
    width:110%;
    height:400px !important;
    object-fit:contain !important;
    background:#fff;
    display:block;
}


.vehicle-card h3{

    padding:25px;

    color:#003366;

    font-size:24px;

}

.vehicle-card p{

    padding:0 25px 30px;

}

/*======================================================
選ばれる理由
======================================================*/

.reason{

    background:#003366;

    color:#fff;

}

.reason h2{

    color:#fff;

}

.reason-grid{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:30px;

}

.reason-card{

    background:rgba(255,255,255,.08);

    padding:35px;

    border-radius:10px;

}

.reason-card h3{

    color:#ffd54f;

    margin-bottom:15px;

    font-size:24px;

}

.reason-card p{

    line-height:1.9;

}
/*======================================================
私たちについて
======================================================*/

.about{

    background:#f8f9fb;

}

.about-box{

    display:flex;

    align-items:center;

    gap:50px;

}

.about-box img{
    width:40%;
    height:350px;
    object-fit:contain;
    object-position:center;
    border-radius:12px;
    box-shadow:0 8px 20px rgba(0,0,0,.15);
}
}

.about-box div{

    flex:1;

}

.about-box p{

    margin-bottom:20px;

    line-height:2;

}

/*======================================================
会社概要
======================================================*/

#company{

    background:#ffffff;

}

#company table{

    width:100%;

    border-collapse:collapse;

    background:#fff;

    box-shadow:0 8px 20px rgba(0,0,0,.08);

}

#company th{

    width:220px;

    background:#003366;

    color:#fff;

    padding:18px;

    text-align:left;

}

#company td{

    padding:18px;

    border-bottom:1px solid #ddd;

}

/*======================================================
お問い合わせ
======================================================*/

#contact{

    background:#003366;

    color:#fff;

    text-align:center;

}

#contact h2{

    color:#fff;

}

#contact p{

    font-size:18px;

    margin-bottom:30px;

}

#contact .btn{

    margin:10px;

}

/*======================================================
フッター
======================================================*/

footer{

    background:#001b38;

    color:#fff;

    text-align:center;

    padding:30px 20px;

    font-size:14px;

}

/*======================================================
レスポンシブ
======================================================*/

@media(max-width:900px){

header .container{

    flex-direction:column;

    height:auto;

    padding:20px 0;

}

nav ul{

    flex-wrap:wrap;

    justify-content:center;

    gap:15px;

}

.hero{

    margin-top:130px;

    height:70vh;

}

.hero-text h2{

    font-size:34px;

}

.hero-text p{

    font-size:18px;

}

.service-grid,
.vehicle-grid{

    grid-template-columns:1fr;

}

.reason-grid{

    grid-template-columns:1fr;

}

.about-box{

    flex-direction:column;

}

.about-box img{

    width:100%;

}

#company th,
#company td{

    display:block;

    width:100%;

}

section{

    padding:70px 0;

}

section h2{

    font-size:30px;

}
.service-card img.piano-image{
    width:100%;
    height:330px !important;
    object-fit:cover;
    object-position:center;
}
.vehicle-card .crane-image{
    width:100%;
    height:300px;
    object-fit:contain !important;
    background:#fff;
    display:block;
}
@media (max-width: 768px){

    /* =========================
       スマホ版トップ
    ========================= */

    .hero{
        height:500px;
        min-height:500px;
        margin-top:110px;

        background-image:url("../images/top.jpg");
        background-size:contain;
        background-position:center bottom;
        background-repeat:no-repeat;
        background-color:#fff;

        position:relative;
    }


    .hero-overlay{
        width:100%;
        height:100%;
        padding:0 15px;

        display:flex;
        justify-content:flex-start;
        align-items:flex-start;

        text-align:center;
    }


    .hero-text{
        width:100%;
        max-width:100%;

        margin-top:15px;

        position:relative;
        z-index:2;
    }


    /* メイン文字 */
    .hero-text h2{
    font-size:20px !important;
    line-height:1.5;
    margin-bottom:10px;
    color:#003366 !important;
    text-shadow:0 2px 6px rgba(255,255,255,.9);
}

.hero-text p{
    font-size:12px !important;
    line-height:1.5;
    margin-top:-5px;
    margin-bottom:18px;
    color:#003366 !important;
}

.hero-text .btn{
    display:block;
    width:max-content;
    margin-left:0;
    margin-right:auto;

    position:relative;
    top:0;

    padding:10px 22px;
    font-size:14px;
    z-index:5;
}
}
    }

}
}
}

}

}

}

}