h2 {
    margin: 0 0 var(--space-3xl) 0;
    font-size: var(--font-size32);
    font-weight: 900;
    color: var(--color-navy);
    text-align: center;
    line-height: 1.8;
    letter-spacing: 0.05em;
}

h3 {
    font-size: var(--font-size24);
    font-weight: 900;
    text-align: center;
}

p {
    letter-spacing: 0.05em;
    line-height: 1.6;
}

a {
    color: var(--font-color);
}

.btn {
    padding: var(--space-2xs) var(--space-lg);
    border-radius: var(--radius-pill);
    font-weight: 500;
    color: var(--color-white);
    background-color: var(--color-navy);
    text-shadow: var(--shadow-sm);
    white-space: nowrap;
}

.btn a {
    color: var(--color-white);
}

@media screen and (min-width: 768px) {
    .br-sp {
        display: none;
    }
}


/* header：ヘッダー */
.header {
    background-color: var(--color-white);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    width: min(92%, var(--container-width));
    min-height: 64px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    padding: var(--space-xs) 0;
    gap: var(--space-xs);
}

.header-container h1 img {
    width: min(80%, 220px);
}

@media (min-width: 768px) {
    a[href^="tel:"] {
        pointer-events: none;
    }

    .header-container {
        height: 72px;
        padding: 0;
    }

    .header-container h1 img {
        width: min(85%, 220px);
    }
}

.fa-solid {
    margin-right: 0.5em;
}


/* hero：ヒーロー */
.hero {
    width: 100%;
    height: 600px;
    background: url(../img/hero.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    margin-bottom: var(--space-4xl);
}

.hero-container {
    height: 100%;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 2em;
}

.hero .w-container {
    margin: 0 auto;
}

.hero-container img {
    display: none;
}

.hero-title p:first-of-type {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: var(--font-size18);
    font-weight: 700;
    white-space: nowrap;
}

.hero-title .blue {
    color: var(--color-white);
    background: var(--color-green);
    padding: 2px 7px;
}

.hero-title .orange {
    color: var(--color-white);
    background: var(--color-red);
    padding: 2px 7px;
}

.hero-title h2 {
    font-size: var(--font-size32);
    margin: var(--space-sm) auto;
    text-align: left;
    line-height: 1.18;

    letter-spacing: 0.01em;


    text-shadow:
        0 2px 5px rgba(0, 0, 0, 0.3);
}

.description {
    width: 100%;
    padding: var(--space-xs) var(--space-sm);
    font-size: var(--font-size16);
    font-weight: 700;
    letter-spacing: .05em;
    line-height: 1.5;
    text-align: center;
    color: var(--color-white);
    background-color: var(--color-navy);
}


@media (min-width: 768px) {
    .hero {
        background: url(../img/hero-pc.png);
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
    }


    .hero-container {
        margin-top: var(--space-3xl);
        justify-content: center;
        align-items: center;
        flex-direction: row-reverse;
        gap: 2em;
    }

    .hero-container img {
        display: block;
        max-height: 600px;
        margin: 0 auto;
    }

    .hero-title h2 {
        white-space: nowrap;
    }

    .hero-container img {
        margin: 0;
    }
}

/* intoroduction：こんなお悩みありませんか？ */
#introduction img {
    width: min(100%, 360px);
    height: auto;
    margin: 0 auto;
}

.introduction-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-md);
}

.introduction-lists {
    width: min(100%, 310px);
    padding: var(--space-md);
    background: url(../img/introduction.svg) no-repeat center;
    background-size: contain;
    color: var(--color-navy);
}

.introduction-lists h3 {
    margin-bottom: var(--space-sm);
    font-size: var(--font-size24);
    font-weight: 900;
    text-align: center;
    line-height: 1.5;
}

.introduction-lists p {
    font-size: var(--font-size16);
    text-align: center;

}

@media screen and (min-width: 790px) {
    .introduction-container {
        flex-direction: row;
        align-items: flex-start;
    }

    .introduction-lists {
        flex: 1;
    }
}


/* point：３つのポイント */
.point-container {
    background-color: rgb(244, 153, 114, 25%);
}

