@charset "UTF-8";

/* --- Base ---*/
.cd-wrapper {
    width: 100%;
    overflow-x: hidden;
    background-color: #FFFFFF;
    font-family: 'Noto Sans JP', sans-serif;
    color: #444A4D;
}
.cd-wrapper * {
    box-sizing: border-box;
}

/* --- Hero Section --- */
.cd-hero-section {
    position: relative;
    width: 100%;
    min-height: 480px;
    background-color: #E8F1FF;

    background-image:
            linear-gradient(rgba(167, 202, 255, 0.4) 1px, transparent 1px),
            linear-gradient(90deg, rgba(167, 202, 255, 0.4) 1px, transparent 1px);
    background-size: 60px 60px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 80px 0;
}

.cd-hero-inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;

    width: 1200px;
    max-width: 100%;
    padding: 0 20px;
}

/* --- Title Group --- */
.cd-title-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    width: 100%;
    max-width: 887px;
}

.cd-studio-en {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 16px;
    line-height: 1;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #444A4D;
    margin-bottom: 0;
}

.cd-main-title {
    font-family: 'Zen Kaku Gothic New', sans-serif;
    font-weight: 700;
    font-size: 46px;
    line-height: 1;
    font-variant: all-small-caps;
    color: #238DEB;
    margin: 0;
    margin-top: -2px;
}

/* --- Info Card  --- */
.cd-info-card {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 12px 80px;
    gap: 40px;
    min-width: 730px;
    min-height: 117px;
    background: #FFFFFF;
    border-radius: 100px;
}

/* --- Left Address --- */
.cd-info-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border-right: 1px solid #99CEFF;
    padding-right: 40px;
    width: 421px;
    gap: 0px;
}

/* --- Right Nearest Station --- */
.cd-info-right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0px;
}


/* --- Title Address / Nearest Station --- */
.cd-label-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 4px;
    height: 24px;
    margin-bottom: 0px;
}

.cd-dot {
    width: 9px;
    height: 9px;
    background: #4D9EE8;
    border-radius: 50%;
    flex-shrink: 0;
}

.cd-label-text {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 150%;
    color: #444A4D;
}

/* --- Address Text Font --- */
.cd-address-text {
    width: 381px;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
    font-size: 15px;
    line-height: 1.5;
    color: #444A4D;
    margin-top: -2px;
}

.cd-alert-text {
    width: 330px;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
    font-size: 15px;
    line-height: 1.5;
    color: #E72767;
    margin-top: 0px;
}

.cd-station-text {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
    font-size: 15px;
    line-height: 1.5;
    color: #444A4D;
    margin-top: -2px;
}

/* --- Content Sections --- */
.cd-content-section {
    padding: 80px 20px;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}
