@charset "UTF-8";
/* ----- Widget ウィジェットの記述 ----- */

/*---------------------------------------------------
	重要なお知らせ 
---------------------------------------------------*/
.w-info-important-main{
	border: solid 2px #ccc;
	border-radius: 10px;
	padding: 30px 40px;
	align-items: center;
	display: none;
	.w-info-important-main__heading{
		text-align: center;
		margin-right: 40px;
		flex-shrink: 0;
	}
	.w-info-important-main__title {
		font-size: 17px;
	}
	.w-info-important-main__button {
		border-radius: 5px;
		font-size: 13px;
		text-decoration: none;
		color: #fff;background: #C90A0A;
		display: inline-block;
		line-height: 100%;
		margin-top: 7px;
		padding: 8px 10px 7px;
		&:hover {
			opacity: .7;
			text-decoration: none;
		}
	}
	.w-info-important-main__list {
		padding-left: 40px;
		border-left: 2px solid #ccc;
	}
	.w-info-important-main__item:not(:first-child) {
	margin-top: 10px;
	}
	.w-info-important-main__link {
		color: #C90A0A;
		text-decoration: underline;
		&:hover {
			text-decoration: none;
		}
	}
	.w-info-important-main__d-link {
		display: flex;
		align-items: baseline;
	}
	.w-info-important-main__date {
		flex-shrink: 0;
		font-size: 14px;
		margin-right: 20px;  
		&::before {
			content: "・";
			color: #C90A0A;
		}
	}
	@media (min-width: 751px) {
		display: flex;
	}
}

/*-------------------------------------------------------------
	重要なお知らせバナー（弊社からのメールが届かないお客様へ）
-------------------------------------------------------------*/
.w-info-important-banner {
	margin-top: 10px;
	.w-info-important-banner__link {
		display:  block;
		text-align: center;
		padding: 10px 30px 8px;
		color: var(--color-red);
		position: relative;
		border: 1px solid var(--color-red);  
		border-radius: 5px;  
	
		&:hover {
			background: #ffeded;
			opacity: 1;
			border-radius: 5px;
			text-decoration: none;
		}
		&::after {
			content: "";
			position: absolute;
			right: 1em;
			top: 50%;
			margin-top: -5px;
			transition: all .2s;
			width: 9px;
			height: 9px;
			border-top: solid 2px var(--color-red);
			border-right: solid 2px var(--color-red);
			transform: rotate(45deg);
		}
		&:hover::after {
			right: .5em;
		}
	}
}

/*----------------------------------------
	重要なお知らせSP（スライダー）
----------------------------------------*/
.w-info-important-sp {
	background: var(--color-black);
	padding: 12px 10% 10px 3%;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	.w-info-important-sp__title {
		background: #B40000; /*暗めの赤*/
		display: inline-block;
		border-radius: 5px;
		line-height: 105%;
		font-size: 11px;
		padding: 4px 5px 3px;
		text-align: center;
		width: 90px;
		margin-right: 15px;
		flex-shrink: 0;
	}
	.w-info-important-sp__title-link {
		color: var(--color-white);
		text-decoration: none;
	}
	.w-info-important-sp__slider {
		width: calc(100% - 105px);
	}
	.w-info-important-sp__item {
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
		color: var(--color-white);
	}
	.w-info-important-sp__link {
		color: var(--color-white);
	}
	
	/*スライダーの文字色（.w-info-important-sp__itemが付かない場合）*/
	.slick-slide{
		color: var(--color-white);
	}
	/*矢印の設定*/
	.slick-prev {/*戻る矢印の位置と形状*/
		display: none!important;
	}
	.slick-next {/*次へ矢印の位置と形状*/
		position: absolute;
		top: 50%;
		cursor: pointer;
		outline: none;
		right: -8%;
		background: var(--color-black);
		width: 20px;
		height: 20px;
		margin-top: -11px;
	}
	.slick-next::after {
		position: absolute;
		content: "";    
		border-top: 2px solid var(--color-white);/*矢印の色*/
		border-right: 2px solid var(--color-white);/*矢印の色*/
		height: 7px;
		width: 7px;
		transform: rotate(45deg);
		/*  
		top: 50%;
		margin-top: -4px;
		right: 8px;
		*/  
	} 
	.slick-prev:hover ,
	.slick-next:hover {
		opacity: 1;
	}
}


