/* ===========================================
   Top Page Styles - San Beaute
   =========================================== */

/* ===========================================
   Hero Section
   =========================================== */
.hero {
    position: relative;
    overflow: hidden;
    max-height: 100vh;
}

.hero-bg {
    width: 100%;
    z-index: -1;
    overflow: hidden;
}

.hero-bg picture {
    display: block;
    width: 100%;
}

.hero-bg img {
    width: 100%;
    height: auto;
    display: block;
}


.hero-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 1320px;
    margin: -100px auto 0;
    box-sizing: border-box;
}

.hero-logo {
    margin-bottom: clamp(15px, 2.5vw, 30px);
}

.hero-logo img {
    width: clamp(120px, 14vw, 180px);
}

.hero-title {
    font-size: clamp(22px, 3.4vw, 48px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.03em;
    color: #C23790;
    margin: 50px 0 0 0;
    text-shadow: 0 0 48px rgba(255, 255, 255, 0.69);
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* 左寄せ */
    height: 100%;
    justify-content: center;
    gap: 10px;
    text-align: left; /* 文字は左揃え */
}

.hero-title span {
    background: rgba(255, 255, 255, 0.68);
    padding: 4px 6px 8px 6px;
    width: fit-content;
}

/* Hero Side Text (Vertical) */
.hero-side-text {
    position: absolute;
    right: 0;
    top: 10%;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

/* Common style for side text */
.side-text {
    writing-mode: vertical-rl;
    text-orientation: upright;
    font-size: clamp(14px, 1.5vw, 20px);
    line-height: 1.8;
    margin: 0;
    letter-spacing: 0.15em;
    padding: 4px 0;
    background: rgba(255, 255, 255, 0.8);
}

.side-text-1 {
    margin-top: 120px;
    align-self: flex-end;
}

.side-text-2 {
    margin-top: 50px;
}

.side-text-3 {
    margin-top: 90px;
    align-self: flex-end;
}

.side-text-4 {
    margin-top: 0;
}

/* Hero CTA Buttons */
.hero-cta {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: clamp(6px, 0.8vw, 10px);
}

.cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(4px, 0.6vw, 8px);
    width: 100%;
    height: clamp(32px, 3.5vw, 40px);
    padding: 0 clamp(20px, 2.5vw, 32px);
    border: 1px solid #65BAA9;
    border-radius: 20px;
    font-size: clamp(14px, 1.5vw, 20px);
    font-weight: 500;
    background: #65BAA9;
    color: #fff;
    line-height: 1;
    transition: background 0.3s, color 0.3s;
    white-space: nowrap;
}

.cta-btn.cta-primary {
    width: fit-content;
}

.cta-btn .btn-icon {
    display: flex;
    width: clamp(24px, 3vw, 37px);
    height: clamp(18px, 2.2vw, 28px);
}

.cta-btn:hover {
    background: #fff;
    color: #65BAA9;
}

/* Hero Bottom (Support) */
.hero-bottom {
    position: absolute;
    left: 0;
    right: 0;
    bottom: calc(clamp(30px, 5vw, 60px) + 20px);
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.support-title {
    display: inline-flex;
    align-items: flex-end;
    justify-content: center;
    gap: 6px;
    padding-bottom: 10px;
    font-weight: 700;
    color: #5BA699;
    margin: 0 0 10px;
    background: #FFFDF6;
    border: 1px solid #79A39C;
    width: 458px;
    height: 49px;
    line-height: 1;
    border-radius: 8px;
    box-sizing: border-box;
}

.support-title-main {
    display: inline-flex;
    align-items: flex-end;
    gap: 4px;
    font-size: 21px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.05em;
    padding-bottom: 5px;
}

.support-title .big {
    font-size: 42px;
    color: #DDA5C9;
    font-weight: 900;
    line-height: 0.92;
}

.support-title-sub {
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
}

.support-slash {
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    margin: 0 4px;
}


.support-slash-right {
    transform: scaleX(-1);
}

.support-row {
    display: flex;
    width: 100%;
    align-items: flex-end;
    justify-content: space-between;
}

.support-list {
    display: flex;
    align-items: center;
    gap: clamp(18px, 2.22vw, 32px);
    height: clamp(50px, 6vw, 78px);
    background: #FFFDF6;
    border: 1px solid #79A39C;
    border-radius: 16px;
    padding: clamp(8px, 0.97vw, 14px) clamp(14px, 1.53vw, 22px);
}

.support-item {
    display: flex;
    align-items: center;
    gap: clamp(6px, 0.8vw, 10px);
    font-size: clamp(11px, 1.1vw, 14px);
}

.support-item .item-text {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #5BA699;
    font-size: clamp(14px, 1.46vw, 21px);
    font-weight: 700;
    line-height: 1.6;
    border-bottom: 1px dashed #79A39C;
    padding-bottom: 2px;
}

.support-item .item-text img {
    width: clamp(13px, 1.2vw, 16px);
    height: clamp(13px, 1.2vw, 16px);
}

.support-item .icon-wrap {
    display: flex;
    width: clamp(36px, 4.5vw, 56px);
    height: auto;
    justify-content: center;
}

/* ===========================================
   Round Section
   =========================================== */
.round-section {
    position: relative;
    overflow: hidden;
    width: 105%;
    margin: -3.65vw auto auto -2vw;
}

.round-bg {
    width: 100%;
    height: auto;
    display: block;
}

.round-logo {
    position: absolute;
    left: 10%;
    bottom: -30px;
    transform: translateY(-50%);
    z-index: 3;
}

.round-logo img {
    width: clamp(120px, 18.54vw, 267px);
    height: auto;
}

/* ===========================================
   About JAPICA Section
   =========================================== */
.about-section {
    position: relative;
}

.about-sticky-container {
    display: flex;
    flex-direction: row;
    position: relative;
    min-height: 100vh;
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
}

.about-image-sticky {
    order: 2; /* 右側に配置 */
    position: sticky;
    top: 0;
    /* 参考コードの魔法の計算式：コンテナの60% + ビューポートとコンテナの差の半分 = 右端まで広がる */
    width: calc(54.29% + (100vw - 100%) / 2);
    height: clamp(50vh, 70vw, 100vh);
    flex-shrink: 0;
}

.about-image-sticky img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.about-content-scroll {
    order: 1; /* 左側に配置 */
    width: 45.71%;
    padding: clamp(40px, 6vw, 80px) 50px 0 0;
}

.about-content {
    max-width: 480px;
    margin: 0 auto;
    background: #FFFDF6;
}

/* Section Title */
.section-title {
    display: flex;
    flex-direction: column;
    width: fit-content;
    margin-bottom: clamp(20px, 3vw, 40px);
}

.section-title .title-en {
    font-family: "Poppins", sans-serif;
    font-size: clamp(40px, 4.5vw, 55px);
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.08em;
    padding-bottom: clamp(10px, 1.2vw, 16px);
    border-bottom: 1px solid #30403E;
    width: fit-content;
}

.section-title .title-ja {
    font-size: clamp(20px, 2.5vw, 31px);
    font-weight: 700;
    color: #30403E;
    line-height: 1.6;
    margin-top: clamp(4px, 0.6vw, 8px);
}

/* About Description */
.about-description {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    color: #30403E;
    margin-bottom: clamp(20px, 3vw, 40px);
}

/* About Logo */
.about-logo {
    display: flex;
    align-items: center;
    gap: clamp(16px, 2vw, 30px);
    margin-bottom: clamp(20px, 3vw, 40px);
}

.about-logo img {
    width: clamp(60px, 7vw, 88px);
    height: auto;
}

.about-logo img:first-child {
    width: 160px;
}

/* About Button */
.about-btn {
    display: inline-flex;
    align-items: center;
    gap: clamp(8px, 1.1vw, 14px);
    padding: clamp(6px, 0.7vw, 9px) clamp(16px, 1.8vw, 24px) clamp(8px, 1vw, 13px);
    background: transparent;
    border: 1px solid #65BAA9;
    border-radius: 4px;
    color: #65BAA9;
    font-size: clamp(14px, 1.3vw, 17px);
    line-height: 1;
    font-weight: 500;
    transition: background 0.3s, color 0.3s;
}

.about-btn .btn-arrow {
    display: flex;
    align-items: center;
    order: -1;
}

.about-btn:hover {
    background: #65BAA9;
    color: #fff;
}

/* ===========================================
   Course Section
   =========================================== */
.course-section {
    max-width: 480px;
    margin: clamp(40px, 6vw, 80px) auto 0;
    padding-top: clamp(40px, 6vw, 80px);
    border-top: 1px solid #D9D5CD;
}

.course-description {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.8;
    color: #4D4951;
    margin: 0 0 clamp(20px, 3vw, 40px);
}

.course-arrow {
    display: flex;
    justify-content: center;
    color: #65BAA9;
    margin-bottom: clamp(20px, 3vw, 40px);
}

.course-grid {
    position: relative;
    z-index: 10;
    background: #fefdf5;
    width: 100vw;
    /* コンテナの左マージンを打ち消してビューポート左端に揃える */
    left: min(0px, (1120px - 100vw) / 2);
    margin-left: 0;
    padding: clamp(30px, 5vw, 60px) 0 clamp(50px, 8vw, 100px);
}

.course-grid-inner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: clamp(15px, 2.5vw, 30px);
    row-gap: 91px;
    max-width: 1120px;
    margin: 0 auto;
    padding-top: 41px;
    align-items: start;
}

.course-card {
    background: #ffffff;
    border: 1px solid #D9D5CD;
    border-radius: clamp(10px, 1.2vw, 16px);
    padding: 20px clamp(20px, 2.5vw, 32px) clamp(24px, 3vw, 40px);
    display: flex;
    flex-direction: column;
    position: relative;
}

.course-card-header {
    text-align: center;
    margin-bottom: clamp(12px, 1.5vw, 20px);
}

.course-card-title-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: clamp(4px, 0.5vw, 6px);
}

