@charset "UTF-8";

/* 全体 */

html{
	font-size:62.5%;
}

body{
	background-color:#fff;
}

img{
	height:auto;
	max-width:100%;
}

#wrapper{
	width:100%;
}

.top-img img{
	width:100%;
}

.pc{
	display:block;
}

.sp{
	display:none;
}

/* 全体の文字とリンク */
h1, h2, h3, h4, p, ul li, a, dt, dd{
	line-height:2.5;
	letter-spacing:3px;	
	overflow-wrap: break-word;
	text-align: justify;
}

ul li{
	list-style-type: none;	
}

a, li, .bflink{
	color:#000;	
}


h1, h2, h3{
	font-family: 'Roboto', sans-serif;
}

p, ul li, a{
	font-family: 'Noto Sans JP', sans-serif;
}

a{
	text-decoration:none;
}

/*inview*/

.fadeIn {
  opacity: 0;
  transition: 2s;
}
.fadeIn.is-show {
  opacity: 1;
}

.fadeIn_up {
  opacity: 0;
  transform: translate(0, 20%);
  transition: 1.5s;
}
.fadeIn_up.is-show {
  transform: translate(0, 0);
  opacity: 1;
}

/*ヘッダーの装飾*/

.ribbon{
	width:130px;
	height:170px;
	z-index:5;
	position:fixed;
	top:0;
	right:10%;
	background: #c9bc9c;
	opacity:0.9;
}

.ribbon:before {
    content: "";
    top:170px;
    right:0;
    border-style: solid;
    border-style: solid;
    border-color: transparent #c9bc9c transparent #c9bc9c;
    border-width: 0 65px 50px 65px;
    position: absolute;
    z-index: 10;
}

.ribbon:after {
   content:"";
   display: inline-block;
   width:100px;
   height:100%;
   padding:1em;
   top:30px;
   text-align:center;
   right: 13%;
   position: absolute;
   z-index: 11;
   background-image: url("../img/ribbon_logo.svg");
   background-size: contain;
   vertical-align: middle;
}

#wrapper{
	width:100%;
}

.first-wrapper{
	width:800px;
	margin:30px auto;
	padding:40px 0 60px;
}

.first-wrapper p{
	font-size:1.3rem;
}

.item-wrapper{
	padding:40px 0 60px;
	margin-bottom:30px;
}

.title-img{
	width:900px;
	margin:40px auto 30px;
	padding:50px 0 30px;
	box-sizing: border-box;
}

.second-wrapper{
	width:800px;
	margin:40px auto;
	box-sizing: border-box;
}

.title{
	width:100%;
	padding:5px 0 5px 20px;
	box-sizing: border-box;
	background-color: #c9bc9c;
	color:#fff;
}

.title h1{
	font-size:3rem;
}

.title h2{
	font-size:2rem;
}

.slide-box{
	width:500px;
	margin:20px auto;
	padding:30px 0;
}

.renewal-box{
	padding:20px 0;
	margin:40px 0;
	box-sizing: border-box;
}

.point-box{
	padding:20px;
	box-sizing: border-box;
	margin:10px 0;
}

.point-box h3{
	font-size:3rem;
}

.point-flex{
	display:flex;
	height: auto;
	align-items: center;
	justify-content: space-between;
	flex-flow: wrap;
}

.flex-img{
	width:48%;
}

.flex-caption{
	width:50%;
}

.flex-caption p{
	font-size:1.3rem;
}

.styling-box{
	padding:20px 0;
}

.item-information{
	width:500px;
	margin:auto;
}

.item-information h2{
	font-size:2rem;
	text-align: center;
}

.item-name ul li, .item-name .date{
	font-size:1.2rem;
	text-align: center;
}

.item-name .date{
	padding:10px 0;
}

/* 新しいアイテムリスト（BUY） */
.new-item-list{
	width:100%;
	box-sizing: border-box;
}

.new-item-list li{
	font-size:1.1rem;
	margin:7px 0;
	text-align:initial;
}

.notbuy{
	color:#808080;
}

.text-buy{
	text-decoration: underline;
}

.text-buy:link, .text-buy:visited{
	color:#000000;
}

.text-buy:hover{
	color:#cccccc;
	-webkit-transition: all .3s;
	transition: all .3s;
}

.buy_button {
  display: inline-block;
  width: 50px;
  font-size:1.1rem;
  font-weight:bold;
  text-align: center;
  text-decoration: none;
  outline: none;
  background-color: #333;
  color: #fff;
}
.buy_button::before,
.buy_button::after {
  position: absolute;
  z-index: -1;
  display: block;
  content: '';
}
.buy_button,
.buy_button::before,
.buy_button::after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all .3s;
  transition: all .3s;
}