.point-container>.w-container {
    margin-top: 0;
}

.point-title {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: end;
    gap: var(--space-md);
    margin: 0 0 var(--space-3xl) 0;
    font-size: clamp(24px, 4.5vw, 32px);
}

.point-title h2 {
    margin-bottom: 0;
}

.point-title::before {
    content: '\\';
    position: relative;
    display: inline-block;
    font-size: clamp(44px, 6vw, 56px);
    color: var(--color-navy);
    font-weight: 700;
}

.point-title::after {
    content: '/';
    position: relative;
    display: inline-block;
    font-size: clamp(44px, 6vw, 56px);
    color: var(--color-navy);
    font-weight: 700;
}

.accent-point {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    font-size: clamp(44px, 6vw, 56px);
    border-radius: 50%;
    color: var(--color-white);
    background-color: var(--color-red);
}

.point-lists {
    display: grid;
    justify-content: center;
    align-items: center;
    gap: 1em;
    padding: var(--space-xl) 0;
}

.point-list {
    display: grid;
    gap: var(--space-sm);
    max-width: 320px;
    padding: var(--space-lg) var(--space-md);
    border-radius: var(--radius-md);
    background-color: var(--color-white);
}

.point-no {
    font-size: var(--font-size32);
    color: var(--color-red);
}

.point-list h3 {
    font-size: var(--font-size18);
    font-weight: 700;
    color: var(--color-navy);
    text-align: left;
    line-height: 1.5;
}

.point-list img {
    width: min(100%, 220px);
    height: auto;
    margin: 0 auto;
}

.point-list p {
    font-size: var(--font-size-lg);
    line-height: 1.7;
}

@media (min-width: 768px) {
    .point-list {
        width: 100%;
        min-height: 100%;
    }
}

@media (min-width: 1000px) {
    .point-lists {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}


/* survey：受講後のアンケート */
#survey h2 {
    margin: 0 0 var(--space-3xl) 0;
    font-size: var(--font-size32);
}

.survey-container {
    display: grid;
    grid-template-rows: repeat(1fr);
    gap: 3em;
    margin: 0 auto var(--space-lg);
}

.survey-item {
    width: 100%;
}

.survey-title {
    display: flex;
    align-items: center;
    margin-bottom: 14px;
    font-size: var(--font-size18);
}

.accent {
    display: inline-block;
    width: 8px;
    height: 1.5em;
    margin-right: 12px;
    background: var(--color-red);
}

.progress {
    width: 100%;
    height: 59px;
    background: #ddd;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-red);
    color: #fff;
    font-size: var(--font-size32);
    font-weight: 900;
    line-height: 1;
}

.progress-bar-87 {
    width: 87%;
}

.progress-bar-93 {
    width: 93%;
}

.progress-bar-100 {
    width: 100%;
}

.progress-bar small {
    font-size: var(--font-size18);
    margin-left: 2px;
}

@media (min-width: 760px) {
    .survey-container {
        max-width: 760px;
    }
}


/* voice：修了生の声 */
#voice {
    padding: 60px 0;
    background-color: rgb(244, 153, 114, 25%);
    margin-bottom: var(--space-4xl);
}

#voice h2 {
    margin-bottom: var(--space-3xl);
}

.voice-container {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
    padding: 2em;
    border-radius: var(--radius-md);
    background-color: var(--color-white);
}

.voice-container img {
    width: 180px;
}

.voice-text h3 {
    margin-bottom: .5em;
    text-align: center;
    font-weight: 700;
    color: var(--color-navy);
}

@media screen and (min-width: 612px) {
    .voice-container {
        flex-direction: row-reverse;
        align-items: flex-start;
        gap: var(--space-2xl);
        margin-bottom: 1em;
    }

    .voice-text h3 {
        text-align: start;
    }
}


/* work：受講生作品 */
#work h2 {
    margin-bottom: 0;
}

#work>p {
    font-size: var(--font-size18);
    color: var(--color-text-muted);
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.category h3 {
    font-size: var(--font-size24);
    color: var(--color-navy);
    text-align: start;
    margin: 0 auto var(--space-md);
}

