@charset "UTF-8";

/*----------------------------------
    MV
-----------------------------------*/

.mv {
    position: relative;
    z-index: 1;
    height: 100vh;
    min-height: 400px;
}

.mv::after {
    content: "";
    position: absolute;
    width: 88px;
    height: 88px;
    background: url(../img/top/SDGs_wheel1.webp) center center / cover;
    right: 10px;
    bottom: 10px;
    z-index: 200;
}

@media screen and (max-width:599px) {
    .mv::after {
        width: 70px;
        height: 70px;
    }
}

.mv__inner {
    height: inherit;
    min-height: inherit;
}

.mv__title-wrap {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    color: #fff;
    text-align: center;
}

.mv__main-title {
    font-size: 2.5rem;
    font-weight: 700;
}

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

@media screen and (max-width:767px) {
    .mv__main-title {
        font-size: 2rem;
    }
    .mv__title-wrap img{
        width: 33%;
    }
}

.mv__sub-title {
    font-size: 1.25rem;
}

.mv__img,
.mv__img img {
    height: inherit;
    min-height: inherit;
}

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

/*----------------------------------
    about
-----------------------------------*/

.top-about .h2-common span {
    font-size: 1rem;
}

.top-about_items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 1fr;
    grid-column-gap: 20px;
    grid-row-gap: 25px;
}

@media screen and (max-width:767px) {
    .top-about_items {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        grid-column-gap: 20px;
        grid-row-gap: 25px;
    }
}


.top-about_item {
    position: relative;
}

.top-about_item::after {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 57px;
    color: #fff;
    text-align: center;
    font-weight: bold;
    font-size: 1.25rem;
    padding: 17px;
    background: rgba(0, 0, 0, 0.7);
    transition: 0.3s;
}

.top-about_item:hover::after {
    background: rgba(0, 0, 0, 0);
  }


.top-about .item1::after {
    content: "外壁塗装";
}

.top-about .item2::after {
    content: "各種塗装";
}

.top-about .item3::after {
    content: "リフォーム";
}

.top-about .item4::after {
    content: "Ciment Art";
}

.heart {
    padding-bottom:30px;
}
@media screen and (max-width:1200px) {
    .heart {
        margin-top: 65px;
        padding: 105px 0 30px;
    }
}

.h3-heart {
    text-align: center;
    margin-bottom: 70px;
    font-size: 2rem;
    z-index: 2;
    padding-left: 10vw;
}

@media screen and (max-width:599px) {
    .h3-heart {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }
    .heart {
        padding: 60px 0 20px;
    }
}

.h3-heart::after {
    content: url(/img/top/mie.webp);
    margin-left: -86px;
    position: relative;
    bottom: -130px;
    display: inline-grid;
}

.heart-textbox {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    position: relative;
}

.heart-textbox::after {
    content: "";
    position: absolute;
    left: 52%;
    bottom: -7%;
    transform: translate(-50%, -50%);
    width: 27%;
    height: 1px;
    background: #000;
}
@media screen and (max-width:1200px) {
    .heart-textbox {
        justify-content: space-between;
    }
}
.heart-text {
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    letter-spacing: 0.5em;
}

.heart-text:nth-of-type(n+2) {
    margin-right: 50px;
}

@media screen and (max-width:1200px) {
    .heart-text:nth-of-type(n+2) {
        margin-right: 0;
    }

    .h3-heart::after {
        display: none;
    }
    .heart {
        margin-top: 0px;
    }
}

.heart-text span {
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    text-orientation: upright;
}

/*----------------------------------
    施工事例
-----------------------------------*/
.top-project .h2-common{
    text-align: center;
    margin-bottom: 20px;
}
/*----------------------------------
    お問い合わせ
-----------------------------------*/


.top-contact-inner {
    display: flex;
    height: inherit;
}

.top-contact_box {
    background-image: linear-gradient(84deg, rgba(166, 166, 166, 1), rgba(244, 244, 244, 1) 71%);
    width: 50%;
    display: flex;
    padding: 50px 0;

}

.top-contact_left {
    display: block;
    margin: 0 auto;
    align-self: center;
}

.top-contact_left p,
.top-contact_left h2,
.top-contact_left a {
    display: block;
    text-align: left;
}

.top-contact_left .contact-link {
    display: inline;
    color: #4CA9FF;
    font-size: 1.4rem;
}
.top-contact_left .contact-link:hover {
    color: #3d81c0;
}
.top-contact_left h2 {
    line-height: 1;
}

.top-contact_left .text1 {
    font-weight: bold;
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.top-contact_left h3 {
    font-size: 1.65rem;
    font-weight: bold;
}

.top-contact_address {
    font-size: 0.95rem;
    margin-bottom: 50px;
}

.top-contact_left a {
    font-size: 1rem;
    font-weight: bold;
}

.top-contact_mail {
    font-size: 1rem;
    font-weight: bold;
}

.address-itemwrap {
    display: flex;
    align-items: center;
    text-align: left;
}



.address-itemwrap:first-of-type {
    margin-bottom: 20px;
}

@media screen and (max-width:1200px) {
    .top-contact_left .text1 {
        font-size: 1.15rem;
    }
    .top-contact_left h3 {
        font-size: 1.45rem;
    }
    .top-contact_address {
        margin-bottom: 20px;
    }
    .address-itemwrap:first-of-type {
        margin-bottom: 10px;
    }
    .address-itemwrap img{
        width: 8%;
        height: 8%;
    }
    
}
.address-itemwrap img {
    margin-right: 5px;
}

.top-contact_right {
    width: 50%;
}

.top-contact_right img {
    height: 100%;
    width: 100%;
}

@media screen and (max-width:599px) {
    .top-contact-inner {
        display: block;
    }

    .top-contact_box {
        width: 100%;
    }

    .top-contact_right {
        width: 100%;
        height: 32vh;
        object-fit: fill;
    }

    .top-contact_left .text1 {
        font-size: 1.25rem;
        margin-bottom: 15px;
    }

    .address-itemwrap:first-of-type {
        margin-bottom: 10px;
    }

    .top-contact_address {
        font-size: 0.75rem;
        margin-bottom: 30px;
    }
}
@media screen and (min-width:599px) {
    _::-webkit-full-page-media, _:future, :root .top-contact {
        height: 43vh;
    }
}

@media screen and (min-width: 599px) and (-webkit-min-device-pixel-ratio:0) {
	::i-block-chrome, .top-contact {
        height: 43vh;
	}
}

/*----------------------------------
地図
-----------------------------------*/

.top-map iframe {
    height: 475px;
    width: 100%;
}

iframe {
    vertical-align: bottom;
}