/* スライダー */
.p-content-swiper {
	position: relative;
    margin: 32px 0 0;
}

.swiper-button-prev,
.swiper-button-next {
	top: 22px;
	height: 32px;
    width: 32px;
    border: none;
    border-radius: 50%;
    background: #e60012;
}

.swiper-button-prev {
	left: 0;
	right: auto;
}

.swiper-button-next {
	left: auto;
	right: 0;
}

.swiper-button-prev:after,
.swiper-rtl .swiper-button-next:after {
    content: "";
    display: inline-block;
	margin-right: 2px;
    width: 0;
    height: 0;
    border: 5px solid transparent;
    border-right: 6px solid #fff;
    border-left: 0 solid transparent;
}

.swiper-button-next:after,
.swiper-rtl .swiper-button-prev:after {
    content: "";
    display: inline-block;
	margin-left: 2px;
    width: 0;
    height: 0;
    border: 5px solid transparent;
    border-right: 0 solid transparent;
    border-left: 6px solid #fff;
}

.swiper-scrollbar {
    position: relative;
    margin-top: 16px;
    background-color: transparent;
}

.swiper-scrollbar::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    margin: auto;
    height: 1px;
    background-color: #817b79;
}

.drag {
    position: relative;
    height: 18px;
	cursor: pointer;
}

.drag::before {
    content: "";
    display: block;
    position: absolute;
    top: -16px;
    left: 0;
    right: 0;
    bottom: 0;
    width: 20px;
    height: 20px;
    margin: auto;
    border-radius: 50%;
    background-color: #c9caca;
}

.swiper-horizontal>.swiper-scrollbar,
.swiper-scrollbar.swiper-scrollbar-horizontal {
    position: absolute;
    top: -48px;
    right: 141px;
    left: auto;
    width: 72px;
    height: 2px;
    z-index: 1;
}

.swiper-slide {
    transform: translateX(-50%);
}

.c-hero-fig {
    padding: 0 4px;
}

/* TAB */
@media screen and (min-width: 768px) {
    .swiper-button-wrap {
        position: absolute;
        top: -48px;
        right: 40px;
        transform: translateX(-50%);
        width: 136px;
        height: 32px;
    }
}

/* SP */
@media screen and (max-width: 767px) {
    .p-content-swiper {
        margin: 0;
    }

    .swiper-horizontal>.swiper-scrollbar,
    .swiper-scrollbar.swiper-scrollbar-horizontal {
        display: none;
    }

    .swiper-button-prev,
    .swiper-button-next {
        top: 50%;
    }

    .swiper-button-prev {
        border-radius: 0 50% 50% 0;
    }

    .swiper-button-next {
        border-radius: 50% 0 0 50%;
    }

    .c-hero-fig {
        padding: 0 8px;
    }

    .swiper-slide {
        transform: translateX(0%);
    }

}

/* 特別開催 */
.p-info-section {
    padding-top: 16px;
    background-color: #e3edec;
}

.p-info-section:not(last-child) {
    margin-bottom: 30px;
}

.p-info-section ~ .p-info-section {
    margin-top: 30px;
}

.p-info-section > h2 {
    padding: 8px 16px;
    background-color: #e60012;
    color: #FFFFFF;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 2px;
}

.p-info-section ul {
    width: 100%;
}

.p-info-section ul > li {
    padding: 16px;
    font-size: 14px;
    border-top: dotted 1px #89c1dc;
}

.p-info-section ul > li:first-child {
    border: none;
}

.p-info-section ul > li > .p-content-category.live > span {
    background-color: #f1b44a;
}

.p-info-section ul > li > .p-content-category.ondemand > span {
    background-color: #89c1dc;
}

.p-info-section ul > li > h4 {
    font-size: 18px;
    font-weight: bold;
}

.p-info-section ul > li > figure {
    margin: 10px 0;
}

.p-info-section ul > li > figure > img {
    width: 120px;
    height: 120px;
}

.p-info-section ul > li > div {
    position: relative;
    margin-top: 1em;
}

.p-info-section ul > li > div > h5 {
    line-height: 1.6em;
    font-weight: bold;
}

