/* 1rem = 16px */

/* LINE Seed JP App (fonts フォルダの実ファイル名で参照) */
@font-face {
    font-family: 'LINE Seed JP App_TTF';
    src: url('../fonts/LINESeedJP_OTF_Rg.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'LINE Seed JP App_TTF';
    src: url('../fonts/LINESeedJP_OTF_Bd.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'LINE Seed JP App_TTF';
    src: url('../fonts/LINESeedJP_OTF_Eb.woff') format('woff');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'LINE Seed JP App_TTF';
    src: url('../fonts/LINESeedJP_OTF_Th.woff') format('woff');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

:root {
    font-size: 10px;
    --color-green: #7fba00;
    --color-green-light: #e8f5d4;
    --color-orange: #f57c00;
    --color-orange-dark: #e65100;
    --color-blue: #1976d2;
    --color-blue-light: #e3f2fd;
    --color-text: #333;
    --color-text-muted: #666;
    --color-white: #fff;
    --color-footer: #263238;
    --max-width: 75rem; /* 1200px */
    --section-padding-y: 5rem; /* 80px */
    --section-padding-x: 1.5rem; /* 24px */
}

@media (max-width: 767px) {
    :root {
        font-size: 2.147vw;
    }
}

.pcnone {
    display: none;
}

.spnone {
    display: block;
}

@media (max-width: 767px) {
    .pcnone {
        display: block;
    }
    .spnone {
        display: none;
    }
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Noto Sans JP, Meiryo, sans-serif;
    color: var(--color-text);
    line-height: 1.6;
}

@media (max-width: 767px) {
    body {
        padding-top: 14vw;
        padding-bottom: 4rem;
    }
}

/*
    * 見出し内のテキストで、Figmaのテキストオブジェクト内で級数・ウェイトが
    * 変わっている部分は <span> で囲み、下記クラスで反映してください。
    * 1rem = 16px 換算（例: 24px → .t-24）
    */
.rem4 { font-size: 4rem; }
.rem6 { font-size: 6rem; }
.rem3 { font-size: 3rem; }
.rem5 { font-size: 5rem; }
.rem7 { font-size: 7rem; }
.rem8 { font-size: 8rem; }
.rem9 { font-size: 9rem; }
.rem10 { font-size: 10rem; }
.rem11 { font-size: 11rem; }
.rem12 { font-size: 12rem; }
.sup { vertical-align: super; font-size: 0.625rem; line-height: 1; }
.f-line {
    font-family: 'LINE Seed JP App_TTF';
}

img {
    width: 100%;
    height: auto;
    vertical-align: bottom;
}

/* Top bar */
.top-bar {
    background: var(--color-green-light);
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 16px 0px;
    height: 65px;
    background: linear-gradient(90deg, #43C490 0%, #70ADBE 100%);
    position: relative;
}

.top-bar p {
    font-size: 20px;
    line-height: 32px;
    font-family: 'LINE Seed JP App_TTF';
    font-style: normal;
    font-weight: 700;
    font-size: 20px;
    color: #FFFFFF;
    text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.25);
    gap: 1rem;
    display: flex;
}

@media (max-width: 767px) {
    .top-bar {
        height: 14vw;
        padding: 1.4rem 0;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        z-index: 100;
    }
    .top-bar p {
        flex-direction: column;
        gap: 1rem;
        line-height: 1rem;
        align-items: center;
        font-size: 1.5rem;
    }
    .top-bar span span {
        font-size: 1rem;
    }
}

.top-bar p>span {
    display: inline-block;
    width: 8rem;
}

.top-bar p>span img {
    vertical-align: middle;
}

.top-bar .btn-counseling {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: var(--color-orange);
    color: var(--color-white);
    height: 70%;
    display: flex;
    align-items: center;
    font-size: 1.6rem;
    text-decoration: none;
    font-weight: 600;
    padding: 1rem 2rem;
    line-height: 1rem;
    border-radius: 4rem;
}

.top-bar .btn-counseling::before {
    content: '';
    display: block;
    width: 2rem;
    height: 2rem;
    background: url(../images/icon_mail.png) no-repeat center center;
    background-size: contain;
    margin-right: 0.5rem;
}

/* header */

/* Main nav */
.main-nav {
    background: var(--color-white);
    padding: 1rem 1.5rem;
    margin: 0 auto;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,0.06);
    position: relative;
    border-bottom: 1px solid #EDEDED;
}
.main-nav ul {
    display: flex;
    list-style: none;
    justify-content: center;
}
.main-nav a {
    color: var(--color-text);
    text-decoration: none;
    font-size: 1.2rem;
    padding: 0 2rem;
    border-right: 1px solid rgba(0,0,0,0.4);
}

.main-nav li:last-child a {
    border-right: none;
}

.main-nav .btn-counseling {
    background: var(--color-orange);
    color: var(--color-white);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: bold;
}

.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 98;
    cursor: pointer;
}

.nav-toggle-btn {
    display: none;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    border: none;
    background-color: white;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    padding: 0;
    z-index: 101;
}

.nav-toggle-btn-inner,
.nav-toggle-btn-inner::before,
.nav-toggle-btn-inner::after {
    display: block;
    width: 1.8rem;
    height: 2px;
    background: #3CAFA3;
    border-radius: 1px;
    transition: opacity 0.2s, transform 0.2s;
}

.nav-toggle-btn-inner {
    position: relative;
}

.nav-toggle-btn-inner::before,
.nav-toggle-btn-inner::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
}

