@charset "utf-8";

/* LP_金運12星座占い(神楽坂恒一) */

/**************************
基本設定
**************************/

html {
	font-size: 100%;
	font-weight: 500;
	line-height: 1.68;
	scroll-behavior: smooth;
}

* {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	vertical-align: baseline;
	background: rgba(0,0,0,0);
	box-sizing: border-box;
	list-style: none;
}

*::before,*::after {
	box-sizing: border-box;
}

img,video {
	font-size: 0;
	line-height: 0;
	width: 100%;
	max-width: 100%;
	height: auto;
	vertical-align: bottom;
}

:root{
	--main-color: #875BA0;
	--text-color-1: #FFFFFF;
	--red-color: #FF0000;
	--yel-color: #F6FF00;
	--bg-color-1: #333333;
	--bg-color-2: rgba(0, 0, 0, 0.8);
	--gradient-1: linear-gradient(45deg, #dbaaf7 0%, #741ca7 100%);
	--outline-color-1: #EBDDA4;
}

body {
	font-family: 游ゴシック体, 'Yu Gothic', YuGothic, 'ヒラギノ角ゴシック Pro', 'Hiragino Kaku Gothic Pro', メイリオ, Meiryo, sans-serif;
	-webkit-text-size-adjust: 100%;
	word-wrap: break-word;
	overflow-wrap: break-word;
	text-rendering: optimizeLegibility;
	color: var(--text-color-1);
	display: flex;
	flex-direction: column;
	min-height: 100dvh;
	background: var(--bg-color-1);
}

ul,ol{
	list-style: none;
}

.Clear{ clear:both; }

.Center{
	width: 100%;
	text-align: center;
}

.Right{
	text-align: right;
}

pre{
	overflow:auto;
	white-space:pre-wrap;
	word-wrap: break-word;
}

/*****************************
* メインレイアウト設定
*****************************/

#wrapper{
	width: 100%;
	max-width: 720px;
	min-height: 100vh;
	margin: 0 auto;
	box-shadow: 0 0 20px #000;
	overflow: hidden;
}

article{
	width: 100%;
	height: 100%;
	padding: 20px;
}

.textbox{
	background: var(--bg-color-2);
	padding: 20px;
	border-radius: 20px;
}


h2{
	width: 100%;
	text-align: center;
	margin-bottom: 40px;
	font-size: 1.4em;
}

.redtext{
	width: 100%;
	font-size: 1em;
	color: var(--red-color);
}

.triangle{
	width: 50%;
	margin: 0 auto;
	padding-top: 20px;
	padding-bottom: 40px;
}

/*****************************
* animation
*****************************/

/* ベース：共通設定 */
.animate-me {
	opacity: 0;
	transition: all 0.8s ease-out;
}

/* 発動時の共通状態 */
.animate-me.is-active {
	opacity: 1;
	transform: translate(0, 0); /* どの方向から来ても(0,0)に着地 */
}

/* --- パターン分け --- */

/* 下からふわっ（前回の復習） */
.fade-up {
	transform: translateY(60px);
}

/* 上から出現 */
.fade-down {
	transform: translateY(-60px);
}

/* 拡大縮小（パルス）アニメーションの定義 */
@keyframes pulse {
	0% {
		transform: scale(0.9);
	}
	50% {
		transform: scale(1.05); /* 大きくする */
	}
	100% {
		transform: scale(0.9);
	}
}

/* 左からフェードイン */
.fade-left {
	transform: translateX(-50px); /* 左に50pxずらしておく */
	opacity: 0;
	transition: all 0.8s ease-out;
}

/* 発動時 */
.fade-left.is-active {
	transform: translateX(0);
	opacity: 1;
}

/* --- 順番に出すためのディレイ設定 --- */
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

/* 点滅（フェード）アニメーションの定義 */
@keyframes tenmetsu {
	0%, 60% { opacity: 1; }
	61%, 100% { opacity: 0; }
}

/* --- 光通過 --- */
@keyframes shinePass {
	0% {
		left: -100%; /* タイトルの左側（画面外）からスタート */
		opacity: 0;
	}
	10% {
		opacity: 1; /* 動き出したら光を強くする */
	}
	30% {
		left: 100%; /* タイトルの右側（画面外）へ抜ける */
		opacity: 1;
	}
	50% {
		opacity: 0; /* 抜けたら消す */
	}
	100% {
		left: 100%; /* 残りの時間は右側で待機（断続的な間を作る） */
		opacity: 0;
	}
}

/* --- ふわふわ上下させる --- */
@keyframes fuwafuwa {
	0% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-10px); /* 上に10px動く */
	}
	100% {
		transform: translateY(0);
	}
}

/*****************************
* regist_btn
*****************************/

.regist_btn {
	display: block; /* または inline-block */
	animation: pulse 2s ease-in-out infinite; /* 2秒周期で無限に繰り返す */
	cursor: pointer;
	transition: transform 0.3s ease; /* ホバー時の動きを滑らかにするため */
}

/* ホバーした時はアニメーションを止めて、さらに少し大きくする演出（お好みで） */
.regist_btn:hover {
	animation-play-state: paused; /* アニメーションを一時停止 */
	transform: scale(1.1); /* 1.1倍に固定 */
}

