/* ===========================================
 * header
=========================================== */


header {
	width: 100%;
	position: fixed;
    z-index: 99;
}
.h_logo{
	position: absolute;
	top: 25px;
	left: 50px;
	transition: .7s;
	width: 160px;
	height: 50px;
}
.h_logo img{
	width: 160px;
	height: 50px;
	object-fit: cover;
}
.h_logo a img{
	display: block;
	transform: scale(1);
}
header.logo-active .h_logo a{
  content: url('../../img/common/logo_b.svg');
}
#h_navInner{
	position: absolute;
    z-index: 9999;
	top: 0;
	right: 0;
	border: 1px solid #fff;
	border-top: 0;
	border-right: 0;
	width: 70px;
	transition: all 0.4s ease;
}
header.nav-active #h_navInner{
	border: 1px solid #000;
	border-top: 0;
	border-right: 0;
	background: rgba(256,256,256,.7);
}
.h_contact{
    width: 70px;
	text-align: center;
	writing-mode: vertical-rl;
	letter-spacing: 1em;
	font-feature-settings: initial;
}
#h_navInner div:nth-of-type(3){
	border-bottom: 1px solid #fff;
	transition: all 0.4s ease;
}
header.nav-active #h_navInner div:nth-of-type(3){
	border-bottom: 1px solid #000;
}
.h_contact a{
	display: block;
	padding: 25px 20px;
	color: #fff;
	transition: all 0.4s ease;
}
header.nav-active .h_contact a{
	color: #000;
	
}



/*drawer navi*/
#header_drawer_nav{
	
}
#drawer_nav{
    /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
    position:fixed;
    z-index: 999;
    /*ナビのスタート位置と形状*/
	top:-584px;
    left: 0;
	width:100%;
    height: 584px;/*ナビの高さ*/
	background:url("../../img/common/nav_bg.jpg") no-repeat center top;
	background-size: 100%;
    /*動き*/
	transition: all 0.6s;
}

/*アクティブクラスがついたら位置を0に*/
#drawer_nav.panelactive{
    top: 0;
}

/*ナビゲーションの縦スクロール*/
#drawer_nav-list{
	width: 1000px;
	margin: 50px auto;
}
#drawer_nav-list ul{
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
#drawer_nav-list ul li{
	width: 232px;
	border-top: 1px solid #fff;
	padding: 20px 10px;
	box-sizing: border-box;
	line-height: normal;
	position: relative;
	letter-spacing: normal;
}
#drawer_nav-list ul li:nth-of-type(n+4){
	border-bottom: 1px solid #fff;
}
#drawer_nav-list ul li::after{
	content: url("../../img/common/arrow.svg");
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
}
#drawer_nav-list ul li a{
	display: block;
	font-size: 14px;
	color: #A3A3A3;
	font-weight: 400;
}
#drawer_nav-list ul li a span{
	display: block;
	color: #fff;
	font-size: 20px;
	letter-spacing: normal;
}
#drawer_nav-list ul li a:hover{
	opacity: .7;
}
#header_drawer_navInner{
}

#header_drawer_navInner_block {
	width: 1000px;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
}
#header_drawer_navInner_01,
#header_drawer_navInner_02,
#header_drawer_navInner_03{
	width: calc(1000px / 3);
	height: 160px;
	padding: 0 35px;
	text-align: center;
	border-left: 1px solid #fff;
}
#header_drawer_navInner_03{
	border-right: 1px solid #fff;
}
.h_icon{}
#header_drawer_navInner_01 p,
#header_drawer_navInner_02 p,
#header_drawer_navInner_03 p{
	color: #fff;
	font-size: 15px;
}
#header_drawer_navInner_01 a{
	color: #fff;
	font-size: 24px;
	display: block;
	margin-top: 30px;
	line-height: normal;
}
#header_drawer_navInner_01 p span{
	font-size: 13px;
}
.h_btn{
	width: 260px;
	height: 58px;
	border: 1px solid #fff;
	margin-top: 30px;
}
.h_btn a{
	line-height: 58px;
	display: block;
}
.sub_nav{
	width: 1000px;
	margin: 30px auto 0;
	display: flex;
	justify-content: center;
	align-items: center;
	column-gap: 20px;
}
.sub_nav li:first-of-type{
	padding-right: 40px;
}
.sub_nav li a{
	color: #A3A3A3;
	font-size: 14px;
}
.sub_nav li a span{
	color: #fff;
	font-size: 16px;
	margin-right: 10px;
}
.sub_nav li a img{
	vertical-align: middle;
}
/*========= ボタンのためのCSS ===============*/
.drawer_nav_openbtn{
	position: relative;
    z-index: 9999;/*ボタンを最前面に*/
	cursor: pointer;
    width: 70px;
    height: 70px;
	display: block;
	border-bottom: 1px solid #fff;
	box-sizing: border-box;
	transition: all 0.4s ease;
}
header.nav-active .drawer_nav_openbtn{
	border-bottom: 1px solid #000;
}

