@charset "utf-8";

 /* --- 予定表ページお知らせ --- */

#info_list {
    padding: 60px 0;
    background-color: #222; 
}

/* リスト全体 */
#info_list ul {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid #444; 
}

/* リストアイテム */
#info_list li {
    border-bottom: 1px solid #444; 
}

/* リンク部分のレイアウト */
#info_list li > a {
    display: flex;
    align-items: baseline;
    padding: 20px 10px; 
    transition: background-color 0.2s ease;
}
#info_list li > a:hover {
    background-color: #333; 
}

/* 日付 */
#info_list .date {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 14px;
    color: #aaa; 
    width: 100px;
    flex-shrink: 0;
}

/* NEWマーク */
#info_list .new_icon {
    display: inline-block;
    font-size: 11px;
    color: #fff; 
    background-color: #cc0000; 
    padding: 2px 6px;
    border-radius: 3px;
    margin-right: 10px;
    font-weight: bold;
    vertical-align: middle;
    white-space: nowrap;
}

/* テキストボックス */
#info_list .text_box {
    flex: 1;
}

/* タイトル */
#info_list h3 {
    font-size: 15px;
    font-weight: 500;
    margin: 0;
    line-height: 1.6;
    color: #fff; 
    display: inline;
}

/* 注意書きエリア */
#info_list .notice_area {
    margin-top: 30px;
    padding: 20px;
    background-color: #2a2a2a;
    border: 1px solid #444;
    border-radius: 4px;
    text-align: center;
}
#info_list .notice_area p {
    margin: 0;
    font-size: 13px;
    color: #ccc;
    line-height: 1.8;
}
#info_list .notice_area .icon {
    font-size: 16px;
    margin-right: 5px;
}

/* スマホ対応（お知らせ） */
@media (max-width: 600px) {
    #info_list li > a {
        flex-direction: column;
        padding: 15px 5px;
    }
    #info_list .date {
        width: auto;
        margin-bottom: 5px;
        font-size: 13px;
    }
    #info_list h3 {
        font-size: 15px;
    }
    #info_list .notice_area {
        text-align: left;
        padding: 15px;
    }
}

 /* --- 共通CTA --- */

#entry-common .btn:before {
    display: none;
}