.nav-toggle-btn-inner::before {
    transform: translateY(-0.6rem);
}

.nav-toggle-btn-inner::after {
    transform: translateY(0.6rem);
}

.nav-toggle-btn.is-open .nav-toggle-btn-inner {
    background: transparent;
}

.nav-toggle-btn.is-open .nav-toggle-btn-inner::before {
    transform: translateY(0) rotate(45deg);
}

.nav-toggle-btn.is-open .nav-toggle-btn-inner::after {
    transform: translateY(0) rotate(-45deg);
}

.nav-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.35);
}

.nav-close-btn {
    display: none;
}

@media (max-width: 767px) {
    .nav-close-btn {
        display: flex;
        position: absolute;
        top: 1rem;
        right: 1rem;
        width: 4rem;
        height: 4rem;
        border-radius: 50%;
        background-color: white;
        border: none;
        color: var(--color-text);
        cursor: pointer;
        align-items: center;
        justify-content: center;
        padding: 0;
        z-index: 1;
    }

    .nav-close-btn .nav-toggle-btn-inner {
        background: transparent;
    }

    .nav-close-btn .nav-toggle-btn-inner::before {
        transform: translateY(0) rotate(45deg);
    }

    .nav-close-btn .nav-toggle-btn-inner::after {
        transform: translateY(0) rotate(-45deg);
    }

    .nav-close-btn:hover {
        background: rgba(0, 0, 0, 0.06);
    }
}

@media (max-width: 767px) {
    .nav-toggle-btn {
        display: flex;
        position: fixed;
        right: 1rem;
        top: 1rem;
        transform: none;
        z-index: 101;
    }

    .nav-toggle-btn.is-open {
        display: none;
    }

    .main-nav {
        display: none;
        position: fixed;
        z-index: 99;
        top: 50%;
        width: 90%;
        margin: 0 auto;
        left: 0;
        right: 0;
        transform: translateY(-50%);
        box-shadow: 0 0 3px rgba(0, 0, 0, .2);
        border-radius: 1rem;
    }

    .main-nav ul {
        flex-direction: column;
        padding: 4rem 2rem;
    }
    
    .main-nav a {
        padding: 1rem 0;
        border-right: none;
        border-bottom: unset;
        font-size: 2rem;
        display: block;
        width: 100%;
        text-align: center;
        font-weight: 600;
    }

    .top-bar .btn-counseling {
        position: fixed;
        right: 0;
        bottom: 0;
        height: 6rem;
        padding: 1rem 2rem;
        border-radius: 0;
        top: unset;
        width: 100%;
        justify-content: center;
        transform: unset;
    }
}

/* Hero */
.hero {
    background: url(../images/bg_hero_pc.jpg) no-repeat;
    background-size: cover;
    background-position: center;
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    display: block;
    width: 100%;
    padding-top: 41.5%;
}

@media (max-width: 767px) {
    .hero {
        background: url(../images/bg_hero_sp.jpg) no-repeat;
        background-size: cover;
        background-position: center;
    }
    .hero::before {
        padding-top: 135%;
    }
}

