/*
 Theme Name: generatepress Child
 Template: generatepress 
 Version: 1.0.0
 Description: Child theme of generatepress
 Author: Your Name
 Text Domain: generatepress-child
*/

html {
    scroll-behavior: smooth !important;
}

h1 {
    font-size: 1.85rem !important;
}

.section-title {
    display: block;
    margin: 14px 0 1.5em;
    font-size: 1.5rem;
    line-height: 1.4;
}

.section-title .label {
    display: block;
    font-size: 0.75em;
    color: #fff;
    background: linear-gradient(to right, #fa709a 0%, #ffdbbf 100%);
    padding: 0.2em 0.6em;
    border-radius: 4px;
    margin-bottom: 0.3em;
    width: fit-content;
}

.section-title .text {
    display: block;
    font-weight: bold;
}

h2 {
    font-size: 1.4rem !important;
}

.h2-design {
    border-top: dotted 2px tan;
    border-bottom: dotted 2px tan;
    text-align: center;
    padding: 15px;
}

.heading-15 {
    display: inline-block;
    position: relative;
    padding: .5em 1em;
    border-right: 27px solid #daceb9;
    background-color: #f5f5f5;
    color: #333;
}

.heading-15::before {
    position: absolute;
    bottom: 2px;
    right: -20px;
    z-index: -1;
    transform: rotate(5deg);
    width: 100%;
    height: 50%;
    background-color: #d0d0d0;
    content: "";
    filter: blur(4px);
}

.heading-18 {
    padding: .5em .7em;
    border: 2px solid #4d4d4d;
    box-shadow: 5px 5px #4d4d4d;
    color: #4d4d4d;
}

.heading-29 {
    display: inline-block;
    position: relative;
    margin: calc(3.5em / 2) 0 calc(3.5em / 4) calc(3.5em / 2);
    color: #333;
    line-height: 1;
}

.heading-29::before {
    position: absolute;
    bottom: calc(-3.5em / 4);
    left: calc(-3.5em / 2);
    z-index: -1;
    width: 3.5em;
    height: 3.5em;
    border-radius: 50%;
    background: #c7f6ff;
    content: '';
}

.heading-38 {
    position: relative;
    padding: .5em 1.2em;
    color: #333;
}

.heading-38::before,
.heading-38::after {
    display: inline-block;
    position: absolute;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    border: 2px solid #2589d0;
    content: '';
}

.heading-38::before {
    top: calc(50% - 3px);
    left: 0;
}

.heading-38::after {
    top: calc(50% + 3px);
    left: 5px;
}

.heading-27 {
    display: flex;
    align-items: center;
    column-gap: 8px;
    color: #333;
}

.heading-27::before {
    width: 0.8em;
    height: 0.4em;
    border-bottom: 4px solid #d0ca25;
    border-left: 4px solid #d0ca25;
    transform: rotate(-45deg) translate(2px, -2px);
    content: '';
}

p.oval-line {
    --dot-color: #B8DEFA;
    --dot-size: 0.85em;
    --dot-gap: 0.45em;
    --dot-shift: 0.06em;
}

p.oval-line::before {
    content: "";
    display: inline-block;
    inline-size: var(--dot-size);
    block-size: var(--dot-size);
    margin-inline-end: var(--dot-gap);
    border-radius: 50%;
    background: var(--dot-color);
    vertical-align: baseline;
    transform: translateY(var(--dot-shift));
}

.heading-simple-line {
    position: relative;
    padding: 1rem .5rem;
    font-weight: 800;
}

.heading-simple-line::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    content: '';
    background-image: -webkit-gradient(linear, left top, right top, from(#F4B8C4), to(#F3EFEC));
    background-image: linear-gradient(left, #F4B8C4 0%, #F3EFEC 100%);
    background-image: linear-gradient(to right, #F4B8C4 0%, #F3EFEC 100%);
}

h3 {
    font-size: 1.6rem !important;
}

.heading-simple-thinline {
    position: relative;
    padding: 1rem .5rem;
}

.heading-simple-thinline::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    content: '';
    background-image: -webkit-gradient(linear, left top, right top, from(#fa709a), to(#F3EFEC));
    background-image: linear-gradient(left, #fa709a 0%, #F3EFEC 100%);
    background-image: linear-gradient(to right, #fa709a 0%, #F3EFEC 100%);
}

.label-simple-thinline {
    position: relative;
    width: 90% !important;
    display: block;
    font-weight: 800;
    padding: 0 10px;
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.label-simple-thinline::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    content: '';
    background-image: -webkit-gradient(linear, left top, right top, from(#fa709a), to(#F3EFEC));
    background-image: linear-gradient(left, #fa709a 0%, #F3EFEC 100%);
    background-image: linear-gradient(to right, #fa709a 0%, #F3EFEC 100%);
}

.subsection-title {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    margin: 1em 0;
}

.subsection-title .label {
    background: #F86E99;
    color: #fff;
    padding: 0.2em 0.6em;
    font-size: 80%;
    border-radius: 4px;
    margin-right: 0.5em;
    flex-shrink: 0;
}

.subsection-title .text {
    flex: 1;
    font-size: 1.3rem !important;
}

p {
    font-size: 1.1rem !important;
}

.img-nonpadding {
    margin-top: -30px;
    margin-left: -15px;
    margin-right: -15px;
}

.img-half {
    width: 45%;
}

.fg-box {
    background-color: #f5f8fa;
    padding: 30px 35px 20px;
}

.schedule-container {
    margin: 40px auto;
    padding: 60px 50px 20px;
    font-family: "Hiragino Sans", "Noto Sans JP", sans-serif;
    color: #333;
    position: relative;
    background-color: #CDC1B8;
}

.schedule-inbox {
    background: #fff;
    padding: 65px 65px 25px;
    font-family: "Hiragino Sans", "Noto Sans JP", sans-serif;
    color: #333;
    position: relative;
    background-color: #fff;
    z-index: 10;
}

.schedule-badge {
    width: 258px;
    height: 129px;
    margin: 0 auto 15px;
    overflow: hidden;
    border-top-left-radius: 129px;
    border-top-right-radius: 129px;
    margin-bottom: -45px;
    z-index: 11;
    position: relative;
    background: #fff;
}

.schedule-badge img {
    display: block;
    width: 70%;
    height: 70%;
    margin: 25px 0 0 35px;
}

.schedule-header {
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 10px 0 10px 15px;
    margin-bottom: 29px;
    margin-left: -14px;
    font-weight: bold;

}

.schedule-title {
    background: #BBAEA5;
    color: #fff;
    padding: 6px 12px;
    white-space: nowrap;
    float: left;
    font-size: 1.2rem;
    text-shadow: 1px 1px 3px rgb(0 0 0 / 40%);
}

.schedule-period {
    font-size: 1.15rem;
    color: #555;
    text-align: right;
    float: right;
    font-weight: 800;
}

.schedule-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.schedule-list li {
    background: #EFEFED;
    padding: 12px;
    margin-bottom: 10px;
    font-size: 18px;
    line-height: 1.6;
    font-weight: 800;
    text-align: center;
    position: relative;
}

.highlight-box {
    background: #C3E8FE;
    color: #000;
    font-weight: bold;
    text-align: center;
    padding: 12px;
    margin-top: 12px;
    border-radius: 6px;
    font-size: 18px;
}

.instructor {
    margin-bottom: 15px;
    border-bottom: dotted #F3EFEC 2px;
}

.instructor .instructor-img {
    width: 100%;
    text-align: center;
}

.instructor .instructor-img img {
    max-width: 530px;
    border-bottom: solid #d7e9f5 10px;
    margin-bottom: 30px;
}

.instructor .instructor-prof {
    margin: 5px 0;
}

.instructor .instructor-prof .namebox {
    font-weight: 800;
    font-size: 1.2rem;
    text-align: center;
}

.instructor .instructor-prof .profbox .label {
    font-size: 1.1rem;
    font-weight: 800;
}

.instructor .instructor-prof .profbox .proftext {
    margin-top: 10px;
    font-size: 1rem;
}

.instructor .instructor-prof .profbox .license-label {
    font-size: 12px;
}

.instructor .instructor-prof .profbox .license-text {
    font-size: 0.9rem !important;
}

.nobr {
    display: none;
}

.font-smaller {
    font-size: smaller !important;
}

.program-label {
    text-align: left;
    font-size: 1.3rem;
    margin-bottom: 15px;
    border-bottom: solid 1px #eee;
}

.faq-box {
    margin: 20px 0;
}

.talk {
    --av-size: 48px;
    --gap: 12px;
    --bubble-bg: #d7e9f5;
    --bubble-stroke: #FFF;
    --bubble-radius: 14px;
    --shadow: 0 6px 16px rgb(0 0 0 / 6%), 0 1px 3px rgb(0 0 0 / 8%);
    display: flex;
    align-items: flex-start;
    gap: var(--gap);
    margin: 1rem 0;
}

.talk .avatar {
    width: var(--av-size);
    height: var(--av-size);
    border-radius: 50%;
    background: #FFF;
    border: 2px solid var(--bubble-stroke);
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    overflow: hidden;
}

.talk .avatar img,
.talk .avatar svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.talk .bubble {
    position: relative;
    margin: 0 0 25px;
    padding: .7em 1em;
    background: var(--bubble-bg);
    color: #222;
    border: 2px solid var(--bubble-stroke);
    border-radius: var(--bubble-radius);
    box-shadow: var(--shadow);
    line-height: 1.8;
    max-width: min(70ch, 100%);
}

.talk .bubble::before,
.talk .bubble::after {
    content: "";
    position: absolute;
    top: 18px;
    left: -5px;
    width: 12px;
    height: 12px;
    transform: rotate(45deg);
    border-radius: 2px;
    pointer-events: none;
}

.talk .bubble::before {
    background: transparent;
    box-shadow: -2px 2px 0 0 var(--bubble-stroke);
}

.talk .bubble::after {
    left: -5px;
    background: var(--bubble-bg);
}

.ajustspace-thinline {
    margin-bottom: -5px;
}

.labelbox {
    background-color: #F86E99;
    color: white;
    padding: 2px 3px;
    border-radius: 6px;
    margin-right: 5px;
}

.voiceitem {
    background: #F3EFEC;
    border-radius: 16px;
    padding: 20px 20px 5px;
    margin: 20px 0;
    box-shadow: 0 4px 10px rgb(0 0 0 / 5%);
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.voiceitem:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 14px rgb(0 0 0 / 8%);
}

/* タイトル */
.voiceitem .voicetitle {
    font-size: 1.2rem;
    font-weight: bold;
    color: #d86ba3;

    /* 上品なローズカラー */
    margin-bottom: 10px;

    /* border-left: 5px solid #f48fb1; */
    padding-left: 10px;
}

.voiceitem .voicecomment {
    font-size: 1rem;
    color: #555;
    margin-bottom: 15px;
    background: #fff;
    border-radius: 12px;
    padding: 15px;

    position: relative;
}

.voiceitem .voicecomment::before {
    content: "";
    font-size: 2rem;
    color: #f48fb1;
    position: absolute;
    top: -10px;
    left: 10px;
    opacity: 0.3;
}

.voiceitem .voiceprof {
    font-size: 0.9rem;
    color: #B7AAA1;
    text-align: right;
    font-style: italic;
}

.floating-buttons {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    z-index: 9999;
}

.floating-btn {
    flex: 1;
    text-align: center;
    padding: 15px 0;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    transition: background 0.3s;
}

.contact-btn {
    background-color: #6bb8f2;
}

.contact-btn:hover {
    background-color: #0056b3;
    color: #fff;
}

.reserve-btn {
    background-color: #F59C3F;
}

.reserve-btn:hover {
    background-color: #f5b878;
    color: #fff;
}

.img-nonpadding figure {
    text-align: center !important;
}

.img-nonpadding figcaption {
    text-align: center !important;
    font-size: 1.0 rem;
}

.c-page-course__nav {
    margin: 25px 0 15px;
    padding-top: 10px;
}

.c-page-course__nav-body {
    display: grid;
    gap: 8px;
    grid-template-columns: 1fr 1fr;
    list-style: none;
    margin: 0;
    padding: 0
}

.c-page-course__nav ul {
    list-style: none;
}

.c-page-course__nav li {
    float: left;
}

.c-page-course__nav li a {
    align-items: center;
    background: #FFF7F0 url("/asset/img/icon-ar-down-blue.svg") no-repeat 13px/9px auto;
    border-radius: 30px;
    color: currentcolor;
    display: flex;
    font-size: 1.3rem;
    font-weight: 700;
    height: 100%;
    justify-content: center;
    padding: 15px 0;
    text-decoration: none;
    border: solid 1px #f1b986;
}

:target {
    outline: none !important;
}

.c-page-course__nav li a span.s_content {
    font-size: 0.77rem;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 608px;
    margin: 0 auto;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.vimeocaption {
    background-color: white;
    text-align: center;
}

@media (width <=1200px) {
    .img-half {
        width: 55%;
    }
}

@media (width <=992px) {
    .img-half {
        width: 65%;
    }
}

@media (width <=768px) {
    .nobr {
        display: inline;
    }

    .img-half {
        width: 100%;
    }

    .schedule-container {
        padding: 40px 35px 20px;
    }

    .schedule-badge {
        width: 180px;
        height: 90px;
        margin-bottom: -35px;
    }

    .schedule-badge img {
        margin: 14px 0 0 25px;
    }

    .schedule-inbox {
        padding: 30px 40px 25px;
    }

    .schedule-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .schedule-period {
        text-align: left;
        font-size: 1rem;
    }

    .schedule-list li {
        font-size: 14px;
        padding: 12px;
    }

    .highlight-box {
        font-size: 18px;
        padding: 8px;
    }
}

@media (width <=650px) {
    .nobr {
        display: inline;
    }

    .img-half {
        width: 100%;
    }

    .schedule-container {
        padding: 30px
    }

    .schedule-inbox {
        padding: 30px 40px 25px;
    }

    .schedule-header {
        margin-bottom: 20px;
    }

    .schedule-title {
        font-size: 14px;
        padding: 5px 10px;
    }

    .schedule-period {
        font-size: 0.8rem;
    }

    .schedule-list li {
        font-size: 14px;
        padding: 12px;
    }

    .highlight-box {
        font-size: 14px;
        padding: 8px;
    }

    .arc-text {
        width: 160px;
        height: 140px;
    }

    .schedule-icon {
        width: 32px;
        height: 32px;
    }
}

@media (width <=480px) {
    .nobr {
        display: inline;
    }

    .img-half {
        width: 100%;
    }

    .schedule-container {
        padding: 25px
    }

    .schedule-badge {
        width: 110px;
        height: 55px;
        margin-bottom: -20px;
    }

    .schedule-badge img {
        margin: 10px 0 0 14px;
    }

    .schedule-inbox {
        padding: 15px 20px 25px;
    }

    .schedule-title {
        font-size: 14px;
        padding: 5px 10px;
    }

    .schedule-period {
        font-size: 0.7rem;
    }

    .schedule-list li {
        font-size: 13px;
        padding: 10px;
    }

    .highlight-box {
        font-size: 14px;
        padding: 8px;
    }

    .instructor .instructor-img {
        text-align: center;
    }

    .instructor .instructor-img img {
        max-width: 100%;
        border-bottom: solid #a0d8ef 10px;
    }

    .arc-text {
        width: 160px;
        height: 140px;
    }

    .schedule-icon {
        width: 32px;
        height: 32px;
    }
}

.firstview-block {
    width: 100%;
    margin: 0 auto;
}

.firstview-sp {
    display: block;
}

.firstview-sp__img {
    width: 60%;
    height: auto;
    display: block;
    margin: 0 auto;
}



@media screen and (width <=1150px) {
    .firstview-sp__img {
        width: 100%;
        height: auto;
        display: block;
    }
}

@media (width <=767px) {
    .firstview-sp {
        display: block;
    }

    h1.book_title {
        font-weight: 800 !important;
        font-size: 1.6rem !important;
    }

    .entry-content {
        margin-top: 0 !important;
    }

    .inside-article {
        padding: 0 !important;
        margin-top: -26px !important;
    }

    .secondview-block {
        padding: 45px 30px 30px;
    }
}

.entry-content {
    margin-top: 0 !important;
}

.inside-article {
    padding: 0 !important;
    margin-top: -26px !important;
    background: none !important;
}

.secondview-block {
    padding: 45px 30px 30px;
}

.secondview-block h3 {
    margin: 35px 0 !important;
}

.site-header,
.entry-header {
    display: none !important;
}

.book_info {
    background-color: #FFF7F0 !important;
    border: solid 1px #f1b986;
    padding: 10px !important;
    border-radius: 7px !important;
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    align-items: flex-start;
    margin: 35px 0;
}

.book_info img {
    width: 220px;
    height: auto;
}

.book_text_area {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 10px;
    flex: 1;
}

.bookname {
    font-size: 1.5em;
    font-weight: bold;
}

.author_info {
    margin-top: 15px;
    line-height: 1.6;
}

@media screen and (width <=768px) {
    .book_info {
        display: block;
        text-align: center;
    }

    .book_info img {
        width: 80%;
        margin: 0 auto;
    }

    .book_text_area {
        text-align: left;
        margin-top: 10px;
    }

    .bookname {
        text-align: left;
        font-size: 1.3em;
    }

    .author_info {
        text-align: center;
        margin-top: 0;
    }

}

.persona-block {
    background-color: #FFF7F0 !important;
    border-radius: 7px;
    border: solid 1px #f1b986;
    padding: 20px 20px 0;
    margin-bottom: 15px;
}

.persona-list-line {
    list-style: none;
    margin-left: 0 !important;
}

.persona-item {
    border-bottom: dotted 1px #bbb;
    padding-bottom: 10px;
    margin: 10px 0;
}

.persona-item:last-child {
    border-bottom: none !important;
}

.persona-header {
    border-left: 6px solid #1B4F9C;

    padding-left: 12px;
    margin-bottom: 10px;
}

.persona-name {
    margin: 0;
    font-size: 1.2rem;
    color: #000;
    font-weight: 800;
}

.glc {
    color: #fb9bae;
}

.byc {
    color: #1B4F9C;
}

.persona-name span {
    font-size: 0.85rem;
    color: #124E89;
    margin-left: 6px;
}

.persona-profile {
    margin: 0;
    color: #333;
    line-height: 1.6;
    font-size: 0.95rem;
}

h3.catch_copy {
    border-bottom: solid 1px #E59CAC;
    width: 30%;
    font-weight: 800;
}

.grid-container {
    max-width: 768px !important;
    margin-top: 20px;
}

@media screen and (width <=768px) {
    .grid-container {
        margin-top: 0;
    }
}

body {
    margin: 0;
    min-height: 100vh;
    background-color: #FFF;
    background-size: 20px 20px;
    background-image:
        linear-gradient(to bottom,
            rgb(80 65 50 / 12%) 1px,
            transparent 1px),
        linear-gradient(to right,
            rgb(80 65 50 / 12%) 1px,
            transparent 1px);
    padding-bottom: 55px !important;
    font-family: "游ゴシック", YuGothic, "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", Meiryo, "メイリオ", sans-serif;
}


.copyright-bar {
    font-family: "Noto Sans JP", "メイリオ", Meiryo, sans-serif;
    font-size: 0.7rem;
    color: #6c6d61;
}

.contact_form_box {
    background-color: #FFF7F0 !important;
    padding: 35px;
    border-radius: 15px;
}

.contact_form_box label {
    font-weight: 800;
}

.media-contact-block {
    padding: 1.4rem 1.6rem;
    border-radius: 10px;
    background: #f5f7fb;
    border: 1px solid #dde2f0;
    box-sizing: border-box;
}

.media-contact-text {
    font-size: 1rem;
    line-height: 1.6;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.media-contact-emoji {
    font-size: 1.5rem;
    line-height: 1;
}

.media-contact-btn {
    display: inline-block;
    margin-top: 0.8rem;
    padding: 0.6rem 1.2rem;
    background: #2a6ef2;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: background 0.2s ease;
}

.media-contact-btn:hover {
    background: #1e57c2;
}

.button-wrapper {
    position: relative;
    margin-bottom: 5px !important;
}

.book-button {
    width: 100%;
    ;
    padding: 20px 40px;
    font-size: 22px;
    font-weight: 600;
    color: white;
    border: none;
    border-radius: 16px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgb(0 0 0 / 25%);
}

.book-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgb(255 255 255 / 30%), transparent);
    transition: left 0.5s ease;
}

.book-button:hover::before {
    left: 100%;
}

.book-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgb(0 0 0 / 35%);
}

.book-button:active {
    transform: translateY(-1px);
}

.green-button {
    background: #1D8B55;
}

.orange-button {
    background: #F90;
}

.red-button {
    background: #BF0000;
}

.book-icon {
    font-size: 28px;
    width: 1px;
}

.arrow {
    font-size: 24px;
    transition: transform 0.3s ease;
}

.book-button:hover .arrow {
    transform: translateX(5px);
}

.blur-shadow {
    border-radius: 10px;
}

@media (width <=600px) {
    .book-button {
        font-size: 18px;
        padding: 18px 0;
    }

    .book-icon {
        font-size: 24px;
    }
}

.btn-primary {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background: #84C84B;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: background 0.2s ease, opacity 0.2s ease;
    line-height: 1.4;
}

.btn-primary:hover {
    background: #a8cb8b;
}

@media (width <=767px) {
    .btn-primary {
        padding: 0.7rem 1.4rem;
        font-size: 1rem;
    }
}

.btn-wrapper {
    width: 100%;
    margin: 1rem 0;
    display: flex;
}

.btn-wrapper.left {
    justify-content: flex-start;
}

.btn-wrapper.center {
    justify-content: center;
}

.btn-wrapper.right {
    justify-content: flex-end;
}

.sns_footer_wrapper {
    margin-top: 45px;
}

.img_thin_space {
    margin-top: -25px;
}