/* ===========================================
   Course Page
   =========================================== */

/* Course Intro */
.course-intro-section {
    padding: clamp(40px, 6vw, 80px) 0 clamp(80px, 10vw, 100px);
    position: relative;
}

.course-intro-bg {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: min(603px, 55vw);
    pointer-events: none;
}

.course-intro-header .course-intro-bg {
    top: 0;
    bottom: auto;
    left: 0;
    z-index: 0;
}

.course-category-section > .course-intro-bg {
    top: -130px;
    bottom: auto;
    left: 0;
}

.senka-bg-left {
    width: min(518px, 48vw);
}

#senka .course-item {
    width: 100%;
    max-width: 1120px;
    height: auto;
    max-height: none;
    min-height: unset;
    position: static;
    left: auto;
    transform: none;
    border-radius: 16px;
    border: 1px solid #DDA5C9;
    background-color: #ffffff;
    display: flex;
    align-items: stretch;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
}

#senka .course-item-image {
    position: static;
    width: clamp(200px, 35.5vw, 512px);
    max-width: 512px;
    height: auto;
    max-height: 380px;
    flex-shrink: 1;
    border-radius: 0;
    overflow: hidden;
    order: -1;
}

#senka .course-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

#senka .course-item-content {
    position: static;
    right: auto;
    top: auto;
    margin: 0;
    transform: none;
    width: auto;
    max-width: none;
    height: auto;
    max-height: none;
    border: none;
    background: none;
    overflow-y: visible;
    padding: 0;
    border-radius: 0;
    display: flex;
    flex-direction: column;
}

#senka .course-item-title {
    text-align: center;
    padding: 0;
    border-bottom: none;
    margin: 0;
}

#senka .course-item-title::after {
    content: '';
    display: block;
    height: 3px;
    width: 100%;
    margin: 12px auto 0;
    background: linear-gradient(to right, #B57FA2 663px, #D9D5CD 663px);
}

#senka .course-item-body {
    display: flex;
    flex-direction: row;
    flex: 1;
    gap: 32px;
}

#senka .course-item-text {
    flex: 1;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

#senka .course-item-label {
    display: flex;
    align-items: flex-start;
    width: auto;
    margin: 0;
}

#senka .course-item-title {
    color: #B57FA2;
}

#senka .course-item-title::after {
    background: linear-gradient(to right, #B57FA2 663px, #D9D5CD 663px);
}

#senka .course-item-label {
    color: #B57FA2;
    background-color: #B57FA233;
}

#senka .course-item-label .label-line1::before {
    background-image: url('../images/check-pink.svg');
    width: 20.5px;
    height: 11.5px;
    margin-top: 7px;
}

#senka .course-item {
    border-color: #DDA5C9;
    padding: 32px;
    margin-bottom: 40px;
}

#senka .course-item:nth-child(odd) {
    margin-bottom: 40px;
}

#senka .course-item:last-of-type {
    margin-bottom: 0;
}


#senka .course-info-label {
    border-color: #B57FA2;
    color: #B57FA2;
}

#senka .course-info-value,
#senka .course-info-value .cost-title,
#senka .course-info-value .tax,
#senka .course-info-value .price {
    color: #B57FA2;
}

#senka .course-info-subvalue {
    color: #B57FA2;
}

#senka .course-recommend-title {
    color: #5BA699;
}

#senka .course-recommend-list li {
    color: #5BA699;
}

/* 2枚目・4枚目: #5BA699カラー */
#senka .course-item:nth-child(odd) {
    border-color: #A5CFC8;
}

#senka .course-item:nth-child(odd) .course-item-title {
    color: #5BA699;
}

#senka .course-item:nth-child(odd) .course-item-title::after {
    background: linear-gradient(to right, #5BA699 663px, #D9D5CD 663px);
}

#senka .course-item:nth-child(odd) .course-item-label {
    color: #5BA699;
    background-color: #5BA69933;
}

#senka .course-item:nth-child(odd) .course-item-label .label-line1::before {
    background-image: url('../images/check-green.svg');
}

#senka .course-item:nth-child(odd) .course-info-label {
    border-color: #A5CFC8;
    color: #5BA699;
}

#senka .course-item:nth-child(odd) .course-info-value,
#senka .course-item:nth-child(odd) .course-info-value .cost-title,
#senka .course-item:nth-child(odd) .course-info-value .tax,
#senka .course-item:nth-child(odd) .course-info-value .price {
    color: #5BA699;
}

#senka .course-item:nth-child(odd) .course-info-subvalue {
    color: #5BA699;
}

.course-intro-container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px;
}

.course-intro-text {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.6;
    color: #5BA699;
    text-align: center;
    padding-bottom: 50px;
}

/* Course Top Content Section */
.course-top-cont-section {
    padding: 0;
}

.course-top-cont-container {
    padding: 0 20px;
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 0;
    align-items: center;
}

.course-top-cont-image-text {
    display: none;
}

.course-top-cont-image--sp {
    display: none;
}

.course-top-cont-image {
    position: relative;
}

.course-top-cont-image > img {
    width: calc(684 / 1440 * 100vw);
    height: calc(721 / 1440 * 100vw);
    max-width: 684px;
    max-height: 721px;
    display: block;
    object-fit: cover;
    object-position: top;
    margin-left: auto;
    margin-right: 40px;
}

.course-top-cont-image-text-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.course-top-cont-logo {
    width: 258px;
    height: auto;
    margin-bottom: 50px;
}

.course-top-cont-heading {
    font-family: 'Poppins', sans-serif;
    font-size: 44px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.08em;
    color: #585858;
    text-align: center;
    margin: 0;
    padding-bottom: 16px;
    border-bottom: 1px solid #5B5B5B;
}

.course-top-cont-subheading {
    font-size: 31px;
    font-weight: 700;
    line-height: 1.6;
    color: #585858;
    text-align: center;
    margin: 0;
}

.course-top-cont-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
    position: relative;
    z-index: 1;
}

.course-top-cont-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.course-top-cont-view-btn {
    display: none;
}

.course-top-cont-overlays {
    display: none;
}

/* ---- Course Detail Modal ---- */
.course-detail-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.course-detail-modal-overlay.is-open {
    display: flex;
}

