@charset "UTF-8";

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

body {
	width: 100%;
	margin: 0 auto;
	font-size: 16px;
	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: 580px;
	margin: 0 auto;
}

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: 580px;
	width: 100%;
	position: sticky;
	top: 0;
	z-index: 5;
	background: #ffffff;
	box-shadow: 0 6px 14px -7px rgba(0, 0, 0, 0.5);
	padding: 0;
	padding-right: 8px;
	display: flex;
	flex-wrap: nowrap;
	justify-content: space-between;
	align-items: center;
}

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

header.logo_area>a {
	width: 46.8%;
	margin: 1% 0 0;
	padding: 1%;
}

div.kiran_outer {
	border-radius: 13px;
	width: 90%;
	position: absolute;
	height: 4.5%;
	transform: translate(-50%, -50%);
	left: 50%;
	top: 48%;
	opacity: 0.7;
	overflow: hidden;
}

div.kiran {
	overflow: inherit;
	height: 100%;
	width: 10%;
	position: absolute;
	top: 0%;
	left: 0;
	background-color: #fff;
	opacity: 0;
	transform: rotate(45deg);
	-webkit-animation: shiny 3.5s ease-in-out infinite;
	animation: shiny 3.5s ease-in-out infinite;
}

@keyframes shiny {
	0% {
		transform: scale(0) rotate(45deg);
		opacity: 0;
	}

	80% {
		transform: scale(0) rotate(45deg);
		opacity: 0.3;
	}

	81% {
		transform: scale(4) rotate(45deg);
		opacity: 0.85;
	}

	100% {
		transform: scale(40) rotate(45deg);
		opacity: 0;
	}
}

.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%);
}

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

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


/* 占い師グリッド */
.image-grid-container {
	position: relative;
	width: 100%;
	text-align: center;
}

.base-image {
	width: 100%;
	height: auto;
}

.image-grid {
	position: absolute;
	top: 15.7%;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	width: 90%;
}

.image-grid img {
	width: calc(25% - 10px);
	height: auto;
	object-fit: cover;
}


/*先生の紹介*/
.teller {
	background: #ffffff;
	background: url("../img/tellerbg.webp");
	background-size: 100%;
}

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

div.teller:first-child .teller_cont1 {
	border-top: 0;
}

div.teller>div:first-child {
	margin-top: 0;
}

/* 占術やプロフなど */
.teller_cont2 {
	padding: 0 5%;
	text-align: center;
	background: #281a4b;
}

.teller_cont3 {
	padding: 5%;
	text-align: justify;
	background: #cfc7ff;
	background: url("../img/tellerbg.webp");
	background-size: 100%;
	color: #fefbff;
}

.teller_cont4 {
	padding: 5%;
	text-align: justify;
	background: #fefbff;
	color: #000000;
}

.teller_cont4>p {
	font-size: 1.3rem;
	font-weight: bold;
	font-family: "Hiragino Mincho Pro", "MS PMincho", "Kozuka Mincho Pro", "Yu Mincho", "Times New Roman", serif;
	text-align: center;
}

.teller_cont4_spec {
	margin: 0.6rem 0 2rem 0;
}

.teller_cont4_line {
	margin: 9% 0% 12% 0%;
}

.teller_cont4_spec+.teller_cont4_line {
	margin: 0% 0% 6% 0%;
}

.teller_cont4_cta {
	width: 100%;
	margin: -1rem auto 2rem;
}

.teller_cont4>.reviwer {
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 1rem;
}

.reviewer_title {
	width: 100%;
	color: #f8528d;
	font-size: 1.4rem;
	font-weight: bold;
	margin: 1rem auto 0.5rem;
}

.reviwer>img {
	width: 3rem;
	height: 3rem;
	margin: 0 1rem 0 0;
}

.reviwer>div {
	display: flex;
	flex-wrap: wrap;
	align-content: center;
}

.review {
	line-height: 1.7;
	font-size: 0.9rem;
}

.teller_cont4>.relative img {
	width: 99%;
	margin: -5% 0% 4% 0%;
}

.teller_cont4>.relative .kiran_outer {
	top: 45%;
	height: 86%;
	width: 97%;
}

.teller_cont2 {
	color: white;
}

.teller_cont1,
.teller_cont2,
.teller_cont3,
.teller_cont4 {
	padding: 5%;
}

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

