@charset "UTF-8";
/* ----- 共通のモジュール（部品）を定義 ----- */

/* ----- ブレイクポイントに関して ----- */
/*	480px以下はスマホ用
	481px以上750px以下はタブレット
	751px以上がPC用 */

/*---------------------------------------------------
	ヘッダーのスタイル
---------------------------------------------------*/
.l-header{
	padding: 0;
	position: fixed;
	background: #fff;
	z-index: 999;
	width: 100%;
	
	h1{
		display: none;
		font-size: 11px;

	}
	
	.l-header__header {
		display: flex;
		flex-wrap: none;
		align-items: flex-start;
		margin: 5px 0 4px;
		justify-content: space-between;
	}

	.l-header__logo-wrap{
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		
		.l-header__logo{
			display:block;
			width: 80px;
			margin-top: 8px;
			img {
				width: 100%;
			}
		}
		.l-header__corporation-link{
			display: none;
			margin: 4px 0 0 25px;
		}
		.l-header__corporation-link-button{
			border: 1px solid var(--color-primary);
			display: inline-block;
			border-radius: 5px;
			padding: 6px 10px 4px;
			&:hover {
				opacity: 1;
				background-color: #E9F9FE;
				text-decoration: none;
			}
			p {
				text-align: center;
				line-height: 110%;
			}
			p::before {
				content: "";
				background: url("../images/common/corpIcon.png") no-repeat;
				display: inline-block;
				width: 15px;
				height: 26px;
				background-size: contain;
				vertical-align: middle;
				margin-right: 5px;
			}
		}
	}

	.l-header__top-menu{
		display: flex;
		flex-wrap: wrap;
		align-items: flex-start;
		margin-top: 3px;
		
		.l-header__top-item {
			margin-right: 10px;
		}
		.l-header__top-item:last-child {
			margin-right: 0;
		}
		.l-header__top-link {
			font-size: 10px;
			color: #333;
			text-decoration: none;
			padding: 22px 0 0 0;
			height: 20px;
			display: inline-block;
			background-size: auto 20px; 
			background-repeat: no-repeat;
			background-position: top center;
			&.--login{
				background-image: url("../images/common/hIcon02.png");
				span{
					display:none;
				}
			}
			&.--logout{background-image: url("../images/common/hIcon01_2.png");}
			&.--mypage{background-image: url("../images/common/hIcon02.png");}
			&.--member{background-image: url("../images/common/hIcon02.png");}
			&.--cart{background-image: url("../images/common/hIcon03.png");}
		}
		.l-header__top-link:hover {
			opacity: .7;
		}
	}

	.l-header__sp-nav {
		display: none;
	}

	.l-header__hamburger {
		position: relative;
		width: 44px; /* 幅を指定する */
	    height: 24px; /* 高さを指定する */
		cursor: pointer;
		z-index: 300;
		transition: all .6s;
		p {
			position: relative;
			text-align: center;
			font-size: 10px;
			padding-top: 23px;
			user-select: none;
		}
		&:hover {
			opacity: 0.7;
		}

		.l-header_hamburger-line {
			position: absolute;
			left: 0;
			right: 0;
			margin: auto;
			width: 26px;
			height: 2px;
			background-color: #333;
			transition: all .6s;

			&.--line1 { top: 0;}
			&.--line2 { top: 9px;}
			&.--line3 { top: 18px;}
		}
	}

	.l-header_black-bg{
		position: fixed;
		left: 0;
		top: 0;
		width: 100vw;
		height: 100vh;
		z-index: 100;
		background-color: #fff;
		opacity: 0;
		visibility: hidden;
		transition: all .6s;
		cursor: pointer;
	}

	.nav-open .black-bg {
		opacity: .8;
		visibility: visible;
	}

	&.is-hide{
		box-shadow: 0 0 4px 2px rgba(0,0,0,0.1);
		padding: 0;
		.c-gnav{
			display: none;
		}
		h1 {
			display: none;
		}
		.l-header__header {
			margin: 5px 0 4px;
		}
	}
	
	@media (min-width: 381px) {
		.l-header__header{
			.l-header__top-item{
				margin-right: 20px;
			}
			.l-header__top-item:last-child {
				margin-right: 0;
			}
		}
		.l-header__logo-wrap{
			.l-header__logo{
				width: 100px;
				margin-top: 2px;
			}
		}
	}
	
	@media (min-width: 481px) {
		padding-top:10px;
		h1{
			display:flex;
		}
		.l-header__header{
			align-items: flex-start;
			margin: 10px 0 4px;
		}
		.l-header__logo-wrap{
			.l-header__logo{
				width: 150px;
				margin-top: 0;
			}
		}
		.l-header__top-menu{
			margin-top: 8px;
			
			.l-header__top-link {
				font-size: 11px;
				padding: 26px 0 0 0;
				height: 24px;
				background-size: auto 24px; 
			}
		}
		
		.l-header__hamburger {
			height: 34px; /* 高さを指定する */
			p {
				font-size: 11px;
				padding-top: 26px;
			}
			.l-header_hamburger-line {
				width: 34px;

				&.--line1 { top: 0;}
				&.--line2 { top: 11px;}
				&.--line3 { top: 22px;}
			}
		}
		&.is-hide{
			padding-top:0;
			.l-header__header {
				margin: 10px 0;
			}
		}
	}
	@media (min-width: 641px) {
		.l-header__logo-wrap{
			.l-header__corporation-link{
				display: block;
			}
		}
	}
	@media (min-width: 751px) {
		.l-header__header{
			align-items: center;
			margin:10px 0 20px;
		}
		.l-header__logo-wrap{
			.l-header__logo{
				width: 180px;
			}
			.l-header__corporation-link{
				display: none;
				margin: 4px 0 0 50px;
			}
			.l-header__corporation-link-button{
				padding: 6px 15px 4px;
				p::before {
					width: 20px;
					height: 35px;
					margin-right: 10px;
				}
			}
		}
		.l-header__top-menu{
			height:44px;
			margin-top: 5px;
			.l-header__top-item{
				margin-top: 10px;
				margin-right: 30px;
			}
			.l-header__top-link{
				font-size: 14px;
				padding: 0 0 0 26px;
				background-position: 0 0;
				&.--login{
					padding-left:26px;
					span{
						display:inline-block;
					}
				}
				&.--logout{padding-left:28px;}
				&.--cart{padding-left:36px;}
			}
		}
		.l-header__hamburger{
			width:100px;
			 .l-header_hamburger-line{
			 	margin:0;
			 }
			p{
				position: absolute;
				right: 0;
				padding:0;
				font-size: 14px;
			}
		}
	}
	@media (min-width: 981px) {
		.l-header__logo-wrap{
			.l-header__logo{
				width: 180px;
				margin-top:0;
			}
		}
		.g-nav > li a {
			font-size: 13px;
		}
	}
	@media (min-width: 1001px) {
		.l-header__logo-wrap{
			.l-header__corporation-link{
				display: block;
			}
		}
	}
}


