@charset "utf-8";
/* CSS Document */

body{
	margin: 0;
}

.sticky-contenner{
	background-color: #ECEDEF;
}

.wrapper{
	width: 100%;
	max-width: 1000px;
	margin: 0 auto;
	font-family: "stilson-display-condensed", serif;
	font-weight: 700;
	font-style: normal;
	background-color: #fff;
}

.wrapper img{
	display: block;
	line-height: 0;
}

.mv{
	margin: 0 auto 0%;
	padding: 5% 0 10%;
	background-color: #ECEDEF;
}

.mv h1{
	text-align: center;
	font-family: "stilson-display-condensed", serif;
	font-weight: 700;
	font-style: normal;
	font-size: 3.3rem;
	line-height: .7;
	color: #5F5850;
	margin-bottom: 5%;
}

.mv h1 span{
	font-size: 1.5rem;
}

.mv-flex{
	display: flex;
}

.mv p{
	text-align: center;
	font-size: .9rem;
	font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
	font-weight: 600;
	margin: 8% auto;
}

.mv .lead{
	text-align: center;
	font-size: .8rem;
	margin: 5% auto 10%;
	line-height: 1.8;
	font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
}

@media(min-width:750px){
	
	.mv{
		margin: 0 auto 0%;
		padding: 5% 0;
		background-color: #ECEDEF;
	}

	.mv h1{
		font-size: 5.3rem;
	}

	.mv h1 span{
		font-size: 2.0rem;
	}

	.mv p{
		font-size: 1.3rem;
		letter-spacing: .1rem;
	}

	.mv .lead{
		font-size: .99rem;
		margin: 5% auto 10%;
		line-height: 2;
	}
	
	.br_s{
		display: none;
	}
}

/*---------- navi ----------*/

.navi{
	padding: 0;
	list-style: none;
	margin: 10% auto;
	width: 90%;
	display: flex;
	flex-wrap: wrap;
	gap:10px;
	justify-content: center;
}

.navi li{
	font-size: .9rem;
	width: calc(50% - 10px);
}

.navi li a{
	display: block;
	background-color: #5F5850;
	color: #fff;
	font-size: .99rem;
	text-decoration: none;
	text-align: center;
	line-height: 3;
	letter-spacing: .08rem;
	border-radius: 4px;
}

@media(min-width:750px){
	.navi{
		width: 95%;
		flex-wrap: nowrap;
	}

	.navi li a{
		font-size: 1.1rem;
		line-height: 3.5;
	}
}

/*---------- main-contents ----------*/

.main-contents{
	margin: 0 auto;
}

.contnts-inner{
	margin: 0 auto 10%;
	padding-top: 13%;
}

.innner-title {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 0.5em;
	text-align: center;
	font-size: 1.2rem;
	margin: 3% auto;
	font-weight: 600;
	font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
}

.innner-title span {
	font-size: 0.9rem;
	font-weight: 600;
}

.inner-box{
	display: flex;
	column-gap: 10px;
	flex-wrap: wrap;
}

.inner-box .item {
  width: calc(50% - 5px);
}

.inner-box .item:first-child {
  width: 90%;
	margin: 0 auto;
}

.item{
	margin: 0 auto 5%;
}

.item a{
	display: block;
	text-decoration: none;
	color: #000;
	font-size: .9rem;
	line-height: 1.4;
	margin: 5% auto;
	position: relative;
	font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
	font-weight: 600;
}

.item span::after{
	content: 'tax in';
	display: inline-block;
	margin-left: 5px;
	font-size: .8rem;
}

.item a::after{
	content: "BUY";
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	border: solid 1px #000;
	padding: 0 20px;	
	font-family: "stilson-display-condensed", serif;
	font-weight: 700;
	font-style: normal;
	font-size: .9rem;
}

/* 2個目と3個目の.itemの中のaだけに適用 */
.inner-box .item:nth-child(n+2) a {
  font-size: .7rem;
  text-align: center;
  max-width: 30ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
}

/* 2個目と3個目の.itemの中のa::afterだけに適用 */
.inner-box .item:nth-child(n+2) a::after {
  display: block;
  position: static;
  margin: 15px auto 3%;
  width: 30%;
  padding: 0;
  text-align: center;
  font-family: "stilson-display-condensed", serif;
  font-weight: 700;
  font-style: normal;
}

.all{
	display: block;
	width: 80%;
	margin: 5% auto;
	background-color: #5F5850;
	color: #fff;
	font-size: 1.3rem;
	text-decoration: none;
	text-align: center;
	line-height: 2.6;
	letter-spacing: .05rem;
	border-radius: 4px;
	position: relative;
	font-family: "stilson-display-condensed", serif;
	font-weight: 700;
	font-style: normal;
}

.all:after{
	display: inline-block;
	position: absolute;
	top: 50%;
	right: 15px;
	width: 5px;
	height: 5px;
	border-top: 2px solid #fff;
	border-right: 2px solid #fff;
	content: "";
	transform: translateY(-50%) rotate(45deg);
}

.pd5{
	padding-bottom: 3%;
}

.br_p{
	display: none;
}

@media(min-width:750px){
	.contnts-inner{
		padding-top: 5%;
	}

	.innner-title {
		font-size: 2.5rem;
	}

	.innner-title span {
		font-size: 1.4rem;
	}
	
	.inner-box{
		flex-wrap: nowrap;
		width: 95%;
		margin: 0 auto;
		justify-content: center;
	}

	.inner-box .item {
		width: calc((100% - 20px) / 3);
		margin: 0;
	}

	.inner-box .item:first-child {
		width: calc((100% - 20px) / 3);
		margin: 0;
	 }
	
	.item{
		margin: 0 auto;
	}

	.item a{
		font-size: .8rem;
		line-height: 1.5;
	}

	.inner-box .item:nth-child(n+2) a {
		font-size: .8rem;          /* デフォルトのフォントサイズに戻す */
		text-align: left;           /* 左揃えに戻す */
		max-width: none;            /* 幅の制限を解除 */
		overflow: visible;          /* 見切れ処理を解除 */
		text-overflow: clip;        /* 三項リーダー（...）を解除 */
		white-space: normal;        /* 折り返しを許可 */
	  }

	  /* 2個目と3個目のa::afterの位置も1個目と同じ右端固定（絶対配置）に戻す場合 */
	  .inner-box .item:nth-child(n+2) a::after {
		position: absolute;
		right: 0;
		top: 50%;
		transform: translateY(-50%);
		margin: 0;
		width: auto;
		padding: 0 20px;
	  }

	.all{
		width: 40%;
	}
	
	.br_p{
	display: inline;
}


}











