@charset "utf-8";

/* ヘッダー
-------------------------------------*/
header {
	width: 100%;
	background-color: var(--main-color);
	position: -webkit-sticky;
	position: sticky;
	top: 0;
    left: 0;
	z-index: 10;
}

header .head-area {
	max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 1rem 1.5rem;
}

.head-logo {width: clamp(160px,25vw,220px);}

header .head-nav {
	display: flex;
	justify-content: center;
	align-items: center;
}

.nav-area {padding: 0 1rem;}

.nav-area ul {
	display: flex;
	justify-content: center;
}

.nav-area ul li {
	padding: 0 .5rem;
}

.head-contact-btn {
	display: flex;
	background-color: var(--sub-color_01);
	border-radius: 100px;
	justify-content: center;
	align-items: center;
	color: var(--white);
	padding: .5rem 2rem;
}

.head-contact-btn img {
	max-width: 20px;
}

.head-contact-btn p {
	margin: 0;
	white-space: nowrap;
}

.head-contact-btn:hover {
	color: var(--white);
	opacity: .8;
}

.head-contact-btn img:hover {opacity: 1;}

/* ハンバーガーボタン */
.hamburger {display: none;}
#mobile-nav {display: none;}

/* オーバーレイ */
.overlay {display: none;}

@media screen and (max-width: 960px) {
	
	header h1 {margin-bottom: 0;}
	
	header .head-nav {padding-bottom: 1rem;}
	
	#mobile-nav {display: block;}
	
	.nav-area {
		display: none; /* クローン使用しない時はblockにする */
		position: fixed;
		left: 0;
		/*top: 0;*/ /* クローン使用しない時に使う */
		width: 100%;
		padding: 0;
		transform: translateY(-200%);
		transition: transform 0.3s ease;
		z-index: 9; /* クローン使用しない時は削除する */
	}
	.nav-area.is-open {
		transform: translateY(0);
	}
	
	.head-contact-btn {display: none;}
	
	.nav-area ul {
		display: block;
		background-color: var(--sub-color_01);
	}
	
	.nav-area ul li {
		border-bottom: 1px solid var(--white);
		text-align: center;
		padding: 1rem;
	}
	
	.nav-area li.sp-view {display: block;}
	
	.nav-area ul li:last-of-type {border-bottom: none;}
	
	.nav-area ul li a {color: var(--white);}
	
	/* ハンバーガーボタン */
	.hamburger {
		display: block;
		position: absolute;
		right: 2%;
		top: 50%;
		transform: translateY(-50%);
		background-color: var(--sub-color_01);
		border-radius: 5px;
		cursor: pointer;
		width: 50px;
		height: 50px;
	}
	
	.hamburger span {
		display: inline-block;
		transition: all .4s;
		position: absolute;
	}
	
	.hamburger span:nth-of-type(1),.hamburger span:nth-of-type(3) {
		height: 2px;
		background-color: var(--white);
		width: 62%;
		left: 10px;
	}
	
	.hamburger span:nth-of-type(1) {
		top:13px;	
	}

	.hamburger span:nth-of-type(2) {
		top:19px;
		left:11px;
		font-size:0.6rem;
		text-transform: uppercase;
		color: var(--white);
	}

	.hamburger span:nth-of-type(3) {
		top:36px;
	}

	/*activeクラスが付与されると線が回転して×になり、Menu表記をしている2つ目の要素が透過して消える*/
	.hamburger.active span:nth-of-type(1) {
		top: 18px;
		left: 18px;
		transform: translateY(6px) rotate(-45deg);
		width: 30%;
	}

	.hamburger.active span:nth-of-type(2) {
		opacity: 0;
	}

	.hamburger.active span:nth-of-type(3){
		top: 30px;
		left: 18px;
		transform: translateY(-6px) rotate(45deg);
		width: 30%;
	}
	
	/* オーバーレイ */
	.overlay {
		display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(31, 41, 55, 0.5);
		backdrop-filter: blur(4px);
		-webkit-backdrop-filter: blur(4px);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
		z-index: 8;
        }
	.overlay.active {
		opacity: 1;
		visibility: visible;
        }
	body.menu-open {overflow: hidden;}
}

/* フッター
-------------------------------------*/
footer {
	padding: 1rem 1rem;
	background-color: #c0272d;
	color: var(--white);
}

.foot-logo {max-width: clamp(160px,25vw,250px);}

.copyright {font-size: 14px;text-align: center;margin: 0;}


/* トップページ
-------------------------------------*/
/* FV */
.fv {
    text-align: center;
    position: relative;
}

.width-box-640 {
	max-width: 640px;
	margin: 0 auto;
}

.image-item {
  width: 60%;
  flex-shrink: 0; /* 縮小を防ぐ */
}

.image-item:nth-child(2) {
  margin-left: -15%; 
}

.image-item img {
  width: 100%;
  height: auto;
  display: block;
}

/* 下層ページ
-------------------------------------*/
/* FV */