/* ナビが表示された時用のCSS */
.is-nav-open{
	width: 100%;
	overflow-y: scroll;

	.l-header__sp-nav{
		display: block;
		position: absolute;
		top: 60px;
		width: 90%;
		padding: 20px;
		left: 0;
		right: 0;
		margin: auto;
		
		height: 85vh;
		background-color: #fff;
		z-index: 200;
		overflow-y: auto;
		box-shadow: rgba(0,0,0,0.2) 0 0 2px 1px;
		border-radius: 10px;
	}
	.l-header__hamburger {
		z-index: 300;
		transition: all .6s;
		
		.l-header_hamburger-line{
			transition: all .6s;
			&.--line1{
				transform: rotate(45deg);
				top: 10px;
			}
			&.--line2{
				opacity: 0;
				width: 0;
			}
			&.--line3{
				transform: rotate(-45deg);
				top: 10px;
			}
		}
	}
	.l-header_black-bg{
		opacity: .8;
		visibility: visible;
	}
	.c-gnav-sp{
		position: relative;
	}
	
	@media (min-width: 481px) {
		.l-header__sp-nav{
			top: 100px;
			width: 90%;
			padding: 30px;
		}
	}
	@media (min-width: 751px) {
		.l-header__sp-nav{
			padding: 40px;
		}
	}
	@media (min-width: 1181px) {
		.l-header__sp-nav{
			width: 1080px;
		}
	}
}


