/*
Theme Name: malaysia202509
Theme URI: https://bootscore.me/
Author: bootScore
Author URI: https://bootscore.me
Description: A powerful Bootstrap 5 WordPress Starter Theme with WooCommerce Support. <a href="https://bootscore.me/category/documentation/" target="_blank">Documentation</a>. This theme gives you full control whatever you do and the full freedom to design whatever you want. It comes with a wide selection of category, page, post, author and archive templates as well as sidebar, header, footer and 404 widgets. There are no customizer settings in the backend. All settings can only be made by touching the code. Some CSS, HTML, PHP and JS Skills are required to customize it.
Version: 5.3.4
Requires at least: 5.0
Tested up to: 6.4.1
Requires PHP: 7.1
License: MIT License
License URI: https://github.com/bootscore/bootscore/blob/main/LICENSE
Text Domain: bootscore
Tags: featured-images, threaded-comments, translation-ready

Use this theme to make something cool, have fun, and share what you've learned with others.

Bootscore is based on Underscores https://underscores.me/, (C) 2012-2022 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.
*/

/* 
All style editing is done via scss/_bscore_custom.scss
*/
@font-face {
  font-family: 'urw-din-m';
  src: url('./font/URWDIN-Medium.ttf') format('truetype');
}

:root {
    --link-hover-color: #ffa000;
    --swiper-pagination-top: calc(100% - 28px);
    --swiper-navigation-top-offset: 50%;
    --swiper-navigation-color: #fff;
    --body-color: #444;
}

body {
    font-family: 游ゴシック, YuGothic, "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", "Hiragino sans", ヒラギノ角ゴシック, Meiryo, メイリオ, Robot, "Droid Sans", "MS PGothic", "MS Pゴシック", Osaka, sans-serif;
    color: var(--body-color);
    font-size: 15px;
}

@media (max-width: 767px) {
    body {
        font-size: 14px;
    }
}

.font-ja {
    font-family: 游ゴシック, YuGothic, "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", "Hiragino sans", ヒラギノ角ゴシック, Meiryo, メイリオ, Robot, "Droid Sans", "MS PGothic", "MS Pゴシック", Osaka, sans-serif;
}

.font-en {
    font-family: urw-din-m, 游ゴシック, YuGothic, "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", "Hiragino sans", ヒラギノ角ゴシック, Meiryo, メイリオ, Robot, "Droid Sans", "MS PGothic", "MS Pゴシック", Osaka, sans-serif;
    font-style: normal;
    font-weight: 600;
}

/**
 * common
 * ----------------------------------------------------------------------------
 */

a {
    position: relative;
    color: var(--link-hover-color);
    text-decoration-color: rgba(255, 160, 0, 0);
    transition: text-decoration-color 0.15s ease-out;
}

a:hover {
    text-decoration: underline;
    text-decoration-color: rgba(255, 160, 0, 1);
}

::placeholder {
    color: #a0a0a0 !important;
}

img {
    object-fit: cover;
}