.drawer_nav_openbtn span{
    display: inline-block;
    transition: all .4s;
    height: 2px;
	background: #fff;
    width: 34px;
	position: absolute;
  }
header.nav-active .drawer_nav_openbtn span{
	background: #000;
}
.drawer_nav_openbtn span:nth-of-type(1) {
  top:25px; 
	left: 23px;
}

.drawer_nav_openbtn span:nth-of-type(2) {
  top: 34px;
	left: 18px;
}

.drawer_nav_openbtn span:nth-of-type(3) {
  top:43px;
	left: 23px;
}

.drawer_nav_openbtn.active span:nth-of-type(1) {
	top: 34px;
	left: 20px;
	-webkit-transform: rotate(160deg);
	-moz-transform: rotate(160deg);
	transform: rotate(160deg);
	background: #fff;
}

.drawer_nav_openbtn.active span:nth-of-type(2){
	width: 0;
}

.drawer_nav_openbtn.active span:nth-of-type(3) {
	top: 34px;
	left: 20px;
	-webkit-transform: rotate(-160deg);
	-moz-transform: rotate(-160deg);
	transform: rotate(-160deg);
	background: #fff;
}

input::placeholder {
    color: #C4C4C4; /* 好きな色に変更 */
}


@media screen and (max-width:640px){
	
	
	header {
		width: 100%;
		height: 110px;
		position: fixed;
		z-index: 5;
		display: flex;
		justify-content: space-between;
	}
	.h_logo{
		position: relative;
		z-index: 9999;
		top: 0;
		left: 0;
		width: 420px;
		height: auto;
		background: rgba(57,57,57,.8);
		mix-blend-mode: multiply;
	}
	.h_logo a{
		display: block;
	}
	.h_logo img{
		width: 220px;
		height: auto;
		object-fit: cover;
		margin: 20px;
	}
	  header:has(#drawer_nav.panelactive) .h_logo {
		background: transparent !important;
		mix-blend-mode: normal !important;
	  }
	#h_navInner{
		position: relative;
		z-index: auto;
		top: 0;
		right: 0;
		border: 2px solid transparent;
		border-top: 0;
		border-right: 0;
		width: 218px;
		height: 110px;
		display: flex;
		
	}
	.h_contact{
		width: 108px;
		height: 110px;
		text-align: center;
		writing-mode: horizontal-tb;
		letter-spacing: 1em;
		font-feature-settings: initial;
		border-right: 2px solid transparent;
		border-bottom: 0;
		background: rgba(57,57,57,.8);
		mix-blend-mode: multiply;
		margin-left: 2px;
	}
	.h_contact img{
		width: 35px;
		object-fit: cover;
		vertical-align: middle;
	}
	.h_contact a{
		display: block;
		padding: 0;
		line-height: 110px;
		color: #fff;
	}
	/*drawer navi*/
	#header_drawer_nav{

	}
	#drawer_nav{
		/*position:fixed;にし、z-indexの数値を大きくして前面へ*/
		position:fixed;
		z-index: 999;
		/*ナビのスタート位置と形状*/
		top:-100vh;
		left: 0;
		width:100%;
		height: 100vh;/*ナビの高さ*/
		background:url("../../img/common/nav_bg_sp.jpg") no-repeat center top;
		background-size: 100%;
		/*動き*/
		transition: all 0.6s;
	}

	/*アクティブクラスがついたら位置を0に*/
	#drawer_nav.panelactive{
		top: 0;
	}

	/*ナビゲーションの縦スクロール*/
	#drawer_nav-list{
		width: 580px;
		margin: 180px auto 80px;
	}
	#drawer_nav-list ul{
		list-style: none;
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
	}
	#drawer_nav-list ul li{
		width: 280px;
		border-top: 2px solid #fff;
		padding: 20px 0;
		box-sizing: border-box;
		line-height: normal;
		position: relative;
		letter-spacing: normal;
	}
	#drawer_nav-list ul li:nth-of-type(n+4){
		border-bottom: 0;
	}
	#drawer_nav-list ul li:nth-of-type(n+7){
		border-bottom: 2px solid #fff;
	}
	#drawer_nav-list ul li::after{
		content: url("../../img/common/arrow.svg");
		position: absolute;
		right: 0;
		top: 36px;
	}
	#drawer_nav-list ul li a{
		display: block;
		font-size: 20px;
		color: #A3A3A3;
		font-weight: 400;
	}
	#drawer_nav-list ul li a span{
		display: block;
		color: #fff;
		font-size: 27px;
		letter-spacing: normal;
	}
	#header_drawer_navInner{
		width: 640px;
        height: 100vh;
        margin: 0;
        position: fixed;
        z-index: 999;
        overflow: auto;
        -webkit-overflow-scrolling: touch;
	}

	#header_drawer_navInner_block {
		width: 580px;
		margin: 0 auto;
		display: block;
		justify-content: space-between;
	}
	#header_drawer_navInner_01,
	#header_drawer_navInner_02,
	#header_drawer_navInner_03{
		width: 580px;
		height: 102px;
		padding: 0;
		text-align: center;
		border-left: 2px solid #fff;
		border-right: 2px solid #fff;
		border-top: 2px solid #fff;
		border-bottom: 2px solid #fff;
		margin-bottom: 20px;
	}
	#header_drawer_navInner_03{
		border-right: 2px solid #fff;
	}
	.h_icon{
		display: inline-block;
		width: 40px;
	}
	.h_icon img{
		width: 40px;
		object-fit: cover;
	}
	#header_drawer_navInner_02 .h_icon img,
	#header_drawer_navInner_03 .h_icon img{
		vertical-align: middle;
		}
	#header_drawer_navInner_01 p,
	#header_drawer_navInner_02 p,
	#header_drawer_navInner_03 p{
		color: #fff;
		font-size: 25px;
		display: inline-block;
	}
	#header_drawer_navInner_01 a,
	#header_drawer_navInner_02 a,
	#header_drawer_navInner_03 a{
		color: #fff;
		font-size: 25px;
		display: block;
		margin-top: 0;
		line-height: normal;
	}
	#header_drawer_navInner_01 a{
		padding: 17px 0;
	}
	#header_drawer_navInner_02 a{
		padding: 30px 0;
	}
	#header_drawer_navInner_03 a{
		padding: 30px 0;
	}
	#header_drawer_navInner_01 p span{
		font-size: 22px;
		display: block;
	}
	.sub_nav{
		width: 1000px;
		margin: 30px auto 0;
		display: none;
		justify-content: center;
		align-items: center;
		column-gap: 20px;
	}
	.sub_nav li:first-of-type{
		padding-right: 40px;
	}
	.sub_nav li a{
		color: #A3A3A3;
		font-size: 14px;
	}
	.sub_nav li a span{
		color: #fff;
		font-size: 16px;
		margin-right: 10px;
	}
	.sub_nav li a img{
		vertical-align: middle;
	}
	/*========= ボタンのためのCSS ===============*/
	.drawer_nav_openbtn{
		position: relative;
		z-index: 9999;/*ボタンを最前面に*/
		cursor: pointer;
		width: 108px;
		height: 110px;
		display: block;
		border-bottom: 0;
		box-sizing: border-box;
		background: rgba(57,57,57,.8);
		mix-blend-mode: multiply;
		margin-left: 4px;
	}

	.drawer_nav_openbtn span{
		display: inline-block;
		transition: all .4s;
		height: 2px;
		background: #fff;
		width: 54px;
		position: absolute;
	  }
	.drawer_nav_openbtn span:nth-of-type(1) {
	  top:40px; 
		left: 25px;
	}

	.drawer_nav_openbtn span:nth-of-type(2) {
	  top: 52px;
		left: 18px;
	}

	.drawer_nav_openbtn span:nth-of-type(3) {
	  top:64px;
		left: 25px;
	}
	.drawer_nav_openbtn.active{
		background: transparent !important;
		mix-blend-mode: normal !important;
	}
	.drawer_nav_openbtn.active span:nth-of-type(1) {
		top: 52px;
		left: 25px;
		-webkit-transform: rotate(160deg);
		-moz-transform: rotate(160deg);
		transform: rotate(160deg);
		background: #fff;
	}

	.drawer_nav_openbtn.active span:nth-of-type(2){
		width: 0;
	}

	.drawer_nav_openbtn.active span:nth-of-type(3) {
		top: 52px;
		left: 25px;
		-webkit-transform: rotate(-160deg);
		-moz-transform: rotate(-160deg);
		transform: rotate(-160deg);
		background: #fff;
	}

	input::placeholder {
		color: #C4C4C4; /* 好きな色に変更 */
	}
	
	
}