/*****************************
* fv_content
*****************************/

#fv_cont{
	width: 100%;
	height: auto;
	aspect-ratio: 780 / 948;
	@supports not (aspect-ratio: 1 / 1) {
		/* aspect-ratio が使えないブラウザへの命令 */
		padding-top: 121.54%;
		height: 0;
	}
	position: relative;
	background:url("../img/up/img_12seiza/bk_fv.webp");
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center top;
}

/* FVパーツの初期状態（共通） */
.fv_top,
.fv_uranaishi,
.fv_title,
.fv_circle{
	position: absolute;
	top: 0;
	left: 0;
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* 発動時の状態 */
.fv_top.is-active,
.fv_uranaishi.is-active,
.fv_title.is-active,
.fv_circle.is-active {
	opacity: 1;
	transform: translateY(0);
}

/* --- アニメの設定 --- */
.fv_title {
	overflow: hidden; /* 光がタイトルの外に出ないようにする */
	display: inline-block; /* 画像のサイズに合わせる */
	/* 画像自体をマスクとして使用する魔法のプロパティ */
	-webkit-mask-image: url("../img/up/img_12seiza/fv_title.webp"); /* あなたの画像パスに合わせてください */
	mask-image: url("../img/up/img_12seiza/fv_title.webp");
	-webkit-mask-size: contain;
	mask-size: contain;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
}

/* --- 3. 光の疑似要素（:after）の設定 --- */
.fv_title:after {
	content: "";
	position: absolute;
	top: -50%; /* 斜めに傾けるための余白 */
	left: -100%; /* 初期位置 */
	width: 50%; /* 光の幅 */
	height: 200%; /* 光の高さ（斜めにしても足りるように） */

	/* 光のグラデーション（白〜透明〜白）
      斜めの光を作るために角度をつけます
    */
	background: linear-gradient(
			110deg,
			rgba(255, 255, 255, 0) 0%,
			rgba(255, 255, 255, 0) 40%,
			rgba(255, 255, 255, 0.6) 50%, /* ここが光の芯 */
			rgba(255, 255, 255, 0) 60%,
			rgba(255, 255, 255, 0) 100%
	);

	/* アニメーションの適用 */
	animation: shinePass 4s ease-in-out infinite; /* 4秒周期で無限ループ */
}

.fv_circle{
	top: 10px;
	animation: fuwafuwa 3s ease-in-out infinite;
}

/*****************************
* choice_content
*****************************/

#choice_cont{
	width: 100%;
	height: auto;
	aspect-ratio: 780 / 1367;
	@supports not (aspect-ratio: 1 / 1) {
		/* aspect-ratio が使えないブラウザへの命令 */
		padding-top: 175.26%;
		height: 0;
	}
	background:url("../img/up/img_12seiza/bk_white.webp");
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center top;
	padding-top: 10px;
}

.btn_content{
	width: 85%;
	margin: 0 auto;
	margin-top: 60px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
@media (max-width:760px) {
	#choice_cont{
		padding-top: 0;
	}
	.btn_content {
		margin-top: 20px;
	}
}

.btn_content a{
	width: 30%;
	margin-bottom: 25px;
}

/* 12個のimg共通のスタイル */
.btn_content a {
	display: inline-block;
	animation: fuwafuwa 3s ease-in-out infinite; /* 3秒かけてループ */
}

/* バラバラの動きにするための設定
  animation-delay（開始時間）と duration（速度）をずらします
*/
.btn_content a:nth-child(2n) {
	animation-duration: 3.5s;
	animation-delay: 0.2s;
}

.btn_content a:nth-child(3n) {
	animation-duration: 4s;
	animation-delay: 0.5s;
}

.btn_content a:nth-child(4n) {
	animation-duration: 2.5s;
	animation-delay: -0.8s;
}

.btn_content a:nth-child(5n) {
	animation-duration: 4.5s;
	animation-delay: 0.3s;
}

/*****************************
* intro_content
*****************************/

#intro_cont{
	width: 100%;
	background:url("../img/up/img_12seiza/bk_introduction.webp");
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center top;
	padding: 30px 5px;
}

/*****************************
* voice_content
*****************************/

#voice_cont{
	width: 100%;
	background:url("../img/up/img_12seiza/bk_white.webp");
	background-size: cover;
	background-repeat: repeat-y;
	background-position: center top;
}

#voice_cont ul{
	width: 80%;
	margin: 0 auto;
	padding: 40px 0;
}

#voice_cont li{
	width: 100%;
	background: var(--bg-color-2);
	border-radius: 20px;
	padding: 15px;
	margin-bottom: 20px;
}

/*****************************
* regist_content
*****************************/

#regist_cont{
	width: 100%;
	background:url("../img/up/img_12seiza/bk_regist.webp");
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center top;
	padding: 50px 0;
}

#count_box{
	position: relative;
	width: 80%;
	height: auto;
	aspect-ratio: 700 / 762;
	@supports not (aspect-ratio: 1 / 1) {
		/* aspect-ratio が使えないブラウザへの命令 */
		padding-top: 108.86%;
		height: 0;
	}
	background:url("../img/up/img_12seiza/regist_waku.webp");
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center top;
	margin: 0 auto;
	margin-top: 50px;
	margin-bottom: 30px;
}