.cd-section-block {
    margin-bottom: 60px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.cd-section-title {
    font-family: 'Zen Kaku Gothic New', sans-serif;
    font-weight: 700;
    font-size: 40px;
    color: #4D9EE8;
    margin-bottom: 20px;
}
.cd-pill {
    display: inline-block;
    background-color: #E8F1FF;
    color: #555;
    padding: 10px 40px;
    border-radius: 99px;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 50px;
}
.cd-line {
    width: 100%;
    max-width: 900px;
    height: 1px;
    background-color: #A7CAFF;
    margin: 40px auto;
    opacity: 0.5;
}

/* --- Lesson Grid --- */
.cd-lesson-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.cd-lesson-card {
    width: 160px;
    background: #FFFFFF;
    border: 1px solid #C2C2C2;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.cd-card-head {
    background-color: #0F8EA4;
    color: #FFFFFF;
    padding: 12px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 62px;
    gap: 2px;
}

.cd-level {
    font-weight: 700;
    font-size: 18px;
}
.cd-time {
    font-weight: 700;
    font-size: 14px;
}

.cd-card-body {
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-top: 1px solid #C2C2C2;
}

.cd-price-group {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding-right: 5px;
}

.cd-price-row {
    display: flex;
    align-items: baseline;
    color: #444A4D;
    line-height: 1;
}

.cd-price-val {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 30px;
    line-height: 1;
}

.cd-price-unit {
    font-size: 14px;
    font-weight: 700;
    margin-left: 2px;
}

.cd-tax {
    font-size: 12px;
    font-weight: 700;
    color: #444A4D;
    line-height: 1;
    margin-top: 4px;
}

.cd-note {
    font-size: 13px;
    color: #444A4D;
    font-weight: 700;
}

/* --- Instructor --- */
.cd-instructor-box {
    width: 290px;
    height: 360px;
    background: #FFFFFF;
    border: 3px solid #99CEFF;
    border-radius: 8px;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    box-sizing: border-box;
}

.cd-inst-img-wrap {
    width: 174px;
    height: 174px;
    border-radius: 50%;
    overflow: hidden;
    background: #eee;
    flex-shrink: 0;
}

.cd-inst-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cd-inst-info {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.cd-inst-name {
    font-family: 'Montserrat', sans-serif;
    color: #4D9EE8;
    font-size: 16px;
    font-weight: 900;
    margin: 0;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.cd-inst-desc {
    font-size: 13px;
    font-weight: 700;
    color: #444A4D;
    text-align: left;
    line-height: 1.5;
    margin: 0;
}

/* --- CTA --- */
.cd-cta-box {
    background-color: #FF802D;
    border-radius: 20px;
    padding: 30px 80px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 10px 20px rgba(255, 128, 45, 0.3);
}

.cd-cta-label {
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
}

.cd-cta-btn {
    background: #FFFFFF;
    color: #2F2F2D;
    text-decoration: none;
    border-radius: 99px;
    padding: 15px 40px;
    font-size: 28px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.2s;
}
.cd-cta-btn:hover {
    transform: scale(1.02);
}
.cd-arrow {
    color: #FF802D;
    font-size: 20px;
}

@media (max-width: 1200px) {

    .cd-hero-section {
        min-height: 520px;
        padding: 0;
        align-items: center;
    }

    .cd-hero-inner {
        width: 100%;
        padding: 0 20px;
        gap: 32px;
        box-sizing: border-box;
        align-items: flex-start;
        transform: translateY(30px);
    }

    .cd-title-group {
        gap: 4px;
        max-width: 309px;
    }

    .cd-studio-en {
        font-size: 14px;
        line-height: 100%;
        margin: 0;
    }

    .cd-main-title {
        font-size: 42px;
        line-height: 140%;
        margin: 0;
        margin-top: 0;
        width: 100%;
    }
}

@media (max-width: 1200px) {

    .cd-info-card {
        width: 100%;
        max-width: 335px;
        min-width: 0;
        padding: 24px 14px;
        gap: 16px;
        border-radius: 16px;
        flex-direction: column;
        align-items: flex-start;
        box-sizing: border-box;
    }

    .cd-info-left {
        width: 100%;
        border-right: none;
        padding-right: 0;
        box-sizing: border-box;
    }

    .cd-info-right {
        width: 100%;
        box-sizing: border-box;
    }

    .cd-address-text,
    .cd-alert-text,
    .cd-station-text {
        width: 100%;
        font-size: 14px;
        line-height: 150%;
        margin-top: 0;
        box-sizing: border-box;
    }

    .cd-label-row {
        height: 24px;
    }
}

@media (max-width: 1200px) {

    .cd-content-section {
        padding: 88px 20px 100px;
        max-width: none;
        margin: 0 auto;
        text-align: center;

        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 80px;
        box-sizing: border-box;

        border-radius: 100px;
    }

    .cd-section-block {
        width: 100%;
        max-width: 335px;
        margin-bottom: 0;

        display: flex;
        flex-direction: column;
        align-items: center;

        padding-bottom: 32px;
        gap: 24px;

        border-bottom: 1px solid #99CEFF;
        box-sizing: border-box;
    }

    .cd-line {
        display: none;
    }

    .cd-section-title {
        font-size: 28px;
        line-height: 100%;
        margin: 0;
        color: #238DEB;
    }

    .cd-pill {
        display: inline-flex;
        align-items: center;
        justify-content: center;

        background: #E6F4FA;
        border-radius: 8px;
        padding: 5px 20px;
        margin: 0;

        font-size: 16px;
        line-height: 150%;
        color: #444A4D;

        box-sizing: border-box;
    }

    .cd-lesson-grid {
        width: 100%;
        max-width: 335px;
        margin: 0;

        display: grid;
        grid-template-columns: repeat(2, 160px);
        gap: 12px;
        justify-content: center;
        box-sizing: border-box;
    }

    .cd-lesson-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        justify-self: center;
    }

    .cd-lesson-card {
        width: 160px;
        background: #FFFFFF;
        border: 1px solid #C2C2C2;
        border-radius: 8px 8px 0 0;
        overflow: hidden;
        display: flex;
        flex-direction: column;
    }

    .cd-card-head {
        background-color: #0F8EA4;
        color: #FFFFFF;
        height: 62px;
        padding: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        border-radius: 8px 8px 0 0;
    }

    .cd-level {
        font-weight: 700;
        font-size: 18px;
        line-height: 150%;
    }

    .cd-time {
        font-weight: 700;
        font-size: 14px;
        line-height: 150%;
    }

    .cd-card-body {
        height: 72px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #FFFFFF;
        border-top: 1px solid #C2C2C2;
    }

    .cd-price-group {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        padding-right: 0;
    }

    .cd-price-row {
        display: flex;
        align-items: baseline;
        color: #444A4D;
        line-height: 1;
    }

    .cd-price-val {
        font-family: "Noto Sans JP", sans-serif;
        font-weight: 700;
        font-size: 30px;
        line-height: 100%;
    }

    .cd-price-unit {
        font-size: 14px;
        font-weight: 700;
        margin-left: 2px;
    }

    .cd-tax {
        font-size: 12px;
        font-weight: 700;
        color: #444A4D;
        line-height: 100%;
        margin-top: 4px;
    }

    .cd-note {
        width: 100%;
        text-align: left;
        font-size: 14px;
        line-height: 100%;
        margin: 0;
        color: #444A4D;
        font-weight: 700;
    }

    .cd-instructor-box {
        width: 260px;
        height: auto;
        background: #FFFFFF;
        border: 3px solid #99CEFF;
        border-radius: 8px;
        padding: 24px 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 14px;
        box-sizing: border-box;
    }

    .cd-inst-img-wrap {
        width: 174px;
        height: 220px;
        border-radius: 9999px;
        overflow: hidden;
        background: #eee;
        flex-shrink: 0;
    }

    .cd-inst-img-wrap img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center top;
    }

    .cd-inst-info {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .cd-inst-name {
        font-size: 15px;
        line-height: 100%;
        text-align: center;
        margin: 0;
    }

    .cd-inst-desc {
        line-height: 150%;
        margin: 0;
        text-align: left;
    }
}