/*---------------------------------------------------
	トップページ　メインビジュアル（スライダー）
---------------------------------------------------*/

/* ============================= */
/* 初期化前だけ高さとレイアウトを予約 */
/* ============================= */

.w-top-mainvis__slider{
	&:not(.slick-initialized){
		display: flex;
		justify-content: center;
		overflow: hidden;
		
		/* centerPadding: 30% → 中央40% → 全体比率 5:1 */
		aspect-ratio: 5 / 1;
	}
	
	/* centerPadding に合わせて比率変更 */
	@media (max-width: 2000px){
		&:not(.slick-initialized){
			aspect-ratio: 50 / 11;
		}
	}
	@media (max-width: 1200px){
		&:not(.slick-initialized){
			aspect-ratio: 25 / 8;
		}
	}
	@media (max-width: 750px){
		&:not(.slick-initialized){
			aspect-ratio: 2 / 1;
		}
	}
	
	/* 初期化前のスライド幅（centerPaddingと一致させる） */
	&:not(.slick-initialized) > .w-top-mainvis__item{
		flex: 0 0 40%;
		max-width: 40%;
	}

	@media (max-width: 2000px){
		&:not(.slick-initialized) > .w-top-mainvis__item{
			flex-basis: 44%;
			max-width: 44%;
		}
	}
	@media (max-width: 1200px){
		&:not(.slick-initialized) > .w-top-mainvis__item{
			flex-basis: 64%;
			max-width: 64%;
		}
	}
	@media (max-width: 750px){
		&:not(.slick-initialized) > .w-top-mainvis__item{
			flex-basis: 100%;
			max-width: 100%;
		}
	}
}

/* ============================= */
/* 画像表示 */
/* ============================= */

.w-top-mainvis__slider{
	img {
		width: 100%;
		height: 100%;
		object-fit: cover;
		display: block;
	}
}


/*---------------------------------------------------
	トップページ　トップバナー
---------------------------------------------------*/
.w-top-banner{
	.w-top-banner__list{
		display: flex;
		justify-content: space-between;
		margin-bottom: 4.6% !important;
	}
	.w-top-banner__item {
		width: 48%;
	}
	@media (min-width: 751px) {
		.w-top-banner__list{
			padding: 0 6vw;
		}
	}
}


/*---------------------------------------------------
	トップ商品コンテンツ（商品一覧）
---------------------------------------------------*/
.w-top-product{
	margin-bottom: 15%;
	.w-top-product__content{
		display: none;
		&.is-show {
			display: block;
			height:100%;
			margin-top: 40px;
		}
	}
	@media (min-width: 481px) {
		.w-top-product__content{
			&.is-show {
				margin-top: 50px;
			}
		}
	}
	@media (min-width: 751px) {
		.w-top-product__content{
			&.is-show {
				margin-top: 70px;
			}
		}
	}
}


/*---------------------------------------------------
	トップページ メインコンテンツ（お知らせは .w-top-info） 
---------------------------------------------------*/

/* ---------- ご利用の流れ ---------- */
.w-main-contents-usage{
	.w-main-contents-usage__list{
		display: flex;
		gap:5%;
	}
	.w-main-contents-usage__item{
		width: calc((100% - 10%)/3);
		position: relative;
		margin-bottom:5%;
		&::after {
			content:"";
			position:absolute;
			top:10%;
			right:-16%;
			height:76px;
			width:16%;
			background-image: url("../images/common/arrow01.png");
			background-repeat:no-repeat;
			background-position:center center;
			background-size:60% auto;
		}
		&:last-child{
			&::after {
				content:none;
			}
		}
		a{
			color:#333;
		}
	}
	.w-main-contents-usage__title{
		margin-top: 15px;
		line-height: 140%;
		font-size: 10px;
		text-align: center;
	}
	.w-main-contents-usage__text{
		font-size: 12px;
	}
	.w-main-contents-usage__image{
		width: 100%;
		max-width: 64px;
		margin: auto;
		display: block;
	}
	@media (min-width: 481px) {
		.w-main-contents-usage__item{
			width: calc((100% - 15%)/4);
			margin-bottom:0;
			&::after {
				content:"";
				background-size:25% auto;
				top:6%;
				right:-30%;
				width:30%;
			}
			&:nth-child(3n){
				&::after {
					content:"";
				}
			}
		}
		.w-main-contents-usage__title{
			margin-top: 15px;
			font-size: 16px;
			font-size: 2.1333vw;
		}
		.w-main-contents-usage__image{
			margin: auto;
			display: block;
		}
	}
	@media (min-width: 751px) {
		.w-main-contents-usage__item{
			&::after {
				background-size:11px auto;
				top:15%;
			}
		}
		.w-main-contents-usage__title{
			margin-top: 20px;
			font-size: 14px;
			font-size: 1.5vw;
		}
	}
	@media (min-width: 901px) {
		.w-main-contents-usage__title{
			margin-top: 30px;
			font-size: inherit;
		}
	}
}

