@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Staatliches&display=swap');

/*** mobile ***/
/** common **/
section.co {padding-top: 80px;}
.sub04 .visInner {background-image: url(/img/sub4_visual_m.jpg);}

/* sub04_1 */
.gallInner {padding: 0 4.533%;}
.gallInner .tabs li {float: left; width: 50%;}
.gallInner .tabs li a {
    display: block; height: 36px;
    line-height: 35px;
    font-size: 1.4rem; color: #363e40;
    border: 1px solid #c8c8c8;
    text-align: center;
}
.gallInner .tabs li a.on {background: #f7762f; color: #fff; border: none;}
.gallInner .contWrap {padding: 34px 0 0;}
.gallInner .contWrap article {width: 100%; margin-bottom: 30px;}
.gallInner .contWrap article a {display: block; color: #363e40;}
.gallInner .contWrap article img {width: 100%; height: 100%; object-fit: cover;}
.gallInner .contWrap article .imgWrap {height: 150px;}
.gallInner .contWrap .textWrap {
    padding: 15px 4.2%;
    border: 1px solid #d8d8d8;
    border-top: 0;
}
.gallInner .contWrap .textWrap span {
    font-size: 1.2rem; color: #f05c0b;
    font-weight: 700;
}
.gallInner .contWrap .textWrap h4 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    width: 100%; height: 36px;
    margin: 12px 0 15px;
    font-size: 1.6rem;
    line-height: 18px;
}
.gallInner .contWrap .textWrap i {
    font-style: normal;
    font-size: 1.2rem;
    font-weight: 300;
}
.gallInner .btn_wrap {margin-top: 58px; text-align: center;}
.gallInner .btns {display: inline-block;}
.gallInner .btns li {float: left; margin-left: 5px;}
.gallInner .btns li:first-child {margin: 0;}
.gallInner .btns li a {
	display: table-cell;
	width: 34px; height: 34px;
	font-size: 1.4rem; color: #363e40;
	border: 1px solid #363e40;
	vertical-align: middle;
}
.gallInner .btns li a.on {background: #363e40; color: #fff;}

/* sub04_view */
.viewInner {padding: 57px 4.533% 60px; text-align: center;}
.viewInner .frontInfo {margin-bottom: 16px;}
.viewInner .frontInfo b {
    display: inline-block;
    font-size: 1.4rem;
    font-weight: 400;
}
.viewInner .frontInfo b:after {
    display: inline-block;
    content: '';
    width: 1px; height: 12px;
    margin: 0 6px;
    background: #999;
    vertical-align: middle;
}
.viewInner .frontInfo i {
    font-size: 1.3rem; color: #747474;
    font-style: normal;
    font-weight: 300;
}
.viewInner h3 {
    font-size: 2.8rem;
    line-height: 34px;
}
.viewInner h3:after {
    display: block;
    content: '';
    width: 100%; height: 1px;
    margin: 15px 0 28px;
    background: #ccc;
}
.viewInner img {
    display: block;
    max-width: 100%;
    margin: 0 auto 20px;
}
.viewInner p {
    line-height: 1.3;
    text-align: left;
}
.viewInner button {
    display: block;
    width: 120px; height: 34px;
    font-size: 1.4rem; color: #fff;
    margin: 28px auto 0;
    text-indent: 0;
    background: #363e40;
}

/*** PC ***/
@media screen and (min-width:1084px){
    /** common **/
    section.co {padding-top: 110px;}
    .sub04 .visInner {background-image: url(/img/sub4_visual.jpg);}
    
    /* sub04_1 */
    .gallInner {padding: 0; width: 1198px; margin: 0 auto; text-align: center;}
    .gallInner .tabs {display: inline-block;}
    .gallInner .tabs li {width: 280px;}
    .gallInner .tabs li a {
        height: 46px;
        line-height: 45px;
        font-size: 1.6rem; 
    }
    .gallInner .tabs li a.on {
		box-shadow: 0 2px 6px 0px rgba(0,0,0,.35);
		font-weight: 700;
	}
    .gallInner .tit {margin-top: 64px; text-align: left;}
    .gallInner .tit p {
        margin-bottom: 6px;
        font-size: 3.5rem; color: #f05c0b;
		font-family: 'Staatliches', cursive;
    }
    .gallInner .tit span {font-size: 1.4rem; color: #747474;}
    .gallInner .tabs li:nth-child(n+2) a {border-left: none;}
    .gallInner .contWrap .imgWrap {position: relative; overflow: hidden;}
    .gallInner .contWrap .imgWrap:after {
        position: absolute;
        top: 0; left: 0;
        content: '';
        width: 100%; height: 100%;
        background: rgba(0,0,0,0);
    }
    .gallInner .contWrap article a:hover .imgWrap:after {
        background: rgba(0,0,0,.55); transition: .4s;
    }
    .gallInner .contWrap .imgWrap span {
        position: absolute;
        top: 50%; left: 40%; transform: translate(-50%,-50%);
        width: 0px; height: 1px;
        background: #fff;
        z-index: 10;
    }
    .gallInner .contWrap .imgWrap span.down {
        left: 60%;
        width: 0px; height: 1px;
    }
    .gallInner .contWrap article a:hover .imgWrap span.up {
        width: 2px;
        animation: plus1 .5s linear forwards;
    }
    .gallInner .contWrap article a:hover .imgWrap span.down {
        width: 2px;
        animation: plus2 .5s linear forwards;
    }
    @keyframes plus1 {
        60% {left: 50%; width: 3px;}
        100% {left: 50%; width: 34px;}
    }
    @keyframes plus2 {
        60% {left: 50%; height: 3px;}
        100% {left: 50%; width: 1px; height: 34px;}
    }
    .gallInner .contWrap {padding: 34px 0 0;}
    .gallInner .contWrap article {
        float: left;
        width: 270px; margin-bottom: 49px;
        margin-left: 39px;
    }
    .gallInner .contWrap article:nth-child(4n+1) {margin-left: 0;}
    .gallInner .contWrap article .imgWrap {height: 190px;}
    .gallInner .contWrap article img {height: 100%;}
    .gallInner .contWrap .textWrap {padding: 19px 20px 21px; text-align: left;}
    .gallInner .contWrap .textWrap h4 {
        height: 43px;
        margin: 11px 0 14px;
        font-size: 1.8rem;
        line-height: 22px;
    }
    .gallInner .btn_wrap {margin-top: 18px;}
    
    /* sub04_view */
    .viewInner {padding: 87px 0 120px; width: 1140px; margin: 0 auto;}
    .viewInner .frontInfo {margin-bottom: 24px;}
    .viewInner h3 {
        font-size: 3.2rem;
        line-height: 36px;
    }
    .viewInner h3:after {
        width: 90%;
        margin: 55px auto 38px;
    }
    .viewInner button {
        width: 160px; height: 40px;
        margin-top: 60px;
        font-size: 1.6rem;
        cursor: pointer;
    }
}