.course-detail-modal {
    position: relative;
    background: #fff;
    border-radius: 12px;
    padding: 28px 24px 80px;
    width: calc(100% - 32px);
    max-width: 800px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.course-detail-modal-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.course-detail-modal-content .course-top-cont-info {
    gap: 16px;
}

.course-detail-modal-content .course-top-cont-chip {
    width: 106px;
    height: 44px;
    font-size: 22px;
}

.course-detail-modal-content .course-top-cont-title {
    font-size: 21px;
    font-weight: 700;
    line-height: 1.45;
    color: #00A2B9;
}

.course-detail-modal-content .course-top-cont-desc {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.45;
}

.course-detail-modal-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #F7DA85;
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    text-decoration: none;
    align-self: center;
    margin-top: 4px;
    transition: opacity 0.2s;
}

.course-detail-modal-cta:hover {
    opacity: 0.8;
}

.course-detail-modal-close {
    position: absolute;
    bottom: 16px;
    right: 16px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid #A19E99;
    background: #fff;
    cursor: pointer;
    padding: 0;
}

.course-detail-modal-close::before,
.course-detail-modal-close::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 2px;
    background: #A19E99;
    border-radius: 1px;
}

.course-detail-modal-close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.course-detail-modal-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.course-top-cont-check {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.course-top-cont-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.course-top-cont-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 106px;
    height: 44px;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.7);
    border: 1px solid #5BA699;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.6;
    color: #5BA699;
}


.course-top-cont-title {
    font-size: 21px;
    font-weight: 700;
    line-height: 1.45;
    color: #00A2B9;
    margin: 0;
}

.course-top-cont-desc {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.45;
    color: color-mix(in srgb, #A19E99, #000000 20%);
    margin: 0;
}

.course-top-cont-note {
    width: 100%;
    max-width: 578px;
    min-height: 109px;
    background-color: #B0D9FF;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.6;
    color: #30403E;
    margin: 30px 0 0 0;
    padding: 10px 16px 23px 16px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
}

.course-nav-buttons {
    display: flex;
    gap: 0;
    margin-top: 150px;
    justify-content: center;
    position: relative;
}

.course-nav-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 27px;
    padding: 0 32px;
    background: transparent;
    border: none;
    border-left: 1px solid #D9D5CD;
    color: #30403E;
    font-size: 17px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    transition: color 0.3s;
}

.course-nav-button:last-child {
    border-right: 1px solid #D9D5CD;
}

.course-nav-button::after {
    content: "";
    display: block;
    width: 6px;
    height: 6px;
    border-right: 2px solid #5BA699;
    border-bottom: 2px solid #5BA699;
    transform: rotate(45deg);
    margin-left: 10px;
    flex-shrink: 0;
}

.course-nav-button:hover {
    color: #5BA699;
}

/* Course Category Section */
.course-category-section {
    padding: 0 0 clamp(60px, 8vw, 100px);
    scroll-margin-top: 100px;
    position: relative;
}

#honka {
    padding-bottom: 0;
}

.course-intro-header {
    position: relative;
    overflow: hidden;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding: 250px 20px 150px;
}

#senka .course-intro-header {
    padding-top: 200px;
}

.course-category-bg {
    position: absolute;
    bottom: 0;
    right: 0;
    width: min(491px, 45vw);
    pointer-events: none;
    z-index: 0;
}

.course-category-container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px;
}

#senka .course-category-container {
    padding: 0;
}

@media (max-width: 1160px) {
    #senka .course-category-container {
        padding: 0 20px;
    }
}

.course-category-title {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.6;
    color: #5BA699;
    text-align: center;
    margin: 0 0 20px;
    position: relative;
    z-index: 1;
}

.course-category-intro {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.6;
    color: color-mix(in srgb, #A19E99, #000000 20%);
    text-align: center;
    margin: 0 auto;
    max-width: 1120px;
    width: 100%;
    position: relative;
    z-index: 1;
}

/* Course Item */
.course-intro-header + .course-item {
    margin-top: 50px;
}

.course-item {
    position: relative;
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
    min-height: calc(752 / 1440 * 100vw);
    margin-bottom: 100px;
    display: flex;
    scroll-margin-top: 100px;
}

#honka .course-item:nth-child(odd) .course-item-content::before {
    content: '';
    position: absolute;
    top: -85px;
    left: 0;
    width: 450px;
    height: 147px;
    background: url('../images/course-bg-03.png') no-repeat center / contain;
    pointer-events: none;
    z-index: -1;
}

@media (max-width: 900px) {
    #honka .course-item:nth-child(odd) .course-item-content::before {
        width: 50vw;
        height: calc(50vw * 147 / 450);
    }
}

.course-item:last-of-type {
    margin-bottom: 0;
}

.course-item-image {
    position: absolute;
    left: 0;
    top: 0;
    width: calc(848 / 1440 * 100vw);
    max-width: 848px;
    height: calc(752 / 1440 * 100vw);
    max-height: 752px;
    border-radius: 0 16px 16px 0;
    overflow: hidden;
}

.course-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.course-item-content {
    position: relative;
    margin-left: auto;
    margin-top: 100px;
    width: calc(704 / 1440 * 100vw);
    max-width: 704px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 40px max(calc((100vw - 1120px) / 2), 20px) 40px 40px;
    box-sizing: border-box;
    background-color: #ffffff;
    border-top: 1px solid #A5CFC8;
    border-right: none;
    border-bottom: 1px solid #A5CFC8;
    border-left: 1px solid #A5CFC8;
    border-radius: 24px 0 0 24px;
}

.course-item:nth-child(odd) {
    margin-bottom: 200px;
}

.course-item:nth-child(odd):last-of-type {
    margin-bottom: 100px;
}

.course-item:nth-child(odd) .course-item-image {
    left: auto;
    right: 0;
    top: auto;
    bottom: -100px;
    border-radius: 16px 0 0 16px;
    overflow: hidden;
}

#honka .course-item:nth-child(odd) .course-item-image {
    top: 100px;
    bottom: auto;
}

.course-item:nth-child(odd) .course-item-content {
    margin-left: 0;
    margin-right: auto;
    margin-top: 0;
    padding: 40px 40px 40px max(calc((100vw - 1120px) / 2), 20px);
    border-top: 1px solid #A5CFC8;
    border-right: 1px solid #A5CFC8;
    border-bottom: 1px solid #A5CFC8;
    border-left: none;
    border-radius: 0 24px 24px 0;
}

#honka .course-item-content {
    min-height: calc(477 / 1440 * 100vw);
    align-self: flex-start;
}

#basic .course-item-image,
#total .course-item-image {
    top: 100px;
}

