@charset "utf-8";
/* tcd theme hack */
#header_logo img {
	width: 160px;
}
#page_header_catch .catch {
	font-weight: bold;
}
.cb_contents.last#top_news{
	padding-bottom: 0;
}
#related_post .headline {
	margin-bottom: 40px;
}
.blog #page_header,
.page-contact #page_header,
.page-privacy #page_header {
	height: 420px;
}
#bread_crumb li:first-child {
	padding-left: 0;
}
#bread_crumb li:first-child:before {
	display: none;
}

/* frame styles */
#top_news {
	background: #f2f2f2;
}
#top_news .news-list {
	margin-bottom: 50px;
}

.news-list {
	display: flex;
	flex-direction: column;
	list-style: none;
	padding: 0;
	margin: 0 0 80px;
}

.news-list li {
	align-items: center;
	border-bottom: 1px solid #ccc;
	display: flex;
	padding: 20px 0;
	width: 100%
}

.news-list li time {
	margin-right: 40px
}

.news-list li span {
	background: #251E1C;
	color: #fff;
	font-size: 12px;
	line-height: 2;
	padding: 0 20px
}

.news-list a {
	font-size: 16px;
	margin-left: 40px;
	text-decoration: underline
}

.wp-pagenavi {
	display: flex;
	justify-content: center;
	gap: 10px;
}
.wp-pagenavi a,
.wp-pagenavi span {
	display: flex;
	flex-direction: colmun;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	background: #F2F2F2;
	font-size: 14px;
}
.wp-pagenavi span {
	background: #251E1C;
	color: #fff;
}
.privacy-policy h2 {
	text-align: left;
	margin-top: 60px;
}
.privacy-policy dl {
	display: flex;
	flex-wrap: wrap;
	background: #f2f2f2;
	padding: 40px;
	border-radius: 24px;
}
.privacy-policy dl dt {
	width: 140px;
}
.privacy-policy dl dd {
	width: calc( 100% - 140px );
}
.privacy-policy .privacy-policy-date {
	margin-top: 40px;
}
.privacy-policy .privacy-policy-date p {
	margin-bottom: 0;
}
.contact-form {
	max-width: 900px;
	margin: 0 auto;
	border-top: 1px solid #dcdcdc;
}

.contact-form__row {
	display: grid;
	grid-template-columns: 220px minmax(0, 1fr);
	border-bottom: 1px solid #dcdcdc;
}

.contact-form__label {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 28px 24px;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.6;
}

.contact-form__field {
	min-width: 0;
	padding: 20px 24px;
}

.contact-form__required,
.contact-form__optional {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	padding: 3px 7px;
	border-radius: 3px;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.4;
	white-space: nowrap;
}

.contact-form__required {
	background: #c83232;
	color: #fff;
}

.contact-form__optional {
	background: #e6e6e6;
	color: #666;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
	box-sizing: border-box;
	width: 100%;
	margin: 0;
	padding: 14px 16px;
	border: 1px solid #cfcfcf;
	border-radius: 4px;
	background: #fff;
	color: #222;
	font: inherit;
	font-size: 16px;
	line-height: 1.6;
	transition:
		border-color 0.2s ease,
		box-shadow 0.2s ease,
		background-color 0.2s ease;
}

.contact-form textarea {
	min-height: 220px;
	resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
	color: #aaa;
}

.contact-form input:focus,
.contact-form textarea:focus {
	outline: none;
	border-color: #333;
	background: #fff;
	box-shadow: 0 0 0 3px rgb(0 0 0 / 8%);
}

.contact-form__submit {
	margin-top: 40px;
	text-align: center;
}

.contact-form input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: min(100%, 320px);
	min-height: 60px;
	padding: 14px 40px;
	border: 1px solid #222;
	border-radius: 4px;
	background: #222;
	color: #fff;
	font: inherit;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.08em;
	cursor: pointer;
	transition:
		background-color 0.2s ease,
		color 0.2s ease,
		opacity 0.2s ease;
}

.contact-form input[type="submit"]:hover {
	background: #fff;
	color: #222;
}

.contact-form input[type="submit"]:disabled {
	cursor: wait;
	opacity: 0.6;
}

/* Contact Form 7 エラー表示 */
.contact-form .wpcf7-not-valid {
	border-color: #c83232;
	background: #fff8f8;
}

.contact-form .wpcf7-not-valid-tip {
	margin-top: 7px;
	color: #c83232;
	font-size: 13px;
	font-weight: 400;
}

.wpcf7 form .wpcf7-response-output {
	box-sizing: border-box;
	max-width: 900px;
	margin: 30px auto 0;
	padding: 16px 20px;
	border: 0;
	border-radius: 4px;
	background: #f2f2f2;
	font-size: 14px;
	line-height: 1.7;
}

.wpcf7 form.sent .wpcf7-response-output {
	background: #edf8ef;
	color: #23652e;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
	background: #fff3f3;
	color: #a42828;
}

.wpcf7-spinner {
	margin: 15px 0 0 12px;
	vertical-align: middle;
}

@media screen and (max-width: 767px) {
	.cb_contents.last#top_news {
		padding-bottom: 50px;
	}
	.news-list {
		padding: 0!important;
	}
	.news-list li {
		flex-wrap: wrap;
	}
	.news-list li time {
		margin-right: 20px;
	}
	.news-list a {
		width: 100%;
		margin-left: 0;
	}
	.contact-form__row {
		display: block;
	}

	.contact-form__label {
		padding: 18px 16px 10px;
		background: transparent;
	}

	.contact-form__field {
		padding: 0 16px 20px;
	}

	.contact-form input[type="text"],
	.contact-form input[type="email"],
	.contact-form input[type="tel"],
	.contact-form textarea {
		font-size: 16px;
	}

	.contact-form textarea {
		min-height: 180px;
	}

	.contact-form__submit {
		margin-top: 30px;
		padding: 0 16px;
	}
}

@media screen and (max-width: 650px) {
	.blog #page_header,
	.page-contact #page_header,
	.page-privacy #page_header {
		height: 260px;
	}
}

.gallery {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	margin-bottom: var(--tcdce-base-margin-bottom-pc);
}