@charset 'utf-8';
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
a{
    text-decoration: none;
    color: inherit;
}
a:hover{
    cursor: pointer;
    filter: brightness(60%);
}
ul, li{
    list-style: none;
}
img{
    width: 100%;
}
html{
    font-family: 'Sawarabi Gothic', sans-serif;
}
/* nav */
div.nav{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    color: #1F4493;
    text-shadow: 0 0 2px #fff;
}
.nav-in{
    display: flex;
    justify-content: space-between;
    width: min(95%, 1200px);
    margin-left: auto;
    margin-right: auto;
    margin-top: 15px;
    z-index: 99999;
    font-size: 20px;
}
nav{
    margin: auto 0;
}
nav ul{
    display: flex;
    gap: 20px;
}
nav ul li{
    align-items: center;
    text-shadow: 0 0 2px #fff;
}
.nav img{
    width: 20%;
    z-index: 9999;
}
.fa-solid.nav-btn{
    display: none;
}
.fa-solid.nav-btn-close{
    display: none;
}
.miura{
    font-size: 30px;
    font-weight: bold;
}
/* ファーストビュー */
.header{
    height: 100vh;
    background-image: url(../img/img/bg_top_pc.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}
.top-img{
    width: min(60%, 400px);
    position: absolute;
    right: 50px;
    bottom: 50px;
}
.top-text{
    height:100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.copy2{
    margin: 50px auto 50px 50px;
}
.copy{
    font-size: 45px;
    margin-left: 50px;
}
/* LINE */
.line{
    width: 300px;
    margin-left: 50px;
}
/* NEWS */
.news-items {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
}
.news-item {
  display: flex;
  padding: 20px 0 20px;
}
.news-item:not(:first-child){
  border-top: 1px solid #ddd;
}
.news-head {
  display: flex;
  width: 200px;
}
.news-date {
  width: 110px;
  padding-top: 3px;
}
.news-label{
  display: block;
  width: 90px;
  height: 32px;
  line-height: 32px;
  color: #fff;
  background: #1F4493;
  font-weight: bold;
  text-align: center;
  border-radius: 5px;
}
.news-title {
  width: calc(100% - 200px);
  padding-left: 30px;
  padding-top: 3px;
  line-height: 1.5;
}
.news-title span{
    font-weight: bold;
}
.news-title a{
    color: #1F4493;
}
.news-more{
    color: #005074;
    padding: 15px;
    text-align: right;
}
@media screen and (max-width: 480px) {
  .news-item {
    display: block;
    width: 95%;
    margin-left: auto;
    margin-right: auto;
  }
  .news-title {
    width: 100%;
    padding-left: 0;
    padding-top: 0;
    margin-top: 10px;
  }
}

/* 特別メニュー */
.title{
    background-color: #1F4493;
    margin-bottom: 50px;
}
.title h3{
    text-align: center;
    color: #fff;
    padding: 15px;
    font-size: 25px;
    letter-spacing: 0.5rem;
}
.main-text{
    width: min(95%, 1200px);
    text-align: center;
    margin: 30px auto;
}
.under-yellow{
    color: #1F4493;
    display: block;
    border-bottom: 5px solid #fed533;
    padding: 0 10px 5px;
    margin: auto;
    font-size: 25px;
    font-weight: bold;
    width: 14em;
    border-radius: 2px;
}
.btn{
    display: inline-block;
    background-color: #1F4493;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    padding: 10px 20px;
    margin: 20px auto;
    border-radius: 5px;
}
.price{
    font-weight: bold;
    font-size: 25px;
    color: #1F4493;
}
.price span{
    border-bottom: 5px solid #fed533;
}
.fa-arrow-down{
    color: #1F4493;
    font-size: 30px;
    margin: 5px auto;
}
/* サービス紹介 */
.serv-main{
    width: min(95%, 900px);
    margin: 20px auto;
    padding: 20px 30px;
    background-color: #D3ECED;
    display: flex;
    justify-content: space-between;
}
.serv-main.reverce{
    flex-direction: row-reverse;
}
.serv-main h5{
    font-size: 25px;
    color: #1F4493;
    margin-bottom: 20px;
}
.serv-text{
    margin-right: 20px;
    position: relative;
}
.serv-main.reverce .serv-text{
    margin-left: 20px;
    margin-right: 0;
}
.more{
    position: absolute;
    bottom: 0;
    left: 0;
    color: #1F4493;
}
.serv-main img{
    width: min(100%, 400px);
}
/* サービス紹介スライダー */
.serv-slider{
    display: flex;
    margin: 30px auto;
}
.serv-slider img{
    width: 300px;
    margin: 20px;
    padding: 20px;
}
/* お問い合わせの流れ */
.underline{
    color: #1F4493;
    font-size: 30px;
    text-align: center;
    margin: 20px auto 50px;
    position: relative;
}
.underline::before{
    content: '';
    position: absolute;
    bottom: -15px;
    display: inline-block;
    width: 100px;
    height: 5px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    background-color: #D3ECED;
    border-radius: 2px;
}
.contact{
    width: min(95%, 1200px);
    margin: 30px auto;
    display: grid;
    grid-template-columns: repeat(4,1fr);
}
.contact p{
    color: black;
}
.con-main{
    width: 200px;
    margin: 0 auto;
}
.con-img{
    border: 3px solid #1F4493;
    padding: 10px;
    border-radius: 15px;
    text-align: center;
}
.con-img img{
    width: 150px;
    height: 150px;
}
.namver{
    display: block;
    background-color: #fed533;
    border-radius: 50px;
    text-align: left;
    width: 44px;
    height: 44px;
    font-size: 25px;
}
.con_title{
    font-weight: bold;
    font-size: 30px;
}
/* お問い合わせ */
#contact2{
    width: min(95%, 1200px);
    text-align: center;
    margin: 10px auto;
}
.con-text{
    font-size: 40px;
    font-weight: bold;
}
.con-text span{
    color: red;
}
.contact2 .line{
    margin: 30px auto;
}
.con-coment p{
    font-size: 25px;
    border: 3px solid #1F4493;
    display: inline-block;
    padding: 10px 50px;
    border-radius: 20px;
    height: 6em;
}
.con-coment{
    display: flex;
    justify-content: center;
    align-items: center;
}
.con-coment img{
    width: min(40%, 200px);
    border-radius: 50%;
    object-fit: cover;
    margin-left: 20px;
}
/* 地元応援 */
#main2{
    background-color: #D3ECED;
    margin-top: 50px;
}
#main2 h4{
    font-size: 40px;
    font-weight: bold;
    color: #1F4493;
    text-align: center;
    padding: 50px;
}
.main2-in{
    width: min(95%, 1200px);
    margin: 30px auto 0;
    padding-bottom: 50px;
    display: flex;
    justify-content: space-around;
    font-size: 25px;
    font-weight: bold;
}
.main2-list{
    margin-top: 20px;
    margin-bottom: 20px;
}
.main2-in img{
    width: min(80%, 400px);
    margin-top: 10px;
}
.jimoto{
    text-align: center;
    font-size: 30px;
    font-weight: bold;
}
/* footer */
footer{
    background-color: #1F4493;
    color: #fff;
}
.footer{
    margin:auto;
    padding: 30px 0 5px;
    width: min(95%, 1200px);
    display: flex;
    justify-content: space-between;
}
.footer img{
    width: 60px;
    margin: 15px;
}
.footer-con{
    display: flex;
    align-items: center;
    background-color: #fed533;
    border-radius: 15px;
    width: 315px;
    margin-top: 15px;
    color: #1F4493;
}
.footer-con p{
    font-size: 20px;
    font-weight: bold;
}
.footer-nav{
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin: 20px auto;
}
.footer-nav ul li{
    text-align: center;
}
.footer-under{
    text-align: center;
    margin-top: 50px;
}

