@charset "UTF-8";

* {
	box-sizing: border-box;
}

:root {
	--small-font-size: 0.9rem;
}

body {
	width: 100%;
	margin: 0 auto;
	font-family: "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", Meiryo, "メイリオ", Osaka, "MS PGothic", arial, helvetica, sans-serif;
	font-feature-settings: "pwid" 1;
	-webkit-font-smoothing: subpixel-antialiased;
	-moz-osx-font-smoothing: unset;
	-webkit-text-size-adjust: 100%;
	text-rendering: optimizeLegibility;
	word-wrap: break-word;
	color: #656565;
	max-width: 450px;
	margin: 0 auto;
	background: #ffffff;
}

body {
	font-family: "Noto Sans JP";
}

* {
	box-sizing: border-box;
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
}

img {
	max-width: 100%;
	vertical-align: top;
	height: auto;
	display: block;
	width: 100%;
	margin: auto;
}

li {
	list-style: none;
}

.relative {
	position: relative;
}

.absolute {
	position: absolute;
	top: 75%;
	left: 50%;
	transform: translate(-50%, -50%);
	display: block;
}

/* ページのスタイル */

header.logo_area,
header.logo_area * {
	box-sizing: border-box;
}

header.logo_area {
	max-width: 450px;
	width: 100%;
	position: sticky;
	top: 0;
	z-index: 5;
	background: #ffffff;
	box-shadow: 0 6px 14px -7px rgba(0, 0, 0, 0.5);
	padding: min(1%, 6px) 0;
	padding-right: 8px;
	display: flex;
	flex-wrap: nowrap;
	justify-content: space-between;
	align-items: center;
}

header.logo_area>img {
	width: 22.5%;
	margin: 0;
}

header.logo_area>a {
	width: 46%;
	margin: 0;
}

.b_pink {
	width: 16%;
	top: 10%;
	left: 14%;
	z-index: 1;
	animation: widthanime 8s linear infinite alternate,
		transformXanime 11s linear infinite alternate;
}

/* .b_yellow{
	width:16%;
	top:67%;left:10%;
	animation: widthanime 7s 2s linear infinite alternate,
	transformXanime 10.5s  linear infinite alternate;
 } */

.b_purple {
	width: 9%;
	top: 20%;
	left: 91%;
	z-index: 1;
	animation:
		widthanimep 8s 3s linear infinite alternate,
		transformXanime 11.2s 1s linear infinite alternate;
}

.b_lightblue {
	width: 16%;
	top: 10%;
	left: 80%;
	z-index: 1;
	animation: widthanime 7s 0.5s linear infinite alternate,
		transformXanime 10.7s linear infinite alternate;
}

.b_pink>img {
	animation: transformYanime 11s 0.4s linear infinite alternate;
}

.b_yellow>img {
	animation: transformYanime 10s 0.2s linear infinite alternate;
}

.b_purple>img {
	animation: transformYanime 12s 0.5s linear infinite alternate;
}

.b_lightblue>img {
	animation: transformYanime 9s 1s linear infinite alternate;
}

@keyframes widthanime {
	0% {
		width: 14%;
	}

	100% {
		width: 15%;
	}
}

@keyframes widthanimep {
	0% {
		width: 9%;
	}

	100% {
		width: 10%;
	}
}

@keyframes transformXanime {
	0% {
		transform: translate(-50%, -50%) translateX(0);
	}

	20% {
		transform: translate(-50%, -50%) translateX(7px);
	}

	40% {
		transform: translate(-50%, -50%) translateX(2px);
	}

	60% {
		transform: translate(-50%, -50%) translateX(-7px);
	}

	80% {
		transform: translate(-50%, -50%) translateX(-4px);
	}

	100% {
		transform: translate(-50%, -50%) translateX(2px);
	}
}

@keyframes transformYanime {
	0% {
		transform: translateY(0);
	}

	20% {
		transform: translateY(5px);
	}

	40% {
		transform: translateY(2px);
	}

	60% {
		transform: translateY(-5px);
	}

	80% {
		transform: translateY(0px);
	}

	100% {
		transform: translateY(2px);
	}
}

#light {
	width: 100%;
	max-width: 450px;
	height: 220vw;
	max-height: 1276px;
	overflow: hidden;
	text-align: center;
	position: absolute;
	top: 0;
	bottom: 0;
	right: 0;
	left: 0;
	margin: 0 auto;
	z-index: 1;
}

