@charset "UTF-8";

:root {
    --orange: #F08300;
    --orange-pale: #F9AC4F;
    --yellow-pale: #FFFCE1;
    --yellow: #FFF899;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    word-wrap: break-word;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #000;
    font-size: 16px;
    font-family: "Hachi Maru Pop", "游ゴシック Medium", "Yu Gothic Medium", YuGothicM, 游ゴシック体, YuGothic, "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", メxイリオ, Meiryo, sans-serif;
    font-weight: 400;
    overflow-wrap: break-word;
}

img, iframe {
    outline: none;
    vertical-align: bottom;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
}


/* layout */
.korokoro-kedama {
    font-size: 18px;
    overflow: hidden;
}

.contents-inner {
    max-width: 1032px;
    margin: 0 auto;
    padding: 0 16px;
}

/* heading */
.title-music {
    position: relative;
    width: fit-content;
    margin: 0 auto 24px;
    font-size: clamp(18px, 4vw, 40px);
    font-weight: bold;
}

.title-music::before,
.title-music::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: -70px;
    display: block;
    width: 54px;
    height: 54px;
    /*background: url(../img/korokoro-kedama/img_note.png) no-repeat center center / contain;*/
}
.title-music::after {
    left: auto;
    right: -70px;
}

@media screen and (max-width: 640px) {
    .title-music {
        padding: 0 40px;
    }
    .title-music::before, .title-music::after {
        width: 32px;
        left: 0;
    }
    .title-music::after {
        left: auto;
        right: 0;
    }
}

/* button */
.btn {
    width: fit-content;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    border-radius: 50px;
}
.btn-pdf img {
    width: 16px;
    vertical-align: middle;
}
.btn-buy {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 320px;
    margin: 16px auto;
    padding: 24px 36px;
    font-size: clamp(18px, 2.4vw, 24px);
    color: #fff;
    font-family: "Hachi Maru Pop", "游ゴシック Medium", "Yu Gothic Medium", YuGothicM, 游ゴシック体, YuGothic, "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", メxイリオ, Meiryo, sans-serif;
    background: #f03f00;
    transition: background .2s;
}
.btn-buy:hover {
    background: var(--orange);

}

/* #book2・#trial-2 の購入ボタン：通常時 #5775ba、ホバー時 #3f7f5b */
#book2 .btn-buy,
#trial-2 .btn-buy {
    background: #5775ba;
}
#book2 .btn-buy:hover,
#trial-2 .btn-buy:hover {
    background: #3f7f5b;
}

/* nav */
.nav {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin: 24px;
}
.nav a {
    padding: 8px 20px 12px;
    color: #fff;
    font-weight: bold;
    line-height: 1;
    background: #f03f00;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    border-radius: 50px;
}
.nav a:hover {
    background: var(--orange);
}

/* 最新刊・サイン本のみ通常時 #5775ba、ホバー時は他と同じ #F08300 */
.nav a[href="#book2"],
.nav a[href="#movie2"] {
    background: #5775ba;
}
.nav a[href="#book2"]:hover,
.nav a[href="#movie2"]:hover {
    background: #3f7f5b;
}

@media screen and (max-width: 640px) {
    .nav {
        flex-wrap: wrap;
        gap: 8px;
        margin: 24px 8px;
    }

    .nav a {
        width: calc(50% - 8px);
        text-align: center;
    }
}


/* hero */
.hero {
    position: relative;
    padding: 40px 0 80px;
}
.hero .contents-inner {
    position: relative;
    z-index: 5;
}
.hero h1 {
    text-align: center;
}
.hero-cat-btm {
    text-align: center;
}
.hero-cat-btm img {
    max-width: 500px;
    width: 100%;
}
.hero-note {
    position: absolute;
    top: 10%;
    left: 5%;
    display: flex;
    justify-content: space-between;
    width: 90%;
}
.hero-note:nth-of-type(2) {
    top: auto;
    bottom: 20%;

}
.hero-note img {
    max-width: 130px;
    height: auto;
    rotate: 15deg;
    animation: swing 1s linear 0s infinite alternate-reverse;
}
@keyframes swing {
    0% {
        rotate: 15deg;
    }
    100% {
        rotate: -15deg;
    }
}
@media screen and (max-width: 640px) {
    .hero-note img {
        width: 50px;
    }
}

@media screen and (max-width: 640px) {
    .hero {
        padding: 40px 0 0;
    }
}

/* song */
.song {
    padding: 40px 0;
    text-align: center;
}
.song .title-music {
    color: #fff;
}
.song ul {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    margin-top: 24px;
    list-style: none;
    text-align: center;
}
.song li {
    width: 100%;
}
.song li.comingsoon a {
    pointer-events: none;
}

.song a {
    display: block;
}
.song a:hover > img {
    box-shadow: 0 8px 8px var(--orange);
}
.song .btn {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 8px auto;
    padding: 4px 24px;
    line-height: 1.6;
    background: var(--yellow);
    transition: background .2s;
}
.song a:hover .btn {
    background: var(--orange);
}