#basic .course-item-content,
#total .course-item-content {
    margin-top: 0;
}

#professional {
    min-height: calc(952 / 1440 * 100vw);
}

#professional .course-item-content {
    align-self: flex-end;
    margin-top: 0;
}

#basic {
    isolation: isolate;
}

#basic .course-item-content::after {
    content: '';
    position: absolute;
    bottom: -101px;
    right: 0;
    width: 517px;
    height: 153px;
    background: url('../images/course-bg-04.png') no-repeat center / contain;
    pointer-events: none;
    z-index: -1;
}

#honka .course-item-content .course-detail-accordion {
    margin-top: auto;
}

.course-item:nth-child(odd) .course-item-label {
    justify-content: flex-start;
}

.course-item-header {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.course-item-title {
    font-size: 31px;
    font-weight: 700;
    line-height: 1.6;
    color: #5BA699;
    margin: 0;
}

.course-item-subtitle {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.6;
    color: #5BA699;
    margin: 0;
}

.course-item-label {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 4px;
    background-color: #5BA69933;
    color: #5BA699;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.6;
    padding: 5px 10px;
    border-radius: 4px;
}

.course-item-label .label-line1 {
    display: flex;
    align-items: center;
    gap: 6px;
}

.course-item-label .label-line1::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    background: url('../images/check-green.svg') no-repeat center / contain;
    flex-shrink: 0;
}

.course-item-label .label-line2 {
}

.course-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.course-item-desc {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    color: #30403E;
    margin: 0 0 24px;
}

@media (min-width: 1440px) {
    #honka .course-item {
        margin-bottom: calc(200 / 1440 * 100vw);
    }

    #honka .course-item:nth-child(odd) {
        margin-bottom: calc(200 / 1440 * 100vw);
    }

    #honka .course-item:nth-child(odd):last-of-type {
        margin-bottom: calc(100 / 1440 * 100vw);
    }

    #honka .course-item:nth-child(odd) .course-item-content::before {
        top: calc(-85 / 1440 * 100vw);
        width: calc(450 / 1440 * 100vw);
        height: calc(147 / 1440 * 100vw);
    }

    #honka .course-item-image {
        max-width: none;
        max-height: none;
    }

    #honka .course-item:nth-child(odd) .course-item-image {
        top: calc(100 / 1440 * 100vw);
        bottom: auto;
    }

    #honka .course-item-content {
        max-width: none;
        margin-top: calc(100 / 1440 * 100vw);
        gap: calc(20 / 1440 * 100vw);
        padding: calc(40 / 1440 * 100vw) calc(160 / 1440 * 100vw) calc(40 / 1440 * 100vw) calc(40 / 1440 * 100vw);
        border-radius: calc(24 / 1440 * 100vw) 0 0 calc(24 / 1440 * 100vw);
    }

    #honka .course-item:nth-child(odd) .course-item-content {
        margin-top: 0;
        padding: calc(40 / 1440 * 100vw) calc(40 / 1440 * 100vw) calc(40 / 1440 * 100vw) calc(160 / 1440 * 100vw);
        border-radius: 0 calc(24 / 1440 * 100vw) calc(24 / 1440 * 100vw) 0;
    }

    #basic .course-item-image,
    #total .course-item-image {
        top: calc(100 / 1440 * 100vw);
    }

    #basic .course-item-content,
    #total .course-item-content {
        margin-top: 0;
    }

    #basic .course-item-content::after {
        bottom: calc(-101 / 1440 * 100vw);
        width: calc(517 / 1440 * 100vw);
        height: calc(153 / 1440 * 100vw);
    }

    #professional {
        min-height: calc(952 / 1440 * 100vw);
    }

    /* Header / Typography */
    #honka .course-item-header {
        gap: calc(6 / 1440 * 100vw);
    }

    #honka .course-item-title {
        font-size: calc(31 / 1440 * 100vw);
    }

    #honka .course-item-subtitle {
        font-size: calc(20 / 1440 * 100vw);
    }

    /* Label */
    #honka .course-item-label {
        font-size: calc(16 / 1440 * 100vw);
        padding: calc(5 / 1440 * 100vw) calc(10 / 1440 * 100vw);
        border-radius: calc(4 / 1440 * 100vw);
        gap: 0 calc(4 / 1440 * 100vw);
    }

    #honka .course-item-label .label-line1 {
        gap: calc(6 / 1440 * 100vw);
    }

    #honka .course-item-label .label-line1::before {
        width: calc(16 / 1440 * 100vw);
        height: calc(16 / 1440 * 100vw);
    }

    /* Description */
    #honka .course-item-desc {
        font-size: calc(16 / 1440 * 100vw);
        margin-bottom: calc(24 / 1440 * 100vw);
    }

    /* Accordion toggle */
    #honka .course-detail-accordion-toggle {
        height: calc(60 / 1440 * 100vw);
        padding: 0 calc(12 / 1440 * 100vw) 0 calc(20 / 1440 * 100vw);
        border-radius: calc(50 / 1440 * 100vw);
        font-size: calc(18 / 1440 * 100vw);
    }

    #honka .course-detail-accordion-icon {
        width: calc(34 / 1440 * 100vw);
        height: calc(34 / 1440 * 100vw);
        flex-shrink: 0;
    }

    #honka .course-detail-accordion-icon::before,
    #honka .course-detail-accordion-icon::after {
        width: calc(11 / 1440 * 100vw);
        height: calc(1 / 1440 * 100vw);
    }

    #honka .course-detail-accordion-icon::after {
        width: calc(1 / 1440 * 100vw);
        height: calc(11 / 1440 * 100vw);
    }

    #honka .course-detail-accordion-toggle[aria-expanded="true"] .course-detail-accordion-icon::after {
        width: calc(11 / 1440 * 100vw);
        height: calc(1 / 1440 * 100vw);
    }

    /* Accordion body */
    #honka .course-detail-accordion-body {
        gap: calc(24 / 1440 * 100vw);
    }

    /* Course recommend */
    #honka .course-recommend {
        margin-top: calc(24 / 1440 * 100vw);
    }

    #honka .course-recommend-title {
        font-size: calc(16 / 1440 * 100vw);
        margin-bottom: calc(10 / 1440 * 100vw);
    }

    #honka .course-recommend-list li {
        font-size: calc(14 / 1440 * 100vw);
        padding: calc(8 / 1440 * 100vw) 0;
    }

    /* Course info table */
    #honka .course-info-table {
        gap: calc(20 / 1440 * 100vw);
    }

    #honka .course-info-row {
        gap: calc(20 / 1440 * 100vw);
    }

    #honka .course-info-row--split {
        gap: calc(16 / 1440 * 100vw);
    }

    #honka .course-info-cell {
        gap: calc(6 / 1440 * 100vw);
    }

    #honka .course-info-label {
        height: calc(29 / 1440 * 100vw);
        border-radius: calc(4 / 1440 * 100vw);
        font-size: calc(16 / 1440 * 100vw);
    }

    #honka .course-info-value {
        font-size: calc(20 / 1440 * 100vw);
        gap: calc(12 / 1440 * 100vw);
    }

    #honka .course-info-value .cost-title,
    #honka .course-info-value .tax {
        font-size: calc(16 / 1440 * 100vw);
    }

    #honka .course-info-value .price {
        font-size: calc(20 / 1440 * 100vw);
    }

    #honka .course-info-subvalue {
        font-size: calc(14 / 1440 * 100vw);
    }

    /* Course style */
    #honka .course-style {
        margin-top: calc(20 / 1440 * 100vw);
    }

    #honka .course-style-title {
        padding: calc(4 / 1440 * 100vw) calc(14 / 1440 * 100vw);
        border-radius: calc(4 / 1440 * 100vw);
        font-size: calc(13 / 1440 * 100vw);
        margin-bottom: calc(8 / 1440 * 100vw);
    }

    #honka .course-style-desc {
        font-size: calc(14 / 1440 * 100vw);
    }

    /* Course qualification */
    #honka .course-qualification {
        gap: calc(6 / 1440 * 100vw);
        margin-top: calc(16 / 1440 * 100vw);
    }

    #honka .course-qualification-value {
        font-size: calc(14 / 1440 * 100vw);
    }
}