.btn {
    border-radius: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.btn:hover {
    text-decoration: none !important;
}

.btn-link {
    /*position: relative;
    color: #fff;
    border: none;
    text-decoration: none;
    transition: none;
    background-size: 200% auto;
    background-image: linear-gradient(90deg, var(--link-hover-color) 50%, #615545 0);
    transition: background-position 0.15s ease-out;
    padding: 12px 0;
    line-height: 120%;*/
    
            display: block;
            background: #F2A73F;
            color: #fff;
            padding: 20px;
            font-size: 2.2rem;
            text-align: center;
            box-shadow: 3px 3px 3px 0px rgba(0, 0, 0, 0.16);
            width: fit-content;
            margin: 0 auto;
            font-weight: bold;
            border: 1px solid #fff;
            box-sizing: border-box;
            min-width: 400px;
            text-decoration: none;
            
      
}
@media (max-width: 767px){
    .btn-link{
        width: 100%;
                min-width: inherit;
                text-align: center;
    }
                
            }
.btn-link.r {
    background-image: linear-gradient(90deg, #ff7000 50%, #615545 0);
}

.btn-link.p {
    background-image: linear-gradient(90deg, #FF968D 50%, #615545 0);
}

.btn-link:hover {
    color: #fff;
    background-position: -100% 0;
}

.btn-link-outline {
    position: relative;
    color: var(--link-hover-color);
    border: 1px solid var(--link-hover-color);
    text-decoration: none;
    transition: none;
    background-size: 200% auto;
    background-image: linear-gradient(90deg, #fff 50%, var(--link-hover-color) 0);
    transition: background-position 0.15s ease-out;
    padding: 12px 0;
    line-height: 120%;
}

.btn-link-outline:hover {
    color: #fff;
    border: 1px solid var(--link-hover-color);
    background-position: -100% 0;
}

.btn-gray-outline {
    position: relative;
    color: #444;
    border: 1px solid #444;
    text-decoration: none;
    transition: none;
    background-size: 200% auto;
    background-image: linear-gradient(90deg, #fff 50%, #444 0);
    transition: background-position 0.15s ease-out;
    padding: 12px 0;
    line-height: 120%;
    font-weight: bold;
}

.btn-gray-outline:hover {
    color: #fff;
    border: 1px solid #444;
    background-position: -100% 0;
}

.btn-line {
    color: #fff;
    background-color: rgba(6, 199, 85, 1);
    transition: background-color 0.15s ease-out;
}

.btn-line:hover {
    color: #fff;
    background-color: rgba(6, 199, 85, 0.7);
}

.container-s {
    max-width: 920px;
    width: 100%;
    position: relative;
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    padding-right: calc(var(--bs-gutter-x) * .5);
    padding-left: calc(var(--bs-gutter-x) * .5);
    margin-right: auto;
    margin-left: auto;
}

.btn-blue {
    position: relative;
    color: #fff;
    border: none;
    text-decoration: none;
    transition: none;
    background-size: 200% auto;
    background-image: linear-gradient(90deg, #0076BA 50%, #615545 0);
    transition: background-position 0.15s ease-out;
    padding: 12px 0;
    line-height: 120%;
}


.btn-blue:hover {
    color: #fff;
    background-position: -100% 0;
}

@media (max-width: 767px) {
    .container-s {
        max-width: 100%;
    }

    .container-md-full {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

.font-s {
    font-size: 0.6em;
}

.r-arrow {
    position: relative;
    display: inline-block;
    width: 34px;
    height: 34px;
}

.r-arrow::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 100%;
    background-color: #444;
    transition: background-color 0.15s ease-out;
}

.r-arrow::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    height: 2px;
    width: 50%;
    background-color: #444;
    transform: rotate(45deg);
    transform-origin: top right;
    transition: background-color 0.15s ease-out;
}

.tag {
    display: inline-block;
    padding: 0 12px;
    background-color: #f4f4f4;
    font-size: 12px;
    line-height: 20px;
    border-radius: 10px;
    color:  var(--bs-heading-color);
}

.tag span {
    color: var(--link-hover-color);
}

@media (max-width: 767px) {
    .tag {
        font-size: 11px;
    }
}

.table-pink td {
    background: #FF968D;
}

.table-orange td,
td.table-orange {
    background: var(--link-hover-color);
}

.table-yellow td,
td.table-yellow,
th.table-yellow {
    background: #ffd000;
}

.bg-pink {
    background: #FF968D;
}

.nowrap {
    white-space: nowrap;
}

.mt-article {
    margin-top: 7rem !important;
}

.pt-article {
    padding-top: 7rem !important;
}

.legal-logo {
    text-align: center;
}

.legal-logo img {
    height: 200px;
    width: auto;
}

@media (max-width: 767px) {
    .legal-logo img {
        height: 80px;
    }
}

.text-notice {
    font-size: 13px;
    color: var(--bs-secondary-color);
}

@media (max-width: 767px) {
    .text-notice {
        font-size: 9px;
    }
}

.text-yellow {
    color: var(--link-hover-color);
}

.box-shadow {
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
}

.table-transparent td {
    background-color: transparent !important;
    border: 1px solid #444 !important;
}

.no-opacity {
    opacity: 1 !important;
}

/**
 * header
 * ----------------------------------------------------------------------------
 */
.navbar {
    background-color: #fff;
    display: block;
    padding: 0;
}

.navbar-brand-wrap {
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
}

.navbar-brand-wrap .title {
    font-size: 11px;
    color: #444;
}

.navbar-brand-wrap .navbar-brand {
    padding: 0;
}

.navbar-brand-wrap .navbar-brand .logo {
    width: auto;
    height: 60px;
    object-fit: contain;
}

#bootscore-navbar {
    margin: 0 auto;
}

.nav-separate {
    border-top: 1px solid #eee;
}

.nav-link {
    font-weight: bold;
}

@media (min-width: 992px) {
    .nav-link {
        padding-right: 24px !important;
        padding-left: 24px !important;
    }
}

li.nav-item {
    position: relative;
}

li.nav-item::after {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--link-hover-color);
    opacity: 0;
    transition: opacity 0.15s ease-out;
}

li.nav-item:hover::after {
    opacity: 1;
}

.nav-link:hover {
    color: var(--link-hover-color);
    text-decoration: none !important;
}

@media (max-width: 767px) {
    .navbar {
        height: 50px;
    }

    .navbar-brand-wrap .navbar-brand .logo {
        height: 42px;
        object-fit: contain;
    }
}

img {
    object-fit: cover;
}

.ratio-3x2 {
    --bs-aspect-ratio: calc(2 / 3 * 100%);
}

.caption {
    font-size: 11px !important;
    color: var(--bs-secondary-color) !important
}

#main-menu {
    position: relative;
    background-color: #fff;
}

#main-menu.fixed {
    display: block;
    position: fixed;
    top: -38px;
    left: 0;
    width: 100%;
    z-index: 10;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    transition: top 0.15s ease-out;
}

#main-menu.fixed.in {
    top: 0;
}

@media (max-width: 767px) {
    #main-menu {
        position: absolute;
        top: -50px;
        right: 0;
        width: 50px !important;
        height: 50px !important;
        background-color: rgba(255, 255, 255, 0.9);
    }

    .menu-open a {
        position: absolute;
        top: 0;
        right: 0;
        background-color: transparent;
    }


    #main-menu.fixed {
        width: 50px;
        top: -50px;
        left: auto;
        right: 0;
    }
}