#light>img {
	animation: 5s bubble ease-in infinite;
	-webkit-animation: 5s bubble ease-in infinite;
	z-index: -2;
	opacity: 0;
	position: absolute;
}

#light>img:nth-of-type(1) {
	animation-duration: 6s;
	animation-delay: 0.7s;
	left: 0%;
	top: -6%;
	width: 8%;
}

#light>img:nth-of-type(2) {
	animation-duration: 7s;
	animation-delay: 0.8s;
	left: -35%;
	top: 12%;
	width: 13%;
}

#light>img:nth-of-type(3) {
	animation-duration: 8s;
	animation-delay: 0.4s;
	left: 0;
	top: 36%;
	width: 10%;
}

#light>img:nth-of-type(4) {
	animation-duration: 5s;
	left: 0%;
	top: 10%;
	width: 10%;
}

#light>img:nth-of-type(5) {
	animation-duration: 6s;
	animation-delay: 0.2s;
	left: 4%;
	top: 2%;
	width: 10%;
}

#light>img:nth-of-type(6) {
	animation-duration: 8.5s;
	animation-delay: 0.7s;
	left: -2%;
	top: 20%;
	width: 8%;
}

#light>img:nth-of-type(7) {
	animation-duration: 4.5s;
	right: 35%;
	top: 1%;
	width: 13%;
}

#light>img:nth-of-type(8) {
	animation-duration: 7.5s;
	animation-delay: 0.8s;
	right: 46%;
	top: 26%;
	width: 8%;
}

#light>img:nth-of-type(9) {
	animation-duration: 5s;
	animation-delay: 0.8s;
	left: 21%;
	top: 2%;
	width: 8%;
}

#light>img:nth-of-type(10) {
	animation-duration: 4.1s;
	right: 11%;
	top: 2%;
	width: 10%;
}

#light>img:nth-of-type(11) {
	animation-duration: 4.1s;
	right: 60%;
	top: 45%;
	width: 8%;
}

#light>img:nth-of-type(12) {
	animation-duration: 4.1s;
	animation-delay: 0.2s;
	right: 102%;
	top: 43%;
	width: 10%;
}

#light>img:nth-of-type(13) {
	animation-duration: 3.1s;
	right: 74%;
	top: 43%;
	width: 8%;
}

#light>img:nth-of-type(14) {
	animation-duration: 5.1s;
	animation-delay: 0.1s;
	right: 45%;
	top: 45%;
	width: 10%;
}

@keyframes bubble {
	0% {
		transform: translate3d(-15px, 200px, 0);
		opacity: 0;
	}

	30% {
		opacity: 1;
	}

	95% {
		opacity: 1;
	}

	100% {
		transform: translate3d(200px, -15px, 0);
		opacity: 0;
	}
}

.glow_btn {
	animation: innerGlow 1.3s infinite ease-in-out;
}

.glow_btn.relative {
	animation: innerGlow_relative 1.3s infinite ease-in-out;
}

@keyframes innerGlow {

	0%,
	100% {
		transform: translate(-50%, -50%) scale(1);
	}

	50% {
		transform: translate(-50%, -50%) scale(1.08);
	}
}

@keyframes innerGlow_relative {

	0%,
	100% {
		transform: scale(1);
	}

	50% {
		transform: scale(1.08);
	}
}

.fade-in {
	opacity: 0;
	transform: translate(-50%, -20%);
	transition: opacity 1s ease-in-out, transform 1s ease-in-out;
}

.visible {
	opacity: 1;
	transform: translate(-50%, -50%);
}

.bold {
	font-weight: bold;
}

div.wrap_youtube>iframe {
	border-radius: 7px;
	aspect-ratio: 16 / 9;
	height: auto;
	position: absolute;
	width: 87%;
	top: initial;
	bottom: 15%;
	left: 50%;
	transform: translate(-50%, -50%);

}

div.cta {
	background:#fffdf7;
	padding: 2rem 0;
}

/* 占い師グリッド */
.image-grid {
	position: absolute;
	top: 6%;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	width: 90%;
}

.image-grid img {
	width: calc(25% - 10px);
	/* 4列固定 */
	height: auto;
	object-fit: cover;
}

