@charset "UTF-8";

:root {
    --yellow-pale: #fff685;
    --green: #00bab0;
    --blue-pale: #bee6e5;
    --blue: #455cb6;
    --pink: #f37864;

}

*, *::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: #333;
    font-size: 1.5rem;
    font-family: "Zen Maru Gothic", "游ゴシック Medium", "Yu Gothic Medium", YuGothicM, 游ゴシック体, YuGothic, "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", メイリオ, Meiryo, sans-serif;
    font-weight: 400;
    font-style: normal;
    overflow-wrap: break-word;
}

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

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

a {
    color: #333;
    text-decoration: none;
}



/* nav */
body.is-menu-open {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
}

.header-contents {
    z-index: 999;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0 16px;
}

#header-sp-btn {
    display: none;
}

#header-nav {
    height: 100%;
}

.header-menu {
    display: flex;
    justify-content: center;
    max-width: 1000px;
    margin: 24px auto 0;
    background: #fff;
    border: 2px solid #000;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    border-radius: 50px;
    box-shadow: 8px 8px 0px var(--blue-pale);
}
.header-menu li {
    /*width: 100%;*/
    list-style: none;
}
.header-menu li:last-of-type {
    width: 40px;
    flex-shrink: 0;
}

.header-menu li:last-of-type a {
    padding: 0;

}

.header-menu li:last-of-type img {
    width: 25px;
}
.header-menu li, .header-menu a {
    display: flex;
    position: relative;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /*width: 100%;*/
    height: 48px;
    font-size: 1.15rem;
    font-weight: bold;
}
.header-menu a {
    padding: 0 16px;
}
.header-menu a:hover {
    color: #BA2A19;
}

@media screen and (max-width: 1100px) {
    #header-sp-btn {
        display: flex;
        position: absolute;
        top: 16px;
        right: 16px;
        align-items: center;
        justify-content: center;
        width: 60px;
        height: 60px;
        background-color: #fff;
        -webkit-border-radius: 50%;
        -moz-border-radius: 50%;
        border-radius: 50%;
        border: 2px solid #000;
        box-shadow: 8px 8px 0 var(--blue-pale);
    }

    #header-sp-btn::before {
        content: "メニュー";
        position: absolute;
        bottom: 6px;
        left: 0;
        width: 100%;
        font-size: 11px;
        font-weight: bold;
        text-align: center;
        letter-spacing: -0.2em;

    }
    #header-sp-btn:hover {
        cursor: pointer;
    }
    #header-sp-btn .header-sp-btn-bar {
        position: relative;
        width: 50px;
        height: 50px;
        margin-top: -8px;
    }
    #header-sp-btn .header-sp-btn-bar span {
        display: inline-block;
        position: absolute;
        top: 15px;
        left: 14px;
        width: 45%;
        height: 3px;
        border-radius: 2px;
        background: #000;
        transition: all 0.4s;
    }
    #header-sp-btn .header-sp-btn-bar span:nth-of-type(2) {
        top: 23px;
    }
    #header-sp-btn .header-sp-btn-bar span:nth-of-type(3) {
        top: 31px;
    }
    #header-sp-btn.is-open .header-sp-btn-bar span {
        top: 18px;
        left: 18px;
        width: 30%;
        transform: translateY(6px) rotate(-45deg);
    }
    #header-sp-btn.is-open .header-sp-btn-bar span:nth-of-type(2) {
        opacity: 0;
    }
    #header-sp-btn.is-open .header-sp-btn-bar span:nth-of-type(3) {
        top: 30px;
        left: 18px;
        width: 30%;
        transform: translateY(-6px) rotate(45deg);
    }

    .is-menu-open .header-menu {
        max-height: 2000px;
        overflow-y: scroll;
        opacity: 1;
        transition: opacity 0.5s ease-in-out, max-height 0.5s ease-in-out;
    }
    .header-menu {
        display: block;
        z-index: 9999;
        position: absolute;
        top: 76px;
        right: 16px;
        max-height: 0;
        margin-top: 0;
        -webkit-border-radius: 0;
        -moz-border-radius: 0;
        border-radius: 0;
        overflow: hidden;
        opacity: 0;
        transition: opacity 0.5s ease-in-out, max-height 0.5s ease-in-out;
    }
    .header-menu li, .header-menu a {
        display: block;
        width: 100%;
        height: auto;
    }
    .header-menu a {
        padding: 16px;
        border-bottom: 2px solid #000;
    }

    .header-menu li:last-of-type {
        width: 100%;
        padding: 16px;
    }
    .header-menu li:last-of-type a {
        border: none;
    }

}

/* おしらせボタン　250902 */
.info-btn_01 {
        display: block;
        text-align: center;
        vertical-align: middle;
        text-decoration: none;
        width: 70%;
        margin: 0 auto 40px;
        padding: 1rem 2.5rem;
        font-weight: bold;
        border: 2px solid #27acd9;
        color: #fff;
        background: #27acd9;
        transition: 0.5s;
        font-size: large;
        border-radius: 10px;
    }
    a.info-btn_01:hover {
        color: #27acd9;
        background: #fff;
    }

    /*  ジャンプ先の指定　250909 */
    #book_04 {
        scroll-margin-top: 100px; /* ヘッダーの高さ分ずらす */
    }

    /* 新刊タイトル */
