html {
    font-size: 100%;
    scroll-behavior: smooth;

}

:root {
    --page-gutter-mobile: 20px;
}



body {
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    /* background-color: #f4f4f4; */
    margin: 0;
    padding: 0;
    font-family: "Sawarabi Gothic";
    padding-top: 100px;
    /* ヘッダーの高さ分の余白を追加 */

}

[id] {
    scroll-margin-top: 100px;
    /* 常に100pxの余白を確保 */
}

#main {
    position: relative;
    animation: fadeIn 2s ease-in-out;
    margin-bottom: 30px;
}

.main-overlay {
    position: absolute;
    bottom: 0;
    /* 画像の下端に配置 */
    left: 0;
    width: 100%;
    /* <picture>要素の幅に合わせる */
    height: auto;
    /* 高さを自動調整 */
    background-color: rgba(0, 0, 0, 0.3);
    /* 半透明の背景 */
    color: #fff;
    display: flex;
    /* 中央揃えのためにフレックスボックスを使用 */
    justify-content: center;
    /* 水平方向に中央揃え */
    align-items: center;
    /* 垂直方向に中央揃え */
    font-family: 'Kosugi Maru', sans-serif;
    text-align: center;
    z-index: 10;
    transform: none;
    /* transformを無効化してfont-sizeを直接適用可能に */
}

.main-overlay p {
    font-size: 3rem;
    line-height: 1.2;
    /* 行間を調整 */
    text-shadow: 10px 10px 5px rgba(0, 0, 0, 1);
    /* 文字に影を追加 */
    margin: 0;
    /* 余白をリセット */
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.bg-img {
    animation: fadeIn 4s ease-in-out;
    background-image: url('../img/bg-img029-pink.jpg');
    background-size: cover;
    background-position: center;
    /* background-color:rgb(216, 245, 255); */
    /* ネガティブマージンで左右に広げる */
    /* margin-right: calc(50% - 50vw);
      margin-left: calc(50% - 50vw); */
    /* ネガティブマージンで左右に広げた分と同じだけ内側に戻す */
    /* padding-right: calc(50vw - 50%);
      padding-left: calc(50vw - 50%); */
    padding: 0px 0 20px 0;
    margin-top: 0;
}

.bg-img2 {
    background-image: url('../img/bg_abstract1_blue.png');
    background-size: cover;
    background-position: center;
    /* background-color:rgb(216, 245, 255); */
    /* ネガティブマージンで左右に広げる */
    /* margin-right: calc(50% - 50vw);
      margin-left: calc(50% - 50vw); */
    /* ネガティブマージンで左右に広げた分と同じだけ内側に戻す */
    /* padding-right: calc(50vw - 50%);
      padding-left: calc(50vw - 50%); */
    padding: 0px 0 20px 0;
    margin-top: 0;
}

.bg-color {
    background-color: rgb(170, 220, 255);
    /* background-color: rgb(216, 245, 255); */
    /* ネガティブマージンで左右に広げる */
    /* margin-right: calc(50% - 50vw);
      margin-left: calc(50% - 50vw); */
    /* ネガティブマージンで左右に広げた分と同じだけ内側に戻す */
    /* padding-right: calc(50vw - 50%);
      padding-left: calc(50vw - 50%); */
    padding: 20px 0 20px 0;
    margin-top: 0px;
    background-image: repeating-linear-gradient(150deg, rgba(255, 255, 255, 1) 0, rgba(255, 255, 255, 1) 2px, rgba(255, 255, 255, 0) 1px, rgba(255, 255, 255, 0) 28px);
}

.bg-color2 {
    background-color: rgb(255, 233, 233);
    /* background-color: rgb(216, 245, 255); */
    /* ネガティブマージンで左右に広げる */
    /* margin-right: calc(50% - 50vw);
      margin-left: calc(50% - 50vw); */
    /* ネガティブマージンで左右に広げた分と同じだけ内側に戻す */
    /* padding-right: calc(50vw - 50%);
      padding-left: calc(50vw - 50%); */
    padding: 20px 0 20px 0;
    margin-top: 0px;
    /* background-image: repeating-linear-gradient(150deg, rgba(255, 255, 255, 1) 0, rgba(255, 255, 255, 1) 2px, rgba(255, 255, 255, 0) 1px, rgba(255, 255, 255, 0) 28px); */
}

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

.bg_top {
    background-image: url(../img/bg_top.jpg);
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* ボタン類はこちらでまとめ */
a.btn_request {
    display: block;
    max-width: 320px;
    margin: 24px auto 0;
    padding: 12px 24px;
    font-weight: 700;
    text-align: center;
    border: 2px solid rgb(164, 96, 242);
    background-color: rgb(164, 96, 242);
    color: #fff;
    font-size: 18px;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.35s ease, color 0.35s ease;
}

a.btn_request:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.2);
    opacity: 1;
    background-color: #fff;
    color: rgb(164, 96, 242);
}

/* ボタン類はこちらでまとめ */

P {
    font-size: 1rem;
    padding: 10px 20px 10px 20px;
    line-height: 1.8;
}

.jobs-highlight {
    display: inline-block;
    background-color: rgb(255, 49, 49);
    color: #fff;
    font-size: 1.1rem;
    border-radius: 10px;
    padding: 1px 5px;
    margin-bottom: 10px;
    
}

@media screen and (max-width: 768px) {
    .jobs-highlight {
        font-size: 0.9rem;
    }
}

/* 募集準備中のお知らせボックス */
.notice-box {
    border: 1px solid #2d55a2;
    border-radius: 4px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin: 100px auto;
}

.notice-box__title {
    background-color: #2d55a2;
    color: #fff;
    font-weight: 700;
    font-size: 1.2rem;
    padding: 16px 20px;
}

.notice-box__body {
    padding: 20px;
}

.notice-box__body p {
    padding: 0;
    margin: 0;
}

/* 募集準備中のお知らせボックス */

img {
    max-width: 100%;
}

li {
    list-style: none;
}


.site-title a {
    color: #333;
    text-decoration: none;
    display: block;
}

.wrapper {
    max-width: 960px;
    margin: 0 auto 50px auto;
    font-size: 0.9rem;
}

.wrapper2 {
    max-width: 960px;
    margin: 0 auto 50px auto;
    font-size: 0.9rem;

}

.wrapper_ft {
    max-width: 960px;
    margin: 0 auto 10px auto;
    font-size: 0.9rem;
}

.section-title {
    font-size: 1.5rem;
    margin-bottom: 45px;
    text-align: center;
    background-color: rgb(31, 0, 123);
    color: #fff;
}

