* {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Google Sans", sans-serif;
   overflow-x: hidden;
}

li{
    list-style: none;
}
a{
    text-decoration: none;
}



/*セクションタイトル*/
.section-title {
  margin-bottom: 4.17rem;
}
.section-title h2 {
  font-size: 2.22rem;
  margin-bottom: 8px;
}
.section-title span {
  font-size: 0.875rem;
  color: #8D8D8D;
}


/*セクション共通*/
.inner {
  width: 1150px;
  margin: 0 auto;
}
#reform,#company{
    padding:5rem 0;
}

#policy,#message{
    padding:5rem 0;
    background: #EDF7FF;
}

#business .section-title,
#reform .section-title,
#company .section-title{
    text-align: center;
}

/*header*/
header{
    width:100%;
    background-color: white;
    padding:1.25rem 0;
    position: fixed;
    top:0;
    left:0;
    z-index: 9999;
}
.header-inner{
    width:85%;
    margin:0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo{
    height:80px;
    width:436.78px;
}
.logo h1 img{
    width:100%;
    height:100%;
}

.hamburger{
    display: none;
}

.header-inner nav ul{
    display: flex;
    align-items: center;
}
.header-inner nav li{
    font-weight: 600;
    margin-right:2.08vw;
}
.header-inner nav a{
    color:black;
    transition: .3s;
}
.header-inner nav a:hover{
    color:#044585;
}


/*メインビュー*/
.mv {
  position: relative;
  top:8.33vw;
  padding: 100px 0; /* 上下100px */
  background-image: url("/img/main_view.jpg"); 
  background-size: cover;
  background-position: center;
  overflow: hidden;
  width:100%;
  margin-bottom: 8.33vw;
}

/* 黒30%カバー */
.mv-bg {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.mv .inner {
  position: relative;
  z-index: 2;
  color: #fff;
}

/* キャッチコピー */
.mv-catch {
  font-size: 5rem;
  line-height: 1.2;
  margin-bottom: 40px;
  text-shadow: 0 0 10px #000000; 
}

/* 説明文 */
.mv-text p {
  font-size: 1rem;
  line-height: 2.5rem; 
  font-weight: 600;
  text-shadow: 0 0 10px #000000;
}




/*経営方針*/



/* リスト */
.policy-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* 白背景 */
.policy-item {
  background: #fff;
  width: 1035px;
  margin: 0 auto;
  padding: 20px 0;
  display: flex;
  align-items: center;
}

/* 左タイトル（170px / 1035px） */
.policy-title {
  width: calc(170 / 1035 * 100%);
  text-align: center;
  font-weight: bold;
}

/* 縦線 */
.policy-line {
  width: 1px;
  height: 46px;
  background: #8D8D8D;
}

/* 説明文（865px / 1035px） */
.policy-text {
  width: calc(865 / 1035 * 100%);
  padding: 0 25px;
  line-height: 1.8;
}



/*事業内容*/
#business {
  padding-top: 5rem;
}


/* グリッド */
.business-grid {
    display: flex;
    flex-wrap: wrap;
}

/* 各ブロック */
.business-item {
  position: relative;
  width:calc(100% / 2);
  background-size: cover;
  background-position: center;
  padding:5rem 0;
  display: flex;
  align-items:stretch;
  justify-content: center;
}
.business-item:first-of-type{
    background-image: url(img/business_1.jpg);
}
.business-item:nth-of-type(2){
    background-image: url(img/business_2.jpg);
}
.business-item:nth-of-type(3){
    background-image: url(img/business_3.jpg);
}
.business-item:last-of-type{
    background-image: url(img/business_4.jpeg);
}


/* 黒40% */
.business-item.overlay-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

/* 白80%（最後） */
.business-item.overlay-light::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.8);
}

/* 中身 */
.business-content {
  position: relative;
  z-index: 2;
  width: 560px;
  color: #fff;
}


.overlay-light .business-content {
  color: #000;
}

.business-content h3 {
  padding-bottom:1.25rem;
  text-align: center;
  border-bottom: solid 1px white;
}