.release-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* 最新刊ワッペン */
.wappen_01{
    background: #ff4081;
    color: #fff;
    font-weight: bold;
    border-radius: 50%;
    padding: 29px 12px;
    font-size: 0.8em;
    width: fit-content;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
    letter-spacing: 0.1em;
    border: 2px solid #fff;
}



/* layout */
.wrapper {
    overflow: clip;
}
.contents-inner {
    max-width: 1032px;
    margin: 0 auto;
    padding: 0 16px;
}
.contents-inner-m {
    max-width: 800px;
}
.section-block {
     margin-bottom: clamp(40px, 16vw,160px);
}
.section-block p {
    font-size: clamp(1rem, 2.4vw, 1.5rem);
    font-weight: bold;
    line-height: 2;
}
.col-wrapper {
    display: flex;
}

.divider {
    margin-bottom: clamp(40px, 16vw, 160px);
    text-align: center;
}


@media screen and (max-width: 800px) {
    img {
        max-width: 80%;
        margin: 0 auto;
    }
}


/* heading */
.title-section {
    position: relative;
    width: fit-content;
    margin: 0 auto 40px;
    font-size: clamp(20px, 4vw, 40px);
    text-align: center;
    line-height: 1.3;
}
.title-section::before {
    content: "";
    position: absolute;
    bottom: -0.2em;
    left: -8px;
    z-index: -1;
    display: block;
    width: calc(100% + 16px);
    height: 0.8em;
    background: var(--blue-pale);
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;
}
.title-sub {
    font-size: clamp(18px, 4.2vw, 42px);
    font-weight: bold;
    text-align: center;
}

.title-sub span {
    position: relative;

}

.title-sub span::before {
    content: "";
    position: absolute;
    bottom: -0.2em;
    left: -8px;
    z-index: -1;
    display: block;
    width: calc(100% + 16px);
    height: 0.8em;
    background: var(--yellow-pale);
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;
}


/* top link */
.link-pagetop {
    position: fixed;
    z-index: 50;
    right: 8px;
    bottom: 8px;
    width: 48px;
    height: 48px;
}
.link-pagetop a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    border: 2px solid #000;
    background: #fff;
    text-indent: -9999px;
    box-shadow: 4px 4px 0px var(--blue-pale);
}

.link-pagetop a::before {
    content: '';
    position: absolute;
    top: calc(50% - 6px);
    left: calc(50% - 8px);
    width: 16px;
    height: 16px;
    border-top: 4px solid #000;
    border-right: 4px solid #000;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    rotate: -45deg;
}


/* hero */
.hero {
    padding-top: clamp(64px, 16vw, 120px);
    padding-bottom: clamp(40px, 16vw, 160px);
    text-align: center;
}
.hero h1 {
    margin: 24px 0 40px;
    font-size: clamp(30px, 6.4vw, 64px);
    line-height: 1.3;
}
.hero h1 small {
    display: block;
    font-size: clamp(22px, 3.8vw, 38px);
}
.hero .hero-author {
    margin: -16px 0 24px;
    text-align: center;
}

.hero .hero-author br {
    display: none;
}
.hero-book {
    position: relative;
    margin-bottom: 40px;
    padding: 0 10%;
}
.hero-book .witch {
    position: absolute;
    right: -50%;
    top: -240px;
    width: clamp(96px, 24vw, 240px);
    animation: witch-fly 2s ease 0s 1 forwards, witch-hover 2.4s ease 2s infinite;
}
/*
.hero-book .witch.is-active {
    animation: witch-fly 2s ease 0s 1 forwards, witch-hover 2.4s ease 2s infinite;
}

 */
@keyframes witch-fly {
    0% {
        right: -50%;
        top: -240px;
    }
    100% {
        top: 20%;
        right: 3%;
    }
}
@keyframes witch-hover {
    0% {
        top: 20%;
    }
    50% {
        top: calc(20% - 50px);
    }
    100% {
        top: 20%;
    }
}
.hero-book .balloon {
    position: absolute;
    left: 0;
    top: 150%;
    width: clamp(80px, 24vw, 240px);
    animation: balloon-fly 2s ease 0s 1 forwards, balloon-hover 2.4s ease 2.2s infinite;
}
/*
.hero-book .balloon.is-active {
    animation: balloon-fly 2s ease 0s 1 forwards, balloon-hover 2.4s ease 2.2s infinite;
}

 */
@keyframes balloon-fly {
    0% {
        top: 150%;
    }
    100% {
        top: 50%;
    }
}
@keyframes balloon-hover {
    0% {
        top: 50%;
    }
    50% {
        top: calc(50% - 50px);
    }
    100% {
        top: 50%;
    }
}

.hero-step p {
    margin-top: 40px;
    font-size: clamp(14px, 3vw, 30px);
    font-weight: bold;
}

