.sub_sect { position: relative; padding: 70px 0; }
.sub_sect .imgwrap { text-align: center; }
.sub_sect .sub_tit1 { padding-bottom: 60px; text-align: center; font-weight: 500; font-size: 32px; color: #000; }

/* sub_visual */
.sub_visual { position: relative; height: 400px; overflow: hidden; }
.sub_visual .bg { background-color: #ba8945; background: url(/image/common/subtopbg.png) no-repeat center/cover; z-index: 1; position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.sub_visual .frame { z-index: 2; position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.sub_visual .txtbox { z-index: 3; position: relative; top:  90px; height: calc(100% - 90px); text-align: center; }
.sub_visual .txtbox .texts { position: relative; top: 50%; transform: translateY(-50%); }
.sub_visual .txtbox .text1 { font-family: "Playfair Display", serif; text-align: center; font-weight: 600; font-size: 80px; color: #000; animation: titleArea_main 1.25s forwards; }
.sub_visual .txtbox .text2 { margin-top: 10px; text-align: center; font-size: 24px; color: #927b65; animation: titleArea_main 1.25s forwards; }
@media (max-width: 1535px) {
    .sub_visual { height: 360px; }
    .sub_visual .txtbox { top: 80px; height: calc(100% - 80px); }
}
@media (max-width: 1279px) {
    .sub_visual { height: 330px; }
    .sub_visual .txtbox { top: 70px; height: calc(100% - 70px); }
}
@media (max-width: 1023px) {
    .sub_visual { height: 270px; }
    .sub_visual .txtbox { top: 60px; height: calc(100% - 60px); }
}
@media (max-width: 767px) {
    .sub_visual { height: 240px; }
}

@keyframes titleArea_main{
    0%{
        letter-spacing: 30px;
        opacity: 0;
    }
    100%{
        letter-spacing: -1px;
	    opacity: 1;
    }
}

/* subtab */
.subtabwrap { height: 60px; border-bottom: 1px solid #e9ebeb; }
.subtabwrap .contwrap { height: 100%; }
.subtab { height: 100%; display: none; flex-wrap: wrap; justify-content: center; }
.subtab.active { display: flex; }
.subtab li { position: relative; width: 14.2857%; height: 100%; }
.subtab li a { position: relative; display: block; height: 100%; text-align: center; border-bottom: 1px solid #ddd; line-height: 1; }
.subtab li a > span { position: relative; top: 50%; transform: translateY(-50%); display: inline-block; font-weight: 500; font-size: 18px; color: #555; line-height: 1; }
.subtab li.active a > span { color: #555; }

.subtab li a::after { z-index: 1; display: block; content: ''; position: absolute; left: 50%; transform: translateX(-50%); bottom: -2px; width: 0; height: 2px; background-color: #ba8945; transition: width 0.3s; }
.subtab li.active a::after { width: 100%; }

@media (max-width: 1535px) {
    .subtabwrap { height: 50px; }
    .subtab li a > span { font-size: 16px; }
}
@media (max-width: 1279px) {
    .subtabwrap { height: 45px; }
    .subtab li { width: 33.3333%; }
    .subtab li a > span { font-size: 15px; }
}
@media (max-width: 1023px) {
    .subtabwrap { height: 40px; }
    .subtab li a > span { font-size: 14px; }
}
@media (max-width: 767px) {
    .subtab li { width: 50%; }
}
@media (max-width: 480px) {

}

/* subcont */
.subcont { display: none; }
.subcont.active { display: block; }

/* sub1 */
.sub1 .subpc { display: block; }
.sub1 .submo { display: none; }
@media (max-width: 767px) {
    .sub1 .subpc { display: none; }
    .sub1 .submo { display: block; }
}

/* sub3tab */
.sub3tab { margin-bottom: 30px; display: flex; flex-wrap: nowrap; font-size: 18px; color: #fff; line-height: 1; }
.sub3tab * { font-size: inherit; color: inherit; line-height: inherit; }
.sub3tab li { width: 20%; }
.sub3tab li a { display: block; padding: 18px 0; text-align: center; background-color: #eee; border-left: 1px solid #fff; color: #082341; transition: background-color 0.3s, color 0.3s; }
.sub3tab li.active a { background-color: #082341; color: #fff; }
@media (max-width: 1535px) {
    .sub3tab li a { padding: 16px 0; }
}
@media (max-width: 1279px) {
    .sub3tab li a { padding: 15px 0; }
}
@media (max-width: 1023px) {
    .sub3tab li a { padding: 13px 0; }
}
@media (max-width: 767px) {
    .sub3tab { flex-wrap: wrap; }
    .sub3tab li { width: 33.3333%; }
    .sub3tab li a { padding: 11px 0; }
}
