@charset "utf-8";


/*--------------------------------------------
    header
---------------------------------------------*/
/* 全体共通 */
header a:hover,
footer a:hover {
	opacity: .5;
}

.menuBar {
	width: 100%;
	height: 78px;
	background: #F0F0F0;
	box-shadow: 0 3px 8px rgba(50, 50, 50, .25);
	position: relative;
	/* z-index: 1000; を削除（親が低いと子がoverlayより上に出られないため） */
}

.header-inner {
	max-width: 1440px;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 100%;
	padding: 0 30px;
}

.header-inner .logo {
	width: 168px;
}

.header-inner .logo img {
	width: 100%;
}

.menuBar ul li {
	width: unset;
}
.nav-menu ul li a {
	font-size: 1rem;
	font-weight: 600;
	color: #232323;
	text-decoration: none;
	line-height: 1.2em;
}


.nav-menu ul li a span {
	font-size: .6875rem;
	display: block;
	font-weight: 300;
	color: #232323;
}

.nav-menu ul li {
	text-align: center;
	padding: 0 22px;
	border-right: 1px solid #BFBFBF;
	position: relative;
}

.nav-menu ul li:hover:after {
	content: '';
	position: absolute;
	bottom: -21px;
	left: 0;
	right: 0;
	width: 100%;
	height: 2px;
	background-color: #FAA000;
}

.nav-menu ul li:last-child {
	border-right: none;
}

/* PC用メニュー（1025px以上） */
@media screen and (min-width: 1025px) {
	.nav-menu ul {
		display: flex;
		list-style: none;
	}
	.hamburger {
		display: none;
	}
}

/* スマホ用メニュー（1024px以下） */
@media screen and (max-width: 1024px) {
	.header-inner {
		padding: 0 44px 0 35px;
	}
	.menuBar {
		height: 60px;
	}
	div#btnSitemenu,div#ci,div#btnLogin,div#btnSearch {
		display: none;
	}
	#content {
		margin-top: 0px!important;
	}
	#footer div {
		background: unset;
	}
	div#footer-bottom {
    	background: #333333;
	}
	#footer-bottom__inner {
		width: 100%!important;
	}
	#footer div p {
		padding: 0px;
		text-align: center;
	}
	.copyright img {
		width: unset;
		vertical-align: middle;
	}

	/* 1. ナビゲーションメニュー本体（背景より上） */
	.nav-menu {
		position: fixed;
		top: 0;
		right: -100%;
		max-width: 360px;
		height: 500px;
		background: #F0F0F0;
		z-index: 2000;
		transition: all 0.4s;
		padding-top: 60px;
		width: 100%;
	}

	.nav-menu.active {
		right: 0;
	}

	.nav-menu ul li {
		list-style: none;
		padding: 30px 0;
		border-bottom: 1px solid #bfbfbf;
		width: 230px;
		margin: 0 auto;
		border-right: none;
	}

	.nav-menu ul li:last-child {
		border-bottom: none;
	}

	/* 2. ハンバーガーボタン（最前面） */
	.hamburger {
		display: block;
		width: 30px;
		height: 20px;
		position: relative;
		z-index: 2100;
		/* nav-menu(2000)よりさらに大きく */
		cursor: pointer;
	}

	.hamburger span {
		position: absolute;
		width: 100%;
		height: 2px;
		background: #333;
		transition: 0.3s;
	}

	.hamburger span:nth-child(1) {
		top: 0;
	}

	.hamburger span:nth-child(2) {
		top: 9px;
	}

	.hamburger span:nth-child(3) {
		bottom: 0;
	}

	/* 三本線 → × */
	.hamburger.active span:nth-child(1) {
		transform: translateY(9px) rotate(45deg);
	}

	.hamburger.active span:nth-child(2) {
		opacity: 0;
	}

	.hamburger.active span:nth-child(3) {
		transform: translateY(-9px) rotate(-45deg);
	}

	/* 3. オーバーレイ（背景を暗く） */
	.overlay {
		display: none;
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background: rgba(0, 0, 0, 0.2);
		z-index: 1500;
		/* メニューより低く設定 */
	}

	.overlay.active {
		display: block;
	}

	body.no-scroll {
		overflow: hidden;
	}

	.nav-menu ul li:hover:after {
		bottom: -1px;
	}
}