/* ===========================================
 * footer
=========================================== */

#footer {
	position: relative;
}

#page-top {
    width: 58px;
    height: 58px;
	position: absolute;
    bottom: 50px;
    right: 50px;
    z-index: 10;
}
#page-top img{
    width: 58px;
    height: 58px;
    object-fit: cover;
}
#page-top a {
	display: block;
}
#f_fixed{
	display: none;
}
#footer_contact {
	width: 100%;
}
#footer_contactInner {
	width: 100%;
	display: flex;
	justify-content: space-between;
}
#footer_contactInner_01,
#footer_contactInner_02,
#footer_contactInner_03{
	width: calc(100% / 3);
	background: #fff;
	text-align: center;
	padding: 50px 0;
}
#footer_contactInner_02{
	border-left: 1px solid #707070;
	border-right: 1px solid #707070;
}
.h_icon{}
#footer_contactInner_01 p,
#footer_contactInner_02 p,
#footer_contactInner_03 p{
	color: #393939;
	font-size: 15px;
}
#footer_contactInner_01 a{
	color: #393939;
	font-size: 24px;
	display: block;
	margin-top: 30px;
	line-height: normal;
}
#footer_contactInner_01 p span{
	font-size: 13px;
}
.f_btn{
	width: 260px;
	height: 58px;
	border: 1px solid #393939;
	margin: 30px auto 0;
}
.f_btn a{
	line-height: 58px;
	display: block;
}
#footer_info {
	width: 100%;
	padding: 60px 0 30px;
	background: #393939;
}