.p-info-section ul > li > div > p {
    width: calc(100% - 255px);
    font-size: 14px;
    line-height: 1.6em;
}

.p-info-section ul > li > div > a {
    position: absolute;
    bottom: 0;
    right: 0;
}

.p-info-section ul > li > div > p > .sales-price {
    color: red;
}

.p-info-section ul > li > div > p > .del {
    text-decoration: underline;
    text-decoration-skip-ink: none;
    text-underline-offset: -50%;
}

.p-info-section ul > li .c-pack-category.ondemand {
    min-width: 70px;
}

.p-text-small {
    font-size: 0.8em;
}

/* 画像のみの場合 */
.p-info-section .img-only figure {
    text-align: center;
}

.p-info-section .img-only img {
    width: 90%;
    height: auto;
}

.p-info-section .img-only .c-btn-link_small {
    position: static;
}

/* 画像のみの場合：子育ちラボ */
.p-info-section .img-only.kosodachi-lab a {
    display: block;
    margin: 0 auto;
    width: 70%;
}

.p-info-section .img-only.kosodachi-lab img {
    width: 100%;
}

.p-info-section .img-only.kosodachi-lab figcaption {
    display: inline-block;
    margin-top: .5em;
    font-size: small;
    text-decoration: underline;
}

.p-info-section .img-only.kosodachi-lab p {
    margin-top: 2em;
    text-align: center;
    font-size: 14px;
}

/* 画像のみの場合：長野県 */
.p-info-section .img-only.naganoken a {
    display: block;
    margin: 0 auto;
    width: 70%;
}

.p-info-section .img-only.naganoken img {
    width: 100%;
}

.p-info-section .img-only.naganoken figcaption {
    display: inline-block;
    margin-top: .5em;
    font-size: small;
    text-decoration: underline;
}

.p-info-section .img-only.naganoken p {
    margin-top: 2em;
    text-align: center;
    font-size: 14px;
}

/* 画像特殊ケース */
.p-content-item img[alt="東京書籍×フレーベル館"] {
    margin: 0;
    width: 240px;
    height: auto;
}

#yamanashi_seminar:target::before {
    margin-bottom: -64px;
}

/* SP */
@media screen and (max-width: 767px) {
    .p-info-section {
        flex-direction: column;
    }

    .p-info-section ul > li > div > p {
        width: 100%;
    }

    .p-info-section ul > li > div > a {
        position: relative;
    }
    .p-info-section .img-only img,
    .p-info-section .img-only.kosodachi-lab a,
    .p-info-section .img-only.naganoken a,
    .p-info-section .img-only.yamanashi-seminar > a {
        width: 100%;
    }
}

/* マナブルへのリンク */
.p-point-section.manaable > h2 {
    font-size: 22px;
    letter-spacing: 4px;
}

.p-point-section.manaable > h2 span {
    border-color: #158274;
}

.p-point-section.manaable > p {
    text-align: center;
}

@media screen and (min-width: 800px) {
    .p-point-section.manaable > h2 br {
        display: none;
    }
}

.p-point-section.manaable > .c-btn-link {
    margin-top: 20px;
    background-color: #158274;
}

/* 紹介動画 */
.p-point-section.video > .c-movie-iframe {
    margin: 0 10%;
    width: 80%;
    height: auto;
    aspect-ratio: 16/9;
}

/* 3つのポイント */
.c-point-heading {
    display: flex;
    justify-content: center;
    padding: 4px 0;
    font-size: 18px;
    letter-spacing: 4px;
    color: #fff;
    background-color: #58ac4c;
}

.c-point-heading_left {
    position: relative;
}

.c-point-heading_right {
    padding: 0 0 0 28px;
    position: relative;
}

.c-point-heading_right::before {
    content: '3';
    position: absolute;
    top: -21px;
    left: 0;
    font-size: 48px;
    text-shadow: 2px 2px 0 #58ac4c, -2px -2px 0 #58ac4c,
    -2px 2px 0 #58ac4c, 2px -2px 0 #58ac4c,
    0px 2px 0 #58ac4c,  0 -2px 0 #58ac4c,
    -2px 0 0 #58ac4c, 2px 0 0 #58ac4c;
}