.tellermessage {
	background: #382463;
	padding: 0;
}

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

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

.tellermessage_cont1 {
	display: flex;
	padding: 5%;
}

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

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

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

.tellermessage_wrap .kiran_outer {
	top: 71.9%;
	height: 30.2%;
	width: 88%
}

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

div.kyokan:nth-of-type(1) {
	background: #553b91
}

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

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

.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%;
}

.kyokan_wrap .kiran_outer {
	top: 70%;
	height: 30%;
	width: 87%;
}

/* よくある質問関連 */
.question_wrap {
	width: 100%;
	background: #fefbff;
	padding-top: 5%;
	position: relative;
}

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

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

.question>p {
	font-weight: bold;
	font-size: 1.1rem;
	padding: 2%;
	padding-right: 4%;
	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: #fefbff;
	padding: 1rem 0 2rem;
}

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

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

.bgquestion .kiran_outer {
	top: 70%;
	height: 39%;
	width: 87%;
}

.formtehutehu {
	overflow: hidden;
}

.formtehutehu .absolute {
	width: 16%;
	top: 10%;
	left: 14%;
	animation: widthanimeform 8s linear infinite alternate, transformXanime 11s linear infinite alternate;
}

.formtehutehu>div.absolute:nth-of-type(1) {
	top: 43%;
	left: 23%;
}

.formtehutehu>div.absolute:nth-of-type(2) {
	top: 51%;
	left: 74%;
}

.formtehutehu>div.absolute:nth-of-type(3) {
	top: 37%;
	left: 84%;
}

.formtehutehu>div.absolute:nth-of-type(1)>img,
.formtehutehu>div.absolute:nth-of-type(3)>img {
	animation: transformYanime 11s 0.4s linear infinite alternate;
}

.formtehutehu>div.absolute:nth-of-type(2)>img {
	transform: rotate(-20deg);
}

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

	100% {
		width: 53%;
	}
}

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

span.underline {
	text-decoration: underline;
}

/*フォーム*/
:root {
	--pink-color: #e56e98;
	--pink-color: #ff397f;
}

form p {
	color: #4a4a4a;
}

div.formtitle {
	position: relative;
	text-align: center;
	margin-top: 1.5rem;
}

div.formtitle::after {
	content: '';
	top: 50%;
	z-index: 1;
	display: block;
	width: 100%;
	height: 1px;
	background: #fda3c4;
	position: absolute;
}

div.formtitle>p {
	font-size: 1.5rem;
	display: block;
	position: relative;
	text-align: justify;
	z-index: 2;
	background-color: #fff;
	width: fit-content;
	margin: auto;
	padding: 0 1rem;
}

.step {
	display: flex;
	margin: 24px 0;
}

.step div {
	flex: 1;
	padding: 14px 22px 14px 14px;
	font-size: 14px;
	text-align: center;
	background: #f3f3f3;
	color: #4a4a4a;
	clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%);
	border-radius: 4px 0px 0px 4px;
}

.step .active {
	background: var(--pink-color);
	color: #fff;
	font-weight: bold;
}

.step .last {
	clip-path: none;
	border-radius: 4px;
}


main form {
	width: 86%;
	display: block;
	margin: 0 auto;
}

main form .submit {
	width: 100%;
    margin: 13% auto;
    display: block;
}

main form .submit input {
	border: 1px solid #e56e98;
	background: #e33c5d;
	color: white;
	width: 100%;
	padding: 10px 10%;
	font-size: 24px;
	box-shadow: 2px 4px 12px rgb(238 148 172 / 60%);
	border-radius: 8px;
}

.form_cont {
	font-weight: bold;
	font-size: 15px;
	margin-top: 14px;
	margin-bottom: 3px;
	color: #4a4a4a;
}

.form_cont span {
	color: #d02e67;
	font-size: 13px;
	display: inline-block;
	vertical-align: bottom;
	margin-bottom: 4px;
	padding: 0 4px;
}

#form {
	margin: 16.2px auto;
}

#form .radio-group {
	width: 100%;
	display: flex;
	gap: 12px;
	margin-bottom: 16px;
	justify-content: center;
	height: auto;
	margin-bottom: 0;
	padding-bottom: 0;
}