.hero h1 {
    display: none;
}

.hero-list {
    display: none;
}

.hero-note {
    display: none;
}
.hero-note-text {
    display: none;
}

/* Achievements */
.achievements {
    padding: 10rem 2rem;
    margin: 0 auto;
    position: relative;
    overflow-x: hidden;
}

@media (max-width: 767px) {
    .achievements {
        padding: 6rem 2rem;
    }
}

/* 実績見出し: Figmaテキストオブジェクトの級数・ウェイト・色・フォントを反映 */
.achievements h2 {
    text-align: center;
    max-width: 690px;
    width: 90%;
    margin: 0 auto 4rem;
}

.achievements:after {
    content: '';
    display: block;
    width: 100%;
    height: 40%;
    background: linear-gradient(123.84deg, #67C2C2 -0.96%, #1C38ED 112.34%);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 0;
}

.achievements-cards {
    position: relative;
    z-index: 1;
    margin-top: 2rem;
    max-width: 100%;
}

.achievements .splide__track {
    overflow: visible;
}

.achievements .splide__list {
    align-items: stretch;
}

.achievements .splide__slide {
    display: flex;
}

.achievement-card {
    display: flex;
    padding: 2.1rem 2rem 2.4rem 2rem;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
    width: 100%;
    border-radius: 1rem;
    border-bottom: 5px solid #0F4BD5;
    background: #FFF;
    box-shadow: 0 1px 24px 0 rgba(0, 0, 0, 0.15);
    position: relative;
}

.achievement-card .comment-number {
    color: white;
    background: url(../images/bg_balloon.png) no-repeat top center;
    font-size: 1.6rem;
    font-style: normal;
    font-weight: 700;
    line-height: 100%;
    display: flex;
    padding: 0.75rem 1rem 2rem 1rem;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    background-size: 100% auto;
}

.achievement-card:after {
    content: '';
    display: block;
    width: 3.2rem;
    height: 3.2rem;
    background: url(../images/icon_ballon.png) no-repeat center center;
    background-size: contain;
    position: absolute;
    top: 1.6rem;
    right: 1.6rem;
    z-index: 1;
}

.achievement-card .name-role-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.achievement-card .avatar {
    width: 8rem;
    height: 8rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.achievement-card .avatar .img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.achievement-card .name-role {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.achievement-card .name,.achievement-card .role {
    color: #1F1F1F;
    font-size: 1.8rem;
    font-style: normal;
    font-weight: 700;
    line-height: 100%;
}

.achievement-card .quote {
    color: #1F1F1F;
    font-size: 1.4rem;
    font-style: normal;
    font-weight: 400;
    line-height: 170%;
}

.achievements-note {
    text-align: center;
    font-size: 1rem;
    font-weight: 500;
    line-height: 170%;
    color: white;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

/* Before/After */
.before-after {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10rem 0;
    position: relative;
    overflow: hidden;
}

.before-after::after {
    content: '';
    display: block;
    width: 25%;
    background: url(../images/before-after_bg_dot.png) no-repeat center center;
    background-size: 100% auto;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    padding-top: 18%;
    transform: translate(-30%, -20%);
}

.before-after::before {
    content: '';
    display: block;
    width: 25%;
    background: url(../images/before-after_bg_dot.png) no-repeat center center;
    background-size: 100% auto;
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 0;
    padding-top: 18%;
    transform: translate(50%, 30%);
}

@media (max-width: 767px) {
    .before-after {
        padding: 6rem 2rem;
    }
}

.before-after-inner {
    max-width: 1100px;
    z-index: 1;
}

.before-after-inner h2 {
    max-width: 624px;
    width: 90%;
    margin: 0 auto 3rem;
}

.before-after-inner h2 + p {
    text-align: center;
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 170%;
    margin: 4rem 0;
}

.before-after-contents {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 4rem;
    justify-content: center;
}

.before-after-content {
    width: calc(40% - 2rem);
}

.before-after-content-list {
    background-color: #E6EFF8;
    padding: 2rem;
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    align-items: center;
}

.before-after-content-list span {
    display: inline-block;
    width: 1.6rem;
    line-height: 0;
}

.before-after-content ul {
    background-color: white;
    padding-bottom: 1.4rem;
    width: 100%;
}

@media (max-width: 767px) {
    .before-after-contents {
        flex-direction: column;
    }

    .before-after-content {
        width: 100%;
    }
}

.before-list::before {
    content: 'Before';
    display: block;
    width: 100%;
    height: 100%;
    background-color: #1C1D31;
    font-size: 2.2rem;
    color: #fff;
    font-weight: 500;
    line-height: 100%;
    text-align: center;
    padding: 1rem 2rem;
    box-sizing: border-box;
    margin-bottom: 1.4rem;
}

.after-list::before {
    content: 'After';
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #FE8E3D 0%, #DF4B3D 100%);
    font-size: 2.2rem;
    color: #fff;
    font-weight: 500;
    line-height: 100%;
    text-align: center;
    padding: 1rem 2rem;
    box-sizing: border-box;
    margin-bottom: 1.4rem;
}

.after-list {
    list-style-type: none;
}

.after-list li {
    position: relative;
    margin-top: 1rem;
    line-height: 150% !important;
}

.after-list strong {
    color: #CA4E00;
}

.after-list li:before {
    content: '';
    display: block;
    width: 2rem;
    height: 2rem;
    background: url(../images/icon_check.png) no-repeat center center;
    position: absolute;
    left: -2.7rem;
    top: 50%;
    transform: translateY(-50%);
    background-size: contain;
}

.before-after-content-list li {
    margin-left: 4rem;
    font-size: 1.6rem;
    line-height: 170%;
    width: 88%;
}

.before-after-content-last {
    padding-top: 3rem;
    max-width: 646px;
    width: 90%;
    text-align: center;
    margin: 0 auto;
}

.before-after-content-last:before {
    content: '';
    display: block;
    width: 14.4rem;
    height: 3.4rem;
    background: url(../images/before-after_img_arrow.png) no-repeat center center;
    background-size: contain;
    margin: 0 auto 3rem;
}

.before-after-content-last p {
    width: 100%;
}

/* Curriculum */
.curriculum {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10rem 0;
    background: url(../images/curriculum_bg2_pc.svg) no-repeat center bottom, #DDE7F4;
    background-size: 100% auto;
    position: relative;
}

.curriculum::after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background: url(../images/curriculum_bg1_pc.svg) no-repeat center top;
    background-size: 100% auto;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1;
}

@media (max-width: 767px) {
    .curriculum {
        padding: 6rem 2rem;
    }
    .curriculum::after {
        background: url(../images/curriculum_bg1_sp.png) no-repeat center top;
        background-size: 100% auto;
    }
}

.curriculum-inner {
    max-width: 1100px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    position: relative;
    z-index: 3;
}

.curriculum-text {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.curriculum-text .subtitle {
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 140%;
    color: #222;
    text-align: right;
    font-size: 3rem;
    font-weight: 600;
    border-right: 1px solid #7A9EC8;
    padding-right: 2rem;
}

.curriculum-text .curriculum-desc {
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 170%;
    color: #222;
    text-align: left;
    width: 50%;
    padding-left: 2rem;
}

@media (max-width: 767px) {
    .curriculum-text {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }
    .curriculum-text .subtitle {
        text-align: left;
        margin-bottom: 0.5rem;
    }
    .curriculum-text .curriculum-desc {
        font-size: 1.6rem;
        padding-left: 0;
        width: 100%;
    }
}


.curriculum h2 {
    text-align: center;
    font-family: 'LINE Seed JP App_TTF';
    font-style: normal;
    font-weight: 800;
    line-height: 100%;
    color: #222;
    font-size: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

.curriculum h2:after {
    content: 'CURRICULUM';
    display: inline-block;
    font-size: 1.6rem;
    font-family: Oswald;
    font-weight: 500;
    color: #7A9EC8;
    line-height: 100%;
}

.curriculum h3 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 140%;
    color: #222;
    text-align: center;
}

.curriculum-overview {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    max-width: 1100px;
    width: 90%;
}

@media (max-width: 767px) {
    .curriculum-overview {
        width: 100%;
    }


}

.curriculum-overview-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3.4rem;
    background-color: white;
    border-radius: 1rem;
    padding: 4rem;
    width: 100%;
    position: relative;
}

.curriculum-overview-item:nth-child(odd) {
    align-items: flex-start;
}

.curriculum-overview-item:nth-child(odd) .curriculum-overview-item-img {
    right: 4rem;
    top: 50%;
    transform: translateY(-50%);
}

.curriculum-overview-item:nth-child(even) {
    align-items: flex-end;
}

.curriculum-overview-item:nth-child(even) .curriculum-overview-item-img {
    left: 4rem;
    top: 50%;
    transform: translateY(-50%);
}

.curriculum-overview-item>* {
    width: 50%;
}

@media (max-width: 767px) {
    .curriculum-overview-item>* {
        width: 100%;
    }

    .curriculum-overview-item {
        padding: 4rem 2rem;
        gap: 2rem;
    }

    .curriculum-overview-item .curriculum-overview-item-img {
        width: 80%;
        height: auto;
        position: static;
        transform: unset !important;
    }
}

.curriculum-overview-item .month-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.curriculum-overview-item .month {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 100%;
    color: white;
    background-color: #2442B7;
    text-align: center;
    padding: 1.4rem 3rem 1.1rem;
    border-radius: 5rem;
    width: auto !important;
}

.curriculum-overview-item .month span {
    font-size: 3.2rem;
}

.curriculum-overview-item h4 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 100%;
    color: #2442B7;
    text-align: center;
}

.curriculum-overview-item h4 span {
    font-size: 2.6rem;
    font-weight: 800;
    color: #222;
}

@media (max-width: 767px) {
    .curriculum-overview-item h4 {
        font-size: 2.6rem;
    }
    .curriculum-overview-item h4 span {
        font-size: 2.2rem;
    }
}

.curriculum-overview-item-img {
    width: 100%;
    height: auto;
    position: absolute;
    width: 40%;
    height: auto;
}

.curriculum-overview-item .technologies {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    list-style-type: none;
    flex-wrap: wrap;
}

.curriculum-overview-item .technologies li {
    color: #045393;
    border: 1px solid #045393;
    border-radius: 5rem;
    padding: 0.2rem 1rem;
}

.curriculum-overview-item-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.4rem;
    font-size: 1.6rem;
}

.curriculum-overview-item-content:before {
    content: '';
    display: block;
    width: 3rem;
    height: 2px;
    background: #DDDDDD;
}

.week-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.week-list {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    padding-bottom: 3rem;
    position: relative;
}

.week-list:after {
    content: '';
    position: absolute;
    bottom: 1rem;
    left: 0;
    width: 100%;
    height: 1rem;
    background: url(../images/curriculum_line.png) no-repeat left center;
    background-size: auto 100%;
}

.week-list:last-child {
    padding-bottom: 0;
}

.week-list:last-child:after {
    display: none;
}

.week-list .week {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 5rem;
    height: 5rem;    
    background: #3E55B1;
    border-radius: 0.6rem;
    line-height: 100%;
    font-size: 1.4rem;
    color: white;
    font-family: Oswald;
    font-weight: 300;
}

.week-list .week span {
    font-size: 2.6rem;
    font-weight: 600;
    line-height: 100%;
}

.week-list .week-content {
    font-size: 1.7rem;
    font-weight: 500;
    line-height: 150%;
    color: #222;
}

@media (max-width: 767px) {
    .week-list {
        flex-wrap: wrap;
    }

    .week-list .week-content {
        width: calc(100% - 6rem);
    }
}

/* About SGP */
.about-sgp {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10rem 0;
    background: linear-gradient(99.93deg, #D9FCFF 14.88%, #F6FFDE 58.73%, #FFE4BE 103.43%);
}


.about-sgp-inner {
    max-width: 1100px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6rem;
}
.about-sgp-heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}
.about-sgp h2 {
    text-align: center;
    font-weight: 800;
    line-height: 100%;
    color: #222;
    font-size: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    width: 100%;
}
.about-sgp h2:after {
    content: 'COPMANY';
    display: inline-block;
    font-size: 1.6rem;
    font-family: Oswald;
    font-weight: 500;
    color: #222;
    opacity: 0.2;
    line-height: 100%;
}
.about-sgp-content {
    display: flex;
    flex-direction: row;
    gap: 4rem;
    align-items: center;
    justify-content: center;
}

.about-sgp-logo {
    width: 240px;
    height: 240px;
    background: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 2rem;
}

@media (max-width: 767px) {
    .about-sgp {
        padding: 6rem 2rem;
    }

    .about-sgp-content {
        flex-direction: column;
        gap: 3rem;
    }

    .about-sgp-logo {
        width: 20rem;
        height: 20rem;
    }

    .about-sgp-inner {
        gap: 4rem;
    }
}

.about-sgp-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3rem;
    max-width: 567px;
}
.about-sgp-tagline {
    display: block;
    background: #222;
    color: #92ffc8;
    padding: 1rem;
    font-weight: 800;
    font-size: 3rem;
    line-height: 100%;
}
.about-sgp-tagline span {
    font-size: 2.4rem;
}
.about-sgp-desc {
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.6;
    color: #222;
}
.about-sgp-desc p + p {
    margin-top: 1rem;
}
.about-sgp-desc strong {
    font-weight: 900;
}
.about-sgp-link a {
    color: #4b4a74;
    text-decoration: underline;
    font-size: 1.2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}