/* 数字の3のみ特別対応 */
@media screen and (max-width: 600px){
    .c-point-heading{
        flex-direction: column;
        align-items: center;
        line-height: 2;
    }
    .c-point-heading_right::before{
        top: -34px;
    }
}

.p-point-box {
    display: flex;
    justify-content: space-between;
    margin: 32px 0 0;
}

.c-point-txt {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-basis: calc((100% - 32px) /3);
    max-width: calc((100% - 32px) /3);
    background-color: #fcdde5;
    padding: 16px 8px;
    font-size: 15px;
    letter-spacing: 1px;
    line-height: 2;
    min-height: calc(2em * 4 + 16px * 2);
    text-align: center;
    border-radius: 20px;
}

.p-point-enquete > figure {
    margin-top: 10px;
    border: none;
}

.p-point-enquete > p {
    text-align: center;
}

.p-point-enquete > p > a {
    text-decoration: underline;
}

.p-point-lead {
    margin: 64px 0 0;
    font-size: 16px;
    letter-spacing: 4px;
    line-height: 2.4;
    text-align: center;
}

.p-point-lead span {
    display: inline-block;
}

.c-point-fig {
    margin: 64px auto 0;
    width: 280px;
    border: 1px solid #cccccc;
}

.c-btn-link {
    width: 380px;
    max-width: 100%;
}

/* TAB */
@media screen and (max-width: 799px) {
    .c-point-txt {
        font-size: 14px;
    }
}

/* SP */
@media screen and (max-width: 767px) {
    .p-point-box {
        flex-wrap: wrap;
    }

    .c-point-txt {
        flex-basis: 48%;
        max-width: 48%;
    }

    .c-point-txt:last-child {
        margin: 16px auto 0;
    }

    .c-point-fig {
        margin: 40px auto 0;
        width: 80%;
    }

    .c-btn-link {
        margin: 24px auto 0;
    }
}

/* MIDDLE SP */
@media screen and (max-width: 499px) {
    .c-point-txt {
        padding: 16px 4px;
        font-size: 12px;
        letter-spacing: 0px;
    }

    .p-point-lead {
        font-size: 14px;
        letter-spacing: 2px;
    }
}

/* SMALL SP */
@media screen and (max-width: 349px) {
    .c-point-heading {
        font-size: 15px;
    }

    .c-point-txt {
        font-size: 10px;
    }

    .c-btn-link {
        width: 280px;
    }
}

/* リンク */
.p-link-list {
    display: flex;
    justify-content: space-between;
}

.p-link-item {
    display: flex;
    flex-basis: calc((100% - 32px) /3);
    max-width: calc((100% - 32px) /3);
}

.p-link-link {
    display: flex;
    padding: 16px;
    border-radius: 20px;
}

.p-link-inner {
    display: flex;
    flex-direction: column;
}

.c-link-title {
    position: relative;
    display: flex;
    flex-grow: 1;
    align-items: center;
    padding: 0 0 0 16px;
    height: 3em;
    font-size: 17px;
    letter-spacing: 2px;
    color: #fff;
}

.p-link-link_ondemand .c-link-title {
    letter-spacing: 0;
}

.c-link-fig {
    margin: 8px 0 0;
}

.c-link-title::before {
    position: absolute;
    content: '';
    display: inline-block;
    top: 50%;
    left: 0;
    width: 0;
    height: 0;
    border: 8px solid transparent;
    border-right: 0 solid transparent;
    border-left: 10px solid #fff;
    transform: translateY(-50%);
}

.c-link-desc {
    margin: 12px 0 0;
    font-size: 14px;
    letter-spacing: 1px;
    text-align: center;
    color: #fff;
}

.p-link-link_live .c-link-desc span {
    display: block;
    text-align: left;
}

/* 小見出し */
.u-heading-level3_triangle {
    position: relative;
    padding: 0 0 0 36px;
    font-size: 18px;
    line-height: 1.5;
    letter-spacing: 4px;
}

/* WIDE PC */
@media screen and (min-width: 1600px) {
    .c-link-title {
        padding-left: 24px;
        font-size: 16px;
    }
    .p-link-link_live .c-link-desc span {
        text-align: center;
    }
}