.buy_button:hover {
  background-color: #364f72;
}

/*ONLINEのボタン*/

.mid_button a{
	height:100%;
	display: block;
	width:200px;
	margin:30px auto;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
}

.itempage{
	color:#fff;
	font-weight:900;
}

.button_box p{
	margin-top:0!important;
	text-align: center!important;
	font-size:1.2rem!important;
}

.online_button{
	width:200px;
	padding:10px 5px;
}

.online_button{
	background-color:#364f72;
}


.online_button:hover{
	background-color:#4E709F;
	-webkit-transition: all .3s;
	transition: all .3s;
}


/*戻るボタンの設定*/

.mid-wrapper{
	width:800px;
	margin:0 auto;
	padding-top:30px;
}

.category-link{
	width:800px;
	margin:0 auto;
}

.big_button a{
	height:100%;
	display: block;
	width:500px;
	margin:70px auto 30px;
	-webkit-border-radius: 30px;
	-moz-border-radius: 30px;
	border-radius: 30px;
}

.back, .category{
	color:#fff;
	font-weight:900;
	font-size:1.4rem;
	text-align: center!important;
}

.back_button, .cate_button{
	width:240px;
	padding:10px 5px;
	text-align: center;
}

.back_button{
	background-color:#364f72;
}

.back_button:hover{
	background-color:#4E709F;
	-webkit-transition: all .3s;
	transition: all .3s;
}

/*フッター*/
footer{
	width:100%;
	margin-top:50px;
}

#footer{
	width:100%;
	padding:30px;
	margin:0 auto;
	text-align: center;
	box-sizing: border-box;
}

#footer a img{
	width:60px;
	margin-bottom:20px;
}

.credit{
	font-size:1rem;
	text-align: center;
}

.footer a:link, .footer a:visited{
	text-decoration:none;
}

/*戻るボタン*/
#p-top {
	display:block;
	background:url("../img/gototop.png") #604c3f no-repeat;
	background-position: center;
    position: fixed;
    bottom: 3%;
    right: 2%;
	z-index:1000;
	padding:2.5%;
	filter:alpha(opacity=70);
    -moz-opacity: 0.7;
    opacity: 0.7;
}

#p-top:hover {
	filter:alpha(opacity=50);
    -moz-opacity: 0.5;
    opacity: 0.5;
}


/*タブレット*/

@media screen and (max-width: 768px){

	.ribbon{
		width:100px;
		height:115px;
		right:2.5%;
	}
	
	.ribbon:before {
		content: "";
		top:114px;
		border-width: 0 50px 50px 50px;
	}

	.ribbon:after {
	   width:75px;
	   top:20px;
	   right: 10%;
	}
	
	.first-wrapper, .title-img, .second-wrapper{
		width:600px;
	}
	
	.slide-box{
		width:450px;
	}
	
	.flex-caption p{
		font-size:1.2rem;
	}
	

}

/*スマホ*/

@media screen and (max-width:640px){

	.pc{
		display:none;
	}

	.sp{
		display:block;
	}
	
	.ribbon{
		width:76px;
		height:90px;
		right:2.5%;
	}
	
	.ribbon:before {
		content: "";
		top:89px;
		border-width: 0 38px 30px 38px;
	}

	.ribbon:after {
	   width:55px;
	   top:10px;
	   right:13%;
	}
	
	.first-wrapper, .title-img{
		width:300px;
	}
	
	.second-wrapper{
		width:320px;
	}
	
	.first-wrapper{
		padding:40px 0;
	}

	.title-img{
		margin:40px auto 30px;
		padding:30px 0;
	}
	
	.title h1{
		font-size:2rem;
		text-align: left!important;
	}
	
	.sp-small{
		font-size:1.8rem!important;
	}
	
	.title h2{
		font-size:1.6rem;
	}

	.slide-box{
		width:300px;
		margin:20px auto;
		padding:20px 0;
	}
	
	.point-box{
		padding:10px;
	}
	
	.point-box h3{
		font-size:2.3rem;
	}

	.point-flex{
		display:block;
	}

	.flex-img, .flex-caption{
		width:100%;
		margin-bottom:20px;
	}
	
	.flex-caption{
		box-sizing: border-box;
		padding:0 10px;
	}

	.item-information, .big_button a{
		width:300px;
	}
	
	.credit{
		font-size:0.8rem;
	}

	#p-top{
		padding:7%;
	}


}

/* CSS Document */

