@charset "utf-8";

/* ベース */
	
	*,
	::before,
	::after
	{
		box-sizing: border-box;
		margin: 0;
		padding: 0;
	}
	
	html
	{
		margin: 0;
		padding: 0;
		background: #FFFFDD;
		color: #555;
		font-family: sans-serif;
		scroll-behavior: smooth;
	}
	body
	{
		margin: 0;
		padding: 0;
	}
	

/* フォーム類 */
	
	#input-items > div + div
	{
		border-top: solid 1px #DDD;
		padding: .5rem;
	}
	#input-items > div.validate input[type="text"],
	#input-items > div.validate textarea
	{
		border-color: #F00;
		background: #FEE;
	}

	#input-items dt
	{
		margin: 0 0 .2rem;
		border-left: solid .4rem #090;
		padding: 0 0 0 .2rem;
		color: #090;
		font-size: .8rem;
		font-weight: bold;
	}
	#input-items dt.require:after
	{
		content: '【必須】';
		color: #EA2670;
		font-size: .8rem;
	}
	
	label,
	input
	{
		user-select: none;
	}
	select
	{
		width: 100%;
		border: solid 2px #F24C0F;
		border-radius: .2rem;
		padding: .4rem;
	}
	option
	{
		background: #FFF;
	}
	option[disabled]
	{
		background: #CCC;
		color: #999;
	}
	input[type="text"],
	input[type="tel"]
	{
		border: solid 2px #F24C0F;
		border-radius: .2rem;
		padding: .3rem;
	}
	input[type="text"]:active,
	input[type="tel"]:active
	{
		border: dotted 2px #F24C0F;
	}
	input[type="text"]:focus,
	input[type="tel"]:focus
	{
		border: solid 2px #F24C0F;
		background: #CEF;
	}
	input[type="text"]
	{
		width: 100%;
	}
	input[type="tel"]
	{
		width: 8rem;
	}
	
	input[type="radio"]
	{
		margin: 0 .5rem 0 0;
		border: solid 2px #F00;
	}
	input[type="checkbox"]
	{
		margin: 0 .5rem 0 0;
	}
	li.etc
	{
		white-space: nowrap;
	}
		.etc label
		{
			flex: 0;
			margin: 0 .5rem 0 0
		}
		.etc label + input[type="text"]
		{
			flex: 0 100 auto;
		}
	label
	{
		width: 100%;
		display: block;
		border: solid 2px transparent;
		border-radius: .2rem;
		padding: .2rem .5rem;
		cursor: pointer;
	}
	label:hover
	{
		border: solid 2px #F24C0F;
	}
	textarea
	{
		resize: vertical;
		width: 100%;
		max-height: 16rem;
		min-height: 8rem;
		border: solid 2px #F24C0F;
		border-radius: .2rem;
		padding: .3rem;
	}
	textarea:focus
	{
		background: #CEF;
	}
	
/* 入力注意書き */
	
	#input-items .attention
	{
		list-style: none;
		color: #F50;
		font-size: .8rem;
	}

	#input-items .attention li
	{
		display: table-row;
	}

	#input-items .attention li:before
	{
		content: '※';
		display: table-cell;
		font-weight: bold;
	}



/* ヘッダー */
	
	header
	{
	}
		
		h1
		{
			margin: 0;
			padding: .2rem 1rem;
			background: #F49E19;
			color: #FFF;
			text-shadow: .1rem .1rem .2rem rgba(0, 0, 0, .3);
			font-size: 1rem;
		}
		
/* 各ページ */
	
	main
	{
		width: 100%;
		max-width: 600px;
		margin: 1rem auto;
		padding: 1rem;
	}
	
	main[hidden]
	{
		display: block; /*■■DEBUG■■*/
		display: none;
		animation: 1500ms fadeOut forwards;
	}
	@keyframes fadeOut {
		from {
			opacity: 1;
		}
		to {
			opacity: 0;
		}
	}
	main:not([hidden])
	{
		display: block;
		animation: 1500ms fadeIn forwards;
	}
	@keyframes fadeIn {
		from {
			opacity: 0;
		}
		to {
			opacity: 1;
		}
	}
		
		h2
		{
			color: #F46D1E;
			font-size: 1rem;
		}