.course-card-icon {
    width: 110px;
    height: auto;
    flex-shrink: 0;
}

.course-card-badge {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.course-card-title {
    font-size: 20px;
    font-weight: 900;
    line-height: 1.3;
    letter-spacing: -0.05em;
    color: #30403E;
}

.course-card-subtitle {
    font-size: clamp(14px, 1.4vw, 18px);
    font-weight: 500;
    color: #5BA699;
    line-height: 1.6;
    margin: 0;
}

.course-card-image {
    width: 100%;
    overflow: hidden;
    border-radius: 4px;
    margin-bottom: clamp(12px, 1.5vw, 20px);
}

.course-card-image img {
    transition: transform 0.3s;
}

.course-card:hover .course-card-image img {
    transform: scale(1.05);
}

.course-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.course-card-text {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
    letter-spacing: -0.03em;
    color: #30403E;
    margin: 0 0 clamp(16px, 1.8vw, 24px);
    flex: 1;
}

.course-card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: clamp(32px, 3vw, 40px);
    gap: clamp(8px, 1.1vw, 14px);
    padding: 0 clamp(16px, 1.8vw, 24px);
    background: transparent;
    border: 1px solid #00A2B9;
    border-radius: 4px;
    color: #00A2B9;
    font-size: clamp(14px, 1.3vw, 17px);
    font-weight: 500;
    transition: background 0.3s, color 0.3s;
    align-self: center;
}

.course-card-btn .btn-arrow {
    display: flex;
    align-items: center;
}

.course-card-btn:hover {
    background: #00A2B9;
    color: #fff;
}

/* ==============================
   Course Card - Index Header Band
   ============================== */

.course-index {
    width: 425px;
    height: 61px;
    border-radius: 8px;
    background: #00A2B9;
    margin: -61px auto 16px;
    padding: 0 clamp(16px, 2vw, 24px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
}

.index-top {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 4px;
}

.index-icon {
    display: flex;
    align-items: center;
    width: 12px;
    flex-shrink: 0;
}

.index-icon img {
    width: 100%;
    height: auto;
}

.index-title {
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.05em;
    color: #fff;
}

.indeex-subtitle {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: -0.08em;
    color: #fff;
}

/* Course Time（コース内容） */

.course-time {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    height: 46px;
    border-top: 1px solid #D9D5CD;
    border-bottom: 1px solid #D9D5CD;
    margin-top: 12px;
    font-size: clamp(11px, 1vw, 13px);
    color: #5BA699;
}

.time-title {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.6;
    color: #30403E;
}

.time-text {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
    letter-spacing: -0.03em;
    color: #30403E;
}

/* Course Detail Accordion */

.course-detail {
    margin-top: 30px;
    margin-bottom: 30px;
}

.cover {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 480px;
    height: 60px;
    background: #00A2B933;
    border: none;
    border-radius: 30px;
    padding: 0 24px;
    cursor: pointer;
    transition: background 0.2s;
    text-align: left;
    box-sizing: border-box;
}

.cover:hover {
    background: #00A2B94D;
}

.cover-title {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.6;
    color: #30403E;
    flex: 1;
    text-align: center;
}

.cover-toggle {
    position: relative;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #00A2B9;
    flex-shrink: 0;
}

.cover-toggle::before,
.cover-toggle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    background: #fff;
    border-radius: 1px;
    transition: transform 0.3s ease;
}

.cover-toggle::before {
    width: 11px;
    height: 1px;
    transform: translate(-50%, -50%);
}

.cover-toggle::after {
    width: 1px;
    height: 11px;
    transform: translate(-50%, -50%);
}

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

.cover[aria-expanded="true"] .cover-toggle::after {
    transform: translate(-50%, -50%) rotate(45deg);
}

/* Accordion Content */

.couse-expression {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.3s ease;
    padding-top: 0;
}

.couse-expression.is-open {
    max-height: 800px;
    opacity: 1;
    padding-top: 25px;
}

.expression-text {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
    letter-spacing: -0.03em;
    color: #30403E;
    margin: 0 0 12px;
}

.cost-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 12px;
    margin-bottom: 12px;
}

.cost-in,
.cost-fee {
    display: flex;
    align-items: baseline;
    gap: 2px;
    font-size: clamp(11px, 1vw, 13px);
}

.cost-title {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.6;
    color: #30403E;
}

.price {
    font-size: 20px;
    font-weight: 900;
    line-height: 1.3;
    color: #30403E;
}

.tax {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.6;
    color: #30403E;
}

.course-style,
.course-term,
.course-obtain {
    margin-top: 20px;
}

.band-title {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    background: #E9E9E7;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.6;
    color: #30403E;
    margin-bottom: 6px;
}

.style-text,
.term-text {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
    letter-spacing: -0.03em;
    color: #30403E;
    padding: 0 8px;
    text-align: center;
}

/* Course All Button */
.course-all-btn-wrap {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    padding-top: clamp(40px, 6vw, 80px);
}

