/* リセット */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "tot-shizukago-stdn", 'Hiragino Kaku Gothic Pro', "ヒラギノ角ゴ ProN W3", "Meiryo", メイリオ, Verdana, Osaka-mono, sans-serif;
    line-height: 1.6;
    background: #fff;
}

img {
    height: auto;
    pointer-events: none;
    vertical-align: middle;
}

p {
    font-size: 16px;
    font-weight: 200;
}

a {
    text-decoration: none;
}

.pc {
    display: block;
}
.sp {
    display: none;
}

.green {
    color: #006837;
}
.bb-b {
    border-bottom: 1px solid #0071bc;
}
.bb-p {
    border-bottom: 1px solid #ff7bac;
}
.bb-g {
    border-bottom: 1px solid #009245;
}

.arrow {
    letter-spacing: -0.45em;
}

/* ヘッダー */
.site-header {
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    position: fixed;
    background-color: #fff;
    box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.5);
    z-index: 9999;
}
.site-branding {
    width: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.site-branding a {
    width: 100%;
    display: block;
}
.site-branding a img {
    width: 100%;
}

/* フッター */
.site-footer {
    width: 100%;
    border-top: 2px solid #000;
}
.footer-inner {
    width: 100%;
    padding: 2em 0 10px;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    gap: 1em;
}
.footer-links {
    width: 40%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
}
.footer-links h3 {
    width: 100%;
    text-align: center;
}
.footer-links-logo {
    list-style: none;
    margin-top: .75em;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    gap: 1em;
}
.footer-links-logo a {
    display: block;
    width: auto;
}
.footer-links-logo a img {
    width: auto;
    height: 45px;
}
.footer-info {
    width: 40%;
}
.footer-info p small {
    font-size: 10px;
    text-indent: -1em;
    padding-left: 1em;
    display: block;
}
.footer-info .school-name {
    font-size: 16px;
    font-weight: 600;
}
.footer-info .school-address {
    font-size: 14px;
}

.copyright {
    margin-top: 1em;
    text-align: center;
    font-size: 10px;
}

/* 共通 */
.page-main,
.site-main {
    width: clamp(0px, 95%, 1000px);
    margin: 0 auto;
    padding: 100px 0 50px;
}

.main-visual, .lead-text, .content-a {
    width: 100%;
}
.main-visual img {
    width: 100%;
    border: 4px solid #64748B;
    border-radius: 1em;
}

/* トピックスバー */
.topics-bar {
    margin: 1.5em 0 3em;
    width: 100%;
}
.topics-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    border: 3px solid #006837;
    border-radius: 50px;
    padding: 0 .4em;
    background: #fff;
}

/* ラベル */
.topics-label {
    width: 15%;
}
.topics-label span {
    background: #006837;
    color: #fff;
    padding: .25em 1em;
    margin: .4em 0;
    border-radius: 50px;
    font-weight: 600;
    width: 100%;
    display: inline-block;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}
.topics-label span img {
    height: 16px;
    width: auto;
}

/* スライダー */
.topics-wrapper {
    width: 83%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    overflow: hidden;
    flex: 1;
}
.topics-slider {
    overflow: hidden;
    flex: 1;
    width: 100%;
    position: relative;
}

.topics-track {
    display: flex;
    transition: transform .5s ease;
}

/* 各トピック */
.topics-item {
    min-width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    text-decoration: none;
    color: #000;
    user-select: none;
    -webkit-user-drag: none;
}

/* カテゴリー */
.topics-category {
    width: 20%;
    color: #fff;
    padding: .25em 0;
    text-align: center;
    border-radius: 20px;
    font-size: 13px;
    margin-right: .5em;
}
.topics-category.category-announcements {
    background: #0071bc;
}
.topics-category.category-reports {
    background: #ff7bac;
}
.topics-category.category-events {
    background: #009245;
}
.topics-category.category-others {
    background: #f7931e;
}

/* タイトル */
.topics-title {
    width: 80%;
    font-size: 14px;
    width: auto;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1; /* 2行以上は三点リーダー */
    -webkit-box-orient: vertical;
}