/* Gallery Grid Flier */
.gallery-flier {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5em;
    margin-bottom: var(--space-2xl);
}

.gallery-flier-item {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.gallery-flier-cover {
    aspect-ratio: 1/1.4;
    overflow: hidden;
}

.gallery-flier-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-flier-item:hover img {
    transform: scale(1.05);
}

/* Gallery Grid Site */
.gallery-site {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5em;
}

.gallery-site-item {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.gallery-site-cover {
    aspect-ratio: 2.25/1;
    overflow: hidden;
}

.gallery-site-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-site-item:hover img {
    transform: scale(1.05);
}

@media screen and (min-width: 1000px) {

    .gallery-banner,
    .gallery-contents,
    .gallery-flier {
        grid-template-columns: repeat(3, 1fr);
    }

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


/* support:充実の就職支援 */
.support-layout {
    margin-bottom: var(--space-xl);
}

.support-layout>img {
    width: min(100%, 400px);
    height: auto;
    margin: var(--space-xl) auto;
}

.support-lists {
    display: flex;
    flex-direction: column;
    gap: 0.4em;
    width: fit-content;
    margin: 0 auto;
}

.support-list {
    position: relative;
    height: 48px;
    z-index: 1;
}

.support-list p {
    font-size: 22px;
}

.support-no {
    display: block;
    position: absolute;
    width: 48px;
    height: 48px;
    color: #fff;
    font-size: var(--font-size24);
    font-weight: 500;
    text-align: center;
    line-height: 48px;
    border-radius: 50%;
    background-color: var(--color-red);
    z-index: 1;
}

.support-label {
    display: flex;
    align-items: center;
    margin-left: 64px;
    height: 100%;
}

.support-container img {
    width: min(100%, 300px);
    height: auto;
    margin: 0 auto;
}

#support>p {
    text-align: center;
    font-size: 22px;
    margin-bottom: var(--space-md);
}

#support>p:last-of-type {
    margin-bottom: 0;
}

.rate-container {
    display: grid;
    gap: 1em;
    margin-bottom: var(--space-lg);
}

.rate-container>div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2xs);
}

.rate-container>div>p {
    color: var(--color-text-muted);
}

.rate-container img {
    width: min(100%, 220px);
    height: auto;
}

.bar {
    color: var(--color-navy);
    background-color: var(--color-white);
    border: solid 3px var(--color-navy);
    padding: 0.5em 0.8em;
}

