@charset "UTF-8";

.mag-flex {
    padding: 0 0 50px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.mag-contents {
    max-width: 840px;
}

.mag-head h1 {
    margin: 5px 0 5px 0;
}

@media (min-width:768px) {
    .mag-head h1 {
        margin: 0 0 5px 0;
    }
}

.mag-head-info {

    padding: 0 0 5px;
    margin: 0 0 10px 0;
    border-bottom: solid 1px #dd5300;
}

.mag-head-category {
    border: solid 1px #dd5300;
    color: #dd5300;
    padding: 2px 7px;
    font-size: 14px;
    margin: 0 10px 0 0;
}

@media (min-width:768px) {
    .mag-head-info {
        display: flex;
        flex-wrap: wrap;
        padding: 0 0 5px;
        margin: 0 0 10px 0;
        border-bottom: solid 1px #dd5300;
    }

    .mag-head-category {
        border: solid 1px #dd5300;
        color: #dd5300;
        padding: 2px 7px;
        font-size: 14px;
        margin: 0 10px 0 0;
    }
}

.mag-head-category:hover {
    color: #dd5300;
    opacity: .7;
}

.mag-head-category:visited {
    color: #dd5300;
}

.date {
    margin: 0 10px 0 0;
    opacity: .7;
}

.mag-img img {
    height: 200px;
    width: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    margin: 0;
}

@media (min-width:768px) {
    .mag-img img {
        width: 840px;
        height: 400px;
        margin-bottom: 30px;
    }
}

.mag-text h2 {
    padding: 16px;
    margin: 50px 0 10px 0;
    border-left: solid 5px #dd5300;
    font-weight: 700;
}

.mag-text h3 {
    font-size: 20px;
    margin: 2em 0 0 0;
    font-weight: 700;
    padding: 10px;
    border-bottom: solid 1px #dd5300;
}

/*.mag-text h3::before {
    content: '●';
    color: #dd5300;
}*/
.mag-text p {
    line-height: 1.8;
    margin: 1em 0;
    font-weight: 400;
    padding-left: 10px;
}

.mag-text a {
    text-decoration: underline;
    font-size: 18px;
    color: #333333;
}

.mag-text a:hover {
    opacity: .8;
}

.mag-text a:visited {
    color: #333333;
}

.mag-bg {
    background: #f5fbff;
    padding: 10px;
    line-height: 2;
    max-width: 600px;
}

.mag-bg a {
    color: #3572b0;
    font-size: 14px;
}

.mag-bg a:visited {
    color: #3572b0;
}

.mag-side {
    width: 324px;
}

/*商品カード*/
.mag-product {
    margin: 20px 0 30px 0;
    padding-left: 10px;
}

.mag-product-head {
    margin-bottom: 10px;
}

.mag-rank {
    background: #949494;
    display: inline-block;
    padding: 2px 10px;
    font-weight: 700;
}

.mag-rank-1 {
    background: #e1b827;
    color: #fff;
}

.mag-rank-2 {
    background: #AEADB2;
    color: #fff;
}

.mag-rank-3 {
    background: #D19C76;
    color: #fff;
}

.mag-product h4 {
    font-size: 18px;
    font-weight: 700;
    display: inline-block;
}

.mag-product-card {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.mag-product-img img {
    width: 100%;
    height: auto;
    margin: 0;
}

@media (min-width:768px) {
    .mag-product-img img {
        width: 320px;
        height: 320px;
        -o-object-fit: cover;
        object-fit: cover;
        margin: 0 30px 0 0;

    }
}

.mag-product-text {
    width: 400px;
}

.mag-product-text a {

    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    text-align: center;
    color: #fff !important;
    line-height: 1;
    position: relative;
    font-size: 14px;
    font-weight: bold;
    border-radius: 50px;
    padding: 13px 20px 13px 15px;
    width: 244px;
    display: block;
    text-decoration: none;
    background-color: #dd5300;
}

.mag-product-text a:after {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    right: 14px;
    width: 8px;
    height: 8px;
    border-right: 1px solid #fff;
    border-top: 1px solid #fff;
    z-index: 3;
    border-radius: 0px;
    -webkit-transform: translate(0, -50%) rotate(45deg);
    transform: translate(0, -50%) rotate(45deg);
    border-right: 2px solid #fff;
    border-top: 2px solid #fff;
}

.mag-product-text p {
    margin: 0 0 1em 0;
    padding-left: 0;
}

.mag-side-img img {
    width: 324px;
    height: 200px;
    -o-object-fit: cover;
    object-fit: cover;

}

.mag-list li {
    margin-bottom: 20px;
}

.mag-list li a {
    color: #3572b0;
}

.mag-list li a:hover {
    color: #3572b0;
    opacity: .7;
}

.side-head h4 {
    font-size: 20px;
    padding: 0 0 10px 0;
    position: relative;
    text-align: center;
    margin-bottom: 20px;
}

.side-head h4:before {
    content: '';
    position: absolute;
    width: 120px;
    height: 1px;
    background: #dd5300;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
}

.mag-button {

    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    text-align: center;
    color: #fff !important;
    line-height: 1;
    position: relative;
    font-size: 14px !important;
    font-weight: bold;
    border-radius: 50px;
    padding: 13px 20px 13px 15px;
    width: 300px;
    display: block;
    text-decoration: none !important;
    background-color: #dd5300;
}

.mag-button:after {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    right: 14px;
    width: 8px;
    height: 8px;
    border-right: 1px solid #fff;
    border-top: 1px solid #fff;
    z-index: 3;
    border-radius: 0px;
    -webkit-transform: translate(0, -50%) rotate(45deg);
    transform: translate(0, -50%) rotate(45deg);
    border-right: 2px solid #fff;
    border-top: 2px solid #fff;
}

.mag-footer {
    padding: 10px 0 50px 0;
    border: solid 1px #333333;
    box-shadow: 3px 3px 0 0 #333333;
}

.mag-footer-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: start;
    padding: 0 0 20px 0;
}

.mag-footer-list li {
    width: 50%;
}

@media (min-width:768px) {
    .mag-footer-list li {
        width: calc(100% / 3);
    }
}

.mag-footer-list li a {
    color: #3572b0;
}

.mag-footer-list li a:hover {
    color: #3572b0;
    opacity: .7;
}

.mag-footer-list li a:visited {
    color: #3572b0;
}

.mag-footer-list li p {
    width: 100%;
}

.mag-footer-list li {
    padding: 0 2% 30px 2%;
}

.mag-footer-list li:nth-child(2n) {
    padding: 0 2% 30px 0;
}

@media (min-width:768px) {
    .mag-footer-list li:nth-child(3n) {
        padding: 0 2% 30px 0;
    }
}

.mag-footer-img img {
    width: 100%;
    height: 120px;
    -o-object-fit: cover;
    object-fit: cover;

}

.mag-footer-head-ttl {
    font-size: 20px;
    text-align: center;
    margin: 40px;
    padding: 0 0 10px 0;
    position: relative;
}

.mag-footer-head-ttl::before {
    content: '';
    position: absolute;
    height: 1px;
    width: 120px;
    background: #dd5300;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
}


/*1200px以下でサイド非表示*/
@media (max-width:1439px) {
    .mag-side {
        display: none;
    }
}

@media (max-width:1023px) {
    .mag-product {
        margin: 20px 0 60px 0;
        padding: 0 10px 0;
    }
}

.toc {
    max-width: 600px;
    border: solid 1px #dd5300;
    margin: 0 0 40px 0;
}

.toc h3 {
    border: none;
    margin: 20px 0 20px 0;
    padding: 0 0 10px 0;
    text-align: center;
    font-size: 24px;
    position: relative;
}

.toc h3::before {
    content: '';
    width: 80px;
    height: 1px;
    background: #dd5300;
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);

}