.about-sgp-link a img {
    width: 1.2rem;
    height: auto;
}
.about-sgp-note {
    font-size: 1.2rem;
    color: #415468;
    line-height: 1.6;
    text-align: right;
    width: 100%;
}

/* Subsidy */
.subsidy {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10rem 0;
    background: #fff;
    position: relative;
    overflow: hidden;
}

@media (max-width: 767px) {
    .subsidy {
        padding: 6rem 2rem;
    }
}

.subsidy::after {
    content: '';
    display: block;
    width: 25%;
    background: url(../images/subsidy_bg_wave.png) no-repeat center center;
    background-size: 100% auto;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    padding-top: 18%;
    transform: translate(-50%, 30%);
}

.subsidy::before {
    content: '';
    display: block;
    width: 25%;
    background: url(../images/subsidy_bg_wave.png) no-repeat center center;
    background-size: 100% auto;
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 0;
    padding-top: 18%;
    transform: translate(50%, 30%);
}

.subsidy-inner {
    max-width: 1100px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6rem;
}


@media (max-width: 767px) {
    .subsidy-inner {
        z-index: 1;
        position: static;
    }
}

.subsidy-heading {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.subsidy h2 {
    text-align: center;
    font-weight: 800;
    line-height: 100%;
    color: #222;
    font-size: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

@media (max-width: 767px) {
    .subsidy h2 span {
        font-size: 3.2rem;
    }
}

.subsidy h2:after {
    content: 'SUBSIDY';
    display: inline-block;
    font-size: 1.6rem;
    font-family: Oswald;
    font-weight: 500;
    color: #a8c4b9;
    line-height: 100%;
}
.subsidy-green {
    color: #43c490;
}

/* Intro */
.subsidy-intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}
.subsidy-intro p {
    font-size: 1.6rem;
    line-height: 1.6;
    color: #222;
    max-width: 722px;
}
.subsidy-intro strong {
    color: #f96700;
    font-weight: 700;
}
.subsidy-link a {
    color: #4b4a74;
    text-decoration: underline;
    font-size: 1.2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}
.subsidy-link a img {
    width: 1.2rem;
    height: auto;
}

/* Merits */
.subsidy-merits {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    width: 100%;
}
.subsidy-merits-header {
    background: #2fa475;
    color: white;
    padding: 2rem 3rem;
    position: relative;
}
.subsidy-merits-header::after {
    content: '';
    position: absolute;
    bottom: -1.5rem;
    left: 50%;
    transform: translateX(-50%);
    border-left: 1.55rem solid transparent;
    border-right: 1.55rem solid transparent;
    border-top: 1.5rem solid #2fa475;
}
.subsidy-merits-header p {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 100%;
    color: white;
}
.merit-num-large { font-size: 3.6rem; }
.merit-particle  { font-size: 2.4rem; }

.subsidy-merits-cards {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    justify-content: center;
    width: 100%;
}

.subsidy-merits-cards.splide {
    display: block;
}

.subsidy-merits-cards .splide__track {
    overflow: visible;
}

.subsidy-merits-cards .splide__list {
    align-items: stretch;
}

.subsidy-merits-cards .splide__slide {
    display: flex;
}

.subsidy-merits-cards .splide__slide .subsidy-merit-card {
    width: 100%;
    box-sizing: border-box;
}

.subsidy-merit-card {
    width: 30%;
    border: 6px solid #238e63;
    border-radius: 13px;
    box-shadow: 0 4px 7px rgba(0,0,0,0.18);
    background: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 4rem 2.2rem;
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
}

.merit-card-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}
.merit-card-inner img {
    width: 4.6rem;
    height: auto;
}
.merit-index {
    position: absolute;
    top: 2rem;
    left: 2rem;
    font-size: 3.8rem;
    font-family: Oswald;
    font-weight: 300;
    color: #2fa475;
    line-height: 1.2;
}
.merit-title {
    font-size: 2.8rem;
    font-weight: 900;
    color: #2fa475;
    text-align: center;
    line-height: 1.2;
}
.merit-title span {
    font-size: 2.2rem;
}
.merit-divider {
    width: 2.6rem;
    height: auto;
}
.merit-desc {
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.6;
    color: #222;
    text-align: center;
}