/* トップページ */
	
	.sunday
	{
		color: #F2264F;
	}
	.terms
	{
		margin: 3rem 0;
	}
	.terms > .title
	{
		display: block;
		border-bottom: solid 1px #F2590A;
		color: #F2590A;
		text-align: center;
	}
	.terms p
	{
		margin: 1rem 0;
		padding: 0;
	}
	.terms ul
	{
		margin: 1rem 0;
		padding: 0 0 0 2rem;
	}
	#summary
	{
		
	}
	#send-limit
	{
		display: flex;
		justify-content: center;
		border-radius: .5rem;
		padding: 1rem 1rem;
		background: #F2DDB7;
		font-size: 1.2rem;
	}
		#send-limit em
		{
			font-weight: bold;
			font-style: normal;
		}
	#privacy-policy
	{
		
	}




	div.controller
	{
		display: flex;
		justify-content: center;
		margin: 2rem;
	}
		div.controller input[type="submit"]
		{
			-webkit-appearance: none;
			appearance: none;
			display: flex;
			justify-content: center;
			align-items: center;
			max-width: calc(100% - 2rem);
			min-width: 80%;
			margin: auto;
			border-style: solid;
			border-width: 2px;
			border-color: #F2DB84 #F24C0F #F24C0F #F2DB84;
			border-radius: .5rem;
			padding: .5rem 1rem;
			background: #F2B73F;
			color: #FFF;
			font-size: 1rem;
			font-weight: bold;
			text-shadow:
				.1rem .1rem .2rem #F24C0F,
				.1rem .1rem .2rem #F24C0F;
			cursor: pointer;
		}





/* subsc-finished-block */
	
	#finished-text p + p
	{
		margin: 1rem 0 0;
	}





/*-- loading animation --*/
/*
	The MIT License (MIT)
	
	Copyright (c) 2020 Tobias Ahlin
	
	Permission is hereby granted, free of charge, to any person obtaining a copy of
	this software and associated documentation files (the "Software"), to deal in
	the Software without restriction, including without limitation the rights to
	use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
	the Software, and to permit persons to whom the Software is furnished to do so,
	subject to the following conditions:
	
	The above copyright notice and this permission notice shall be included in all
	copies or substantial portions of the Software.
	
	THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
	IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
	FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
	COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
	IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
	CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
/* Config */
:root
{
	--sk-size: 50px; /* サイズ - 可変 */
	--sk-color: #3DC4FC; /* ベースの色 - 可変 */
}

/* Utility class for centering */
.sk-center { margin: auto; }

.sk-wander
{
	width: var(--sk-size);
	height: var(--sk-size);
	position: relative; 
}

.sk-wander-cube
{
	background-color: var(--sk-color);
	width: 20%;
	height: 20%;
	position: absolute;
	top: 0;
	left: 0;
	--sk-wander-distance: calc(var(--sk-size) * 0.75);
	animation: sk-wander 2.0s ease-in-out -2.0s infinite both;
}
.sk-wander-cube:nth-child(2) { animation-delay: -0.5s; }
.sk-wander-cube:nth-child(3) { animation-delay: -1.0s; }

@keyframes sk-wander {
	0% {
		transform: rotate(0deg); 
	}
	25% {
		transform: translateX(var(--sk-wander-distance)) rotate(-90deg) scale(0.6); 
	}
	50% { /* Make FF rotate in the right direction */
		transform: translateX(var(--sk-wander-distance)) translateY(var(--sk-wander-distance)) rotate(-179deg); 
	}
	50.1% {
		transform: translateX(var(--sk-wander-distance)) translateY(var(--sk-wander-distance)) rotate(-180deg); 
	}
	75% {
		transform: translateX(0) translateY(var(--sk-wander-distance)) rotate(-270deg) scale(0.6);
	}
	100% {
		transform: rotate(-360deg); 
	}
}





