@charset "utf-8";

main > section {
    padding: 64px 2rem;
    background-image: url(/images/spring/newFiscalYears/index/img/back-hero_sp.png);
    background-size: contain;
    background-position: bottom;
    background-repeat: no-repeat;
}

@media screen and (min-width: 768px) {
    main > section {
        display: block;
        position: relative;
        margin: 0 auto;
        padding: 130px 0 0;
        max-width: 1040px;
        background-image: url(/images/100th/newFiscalYears/index/img/back-hero_pc.svg);
        background-size: 84%;
        background-position: center 160px;
        background-repeat: no-repeat;
    }
}

main > section > div {
    position: relative;
}

@media screen and (min-width: 768px) {
    main > section > div {
        margin: 0 auto;
        width: 760px;
        max-width: 100%;
    }
}

main > section h1 {
    padding: 0;
}

@media screen and (min-width: 768px) {
    main > section h1 {
        margin: 48px auto 0;
        padding: 0;
        width: 480px;
    }
}

main > section p {
    margin: 24px auto 0;
    text-align: center;
    line-height: 2;
}

@media screen and (min-width: 768px) {
    main > section p {
        margin-bottom: 40px;
    }
}

main > section p > span {
    display: block;
    font-size: 14px;
    font-weight: bold;
    color: var(--color-text);
}

main > section p > span.small {
    font-size: 13px;
    font-weight: normal;
    text-decoration: underline;
}

@media screen and (min-width: 768px) {
    main > section p > span {
        line-height: 2.5;
        letter-spacing: 3px;
    }
}

main > section figure {
    position: absolute;
    animation: fuwafuwa 3s infinite ease-in-out 0s alternate;
}

main > section figure.child01 {
    top: 36%;
    left: 0;
    width: 18%;
}

@media screen and (min-width: 480px) {
    main > section figure.child01 {
        top: 42%;
    }
}

@media screen and (min-width: 768px) {
    main > section figure.child01 {
        left: 88px;
        width: 100px;
    }
}

main > section figure.child02 {
    top: 36%;
    right: -4%;
    width: 21%;
    z-index: 1;
}

@media screen and (min-width: 480px) {
    main > section figure.child02 {
        top: 42%;
    }
}

@media screen and (min-width: 768px) {
    main > section figure.child02 {
        right: 88px;
        width: 110px;
    }
}

/* 各誌の紹介 */
main > .products {
    display: flex;
    margin: 0 16px;
    justify-content: space-between;
    flex-wrap: wrap;
}

@media screen and (min-width: 768px) {
    main > .products {
        position: relative;
        margin: 0 auto;
        width: 760px;
        max-width: 100%;
        background-repeat: no-repeat;
        background-position: bottom 25px right;
    }
}

main > .products > .title {
    margin: 0 auto;
    width: 100%;
}

@media screen and (min-width: 768px) {
    main > .products > .title {
        width: 80%;
    }
}


main > .products > div {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

main > .products > div > h2 {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 32px auto 16px;
    width: 100%;
    height: 40px;
    background-position: center;
    background-repeat: repeat;
    background-size: 16px;
    font-size: 20px;
    font-weight: bold;
    line-height: 1;
    color: #ffffff;
    text-align: center;
    border: solid 3px;
    border-radius: 24px;
}

@media screen and (min-width: 768px) {
    main > .products > div > ul > li > a {
        margin: 32px auto;
    }
}

main > .products > div > ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    width: 100%
}

@media screen and (min-width: 768px) {
    main > .products > div > ul {
        display: flex;
        flex-wrap: nowrap;
        justify-content: space-around;
        margin: 0 8px;
        gap: 8px;
    }
}

main > .products > div > ul > li {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    flex-basis: 45%;
    margin-bottom: 30px;
}

@media screen and (min-width: 768px) {
    main > .products > div > ul > li {
        flex-basis: auto;
        margin-bottom: 0;
    }
}

main > .products > div > ul > li > a {
    display: flex;
    justify-content: center;
}

@media screen and (min-width: 768px) {
    main > .products > div > ul > li > a {
        margin: 32px auto 0;
        max-width: 170px;
    }
}

