@charset "utf-8";

/* カテゴリ別色設定 */
/* .f-info(front-page.phpのカテゴリ)、
　　　　　　.info__cat(.archive-info.phpの一覧部分のカテゴリ)、
　　　　　　.cat-btn(.archive-info.phpのカテゴリ切り替えボタン)
    の3つに背景色を指定 */
/* 各カテゴリーのクラス名 = 各カテゴリーのスラッグ */

.info__cat.news,
.f-info__cat.news,
.cat-btn[data-category="news"] {
    background-color: #4ECDC4;
}

.info__cat.lesson,
.f-info__cat.lesson,
.cat-btn[data-category="lesson"] {
    background-color: #FFA500;
}

.info__cat.recruit,
.f-info__cat.recruit,
.cat-btn[data-category="recruit"] {
    background-color: #FF6B6B;
}

.info__cat.event,
.f-info__cat.event,
.cat-btn[data-category="event"] {
    background-color: #9B59B6;
}

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

a {
    text-decoration: none;
    color: inherit;
}

li {
    list-style: none;
}

button {
    border: none;
    outline: none;
    box-shadow: none;
    background: none;
}

/* ==========　リセットここまで ========== */

/* ==========　各端末サイズ用クラスここから ========== */
/* pc端末--891px以上 */
.pc {
    display: block;
}

/* pc&タブレット端末--650px以上 */
.pc-tb {
    display: block;
}

/* タブレット&モバイル端末--890px以下 */
.sp {
    display: none;
}

/* タブレット端末--890px以下651px以上 */
.tb {
    display: none;
}

/* モバイル端末--650px以下 */
.mb {
    display: none;
}

/* ==========　各端末サイズ用クラスここまで ========== */

/* ==========　全体レイアウトここから ========== */
body {
    font-size: 16px;
    color: #393737;
    font-family: "Noto Sans JP", sans-serif;
}

h2 {
    font-family: "Montserrat", sans-serif;
    font-weight: 800;
}

h3 {
    font-size: 28px;
    letter-spacing: 0.2em;
}

/* セクションのh3共通スタイル */
.section--bg-yellow h3 {
    text-align: center;
    color: #417CCE;
    font-weight: 800;
}

.section--bg-lightblue h3 {
    text-align: center;
    color: #fff;
    font-weight: 600;
}

/* セクション背景色共通クラス  */
.section {
    width: 100%;
}

.section--bg-white {
    background-color: #fff;
}

.section--bg-yellow {
    background-color: #ffff00;
}

.section--bg-lightblue {
    background-color: #83d7f6;
}

.section--bg-transparent {
    background-color: transparent;
}

/* page-top直下のsectionには position: relative を付与 */
.page-top + .section {
    position: relative;
}

/* ===ボタン共通スタイルここから=== */
.blue-btn {
    position: relative;
    margin: 5% auto 0;
    display: inline-block;
    background-color: #6680D9;
    color: #fff;
    padding: 2% 4%;
    border-radius: 100px;
    transition: all 0.15s;
    width: 40%;
    text-align: center;
}

.blue-btn::after {
    position: absolute;
    content: "▶︎";
    right: 5px;
}

.blue-btn:hover {
    background-color: #8299e3;
}

.f-about .blue-btn {
    width: 30%;
    min-width: 250px;
    text-align: left;
    font-size: clamp(13px, 1.1vw, 20px);
}

.f-about .blue-btn::after {
    right: 10px;
}

.white-btn {
    position: relative;
    margin: 5% auto 0;
    display: inline-block;
    background-color: #fff;
    color: #6680D9;
    padding: 2% 4%;
    border-radius: 100px;
    transition: all 0.15s;
    width: 40%;
    text-align: center;
}

.white-btn::after {
    position: absolute;
    content: "▶︎";
    right: 5px;
}

.white-btn:hover {
    background-color: #f0f0f0;
}
/* ===ボタン共通スタイルここまで=== */

/* ===波形共通スタイルここから=== */
.wave-yellow,
.wave-blue,
.wave-gray,
.wave-white {
    transform: translateY(2px);
    /* 隙間防止 */
}