#count_box p{
	font-family: "游明朝 Medium", "Yu Mincho Medium", "YuMincho Medium", "ヒラギノ明朝 ProN", "Hiragino Mincho ProN", serif;
	position: absolute;
	bottom: 0;
	right: 180px;
	font-weight: bold;
	font-size: 10rem;
	color: var(--red-color);
	animation: tenmetsu 1.5s ease-in-out infinite; /* 1.5秒周期で無限ループ */
	text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

@media (max-width:760px) {
	#count_box p{
		right: 30%;
		font-size: 23vw;
	}
}

/*****************************
* footer
*****************************/

footer{
	width: 100%;
	height: 90px;
	text-align: center;
	padding-top: 20px;
	background: #000;
}

footer a{
	text-decoration: underline;
	color: var(--text-color-1);
	margin-bottom: 10px;
}

footer p{
	font-size: 0.9em;
}


/**************************
form
**************************/

#form{
	width: 100%;
	height: auto;
	background:url("../img/up/img_12seiza/bk_white.webp");
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center top;
	text-align: center;
	padding-bottom: 50px;
}

#form .textbox{
	width: 90%;
	margin: 0 auto;
}

@media (max-width:760px) {
	#form .textbox{
		padding: 0;
	}
}

form input,
form select,
form textarea{
	padding: 10px;
	border-radius: 10px;
	border: 2px solid #FFF;
	color: #FFF;
}

form textarea{
	width: 100%;
	max-width: 480px;
	height: 100px;
	font-size: 16px;
}

form input[type="button"],
form input[type="submit"]{
	width: auto;
	max-width: 320px;
	height: 50px;
	background: var(--main-color);
	color: #FFF;
	font-size: 1em;
	font-weight: bold;
	border: none;
	margin: 10px 0;
	padding: 0 10px;
}

form input[type="button"]:active,
form input[type="submit"]:active {
	opacity: 0.8;
}

.form_gender, .form_birthday, .form_name {
	padding: 18px 0px;
}
.form_gender input {
	display: none;
}
.form_gender input[type="radio"]:checked#man + label {
	background: #006DD9;/* マウス選択時の背景色を指定する */
	color: #663333; /* マウス選択時のフォント色を指定する */
}
.form_gender input[type="radio"]:checked#woman + label {
	background: #ff90c1;/* マウス選択時の背景色を指定する */
	color: #663333; /* マウス選択時のフォント色を指定する */
}
.form_gender label {
	border: 2px solid #ffffff;
	padding: 1% 5%;
	margin:2%;
	font-size:min(5.5vw, 41.8px);
	border-radius: 8px;
}
.form_birthday {
	font-size:min(3vw, 22.8px);
	padding:0 5%;
}
.form_birthday select {
	font-size:min(5vw, 40.4px);
	padding: 2px 8px;
}
.form_name input {
	padding: 6px;
	font-size: min(5vw, 40.4px);
	width:80%;
}
form p {
	margin: 0px;
	font-size:min(4.5vw, 34.2px);
	padding-bottom:14px
}
.form_contents input {
	width:80%;
	margin:0 auto;
	padding:8px 0;
}
.form_contents input[type="image"] {
	width:80.5%;
	max-width:612px;
	margin:0 auto;
	border: none;
}

.line_explanation{
	width: 100%;
	background:url("../img/up/img_12seiza/bk_white.webp");
	background-size: cover;
	background-repeat: repeat-y;
	background-position: center top;
	padding-bottom:50px;
}

.line_explanation .textbox{
	width: 90%;
	margin: 0 auto;
	background: rgba(6, 192, 82, 0.8);
	font-size: 1.3em;
	font-weight: bold;
}

.line_explanation .textbox p{
	border: 2px solid var(--yel-color);
	color: var(--yel-color);
	margin-top: 10px;
	padding: 10px;
	border-radius: 10px;
}

@media (max-width:760px) {
	.line_explanation .textbox{
		font-size: 1.1em;
	}
}

/**************************
サポートメニュー
**************************/

#content_wrapper{
	width: 100%;
	min-height: calc(100vh - 90px);
	background:url("../img/up/img_12seiza/bk_white.webp");
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center top;
}

.support_menu{
	width: 100%;
	padding: 100px;
}

@media (max-width:760px) {
	.support_menu{
		width: 100%;
		padding: 20px;
	}
}

.support_menu li{
	width: 100%;
	padding: 15px 0;
	background: var(--bg-color-2);
	border: 2px solid var(--outline-color-1);
	border-radius: 10px;
	font-size: 1.3em;
	font-weight: bold;
	margin-bottom: 20px;
	text-align: center;
}

.support_menu li a{
	text-decoration: none;
	display: block;
	color: var(--outline-color-1);
}

svg path { fill: var(--text-color-1); }
.svg_logo{
	height: 1rem;
	width: auto;
	vertical-align: -0.15rem;
	fill:currentColor;
}