a img:hover {
    opacity: 0.5;
}

.h2-modern {
    font-size: 1.5rem;
    /* 大きめのフォントサイズ */
    font-weight: bold;
    /* 太字 */
    color: #ffffff;
    /* 白色の文字 */
    background: linear-gradient(90deg, #4CAF50, #2196F3);
    /* グラデーション背景 */
    padding: 10px 20px;
    /* 内側の余白 */
    border-radius: 5px;
    /* 角を丸くする */
    text-align: center;
    /* 中央揃え */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    /* 軽い影を追加 */
    margin: 20px 0;
    /* 上下の余白 */
}

/* header */
#header {
    /* max-width: 960px; */
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    padding: 0 5%;
    height: 100px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #fff;
    /* 必要に応じて背景色を設定 */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    /* 必要に応じて影を追加 */
}

#header>a {
    display: flex;
    align-items: center;
}

#header>a img {
    display: block;
    max-height: 72px;
    height: auto;
    width: auto;
}

#header ul {
    display: flex;
    padding: 10px 0;
    align-items: center;

}

#header ul li {
    font-size: 1.3rem;
    margin-left: 25px;

}

#header ul li+li {
    margin-left: 20px;
    padding-left: 20px;
    border-left: 1px solid #d9deeb;
}

#header ul li a {
    color: #333;
    position: relative;
    display: inline-block;
    text-decoration: none;
}

#header ul li a:hover {
    opacity: 0.8;

}

#header ul li a::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 3px;
    /* 下線の太さ */
    bottom: 0;
    left: 0;
    background-color: #333;
    transform-origin: bottom top;
    transition: transform 0.3s ease-out;
}

#header ul li a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom top;
    opacity: 0.5;
}

#header li img.icon {
    width: 1.2rem;
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown details {
    position: relative;
}

.nav-dropdown summary {
    list-style: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: inherit;
    color: inherit;
    user-select: none;
}

.nav-dropdown summary:focus {
    outline: none;
}

.nav-dropdown summary::-webkit-details-marker {
    display: none;
}

.nav-dropdown details[open] summary::after {
    transform: rotate(180deg);
}

.nav-dropdown summary::after {
    content: "\25BE";
    font-size: 0.8em;
    transition: transform 0.2s ease;
}

.nav-dropdown details ul {
    margin: 0;
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    gap: 0;
    background: #fefdff;
    border-radius: 12px;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.30);
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transition: max-height 0.3s ease, opacity 0.25s ease, padding 0.25s ease, margin 0.25s ease;
}

.nav-dropdown details[open] ul {
    margin-top: 12px;
    padding: 12px 16px;
    max-height: 400px;
    opacity: 1;
    pointer-events: auto;
}

.nav-dropdown details li {
    margin: 0;
    border: none;
    font-size: inherit;
    position: relative;
    padding: 10px 0;
}

#header .nav-dropdown details ul li {
    margin-left: 0;
    padding-left: 0;
}

#header .nav-dropdown details ul li+li {
    border-left: none;
    padding-left: 0;
    margin-left: 0;
}

.nav-dropdown details ul li+li::before {
    content: "";
    position: absolute;
    left: -16px;
    right: -16px;
    top: 0;
    height: 1px;
    background-color: rgba(0, 0, 0, 0.2);
}

.nav-dropdown details a {
    display: block;
    color: #333;
    font-size: inherit;
}

.nav-dropdown details a:hover {
    opacity: 0.8;
}

@media screen and (max-width: 1280px) {
    .nav-dropdown summary::after {
        margin-left: 4px;
    }
}

@media screen and (min-width: 1025px) {
    .nav-dropdown details ul {
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        min-width: 180px;
        z-index: 1002;
    }

    .nav-dropdown details[open] ul {
        margin-top: 12px;
    }

    #header .nav-dropdown summary,
    #header .nav-dropdown details a,
    #header .nav-dropdown details li {
        font-size: 1.3rem;
    }
}



/* ハンバーガーメニューボタン */
.hamburger-menu {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
    appearance: none;
    -webkit-appearance: none;
    -webkit-tap-highlight-color: transparent;
}

.hamburger-menu span {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
    position: relative;
}

/* ハンバーガーメニューアクティブ時のアニメーション */
.hamburger-active span:nth-child(1) {
    transform: rotate(-45deg) translate(-6px, 6px);
}

.hamburger-active span {
    background-color: #000;
}

.hamburger-active span:nth-child(2) {
    opacity: 0;
    visibility: hidden;
    background-color: transparent;
}

.hamburger-active span:nth-child(3) {
    transform: rotate(45deg) translate(-6px, -6px);
}

.border-box {
    width: 1920px;
    height: 200px;
    background-color: #F89174;
    background-clip: border-box;
    padding: 50px;
    /* border: 2px solid #333; */
}

/* main */
#main img {

    /* デバイスに関係なくヒーロービジュアルがビューポートに収まるようにする  */
    width: 100%;
    height: auto;
    display: block;

    /* width: 100%;
    max-width: 1920px;
    height: 480px;
    object-fit: cover; */

}

.opc_font {
    font-size: 5rem;
}

#about ul {
    margin-bottom: 30px;
}

#about ul li:first-child {
    margin-bottom: 30px;
}

#about ul li {
    margin-bottom: 3px;
}

.bg_school {
    /* background-image: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.05)), url(../about/img/bg_school.jpg); */
    background-image: url(../about/img/bg_school.jpg);
    background-attachment: fixed;
}


/* access */
#access {
    background-color: rgba(255, 255, 255, 1);
}

.bg_access {
    background-image: url(../access/img/bg_access.jpg);
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}


/* navi_group - カードレイアウト */
#navi_group .course-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 0px;
    /* margin-bottom: 50px; */
    padding: 0;
    background-color: rgba(255, 255, 255, 1);
}

#navi_group .course-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

#navi_group .course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

#navi_group .course-card a {
    display: block;
    text-decoration: none;
    color: #333;
}

#navi_group .card-image {
    /* width: 180px; */
    width: 80%;
    margin: 10px auto;
    /* border-radius: 10%; */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
}

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

#navi_group .card-title {
    font-size: 1.2rem;
    font-weight: bold;
    padding: 10px 20px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
}

#navi_group .card-title .arrow {
    background: rgba(255, 255, 255, 0.3);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

#navi_group .card-title-ibs {
    background: linear-gradient(135deg, #0068b7 0%, #339af0 100%);
}

/* #navi_group .card-title-red {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8787 100%);
} */

#navi_group .card-title-mis {
    background: linear-gradient(135deg, #ff922b 0%, #fed700 100%);
}