/* ボタン */
.topics-prev,
.topics-next {
    background: #fff;
    border: 1.5px solid #006837;
    font-size: 24px;
    font-weight: 400;
    line-height: 1;
    padding-bottom: 3px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
    width: 28px;
    height: 28px;
    cursor: pointer;
    color: #006837;
}
.topics-prev {
    text-indent: -1px;
    margin-right: .5em;
}
.topics-next {
    text-indent: 1px;
    margin-left: .5em;
}

.lead-text p {
    font-size: 18px;
    font-weight: 600;
    text-align: center;
}

.content-a {
    background-color: #feefdd;
    margin-top: 1.5em;
    padding: 2em;
    border-radius: 1em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 7px;
}
.content-a-01, .content-a-02 {
    width: calc((100% - 7px) / 2);
}
.content-a-01 {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: column;
}
.content-a-01 img {
    position: absolute;
    top: -2.5em;
    width: 28px;
    height: auto;
}
.content-a-01 h2 {
    text-align: center;
    color: #f7931e;
    border-top: 2px solid #f7931e;
    border-bottom: 2px solid #f7931e;
    padding: .25em 0;
}
.content-a-01 p {
    font-size: 18px;
    line-height: 1.75em;
}
 .content-a-03 {
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-top: 1em;
}
.content-a-03 a {
    width: 23%;
    transition: transform 0.4s ease;
}
/* .content-a-03 a:hover {
    transform: scale(1.05);
} */
.nav-icon {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    display: block;
}
.icon-bg {
    fill: #f7931e;
    transition: fill 0.3s ease;
}
.icon-main {
    fill: #fff;
    transition: fill 0.3s ease;
}
.icon-sub {
    fill: #f7931e;
    transition: fill 0.3s ease;
}
#icon-member:hover .icon-bg,
#icon-history:hover .icon-bg,
#icon-access:hover .icon-bg {
    fill: #fff;
}
#icon-member:hover .icon-main,
#icon-history:hover .icon-main,
#icon-access:hover .icon-main {
    fill: #f7931e;
}
#icon-history:hover .icon-sub {
    fill: #fff;
}

