@charset "UTF-8";
/* CSS Document */

@import "common.css";

/* PUBLICATION */

.contents-header {
    background: url("../publication/images/header-img.jpg") center/cover no-repeat;
    height: 280px;
}
#contents {
    background: none;
}
section {
    margin-bottom: 20px;
}
#lead {
    margin: 60px auto;
    line-height: 1.5;
    max-width: 1000px;
    width: 86%;
    margin-bottom: 20px;
}
.noborder {
    border: none;
}
.btn {
    margin: 40px auto;
    display: table;
    width: 86%;
    text-align: center;
}
.btn-grey::after {
    transform: rotate(90deg);
}
.external-link {
    margin-top: 20px;
    display: flex;
    align-items: center;
}
.external-link a {
    font-weight: 500;
    position: relative;
}
.external-link::after {
    content: "";
    background: url("../common/images/arrow.svg") no-repeat;
    width: 8px;
    height: 14px;
    display: inline-block;
    filter: invert(26%) sepia(0%) saturate(1385%) hue-rotate(150deg) brightness(32%) contrast(83%);
    position: relative;
    left: 20px;
}
#pickup {
    position: relative;
    margin: 80px auto;
    max-width: 1000px;
    width: 86%;
}
#pickup h3 {
    font-size: 1.6rem;
    text-align: left;
    display: block;
    margin: 20px 0;
    font-weight: 500;
}
.pickup-icon {
    display: inline-block;
    background-color: var(--notice-color);
    color: var(--sub-color);
    padding: 3px 8px;
    font-size: 1.2rem;
    border-radius: 5px;
    position: absolute;
    right: 0;
}
.pickup-block {
    border-bottom: 1px solid var(--main-color);
    border-top: 1px solid var(--main-color);
    padding: 40px 60px;
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
    align-items: flex-start;
}
figure {
    display: flex;
    align-items: flex-start;
    position: relative;
}
#pickup figure img {
    width: 160px;
    margin-right: 30px;
}
#pickup figcaption {
    width: 170px;
}

