/*==============================
スマホ背景固定
==============================

body::before {
    /*background: url("../image/main-bg.jpg") no-repeat center;
     画像（ここにfixedは入れない）
    background-color: #ffffff;
    background-size: cover;
    /* cover指定できる
    content: "";
    display: block;
    position: fixed;
    /* 擬似要素ごと固定
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
     横幅いっぱい
    height: 100vh;
    /* 縦幅いっぱい
}*/


/*==============================
スマホ背景固定
==============================*/

.fixed-button {
    position: fixed;
    top: 90%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 10px;
    cursor: pointer;
    transition: .3s;
    /*デフォルトで非表示にする*/
    opacity: 0;
    visibility: hidden;
    width: 100%;
}

.fixed-button {
    max-width: 1800px;
    margin: 0 auto;
    padding: 15px 0 0 0;
    text-align: center;
}

.fixed-button img {
    width: 700px;
}

@media screen and (min-width:768px) and ( max-width:1023px) {
    .fixed-button {
        position: fixed;
        top: 90%;
        left: 50%;
        transform: translate(-50%, -50%);
        padding: 10px;
        cursor: pointer;
        transition: .3s;
        /*デフォルトで非表示にする*/
        opacity: 0;
        visibility: hidden;
        width: 80%;
    }
    .fixed-button {
        max-width: 1800px;
        margin: 0 auto;
        padding: 15px 0 0 0;
        text-align: center;
    }
    .fixed-button img {
        width: 700px;
    }
}

@media screen and (max-width: 767px) {
    .fixed-button {
        position: fixed;
        top: 93%;
        left: 46%;
        transform: translate(-60%, -60%);
        padding: 10px;
        cursor: pointer;
        transition: .3s;
        /*デフォルトで非表示にする*/
        opacity: 0;
        visibility: hidden;
        width: 75%;
    }
    .fixed-button {
        max-width: 1800px;
        margin: 0 auto;
        padding: 15px 0 0 0;
        text-align: center;
    }
    .fixed-button img {
        width: 95%;
    }
}


/*このクラスが付与されると表示する*/

.active {
    opacity: 1;
    visibility: visible;
}


/*==============================
トップへ戻る
==============================*/

#page-top {
    position: fixed;
    z-index: 500;
    bottom: 20px;
    right: 20px;
    font-size: 77%;
}

#page-top a {
    background: #0d8162;
    text-decoration: none;
    color: #fff;
    width: 50px;
    padding: 15px 0;
    text-align: center;
    display: block;
    border-radius: 5px;
}

#page-top a:hover {
    text-decoration: none;
    background: #999;
}


/*==============================
改行タグ
==============================*/

@media screen and (min-width: 650px) {
    .br-pc {
        display: block;
    }
    .br-sp {
        display: none;
    }
}

@media screen and (max-width: 650px) {
    .br-pc {
        display: none;
    }
    .br-sp {
        display: block;
    }
}


/*==============================
メディア表示・非表示
==============================*/


/* パソコンで見たときは"pc"のclassがついた画像が表示される */

.pc {
    display: block !important;
}

.tab {
    display: none !important;
}

.sp {
    display: none !important;
}


/* ここから下に768px以上用（タブレット・パソコン） */

@media screen and (max-width: 768px) {
    /* ここに767px以下用（タブレット・スマートフォン） */
    .pc {
        display: none !important;
    }
    .tab {
        display: block !important;
    }
    .sp {
        display: none !important;
    }
}


/* ここに480px以下用（スマートフォン） */

@media screen and (max-width: 500px) {
    /* スマートフォンで見たときは"sp"のclassがついた画像が表示される */
    .pc {
        display: none !important;
    }
    .tab {
        display: none !important;
    }
    .sp {
        display: block !important;
    }
}


/*==============================
画像透過
==============================*/

a img:hover {
    opacity: 0.7;
}


/*==============================
特定商取法に基づく表記
==============================*/

.tbl-r02 a {
    text-decoration: underline;
    color: #6d6d6d;
}

.tbl-r02 {
    width: 100%;
}

.tbl-r02 th {
    background: #741414;
    border: solid 1px #300707;
    color: #fff;
    padding: 10px;
    width: 20%;
    text-align: left;
    line-height: 1.5em;
}

.tbl-r02 td {
    border: solid 1px #ccc;
    padding: 10px;
    width: 100%;
    color: rgb(0, 0, 0);
    line-height: 1.5em;
}

@media screen and (max-width: 640px) {
    .last td:last-child {
        border-bottom: solid 1px #ccc;
        width: 100%;
    }
    .tbl-r02 {
        width: 100%;
    }
    .tbl-r02 th,
    .tbl-r02 td {
        border-bottom: none;
        display: block;
        width: 100%;
    }
}


/*==============================
プライバシーポリシー
==============================*/

.section-privacy {
    background-color: #ffffff;
    background-repeat: no-repeat;
    background-size: cover;
}

.section-privacy a {
    text-decoration: underline;
    color: #6d6d6d;
}

.inner {
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
    padding: 0 40px;
}

#privacy {
    margin-bottom: 60px
}

#privacy h2 {
    text-align: center;
    font-size: 40px;
    line-height: 60px;
    margin-bottom: 90px;
    line-height: 60px;
    font-weight: bold;
}

@media screen and (max-width: 500px) {
    /* ここに480px以下用（スマートフォン） */
    /* スマートフォンで見たときは"sp"のclassがついた画像が表示される */
    #privacy h2 {
        text-align: center;
        font-size: 28px;
        font-weight: bold;
        line-height: 60px;
        margin-bottom: 30px
    }
}

#privacy h3 {
    font-size: 20px;
    line-height: 30px;
    margin-bottom: 5px;
    color: #741414;
    font-weight: bold;
}

#privacy p {
    font-size: 16px;
    line-height: 1.8em;
    margin-bottom: 30px;
    border-top: 1px dotted #333;
    padding-top: 10px;
}

.sub-footer {
    width: 100%;
    background: #741414
}

.sub-footer small {
    display: block;
    text-align: center;
    font-size: 12px;
    line-height: 18px;
    color: #fff;
    padding: 10px 0
}