/**
 * home
 * ----------------------------------------------------------------------------
 */

 .home h2 {
    position: relative;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    margin: 0;
    font-weight: bold;
    z-index: 1;
    font-size: 37px;
}

.home h2 span:first-child {
    font-size: 25px;
}

.home h2 span:last-child {
    margin-top: 0.25rem;
}

@media (max-width: 767px) {
    .home h2 {
        font-size: 20px;
    }

    .home h2 span:first-child {
        font-size: 15px;
    }
}

#kv {
    position: relative;
    width: 100%;
    height: calc(100vh - 136px - 110px);
}

#kv {
    position: relative;
    margin-bottom: 0;
    background-color: #000;
}

#kv h1 {
    color: #fff;
    font-weight: 600;
}

#kv img#kv-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
}

#kv img.rank {
    width: 40%;
    height: auto;
}

.key-banner-wrap {
    width: 100%;
    background: rgba(0, 0, 0, 0.1);
    padding: 24px 0;
}

footer .key-banner-wrap {
    background: rgba(0, 0, 0, 0.7);
}

@media (max-width: 767px) {
    footer .key-banner-wrap {
        padding: 12px 0;
    }
    footer .key-banner-wrap .btn {
        font-size: 11px;
        width: auto;
        padding: 4px 10px;
        height: 40px;
    }
}

.key-banner .btn {
    display: flex;
    width: 100%;
    height: 62px;
}

@media (max-width: 767px) {
    #kv {
        height: calc(100vw * 3 / 4);
        margin-bottom: 100px;
    }

    #kv img.rank {
        margin: 0 auto;
        position: absolute;
        width: 100%;
        height: 200px;
        object-fit: contain;
        bottom: -100px;
    }
}

.box-step {
    position: relative;
    display: inline-block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: var(--bs-heading-color);
    transition: color 0.15s ease-out;
}

.box-step:hover {
    color: var(--link-hover-color);
    text-decoration: none !important;
}

.box-step img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.box-step .step {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    background-color: #ffa000;
    color: #fff;
    font-weight: bold;
    padding: 4px 12px;
}

.box-step .title {
    position: relative;
    padding: 4px;
    line-height: 120%;
    font-weight: bold;
}

