.studyabroad__intro__description {
    font-size: 14px;
    line-height: 1.6;
    text-align: left;
    margin-top: 2em;
    margin-bottom: 2em;
}

@media screen and (min-width: 835px) {
    .studyabroad__intro__description {
        font-size: 16px;
        letter-spacing: 0.64px;
    }
}

/* 改行防止とサブタイトルのサイズ調整 */
.nowrap {
    white-space: nowrap;
}

.intro__subtitle {
    font-size: 0.8em;
    margin-left: 0.5em;
    vertical-align: baseline;
}

/* 用語説明 */
.glossary {
    margin: 0 10px 80px;
}
/* .glossary__inner {
  padding: 0 18px;
} */
@media screen and (min-width: 835px) {
    .glossary__inner {
        max-width: 1000px;
        margin: 0 auto;
    }
}

.glossary__title {
    font-size: 18px;
    padding-left: 16px;
    border-left: 4px solid #128ad6;
    text-align: left;
}

.glossary__box {
    border: 2px dashed #128ad6;
    padding: 30px 18px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    text-align: left;
    margin-top: 12px;
}

@media screen and (min-width: 835px) {
    .glossary__box {
        padding: 40px;
    }
}

.glossary__box h3 {
    font-size: 14px;
}

@media screen and (min-width: 835px) {
    .glossary__box h3 {
        font-size: 16px;
    }
}

.glossary__box p {
    font-size: 12px;
    margin-top: 10px;
    line-height: 1.8;
}

@media screen and (min-width: 835px) {
    .glossary__box p {
        font-size: 14px;
    }
}

/* 進学実績・事例カード */
ul.story-info {
    display: block !important;
    max-width: 90% !important;
}
ul.story-info li {
    display: block !important;
    margin-bottom: 15px !important;
}
/* 海外進学合格実績の表 */
.overseas_result {
    margin-top: 6em;
    overflow-x: auto; /* スマホサイズでスクロール可能にする */
}

.overseas_result table {
    width: 100%; /* 横幅いっぱいにする */
    border-collapse: collapse;
}

@media screen and (min-width: 835px) {
    .overseas_result {
        overflow-x: visible; /* PCサイズではスクロール不要 */
    }
}

/* ヘッダー行全体の背景色と太字 */
.overseas_result thead th {
    background-color: #fce8de;
    font-weight: bold;
    color: #000000;
    border: 1px dotted #BDBDBD;
    padding: 4px;
    font-size: 16px; /* フォントサイズ16px */
}

/* tbody内の行を交互に背景色を設定 */
.overseas_result tbody tr:nth-child(odd) {
    background-color: #FFFFFF;
}

.overseas_result tbody tr:nth-child(even) {
    background-color: #F2F2F2;
}

.overseas_result td {
    padding: 8px;
    border: 1px dotted #BDBDBD;
    font-size: 16px; /* フォントサイズ16px */
}

/* 1, 4, 5列目は改行禁止 */
.overseas_result th:nth-child(1),
.overseas_result th:nth-child(4),
.overseas_result th:nth-child(5),
.overseas_result td:nth-child(1),
.overseas_result td:nth-child(4),
.overseas_result td:nth-child(5) {
    white-space: nowrap;
}

/* ヘッダーを除く1, 2, 3列目は左揃え */
.overseas_result td:nth-child(1),
.overseas_result td:nth-child(2),
.overseas_result td:nth-child(3) {
    text-align: left;
}

/* 4, 5列目は中央揃え（ヘッダー含む） */
.overseas_result th:nth-child(4),
.overseas_result th:nth-child(5),
.overseas_result td:nth-child(4),
.overseas_result td:nth-child(5) {
    text-align: center;
}

.scout_img {
    display: block;
    margin: 2em auto;
    max-width: 500px;
}
.story_gallery {
    display: flex;
    gap: 10px;
    width: 100%;
    margin: 2em 1em;
    justify-content: center;
}

.story_gallery img {
    width: calc((100% - 30px) / 4);
    min-width: 0;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
}