.course-all-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 317px;
    height: 70px;
    background: #62C8D7;
    border: 1px solid #62C8D7;
    border-radius: 35px;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    transition: background 0.3s, color 0.3s;
}

.course-all-btn .btn-icon {
    display: flex;
    align-items: center;
    width: 23px;
    height: 23px;
}

.course-all-btn .btn-icon svg {
    width: 100%;
    height: 100%;
}

.course-all-btn:hover {
    background: transparent;
    color: #62C8D7;
}

/* ===========================================
   Feature Section
   =========================================== */
.feature-section {
    position: relative;
}

.feature-sticky-container {
    display: flex;
    position: relative;
    min-height: 100vh;
}

.feature-image-sticky {
    position: sticky;
    top: 0;
    width: 50%;
    height: 100vh;
    flex-shrink: 0;
    display: flex;
    align-items: flex-start;
}

.feature-image-sticky img {
    width: 100%;
    height: auto;
}

.feature-content-scroll {
    width: 50%;
    padding: 0 clamp(30px, 5vw, 60px);
}

.feature-content {
    max-width: 480px;
    margin: 0 auto;
    min-height: calc(50vw * 1.33);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(40px, 6vw, 80px) 0;
    background: #FFFDF6;
}

.feature-description {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.8;
    color: #4D4951;
    margin: 0 0 clamp(20px, 3vw, 40px);
}

.feature-arrow {
    display: flex;
    justify-content: center;
    color: #65BAA9;
    margin-bottom: clamp(20px, 3vw, 40px);
}

/* Feature Cards */
.feature-cards {
    position: relative;
    z-index: 10;
    background: #FFFDF6;
    width: 100vw;
    margin-left: calc(-50vw - clamp(30px, 5vw, 60px));
    padding: clamp(30px, 5vw, 60px) 20px clamp(50px, 8vw, 100px);
    display: flex;
    flex-direction: column;
    gap: clamp(15px, 2.5vw, 30px);
}

.feature-card {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #79A39C;
    border-radius: clamp(10px, 1.2vw, 16px);
    overflow: hidden;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: clamp(16px, 2vw, 24px) clamp(20px, 2.5vw, 32px) clamp(20px, 2.5vw, 32px);
}

.feature-card-content {
    flex: 1;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.feature-card-title {
    font-size: 20px;
    font-weight: 900;
    color: #5BA699;
    margin: 0 0 clamp(10px, 1.2vw, 16px);
    line-height: 1.3;
    text-align: left;
}

.feature-card-text {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.6;
    color: #5BA699;
    margin: 0 0 clamp(12px, 1.5vw, 20px);
}

.feature-card-label {
    display: inline-block;
    padding: 4px clamp(10px, 1.1vw, 14px);
    background: #CCE390;
    border-radius: 4px;
    color: #fff;
    font-size: clamp(11px, 1vw, 13px);
    font-weight: 700;
    line-height: 1;
    margin-bottom: clamp(8px, 0.9vw, 12px);
    width: fit-content;
}

.feature-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(4px, 0.6vw, 8px) clamp(10px, 1.2vw, 16px);
    margin: 0;
    padding: 0;
    list-style: none;
}

.feature-card-tags li {
    font-size: clamp(12px, 1.1vw, 14px);
    font-weight: 500;
    color: #5BA699;
    line-height: 1.6;
}

.feature-card-image {
    width: clamp(180px, 22vw, 287px);
    height: clamp(110px, 13vw, 174px);
    flex-shrink: 0;
}

/* ===========================================
   Auto Slide Section
   =========================================== */
.auto-slide-section {
    position: relative;
    background: #65BAA9;
    height: 431px;
    padding: 61px 0;
    box-sizing: border-box;
    overflow: hidden;
}

.auto-slide-swiper {
    overflow: visible;
}

.auto-slide-swiper .swiper-wrapper {
    transition-timing-function: linear;
}

.auto-slide-swiper .swiper-slide {
    width: 300px;
    height: 300px;
}

.auto-slide-swiper .swiper-slide img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 16px;
}

.auto-slide-swiper .swiper-slide.flex {
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 300px;
}

.auto-slide-swiper .swiper-slide.flex img {
    width: 300px;
    height: 142px;
    object-fit: cover;
    border-radius: 16px;
}

/* Slide Control Button */
.slide-control-btn {
    display: none;

    position: absolute;
    right: clamp(20px, 3vw, 40px);
    bottom: clamp(10px, 1.2vw, 15px);
    display: flex;
    align-items: center;
    gap: clamp(4px, 0.6vw, 8px);
    padding: clamp(6px, 0.8vw, 10px) clamp(12px, 1.5vw, 20px);
    background: #fff;
    border: none;
    border-radius: 24px;
    cursor: pointer;
    font-size: clamp(12px, 1.1vw, 14px);
    font-weight: 500;
    color: #30403E;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: opacity 0.3s;
    z-index: 10;
}

.slide-control-btn:hover {
    opacity: 0.9;
}

.slide-control-btn .icon-play,
.slide-control-btn .icon-pause {
    display: flex;
    width: 16px;
    height: 16px;
}

.slide-control-btn .icon-play svg,
.slide-control-btn .icon-pause svg {
    width: 100%;
    height: 100%;
}

/* Playing state - show pause icon */
.slide-control-btn.is-playing .icon-play {
    display: none;
}

.slide-control-btn.is-playing .icon-pause {
    display: flex;
}

/* Paused state - show play icon */
.slide-control-btn:not(.is-playing) .icon-play {
    display: flex;
}

.slide-control-btn:not(.is-playing) .icon-pause {
    display: none;
}

/* ===========================================
   Support Section
   =========================================== */
.support-section {
    padding: clamp(40px, 6vw, 80px) 20px clamp(30px, 5vw, 60px);
    background: #fefdf5;
}

.support-inner {
    max-width: 1120px;
    margin: 0 auto;
}

.support-section .section-title {
    margin-bottom: clamp(15px, 2.5vw, 30px);
}

.support-lead {
    font-size: clamp(14px, 1.5vw, 20px);
    font-weight: 700;
    line-height: 1.8;
    color: #30403E;
    margin: 0 0 clamp(25px, 4vw, 50px);
}

.support-wrap {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    border-top: 1px dashed #5BA699;
    border-bottom: 1px dashed #5BA699;
}

.support-wrap::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    border-top: 1px dashed #5BA699;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: clamp(20px, 4vw, 40px);
    row-gap: 0;
    max-width: 1120px;
    margin: 0 auto;
}

.support-card {
    position: relative;
    padding: clamp(25px, 2.5vw, 30px) 20px clamp(30px, 3vw, 40px);
    border-left: 1px dashed #5BA699;
    border-right: 1px dashed #5BA699;
}

.support-num {
    position: absolute;
    top: clamp(-16px, -1.5vw, -20px);
    left: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(28px, 3vw, 40px);
    height: clamp(28px, 3vw, 40px);
    background: #CCE390;
    border-radius: 50%;
    font-family: "Lobster", sans-serif;
    font-size: clamp(20px, 2.3vw, 30px);
    font-weight: 400;
    color: #FFFDF6;
    line-height: 1;
}

.support-card-title {
    font-size: 20px;
    font-weight: 900;
    color: #5BA699;
    line-height: 1.3;
    margin: 0 0 clamp(10px, 1.2vw, 16px);
    padding-top: clamp(6px, 0.8vw, 10px);
    min-height: clamp(40px, 5vw, 62px);
}