.box-step i.r-arrow {
    position: absolute;
    right: 4px;
    top: 16px;
    transition: right 0.15s ease-out;
}

@media (max-width: 767px) {
    .box-step i.r-arrow {
        top: auto;
        bottom: 0;
    }
}

.box-step:hover i.r-arrow {
    right: 0px;
}

.box-step:hover i.r-arrow::before {
    background-color: var(--link-hover-color);
}

.box-step:hover i.r-arrow::after {
    background-color: var(--link-hover-color);
}

.box-text {
    position: relative;
    background: #000;
    overflow: hidden;
}

.box-text img {
    width: 100%;
    height: 100%;
    opacity: 0.7;
    object-fit: cover;
    transition: all 0.15s ease-out;
}

.box-text:hover img {
    transform:scale(1.05, 1.05);
}

.box-text .title {
    color: #fff;
    font-size: 45px;
    position: absolute;
    width: 100%;
    height: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    line-height: 120%;
    font-weight: bold;
}

.box-reason {
    display: block;
    position: relative;
    background: #000;
    overflow: hidden;
    color: var(--bs-heading-color);
    transition: color 0.15s ease-out;
    width: 100%;
}

.box-reason:hover {
    color: var(--link-hover-color);
}

.box-reason .title {
    position: absolute;
    background: #fff;
    bottom: 0;
    right: 0;
    width: 240px;
    height: 34px;
    line-height: 34px;
    padding: 0 16px;
    font-size: 19px;
}

.box-reason .r-arrow{
    position: absolute;
    right: 4px;
    bottom: 12px;
    transition: right 0.15s ease-out;
}

.box-reason:hover .r-arrow {
    right: 0;
}

.box-reason:hover i.r-arrow::before {
    transition: background-color 0.15s ease-out;
}

.box-reason:hover i.r-arrow::after {
    transition: background-color 0.15s ease-out;
}

.box-reason:hover i.r-arrow::after {
    background-color: var(--link-hover-color);
}

.box-reason:hover i.r-arrow::before {
    background-color: var(--link-hover-color);
}

.box-reason:hover i.r-arrow::after {
    background-color: var(--link-hover-color);
}

.box-counseling {
    position: relative;
    width: 100%;
    background-position: center;
    background-size: cover;
    color: #fff !important;
}

.box-counseling .box-counseling-contents {
    background-color: rgba(0, 0, 0, 0.6);
    font-size: 21px;
}

@media (max-width: 767px) {
    .box-counseling .box-counseling-contents {
        font-size: 13px;
    }
}

.box-experiences .title {
    padding-top: 4px;
    overflow: hidden;
    display: -webkit-box;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-height: 120%;
    font-weight: bold;
}

.box-experiences .name {
    font-size: 13px;
}

@media (max-width: 767px) {
    .box-experiences-wrap > div:nth-child(n+5) {
        display: none;
    }

    .box-experiences .title {
        font-size: 13px;
    }

    .box-experiences .name {
        font-size: 12px;
    }
}

.box-knowledge .title {
    padding-top: 4px;
    overflow: hidden;
    display: -webkit-box;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    line-height: 120%;
    font-weight: bold;
}

@media (max-width: 767px) {
    .box-knowledge-wrap > div:nth-child(n+5) {
        display: none;
    }

    .box-knowledge .title {
        font-size: 13px;
    }
}


/**
 * footer
 * ----------------------------------------------------------------------------
 */
footer {
    background: #f0f0f0;
    color: #666;
}

ul.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

ul.footer-list a {
    color: var(--bs-heading-color);
    text-decoration: none !important;
}

ul.footer-list a:hover {
    color: var(--link-hover-color);
    text-decoration: none !important;
}

.copyright {
    font-size: 13px;
}

@media (max-width: 767px) {
    ul.footer-list {
        font-size: 9px;
    }

    .copyright {
        font-size: 9px;
    }
}

.top-button {
    right: 0;
    bottom: 0;
    z-index: 10;
}

/**
 * swiper
 * ----------------------------------------------------------------------------
 */
.swiper {
    width: 100%;
    padding-bottom: 30px;
}


.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-pagination-bullet {
    position: relative;
    border-radius: 0;
    width: 10px;
    height: 10px;
    background: transparent;
}

