@charset "UTF-8";

/*==============================================================
Theme Name: sera
Description: sera
Version: 1.0
==============================================================*/

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    word-wrap: break-word;
}

html{
    background-color: #A7CEFD;
}

body{
	font-family: "Gen Jyuu Gothic","Gentium Book Basic","Zen Maru Gothic","Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Meiryo", sans-serif;
	font-size: 0;
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

img{
    max-width: 600px;
    width: 100%;
}

.img-0 img{/*　間が開くから0に　*/
    display: block;
    margin-bottom: -0.5px;
}

/*==============================================================

メインビジュアル

==============================================================*/

h1{/*　間が開くから0に　*/
    font-size:  0px;
}

/*==============================================================

ボタン エフェクト

==============================================================*/


.btn-kiran {
    width: 85%;
    border: none;
    position: relative; /* 擬似要素のために必要 */
    overflow: hidden; /* 擬似要素がはみ出さないようにする */
}

.kiran-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    clip-path: inset(0% 0% 35% 0%); /* 光の範囲を制限 */
    overflow: hidden;
}

.kiran-effect::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 200%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
    transform: rotate(45deg);
    animation: kiran 3s ease-in-out infinite;
    pointer-events: none; /* ボタンのクリックイベントを妨げない */
}


@keyframes kiran {
    0% {
        transform: translateX(-100%) rotate(45deg);
        opacity: 0;
    }
    50% {
        transform: translateX(100%) rotate(45deg);
        opacity: 1;
    }
    100% {
        transform: translateX(200%) rotate(45deg);
        opacity: 0;
    }
}

.btn-kiran2 {
    width: 85%;
    border: none;
    position: relative; /* 擬似要素のために必要 */
    overflow: hidden; /* 擬似要素がはみ出さないようにする */
}

.kiran-effect2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    clip-path: inset(0% 0% 0% 0%); /* 光の範囲を制限 */
    overflow: hidden;
}

.kiran-effect2::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 200%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
    transform: rotate(45deg);
    animation: kiran 3s ease-in-out infinite;
    pointer-events: none; /* ボタンのクリックイベントを妨げない */
}

/*==============================================================

ボタン

==============================================================*/

.btn-relative {
    position: relative;
}

.btn-wrap1 {
    position: absolute;
    top: 62%;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0 auto;
    z-index: 40;
}

.btn-wrap2 {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 2%;
    margin: 0 auto;
    z-index: 50;
}


/*==============================================================

項目ごとの上部スペース

==============================================================*/

.top-space10{
    margin-top: 10%;
}

.top-space8 {
    z-index: 1; /* 画像のz-indexを低くする */
    position: relative; /* 画像も相対的に配置 */
    margin-top: 8%;
}


.top-space5{
    margin-top: 5%;
}


.top-space3{
    margin-top: 3%;
}

.top-space-5{
    margin-top: -5%;
}

.top-space-4{
    margin-top: -4%;
}
/*==============================================================

特典プレゼント

==============================================================*/

.tokuten-position{
    position: relative;
}

.tokuten-wrap1{
    position: absolute;
    top: 11%;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0 auto;
    width: 85%;
    z-index: 40;
}

.tokuten-wrap2{
    position: absolute;
    top: 28.5%;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0 auto;
    width: 85%;
    z-index: 40;
}

.tokuten-wrap3{
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0 auto;
    width: 85%;
    z-index: 40;
}


.tokuten-wrap4{
    position: absolute;
    left: 0;
    right: 0;
    bottom: 9%;
    margin: 0 auto;
    width: 85%;
    z-index: 40;
}

/*==============================================================

占い師紹介　タイトル

==============================================================*/

.title-ribbon{
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    background: #ff3b93; /* 背景色 */
    margin-bottom: 0.8rem;
    border-radius: 10px;
    position: relative; /* 相対的に配置 */
    z-index: 2; /* 高い値で帯を前面に */
}


.w-padding-box{
    padding-left: 1rem;
    padding-right: 1rem;
    display: flex; /* フレックスボックスを使用 */
}

.title-icon-size{
    width: 5%;
    min-width: 20px;
    text-align: left;
    flex-shrink: 0; /* 画像のサイズを固定 */
}

.title-p{
    color: #FFF;
    font-family: "Gen Jyuu Gothic","Yu Gothic", "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Meiryo", sans-serif;
    line-height: 0;
    font-size: 1.3rem;
    font-weight: 700;
    margin-left: 10px; /* 画像と文字の間に余白を追加 */
    flex-grow: 1; /* 残りのスペースを使用 */
    display: flex;
    align-items: center; /* テキストを上下中央揃え */
}

.title-p p {
    margin: 0; /* p要素のデフォルトの余白をリセット */
    text-align: left; /* 左寄せ */
    word-wrap: break-word; /* 長い単語を折り返し */
}