/*---------------------------------------------------
	ヘッダーナビゲーション（グローバルナビ）
---------------------------------------------------*/

.c-gnav {
	display:none;
	background: var(--color-primary);
	.c-gnav__list {
		position: relative;
		width: 94%;
		height: 46px;
		max-width: 1080px;
		margin: 0 3%;
		display:flex;
	}
	.c-gnav__item {
		height: 46px;
		line-height: 46px;
		background: var(--color-primary);
		text-align: center;
		border-left: 1px solid #0C7CC5;
		width: 16.6666%;
		&:last-child {
			border-right: 1px solid #0C7CC5;
		}
		&:hover {
			background: #0D5BA2;
			transition: all .3s;
		}
		.c-gnav__link{
			display: block;
			color: #fff;
			font-size: 12px;
			text-decoration: none;
			transition: all .3s;
			
			&:hover {
				color: #fff;
				opacity: 1;
			}
		}
		&.--multi:hover .c-gnav-product,
		&.--multi:hover .c-gnav-sub{
			top: 46px;
			visibility: visible;
			opacity: 1;
		}
	}

	.c-gnav-product,
	.c-gnav-sub{
		visibility: hidden;
		z-index: 1;
		opacity: 0;
		position: absolute;
		top: 46px;
		width: 100%;
		left: 50%;
		transform: translateX(-50%);
		background: rgba(255,255,255,1);
		padding: 20px;
		display: flex;
		flex-wrap: wrap;
		box-shadow: rgba(0,0,0,0.2) 0px 3px 2px 1px;
		
		.c-gnav-product__list,
		.c-gnav-sub__list{
			width: 100%;
			line-height: 140%;
			text-align: left;
			display: flex;
			flex-wrap: wrap;
		}
	}
	.c-gnav-sub{
		.c-gnav-sub__list{
			gap: 0 2%;
		}
		.c-gnav-sub__item{
			width: calc((100% - 6%)/4);
			line-height: 140%;
			text-align: center;
			&:nth-child(n+5) {
				margin-top: 2%;
			}
			img {
				width: 100%;
				outline: 3px solid #e4e4e4;
				outline-offset: -3px;
				transition : all 0.1s ease 0s; 
				border-radius: 15px;
			}
			img:hover {
				outline: 5px solid var(--color-primary);
				outline-offset: -5px;
			}
			p {
				margin-top: 5px;
				font-weight: bold;
				font-size: 12px;
			}
		}
		.c-gnav-sub__link{
			color: var(--color-primary);
			&:hover {
				color: #074782;
			}
		}
	}
	.c-gnav-product{
		.c-gnav-product__list{
			gap: 0 4%;
		}
		.c-gnav-product__item{
			width: calc((100% - 16%)/5);
			line-height: 140%;
			text-align: center;
			
			&:nth-child(n+6) {
				margin-top: 4%;
			}
			img {
			  width: 100%;
			}
			img:hover {
			  opacity: 0.7;
			}
			a {
				color: var(--color-black);
				text-decoration: none;
			}
			a:hover {
				color: var(--color-primary);
				text-decoration: underline;
			}
			p {
				margin-top: 8px;
				font-weight: bold;
				font-size: 12px;
			}
		}
		.c-gnav-product__item:last-child {
			margin: 4% auto 0;
			width: 100%;
			text-align: center;
			a {
				background:#fff;
				color: var(--color-primary);
				line-height: 110%;
				border: 1px solid var(--color-primary);
				border-radius: 100px;
				padding: 12px 10px 10px;
				width: 240px;
				margin: auto;
				position: relative;
				transition: none;
				display: block;
				font-size: 15px;
				&::after {
					content: "";
					position: absolute;
					right: 20px;
					top: 50%;
					margin-top: -3px;
					display: block;
					width: 7px;
					height: 7px;
					border-top: solid 1px var(--color-primary);
					border-right: solid 1px var(--color-primary);
					transform: rotate(45deg);
				}
				&:hover {
					text-decoration: none;
					color: #fff;
					background: #108CCF;
					transition: all .3s;
					opacity:1;
				}
				&:hover::after {
					border-top: solid 1px #fff;
					border-right: solid 1px #fff;
				}
			}
		}
	}
	@media (min-width: 751px) {
		display:flex;
		.c-gnav__item {
			.c-gnav__link{
				font-size: 13px;
			}
		}
	}
	@media (min-width: 851px) {
		.c-gnav__item {
			.c-gnav__link{
				font-size: 13px;
			}
		}
	}
	@media (min-width: 951px) {
		.c-gnav__list {
			.c-gnav__item {
				.c-gnav__link,
				.c-gnav-sub__link{
					font-size: 15px;
				}
			}
		}
		.c-gnav-product,
		.c-gnav-sub{
			padding: 30px;
		}
		.c-gnav-sub{
			.c-gnav-sub__item{
				p {
					margin-top: 6px;
					font-size: 14px;
				}
			}
		}
		.c-gnav-product{
			.c-gnav-product__item{
				p {
					margin-top: 10px;
					font-size: 14px;
				}
			}
		}
	}
	@media (min-width: 1181px) {
		.c-gnav__list {
			margin: 0 auto;
			width:100%;
			.c-gnav__item {
				width:100%;
			}
		}
	}
}

