/* ベースCSS（terms_of_service.htmlと一致） */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: "Helvetica Neue", Arial,
	"Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo,
	sans-serif;
	background-color: #000;
	color: #fff;
	line-height: 1.6;
	font-size: 14px;
}

.container {
	max-width: 800px;
	margin: 0 auto;
	padding: 20px 16px;
	animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(20px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}

}

.header {
	text-align: center;
	margin-bottom: 40px;
	position: relative;
}

.header::before {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 50px;
	height: 3px;
	background: linear-gradient(45deg, #ff8957, #ffb347);
	border-radius: 2px;
}

h1 {
	font-size: 2rem;
	font-weight: bold;
	color: #ff8957;
	text-shadow: 0 2px 8px rgba(255, 137, 87, 0.3);
	margin-top: 20px;
}

.link-box {
	display: flex;
	flex-direction: column;
	gap: 20px;
	margin-top: 40px;
	background: rgba(255, 255, 255, 0.02);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 12px;
	padding: 30px 20px;
}

.link-box a {
	color: #ffb347;
	font-size: 16px;
	text-decoration: none;
	padding: 10px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	transition: all 0.2s ease;
}

.link-box a:hover {
	color: #ffffff;
	border-color: #ff8957;
}

@media (max-width: 600px) {
	h1 {
		font-size: 1.6rem;
	}

	* {
		margin: 0;
		padding: 0;
		box-sizing: border-box;
	}

}

.header {
	text-align: center;
	margin-bottom: 30px;
	position: relative;
	padding: 20px 0;
}

.intro {
	background: linear-gradient(135deg, rgba(255, 137, 87, 0.1), rgba(255, 137, 87, 0.05));
	border: 1px solid rgba(255, 137, 87, 0.2);
	border-radius: 10px;
	padding: 20px;
	margin-bottom: 25px;
	backdrop-filter: blur(10px);
	position: relative;
	overflow: hidden;
}

.intro::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 2px;
	background: linear-gradient(90deg, transparent, #ff8957, transparent);
}

.intro p {
	margin-bottom: 12px;
	font-size: 13px;
	color: #e0e0e0;
}

.intro p:last-child {
	margin-bottom: 0;
}

.section {
	margin-bottom: 25px;
	padding: 20px;
	background: rgba(255, 255, 255, 0.02);
	border-radius: 10px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	transition: all 0.3s ease;
	position: relative;
}

.section:hover {
	transform: translateY(-1px);
	box-shadow: 0 4px 15px rgba(255, 137, 87, 0.1);
	border-color: rgba(255, 137, 87, 0.3);
}

.section h2 {
	font-size: 1.2rem;
	color: #ff8957;
	margin-bottom: 15px;
	padding-bottom: 8px;
	border-bottom: 2px solid rgba(255, 137, 87, 0.3);
	position: relative;
	line-height: 1.3;
}

.section h2::before {
	content: '';
	position: absolute;
	bottom: -2px;
	left: 0;
	width: 25px;
	height: 2px;
	background: #ff8957;
}

.section p {
	margin-bottom: 12px;
	color: #e0e0e0;
	font-size: 13px;
}

.section p:last-child {
	margin-bottom: 0;
}

.section ol {
	padding-left: 18px;
	margin-bottom: 12px;
}

.section ol li {
	margin-bottom: 8px;
	color: #d0d0d0;
	font-size: 13px;
	line-height: 1.5;
}

.section ol li::marker {
	color: #ff8957;
}

.highlight {
	background: linear-gradient(135deg, rgba(255, 137, 87, 0.15), rgba(255, 137, 87, 0.05));
	padding: 16px;
	border-radius: 8px;
	border-left: 3px solid #ff8957;
	margin: 15px 0;
}

.highlight p {
	margin-bottom: 0;
	font-size: 13px;
}

.contact-info {
	background: linear-gradient(135deg, rgba(255, 137, 87, 0.1), rgba(255, 137, 87, 0.05));
	border: 1px solid rgba(255, 137, 87, 0.3);
	border-radius: 10px;
	padding: 20px;
	text-align: center;
	margin: 15px 0;
}

.contact-info p {
	margin: 0;
	font-size: 13px;
}

.establishment-date {
	text-align: center;
	margin-top: 30px;
	padding: 20px;
	font-weight: 600;
	color: #ff8957;
	font-size: 14px;
}

.scroll-indicator {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 3px;
	background: rgba(255, 137, 87, 0.2);
	z-index: 1000;
}

.scroll-progress {
	height: 100%;
	background: linear-gradient(90deg, #ff8957, #ffb347);
	width: 0%;
	transition: width 0.1s ease;
}

/* スムーススクロール効果 */
html {
	scroll-behavior: smooth;
}

/* タッチデバイス用の最適化 */
@media (hover: none) {
	.section:hover {
		transform: none;
		box-shadow: none;
		border-color: rgba(255, 255, 255, 0.1);
	}

}

/* 縦向き・横向き対応 */
@media screen and (orientation: landscape) and (max-height: 500px) {
	.header {
		margin-bottom: 20px;
		padding: 15px 0;
	}

}

/* 小さな画面用の調整 */
@media screen and (max-width: 320px) {
	.container {
		padding: 15px 12px;
	}

}

.section ul {
	padding-left: 18px;
	margin-bottom: 12px;
}

.section li {
	margin-bottom: 8px;
	color: #d0d0d0;
	font-size: 13px;
	line-height: 1.5;
}

.section li::marker {
	color: #ff8957;
}

.section li strong {
	color: #ff8957;
}

#formWrap {
	width: 700px;
	margin: 0 auto;
	padding: 40px 0;
	color: #e0e0e0;
	line-height: 120%;
}

#formWrap div {
	margin: 15px auto;
}