.content-b {
    background-color: #d9efe3;
    margin-top: 1.5em;
    padding: 2em;
    border-radius: 1em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 7px;
}
.content-b-01, .content-b-02 {
    width: calc((100% - 7px) / 2);
}
.content-b-01 {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: column;
}
.content-b-01 img {
    position: absolute;
    top: -2.5em;
    height: 30px;
    width: auto;
}
.content-b-01 h2 {
    text-align: center;
    color: #009245;
    border-top: 2px solid #009245;
    border-bottom: 2px solid #009245;
    padding: .25em 0;
}
.content-b-02 {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.content-b-03 {
    width: 31%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}


.content-b-03 .text-btn {
    color: #000;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    margin: .5em 0 .5em;
    font-weight: 400;
    font-size: 12px;
    transition: transform 0.3s ease;
}
.text-btn:hover {
    transform: translateX(5px);
    /* 右に5px動かす */
}
.content-b-03 a:last-child {
    margin-bottom: 0;
}
.content-b-04, .content-b-05, .content-b-06  {
    width: 100%;
}
.content-b-04 img, .content-b-05 img, .content-b-06 img {
    width: 100%;
}
.content-b-04 h3, .content-b-05 h3, .content-b-06 h3 {
    text-align: center;
    padding: .1em;
    color: #fff;
}
.content-b-04 h3 {
    background-color: #ff7bac;
}
.content-b-05 h3 {
    background-color: #009245;
}
.content-b-06 h3 {
    background-color: #0071bc;
}
.content-b-04 a,
.content-b-05 a,
.content-b-06 a {
    margin: 0;
    display: block;
    transition: all 0.4s ease;
}
.content-b-04 a:hover,
.content-b-05 a:hover,
.content-b-06 a:hover {
    opacity: 0.7;
    /* 80%の不透明度にする */
    transition: opacity 0.3s ease;
    /* 変化を滑らかに */
}


/* ニュース */
/* =========================
NEWSセクション
========================= */

/* --- NEWSセクション全体のレイアウト --- */
.news {
    margin: 3.5em auto;
    width: 100%;
}
.news-title {
    font-size: 24px;
    font-weight: 600;
    display: flex;
    align-items: center;
}
.news-title img {
    height: 30px;
    width: auto;
    margin-right: .35em;
}
/* 一覧を横並びに */
.news-list {
    display: flex;
    /* justify-content: flex-start; */
    /* align-items: stretch; */
    /* gap: 20px; */ /* カード間の隙間 */
    /* flex-wrap: wrap; */
}
.news-header {
    display: flex;
    justify-content: space-between;
    /* タイトルとコントロールを両端に */
    align-items: center;
    margin-bottom: .5em;
}
.news-more {
    font-size: 14px;
    font-weight: 600;
    color: #000;
    text-decoration: none;
    background: #fff;
    border: 2px solid #000;
    padding: .35em 1.5em;
    border-radius: 50px;
    transition: all .4s;
}
.news-more:hover {
    background: #000;
    color: #fff;
}
.news-item {
    /* width: calc((100% - 60px)/ 4); */
    width: 100%;
    height: auto;
}
.news-item a {
    text-decoration: none;
    color: #000;
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    flex-wrap: wrap;
    width: 100%;
}
/* --- サムネイル画像エリア --- */
.news-thumb {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 4 / 3; /* 横16:縦9の比率で固定（4/3などお好みで） */
    box-sizing: border-box; /* 枠線を含めた計算にする */
}
.news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s;
    display: block;
}
/* ホバー時に画像を少し拡大 */
.news-item:hover .news-thumb img {
    transform: scale(1.05);
}
/* 画像左上の日付 */
.news-date {
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.9);
    padding: 4px 10px;
    font-size: 0.8rem;
    border-radius: 4px 0 4px 0;
    z-index: 1;
}
/* --- 記事タイトル --- */
.news-text {
    margin: .35em 0;
    font-size: 14px;
    width: 100%;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* 2行以上は三点リーダー */
    -webkit-box-orient: vertical;
}
/* --- カテゴリラベル --- */
.news-category {
    margin-top: auto; /* 下に固定 */
    text-align: center;
    width: 100%;
    padding: .2em;
    color: #fff;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}
/* カテゴリA (青系) */
.news-thumb.category-announcements {
    border: 3px solid #0071bc;
}
.news-category.category-announcements {
    background: #0071bc;
}
/* カテゴリB (ピンク系) */
.news-thumb.category-reports {
    border: 3px solid#ff7bac;
}
.news-category.category-reports {
    background: #ff7bac;
}
/* カテゴリC (緑系) */
.news-thumb.category-events {
    border: 3px solid#009245;
}
.news-category.category-events {
    background: #009245;
}
/* カテゴリD (オレンジ系) */
.news-thumb.category-others {
    border: 3px solid#f7931e;
}
.news-category.category-others {
    background: #f7931e;
}

/* 矢印ボタン全体の共通設定 */
.splide__arrow {
    opacity: 1!important;
    /* 薄くならないように */
    width: 30px!important;
    height: 30px!important;
    position: static!important;
    transform: none!important;
}
/* 矢印アイコンの色を黒に */
.splide__arrow svg {
    fill: #000;
    width: 12px;
    height: 12px;
}
/* ホバー時に色を反転させる（お好みで） */
.splide__arrow:hover {
    background: #000;
}
.splide__arrow:hover svg {
    fill: #fff;
}
.splide__arrows {
    position: absolute;
    top: 2px;
    /* NEWSタイトルの高さに合わせる */
    left: calc(25% -  85px);
    display: flex;
    gap: 10px;
}
/* 位置をリセット */
.splide__arrow--prev,
.splide__arrow--next {
    left: 0;
    right: 0;
}


/* =========================
training
========================= */

.page-header {
    width: 30%;
    margin: 3em 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.page-group {
    font-size:14px;
    font-weight: 600;
    text-align: center;
    padding: .2em 0;
    border-top: 1.5px solid #009245;
    border-bottom: 1.5px solid #009245;
    color: #009245;
    display: inline-block;
}

.page-category {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 1em 0;
}

.category-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    color: #fff;
    border-radius: 50%;
    font-size: 16px;
    font-weight: 600;
}
.parent-education .category-circle {
    background: #ff7bac;
    border: 1px solid #ff7bac;
}
.parent-training .category-circle {
    background: #009245;
    border: 1px solid #009245;
}
.parent-research .category-circle {
    background: #1e73be;
    border: 1px solid #1e73be;
}

.title-wrapper {
    text-align: center;
    margin-bottom: 2em;
}

.page-history .page-title,
.page-access .page-title,
.page-member .page-title {
    font-weight: 400;
    position: relative;
    display: inline-block;
    text-align: center;
    left: 50%;
    transform: translateX(-50%);
    margin: 0 auto .5em;
}
.page-content h2 {
    text-align: center;
    margin-bottom: .25em;
}
.page-access .page-content h2 {
    text-align: left;
    margin-bottom: .25em;
}
.page-access .page-content div {
    width: 100%;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
}
.page-access .page-content div div {
    font-size: 14px;
    width: calc((100% - 20px)/ 2);
}
.page-access .page-content div div ul {
    padding-left: 1em;
}
.page-content tr {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    width: 100%;
    margin: 0 auto;
    flex-wrap: wrap;
}
.page-content tr:first-child {
    border-top: 1px solid #006837;
}
.page-content td:first-child {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 17%;
    background: #fff;
    padding: .75em .75em .75em 0;
    text-align: left;
    color: #000;
    font-weight: 400;
    border-right: 1px solid #006837;
}
.page-content td:last-child {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    width: 83%;
    background: #fff;
    padding: .75em 0 .75em 1.75em;
    text-align: left;
    color: #000;
    font-weight: 400;
    text-indent: -1em;
    line-height: 1.95;
}
.page-content td {
    border: none;
    border-bottom: 1px solid #006837;
    font-size: 14px;
}
.page-content .indent-1 {
    display: block;
    text-indent: -1em;
    margin-left: 0em;
    width: 100%;
}

.page-member .page-content p {
    color: #006837;
    font-weight: 600;
    font-size: 18px;
}
.page-member .page-content table {
    margin-top: .25em;
}
.page-member .page-content td:first-child {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 28%;
    background: #fff;
    padding: .75em .75em .75em 0;
    text-align: left;
    color: #000;
    border-right: 1px solid #006837;
}
.page-member .page-content td:last-child {
    width: 72%;
    background: #fff;
    padding: .75em 0 .75em .75em;
    text-align: left;
    color: #000;
    font-weight: 400;
    text-indent: 0;
    line-height: 1.95;
}
.page-member .page-content tr:first-child td {
    background: #006837;
    border-color: #fff;
    justify-content: center;
    text-align: center;
    font-weight: 600;
    font-size: 16px;
    padding: .4em .75em;
    color: #fff;
}



.child-page-title {
    display: inline-block;
    font-weight: 400;
    position: relative;
    margin: 0 auto;
}
.page-subtitle {
    font-size: 14px;
    letter-spacing: .2em;
    color: #000;
    margin-top: .5em;
}

.page-training .page-title,
.page-education .page-title,
.page-research .page-title {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin: .5em auto 2em;
    gap: 14px;
    width: 300px;
    height: 300px;
    color: #fff;
    flex-wrap: wrap;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 300px;
}
.page-training .page-title::before,
.page-education .page-title::before,
.page-research .page-title::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    animation: rotateSlow 30s linear infinite;
    z-index: -1;
}
.page-training .page-title::after,
.page-education .page-title::after,
.page-research .page-title::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    animation: rotateSlowReverse 40s linear infinite;
    z-index: -2;
}
@keyframes rotateSlow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}
@keyframes rotateSlowReverse {
    from {
        transform: rotate(360deg);
    }

    to {
        transform: rotate(0deg);
    }
}
.page-training .page-title {
    background-image: url("./../img/research_bk-01.png");
}
.page-training .page-title::before {
    background-image: url("./../img/research_bk-02.png");
}
.page-training .page-title::after {
    background-image: url("./../img/research_bk-03.png");
}
.page-education .page-title {
    background-image: url("./../img/trainig_bk-01.png");
}
.page-education .page-title::before {
    background-image: url("./../img/trainig_bk-02.png");
}
.page-education .page-title::after {
    background-image: url("./../img/trainig_bk-03.png");
}
.page-research .page-title {
    background-image: url("./../img/education_bk-01.png");
}
.page-research .page-title::before {
    background-image: url("./../img/education_bk-02.png");
}
.page-research .page-title::after {
    background-image: url("./../img/education_bk-03.png");
}