/*----------------------------------------
	ハンバーガーナビ
----------------------------------------*/
.c-gnav-sp{
	/* 上部メニューリスト */
	.c-gnav-sp__top-list{
		width: 100%;
		max-width: 300px;
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
		margin: auto;
		text-align: center;
	}
	.c-gnav-sp__top-list-item {
		width: 30%;
		max-width: 90px;
		
		.c-gnav-sp__top-list-link {
			color: #333;
			text-decoration: none;
			&:hover{
				opacity:0.75;
			}
		}
		img {
			width: 100%;
		}
		p {
			font-size: 11px;
			margin-top: 7px;
			font-weight: bold;
			line-height: 140%;
		}
	}
	
	/* ナビ部分 */
	.c-gnav-sp__list{
		margin-top: 40px;
	}
	.c-gnav-sp__title {
		display: block;
		position: relative;
		padding: 12px 0 10px;
		font-size: 14px;
		font-weight: normal;
		cursor: pointer;
		border-bottom: 1px solid #eee;
		
		&:after {
			content: "";
			position: absolute;
			right: 20px;
			top: 42%;
			transition: all 0.2s ease-in-out;
			display: block;
			width: 8px;
			height: 8px;
			border-top: solid 2px #cecece;
			border-right: solid 2px #cecece;
			-webkit-transform: rotate(135deg);
			transform: rotate(135deg);
		}
	}
	
	.is-open:after {
		transform: rotate(-45deg);
		top: 45%;
	}

	.c-gnav-sp-sub{
		display: none;
		.c-gnav-sp-sub__link,
		.c-gnav-sp-third__link{
			font-size: 14px;
			display: block;
			padding: 10px 0 10px 20px;
			border-bottom: 1px solid #eee;
			position: relative;
			color: #777;
			transition: none;
			position: relative;
			text-decoration: none;
			line-height:1.2;
			&:hover {
				opacity: 0.7;
			}
			&:after {
				content: "";
				position: absolute;
				left: 0;
				top: 50%;
				margin-top: -4px;
				transition: all 0.2s ease-in-out;
				display: block;
				width: 6px;
				height: 6px;
				border-top: solid 1px #cecece;
				border-right: solid 1px #cecece;
				transform: rotate(45deg);
			}
			&:hover::after {
				left: .3em;
				border-top: solid 1px #cecece;
				border-right: solid 1px #cecece;   
			}
		}
		.c-gnav-sp-third__item{
			line-height: 140%;
			margin-top: 5px;
			&:first-child {
				margin-top: 0;
			}
			&:nth-child(n+2) {
				position: relative;
				padding-left: 18px;
			}
		}
		.c-gnav-sp-third__link{
			font-size: 14px;
			color: #777;
			transition: none;
			position: relative;
			display: block;  
			padding-left: 20px;
			&:hover {
				opacity: inherit;
				color: var(--color-primary);
				text-decoration: underline;
			}
			&::after {
				content: "";
				position: absolute;
				left: 0;
				top: 50%;
				margin-top: -4px;
				transition: all 0.2s ease-in-out;
				display: block;
				width: 6px;
				height: 6px;
				border-top: solid 1px #cecece;
				border-right: solid 1px #cecece;
				-webkit-transform: rotate(45deg);
				transform: rotate(45deg);
			}
			&:hover::after {
				left: .3em;
				border-top: solid 1px #108CCF;
				border-right: solid 1px #108CCF;  
			}
		}
	}
	
	@media (min-width: 481px) {
		/* 上部メニューリスト */
		.c-gnav-sp__top-list{
			width: 80%;
			max-width: initial;
		}
		.c-gnav-sp__top-list-item {
			width: 26%;
			max-width: initial;
			
			p {
				font-size: 12px;
				margin-top: 10px;
			}
		}
		
		/* ナビ部分 */
		.c-gnav-sp__list{
			display:flex;
			flex-wrap: wrap;
			gap:5%;
			.c-gnav-sp__item{
				width:47.5%;
				
			}
			.c-gnav-sp__item:nth-child(n+3){
				margin-top: 7.5%
			}
		}
		.c-gnav-sp__title{
			padding:0 0 0 15px;
			margin-bottom: 15px;
			border-bottom:none;
			&:before {
				content: "●";
				position: absolute;
				left: 0;
				top: 50%;
				margin-top: -11px;
				color: var(--color-primary);
				font-size: 11px;
				-webkit-text-size-adjust: 100%;
			}
			&:after {
				content:none;
			}
		}
		.c-gnav-sp-sub{
			display: block;
			.c-gnav-sp-sub__item,
			.c-gnav-sp-third__item{
				margin-top:10px;
			}
			.c-gnav-sp-sub__link,
			.c-gnav-sp-third__link{
				line-height:1.4;
				font-size: 13px;
				border-bottom:none;
				padding: 0 0 0 20px;
				&:hover {
					opacity: inherit;
					color: var(--color-primary);
					text-decoration: underline;
				}
				&:hover::after {
					border-top: solid 1px var(--color-primary);
					border-right: solid 1px var(--color-primary);
				}
			}
		}
	}
	@media (min-width: 751px) {
		/* 上部メニューリスト */
		.c-gnav-sp__top-list{
			width: 500px;
		}
		.c-gnav-sp__top-list-item {
			width: 24%;
			
			p {
				font-size: 14px;
			}
		}
		
		/* ナビ部分 */
		.c-gnav-sp__list{
			margin-top: 50px;
			.c-gnav-sp__item{
				width:30%;
			}
			.c-gnav-sp__item:nth-child(n+3){
				margin-top: 5%
			}
			.c-gnav-sp__item:nth-child(3){
				margin-top: 0;
			}
		}
		.c-gnav-sp__title{
			font-size: 16px;
		}
		.c-gnav-sp-sub{
			.c-gnav-sp-sub__item,
			.c-gnav-sp-third__link{
				margin-top:5px;
			}
			.c-gnav-sp-sub__link,
			.c-gnav-sp-third__link{
				line-height:1.6;
				font-size: 14px;
			}
		}
		
	}
}

/* SNSナビ */
.l-header__sp-nav-sns {
	display: flex;
	gap:20px;
	justify-content: center;
	width: 200px;
	margin-left:auto;
	margin-right:auto;
	&.u-dc-mt-50{
		margin-top:7.5% !important;
	}
	+ p.u-mt-20{
		margin-top:2.5% !important;
	}
	
	@media (min-width: 481px) {
		width: 230px;
		+ p.u-mt-20{
			margin-top:1.5% !important;
		}
	}
	@media (min-width: 751px) {
		&.u-dc-mt-50{
			margin-top:5% !important;
		}
	}
	@media (min-width: 901px) {
		+ p.u-mt-20{
			margin-top:20px !important;
		}
	}
}

.l-header__sp-nav-calendar{
	display:flex;
	flex-wrap:wrap;
	gap:15px 20px;
	&.u-dc-mt-50{
		margin-top:7.5% !important;
	}

	@media (min-width: 481px) {
		max-width: 480px;
		margin:0 auto;
	}
	@media (min-width: 751px) {
		gap:30px;
		max-width: initial;
	}
}