#footer_infoInner {
	width: 1000px;
	margin: 0 auto;
	position: relative;
}
#footer_infoInner ul{
	list-style: none;
	display: flex;
	justify-content: space-between;
}
#footer_infoInner ul li{
	font-size: 14px;
}
#footer_infoInner ul li a{
	color: #fff;
	font-weight: 400;
}

#footer_infoInner_logo {
	width: 300px;
	margin: 50px auto;
	text-align: center;
}
#footer_infoInner_logo img{
	width: 180px;
	object-fit: cover;
}
#footer_infoInner_logo p{
	font-size: 14px;
	color: #fff;
}
#footer_infoInner_logo address{
	font-size: 13px;
	font-weight: 400;
	font-style: normal;
	color: #fff;
}
#footer_copy {
	width: 100%;
	font-size: 12px;
	color: #CBCBCB;
	text-align: center;
}

#footer_sns{
	position: absolute;
	right: 0;
	bottom: 0;
	display: flex;
	column-gap: 20px;
}





@media screen and (max-width:640px){
	
	
	
	#footer {
		position: relative;
	}

	#page-top {
		width: 110px;
		height: 110px;
		position: absolute;
		bottom: 90px;
		right: 0px;
		z-index: 4;
		line-height: 0;
	}
	#page-top img{
		width: 110px;
		height: 110px;
		object-fit: cover;
	}
	#page-top a {
		display: block;
	}
	
	#f_fixed{
		display: block;
		position: fixed;
		bottom: 0;
		left: 0;
		z-index: 4;
		width: 100%;
	}
	#f_fixed .block{
		display: flex;
		justify-content: space-between;
	}
	#f_fixed .block .box{
		width: 318px;
		height: 90px;
		background: rgba(57, 57, 57, .8);
        mix-blend-mode: multiply;
		text-align: center;
	}
	#f_fixed .block .box:first-of-type img{
		width: 28px;
	}
	#f_fixed .block .box img{
		margin-right: 10px;
		width: 30px;
		object-fit: cover;
	}
	#f_fixed .block .box a{
		display: block;
		line-height: 90px;
		color: #fff;
		font-size: 26px;
	}

	#footer_contact {
		width: 100%;
	}
	#footer_contactInner {
		width: 100%;
		display: block;
		justify-content: space-between;
	}
	#footer_contactInner_01,
	#footer_contactInner_02,
	#footer_contactInner_03{
		width: 100%;
		background: #fff;
		text-align: center;
		padding: 50px 0;
	}
	#footer_contactInner_02{
		border-left: none;
		border-right: none;
		border-top: 1px solid #707070;
		border-bottom: 1px solid #707070;
	}
	.f_icon{
		width: 40px;
		margin: 0 auto;
	}
	.f_icon img{
		width: 40px;
		object-fit: cover;
	}
	#footer_contactInner_01 p,
	#footer_contactInner_02 p,
	#footer_contactInner_03 p{
		color: #393939;
		font-size: 25px;
	}
	#footer_contactInner_01 a{
		color: #393939;
		font-size: 25px;
		display: block;
		margin-top: auto;
		line-height: 80px;
	}
	#footer_contactInner_01 p span{
		font-size: 22px;
	}
	.f_btn{
		width: 460px;
		height: 80px;
		border: 1px solid #393939;
		margin: 30px auto 0;
	}
	.f_btn img{
		width: 45px;
		object-fit: cover;
	}
	.f_btn a{
		line-height: 80px;
		display: block;
	}
	#footer_info {
		width: 100%;
		padding: 40px 0 120px;
		background: #393939;
	}

	#footer_infoInner {
		width: 580px;
		margin: 0 auto;
		position: relative;
	}
	#footer_infoInner ul{
		list-style: none;
		display: none;
		justify-content: space-between;
	}
	#footer_infoInner ul li{
		font-size: 14px;
	}
	#footer_infoInner ul li a{
		color: #fff;
		font-weight: 400;
	}

	#footer_infoInner_logo {
		width: 580px;
		margin: 50px auto;
		text-align: center;
	}
	#footer_infoInner_logo img{
		width: 300px;
		object-fit: cover;
	}
	#footer_infoInner_logo p{
		font-size: 22px;
		color: #fff;
	}
	#footer_infoInner_logo address{
		font-size: 20px;
		font-weight: 400;
		font-style: normal;
		color: #fff;
	}
	#footer_copy {
		width: 100%;
		font-size: 20px;
		color: #CBCBCB;
		text-align: center;
	}

	#footer_sns{
		position: absolute;
		right: 0;
		bottom: 0;
		column-gap: 20px;
		display: none;
	}
	
	
}