.support-card-image {
    width: 100%;
    border-radius: clamp(4px, 0.6vw, 8px);
    overflow: hidden;
    margin-bottom: clamp(4px, 0.6vw, 8px);
}

.support-card-text {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
    color: #5BA699;
    margin: 0;
}

.support-arrow {
    display: flex;
    justify-content: center;
    color: #65BAA9;
    margin-top: clamp(30px, 5vw, 60px);
}

/* ===========================================
   System Section
   =========================================== */
.system-section {
    position: relative;
    background: #fefdf5;
    overflow: hidden;
}

.system-grid-wrapper {
    position: relative;
    padding: 0 0 80px 0;
}

.system-bg {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 100vw;
    z-index: 0;
}

.system-inner {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    z-index: 1;
}

.system-title {
    text-align: center;
    margin-bottom: clamp(25px, 4vw, 50px);
}

.system-title-main {
    display: block;
    font-size: clamp(22px, 2.6vw, 34px);
    font-weight: 700;
    line-height: 1.6;
    color: #5BA699;
    margin-bottom: clamp(5px, 0.8vw, 10px);
}

.system-title-sub {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(5px, 0.8vw, 10px);
    font-size: clamp(22px, 2.6vw, 34px);
    font-weight: 700;
    line-height: 1.6;
    color: #5BA699;
}

.system-icon-left,
.system-icon-right {
    width: clamp(20px, 2.3vw, 30px);
    height: auto;
}

.system-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(16px, 2.5vw, 32px);
}

.system-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #5BA699;
    border-radius: clamp(10px, 1.2vw, 16px);
    padding: clamp(16px, 1.8vw, 24px);
}

.system-num {
    position: absolute;
    top: -20px;
    right: clamp(-14px, -1.5vw, -20px);
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(50px, 5.5vw, 74px);
    height: clamp(30px, 3.5vw, 45px);
    padding-left: clamp(10px, 1.1vw, 15px);
    background: url('../images/system-num.svg') no-repeat center / contain;
    font-family: "Lobster", sans-serif;
    font-size: clamp(24px, 2.7vw, 35px);
    font-weight: 400;
    letter-spacing: 0.13em;
    color: #FFFDF6;
    line-height: 1;
}

.system-card-title {
    font-size: clamp(14px, 1.5vw, 20px);
    font-weight: 900;
    color: #5BA699;
    line-height: 1.3;
    margin: 0 0 clamp(6px, 0.8vw, 10px);
}

.system-card-text {
    flex: 1;
    font-size: clamp(11px, 1.1vw, 14px);
    font-weight: 500;
    color: #5BA699;
    line-height: 1.6;
    margin: 0 0 clamp(10px, 1.2vw, 15px);
}

.system-card-image {
    width: 100%;
    border-radius: 4px;
    overflow: hidden;
}

.system-arrow {
    display: flex;
    justify-content: center;
    color: #65BAA9;
    margin: 60px 0;
}

/* ===========================================
   Banner Section
   =========================================== */
.banner-section {
    padding: 0 20px clamp(40px, 6vw, 80px);
    background: #fefdf5;
}

.banner-inner {
    max-width: 927px;
    margin: 0 auto;
}

.banner-card {
    background: url('../images/banner.png') no-repeat center / cover;
    border-radius: clamp(10px, 1.2vw, 16px);
    padding: clamp(25px, 4vw, 50px) clamp(20px, 3vw, 40px);
    text-align: center;
    aspect-ratio: 927 / 300;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.banner-title {
    font-size: clamp(24px, 3.5vw, 46px);
    font-weight: 700;
    color: #fff;
    line-height: 1.6;
    margin: 0;
}

.banner-text {
    font-size: clamp(14px, 1.8vw, 24px);
    font-weight: 700;
    color: #fff;
    line-height: 1.6;
    margin: 0;
}

.banner-buttons {
    display: flex;
    justify-content: center;
    gap: clamp(10px, 1.5vw, 20px);
    flex-wrap: wrap;
}

.banner-buttons .cta-btn {
    width: auto;
    min-width: 297px;
    height: clamp(40px, 4.5vw, 56px);
    padding: 0 clamp(20px, 2.5vw, 30px);
    font-size: clamp(12px, 1.2vw, 16px);
}

.banner-buttons .cta-btn .btn-icon {
    width: clamp(22px, 2.5vw, 32px);
    height: clamp(16px, 1.8vw, 24px);
}

/* ===========================================
   News Section
   =========================================== */
.news-section {
    background: #FFFDF6;
    padding: clamp(50px, 6vw, 80px) 0;
}

.news-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(20px, 3vw, 40px);
    display: flex;
    gap: clamp(30px, 4.5vw, 60px);
}

.news-left {
    display: flex;
    align-items: flex-start;
}

.news-header {
    display: flex;
    flex-direction: column;
    gap: clamp(15px, 2.3vw, 30px);
}

.news-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: clamp(6px, 0.8vw, 10px);
    height: clamp(40px, 3.6vw, 48px);
    padding: 0 clamp(20px, 2.4vw, 32px);
    background: #fff;
    border: 1px solid #65BAA9;
    border-radius: 4px;
    color: #65BAA9;
    font-size: clamp(14px, 1.3vw, 17px);
    font-weight: 500;
    text-decoration: none;
    transition: background 0.3s, color 0.3s;
}

.news-btn:hover {
    background: #65BAA9;
    color: #fff;
}

.news-btn-icon {
    display: flex;
    align-items: center;
}

.news-right {
    flex: 1;
}

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

.news-item {
    position: relative;
    border-bottom: 1px solid #d9d9d9;
}

.news-item::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 1px;
    background: #65BAA9;
    transition: width 0.8s ease;
}

.news-item:hover::after {
    width: 100%;
}

.news-link {
    display: flex;
    align-items: center;
    gap: clamp(15px, 2.3vw, 30px);
    padding: clamp(15px, 1.9vw, 25px) 0;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.news-link:hover {
    opacity: 0.7;
}

.news-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: clamp(6px, 0.8vw, 10px);
}

.news-date {
    font-family: "Poppins", sans-serif;
    font-size: clamp(10px, 0.9vw, 12px);
    font-weight: 300;
    line-height: 1;
    color: #30403E;
}

.news-item-title {
    font-size: clamp(14px, 1.4vw, 18px);
    font-weight: 500;
    line-height: 1.6;
    color: #30403E;
}

.news-arrow {
    flex-shrink: 0;
    color: #65BAA9;
    display: flex;
    align-items: center;
}

/* ===========================================
   Column Section
   =========================================== */
.column-section {
    position: relative;
    padding: clamp(50px, 6vw, 80px) 0;
    border-top: 1px solid #5BA699;
    border-bottom: 1px solid #5BA699;
}

.column-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.column-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.column-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(20px, 3vw, 40px);
}

.column-header {
    text-align: center;
    margin-bottom: clamp(25px, 3.8vw, 50px);
}

.column-header .section-title {
    margin: 0 auto clamp(20px, 3vw, 40px);
    align-items: center;
}

.column-description {
    font-size: clamp(16px, 2.4vw, 31px);
    font-weight: 700;
    line-height: 1.6;
    color: #5BA699;
    margin: clamp(15px, 2.3vw, 30px) 0 0;
}

.column-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(15px, 3vw, 40px);
    max-width: 1200px;
    margin: 0 auto;
}

