@charset "utf-8";

/* 
foundation.css - HTMLタグの基準スタイル
プレフィックス：なし
編集者 人間：編集する
	   AI ：編集しない
役割：body, h1〜h6, p, a, ul, ol, table, img, blockquote, code, フォーム要素、など。
禁止：l-, c-, p- クラス
	 ページ固有スタイル
	 レイアウト構造
*/

html {
	font-size: 62.5%;
}
@media screen and (max-width: 1279px) {
	html {
		font-size: 56.25%;
	}
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
body {
	font-family: 'Noto Sans JP', sans-serif,"メイリオ", "ＭＳ Ｐゴシック", "MS Gothic", "Osaka－等幅", Osaka-mono, monospace;
	font-size: 1.6rem;
	color: var(--color-txt);
}
a {
	color: var(--color-txtlink);
	transition: color .3s, background .3s, opacity .3s, border .3s;
	text-decoration: underline;
}
a:hover {
	opacity: .5;
	text-decoration: none;
}

main p {
	font-size: 1.8rem;
	line-height: 3.6rem;
	margin-bottom: 1.8rem;
}
main p strong {
	color: var(--color-strong);
}

mark {
	background: linear-gradient(transparent 80%, #6cf 80%);
	font-weight: bold;
}

td,
th {
	line-height: 1.4;
}

blockquote {
	padding: 30px 40px 20px;
	background: #f9f9f9;
	color: #666;
	position: relative;
}
blockquote::before {
	content: "\f10d";
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	position: absolute;
	top: 10px;
	left: 10px;
}
blockquote::after {
	content: "\f10e";
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	position: absolute;
	bottom: 10px;
	right: 10px;
}
blockquote p.cite {
	text-align: right;
}

video {
	width: 100%;
}

code {
	background: #333;
	color: #ccc;
	padding: 3px;
}

/* h1 - h6 */
h1 {
	font-size: var(--font-size-h1);
	margin-bottom: var(--font-size-h1);
	line-height: 5.4rem;
}
h1 span {
	font-size: 50%;
	display: block;
	font-weight: normal;
	line-height: 3;
}
h2 {
	font-size: var(--font-size-h2);
	padding: 0 0 10px;
	margin-bottom: var(--font-size-h2);
	position: relative;
	border-bottom: 3px solid #eee;
}
h3 {
	font-size: var(--font-size-h3);
	margin-bottom: var(--font-size-h3);
	font-weight: bold;
	border-left: 1.0rem solid #999;
	padding-left: 1.0rem;
}
h4 {
	font-size: var(--font-size-h4);
	margin-bottom: var(--font-size-h4);
	padding-left: 5.6rem;
	position: relative;
	font-weight: bold;
	border-left: 0.8rem solid #aaa;
	padding-left: 0.8rem;
	margin-bottom: 1.0rem;
}
h5 {
	font-size: var(--font-size-h5);
	margin-bottom: var(--font-size-h5);
	border-left: 6px solid #bbb;
	padding-left: 6px;
}
h6 {
	font-size: var(--font-size-h6);
	margin-bottom: var(--font-size-h6);
	border-left: 0.4rem solid #ccc;
	padding-left: 0.4rem;
}

/* form */
main#form {
	max-width: 80rem;
	margin: 0 auto;
}
form dl {
	padding: 0 1rem;
	background: #f0f2f4;
	margin-bottom: 5rem;
}
form dl dt {
	float: left;
	width: 260px;
	padding: 10px 0 10px;
	min-height: 60px;
	line-height: 1.6;
	font-size: 16px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}
form dl dd {
	padding: 10px 0 10px 260px;
	line-height: 1.6;
	font-size: 16px;
	border-bottom: 3px solid #fff;
}
form dl dd:last-child {
	border-bottom: none;
}

form span.required,
form span.will {
	float: right;
	margin-right: 15px;
	padding: 1px 4px 2px;
	font-size: 1.4rem;
	background: var(--color-form-required-bg);
	color: var(--color-form-required-txt);
	text-decoration: none;
	border-bottom: none;
}
form span.will {
	background: var(--color-form-will-bg);
	color: var(--color-form-will-txt);
}

form dl input,
form dl select,
form dl textarea {
	ime-mode: active;
	font-family: inherit;
	font-size: 16px;
	transition: .3s;
	border: 1px solid #ccc;
	width: 100%;
	padding: 10px;
}
form dl input:not([type="radio"]):focus,
form dl select:focus,
form dl textarea:focus {
	border: 1px solid var(--color-form-required-bg);
	outline: none;
	box-shadow: 0 0 4px var(--color-form-required-bg);
}

form dl textarea {
	height: 15rem;
	line-height: 1.4;
}

/* checkbox */
form dl label {
	cursor: pointer;
	display: block;
	padding: 4px 32px;
	position: relative;
	width: auto;
}
form dl input[type=checkbox] {
	display: none;
}
form dl label input[type=checkbox] + span::before {
	background: #fff;
	border: 1px solid #ccc;
	content: '';
	display: block;
	width: 24px;
	height: 24px;
	left: 0;
	margin-top: -13px;
	position: absolute;
	top: 50%;
}
form dl label input[type=checkbox] + span::after {
	border-right: 3px solid var(--color-form-required-bg);
	border-bottom: 3px solid var(--color-form-required-bg);
	content: '';
	display: block;
	height: 16px;
	left: 7px;
	margin-top: -13px;
	opacity: 0;
	position: absolute;
	top: 50%;
	transform: rotate(45deg);
	width: 8px;
	transition: opacity .3s;
}
form dl label input[type=checkbox]:checked + span::after {
	opacity: 1;
}

/* radio */
form dl label input[type=radio] {
	position: absolute;
	top: 19px;
	left: 9px;
	width: 15px;
	z-index: -1;
}
.radio-01 {
	position: relative;
	padding: 4px 0;
	width: 100%;
	margin-left: 32px;
}
form dl label input[type=radio] + span {
	box-sizing: border-box;
	cursor: pointer;
	display: block;
	padding: 5px 30px;
	margin-left: -32px;
	position: relative;
	width: auto;
}
form dl label input[type=radio] + span::before {
	background: #fff;
	border: 1px solid #ccc;
	border-radius: 50%;
	content: '';
	display: block;
	height: 24px;
	width: 24px;
	left: 0;
	margin-top: -13px;
	position: absolute;
	top: 50%;
}
form dl label input[type=radio] + span::after {
	background: var(--color-form-required-bg);
	border-radius: 50%;
	content: '';
	display: block;
	width: 18px;
	height: 18px;
	left: 4px;
	margin-top: -9px;
	opacity: 0;
	position: absolute;
	top: 50%;
	transition: opacity .3s;
}
form dl label input[type=radio]:checked + span::after {
	opacity: 1;
}

form dl dd.file label {
	padding: 0.6rem 0;
	min-width: 20rem;
	text-align: center;
	margin-top: 0.3rem;
	background-color: #fff;
	border: 1px solid #ccc;
	cursor: pointer;
	display: inline-block;
}
form dl dd.file label input[type=file] {
	display: none;
}
form dl dd.file p {
	margin: -0.6rem 0 -0.6rem 0.4rem;
	font-size: 1.4rem;
}
form .submit {
	text-align: center;
}
form .submit input {
	font-size: 4.0rem;
	width: 100%;
	padding: 2.0rem;
	background: var(--color-conversionbg);
	color: var(--color-conversiontxt);
	border: none;
	cursor: pointer;
	transition: opacity .3s;
	text-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
	font-weight: bold;
}
.submit input:hover {
	opacity: .7;
}




@media screen and (max-width: 1279px) {
}/* max-width 1025px */

@media screen and (max-width: 1025px) {
	.pc {
		display: none;
	}
	.tablet {
		display: inherit;
	}
	.sp {
		display: inherit;
	}
}/* max-width 1025px */

/* max-width 600px */
@media screen and (max-width: 600px) {
	form dl {
		border: none;
	}
	form dl dt {
		float: none;
		width: auto;
		min-height: auto;
		justify-content: flex-start;
	}
	form dl dd {
		padding: 0 0 15px 0;
	}
	form dl dd:last-child {
		border: none;
	}
	form span.required,
	form span.will {
		margin-left: 5px;
		margin-right: 0;
	}
	form dl textarea {
		width: 100%;
		height: 100px;
	}
	form dl label input {
		width: 22px;
	}
	form .submit {
		margin-top: 20px;
	}
	h2 {
		padding-top: 16px;
		margin-bottom: 24px;
	}
	h2 span {
		margin-top: 8px;
	}
	
	.pc {
		display: none;
	}
	.sp {
		display: inherit;
	}
}/* max-width 600px */