/* ===========================================
 * content
=========================================== */
.content{
	width: 1000px;
	margin: 0 auto;
}
.btn{
	position: relative;
	width: 410px;
	height: 66px;
	border: 1px solid #393939;
	margin: 0 auto;
}
.btn::after{
	content: url("../../img/common/btn_arrow_b.svg");
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	right: 20px;
}
.btn a{
	display: block;
	text-align: center;
	font-size: 15px;
	color: #393939;
	line-height: 66px;
}

@media screen and (max-width:640px){
	
	.content{
		width: 580px;
		margin: 0 auto;
	}
	.btn{
		position: relative;
		width: 100%;
		height: 80px;
		border: 2px solid #393939;
		margin: 0 auto;
	}
	.btn::after{
		content: "";
		position: absolute;
		top: 50%;
		right: 20px;
		transform: translateY(-50%);
		width: 50px;   /* ← ここで自由にサイズ変更 */
		height: 20px;  /* ← 縦横調整 */
		background-color: #000; /* 矢印の色（黒） */
		mask-image: url(../../img/common/btn_arrow_b.svg);
		mask-size: contain;
		mask-repeat: no-repeat;
	}
	.btn a{
		display: block;
		text-align: center;
		font-size: 22px;
		color: #393939;
		line-height: 80px;
	}
	
	
}

