@charset "utf-8";

/* General */
.section-title {
    margin-bottom: 32px;
}


/* ------------------------
トップ画面ページ
------------------------ */

.swiper-custom-button {
    background-image: none !important;
    top:30% !important;
}

.swiper-button-prev {
    left: 0 !important;
}

.swiper-button-next {
    right: 0 !important;
}

.swiper-pagination-bullet {
    background-color: #b0b0b0 !important;
}

.swiper-pagination-bullet-active {
    background-color: #fff !important;
}

.top-img img {
    width: 100%;
    height: calc(100vh - 160px - 80px);
    object-fit:cover;
    font-family: 'object-fit: cover;';
}

.top-video video {
    display: block;
    width: 100%;
    height: auto;
    object-fit:cover;
    font-family: 'object-fit: cover;';
}

.sub-menu {
    transition: .3s;
    position: fixed;
    z-index: 10000;
    bottom: 250px;
    right: -170px;
    background-color: #003576;
    width: 230px;
    border-bottom-left-radius: 8px;
    border-top-left-radius: 8px;
    padding-top: 16px;
}

.sub-menu-active {
    transition: .3s;
    right: 0;
}

@media (min-width: 576px) {
    .top-video video {
        display: block;
        width: 100%;
        height: calc(100vh - 160px - 80px);
        object-fit:cover;
        font-family: 'object-fit: cover;';
    }

    .sub-menu{
        top: 50%;
        height: 300px;
    }
    .sub-menu:hover {
        transition: .3s;
        right: 0;
    }
}

.sub-menu-header {
    display: flex;
    align-items: center;
}

.sub-menu-hamburger {
    margin-left: 22px;
    position: relative;
    width: 22px;
    height: 30px;
}

.sub-menu-hamburger > .hamburger-line {
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: white;
}

.hamburger-line-1 {
    transition: .3s;
    top:0;
    left: 0;
}

.hamburger-line-2 {
    transition: .3s;
    top:8px;
    left: 0;
}

.hamburger-line-3 {
    transition: .3s;
    top:16px;
    left: 0;
}

.hamburger-active > .hamburger-line-1 {
    transition: .3s;
    transform: rotate(45deg);
    top:8px;
    left: 0;
}

.hamburger-active > .hamburger-line-2 {
    transition: .3s;
    width: 0px !important;
}

.hamburger-active > .hamburger-line-3 {
    transition: .3s;
    transform: rotate(-45deg);
    top:8px;
    left: 0;
}



.sub-menu-title {
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    padding-bottom: 12px;
    padding-left: 16px;
    line-height: 1rem;
}

.sub-menu-body{
    transition: .3s;
    height: 0;
    overflow: hidden;
}

@media (min-width: 576px) {
    .sub-menu-body{
        transition: .3s;
        display: block;
        height: auto;
    }
}

.sub-menu-body-active{
    transition: .3s;
    height: 236px;
}



.sub-menu-li{
    cursor: pointer;
    display: flex;
    align-items: center;
    margin-left: 8px;
    margin-bottom: 16px;
    padding-top: 8px;
    padding-bottom: 8px;
    padding-left: 20px;
    border-top-left-radius: 100px;
    border-bottom-left-radius: 100px;
}

