@charset "utf-8";

body {
    --main-bg-color: #FFD2E6;
    --accent-color: #E65082;
    --limited-color: #E60032;
    --lawson-limited-color: #0096FF;
}

/* 色変更 */
a.button {
    background-color: #FFFFFF;
    border: solid 2px var(--accent-color);
}

a.button > span {
    color: var(--accent-color);
}

a.button > span::before {
    border-left-color: var(--accent-color);
}

footer > .totop > p {
    background-color: var(--accent-color);
}

footer > .copyright {
    background-color: var(--main-bg-color);
    color: #221815;
}

main {
    background-color: var(--main-bg-color);
}

main section h2 {
    color: var(--accent-color);
    border-color: var(--accent-color);
}

/* 書籍情報　色変え */
/* 限定版 */
main section.overview h2.limited_edition {
    color: var(--limited-color);
    border-color: var(--limited-color);
}

main section.overview h2.limited_edition > p {
    color: #221815;
}

main section.overview .limited_edition > div > p {
    color: var(--limited-color);
}

/* 初回限定版 */
main section.overview h2.first_limited_edition > p {
    color: #221815;
}

main section.overview .first_limited_edition > p {
    color: var(--accent-color);
}

/* ローソン限定版 */
main section.overview h2.lawson_limited_edition {
    color: var(--lawson-limited-color);
    border-color: var(--lawson-limited-color);
}

main section.overview h2.lawson_limited_edition > p {
    color: #221815;
}

main section.overview .lawson_limited_edition > p {
    color: var(--lawson-limited-color);
}

/* 共通 */
main section p {
    text-align: center;
    font-size: 18px;
    font-weight: bold;
}

main section a.button {
    margin: 0 auto;
    font-size: 14px;
}

main section > h2 > p {
    margin-top: 6px
}

/* メイン画像 */
main section.main_image {
    background-color: var(--main-bg-color);
    background-image: url(../../../images/lp/sakuramiko_ehon/bg_pattern.png);
    background-repeat: repeat;
    background-position: center;
    background-size: 100px;
    filter: none;
}

@media screen and (min-width: 1024px) {
    /* FW向けに調整 */
    main section.main_image figure.u-show_pc {
        margin: 0 auto;
        width: 90%;
    }
}

@media screen and (max-width: 767px) {
    main section.main_image figure:nth-child(3) {
        margin: 0 auto;
        width: 90%;
    }
}

/* タイトル */
main section.overview h1 {
    margin-bottom: 40px;
    padding-top: 0;
    text-align: center;
}

@media screen and (max-width: 767px) {
    main section.overview h1 {
        margin: 20px 10px;
    }
}

main section.overview h1 figure {
    margin-bottom: 20px;
}

main section.overview h1 img {
    width: 600px;
}

main section.overview h1 ul {
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
}

main section.overview h1 ul> li {
    margin: 4px;
}

/* 書籍情報 */
.book_cover {
    display: flex;
    margin-bottom: 20px;
}

@media screen and (max-width: 767px) {
    .book_cover {
        flex-wrap: wrap;
    }
}

.book_cover > li {
    display: grid;
    align-items: end;
    margin-right: 20px;
}

.book_cover > li:last-child {
    margin-right: 0;
}

@media screen and (max-width: 767px) {
    .book_cover > li:nth-child(1) {
        margin-right: 4px;
        width: calc(50% - 4px);
    }

    .book_cover > li:nth-child(2) {
        margin-left: 4px;
        margin-right: 0;
        width: calc(50% - 4px);
    }

    .book_cover > li:nth-child(3) {
        margin-top: 8px;
    }
}

.book_cover p {
    font-weight: bold;
}

@media screen and (max-width: 767px) {
    .book_cover p {
        font-size: 16px;
    }
}

.book_cover p.price {
    text-align: left;
    font-size: 22px;
}

@media screen and (max-width: 767px) {
    .book_cover p.price {
        font-size: 18px;
    }
}

.book_cover img {
    border: solid 1px #999999;
}

.book_cover li:last-child img {
    border-color: #FFB4C8;
}

/* 注意書き */
main section.overview > div > p {
    margin-top: 20px;
}

main section.overview > div.notice {
    display: flex;
    justify-content: center;
    margin-top: 0;
}

main section.overview > p.notice {
    margin: 0 auto;
    padding: 15px 20px;
    width: 600px;
    max-width: 100%;
    color: #E60032;
    text-align: center;
    border: solid 2px #E60032;
}

@media screen and (max-width: 767px) {
    main section.overview > p.notice {
        padding: 15px;
    }
}

/* 絵本紹介 */
main section.introduction p {
    text-align: left;
}

main section.introduction figure {
    margin: 0 auto;
    width: 90%;
}

@media screen and (max-width: 767px) {
    main section.introduction figure {
        width: 100%;
    }
}
