@charset 'utf-8';
#terms_contents_section {
    min-height: 0;
}
#terms_contents_section a {
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    transition-property: all;
    transition: 0.3s linear;
}
#terms_contents_section .terms_btn_wrapper {
    width: 230px;
    height: 50px;
    margin: 0 auto;
}
#terms_contents_section .terms_btn_wrapper a {
    background-color: #FFFFFF;
    border: 1px solid #4A90E2;
    color: #4A90E2;
    font-size: 13px;
    border-radius: 3px;
    -webkit-justify-content: center;
    justify-content: center;
}

/* 規約一覧 */
#terms_index{
    padding: 140px 0 100px;
}
#terms_index .contents_wrapper {
    width: 780px;
    margin: 0 auto;
}
#terms_index h1 {
    color: #000000;
    font-size: 54px;
    font-weight: bold;
    line-height: 1.5;
}
#terms_index .terms_list {
    margin: 100px 0 10px;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: space-between;
    justify-content: space-between;
}
#terms_index .terms_list > div {
    width: 360px;
    margin-bottom: 60px;
}
#terms_index .terms_list .title {
    color: #4A4A4A;
    font-size: 14px;
    font-weight: bold;
    line-height: 1.5;
    margin-bottom: 10px;
}
#terms_index .terms_list .link {
    height: 56px;
    width: 100%;
    background-color: #FFFFFF;
    box-shadow: 0 1px 0 0 #DDDDDD;
    margin-bottom: 1px;
}
#terms_index .terms_list .link a {
    color: #4A4A4A;
    font-size: 16px;
    line-height: 1.5;
}
#terms_index .terms_list .link a:hover {
    color: #7AABE9;
}

@media screen and (max-width: 980px) {
    #terms_index{
        padding: 100px 0;
    }
    #terms_index .contents_wrapper {
        width: 100%;
        padding: 0 20px;
    }
    #terms_index h1 {
        font-size: 28px;
    }
    #terms_index .terms_list {
        margin: 40px 0 10px;
    }
    #terms_index .terms_list > div {
        width: 100%;
        margin-bottom: 50px;
    }
    #terms_index .terms_list .link a {
        font-size: 15px;
        text-indent: 0.5em;
    }
}

