@charset "utf-8";
.mv{
    position: relative;
}
.mv .txt_area{
    position: absolute;
    /* top: -9vh; */
    top: -80px;
    left: 15vw;
    z-index: 1;
    display: flex;
    flex-direction: row-reverse;
}
.mv .txt_area h2{
    max-width: 300px;
    width: 20vw;
}
.mv .txt_area h3{
    max-width: 50px;
    width: 4vw;
    margin: 10px 30px 0 0;
}
.mv .slider{
    position: relative;
    margin: 90px auto 0;
    width: calc(100% - 5%);
}
.mv .slider:before,
.mv .slider:after{
    content: "HANNAN KENSETSU KOUGYO Co.,Ltd.";
    font-family: oswald, sans-serif;
    font-size: 1.3rem;
    color: #fff;
    position: absolute;
    top: 50%;
    letter-spacing: 5px;
}
.mv .slider:before{
    z-index: 1;
    transform: translate(-50%, -50%) rotate(-90deg);
    left: 30px;
}
.mv .slider:after{
    transform: translate(50%, -50%) rotate(90deg);
    right: 30px;
}
@media screen and (max-width: 1024px) {
    .mv .txt_area h2{
        max-width: 400px;
        width: 40vw;
    }
    .mv .txt_area h3{
        max-width: 100px;
        width: 12vw;
        margin: 10px 20px 0 0;
    }
    .mv .slider:before,
    .mv .slider:after{
        font-size: 1rem;
        width: 100%;
        text-align: center;
    }
    .mv .slider:before{
        left: 20px;
    }
    .mv .slider:after{
        right: 20px;
    }
}

.sec1{
    margin: 100px auto;
    max-width: 1100px;
}
.sec1 dl a{
    position: relative;
    display: flex;
    align-items: center;
    padding: 28px 30px;
    border-bottom: 1px solid #ccc;
}
.sec1 dl a:first-of-type{
    border-top: 1px solid #ccc;
}
.sec1 dl a:after{
    content: "";
    position: absolute;
    top: 50%;
    right: 30px;
    width: 8px;
    height: 8px;
    border-top: 2px solid #1f2c5c;
    border-right: 2px solid #1f2c5c;
    -webkit-transform: translate(0%, -50%) rotate(45deg);
    transform: translate(0, -50%) rotate(45deg);
}
.sec1 dl dt{
    font-family: oswald, sans-serif;
    color: #888888;
}
.sec1 dl dt .tag{
    background: #1f2c5c;
    color: #fff;
    padding: 5px 20px;
    border-radius: 50px;
    margin: 0 30px;
}
@media screen and (max-width: 1024px) {
    .sec1{
        margin: 60px 4%;
    }
    .sec1 h3.heading{
        margin: 0 4% 40px;
    }
    .sec1 dl a{
        display: block;
        padding: 20px 2%;
    }
    .sec1 dl a:after{
        right:2%;
    }
    .sec1 dl dt{
        margin-bottom: 15px;
    }
    .sec1 dl dt .tag{
        padding: 3px 15px;
        margin: 0 0 0 10px;
        font-size: 1.2rem;
    }
}