.wave-yellow {
    width: 100%;
    height: 30px;
    background: url(../img/svg/wave-yellow.svg) repeat-x bottom center / auto 30px;
}

.wave-blue {
    width: 100%;
    height: 30px;
    background: url(../img/svg/wave-blue.svg) repeat-x bottom center / auto 30px;
}

.wave-gray {
    width: 100%;
    height: 30px;
    background: url(../img/svg/wave-gray.svg) repeat-x bottom center / auto 30px;
}

.wave-white {
    width: 100%;
    height: 30px;
    background: url(../img/svg/wave-white.svg) repeat-x bottom center / auto 30px;
}
/* ===波形共通スタイルここまで=== */

/* ===固定タブここから=== */
.fixed-tab {
    position: fixed;
    top: 20vw;
    right: 0;
    width: 70px;
    height: 70px;
    z-index: 900;
    background-color: #417CCE;
    border-radius: 8px 0 0 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.fixed-tab:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.fixed-tab a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #ffff00;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    line-height: 1.2;
    text-align: center;
    border-radius: 8px 0 0 8px;
    transition: background-color 0.3s ease;
}

.fixed-tab a:hover {
    background-color: #2E5B9F;
}

/* ===固定タブここまで=== */
/* ==========　全体ここまで ========== */

/* ==========　ヘッダーここから ========== */
header {
    width: 100%;
    display: flex;
    position: fixed;
    z-index: 999;
    align-items: center;
    justify-content: space-between;
    font-size: clamp(13px, 2vw, 3rem);
    font-weight: 600;
    background: url(../img/svg/wave-header.svg) repeat-x top center / auto 100%;
    aspect-ratio: 20/1;
    background-color: #fff;
}

.header__inner {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 2%;
    width: 95%;
    margin: 3.5% auto 0;
}

.site-title {
    width: 30%;
}

.hmb-btn {
    display: none;
}

.header__right {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 1%;
    align-items: flex-end;
    justify-content: space-between;
}

.contact-btn {
    display: none;
    border-radius: 50%;
}

.tel-btn {
    display: none;
}

.header__contact-tel {
    display: flex;
    width: 42%;
    justify-content: flex-end;
    gap: 4%;
}

.header__contact-tel a[href*="contact"] {
    display: flex;
    background-color: #2b56cc;
    border-radius: 25px;
    color: #fff;
    white-space: nowrap;
    padding: 1% 9%;
    font-size: clamp(0px, 1vw, 2rem);
    font-weight: 400;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.site-title a,
.site-title img {
    width: 100%;
}

.header__nav {
    width: 100%;
}

.header__nav ul {
    display: flex;
    font-size: clamp(0px, 1.1vw, 3rem);
    justify-content: space-between;
}

.header__nav ul li {
    transition: all 0.15s;
}

.header__nav ul li:hover {
    color: #ccc;
}

/* PCではハンバーガーメニューの「お問い合せ」を非表示 */
.header__nav ul li:last-child {
    display: none;
}

/* PC版 - 電話番号のtelリンクを無効化 */
@media screen and (min-width: 891px) {
    .header__contact-tel a[href^="tel:"],
    .footer__tel a {
        pointer-events: none;
        text-decoration: none;
        color: inherit;
    }
}
/* ==========　ヘッダーここまで ========== */

/* ==========　フッターここから ========== */
footer {
    width: 100%;
    height: auto;
    background-color: #fff;
}

.footer__nav {
    width: 80%;
    max-width: 1500px;
    margin: 1% auto 0;
}

.footer__nav ul {
    display: flex;
    justify-content: center;
    gap: 5%;
    font-size: clamp(16px, 1.1vw, 20px);
    white-space: nowrap;
}

.footer__nav ul li,
.footer__icon {
    transition: all 0.15s;
}

.footer__nav ul li:hover {
    color: #ccc;
}

.footer__nav ul li:hover .footer__icon {
    opacity: 0.5;
}

.footer__icon {
    width: 10%;
    height: auto;
}

.footer__info {
    display: flex;
    width: 70%;
    max-width: 1400px;
    margin: 3% auto;
    gap: 5%;
}

.footer__access {
    display: flex;
    flex-direction: column;
    width: 45%;
    align-items: center;
    justify-content: center;
}

.footer__logo {
    width: 100%;
}

.footer__logo img {
    display: flex;
    width: 60%;
    margin: auto;
}

.footer__address {
    margin-top: 2%;
}

.footer__tel {
    font-size: clamp(0px, 2vw, 30px);
    font-weight: 800;
}

.footer__info iframe {
    flex: 1;
    height: 300px;
}

.footer__copy {
    display: flex;
    background-color: #417CCE;
    color: #fff;
    width: 100%;
    height: 60px;
    align-items: center;
    justify-content: center;
}
/* ==========　フッターここまで ========== */

/* ===================================== */
/*　front-page.phpここから */
/* ===================================== */
/* ===front-page パーツここから=== */
.front-link {
    display: flex;
    font-weight: 600;
    font-size: clamp(0px, 1.2vw, 25px);
    transition: all 0.15s;
    align-items: center;
    margin-left: auto;
    margin-top: 3%;
    justify-content: flex-end;
}

.front-link:hover {
    color: #ccc;
}

span.arrow {
    width: 5%;
    aspect-ratio: 1/1;
    margin-left: 20px;
    transition: all 0.15s;
}

.arrow img {
    width: 100%;

}

.front-link:hover .arrow {
    filter: opacity(0.3);
}

.f-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: clamp(0px, 3vw, 50px);
    text-align: left;
    padding-top: 3%;
    color: #6680D9;
    font-family: "Roboto Condensed", sans-serif;
    font-optical-sizing: auto;
    font-weight: 800;
    font-variation-settings:
        "wdth" 100;
}