/* 規約詳細 */
#terms_detail_index {
    padding: 140px 0 100px;
}
#terms_detail_index.eula_app {
    padding: 60px 0 20px;
}
#terms_detail_index > div {
    width: 980px;
    position: relative;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    margin: 0 auto;
}
#terms_detail_index .side_menu {
    flex-basis: 33%;
    width: 294px;
    position: fixed;
}
#terms_detail_index .terms_list {
}
#terms_detail_index .terms_list > div {
    width: 100%;
}
#terms_detail_index .terms_list .title {
    color: #4A4A4A;
    font-size: 14px;
    font-weight: bold;
    line-height: 1.5;
    margin-bottom: 10px;
}
#terms_detail_index .terms_list .policy_menu .title {
    display: none;
}
#terms_detail_index .terms_list .link {
    height: 44px;
    width: 100%;
    text-indent: 1em;
}
#terms_detail_index .terms_list .policy_menu .link {
    text-indent: 0;
    padding-left: 1em;
}
#terms_detail_index .terms_list .link a {
    color: #4A4A4A;
    font-size: 14px;
    line-height: 1.5;
}
#terms_detail_index .terms_list .link a:hover,
#terms_detail_index .terms_list .link.return  a {
    color: #7AABE9;
}
#terms_detail_index .terms_list .link.return  a {
    text-indent: 0;
}
#terms_detail_index .terms_list .link.active {
    font-weight: bold;
    background-color: #F7F8FA;
    pointer-events:none;
    cursor: default;
}
#terms_detail_index .terms_list .link.active a:hover {
    color: #4A4A4A;
}
#terms_detail_index .text_contents_wrapper {
    -webkit-flex: 1;
    flex: 1;
}
#terms_detail_index .side_menu + .text_contents_wrapper {
    padding-left: 33%;
}
#terms_detail_index .text_contents_wrapper h1 {
    font-size: 24px;
    color: #000000;
    font-weight: bold;
    line-height: 1.3;
}
#terms_detail_index .text_contents_wrapper h2 {
    font-size: 18px;
    text-align: center;
    margin: 30px auto 0;
}
#terms_detail_index .side_menu + .text_contents_wrapper h1 {
    text-align: left;
}
#terms_detail_index .text_contents_wrapper h3 {
    font-size: 16px;
    color: #000000;
    font-weight: bold;
    line-height: 2;
}
#terms_detail_index .text_contents {
    margin: 20px 0;
    color: #4A4A4A;
    font-size: 14px;
    line-height: 1.8;
}
#terms_detail_index .text_contents_wrapper p {
    text-indent: 1em;
    padding-left: 0.5em;
}
#terms_detail_index ol{
    counter-reset: section;
    padding-left: 1.5em;
}
#terms_detail_index .text_contents .decimal > li {
    list-style: decimal;
    margin-bottom: 5px;
}
#terms_detail_index .text_contents .brackets {
    counter-reset: number 0;
}
#terms_detail_index .text_contents .decimal .brackets,
#terms_detail_index .text_contents .decimal .lower_alpha {
    padding-left: 1em;
}
#terms_detail_index .text_contents .brackets > li {
    position: relative;
    margin-bottom: 5px;
    padding-left: 0.5em;
}
#terms_detail_index .text_contents .brackets > li:before {
    content: '(\a0'counter(number)'\a0)\a0\a0';
    position: absolute;
    top: 0;
    left: -2em;
    counter-increment: number 1;
}
#terms_detail_index .text_contents ol.lower_alpha {
    margin-bottom: 10px;
}
#terms_detail_index .text_contents ol.lower_alpha > li {
    margin-bottom: 5px;
    position: relative;
    padding-left: 1.5em;
}
#terms_detail_index .text_contents ol.lower_alpha > li:before {
    content: '(\a0'counter(section, lower-alpha)'\a0)\a0\a0';
    counter-increment: section;
    position: absolute;
    top: 0;
    left: -1em;
}
#terms_detail_index ol.upper_alpha {
    padding-left: 0;
}
#terms_detail_index ol.upper_alpha .brackets {
    padding-left: 2em;
}
#terms_detail_index ol.upper_alpha > li {
    margin: 20px 0;
    padding-left: 0.5em;
    font-size: 16px;
}
#terms_detail_index ol.upper_alpha > li:before {
    content: counter(section, upper-alpha)'. ';
    counter-increment: section;
}
#terms_detail_index .text_contents .indent {
    padding-left: 1em;
}
#terms_detail_index .terms_btn_wrapper {
    margin-top: 50px;
}
#terms_detail_index .text_contents .table_box {
    margin: 10px 0;
}
#terms_detail_index .text_contents .table_box .th {
    border: 1px solid #000000;
    background-color: #F7F8FA;
    text-align: center;
}
#terms_detail_index .text_contents .table_box .td {
    border-bottom: 1px solid #000000;
    border-left: 1px solid #000000;
    border-right: 1px solid #000000;
}
#terms_detail_index .text_contents .table_box .td li,
#terms_detail_index .text_contents .simple_box li {
    list-style: initial;
    margin-left: 2em;
}
#terms_detail_index .text_contents .table_box .table_row {
    display: table;
    background-color: #F7F8FA; 
    width: 100%;
    border-collapse:collapse;
}
#terms_detail_index .text_contents .table_box .table_row:nth-child(2n) {
    background: #FFFFFF;
}
#terms_detail_index .text_contents .table_box .table_row:first-of-type {
    margin-top: 15px;
}
#terms_detail_index .text_contents .table_box .table_row div {
    display: table-cell;
    width: 30%;
    padding: 20px;
    border-left: 1px solid #DDDDDD;
    border-right: 1px solid #DDDDDD;
    word-break: break-all;
}
#terms_detail_index .text_contents .table_box .table_row div:first-child {
    border-left: none;
}
#terms_detail_index .text_contents .table_box .table_row div:last-child {
    width: 40%;
    border-right: none;
}
#terms_detail_index .text_contents .table_box .table_header {
    background-color: #F7F8FA;
    font-weight: bold;
}
#terms_detail_index .text_contents .table_box .table_cell {
    font-size: 12px;
    font-weight: 400;
}
#terms_detail_index .text_contents .simple_box .indent {
    padding-right: 1.5em;
}
#terms_detail_index .text_contents .simple_box {
    margin: 10px 0;
    border: 1px solid #000000;
    padding: 10px 0;
}
#terms_detail_index ol.upper_alpha .text_contents {
    margin: 5px 0 20px;
}
#terms_detail_index .text_contents .reverse_indent {
    margin-left: -3em;
}
#terms_detail_index .text_contents a {
    display: inline;
    color: #7AABE9;
    font-size: 14px;
}
#terms_detail_index .terms_list .link.return  a:hover,
#terms_detail_index .text_contents a:hover {
    opacity: 0.6;
}