/* Course Qualification */
.course-qualification {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 16px;
}

.course-qualification-value {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
    color: #5BA699;
    margin: 0;
}

/* Course Detail Accordion */
.course-detail-accordion-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 60px;
    padding: 0 12px 0 20px;
    background: #5BA69933;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    margin: 0 auto;
    color: #30403E;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.6;
}

.course-detail-accordion-label {
    flex: 1;
    text-align: center;
}

.course-detail-accordion-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    background: #65BAA9;
    border-radius: 50%;
    position: relative;
}

.course-detail-accordion-icon::before,
.course-detail-accordion-icon::after {
    content: '';
    position: absolute;
    width: 11px;
    height: 1px;
    background: #ffffff;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.3s;
}

.course-detail-accordion-icon::after {
    width: 1px;
    height: 11px;
    transform: translate(-50%, -50%);
    transition: transform 0.3s, width 0.3s, height 0.3s;
}

.course-detail-accordion-toggle[aria-expanded="true"] .course-detail-accordion-icon::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.course-detail-accordion-toggle[aria-expanded="true"] .course-detail-accordion-icon::after {
    width: 11px;
    height: 1px;
    transform: translate(-50%, -50%) rotate(-45deg);
}

.course-detail-accordion-body {
    display: none;
    flex-direction: column;
    gap: 24px;
}

.course-detail-accordion-body.is-open {
    display: flex;
    margin-top: 30px;
}

@media (max-width: 1000px) {
    .course-detail-accordion-body {
        gap: 16px;
        margin-top: 12px;
    }

    #basic .course-item-content::after {
        content: none;
    }
}

/* Course Recommend */
.course-recommend {
    margin-top: 24px;
}

.course-recommend-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.6;
    color: #B57FA2;
    margin: 0 0 10px;
}

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

.course-recommend-list li {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
    color: #B57FA2;
    padding: 8px 0;
    border-bottom: 1px dashed #D9D5CD;
}

.course-recommend-list li:first-child {
    border-top: 1px dashed #D9D5CD;
}

/* Course Info Table */
.course-info-table {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 0;
}

.course-info-row {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.course-info-row--split {
    flex-direction: row;
    gap: 16px;
}

.course-info-row--split .course-info-cell {
    flex: 1;
}

.course-info-cell {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.course-info-label {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 29px;
    border: 1px solid #5BA699;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.6;
    color: #5BA699;
    box-sizing: border-box;
}

.course-info-value {
    font-size: 20px;
    font-weight: 900;
    line-height: 1.3;
    color: #5BA699;
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 12px;
}

.course-info-value .cost-title,
.course-info-value .tax {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.6;
    color: #5BA699;
}

.course-info-value .price {
    font-size: 20px;
    font-weight: 900;
    line-height: 1.3;
    color: #5BA699;
}

.course-info-subvalue {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
    letter-spacing: -0.03em;
    color: #5BA699;
    text-align: center;
}

/* Course Style */
.course-style {
    margin-top: 20px;
}

.course-style-title {
    display: inline-block;
    padding: 4px 14px;
    background: #CCE390;
    border-radius: 4px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    margin: 0 0 8px;
    width: fit-content;
}

.course-style-desc {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.8;
    color: #444444;
    margin: 0;
}

.course-detail-list {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 8px 20px;
    margin-bottom: 20px;
}

.course-detail-list dt {
    font-size: 14px;
    font-weight: 700;
    color: #444444;
}

.course-detail-list dd {
    font-size: 14px;
    font-weight: 400;
    color: #444444;
    margin: 0;
}

.course-detail-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 24px;
    background: transparent;
    border: 1px solid #444444;
    color: #444444;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.3s, color 0.3s;
}

.course-detail-btn:hover {
    background: #444444;
    color: #FFFFFF;
}

/* Price Section */
.course-price-section {
    padding: clamp(60px, 8vw, 100px) 0;
    background-color: #F5F5F5;
}

.course-price-container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px;
}

.course-price-table-wrapper {
    overflow-x: auto;
    margin-top: 40px;
}

.course-price-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #FFFFFF;
}

.course-price-table th,
.course-price-table td {
    padding: 20px;
    text-align: center;
    border: 1px solid #D9D9D9;
}

.course-price-table th {
    font-size: 14px;
    font-weight: 700;
    color: #444444;
    background-color: #F0F0F0;
}

.course-price-table td {
    font-size: 14px;
    font-weight: 400;
    color: #444444;
}

.course-price-note {
    font-size: 14px;
    font-weight: 400;
    color: #666666;
    text-align: center;
    margin-top: 20px;
}

/* Senka Course Section */
.senka-recommend {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 40px;
    margin-top: 60px;
}

