@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: 100px;
		line-height: 105%;
		font-size: 11px;
		padding: 4px 5px 3px;
		text-align: center;
		width: 64px;
		margin-right: 10px;
		flex-shrink: 0;
	}
	.w-info-important-sp__title-link {
		color: var(--color-white);
		text-decoration: none;
	}
	.w-info-important-sp__slider {
		width: calc(100% - 74px);
	}
	.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);
		text-decoration: none;
	}
	
	/*スライダーの文字色（.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: -10%;
		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;
	}
	.w-top-banner__item {
		width: 49%;
	}
}


/*---------------------------------------------------
	トップ商品コンテンツ（商品一覧）
---------------------------------------------------*/
.w-top-product{
	margin-bottom: 15%;
	
	.w-top-product__content{
		display: none;
		&.is-show {
			display: block;
			margin-top: 40px;
		}
	}
	.c-button-wrap{
		margin-top:70px;
	}
	@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-case{
	padding-top: 84px;
	margin-top: -84px;

	.w-top-case__area{
	    padding: 40px 6%;
		background-image: url(../images/case-study/bg_wht.jpg);
	}
	.w-top-case__heading{
		margin-bottom: 20px;
	}
	.w-top-case__kicker{
		display: block;
		width: 89px;
		img {
			width: 100%;
		}
	}
	.w-top-case__title{
		display: block;
		width: 90%;
		max-width: 335px;
	    margin: 0 auto;
	    img {
			width: 100%;
		}
	}
	.w-top-case__slider{
		display: flex;
		flex-wrap: wrap;
		gap: 20px 2%;
		.slick-dots {
		    bottom: -30px;
		}
	}
	.w-top-case__item{
		width: 100%;
	}
	.w-top-case__card{
		display: block;
		border-radius: 5px;
		overflow: hidden;
		text-decoration: none;
	    margin: 0 10px;
		transition: all 0.4s ease;
		&:hover{
			opacity: 0.8;
			text-decoration: none;
		}
	}

	.w-top-case__top img {
		width: 100%;
	}
	.w-top-case__body {
		background-image: url(https://menubook-tatsujin.com/images/case-study/2_silvia/bg_dark.jpg);
		color: #fff;
		padding: 20px;
	}
	.w-top-case__tag {
	    display: block;
	    line-height: 1;
	    margin-bottom: 9px;
	    color: #ffdd00;
	    font-size: 11px;
	    font-weight: bold;
	    img {
			width: 100%;
		}
	}
	.w-top-case__shop {
	    font-size: 19px;
	    margin-bottom: 11px;
	    min-height: 2.8em;
	}
	.w-top-case__product {
	    font-size: 11px;
	    display: inline-block;
	    background-color: #3f3f3f;
	    padding: 2px 12px;
	    border-radius: 20px;
	}
	@media (min-width: 481px) {
		.w-top-case__area{
		    padding: 60px 45px;
		}
		.w-top-case__heading{
			margin-bottom: 40px;
		}
		.w-top-case__item{
			width: calc( 98% /2 );
		}
	}
	@media (min-width: 751px) {
		.w-top-case__item{
			width: calc( 96% /3 );
		}
	}
}


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

/* ---------- ご利用の流れ ---------- */
.w-main-contents-usage{
	.w-main-contents-usage__list{
		display: flex;
		flex-wrap: wrap;
		gap:5% 8%;
	}
	.w-main-contents-usage__item{
		width: calc((100% - 16%)/3);
		position: relative;
		margin-bottom:5%;
		&::after {
			content:"";
			position:absolute;
			top:10%;
			right:-22%;
			height:76px;
			width:14%;
			background-image: url("../images/guide_shopping/triangle.png");
			background-repeat:no-repeat;
			background-position:center center;
			background-size:100% auto;
		}
		&:nth-child(3n),
		&:last-child{
			&::after {
				content:none;
			}
		}
	}
	.w-main-contents-usage__title{
		margin-top: 10px;
		margin-bottom: 5px;
		line-height: 140%;
		font-size: 14px;
		position: relative;
		font-weight: 700;
		text-align: center;
	}
	.w-main-contents-usage__text{
		font-size: 12px;
	}
	.w-main-contents-usage__image{
		width: 100%;
		margin: auto;
		display: block;
	}
	@media (min-width: 481px) {
		.w-main-contents-usage__item{
			width: calc((100% - 24%)/5);
			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{
			font-size: 15px;
			line-height: 160%;
		}
		.w-main-contents-usage__image{
			margin: auto;
			display: block;
		}
	}
	@media (min-width: 641px) {
		.w-main-contents-usage__item{
			&::after {
				top:10%;
			}
		}
	}
	@media (min-width: 751px) {
		.w-main-contents-usage__list{
			gap:7.5% 6%;
		}
		.w-main-contents-usage__item{
			&::after {
				background-size:11px auto;
				top:15%;
			}
		}
	}
}

/* ---------- サービス ---------- */
.w-main-contents-service{
	.c-list-03{
		column-gap: 4%;
	}
	.c-list-03__link {
		&:hover img{
			opacity: 1;
		}
	}
	.--sp3-2-item {
		width: 48%;
		&:nth-child(n+3) {
			margin-top: 4%;
		}
	}
	@media (min-width: 481px) {
		.c-list-03{
			column-gap: 2%;
		}
		.--sp3-2-item {
			width: 32%;
			&:nth-child(n+3) {
				margin-top:0;
			}
			&:nth-child(n+4) {
				margin-top: 2%;
			}
		}
	}
}

/* ---------- よくある質問 ---------- */
.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 #D1EDFC; /* color-secondary_lightより少し薄い色（他になし）*/
			background-color: var(--color-primary_bg) !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%;
			}
		}
	}
}