/* ===========================================
 * pankuzu
=========================================== */

#breadcrumb {
	padding-top: 20px;
	width: 1000px;
	margin-left: auto;
	margin-right: auto;
	padding-bottom: 20px;
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	z-index: 2;
}

#breadcrumb li{
	display: inline-block;
	font-size: 13px;
	color: #969696;
}

#breadcrumb li a{
	display: block;
	color: #969696;
}

#breadcrumb li a:after{
	content: '　/';
}


@media screen and (max-width:640px){
	
	#breadcrumb {
		display: none;
	}
	
	
}


/* ===========================================
 * sub
=========================================== */
#sub_slider {
	width: 100%;
	height: 450px;
    position: relative;
}
#sub_slider img{
	width: 100%;
	height: 450px;
	object-fit: cover;
}
#sub_slide_desc{
    position: absolute;
	width: 1000px;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
    z-index: 60;
}
#sub_slide_desc h1{
	text-align: center;
    color: #fff;
    font-size: 18px;
	font-weight: 400;
}
#sub_slide_desc h1 span{
	font-size: 45px;
}

@media screen and (max-width:640px){
	
	
	#sub_slider {
		width: 100%;
		height: 450px;
	    position: relative;
	}
	#sub_slider img{
		width: 100%;
		height: 450px;
		object-fit: cover;
	}
	#sub_slide_desc{
		position: absolute;
		width: 580px;
		top: 50%;
		left: 50%;
		transform: translate(-50%,-50%);
		z-index: 1;
	}
	#sub_slide_desc h1{
		text-align: center;
		color: #fff;
		font-size: 27px;
		font-weight: 400;
		line-height: normal;
		margin-top: 60px;
	}
	#sub_slide_desc h1 span{
		font-size: 48px;
	}

	
	

	

	
	
	
}


/*PAGER*/
#pagination{
	width: 1000px;
	margin: 100px auto;
}
#pagination table{
	border-collapse:collapse;
	width: 1000px;
}
#pagination table td{
	width: 250px;
	margin: 10px;
}
.prev_btn,
.next_btn{
	width: 260px;
	height: 60px;
	border: 1px solid #707070;
	position: relative;
	margin: 0 auto;
}

.prev_btn a,
.next_btn a{
	display: block;
	text-align: center;
	line-height: 60px;
}

.list_btn{
	width: 260px;
	height: 60px;
	border: 1px solid #707070;
	margin: 0 auto;
}
.list_btn a{
	display: block;
	color: #393939;
	text-align: center;
	font-weight: 400;
	font-size: 16px;
	line-height: 60px;
}
.list_btn:hover {
	opacity: .7;
}

@media screen and (max-width:640px){

	#pagination{
		width: 580px;
		margin: 100px auto;
	}
	#pagination table{
		border-collapse:collapse;
		width: 580px;
	}
	#pagination table td{
		width: 150px;
		margin: 10px;
	}
	.prev_btn,
	.next_btn{
		width: 160px;
		height: 80px;
		border: 2px solid #707070;
		position: relative;
		margin: 0 auto;
	}

	.prev_btn a,
	.next_btn a{
		display: block;
		text-align: center;
		line-height: 80px;
	}

	.prev_btn a img,
	.next_btn a img{
		width: 50px;
		object-fit: cover;
	}
	.list_btn{
		width: 180px;
		height: 80px;
		border: 2px solid #707070;
		margin: 0 auto;
	}
	.list_btn a{
		display: block;
		color: #393939;
		text-align: center;
		font-weight: 400;
		font-size: 24px;
		line-height: 80px;
	}
	.list_btn:hover {
		opacity: .7;
	}
}
