img{
    max-width: 100%;
}

body{
    max-width: 1000px;
    width: 100%;
    background-color: #EEE8D8;
    margin: 0 auto;
}

header{
    background-color: white;
}

.header_img{
    /* margin-bottom: 20px; */
}

.header_img img{
    width: 100%;
}

.header_text{
    width: 90%;
    margin: 0 auto;
    margin-top: 20px;
    padding-bottom: 20px;
}

.header_text h1{
    font-size: 21px;
    font-weight: bold;
    margin-bottom: 5px;
}

.header_text p span{
    /* text-decoration:underline;
    text-decoration-color: #E84A7D; */
    background: linear-gradient(transparent 80%, #E84A7D 10%);
    /* ↑下線 */
}

.header_text p{
    line-height: 1.8;
    padding-bottom: 10px;
}


/* ▼▼▼ここから18歳確認ページ */
.header_18{
    background-color: #EEE8D8;
    /* ↑謎の白い空白が画像の下にできるため、白を隠すためにこれで背景色を上書きしている */
}

.check_box{
    margin-bottom: 30px;
}

.check_box p{
font-size: 18px;
text-align: center;
margin: 30px 0;
}

.top_check{
    font-size: 24px;
    font-weight: bolder;
    color: #EA0C80;
}

.top_btn-area{
    padding: 20px;
}

.over18-btn{
    display: block;
    max-width: 500px;
    background-color: #EA0C80;
    border-radius: 50px;
    font-size: 18px;
    color: white;
    padding: 25px;
    margin: 0 auto;
    text-align: center;
    transition: .3s;
    text-decoration: none;
    margin-bottom: 30px;
}

.over18-btn:hover{
    transform: scale(1.1);
}

.under18-btn{
    display: block;
    max-width: 300px;
    background-color: white;
    border: 2px solid #EA0C80;
    border-radius: 50px;
    font-size: 14px;
    color: #EA0C80;
    padding: 25px;
    margin: 0 auto;
    text-align: center;
    transition: .3s;
    text-decoration: none;
    /* margin-bottom: 10px; */
}

.under18-btn:hover{
    transform: scale(1.1);
}

.about{
    border: 2px solid #EA0C80;
    border-radius: 20px;
    margin: 0 10px 30px 10px;
}


.about p{
    text-align: center;
    margin: 30px auto;
    font-size: 16px;
    padding: 10px;
}

.about span{
    background: linear-gradient(transparent 85%, #EA0C80 10%);
    /* ↑transparent 90%で色が付かない割合を決める。
    #EA0C80 50%の値をどんなに増やしても色の幅は増えない。 */
}

.footer_nav{
    background-color: #F4957F;
}

.footer_nav ul{
    display: flex;
    justify-content: space-around;
    list-style: none;

}

.footer_nav li{
    margin: 10px 0;
    padding: 8px 30px;
}

.footer_nav a{
    text-decoration: none;
    color: white;
    transition:border-color .5s;
    border-color: transparent;
}

.footer_nav a:hover{
    border-bottom: 1px solid currentColor;
}

/* ▲▲▲ここまで18歳確認ページ */


/* ▼▼▼ここから会社情報ページ */
.company_info{
    text-align: center;
    /* ↑.companyにテキストアラインを当てるとddまで左右真ん中になるため
    .company_infoという親要素を作っている */
}

.company_info p{
    display: inline-block;
    font-size: 20px;
    font-weight: bold;
    margin-top: 20px;
    /* margin: 0 auto; */
    /* ↑インラインブロックに対してマージン0オートは効かない。
    左右真ん中にするには親要素にテキストアラインセンターを入れる。 */
    /* 下線を引くためにインラインブロックにしていたが下線は止めたのでインラインブロックだけ残っている */
}

.company dl {
    display: flex;
    flex-wrap: wrap;
    border: 1px solid black;
    width: 95%;
    margin: 0 auto 40px auto;
    border-bottom: none;
}

.company dt {
    width: 30%;
    padding: 20px;
    /* background-color: #DADADA; */
    text-align: center;
    border-right: 1px solid black;
    border-bottom: 1px solid black;
}

.company dd {
    width: 70%;
    padding: 20px;
    /* background-color: #DADADA; */
    /* text-align: center; */
    border-bottom: 1px solid black;
}

.pageback{
    margin-bottom: 45px;
    text-align: center;
}

.pageback input[type="button"] {
    /* ↑inputのtype属性が"button"に指定されているものを表している */
    /* inputタグはデフォルトでインラインブロック要素のため親要素にテキストアラインセンターを当てている */
    background: #F4957F;
    border-radius: 50px;
    align-items: center;
    /* margin: 0 auto; */
    /* ↑マージンゼロオートはインラインブロックに対して効かない */
    max-width: 280px;
    padding: 20px 100px;
    color: #fff;
    transition:border-color .5s;
    border-style: solid;
    border-width: 0;
    border-color: transparent;
}

.pageback input[type="button"]:hover{
    border-bottom-width: 1px;
    border-bottom: 1px solid white;
}

/* ▲▲▲ここまで会社情報ページ */

/* ▼▼▼ここから問い合わせページ */
.contact{
    width: 95%;
    margin: 0 auto;
}

.contact p{
    font-size: 20px;
    font-weight: bold;
    margin: 20px 0;
    text-align: center;
}

form{
    text-align: center;
}

.contact label{
    display: block;
    margin-bottom: 5px;
}

.contact input{
    background-color: white;
    margin-bottom: 20px;
}


.contact input[type="email"]{
    /* width: 100%; */
}

.contact textarea{
    display: block;
    margin: 0 auto;
    background-color: white;

}

.contact input.contact_check{
    /* ↑こう書かないと上にある.contact inputの方が優先度が高いため上書きされてしまう */
    background-color: #F4957F;
    color: white;
    margin: 40px;
    padding: 10px 30px;
    border-radius: 30px;
}

/* ▲▲▲ここまで問い合わせページ */

.main-area{
    width: 90%;
    margin: 30px auto 30px auto ;
    border-radius: 30px;
    background-color:#0F2F39;
    box-shadow: 2px 2px 4px 2px gray
}

.main_inner{
    width: 90%;
    margin: 0 auto;
}


.space01{
    height: 30px;
}

.title_wrapper{
    display: flex;
    padding: 20px 0 10px 0;
}

.ribbon{
    position: relative;
    width: 20%;
    text-align: center;
    
}

.ribbon_img{
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%) ;
/* ↑文字が二行になるとリボンと〇位の位置がずれるため、リボン画像もセンターになるようにしている */
}

.main_nb{
    /* background: linear-gradient(0deg, rgba(12,187,250,1) 2%, rgba(255,0,200,1) 92%); */
    /* background: linear-gradient(0deg, rgba(12,55,250,1) 1%, rgba(198,14,192,1) 55%, rgba(255,0,50,1) 100%); */
    /* background: radial-gradient(circle, rgb(255, 255, 255) 3%,rgb(243, 225, 139) 37%, rgba(241,197,0,1) 68%, rgb(203, 155, 12) 100%); */
    /* border: 1px solid #231815; */
    /* ↑それぞれ背景色の設定。画像を使ったためボツ */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-56%) ;
    text-align: center;
    color          :black;
    font-size      : 76%;
    letter-spacing : 0px;
    /* text-shadow    :
    2px  2px 1px #000000,
    -2px  2px 1px #000000,
    2px -2px 1px #000000,
    -2px -2px 1px #000000,
    2px  0px 1px #000000,
    0px  2px 1px #000000,
    -2px  0px 1px #000000,
    0px -2px 1px #000000; */
}


