/*--- ↓スマホ用↓ ---*/ 
s {
    text-decoration-color: red;
    text-decoration-style: double;
}

#overview {
    padding: 0;
    margin: 0 1rem 5rem ;
 }
 
#overview h2 {
    font-size:1.6rem;
    margin:3rem 0 0 0 ;
}

#purchase h3 {
    font-size: 2.0rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px #333 solid;
}

/*テーブル*/
#purchase table {
    border-right: 1px solid #aaa;
    border-left: 1px solid #aaa;
    border-bottom: 1px solid #aaa;
    border-collapse: collapse;
    width: 95%;
    margin: 0.5rem auto 1rem auto;
}

#purchase table .price_unit_sub {
    margin-left: 1rem;
}

/* 無効 */
#purchase thead {
    display: none;
}

#purchase tr {
    border-collapse: collapse;
    margin-bottom:3rem;
}

#purchase td {
    border-collapse: collapse;
    height: auto;
    text-align: center;
    padding: 0.5rem 0rem 0.5rem 0rem;
    background: #fff;
    box-shadow: 0px -3px 5px 1px #eee inset;
    line-height: 2rem;
    display: block;
}

#purchase td:nth-child(1) {
    box-shadow: 0px -3px 5px 1px #ddd inset;
    border-top: 1px solid #aaa;
    border-bottom: 1px solid #aaa;
    background: linear-gradient(#FFFFFF, #FF9933);
}

#purchase td:nth-child(2) {
    margin: 0 0 0 0;
    box-shadow: 0px 3px 5px 1px #eee inset;
    padding-top: 1rem;
}

#purchase td:nth-child(3) {
    padding-bottom:2rem;
}

#purchase ul {
    margin-top: 0;
    padding-left: 2rem;
}

#purchase ul a {
    position: relative;
    display: inline-block;
}

#purchase .see_cart {
    text-align: right;
    margin-right:1.8rem;
}

.notes li {
    margin-bottom: 0.25rem;
}

/*-- セール情報 --*/
.sale-info {
    margin-left: 2.5rem;
    font-weight: bold;
    color: red;
}

/*-- ↓タブレット用↓ --*/
@media screen and (min-width: 641px) {

    #contents h2 {
        position: relative;
    }

    #contents h2::before {
        top: 3px;
        left: 120px;
        color: #99CCFF;
    }

    #contents h2::after {
        font-size: 2.4rem;
        content: "□";
        position: absolute;
        margin-left: 1rem;
        top: -5px;
        left: 110px;
        color: #3366FF;
    }
    
    #contents h2::before, #features h2::after {
        font-size: 2.4rem;
        content: "□";
        position: absolute;
        margin-left: 1rem;
    }
	
	#overview {
	   margin: 0 2rem 6rem ;
	}

    /*--- ↓テーブル↓---*/

    #overview .sale {
        text-align: left;
        margin: 0rem 0rem 1rem 7rem;
        font-size: 1.7rem;
    }
    
    #purchase table {
        border: 1px solid #aaa;
        margin: 0rem auto 0.5rem auto;
        width: 730px;

    }

    #purchase table .price_unit_sub {
        margin-left: 1rem;
    }

    #purchase thead {
		display:table-header-group;
	}
	
    #purchase thead th {
        height: 3rem;
        vertical-align: middle;
        border: 1px solid #aaa;
        text-align: center;
        background: linear-gradient(#FFFFFF, #FF9933);
        box-shadow: 0px -3px 5px 1px #bbb inset;
    }

    #purchase td {
        height: 7rem;
        border: 1px solid #aaa;
        text-align: center;
        padding: 1rem 0rem 1rem 0rem;
        background: #fff;
        box-shadow: 0px -3px 5px 1px #eee inset;
        line-height: 2rem;
		display:table-cell;
    }
    
    #purchase table tbody tr td:nth-child(1) {
        background: #FAFAFA;
        box-shadow: 0px -3px 5px 1px #ddd inset;
        width: 130px;
    }

    #purchase table tbody tr td:nth-child(3) {
		padding-bottom:1rem;
        width: 250px;
    }

    #purchase ul a::after {
        position: absolute;
        bottom: -0.2rem;
        left: 0;
        content: '';
        width: 100%;
        height: 0.1rem;
        background: #3366FF;
        opacity: 0;
        visibility: hidden;
        transition: .2s;
    }

    #purchase ul a:hover::after {
        bottom: 0.2rem;
        opacity: 1;
        visibility: visible;
    }

}

/*-- ↑ここまでタブレット用↑ --*/

/*-- PCベース 共通 (1025px 以上)--*/ 
@media screen and (min-width: 1025px) {

    #contents h2 {
        padding-left: 5rem;
        text-align: left;
    }

    #contents h2::before {
        left: 13px;
    }

    #contents h2::after {
        font-size: 2.7rem;
        margin-left: 1rem;
        left: 2px;
    }
    
    #contents h2::before, #features h2::after {
        content: "□";
        position: absolute;
        margin-left: 1rem;
    }

	/* -- テーブル -- */
	#purchase table {
        width: 853px;
	}

}