.business-content ul {
    display: flex;
    align-items: center;
    justify-content:flex-start;
    flex-wrap: wrap;
}


/* 各項目 */
.business-content li {
  position: relative;
  padding-left: 16px;
  margin-right:2rem;
  margin-top:1.25rem;
}

/* ●ドット */
.business-content li::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 13px;
  height: 13px;
  background: #fff;
  border-radius: 50%;
}

.business-item:first-of-type .business-content ul{
    justify-content: center;
}
.business-item:nth-of-type(4) .business-content h3{
    text-align: left;
    border:none;
}
.business-item:nth-of-type(4) .business-content p{
    line-height:2.5rem;
}




/*代表挨拶*/

/* 本文＋画像 */
.message-content {
  display: flex;
  justify-content: space-between;
  gap: 60px;
}

/* テキスト側 */
.message-text {
  width: 55%;
}

.message-text p {
  line-height: 2;
  margin-bottom: 24px;
}

.message-sign {
  margin-top: 40px;
  font-weight: bold;
}

/* 画像側 */
.message-image {
  width: 40%;
}

.message-image img {
  width: 100%;
  display: block;
  box-shadow: 20px 20px 0 #B4B4B4;
}


/* リフォーム実績 */
.reform-block.after{
    margin-top:2.5rem;
}

.reform-block{
    position: relative;
}

.block-title {
  text-align: center;
  font-weight: bold;
  margin-bottom: 24px;
  padding:10px 0;
}

/* 施工前 */
.reform-block.before .block-title{
  background: #EDF7FF;
}

/* 施工後 */
.reform-block.after .block-title {
  background: #044585;
}

.reform-block.after .block-title {
  color: #fff;
}

/* Swiper */
.reform-swiper,
.after-swiper {
  width:100%;
  height:200px;
}

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

/* ナビゲーション */
.swiper-button-prev,
.swiper-button-next {
  color: #044585;
  width: 13px !important;
}
.swiper-button-next, .swiper-button-prev, .swiper-button-next, .swiper-button-prev{
  transform: translateY(60%) !important;
}
.swiper-button-next {

    right: -2.5rem !important;
}
.swiper-button-prev{
    left:-2.5rem !important;
 }





/*会社概要*/
.company-content {
  display: flex;
  justify-content: space-between;
  align-items: start;
}

/* 左画像 */
.company-image img {
  width: 550px;
  height: 350px;
  object-fit: cover;
  box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.16);
}

/* テーブル */
.company-table{
    width:540px;
}
.company-table table {
  width: 100%;
  border-collapse: collapse;
}

.company-table th,
.company-table td {
  padding: 20px 0;
  border-bottom: 1px solid #707070;
  font-size: 15px;
}

.company-table th {
  width: 180px;
  font-weight: 400;
  text-align: left;
}
.company-table tr:first-of-type th,
.company-table tr:first-of-type td{
    padding-top:0;
}
.company-table td a{
    color:#000;
}

/* HPリンク */
.company-table a {
  color: #044585;
  text-decoration: none;
}

.company-table a:hover {
  text-decoration: underline;
}




/*Googleマップ*/
#map{
    width:100%;
    height:350px;
}
#map iframe{
    width: 100% !important;
    height:100%;
}


/* =========================
   Footer
========================= */

.footer {
  background-color: #044586;
  padding: 60px 0 40px;
}
.footer .inner{
    text-align: center;
}

/* ナビ */
.footer-nav ul {
  display: flex;
  justify-content: center;
  gap: 2.22rem;
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
}

.footer-nav a {
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  font-size: 15px;
  transition: opacity 0.3s ease;
}

.footer-nav a:hover {
  opacity: 0.8;
}

/* コピーライト */
.footer-copy {
  color: #ffffff;
  font-size: 13px;
  opacity: 0.9;
}



/* =========================
   Back to Top
========================= */