h2.f-title>span {
    font-weight: 600;
    color: #000;
    white-space: nowrap;
    font-size: clamp(13px, 1.1vw, 25px);
}
/* ===front-page パーツここから=== */

/* ===heroここから=== */
.hero {
    padding-top: 10%;
    position: relative;
}

.big-wave {
    position: absolute;
    bottom: -6%;
    width: 100%;
    aspect-ratio: 30/3;
    background: url(../img/svg/big-wave.svg) no-repeat bottom center / contain;
    z-index: 1;
}

.big-wave .front-link {
    padding-right: 15%;

}

.big-wave .front-link span {
    max-width: 50px;
}
/* ===heroここまで=== */

/* ===infoここから=== */
.f-info {
    background: url(../img/pairboy.png) no-repeat bottom right / 15%;
}

.f-info__wrapper {
    display: flex;
    flex-direction: column;
    width: 80%;
    max-width: 1500px;
    margin: auto;
    padding: 30px 0 80px;
}

.f-info__wrapper .front-link {
    padding-right: 5%;
}

.f-info__list {
    width: 95%;
    margin-top: 2%;
}

.f-info__list li {
    display: flex;
    border-top: 1px solid #0071BC;
    padding: 2%;
    font-size: clamp(15px, 1.2vw, 28px Z);
    transition: all 0.1s;
}

.f-info__list li a {
    width: 100%;
}

.f-info__list li:last-child {
    border-bottom: 1px solid #0071BC;
}

.f-info__list li:hover {
    color: #ccc;
}

.f-info__list li a {
    display: flex;
}

.f-info__date {
    font-family: "Arimo", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
}

.f-info__cat {
    display: inline-block;
    background-color: #000;
    border-radius: 25px;
    width: 150px;
    height: 30px;
    line-height: 30px;
    color: #fff;
    margin: auto 20px;
    text-align: center;
    font-size: clamp(11px, 0.8vw, 16px);
    letter-spacing: 0.2em;
    transition: all 0.15s;
}

.f-info__list li:hover .f-info__cat {
    opacity: 0.8;
}

/* ===infoここまで=== */

/* ===ABOUT YSCここから=== */
.f-about {
    background: url(../img/gogglegirl.png) no-repeat bottom left / 20%;
    background-color: #ffff00;
}

.f-about__wrapper {
    width: 80%;
    max-width: 1500px;
    margin: auto;
    padding: 80px 0;
}

.f-about__content {
    text-align: center;
}