.main_title{
    /* width: 70%; */
    color: white;
    /* font-size: 18px; */
    /* フォントサイズを18ｐｘで指定すると大きすぎるため無しに */
    font-weight: bolder;
}

.icon_wrapper{
    display: flex;
    margin-bottom: 10px;
    align-items: center;
    justify-content: space-between;
}

.icon{
    width: 30%;
}

.icon img{
    /* width: 100px;
    height: 100px; */
    /* ↑.iconでwidth:30%にしたため幅と高さの指定をしなくてもよくなった */
    object-fit: cover;
    border-radius: 18px;
}

/* .recommend_wrapper{
    width: 65%;
margin-left: 15px;
} */

.recommend_wrapper p{
    color: #D5CEDC;
    font-weight:bold;
}

.star img{
    width: 90%;
    /* ↑heightで指定しない。するとはみ出る。 */
}

.tag_wrapper{
    width: 68%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    font-size: 12px;
}

.tag{
    width: 28%;
    color: white;
    padding: 10px 0;
    border-radius: 3px;
    text-align: center;
    margin: 4px 0;
}

.tag-red{
    background-color: rgb(241, 42, 42);
}
.tag-blue{
    background-color: rgb(103, 103, 248);
}
.tag-yellow{
    background-color: #d7de1e;
}
.tag-purple{
    background-color: purple;
}
.tag-pink{
    background-color: pink;
}
.tag-gold{
    background-color: #ffbf10;
}