.sub-menu-li-blue {
    transition: .3s;
    background: -moz-linear-gradient(left,  #009be4 0%, #0071b7 100%);
    background: -webkit-linear-gradient(left,  #009be4 0%,#0071b7 100%);
    background: linear-gradient(to right,  #009be4 0%,#0071b7 100%);
}

.sub-menu-li-blue:hover {
    transition: .3s;
    background: -moz-linear-gradient(left,  #0071b7 0%, #0071b7 100%);
    background: -webkit-linear-gradient(left,  #0071b7 0%,#0071b7 100%);
    background: linear-gradient(to right,  #0071b7 0%,#0071b7 100%);
}


.sub-menu-li-gray {
    transition: .3s;
    background: -moz-linear-gradient(left,  #808080 0%, #333333 100%);
    background: -webkit-linear-gradient(left,  #808080 0%,#333333 100%);
    background: linear-gradient(to right,  #808080 0%,#333333 100%);
}

.sub-menu-li-gray:hover {
    transition: .3s;
    background: -moz-linear-gradient(left,  #333333 0%, #333333 100%);
    background: -webkit-linear-gradient(left,  #333333 0%,#333333 100%);
    background: linear-gradient(to right,  #333333 0%,#333333 100%);
}

.sub-menu-li p {
    color: #fff;
    margin: 0;
    font-size: 18px;
}

.sub-menu-li-icon {
    margin-right: 16px;
    width: 16px;
}

.sub-menu-li-icon img {
    width: 100%;
}

/* ------------------------
イベント画面
------------------------ */

.event {
    padding-top: 8px;
    padding-bottom: 8px;
    height: 100%;
}

.event-banner {
    width: 100%;
}

.event-banner img {
    width: 100%;
    height: 100%;
}

@media (min-width: 576px) {
    .event {
        background-color: #f8f8f2;
        width: 100%;
        height: 190px;
    }

    .event-banner {
        width: 90%;
        max-width: 880px;
        height: auto;
        max-height: 145px;
    }

    .event-banner img {
        width: 100%;
    }
}

/* ------------------------
お知らせ
------------------------ */

.info {
    padding-top: 0;
    padding-bottom: 16px;
}

.info-title {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    padding: 12px 0;
    padding-right: 32px;
    background-color: #666;
    color: white;
    height: 48px;
    display: inline-block;
    text-decoration: none;
    margin-bottom: 20px;
}

.info-title:hover {
    color: white;
    text-decoration: none;
}

@media (min-width: 1075px) {
    .info {
        padding: 16px 0;
    }

    .info-title {
        border-top-right-radius: 8px;
        border-bottom-right-radius: 8px;
        padding: 12px 0;
        padding-left: 96px;
        padding-right: 24px;
        background-color: #666;
        color: white;
        height: 48px;
        display: block;
        text-decoration: none;
    }

    .info-title:hover {
        color: white;
        text-decoration: none;
    }
}


.info-contents {
    max-width: 800px;
	margin-left: 0;
	margin-right: 0;
}

.info-content {
    padding-bottom: 8px;
}

.info-content-date{
    padding-right: 8px;
}

.info-content-text {
    display: inline-block;
    text-decoration: none;
    color: black;
    transition: 0.3s;
}
.info-content-text:hover {
    text-decoration: none;
    display: block;
    color: #123466;
    transition: all 0.3s ease;
}

/* ------------------------
建て替えサポート
------------------------ */

.tatekae {
    margin: 0 8px;
}

.tatekae-text {
    margin-top: 24px;
    padding: 0 8px;
}

.topic-action{
    max-width: 195px;
    margin: 0 auto;
}
.tatekae-text {
    margin-top: 24px;
    padding: 0 8px;
    height: auto;
}
.tatekae-voice-text {
    margin-top: 24px;
    padding: 0 8px;
    height: auto;
}

@media screen and (min-width: 576px){
	.tatekae-text {
	    margin-top: 24px;
	    padding: 0 8px;
	    height: 260px;
	}
	.tatekae-voice-text {
	    margin-top: 24px;
	    padding: 0 8px;
	    height: 180px;
	}
}
@media screen and (min-width: 993px){
	.tatekae-text {
	    margin-top: 24px;
	    padding: 0 8px;
	    height: 200px;
	}
	.tatekae-voice-text {
	    margin-top: 24px;
	    padding: 0 8px;
	    height: 120px;
	}
}
/* ------------------------
実績
------------------------ */

.arrow-button {
    position: relative;
    top:20px;
    display: inline-block;
    text-decoration: none;
    width: 50px;
    height: 50px;
    border-top: 2px #b8bcbb solid;
    border-right: 2px #b8bcbb solid;
    transform-origin: top right;
    transform: rotate(45deg);
}


.arrow-button::before {
    position: absolute;
    top: -2px;
    right: 0;
    content: '';
    width: 100%;
    height: 2px;
    background: var(--dark-color);
    transform-origin: right top;
    transform: scale(0, 1);
    transition: transform .3s;
}

.arrow-button::after {
    position: absolute;
    top: -2px;
    right: -2px;
    content: '';
    width: 2px;
    height: calc(100% + 2px);
    background: var(--dark-color);
    transform-origin: right top;
    transform: scale(1, 0);
    transition: transform .3s;
}

.projects {

}

.project {
    width: 95%;
    margin-bottom:32px;
    margin-left: auto;
    margin-right: auto;
}

.project-title {
    font-size: 18px;
    font-weight: bold;
    line-height: 22px;
    margin: 8px 0;
}

.project-subtitle {
    line-height: 20px;
}


.project-img {
    display: flex;
    padding-bottom: 8px;
    height: 220px;
}

@media (min-width: 576px) {
    .project-img {
        height: 350px;
    }
}

.project-img img {
    width: 100%;
}

.project-img-old,
.project-img-new {
    position: relative;
    width: 50%;
    height: 100%;
    overflow:hidden;
}

.project-img-old {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

.project-img-new {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

.project-img-old img,
.project-img-new img {
    position: absolute;
    width: auto;
    height: 100%;
    overflow:hidden;
    transform: translate(-50%, -50%);
    left:50%;
    top: 50%;
}



.project-content, .project-content:hover {
    text-decoration: none;
    color: var(--gray-color);
}

.project-content p {
    transform: scale(1);
    transition: .3s;
}

.project-content:hover p {
    transition: .3s;
    transform: scale(1.03);
}

.project-content:hover .arrow-button::before {
    transform-origin: right top;
    transform: scale(1, 1);
}

.project-content:hover .arrow-button::after {
    transform-origin: right top;
    transform: scale(1, 1);
}

@media (min-width: 576px) {
    .project-title {
        font-weight: bold;
        line-height: 28px;
        margin: 8px 0;
    }

    .project-subtitle {
        line-height: 24px;
    }
	.h3, .h3-bold {
	    font-size: 21px;
	}
	.topic-content {
	    height: 175px;
	}
}