@charset "UTF-8";

html {
	overflow-y: visible;
}

:root {
	background:
		url("../img/2026_valentine/new_html_bg_pattern.webp"),
		linear-gradient(to right, #1f0044, #741fad, #1f0044);
	background-size: auto, auto auto;
	background-attachment: fixed, fixed;
	background-repeat: repeat, repeat;
	background-position: center, center;
}


body {
	width: 100%;
	margin: 0 auto;
	font-size: 16px;
	font-family: "Yu Mincho", YuMincho, "Hiragino Mincho ProN", Georgia, 游明朝, HGS明朝E, serif;
	font-family: "Noto Sans JP";
	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;
	font-weight: 600;
	color: #4e4e4e;
	max-width: 580px;
	background: #ffffff;
	max-width: 580px;
}


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

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

header,
body,
footer ul {
	max-width: 450px;
	width: 100%;
}

.relative {
	position: relative;
}

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

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

header.logo_area {
	max-width: 450px;
	width: 100%;
	position: sticky;
	top: 0;
	z-index: 11;
	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: 43%;
	margin: 2% 1.5% 2% 0;
}

#qr {
	display: none;
}

@media (min-width: 1000px) {
	#qr {
		position: fixed;
		display: flex;
		justify-content: flex-end;
		width: clamp(1000px, 80vw, 1400px);
		bottom: clamp(30px, calc(-145px + 17.5vw), 100px);
		transform: translate(-50%, 0%);
		left: 50%;
		pointer-events: none;
	}

	#qr>div {
		position: relative;
		width: 245px;
		padding-top: clamp(20px, calc(-30px + 5vw), 40px);
		padding-bottom: clamp(10px, calc(-65px + 7.5vw), 40px);
		/* padding-left: clamp(0px, calc(-40px + 4vw), 16px); */
		/* padding-right: clamp(0px, calc(-40px + 4vw), 16px); */
		background: #ffffff;
		border-radius: 5px;
		box-shadow: 0 8px 16px #16002d;
	}

	#qr p {
		color: #442073;
		text-align: center;
		display: block;
		font-family: "Noto Serif JP", serif;
		margin-bottom: 1rem;
	}

	.corner {
		display: none;
	}

}

@media (min-width: 1400px) {
	#qr>div {
		width: 300px;
	}

	.corner {
		display: block;
		position: absolute;
		width: 60px;
		height: 60px;
		transform: translate(-50%, 0);
	}

	.top-left {
		top: 6px;
		left: 6px;
		transform: rotate(0deg);
	}

	.top-right {
		top: 6px;
		right: 6px;
		transform: rotate(90deg);
	}

	.bottom-left {
		bottom: 6px;
		left: 6px;
		transform: rotate(270deg);
	}

	.bottom-right {
		bottom: 6px;
		right: 6px;
		transform: rotate(180deg);
	}

}
.cta_kiran{
	animation: kiran 1.7s linear infinite;

}
.cta_kiran.absolute {
	position: absolute;
	/* そのまま */
	animation: kiran_absolute 1.7s linear infinite;
	/* 光の層を表現するための簡易フィルター */
}


@keyframes kiran {

	0%,
	100% {
		filter: brightness(1) drop-shadow(0 0 0 rgba(255, 255, 255, 0));
		transform: scale(0.92);
	}

	50% {
		filter: brightness(1.5) drop-shadow(0 0 4px rgba(255, 255, 255, 0.8));
        transform: scale(1);

	}
}


@keyframes kiran_absolute {

	0%,
	100% {
		filter: brightness(1) drop-shadow(0 0 0 rgba(255, 255, 255, 0));
		transform: translate(-50%, 0%) scale(0.92);
	}

	50% {
		filter: brightness(1.5) drop-shadow(0 0 4px rgba(255, 255, 255, 0.8));
        transform: translate(-50%, 0%) scale(1);

	}
}




.image-grid {
	position: absolute;
	bottom: 31%;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	width: 82%;
	/* 画像の範囲を調整 */
}

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





/*先生の紹介*/
.teller_wrap{
	margin-top: -8%;
}
.teller {
	background: #2b0d53;
}

.teller_midashi {
	position: relative;
}

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


/* 先生の写真と名前 */
.teller_cont1 {
	display: flex;
	align-items: center;
	padding: 5% 5% 0;
}

.teller_cont1 p {
	color: #fff;
}

.teller_cont1>img,
.tellermessage_cont1>img {
	width: 30%;
	width: 35%;
	border-radius: 150px;
}

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

.teller_cont1 .name1 {
	display: block;
	background: #785fba;
	font-size: 0.8rem;
	padding-bottom: 4px;

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

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

.teller_cont1 .name2,
.tellermessage_cont1 .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;
}

.name2 span {
	font-size: 0.9rem;
	display: inline-block;
}



/* 占術やプロフなど */
.teller_cont2 {
	text-align: center;
	background: #2b0d53;
	text-align: left;
	color: white;
}

.teller_cont2>div:first-of-type {
	margin-top: 0;
}

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

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

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

.teller_cont4 .teller_icon img+span {
	color: #6e58a1;
}

.teller_cont4 .cta_kiran {
	width: 90%;
	position: relative;
}

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






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


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