.sec2{
    position: relative;
    padding-top: 100px;
    margin-bottom: 100px;
}
.sec2:after{
    content: "";
    width: 100%;   
    height: 50%;
    background: #ecf5fb;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}
.sec2 h3{
    max-width: 1100px;
    margin: 0 auto 50px;
}
.sec2 .box_wrap{
    display: flex;
    justify-content:space-between;
    max-width: 1200px;
    margin: 0 auto;
}
.sec2 .box_wrap .box{
    width: 32%;
}
.sec2 .box_wrap .box figure figcaption{
    color: #1f2c5c;
    margin: 20px 15px;
    font-size: 3rem;
    font-weight: 600;
}
.sec2 .box_wrap .box figure figcaption span{
    font-family: oswald, sans-serif;
    display: block;
    color: #888888;
    font-size: 2.4rem;
    margin-bottom: 20px;
}
.sec2 .box_wrap .box p{
    line-height: 1.6;
    margin: 0 15px;
}
@media screen and (max-width: 1024px) {
    .sec2{
        padding-top: 60px;
        margin-bottom:60px;
    }
    .sec2:after{
        content: "";
        width: 100%;   
        height: 50%;
        background: #ecf5fb;
        position: absolute;
        top: 0;
        left: 0;
        z-index: -1;
    }
    .sec2 h3{
        margin: 0 8% 40px;
    }
    .sec2 .box_wrap{
        display:block;
        margin: 0 4%;
    }
    .sec2 .box_wrap .box{
        width:auto;
        margin-bottom: 40px;
    }
    .sec2 .box_wrap .box:last-of-type{
        margin-bottom:0;
    }
    .sec2 .box_wrap .box figure figcaption{
        margin: 15px 10px;
        font-size: 2.4rem;
    }
    .sec2 .box_wrap .box figure figcaption span{
        font-size: 2rem;
        margin-bottom: 15px;
    }
    .sec2 .box_wrap .box p{
        line-height: 1.4;
        margin: 0px 10px;
    }
}

.sec3{
    position: relative;
    padding-top:100px;
}
.sec3:before{
    content: "";
    width: 50%;
    height: 50%;
    background: #ecf5fb;
    position: absolute;
    top: 0;
    left: 0;
}
.sec3 .inner{
    max-width: 1100px;
    margin: 0 auto;
}
.sec3 ul{
    display: flex;
    justify-content: space-between;
}
.sec3 ul li{
    position: relative;
    width: 32%;
}
.sec3 ul li .photo_area{
    display: flex;
}
.sec3 ul li .date{
    font-family: eb-garamond, serif;
    color: #888888;
    -ms-writing-mode: tb-rl;
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
    font-size: 2rem;
    font-style: italic;
    letter-spacing: 0;
    padding: 10px 5px 0;
}
.sec3 ul li figure{
    position: relative;
    width: 100%;
    padding-top: 76%;
    overflow: hidden;
}
.sec3 ul li figure img{
    width: 100%;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    transform: translate(-50%, -50%);
}
.sec3 ul li .txt_area{
    background: #fff;
    position: absolute;
    top: 80%;
    width: calc(100% - 20px);
    left: 0;
    padding: 15px;
}
.sec3 ul li .txt_area span{
    font-size: 1.2rem;
    padding: 5px 10px;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 10px;
    letter-spacing: 0;
}
.sec3 ul li .txt_area p{
    color: #1f2c5c;
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 1.4;
}
.sec3 ul li a:hover .txt_area:before{
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	border-bottom: solid 2px #1f2c5c;
	animation: border .5s linear forwards;
}
@keyframes border {
	0%{width: 0%;}
	100%{width: 100%;}
}
.cate1{
    background:#1f2c5c;
    color: #fff;
}
.cate2{
    background: #ecf5fb;
    color:#1f2c5c; ;
}
.cate3{
    background:#888888;
    color: #fff;
}
.sec3 .btn{
    margin:40px 0 0 auto;
}
/* ------------------------
 * sec3 slide(no-slide)
 * ------------------------ */
.sec3 .slider2.no-slide {
  display: flex;
  justify-content: flex-start;
}
@media screen and (max-width: 1024px) {
    .sec3{
        padding-top:60px;
    }
    .sec3:before{
        width: 75%;
    }
    .sec3 h3{
        margin: 0 8% 40px;
    }
    .sec3 ul li .date{
        font-size: 1.8rem;
    }
    .sec3 ul li .txt_area p{
        font-size: 1.4rem;
    }
    .sec3 .btn{
        margin: 40px 8% 0;
    }
    .sec3 .slider2.no-slide {
      flex-direction: column;
    }
    .sec3 .slider2.no-slide li {
        width: 100%;
        margin-bottom: 40px;
    }
}

.sec4{
    position: relative;
    padding-bottom: 100px;
    margin-top: 100px;
}
.sec4:after{
    content: "";
    width: 100%;
    height: 50%;
    position: absolute;
    left: 0;
    bottom: 0;
    background: #ecf5fb;
    z-index: -1;
}
.sec4 .box_wrap{
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}
.sec4 .box_wrap .box{
    position: relative;
    width: 48%;
}
.sec4 .box_wrap .box a{
    position: relative;
}
.sec4 .box_wrap .box a:before,
.sec4 .box_wrap .box a:after{
    font-family: eb-garamond, serif;
    color: #fff;
    position: absolute;
    z-index: 2;
}
.sec4 .box_wrap .box a:before{
    content: "We build trust with hosest construction";
    top: 10px;
    right: 10px;
}
.sec4 .box_wrap .box a:after{
    content: "& high technology.";
    top: 20px;
    right: 15px;
    transform: translate(50%, 500%) rotate(90deg);
}
.sec4 .box_wrap .box figure{
    width: 100%;
    overflow: hidden;
}
.sec4 .box_wrap .box img{
    transition:.5s all;
}
.sec4 .box_wrap .box img:hover {
    transform:scale(1.1,1.1);
    transition:.5s all;
}
.sec4 .box_wrap .box h3{
    position: absolute;
    bottom: -65px;
    left: 50px;
    margin: 0;
}
@media screen and (max-width: 1024px) {
    .sec4{
        padding-bottom:60px;
        margin-top:60px;
    }
    .sec4:after{
        height: 80%;
    }
    .sec4 .box_wrap{
        margin: 0 4%;
        display: block;
    }
    .sec4 .box_wrap .box{
        width:auto;
        margin-bottom:120px;
    }
    .sec4 .box_wrap .box:last-of-type{
        margin-bottom: 80px;
    }
    .sec4 .box_wrap .box a:before,
    .sec4 .box_wrap .box a:after{
        font-size: 1.2rem;
    }
    .sec4 .box_wrap .box h3{
        bottom: -25%;
        left: 4%;
    }
}
