@charset "UTF-8";

/* フッター最下部表示用 */
body{
	display:flex;
	flex-direction:column;
	min-height:100vh;
}
	
/* 全体 */
main {
	width:100%;
	letter-spacing: 0.05em;
	color: #333333;
	margin: 0 auto;
}

a:hover{
	opacity:0.8;
	transition: 0.3s;
}
/* タイトル */
.title{
	text-align: center;
	margin:4rem 0 4rem;
}

h1 {
	font-size: 2.4rem;
	font-family: 'Roboto', sans-serif;
	padding-bottom: 0.5em;
}
.title p{
	line-height: 1.5em;
	    font-size: 1.1rem;
}
.update{
    text-align: center;
    padding-top: 1em;
}

/* スタイリング 一覧 */

#style_list ul{
	width:98%;
	margin: 0 auto 4rem;
 	 display: flex;
	flex-wrap: wrap;
	max-width: 1200px;
	
}
#style_list ul li{
	width:48%;
	margin:1%;
	position: relative;
}

#style_list ul li:nth-of-type(-n+2)::before {
	font-family: 'Roboto', sans-serif;
    content: "NEW";
    width: 32px;
    height: 32px;
    border-radius: 50%;
    position: absolute;
    top: -15px;
    left: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #f2f2f2;
    background-color: #8b0007;
    opacity: 0.85;
	font-size: 9px;
	transform: rotate( -25deg );
	z-index: 999;
}


#style_list ul li img{
	width:100%;
    object-fit: cover;
    height: 280px;
}

/* スタイリング詳細ページ */

#detail_head{
	width: 90%;
	margin:2rem auto;
	max-width: 1000px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

#detail_head h1{
	 font-size: 1.8rem;
	padding-bottom: 0;
}

#detail_head h1 a{
	color: #333333;
}

#detail_head img{
	width: 2.8rem;
}

#style_wrap{
	width:90%;
	margin: 0 auto 3rem;
	max-width: 1000px;
}
#style_wrap #model{
	max-width: 500px;
	margin: 0 auto 2rem;
	display: block;

}
#style_wrap #model img{
	width:100%;
}

#style_wrap p.cap{
	margin-bottom: 1em;
}

#style_wrap ul{
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

#style_wrap ul li{
	width:30%;
	font-size: 0.9rem;
	margin-bottom: 1em
}

#style_wrap ul::after {
       content: "";
        display: block;
        width: 30%;
        height: 0;
}

#style_wrap ul li img{
	width:100%;
		margin-bottom: 0.5em;

}

p.brand_name,
p.item_name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
	color: #333333;
	padding: 0 0.5em 0.2em;
}


.link{
	color: #333333;
	display: block;
	text-align: center;
	width:50%;
	max-width: 220px;
	margin: 0 auto 4rem;
	border-top:1px solid #333333;
	border-bottom:1px solid #333333;
	padding: 1em 0;

}

/* ------　トップに戻る　------------- */

#page_top{
  width: 4rem;
  height: 4rem;
  position: fixed;
  right: 0;
  bottom: 0;
  background: #999999;
  opacity: 0.6;
}
#page_top a{
  position: relative;
  display: block;
  width: 4rem;
  height: 4rem;
  text-decoration: none;
}
#page_top a::before{
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  content: '\f106';
  font-size: 2rem;
  color: #fff;
  position: absolute;
	width: 2rem;
  height: 2rem;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  text-align: center;
}


footer {
    padding-top: 1em;
  margin-top: auto; /* フッター最下部表示用 */
}

/* 一覧表示画像サイズ */

@media screen and (min-width: 481px) {
#style_list ul li img{
    height: 400px;
}
}

/* */

@media screen and (min-width: 641px) {
	
html{
	font-size: 75%; /*12px*/
}

/* スタイリング 一覧 */
#style_list ul li{
	width:31.3%;
}
	
#style_list ul li:nth-of-type(-n+3)::before {
   width: 35px;
    height: 35px;
	font-size: 10px;
}
	
/* スタイリング詳細ページ */
#detail_head{
	left: 0;
	width: 90%;
	position: relative;

}
#detail_head::after{
	content: "";
    border-bottom: 1px solid #dddddd;
    display: block;
    width: 94%;
    position: absolute;
    bottom: 0;
    right: 0;
}

#detail_head img{
		left: 0
}
#detail_head h1{
    padding:0 0.5em 0.2em 0;
    text-align: right;
	

}

#style_wrap{
	display: flex;
	justify-content: space-between;
	align-items: center;
}
#style_wrap #model{
	width: 60%;
	margin: 0;

}
#style_wrap #model img{
	width: 100%;

}

#style_wrap div#item_wrap{
    width: 32%;
}

#style_wrap ul li{
	width:47%;

}
}

@media screen and (min-width: 961px) {
	

html{
	font-size: 87.5%; /*14px*/

}
/* スタイリング 一覧 */
#style_list ul li{
	width:24%;
	margin:0.5%;
}

#style_list ul li:nth-of-type(-n+3)::before {
   width: 40px;
    height: 40px;
	font-size: 11px;
}

/* スタイリング詳細ページ */
	
#style_wrap ul li{
	width: 28%;
}
	
#style_wrap #model{
	width: 50%;
}
	
#style_wrap div#item_wrap{
	width: 50%;
	padding: 0 0 0 8%;
}
}