main > .products > div > ul > li .kb1,
main > .products > div > ul > li .kb2,
main > .products > div > ul > li .kb3 {
    width: 92%;
}

main > .products > div > ul > li .sk,
main > .products > div > ul > li .kk,
main > .products > div > ul > li .ks {
    width: 85%;
}

main > .products > div > ul > li figure > img {
    box-shadow: 0 3px 4px hsl(0deg 0% 50% / 33%);
    border: 1px solid #CCCCCC;
}

main > .products > div > ul > li .kj > img,
main > .products > div > ul > li .kb1 > img,
main > .products > div > ul > li .kb2 > img {
    border-radius: 10px 0 0 10px;
}

main > .products > div > ul > li .kk > img,
main > .products > div > ul > li .km > img {
    border-radius: 0 10px 10px 0;
}

main > .products > div > ul > li p {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 8px auto 0;
    height: 32px;
    font-size: 16px;
    text-align: center;
    font-weight: bold;
    line-height: 1.0em;
    color: #3071b9;
}

@media screen and (min-width: 768px) {
    main > .products > div > ul > li p {
        height: 40px;
    }
}

main > .products > div > ul > li p.age {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 8px auto;
    padding: 4px;
    width: 100%;
    background-color: #fff;
    color: var(--color-text);
    font-size: 10px;
    font-weight: normal;
    letter-spacing: 0;
    border: 3px solid #fab400;
    border-radius: 6px;
}

@media screen and (min-width: 768px) {
    main > .products > div > ul > li p.age {
        padding: 0;
        height: 30px;
        font-size: 12px;
        border-radius: 15px;
    }
}

main > .products > div > ul > li p.age > span {
    font-size: 13px;
    font-weight: bold;
}

@media screen and (min-width: 768px) {
    main > .products > div > ul > li p.age > span {
        font-size: 16px;
    }
}

/* 各誌の紹介：総合絵本 */
main > .products > div.general > h2 {
    background-image: url(../../../../images/100th/newFiscalYears/index/img/bg_general.png);
    background-color: #fab400;
    border-color: #fab400;
}

/* 各誌の紹介：科学絵本 */
@media screen and (min-width: 768px) {
    main > .products > div.science {
        width: 31%;
    }
}

main > .products > div.science > h2 {
    background-image: url(../../../../images/100th/newFiscalYears/index/img/bg_science.png);
    background-color: #0ab8dc;
    border-color: #0ab8dc;
}

/* 各誌の紹介：おはなし絵本 */
main > .products > div.tale > h2 {
    background-image: url(../../../../images/100th/newFiscalYears/index/img/bg_tale.png);
    background-color: #6fba2c;
    border-color: #6fba2c;
}

/* 動画コンテンツ */
.c-products-iframe {
    width: 100%;
    height: auto;
}

.iframe_container {
    position: relative;
    margin: 0 auto;
    width: 100%;
    padding-top: 56.25%;
}

.iframe_container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

 /* 動画無し */
.no-iframe {
    height: 22.5vw;
}

@media screen and (min-width: 768px) {
    .iframe_container {
        position: relative;
        margin: 0 auto;
        height: 96px;
    }

    .iframe_container iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    /* 動画なし（学びキッズ） */
    .no-iframe {
        height: 96px;
    }

    /* 動画非公開中 */
    .c-youtube-fig {
        height: 96px;
    }

    .c-youtube-fig > img {
        max-width: 100%;
        max-height: 100%;
    }
}

/* お知らせ */
.p-notes {
    margin: 30px 16px 0;
    padding: 24px 24px 0;
    border: 2px solid var(--color-text);
    border-radius: 16px;
    color: var(--color-text);
}

.c-notes-title {
    font-size: 15px;
    font-weight: bold;
    letter-spacing: 1px;
}

.c-notes-text {
    margin: 4px 0 24px;
    font-size: 13px;
    letter-spacing: 1px;
    line-height: 2;
}

.c-notes-link {
    color: #cb722a;
    text-decoration: underline;
}

.c-notes-link:hover {
    color: var(--color-text);
}

/* TAB */
@media screen and (min-width: 768px) {
    .p-notes {
        margin: 60px auto 0;
        width: 760px;
        max-width: 100%;
    }
}
