/* Contact Methods */
.contact-methods {
	padding: 80px 0;
	background-color: var(--white);
}

.contact-methods__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 32px;
	/* gap-8 */
	max-width: 960px;
	margin: 0 auto;
}

@media (min-width: 768px) {
	.contact-methods__grid {
		grid-template-columns: repeat(2, 1fr);
		/* md:grid-cols-2 */
	}
}

.contact-methods__card {
	background-color: #f9fafb;
	/* bg-gray-50 */
	border-radius: 12px;
	/* rounded-xl */
	padding: 32px;
	/* p-8 */
	text-align: center;
	transition: box-shadow 0.3s ease;
}

.contact-methods__icon {
	font-size: 40px;
	/* text-4xl */
	color: var(--primary-color);
	margin-bottom: 16px;
	/* mb-4 */
}

.contact-methods__title {
	font-size: 20px;
	/* text-xl */
	font-weight: 700;
	color: var(--text-main);
	margin-bottom: 8px;
	/* mb-2 */
}

.contact-methods__text {
	color: var(--text-light);
	margin-bottom: 24px;
	/* mb-6 */
	font-size: 14px;
}

.contact-methods__phone {
	font-size: 28px;
	/* text-2xl+ */
	font-weight: 700;
	color: var(--primary-color);
	display: block;
	margin-bottom: 8px;
}

.contact-methods__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 32px;
	/* px-8 py-3 */
	background-color: #06c755;
	/* LINE Color */
	color: var(--white);
	border-radius: 50px;
	font-weight: 700;
	transition: opacity 0.3s;
}

.contact-methods__btn:hover {
	opacity: 0.9;
}

/* Form Section */
.contact-form-section {
	padding: 0 0 80px;
	/* pb-20 */
	background-color: var(--white);
}

.contact-form {
	max-width: 800px;
	margin: 0 auto;
	background-color: var(--white);
	border-radius: 16px;
	/* rounded-2xl */
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
	/* shadow-md */
	border: 1px solid #e5e7eb;
	/* border-gray-200 */
	padding: 40px;
	/* p-10 */
}

@media (max-width: 640px) {
	.contact-form {
		padding: 24px;
		/* p-6 */
	}
}

.contact-form__header {
	text-align: center;
	margin-bottom: 40px;
	/* mb-10 */
}

.contact-form__title {
	font-size: 24px;
	/* text-2xl */
	font-weight: 700;
	color: var(--text-main);
	margin-bottom: 8px;
	/* mb-2 */
}

.contact-form__desc {
	font-size: 14px;
	color: var(--text-light);
}

.contact-form__group {
	margin-bottom: 24px;
	/* mb-6 */
}

.contact-form__label {
	display: block;
	font-weight: 600;
	color: var(--text-main);
	margin-bottom: 8px;
	/* mb-2 */
	font-size: 14px;
}

.contact-form__required {
	background-color: #ef4444;
	/* red-500 */
	color: var(--white);
	font-size: 11px;
	padding: 2px 6px;
	border-radius: 4px;
	margin-left: 8px;
	vertical-align: middle;
}

.contact-form__any {
	background-color: #9ca3af;
	/* gray-400 */
	color: var(--white);
	font-size: 11px;
	padding: 2px 6px;
	border-radius: 4px;
	margin-left: 8px;
	vertical-align: middle;
}

.contact-form__input,
.contact-form__select,
.contact-form__textarea {
	width: 100%;
	padding: 12px;
	border: 1px solid #d1d5db;
	/* gray-300 */
	border-radius: 6px;
	font-size: 16px;
	font-family: inherit;
	transition: border-color 0.3s, box-shadow 0.3s;
}

.contact-form__input:focus,
.contact-form__select:focus,
.contact-form__textarea:focus {
	outline: none;
	border-color: var(--primary-color);
	box-shadow: 0 0 0 3px rgba(46, 139, 87, 0.2);
}

.contact-form__textarea {
	height: 160px;
	resize: vertical;
}

.contact-form__checkbox-wrapper {
	display: flex;
	justify-content: center;
	margin-bottom: 32px;
	/* mb-8 */
}

.contact-form__checkbox-wrapper label {
	display: flex;
	align-items: center;
	/* 垂直方向中央揃え */
	cursor: pointer;
}

.contact-form__checkbox-wrapper input[type="checkbox"] {
	margin-top: 0;
	/* 中央揃えにするためマージン調整 */
	margin-right: 12px;
	width: 18px;
	height: 18px;
	cursor: pointer;
	appearance: auto;
	-webkit-appearance: checkbox;
	border: 1px solid #ccc;
}

.contact-form__checkbox-wrapper .wpcf7-list-item-label {
	font-size: 14px;
	color: var(--text-main);
	line-height: 1.5;
}

/* 不要なマージンリセット */
.contact-form__checkbox-wrapper .wpcf7-list-item {
	margin: 0;
}

.contact-form__privacy-text {
	font-size: 14px;
	color: var(--text-main);
}

.contact-form__privacy-link {
	color: var(--primary-color);
	text-decoration: underline;
}

.contact-form__submit-wrapper {
	text-align: center;
}

.contact-form__submit-btn {
	background-color: var(--primary-color);
	color: var(--white);
	font-weight: 700;
	padding: 16px 48px;
	border-radius: 50px;
	font-size: 16px;
	border: none;
	cursor: pointer;
	transition: background-color 0.3s;
	width: 100%;
}

@media (min-width: 640px) {
	.contact-form__submit-btn {
		width: auto;
	}
}

.contact-form__submit-btn:hover {
	background-color: var(--primary-hover);
}