.swiper-pagination-bullet::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #000;
    opacity: 0.75;
}

.swiper-pagination-bullet.swiper-pagination-bullet-active::after {
    background-color: var(--link-hover-color);
    opacity: 1;
}

.swiper-button-next,
.swiper-button-prev {
    top: calc(50% - 12px);
}

/**
 * mobileメニュー
 * ----------------------------------------------------------------------------
 */
.navbar-nav {
    justify-content: center;
}

@media (max-width: 767px) {
    .offcanvas-body {
        padding-top: 0;
    }

    .offcanvas-title {
        color: var(--link-hover-color);
        font-weight: normal;
    }

    .btn-close {
        background: none;
        position: relative;
        opacity: 1 !important;
    }

    .btn-close::after,
    .btn-close::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 2px; /* 棒の幅（太さ） */
        height: 24px; /* 棒の高さ */
        background-color: var(--link-hover-color);
    }

    .btn-close::before {
        transform: translate(-50%,-50%) rotate(45deg);
    }

    .btn-close::after {
        transform: translate(-50%,-50%) rotate(-45deg);
    }

    .offcanvas-header {
        justify-content: flex-end;
    }

    .offcanvas.offcanvas-end {
        border: none;
    }

    .navbar-nav .menu-item {
        position: relative;
        padding-left: 12px;
        border-top: 1px solid var(--link-hover-color);
    }


    .navbar-nav .menu-item::before{
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        content: '\f054';
        color: var(--link-hover-color);
        position: absolute;
        right: 4px;
        font-size: 14px;
        top: 10px;
    }

    .navbar-nav .menu-item:last-child {
        border-bottom: 1px solid var(--link-hover-color);
    }

    .navbar-nav .menu-item a,
    .navbar-nav .menu-item a.active {
        color: var(--link-hover-color);
    }

    .navbar-nav li.nav-item::after {
        display: none;
    }
}

/**
 * 固定ページの汎用スタイル
 * ----------------------------------------------------------------------------
 */
 .static-page b {
    font-size: 1.08rem;
 }
 .static-page article {
    position: relative;
 }

 .static-page .page-header {
    display: block;
    position: relative;
    background-color: #000;
    width: 100%;
    min-height: 377px;
}

.static-page .page-header .bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.static-page article > .bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
    z-index: 0;
}

.static-page .page-header h1 {
    position: relative;
    padding: 70px 70px 64px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    text-align: center;
    line-height: 100%;
    font-weight: bold;
    z-index: 1;
}

.static-page .page-header h1 span:first-child {
    font-size: 37px;
}

.static-page .page-header h1 span:last-child {
    font-size: 47px;
}

.static-page .page-header h1 hr {
    border-top: 5px solid #fff;
    opacity: 1;
    margin: 20px 0 24px;
}

@media (max-width: 767px) {
    .static-page .page-header h1 {
        padding: 20px 20px 14px;
    }

    .static-page .page-header h1 span:first-child {
        font-size: 17px;
    }
    
    .static-page .page-header h1 span:last-child {
        font-size: 27px;
    }

    .static-page .page-header h1 hr {
        border-top: 2px solid #fff;
        margin: 10px 0 14px;
    }
}

.static-page h2 {
    position: relative;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    margin: 0;
    font-weight: bold;
    z-index: 1;
    font-size: 37px;
}

.static-page h2 span:first-child {
    font-size: 25px;
}

.static-page h2 span:last-child {
    margin-top: 0.25rem;
}

.static-page h3 {
    position: relative;
    width: 100%;
    text-align: center;
    font-size: 18px !important;
}

@media (max-width: 767px) {
    .static-page h2 {
        font-size: 19px;
    }

    .static-page h2 span:first-child {
        font-size: 15px;
    }
    
    .static-page h2 span:last-child {
        margin-top: 0;
    }
}

.static-page h3 {
    font-weight: bold;
    font-size: 19px;
    margin: 0;
}

@media (max-width: 767px) {
    .static-page h3 {
        font-size: 17px !important;
    }
}

.static-page .page-header-staff {
    display: block;
    position: relative;
    background-color: #000;
    width: 100%;
    min-height: calc(100vh - 136px);
}

