@charset "UTF-8";

/* 共通の設定 */
html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    text-align: left;
    font-family: "Inter";
    font-size: 1.3rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5;
}

img {
    max-width: 100%;
    height: auto;
}

@media screen and (max-width: 520px) {
    #works {
    padding: 90px 0 40px;
    }

}


/* スクロール後の状態：背景白・文字黒 */
.header.scrolled li {
  color: black;
}

.header__title.scrolled {
    color: #D3151D;
}

.header.scrolled {
  background-color: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.header__logo img {
    width: clamp(30px, 10vw, 50px);
    height: auto;
}

.header {
    height: 90px;
    background-color: transparent;
    color: #ffffff;
}

.header__logo img {
    transition: all 0.3s ease;
}

.header__title {
    color: #ffffff;
    font-family: Oswald;
    font-weight: bold;
    font-size: clamp(9px, 1vw, 13px);
}




/* FV */

.fv img {
    width: 100%;
    height: 698px;
    object-fit: cover;   
}

.fv {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.fv-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fv-copy {
  position: absolute;
  bottom: 0px; 
  left: 0px;  
  background-color: rgba(0, 56, 100, 0.8); 
  padding: 2em 5em;
  max-width: 320px;
  min-width: 500px;
  color: white;
  box-sizing: border-box;
}

.fv-main-copy {
  font-size: clamp(20px, 3.33vw, 48px);
  line-height: 1.5;
  margin: 0 0 10px 0;
}

.fv-sub-copy {
  font-size: clamp(12px, 3.33vw, 24px);
  opacity: 0.8;
  margin: 0;
}

@media screen and (max-width: 690px) {
    .fv-copy {
        min-width: 0;
    }
}

@media screen and (max-width: 400px) {
    .fv {
        height: 580px;
    }

    .fv-copy {
        padding: 20px;
    }
}


/* イントロ */
.introduction__container {
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    gap: 6%;
    align-items: center;
}

.btn__area {
    text-align: center;
}


.introduction__column h4 {
    color: #153653;
    font-size: clamp(19px, 1.94vw, 30px);
    font-weight: bold;

}

.introduction__column p {
    margin-top: 20px;
    line-height: 35px;
    letter-spacing: 1px;
    max-width: 544px;
}

.introduction__img {
    max-width: 500px;
    height: auto;
}

@media screen and (max-width: 960px) {
    .introduction__container {
        margin: 0 auto;
        padding: 0 10%;
        gap: 6%;
        align-items: center;
        flex-direction: column-reverse;
        width: fit-content;
    }

    .introduction__img {
        max-width: 350px;
        margin-top: 30px;
    }
}

/* 特徴 */
.feature__container {
    display: flex;
    max-width: 1220px;
    margin: 0 auto;
    margin-top: 50px;
    padding: 0 4%;
    gap: 2%;
    width: 100%;
}

.feature__contents {
    max-width: 424px;
    width: calc((100% - 40px) / 3);
    /* 3カラム、gap20px ×2を引く */
    text-align: left;
}


.feature--photo img {
    width: 100%;
    height: 215px;
    border-radius: 0 0 30px 0;
    object-fit: cover;
}

.feature__titlearea {
    display: flex;
    align-items: center;
    gap: 3%;
}

.feature__titlearea p {
    color: rgb(211, 21, 29, 0.5);
    font-size: 4rem;
    font-family: "Bebas Neue", sans-serif;
}

.feature__titlearea h5 {
    font-weight: bold;
    letter-spacing: 0.4rem;
    font-size: clamp(22px, 1.94vw, 24px);
}

.feature__txt {
    line-height: 30px;
}

/* タブレット対応（画面幅が960px以下） */
@media screen and (max-width: 960px) {
    .feature__container {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .feature__contents {
        width: 100%;
        max-width: 350px;
    }
}

/* サービス内容 */
.service__img--sp {
    display: none;
}

.service__img--pc {
    width: fit-content;
    margin: 50px auto;
}

@media screen and (max-width: 500px) {
  .service__img--sp {
    display: block;
    width: fit-content;
    margin: 30px auto;
}

.service__img--pc {
    display: none;
}  

}


/* 施工事例 */
.works__contents {
  background-color: #153653;
  margin-top: 40px;
  width: 100%;
  padding: 3em 2.2em 3em 3.8em;
  overflow: hidden;
}

.works__slider {
  display: flex;
}

.works__slider-item {
  margin-right: 25px;
}

.works__slider:last-child.works__slider-item {
  margin-right: 0;
}

.works__slider-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.works__slider-txt {
  color: #ffffff;
}

@media screen and (max-width: 750px) {
  .works__slider-item {
    margin-right: 15px;
  }
}


/* お問い合わせ */
.section--contact {
    padding: 0px 10%;
    margin-bottom: -90px;/* 下に向けてはみ出させる */
    z-index: 1;/* 必要なら重なり順も調整 */
    position: relative;/* z-indexを効かせるため */
}


.section__inner--contact {
    background-color: #153653;
    max-width: 1220px;
    border-radius: 30px;
    margin: 0 auto;
    color: #ffffff;
    text-align: center;
    padding: 60px 10%;
}


.section__title--en--contact {
    font-size: 5rem;
    font-weight: 700;
    font-family: Oswald;
}

.section__title--ja--contact {
    font-size: 1.2rem;
    font-weight: bold;
}

.contact__contents {
    margin-top: 60px;
}

.contact__txt {
    font-weight: bold;
    font-size: 24px;
}

.contact__wrapper {
    display: flex;
    background-color: #ffffff;
    max-width: 925px;
    border-radius: 20px;
    gap: 10%;
    padding: 20px 6%;
    justify-content: center;
    margin: 0 auto;
    margin-top: 10px;
    height: 15vh;
    align-items: center;
}

.contact__phonearea {
    color: #153653;
    text-align: left;
    position: relative;
    display: table-cell;
    padding-left: 5%;
}

.contact__phonearea::before {
    content: '';
    display: inline-block;
    width: 50px;
    height: 50px;
    background-image: url(../images/ion_call.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    left: -23px;
    bottom: 3px;
}

.contact__phonearea--time {
    font-size: 2rem;
}

.contact__phonearea--phone {
    font-size: clamp(24px, 1.94vw, 48px);
    font-weight: bold;
    font-family: "Oswald", sans-serif;
}


.contact__mailarea {
    background-color: #153653;
    color: #ffffff;
    padding: 20px 20px 15px 80px;
    border-radius: 10px;
    position: relative;
}

.contact__mailarea::before {
    content: '';
    display: inline-block;
    width: 50px;
    height: 50px;
    background-image: url(../images/mail-outline.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    left: 22px;
    bottom: 5px;
}

.contact__mailarea button {
    font-size: clamp(18px, 1.94vw, 24px);
}

@media screen and (max-width: 960px) {
    .contact__wrapper {
        display: block;
        height: auto;
    }

    .contact__phonearea {
        padding-left: 0;
        text-align: center;
        margin: 0 auto;
        display: block;
        width: fit-content;
    }

    .contact__phonearea::before {
        left: -5em;
    }

    .contact__mailarea {
        margin-top: 10px;
        max-width: 300px;
        margin: 10px auto;
    }


}


/* footer */
.footer {
    background-color: #333841;
    color: #ffffff;
    position: relative;
    padding: 90px 0 50px;
}

.footer__inner {
    padding: 0 10%;
}

.footer__contents {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.footernav__list {
    display: flex;
    gap: 20px;
}

.footer__accessarea {
    margin-top: 100px;
}


.footer__access {
    display: flex;
    gap: 10px;
}


.copy {
    display: block;
    margin: 0 auto;
    width: fit-content;
    margin-top: 50px;
    color: #BCBCBC;
}

@media screen and (max-width: 960px) {
    .footernav__list {
        display: block;
    }

    .footernav__item {
        margin-top: 20px;
    }

    .footer__access {
        display: block;
    }

    .footer__access li {
        margin-top: 5px;
    }
}