@media screen and (max-width: 800px) {
    .title-sub span {
        display: block;
        width: fit-content;
        margin: 0 auto;
    }
    .hero .hero-author small {
        font-size: 16px;
        line-height: 1.3;
    }

    .hero .hero-author br {
        display: inline-block;
    }
    .release-title {
        justify-content: center;
    }
}


/* try */
#try .contents-inner {
    position: relative;
}
#try .movie {
    max-width: 640px;
    margin: 24px auto;
}
#try .movie iframe {
    max-width: 640px;
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
}
#try .illust-movie-tiger,
#try .illust-movie-panda {
    position: absolute;
    z-index: -1;
    bottom: 0;
}
#try .illust-movie-tiger {
    left: 0;
}
#try .illust-movie-panda {
    right: 0;
}


@media screen and (max-width: 800px) {
    .ta-c img {
        width: 50%;
    }
    #try .illust-movie-tiger, #try .illust-movie-panda {
        display: none;
    }
}

/* education */
#education .direction img {
    max-width: 100%;
}

/* testimony */
.testimony-item {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 40px;
}
.testimony-thumb {
    max-width: 160px;
}

.testimony-thumb .caption {
    margin-top: 8px;
    font-size: 1rem;
    text-align: center;
}
.testimony-text {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 16px;
    font-size: clamp(1rem, 2.4vw, 1.5rem);
    font-weight: bold;
    line-height: 1.5;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    border: 4px solid #000;
}
.testimony-text::before {
    content: "";
    position: absolute;
    top: calc(50% - 7px);
    left: -14px;
    display: block;
    width: 24px;
    height: 24px;
    background: #fff;
    border-top: 4px solid #000;
    border-left: 4px solid #000;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    rotate: -45deg;
}
.testimony-item:first-of-type .testimony-text,
.testimony-item:first-of-type .testimony-text::before {
    border-color: var(--green);
}
.testimony-item:nth-of-type(2) .testimony-text,
.testimony-item:nth-of-type(2) .testimony-text::before {
    border-color: var(--blue);
}
.testimony-item:nth-of-type(3) .testimony-text,
.testimony-item:nth-of-type(3) .testimony-text::before {
    border-color: var(--pink);
}
.testimony-item:nth-of-type(even) .testimony-thumb {
    order: 2;
}
.testimony-item:nth-of-type(even) .testimony-text {
    order: 1;
}
.testimony-item:nth-of-type(even) .testimony-text::before {
    left: auto;
    right: -14px;
    rotate: 135deg
}

/* instagram */
.insta {
    /*max-width: 1400px;*/
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 0 24px;
}

#insta h3 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
    text-align: center;
}
.insta div {
    width: 30%;
    min-width: unset;
}
.insta iframe {
    min-width: unset !important;
}
.insta-btm-btn {
    margin-top: 40px;
    text-align: center;
}

.insta-btm-btn a {
    display: inline-block;
    padding: 8px 24px;
    font-weight: bold;
    font-size: 16px;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    border-radius: 50px;
    border: 1px solid #000;
}

@media screen and (max-width: 800px) {
    .insta {
        max-width: unset;
        display: block;
        scroll-snap-type: x mandatory;
        white-space: nowrap;
        overflow-x: auto;
        margin: 0 auto;
        padding: 30px 0;
        width: 100%;
    }
    .insta div {
        scroll-snap-align: center;
        display: inline-block;
        margin: 0 10px;
        width: 300px;
        white-space: normal;
        overflow: hidden;
    }

    #insta h3 {
        display: block;
        margin-bottom: 16px;
    }

    #insta h3 img {
        margin-right: 8px;

    }
}


/* product */
.product-item {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 80px;
}
.product-thumb {
    flex-shrink: 0;
}
.product-text {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
}

.product-text .bubble {
    position: relative;
    /*min-width: 70%;*/
    width: fit-content;
    padding: 16px;
    font-size: clamp(1rem, 2.4vw, 1.5rem);
    font-weight: bold;
    text-align: center;
    background: var(--yellow-pale);
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    border-radius: 50px;
}
.product-text .bubble::before {
    content: "";
    position: absolute;
    bottom: -13px;
    left: calc(50% - 7px);
    display: block;
    width: 24px;
    height: 24px;
    background: var(--yellow-pale);
    rotate: -45deg;
}

.product-btn a {
    display: inline-block;
    min-width: 240px;
    padding: 16px 24px;
    color: #fff;
    font-size: 1.25rem;
    font-weight: bold;
    text-align: center;
    background: #b81f3e;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    border-radius: 50px;
}

@media screen and (max-width: 800px) {
    .product-item {
        flex-direction: column;
    }
    .product-thumb,.product-text {
        width: 100%;
        text-align: center;
    }
    .product-text p {
        text-align: left;
    }
    .product-text .bubble {
        margin: 0 auto;
    }

}


/* utility */
.font-s {
    font-size: 14px;
    color: #333 !important;
}
.ta-c {
    text-align: center;
}
.ta-r {
    text-align: right;
}

/* footer */
footer {
    position: relative;
    padding: 40px 16px;
    text-align: center;
    background: #fff;
    font-size: 12px;
}
.footer-img.ta-c img {
    width: 100%;
    max-width: unset;
}
.copyright {
    margin-bottom: 24px;
}