.column-card {
    overflow: hidden;
}

.column-card-link {
    display: block;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.column-card-link:hover {
    opacity: 0.8;
}

.column-card-image {
    aspect-ratio: 245 / 180;
    overflow: hidden;
    border-radius: 20px;
}

.column-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.column-card-content {
    padding: clamp(10px, 1.5vw, 20px) 0;
}

.column-card-meta {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: clamp(6px, 0.9vw, 12px);
}

.column-card-category {
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(60px, 7vw, 93px);
    height: clamp(18px, 1.9vw, 25px);
    font-size: clamp(9px, 0.9vw, 12px);
    font-weight: 600;
    line-height: 1;
    color: #30403E;
}

.column-card-category.cat-a {
    background: #CCE390;
}

.column-card-category.cat-b {
    background: #FFCE9C;
}

.column-card-category.cat-c {
    background: #B1E1F4;
}

.column-card-category.cat-d {
    background: #F7DA85;
}

.column-card-date {
    font-family: "Poppins", sans-serif;
    font-size: clamp(8px, 0.8vw, 10px);
    font-weight: 300;
    line-height: 1;
    color: #30403E;
}

.column-card-title {
    font-size: clamp(10px, 1.1vw, 14px);
    font-weight: 700;
    line-height: 1.6;
    margin: 0 0 clamp(8px, 1.2vw, 15px);
}

.column-card-more {
    display: flex;
    align-items: center;
    gap: clamp(5px, 0.8vw, 10px);
    font-size: clamp(9px, 0.9vw, 12px);
    font-weight: 500;
    color: #65BAA9;
}

.column-card-more::before {
    content: '';
    flex: 1;
    height: 1px;
    background: #65BAA9;
    order: 1;
}

.column-card-more::after {
    content: '';
    width: 10px;
    height: 1px;
    background: #65BAA9;
    transform: rotate(45deg);
    transform-origin: right center;
    margin-left: -20px;
    order: 2;
}

.column-btn-wrap {
    display: flex;
    justify-content: center;
    margin-top: clamp(25px, 3.8vw, 50px);
}

.column-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: clamp(6px, 0.8vw, 10px);
    height: clamp(40px, 3.6vw, 48px);
    padding: 0 clamp(20px, 2.4vw, 32px);
    background: #fff;
    border: 1px solid #65BAA9;
    border-radius: 4px;
    color: #65BAA9;
    font-size: clamp(14px, 1.3vw, 17px);
    font-weight: 500;
    text-decoration: none;
    transition: background 0.3s, color 0.3s;
}

.column-btn:hover {
    background: #65BAA9;
    color: #fff;
}

.column-btn .btn-icon {
    display: flex;
    align-items: center;
}

/* ===========================================
   Top Page Responsive
   =========================================== */

@media (max-width: 1320px) {
    .hero-content {
        padding: 0 20px;
    }

    .hero-bottom {
        padding: 0 20px;
        box-sizing: border-box;
    }
}

@media (max-width: 1200px) {
    .hero-side-text {
        right: 10px;
    }
}

@media (max-width: 1240px) {
    .system-inner {
        padding-left: 10px;
        padding-right: 10px;
    }
}


@media (max-width: 1160px) {
    .about-content-scroll {
        padding-left: 20px;
        padding-right: 20px;
    }

    .course-grid-inner {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .course-card {
        max-width: 545px;
        width: 100%;
    }
}

@media (max-width: 1240px) {
    .support-grid {
        column-gap: clamp(10px, 3vw, 40px);
        width: calc(100% - 40px);
    }
}

@media (max-width: 1024px) {
    .support-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .hero-cta {
        flex-direction: row;
    }

    .cta-btn {
        width: fit-content;
    }

    .hero-content {
        padding-left: 20px;
    }
}

@media (max-width: 768px) {
    .course-grid-inner {
        grid-template-columns: 1fr;
        padding: 41px 16px 0;
        row-gap: 70px;
    }

    .course-card {
        min-width: 344px;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        padding: 0 0 24px;
    }

    .course-index {
        width: 314px;
        height: 61px;
        margin: -41px auto 0px;
        padding: 0;
    }

    .course-card-header {
        padding: 16px 16px 0;
        text-align: center;
    }

    .course-card-image {
        margin-bottom: 0;
        border-radius: 0;
        padding: 0 16px;
    }

    .course-card-content {
        padding: 20px 16px;
    }

    .cover {
        min-width: 304px;
        max-width: 480px;
        width: 100%;
        padding: 0 14px;
        margin: 0 auto;
    }

    .feature-card-tags {
        flex-direction: column;
    }

    .support-title {
        font-size: 20px;
        padding-top: 11px;
        padding-bottom: 14px;
        max-width: 100%;
        box-sizing: border-box;
    }

    .support-title .big {
        font-size: 42px;
        color: #DDA5C9;
    }

    .support-title-main {
        font-size: clamp(14px, calc(1.79vw + 7.3px), 21px);
    }

    .support-title-sub {
        font-size: clamp(20px, calc(2.04vw + 12.3px), 28px);
    }

    .support-slash img {
        width: 8px;
        height: 14px;
    }

    .support-row {
        align-items: center;
        gap: 30px;
    }

    .support-list {
        flex-direction: column;
        align-items: flex-start;
        height: auto;
        width: auto;
        max-width: 100%;
        padding: 3vw 5vw;
        gap: 2vw;
        box-sizing: border-box;
    }

    .hero .support-title {
        width: clamp(336px, calc(31.1vw + 219px), 458px);
        height: 49px;
        text-align: center;
        padding: 0 0 10px 0;
    }


    .support-item {
        width: 100%;
        gap: 14px;
        font-size: 13px;
    }

    .support-item .icon-wrap {
        width: 56px;
        flex-shrink: 0;
    }

    .support-item .item-text {
        font-size: 21px;
        line-height: 1.6;
    }

    .hero-bottom {
        bottom: 60px;
    }
}

@media (max-width: 580px) {
    .round-logo {
        bottom: -10vw;
    }

    .course-card-title-wrap {
        flex-direction: column;
        gap: 6px;
    }

    .support-section,
    .support-inner {
        overflow: visible;
    }

    .support-wrap {
        overflow-x: auto;
        overflow-y: visible;
    }

    .support-grid {
        grid-template-columns: repeat(3, 100vw);
    }
}

@media (max-width: 768px) {
    .about-section {
        margin-top: 100px;
    }

    .about-sticky-container {
        display: block;
        min-height: auto;
    }

    .about-image-sticky {
        width: 100%;
        height: auto;
        z-index: 0;
        pointer-events: none;
    }

    .about-content-scroll {
        width: 100%;
        padding: 0;
        position: relative;
        z-index: 1;
        margin-top: -80vh;
        padding-top: 80vh;
        pointer-events: none;
    }

    .about-content {
        pointer-events: auto;
    }

    .about-content {
        max-width: 100%;
        background: #FFFDF6;
        padding: 40px 20px;
    }

    .course-section {
        max-width: 100%;
        margin-top: 0;
        padding: 40px 16px 0;
        background: #FFFDF6;
        pointer-events: auto;
        position: relative;
        border-top: none;
    }

    .course-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 16px;
        right: 16px;
        height: 1px;
        background: #D9D5CD;
    }

    .course-grid {
        width: 100vw;
        left: -20px;
        pointer-events: auto;
    }

    .course-all-btn-wrap {
        pointer-events: auto;
    }

    .course-all-btn {
        pointer-events: auto;
    }

    /* Feature Section */
    .feature-sticky-container {
        display: block;
        min-height: auto;
    }

    .feature-image-sticky {
        width: 100%;
        height: auto;
        z-index: 0;
        pointer-events: none;
    }

    .feature-content-scroll {
        width: 100%;
        padding: 0;
        position: relative;
        z-index: 1;
    }

    .feature-content {
        max-width: 100%;
        min-height: auto;
        padding: 40px 20px;
        pointer-events: auto;
    }

    .feature-cards {
        width: 100%;
        margin-left: 0;
        gap: 50px;
        pointer-events: auto;
    }
}