.f-about__subtitle {
    display: inline-flex;
    flex-direction: column;
    text-align: center;
    font-size: clamp(0px, 2.3vw, 60px);
    position: relative;
    color: #0071bc;
}

.f-about__subtitle span {
    font-size: clamp(0px, 1.2vw, 35px);
    padding-bottom: 1%;
}

.f-about__subtitle::before,
.f-about__subtitle::after {
    position: absolute;
    content: "";
    display: block;
    width: 25%;
    height: 100%;
}

.f-about__subtitle::before {
    left: -30%;
    background: url(../img/front/diag-left.png) no-repeat bottom center / contain;
}

.f-about__subtitle::after {
    right: -30%;
    background: url(../img/front/diag-right.png) no-repeat bottom center / contain;
}

.f-about__list {
    margin-top: 5%;
}

.f-about__list li {
    display: flex;
    gap: 5%;
    margin-top: 5%;
}

.f-about__list li:nth-child(even) {
    flex-direction: row-reverse;
}

.f-about__list li>img {
    width: 50%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
}

.f-about__point h4 {
    position: relative;
    text-align: left;
    font-size: clamp(13px, 1.5vw, 28px);
}

.f-about__point h4 img {
    position: absolute;
    width: 100px;
    top: -30%;
    left: -100px;
}

.f-about__list li:nth-child(even) .f-about__point h4 img {
    left: auto;
    right: -100px;
}

.f-about__point p {
    margin-top: 2%;
    text-align: left;
    font-size: clamp(13px, 1.3vw, 20px);
}
/* ===ABOUT YSCここまで=== */

/* ===PROGRAMここから=== */
.f-program {
    background-color: #83d7f6;
}

.f-program .f-title,
.f-program .f-title span {
    color: #fff;
}

.f-program__wrapper {
    width: 80%;
    max-width: 1500px;
    margin: auto;
    padding: 80px 0;
}

.f-program__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px 3%;
    margin-top: 5%;
}

.f-program__name {
    position: relative;
    background-color: #fff;
    text-align: center;
    font-size: clamp(13px, 1.1vw, 25px);
    font-weight: 600;
    padding: 2% 0;
    border-radius: 2px;
    margin-bottom: 6%;
    transition: all 0.15s;
    white-space: nowrap;
    width: 100%;
}

.f-program__name::after {
    position: absolute;
    content: "▼";
    color: #fff;
    display: flex;
    width: 5%;
    height: auto;
    transform: scale(1.2, 1) translateX(-50%);
    left: 50%;
    margin-bottom: 10px;
}

.f-program__item a {
    width: 100%;
}

.f-program__item a img {
    width: 100%;
    transition: all 0.15s;
}

.f-program__item:hover .f-program__name {
    transform: translateY(-7px);
}

.f-program__item:hover img {
    opacity: 0.7;
}