/* Cost area */
.subsidy-cost-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

.subsidy-cost-header {
    max-width: 778px;
    width: 90%;
    margin: 0 auto;
}

.subsidy-cost-header p {
    font-size: 2.8rem;
    font-weight: 900;
    color: white;
    text-align: center;
    line-height: 1.6;
}

.subsidy-note {
    font-size: 1.2rem;
    color: #969696;
    line-height: 1.6;
    text-align: center;
    max-width: 722px;
}

/* CTA + FAQ */
.cta-section {
    padding: 6rem 0;
    background: url(../images/cta_bg_pc.jpg) no-repeat center center;
    background-size: 100% auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

@media (max-width: 767px) {
    .cta-section {
        padding: 6rem 2rem;
        background: url(../images/cta_bg_sp.jpg) no-repeat center center;
        background-size: 100% auto;
    }
}

.cta-section-inner {
    max-width: 1100px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3rem;
}

.cta-section-inner h2 {
    max-width: 535px;
    width: 90%;
}

.cta-section p {
    font-size: 1.6rem;
    line-height: 160%;
    color: #222;
    text-align: center;
}

.cta-section .btn-counseling {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 1rem 5rem;
    gap: 1rem;
    background: linear-gradient(180deg, #FD7000 0%, #D46300 100%);
    border: 2px solid #FFFFFF;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.15);
    border-radius: 6rem;
    color: white;
    text-decoration: none;
    font-size: 2.4rem;
    font-weight: 600;
}

.cta-section .btn-counseling:before {
    content: '';
    display: block;
    width: 2.4rem;
    height: 2.4rem;
    background: url(../images/icon_calender.png) no-repeat center center;
    background-size: contain;
}


/* FAQ */

.faq {
    padding: 10rem 0;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6rem;
}

@media (max-width: 767px) {
    .faq {
        padding: 6rem 2rem;
    }
}

.faq-inner {
    max-width: 1100px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6rem;
}

.faq h2 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}
.faq h2 span {
    font-size: 4rem;
    font-weight: 800;
    line-height: 100%;
    color: #222;
}

.faq h2:after {
    content: 'Q&A';
    display: block;
    font-size: 1.6rem;
    font-family: Oswald;
    font-weight: 500;
    color: #a8c4b9;
    line-height: 100%;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
}

.faq-item {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 0;
    background-color: #F9F9F9;
    align-items: flex-start;
}

.faq-item-question {
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 100%;
    color: #222;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    padding: 2rem 2rem;
    cursor: pointer;
    width: 100%;
    box-sizing: border-box;
}

.faq-item-question-text {
    flex: 1;
    line-height: 140%;
}

.faq-toggle-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    flex-shrink: 0;
}