@media screen and (max-width: 767px) {
	.header-inner .logo {
		width: 130px;
	}

	.header-inner {
		padding: 0 20px 0 10px;
	}
}

/*--------------------------------------------
    footer
---------------------------------------------*/
footer {
	background-color: #F0F0F0!important;
}

.footer-inner {
	padding: 32px;
}

.footer-nav__contents01 {
	max-width: 1440px;
	width: 100%;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.footer-logo {
	width: 168px;
}

.footer-logo img {
	width: 100%;
}

.footer-nav-menu__main {
	display: flex;
}

.footer-nav-menu__main li {
	text-align: center;
	padding: 0 22px;
	border-right: 1px solid #BFBFBF;
	list-style: none;
}

.footer-nav-menu__main li:last-child {
	border-right: none;
}

.footer-nav-menu__main li a {
	font-size: 1rem;
	color: #232323;
	line-height: 1.3em;
	text-decoration: none;
	font-weight: 600;
}

.footer-nav-menu__main li a span {
	display: block;
	font-size: .6875rem;
	font-weight: 300;
}

.footer-nav__contents02 {
	max-width: 608px;
	padding: 40px 0;
	display: flex;
	margin: 0 0 0 auto;
	gap: 80px;
	line-height: 1.5em;
}

.footer-nav-menu__sub li {
	list-style: none;
	font-size: .75rem;
	color: #232323;
	padding-left: 16px;
	position: relative;
}

.footer-nav-menu__sub li a {
	text-decoration: none;
	font-size: .75rem;
	color: #232323;
}

.footer-nav-menu__sub li:before {
	content: '';
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 4px 0 4px 8px;
	border-color: transparent transparent transparent #232323;
	position: absolute;
	top: 7px;
	left: 1px;
	margin: auto;
}

.footer-nav-menu__sub li ul li:before {
	content: none;
}

.footer-nav-menu__sub li ul li {
	padding-left: 0;
}

#footer-bottom {
	text-align: center;
	font-size: .6875rem;
	color: #fff;
	background-color: #333;
}
.imagereplace {
    position: fixed;
    right: 10px;
    bottom: 50px;
    width: 35px;
    height: 35px;
    background: #333;
    border-radius: 4px;
    display: block;
    text-decoration: none;
    transition: 0.3s;
    opacity: 0;       /* 最初は透明に */
    visibility: hidden; /* クリックもできないように */
    z-index: 100;
}

.imagereplace.is-show {
    opacity: 1;        /* 表示 */
    visibility: visible;
}
.imagereplace:before{
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  border-top: 3px solid #fff;
  border-left: 3px solid #fff;
  transform: translate(-50%, -40%) rotate(45deg);	
}
@media screen and (max-width: 1024px) {
	.footer-inner {
		padding: 20px 32px;
	}

	.footer-nav__contents01 {
		display: block;
	}

	.footer-logo {
		margin: 0 auto 15px;
	}

	.footer-nav-menu__main {
		justify-content: center;
	}
}

@media screen and (max-width: 767px) {
	.footer-nav-menu__main {
		display: block;
	}

	.footer-nav-menu__main li {
		border-bottom: 1px solid #BFBFBF;
		width: 192px;
		margin: 0 auto;
		padding: 12px 0;
		border-right: none;
	}

	.footer-nav-menu__main li:last-child {
		border-bottom: none;
	}

	.footer-nav__contents02 {
		max-width: 192px;
		padding: 40px 25px;
		display: block;
		margin: 0 auto;
		line-height: 1.5em;
	}
}