@media (max-width: 500px) {
    .hero-content {
        top: auto;
    }
}

@media (max-width: 768px) {
    .section-title .title-en {
        font-size: clamp(1px, 14.63vw, 55px);
    }

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

    .about-description {
        font-size: clamp(1px, 4.26vw, 16px);
        color: #30403E;
    }

    .about-logo img {
        width: clamp(1px, 23.4vw, 88px);
    }

    .about-btn {
        font-size: clamp(1px, 4.52vw, 17px);
        padding: clamp(1px, 2.39vw, 9px) clamp(1px, 6.38vw, 24px) clamp(1px, 3.46vw, 13px);
    }

    .course-description {
        font-size: clamp(1px, 4.26vw, 16px);
        line-height: 1.6;
        color: #30403E;
    }

    .course-card-title {
        font-size: clamp(1px, 5.32vw, 20px);
    }

    .course-card-subtitle {
        font-size: clamp(1px, 4.79vw, 18px);
    }

    .course-card-text {
        font-size: clamp(1px, 3.72vw, 14px);
    }

    .course-card-icon {
        width: clamp(1px, 21.54vw, 88px);
        height: clamp(11px, calc(7.01vw + 10px), 39px);
    }

    .course-card-btn {
        height: 40px;
        width: 300px;
        font-size: clamp(1px, 4.52vw, 17px);
        font-weight: 500;
        line-height: 1;
        margin-top: 20px;
    }

    .feature-description {
        font-size: clamp(1px, 4.26vw, 16px);
        line-height: 1.6;
        color: #30403E;
    }

    .feature-card-label {
        width: clamp(1px, 28.19vw, 106px);
        height: clamp(1px, 6.38vw, 24px);
        font-size: clamp(1px, 3.46vw, 13px);
        color: #FFFDF6;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .feature-card-tags li {
        font-size: clamp(1px, 3.72vw, 14px);
    }

    .auto-slide-section {
        height: 410px;
        padding: 55px 0;
        box-sizing: border-box;
    }

    .auto-slide-swiper .swiper-slide {
        width: 300px;
        height: 300px;
    }

    .auto-slide-swiper .swiper-slide img {
        width: 300px;
        height: 300px;
    }

    .auto-slide-swiper .swiper-slide.flex {
        width: 300px;
        height: 300px;
    }

    .auto-slide-swiper .swiper-slide.flex img {
        width: 300px;
        height: 142px;
    }

    .feature-card {
        padding: clamp(1px, 6.38vw, 24px) clamp(1px, 5.32vw, 20px) clamp(1px, 8.51vw, 32px);
        border-radius: 32px;
    }

    .course-arrow,
    .feature-arrow,
    .support-arrow {
        height: 75.5px;
        width: 14px;
        position: relative;
        margin: 0 auto;
    }

    .course-arrow svg,
    .feature-arrow svg,
    .support-arrow svg {
        display: none;
    }

    .course-arrow::before,
    .feature-arrow::before,
    .support-arrow::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 1px;
        height: calc(100% - 1px);
        background: currentColor;
    }

    .course-arrow::after,
    .feature-arrow::after,
    .support-arrow::after {
        content: '';
        position: absolute;
        bottom: 1px;
        left: 0;
        width: 17px;
        height: 1px;
        background: currentColor;
        transform-origin: left center;
        transform: rotate(-41deg);
    }

    .about-content-scroll .section-title .title-en,
    .course-section .section-title .title-en,
    .feature-section .section-title .title-en,
    .support-section .section-title .title-en {
        font-size: clamp(1px, 10.64vw, 40px);
    }

    .support-lead {
        font-size: clamp(1px, 5.32vw, 20px);
    }

    .hero {
        min-height: auto;
        padding-top: 0;
    }

    .hero-bg {
        position: relative;
    }

    .hero {
        overflow: visible;
        padding-bottom: 0;
        max-height: none;
    }

    .hero-bg::before {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        bottom: calc(100% - 100px);
        height: 192px;
        background-image: var(--hero-watermark01);
        background-size: 100% 192px;
        background-repeat: no-repeat;
        z-index: 3;
    }

    .hero-content {
        position: absolute;
        top: 40px;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        padding-top: 80px;
        min-height: auto;
        margin: 0;
        padding-left: 20px;
        padding-right: 20px;
        box-sizing: border-box;
        pointer-events: none;
    }

    .hero-title {
        flex-direction: row;
        align-items: flex-start;
        justify-content: flex-start;
        height: auto;
        gap: 6px;
    }

    .hero-title span {
        writing-mode: vertical-rl;
        width: auto;
    }

    .hero-bg {
        overflow: hidden;
        display: flex;
        justify-content: center;
    }

    .hero-bg img {
        width: 100%;
        max-width: none;
        object-fit: cover;
        object-position: center center;
    }

    .hero-bottom {
        position: absolute;
        bottom: 7vw;
        left: 0;
        right: 0;
        z-index: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 20px 20px;
    }

    .hero .support-row {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }

    .hero .support-list {
        flex-direction: column;
        width: auto;
        height: auto;
        gap: 8px;
        padding: 0;
        background: none;
        border: none;
        border-radius: 0;
        align-items: flex-start;
        justify-content: flex-start;
    }

    .hero .support-item {
        width: clamp(250px, calc(26.5vw + 132px), 336px);
        height: clamp(45px, calc(3.83vw + 30.6px), 60px);
        background: #FFFDF6;
        border: 1px solid #79A39C;
        border-radius: clamp(16px, calc(2.04vw + 8.3px), 24px);
        display: flex;
        align-items: center;
        gap: clamp(8px, calc(1.02vw + 4.2px), 12px);
        font-size: clamp(15px, calc(1.53vw + 9.25px), 21px);
        box-sizing: border-box;
        padding-left: 16px;
    }

    .hero .support-item .icon-wrap img {
        width: clamp(34px, calc(4.08vw + 18.7px), 50px);
        height: clamp(34px, calc(4.08vw + 18.7px), 50px);
    }

    .hero .support-item .item-text {
        font-size: clamp(15px, calc(1.53vw + 9.25px), 21px);
    }

    .hero .support-item .item-text img {
        width: clamp(13px, calc(1.28vw + 8.2px), 18px);
        height: clamp(13px, calc(1.28vw + 8.2px), 18px);
    }

    .round-section {
        width: 100%;
        margin: -8.5vw auto auto 0;
        overflow: visible;
    }

    .round-section .round-bg {
        width: 100%;
        height: auto;
    }

    .round-logo img {
        width: clamp(140px, 47vw, 211px);
    }

    .hero-cta {
        display: flex;
        width: 100%;
        flex-direction: column;
        margin-top: 30px;
        align-items: center;
        gap: 20px;
    }

    .hero-cta .cta-btn {
        width: 343px;
        height: 40px;
        padding: 9px 32px 13px;
        gap: 10px;
        font-size: clamp(16px, 5.3vw, 20px);
        font-weight: 500;
        line-height: 1;
    }

    .hero-cta .cta-btn .btn-icon {
        width: clamp(26px, 8.5vw, 32px);
        height: clamp(20px, 6.4vw, 24px);
    }

    .support-inner {
        overflow: visible;
    }

    .support-wrap {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        margin-bottom: 50px;
        padding-top: 20px;
        margin-top: 10px;
        border-top: none;
        /* バッジ中央(18px)に上破線を背景で描画 → スクロール不変 */
        background-image: repeating-linear-gradient(90deg, #5BA699 0 4px, transparent 4px 8px);
        background-position: 0 18px;
        background-size: 100% 1px;
        background-repeat: no-repeat;
    }

    .support-wrap::-webkit-scrollbar {
        display: none;
    }

    .support-wrap::before {
        display: none;
    }

    .support-num {
        width: 40px;
        height: 40px;
        font-size: 30px;
        font-weight: 400;
        line-height: 34px;
        letter-spacing: 0.08em;
        border-radius: 0;
    }

    .support-card:nth-child(odd)::after {
        display: none;
    }

    .support-grid {
        grid-template-columns: repeat(6, 100vw);
        grid-template-rows: auto;
        grid-auto-flow: column;
        column-gap: 0;
        max-width: none;
        margin: 0;
    }

    .support-card {
        width: calc(100vw - 30px);
        margin: 0 20px;
    }

    .support-scroll-hint {
        position: relative;
        font-size: 10px;
        font-weight: 700;
        line-height: 1;
        color: color-mix(in srgb, #A19E99, #000000 20%);
        text-align: right;
        padding: 6px 10px 2px;
    }

    /* 水平線: 139px × 1px */
    .support-scroll-hint::before {
        content: '';
        position: absolute;
        bottom: 0;
        right: 0;
        width: 139px;
        height: 1px;
        background: color-mix(in srgb, #A19E99, #000000 20%);
    }

    /* 矢印ヘッド: 1px × 16.58px を右下を軸に -45° 回転 */
    .support-scroll-hint::after {
        content: '';
        position: absolute;
        bottom: 0;
        right: 0;
        width: 1px;
        height: 7px;
        background: color-mix(in srgb, #A19E99, #000000 20%);
        transform: rotate(-45deg);
        transform-origin: bottom right;
    }

    .system-section {
    }

    .system-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .system-title {
        margin-bottom: 50px;
    }

    .system-title-main {
        font-size: 25px;
    }

    .system-card {
        max-width: 400px;
        margin: 0 auto;
    }

    .system-num {
        width: 74px;
        height: 46.39px;
        font-size: 35px;
        line-height: 1.3;
        color: #FFFDF6;
        right: -10px;
    }

    .system-grid-wrapper {
        padding-bottom: 30px;
    }

    .system-card-title {
        font-size: 20px;
    }

    .system-card-text {
        font-size: 14px;
    }

    .system-bg {
        display: none;
    }

    .system-bg-sp {
        position: absolute;
        width: calc(100% + 20px);
        height: auto;
        top: calc(138px - 50vw);
        left: -10px;
        z-index: -1;
    }

    .system-arrow {
        margin-top: 0;
    }

    /* News Section - モバイル用レイアウト */
    .news-container {
        flex-direction: column;
    }

    .news-left,
    .news-header {
        display: contents;
    }

    .news-header .section-title {
        order: 1;
    }

    .news-right {
        order: 2;
    }

    .news-btn {
        order: 3;
        margin: 20px auto 0;
        width: 230px;
        height: 40px;
        font-size: 17px;
    }

    .news-btn-icon svg {
        width: 15px;
        height: 15px;
    }

    .news-date {
        font-size: 3.19vw;
    }

    .news-item-title {
        font-size: clamp(1px, 5.32vw, 20px);
    }

    .column-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .column-bg img {
        display: none;
    }

    .column-bg {
        background-image: url('../images/column-bg.png');
        background-size: contain;
        background-repeat: repeat;
    }

    .banner-section {
        padding-left: 0;
        padding-right: 0;
    }

    .banner-inner {
        max-width: none;
    }

    .banner-card {
        background-image: url('../images/banner-sp.png');
        border-radius: 0;
        aspect-ratio: 752 / 778;
    }

    .banner-title {
        font-size: clamp(29px, 7.71vw, 40px);
    }

    .banner-text {
        font-size: clamp(19px, 5.05vw, 26px);
        margin-bottom: 30px;
    }

    .banner-buttons .cta-btn {
        font-size: 20px;
        letter-spacing: -0.07em;
        height: 56px;
        border-radius: 28px;
    }

    .banner-buttons .cta-btn .btn-icon {
        width: 32px;
        height: 24px;
    }
}

@media (max-width: 768px) {
    .hero-content {
        width: 100%;
        padding: 0px 0 0 0;
    }

    .round-section {
        display: block;
    }

    .hero-title {
        font-size: clamp(23px, 6.12vw, 47px);
        font-weight: 700;
        line-height: 1;
        letter-spacing: -0.03em;
        color: #C23790;
        text-shadow: 0 0 48px rgba(255, 255, 255, 0.69);
        margin-top: clamp(50px, 13.3vw, 70px) !important;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 8px;
        overflow: hidden;
        margin-left: 20px;
        max-height: none;
    }

    .hero-title span {
        writing-mode: horizontal-tb;
        text-orientation: mixed;
        background: rgba(255, 255, 255, 0.8);
        padding: 6px 10px;
        text-shadow: none;
        width: fit-content;
    }
}

@media (max-width: 768px) {
    .hero-bg img {
        height: auto;
        aspect-ratio: 376 / 578;
    }

    .hero-title {
        max-height: calc(100vw * 578 / 376 - 80px);
    }
}

@media (max-width: 768px) {
    .feature-card {
        flex-direction: column;
    }

    .feature-card-image {
        width: 100%;
        height: auto;
        aspect-ratio: 287 / 174;
        margin-top: 16px;
    }

    .feature-card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

@media (max-width: 768px) {
    .column-description {
        font-size: clamp(1px, 5.59vw, 21px);
        font-weight: 700;
        line-height: 1.6;
    }

    .column-header {
        margin-bottom: 80px;
    }

    .column-card-category {
        width: 93px;
        height: 25px;
        font-size: 12px;
    }

    .column-card-date {
        font-size: 10px;
    }

    .column-card-title {
        font-size: 16px;
    }

    .column-card-more {
        font-size: 16px;
        font-weight: 700;
        line-height: 1.6;
        width: auto;
        margin-left: 0;
    }

    .column-card-more::before {
        flex: none;
        width: 167.5px;
        height: 1px;
        margin-left: auto;
    }

    .column-card-more::after {
        margin-left: -16px;
    }

    .column-btn {
        width: 213px;
        height: 40px;
        font-size: 17px;
        font-weight: 500;
        line-height: 1;
        padding: 0;
    }

    .column-btn .btn-icon svg {
        width: 15px;
        height: 15px;
    }
}

@media (max-width: 570px) {
    .support-grid {
        grid-template-columns: repeat(3, 100vw);
    }

    .course-grid-inner {
        grid-template-columns: 1fr;
    }


    .column-grid {
        grid-template-columns: 1fr;
        gap: 5vw;
    }

    .column-card-link {
        max-width: 400px;
        margin: 0 auto;
    }

}

/* ===========================================
   Overview Section
   =========================================== */
.overview-section {
    position: relative;
}

/* Header area (title) */
.overview-header {
    padding: clamp(40px, 6vw, 80px) 20px clamp(10px, 1.5vw, 20px);
    background: #fefdf5;
    position: relative;
    z-index: 1;
}

.overview-section-title {
    margin: 0 auto clamp(10px, 1.5vw, 20px);
}

/* Content area with background */
.overview-content {
    position: relative;
}

.overview-bg {
    position: relative;
}

.overview-bg img {
    width: 100%;
    height: auto;
    display: block;
}

.overview-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
    box-sizing: border-box;
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(2, auto);
    justify-content: center;
    gap: clamp(15px, 2.3vw, 30px) clamp(25px, 4vw, 50px);
}

/* Card Flip Container */
.overview-card-container {
    width: clamp(280px, 42vw, 544px);
    height: clamp(135px, 20vw, 262px);
    perspective: 1000px;
}

.overview-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    display: block;
    text-decoration: none;
    transition: transform 1s ease;
    transform-style: preserve-3d;
}

.overview-card-container:hover .overview-card-inner {
    transform: rotateY(-180deg);
}

.overview-card {
    position: absolute;
    width: 100%;
    height: 100%;
    padding: clamp(12px, 1.8vw, 24px) clamp(20px, 3vw, 40px) clamp(15px, 2.3vw, 30px);
    border-radius: clamp(10px, 1.2vw, 16px);
    box-shadow: 0px 4px 20px 2px rgba(0, 0, 0, 0.15);
    box-sizing: border-box;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.overview-card-front {
    color: #fff;
}

.overview-card-back {
    background: #FFFDF6;
    transform: rotateY(-180deg);
    padding: clamp(35px, 5.5vw, 70px) clamp(20px, 3vw, 40px) clamp(22px, 3.5vw, 45px);
    position: relative;
}

/* Back Card Dots */
.overview-card-back-dots {
    position: absolute;
    top: clamp(25px, 4vw, 50px);
    left: clamp(25px, 4vw, 50px);
    width: clamp(18px, 2.5vw, 33px);
    z-index: 2;
    transform: scaleX(-1);
    filter: brightness(0) saturate(100%) invert(58%) sepia(25%) saturate(634%) hue-rotate(117deg) brightness(93%) contrast(87%);
}

.overview-card-back-dots img {
    width: 100%;
    height: auto;
}

/* Back Card Content */
.overview-card-back-content {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: clamp(14px, 2.2vw, 28px) clamp(12px, 1.8vw, 24px);
}

.overview-card-back-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid #5BA699;
    border-radius: 27px;
    clip-path: polygon(80px 0, 100% 0, 100% 100%, 0 100%, 0 50px, 80px 50px);
    pointer-events: none;
}

.overview-card-back-content::after {
    content: '';
    position: absolute;
    top: 50px;
    left: 0;
    width: 1px;
    height: calc(100% - 50px - 27px);
    background: #5BA699;
    pointer-events: none;
}

.overview-card-back-text {
    font-size: clamp(16px, 2vw, 25px);
    font-weight: 700;
    color: #5BA699;
    line-height: 1;
}

.overview-card-back-text span {
    font-family: "Poppins", sans-serif;
    font-size: clamp(14px, 1.8vw, 23px);
    font-weight: 500;
    margin-left: clamp(8px, 1.2vw, 15px);
}

/* Card Colors */
.overview-card-orange {
    background: #CCE390;
}

.overview-card-cyan {
    background: #FFCE9C;
}

.overview-card-green {
    background: #B1E1F4;
}

.overview-card-yellow {
    background: #F7DA85;
}

/* Card Text Wrapper */
.overview-card-text-wrap {
    position: relative;
}


/* Card Dots Decoration */
.overview-card-dots {
    position: absolute;
    top: clamp(-10px, -1.2vw, -15px);
    right: clamp(5px, 0.8vw, 10px);
    width: clamp(20px, 2.5vw, 33px);
    height: auto;
    z-index: 2;
}

.overview-card-dots img {
    width: 100%;
    height: auto;
}

/* Card Header */
.overview-card-header {
    margin-bottom: clamp(15px, 2.3vw, 30px);
    position: relative;
    display: inline-block;
}

.overview-card-header::before {
    content: '';
    position: absolute;
    inset: -4px calc(-6px - 4px) -4px -4px;
    background: rgba(53, 0, 36, 0.86);
    filter: blur(70px);
    z-index: -1;
}

.overview-card-title {
    font-size: clamp(16px, 2vw, 25px);
    font-weight: 700;
    line-height: 1;
    margin: 0;
    color: #FFFDF6;
}

.overview-card-title span {
    display: inline;
    font-family: "Poppins", sans-serif;
    font-size: clamp(14px, 1.8vw, 23px);
    font-weight: 500;
    line-height: 1;
    margin-left: clamp(5px, 0.8vw, 10px);
}

/* Card Text */
.overview-card-text {
    position: relative;
    font-size: clamp(10px, 1.1vw, 14px);
    font-weight: 500;
    line-height: 1.6;
    margin: 0;
    color: #30403E;
    padding: clamp(14px, 2.2vw, 28px) clamp(12px, 1.8vw, 24px);
}

/* Border using pseudo-elements with gap for dots */
.overview-card-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid #ffffff;
    border-radius: 27px;
    clip-path: polygon(0 0, calc(100% - 80px) 0, calc(100% - 80px) 50px, 100% 50px, 100% 100%, 0 100%);
    pointer-events: none;
}

.overview-card-text::after {
    content: '';
    position: absolute;
    top: 50px;
    right: 0;
    width: 1px;
    height: calc(100% - 50px - 27px);
    background: #ffffff;
    pointer-events: none;
}

/* ===========================================
   Overview Section - Responsive
   =========================================== */
@media (max-width: 768px) {
    .overview-bg {
        position: relative;
        width: 100%;
    }

    .overview-bg picture,
    .overview-bg img {
        width: 100%;
        height: auto;
        display: block;
        object-fit: unset;
    }

    .overview-content {
        padding: 0;
    }

    .overview-inner {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        transform: none;
        z-index: 1;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .overview-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .overview-card-container {
        width: 91.5vw;
        height: auto;
        aspect-ratio: 344 / 239;
        margin: 0 auto;
    }

    .overview-card-inner {
        transition: transform 0.6s ease;
    }

    .overview-card-container.is-flipped .overview-card-inner {
        transform: rotateY(-180deg);
    }

    .overview-card {
        padding: 7.98vw 6.65vw;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        border-radius: 32px;
    }

    .overview-card-back {
        padding: 7.98vw 6.65vw;
        border-radius: 32px;
    }

    .overview-card-text-wrap {
        margin-top: 0;
    }

    .overview-card-title {
        font-size: 6.12vw;
    }

    .overview-card-title span {
        font-size: 4.79vw;
        margin-left: 10px;
    }

    .overview-card-text {
        font-size: 3.72vw;
        padding: 6.47vw 5.32vw;
    }

    .overview-card-dots {
        width: 8.7vw;
        height: 6.47vw;
    }

    .overview-card-back-dots {
        width: 8.7vw;
        height: 6.47vw;
    }

    .overview-card-back-text {
        font-size: 6.12vw;
    }

    .overview-card-back-text span {
        font-size: 4.79vw;
        margin-left: 10px;
    }
}