.faq-toggle-icon::before,
.faq-toggle-icon::after {
    position: absolute;
    font-size: 2rem;
    font-weight: 300;
    line-height: 1;
    color: #222;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.faq-toggle-icon::before {
    content: '+';
    opacity: 1;
    transform: scale(1);
}

.faq-toggle-icon::after {
    content: '−';
    opacity: 0;
    transform: scale(0.85);
}

.faq-item.is-open .faq-toggle-icon::before {
    opacity: 0;
    transform: scale(0.85);
}

.faq-item.is-open .faq-toggle-icon::after {
    opacity: 1;
    transform: scale(1);
}

.faq-item-answer {
    display: none;
    overflow: hidden;
    padding: 0 2rem 2rem;
}

.faq-item-answer-inner {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 100%;
    color: #222;
}

.faq-item-answer-inner p {
    flex: 1;
    min-width: 0;
    margin: 0;
    line-height: 160%;
}

.faq-item-answer-inner::before {
    content: 'A.';
    display: block;
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 100%;
    color: #F27600;
    font-family: Oswald;
    flex-shrink: 0;
}

.faq-item-question::before {
    content: 'Q.';
    display: block;
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 100%;
    color: #222;
    font-family: Oswald;
    font-weight: 500;
    line-height: 100%;
    color: #222;
}