/* .main_img img{
    width: 100%;
    height: 220px;
    object-fit:cover;
    object-position:0 20px;
    margin-bottom:20px;
} */
 /* ↑スライダーにしたのでこれは消す */

/* ▼▼▼ メイン画像スライド部分　ここから ▼▼▼ */

.swiper {
    width: 100%;
    /* height: 250px; */
    margin-bottom: 20px;
}



.swiper-slide {
    /* text-align: center;
    font-size: 18px;
    background: red;
    display: flex;
    justify-content: center;
    align-items: center; */
}

.swiper-slide img {
    display: block;
    width: 100%;
    /* height: 100%; */
    border-radius: 10px;
    object-fit: cover;
}

.swiper-pagination-bullet { /* ページネイションの丸の色を変更 */
    background-color: #ffffff !important;
}
.swiper-pagination-bullet-active { /* ページネイションの丸の色を変更 */
    background-color: #ffffff !important;
}

/* ▲▲▲ メイン画像スライド部分　ここまで ▲▲▲ */




.main_text {
margin-bottom: 20px;
}

.main_text p{
    color: #F9F8E4;
}


.points-area{
    background-color:#F948A8;
    border-radius: 15px;
    color: #F9F8E4;
    margin-bottom: 12px;
}


/* .points-area p::before{
    content: "◆";
    color: white;
} */

/* .points-area p::after{
    content: "◆";
    color: white;
} */

.points-area p{
    padding: 5px 0;
    font-size: 26px;
    font-weight: bold;
    text-align: center;
}

.points_list{
    width: 90%;
    list-style:  none;
    padding: 10px 0;
    font-weight: bold;
    margin: 0 auto;
}

.points_text{
    margin-bottom: 5px;
}

.points_text:before{
    content:  "";                 /* 空の要素作成 */
    width: 18px;                            /* 幅指定 */
    height: 18px;                           /* 高さ指定 */
    display:  inline-block;                 /* インラインブロックにする */
    position:  relative;                    /* アイコンの位置を調整 */
    top: 6px;                             /* アイコンの位置を調整 */
    margin-right: 10px;                      /* 余白指定 */
    background-image: url(../img/check.png); /* アイコン指定 */
    background-size:  contain;              /* アイコンの大きさ指定。containは縦横比を維持して表示。他にもcoverなどあるがcontain以外にすると上手く表示されなかった←これは必要。消すと画像も消える */
    /* background-repeat:  no-repeat;          アイコンをリピートしないようにする */
    /* vertical-align: top;                    アイコンの位置を調整 */
}

.btn-area{
}


