@charset "UTF-8";

.w500 {
width:500px !important;
margin:20px auto;
}

.mat200 {margin-top:200px !important;}
.head_m	{margin: 0px auto 50px;}

.ranking_content	{margin:10px;float:left;
}
.ranking_content img {
width:250px;
padding-right:10px;
padding-bottom:20px;
}

.rank_badge {
background: #ff9c00;
color: #ffffff;
font-weight: 700;
font-size: 32px;
text-align: center;
padding: 10px 10px 5px;
border-radius: 8px 8px 0 0;
margin-top:10px;
}


.purchase_prise5 {
font-size: 64px;
font-weight: 700;
color: #ec0d0d;
position: relative;
z-index: 3;
padding-right: 10px;
font-family: Oswald;
white-space: nowrap;

}

.purchase_prise5 span {
font-size: 24px;
font-weight:900;
font-family: Oswald;

}

.purchase_prise6{
font-size: 24px;
color: #ec0d0d;
font-weight:700;
padding-top:60px;
}

.graph_title	{
font-size:36px !important;
font-weight:700 !important;
text-align:center;
}

.pack img {width:100px;}

@media (max-width:768px) {

.mat200 {margin-top:100px !important;}
.head_m	{margin: -100px auto 50px;}

.ranking_content img {
width:150px;
padding-right:0px;
margin-left:-20px;
}

.rank_badge {
font-size: 18px;
padding:10px;
}

.purchase_prise6{
font-size: 18px;
padding-top:30px;
}

.purchase_prise5 {
font-size: 360%;
font-weight: 700;
}

.purchase_prise5 span {
font-size: 18px;
}

.purchase_prise5::before {
height:20px;
bottom:-4px;
background-image:url(../images/common/line_price.webp);
background-size:100%;
left:0px;
}

.graph_title	{
font-size:18px !important;
}

.pack img {width:60px;}

}



/*カード情報*/
#card_info {
border: 2px solid #a0a0a0;
border-radius:20px;
padding:20px 30px;
width:950px !important;
margin-bottom:50px;
}

#card_info span{
font-weight:700;
}

#card_info p{
padding:0 20px;
}

.ci1	{
background:#ff6685;
padding:5px 10px;
margin:20px 0 10px;
font-size:18px;
font-weight:700;
color:#ffffff;
width:100px;
text-align:center;
}
.ci2	{
background:#c3f3ef;
padding:5px 10px;
margin:20px 0;
font-size:18px;
font-weight:700;
color:#000000;
width:270px;
text-align:center;
}

#card_info dl 	{
padding:0 20px;
line-height:1.6;
}


#card_info dt	{
font-weight:700;
float:left;
display:flex;
padding-top:7px;

}

#card_info dd	{
padding-top:7px;
}
#card_info dd::before {
content: "： ";
font-weight:700;
display: inline-block;
}

#card_info li	{
padding:0 20px;
}

#card_info li:first-child	{
margin:20px 0 0;
}



.factor	{
font-weight:700;
font-size:18px;
color:#ffffff;
background:#a0a0a0;
width:110px;
height:30px;
margin-left:20px;
line-height:1.8;
}

@media (max-width: 768px) {

#card_info {
margin:5px;
border-radius:15px;
padding:15px;
width:100% !important;
margin-bottom:20px;

}



#card_info p{
padding:0 10px;
}

.ci1	{
font-size:14px;
width:90px;
}
.ci2	{
margin:20px 0;
font-size:14px;
width:210px;
}

#card_info dl 	{
padding:0 10px;
line-height:1.4;

}
.factor	{
font-size:14px;
width:100px;
height:25px;
margin-left:10px;
line-height:1.8;
}

}



/* グラフ */
.graph-area section {
    width: 85%;
    padding-top: 2rem;
    padding-bottom: 0;
}

.graph-title > h2 > span {
	word-break: auto-phrase;
}

