body{
    width: 80%;
    margin: 0 auto;
}
main{
    margin-top: 50px;
}
h2{
    font-size: x-large;
}
img{
    float: left;
    height: 400px;
    margin-right: 100px;
}
.detail{
    margin-top: 50px;
}
.explain{
    margin-top: 30px;
    letter-spacing: 2px;
    line-height: 25px;
}
.detail_link{
    margin-top: 20px;
    position: relative;
    font-size: 18px;
}
.detail_link::after{
    position: absolute;
    top: 50%;
    margin-top: -9px;
    font-family: 'Material Icons';
    content: "\e313";
    margin-left:  10px;
}
.price{
    margin-top: 30px;
    font-size: xx-large;
}
.price::before{
    font-family: 'Material Icons';
    content: "\eafb";
}

.add_cart{
    display: inline-block;
    text-align: center;
    border-radius: 20px;
    line-height: 10px;
    padding: 10px 20px;
    border: solid 1px orange;
    margin: 20px 0;
}
.add_cart:hover{
    background-color: orange;
    color: white;
    transition: .3s;
}
.detail_table{
    margin-top: 30px;
}
.detail_table h3{
    font-size: larger;
    margin-bottom: 10px;
}
.detail_table table{
    width: 40%;
    margin: 0 auto;
}
.detail_table th{
    font-weight: 100;
    font-size: large;
}
.detail_table th, td{
    padding: 10px 0 5px 0;
}
.detail_table tr{
    border-bottom: solid 1px orange;
}

.slider{
    width:70%;
    margin:0 auto;
  }

.slider img{
    margin: 0 auto;
}


@media screen and (max-width: 480px) {
	/* 480px以下に適用されるCSS（スマホ用） */

    body{
        width: 80%;
        margin: 0 auto;
    }
    main{
        margin-top: 50px;
    }
    h2{
        font-size: x-large;
    }
    .visually-hidden{
        display: block;
    }
    img{
        float: none;
        display: block;
        width: 70%;
        margin: 30px auto 0 auto;
    }   
    
    .add_cart{
        display: block;
        text-align: center;
        width: 60%;
        margin: 30px auto 0 auto;
        border-radius: 20px;
        line-height: 10px;
        padding: 15px;
    }

    .add_cart{
        border: solid 1px orange;
    }
    
    .add_cart:hover{
        background-color: orange;
        color: white;
        transition: .3s;
    }
    
    .detail_table table{
        width: 80%;
        margin: 0 auto;
    }
}