/* program-appear (プログラムカード専用) - index.htmlのf-programセクションのみ */
.f-program .f-program__item {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.f-program .f-program__item.program-appear {
    opacity: 1;
    transform: translateY(0) scale(1);
}
/* ===PROGRAMここまで=== */

/* ===middle-navここから=== */
.mid-nav ul {
    display: flex;
    padding: 5% 0;
    gap: 3%;
    width: 80%;
    margin: auto;
}

.mid-nav ul li a img {
    width: 100%;
    transition: all 0.15s;
}

.mid-nav ul li a img:hover {
    opacity: 0.6;
}
/* ===middle-navここまで=== */

/* ===スタッフブログここから=== */
.f-blog {
    background-color: #f2f2f2;
}

.f-blog__wrapper {
    width: 80%;
    max-width: 1500px;
    margin: auto;
    padding: 80px 0;
}

.f-blog__list {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2%;
    margin-top: 5%;
}

.f-blog__card {
    width: 100%;
    aspect-ratio: 1/1.3;
    background: url(../img/front/triangle.png) no-repeat bottom 5px right 5px / 10%;
    background-color: #fff;
    transition: all 0.15s;
}

.f-blog__card:hover {
    opacity: 0.6;
}

.f-blog__content {
    display: flex;
    flex-direction: column;
    width: 85%;
    padding-top: 5%;
    margin: auto;
}

.f-blog__content h3 {
    font-size: 16px;
    margin-bottom: 10px;
}

.f-blog__content h3 span {
    font-size: 16px;
    letter-spacing: -0.05em;
}

.f-blog__content p {
    font-size: 15px;
    line-height: 1.5;
}

.f-blog__card img {
    width: 100%;
    height: 60%;
    object-fit: cover;
}
/* ===スタッフブログここまで=== */
/* ===================================== */
/*　front-page.phpここまで */
/* ===================================== */

/* ===================================== */
/* 　下層ページここから */
/* ===================================== */
/* ===下層ページ共通ここから=== */
/* page-top */
.page-top {
    padding-top: 10%;
    width: 100%;
    aspect-ratio: 10/1.8;
    font-size: clamp(20px, 3vw, 60px);
}

.page-top h2 {
    position: relative;
    color: #417CCE;
    margin-left: 20%;
    margin-top: 1em;
    font-size: inherit;
}

.page-top h2::before {
    position: absolute;
    top: -1em;
    left: -5em;
    content: "";
    width: 5em;
    display: block;
}

.page-top h2::after {
    position: absolute;
    bottom: -0.5em;
    left: -1.5em;
    content: "";
    background: url(../img/line-wave.png) no-repeat center center / contain;
    width: 15em;
    aspect-ratio: 15/1;
    z-index: -1;
}

.page-top .wave-yellow {
    margin-top: 0.6em;
}

.page-top .wave-blue {
    margin-top: 0.4em;
}

/* 各下層ページ page-top調整 */
.about .page-top h2::before {
    background: url(../img/gogglegirl.png) no-repeat center center / contain;
    aspect-ratio: 3/2.5;
}

.parents .page-top h2::before {
    background: url(../img/gogglebaby.png) no-repeat center center / contain;
    aspect-ratio: 3/2.5;
}
.info .page-top h2::before {
    background: url(../img/gogglebaby.png) no-repeat center center / contain;
    aspect-ratio: 3/2;
}

.contact .page-top h2::before {
    background: url(../img/banzaigirl.png) no-repeat center center / contain;
    aspect-ratio: 2/1.5;
}

.entrance .page-top h2::before {
    background: url(../img/beatgirl.png) no-repeat center center / contain;
    aspect-ratio: 3/2.5;
}

.blog .page-top h2::before,
.post .page-top h2::before {
    background: url(../img/beatboy.png) no-repeat center center / contain;
    aspect-ratio: 2/2;
}

.company .page-top h2::before {
    background: url(../img/smilegirl.png) no-repeat center center / contain;
    aspect-ratio: 2/2;
}

.recruit .page-top h2::before,
.form .page-top h2::before {
    background: url(../img/smilegirl2.png) no-repeat center center / contain;
    aspect-ratio: 2/1.5;
    top: -0.6em;
}

.policy .page-top h2::before {
    background: url(../img/goggleboy.png) no-repeat center center / contain;
    aspect-ratio: 2/1.5;
}

.schedule .page-top h2::before {
    background: url(../img/pairboy.png) no-repeat center center / contain;
    aspect-ratio: 3/2.5;
}

.faq .page-top h2::before {
    background: url(../img/gogglegirl2.png) no-repeat center center / contain;
    aspect-ratio: 3/2.5;
}

.program-fee .page-top h2::before {
    background: url(../img/armlingbaby.png) no-repeat center center / contain;
    aspect-ratio: 3/2.5;
}
/* page-topここまで */

/* <section>直下の<div> */
.contents__wrapper {
    position: static;
    display: flex;
    flex-direction: column;
    width: 80%;
    max-width: 1500px;
    margin: auto;
    padding: 5% 0;
}

/* ノート型背景 */
.note {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    background-color: #fff;
    position: relative;
    width: 100%;
    height: 100%;
    margin-top: 7%;
    padding: 7% 5%;
    border-radius: 0 0 25px 25px;
}

.note::before {
    margin-bottom: 0;
    position: absolute;
    width: 100%;
    aspect-ratio: 45/1;
    bottom: 100%;
    left: 0;
    content: "";
    background: url(../img/note-top.png) no-repeat center center / contain;
    transform: translateY(2px);
}
/* ===下層ページ共通ここまで=== */

/* ===about.phpここから=== */

.facility__intro {
    text-align: center;
    font-weight: 600;
}

.facility__tour {
    margin-top: 5%;
}

.facility__tour h3 {
    text-align: center;
    color: #417CCE;
}

.facility__tour ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3% 5%;
    margin-top: 5%;
    margin-bottom: 10%;
}

