@charset "UTF-8";


/*ローディングスピナー*/

.loader,
.loader:after {
    border-radius: 50%;
    width: 2em;
    height: 2em;
}

.loader {
    color: #000;
    margin: 16px auto;
    position: relative;
    text-indent: -9999em;
    border-top: 0.2em solid rgba(214, 214, 214, 0.2);
    border-right: 0.2em solid rgba(214, 214, 214, 0.2);
    border-bottom: 0.2em solid rgba(214, 214, 214, 0.2);
    border-left: 0.2em solid #343a40;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-animation: load8 1.1s infinite linear;
    animation: load8 1.1s infinite linear;
}

@-webkit-keyframes load8 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes load8 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}


/*ローディングスピナーここまで*/


html {
    scroll-behavior: smooth;
}

ul,
ol {
    list-style: none;
}

.required::after{
    content: '*';
    color: red;
    vertical-align: super;
}

.navbar-dark .navbar-toggler {
    border: none;
}

.navbar-brand>img{
    width: 150px;
    margin-top: -20px;
}

button:focus {
    outline: 0px dotted;
    outline: 0px auto -webkit-focus-ring-color;
}

main:not(#home) {
    padding-top: 65px;
}

section > h2:first-of-type{
        margin-bottom: 30px;
    }

ol.terms_sublist{
    counter-reset: number 0;
    
}
.terms_sublist li{
    margin-left: -1.5rem;
    line-height: 2rem;
}
.terms_sublist li::before{
    counter-increment: number 1;
    content: "（" counter(number) "）";
    margin-right: -0.5rem;
}

#head_img {
    background: #535353 url(../img/topimage.webp) 0 58px/cover no-repeat;
    height: 517px;
    margin-bottom: 30px;
}

#backToTop a {
    color: #999;
    text-decoration: none;
}

#backToTop a:hover {
    text-decoration: none;
    color: cadetblue;
}

.navbar-brand {}

.navbar {
    padding: 0.5rem 0 0;
}

ul.navbar-nav {
    text-align: right;
    background: #455850;
}

ul.navbar-nav.mr-auto li {
    padding: 0 1rem;
    border-bottom: 1px solid #b5b5b5
}

ul.navbar-nav.mr-auto li:nth-child(odd) {
    /*background: #535353;*/
}

.bg-purple {
    background: #4a0390;
}

.about_ctm h2 {
    font-size: 1.3rem;
}

.back_img01 {
    background: #fff url(../img/01.jpg) center/150% no-repeat;
}

.back_img02 {
    background: #fff url(../img/02.jpg) center/cover no-repeat;
}

.back_img03 {
    background: #fff url(../img/03.jpg) center/cover no-repeat;
}

.back_img04 {
    background: #fff url(../img/04.jpg) center/cover no-repeat;
}

div[class*="back_img"] {
    border: 4px solid #fff;
}

div[class*="back_img"] div {
    background: rgba(81, 46, 230, 0.54);
    border: 1px solid #ac9af5;
}

div[class*="back_img"] h4 {
    color: #ffffff
}

#price_list thead {
    display: none;
}

#price_list .table-bordered {
    border: none;
}

#price_list tbody tr:nth-of-type(even) {
    background: #baecf4
}

#price_list tbody tr {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 30px;
    border: 1px solid #ccc;
}

#price_list tbody td p {
    margin: 0;
}

#price_list tbody td:nth-of-type(1) {
    width: 30%;
    border: none;
}

#price_list tbody td:nth-of-type(2) {
    width: 100%;
    border: none;
    border-top: 1px solid #ccc;
}

#price_list tbody th {
    width: 70%;
    border: none;
    border-right: 1px solid #ccc;
}

.total_price::before{
    content: '￥';
    background: #fff;
    padding: 2px 0px 3px 4px;
}

#privacy h3,
#terms h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 8px
}

#privacy > div > ul > li,
#terms > div > ul > li {
    margin-bottom: 30px;
    text-indent: -1rem;
    padding-left: 1rem;
}

#sctl dl {
    margin-bottom: 30px
}