/*-- 郵便番号辞書 --*/
	
	#use-postal-code-dict
	{
	}
	
	html.postal-code-dict,
	html.postal-code-dict body
	{
		overflow-y: hidden !important;
		touch-action: none !important;
	}
	
	#postal-code-dict
	{
		z-index: 2;
		position: fixed;
		top: -100px;
		left: -100px;
		display: none;
		justify-content: center;
		align-items: center;
		width: calc(100vw + 200px);
		height: calc(100vh + 200px);
		padding: 100px;
		background: rgba(0, 0, 0, .7);
	}
	.postal-code-dict #postal-code-dict
	{
		display: flex;
	}
		
		.postal-code-dict-loaded .sk-wander
		{
			display: none;
		}
		
		#postal-code-dict .content
		{
			display: none;
			flex-flow: column;
			justify-content: flex-start;
			align-items: flex-start;
		}
		.postal-code-dict-loaded #postal-code-dict .content
		{
			overflow-y: auto;
			display: flex;
			width: 100%;
			height: 100%;
		}
			
			#postal-code-dict .content nav
			{
				position: fixed;
				top: 0;
				width: 100%;
			}
				
				#postal-code-dict .cancel
				{
					display: flex;
					justify-content: center;
					width: calc(100% - 2rem);
					max-width: 40rem;
					margin: .5rem auto;
					border-style: solid;
					border-width: .2rem;
					border-color: #FCE587 #FCA521 #FCA521 #FCE587;
					border-radius: .5rem;
					padding: .2rem 2rem;
					background: #FCC62D;
					color: #FFF;
					text-shadow:
						.1rem .1rem .2rem rgba(252, 165, 33, .8),
						.1rem .1rem .2rem rgba(252, 165, 33, .8),
						.1rem .1rem .2rem rgba(252, 165, 33, .8),
						.1rem .1rem .2rem rgba(252, 165, 33, .8),
						.1rem .1rem .2rem rgba(252, 165, 33, .8);
				}
				
			#postal-code-dict .desc
			{
				padding: 5rem 0 1rem;
				color: #FFF;
				text-align: center;
				font-size: .8rem;
			}
			#postal-code-dict .content dl
			{
				display: flex;
				flex-flow: wrap;
				width: calc(100% - 2rem);
				max-width: 800px;
				margin: 0 auto;
			}
				
				#postal-code-dict .content div
				{
					display: flex;
					flex-flow: wrap;
					width: 100%;
				}
				#postal-code-dict .content div:hover
				{
					cursor: pointer;
				}
					
					#postal-code-dict .content dt
					{
						width: 6rem;
						margin: .5rem 0 0 0;
						padding: .2rem .5rem;
						background: #FFF;
					}
					
					#postal-code-dict .content dd
					{
						width: calc(100% - 6.2rem);
						padding: .2rem .5rem;
						margin: .5rem 0 0 .2rem;
						background: #FFF;
					}
					
				#postal-code-dict .content div:hover dt,
				#postal-code-dict .content div:hover dd
				{
					background: #AFFCCC;
				}
				
			#postal-code-dict .content dl:after
			{
				content: '';
				display: block;
				width: 100%;
				padding-top: 50vh;
			}







/*-- 郵便番号 --*/

	#postal-code-group
	{
		display: flex;
	}
		#postal-code-group small
		{
			display: block;
			margin: 0 .5rem 0 0;
			color: #090;
			font-size: .8rem;
		}
		
		#postal-code-input
		{
			width: 8rem !important;
		}
		#use-postal-code-dict
		{
			margin: 0 0 0 .5rem;
			border-style: solid;
			border-width: .2rem;
			border-color: #F9E842 #A05421 #A05421 #F9E842;
			border-radius: .5rem;
			padding: .2rem 1rem;
			background: #FCA533;
			color: #FFF;
			cursor: pointer;
			outline: none;
			-webkit-user-select: none;
			user-select: none;
		}
		
	@media screen and (max-width: 625px) {
		#postal-code-group
		{
			flex-flow: column;
		}
		#use-postal-code-dict
		{
			margin: 0 0 .2rem;
		}
	}




	#address-level-group
	{
		display: flex;
	}
		
		#address-level1-select
		{
			width: 9rem ;
		}
		
		#address-level2-input
		{
			margin: 0 0 0 .2rem;
		}
		
	@media screen and (max-width: 625px) {
		#address-level-group
		{
			flex-flow: column;
		}
		#address-level2-input
		{
			margin: 0;
		}
	}





	#gender-group
	{
		display: flex;
	}





	#birthday-group
	{
		display: flex;
	}
		
		#birth-year-select
		{
			width: 6rem;
		}
		
		#birth-month-select
		{
			width: 4rem;
			margin: 0 0 0 .5rem;
		}
		
		#birth-day-select
		{
			width: 4rem;
			margin: 0 0 0 .5rem;
		}





	@media screen and (min-width: 824px)
	{
	}