.facility__tour li {
    text-align: center;
}

.facility__tour li img {
    width: 100%;
    border-radius: 25px;
}

.facility__tour li figcaption {
    margin-top: 2%;
    font-size: 17px;
    font-weight: 600;
}

.about__outline {
    background-color: #83d7f6;
}

.about__outline h3 {
    color: #fff;
    text-align: center;
    letter-spacing: 1em;
}

.outline__table {
    width: 100%;
}

.outline__table tr {
    border-top: 1px solid #c2c2c2;
}

.outline__table tr:last-child {
    border-bottom: 1px solid #c2c2c2;
}

.outline__table tr th {
    padding-left: 5%;
    white-space: nowrap;
    font-size: clamp(14px, 1.2vw, 18px);
}

.outline__table tr td {
    line-height: 1.5;
    padding: 3%;
    padding-left: 8%;
    font-size: clamp(14px, 1.1vw, 17px);
}

/* ===about.phpここまで=== */

/* ===parents.phpここから=== */
.parents__safety {
    background-color: #ffff00;
    position: relative;
}

.safety__intro {
    text-align: center;
    font-weight: 600;
}

.safety__intro p {
    font-size: 20px;
    line-height: 1.6;
}

.parents h3 {
    width: 20%;
    margin: 5% auto;
}

.parents h3 img {
    width: 100%;
    display: block;
}

.safety5__list {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 40px;
}

.safety5__list li {
    display: flex;
    gap: 2%;
    align-items: flex-start;
}

.safety5__list li:nth-child(even) {
    flex-direction: row-reverse;
}

.safety5__list li img {
    width: 55%;
    height: auto;
    object-fit: contain;
    flex-shrink: 0;
}

.safety5__number {
    font-size: clamp(30px, 5vw, 100px);
    text-align: center;
    font-weight: 900;
    color: #417CCE;
}

.safety5__desc h4 {
    margin-top: 2%;
    font-size: clamp(20px, 1.6vw, 30px);
    font-weight: 700;
    color: #417CCE;
}

.safety5__text {
    font-size: clamp(14px, 1.3vw, 20px);
    margin-top: 3%;
}

.about__wonderful {
    background-color: #83d7f6;
}

.wonderful__list .note>* {
    max-width: 1000px;
}

.wonderful__list h4 {
    color: #417CCE;
    text-align: center;
    font-size: clamp(20px, 1.5vw, 24px);
    margin: auto;
}

.wonderful__list p {
    font-size: clamp(17px, 1.2vw, 18px);
    line-height: 1.6;
    margin: 3% auto 0;
}
/* ===parents.phpここまで=== */

/* ===entrance.phpここから=== */
.entrance__flow {
    background-color: #ffff00;
    position: relative;
}

.entrance h3 {
    text-align: center;
    color: #417CCE;
    font-weight: 800;
}

.entrance__steps {
    display: flex;
    flex-direction: column;
    gap: 50px;
    margin-top: 5%;
    margin-bottom: 10%;
}

.entrance__steps li {
    background-color: #fff;
    border-radius: 10px;
    padding: 3% 5%;
    position: relative;
}

.entrance__steps li:after {
    content: "▼";
    position: absolute;
    bottom: -24%;
    left: 50%;
    transform: translateX(-50%) scale(1.5);
}

.entrance__steps li:last-child:after {
    display: none;
}

.entrance__steps h4 {
    text-align: center;
    font-size: 22px;
    font-weight: 800;
}

.entrance__steps p {
    margin-top: 2%;
    font-size: clamp(14px, 1.2vw, 18px);
    text-align: center;
}

.entrance__need {
    background-color: #83d7f6;
    position: relative;
}

.entrance__need h3 {
    color: #fff;
    font-weight: 600;
}