/* title-ekakiuta 260318追加*/
.title-ekakiuta {
    text-align: center;
    padding: 40px 0 0;
}
.music-author {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 24px auto 80px;
}
.music-author .word,
.music-author .compose {
    width: fit-content;
    font-size: clamp(16px, 2.4vw, 24px);
    background: linear-gradient(transparent 0%, transparent 50%, var(--yellow) 50%, var(--yellow) 100%);
}

@media screen and (max-width: 640px) {
    .song ul {
        flex-direction: column;
    }
    .song a {
        max-width: 80%;
        margin: 0 auto;
    }
    .music-author {
        flex-direction: column;
        align-items: center;
        gap: 8px;
        margin: 24px auto;
    }
}



/* movie */
.movie-drawing {
    padding: 0 0 80px;
    text-align: center;
}
.movie-drawing .movie iframe {
    aspect-ratio: 16/9;
    width: 80%;
    height: auto;
    margin: 0 auto;
}
.movie-drawing .movie-cat-btm {
    text-align: right;
}
.movie-drawing .movie-cat-btm img {
    max-width: 360px;
    width: 100%;
}
.movie-drawing .btn,
.movie-making .btn {
    width: fit-content;
    min-width: 320px;
}
@media screen and (max-width: 640px) {
    .movie-drawing .movie iframe {
        width: 100%;
    }
}

/* movie-making */
.movie-making {
    padding: 80px 0;
    text-align: center;
    background: var(--yellow-pale);
}

.movie-making .movie iframe {
    aspect-ratio: 16/9;
    width: 80%;
    height: auto;
    margin: 0 auto;
}
@media screen and (max-width: 640px) {
    .movie-making .movie iframe {
        width: 100%;
    }
}

/* drawing */
.drawing {
    padding: 80px 0;
    text-align: center;
    background-color: var(--yellow-pale);
}
.drawing .movie {
    margin-top: 24px;
}
.drawing .movie iframe {
    aspect-ratio: 16/9;
    width: 80%;
    height: auto;
    margin: 0 auto;
}
.gallery {
    margin-top: 40px;
}
.gallery .lead {
    margin-bottom: 16px;
    font-family: Arial, "游ゴシック Medium", "Yu Gothic Medium", YuGothicM, 游ゴシック体, YuGothic, "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", メイリオ, Meiryo, sans-serif;
    font-weight: bold;
}
.gallery .lead  span {
    color: #f03f00;
}
.gallery-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}
.gallery-list .gallery-item {
    width: calc(33% - 8px);
}
.gallery-list .gallery-item .gallery-name {
    margin-top: 4px;
    font-size: clamp(14px, 1.6vw, 16px);
}
@media screen and (max-width: 640px) {
    .drawing {
        background: none !important;
        background-color: var(--yellow-pale) !important;
    }
    .drawing .movie iframe {
        width: 100%;
    }
    .gallery-list .gallery-item {
        width: calc(50% - 8px);
    }
}


/* book */
.book {
    padding: 80px 0;
    font-family: Arial, "游ゴシック Medium", "Yu Gothic Medium", YuGothicM, 游ゴシック体, YuGothic, "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", メイリオ, Meiryo, sans-serif;
}
.book .title-music {
    font-family: "Hachi Maru Pop", "游ゴシック Medium", "Yu Gothic Medium", YuGothicM, 游ゴシック体, YuGothic, "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", メイリオ, Meiryo, sans-serif;
}
.book-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    margin-bottom: 24px;
}
.book-info .book-text {
    width: 100%;
    position: relative;
    padding: 40px;
    font-size: clamp(18px, 2.4vw, 24px);
    font-weight: bold;
    text-align: center;
    line-height: 1.8;
    border: 4px solid var(--orange);
    -webkit-border-radius: 24px;
    -moz-border-radius: 24px;
    border-radius: 24px;
    background: #fff;
    box-shadow: 8px 8px 0 var(--orange);
}
.book-info .book-text::before,
.book-info .book-text::after {
    content: "";
    position: absolute;
    top: -80px;
    left: -45px;
    display: block;
    width: 110px;
    height: 160px;
}
.book-info .book-text::after {
    top: auto;
    left: auto;
    bottom: -60px;
    right: -50px;
    width: 120px;
    height: 160px;
}
/* #book2 の .book-info .book-text の border・box-shadow を #5775ba に */
#book2 .book-info .book-text {
    border-color: #5775ba;
    box-shadow: 8px 8px 0 #5775ba;
}
.book-info .book-release {
    margin-top: 24px;
    padding: 16px 24px;
    color: #f03f00;
    background: var(--yellow-pale);
}