/* ---------- 缶バッジの達人（カンタツ）とは ---------- */
.w-main-contents-about{
	h2 .abbreviation{
		font-size: 14px;
	}
	.w-main-contents-about__list{
		display:flex;
		flex-wrap: wrap;
		gap:5%;
	}
	.w-main-contents-about__item{
		width: 100%;
		text-align: center;
		margin-bottom: 5%;
		
		&:last-child {
			margin-bottom: 0;
		}
		img{
			width: 100%;
			max-width: 300px;
		}
	}
	.w-main-contents-about__title {
		font-weight: bold;
		text-align: center;
		margin-top: 20px;
	}
	.w-main-contents-about__text {
		margin-top: 10px;
		font-size: 14px;
		text-align: center;
	}
	@media (min-width: 481px) {
		h2 .abbreviation{
			font-size: inherit;
		}
		.w-main-contents-about__item{
			width: calc((100% - 10%)/3);
			margin-bottom: 0;
			
			img{
				max-width: initial;
			}
		}
		.w-main-contents-about__title {
			font-size: 16px;
		}
		.w-main-contents-about__text {
			margin-top: 15px;
			text-align: left;
		}
	}
}


/*---------------------------------------------------
	トップページ お知らせ
---------------------------------------------------*/
.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-top-tatsujin-series__lead {
	width: 100%;
	margin-bottom: 20px;
	text-align: center;
}

.w-top-tatsujin-series__marquee {
	width: 100%;
	overflow: hidden;
}

.w-top-tatsujin-series__track {
	display: flex;
	width: max-content;
	animation: tatsujinMarquee 40s linear infinite;
}

.w-top-tatsujin-series__list {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-right: 40px;
	margin-bottom: min(2.5vw, 30px);
}

.w-top-tatsujin-series__item {
	width: 120px;
}

.w-top-tatsujin-series__link {
	display: block;
	
	&:hover img {
		transform: scale(1.1);
	}
}

.w-top-tatsujin-series__image {
	display: block;
	width: 100%;
	height: auto;
	transition: transform 0.2s ease;
}

.w-top-tatsujin-series__track {
	animation: tatsujinMarquee 30s linear infinite;
}
.w-top-tatsujin-series__marquee:hover .w-top-tatsujin-series__track {
	/*	animation-play-state: paused;*/
}

@media (min-width: 481px) {
	.w-top-tatsujin-series__lead {
		margin-bottom: 40px;
	}
	.w-top-tatsujin-series__list {
		gap: 40px;
	}
	.w-top-tatsujin-series__list {
		margin-right: 14px;
	}
	.w-top-tatsujin-series__item {
		width: 170px;
	}
}
@media (min-width: 769px) {
	.w-top-tatsujin-series__list {
		margin-bottom: min(3.3vw, 25px);
	}
}

@keyframes tatsujinMarquee {
	from {
		transform: translateX(0);
	}
	to {
		transform: translateX(-50%);
	}
}


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

/* ---------- カテゴリ一覧 ---------- */
.w-side-menu{
	.w-side-menu__category-title{
		font-size: var(--f-size-m);
		border-bottom: solid 2px var(--color-black);
		padding-bottom: 5px;
		text-align: center;
	}
	.w-side-menu__category-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__category-link {
		color: var(--color-black);
		width: 100%;
		height: 100%;
		display: flex;
		align-items: center;
		text-decoration: none;
		&:hover {
			opacity: .7;
			
			img{
				opacity: 1;
			}
		}
		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__category-item {
			font-size: 15px;
			height: 61px;
		}
		.w-side-menu__category-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: 30px;
	}
	.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;
	}
	.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-xs);
		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: 30px;
	}
	.w-side-menu__banner-item{
		margin-top: 10px;
		&: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-side-review{
	border:2px solid #f0f0f0;
	padding:15px;
	width:100%;
}
.w-side-review-more{
	position:relative;
}
.w-side-review-more::after {
	content: "";
	position: absolute;
	right: -10px;
	top: 50%;
	margin-top: -4px;
	transition: all 0.2s ease-in-out;
	display: block;
	width: 6px;
	height: 6px;
	border-top: solid 1px #e60012;
	border-right: solid 1px #e60012;
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
}
.w-side-review-more:hover{
  	text-decoration:none;
}
.w-side-review-more:hover::after{
  	right: -15px;
}


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