.need__procedures>ol,
.need__procedures>div {
    width: 70%;
    margin: auto;
    font-weight: 600;
    font-size: clamp(14px, 1.2vw, 18px);
}

.need__procedures>div {
    margin-top: 3%;
}

.need__list {
    color: #417CCE;
}

.need__list li {
    position: relative;
    list-style: none;
    padding-left: 2em;
    line-height: 3;
}

.need__list li::before {
    content: counter(list-item);
    position: absolute;
    left: 0;
    top: 30%;
    width: 1.5em;
    height: 1.5em;
    background-color: #417CCE;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9em;
}
/* ===entrance.phpここまで=== */

/* ===schedule.phpここから=== */
.schedule img {
    margin: 5% auto 0;
    max-width: 800px;
    width: 100%;
}

.schedule__program {
    position: relative;
    background-color: #ffff00;
}

.schedule__program h3 {
    color: #417CCE;
    text-align: center;
    letter-spacing: 0.1em;
}

.schedule__calendar {
    background-color: #83d7f6;
}

.schedule__calendar h3 {
    color: #fff;
    text-align: center;
    letter-spacing: 0.1em;
}
/* schedule.phpここまで */

/* program.phpここから */
.program__now {
    background-color: #ffff00;
    position: relative
}

.program__now h3 {
    color: #417CCE;
    text-align: center;
    letter-spacing: 0.1em;
}

.program__now .f-program__name {
    white-space: nowrap;
    width: 100%;
}

.program__now .f-program__name::after {
    display: none;
}

.program__now .f-program__item a {
    cursor: default;
    pointer-events: none;
}

.program__now .f-program__item:hover .f-program__name {
    transform: none;
}

.program__now .f-program__item:hover img {
    opacity: 1;
}

.program__fee {
    background-color: #83d7f6;
}

.program__fee>.note {
    align-items: center;
    justify-content: center;
}

.program__fee h3 {
    color: #fff;
    text-align: center;
    letter-spacing: 0.1em;
}

.note img {
    display: block;
    margin: 5% auto 0;
    max-width: 800px;
    width: 100%;
}
/* ===program.phpここまで=== */

/* ===faq.phpここから=== */
.faq__sec {
    background-color: #83d7f6;
    position: relative;
}

.faq__cat {
    padding: 3%;
    width: 100%;
    background-color: #fff;
    border-radius: 25px;
}

.faq__cat ul {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
}