#navi_group .card-title-mb {
    background: linear-gradient(135deg, #ed7100 0%, #ffa94d 100%);
}

#navi_group .card-title-ab {
    background: linear-gradient(135deg, #6aba5b 0%, #69db7c 100%);
}

#navi_group .card-title-id {
    background: linear-gradient(135deg, #d72e8b 0%, #da70aa 100%);
}

#navi_group .card-title-pb {
    background: linear-gradient(135deg, #0089cf 0%, #4dabf7 100%);
}

#navi_group .card-title-eb {
    background: linear-gradient(135deg, #ed7793 0%, #ff8fab 100%);
}

#navi_group .card-title-th {
    background: linear-gradient(135deg, #ffa94d 0%, #ffa94d 100%);
}

#navi_group .card-title-cyan {
    background: linear-gradient(135deg, #22b8cf 0%, #3bc9db 100%);
}

#navi_group .card-description {
    padding: 15px 20px;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #333;
    min-height: 50px;
}

#navi_group .card-tags {
    padding: 0 20px 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

#navi_group .card-tags span {
    display: inline-block;
    padding: 4px 10px;
    background: #f0f0f0;
    border-radius: 12px;
    font-size: 0.75rem;
    color: #666;
}

/* opc table */
#opc table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    margin: 0 auto;
}

#opc table th {
    background: linear-gradient(to right, rgb(255, 0, 0), rgb(255, 255, 255));
    color: #fff;
    padding-left: 3%;
    font-size: 1.2rem;
    text-align: left;
}

#opc table td {
    padding: 10px;
    font-size: 1.2rem;
    /* background-color:rgb(239, 183, 159); */
    color: #333;
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: red;
    color: #fff;
    text-align: center;
    border-radius: 5px;
    transition: all 0.3s ease;
    margin-top: 20px;
    font-size: 1.2rem;
}

.btn:hover {
    opacity: 0.5;
}

.back-top {
    display: inline-block;
    color: #ffffff;
    background: rgb(154, 203, 187);
    padding: 0 0.4em;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.back-top:hover {
    opacity: 0.5;
}

/* .back-top:hover {
    background: rgb(133, 220, 249);
    color: #ffffff;
    transform: scale(1.1);
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
} 浮かぶアニメ */

/* guide */

#guide {
    padding: 48px 36px;
    margin-bottom: 5px;
    background-color: rgba(255, 255, 255, 1);
}

.guide_bg {
    background-image: url(../guide/img/bg_guide.jpg);
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#guide .section-title {
    margin-bottom: 0px;
}

#guide p {
    padding: 10px 20px 10px 20px;
    line-height: 1.8;
}

/* guide終わり */

/* news */
#news dl {
    display: flex;
    flex-wrap: wrap;
    border-top: 1px solid #333;
}



#news dt {
    width: 20%;
    margin-bottom: 10px;
    border-bottom: 1px solid #333;
    padding: 15px;
}

#news dd {
    width: 80%;
    margin-bottom: 10px;
    border-bottom: 1px solid #333;
    padding: 15px;
}

/* about */
#about {
    /* padding: 48px 36px;
    margin-bottom: 5px; */
    background-color: rgba(255, 255, 255, 0.9);
}

#about .section-title {
    margin-bottom: 0px;
}

#about p {
    padding: 10px 20px 10px 20px;
    line-height: 1.8;
}

#about dl {
    display: flex;
    flex-wrap: wrap;
    border-top: 1px solid #333;
    color: #333;
    background-color: rgba(255, 255, 255, 0.1);
}

#about dt {
    width: 20%;
    margin-bottom: 10px;
    border-bottom: 1px solid #333;
    padding: 15px;
    color: #333;
    font-size: 0.9rem;
}

#about dd {
    width: 80%;
    margin-bottom: 10px;
    border-bottom: 1px solid #333;
    padding: 15px;
    color: #333;
}

/* footer */

footer {
    background-color: red;
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

#ft {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 15px;
    margin-bottom: 10px;

}

#ft-line {
    border-top: lightgrey 1px solid;
    margin-top: 20px;
}

#ft a {
    color: blueviolet;
    text-decoration: underline;
}

/* course */
#course {
    /* padding: 48px 36px;
    margin-bottom: 5px; */
    background-color: rgba(255, 255, 255, 1);

}

.course_bg {
    background-image: url(../coruse/img/bg_course.jpg);
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#course table {
    width: 590px;
    border: #333 1px solid;
    border-collapse: separate;
    margin-bottom: 20px;
    margin-left: 20px;
}

#course table th {
    background-color: rgb(32, 187, 239);
    color: #fff;
    padding-left: 10px;
    font-size: 1rem;
    text-align: left;
    font-weight: normal;
    width: 130px;
    text-align: center;
}

#course table td {
    padding: 5px;
    font-size: 1rem;
    text-align: bewteen;
}

#course ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 30px;
    margin-left: 1%;
    margin-right: 1%;
    padding: 5px 5px 5px 5px;
    font-size: 1rem;
    background-color: rgb(159, 255, 221);
    border: 1px solid #ffd4d4;
}

#course ul li {
    width: 33%;
    padding: 1px;
}

#ibs,
#mis,
#mb,
#ab,
#id,
#pb,

#eb,
#th {
    padding: 48px 36px;
    margin-bottom: 5px;
}

#ibs ul,
#mis ul,
#mb ul,
#ab ul,
#id ul,
#pb ul,
#eb ul,
#th ul {
    background: #fff;
    border-radius: 18px;
    padding: 28px 32px;
    margin: 8px 0 0;
    list-style: none;
    box-shadow: 0 16px 38px rgba(15, 41, 75, 0.08);
}

#ibs ul {
    background: linear-gradient(135deg, #e3f2ff 0%, #f6fbff 100%);
}

#mis ul {
    background: linear-gradient(135deg, #ffe3b8 0%, #fff4d6 100%);
}

#mb ul {
    background: linear-gradient(135deg, #ffe6d5 0%, #fff3e6 100%);
}

#ab ul {
    background: linear-gradient(135deg, #e4f7e8 0%, #f5fff7 100%);
}

#id ul {
    background: linear-gradient(135deg, #ffe4f3 0%, #fff4fb 100%);
}

#pb ul {
    background: linear-gradient(135deg, #e1f3ff 0%, #f3fbff 100%);
}

#eb ul {
    background: linear-gradient(135deg, #ffe6ef 0%, #fff4f8 100%);
}

#th ul {
    background: linear-gradient(135deg, #ffeedc 0%, #fff6ea 100%);
}