.padding-1rem{
    padding-left: 1rem;
    padding-right: 1rem;
}

@media screen and (max-width: 480px) {
    .title-ribbon{
        border-radius: 8px;
    }

	.title-p{
        font-size: 1rem;
    }
}
/*==============================================================

おすすめ占術

==============================================================*/

.senzyutsu{
    display: flex;
    padding: 0px 10px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 20px;
    border: 1px solid #FFF;
    background: linear-gradient(87deg, #51A2EA 30%, rgba(236, 79, 148, 0.20) 107.33%);
    float: left; /* ここでフロートを指定します */
    margin: 3px; /* 要素間に少し余白を追加します */
}

.p-introduction-2{
    text-align: left;
    color: rgb(255, 255, 255); 
    font-size: 1rem;
    font-weight: 500;
}

@media screen and (max-width: 480px) {
    .p-introduction-2{
        font-size: 0.9rem;
    }
}

.clearfix::after {
    content: "";
    clear: both;
    display: table;
}

.p-introduction-1{
    display: block;
    visibility: visible;
    text-align: left;
    color: rgb(255, 255, 255); 
    font-size: 1.1rem;
    padding-left: 1rem;
    padding-right: 1rem;
    text-align:justify;
}

/*==============================================================

セラからのメッセージ

==============================================================*/

.message{
    color: #4C80C3;
    text-align: justify;
    font-family: "Yu Gothic", "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Meiryo", sans-serif;
    font-size: 1rem;
    font-style: normal;
    font-weight: 500;
    letter-spacing: 0.28px;
}

@media screen and (max-width: 480px) {
	.message{
        font-size: 0.9rem;
    }
}

.message-back{
    background: rgba(255, 255, 255, 0.80);
    border-radius: 10px;
    padding: 1rem;
}


span.marker {
    font-weight: 700;
    background-color: rgba(252, 238, 79, 0.50);
}

/*==============================================================

5つのポイント

==============================================================*/

.point-position{
    position: relative;
}

.point-wrap1{
    position: absolute;
    top: 8%;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0 auto;
    width: 85%;
    z-index: 40;
}

.point-wrap2{
    position: absolute;
    top: 28%;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0 auto;
    width: 85%;
    z-index: 40;
}
.point-wrap3{
    position: absolute;
    top: 46%;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0 auto;
    width: 85%;
    z-index: 40;
}
.point-wrap4{
    position: absolute;
    top: 64%;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0 auto;
    width: 85%;
    z-index: 40;
}
.point-wrap5{
    position: absolute;
    top: 82%;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0 auto;
    width: 85%;
    z-index: 40;
}





/*==============================================================

フッター

==============================================================*/

footer{
    font-size: 0.9rem;
    letter-spacing: 0.08rem;
    font-family: "Yu Gothic", "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Meiryo", sans-serif;
    font-weight: 300;
    background-color: #000000;
    color: #ffffff;
    
}

ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
	overflow: hidden;
	background-color: #4C80C3;
}
li {
	float: left;
    width: 100%;
}
li:last-child {
	border-right: none;
}
li a {
	display: block;
	color: #ffffff;
	text-align: center;
	padding: 14px 16px;
	text-decoration: none;
}
li a:hover:not(.active) {
	background-color: #1f6ed5;
}

.li-left{
    border-bottom: 1px solid #91b2dc;
}

.li-right{
    border-bottom: 1px solid #91b2dc;
}

.copywriter{
    font-size: 0.7rem;
    color: #91b2dc;
    background-color: #0d4083;
    text-align: center;
    padding: 14px 16px;
}
/*==============================================================

プルダウンアニメーション

==============================================================*/
.toggle-content {
    display: none;
    opacity: 0;
    height: 0;
    overflow: hidden;
    transition: opacity 0.3s ease-in-out, height 0.3s ease-in-out;
}

.toggle-content.show {
    display: block;
    opacity: 1;
    height: auto;
}

.triangle-icon {
    width: 20px;
    height: 20px;
    margin-left: auto;
    transition: transform 0.3s ease-in-out;
}

.toggle-button.active .triangle-icon {
    transform: rotate(180deg);
}
/*==============================================================

アニメーション

==============================================================*/



.fadein_soon {/*　フェードインすぐ　*/
	display: none;
}

.fadein {/*　フェードイン下から上に　*/
    opacity : 0;
    transform : translate(0, 50px);
    transition : all 1000ms;
}

.fadein.scrollin {
    opacity : 1;
    transform : translate(0, 0);
}

.fadein2 {/*　新規登録メリットのボタン　*/
    opacity : 0;
    transition : all 2500ms;
}

.fadein2.scrollin {
    opacity : 1;
}