.cat-btn {
    padding: 10px 15px;
    text-align: center;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    background-color: #ccc;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

.cat-btn:hover {
    background-color: #e0e0e0;
}

.cat-btn.active {
    background-color: #417CCE;
    color: white;
}


.answer__box {
    width: 100%;
    margin: 0 auto;
}

.faq-list {
    display: none;
}

.faq-list.active {
    display: block;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 20px 20px 5px 5px;
    color: #ffff00;
    overflow: hidden;
}

.faq-item.open {
    border-radius: 20px;
}

.faq-question {
    background-color: #417CCE;
    padding: 20px;
    margin: 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
    font-size: 16px;
    font-weight: 600;
}

.faq-question:hover {
    background-color: #75a1df;
}

.faq-item.open .faq-question {
    background-color: #417CCE;
    color: white;
}

.arrow {
    font-size: 14px;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 20px;
    background-color: #417cce;
    margin: 0;
    display: none;
    line-height: 1.6;
}

.faq-answer span {
    display: block;
    background-color: #fff;
    color: #000;
    padding: 10px 15px;
    border-radius: 10px;
}

.frombelow {
    margin-top: 5%;
    text-align: center;
    font-weight: 600;
}

/* ===faq.phpここまで=== */

/* ===article-info.php & single-info.phpここから=== */
.info__sec {
    background-color: #83d7f6;
    position: relative;
}

.info__sec h3 {
    text-align: center;
    color: #fff;
}

.info__list li {
    border-top: solid 1px #c2c2c2;
    padding: 2% 1%;
    transition: all 0.15s;
    font-size: clamp(15px, 1.2vw, 28px);
}

.info__list li:first-child {
    border-top: none;
}

.info__list li:last-child {
    border-bottom: solid 1px #c2c2c2;
}

.info__list li:hover {
    color: #ccc;
}

.cat-buttons {
    margin-top: 3%;
}

.info__cat {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    min-width: 60px;
    text-align: center;
}

/* ******************************************** */
/* お知らせページ - カテゴリボタン背景色設定ここから - */
/* ******************************************** */


/* ******************************************** */
/* お知らせページ - カテゴリボタン背景色設定ここまで - */
/* ******************************************** */

.info__cat.blog { background-color: #2E86C1; }

.cat-btn[data-category="event"]:hover,
.cat-btn[data-category="news"]:hover,
.cat-btn[data-category="lesson"]:hover,
.cat-btn[data-category="recruit"]:hover {
    opacity: 0.8;
}

.info-list {
    display: none;
    width: 100%;
}

.info-list.active {
    display: block;
}

.info__list li {
    border-bottom: 1px solid #ddd;
    padding: 15px 0;
}

.info__list li:last-child {
    border-bottom: none;
}

.info__list li a {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
}

.info__list li a:hover {
    color: #417CCE;
}

.info__date {
    font-size: 14px;
    color: #666;
    white-space: nowrap;
}

.info__list h4 {
    flex: 1;
    margin: 0;
    font-size: 16px;
    font-weight: normal;
}

.article__text {
    width: 100%;
    font-size: 18px;
}

.article__text p {
    margin-top: 20px;
}

.article__text p:first-child {
    margin-top: 0;
}
/* ===article-info.php & single-info.phpここまで=== */


/* ===recruit.phpここから=== */
.recruit .white-btn {
    padding-right: 6%;
}

.recruit__sec {
    background: #ffff00;
    position: relative;
}
/* ===recruit.phpここまで=== */

/* ===policy.phpここから=== */

.policy__list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 3%;
}

.policy__list>li {
    border-bottom: 1px solid #c2c2c2;
    padding-bottom: 3%;
}

.policy__list h4 {
    margin-bottom: 1%;
    color: #417CCE;
    border-left: 5px solid #417CCE;
    padding-left: 2%;
}
/* 個人情報保護方針ここまで */



/* ============================================  */
/* アニメーション用クラス ここから */
/* ============================================  */

/* ====================== */
/* 全ページ共通：js- */
/* ====================== */
/* fadeup */
.js-fadeup {
    opacity: 0;
    transform: translateY(100px);
}

.js-fadeup.fadeup {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 1s ease, transform 1.5s ease;
}

/* fadein(左からIN) */
.js-fadein {
    opacity: 0;
    transform: translateX(-20px);
}

.js-fadein.fadein {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 1s ease, transform 2s ease;
}

/* fadeinR(右からIN) */
.js-fadeinR {
    opacity: 0;
    transform: translateX(20px);
}

.js-fadeinR.fadeinR {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 1s ease, transform 2s ease;
}

/* ============================================  */
/* アニメーション用クラス ここまで */
/* ============================================  */

/* ブログリスト */
.blog-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-list-item {
    border-bottom: 1px solid #ddd;
    transition: background-color 0.2s ease;
}

.blog-list-item:hover {
    background-color: #f8f8f8;
}

.blog-list-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 10px;
    text-decoration: none;
    color: #333;
}

.blog-list-link:hover {
    color: #2b56cc;
}

.blog-date {
    font-size: 14px;
    color: #666;
    white-space: nowrap;
    margin-right: 15px;
}

.blog-title {
    flex: 1;
    font-size: 16px;
    font-weight: 400;
}

.article-thumbnail {
    margin: 0 auto 50px auto;
    text-align: center;
    display: block;
}

.article-thumbnail img {
    max-width: 100%;
    max-height: 400px;
    width: auto;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: block;
    margin: 0 auto;
}

/* 記事ページの日付とカテゴリ */
.article-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.article-date {
    font-family: "Montserrat", "Roboto", sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.5px;
    padding: 8px 16px;
    background: #61a8ef;
    border-radius: 20px;
    white-space: nowrap;
}

.article-cat {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 15px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    background-color: #2E86C1;
    letter-spacing: 0.5px;
}





