@charset "UTF-8";

/* 背景画像 */
.wrapper {
    background: url(../img/information_bg.png) repeat-x 50% 300px;
    background-size: 1880px auto ;
}

main {
    padding: 0 20px 20px;
}

/* h2 再定義 */
/* h2 {
    font-size: 1.1em;
    line-height: 45px;
    padding-left: 10px;
    border-left: 7px solid #FF3200;
    margin-bottom: 30px;
}

h2::before {
    content: none;
} */



/* Q & A */
dl {
    width: 660px;
    margin: auto;
    margin-bottom: 80px;
    /* カウンタリセット */
    counter-reset: number 0;
}

/* 質問 */
dt {
    border: 1px solid #FF4400;
    border-radius: 5px;
    padding: 20px 10px 20px 80px;
    color: #FF4400;
    position: relative;
    cursor: pointer;
    line-height: 1.5;
    margin-bottom: 30px;
    background: #ffffff;
}

dt::before {
    counter-increment: number 1;      /* number カウンタのインクリメント */
    content: "Q " counter(number);
    font-size: 1.2em;
    font-weight: bold;
    position: absolute;
    top: calc(50% - 0.7em);
    left: 15px;
}
/* アイコン表示 */
dt::after {
    font-family: 'Material Icons';
    content: "\e5e1";
    font-size: 1.5em;
    position: absolute;
    transform: rotate(90deg);
    top: calc(50% - 0.7em);
    right: 10px;
    color: #FF4400;
}

dt.ex::after {
    font-family: 'Material Icons';
    content: "\e5e1";
    /* font-size: 1.2em; */
    position: absolute;
    transform: rotate(270deg);
    top: calc(50% - 0.7em);
    right: 10px;
    color: #FF4400;
}


/* 回答 */
dd {
    position: relative;
    line-height: 1.7;
    padding: 0 0 30px 100px;
    /* opacity: 0; */
    /* display: none; */
}

dd.fadein {
    /* display: block; */
    opacity: 1;
    animation: fadein 500ms ease-in 0s;
}

@keyframes fadein {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}


dd::before {
    content: "A";
    font-size: 1.3em;
    font-weight: bold;
    color: #FF4400;
    position: absolute;
    margin-top: -3px;
    left: 50px;
}

dd > ul {
    font-size: 0.9em;
    line-height: 1.5;
    margin-top: 15px;
}

/* 付帯情報 */
.misc {
    text-align: right;
    margin-bottom: 0;
    position: relative;
}
.misc::before {
    font-family: 'Material Icons';
    content: "\e5e1";
    font-size: 1.5em;
    position: absolute;
    transform: rotate(90deg);
    top:-0.5rem;
    right: 295px;
    color: #FF4400;
}

/* テーブル */
.table-qa {
    border-collapse: collapse;
    width: 100%;
    table-layout: fixed;
    margin: 20px 0 0 0;
}

.table-qa th, .table-qa td {
    background: #d4e0ef;
    text-align: center;
    padding: 5px;
    border :1px solid #333;
    /* border-width: 1px 0 0 1px; */
}

.table-qa th.none {
    background: transparent;
    border : none;
}

.table-qa th[rowspan="6"].none {
    border :1px solid #333;
    border-width: 0 1px 0;
    width: 20px;
}

.table-qa th.th-ex {
    width: 80px;
}

.table-qa td {
    background: #fff;
}

/* タブの設定 */
.tab {
    display: flex;
    width: 100%;
    padding: 0 45px;
    border-bottom: 1px solid #ff4400;
    justify-content: space-between;
    margin: 60px auto 70px;
}

.tab > a {
    width: 290px;
    text-align: center;
    background: #ffffff;
    color: #ff4400;
    text-decoration: none;
    padding: 13px 0;
    border: 1px solid #ff4400;
    border-bottom-width: 0;
    flex-grow: 2;
}
.tab > a:nth-child(even) {
    border-width: 1px 0 0 0;
}
.tab > a.active {
    background: linear-gradient(to right, #e6003a, #f39702);
    color: #ffffff;
}
.tab > a:hover {
    background: #F39C00;
    color: #ffffff;
}

/* 限定的強調 */
/* .strong {
    padding: 3px 5px;
    background: #f39702;

    transition: 3000ms background ease-in 2000ms;
} */

/* .strong.on {
    background: #ffffff;
} */



/** --------------------------------
* タブレット
*/
.wrapper.tablet .tab {
    margin: 60px auto 70px;
}
/* .wrapper.tablet .recruitment-columns > figure {
    zoom: 0.8;
} */
.wrapper.wrapper.tablet .misc::before {
    font-family: 'Material Icons';
    content: "\e5e1";
    font-size: 1.5em;
    position: absolute;
    transform: rotate(90deg);
    top: calc(-50% + 0.4em);
    margin-left: -1em;
    color: #FF4400;
}


/** --------------------------------
* sp
*/
@media screen and (max-width: 767px) {

    /* 背景画像 */
    /* .wrapper.message {
        background: url(../../img/bg.png) repeat-y 50% 6em;
        background-size: 300% auto;
    } */

    /* .top-img-type-a > img {
        background-size: auto 100%, 100% 100%;
    } */

    /* h2 再定義 */
    /* h2 {
        width: 100%;
        margin: 0;
        padding: 0;
        padding-left: 30px;
        margin-bottom: 30px;
    } */

    /* Q & A */
    dl {
        width: 100%;
        margin: auto;
        margin-bottom: 50px;
        /* カウンタリセット */
        /* counter-reset: number 0; */
    }

    dt {
        border: 1px solid #FF4400;
        border-radius: 5px;
        padding: 20px 40px 20px 60px;
        color: #FF4400;
        position: relative;
        cursor: pointer;
    }

    dd {
        position: relative;
        line-height: 1.7;
        padding: 0 0 30px 40px;
    }
    
    dd::before {
        content: "A";
        font-size: 1.3em;
        font-weight: bold;
        color: #FF4400;
        position: absolute;
        margin-top: -3px;
        left: 10px;
    }

    /* 付帯情報 */
    .misc {
        margin-bottom: 20px;
    }
    .misc::before {
        font-family: 'Material Icons';
        content: "\e5e1";
        font-size: 1.5em;
        position: absolute;
        transform: rotate(90deg);
        top: calc(-50% + 0.3em);
        margin-left: 0;
        right: 12em;
        color: #FF4400;
    }

    /* テーブル */
    .table-qa th.th-ex {
        width: 50px;
    }

    /* タブの設定 */
    .tab {
        /* display: flex;
        width: 100%; */
        font-size: 0.9em;
        padding: 0 10px;
        vertical-align: baseline;
        /* border-bottom: 1px solid #ff4400;
        justify-content: space-between; */
        margin: 30px auto 40px;
    }
    
}