.static-page .page-header-staff .bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.5;
}

.static-page .page-header-staff h1 {
    position: absolute;
    top: 50%;
    left: 15%;
    color: #fff;
    line-height: 100%;
    font-weight: bold;
    z-index: 1;
    font-size: 37px;
}

.static-page .page-header-staff h1 span:last-child {
    font-size: 51px;
}

.static-page .page-header-staff h1 hr {
    border-top: 5px solid #fff;
    opacity: 1;
    margin: 10px 0;
}

@media (max-width: 767px) {
    .static-page .page-header-staff {
        min-height: calc(100vh - 50px);
    }

    .static-page .page-header-staff h1 {
        left: 10px;
        font-size: 17px;
    }
    
    .static-page .page-header-staff h1 span:last-child {
        font-size: 27px;
    }

    .static-page .page-header-staff h1 hr {
        border-top: 2px solid #fff;
    }
}

/**
 * 学校アーカイブ
 * ----------------------------------------------------------------------------
 */
.school-archive-box a {
    text-decoration: none !important;
}

.school-archive-box .description {
    line-height: 120%;
}

.school-archive-box .title {
    text-align: center;
    color: var(--body-color);
    font-size: 21px;
}

.school-archive .tab {
    background-color: var(--link-hover-color);
    color: #fff;

    display: flex;
    width: 100%;
    font-size: 31px;
    line-height: 60px;
}

.school-archive .tab .tab-item {
    display: inline-block;
    width: 50%;
    text-align: center;
    position: relative;
    padding: 8px 0;
}

.school-archive .tab .tab-item:first-child {
    padding-left: 8px;
}

.school-archive .tab .tab-item:last-child {
    padding-right: 8px;
}

.school-archive .tab .tab-item.active::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 10px;
    top: -10px;
    left: 0;
    background-color: var(--link-hover-color);
}

.school-archive .tab .tab-item a {
    display: inline-block;
    width: 100%;
    background-color: #fff;
    color: var(--body-color);
}

.pagination {
    width: 100%;
    display: flex;
}

.pagination ul {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0 auto;
}

.pagination ul > li > span,
.pagination ul > li > a {
    display: inline-block;
    border: 1px solid #f0f0f0;
    line-height: 31px;
    margin: 0 4px;
    border-radius: 4px;
    padding: 2px 0;
    min-width: 35px;
    text-align: center;
    transition: all 0.15s ease-out;
}

.pagination ul > li > a:hover {
    border-color: var(--link-hover-color);
}

/**
 * サポート
 * ----------------------------------------------------------------------------
 */
.school-tab {
    background-color: var(--link-hover-color);
}

.school-tab li {
    width: 50%;
    padding: 8px 0;
    position: relative;
}

.school-tab li:first-child {
    padding-left: 8px;
}

.school-tab li:last-child {
    padding-right: 8px;
}

.school-tab li a {
    display: inline-block;
    width: 100%;
    text-align: center;
    background-color: #fff;
    color: var(--body-color);
    transition: all 0.15s ease-out;
    font-size: 31px;
    line-height: 60px;
    cursor: pointer;
}

.school-tab li.active a {
    background-color: var(--link-hover-color);
    color: #fff;
    cursor: default;
}

.school-tab li::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 10px;
    top: -10px;
    left: 0;
    background-color: #fff;
    transition: all 0.15s ease-out;
}

.school-tab li.active::after {
    background-color: var(--link-hover-color);
}

.school-pane {
    border: 1px solid #f0f0f0;
    border-top: none;
    padding: 0 10px;
}

/**
 * 選ばれる理由
 * ----------------------------------------------------------------------------
 */
.box-reason-item {
    position: relative;
    background-color: #fff;
    display: flex;
    flex-direction: column;
}

.box-reason-item .title {
    background-color: var(--link-hover-color);
    display: flex;
    padding: 6px;
}

.box-reason-item .title div:first-child {
    width: 50px;
    height: 50px;
    background-color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 13px;
    line-height: 110%;
    font-weight: bold;
    padding-top: 12px;
}

.box-reason-item .title div:last-child {
    text-align: center;
    margin: 0 auto;
    color: #fff;
    display: flex;
    align-items: center;
    line-height: 130%;
    font-weight: bold;
}

