@charset "UTF-8";

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

body{
font-family:'Noto Sans JP',sans-serif;
color:#000;
line-height:1.8;
}

.logo img{
width:100%;
height:100%;
display:block;
}

img{
    width:100px;
    height:100px;
    object-fit:contain;
    margin:0px auto;
}

h2,h3{
color:#14254a;
}


.container{
width:min(1200px,90%);
margin:auto;
}

.section{
padding:90px 0;
}

.header{
background:#fff;
border-bottom:1px solid #eee;
position:sticky;
top:0;
z-index:100;
}

.header-inner{
display:flex;
justify-content:space-between;
align-items:center;
padding:20px 0;
}

.header-contact{
display:flex;
gap:15px;
align-items:center;
}

.header-contact small{
    display:block;
    font-size:12px;
    line-height:1.2;
}

.header-contact p{
    margin:2px 0;
    font-size:32px;
    font-weight:700;
    line-height:1;
    color:#14254a;
}

.btn-call{
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    width:130px;
    height:80px;
    background:#14254a;
    color:#fff;
    border-radius:10px;
    text-decoration:none;
}

.btn-call .icon{
    font-size:28px;
	margin-bottom: -5px;
}

.btn-call .text{
    font-size:14px;
    font-weight:700;
	margin-bottom: 10px;
}

.hero{
    position:relative;
    height:700px;
    overflow:hidden;
}

/* スライダー */
.hero-slider{
    position:absolute;
    inset:0;
}

.slide{
    position:absolute;
    inset:0;
    opacity:0;
    z-index:0;

    animation:heroFade 20s infinite;
}

.slide img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.slide:nth-child(1){
    animation-delay:0s;
}

.slide:nth-child(2){
    animation-delay:4s;
}

.slide:nth-child(3){
    animation-delay:8s;
}

.slide:nth-child(4){
    animation-delay:12s;
}

	.slide:nth-child(4) img{
    object-position:center bottom;
}

.slide:nth-child(5){
    animation-delay:16s;
}

/* フェード */
@keyframes heroFade{

    0%{
        opacity:0;
    }

    5%{
        opacity:1;
    }

    25%{
        opacity:1;
    }

    30%{
        opacity:0;
    }

    100%{
        opacity:0;
    }

}


.hero-overlay{
    position:absolute;
    inset:0;

    background:
    linear-gradient(
        rgba(0,0,0,.45),
        rgba(0,0,0,.35)
    );

    z-index:1;
}

.hero .container{
    position:relative;
    z-index:2;
    height:100%;
}

.hero-content{
	max-width:850px;
    height:100%;
    display:flex;
    flex-direction:column;
    justify-content:center;
    color:#fff;
}

.hero-content h1{
    font-size:clamp(2.5rem,5vw,4.2rem);
    line-height:1.4;
    margin-bottom:30px;
    font-family:"Noto Serif JP", serif;
}

.hero-content p{
    font-size:1.4rem;
    line-height:2;
    margin-bottom:40px;
}

.section-title{
text-align:center;
font-family:'Noto Serif JP',serif;
font-size:30px;
margin-bottom:60px;
}

.left{
text-align:left;
}

.service-grid,
.reason-grid,
.flow-grid{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:30px;
}

.card{
padding:40px 25px;
border:1px solid #ddd;
text-align:center;
}

.section-title{
    position:relative;
    text-align:center;
    padding-bottom:15px;
}

/* 下線 */
.section-title::after{
    content:"";
    position:absolute;
    left:50%;
    bottom:0;
    transform:translateX(-50%);

    width:50px;
    height:2px;

    background:#14254a;
}

.text-outer,.text{
position:relative;
text-align:center;
}

/* 矢印 */
.text-outer:not(:last-child)::after{
    content:"›";
    position:absolute;
    top:50%;
    right:-25px;
    transform:translateY(-50%);
    font-size:70px;
    color:#14254a;
    font-weight:300;
    line-height:1;
}

.text-outer:not(:last-child)::after{
    content:"›";
    position:absolute;
    top:80px;
    right:-25px;

    font-size:70px;
    color:#14254a;
    font-weight:300;
}



.contact{
background:#f2f2f2;
padding:60px 0;
}

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

.contact p{
    margin:0 0 15px;
    line-height:1.8;
    font-size:1rem;
}

.contact h2{
    margin:0;
    font-size:2.8rem;
    font-weight:700;
    line-height:1.2;
}

.contact h2 br,.contact p br{
    display:none;
}

.contact h2 span:last-of-type{
    margin-left:40px;
}

/* TEL・FAXだけ小さく */
.contact h2 span{
    font-size:1rem;
    font-weight:400;
    vertical-align:middle;
    margin-right:6px;
}


/* Footer */

.footer{
    background:#14254a;
    color:#fff;
    padding:60px 0 20px;
}

.footer-content{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:60px;
}

.footer-info{
    flex:1;
}

.footer-info h4{
    font-size:2rem;
    margin-bottom:25px;
    font-family:"Noto Serif JP", serif;
    position:relative;
    padding-bottom:15px;
}

.footer-info h4::after{
    content:"";
    position:absolute;
    left:0;
    bottom:0;
    width:50px;
    height:2px;
    background:#fff;
}

.footer-info p{
    line-height:2;
    font-size:1rem;
    margin:0;
}

.footer-map{
    flex:1;
}

.footer-map iframe{
    width:100%;
    height:320px;
    border:0;
    border-radius:10px;
}

.copyright{
    margin-top:50px;
    padding-top:20px;
    border-top:1px solid rgba(255,255,255,.2);
    text-align:center;
    font-size:.9rem;
    color:rgba(255,255,255,.8);
}


/* レスポンシブ */
@media(max-width:768px){

.header-inner{
flex-direction:column;
gap:15px;
}
	

.hero-inner,
.about-inner{
grid-template-columns:1fr;
}

.header-contact p{
    font-size:28px;
}
	
.btn-call{
    width:110px;
    height:65px;
}

.btn-call .icon{
    font-size:25px;
}

.btn-call .text{
    font-size:12px;
}

    .hero{
        height:550px;
    }

    .hero-content{
        text-align:center;
        align-items:center;
    }

    .hero-content h1{
        font-size:1.9rem;
		letter-spacing: -2px;
    }

    .hero-content p{
        font-size:1rem;
    }

    .hero-button{
        font-size:1.1rem;
        padding:14px 30px;
    }

.service-grid,
.reason-grid,
.flow-grid{
grid-template-columns:1fr;
}
	
.text-outer:not(:last-child)::after{
display:none;
}

 .contact{
        padding:40px 0;
    }

    .contact-inner{
        flex-direction:column;
        text-align:center;
    }

    .contact p{
        font-size:.95rem;
    }

    .contact h2{
        font-size:1.8rem;
        line-height:1.6;
    }

    .contact h2 span{
        font-size:.85rem;
    }
	    .contact h2 br,.contact p br{
        display:block;
    }
	
	    .contact h2 span:last-of-type{
        margin-left:0;
    }
	
	    .footer{
        padding:50px 0 20px;
    }

    .footer-content{
        flex-direction:column;
        gap:35px;
    }

    /* 見出しは中央 */
    .footer-info h4{
        text-align:center;
    }

    .footer-info h4::after{
        left:50%;
        transform:translateX(-50%);
    }

    /* 本文だけ左揃え */
    .footer-info p{
        text-align:left;
        max-width:320px;
        margin:25px auto 0;
        line-height:2;
    }


    .footer-map iframe{
        height:250px;
    }

    .copyright{
        margin-top:35px;
        font-size:.8rem;
    }

}

/* CSS Document */



