@charset "utf-8";
/* CSS Document */

/* 全体 */
@media (max-width: 992px) { /* 992px以下の時 */
	.bg {
		background-size: auto 75%;
	}
}
@media (max-width: 768px) { /* 768px以下の時 */
}

/* ヘッダー */
@media (max-width: 992px) { /* 992px以下の時 */
	header.flex {
		width: calc(100% - 65px);
		padding-right: 10px;
	}
	.g-nav-list .menu li {
		margin-left: 0;
	}
	
	/* バーガーメニュー */
	.openbtn{
		position: relative;
		cursor: pointer;
		width: 50px;
		height: 50px;
		border-radius: 5px;
    z-index: 9999;
	}
	.openbtn span {
		display: inline-block;
		transition: all .4s;
		position: absolute;
		left: 15px;
		height: 3px;
		border: 3px solid #fff;
		box-sizing: content-box;
		border-radius: 2px;
		background: #0d0c2e;
	}
	.openbtn span:nth-of-type(1) {
		top: 15px;
		width: 45%;
	}
	.openbtn span:nth-of-type(2) {
		top: 23px;
		width: 35%;
	}
	.openbtn span:nth-of-type(3) {
		top: 31px;
		width: 20%;
	}
	.openbtn.active span {
		background: #fff;
		border: none;
	}
	.openbtn.active span:nth-of-type(1) {
		top: 18px;
		left: 18px;
		transform: translateY(6px) rotate(-135deg);
		width: 30%;
	}
	.openbtn.active span:nth-of-type(2) {
		opacity: 0;
	}
	.openbtn.active span:nth-of-type(3){
		top: 30px;
		left: 18px;
		transform: translateY(-6px) rotate(135deg);
		width: 30%;
	}
	
	/* グローバルナビゲーション */
	#g-nav {
		position: fixed;
		z-index: -1;
		opacity: 0;
		top: 0;
		right: 0;
		width: 0;
		height: 100vh;
		background: #0b0a1fe6;
		transition: all 0.3s;
	}
	#g-nav.panelactive {
		opacity: 1;
		z-index: 999;
		width: calc(100% - 80px);
	}
	#g-nav.panelactive #g-nav-list {
		position: fixed;
		z-index: 999; 
		width: 100%;
		height: 100vh;
		overflow: auto;
		-webkit-overflow-scrolling: touch;
	}
	#g-nav ul {
		display: none;
		position: absolute;
		z-index: 999;
		top: 50%;
		left: 50%;
		transform: translate(-50%,-50%);
	}
	#g-nav.panelactive ul {
		display: block;
	}
	#g-nav li {
		text-align: center; 
	}
	#g-nav li.sml a {
		font-size: 10px;
		font-weight: 400;
		padding-top: 4em;
	}
	#g-nav li a {
		color: #fff;
		padding: 10px;
		display: block;
		text-transform: uppercase;
		letter-spacing: 0.1em;
	}
}

@media (max-width: 768px) { /* 768px以下の時 */
	header.flex {
		background: none;
	}
	
	/* 左上社名 */
	.hd-left {
		margin-bottom: 3px;
		padding-left: 10px;
	}
	.hd-left .text {
		font-size: .735em;
	}
	.hd-left .name {
		font-size: 1.25em;
	}
	.hd-left .name span {
		margin-right: 5px;
	}
	
	/* グローバルナビゲーション */
	#g-nav.panelactive {
		width: 100%;
	}
}
@media (max-width: 576px) { /* 992px以下の時 */
	header.flex {
		width: calc(100% - 55px);
		height: 55px;
	}
	/* 左上社名 */
	.hd-left {
		margin-bottom: 0;
	}
	.hd-left .text,
	.hd-left .name {
		text-shadow: 1px  1px 0px #ffffff,
								-1px  1px 0px #ffffff,
								 1px -1px 0px #ffffff,
								-1px -1px 0px #ffffff,
								 1px  0px 0px #ffffff,
								 0px  1px 0px #ffffff,
								-1px  0px 0px #ffffff,
								 0px -1px 0px #ffffff;
	}
	
	/* バーガーメニュー */
	.openbtn {
		width: 45px;
		height: 45px;
	}
}
@media (max-width: 426px) {
	/* 左上社名 */
	.hd-left .text {
		font-size: 10px;
	}
	.hd-left .name {
		font-size: 1.13em;
	}
}

	
/* 左サイド（バーとページトップ） */
@media (max-width: 992px) {
	.side {
		width: 65px;
	}
	.side .rogomark img {
		height: 50px;
	}
}
@media (max-width: 768px) {
	.side {
    position: absolute;
    height: 65px;
    background: none;
	}
	.side .rogomark {
		width: 65px;
    height: 65px;
    background: #0d0c2e;
    top: 0;
    position: fixed;
    padding-top: 9px;
		z-index: 500;
		border-radius: 0 0 15px 0;
	}
	.side .rogomark img {
		height: 45px;
	}
	.side .line-tate {
		display: none;
	}
	
	/* ページトップ */
	.side .pagetop {
    position: fixed;
    width: 55px;
    left: auto;
    right: 2%;
		bottom: 2%;
    z-index: 500;
	}
}
@media (max-width: 576px) {
	.side {
		width: 55px;
		height: 55px;
	}
	.side .rogomark {
		width: 55px;
    height: 55px;
	}
	.side .rogomark img {
		height: 40px;
	}
}


/* フッター */
@media (max-width: 768px) { /* 768px以下の時 */
	footer {
		padding-left: 2%;
		text-align: left;
	}
	footer .copy {
		font-size: 10px;
	}




}




/* メイン */
@media (max-width: 992px) {
	.main {
		margin-left: 65px;
	}
	/* （下層ページ共通）メイン画像 */
	.under #mv {
		background-position: 75% center;
	}
}
@media (max-width: 768px) {
	.main {
		margin-left: 0;
	}
	
	/* （下層ページ共通）メイン画像 */
	.under #mv {
		height: 40vh;
		max-height: 400px;
	}
	.under #mv h1 {
		left: 15%;
	}
}
@media (max-width: 576px) {
	/* （下層ページ共通）メイン画像 */
	.under #mv {
		background-position: 70% center;
		margin-bottom: 36px;
	}
	.under #mv h1 {
    padding: 10px 10% 18px 15%;
    background: #ffffffe0;
    left: 0;
    border-radius: 0 0 20px 0;
    font-size: 2em;
    text-align: left;
	}
	.under #mv h1 span {
    background: none;
    padding: 0;
    border-bottom: 1px solid;
    font-weight: 700;
	}
}










