@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

.p-spMenu__inner {
    width: 300px;
    transition: -webkit-transform .3s;
    transition: transform .3s;
    transition: transform .3s, -webkit-transform .3s;
}
.p-spMenu__nav a {
    display: block;
    padding: 5px 15px;
}
.p-spMenu__nav a:hover {
    background-color: rgba(0, 0, 0, 0.05);
}
.p-spMenu__body {
    padding: 0 2vw 10vw;
}
.-left .p-spMenu__closeBtn {
    left: 10px;
}

.-right .p-spMenu__closeBtn {
    right: 10px;
}


/* Contact Form 7カスタマイズ
------------------------------------- */
.wpcf7_tbl {
	max-width: 700px !important;
	margin: 20px auto 30px;
}

.wpcf7_tbl th {
	width: 35%;
	padding: 12px 15px;
	text-align: left;
	font-size: 16px;
	color: #444;
	font-weight: normal !important;
	vertical-align: middle;
	background: #f7f7f7;
	border: solid 1px #d7d7d7 !important;
	border-left: none !important;
	border-right: none !important;
}

.wpcf7_tbl td {
	padding: 12px 10px;
	font-size: 16px;
	border: solid 1px #d7d7d7 !important;
	border-left: none !important;
	border-right: none !important;
}

/*必須の調整*/
.required {
	margin-right: 4px;
	padding: 2px;
	font-size: 7px;
	background: #b44c4c;
	color: #fff;
	border-radius: 2px;
	vertical-align: 2px;
	bottom: 1px;
	font-weight: normal;
}

/*任意の調整*/
.optional {
	margin-right: 3px;
	padding: 2px;
	font-size: 7px;
	background: #075b7c;
	color: #fff;
	border-radius: 2px;
	position: relative;
	bottom: 1px;
	font-weight: normal;
}

/*ラジオボタンを縦並び指定*/
.verticallist .wpcf7-list-item {
	display: block;
}

/*送信ボタンのデザイン変更*/
.formbtn {
	text-align: center;
}

.formbtn input {
	padding: 0.4em 0;
	margin: 0 auto;
	width: 200px;
	background: #075b7c;
	color: #fff;
	font-size: 16px;
	border-radius: 2px;
	border: none;
	outline: 1px solid #075b7c;
}

.formbtn input:hover {
	background: #fff;
	color: #075b7c;
	outline: 1px solid #075b7c;
}

.formbtn .wpcf7c-btn-back {
	width: 60px;
	margin-right: 5px;
	background: #fff;
	color: #075b7c;
}

.wpcf7c-elm-step {
	font-size: 18px;
	text-align: center;
	line-height: 1.4;
}


/*スマホ*/
@media(max-width:650px) {
	.wpcf7_tbl th {
		padding: 5px 10px;
	}
	.wpcf7_tbl td {
		padding: 10px 0;
	}
	.wpcf7_tbl th,
	.wpcf7_tbl td {
		display: block !important;
		width: 100% !important;
		border-top: none !important;
		-webkit-box-sizing: border-box !important;
		-moz-box-sizing: border-box !important;
		box-sizing: border-box !important;
	}
	.wpcf7_tbl tr:first-child th {
		border-top: 1px solid #d7d7d7 !important;
	}
}

/*入力欄*/
.wpcf7_tbl input {
	width: 100% !important;
	max-width: 400px !important;
	background-color: #fff;
}

.wpcf7_tbl textarea {
	width: 100% !important;
	max-width: 400px !important;
	background-color: #fff;
}

.wpcf7_tbl .message {
	height: 150px;
}

.wpcf7_tbl select {
	background-color: #fff;
}

.wpcf7_tbl .address .zipcode {
	width: 7em !important;
	margin: 0 1.5em 0 0.4em;
}

.wpcf7_tbl .address .pref {
	margin-left: 0.4em;
}

.wpcf7_tbl .address .ttl {
	font-size: 0.9em;
}
.wpcf7_tbl .address p.ttl {
	margin: 0.7em 0 0.2em 0;
}

/*応答メッセージボックス*/
.wpcf7 form .wpcf7-response-output {
	max-width: 700px;
	margin: 0 auto;
	padding: 0.5em 1em;
	line-height: 1.4;
	border: 1px solid #075b7c; /* Blue */
	color: #075b7c;
	border-radius: 2px;
}

.wpcf7 form.sent .wpcf7-response-output {
	border-color: #075b7c; /* Green */
	color: #075b7c; /* Green */
}

.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
	border-color: #d32e44; /* Red */
	color: #d32e44; /* Red */
}

.wpcf7 form.spam .wpcf7-response-output {
	border-color: #075b7c; /* Orange */
	color: #075b7c; /* Orange */
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
	border-color: #075b7c; /* Yellow */
	color: #075b7c; /* Yellow */
}

/* ------------------------- */



.post-container {
    display: flex;
    flex-wrap: wrap;
}

.post-item {
    width: 300px;
    box-sizing: border-box;
    padding: 10px;
    border: 1px solid #ccc;
    margin: 5px;
}
.post-item a {
	display: block;
	height: 100%;
}


@media(min-width:960px) {
	.switch_text {
		position: relative;
		transition: 0.5s;
	}
	.switch_text a::before {
		display: block;
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translateX(-50%) translateY(-50%);
		color: transparent;
		text-align: center;
		white-space: nowrap;
		transition: 0.5s;
		font-size: 0.85em;
		content: attr(title);
	}
	.switch_text:hover {
		color: transparent;
	}
	.switch_text:hover a::before {
		color: #c8161d;
		font-weight: bold;
	}
}


.p-mainVisual {
	background-image: url(img/bg_grid.png);
	background-size: 24px;
}
.p-mainVisual__slide {
	max-width: 1000px;
	margin: 0 auto;
}
.under_mv {
	background-image: url(img/bg_grid.png);
	background-size: 24px;
	padding: 1em 0 3em !important;
}
@media(min-width:960px) {
	.l-header {
		background-image: url(img/bg_grid.png);
		background-size: 24px;
	}
}
@media(max-width:961px) {
	.under_mv {
		display: none;
	}
	.u-obf-cover {
		-o-object-fit: contain;
		object-fit: contain;
	}
}


.home .l-header {
	box-shadow: none;
}