/* ▼▼▼ここからアコーディオン */
.accordion {
    margin: 5px auto;
    max-width: 100%;
    padding-bottom: 10px;
    }

    .toggle {
    display: none;
    }

    .option {
    position: relative;
    margin-bottom: 1em;
    }

    .title,
    .content {
    backface-visibility: hidden;
    /* ↑裏面をみせるかどうかを決める。visibleだと鏡に映ったように裏面も見える。
    何故これがアコーディオンにあるのか謎 */
    transform: translateZ(0);
    transition: all 0.3s;
    }

    .title {
    border: solid 1px #F9F8E4;
    padding: 1em;
    display: block;
    color: #F9F8E4;
    font-weight: bold;
    text-align: center;
    /* border-radius: 10px; */
    }

    .title::after,
    .title::before {
    content: "";
    position: absolute;
    right: 1.25em;
    top: 1.25em;
    width: 2px;
    height: 0.75em;
    background-color: #999;
    transition: all 0.3s;
    }

    .title::after {
    transform: rotate(90deg);
    /* ↑９０度(90deg)回転(rotate)させている */
    }

    .content {
    max-height: 0;
    overflow: hidden;
    }

    .content_box{
        background-color: #F9F8E4;
        color: #0F2F39;
        border:1px solid #0F2F39;
    }

    .content p {
    padding: 0 1em;
    line-height: 1.4;
    }

    .user p{
        margin: 5px 0;
        font-size: 20px;
    }

    .toggle:checked + .title + .content {
    max-height: 500px;
    transition: all 0.5s;
    }

    .toggle:checked + .title::before {
    transform: rotate(90deg) !important;
    }

/* ▲▲▲ここまでアコーディオン */

/* ▼▼▼ここからキラッと光るボタン */
.main_btn{
    position: relative;
    display: inline-flex;
    /* ↑これでaタグをインラインブロックにしてheight指定出来るようにし
    更にフレックスにもしてalign-items: center;とjustify-content: center;を効かせるようにしている */
    align-items: center;
    text-decoration: none;
    justify-content: center;
    width: 100%;
    height: 60px;
    border-radius: 50px;
    overflow: hidden;
    /* ↑これでborder-radius: 50px;を掛ける前の部分が光らないようにしている。 */
    background-color: #1BE8EC;
    color: #0F2F39;
    font-weight: bold;
    margin-bottom: 15px;
    transition: 300ms;
}

.main_btn::before,.pc_main_btn::before {
    animation: 5.5s 0s shine linear infinite;
    /* ↑開始から終了までの時間(2ｓが早め)、開始を何秒遅らせるか、アニメーション名、動きの速度、
    アニメ終了後のCSS(infiniteは繰り返し) */
	background: linear-gradient(to right, rgba(255, 255, 255, 0.979) 0%, rgb(255, 255, 255) 100%);
	content: '';
	height: 100%;
	left: -100%;
	position: absolute;
	top: 0;
	transform: skewX(-25deg);
	width: 50%;
}

@keyframes shine {
    0% { -webkit-transform: scale(0) rotate(45deg); opacity: 0; }
    80% { -webkit-transform: scale(0) rotate(45deg); opacity: 0.5; }
    81% { -webkit-transform: scale(4) rotate(45deg); opacity: 1; }
    100% { -webkit-transform: scale(50) rotate(45deg); opacity: 0; }
}

/* ▲▲▲ここまでキラッと光るボタン */

.main_btn img{
    height: 40px;
   align-items: center;
   margin-right: 10px;
   margin-left: 10px;
}


/* ▼▼▼ここからPC */
.pc_main{
    background-color: white;
}

.pc_main_box{
    padding-bottom: 100px;
}

.box_name{
    display: inline-block;
    font-size: 24px;
    font-weight: bold;
    padding: 10px 20px;
    color: white;
}

.box_name-bgc:nth-child(odd){
    background-color: #5DC9DA;
}

.box_name-bgc:nth-child(even){
    background-color: #E93323;
}


.box_img img{
    width: 100%;
    /* ↑小さい画像を親要素の幅まで大きくしている。max-widthだけだと元のサイズのままになる。 */
}

.box_tbl{
    width: 90%;
    margin: 10px auto 40px auto;
    border-collapse: collapse;
}


.box_tbl th{
    background-color: #edf6ff;
}

.box_tbl th,td{
    border: 1px solid black;
    padding: 10px 20px;
}