/* ---------- サービス ---------- */
.w-main-contents-service{
	.c-list-02{
		display:grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
	}
	.c-list-02__item {
		width: auto;
		&:nth-child(n+3) {
			margin-top: 0;
		}
	}
	@media (min-width: 751px) {
		.c-list-02{
			grid-template-columns: repeat(3, 1fr);
			gap: 40px;
		}
	}
}

/* ---------- よくある質問 ---------- */
.w-main-contents-faq{
	.w-main-contents-faq__list{
		display:flex;
		flex-wrap: wrap;
	}
	.w-main-contents-faq__item{
		width: 100%;
		margin-right: 0;
		
		&:nth-child(4n) {
			margin-right: 0;
		}
		&:nth-child(3n) {
			margin-right: 0;
		}
		&:nth-child(n+1) {
			margin-top: 2%;
		}
	}
	.w-main-contents-faq__link{
		color: var(--color-black);
		font-size: var(--f-size-xs);
		line-height: 140%;
		vertical-align: middle;
		display: block;
		padding: 10px 10px 8px 40px;
		border: 3px solid #F0F0F0;
		text-decoration: none;
		position:relative;
		&:hover {
			opacity: 1;
			border: 3px solid #FEF6F1; /* color-secondary_lightより少し薄い色（他になし）*/
			background-color: var(--color-secondary_light) !important;
		}
		img{
			width: auto;
			max-width:24px;
			height:auto;
			position: absolute;
			top: 50%;
			left: 10px;
			transform: translate(0, -50%);
		}
	}
	@media (min-width: 481px) {
		.w-main-contents-faq__item{
			width: 49%;
			margin-right: 2%;
			
			&:nth-child(3n) {
				margin-right: 2%;
			}  
			&:nth-child(4n) {
				margin-right: 0;
			}
			&:nth-child(even) {
				margin-right: 0;
			}
			&:nth-child(n+3) {
				margin-top: 2%;
			}
		}
	}
	@media screen and (min-width: 521px) {
		.w-main-contents-faq__link{
			font-size: var(--f-size-s);
		}
	}
	@media screen and (min-width: 1081px) {
		.w-main-contents-faq__item{
			width: 32%;
			margin-right: 2%;
			border-radius: 4px;
			&:nth-child(even) {
				margin-right: 2%;
			}
			&:nth-child(3n) {
				margin-right: 0;
			}
			&:nth-child(n+4) {
				margin-top: 2%;
			}
		}
	}
}