/*先生の紹介*/
.teller_cont1,
.teller_cont2,
.teller_cont3,
.teller_cont4 {
	padding: 5%;
}

.teller {
	background: #ffffff;
	background: url("../img/tellerbg.webp");
	background-size: 100%;
}

/* 占い師の名前とかのとこ */
.teller_photo {
	width: 30%;
	width: 35%;
	border-radius: 150px;
}

.teller_cont1 .flex,
.tellermessage_cont1 .flex {
	width: 100%;
	padding-left: 1rem;
	display: flex;
	flex-wrap: wrap;
	align-content: flex-start;
	align-items: flex-start;
	flex-direction: column;
	gap: 8px;
}

.name1:before {
	content: "";
	background: url("../img/tagmark.svg");
	width: 1rem;
	height: 1rem;
	display: inline-block;
	background-size: contain;
	background-repeat: no-repeat;
}

.name1 {
	display: block;
	background: #785fba;
	font-size: var(--small-font-size);
	color: #ffffff;

	padding-bottom: 4px;
	padding: 3px 5px;
	margin: 0;
	border-radius: 4px;
	display: flex;
	align-items: center;
	gap: 3px;
}

.name2 span {
	font-size: var(--small-font-size);
	display: inline-block;
}

.name2 {
	font-size: 1.9rem;
	font-weight: bold;
	background: linear-gradient(180deg, #f8e675 0%, #caa204 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	font-family: 'Noto Serif JP', serif;
}

.name3 {
	font-size: 1rem;
	text-decoration: underline;
	font-family: 'Noto Serif JP', serif;
	color:#ffffff;
	margin-bottom: -10px;
}

/* 占術、得意な相談、占い師紹介、先生のタイプとかの見出し */
.teller_icon {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	flex-wrap: nowrap;
}

.teller_icon img {
	display: inline;
	height: 2rem;
	width: auto;
	margin: 0;
}

/* 共通パートここまで */


/* teller_cont1 先生の写真と名前 */
.teller_cont1 {
	display: flex;
	align-items: center;
	padding: 5% 5% 0;
	background: #cfc7ff;
	background: url("../img/tellerbg.webp");
	background-size: 100%;
}

/* teller_cont2 占術やプロフなど */
.teller_cont2 {
	padding: 0 5% 1rem;
	text-align: justify;
	color: white;
}

/* 占術とかのやつ、1個目は余白あけない */
.teller_cont2>div:first-of-type {
	margin-top: 0;
}

.teller_cont2>div {
	margin-top: 1rem;
}

.teller_cont2 .teller_icon img+span {
	color: #ffd141;
}

/* teller_cont3 口コミ */
.teller_cont3 {
	text-align: justify;
	background:#fffdf7;
	color: #000000;
}

.teller_type_chart {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	font-family: sans-serif;
	margin: 6px auto 0;
}

.chart_labels {
	display: flex;
	flex-direction: column;
	gap: 23px;
	margin-top: 4px;
}

.chart_labels .label {
	background-color: #6e58a1;
	color: white;
	padding: 4px 10px;
	font-size: var(--small-font-size);

	white-space: nowrap;
	border-radius: 4px;
	text-align: center;
}

.chart_stars {
	display: flex;
	flex-direction: column;
	gap: 32px;
	flex: 1;
	position: relative;
}

.stars {
	display: flex;
	justify-content: space-evenly;
	font-size: 18px;
	line-height: 1.3;
	color: #6e58a1;
}

.star_row {
	position: relative;
	width: 94%;
	margin: auto;
}

.helper_labels {
	display: flex;
	justify-content: space-between;
	position: absolute;
	top: 24px;
	left: 0;
	width: 100%;
	font-size: 9px;
	color: #555;
	pointer-events: none;
}

.helper_labels span {
	white-space: nowrap;
}

/* teller_cont4 口コミ */
.teller_cont4 {
	padding: 5%;
	text-align: justify;
	background:#fffdf7;
	color: #000000;
}

.review {
	line-height: 1.7;
	font-size: var(--small-font-size);
	background: #fff;
	padding: 0.9rem;
	border: 1px solid #6e58a1;
	border-radius: 1rem;
}

.review_title {
	font-size: 1.125rem;
	font-weight: bold;
	color: #6e58a1;
}

.img_hr {
	margin: 1rem auto;
}

/* 占い師からのメッセージ */
.tellermessage_wrap {
	background: #ffffff;
	padding: 0;
	color: #ffffff;
}

.tellermessage {
	background: #00054b;
	padding: 0;
}

div.tellermessage:nth-of-type(2) {
	background: #222a93;
}

div.tellermessage:nth-of-type(2) .tellermessage_cont1 {
	flex-direction: row-reverse;
}

div.tellermessage:nth-of-type(2) .flex {
	align-content: flex-end;
	align-items: stretch;
	padding-left: 0;
	padding-right: 2rem;
}

.tellermessage>p {
	padding: 0 5% 1.5em;
	color: #ffffff;
}

.tellermessage_cont1 {
	display: flex;
	align-items: center;
	padding: 5%;
}

.tellermessage_wrap>.cta>img {
	width: 78%;
	margin-bottom: 1.2rem
}

.tellermessage_wrap>.cta>a>img {
	width: 90%;
}


/* 共感を呼ぶ */
.kyokan_wrap {
	text-align: justify;
}

div.kyokan:nth-of-type(1) {
	background: #383b9b
}

div.kyokan:nth-of-type(2) {
	background: #5e117b
}

div.kyokan:nth-of-type(3) {
	background: #b51c59
}

.kyokan>p {
	color: white;
	padding: 5% 5% 5%;
}

.kyokan_wrap>.cta>img {
	width: 82%;
	margin-bottom: 1.2rem;
}

.kyokan_wrap>.cta>a>img {
	width: 90%;
	margin: -1% 4% 3% 6%;
}

/* よくある質問 */
.question_wrap {
	width: 100%;
	background:#fffdf7;
	padding: 5% 0 11%;
	position: relative;
}

.question {
	margin: auto 7.5%;
	padding: 4px 0;
	color: #000000;
	border-bottom: 1px solid #daccb4;
}

div.question:last-of-type {
	/* 最後の質問に余白とborderは設けない */
	margin-bottom: 9%;
	/* border: none; */
}

.question>p {
	font-weight: bold;
	font-size: 1.1rem;
	padding: 2%;
	padding-right: 4.5%;
	position: relative;
}

.question span {
	color: #d3ac4f;
}

.question>p:after {
	/* 矢印 */
	content: '';
	width: 10px;
	height: 10px;
	border: 0;
	border-top: solid 2px #181a69;
	border-right: solid 2px #181a69;
	position: absolute;
	top: 26%;
	right: 0;
	transform: rotate(135deg);
}

.honbun {
	margin: 0 4px;
	display: none;
}

.honbun>p {
	padding: 2%;
	font-size: 0.9rem;
}

div.question:last-of-type {
	margin-bottom: 0;
}


.bgquestion {
	background:#fffdf7;
	padding: 1rem 0 2rem;
}

.bgquestion>img {
	width: 74%;
	margin: 1rem auto 2rem;
}

.bgquestion>a>img {
	width: 90%;
	margin: -4% 4.5% -3% 5.5%;
}

.q_bottom_poem{
	width: 74%;
    margin: 8% auto 0;
}
	
















@keyframes widthanimeform {
	0% {
		width: 50%
	}

	100% {
		width: 53%;
	}
}











.form_midashi {
	margin: -22% auto 0.3rem;
	width: 100%;
	position: sticky;
	z-index: 1;
}


/*フォーム*/
form .title,
.open {
	text-align: left;
	color: #5b5b5b;
	font-size: 16px;
	font-weight: bold;
	width: 92%;
	margin: 0.8rem auto 0.5rem auto;
	line-height: 1.6;
}


footer {
	position: relative;
	display: block;
	width: 100%;
	background: #626bc1;
	color: #fff;
	font-size: 15px;
	text-align: center;
	margin-top: -2px;
}







/* 口コミ*/
span.bold {
	font-weight: bold;
}

span.underline {
	text-decoration: underline;
}




        #form_midashi>.absolute {
            width: 100%;
            top: 82%;
            text-align: center;
            font-size: 1.6rem;
            font-weight: bold;
            color: #4a3a6d;
        }

        .form_wrap {
            background: #eff1ff;
        }

        form {
            margin-bottom: 4%;
            font-family: "Noto Sans JP";
        }


		:root{background:linear-gradient(to right, #cdd2ff, #ffffff, #cdd2ff);}
	