@charset "UTF-8";

/*----------------------
modal
----------------------*/

.remodal-wrapper ,
.remodal-is-closed {
    opacity: 0;
} 

.remodal-is-opened {
    opacity: 1;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

.modal {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.7);
    -webkit-transition: all .8s;
    -ms-transition: all .8s;
    transition: all .8s;
    color: #333;
    z-index: 999;
}

.modal .modalContent {
    display: block;
    position: relative;
    margin: 0 auto;
    height: 100%;
    max-width: 940px;
    width: 90%;
    overflow-y: scroll;
    overflow-y:auto;
}

.modal .modalContent::-webkit-scrollbar{
    display:none;
}

.modal .modalInner {
    position: absolute;
    margin: auto;
    left: 0;
    right: 0;
    top: 10%;
    box-sizing: border-box;
    z-index: 999;
    background: #fff;
    padding: 20px;
    box-sizing: border-box;
    margin-bottom: 10%;
}

.modal .modalInner p {
    font-size: 15px;
    margin-top: 20px;
}

.modal .modalInner p span {
    font-size: 12px;
    color: #888;
    display: inline-block;
    margin-left: 20px;
}

.modal .modalInner figure img {
    width: 100%;
    vertical-align: middle;
}

.modal .closeBtn {
    display: block;
    position: absolute;
    top: 6%;
    right: 0;
    width: 28px;
    height: 28px;
    z-index: 9999;
}

.modal .closeBtn span {
    display: inline-block;
    position: absolute;
    right: 0;
    width: 100%;
    height: 3px;
    background-color: #fff;
}

.modal .closeBtn span:nth-of-type(1) {
    top: 0%;
    -webkit-transform: translateY(10px) rotate(-45deg);
    transform: translateY(10px) rotate(-45deg);
}
.modal .closeBtn span:nth-of-type(2) {
    -webkit-transform: translateY(-12px) rotate(45deg);
    transform: translateY(-12px) rotate(45deg);
    bottom: 10%;
}

.modal_bg {
    width: 100%;
    height: 100vh;
    position: absolute;
    top: 0;
    right: 0;
}

/*.modal_main .modal_link {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(0,0,0,.2);
    overflow: hidden;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 1px;
}

.modal_main .modal_link .leftBtn {
    float: left;
    position: relative;
    padding-left: 1.2em;
}

.modal_main .modal_link .leftBtn::before {
    position: absolute;
    margin: auto;
    top: 0;
    bottom: 0;
    left: 0;
    width: 13px;
    height: 15px;
    display: block;
    content: '';
    background: url(../img/common/arrow_3.svg) no-repeat;
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
}

.modal_main .modal_link .rightBtn {
    float: right;
    position: relative;
    padding-right: 1.2em;
}

.modal_main .modal_link .rightBtn::after {
    position: absolute;
    margin: auto;
    top: 0;
    bottom: 0;
    right: 0;
    width: 13px;
    height: 15px;
    display: block;
    content: '';
    background: url(../img/common/arrow_3.svg) no-repeat;
}*/



/*----------------------
IE用
----------------------*/
@media all and (-ms-high-contrast: none){

body{ scrollbar-base-color:#fff; }/* IE用スクロールバーカラー */
body::-webkit-scrollbar { width:5px; height: auto; }/* スクロールバー幅 */
body::-webkit-scrollbar-track { background: #000; }/* 背景 */
body::-webkit-scrollbar-thumb { background:#fff; }/* スクロールバー本体 */

.modal .closeBtn {
    top: 5%;
}

}


/*----------------------

768px 以下

----------------------*/

@media (max-width: 768px) {


/*----------------------
modal
----------------------*/
.modal_bg,
.modal {
    z-index: 9999;
}

.modal .modalContent {
    width: 90%;
}

.modal .modalInner {
    margin: 10% 0 10%;
    top: 0;
    z-index: 99999;
    bottom: inherit;
}

.modal .closeBtn {
    top: 3%;
    width: 30px;
    height: 28px;
}

.modal_main {
    padding: 10% 5%;
    font-size: 14px;
}

.modal_main .modal_maincont {
    margin-top: 30px;
}

.modal_main .modal_maincont .title {
    font-size: 17px;
}

.modal_main .modal_maincont ul {
    margin-top: 20px;
}
    
.modal_main .modal_maincont ul li {
    padding-left: 1.5em;
    font-size: 11px;
}

.modal_main .modal_link {
    margin-top: 30px;
    font-size: 14px;
}

.modal_main .modal_link .rightBtn::after ,
.modal_main .modal_link .leftBtn::before {
    top: -1px;
    width: 9px;
    height: 10px;
}

.modal_close {
    padding: 12px 0;
    margin-bottom: 0%;
}

.modal_close p {
    font-size: 16px;
}

.modal_close p span {
    right: -1.5em;
    width: 16px;
    height: 2px;
}

.modal_close p span:nth-of-type(2) {
    top: 21px;
}

.modal_close p span:nth-of-type(1) {
    top: -1px;
}

.modal_main .modal_mainimg {
    overflow: visible;
    height: 500px;
}

.modal_main .modal_mainimg .box_right,
.modal_main .modal_mainimg .box_left {
    float: none;
    width: 100%;
    background-color: #fff;
}

.modal_main .modal_mainimg figure {
    height: 378px;
    width: auto;
    overflow: hidden;
    max-width: 310px;
    margin: auto;
}

.modal_main .modal_mainimg figure img {
    width: auto;
    height: 100%;
}

.modal_main .modal_mainimg .box_right figure img {
    margin: -6px;
    height: 103%;
}



.tab {
    position: relative;
    margin-bottom: 30px;
    height: 43px;
}

.tab li {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
    transition: 1.5s;
}

.tab li.select {
    visibility: visible;
    opacity: 1;
    transition: 1.5s;
}

.modal_main .modal_mainimg .btn_tab {
    margin-top: 30px;
    width: 100%;
    height: 43px;
    text-align: center;
    background: #af9a4f;
    border: 1px solid #af9a4f;
    color: #fff;
    line-height: 43px;
    font-size: 22px;
}

.modal_main .modal_mainimg li:last-child .btn_tab {
    background: #fff;
    color: #af9a4f;
}

.modal_main .modal_mainimg .btn_tab span {
    font-size: 16px;
}


}


/*----------------------------

414px以下

----------------------------*/

@media (max-width: 414px) {

.modal .closeBtn {
    top: 1%;
    width: 20px;
}

.modal .closeBtn span {
    height: 2px;
}

.modal .closeBtn span:nth-of-type(2) {
    bottom: 12%;
}

.modal .modalInner p {
    font-size: 12px;
    margin-top: 10px;
}

.modal .modalInner p span {
    font-size: 10px;
    display: block;
    margin-left: 0;
    margin-top: 5px;
    letter-spacing: .5px;
}


}