.book-info .book-release .btn-buy {
    min-width: unset;
    width: 100%;

}
.book-info .book-thumb {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.book-info .book-thumb img {
    max-width: 90%;
}

.book-special h3 {
    margin: 24px 0;
    text-align: center;
}

.book-special h3 img {
    max-width: 160px;
}
.book-special-2 h3 {
    margin: 24px 0;
    text-align: center;
}
.book-special-2 h3 img {
    max-width: 160px;
}
.list-special li {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    font-weight: bold;
    padding: 16px 24px;
    background: var(--yellow-pale);
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    border-radius: 50px;
}
.list-special li .num {
    margin-top: -8px;
    font-size: 32px;
    font-weight: bold;
    color: var(--orange);
    font-family: "Hachi Maru Pop", "游ゴシック Medium", "Yu Gothic Medium", YuGothicM, 游ゴシック体, YuGothic, "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", メxイリオ, Meiryo, sans-serif;
    line-height: 1;
}
/* book-special-2（373-379行）のみナンバリング #5775ba */
.book-special-2 .list-special li .num {
    color: #5775ba;
}
.list-special li.list-special-sign {
    display: block;
}
.list-special li.list-special-sign .text {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 16px;
}
.list-special li .sign {
    display: flex;
    gap: 16px;
    margin-top: 16px;
}
.list-special li .notice {
    font-size: 14px;
    font-weight: normal;
}


/* book-signbook-info 260318追加*/
.book-signbook-info {
    padding: 80px 0;
    text-align: center;
}

@media screen and (max-width: 640px) {
    .book-signbook-info {
        padding: 0;
    }
}
.book-signbook-info h3 {
    margin: 40px 0;
    text-align: center;
    font-family: "Hachi Maru Pop", "游ゴシック Medium", "Yu Gothic Medium", YuGothicM, 游ゴシック体, YuGothic, "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", メxイリオ, Meiryo, sans-serif;
    font-size: clamp(18px, 2.4vw, 30px);
    font-weight: bold;
}
.book-signbook-info p {
    margin-bottom: 24px;
}
.book-signbook-info table {
    margin: 0 auto;
}
.book-signbook-info table th {
    background: #5775ba;
    color: #fff;
}
.book-signbook-info table td {
    background: var(--yellow-pale);
    text-align: left;
    padding-left: 20px;
}

.book-signbook-info .btn-sign-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 24px 36px;
    font-size: clamp(16px, 2vw, 20px);
    color: #fff;
    background: #5775ba;
    border: none;
    cursor: pointer;
    transition: background .2s;
}
.book-signbook-info .btn-sign-toggle:hover {
    background: #3f7f5b;
}
.book-signbook-info .sign-toggle-icon {
    display: inline-block;
    font-size: 130%;
    line-height: 1;
    transition: transform .2s;
}
.book-signbook-info .btn-sign-toggle.is-open .sign-toggle-icon {
    transform: rotate(180deg);
}
.signbook-list {
    margin-top: 16px;
    text-align: center;
}

.signbook-notes {
    margin: 0 0 16px;
    padding-left: 1.4em;
    display: inline-block;
    text-align: left;
}
.signbook-notes li {
    margin-bottom: 4px;
}

/* signbook movie (vertical video) */
.signbook-movie {
    max-width: 356px; /* PC: 元サイズ上限 */
    margin: 0 auto 24px;
}
.signbook-movie iframe {
    width: 100%;
    aspect-ratio: 356 / 634; /* タテ型比率を維持 */
    height: auto;
    display: block;
}

@media screen and (max-width: 640px) {
    .signbook-movie {
        max-width: 90%;
    }
}


@media screen and (max-width: 800px) {
    .book {
        padding: 80px 16px;
    }
    .book-info {
        flex-direction: column;
    }
    .book-info .book-text {
        padding: 16px;
    }
    .book-info .book-release {
        padding: 16px;
    }
}

/* trial */
.trial {
    position: relative;
    padding: 40px 0;
    text-align: center;
    background-color: #FFFCE1;
}
.trial::before,
.trial::after {
    content: "";
    position: absolute;
    top: -70px;
    left: 0;
    display: block;
    width: 30%;
    height: 140px;
    background-size: cover;
}
.trial::after {
    top: auto;
    left: auto;
    bottom: -70px;
    right: 0;

}
.trial-book a {
    display: block;
    width: fit-content;
    margin: 24px auto 0;
}
.trial-book-thumb {
    max-width: 320px;
}
.btn-trial {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 16px auto;
    padding: 24px 36px;
    width: 100%;
    color: #fff;
    font-size: clamp(18px, 2.4vw, 24px);
    background: var(--orange);
    transition: background .2s;
}
.btn-trial img {
    width: 24px;
    vertical-align: middle;
}
.btn-trial:hover {
    background: #f03f00;
}
/* trial-2（第２巻の無料試し読み）のボタン背景 #5775ba */
#trial-2 .btn-trial {
    background: #3f7f5b;
}
#trial-2 .btn-trial:hover {
    background: #5775ba;
}
@media screen and (max-width: 640px) {
    .trial-book-thumb {
        max-width: 60%;
        margin: 0 auto;
    }
}


/* footer */
footer {
    padding: 40px 16px;
    text-align: center;
}
footer .copyright {
    padding: 16px;
    font-family: "游ゴシック Medium", "Yu Gothic Medium", YuGothicM, 游ゴシック体, YuGothic, "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", メxイリオ, Meiryo, sans-serif;
    font-size: 12px;
    text-align: center;
}