/* ---------- ピンバッジの達人 5つのポイント ---------- */
.w-main-contents-point {
	.w-main-contents-point__title {
		background: url("../images/reason/icon01.png") no-repeat;
		background-size: 30px auto;
		overflow: hidden;
		margin-bottom: 15px;
	}
	
	.w-main-contents-point__title-number {
		color: #fff;
		font-weight: bold;
		font-size: 22px;
		float: left;
		width: 30px;
		text-align: center;
	}
	
	.w-main-contents-point__title-list {
		float: left;
		margin: 7px 0 0 7px;
		width : calc(100% - 37px);
		h3 {
			font-size: 16px;
			font-weight: bold;
		}
		h4 {
			color: var(--color-primary);
			font-weight: bold;
			margin-top: 10px;
			font-size: 14px;
		}
	}

	.w-main-contents-point__text {
		margin-left: 37px;
	}

	@media (min-width: 481px) {
		.w-main-contents-point__title {
			background-size: 40px auto;
			margin-bottom: 20px;
		}
		
		.w-main-contents-point__title-number {
			font-size: 26px;
			width: 40px;
		}
		
		.w-main-contents-point__title-list {
			margin: 10px 0 0 7px;
			width : calc(100% - 47px);
			h3 {
				font-size: 18px;
			}
			h4 {
				font-size: 16px;
			}
		}

		.w-main-contents-point__text {
			margin-left: 47px;
		}
	}

	@media (min-width: 751px) {
		.w-main-contents-point__title {
			background-size: auto;
			padding: 4px 0 0 0;
		}
		
		.w-main-contents-point__title-number {
			font-size: 32px;
			width: 54px;
		}
		
		.w-main-contents-point__title-list {
			margin: 14px 0 0 10px;
			width : calc(100% - 64px);
			h3 {
				font-size: 20px;
			}
			h4 {
				font-size: 18px;
			}
		}

		.w-main-contents-point__text {
			margin-left: 64px;
		}
	}
}


/*---------------------------------------------------
	トップページ お知らせ
---------------------------------------------------*/
.w-top-info{
	.w-top-info__inner{
		overflow: hidden;
	}
	.w-top-info__list{
		display:flex;
		border-bottom: 1px solid var(--color-bg);
		line-height: 140%;
		padding: 15px 0;
		&:first-child {
			border-top: 1px solid var(--color-bg);
		}
	}
	.w-top-info__date {
		width: 90px;
		max-height:29px;
		background: var(--color-bg);
		font-size: 12px;
		padding: 5px 10px 4px;
		position: relative;
		display: inline-block;
		margin-right: 20px;
		&::before {
			content: "";
			position: absolute;
			top: 50%;
			left: 100%;
			margin-top: -5px;
			border: 5px solid transparent;
			border-left: 10px solid var(--color-bg);
		}
	}
	.w-top-info__title {
		flex:1;
		margin-top: 6px;
	}
	.w-top-info__link {
		color: var(--color-black);
		text-decoration: underline;
		&:hover {
			text-decoration: none;
			opacity: 1;
		}
	}

	/* 一覧へ */
	.w-top-info__detail {
		margin-top: 20px;
		font-size: var(--f-size-s);
		position: relative;
		display: inline-block;
		float: right;
	}
	.w-top-info__detail-link {
		color: var(--color-black);
		text-decoration: none;
		padding-left: 15px;
		&:hover {
			opacity: 0.7;
		}
		&::before {
			content: "";
			position: absolute;
			left: 0;
			top: 50%;
			margin-top: -3px;
			width: 6px;
			height: 6px;
			border-top: solid 1px var(--color-primary); /* 矢印オレンジ色 */
			border-right: solid 1px var(--color-primary);
			transform: rotate(45deg);
		}
	}
	@media (min-width: 481px) {
		.w-top-info__date {
			width: 100px;
			max-height:30px;
			padding: 6px 15px 5px;
			margin-right: 30px;
		}
		.w-top-info__title {
			width : -webkit-calc(100% - 130px) ;
			width : calc(100% - 130px);
		}
	}
	@media (min-width: 751px) {
		.w-top-info__date {
			width: 120px;
			max-height:38px;
			font-size: var(--f-size-s);
			padding: 8px 20px 7px;
		}
		.w-top-info__title {
			width : -webkit-calc(100% - 150px) ;
			width : calc(100% - 150px);
			margin-top: 8px;
		}
	}
}


/*---------------------------------------------------
	トップページ サイド（メニュー）
---------------------------------------------------*/