.content-layout {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 3em;
}
.content-layout.has-image .content-image {
    flex: 1;
}
.content-layout.no-image .content-text {
    flex: 1;
}
.content-text {
    width: 50%;
    line-height: 2em;
}
.content-heading {
    font-weight: 400;
    margin-bottom: .25em;
}
.parent-education .content-heading {
    color: #ff7bac;
}
.parent-research .content-heading {
    color: #0071bc;
}
.parent-training .content-heading {
    color: #009245;
}
.content-image {
    width: calc(50% - 20px);
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 10px;
}
.content-image img {
    width: 80%;
    display: block;
}

.child-page-list {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 10px;
    flex-wrap: wrap;
}
.child-page-list::after {
    content: "";
    width: calc((100% - 10px)/ 2);
}

.page-card,
.education-card,
.research-card {
    display:block;
    background:#eaeaea;
    border-radius: 7px;
    width: calc((100% - 10px)/ 2);
    padding: .5em;
    position:relative;
    text-decoration:none;
    color:#333;
    transition:0.3s;
}
.page-card-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.page-card-title {
    font-size: 1em;
    font-weight: 700;
    line-height: 3em;
}
.page-card-arrow {
    font-size: 1em;
    position: absolute;
    bottom: 50;
    right: .5em;
}
.page-card:hover {
    background:#009245;
    color:#fff;
}
.parent-education .page-card:hover {
    background: #ff7bac;
    color: #fff;
}
.parent-research .page-card:hover {
    background: #0071bc;
    color: #fff;
}
.page-card:hover .page-card-title::after {
    background:#fff;
}
.page-card:hover .page-card-arrow {
    color:#fff;
}