.graph-change {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.graph-change-button {
    display: block;
    width: 100px;
    text-align: center;
    line-height: initial;
    padding: 5px 30px;
    margin: 0 30px;
    border: solid 1px #ff6685;
    border-radius: 5px;
    cursor: pointer;
    font-weight:bold;
    color:#ff6685;
}

.graph-change-button:hover {
    background: #efefef;
}

.graph-change-button.selected {
    color: #ffffff;
    background: rgb(255,102,133);
    cursor: default;
}

.graph-content {
    width: 80%;
    height: 600px;
    margin: 50px auto 0px auto;
}

.graph-recent {
    padding: 20px 0;
    display: flex;
    justify-content: center;
    background:#ffeaee;
    border-radius:10px;
    width: 80%;
    margin:30px auto 0;
}

.graph-recent table {
    width: 92%;
    table-layout: fixed;
}

.graph-recent .series-color {
    width: 5%;
    text-align: center;
    vertical-align: middle;
}

.graph-recent .series-title {
    padding: 10px;
    word-break: break-all;
    width: 80%;
}

.graph-recent .series-price {
    width: 15%;
    color: #ff124c;
    text-align: center;
    vertical-align: middle;
}

.graph-recent .series-color .detail-series {
    border: solid;
    color: #ff0000;
    width: 30px;
}

.graph-recent .series-color .avg-series {
    border: solid;
    color: #87CEEB;
    width: 30px;
}

.graph-recent .detail-graph-recent,
.graph-recent .avg-graph-recent {
    display: flex;
}

.graph-recent .detail-graph-recent div:nth-child(1):before {
    content: '';
    background-color: #FF0000;
    height: 5px;
    width: 50px;
    margin-right: 10px;
    vertical-align: middle;
    display: inline-block;
}

.graph-recent .avg-graph-recent div:nth-child(1):before {
    content: '';
    background-color: #87CEEB;
    height: 5px;
    width: 50px;
    margin-right: 10px;
    vertical-align: middle;
    display: inline-block;
}

.graph-recent .detail-graph-recent div:nth-child(2),
.graph-recent .avg-graph-recent div:nth-child(2) {
    text-align: end;
    color: #ff124c;
    font-weight: bold;
    margin-left: 20px;
}

/* 価格推移のコメント */
.price-trends-area {
    display: flex;
    justify-self: center;
    padding: 3rem 0;
}

.price-trends-area div:nth-child(1) {
    width: 740px;
}

.price-trends-area div:nth-child(2) {
    width: 20px;
}
.price-trends-area div:nth-child(3) {
    width: 200px;
}

.price-trends-area div strong {
    color: #ff124c;
    font-weight: bold;
}

.price-trends-area .increase-trend,
.price-trends-area .declining-trend, 
.price-trends-area .same-trend {
    border:2px solid #ff6685;
    border-radius:10px;
    padding:22px;
    line-height:1.7em;
}

.price-trends-area .trend-img,
.price-trends-area .trend-img2 {
    align-content: center;
}

.price-trends-area .trend-img img{
    width:160px;
    padding-left:20px;
}

.price-trends-area .trend-img2 img{
    width:20px;
}


@media (max-width: 768px) {
    /* グラフ */
    .graph-area section {
        width: 110%;
        padding: 10px 10px 0px 10px;
        margin-left:-17px;
    }

    .graph-change {
        margin-top: 10px
    }
    .graph-change-button {
        width: 70px;
        margin: 5px;
        padding: 15px 10px;
    }

    .graph-content {
        width: 100%;
        height: 400px;
        margin: 10px auto 0px auto;
    }

	.graph-recent {
	    padding: 10px 0;
	    width: 100%;
	    margin:20px auto 0;
	}

	.graph-recent table {
	    width: 92%;
	    table-layout: fixed;
	}
	
	.graph-recent .series-color {
	    width: 10%;
	    text-align: center;
        vertical-align: middle;
	}
	
	.graph-recent .series-title {
	    padding: 10px;
	    word-break: break-all;
	    width: 70%;
	}
	
	.graph-recent .series-price {
	    width: 20%;
	    color: #ff0000;
	    text-align: center;
        vertical-align: middle;
	}
	
	.graph-recent .series-color .detail-series {
	    border: solid;
	    color: #ff0000;
	    width: 30px;
	}
	
	.graph-recent .series-color .avg-series {
	    border: solid;
	    color: #87CEEB;
	    width: 30px;
	}

    .graph-recent .detail-graph-recent,
    .graph-recent .avg-graph-recent {
        display: block;
        margin-top: 5px;
        word-break: keep-all;
    }

	/* 価格推移のコメント */
	.price-trends-area {
	    display: block;
	}

	.price-trends-area div:nth-child(1) {
	    width: 100%;
	    margin:0 auto;
	}

	.price-trends-area div:nth-child(2) {
	    width: 100%;
	    margin:0 auto;
	}
	.price-trends-area div:nth-child(3) {
	    width: 100%;
	    margin:0 auto;
	}

	.price-trends-area div strong {
	    color: #ff124c;
	    font-weight: bold;
	}

	.price-trends-area .increase-trend,
	.price-trends-area .declining-trend, 
	.price-trends-area .same-trend {
	    border:2px solid #ff6685;
	    border-radius:10px;
	    padding:15px;
	    line-height:1.7em;
	}

	.price-trends-area .trend-img img{
	    width:140px;
	    margin:-10px 28%;
	}

	.price-trends-area .trend-img2 img{
	    width:20px;
	    margin:-10px 48% 0;
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
	}
}