.toc ol {
    padding: 0 15px;
    counter-reset: my-counter;
}

.toc ol li {
    margin: 0 0 20px 0;
    padding: 0 0 0 40px;
    position: relative;
    counter-increment: order;
    font-weight: 700;
    font-size: 22px;
}

.toc ol li:before {
    content: counter(order, decimal-leading-zero);
    color: #dd5300;
    position: absolute;
    left: 0;
    top: 2px;
}

.toc ol li a {
    text-decoration: none;
    font-size: 16px;
}

.toc-child li a {
    font-size: 16px !important;
}

.toc ol li ul li {
    counter-increment: none;
    position: relative;
    padding: 0 0 0 20px;
    margin: 0 0 10px 0;
    font-weight: 400;
    line-height: 1.2;
}

.toc ol li ul li:before {
    content: '';
    width: 10px;
    height: 4px;
    transform: scaleY(.5);
    background: #dd5300;
    position: absolute;
    top: 15px;
    left: 4px;
}

@media (min-width:768px) {
    .toc ol {
        padding: 0 0 0 30px;
        counter-reset: my-counter;
    }
}

.mag-title {
    margin: 24px 0 50px 0;
}

@media (min-width:1024px) {

    .mag-title {
        margin: 0 0 50px;
    }
}

.mag-title img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    opacity: .3;
}

.mag-title h1 {
    text-align: center;
    font-weight: 700;
    position: relative;
    padding: 10px;
}

.mag-title h1:before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 100px;
    height: 1px;
    background: #dd5300;
    transform: translateX(-50%) translateY(-50%);
}

/*一覧ページのデザイン*/
.mag-table li {
    width: 100%;
    margin: 0 0 30px 0;
}

.mag-table img {
    height: 200px;
    width: 100%;
    object-fit: cover;
    margin: 0 0 10px;
}

.mag-table p {
    margin: 0 0 5px 0;
}

@media (min-width:768px) {
    .mag-table {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .mag-table li {
        width: 49%;
    }
}

.mag-table {
    width: 100%;
}

@media (min-width:1440px) {
    .mag-table {
        width: 840px;
    }
}

.mag-table li a {
    color: #333333;
}

.mag-table li a:hover {
    color: #333333;
    opacity: .7;
}

.mag-table li p span {

    border: solid 1px #dd5300;
    color: #dd5300;
    padding: 2px 5px;
    font-size: 14px;
    margin: 0 10px 0 0;
}
@media (min-width:768px) {
.mag-table-style {
    border: solid 1px #ddd;
}
.mag-table-style th {
    background-color: #faf3e0;
    min-width: 194px;
    border: solid 1px #ddd;
}
.mag-table-style td {
    margin: 0;
    padding: 25px;
    border: solid 1px #ddd;
}
}

.mag-table-style {
    border: solid 1px #ddd;
    margin-bottom: 20px;
}

.mag-table-style th {
    background-color: #faf3e0;
    padding: 25px 5px;
    border: solid 1px #ddd;
}

.mag-table-style td {
    margin: 0;
    padding: 25px;
    border: solid 1px #ddd;
}