.external-link-area {
    width: 100%;
    margin: 2.5em auto 0;
    text-align: center;
}
.external-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: .35em 3em;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    border-radius: 40px;
    text-decoration: none;
    transition: .3s;
}

.parent-training .external-button {
    background: #009245;
}
.parent-education .external-button {
    background: #ec6f9e;
}
.parent-research .external-button {
    background: #1e73be;
}

/* 右の丸 */
.external-button::after {
    content: "▶";
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 7px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 14px;
    transition: .3s;
}

.parent-training .external-button::after {
    background: #fff;
    color: #009245;
}
.parent-education .external-button::after {
    background: #fff;
    color: #ec6f9e;
}
.parent-research .external-button::after {
    background: #fff;
    color: #1e73be;
}

/* ホバー */
.parent-training .external-button:hover {
    background: #009245;
}
.parent-education .external-button:hover {
    background: #ec6f9e;
}
.parent-research .external-button:hover {
    background: #1e73be;
}
.external-button:hover::after {
    transform: translateX(3px);
}

.external-note {
    margin-top: 1em;
    font-size: 14px;
    color: #000;
}
.external-note span {
    font-size: 12px;
}


/* =========================
menu
========================= */
/* --- 全体コンテナ --- */
.hamburger-menu-wrapper {
    position: relative;
    display: flex;
    justify-content: flex-end;
    /* ボタンを右寄せに */
    align-items: center;
}

/* --- ハンバーガーボタン --- */
.nav-toggle {
    display: block;
    width: 50px;
    height: 50px;
    position: relative;
    z-index: 1000;
    border: none;
    background: #fff;
    cursor: pointer;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
    content: '';
    display: block;
    position: absolute;
    width: 25px;
    height: 2px;
    background: #000;
    transition: all .3s ease;
}

.nav-toggle-bar {
    top: 24px;
}

.nav-toggle-bar::before {
    top: -8px;
}

.nav-toggle-bar::after {
    top: 8px;
}

/* ボタンがアクティブな時（×印） */
.nav-toggle.active .nav-toggle-bar {
    background: transparent;
}

.nav-toggle.active .nav-toggle-bar::before {
    transform: rotate(45deg);
    top: 0;
}

.nav-toggle.active .nav-toggle-bar::after {
    transform: rotate(-45deg);
    top: 0;
}

/* --- ナビゲーションメニュー本体 --- */
.global-nav {
    position: fixed;
    top: 0;
    right: -400px;
    /* メニューの横幅分だけ外へ出す */
    width: 400px;
    /* PCでも見栄えが良い幅に設定 */
    max-width: 100%;
    height: 100vh;
    background: #fff;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 999;
    transition: all .4s cubic-bezier(0.45, 0, 0.55, 1);
    padding: 80px 40px;
}

