/* =====================================================================
【メモ】
background-image: url('../images/dammy.webp'),


@media (max-width: 500px) {
    .class {
        max-width: 100%;
    }
}



===================================================================== */

/* =====================================================================
　適用ページ：全ページ
　適用箇所　：ヘッダー
　目　的　　：背景色を変える、SPサイズではフッター固定のLINEボタンと被る為、下余白をあける
===================================================================== */

/* 位置調整 */
.l-header__content .c-row--middle {
    align-items: flex-end !important;
}

/* 折り返し防止、カラー変更、文字サイズ変更 */
.l-header__content .p-global-nav span {
    white-space: nowrap !important;
    color: #4b0e0e !important;
    font-size: 21px !important;
}

/* hover設定 */
.l-header__content .p-global-nav a {
    transition: opacity 0.3s ease !important;
}

.l-header__content .p-global-nav a:hover {
    opacity: 0.7 !important;
}

/*  */
@media (max-width: 1200px) {
    .l-header__content .p-global-nav a {
        padding-inline: 12px !important;
        font-size: 18px !important;
    }
}

/* =====================================================================
　適用ページ：全ページ
　適用箇所　：ハンバーガーボタン
　目　的　　：小さい為、大きくする。「MENU」を消す
===================================================================== */

.c-hamburger-btn__bars {
    transform: scale(1.5) !important;
}

.c-hamburger-btn__label {
    display: none !important;
}

/* =====================================================================
　適用ページ：全ページ
　適用箇所　：ドロワーメニュー
　目　的　　：小さい為、文字サイズを変更
===================================================================== */

.p-drawer-sub-nav li a {
    font-size: 1.5rem !important;
}

/* =====================================================================
　適用ページ：全ページ
　適用箇所　：フッターコピーライト
　目　的　　：背景色を変える、SPサイズではフッター固定のLINEボタンと被る為、下余白をあける
===================================================================== */

.c-copyright--inverse {
    background-color: #fff;
    color: #3e3131;
}

@media (max-width: 640px) {
    .c-copyright--inverse {
        padding-bottom: 80px !important;
    }
}

/* =====================================================================
　適用ページ：全ページ
　適用箇所　：フッターのナビゲーション（html構造は 外観 > ウィジェット に追加）
　目　的　　：配置の調整
===================================================================== */

.xcs-footer-nav {
    justify-content: space-between;
}

.l-footer-widget-area .is-content-justification-space-between {
    justify-content: space-between;
    width: 90% !important;
    max-width: 600px !important;
}

.l-footer {
    border: none;
}

/* =====================================================================
　適用ページ：全ページ
　適用箇所　：ボタン
　目　的　　：ホバーアニメーションの変更
===================================================================== */

.xcs-button-green a {
    border: 3px solid transparent;
}

.xcs-button-green a:hover {
    background: #fff !important;
    color: #00a069 !important;
    border: 3px solid #00a069 !important;
    filter: none !important;
}

/* =====================================================================
　適用ページ：フロントページ
　適用箇所　：画面サイド追従の「お問い合わせ」ボタン（ブロックテーマ編集画面の最下部にブロックあり）
　目　的　　：画面サイドに固定。PC／SPでの表示切替はsnow-monkey-editorで対応。
===================================================================== */

.xcs-sidePC-button {
    width: fit-content;
    position: fixed;
    bottom: 10px;
    right: 0px;
    z-index: 1000;
}

/* =====================================================================
　適用ページ：フロントページ
　適用箇所　：画面下追従の「LINEお問い合わせ」ボタン（ブロックテーマ編集画面の最下部にブロックあり）
　目　的　　：画面下に固定。PC／SPでの表示切替はsnow-monkey-editorで対応。
===================================================================== */

.xcs-bottomSP-button {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: 1000;
}

.xcs-bottomSP-button .smb-section__inner,
.xcs-bottomSP-button .c-container,
.xcs-bottomSP-button .smb-section__contents-wrapper,
.xcs-bottomSP-button .smb-section__body {
    width: 100%;
}

.xcs-bottomSP-button .wp-block-snow-monkey-blocks-flex,
.xcs-bottomSP-button .wp-block-group.is-nowrap {
    display: flex;
    justify-content: center;
    align-items: center;
}

.xcs-bottomSP-button a {
    text-decoration: none !important;
}

/* =====================================================================
　適用ページ：フロントページ
　適用箇所　：h2タイトル
　目　的　　：タイトルの装飾
===================================================================== */

.xcs-h2-title {
    position: relative;
    width: fit-content;
}

.xcs-h2-title::before {
    content: '';
    width: 3px;
    height: 100%;
    position: absolute;
    top: 50%;
    left: -40px;
    transform: translateY(-50%) rotate(-25deg);
    background-color: #4b0e0e;
}

.xcs-h2-title::after {
    content: '';
    width: 3px;
    height: 100%;
    position: absolute;
    top: 50%;
    right: -40px;
    transform: translateY(-50%) rotate(25deg);
    background-color: #4b0e0e;
}

/* =====================================================================
　適用ページ：フロントページ
　適用箇所　：メインビジュアル左下のロゴ
　目　的　　：メインビジュアル下に配置
===================================================================== */