/* Footer nav */
.footer-nav {
    background: var(--color-footer);
    color: var(--color-white);
    padding: 3rem var(--section-padding-x);
    text-align: center;
    font-size: 1.4rem;
}

.footer-nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.5rem 1rem;
    margin: 0;
    padding: 0;
}

.footer-nav li + li::before {
    content: '|';
    margin-right: 1rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-nav a {
    color: var(--color-white);
    text-decoration: none;
}

.footer-nav a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background: var(--color-footer);
    color: var(--color-white);
    padding: 0 var(--section-padding-x) 4rem;
    text-align: center;
    font-size: 1.6rem;
}

/* Top bar brand link (e.g. policy page) */
.top-bar-brand {
    color: inherit;
    text-decoration: none;
    display: flex;
    flex-direction: inherit;
    align-items: inherit;
    gap: inherit;
}

/* Privacy policy / legal page */
.policy {
    padding: var(--section-padding-y) var(--section-padding-x);
    background: #fff;
}

.policy-inner {
    max-width: 800px;
    margin: 0 auto;
}

.policy-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #222;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid #43C490;
}

.policy-intro {
    font-size: 1.5rem;
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: 3rem;
}

.policy-body {
    margin-bottom: 3rem;
}

.policy-section {
    margin-bottom: 2.5rem;
}