/* jobs */
.jobs_bg {
    background-image: url(../jobs/img/bg_job.jpg);
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#jobs {
    padding: 48px 36px;
    margin-bottom: 5px;
    background-color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

#jobs .section-title {
    margin-bottom: 0px;
}

#jobs ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 30px;
    font-size: 1.5rem;
}

#jobs ul li {
    width: 23%;
    padding: 3px;
    margin: 1px;
}

/* #jobs ul li img{
   cursor: pointer;
   transition: all 0.3s ease;
}
#jobs ul li img:hover{
    opacity: 0.5;
    transform: scale(1.1 , 1.1);
} */

#jobs table {
    width: 100%;
    /* border: #333 1px solid; */
    border-collapse: separate;
    margin-bottom: 20px;
    margin-left: 0;
}

#jobs table th {
    background-color: rgb(32, 187, 239);
    color: #fff;
    /* padding-left: 10px; */
    padding: 5px 5px;
    font-size: 1.1rem;
    text-align: bewteen;
    font-weight: normal;
    /* text-align: center; */
}

#jobs table td {
    padding: 5px;
    font-size: 1rem;
    text-align: left;
    vertical-align: top;
}

#jobs h3 {
    color: gray;
}

.jobs_btn {
    display: inline-block;
    padding: 10px 10px;
    background-color: #00a1e7;
    color: #fff;
    text-align: center;
    border-radius: 5px;
    transition: all 0.3s ease;
    margin-top: 5px;
    font-size: 1.2rem;
    width: 200px;
}

.jobs_btn:hover {
    opacity: 0.5;
    transform: scale(1.1, 1.1);
}

/* 企業求人について */

#recruitment {
    background-color: rgba(255, 255, 255, 0.9);
}

.bg_recruitment {
    background-image: url(../recruitment/img/bg_recruitment.jpg);
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#recruitment p {
    padding: 10px 20px 10px 20px;
    line-height: 1.8;
    margin-top: 0px;
    margin-bottom: 30px;
}

#recruitment h1 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
    background-color: rgb(0, 110, 255);
    color: #fff;
}


#recruitment h2 {
    color: white;
    background-color: rgb(148, 185, 54);
    display: inline-block;
    margin-left: 2%;
    font-size: 1.3rem;
}

#recruitment table {
    width: 96%;
    text-align: center;
    border: 1px solid #333;
    border-collapse: collapse;
    /* margin-bottom: 10px;
    margin-left: 0;; */
    margin: 0px 2% 10px 2%;
}

#recruitment table th {
    background-color: rgb(32, 187, 239);
    border: 1px solid #333;
    color: #fff;
    padding-left: 5px;
    font-size: 1rem;
    text-align: center;
    font-weight: normal;
    height: 2.5rem;
}

#recruitment table td {
    border: 1px solid #333;
    padding: 5px;
    font-size: 1rem;
    text-align: center;
}

#recruitment ul {
    display: flex;
    justify-content: space-between;
    padding-top: 0px;
    padding-bottom: 0px;
    margin-bottom: 0px;
    margin: 0 2%;

}

#recruitment ul li {
    width: 50%;
    padding: 3px;
    margin: 1px;
}

#recruitment .no-border-table {
    width: 100%;
    border: none;
    border-collapse: collapse;
    margin-bottom: 10px;
    margin-left: 0;

}

#recruitment .no-border-table th,
#recruitment .no-border-table td {
    border: none;
    padding: 1px 0;
    font-size: 1rem;
    text-align: left;
    vertical-align: top;
}


#recruitment ol li {
    font-size: 1rem;
    list-style-type: none;
    counter-increment: cnt;
    text-indent: -2.5em;
    padding-left: 25px;
    margin-left: 30px;
    line-height: 2rem;
}

#recruitment ol li::before {
    content: "（" counter(cnt)"）";
}

#recruitment ol.test {
    list-style-type: none;
    counter-reset: test-counter;
    padding-left: 20px;
    margin-left: 20px;
}


/* ガイドライン */
#guidelines {
    background-color: rgba(255, 255, 255, 1);
}

/* #guidelines p {
    padding: 10px 20px 10px 20px;
    line-height: 1.8;
    margin-top: 0px;
    margin-bottom: 30px;
} */
.bg_guidelines {
    background-image: url(../guidelines/img/bg_guidelines.jpg);
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#guidelines table {
    width: 96%;
    text-align: center;
    border: 1px solid #333;
    border-collapse: collapse;
    /* margin-bottom: 10px;

    #guidelines .no-border-table td:first-child {
        width: auto !important;
        white-space: nowrap;
    }
    margin-left: 0;; */
    margin: 0px 2% 10px 2%;
}

#guidelines table th {
    background-color: rgb(32, 187, 239);
    border: 1px solid #333;
    color: #fff;
    padding-left: 5px;
    font-size: 1rem;
    text-align: center;
    font-weight: normal;
    height: 2.5rem;
}

#guidelines table td {
    border: 1px solid #333;
    padding: 5px;
    font-size: 1rem;
    text-align: center;
}

#guidelines ul {
    display: flex;
    justify-content: space-between;
    padding-top: 0px;
    padding-bottom: 0px;
    margin-bottom: 0px;
    margin: 0 2%;

}

#guidelines ul li {
    width: 50%;
    padding: 3px;
    margin: 1px;
}

#guidelines p {
    font-size: 1rem;
    padding: 10px 20px 10px 20px;
    line-height: 1.8;
    margin-top: 0px;
    margin-bottom: 0px;
}

#guidelines .no-border-table {
    width: 100%;
    border: none;
    border-collapse: collapse;
    margin-bottom: 10px;
    margin-left: 0;

}

#guidelines .no-border-table th,
#guidelines .no-border-table td {
    border: none;
    padding: 1px 0;
    font-size: 1rem;
    text-align: left;
    vertical-align: top;
}

#guidelines ol li {
    font-size: 1rem;
    list-style-type: none;
    counter-increment: cnt;
    text-indent: -2.5em;
    padding-left: 25px;
    margin-left: 30px;
    line-height: 2rem;
}

#guidelines ol li::before {
    content: "（" counter(cnt)"）";
}

#guidelines ol.test {
    list-style-type: none;
    counter-reset: test-counter;
    padding-left: 20px;
    margin-left: 20px;
}

#foreign {
    background-color: rgba(255, 255, 255, 0.9);
}



/* 資料請求フォームエラースタイル */
.error-banner {
    margin-bottom: 24px;
    padding: 14px 18px;
    border-radius: 12px;
    background-color: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.4);
    color: #c0392b;
    font-weight: 700;
    line-height: 1.6;
}