/* ---------- 商品一覧 ---------- */
.w-side-menu{
	.w-side-menu__product-title{
		font-size: var(--f-size-m);
		border-bottom: solid 2px var(--color-primary);
		position: relative;
		padding-left: 20px;
		padding-bottom: 5px;
		&::before {
			position: absolute;
			left: 0;
			top: 0;
			content: url("../images/common/sideTtlIcon.png");
		}
		&::after {
			position: absolute;
			content: " ";
			display: block;
			border-bottom: solid 2px #000;
			left: 0;
			bottom: -2px;
			width: 88%;
		}
	}
	.w-side-menu__product-item {
		position: relative;
		border-bottom: 1px solid #D6D6D6;
		font-size: var(--f-size-s);
		height: 55px;
		&::after {
			position: absolute;
			right: .2em;
			top: 50%;
			margin-top: -4px;
			content: "";
			transition: all .2s;
			width: 7px;
			height: 7px;
			border-top: solid 1px var(--color-primary);
			border-right: solid 1px var(--color-primary);
			webkit-transform: rotate(45deg);
			transform: rotate(45deg);
		}
		&:hover::after {
			right: -.05em;
		}
		&:last-child {
			margin-bottom: 0;
		}
	}
	.w-side-menu__product-link {
		color: #303030;
		width: 100%;
		height: 100%;
		display: flex;
		align-items: center;
		text-decoration: none;
		&:hover {
			opacity: .7;
		}
		dl {
			display: table;  
		}
		dt img {
			width: 54px;
		}
		dd {
			padding: 2px 0 0 8px;
			display: table-cell;
			vertical-align: middle;
			line-height: 120%;
		}
	}
	@media (min-width: 901px) {
		.w-side-menu__product-item {
			font-size: 15px;
			height: 61px;
		}
		.w-side-menu__product-link {
			dt img {
				width: 60px;
			}
			dd {
				padding: 2px 0 0 10px;
			}
		}
	}
}

/* ---------- ガイドメニュー ---------- */
.w-side-menu{
	.w-side-menu__guide{
		border: 2px solid #F0EDD7;
		border-top-width: 2px;
		border-top-style: solid;
		border-top-color: rgb(255, 243, 226);
		border-top: 0;
		margin-top: 50px;
	}
	.w-side-menu__guide-title{
		color: #715E37;
		font-weight: bold;
		text-align: center;
		background: #F0EDD7;
		line-height: 120%;
		padding: 12px 20px 10px;
		position: relative;
		display: block;
		&::before  {
			content: "";
			position: absolute;
			top: 100%;
			left: 50%;
			margin-left: -4px;
			border: 4px solid transparent;
			border-top: 6px solid #F0EDD7;
		}
	}
	.w-side-menu__guide-list{
		padding: 0 15px;
	}
	.w-side-menu__guide-item{
		position: relative;
		border-bottom: 1px dotted #A78D6D;
		font-size:var(--f-size-s);
		padding: 12px 0 10px;
		&::before {
			content: "";
			display: inline-block;
			width: 5px;
			height: 5px;
			vertical-align: middle;
			border-radius: 50%;
			background-color: #715E37;
		}
		&:last-child {
			border-bottom: 0;
		}
	}
	.w-side-menu__guide-link{
		color: #4e4657;
		text-decoration: none;
		padding: 0 0 0 10px;
		
		&:hover {
			opacity: .7;
		}
	}
	@media (min-width: 901px) {
		.w-side-menu__guide-item{
			font-size: 15px;
		}
	}
}

/* ---------- バナー ---------- */
.w-side-menu{
	.w-side-menu__banner-list{
		margin-top: 50px;
	}
	.w-side-menu__banner-item{
		margin-top: 20px;
		&:first-child {
			margin-top: 0;
		}
	}
	img{
		max-width: 100%;
	}
}

/* ----------サイドカレンダー ---------- */
.w-calendar{
	padding: 0 0 10px;
	margin-top: 20px;
}

/* ---------- サイドsns ---------- */
.w-side-sns{
	.c-sns-list{
		margin-top:0 !important;
	}
	p.u-dc-f14{
		margin-top:20px;
	}
}


/* -------- スマホカレンダー -------- */
.w-sp-calendar{
	@media (min-width: 751px) {
		display:none;
	}
}


/*---------------------------------------------------
	トップページ スマホsns
---------------------------------------------------*/
.w-sp-sns{
	.w-sp-sns__blog{
		max-width: 220px;
		margin-left: auto;
		margin-right: auto;
	}
	p.u-dc-f14{
		margin-top:20px;
	}
}