.senka-recommend-header {
    text-align: left;
    flex-shrink: 0;
}

.senka-recommend-label {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    color: #5BA699;
    margin: 0;
}

.senka-recommend-title {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.3;
    color: #5BA699;
    margin: 0;
}

.senka-recommend-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.senka-recommend-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.6;
    color: #5BA699;
}

.senka-recommend-list li::before {
    content: '';
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    background: url('../images/check-round.svg') no-repeat center / contain;
}

.senka-courses-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(20px, 4vw, 40px);
}

.senka-course-card {
    background-color: #FFFFFF;
    border: 1px solid #79A39C;
    border-radius: 30px;
    padding: clamp(16px, 3vw, 30px);
}

.senka-course-title {
    font-size: 18px;
    font-weight: 700;
    color: #444444;
    text-align: center;
    margin: 0 0 20px;
}

.senka-course-image {
    margin-bottom: 20px;
}

.senka-course-image .japica-image-placeholder {
    height: 150px;
}

.senka-course-desc {
    font-size: clamp(11px, 1.4vw, 14px);
    font-weight: 400;
    line-height: 1.8;
    color: #444444;
    text-align: center;
    margin: 0 0 20px;
}

.senka-course-info {
    display: flex;
}

.senka-course-info-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 0;
}

.senka-course-info-label {
    display: inline-block;
    width: clamp(100px, 15vw, 179px);
    padding: 4px clamp(8px, 1.2vw, 14px);
    background: #CCE390;
    border-radius: 4px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    margin-bottom: 8px;
}

.senka-course-info-value {
    font-size: 14px;
    font-weight: 400;
    color: #444444;
    text-align: center;
}

/* 1day Course Section */
.oneday-grid {
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: 32px;
    margin-top: 150px;
    justify-content: center;
}

.oneday-card {
    background-color: #FFFFFF;
    border: 3px solid #82CCD2;
    border-radius: 16px;
    width: 440px;
    height: 433px;
    padding: 24px 32px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-sizing: border-box;
}

.oneday-title {
    width: 440px;
    height: 74px;
    flex-shrink: 0;
    margin: -24px -32px 20px;
    padding: 0;
    border-radius: 16px 16px 0 0;
    background-color: #82CCD2;
    border-bottom: none;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.6;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
}

.oneday-icon {
    margin: 20px 0 16px;
}

.oneday-icon img {
    display: block;
    height: 120px;
    width: auto;
}

.oneday-desc {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.6;
    color: #B57FA2;
    margin: 0;
    flex: 1;
}

.oneday-info {
    display: flex;
    gap: 20px;
    justify-content: center;
    width: 100%;
    padding-top: 30px;
    padding-top: 20px;
}