.error-banner ul {
    margin: 8px 0 0;
    padding-left: 20px;
}

.error-banner li {
    list-style: disc;
    margin-bottom: 4px;
}

.field-error-message {
    display: none;
    margin: 8px 0 4px;
    color: #d93025;
    font-size: 0.82rem;
    font-weight: 700;
}

.field-error-message.field-error--visible {
    display: block;
}

.form-field.form-field--error input,
.form-field.form-field--error textarea,
.form-field.form-field--error select {
    border-color: #d93025;
    box-shadow: 0 0 0 3px rgba(217, 48, 37, 0.15);
}

/*レスポンシブデザイン 1280*/
@media screen and (max-width: 1280px) {
    #header ul li {
        font-size: 1.2rem;
        margin-left: 20px;
    }

    #header ul li+li {
        margin-left: 15px;
        padding-left: 15px;
    }
}


/*レスポンシブデザイン 1024*/
@media screen and (max-width: 1024px) {

    #header {
        padding: 0 var(--page-gutter-mobile, 20px);
    }

    .wrapper,
    .wrapper2,
    .wrapper_ft {
        padding-left: var(--page-gutter-mobile, 20px);
        padding-right: var(--page-gutter-mobile, 20px);
    }

    /* ハンバーガーメニューボタンを表示 */
    .hamburger-menu {
        display: flex !important;
    }

    /* ナビゲーションメニューを隠す */
    .nav {
        position: fixed;
        top: 100px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 100px);
        /* 暗い半透明の背景に変更 */
        background-color: rgba(0, 0, 0, 0.6);
        /* 背景のぼかしで視認性を向上（対応ブラウザで効果） */
        backdrop-filter: blur(4px);
        transition: right 0.3s ease;
        z-index: 999;
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
        color: #fff;
        /* デフォルトの文字色を白に */
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .nav::-webkit-scrollbar {
        width: 0;
        height: 0;
    }

    /* ナビ内部のリンクを見やすくする - より具体的なセレクタで確実に白色にする */
    .nav .nav-links li a,
    .nav .nav-links a,
    .nav a,
    .nav ul li a {
        color: #ffffff !important;
        text-decoration: none;
    }

    .nav .nav-links li a:hover,
    .nav .nav-links a:hover,
    .nav a:hover,
    .nav ul li a:hover {
        opacity: 0.8;
        color: #ffffff !important;
    }

    .nav-active {
        right: 0;
    }

    .nav-links {
        flex-direction: column;
        padding: 20px;
        margin: 0;
    }

    .nav-links li {
        margin: 15px 0;
        text-align: center;
    }

    .nav-links li a {
        font-size: 1.2rem;
        display: block;
        padding: 10px;
    }

    #header ul {
        margin-top: 20px;
    }

    #header ul li {
        font-size: 1.3rem;
        margin-left: 10px;
        border-left: none;
        padding-left: 0;
    }

    #header ul li+li {
        border-left: none;
        padding-left: 0;
        margin-left: 10px;
    }

    #header li img.icon {
        width: 20px;
    }

    .nav-dropdown {
        width: 100%;
    }

    .nav-dropdown details {
        width: 100%;
        border: 1px solid rgba(255, 255, 255, 0.45);
        border-radius: 12px;
        padding: 6px 12px;
    }

    .nav-dropdown summary {
        width: 100%;
        justify-content: center;
        color: #ffffff !important;
        font-size: 1.2rem;
        padding: 10px;
        text-align: center;
    }

    .nav-dropdown summary::after {
        color: #ffffff;
        margin-left: 8px;
    }

    .nav-dropdown details ul {
        position: static;
        background: transparent;
        box-shadow: none;
        align-items: center;
        gap: 12px;
        padding: 0;
    }

    .nav-dropdown details a {
        color: #ffffff !important;
        font-size: 1.2rem;
    }

    .nav-dropdown details[open] ul {
        margin-top: 10px;
        padding: 10px 0 0;
        border-top: 1px solid rgba(255, 255, 255, 0.3);
    }

    .nav-dropdown details ul li+li::before {
        background-color: rgba(255, 255, 255, 0.4);
    }

}