table.table-comparison thead tr {
    border-top: none;
}

table.table-comparison tbody tr {
    border-top: 1px solid #444 !important;
}

table.table-comparison td {
    border: 1px solid #444 !important;
    vertical-align: middle;
    white-space: nowrap;
}

table.table-comparison thead th {
    border: none;
    background-color: transparent !important;
    vertical-align: middle;
    font-weight: bold;
    white-space: nowrap;
}

table.table-comparison thead th img {
    width: auto;
    height: 51px;
}

/**
 * 見積もり依頼
 * ----------------------------------------------------------------------------
 */
table.table-quotation {
    border-color: var(--body-color);
}

/**
 * 体験談アーカイブ
 * ----------------------------------------------------------------------------
 */
.experiences-archive {

}

/**
 * LP
 * ----------------------------------------------------------------------------
 */
.lp-header {
    display: block;
    position: relative;
    background-color: #000;
    width: 100%;
    height: 100vh;
    color: #fff;
}

.lp-header .bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.5;
}

.lp-header .title {
    position: relative;
    font-size: 27px;
    z-index: 1;
    font-weight: bold;
}

.lp-header .title > span {
    position: relative;
}

.lp-header .title > span::after {
    content: '';
    position: absolute;
    left: 0;
    top: 33px;
    width: 100%;
    height: 3px;
    background-color: #fff;
}

.lp-header .title > h1 {
    margin: 0;
    padding: 0;
    font-size: 61px;
    font-weight: bold;
}

.lp-header .title > h1 > span {
    font-size: 41px;
    position: relative;
    top: -6px;
}

.lp-header .balloon {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0;
    align-items: center;
    width: 300px;
    height: 300px;
    line-height: 130%;
    text-align: center;
    color: #FFF;
    font-size: 21px;
    font-weight: bold;
    background: var(--link-hover-color);
    border-radius: 50%;
    box-sizing: border-box;
    padding: 10px;
    z-index: 1;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
}

.lp-header .balloon:before {
    content: "";
    position: absolute;
    bottom: -20px;
    left: -80px;
    margin-top: -120px;
    border: 30px solid transparent;
    border-left: 120px solid var(--link-hover-color);
    z-index: 0;
    -webkit-transform: rotate(135deg);
    transform: rotate(135deg);
}

.lp-header .balloon .emp {
    line-height: 120%;
    font-size: 31px;
}

img.guidebook {
    position: absolute;
    right: 310px;
    bottom: 0px;
    width: 240px;
    height: auto;
    z-index: 0;
    box-shadow: 0 0 8px rgba(255, 255, 255, 1);
}

.lp-page ul.check-list {
    list-style: none;
    font-size: 19px;
    font-weight: bold;
    padding-left: 0;
}

.lp-page ul.check-list > li {
    line-height: 31px;
    display: flex;
    align-items: center;
}

.lp-page ul.check-list > li > span {
    display: inline-block;
    width: 31px;
    height: 31px;
    border: 1.5px solid #f00;
    margin-right: 10px;
}

.lp-page ul.check-list li .fa {
    font-size: 31px;
    position: relative;
    top: -5px;
    right: -5px;
}

.lp-page ul.check-list li:not(:first-child) {
    margin-top: 10px;
}

@media (max-width: 767px) {
    .lp-header .balloon {
        padding: 0;
        width: 160px;
        height: 160px;
        font-size: 11px;
    }

    .lp-header .balloon .emp {
        font-size: 15px;
    }

    .lp-header .balloon:before {
        bottom: -10px;
        left: -40px;
        margin-top: -60px;
        border: 15px solid transparent;
        border-left: 60px solid var(--link-hover-color);
    }

    .lp-header .title {
        text-align: center;
        font-size: 17px;
    }

    .lp-header .title > span {
        display: inline-block;
        line-height: 170%;
    }

    .lp-header .title > span::after {
        content: '';
        position: absolute;
        left: 0px;
        top: 28px;
        width: 100%;
        height: 1.5px;
        background-color: #fff;
    }

    .lp-header .title > h1 {
        font-size: 37px;
    }

    .lp-header .title > h1 > span {
        font-size: 27px;
        top: -2px;
    }

    .lp-header img.guidebook {
        left: -120px;
        top: -10px;
        width: auto;
        height: 200px;
        z-index: 0;
    }
}