.oneday-info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.oneday-info-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 29px;
    border: 1px solid color-mix(in srgb, #A19E99, #000000 20%);
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.6;
    color: color-mix(in srgb, #A19E99, #000000 20%);
}

.oneday-info-value {
    font-size: 20px;
    font-weight: 900;
    line-height: 1.3;
    color: color-mix(in srgb, #A19E99, #000000 20%);
}

.oneday-desc-small {
    font-size: 16px;
}

.oneday-grid .oneday-card:nth-child(3),
.oneday-grid .oneday-card:nth-child(4) {
    height: 497px;
}

.oneday-grid .oneday-card:nth-child(4) .oneday-title {
    letter-spacing: -0.07em;
}

.oneday-info-item:last-child .oneday-info-value {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
}

.course-section-divider {
    width: 1120px;
    max-width: 100%;
    height: 1px;
    background-color: #D9D5CD;
    margin: 0 auto;
}

/* Course FAQ Section */
.course-faq-section .course-category-title {
    color: #B57FA2;
    margin-bottom: 80px;
    font-size: 31px;
    font-weight: 700;
    line-height: 1.6;
}

.course-faq-section {
    padding: clamp(60px, 8vw, 100px) 0;
    scroll-margin-top: 100px;
}

.course-faq-container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Responsive - Large screens (1660px以上) */
@media (min-width: 1660px) {
    .japica-overlay-section:nth-child(even) .japica-title-box {
        border-radius: 0;
        margin: 0 0 0 auto;
    }

    .japica-title-icon {
        height: 120px;
    }

    .japica-overlay-section:nth-child(even) .japica-text-box {
        margin: 0 0 0 auto;
    }

    .japica-text-box-wrap {
        border-radius: 1.67vw 0 0 0;
        margin-top: -1.74vw;
    }

    .japica-overlay-section:nth-child(even) .japica-text-box-wrap {
        border-radius: 0 1.67vw 0 0;
    }

    .japica-section-label {
        margin-bottom: 0.69vw;
    }

    .japica-section-title {
        margin: 0 0 0.97vw;
    }


    .japica-check-list li,
    .japica-tag {
        padding: 0 0.42vw 2px;
    }

    .japica-power-num {
        width: 2.15vw;
        height: 2.15vw;
        font-size: 1.32vw;
    }

    .japica-power-desc {
        font-size: 0.97vw;
    }

    .japica-power-title {
        margin: 0 0 0.35vw;
    }
}

@media (max-width: 1100px) {
    .course-top-cont-container {
        grid-template-columns: 1fr;
    }

    .course-top-cont-list {
        display: none;
    }

    .course-top-cont-image--sp {
        display: block;
        padding: 0 16px;
        position: relative;
        max-width: 716px;
        margin: 0 auto;
    }

    .course-top-cont-image--pc {
        display: none;
    }

    .course-top-cont-image > img {
        width: 100%;
        height: auto;
        margin: 0;
    }

    .course-top-cont-note {
        width: 100%;
        height: auto;
        font-size: clamp(13px, 3.5vw, 16px);
    }

    .course-top-cont-note.sp-only {
        display: block !important;
        width: calc(100% - 32px);
        margin: 30px auto;
    }

    .course-top-cont-overlays {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
    }

    .course-top-cont-overlay:first-child .course-top-cont-view-btn--overlay {
        margin-right: calc((100vw - 32px) * 60 / 716);
    }

    .course-top-cont-overlay:nth-child(2) .course-top-cont-view-btn--overlay {
        margin-right: calc((100vw - 32px) * -20 / 716);
    }

    .course-top-cont-overlay {
        display: flex;
        align-items: flex-end;
        justify-content: flex-end;
        padding-right: 16px;
    }

    .course-top-cont-view-btn--overlay {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 14px;
        width: 173px;
        height: 42px;
        border: 2px solid #4BB4FA;
        border-radius: 4px;
        background: #fff;
        font-family: 'Poppins', sans-serif;
        font-size: 28px;
        font-weight: 600;
        line-height: 1.44;
        color: #4BB4FA;
        cursor: pointer;
        padding: 0;
    }

    .view-btn-plus {
        position: relative;
        display: inline-block;
        width: 14px;
        height: 14px;
        flex-shrink: 0;
    }

    .view-btn-plus::before,
    .view-btn-plus::after {
        content: '';
        position: absolute;
        background: #4BB4FA;
        border-radius: 1px;
    }

    .view-btn-plus::before {
        width: 2px;
        height: 14px;
        top: 0;
        left: 6px;
    }

    .view-btn-plus::after {
        width: 14px;
        height: 2px;
        top: 6px;
        left: 0;
    }
}

@media (min-width: 749px) and (max-width: 1100px) {
    .course-top-cont-overlay:first-child {
        height: 187px !important;
    }

    .course-top-cont-overlay:nth-child(2) {
        height: 208px !important;
    }

    .course-top-cont-overlay:nth-child(3) {
        height: 208px !important;
    }

    .course-top-cont-overlay:first-child .course-top-cont-view-btn--overlay {
        margin-right: 60px;
    }

    .course-top-cont-overlay:nth-child(2) .course-top-cont-view-btn--overlay {
        margin-right: -20px;
    }
}

/* Responsive - Small screens */
@media (max-width: 768px) {
    .japica-message-arrow {
        display: none;
    }

    .japica-intro-text {
        text-align: left;
        font-size: clamp(18px, 4.79vw, 26px);
    }

    .japica-stack-container {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        margin-top: 100px;
    }

    .japica-overlay-section {
        position: relative;
        top: auto;
        min-height: auto;
        margin-bottom: 80px;
        flex-direction: column;
        width: 100%;
    }

    .japica-overlay-section:nth-child(even) {
        flex-direction: column;
    }

    .japica-overlay-section:first-child {
        min-height: auto;
    }

    .japica-overlay-section:first-child .japica-overlay-content {
        display: block;
    }

    .japica-overlay-image {
        position: relative;
        width: 100%;
        height: auto;
        margin-left: 0;
        left: 0;
    }

    /* SP: 偶数セクション画像のPC用幅・位置指定をリセット */
    .japica-overlay-section:nth-child(even) .japica-overlay-image {
        left: 0;
        right: auto;
        width: 100%;
    }

    .japica-overlay-image img {
        width: 100%;
        height: auto;
        object-fit: cover;
        margin-left: 0;
    }

    .japica-overlay-content {
        position: relative;
        width: 100%;
        margin: 0 auto;
        bottom: 0;
    }

    .japica-overlay-section--last .japica-overlay-content {
        padding-bottom: 20px;
    }

    .japica-overlay-text {
        max-width: none;
        margin-left: 0;
        margin-right: 0;
    }
    
    .japica-title-box {
        width: 100%;
        height: auto;
        min-height: clamp(205px, 54.52vw, 280px);
        border-radius: 16px 16px 0 0;
        padding: 16px 20px 80px 20px;
    }

    .japica-text-box {
        width: 100%;
        height: auto;
        padding: 0;
    }


    .japica-text-box-wrap,
    .japica-overlay-section:nth-child(even) .japica-text-box-wrap {
        border-radius: 0 24px 0 0;
        margin-top: -60px;
        padding: 40px 20px;
    }

    .japica-overlay-section:nth-child(odd) .japica-text-box-wrap {
        border-radius: 24px 0 0 0;
    }

    .japica-overlay-section:nth-child(odd):not(:first-child) .japica-overlay-text {
        margin-left: 0;
        margin-right: 0;
    }

    .japica-overlay-section:nth-child(odd) .japica-title-box,
    .japica-overlay-section:nth-child(even) .japica-title-box {
        border-radius: 16px 16px 0 0;
    }

    .japica-title-icon {
        width: clamp(64px, 17.02vw, 90px);
        height: clamp(90px, 23.94vw, 130px);
    }

    .japica-section-title {
        font-size: clamp(25px, 6.65vw, 34px);
    }

    .japica-title-box .japica-section-label {
        font-size: clamp(18px, 4.79vw, 26px);
    }

    .japica-text-box p,
    .japica-check-list li {
        font-size: 16px;
    }

    .japica-text-box .japica-check-list li {
        margin: 0;
    }

    .japica-message-container {
        grid-template-columns: 1fr;
    }

    .japica-message-visual {
        width: 100%;
        display: flex;
        justify-content: center;
        margin-top: 30px;
    }

    .japica-circle-wrapper {
        width: 360px;
        height: 320px;
    }

    .japica-circle-item {
        width: 100px;
        height: 100px;
        padding: 10px;
    }

    .japica-circle-icon {
        font-size: 10px;
        margin-bottom: 5px;
    }

    .japica-circle-text {
        font-size: 10px;
        line-height: 1.6;
    }

    .japica-circle-item[data-position="1"] {
        top: 0;
        left: 50px;
    }

    .japica-circle-item[data-position="2"] {
        top: 0;
        right: 50px;
    }

    .japica-circle-item[data-position="3"] {
        left: -20px;
    }

    .japica-circle-item[data-position="4"] {
        right: -20px;
    }

    .japica-circle-item[data-position="5"] {
        bottom: 0;
        left: 50px;
    }

    .japica-circle-item[data-position="6"] {
        bottom: 0;
        right: 50px;
    }

    .japica-logo-placeholder {
        font-size: 20px;
    }

    .japica-logo-placeholder::after {
        font-size: 8px;
    }
}

/* JAPICA Message Section - Extra Small screens */
@media (max-width: 768px) {
    .japica-message-section {
        width: calc(100% - 30px);
        padding: 50px 25px;
        border-radius: 34px;
        margin: 0 auto;
    }

    .japica-message-container {
        gap: 20px;
    }

    .japica-message-title {
        font-size: clamp(34px, 9.04vw, 46px);
        font-weight: 500;
        line-height: 1;
        letter-spacing: 0.08em;
        padding-bottom: 10px;
        margin-bottom: 12px;
    }

    .japica-message-subtitle {
        font-size: clamp(25px, 6.65vw, 34px);
        margin-bottom: 12px;
    }

    .japica-message-body p {
        font-size: clamp(18px, 4.79vw, 26px);
        margin-bottom: 10px;
        text-align: center;
    }


    .japica-circle-wrapper {
        display: none;
    }

    .our-message-sp-img {
        width: clamp(280px, 85.11vw, 450px);
        height: auto;
        display: block;
        margin: 0 auto;
    }

    .japica-circle-item {
        position: absolute;
        width: 75px;
        height: 75px;
        padding: 8px;
    }

    .japica-circle-icon {
        width: 30px;
        height: 30px;
    }

    .japica-circle-text {
        font-size: 8px;
    }

    .japica-circle-item[data-position="1"] {
        top: 0;
        left: 30px;
    }

    .japica-circle-item[data-position="2"] {
        top: 0;
        right: 30px;
    }

    .japica-circle-item[data-position="3"] {
        top: 50%;
        left: 0;
        transform: translateY(-50%);
    }

    .japica-circle-item[data-position="4"] {
        top: 50%;
        right: 0;
        transform: translateY(-50%);
    }

    .japica-circle-item[data-position="5"] {
        bottom: 0;
        left: 30px;
    }

    .japica-circle-item[data-position="6"] {
        bottom: 0;
        right: 30px;
    }

    .japica-message-logo {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .japica-message-logo img {
        width: 90px;
    }

    .japica-text-box p,
    .japica-check-list li {
        font-size: clamp(18px, 4.79vw, 26px);
    }


    .japica-check-list {
        list-style: none;
        padding: 0;
        margin: 1em 0;
        display: flex;
        gap: 10px;
        flex-direction: column;
    }

    .japica-check-list li {
        width: fit-content;
    }

    .japica-tag {
        height: clamp(31px, 8.24vw, 44px);
        font-size: clamp(18px, 4.79vw, 26px);
    }

}

@media (max-width: 1200px) {
    .senka-bg-left {
        width: 40vw;
    }
}

@media (max-width: 768px) {
    /* Course Page Responsive */
    #senka .course-intro-header {
        padding-top: 100px;
        margin-bottom: 50px;
    }

    .course-intro-section {
        padding-bottom: 0;
    }

    .course-intro-container {
        padding: 0 16px;
    }

    .course-intro-text {
        font-size: clamp(12px, calc(18px / 376px * 100vw), 18px);
        font-weight: 500;
        line-height: 1.6;
        text-align: left;
    }

    .course-top-cont-container {
        grid-template-columns: 1fr;
    }

    .course-top-cont-list {
        display: none;
    }

    .course-top-cont-image--sp {
        display: block;
        padding: 0 16px;
        position: relative;
    }

    .course-top-cont-image--pc {
        display: none;
    }

    .course-top-cont-image > img {
        width: 100%;
        height: auto;
        max-width: 100%;
        max-height: none;
        margin: 0;
    }

    .course-top-cont-note {
        width: 100%;
        height: auto;
        font-size: clamp(13px, 3.5vw, 16px);
    }

    .course-top-cont-note.sp-only {
        width: calc(100% - 32px);
        margin: 30px auto;
    }

    .course-top-cont-title {
        font-size: 21px;
        font-weight: 700;
        line-height: 1.45;
        color: #00A2B9;
    }

    .course-top-cont-desc {
        font-size: 16px;
        font-weight: 700;
        line-height: 1.45;
        color: var(--color-gray-light);
    }

    .course-top-cont-overlays {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
    }

    .course-top-cont-overlay:first-child .course-top-cont-view-btn--overlay {
        margin-right: calc((100vw - 32px) * 30 / 344);
    }

    .course-top-cont-overlay:nth-child(2) .course-top-cont-view-btn--overlay {
        margin-right: calc((100vw - 32px) * -10 / 344);
    }

    .course-top-cont-overlay {
        display: flex;
        align-items: flex-end;
        justify-content: flex-end;
        padding-right: 16px;
    }

    .course-top-cont-view-btn--overlay {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: calc((100vw - 32px) * 7 / 344);
        width: calc((100vw - 32px) * 87 / 344);
        height: calc((100vw - 32px) * 21 / 344);
        border: 2px solid #4BB4FA;
        border-radius: 4px;
        background: #fff;
        font-family: 'Poppins', sans-serif;
        font-size: calc((100vw - 32px) * 14 / 344);
        font-weight: 600;
        line-height: 1.44;
        color: #4BB4FA;
        cursor: pointer;
        padding: 0;
    }

    .view-btn-plus {
        position: relative;
        display: inline-block;
        width: calc((100vw - 32px) * 7 / 344);
        height: calc((100vw - 32px) * 7 / 344);
        flex-shrink: 0;
    }

    .view-btn-plus::before,
    .view-btn-plus::after {
        content: '';
        position: absolute;
        background: #4BB4FA;
        border-radius: 1px;
    }

    .view-btn-plus::before {
        width: calc((100vw - 32px) * 1 / 344);
        height: calc((100vw - 32px) * 7 / 344);
        top: 0;
        left: calc((100vw - 32px) * 3 / 344);
    }

    .view-btn-plus::after {
        width: calc((100vw - 32px) * 7 / 344);
        height: calc((100vw - 32px) * 1 / 344);
        top: calc((100vw - 32px) * 3 / 344);
        left: 0;
    }

    .course-nav-buttons {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        margin-top: 100px;
    }

    .course-nav-button {
        width: 210px;
        height: 27px;
        font-size: 17px;
        font-weight: 500;
        line-height: 1;
        color: #30403E;
        padding: 0;
        border: none;
        border-right: 1px solid color-mix(in srgb, #A19E99, #000000 20%);
        border-left: 1px solid color-mix(in srgb, #A19E99, #000000 20%);
    }

    .course-nav-button:last-child {
        border-right: 1px solid color-mix(in srgb, #A19E99, #000000 20%);
    }

    .course-nav-button::after {
        width: 8px;
        height: 8px;
    }

    .course-category-title {
        font-size: 28px;
        font-weight: 700;
        line-height: 1.6;
        color: #5BA699;
    }

    .course-category-section > .course-intro-bg {
        top: -10px;
    }

    .course-category-container {
        padding: 0 16px;
    }

    .course-category-bg {
        width: 225px;
    }

    .course-intro-header {
        padding-top: 160px;
        padding-bottom: 80px;
        padding-left: 0;
        padding-right: 0;
    }

    .course-category-intro {
        padding-left: 16px;
        padding-right: 16px;
        font-size: 18px;
        font-weight: 500;
        line-height: 1.6;
        color: color-mix(in srgb, #A19E99, #000000 20%);
        text-align: left;
    }



    .course-item {
        min-height: auto;
        border-radius: 12px;
        flex-direction: column;
        margin-bottom: 50px;
    }

    .course-item:nth-child(odd),
    .course-item:nth-child(odd):last-of-type {
        margin-bottom: 50px;
    }

    #honka .course-item:nth-child(odd),
    #honka .course-item:nth-child(odd):last-of-type {
        margin-bottom: 50px;
    }

    .course-item-label {
        flex-direction: column;
        align-items: center;
    }

    .course-item-label .label-line2 {
        padding-left: 22px;
    }

    .course-item-content {
        flex-direction: column;
        padding: 24px;
        gap: clamp(16px, 4vw, 40px);
        width: 100%;
        min-height: 0;
        margin-left: 0;
        margin-right: 0;
        margin-top: -100px;
        order: 4;
        position: relative;
        z-index: 1;
        border-radius: 24px 0 0 24px;
    }

    .course-item:nth-child(odd) .course-item-content {
        margin-top: -100px;
        border-radius: 0 24px 24px 0;
    }

    .course-item-content.reverse {
        flex-direction: column;
    }

    .course-item-text {
        display: contents;
    }

    .course-item-title {
        order: 1;
        width: 100%;
        font-size: 25px;
        font-weight: 700;
        line-height: 1.6;
    }

    .course-item-subtitle {
        order: 2;
        font-size: 20px;
        font-weight: 500;
        line-height: 1.6;
    }


    .course-item-desc {
        order: 2;
        width: 100%;
    }

    .course-item-image {
        position: relative;
        order: 3;
        width: calc(100% - 32px);
        height: calc((100vw - 32px) * 476 / 344);
        margin-left: 0;
        margin-right: 32px;
        border-radius: 0 16px 16px 0;
        z-index: 0;
    }

    .course-item-image .japica-image-placeholder {
        height: 200px;
    }

    .course-item-image img {
        object-position: right center;
    }

    .course-item:nth-child(odd) .course-item-image,
    #honka .course-item:nth-child(odd) .course-item-image {
        top: auto;
        bottom: auto;
        margin-left: auto;
        margin-right: 0;
        border-radius: 16px 0 0 16px;
    }

    .course-item:nth-child(odd) .course-item-image img {
        object-position: right center;
    }

    #honka .course-item:nth-child(odd) .course-item-content::before {
        display: none;
    }

    #basic .course-item-image,
    #total .course-item-image {
        top: auto;
    }

    #honka .course-item-content {
        margin-top: -100px;
    }

    .course-detail-accordion {
        order: 4;
        width: 100%;
        margin-bottom: 20px;
    }

    .course-detail-accordion-body .course-info-table {
        order: 0;
        width: 100%;
    }

    .course-detail-accordion-body .course-recommend {
        order: 1;
    }

    .course-detail-accordion-body .course-style {
        order: 2;
    }

    .course-recommend-title {
        font-size: clamp(11px, 3vw, 13px);
    }

    .course-recommend-list li {
        font-size: clamp(12px, 3.5vw, 14px);
    }

    .course-info-table {
        order: 5;
        width: 100%;
    }

    .course-info-label {
    }

    .course-style {
        order: 6;
        width: 100%;
    }

    .course-style-title {
        font-size: clamp(11px, 3vw, 13px);
    }

    .course-style-desc {
        font-size: clamp(12px, 3.5vw, 14px);
    }

    .course-item-desc br {
        display: none;
    }

    .course-info-cell:last-child {
        border-right: none;
    }

    .course-price-table th,
    .course-price-table td {
        padding: 10px;
        font-size: clamp(10px, 2.5vw, 12px);
    }

    .senka-courses-grid {
        grid-template-columns: 1fr;
    }

    .senka-course-card {
        width: 100%;
        max-width: 450px;
        margin: 0 auto;
        padding: clamp(16px, 5vw, 30px);
    }

    .senka-course-title {
        font-size: clamp(14px, 4vw, 18px);
    }

    .senka-course-desc {
        font-size: clamp(12px, 3.5vw, 14px);
        text-align: left;
    }

    .senka-recommend {
        flex-direction: column;
        align-items: center;
    }

    .senka-recommend-header {
        display: flex;
        align-items: baseline;
        gap: 8px;
    }

    .senka-recommend-label {
        font-size: 20px;
        font-weight: 700;
        line-height: 1.33;
    }

    .senka-recommend-title {
        font-size: 26px;
        font-weight: 700;
        line-height: 1.33;
    }

    .senka-recommend-list li {
        font-size: 18px;
        font-weight: 500;
        line-height: 1.6;
        margin-bottom: 10px;
    }

    .senka-recommend-list li::before {
        width: 28px;
        height: 29px;
    }

    .senka-course-info-label {
        width: 120px;
        font-size: clamp(11px, 3vw, 13px);
    }

    .senka-course-info-value {
        font-size: clamp(12px, 3.5vw, 14px);
    }

    #senka .course-item {
        margin: 0 auto 30px;
        padding: 20px;
    }

    #senka .course-item-title {
        order: -1;
    }

    #senka .course-item-title::after {
        background: linear-gradient(to right, #B57FA2 60%, #D9D5CD 40%);
    }

    #senka .course-item:nth-child(odd) .course-item-title::after {
        background: linear-gradient(to right, #5BA699 60%, #D9D5CD 40%);
    }

    #senka .course-item-label {
        width: 100%;
        margin: 0 auto;
        align-items: center;
    }

    #senka .course-item-body {
        flex-direction: column;
        gap: 16px;
    }

    #senka .course-item-image {
        order: -1;
        width: 100%;
        height: auto;
        max-width: unset;
    }

    #senka .course-item-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .course-category-section {
        padding: clamp(30px, 8vw, 60px) 0;
    }



    .course-item {
        margin-top: 50px;
        margin-bottom: clamp(40px, 10vw, 80px);
        border-radius: clamp(12px, 4vw, 30px);
    }


    .senka-course-card {
        border-radius: clamp(16px, 5vw, 30px);
    }

    .senka-course-info {
        gap: 10px;
    }

    .senka-course-info-item {
        align-items: flex-start;
        padding: 8px 0;
    }

    .senka-course-info-label {
        width: auto;
    }

    .senka-course-desc br {
        display: none;
    }
}