/* 資料請求フォームCSS */
.bg_request {
    background-image: url(../request/img/bg_no8.jpg);
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.request-form {
    max-width: 960px;
    margin: 60px auto;
    padding: 48px 40px;
    background-color: #fff;
    border: 1px solid #e3e6ef;
    border-radius: 16px;
    box-shadow: 0 24px 40px rgba(14, 53, 105, 0.08);
}

.request-form__header {
    text-align: center;
    margin-bottom: 36px;
}

.request-form__step {
    display: inline-block;
    padding: 6px 14px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #0a6fa9;
    background: rgba(10, 111, 169, 0.12);
    border-radius: 999px;
    letter-spacing: 0.08em;
}

.request-form__title {
    margin: 16px 0 12px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(90deg, #6c8e6c, #2196F3);
    padding: 10px 20px;
    border-radius: 5px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    letter-spacing: 0.05em;
}

.request-form__note {
    color: #5a6271;
    font-size: 0.95rem;
}

.request-form form {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.request-form .form-grid {
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.request-form .form-field {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.request-form .form-field--full {
    grid-column: 1 / -1;
}

.request-form label {
    font-weight: 700;
    color: #2c3341;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.request-form .badge-required {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 10px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    background-color: #ff6b6b;
    border-radius: 999px;
}

.request-form input,
.request-form select,
.request-form textarea {
    font-family: inherit;
    font-size: 1rem;
    padding: 14px 16px;
    border: 1px solid #c9cfdb;
    border-radius: 8px;
    background-color: #fdfdff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.request-form .date-inputs {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.request-form .date-input {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.request-form .date-input input {
    width: 5rem;
    text-align: right;
}

.request-form .date-input__unit {
    font-weight: 700;
    color: #2c3341;
}

.request-form input:focus,
.request-form select:focus,
.request-form textarea:focus {
    outline: none;
    border-color: #0a6fa9;
    box-shadow: 0 0 0 3px rgba(10, 111, 169, 0.15);
    background-color: #fff;
}

.request-form input[type="date"] {
    padding: 12px 14px;
}

.request-form textarea {
    min-height: 96px;
    resize: vertical;
}

.request-form .form-footer {
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: center;
}

.request-form button {
    border: none;
    border-radius: 999px;
    padding: 16px 64px;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(90deg, #0a6fa9, #1dc6d6);
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(13, 153, 193, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.request-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 32px rgba(13, 153, 193, 0.3);
    filter: brightness(1.05);
}

.request-form button:active {
    transform: translateY(0);
    box-shadow: 0 12px 20px rgba(13, 153, 193, 0.25);
}

.request-form .helper-text {
    font-size: 1rem;
    color: #8b92a1;
}

@media screen and (max-width: 640px) {
    .request-form {
        margin: 40px var(--page-gutter-mobile, 20px);
        padding: 32px 20px;
    }

    .request-form__title {
        font-size: 1.3rem;
    }

    .request-form button {
        width: 100%;
        padding: 16px 0;
    }
}

/* 資料請求フォームCSS */

/* レスポンシブ　968px */
@media screen and (max-width: 968px) {

    .site-title {
        margin-top: 20px;
        font-size: 1.8rem;
    }

    #header {
        flex-direction: row;
        justify-content: space-between;
        height: 100px;
        line-height: 40px;
        margin-top: 0;
        padding: 0 var(--page-gutter-mobile, 20px);
    }

    #header>a img {
        max-height: 64px;
    }

    /* ハンバーガーメニューボタンを表示 */
    .hamburger-menu {
        display: flex !important;
    }

    /* ナビゲーションメニューを隠す */
    .nav {
        position: fixed;
        top: 100px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 100px);
        /* 暗い半透明の背景に変更 */
        background-color: rgba(0, 0, 0, 0.6);
        /* 背景のぼかしで視認性を向上（対応ブラウザで効果） */
        backdrop-filter: blur(4px);
        transition: right 0.3s ease;
        z-index: 999;
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
        color: #fff;
        /* デフォルトの文字色を白に */
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .nav::-webkit-scrollbar {
        width: 0;
        height: 0;
    }

    /* ナビ内部のリンクを見やすくする - より具体的なセレクタで確実に白色にする */
    .nav .nav-links li a,
    .nav .nav-links a,
    .nav a,
    .nav ul li a {
        color: #ffffff !important;
        text-decoration: none;
    }

    .nav .nav-links li a:hover,
    .nav .nav-links a:hover,
    .nav a:hover,
    .nav ul li a:hover {
        opacity: 0.8;
        color: #ffffff !important;
    }

    .nav-active {
        right: 0;
    }

    .nav-links {
        flex-direction: column;
        padding: 20px;
        margin: 0;
    }

    .nav-links li {
        margin: 15px 0;
        text-align: center;
    }

    .nav-links li a {
        font-size: 1.2rem;
        display: block;
        padding: 10px;
    }

    #header ul {
        margin-top: 20px;
    }

    #header ul li {
        font-size: 1.3rem;
        margin-left: 10px;
        border-left: none;
        padding-left: 0;
    }

    #header ul li+li {
        border-left: none;
        padding-left: 0;
        margin-left: 10px;
    }

    #header li img.icon {
        width: 20px;
    }

    /* main */
    #main img {
        width: 100%;
        height: auto;
        object-fit: cover;
        display: block;
    }

    .main-overlay p {
        font-size: 1.5rem;
        line-height: 1.2;
        /* 行間を調整 */
        text-shadow: 10px 10px 5px rgba(0, 0, 0, 1);
        /* 文字に影を追加 */
        margin: 0;
        /* 余白をリセット */
    }

    .btn {
        display: inline-block;
        padding: 5px 15px;
        background-color: red;
        color: #fff;
        text-align: center;
        border-radius: 5px;
        transition: all 0.3s ease;
        margin-top: 20px;
        font-size: 1rem;
    }

    .btn:hover {
        opacity: 0.5;
    }

    /*navi_group */
    /* #navi_group ul{
        flex-direction: column;
    }
    #navi_group ul li{
        width: 100%;
        padding: 10px;
        text-align: center;
    } */

    /* navi_group - レスポンシブ対応 */
    #navi_group .course-cards {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    #navi_group .card-image {
        /* width: 120px; */
        width: 80%;
        height: 120px;
        margin: 20px auto 15px;
    }

    #navi_group .card-title {
        font-size: 1rem;
        padding: 8px 15px;
    }

    #navi_group .card-title .arrow {
        width: 25px;
        height: 25px;
        font-size: 1rem;
    }

    #navi_group .card-description {
        padding: 12px 15px;
        font-size: 0.85rem;
        min-height: 45px;
    }

    #navi_group .card-tags {
        padding: 0 15px 15px;
        gap: 6px;
    }

    #navi_group .card-tags span {
        padding: 3px 8px;
        font-size: 0.7rem;
    }

    /* map */
    .map {
        position: relative;
        width: 100%;
        padding-top: 56.25%;
        /* 16:9のアスペクト比 */
        height: 0;
    }

    .map iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    /* news */
    #news dl {
        flex-direction: column;
    }

    #news dt {
        width: 100%;
        border-bottom: none;
        padding-bottom: 0;
    }

    #news dd {
        width: 100%;
    }

    /* news終わり */


    #access dl {
        flex-direction: column;
    }

    #access dt {
        width: 100%;
        border-bottom: none;
        padding-bottom: 0;
    }

    #access dd {
        width: 100%;
    }

    /* access終わり */

    #opc table {
        width: 100%;
        border-collapse: collapse;
        margin-bottom: 20px;
        margin: 0 auto;
    }

    #opc table th {
        background-color: red;
        color: #fff;
        padding-left: 10px;
        font-size: 1rem;
        text-align: left;
    }

    #opc table td {
        padding: 5px;
        font-size: 0.9rem;
    }

    #about p {
        padding: 0 10px 0 10px;
        font-size: 0.9rem;
    }

    #about .section-title {
        font-size: 1.25rem;
    }

    #about dt,
    #about dd {
        font-size: 0.75rem;
    }

    #guidelines table th,
    #guidelines table td,
    #guidelines .no-border-table th,
    #guidelines .no-border-table td {
        font-size: 0.7rem;
    }

    #ft img {
        width: 75%;
    }

    #ft {
        flex-direction: column;
    }

    #ft p {
        margin-top: 20px;
    }

    #ft ul {
        margin-top: 20px;
    }

    #ft ul li {
        font-size: 0.8rem;
        margin-left: 20px;
    }

    #ft li img.icon {
        width: 20px;
    }

    footer {
        background-color: red;
        color: #fff;
        text-align: center;
        padding: 20px 0;
        font-size: 0.8rem;
    }

    #jobs ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        margin: 0 5% 10px 5%;
    }

    #jobs ul li {
        width: 45%;
        padding: 3px;
        margin: 1px;
    }

    .jobs_btn {
        display: inline-block;
        padding: 10px 10px;
        background-color: #00a1e7;
        color: #fff;
        text-align: center;
        border-radius: 5px;
        transition: all 0.3s ease;
        margin-top: 5px;
        font-size: 1rem;
        width: 165px;
    }

    .jobs_btn:hover {
        opacity: 0.5;
    }

    #jobs table {
        width: 100%;
        /* border: #333 1px solid; */
        border-collapse: separate;
        margin-bottom: 20px;
        margin-left: 0;
    }

    #jobs table th {
        background-color: rgb(15, 184, 240);
        color: #fff;
        padding-left: 5px;
        font-size: 0.75rem;
        text-align: left;
        font-weight: normal;
        /* width: 20%; */
        text-align: center;
    }

    #jobs table td {
        padding: 5px;
        font-size: 0.75rem;
        text-align: bewteen;
    }

    #jobs table td img {
        padding: 5px;
        font-size: 0.8rem;
        text-align: bewteen;
        width: 100%;
    }

    #course ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        margin-bottom: 30px;
        margin-left: 2%;
        margin-right: 2%;
        padding: 5px 5px 5px 5px;
        font-size: 0.9rem;
        background-color: rgb(159, 255, 221);
        border: 1px solid #ffd4d4;
    }

    #course ul li {
        width: 50%;
        padding: 1px;
    }

    #recruitment table {
        width: 96%;
        text-align: center;
        border: 1px solid #333;
        border-collapse: collapse;
        margin-left: 10px;
        font-size: 0.9rem;
        margin: 0 2%;
    }

    #recruitment table th {
        background-color: rgb(32, 187, 239);
        border: 1px solid #333;
        color: #fff;
        padding-left: 5px;
        font-size: 0.8rem;
        text-align: center;
        font-weight: normal;
        height: 2rem;
    }

    #recruitment table td {
        border: 1px solid #333;
        padding: 5px;
        font-size: 0.8rem;
        text-align: center;
        width: 30%;
    }

    #recruitment ul {
        display: flex;
        justify-content: space-between;
        padding-top: 0px;
        padding-bottom: 0px;
        margin: 0 2%;
        font-size: 0.7rem;
    }

    #recruitment ul li {
        width: 50%;
        padding: 3px;
        margin: 1px;
    }

    #recruitment p {
        font-size: 0.8rem;
        padding: 10px 20px 10px 20px;
        line-height: 1.8;
        margin-top: 0px;
        margin-bottom: 0px;
    }

    #recruitment .no-border-table {
        width: 90%;
        border: none;
        border-collapse: collapse;
        margin-bottom: 10px;
        margin-left: 0;
        font-size: 0.8rem;
    }

    #recruitment .no-border-table th {
        border: none;
        padding: 1px 0;
        font-size: 0.8rem;
        text-align: left;
        vertical-align: top;
    }

    #recruitment .no-border-table td {
        width: 70%;
        border: none;
        padding: 1px 0;
        font-size: 0.8rem;
        text-align: left;
        vertical-align: top;
    }

    #recruitment ol li {
        font-size: 0.8rem;
        list-style-type: none;
        counter-increment: cnt;
        text-indent: -2.5em;
        padding-left: 25px;
        margin-left: 30px;
        line-height: 1.5rem;
    }

    #recruitment ol li::before {
        content: "（" counter(cnt)"）";
    }

    /* レスポジブ 733px */
    @media screen and (max-width:733px) {
        #recruitment .no-border-table th {
            border: none;
            padding: 1px 0;
            font-size: 0.9rem;
            text-align: left;
            vertical-align: top;
        }

        #recruitment .no-border-table {
            width: 100%;
            border: none;
            border-collapse: collapse;
            margin-bottom: 10px;
            margin-left: 0;

        }

        #recruitment .no-border-table th {
            border: none;
            padding: 1px 0;
            font-size: 0.9rem;
            text-align: left;
            vertical-align: top;
        }

        #recruitment .no-border-table td {
            width: 60%;
            border: none;
            padding: 1px 0;
            font-size: 0.9rem;
            text-align: left;
            vertical-align: top;
        }
    }

    @media screen and (max-width: 585px) {

        #ibs ul,
        #mis ul,
        #mb ul,
        #ab ul,
        #id ul,
        #pb ul,
        #eb ul,
        #th ul {
            flex-direction: column;
            align-items: stretch;
            gap: 12px;
            padding: 16px 18px;
        }

        #ibs ul li,
        #mis ul li,
        #mb ul li,
        #ab ul li,
        #id ul li,
        #pb ul li,
        #eb ul li,
        #th ul li {
            width: 100%;
            white-space: nowrap;
            line-height: 1;
        }

        #ibs,
        #mis,
        #mb,
        #ab,
        #id,
        #pb,
        #eb,
        #th {
            padding: 16px 18px;
        }

        #course ul {
            margin-bottom: 16px;
        }

        .section-title {
            margin-bottom: 20px;
        }
    }

    /* レスポンシブ 585px ver */
    @media screen and (max-width: 585px) {

        #course table {
            width: 100%;
            /* border: #333 1px solid; */
            border-collapse: separate;
            margin-bottom: 20px;
            margin-left: 0;
        }

        #course table th {
            background-color: rgb(32, 187, 239);
            color: #fff;
            padding-left: 5px;
            font-size: 0.6rem;
            text-align: left;
            font-weight: normal;
            width: 20%;
            /* text-align: center; */
        }

        #course table td {
            padding: 5px;
            font-size: 0.6rem;
            text-align: bewteen;
        }

        /* recruitment */
        #recruitment table {
            width: 96%;
            text-align: center;
            border: 1px solid #333;
            border-collapse: collapse;
            margin-left: 10px;
            font-size: 0.7rem;
        }

        #recruitment table th {
            background-color: rgb(32, 187, 239);
            border: 1px solid #333;
            color: #fff;
            padding-left: 5px;
            font-size: 0.7rem;
            text-align: center;
            font-weight: normal;
            height: 2rem;
        }

        #recruitment table td {
            border: 1px solid #333;
            padding: 5px;
            font-size: 0.7rem;
            text-align: center;
            width: 40%;
        }

        /* recruitment */
        #recruitment table {
            width: 96%;
            text-align: center;
            border: 1px solid #333;
            border-collapse: collapse;
            margin-left: 10px;
            font-size: 0.7rem;
        }

        #recruitment table th {
            background-color: rgb(32, 187, 239);
            border: 1px solid #333;
            color: #fff;
            padding-left: 5px;
            /* font-size: 0.7rem; */
            text-align: center;
            font-weight: normal;
            height: 2rem;
        }

        #recruitment table td {
            border: 1px solid #333;
            padding: 5px;
            /* font-size: 0.7rem; */
            text-align: center;
            width: 25%;
        }

        #recruitment p {
            font-size: 0.8rem;
            padding: 10px 10px 10px 10px;
            line-height: 1.8;
            margin-top: 0px;
            margin-bottom: 0px;
        }

        #recruitment .no-border-table {
            width: 100%;
            border: none;
            border-collapse: collapse;
            margin-bottom: 10px;
            margin-left: 0;

        }

        #recruitment .no-border-table {
            width: 98%;
            border: none;
            border-collapse: collapse;
            margin-bottom: 10px;
            margin-left: 0;

        }

        #recruitment .no-border-table th {
            border: none;
            padding: 1px 0;
            font-size: 0.7rem;
            text-align: left;
            vertical-align: top;
        }

        #recruitment .no-border-table td {
            width: 53%;
            border: none;
            padding: 1px 0;
            font-size: 0.75rem;
            text-align: left;
            vertical-align: top;
        }

        #recruitment ol li {
            font-size: 0.8rem;
            list-style-type: none;
            counter-increment: cnt;
            text-indent: -2.5em;
            padding-left: 25px;
            margin-left: 10px;
            margin-right: 10px;
            line-height: 1.5rem;
        }

        #recruitment ol li::before {
            content: "（" counter(cnt)"）";
        }

        /* recruitment */




        /*　レスポンシブ 433px ver */
        @media screen and (max-width: 433px) {

            /* navi_group - 1列表示 */
            #navi_group .course-cards {
                grid-template-columns: 1fr;
                gap: 15px;
            }

            #navi_group .card-image {
                width: 80%;
                height: 120px;
                margin: 20px auto 15px;
            }

            #navi_group .card-image img {
                width: 100%;
                height: 100%;
            }

            #navi_group .card-title {
                font-size: 0.95rem;
                padding: 8px 12px;
            }

            #navi_group .card-title .arrow {
                width: 22px;
                height: 22px;
                font-size: 0.85rem;
            }

            #navi_group .card-description {
                padding: 10px 12px;
                font-size: 0.8rem;
                min-height: auto;
            }

            #navi_group .card-tags {
                padding: 0 12px 12px;
                gap: 5px;
            }

            #navi_group .card-tags span {
                padding: 3px 7px;
                font-size: 0.65rem;
            }

            #header {
                flex-direction: row;
                justify-content: space-between;
                height: 100px;
                line-height: 40px;
                margin-top: 0;
                padding: 0 var(--page-gutter-mobile, 20px);
            }

            #header>a img {
                max-height: 56px;
            }

            #header>a img {
                max-height: 48px;
            }

            /* ハンバーガーメニューボタンを表示 */
            .hamburger-menu {
                display: flex !important;
            }

            /* ナビゲーションメニューのモバイル対応 */
            .nav-links li a,
            .nav-dropdown summary,
            .nav-dropdown details a {
                font-size: 1rem;
            }

            #header ul {
                margin-top: 20px;
            }

            #header ul li {
                font-size: 0.85rem;
                margin-left: 10px;
                border-left: none;
                padding-left: 0;
            }

            #header ul li+li {
                border-left: none;
                padding-left: 0;
                margin-left: 10px;
            }

            #header li img.icon {
                width: 20px;
            }

            #jobs ul {
                display: flex;
                flex-wrap: wrap;
                justify-content: space-between;
                margin: 0 5% 10px 5%;
            }

            #jobs ul li {
                width: 45%;
                padding: 3px;
                margin: 1px;
            }

            .jobs_btn {
                display: inline-block;
                padding: 10px 10px;
                background-color: #00a1e7;
                color: #fff;
                text-align: center;
                border-radius: 5px;
                transition: all 0.3s ease;
                margin-top: 5px;
                font-size: 0.8rem;
                width: 140px;
            }

            .jobs_btn:hover {
                opacity: 0.5;
            }

            #jobs table {
                width: 100%;
                /* border: #333 1px solid; */
                border-collapse: separate;
                margin-bottom: 20px;
                margin-left: 0;
            }

            #jobs table th {
                background-color: rgb(15, 184, 240);
                color: #fff;
                padding-left: 5px;
                font-size: 0.6rem;
                text-align: left;
                font-weight: normal;
                /* width: 20%; */
                text-align: center;
            }

            #jobs table td {
                padding: 5px;
                font-size: 0.7rem;
                text-align: bewteen;
            }

            #jobs table td img {
                padding: 5px;
                text-align: center;
                width: 100%;
            }

            #course ul {
                display: flex;
                flex-wrap: wrap;
                justify-content: space-between;

                margin-bottom: 30px;
                margin-left: 2%;
                margin-right: 2%;
                padding: 5px 5px 5px 5px;
                font-size: 0.9rem;
                background-color: rgb(159, 255, 221);
                border: 1px solid #ffd4d4;
            }

            #course ul li {
                font-size: 0.7rem;
                width: 50%;
                padding: 1px;
            }

            /* recruitment */
            #recruitment table {
                width: 96%;
                text-align: center;
                border: 1px solid #333;
                border-collapse: collapse;
                margin-left: 10px;
                font-size: 0.7rem;
            }

            #recruitment table th {
                background-color: rgb(32, 187, 239);
                border: 1px solid #333;
                color: #fff;
                padding-left: 5px;
                /* font-size: 0.7rem; */
                text-align: center;
                font-weight: normal;
                height: 2rem;
            }

            #recruitment table td {
                border: 1px solid #333;
                padding: 5px;
                /* font-size: 0.7rem; */
                text-align: center;
                width: 25%;
            }

            #recruitment p {
                font-size: 0.8rem;
                padding: 10px 10px 10px 10px;
                line-height: 1.8;
                margin-top: 0px;
                margin-bottom: 0px;
            }

            /* #recruitment .no-border-table {
        width: 100%;
        border: none;
        border-collapse: collapse;
        margin-bottom: 10px;
        margin-left: 0;
    
    }
     */
            #recruitment .no-border-table {
                width: 100%;
                border: none;
                border-collapse: collapse;
                margin-bottom: 10px;
                margin-left: 0;

            }

            #recruitment .no-border-table th {
                border: none;
                padding: 1px 0;
                font-size: 0.7rem;
                text-align: left;
                vertical-align: top;
            }

            #recruitment .no-border-table td {
                width: 40%;
                border: none;
                padding: 1px 0;
                font-size: 0.7rem;
                text-align: left;
                vertical-align: top;
            }

            /* recruitment */

            @media screen and (max-width: 860px) {
                .main-overlay p {
                    font-size: 1.5rem !important;
                    /* レスポンシブ対応 */
                }
            }
        }
    }
}