.contact p{
    padding-left: 10px;
}
/* ------------------
ビジネスページ
-------------------- */
/* 三角 */
.business-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    border-top: 70vh solid #005074;  
    border-right: 70vw solid transparent;
    z-index: 99;
}
.business-header{
    background-image: url(../img/img/top_people.jpg);
}
.business-copy{
    z-index: 1000;
    text-shadow: 0 0 5px #ddd;
}

/* 企業理念 */
.mission{
    text-align: center;
}
.mission-title{
    margin: 50px;
}
.our-vision{
    text-align: center;
    color: #005074;
    line-height: 25px;
}
.our-vision span{
    font-size: 16px;
    font-weight: normal;
}
.mission-text p{
    width: min(95%, 1200px);
    margin: 30px auto;
}
/* 施工事例 */
h3.title{
    text-align: center;
    margin: 50px 0;
    padding-top: 40px;
    padding-bottom: 40px;
    font-size: 30px;
    line-height: 30px;
    color: #005074;
    text-shadow: 0 0 5px #fff;
}
.about-title{
    background-image: url(../img/img/title_service.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
h3.title span{
    font-size: 18px;
}
.about-in{
    width: min(95%,1200px);
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 30px;
}
.about-main{
    padding: 80px 60px;
    text-align: center;
}
.about-text{
    background-color: #fff;
    opacity: 80%;
}
.about-main1{
    background-image: url(../img/img/service_sisetu.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.about-main2{
    background-image: url(../img/img/service_bill2.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.about-main3{
    background-image: url(../img/img/serice_home.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
/* お問い合わせ */
.contact-title{
    background-image: url(../img/img/title_contact.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.con-btn{
    background-color: #fed533;
    color: #1F4493;
    width: min(500px,90%);
    border-radius: 20px;
    margin: 20px auto;
    padding-top: 5px;
    padding-bottom: 5px;
}
.con-btn img{
    width: 70px;
}
.con-main2{
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin: 0 auto;
    width: min(450px,80%);
}
.con-main2 p{
    font-size: 30px;
    font-weight: bold;
}
/* 対応地域 */
.area-text{
    text-align:center;
    font-weight: bold;
    font-size: 25px;
    color: #005074;
    width: min(95%, 1200px);
    margin: 0 auto;
}
.area img{
    width: min(500px, 80%);
    margin: 40px auto;
    display: block;
}
/* -------------
下層ページ
--------------- */
/* 会社概要 */
.sub-header{
    height: 70px;
}
.about-table{
    width:350px;
    text-align: left;
    border-collapse: collapse;
    margin: 20px auto 50px;
   }
   th {
    padding: 10px;
    border-bottom: solid 1px #748ca5;
   }
   
   td {
    padding: 10px;
    border-bottom: solid 1px #748ca5;
   }
iframe{
    width: 100vw;
    height: 400px;
}
.greeting{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}
.greeting img{
    width: 250px;
}
.greeting-text{
    width: min(500px, 90%);
    text-align: justify;
}
.shomei{
    font-weight: bold;
    margin-top: 20px;
    text-align: end;
}
/* ------------------
採用情報ページ
-------------------- */
.adopt-title{
    width: 100vw;
    height: 200px;
    background-image: url(../img/img/top_people.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
}
.adopt-title h3{
    color: #005074;
    text-align: center;
    font-size: 30px;
    line-height: 30px;
    text-shadow: 0 0 5px #fff;
}
.adopt-table{
    width: min(600px, 95%);
}
.adopt{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 30px auto;
}
.adopt .line{
    margin-left: 0;
}
.adopt .tel img{
    width: 60px;
    margin: 15px;
}
.adopt-p{
    margin:20px 5px;
    font-weight: bold;
    text-align: center;
}
@media(max-width:768px){
/* header */
    .header{
        background-image: url(../img/img/bg_top_sp.jpg);
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    }
    .top-text{
        justify-content: flex-start;
    }
    .copy{
        font-size: 30px;
        margin: 70px 10px 5px;
    }
    .copy2{
        font-size: 20px;
        margin: 0 10px;
    }
    .line{
        margin: 20px 10px;
    }
    .header-nav ul{
        display: none;
    }
    .fa-solid.nav-btn{
        display: block;
        margin: auto 10px;
    }
    .nav img{
        display: block;
        width: 50%;
    }
    .header-nav{
        position:fixed;
        z-index: 99999;
        /*ナビのスタート位置と形状*/
        top:0;
        right: -120%;
        width:100%;
        height: 100vh;/*ナビの高さ*/
        background:#1F4493;
        /*動き*/
        transition: all 0.6s;
    }
    .fa-solid.nav-btn-close{
        display: block;
        margin: auto 10px;
        position: fixed;
        top: 10px;
        right: 10px;
    }
    .header-nav.panelactive{
        right: 0;
    }
    .header-nav.panelactive ul{
        display: block;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 100px;
        color: #fff;
    }
    .top-img{
        position: absolute;
        right: 5px;
        bottom: 5px;
    }
/* サービス紹介 */
.serv-main{
    flex-direction: column;
}
.serv-main.reverce{
    flex-direction: column;
}
.serv-main.reverce .serv-text{
    margin-left: 0;
}
.serv-text{
    margin: 0 0 15px 0;
    height: 150px;
}
.serv-slider img{
    padding: 10px;
}
/* お問い合わせのながれ */
.contact{
    grid-template-columns: repeat(2,1fr);
}

/* お問い合わせ */
.con-coment{
    flex-direction: column;
}
.con-coment p{
    padding: 10px;
    font-size: 18px;
    margin-bottom: 15px;
}
.con-text{
    font-size: 30px;
}
/* 地元応援 */
.main2-in{
    flex-direction: column;
    align-items: center;
}
.main2-list{
    text-align: center;
}
/* footer */
    footer nav{
        display: block;
    }
    .footer{
        flex-direction: column;
    }
    .footer-nav{
        flex-direction: column;
        gap: 20px;
    }
    footer img{
        width: 50%;
    }
/* ---------------
法人向けページ
------------------ */
.about-in{
    grid-template-columns: repeat(1,1fr);
}
.business-header{
    background-image: url(../img/img/top_people.jpg);
}
}
@media(max-width:500px){
/* お問い合わせのながれ */
.contact{
    grid-template-columns: repeat(1,1fr);
}
/* 代表挨拶 */
.greeting{
    flex-direction: column-reverse;
}
}
/*----------------
お問い合わせ
----------------*/
.con-underline{
    font-size: 30px;
    padding-top: 20px;
    color: #1F4493;
}
.tel img{
    width: 60px;
    margin: 15px;
}