* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html, body {
	height: 100%;
	font-family: 'Noto Sans JP', sans-serif;
	background: #F2F4EA;
}

.container {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: calc(100vh - 40px); /* footer の高さ分を引く */
	padding: 20px;
	font-size: 0.95em;
	color: #333;
}

/* 枠 */
.support-form {
	border: 1px solid #ccc;
	background-color: white;
	width: 820px;
	box-shadow: 0 0 10px rgba(0,0,0,0.1);
	border-radius: 8px;
	position: relative;
	padding: 30px;
	margin-bottom: 40px;
	z-index: 1;
}

h2 {
	margin: 0 0 20px 0;
	padding-bottom: 10px;
	color: rgb(76, 167, 52);
	font-size: 1.5rem;
	font-weight: 500;
	line-height: 1.25;
	letter-spacing: .03em;
	border-bottom: 1px solid rgb(76, 167, 52);
}

.tab {
	display: flex;
	flex-wrap: nowrap;
	gap: 10px;
	color: #FFF;
	border-bottom: 1px solid #999;
}
.tab .tab-item {
	display: grid;
	align-items: center;
	background-color: #999;
	padding: 10px 20px;
	cursor: pointer;
}
.tab .tab-item.active {
	background-color: var(--color-pink);
}
.tab-content {
	padding: 20px;
}

/* メッセージ */
.message {
	margin: 20px 0;
	padding: 20px;
	border: 1px solid #000;
	border-radius: 8px;
}
.message.message-success {
	border: 1px solid #2ecc71;
	background-color: #e0f5e0;
	color: #145730;
}
.message.message-error {
	border: 1px solid #f58085;
	background-color: #f8d7da;
	color: #58151c;
}


.lh-180 {
	line-height: 1.8;
}

form {
	margin: 50px 0;
}

/* 入力欄 */
.input-group {
	margin-bottom: 30px;
	text-align: left;
}
.input-group label {
	display: block;
	margin-bottom: 5px;
	font-weight: bold;
	font-size: 0.95em;
	color: #333;
}
.sub-label {
	font-size: 0.8em;
	color: #555;
	font-weight: normal;
	margin-left: 4px;
}
input[type="text"],
input[type="email"],
input[type="password"] {
	width: 100%;
	padding: 10px;
	border: 1px solid #ccc;
	border-radius: 4px;
}
input.error {
	border-color: red;
	background-color: #ffe6e6;
}
.error-message {
	color: red;
	font-size: 0.85em;
	margin-top: 5px;
	display: block;
}

/* ボタン */
.btn-wrapper {
	display: flex;
	justify-content: center;
}
.btn-wrapper .btn {
	margin: 10px;
}
.btn-wrapper button {
	min-width: 250px;
}
a:link,
a:visited {
  color: blue;
}

/* 外部リンクアイコン */
.dli-external-link {
	display: inline-block;
	vertical-align: middle;
	color: blue;
	line-height: 1;
	width: 0.6em;
	height: 0.6em;
	border: 0.1em solid currentColor;
	border-radius: 0.1em;
	background: #fff;
	box-sizing: content-box;
	position: relative;
	margin:0 5px;
}
.dli-external-link > span {
	position: absolute;
	top: -0.2em;
	right: -0.2em;
	width: 45%;
	height: 45%;
	border: 0.1em solid currentColor;
	border-bottom: 0;
	border-left: 0;
	background: #fff;
	box-shadow: -0.1em 0.1em 0 0.1em #fff;
	box-sizing: border-box;
}
.dli-external-link > span::before {
	content: '';
	position: absolute;
	top: -0.05em;
	right: -0.1em;
	width: 0.1em;
	height: 0.7em;
	background: currentColor;
	transform: rotate(45deg);
	transform-origin: top center;
}

footer {
	position: fixed;
	bottom: 0;
	width: 100%;
	height: 40px;
	text-align: center;
	line-height: 40px;
	color: #FFF;
	background-color: #3E3D3E;
	font-size: 0.85em;
	z-index: 1;
}

.corner-image {
	position: fixed;
	bottom: 40px;
	right: 50px;
	/* width: 100px; 必要に応じて */
	height: auto;
	z-index: 0;
	opacity: 0.8;
	pointer-events: none;
}

@media (max-width: 550px) {
	.btn-wrapper {
		display: inherit;
		text-align: center;
	}
}

@media (max-width: 480px) {
	.support-form {
		padding: 20px;
	}

	button {
		font-size: 0.95em;
		padding: 10px;
	}

	.input-group label {
		font-size: 0.9em;
	}

	.error-message {
		font-size: 0.8em;
	}
}

.d-flex{
	display: flex;
}
.justify-content-center{
	justify-content: center;
}

.gap-3 {
	gap: 16px;
}

.mt-1 {
	margin-top: 4rem;
}