/* お問い合わせ
-------------------------------------*/
input[type="email"], input[type="number"], input[type="search"], input[type="text"], input[type="tel"], input[type="url"], input[type="password"], textarea {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
input[type="email"], input[type="number"], input[type="search"], input[type="text"], input[type="tel"], input[type="url"], input[type="password"], textarea, select {
	padding: 10px;
	background-color: #ebecf0;
	border: none;
	box-shadow: none;
	box-sizing: border-box;
	border-radius: 0;
	position: relative;
	z-index: 0;
	width: 100%;
}
input,textarea,select{margin-bottom: 0;}
textarea {
    min-height: 190px;
    padding-top: 6px;
    padding-bottom: 6px;
}

input[type="submit"],
input[type="reset"],
input[type="button"],
.btn-form-top {
	border: none;
	border-radius: 5px;
	font-size: clamp(15px,3vw,24px);
	font-weight: bold;
	transition: all .3s;
	cursor: pointer;
	padding: 0.7em 1.3em;
}

input[type="submit"],.btn-form-top {
	background-color: #c0272d;
	color: var(--white);
}

input[type="reset"],input[type="button"]{
	background-color: var(--deep-dark-gray);
	border: 1px solid var(--deep-dark-gray);
	color: var(--white);
}

input[type="submit"]:hover,.btn-form-top:hover {
	background-color: var(--white);
	color: #c0272d;
	border: 2px solid #c0272d;
}

input[type="reset"]:hover,input[type="button"]:hover {
	background-color: var(--white);
	color: var(--deep-dark-gray);
}

.btn-form-top {
	width: 240px;
    max-width: 100%;
	display: flex;
    justify-content: center;
    align-items: center;
	margin-left: auto;
	margin-right: auto;
}

.form-contact th {
	vertical-align: text-top;
	text-align: right;
	font-size: clamp(16px, 2vw, 18px);
	padding-right: 2rem;
	padding-top: 2rem;
}
.form-mult input {margin-bottom: .5rem;}

.form-input__name {max-width: 200px;}
.form-input__age {max-width: 60px;margin-right: .5rem;}
.form-input__wide {width: 100%;}

table.formTable {
	max-width: 540px;
	margin: 0 auto;
}

table.formTable tr {
	display: flex
;
	flex-direction: column;
	padding: 5px 0;
}
table.formTable th {
	text-align: left;
	padding-bottom: 5px;
	width: 100%;
	font-weight: 400;
}

table.formTable tr th span {
	font-size: 0.9rem;
	padding: 5px 0.5em;
	color: #FFF;
	margin-right: 8px;
	vertical-align: middle;
	letter-spacing: 3px;
	position: relative;
	z-index: 1;
	top: 5px;
}

table.formTable tr th .required {
	background: #c0272d;
}

table.formTable tr th .no-required {
	background: #f7f4f4;
	color: #afacac;
}


table.formTable td {
	padding: 0 .5rem;
}

/* SEO用 */
fieldset {
	padding: 0;
	border: none;
}
.visually-hidden {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* 確認画面 */
/* PHP工房フォーム使用時
max-width:572px の
form input[type="submit"], form input[type="reset"], form input[type="button"]
だけは向こうでコメントアウト文にしてください */
#formWrap {
	width: 100%!important;
	max-width: 700px;
}
.tbl-form-confirm :is(th,td) {
	border: 1px solid var(--gray);
}
.tbl-form-confirm th {
	font-weight: normal;
    background: #efefef;
    text-align: left;
}
.tbl-form-confirm td {
	background-color: var(--white);
}

@media screen and (max-width: 960px) {
	.tbl-form.table960 th {text-align: left; padding-top: 0;}
	.tbl-form.table960 input:not(.input-post-code):not(.input-number):not([type="radio"]):not([type="checkbox"]),
	.tbl-form.table960 textarea {width: 100%;}
	.tbl-form.table960 input {margin: 0;}
	.tbl-form.table960 .form-mult input {margin-bottom: .5rem;}
	
	/* 確認画面 */
	.tbl-form-confirm.table960 :is(th,td) {padding: 1rem .5rem;}
	.tbl-form-confirm.table960 th {border-bottom: none;}
	.tbl-form-confirm.table960 tr:not(:first-of-type) th {border-top: none;}
}
@media screen and (max-width: 768px) {
	.tbl-form.table768 th {text-align: left; padding-top: 0;}
	.tbl-form.table768 input:not(.input-post-code):not(.input-number):not([type="radio"]):not([type="checkbox"]),
	.tbl-form.table768 textarea {width: 100%;}
	.tbl-form.table768 input {margin: 0;}
	.tbl-form.table768 .form-mult input {margin-bottom: .5rem;}
	
	/* 確認画面 */
	.tbl-form-confirm.table768 :is(th,td) {padding: 1rem .5rem;}
	.tbl-form-confirm.table768 th {border-bottom: none;}
	.tbl-form-confirm.table768 tr:not(:first-of-type) th {border-top: none;}
}
@media screen and (max-width: 560px) {
	.tbl-form.table560 th {text-align: left; padding-top: 0;}
	.tbl-form.table560 input:not(.input-post-code):not(.input-number):not([type="radio"]):not([type="checkbox"]),
	.tbl-form.table560 textarea {width: 100%;}
	.tbl-form.table560 input {margin: 0;}
	.tbl-form.table560 .form-mult input {margin-bottom: .5rem;}
	
	/* 確認画面 */
	.tbl-form-confirm.table560 :is(th,td) {padding: 1rem .5rem;}
	.tbl-form-confirm.table560 th {border-bottom: none;}
	.tbl-form-confirm.table560 tr:not(:first-of-type) th {border-top: none;}
}



/* その他
-------------------------------------*/
/* ページトップへ戻るボタン */
#page-top {
	position: fixed;
	right: 15px;
	bottom: 0;
	z-index: 4;
	transition: bottom 0.3s ease-in-out;
}

#page-top.show {
    bottom: 20px; /* 表示時の位置 */
}

#page-top a {
	display: block;
	width: 50px;
	font-weight: bold;
	/* background-color: var(--sub-color_01); */
	color: var(--white);
	text-align: center;
	padding: 15px 5px;
	border-radius: 5px;
	transition: background-color 0.3s;
}