.xcs-mainvisual-logo {
    width: fit-content;
    position: absolute;
    top: -160px;
    left: 40px;
    width: clamp(180px, 22vw, 254px) !important;
    z-index: 100;
}

@media (max-width: 640px) {
    .xcs-mainvisual-logo {
        top: -110px;
        left: 40px;
    }
}

@media (max-width: 550px) {
    .xcs-mainvisual-logo {
        top: -110px;
        left: 10px;
    }
}

/* =====================================================================
　適用ページ：フロントページ
　適用箇所　：冒頭セクションのメッセージボックス
　目　的　　：画像の上に、テキストを配置する
===================================================================== */

/* === PC用 === */
.xcs-front-messageBox--pc {
    position: absolute !important;
    top: 42%;
    left: 47%;
}

@media (max-width: 800px) {
    .xcs-front-messageBox--pc {
        top: 38%;
        left: 45%;
    }
}

.xcs-front-messageBox--pc h2 {
    font-size: clamp(14px, 3.1vw, 42px) !important;
    /* fz42px ÷ 1350px幅 = 3.1vw */
}

.xcs-front-messageBox--pc p {
    font-size: clamp(8px, 1.48vw, 20px) !important;
    /* fz20px ÷ 1350px幅 = 1.48vw */
}

/* === TAB、SP用 === */
.xcs-front-messageBox--sp {
    position: absolute !important;
    top: 43%;
    left: 5%;
}

@media (max-width: 550px) {
    .xcs-front-messageBox--sp {
        top: 41%;
        left: 1%;
    }
}

.xcs-front-messageBox--sp h2 {
    font-size: clamp(12px, 5.9vw, 38px) !important;
    /* fz38px ÷ 640px幅 = 3.1vw */
}

.xcs-front-messageBox--sp p {
    font-size: clamp(8px, 3vw, 20px) !important;
    /* fz20px ÷ 640px幅 = 3.1vw */
}

/* =====================================================================
　適用ページ：フロントページ
　適用箇所　：冒頭のセクション
　目　的　　：写真の位置調整
===================================================================== */

.xcs-front-textTop-img {
    margin-top: -100px !important;
    margin-bottom: -100px !important;
    margin-right: 80px !important;
    width: clamp(250px, 30vw, 394px) !important;
}

.xcs-front-textBottom-img {
    margin-top: -150px !important;
    margin-right: 60px !important;
    width: clamp(300px, 35vw, 478px) !important;
}

@media (max-width: 1200px) {
    .xcs-front-textBottom-img {
        margin-top: -40px !important;
        margin-right: 30px !important;
    }
    .xcs-front-textTop-img {
        margin-right: 30px !important;
    }
}

@media (max-width: 900px) {
    .xcs-front-textBottom-img {
        margin-top: 10px !important;
        margin-right: 30px !important;
    }
    .xcs-front-textTop-img {
        margin-right: 10px !important;
        margin-top: -60px !important;
        margin-bottom: -30px !important;
    }
}

/* =====================================================================
　適用ページ：フロントページ
　適用箇所　：「卒業後の進路」セクション
　目　的　　：吹き出し用の三角形追加
===================================================================== */

.xcs-course-fukidashi {
    position: relative;
}

.xcs-course-fukidashi::after {
    content: '';
    position: absolute;
    left: 75%;
    top: 99%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 26px solid transparent;
    border-right: 26px solid transparent;
    border-top: 36px solid #fff;
}

/* =====================================================================
　適用ページ：フロントページ
　適用箇所　：「見学はいつでもOK」セクション
　目　的　　：丸の中に文章を配置する。SPでレイアウトを変える
===================================================================== */

.xcs-kengaku-item {
    position: relative;
    width: 230px !important;
    max-width: 230px !important;
}

.xcs-kengaku-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin-top: 0 !important;
    font-size: clamp(14px, 3vw, 36px) !important;
    white-space: nowrap;
}

@media (max-width: 640px) {
    .xcs-kengaku {
        position: relative;
        padding-bottom: 300px;
    }
    .xcs-kengaku-item {
        width: 177px !important;
        max-width: 177px !important;
    }
    .xcs-kengaku-item:nth-child(2) {
        position: absolute !important;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
    }
    .xcs-kengaku-item:nth-child(1) {
        position: absolute !important;
        top: 140px;
        left: 11%;
    }
    .xcs-kengaku-item:nth-child(3) {
        position: absolute !important;
        top: 140px;
        right: 11%;
    }
}

@media (max-width: 600px) {
    .xcs-kengaku-item:nth-child(1) {
        top: 145px;
        left: 8%;
    }
    .xcs-kengaku-item:nth-child(3) {
        top: 145px;
        right: 8%;
    }
}

@media (max-width: 550px) {
    .xcs-kengaku-item:nth-child(1) {
        top: 150px;
        left: 4%;
    }
    .xcs-kengaku-item:nth-child(3) {
        top: 150px;
        right: 4%;
    }
}

/* =====================================================================
　適用ページ：フロントページ
　適用箇所　：「見学はいつでもOK」セクションの「まずはLINEでご相談くださ」部分
　　　　　　　「卒業後の進路」セクションの「好きを見つける4年間と・・・・」部分
　目　的　　：丸の中に文章を配置する。SPでレイアウトを変える
===================================================================== */

.xcs-nowrap {
    white-space: nowrap !important;
}
