body {
    margin: 0;
    font-family: sans-serif;
    color: #333;
}

header {
    background: #003366;
    color: white;
    padding: 20px 40px;

    display: flex;
    justify-content: space-between;
    align-items: center;
}


.hero {

    background: #f5f8fb;

    text-align: center;

    padding: 50px 20px;
}

.hero h2 {
    font-size: 44px;
    margin-bottom: 20px;
}

.lead {
    font-size: 27px;
    font-weight: 600;
    color: #003366;
    margin-bottom: 30px;
}


/** ボタン機能 **/

.button {
    display: inline-block;
    margin-top: 30px;
    background: #003366;
    color: white;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
}

.service {

    padding:90px 30px;
    background:#f8fafc;
}

.cards {

    display: flex;

    gap: 10px;
}

.card {

    flex: 1;

    background: white;

    box-shadow: 0 0 10px rgba(0, 0, 0, .1);

    padding: 20px;

    border-radius: 10px;
}

footer {

    background: #003366;

    color: white;

    text-align: center;

    padding: 20px;
}

/** ロゴ関連 **/

.logo-area {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    width: 80px;
    height: 80px;
}

.logo-area h1 {
    margin: 0;
    font-size: 24px;
}


/** 画像 **/

.office {

    display: flex;

    align-items: center;

    gap: 40px;

    padding: 30px 80px 90px;

    background: #f8fafc;

}

.office-image {

    flex: 0.8;

}

.office-image img {

    width: 90%;

    display: block;

    margin: 0 auto;

    border-radius: 15px;

    box-shadow: 0 8px 25px rgba(0, 0, 0, .12);

}

/** セクションタイトル **/

.section-title{

    position:relative;

    display:block;

    width:fit-content;

    margin:0 auto 40px;

    color:#003366;

    font-size:34px;

    padding-bottom:18px;
}

.section-title::after{

    content:"";

    position:absolute;

    left:50%;

    bottom:0;

    transform:translateX(-50%);

    width:150px;

    height:4px;

    background:#C7A35A;

    border-radius:999px;
}

.contact{

    padding:90px 30px;

    background:#ffffff;

    text-align:center;
}

.office-text {

    flex: 1.2;

}


.office-text p {

    font-size: 18px;

    line-height: 2;

    text-align: center;

}

.parking {

    width: 85%;

    display: block;

    margin: 25px auto 0;

    border-radius: 15px;

}

.building{

    padding:90px 30px 50px;

    text-align:center;

    background:#f8fafc;
}


.building-image{

    width:85%;

    max-width:850px;

    border-radius:18px;

    box-shadow:0 10px 30px rgba(0,0,0,.15);

    margin-bottom:25px;
}

.building p{

    font-size:18px;

    line-height:2;

    max-width:800px;

    margin:0 auto;
}



@media(max-width:768px){

    .building{

        padding:50px 20px;
    }

    .building h2{

        font-size:28px;
    }

    .building p{

        font-size:16px;
    }

}

/** スマホ表示 **/

@media (max-width:768px) {

    header {
        flex-direction: column;
        padding: 20px;
    }

    .logo-area {
        margin-bottom: 20px;
    }

    nav a {
        margin: 0;
    }

    .hero h2 {
        font-size: 32px;
    }

    .lead {
        font-size: 22px;
    }

    .cards {
        flex-direction: column;
    }

    .office {
        flex-direction: column;
    }

    .office-image,
    .office-text {
        width: 100%;
    }

}

/* 電話ボタンの表示切り替え */

.phone-area{
    margin-top:30px;
    text-align:center;
}

.pc-phone{
    display:inline-block;
    background:#003366;
    color:white;
    padding:18px 35px;
    border-radius:10px;
}

.phone-title{
    font-size:15px;
}

.phone-number{
    margin-top:8px;
    font-size:30px;
    font-weight:bold;
}

.sp-phone{
    display:none;
}

@media(max-width:768px){

    .pc-phone{
        display:none;
    }

    .sp-phone{
        display:inline-block;
    }

}



/*==============================
業務風景
==============================*/

.works{

    padding:90px 30px;

    background:#fff;
}

.works-gallery{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

    width:100%;

    max-width:1600px;

    margin:0 auto;
}

.work-photo{

    width:100%;

    height:420px;

    object-fit:cover;

    border-radius:18px;

    box-shadow:0 12px 30px rgba(0,0,0,.15);

    transition:.35s;
}

.work-photo:hover{

    transform:translateY(-8px);

    box-shadow:0 20px 40px rgba(0,0,0,.2);
}

@media(max-width:768px){

    .works-gallery{

        grid-template-columns:1fr;
    }

    .work-photo{

        height:300px;
    }

}

.work1{
    object-position:30% center;
}

.work2{
    object-position:center 15%;
}

.work3{
    object-position:center center;
}


/*==============================
コメント・注意書き用
==============================*/

.works-note{

    max-width:1000px;

    margin:25px auto 0;

    text-align:right;

    color:#666;

    line-height:1.8;
}

.note-mark{

    font-size:0.6em;

    vertical-align:super;

    color:#777;

    font-weight:400;
}

.works-note p{

    margin:4px 0;

    font-size:18px;
}

.phone-note{

    margin-bottom:25px;

    font-size:22px;

    color:#444;

    font-weight:600;
}

.works-point{

    display:block;

    margin:35px auto 15px !important;

    text-align:center;

    font-size:30px !important;

    font-weight:700;

    color:#003366;

    line-height:1.7;
}

.works-note p:last-child{

    text-align:right;

    color:#777;

    font-size:18px !important;
}


/*==============================
所在地
==============================*/

.address-box{

    display:inline-block;

    margin-top:35px;

    padding:28px 45px;

    background:white;

    border-radius:16px;

    box-shadow:0 12px 30px rgba(0,0,0,.08);

    text-align:left;
}

.address-box h3{

    margin:0 0 15px;

    padding-bottom:10px;

    border-bottom:2px solid #C7A35A;

    color:#003366;
}

.address-box p{

    margin:0;

    line-height:1.9;

    font-size:17px;
}


/*==============================
エントランス案内
==============================*/

.entrance-note{

    margin-top:18px;

    text-align:center;

    font-size:18px;

    color:#333;

    line-height:2;
}