.global-nav.active {
    right: 0;
}

/* メニュー内のリストスタイル（WordPress標準用） */
.global-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.global-nav ul li {
    margin-bottom: 20px;
    border-bottom: 1px solid #000;
}

.global-nav ul li a {
    display: block;
    padding: 10px 0;
    text-decoration: none;
    color: #333;
    font-weight: bold;
    font-size: 1.1rem;
}

/* 背景オーバーレイ */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all .4s;
    z-index: 998;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.parent-education .content-body {
    a {
        text-decoration: none;
        color: #1e73be;
    }
    a:visited {
        color: #1e73be;
    }
}
.parent-research .content-body {
    a {
        text-decoration: none;
        color: #009245;
    }
    a:visited {
        color: #009245;
    }
}
.parent-training .content-body {
    a {
        text-decoration: none;
        color: #e4588c;
    }
    a:visited {
        color: #e4588c;
    }
}
.news-grid {
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    width: 100%;
    flex-wrap: wrap;
    gap: 40px 20px;
}
.news-item {
    width: calc((100% - 60px)/ 4);
}

/* 投稿ページ */
.entry-title {
    margin: .25em 0 .75em;
}









@media screen and (max-width: 768px) {
    .pc {
        display: none;
    }
    .sp {
        display: block;
    }
    .main-visual img {
        border: 3px solid #64748B;
        border-radius: .5em;
    }
    .topics-container {
        border-radius: 7px;
        gap: .5em;
        padding: .4em;
    }
    .topics-label {
        width: 100%;
    }
    .topics-label span {
        margin: 0;
    }
    .topics-wrapper {
        width: 100%;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        overflow: hidden;
        flex: 1;
    }
    .lead-text p {
        font-size: 16px;
        font-weight: 600;
        text-align: center;
    }
    .content-a,
    .content-b {
        flex-wrap: wrap;
        padding-top: 4.5em;
    }
    .content-a-01,
    .content-a-02,
    .content-b-01,
    .content-b-02 {
        width: 100%;
    }
    .content-a-01,
    .content-b-01 {
        margin-bottom: 1em;
    }
    .content-a-03 a {
        width: 28%;
    }
    .content-b-02 {
        flex-wrap: wrap;
    }
    .content-b-03 {
        width: 100%;
        margin: 0 auto 1em;
    }
    .content-b-03 a {
        font-size: 16px;
        margin: .55em 0;
    }
    .footer-inner {
        flex-wrap: wrap;
        width: 95%;
    }
    .footer-links,
    .footer-info {
        width: 100%;
    }
    .topics-prev {
        margin-right: .25em;
    }
    .topics-next {
        margin-left: .25em;
    }
    .topics-category {
        width: 28%;
        font-size: 11px;
        font-weight: 600;
        line-height: 1.5em;
    }
    .topics-title {
        width: 72%;
    }
    .parent-research .page-group,
    .parent-education .page-group,
    .parent-training .page-group {
        display: block;
    }
    .page-card,
    .education-card,
    .research-card {
        width: 100%;
    }
    .content-text {
        width: 100%;
    }
    .content-image {
        width: 100%;
        justify-content: center;
    }
    .content-image img {
        width: 80%;
    }
    .page-content td:first-child {
        width: 28%;
    }
    .page-content td:last-child {
        width: 72%;
        display: flex;
        justify-content: flex-start;
        align-self: stretch;
        flex-wrap: wrap;
    }
    .page-content .indent-1 {
        width: 100%;
    }
    .page-member .page-content td:first-child {
        width: 28%;
    }
    .page-member .page-content td:last-child {
        width: 72%;
    }
    .splide__arrows {
        display: none;
    }
    .content-b-03 .text-btn {
        font-size: 16px;
    }
    .news-item {
        width: 70%!important;
        margin-right: 20px!important;
    }
    .news-archive-container .news-grid {
        gap: 30px 15px;
    }
    .news-archive-container .news-item {
        width: calc((100% - 15px)/ 2) !important;
        margin-right: 0!important;
    }
}