.back-to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  width: 4rem;
  height: 4rem;
  background-color: #044585;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1000;
  transition: opacity 0.3s ease;
  opacity: 0;
  pointer-events: none;
}
.back-to-top.is-show {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top:hover {
  opacity: 0.8;
}

/* 矢印 */
.back-to-top span {
  position: relative;
  width: 1.625rem;
  height: 1.625rem;
}

.back-to-top span::before,
.back-to-top span::after {
  content: "";
  position: absolute;
  width: 1.375rem;
  height: 0.375rem;
  background-color: #ffffff;
  border-radius: 4px;
  top: 10px;
}

.back-to-top span::before {
  transform: rotate(-45deg);
  left: -13.5%;
}

.back-to-top span::after {
  transform: rotate(45deg);
  right: -13.5%;
}

/* 固定電話バナー */
.fixed-tel {
  position: fixed;
  bottom: 1rem;
  right: 5rem;
  background: #0b5fa5;
  color: #fff;
  text-decoration: none;
  height:4rem;
  padding:0 20px;
  z-index: 999;
  cursor:auto;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}
.fixed-tel.is-show{
  opacity: 1;
  visibility: visible;
}

.fixed-tel-inner {
  display: flex;
  flex-direction: column;
  line-height: 1.4;
}

.tel_number {
  font-size: 1.75rem;
  font-weight: bold;
}

.tel-time {
  font-size: 12px;
}


@media(max-width:1440px){
    /*セクション共通*/
    .inner {
        width:clamp(820px,79.86vw,1150px);
    }

    /*header*/
    .logo{
        width:30.33vw;
        height:auto;
    }

    /*経営方針*/
    .policy-item{
        width: 71.18vw;
    }

    /*会社概要*/
    .company-image img {
        width: 38.19vw;
        height: 24.31vw;
    }
    .company-table {
        width: 37.5vw;
    }
    .company-table th {
        width: 12.5vw;
    }

}

@media(max-width:1200px){
    html{
        font-size: 15px;
    }
    /*セクション共通*/
    .inner {
        width:clamp(700px,80.08vw,820px);
    }

    /*header*/
    .header-inner{
        width:95%;
    }

    /*経営方針*/
    .policy-item{
        width:100%;
    }

    /*事業案内*/
    .business-content{
        width: 80%;
    }

    /*会社概要*/
    .company-content{
        flex-flow: column;
    }
    .company-image {
        width: 100%;
    }
    .company-image img {
        width: 100%;
        height: 500px;
    }
    .company-table {
        width: 100%;
        margin-top: 5rem;
    }
    .company-table th {
        width: 250px;
    }

    
}

@media(max-width:1024px){
    html{
        font-size: 14px;
    }

    /*会社概要*/
    .company-image img{
        height: 48.83vw;
    }
}


@media(max-width:768px){
    html{
        font-size: 15px;
    }
    /*セクション共通*/
    .inner {
        width:90%;
    }

    /*header*/
    #header{
        padding:0;
        height:80px;
        position: fixed;
        top:0;
        left:0;
        z-index: 999999;
    }
    .header-inner{
        width:100%;
        height:100%;
    }
    .logo{
        width:250px;
    }
    .hamburger{
        display: block;
        width:80px;
        height:80px;
        background-color: #044585;
        position: relative;
        cursor: pointer;
    }
    .hamburger span{
        display: block;
        width:35px;
        height:2px;
        background-color: white;
        position: absolute;
        left:50%;
        transform: translateX(-50%);
        transition: .3s;
    }
    .hamburger span:first-of-type{
        top:35%;
    }
    .hamburger span:nth-of-type(2){
        top:50%;
    }
    .hamburger span:last-of-type{
        bottom:33%;
    }

    .hamburger.is-active span:nth-of-type(2){
        opacity: 0;
    }
    .hamburger.is-active span:first-of-type{
        transform: rotate(-45deg) translateX(-48%);
        left: 43%;
    }
    .hamburger.is-active span:last-of-type{
        transform: rotate(45deg) translateX(-47%);
        left: 42%;
    }

    .header-inner nav {
        position: fixed;
        top:80px;
        left:100vw;
        background-color: rgb(230 230 230);
        width:100vw;
        height:100vh;
        transition: .6s;
    }
    .header-inner nav ul{
        flex-flow: column;
        margin-top:5rem;
    }
    .header-inner nav ul li{
        margin-right:0;
        font-size: 1.2rem;
        margin-bottom:3.75rem;
    }
    .header-inner nav.is-open{
        left:0;
        z-index: 999;
    }


    /*メインビュー*/
    .mv{
        top: 80px;
        margin-bottom:80px;
    }

    /*経営方針*/
    .policy-title{
        width: 115px;
    }

    /*事業内容*/
    .business-grid{
        flex-flow: column;
    }
    .business-item{
        width:100%;
    }
    .business-item:first-of-type .business-content ul{
        justify-content: flex-start;
    }

    /*代表挨拶*/
    .message-content{
        flex-flow: column-reverse;
    }
    .message-image {
        width: 80%;
        margin: 0 auto;
    }
    .message-text {
        width: 100%;
    }
    .message-text p{
        margin-bottom:0;
    }
    .message-sign{
        text-align: right;
    }

    /*リフォーム実績*/
    .swiper-button-next {
        right: -4% !important;
    }
    .swiper-button-prev{
        left: -4% !important;
    }

    /*会社概要*/
    .company-table th {
        width: 32.55vw;
    }
    .company-table tr{
        display: flex !important;
        flex-flow: column;
    }
    .company-table th,
    .company-table td{
        width:100%;
    }
    .company-table th{
        border-bottom: none;
        font-weight: bold;
        padding-bottom:10px;
        padding-top:1rem;
    }
    .company-table td{
        padding-bottom:1rem;
        padding-top:0;
    }
    .company-table td span{
      pointer-events: none;
      text-decoration: none !important;
    }

    /*マップ*/
    #map{
        height:300px;
    }

    /*ページトップ*/
    .back-to-top{
      right: 0;
      bottom: 0;
    }
    /*固定電話番号*/
        .fixed-tel {
      width: calc(100% - 4rem);
      text-align: center;
      bottom:0;
      right:4rem;
      padding:0;
      pointer-events: all;
    }
}