#form .radio-group label {
	cursor: pointer;
	margin: 0 0 2%;
	width: 50%;
	line-height: 30px;
	flex: 1;
	text-align: center;
	padding: 10px 0;
	border: 1.4px solid #ccc;
	border-radius: 30px;
	background: #fff;
	color: #666;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;




}

#form .radio-group label:nth-of-type(1),
#form .radio-group label:nth-of-type(2) {
	border-radius: 100px;
}

#form .radio-group input {
	display: none;
}

#form .radio-group input[type="radio"]:checked+label {
	text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
	background: var(--pink-color);
	color: #fff;
	border-color: var(--pink-color);
	box-shadow: 0 1px 5px rgba(255, 57, 127, 0.6);
}

#select_form {
	width: 100%;
	margin-bottom: 6%;
	display: flex;
	gap: 6px;
}

#select_form select {
	border-radius: 0;
	padding: 2% 4%;
	margin-left: 2%;
	font-size: min(5vw, 30px);
	flex: 1;

}

#select_form select:nth-of-type(1) {
	margin-left: 0;
}


/* 入力欄全体はこんな感じ */
#select_form select,
#name_form input,
#address_form input,
select#domain_form {
	border: 1.4px solid #ccc;
	border-radius: 6px;
	font-size: 16px;
}


#name_form {
	position: relative;
	width: 100%;
}

#name_form input {
	width: 100%;
	padding: 2% 4%;
	color: #3d3d3d;
	-webkit-transition: 0.2s;
	transition: 0.2s;
}

#name_form input:focus {
	color: #3d3d3d;
}

#name_form #e_name {
	position: absolute;
	bottom: -26px;
	width: 100%;
	text-align: center;
	color: #d02e67;
	font-weight: bold;
	animation: 2s tenmetu ease-in-out infinite;
	-webkit-animation: 2s tenmetu ease-in-out infinite;
}

#address_form input,
select#domain_form {
	width: 100%;
	padding: 6px 12px;
}

#address_form .flex {
	display: flex;
	justify-content: space-between;
	gap: 6px;
	margin-bottom: 8px;
	flex-wrap: nowrap;
	align-items: center;
}


/* バリデエラー用 */
form#form .valid_ng_border {
	animation: valid_ng_border 0.5s 0s linear 2 alternate;
	border-color: red;
	background: #ffd4d4;
}

@keyframes valid_ng_border {

	0%,
	15% {
		border-color: red;
		background: #ffd4d4;
	}

	85%,
	100% {
		border-color: #ffeaea9f;
		background: #fff1f1ff;
	}
}

/*フッター*/
footer {
	position: relative;
	display: block;
	width: 100%;
	background: #626bc1;
	color: #000000;
	font-size: 15px;
	text-align: center;
	margin-top: -2px;
}

footer p {
	width: 100%;
	font-size: 12px;
	padding: 5px 0 28px;
	color: #ffffff;
}



div.footermenu {
	background-color: aliceblue;
}

footer {
	width: 100%;
	display: block;
	text-align: cecnter;
}

footer .footer_list {
	background: #0a3d62;
	width: 100%;
}

footer ul {
	padding: 16px 9% 14px;
	text-align: center;
}

footer li {
	font-size: 15px;
	font-weight: bold;
	line-height: 1.8;
	display: inline-block;
	color: #fff;
	font-weight: 800;
}

footer li a {
	font-weight: 600;
	color: #fff;
	padding-right: 4px;
}

footer #copy {
	background: #072f4b;
	width: 100%;
	padding: 6px 0;
	display: block;
	color: #fff;
	font-size: 12px;
	text-align: center;
}

.popup_content * {
	font-size: 14px !important;
}

.close_btn {
	top: 6px !important;
}

.popup_content {
	margin: 12px 2% !important;
	padding: 16px !important;
	border-radius: 8px !important;
}

.popup_content h1,
.popup_content .price-exp h3 {
	font-size: 20px !important;
	margin-bottom: 7% !important;
	border-bottom: 3px solid #d02e67 !important;
}

.popup_content .agreement li {
	padding: 0 !important;
}

.popup_content .corp dt,
.popup_content .agreement dt,
.popup_content .policy dt,
.popup_content .contact h1,
.popup_content p.textarea1 {
	border-left: 6px solid #d02e67 !important;
	border-bottom: 1px solid #d02e67 !important;
}