/* SP */
@media screen and (max-width: 767px) {
    .p-link-list {
        flex-wrap: wrap;
        flex-direction: column;
    }
    .p-link-item {
        flex-basis: 100%;
        max-width: 100%;
        justify-content: space-between;
        margin: 0 0 24px;
    }
    .p-link-link {
        flex-basis: 100%;
        max-width: 100%;
    }
    .p-link-inner {
        flex-basis: calc(100% - 200px);
        max-width: calc(100% - 200px);
        height: 100%;
        padding: 0 16px 0 0;
    }
    .c-link-fig {
        flex-basis: 200px;
        max-width: 200px;
        margin: 0;
    }
    .c-link-desc {
        margin: 8px 0 0;
        text-align: left;
    }
    .c-link-fig.u-show_sp {
        display: flex;
        align-items: center;
    }
}

/* MIDDLE SP */
@media screen and (max-width: 499px) {
    .p-link-link {
        padding: 12px;
    }
    .p-link-inner {
        flex-basis: calc(100% - 144px);
        max-width: calc(100% - 144px);
        padding: 0 4px 0 0;
    }
    .c-link-desc {
        font-size: 13px;
        letter-spacing: normal;
    }
    .c-link-fig {
        flex-basis: 144px;
        max-width: 144px;
    }
}

/* SMALL SP */
@media screen and (max-width: 499px) {
    .p-link-link_live .c-link-title,
    .p-link-link_ondemand .c-link-title {
        line-height: 3;
    }
    .p-link-inner {
        flex-basis: calc(100% - 96px);
        max-width: calc(100% - 96px);
        padding: 0 4px 0 0;
    }
    .c-link-fig {
        flex-basis: 96px;
        max-width: 96px;
    }
}

/* 声 */
.p-voice-section {
    margin: 120px 0 0;
}

.p-voice-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 40px 0 0;
}

.p-voice-item {
    flex-basis: calc((100% - 24px) / 2);
    max-width: calc((100% - 24px) / 2);
    margin: 8px 0;
    padding: 16px 24px;
    border: 1px solid #c0bfc5;
    background-color: #fff;
}

.c-voice-title {
    padding: 0 0 12px;
    font-size: 16px;
    letter-spacing: 2px;
    border-bottom: 2px solid #c8c8c8;
    word-break: break-all;
}

.c-voice-notes {
    margin-top: 8px;
    text-align: right;
    font-size: 12px;
}

/* SP */
@media screen and (max-width: 767px) {
    .p-voice-section {
        margin: 80px 0 0;
    }

    .p-voice-list {
        flex-direction: column;
    }

    .p-voice-item {
        flex-basis: 100%;
        max-width: 100%;
        margin: 0 0 32px 0;
    }

    .p-voice-item:last-child {
        margin: 0;
    }

}


/* よくある質問 */
.p-faq-section {
    margin: 120px 0 0;
}

.p-faq-box {
    margin: 40px 0;
    border: 1px solid #def7da;
}

.c-faq-subheading {
    position: relative;
    padding: 8px 48px 8px 16px;
    font-size: 14px;
    letter-spacing: 2px;
    line-height: 2;
    word-break: break-all;
    background-color: #def7da;
}

.c-accordion-btn::after {
    top: 50%;
    right: 10px;
    height: 24px;
    width: 24px;
    transform: translateY(-48%);
    background-color: #50a444;
}

.c-accordion-btn span {
    top: 50%;
    right: 15px;
    width: 14px;
    transform: translateY(-48%);
}

.c-accordion-btn span:after {
    top: -6px;
    right: 6px;
    height: 14px;
}

.c-answer-text {
    padding: 8px 16px;
}

.p-others-box {
    display: flex;
    margin: 24px 0 0;
    padding: 16px;
    border: 1px solid #2a2e31;
}

.p-others-box .u-txt_normal {
    margin: 0 auto;
}

/* SP */
@media screen and (max-width: 767px) {
    .p-faq-section {
        margin: 80px 0 0;
    }

    /* よくある質問 */
    .p-faq-box {
        margin: 24px 0;
    }
}