.box_tbl tbody tr th{
    width: 30%;
}

.my-star{
    color: #ffbf10;
}

.pc_main_txt-area{
    width: 90%;
    margin: 0 auto 40px auto;
}

.pc_main_ttl_wrapper{
    text-align: center;
}
/* ↑下線を文字と同じ長さにするには.pc_main_ttlをinline-blockにしなければならず
そこを左右真ん中にして.pc_main_ttl pは動かさないようにするには.pc_main_ttlに親要素が必要なため.pc_main_ttl_wrapperを作成。 */

.pc_main_ttl{
    display: inline-block;
}

.pc_main_ttl p{
    font-size: 36px;
    font-weight: bold;
    /* color: #C4181F; */
    /* background: linear-gradient(transparent 82%, #C4181F 10%); */
    /* ↑82％の部分は小さくなるほど線が太くなる。10％部分は1％以上なら何％にしても変わらない */
    /* margin-bottom: 40px; */
}

.pc_main_txt{
    font-size: 18px;
    margin-top: 20px;
}

.pc_btn-area{

}

.pc_main_btn{
    position: relative;
    display: block;
    /* background-color: #00A8B9; */
    font-size: 24px;
    color: white;
    padding: 20px 40px;
    border-radius: 50px;
    width: 80%;
    text-decoration: none;
    text-align: center;
    margin: 0 auto;
    box-shadow: 0 5px 0 #191970;
    transition: .3s;
    overflow: hidden;
    /* ↑overflow: hidden;を入れないと画面全部が光る */
}

.pc_main_btn:hover {
    transform: translateY(5px);
    box-shadow: 0 0 0 #191970;
  }

/* ▲▲▲ここまでPC*/


/* ▼▼▼ここからアプリについて欄 .article_areaはarticle_1～4.php共通*/
.article_area{
    width: 90%;
    margin: 0 auto;
    padding-bottom: 40px;
}

.article_ttl{
    width: 100%;
    padding: 10px 0;
    background-color: #EF75CF;
    font-size: 20px;
    color: white;
    text-align: center;
}

.article_list ul{
    border: 1px solid #EF75CF;
}

.article_list li{
    list-style: none;
    padding: 10px;
    border-bottom: 1px dashed #EF75CF;
    color: black;
}

.article_list li:last-of-type{
    border-bottom:none;
}

.article_list li a{
    position: relative;
    display: block;
    text-decoration: none;
}

.article_list li a i{
    position: absolute;
    right: 10px;
}

/* ▲▲▲ここまでアプリについて欄*/


/* ▼▼▼ここからarticle_1～4.php*/
.article_main{
    background-color: white;
}

.article_area h4{
    text-align: center;
    padding-top: 20px ;
    background: linear-gradient(transparent 90%, #EF75CF 10%);
    color:#EF75CF ;
    font-size: 24px;
    font-weight: bold;
}

.article_area h5{
    display: inline-block;
    margin-top: 20px;
    padding: 3px 10px;
    background-color: #EF75CF;
    color: white;
    font-size: 16px;
}

.article_area p{
    margin-top: 12px;
    padding-bottom: 30px;
}

/* ▲▲▲ここまでarticle_1～4.php*/




/* ▼▼▼ここから戻るボタン */

#page-top {
    width: 80px;
    height: 80px;
    position: fixed;
    right: 20px;
    bottom: 60px;
    background: #e25407;
    border-radius: 50%;
    opacity: 0.6;
    z-index: 99;
    }


.page_top_icon{
    position: absolute;
    top: 43%;
    left: 50%;
    translate: -50% -50%;
    font-size: 80px;
    color: white;
}

/* ▲▲▲ここまで戻るボタン*/



/* ▼▼▼ここから幅415px以下 */
@media screen and (max-width: 395px) {
    .main_btn {
      font-size: 14px;
    }

    .main_nb{
        font-size:65%;
    }
  }
  
  @media screen and (max-width: 360px) {

      .main_nb{
          font-size:9px;
      }
    }