.policy-section h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 1rem;
}

.policy-section p {
    font-size: 1.4rem;
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.policy-section p:last-child {
    margin-bottom: 0;
}

.policy-list {
    font-size: 1.4rem;
    line-height: 1.8;
    color: var(--color-text);
    margin: 0 0 1rem 1.5rem;
    padding-left: 0.5rem;
}

.policy-list li {
    margin-bottom: 0.5rem;
}

.policy-list ul {
    margin: 0.5rem 0 0.5rem 1.5rem;
    padding-left: 0.5rem;
}

.policy-note {
    font-size: 1.3rem;
    color: var(--color-text-muted);
    margin-top: 1rem;
}

.policy-tool-list li {
    margin-bottom: 1rem;
}

.policy-contact {
    font-size: 1.4rem;
    list-style: none;
    margin: 0 0 1rem 0;
    padding: 0;
}

.policy-contact li {
    margin-bottom: 0.5rem;
}

.policy-contact a {
    color: var(--color-blue);
    text-decoration: none;
}

.policy-contact a:hover {
    text-decoration: underline;
}

.policy-date {
    font-size: 1.3rem;
    color: var(--color-text-muted);
    text-align: right;
}

.policy-back {
    text-align: left;
    margin-bottom: 1.5rem;
    border: 1px solid #333;
    padding: 1rem 2rem;
    color: #333;
    border-radius: 50rem;
    font-size: 1.4rem;
    display: inline-block;
    margin: 2rem auto;
}

.policy-back:hover {
    background-color: #333;
    color: white;
}

.policy-back:hover a {
    color: white;
}

.policy-back + .policy-title {
    margin-top: 0;
}

.policy-date + .policy-back {
    margin-top: 2rem;
    margin-bottom: 0;
}

.policy-back a {
    text-decoration: none;
    color: #333;
}


@media (max-width: 767px) {
    .policy {
        padding: 6rem 2rem;
    }
    .policy-title {
        font-size: 2.2rem;
    }
}

.splide__pagination {
    margin-top: 2rem !important;
    position: static !important;
}

.splide__arrow {
    transform: translateY(calc(-50% - 2rem)) !important;
}

.subsidy .splide__pagination .is-active {
    background: #2fa475 !important;
}

.subsidy .splide__pagination button {
    background: #ADD4C4 !important;
}