.soldout {
    position: absolute;
    background-color: var(--notice-color);
    color: var(--sub-color);
    font-weight: 500;
    font-size: 1.4rem;
    padding: 15px 10px;
    border-radius: 60px;
    left: 65px;
    top: 10px;
    width: 50px;
    height: 50px;
    text-align: center;
}
.few {
    position: absolute;
    background-color: var(--notice-color);
    color: var(--sub-color);
    font-weight: 500;
    font-size: 1.3rem;
    padding: 10px 10px;
    border-radius: 60px;
    left: 65px;
    top: 10px;
    line-height: 1.2;
    width: 50px;
    height: 50px;
    text-align: center;
}
.end {
    position: absolute;
    background-color: var(--maingrey-color);
    color: var(--sub-color);
    font-weight: 500;
    font-size: 1.3rem;
    padding: 10px 10px;
    border-radius: 60px;
    left: 65px;
    top: 10px;
    line-height: 1.2;
    width: 50px;
    height: 50px;
    text-align: center;
}
.sp-price {
    background-color: var(--notice-color);
    color: var(--sub-color);
    padding: 5px 10px;
    display: inline-block;
    margin: 10px 0;
}
.issue {
    font-size: 1.2rem;
    color: var(--maingrey-color);
    margin-bottom: 10px;
    display: inline-block;
}
figcaption {
    border: 1px solid var(--main-color);
    font-size: 1rem;
    padding: 20px 30px;
    line-height: 1.6;
    font-weight: 500;
    text-align: left;
    width: 220px;
}
figure img {
    width: 100px;
    margin-right: 40px;
    border: 1px solid var(--maingrey-color);
    box-sizing: border-box;
    position: relative;
}
.dummy::after {
    content: "";
    width: 100px;
    height: 100%;
    background-color: #ccc;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}
h4 {
    color: var(--point-color);
    font-weight: 500;
    font-size: 1.4rem;
    margin-bottom: 20px;
    line-height: 1.2;
}
.txt-block {
    font-size: 1.2rem;
    line-height: 1.6;
    padding-left: 50px;
    width: 80%;
}
.txt-block p:nth-child(n+3)  {
    margin-top: 10px;
}
.toggle {
    display: none;
}
.head,
.content {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
    transition: all 0.3s;
}
.head {
    background-color: var(--point-color);
    padding: 16px 20px;
    color: var(--sub-color);
    font-weight: 500;
    display: flex;
    align-items: center;
    width: 86%;
    max-width: 1000px;
    margin: auto;
}
.head::after {
    content:url("../common/images/arrow.svg");
    position: absolute;
    right: 20px;
    width: 8px;
    height: 14px;
    transition: all 0.3s;
    transform: rotate(270deg);
}
.content {
    max-height: 0;
    overflow: hidden;
}
.toggle + .head + .content {
    max-height: 15000px;
    transition: all 1.5s;
}
.toggle:checked + .head + .content {
    max-height: 0;
    transition: all 0.5s;
}
.toggle:checked + .head::after {
    transform: rotate(90deg) !important;
}
ul.catalog-list {
    margin: auto;
    max-width: 1000px;
    width: 86%;
    margin-bottom: 20px;
}
ul.catalog-list li {
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
    align-items: flex-start;
    padding: 40px 10px;
    border-bottom: 1px solid var(--main-color);
    margin: 0 50px;
}
#shop-inq, #howtoorder {
    background-color: var(--palegrey-color);
    padding: 40px;
    margin: 80px auto;
    max-width: 1000px;
    width: 86%;
    line-height: 1.8;
    font-size: 1.2rem;
}
#shop-inq {
    margin: 80px auto 0;
}
#shop-inq h3, #howtoorder h3 {
    margin: 0 0 40px 0;
    font-size: 1.6rem;
    text-align: left;
    border-bottom: 1px solid var(--main-color);
    padding-bottom: 20px;
    display: block;
    font-weight: 400;
}
#shop-inq h4, #howtoorder h4 {
    font-size: 1.4rem;
    padding-bottom: 20px;
    color: var(--main-color);
    margin: 40px 0 0;
}
#shop-inq p {
    margin-bottom: 20px;
    font-size: 1.4rem;
}
.notice {
    color: var(--notice-color);
    margin-top: 10px;
}
#shop-inq p.supplement {
    font-size: 1.2rem;
}
#shop-inq .tel {
    font-weight: 500;
}
#sale {
    background-color: var(--notice-color);
    width: 86%;
    max-width: 1000px;
    margin: 0 auto 20px;
    padding: 10px;
    color: var(--sub-color);
    font-weight: 500;
}
.sale-txt {
    font-weight: 500;
    font-size: 1.2rem;
    position: absolute;
    bottom: -15px;
    right: -15px;
    background-color: var(--notice-color);
    color: var(--sub-color);
    padding: 5px 8px;
    border-radius: 16px;
}
.sale-price {
    font-weight: 500;
    margin-left: 10px;
    font-size: 1.2rem;
}
.notice-txt {
    width: 86%;
    max-width: 1000px;
    text-align: center;
    padding: 10px;
    margin: 0 auto 40px;
    display: block;
}
#contents .notice-txt p {
    margin: 0;
}

@media screen and (max-width: 1280px) {
    
    .pickup-block {
        flex-direction: column-reverse;
        padding: 30px 40px;
    }    
    figure {
        margin-bottom: 20px;
    }
    figcaption {
        width: auto;
        min-width: 220px;
    }
    .txt-block {
        padding-left: 0;
        width: 100%;
    }
    ul.catalog-list li {
        padding: 30px 0;
        margin: 0 40px;
        flex-direction: column-reverse;
    }
}

@media screen and (max-width: 767px) {
    
    .contents-header h2 {
        margin-bottom: 0;
    }
    #contents h3 {
        font-size: 1.6rem;
        margin: 0 0 30px;
    }
    section {
        margin-bottom: 10px;
    }
    .head {
        width: 100%;
    }
        .pickup-block {
        flex-direction: column-reverse;
        padding: 30px 0;
    }    
    figure {
        margin: 0 auto 20px;
        justify-content: space-between;
        width: 100%;
        padding: 0 10px;
    }
    #pickup figure img {
        width: 40%;
        margin-right: 0;
    }
    #pickup figcaption {
        width: 55%;
    }
    figure img {
        margin-right: 0;
        width: 35%;
    }
    figcaption {
        width: 55%;
        min-width: inherit;
        padding: 20px 25px;
    }
    .txt-block {
        padding-left: 0;
        width: 100%;
    }
    ul.catalog-list li {
        padding: 30px 0;
        margin: 0;
        flex-direction: column-reverse;
    }
    .soldout, .few, .end {
        left: 26%;
    }
    #howtoorder {
        margin: 40px auto;
    }
    #shop-inq {
        margin: 40px auto 0;
    }
    .sale-txt {
        position: absolute;
        bottom: -6px;
        font-size: 1rem;
        background-color: var(--notice-color);
        color: var(--sub-color);
        padding: 5px 8px;
        border-radius: 16px 0 0 16px;
        right: -8%;
    }
}