@media (min-width: 768px) {
    .rate-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (min-width: 790px) {
    .support-layout {
        display: flex;
        gap: var(--space-xl);
        justify-content: center;
        align-items: center;
    }

    .support-layout>img {
        margin: 0;
    }

    .support-container {
        flex-direction: row;
        align-items: center;
    }
}

@media (min-width: 1000px) {
    .rate-container {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}


/* skill：学べるスキル */
.skill-course img {
    width: min(100%, 400px);
    height: auto;
    margin: 0 auto;
}


/* curriculum：講座内容 */
.curriculum-flier {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: var(--space-sm);
}

.flier {
    width: min(100%, 360px);
}

.flier img {
    width: 100%;
    height: auto;
}

.curriculum-container {
    max-width: 100%;
    margin: 0 auto;
}

.curriculum-container dl {
    font-size: 16px;
    display: grid;
    grid-template-columns: 4em 1fr;
    gap: 20px;
    margin-bottom: .5em;
}

.curriculum-container dl dt::after {
    content: '';
    background-color: var(--font-color);
    position: absolute;
    top: 50%;
    left: calc(100% + 10px);
    transform: translateY(-50%);
    width: 1px;
    height: 80%;
}

.curriculum-container dt {
    text-align-last: left;
    position: relative;
}

table {
    border-collapse: collapse;
    width: 100%;
    background-color: var(--color-white);
}

@media screen and (min-width: 768px) {
    .curriculum-flier {
        flex-direction: row;
        align-items: center;
    }

    .curriculum-container {
        max-width: 480px;
    }

    .curriculum-container dl {
        font-size: 18px;
        gap: 20px;
    }

    .curriculum-container dt {
        text-align-last: justify;
    }
}

.curriculum-container tr:nth-child(odd) {
    background-color: var(--table-color);
}

.curriculum-container th,
.curriculum-container td {
    padding: 1em;
}

.curriculum-container th {
    text-align: left;
    min-width: 260px;
    position: relative;
}

.curriculum-container th::after {
    content: '';
    background-color: #c1c7c6;
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
}

@media screen and (max-width: 768px) {
    .curriculum-container tr {
        display: flex;
        flex-direction: column;
    }

    .curriculum-container th {
        background-color: var(--table-color);
    }

    .curriculum-container th::after {
        display: none;
    }

    .curriculum-container td {
        background-color: var(--color-white);
    }
}


/* flow:受講までの流れ */
.flow {
    width: 100%;
    margin: 0 auto var(--font-size24) auto;
    overflow: hidden;
    background: var(--color-white);
    border: 1px solid #d9dde3;
    border-radius: 16px;
}

.flow:last-child {
    margin-bottom: 0;
}

.flow-header {
    height: 64px;
    padding: 0 var(--space-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* background: var(--color-navy); */
    color: var(--color-navy);
}

.flow-header>h3 {
    font-size: var(--font-size18);
    font-weight: 900;
    letter-spacing: 1px;
}

.flow-body {
    padding: 0 var(--space-md) 18px;
}

.flow h4 {
    margin: 0 0 12px;
    color: var(--color-navy);
    font-size: 19px;
    line-height: 1.4;
    font-weight: 800;
}

.flow-info {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.info-row {
    line-height: 1.45;
    font-weight: 600;
}

.flow-description dl {
    display: grid;
    grid-template-columns: 7rem 1fr;

}

.flow-footer {
    min-height: 62px;
    margin-top: 12px;
    padding-top: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px dashed #d5dce5;
}

.flow-footer-info {
    display: flex;
    flex-direction: column;
}

.serial {
    color: var(--color-text-muted);
}

@media screen and (max-width: 1000px) {
    .flow-footer {
        flex-direction: column;
        gap: var(--space-sm);
        align-items: start;
    }
}


/* facility：施設について */
.room-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
}

.room-item {
    display: flex;
    flex-direction: column;
}

.room-img {
    display: flex;
    gap: var(--space-xs);
    flex-direction: column-reverse;
    align-items: center;
}

.room-img h3 {
    font-size: var(--font-size16);
    font-weight: 500;
    color: var(--color-text-muted);
}

.room-img img {
    width: 250px;
    height: 100%;
    aspect-ratio: 250/180;
    object-fit: cover;
    overflow: hidden;
}

.room-img .building-aspect {
    aspect-ratio: 500/666;
}

.facility-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2em;
    margin-bottom: var(--space-4xl);
}

iframe {
    width: 100%;
}

#facility dl {
    grid-template-columns: 80px 1fr;
    margin-bottom: .5em;
}

.facility-list {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0 auto;
}

.facility-list dl dt {
    width: 80px;
}

.facility-list dl:first-child dd {
    display: flex;
}

.facility-list dl:first-child dd img {
    height: 24px;
    margin-right: var(--space-xs);
}

@media screen and (min-width: 960px) {
    .room-container {
        flex-direction: row;
    }

    .facility-container {
        flex-direction: row;
    }

    iframe {
        width: 50%;
    }
}


/* トップへ戻るボタン */
.page-top {
    position: fixed;
    right: var(--space-md);
    bottom: var(--space-md);
    width: 56px;
    height: 56px;
    background: var(--color-navy);
    color: #ffffff;
    border-radius: 50%;
    font-size: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow-md);
    transition: background 0.1s ease, transform 0.1s ease;
    z-index: 1000;
}

.page-top:hover {
    background: var(--color-red);
    transform: translateY(-2px);
}

.page-top:active {
    transform: translateY(0);
}

/* footer */
footer {
    height: var(--space-4xl);
    color: #fff;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.20);
    background-color: var(--color-navy);
    display: flex;
    justify-content: center;
    align-items: center;
}