.lp-page ul.qa {
    list-style: none;
}

.lp-page ul.qa li {
    position: relative;
}

.lp-page ul.qa li.q {
    color: rgb(var(--bs-danger-rgb));
    font-weight: bold;
}

.lp-page ul.qa li.q:not(:first-child) {
    margin-top: 10px;
}

.lp-page ul.qa li::before {
    position: absolute;
    left: -18px;
}

.lp-page ul.qa li.q::before {
    content: 'Q.';
}

.lp-page ul.qa li.a::before {
    content: 'A.';
}

ul.sns-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    margin: 0 auto;
}

ul.sns-list li {
    padding: 0 6px;
}

ul.sns-list li img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

ul.faq {
    list-style: none;
}

ul.faq li {
    position: relative;
    padding-bottom: 8px;
}

ul.faq li > div.q {
    color: rgb(var(--bs-danger-rgb));
    font-weight: bold;
}

ul.faq li > div.q:not(:first-child) {
    margin-top: 10px;
}

ul.faq li > div::before {
    position: absolute;
    left: -18px;
}

ul.faq li > div.q::before {
    content: 'Q.';
}

ul.faq li > div.a::before {
    content: 'A.';
}

/**
 * 短期親子留学
 * ----------------------------------------------------------------------------
 */
 .header-pac {
    height: calc(100vh - 136px);
}

.header-pac .title > span {
    font-size: 41px;
    background-color: #FF968D;
    padding: 10px 20px;
}

.header-pac .title > span::after {
    display: none;
}

.header-pac .title > h1 {
    font-size: 91px;
}

.header-pac .balloon {
    width: 240px;
    height: 240px;
    line-height: 130%;
    background: #FF968D;
}

.header-pac .balloon:before {
    bottom: 10px;
    left: -50px;
    border: 20px solid transparent;
    border-left: 80px solid #FF968D;
}

@media (max-width: 767px) {
    .header-pac .title > span {
        font-size: 17px;
    }

    .header-pac .title > h1 {
        font-size: 41px;
    }

    .header-pac .balloon {
        width: 160px;
        height: 160px;
        line-height: 130%;
        background: #FF968D;
    }

    .header-pac .balloon .emp {
        font-size: 17px;
    }

    .header-pac .balloon:before {
        bottom: 10px;
        left: -40px;
        border: 10px solid transparent;
        border-left: 60px solid #FF968D;
    }
}

/**
 * 留学フェア
 * ----------------------------------------------------------------------------
 */
.font-mincho {
    font-family: 'Yu Mincho', 'YuMincho', 游明朝, 游明朝体;
}

.abroad_fair_header {
    background-color: #faf8d2;
    padding-bottom: 50px;
    color: #976a25;
    font-size: 19px;
}

.abroad_fair_header .days {
    position: relative;
    width: 100%;
    background-color: #e94b52;
    margin-bottom: 50px;
    font-size: 2.5rem;
}

.abroad_fair_header .days::after {
    position: absolute;
    content: '';
    border-top: 50px solid #e94b52;
    border-left: 0 solid transparent;
    border-right: 100vw solid transparent;
    height: 0;
    width: 100%;
    left: 0;
    bottom: -49px;
    z-index: 1;
}

.abroad_fair_header h1 {
    font-size: 170px;
    font-weight: bold;
    line-height: 100%;
}

@media (max-width: 767px) {
    .abroad_fair_header .days{
        font-size: 25px;
    }

    .abroad_fair_header h1 {
        font-size: 61px;
        line-height: 110%;
    }

    .abroad_fair_header .days {
        padding-bottom: 8px;
    }
    .abroad_fair_header .days::after {
        border-top: 20px solid #e94b52;
        bottom: -19px;
    }
}

/**
 * ページネーション
 * ----------------------------------------------------------------------------
 */
.entry-footer {
    background-color: #fff !important;
}

.page-link {
    color: var(--link-hover-color);
}

.page-link:hover {
    color: var(--link-hover-color);
}

.page-link.active, .active > .page-link {
    background-color: var(--link-hover-color);
    border-color: var(--link-hover-color);
}