.label {
	background-color: #6e58a1;
	color: white;
	padding: 4px 10px;
	font-size: 14px;
	white-space: nowrap;
	border-radius: 4px;
	/*width: 130px;*/
	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;
}

div.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_cta {
	color: #5c21c6;
	color: #7428f8;
	text-align: center;
	margin-top: 1.1rem;
	font-size: 1.5rem;
	font-family: serif;
	font-weight: bold;
}





/*質問一覧*/

.question_midashi {
	background: linear-gradient(to bottom, #00000000 50%, #2b0d53 50%);
}

.question_wrap {
	width: 100%;
	background: #2b0d53;

	padding: 5% 0;
	font-family: serif;
}



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

.question p {
	color: white;
	display: flex;
	width: 100%;
	flex-wrap: nowrap;
	align-items: flex-start;
	justify-content: flex-start;
}

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

.question>p {
	font-weight: bold;
	padding: 2% 0;
	padding-right: 10%;
	position: relative;
}


.question>p>img,
.honbun>p>img {
	display: inline;
	width: 2rem;
	height: auto;
	margin: 0;
	margin-right: 0.5rem;
}

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

.honbun {
	display: none;
}

.honbun>p {
	padding: 4% 0;
}

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





/* フォーム */


:root {
	--form-color: #6e58a1;
}

p {
	color: #4a4a4a;
}

.form_midashi {
	background: linear-gradient(to bottom, #2b0d53 50%, #00000000 50%);
}

.step {
	display: flex;
	margin: 24px auto;
	width: 90%;
}

.step div {
	flex: 1;
	padding: 10px 16px 10px 10px;
	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(--form-color);
	background: #1E88E5;
	color: #fff;
	font-weight: bold;
}

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



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

form {
	width: 100%;
	min-width: 277px;
	display: block;
	margin: 0 auto;
}

dd,
dl,
dt {
	overflow-x: hidden;
}

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

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


.radio-group {
	display: flex;
	gap: 8px;
	margin-bottom: 16px;
	height: auto;
	margin-bottom: 0;
	padding-bottom: 0;
}

.radio-group input {
	display: initial;
	width: 16px;
	height: auto;
}

.radio-group label {
	border: none;
	background: none;
	box-shadow: none;
	color: #4a4a4a;
	text-shadow: none;
	margin: 0;
	text-align: initial;
	display: block;
	float: initial;
	flex: initial;
	width: auto;
}

.radio-group input[type="radio"]:checked+label {}

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

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


/* 生年月日 */
#select_form {
	width: 100%;
	margin: 16.2px auto;

	display: flex;
	gap: 6px;
}

#select_form select {
	font-size: 16px;
	border-radius: 6px;
	border: solid 1px #cdcdcd;
	padding: 6px 12px;
	flex: 1;
}

.birth_p {
	margin-bottom: -12px;
}



/* 名前 */
#name_form {
	position: relative;
	width: 100%;
	margin: 16.2px auto;
}

#name_form input {
	width: 100%;
	font-size: 16px;
	border-radius: 6px;
	border: solid 1px #cdcdcd;
	padding: 6px 12px;
}

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


/* メアド入力型につき追加2024年7月25日 */
#address_form input,
select#domain_form {
	width: 100%;
	font-size: 16px;
	border-radius: 0;
	border: solid 1px #aaa;
	padding: 6px 12px;
}


#address_form input,
select#domain_form {
	width: 100%;
	border-radius: 6px;
	border: 1px solid #cdcdcd;
	padding: 6px 12px;
	display: block;
}

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



div.footermenu {
	background-color: #f0f7ff;
}

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

footer #copy p {
	color: #ffff;
}

.open_btn {
	font-size: 12px;
	font-weight: 200;
}

li {
	list-style: none;
}

.submit input[type="submit"] {
	background: linear-gradient(68deg, #f2769c 0%, #ffb5c1 100%);
	color: white;
	border: none;
	border-radius: 8px;
	font-weight: bold;
	cursor: pointer;
	box-shadow: 0 2px 7px #ffcbcb;
	font-size: 20px;
	width: 100%;
	padding: 10px 10%;
	margin-bottom: 16px;
}


.form-box {
	max-width: 720px;
	margin: 34px 4% 40px;

	padding: 14px 24px;
	background: #ffff;
	border: 2px solid #e8e8e8;
	border-radius: 0;
}

.form-title {
	font-size: 20px;
	font-weight: bold;
	color: #1e88e5;
	border-bottom: 4px solid #1e88e5;
	padding-bottom: 4px;
	margin-bottom: 0;
	padding-left: 4%;
}

.formmidashi {
	font-size: 16px;
	background: white;
	color: #1e88e5;
	display: block;
	width: fit-content;
	padding: 0 0.5rem 5px;
	margin-top: -29px;
	margin-left: -15px;
}

input {
	border: 1px solid #ccc;
	padding: 12px;
	font-size: 14px;
}

/* お悩みジャンル */
#genre_form {
	width: 100%;
	margin: 16.2px auto;
}

#genre_form select {
	width: 100%;
	font-size: 16px;
	border-radius: 6px;
	border: solid 1px #cdcdcd;
	padding: 6px 12px;
}
