@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;
	}
	.w-top-banner__item {
		width: 49%;
	}
}


/*---------------------------------------------------
	トップ商品コンテンツ（商品一覧）
---------------------------------------------------*/
.w-top-product{
	.w-top-product__content{
		display: none;
		&.is-show {
			display: block;
			height:100%;
			margin-bottom: 15%;
		}
		.c-product-card-group{
			margin-bottom: 0;
		}
	}
	/* 選べるメニュー用紙 */
	.w-top-product__paper-heading{
		position: relative;
		margin-bottom: 40px;
		&::after {
			content: "";
			display: block;
			position: absolute;
			height: 2px;
			right: 0;
			top: 0;
			bottom: 0;
			margin: auto;
		}
		
		&.--japanese{
			&::after {
			    width: calc(100% - 74px);
			    background-color: #8b2c2c;
			}
		}
		&.--european{
			margin-top: -8%;
			&::after {
			    width: calc(100% - 82px);
				background-color: #1f3a5f;
			}
		}
		&.--natural{
			margin-top: -8%;
			&::after {
			    width: calc(100% - 118px);
				background-color: #1b490a;
			}
		}
		img {
			width: 100px;
		}
	}
	@media (min-width: 481px) {
		/* 選べるメニュー用紙 */
		.w-top-product__paper-heading{
			&::after {
				height: 4px;
			}
			
			&.--japanese{
				&::after {
				    width: calc(100% - 113px);
				}
			}
			&.--european{
				&::after {
				    width: calc(100% - 124px);
				}
			}
			&.--natural{
				&::after {
				    width: calc(100% - 180px);
				}
			}
			img {
				width: 147px;
			}
		}
	}
	@media (min-width: 751px) {
		
	}
}


/*---------------------------------------------------
	トップページ　オリジナルメニュー実例（スライダー）
---------------------------------------------------*/
.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%;
	}
	.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/arrow02.png");
			background-repeat:no-repeat;
			background-position:center center;
			background-size:60% 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: 12px;
		position: relative;
		font-weight: 700;
		text-align: center;
	}
	.w-main-contents-usage__text{
		font-size: 12px;
	}
	.w-main-contents-usage__image{
		width: 60%;
		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{
			font-size: 13px;
		}
		.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__item{
			&::after {
				background-size:11px auto;
				top:15%;
			}
		}
	}
}

/* ---------- サービス ---------- */
.w-main-contents-service{
	
}

/* ---------- よくある質問 ---------- */
.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%;
		}
		&:nth-child(1) a {
			background: url("../images/common/question01.png") no-repeat left 10px center;
		}
		&:nth-child(2) a {
			background: url("../images/common/question03.png") no-repeat left 10px center;
		}
		&:nth-child(3) a {
			background: url("../images/common/question05.png") no-repeat left 10px center;
		}
		&:nth-child(4) a {
			background: url("../images/common/question07.png") no-repeat left 10px center;
		}
		&:nth-child(5) a {
			background: url("../images/common/question08.png") no-repeat left 10px center;
		}
		&:nth-child(6) a {
			background: url("../images/common/question10.png") no-repeat left 10px center;
		}
		&:nth-child(7) a {
			background: url("../images/common/question12.png") no-repeat left 10px center;
		}
		&:nth-child(8) a {
			background: url("../images/common/question11.png") no-repeat left 10px center;
		}
	}
	.w-main-contents-faq__link{
		color: var(--color-black);
		font-size: 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;
		&:hover {
			opacity: 1;
			border: 3px solid #FFD6A0; /* color-secondary_lightより少し薄い色（他になし）*/
			background-color: var(--color-secondary_light) !important;
		}
	}
	@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: 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__inner {
		margin-bottom: 15%;
	}

	.w-main-contents-point__item {
		display: flex;
		flex-wrap: wrap;
		margin-top: 15px;
		margin-bottom: 60px;

		&.--02,
		&.--04 {
			flex-wrap: wrap-reverse;
		}
	}

	.w-main-contents-point__image {
		width: 75%;
		max-width: 280px;
		margin: auto;

		img {
			display: block;
			width: 100%;
			height: auto;
		}
	}

	.w-main-contents-point__text {
		width: 100%;
		padding-left: 0;
		padding-top: 30px;
	}

	/* SPタイトル */
	.w-main-contents-point__title {
		display: none;
	}

	.w-main-contents-point__title-sp {
		display: block;
		position: relative;
		padding-left: 20px;
		font-size: 18px;
		font-weight: bold;

		&::before {
			content: "01";
			position: absolute;
			left: 0;
			top: -10px;
			z-index: -1;
			font-size: 60px;
			font-weight: bold;
			color: #FFF7ED;
		}

		&.--02::before { content: "02"; }
		&.--03::before { content: "03"; }
		&.--04::before { content: "04"; }
		&.--05::before { content: "05"; }
	}

	@media (min-width: 481px) {
		.w-main-contents-point__title-sp {
			font-size: 22px;
			padding-left: 40px;

			&::before {
				font-size: 80px;
			}
		}
	}

	@media (min-width: 651px) {
		.w-main-contents-point__item {
			margin-bottom: 90px;
		}
	}

	@media (min-width: 1021px) {

		.w-main-contents-point__item {
			flex-wrap: nowrap;
			justify-content: space-between;
			margin-top: 100px;
			margin-bottom: 0;

			&.--02,
			&.--04 {
				flex-wrap: nowrap;
			}
		}

		.w-main-contents-point__image {
			width: 228px;
			max-width: none;
			margin: 0;
		}

		.w-main-contents-point__text {
			width: calc(97% - 228px);
			padding-left: 50px;
			padding-top: 30px;
		}

		.w-main-contents-point__title {
			display: block;
			position: relative;
			font-size: 24px;
			font-weight: bold;

			&::before {
				content: "01";
				position: absolute;
				left: -60px;
				top: -35px;
				z-index: -1;
				font-size: 80px;
				font-weight: bold;
				color: #FFF7ED;
			}
		}

		.w-main-contents-point__title-sp {
			display: none;
		}

		.w-main-contents-point__item.--02 .w-main-contents-point__title::before {
			content: "02";
		}

		.w-main-contents-point__item.--03 .w-main-contents-point__title::before {
			content: "03";
		}

		.w-main-contents-point__item.--04 .w-main-contents-point__title::before {
			content: "04";
		}

		.w-main-contents-point__item.--05 .w-main-contents-point__title::before {
			content: "05";
		}
	}
}


/*---------------------------------------------------
	トップページ お知らせ
---------------------------------------------------*/
.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-black);
		padding-bottom: 5px;
		text-align: center;
	}
	.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: var(--color-black);
		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 #FFF3E2;
		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: #FFA32C;
		font-weight: bold;
		text-align: center;
		background: #FFF3E2;
		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 dashed #FFCA86;
		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: #FFA32C;
		}
		&: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;
	}
}


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