@media(max-width:600px){

    /*メインビュー*/
    .mv-catch{
        font-size: 12.5vw;
    }

    /*経営方針*/
    .policy-item{
        flex-flow: column;
    }
    .policy-line{
        display: none;
    }
    .policy-title{
        font-size: 1.125rem;
    }
    .policy-text{
        width: 90%;
        padding: 1rem 0 0 0 ;
        border-top: solid 1px #707070;
        margin-top:1rem;
    }


    /*footer*/
    .footer{
        padding: 2.667rem 0 5.333rem;
    }
    .footer-nav ul{
        flex-flow: column;
        gap: 0;
    }
    .footer-nav ul li{
        border-bottom: solid 1px white;
        font-size: 1.2rem;
    }
    .footer-nav ul li a{
        display: inline-block;
        width:100%;
        padding: 1rem 0;
    }
    .footer-nav ul li:last-of-type{
        border-bottom: none;
    }
}


@media(max-width:425px){
    html{
        font-size: 14px;
    }

    /*header*/
    #header{
        height:60px;
    }
    .hamburger{
        width:60px;
        height:60px;
    }
    .hamburger span{
        width:25px;
    }
    .header-inner nav{
        top:60px;
    }

    /*メインビュー*/
    .mv{
        top: 60px;
        padding:60px 0;
        margin-bottom:60px;
    }


    /*リフォーム*/
    .swiper-button-prev,
    .swiper-button-next{
        background: #ffffff73;
        padding: 0 1.25rem;
        border-radius: 999px;
        width: 8px !important;
    }
    .swiper-button-next {
        right: 2% !important;
    }
    .swiper-button-prev{
        left: 2% !important;
    }
}


@media(max-width:320px){
    /*header*/
    .logo{
        width:200px;
    }
}