a.btn {
    display: block;
    width: 100%;
    margin: 80px 0 0;
    padding: 20px 10px;
    box-sizing: border-box;
    border: 1px solid #333;
    background: #fff;
    color: #333;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

a.btn::before {
    content: "\f04b"; 
    font-family: "Font Awesome 5 Free"; 
    font-weight: 900; 
    display: inline-block;
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: #333;
    transition: all 0.3s ease;
}

a.btn:hover {
    background: #333;
    color: #fff;
    border-color: #000;
    opacity: 1 !important;
}

a.btn:hover::before {
    color: #c39738; 
    transform: translateY(-50%) translateX(5px);
}

ul.pattern18 a {
    text-decoration: none;
    display: block;
    width: 100%;
    border: 0px;
    padding: 0;
}

ul.pattern18 a li {
    border: 1px solid #333;
    background: #fff;
    color: #333;
    padding: 20px 10px;
    box-sizing: border-box;
    font-weight: bold;
    text-align: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

ul.pattern18 a li::before {
    content: "\f04b"; 
    font-family: "Font Awesome 5 Free"; 
    font-weight: 900;
    display: inline-block;
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: #333;
    transition: all 0.3s ease;
}

ul.pattern18 a:hover {
    opacity: 1 !important;
}

ul.pattern18 a:hover li {
    background: #000;
    color: #fff;
    border-color: #000;
}

ul.pattern18 a:hover li::before {
    color: #c39738; 
    transform: translateY(-50%) translateX(5px);
}

/* ========================================
 ▼ PC用の追従ボタン
 ======================================== */

.floating-nav {
    position: fixed;
    right: 20px;
    bottom: 50px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: auto;
}

.floating-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 20px 10px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    font-weight: bold;
    font-size: 16px;
    line-height: 1.2;
    width: 50px;
    position: relative;
}

.floating-nav a span {
    writing-mode: vertical-rl;
    text-orientation: upright;
    letter-spacing: 2px;
    margin-top: 10px;
}

.floating-nav a:hover {
    transform: translateY(3px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    opacity: 1 !important; 
}

.btn-contact {
    background-color: var(--btn-bg-color);
    color: #fff;
    border: 2px solid #ed0005;
}

.btn-contact:hover {
    background-color: #c90004;
    border-color: #c90004;
    color: #fff;
}

.btn-contact i {
    font-size: 20px;
    color: #fff;
}

.btn-trial {
    background-color: #eeb902;
    color: #000;
    border: 2px solid #eeb902;
    animation: fuwafuwa 3s infinite ease-in-out; /* PCではふわふわさせる */
}

.btn-trial:hover {
    background-color: #c69a00;
    border-color: #c69a00;
    color: #000;
}

.btn-trial i {
    font-size: 20px;
    color: #000;
}

@keyframes fuwafuwa {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.floating-nav a.btn-trial:hover {
    animation: none;
    transform: translateY(3px);
}

/* ========================================
 ▼ レスポンシブ・背景・その他
 ======================================== */
@media screen and (max-width: 1024px) {
    /* スマホ対応（2分割ボトムバー） */
    .floating-nav {
        display: flex !important;
        flex-direction: row; 
        position: fixed;
        bottom: 0 !important;
        right: 0 !important;
        left: 0;
        width: 100% !important;
        gap: 0 !important;
        z-index: 9999;
    }

    .floating-nav a {
        flex: 1; 
        width: auto !important;
        border-radius: 0 !important; 
        padding: 12px 0 !important;
        box-shadow: none !important;
        border: none !important; 
        height: auto !important;
        transform: none !important; /* 位置のズレをリセット */
    }

    /* 体験ボタンのふわふわをスマホで解除 */
    .btn-trial {
        animation: none !important; 
    }

    .floating-nav a span {
        writing-mode: horizontal-tb !important; 
        text-orientation: mixed !important;
        letter-spacing: 0 !important;
        margin-top: 4px !important;
        font-size: 13px !important;
    }

    .floating-nav a i {
        font-size: 18px !important;
    }

    /* 被り防止 */
    footer {
        padding-bottom: 70px !important;
    }
}

.block:nth-child(even) {
    background: linear-gradient(#333, #000);
    color: #fff;
}

.block:nth-child(even) .h2_center h1::before,
.block:nth-child(even) .h2_center h2::before {
    border-bottom: 5px solid var(--sub-color);
}

.pattern06.block:nth-child(even) ul li,
.pattern08.block:nth-child(even) ul li,
.pattern10.block:nth-child(even) ul li,
.pattern12.block:nth-child(even) table,
.pattern12.block:nth-child(even) .price_text,
.school-list.block:nth-child(even) ul li {
    color: #333;
}

.pattern13.block:nth-child(even) .accordion ul li a h3 {
    color: #fff;
}

.pattern13.block:nth-child(even) .accordion h3:before{
	color: var(--sub-color)
}

.pattern14 .timeline-list-item .content::before {
    background-color: var(--sub-color);
}

#news_list.block:nth-child(even) ul li,
#news_list.block:nth-child(even) ul li a {
    color: #fff;
}

#news_list.block:nth-child(even) ul li .text_box p.category, 
#news_list.block:nth-child(even) ul li .text_box p.date {
    color: #fff;
}

header h1, 
header h2 {
    max-width: 230px;
}

.pattern08 ul li h3 {
    font-size: 100%;
}

/* スタッフ表示 */
#staff_list ul {
    display: flex;
    flex-wrap: wrap;
    gap: 2%;
    padding: 0;
    margin: 0;
}

#staff_list ul li {
    width: calc((100% - (2% * 4)) / 5);
    list-style: none;
    margin-bottom: 30px;
    position: relative;
    box-shadow: rgb(100 100 111 / 20%) 0px 7px 29px 0px;
}

#staff_list ul li img {
    width: 100%;
    height: auto;
    vertical-align: bottom;
    object-fit: cover;
    aspect-ratio: 3 / 4;
    pointer-events: none;
}

#staff_list ul li h3 {
    position: absolute;
    width: 100%;
    background: var(--main-color);
    padding: 10px 0;
    text-align: center;
    bottom: 0;
    left: 0;
    color: var(--text-color);
    margin: 0;
}

#staff_list ul li h3 span {
    display: block;
    font-size: 70%;
    margin-bottom: 5px;
}

#staff_list ul li .emblem {
    position: absolute;
    top: 5px;
    left: 5px;
    width: 40px;
}

#staff_list ul li .emblem img {
    aspect-ratio: 1 / 1 !important;
}

@media screen and (max-width: 1024px) {
    #staff_list ul li {
        width: calc((100% - (2% * 2)) / 3);
    }
}

@media screen and (max-width: 767px) {
    #staff_list ul {
        gap: 4%;
    }
    #staff_list ul li {
        width: calc((100% - 4%) / 2);
    }
}

#header_top .wrap ul li a img,
#menu_panel ul li a span.icon img {
    filter: brightness(100);
}

footer #copy {
    background: var(--sub-color);
    color: #333;
}

@media (max-width: 599px) {
    header h1,
    header h2 {
        max-width: 230px;
    }
    header #header_top {
        font-size: 10px;
    }
}