h3 {
	color: #ff8957;
	text-align: center;
	font-size: 24px;
	margin-bottom: 20px;
}

p {
	color: #cccccc;
}

table.formTable {
	width: 100%;
	margin: 0 auto;
	border-collapse: collapse;
}

table.formTable td,
table.formTable th {
	border: 1px solid #444444;
	padding: 10px;
}

table.formTable th {
	width: 30%;
	font-weight: normal;
	background: #222222;
	text-align: left;
	color: #ff8957;
}

table.formTable td {
	background: #111111;
}

.require {
	color: #ffffff;
}

/* フォーム要素のスタイリング */
input[type="text"],
input[type="email"],
textarea,
select {
	background-color: #333333;
	border: 1px solid #555555;
	color: #e0e0e0;
	padding: 8px;
	border-radius: 4px;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus,
select:focus {
	border-color: #ff8957;
	outline: none;
	box-shadow: 0 0 5px rgba(255, 137, 87, 0.3);
}

input[type="radio"],
input[type="checkbox"] {
	margin-right: 5px;
	accent-color: #ff8957;
}

input[type="file"] {
	background-color: #333333;
	color: #e0e0e0;
	border: 1px solid #555555;
	padding: 5px;
	border-radius: 4px;
}

input[type="submit"] {
	background: linear-gradient(135deg, #ff8957, #ff6b35);
	color: #ffffff;
	border: none;
	padding: 12px 30px;
	font-size: 16px;
	font-weight: bold;
	border-radius: 6px;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 4px 8px rgba(255, 137, 87, 0.3);
}

input[type="submit"]:hover {
	background: linear-gradient(135deg, #ff6b35, #ff4500);
	transform: translateY(-2px);
	box-shadow: 0 6px 12px rgba(255, 137, 87, 0.4);
}

option {
	background-color: #333333;
	color: #e0e0e0;
}

#loading {
	display: none;
	text-align: center;
	margin-top: 20px;
	color: #ff8957;
}

#resultMessage {
	display: block;
	padding: 15px;
	margin: 20px auto;
	width: 95%;
	font-size: 110%;
	border-radius: 6px;
	text-align: left;
	box-sizing: border-box;
}

#resultMessage.success {
	color: #ff8957;
	border: 1px solid #ff8957;
	background: #222222;
}

#resultMessage.error {
	color: #ff5555;
	border: 1px solid #ff5555;
	background: #222222;
}

/*　簡易版レスポンシブ用CSS（必要最低限のみとしています。ブレークポイントも含め自由に設定下さい）　*/
@media screen and (max-width: 572px) {
	#formWrap {
		width: 95%;
		margin: 0 auto;
	}

	table.formTable th,
	table.formTable td {
		width: auto;
		display: block;
	}

	table.formTable th {
		margin-top: 5px;
		border-bottom: 0;
	}

	form input[type="text"],
	form textarea {
		width: 80%;
		padding: 5px;
		font-size: 110%;
		display: block;
	}

	form input[type="submit"],
	form input[type="reset"],
	form input[type="button"] {
		display: block;
		width: 100%;
	}
}

/* ブラウザのスクロールバーを非表示 */
* {
	scrollbar-width: none; /* Firefox */
}
*::-webkit-scrollbar {
	display: none; /* Chrome, Safari, Edge */
}

/* SimpleBar カスタムスクロールスタイル */
.container[data-simplebar] {
	max-height: 100vh;
	overflow-y: auto;
}

/* トラック部分のカスタマイズ */
.simplebar-scrollbar::before {
	background-color: orange !important; /* スクロールバーの色 */
	border-radius: 0px;
	border: 0;
	content: '';
	display: block;
	width: 100%;
	height: 100%;
}

/* トラック全体 */
.simplebar-track.simplebar-vertical {
	width: 6px;
	background: transparent; /* トラック背景 */
}

.simplebar-track.simplebar-horizontal {
	height: 6px;
	background: transparent;
}

/* スクロールバー（thumb）のサイズを制御 */
.simplebar-scrollbar {
	width: 100%;
	height: 100%;
}

.simplebar-scrollbar.simplebar-visible:before {
	opacity: 1; /* スクロールバーが表示されているときの透明度 */
}