#mail_confirm_modal {
    background: rgba(0, 0, 0, 0.81);
    padding: 20px 10%;
    width: 100vw;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    position: fixed;
    z-index: 2000;
    display: none;
}

.mail_confirm_modal_wrap {
    position: relative;
    top: 10%;
    overflow-y: scroll;
    overflow-x: hidden;
    height: 80%;


}

.optionMenu h2{
    margin-bottom: 10px!important;
}
.secondTitle{
    margin-bottom: 80px;
    font-size:clamp(0.3rem,3.6vw,1.1rem);
}
.optionMenuBody dl{
    background: #f0e6d4;
    padding: 15px;
    border-radius: 5px
}

.optionMenuBody dt{
    font-size: 1.3rem;
    text-indent: -0.6rem;
    color: dodgerblue
}

.recommend{
    position: relative;
    padding: .3rem .3rem .3rem .5rem;
    border-radius: 5px;
    border: 4px solid #7100f5;
    font-weight: bold;
    font-size: 0.8rem;
    background: #e60303;
    color: white;
    top: -1.2rem;
    left: -1.5rem;
}

.recommend::before,
.recommend::after{
    position: absolute;
    left: 30px;
    height: 0;
    width: 0;
    border: solid transparent;
    content: "";
}
.recommend::before{
    top: 100%;
    margin-left: -12px;
    border-color: transparent;
    border-top-color: #7100f5;
    border-right-color: #7100f5;
    border-width: 10px;
}
.recommend::after{
    top: 99%;
    margin-left: -7px;
    border-color: transparent;
    border-top-color: #e60303;
    border-right-color: #e60303;
    border-width: 6.5px;
}

.optionMenuContact{
    border: 1px solid #d4b014;
    padding: 30px;
    text-align: center
}

.optionMenuContact dl{
    display: flex;
    justify-content: center;
    margin-bottom: 0;
    font-size: 1.1rem;
}

.optionMenuContact dt{
    padding-right: 5px;
}

.optionMenuContact p:first-child{
    font-size: 1.3rem;
    font-weight: bold;
    color: #4a0393
}

.br{
    display: none;
}

@media (max-width: 538px) {
    .br{
    display: block;
}
}
@media (min-width: 768px) {

    .navbar-expand-md .navbar-collapse {
        justify-content: flex-end;
        text-align: right
    }
        
}



@media (min-width: 992px) {
    main:not(#home) {
        padding-top: initial;
    }

    .navbar {
        padding: 0.5rem 1rem;
    }
    
    .navbar-brand>img{
    margin-top: 0px;
}
    
    section > h2:first-of-type {
        margin-bottom: 80px;
    }

    ul.navbar-nav {
        position: absolute;
        right: 20px;
        background: initial;
    }

    ul.navbar-nav.mr-auto li {
        font-size: 0.9rem;
        padding: initial;
        border-bottom: initial;
    }

    ul.navbar-nav.mr-auto li:nth-child(odd) {
        background: initial;
    }

    #price_list .table-bordered {
        border: 1px solid #ccc;
    }

    #price_list thead {
        display: inherit;
    }

    #price_list thead th:nth-of-type(1) {
        min-width: 233px;
    }
    
    form[name='purchaseform'] #price_list thead th:nth-of-type(1) {
        min-width: 260px;
    }

    #price_list tbody th {
        min-width: 233px;
        width: inherit;
    }
    
    form[name='purchaseform'] #price_list tbody th:nth-of-type(1) {
        min-width: 260px;
    }

    #price_list tbody tr {
        display: inherit;
        margin-bottom: 0px;
        border-top: 1px solid #ccc;
    }

    #price_list thead th:nth-of-type(2) {
        min-width: 110px;
    }

    #price_list thead th:nth-of-type(3) {
        width: 100%;
    }

    #price_list tbody td:nth-of-type(1) {
        width: initial;
        border-top: 1px solid #ccc;
        border-right: 1px solid #ccc;
        min-width: 110px;
    }

    #price_list tbody td:nth-of-type(2) {
        width: initial;
        border-top: 1px solid #ccc;
    }




}