#terms_detail_index .disclosure_req {
    background-color: #F6F6F6;
    padding: 20px;
}
/* アプリ用 */
#terms_contents_section #terms_detail_index > div.app_footer {
    margin: 20px auto;
    -webkit-justify-content: flex-end;
    justify-content: flex-end;
}
#terms_contents_section #terms_detail_index > div.app_footer a {
    pointer-events: auto;
    font-size: 14px;
    line-height: 1.5;
    width: auto;
    color: #7AABE9;
}

.add_before_data_text{
    position: relative;
    padding: 0 0 0 1.5em;
}

.add_before_data_text::before{
    content: '';
    position: absolute;
    top: 0.2em;
    bottom: 0;
    left: 0;
}

.add_before_data_text::before {
    content: attr(data-text)'';
    top: 0;
    font-size: 1em;
}

@media screen and (max-width: 980px) {
    #terms_detail_index {
        padding: 20px 20px 100px;
    }
    #terms_detail_index.eula_app {
        padding: 0 20px 20px;
    }
    #terms_detail_index > div {
        width: 100%;
        -webkit-flex-direction: column;
        flex-direction: column;
        -webkit-align-items: center;
        align-items: center;
    }
    #terms_detail_index .side_menu {
        flex-basis: auto;
        width: 100%;
        position: fixed;
        top: 48px;
        background-color: #FFFFFF;
        padding: 20px 20px 0 20px;
        z-index: 1;
    }
    #terms_detail_index .terms_list .title {
        position: relative;
        line-height: 3;
        border-top: 1px solid #DDDDDD;
        border-bottom: 1px solid #DDDDDD;
        cursor: pointer;
    }
    #terms_detail_index .terms_list .policy_menu .title {
        display: block;
    }
    #terms_detail_index .terms_list .title:after {
        content: '';
        position: absolute;
        top: 15px;
        right: 10px;
        height: 7px;
        width: 7px;
        border-right: 2px solid #000000;
        border-bottom: 2px solid #000000;
        -webkit-transform: rotate(45deg);
        transform: rotate(45deg);
    }
    #terms_detail_index .terms_list .title.open:after {
        -webkit-transform: rotate(225deg);
        transform: rotate(225deg);
    }
    #terms_detail_index .terms_list .link {
        display: none;
    }
    #terms_detail_index .terms_list .link.open {
        display: block;
    }
    #terms_detail_index .terms_list .link.open.active {
        display: none;
    }
    #terms_detail_index .text_contents_wrapper {
        width: 100%;
        padding-top: 30px;
    }
    #terms_detail_index .side_menu + .text_contents_wrapper {
        padding-left: 0;
        padding-top: 80px;
    }
    #terms_detail_index .text_contents_wrapper h1 {
        font-size: 20px;
    }
    #terms_detail_index .text_contents .table_box .td li,
    #terms_detail_index .text_contents .simple_box li {
        margin-right: 1em;
    }
    #terms_detail_index .text_contents a {
        word-break: break-all;
    }
    #terms_detail_index .disclosure_req {
        padding: 10px;
    }
}