@charset "utf-8";

/* 全体のリセット */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background:#f9f9f9;
    /*background: no-repeat url("../image/top_background.jpg");*/
    font-family: "Noto Sans", sans-serif;  
}

/*フォント*/
.main_noto_font{
	font-family: "Noto Sans", sans-serif;
}

footer.site-footer{
    max-width:2500px;
}
:target::before {
  content: "";
  display: block;
  height: 120px; /* 固定ヘッダーの高さに合わせて調整 */
  margin-top: -120px; /* ヘッダーの高さと同じ値を指定 */
}
@media (max-width: 1024px) {
    :target::before {
        height: 70px; /* 固定ヘッダーの高さに合わせて調整 */
        margin-top: -70px; /* ヘッダーの高さと同じ値を指定 */
    }
}
.footer_ima_muryo{
    transition: transform .3s ease;
}
.footer_ima_muryo:hover{
    filter: brightness(0.9); 
}
/*footerスマホボタン*/
.footer_sf_btn {
    position: fixed;
    bottom: -100px; /* 初期状態は見えない位置 */
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 100%;
    background-color: rgba(0, 0, 0, 0.1);
    padding: 10px 30px;
    text-align: center;
    z-index: 1000;
    opacity: 0; /* 初期状態は透明 */
    transition: bottom 0.8s ease-in-out, opacity 0.8s ease-in-out;
}
.footer_sf_btn.show {
    bottom: 0px; /* スクロール時に表示 */
    opacity: 1;
}

.fixed-trial-btn {
    display: block;
    background-color: #f6ab00;
    max-width:400px;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    padding: 15px 20px;
    border-radius: 15px;
    border: 1px solid #f6ab00;
    margin: 0 auto;
}

.fixed-trial-btn:hover {
    background-color: #fff;
    color: #f6ab00;
    border: 1px solid #f6ab00;
}

/* スマホ表示のみに適用 */
@media (min-width: 768px) {
  .footer_sf_btn, .fixed-trial-btn {
    display: none;
  }
}


/*パンクズリスト*/
nav.breadcrumb{
    font-size:18px;
    font-family: "Noto Sans Gothic", Sans-serif;
}
@media (max-width: 1024px) {
    nav.breadcrumb{
        font-size:14px;
    }
}
@media (max-width: 767px) {
    nav.breadcrumb{
        font-size:13px;
    }
}
.none_view{
    display:none;
}
.pc_view{
    display:block;
}
.pc_view_flex{
	display:flex;
}
.pc_view_grid{
	display:grid;
}
.sf_view{
    display:none;
}
.sf_view_grid{
    display:none;
}
.rs_space{
    display:none;
}

@media (max-width: 1024px) {
    .rs_space{
        display:block;
    }
}
@media (max-width: 767px) {
    .pc_view{
        display:none;
    }
	.pc_view_flex{
	display:none;
}
	.pc_view_grid{
	display:none;
}
    .sf_view{
        display:block;
    }
	.sf_view_grid{
    display:grid;
}
}

/* 共通のコンテナ設定 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* PC表示時の余白を増やす */
@media (min-width: 992px) {
    .container {
        padding: 0 50px;
    }
}
/*ページナビスタイル*/
.wp-pagenavi .current {
    background: #79affa;
    color: #FFF;
}
.wp-pagenavi span, .wp-pagenavi a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2vw;
    height: 2vw;
    margin: 5px 8px;
    padding-top: 1px;
    color: #000;
    font-family: "Noto Sans", Sans-serif;
    font-size: 18px;
    font-weight: 600;
    border-radius:30px;
}
@media screen and (max-width: 1240px) {
    .wp-pagenavi span, .wp-pagenavi a {
        font-size:20px;
        width:3vw;
        height:3vw;
    }
}
@media screen and (max-width: 767px) {
    .wp-pagenavi span, .wp-pagenavi a {
        font-size:18px;
        width:27px;
        height:27px;
    }
}
/* teacher-archiveがcontainerのパディングと競合しないように設定 */
.teacher-archive {
    padding: 0;
}

/* ヘッダーとフッター */
.site-header .container,
.site-footer .container {
    max-width: 100%;
    margin: 0 auto;
    padding-top:20px;
    padding-bottom:20px;
    padding-left:12em;
    padding-right:12em;
}

/* ページ全体の中央揃え設定 */
.page-header .container,
.site-main .container,
.footer-inner .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* レスポンシブ対応 */
@media (min-width: 992px) {
    .page-header .container,
    .site-main .container,
    .footer-inner .container {
        padding: 0 50px; /* PC表示時に左右に50pxのパディング */
    }
}

.marker p {
  text-decoration: underline; /* 下線 */
  text-decoration-thickness: 0.5em; /* 線の太さ */
  text-decoration-color: rgba(255, 228, 0, 0.4); /* 線の色 */
  text-underline-offset: -0.2em; /* 線の位置。テキストに重なるようにやや上部にする */
  text-decoration-skip-ink: none; /* 下線と文字列が重なる部分でも下線が省略されない（線が途切れない） */
}


/* 共通ヘッダー */

/* ヘッダー全体のスタイル */
header {
    background-color: #fff;
    color: #015e8e;
    position: fixed;
    top: 0;
    width: 100%;
    height: 10vh;
    z-index: 99999;
    display: flex;
    justify-content:center;
    align-items: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
}
header.active{
    background: rgba(255, 255, 255, 0.7); 
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 1500px;
    max-width:1500px;
    height: 100%;
    padding: 0 20px;
    box-sizing: border-box;
}

/* ロゴのスタイル */
.header-logo .logo img,
.logo-box img {
    max-height: 100px;
    max-width: 400px;
    display: block;
}


.logo-box {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.header--xs{
    display:none;
}
@media (max-width: 1400px) {
    .header-logo .logo a img {
        width: 250px;
    }
}
/* レスポンシブ対応 */
@media screen and (max-width: 1024px) {
    .header--md {
        display: none;
    }

    .header--xs {
        display: flex;
        height:60px;
        background-color: #fff;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
        position: fixed;
        top: 0;
        width: 100%;
        justify-content: center;
        align-items: center;
        z-index: 3;
    }
    .header--xs.active{
        background: rgba(255, 255, 255, 0.9); 
    }
    .logo-box img {
        width: 200px;
    }
}

.header--xs__wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 90%;
}

/* グローバルナビゲーション */
.gnav-list {
    display: flex;
    font-size:17px;
    font-family: "Noto Sans", sans-serif;
    font-weight: 600;
    margin: 0;
    padding: 0;
    list-style: none;
}

.gnav-item {
    text-align: center;
    padding: 1em 1em;
}

.gnav-list a {
    color: #525151;
    text-decoration: none;
    transition: color 0.2s ease-in;
}

.gnav-list a:hover {
    color: #a9b8d3;
}

/* お問い合わせボタン */
.gnav-item__contact a {
    font-weight: 600;
    color: #fff;
    background:#f6ab00;
    padding: 1em 2em;
    border:1px #f6ab00 solid;
}

.gnav-item__contact a:hover {
    background-color: #fff;
    color: #f6ab00;
    border:1px #f6ab00 solid;
}

/* ハンバーガーメニュー */
#nav_toggle {
    position: relative;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
}

#nav_toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: #000;
    margin: 6px 0;
    transition: transform 0.3s, opacity 0.3s;
}

#nav_toggle.open span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

#nav_toggle.open span:nth-child(2) {
    opacity: 0;
}

#nav_toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* スライドメニュー */
#menu {

    position: fixed;
    left: -100%;
    width: 100%;
    transition: left 0.3s ease-in-out;
    z-index: 1000;
    overflow-y: auto;
}

#menu.open {
    left: 0;
}
#menu nav{
    background: rgba(255, 255, 255, 0.9); 
}

.gnav-item.gnav-item__sp {
    padding: 1.5em 1.5em;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

@media screen and (max-width: 1310px) {
    .gnav-item {
        padding:1em 0.8em;
    }
    .gnav-list {
        font-size:14px;
    }
}
@media screen and (max-width: 1024px) {
    .gnav-list {
        margin-top:1em;
        margin-bottom:1em;
        flex-direction: column; /* メニューを縦並びに */
        align-items: center; /* 中央揃え */
        border-top:1px #525151 solid;
        border-bottom:1px #525151 solid;
    }

    .gnav-item {
        padding: 0em 0em; /* 上下の余白を追加 */
        width: 100%; /* 横幅を全体に */
        text-align: center; /* 中央揃え */
    }

    .gnav-item a {
        display: block;
        width: 100%;
        padding: 1em 0;
        border-bottom: 1px #525151 solid;
    }
    .gnav-item__contact a {
        border:none;
    }
}


/* フッター全体のスタイル */
.site-footer {
    background:#a9b8d3;
    color: #525151;
    font-family: '小塚ゴシック Pr6N', 'Arial', sans-serif;
}

.footer-container {
    max-width: 1500px;
    
    margin:0 auto;
    padding:20px 50px 0px 50px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.footer-logo {
    width: 100%;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
}
.footer-logo.footer-bana{
	display:flex;
	justify-content: space-evenly;
	margin-top:20px;
}
.footer-logo .footer-logo_miradas{
	width:330px;
}
.footer-logo.footer-bana a{
	max-width:700px;
	margin-left:50px;
	margin-right:50px;
}
@media screen and (max-width: 1500px) {
    .footer-container {
        padding:20px 100px 0px 100px;
    }
}
@media screen and (max-width: 1024px) {
    .footer-container {
        padding-left:3em;
        padding-right:3em;
        gap:0px;
    }
	.footer-logo.footer-bana a{
		margin-left:10px;
		margin-right:10px;
	}
	.footer-logo .footer-logo_miradas{
		width:280px;
	}
}
@media (max-width: 767px) {
	.footer-logo.footer-bana{
		display:block;
	}
	.footer-logo.footer-bana a{
		margin:20px 20px;
	}
	.footer-logo.footer-bana a img{
		width:700px;
	}
    .footer-logo{
        margin-bottom:0px;
    }
    .footer-container {
        padding-left:10px;
        padding-right:10px;
    }
	.footer-logo .footer-logo_miradas{
		width:230px;
	}
}
/* ロゴの下の区切り線 */
.footer-divider {
    border: none;
    border-top: 1px solid #525151;
    margin: 10px 0;
    width: 100%;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px;
    width: 100%;
}
@media screen and (max-width: 1310px) {
    .footer-links {
        grid-template-columns: repeat(4, 1fr);
        gap:5px;
    }
}
.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 8px;
}

.footer-column ul li a {
    color: #525151;
    text-decoration: none;
    font-weight: 600; /* フォントの太さを指定 */
    font-size: 18px;
    transition: color 0.3s ease;
}
.footer-column ul .footer_school_item a {
    font-weight: 400; /* フォントの太さを指定 */
}
.footer-column ul li a:hover {
    color: #fff;
}

/* 著作権表示 */
.footer-bottom {
    width: 100%;
    text-align: center;
    font-size: 14px;
    color: #525151;
    padding: 30px 0px 0px 0px;
}
.footer-bottom .footer_comment {
    max-width:1500px;
    margin:0 auto;
    padding:0px 50px 0px 50px;
    text-align:left;
}
.footer-bottom-divider {
    border: none;
    border-top: 0px solid #525151;
    margin: 10px 0;
}
@media (max-width: 1500px) {
    .footer-bottom .footer_comment {
        padding:0px 100px 0px 100px;
    }
}
/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .footer-column ul li {
        margin-bottom: 0px;
    }
    .footer-column ul li a {
        font-size: 16px;
        font-weight:600;
    }
    .footer-bottom .footer_comment {
        padding-left:3em;
        padding-right:3em;
    }
}
@media (max-width: 767px) {
    .footer-links {
        grid-template-columns: 1fr 1fr; /* 2列のグリッド */
        /*grid-template-rows: 1fr 1fr;*/
        grid-template-areas:
        "left-top right-top"
        "left-bottom right-bottom"; /* エリアの配置を指定 */
        gap:0px;
    }
    .footer-column {
        text-align: left;
    }
    /* グリッドエリア指定 */
    .footer-column:nth-child(1) {
        grid-area: left-top; /* 左上 */
    }
    .footer-column:nth-child(2) {
        grid-area: left-bottom; /* 左下 */
    }
    .footer-column:nth-child(3) {
        grid-area: right-top; /* 右上 */
    }
    .footer-column:nth-child(4) {
        grid-area: right-bottom; /* 右下 */
    }
    .footer-column ul li a {
        font-size: 16px;
    }
    .footer-column ul li {
        padding:3px 0px 3px 0px;
    }
    .footer-bottom{
        padding:10px 10px 75px 10px;
    }
    .footer-bottom .footer_comment {
        padding-left:0em;
        padding-right:0em;
    }
}

/*フッターの校舎一覧*/
.school-list-section {
    max-width: 1500px; /* コンテナの最大幅 */
    margin: 0 auto; /* コンテナを中央揃え */
    padding:0 50px;
    padding-top: 20px;
    padding-bottom:20px;
    text-align: left; /* コンテナ全体を左寄せ */
}

.school-list-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #525151;
}

.school-list-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* 各校舎間のスペース */
}

.school-list-item {
    text-decoration: none;
    font-size: 18px; /* 校舎名のフォントサイズ */
    font-weight:600;
    color: #525151;
    transition: color 0.3s ease, transform 0.3s ease;
}

.school-list-item:hover {
    color: #000; /* ホバー時の色変更 */
    font-weight:600;
    transform: scale(1.1); /* ホバー時に拡大 */
}
@media screen and (max-width: 1500px) {
    .school-list-section {
        padding-left:100px;
        padding-right:100px;
    }
}
@media screen and (max-width: 1024px) {
    .school-list-section {
        padding-left:3em;
        padding-right:3em;
    }
    .school-list-title {
        font-size: 18px; /* モバイル用のタイトルフォントサイズ */
        margin-bottom:5px;
    }
    .school-list-item {
        font-size: 16px; /* モバイル用の校舎名フォントサイズ */
    }
}

@media (max-width: 767px) {
    .school-list-title {
        font-size: 16px; /* モバイル用のタイトルフォントサイズ */
    }
    .school-list-item {
        font-size: 15px; /* モバイル用の校舎名フォントサイズ */
    }
    .school-list-container {
        gap: 10px; /* モバイル用のスペース調整 */
    }
    .school-list-section {
        padding:10px 20px 10px 20px;
    }
}



/*アーカイブボタン*/

/* 投稿に飛ぶボタンのスタイル */
.btn-view-post {
    display: inline-block;
    padding: 8px 16px;
    margin-top: 10px;
    background-color: #1a73e8;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.btn-view-post:hover {
    background-color: #155bb5;
}
.school-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 20px;
}

.school-thumbnail {
    margin-bottom: 10px;
}

.school-info p {
    margin: 5px 0;
}

/* 各カスタムフィールドに個別のスタイルを適用したい場合 */
.address {
    font-weight: 600;
    color: #525151;
}

.acces {
    color: #666;
}

.time {
    color: #525151;
}

.yasumi {
    color: #999;
}

/*文字の太さをレスポンシブで変更*/
@media (max-width: 1024px) {
    .elementor-element.elementor-widget.elementor-widget-text-editor.sf_600{
        font-weight:600;
    }
}
/*トップページ*/

@media (max-width: 767px) {
    .elementor-element.elementor-widget.elementor-widget-text-editor.sf_500{
        font-weight:500;
    }
    .elementor-element.elementor-widget.elementor-widget-theme-post-content.sf_500{
        font-weight:500;
    }
    .elementor-element.elementor-widget.sf_500 .elementor-button{
        font-weight:500;
    }
}

@media (max-width: 1500px) {
    .elementor-62 .elementor-element.top_space1 {
        --spacer-size: 5rem;
    }
    .elementor-62 .elementor-element.top_space2 {
        --spacer-size: 4rem;
    }
    .elementor-62 .elementor-element.top_space3 {
        --spacer-size: 2vw;
    }
    .elementor-62 .elementor-element.top_space4 {
        --spacer-size: 3vw;
    }
}

@media (max-width: 1500px) {
    .elementor-62 .elementor-element.elementor-element-8b6fa29 {
        --padding-bottom: 2em;
    }
    .elementor-62 .elementor-element.elementor-element-3ba9ceb {
        --padding-bottom: 2em;
    }
    .elementor-62 .elementor-element.elementor-element-7328a29 {
        --padding-bottom: 2em;
    }
    .elementor-62 .elementor-element.elementor-element-0d09202 {
        --padding-bottom: 2em;
    }
}


/*お知らせ*/
/* お知らせのコンテナ全体 */
.notices-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
}

/* 個々のお知らせ項目 */
.notice-item {
    display: flex;
    width:100%;
    align-items: center;
    justify-content: space-between;
    padding: 1vw 3vw;
    margin-bottom: 18px;
    text-decoration: none;
    background-color: #ebedef;
    transition: background-color 0.3s ease;
}

/* ホバー時の背景色変更 */
.notice-item:hover {
    background-color: #a8b7d1;
}

.notice-link{
    display:flex;
}
/* 日付部分のスタイリング */
.notice-date {
    margin-right: 2em;
    color: #525151;
    font-family: "Noto Sans Gothic", Sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.7em;
    letter-spacing: .05em;
}

/* タイトル部分のスタイリング */
.notice-title {
    color: #525151;
    font-family: "Noto Sans Gothic", Sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.7em;
    letter-spacing: .07em;
    flex-grow: 1;
    text-align: left;
}
@media (max-width: 1024px) {
    .notice-item {
        padding: 2vw 3vw;
        margin-bottom: 1em;
    }
    .notice-date,.notice-title {
        font-size:16px;
        font-weight:600;
    }
    .notice-item {
        padding:14px 20px 14px 20px;
    }
}
@media (max-width: 767px) {
    .notice-date,.notice-title {
        font-size:14px;
        font-weight:500;
    }
    .notice-item {
        padding:12px;
        margin-bottom:0.5em;
    }
    .notice-date{
        margin-right:1em;
        letter-spacing:0em;
    }
}

/*講師紹介*/
/* Swiper.js の自動幅指定を無効化 */
.swiper-slide.teacher-post-item {
    display: flex;
    flex-direction: column; /* デフォルトで縦並び */
    overflow: hidden; /* はみ出しを防止 */
    max-width: 100%; /* 親要素の幅を超えない */
    box-sizing: border-box; /* パディングとボーダーを幅計算に含む */
}

/* サムネイル画像のスタイル */
.teacher-thumbnail-link img {
    width: 100%; /* 親要素に合わせて最大化 */
    max-width: 100%; /* 親要素の幅を超えない */
    height: auto; /* 縦横比を維持 */
    object-fit: cover; /* 枠内に収める */
    transition: transform 0.3s ease;
    margin-bottom:5px;
}

.teacher-thumbnail-link img:hover {
    transform: scale(1.05); /* ホバー時に拡大 */
}

/* コンテンツ部分のスタイル */
.teacher-content {
    width: 100%; /* 親要素いっぱいの幅に設定 */
    max-width: 800px; /* 最大幅を制限 */
    padding: 20px; /* 内側の余白を確保 */
    box-sizing: border-box; /* パディングとボーダーを幅計算に含む */
    overflow-wrap: break-word; /* 長い単語を折り返す */
    text-align: left; /* テキストを左揃え */
}

/* カテゴリリンクのスタイル */
.teacher-category{
    color: #525151;
    font-family: "Noto Sans Gothic", Sans-serif;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: .07em;
    margin-left:0.4em;
    margin-top:0.4em;
}
.teacher-category-link {
    text-decoration: none;
    transition: color 0.3s ease;
}

.teacher-category-link:hover {
    color: #000;
}

/* タイトルのスタイル */
.teacher-title {
    color: #525151;
    font-family: "Noto Sans Gothic", Sans-serif;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: .07em;
    transition: color 0.3s ease;
    margin-left:0.4em;
}

.teacher-title:hover {
    color: #0073aa;
}

/* レスポンシブ対応 */
@media (max-width: 767px) {
    .swiper-slide.teacher-post-item {
        flex-direction: column; /* モバイルでは縦並び */
        align-items: stretch; /* 親要素幅に合わせる */
        overflow: hidden;
    }

    .teacher-content {
        width: 100%; /* モバイル時は全幅 */
        padding: 15px; /* 余白を調整 */
        text-align: center; /* テキストを中央揃え */
    }
}
@media (max-width: 1024px) {
    .teacher-category{
        margin-top:5px;
    }
    .teacher-category {
        font-size:14px
    }
    .teacher-title{
        font-size:16px;
    }
}

/* ページネーションのスタイル */
.swiper-pagination {
    text-align: center;
    margin-top: 10px; /* 上部余白を縮小 */
}

/*スクール一覧*/

.school-posts-container {
    display: flex;
    gap: 18px; /* 各投稿ブロック間のスペース */
    justify-content: flex-start; /* 要素を左寄せ */
    flex-wrap: wrap; /* 必要に応じて折り返し */
    position: relative; /* ダミー要素の位置調整用 */
}

.school-post-item {
    width:23%;
    box-sizing: border-box; /* パディングを含めて計算 */
}

.school-thumbnail-link img {
    width: 100%; /* 画像をブロック内いっぱいに表示 */
    height: 100%;
    object-fit:cover;
    transition: transform 0.3s ease; /* ホバー時のアニメーション */
}

.school-thumbnail-link img:hover {
    transform: scale(1.05); /* ホバー時に少し拡大 */
}

.school-title-link h3 {
    color: #525151;
    font-family: "Noto Sans Gothic", Sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.7em;
    letter-spacing: .07em;
    text-decoration: none;
    transition: color 0.3s ease;
    text-align: center; /* タイトルの文字を中央揃え */
}

.school-title-link h3:hover {
    color: #000; /* ホバー時に色変更 */
}

/* タブレット・モバイル対応 */
@media (max-width: 1024px) {
    .school-title-link h3 {
        font-size: 16px;
        font-weight: 600;
    }
}
@media (max-width: 767px) {
    .school-posts-container {
        display: flex;
        flex-wrap: wrap;
        gap: 20px; /* アイテム間の余白調整 */
        position: relative; /* ダミー要素の位置調整用 */
    }

    .school-post-item {
        flex: 1 1 calc(50% - 20px); /* モバイルで2列表示 */
        box-sizing: border-box;
    }

    /* ダミー要素で奇数のバランス調整 */
    .school-posts-container::after {
        content: '';
        flex: 1 1 calc(50% - 20px); /* ダミー要素を他と同じサイズに設定 */
        visibility: hidden; /* 見えないがサイズを維持 */
    }
    .school-title-link h3 {
        font-size: 16px;
    }
}

/* モバイル完全対応（狭い画面での調整） */
@media (max-width: 480px) {
    .school-posts-container {
        gap: 10px; /* アイテム間の余白調整 */
    }

    .school-post-item {
        flex: 1 1 calc(50% - 10px); /* 小さい画面でも2列表示 */
        box-sizing: border-box;
    }

    /* ダミー要素で奇数のバランス調整 */
    .school-posts-container::after {
        content: '';
        flex: 1 1 calc(50% - 10px); /* ダミー要素を他と同じサイズに設定 */
        visibility: hidden; /* 見えないがサイズを維持 */
    }
}

/*news*/
.notice-list-item__inner{
    display:flex;
}

.notice-list-container {
    display: flex;
    flex-direction: column;
    gap: 2.5vw;
    padding: 20px;
}

.notice-list-item {
    padding:20px;
    display: flex;
    border-radius: 20px;
    overflow: hidden;
    background: #ebedef;
    transition: background-color .3s ease;
}

.notice-list-item:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    background:#a9b8d352;
}
@media (max-width: 767px) {
    .notice-list-container {
        gap: 20px;
    }
}
@media (max-width: 767px) {
    .notice-list-item__inner{
        flex-direction: column;
    }
    .notice-list-item{
        display:block;
    }
}

/* 左側: 画像 */
.notice-list-item__thumbnail {
    width: 280px;
    height:100%;
    overflow: hidden;
    aspect-ratio: 4 / 2.5;
    object-fit:cover;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notice-list-item__thumbnail img {
    width: 100%;
    height: auto;
    object-fit: cover; /* 画像を枠内に収める */
}
@media (max-width: 1024px) {
    .notice-list-item__thumbnail {
        width: 30vw;
    }
}
@media (max-width: 767px) {
    .notice-list-item__thumbnail {
        width: 100%;
    }
}

/* 右側: コンテンツ */
.notice-list-item__content {
    flex: 1; /* 右側が残りの幅を占有 */
    padding: 10px 15px 0px 15px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.notice-list-item__date {
    font-size: 18px;
    color: #666;
}

.notice-list-item__title {
    font-size: 20px;
    margin: 0;
    color: #525151;
    font-weight: 600;
    transition: color 0.3s ease;
}

.notice-list-item__excerpt , .voice-list-item__excerpt {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
}
@media (max-width: 1024px) {
    .notice-list-item__date {
        font-size: 16px;
    }
    .notice-list-item__title {
        font-size: 18px;
        font-weight:600;
    }
    .notice-list-item__excerpt , .voice-list-item__excerpt {
        font-size: 14px;
    }
}
@media (max-width: 767px) {
    .notice-list-item__date {
        font-size: 14px;
    }
    .notice-list-item__title {
        font-size: 18px;
        font-weight:600;
    }
    .notice-list-item__excerpt , .voice-list-item__excerpt{
        font-size: 14px;
    }
    .notice-list-item__content {
        padding: 15px 0px 15px 0px;
    }
}
/* ページネーション */
.notice-pagination-container {
    margin-top: 20px;
    text-align: center;
}

.notice-list-container__no-articles {
    text-align: center;
    font-size: 18px;
    color: #999;
}

/*講師紹介*/

/* 講師一覧全体 */
.unique-teacher-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* PC表示で固定3列 */
    gap: 20px;
    margin-bottom:50px;
}

/* 講師アイテム */
.unique-teacher-item {
    max-width:350px;
    text-align: left;
    padding: 0px 15px;
}

/* サムネイル画像 */
.unique-teacher-thumbnail {
    width: 100%;
    height: 0;
    padding-top: 100%; /* 正方形に設定 */
    position: relative;
    overflow: hidden;
}

.unique-teacher-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
    border:1px solid #BFC5CA;
}
.unique-teacher-thumbnail img:hover {
    transform: scale(1.05);
}

/* カテゴリ */
.unique-teacher-categories {
    display: flex;
    flex-wrap: wrap; /* 必要に応じて折り返し */
    gap: 10px;
    margin: 10px 0;
}

.unique-teacher-category,
.unique-expertise-category {
    display: inline-block;
    background: #f0f0f0;
    color: #525151;
    padding: 3px 7px;
    border-radius: 4px;
    font-size: 16px;
    white-space: nowrap; /* 折り返し防止 */
}
.voice-list-item__category-label {
    font-family: "Noto Sans Gothic", Sans-serif;
    font-size: 15px;
    color: #525151;
    font-weight: 500;
    padding: .1em .3em;
    border: 1px solid #525151;
}

/* タイトル */
.unique-teacher-title {
    font-size: 18px;
    font-weight:600;
    margin-top: 0.3em;
    color: #525151; /* グレーに変更 */
}

.unique-teacher-title a {
    text-decoration: none;
    color: inherit; /* グレーを継承 */
}

.unique-teacher-title a:hover {
    text-decoration: underline;
    color: #666; /* 少し濃いグレー */
}

/* ページナビゲーション */
.unique-teacher-pagination {
    margin: 20px 0;
    text-align: center;
}

/* 記事がない場合のスタイル */
.unique-teacher-no-articles {
    text-align: center;
    font-size: 20px;
    color: #555;
    margin-top: 20px;
}
@media (max-width: 1024px) {
    .unique-teacher-title {
        font-size: 16px;
    }
    .unique-teacher-category,.unique-expertise-category,.voice-list-item__category-label,.customer-voice-category-link {
        font-size:14px;
    }
}

@media (max-width: 767px) {
    .unique-teacher-categories{
        margin:5px 0;
    }
    .unique-teacher-list {
        grid-template-columns: repeat(2, 1fr); /* スマホでは2列固定 */
        gap: 10px; /* スペースを少し狭く */
        margin-bottom:20px;
    }

    .unique-teacher-item {
        padding: 0px 5px; /* 内側の余白を少し狭く */
    }
    
    .unique-teacher-title {
        font-size: 16px;
        font-weight:500;
        margin-top:0px;
        margin-bottom:10px;
    }
    .unique-teacher-category,.unique-expertise-category,.voice-list-item__category-label,.customer-voice-category-link {
        font-size:13px;
    }
}

/* タブレット表示時の3列固定 */
@media (min-width: 768px) and (max-width: 1400px) {
    .unique-teacher-list {
        grid-template-columns: repeat(3, 1fr); /* タブレットでも3列固定 */
    }
}
.teacher-age,.unique-teacher-category-single,.unique-expertise-category-single,.teacher-skill{
    color: #525151;
    font-family: "Noto Sans Gothic", Sans-serif;
    font-size: 18px;
    font-weight: 600;
}
@media (max-width: 1024px) {
    .teacher-age,.unique-teacher-category-single,.unique-expertise-category-single,.teacher-skill{
        font-size: 18px;
    }
}
@media (max-width: 767px) {
    .teacher-age,.unique-teacher-category-single,.unique-expertise-category-single,.teacher-skill{
        font-size: 16px;
    }
}




/* お客様の声 */
/* 基本設定：リンク全体を横並びに */
.customer-voice-link {
    display: flex; /* 横並び */
    flex-direction: row; /* 横並びを明確に指定 */
    align-items: stretch; /* 高さを揃える */
    text-decoration: none; /* リンクの装飾を削除 */
    color: inherit; /* テキストの色を継承 */
    transition: box-shadow 0.3s ease;
    background:#fff;
    border: 1px solid #ddd; /* 外枠 */
    overflow: hidden;
    margin-bottom:1em;
}

/* 左側の画像部分 */
.customer-voice-thumbnail {
    /*flex: 0 0 25%;  左側に40%の幅を割り当て */
    /*width:18vw;*/
    padding:1vw;
    height: auto; /* 自動で高さ調整 */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.customer-voice-thumbnail img {
    width: 250px;
    height: 100%;
    object-fit: cover; /* 枠内に収める */
    border:1px solid #5f5f5f;
}

/* 右側のテキスト部分 */
.customer-voice-content {
    flex: 1; /* 残りのスペースを使用 */
    padding: 1vw 4vw 1vw 0vw;
    display: flex;
    flex-direction: column; /* 縦並び */
    justify-content: center; /* 中央揃え */
    text-align: left; /* 左揃え */
}

/* タイトル */
.customer-voice-title {
    color: #525151;
    font-family: "Noto Sans Gothic", Sans-serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.7em;
    letter-spacing: .07em;
}

/* カテゴリ */
.customer-voice-category {
    color: #525151;
    font-family: "Noto Sans Gothic", Sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.7em;
    letter-spacing: .07em;
	padding: 0.3em 0em 0.3em 0em;

}

.customer-voice-category-link {
    text-decoration: none;
    margin-right: 5px;
    transition: color 0.3s ease;
    border:1px solid #525151;
    padding:0.1em 0.2em;
}

.customer-voice-category-link:hover {
    color: #005580;
}

/* コメント */
.customer-voice-comment {
    color: #525151;
    font-family: "Noto Sans Gothic", Sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.7em;
    letter-spacing: .07em;
}

/* ホバー効果 */
.customer-voice-link:hover {
    background:#a9b8d352;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
@media (max-width: 1024px) {
	.customer-voice-category{
		padding:0.1em 0em 0.1em 0em;
	}
    .customer-voice-thumbnail img{
        width:200px;
    }
    .customer-voice-title{
        font-size:18px;
        font-weight:600;
        padding-bottom:0em;
    }
    .customer-voice-comment{
        font-size:14px;
        font-weight:500;
        padding-top:0.3em;
    }
}

/* スマホ表示：縦並びに切り替え */
@media (max-width: 767px) {
    .customer-voice-container{
        padding:10px;
    }
    .customer-voice-link {
        flex-direction: column; /* 縦並び */
		width:80%;
        margin:20px auto;
    }

    .customer-voice-thumbnail {
        width: 100%; /* 全幅表示 */
        max-height: fit-content;
        padding:2vw 2vw 0 2vw;
    }
    .customer-voice-thumbnail img {
        width: 100%;
        height: 100%; /* 縦いっぱい */
        object-fit: cover; /* 枠内に収める */
    }

    .customer-voice-content {
        padding: 15px;
    }

    .customer-voice-title {
        margin-bottom:5px;
        padding-bottom:0em;
    }
    .customer-voice-category-link{
        margin-bottom:5px;
    }
    .customer-voice-comment {
        font-size: 14px;
        font-weight:500;
        margin-top:5px;
        padding-top:0em;
    }
}
@media (max-width: 500px) {
    .customer-voice-link {
        width:100%;
    }
}

.voice-category-list,.custom-blog-category-list__top,.custom-column-category-list{
    padding:1vw 1vw 2vw 0vw;
    display:flex;
    flex-wrap: wrap;
    row-gap:1.3em;
}
.voice-category-list li,.custom-blog-category-list__top li,.custom-column-category-list li{
    margin-right:5px;
}
.voice-category-list a,.custom-blog-category-list__top a,.custom-column-category-list a{
    border:1px solid #525151;
    padding:0.5em 1em;
}

.voice-category-list a.active,.custom-blog-category-list__top a.active,.custom-column-category-list a.active {
    background:#fff;
    font-weight: 600; /* 太字 */
}
.voice-category-list a:hover,.custom-blog-category-list__top a:hover,.custom-column-category-list a:hover{
    background:#f5f5f5;
}

.archive-category-title{
    font-family: "Noto Sans Gothic", Sans-serif;
    font-size: 2vw;
    font-weight: 600;
    text-shadow: 3px -1px 3px #fff;
    line-height: 1.7em;
    letter-spacing: .19em;
    color: #525151;
}
@media (max-width: 1024px) {
    .archive-category-title{
        font-size:18px;
    }
    .voice-category-list,.custom-blog-category-list__top,.custom-column-category-list{
        padding:20px 20px 40px 5px;
        font-size:16px;
    }
}
@media (max-width: 767px) {
    .archive-category-title{
        font-size: 15px;
		text-shadow: 2px -1px 1px #fff;
    }
    .voice-category-list,.custom-blog-category-list__top,.custom-column-category-list{
        padding:20px 5px 30px 0px;
        font-size:14px;
    }
    .voice-category-list{
        padding:20px 20px 30px 20px;
    }
}
.category-name_post{
    font-family: "Noto Sans Gothic", Sans-serif;
    font-size: 14px;
    color:#525151;
    padding:0.1em 0.3em 0.1em 0.3em;
    border:1px solid #525151;
    margin-left:1em;
}
.customer-voice-author{
    font-family: "Noto Sans Gothic", Sans-serif;
    font-size: 20px;
    font-weight: 600;
    color:#525151;
}
@media (max-width: 1024px) {
    .customer-voice-author{
        font-size:21px;
        font-weight:600;
    }
}

@media (max-width: 767px) {
    .customer-voice-author{
        font-size:16px;
    }
}


.customer-voice-author_list{
    font-family: "Noto Sans Gothic", Sans-serif;
    font-size: 18px;
    padding-top:0.3em;
    padding-bottom:0.3em;
}
@media (max-width: 1024px) {
    .customer-voice-author_list{
        font-size:20px;
    }
}
@media (max-width: 767px) {
    .customer-voice-author_list{
        font-size:16px;
    }
}


/* Swiper共通スタイル */
.swiper-container {
    width: 100%;
    margin: auto;
    overflow: hidden; /* 横スクロールを防止 */
    padding-bottom: 40px; /* ページネーション用のスペース */
}

.swiper-wrapper {
    display: flex;
    /*justify-content: space-between;*/
    transition: transform 0.3s ease;
    will-change: transform;
}

.swiper-slide {
    flex-shrink: 0;
    width: calc(100% / 1.3 - 10px); /* 1.3スライド分を計算 */
    margin-right: 10px; /* JSの spaceBetween と一致 */
    box-sizing: border-box;
}

/* ページネーション */
.swiper-pagination {
    position: relative; /* ページネーションの位置を調整可能に */
    margin-top: 20px; /* タイトルとページネーションの間隔を確保 */
    text-align: center;
}

.swiper-pagination-bullet {
    background-color: #0073aa;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.swiper-pagination-bullet-active {
    opacity: 1;
}

/* ブログ用スタイル */

.blog-post-link{
    width:100%;
}
.column-post-link{
    width:100%;
}

.swiper-container-blog .swiper-slide.blog-post-item,
.swiper-container-column .swiper-slide.column-post-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.blog-post-thumbnail,.school-thumbnail-link,.column-post-thumbnail,.teacher-thumbnail-link{
  display:block;
  width:100%;
  aspect-ratio: 4 / 2.5;
  overflow: hidden;
  border:1px solid #525151;
}

.blog-post-thumbnail img,
.column-post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease; /* ホバー時のアニメーション */
}

.blog-post-thumbnail img:hover,
.column-post-thumbnail img:hover {
    transform: scale(1.05); /* ホバー時に拡大 */
}

.blog-post-content,
.column-post-content {
    margin-top: 10px;
}
.blog-post-date{
    color: #525151;
    font-family: "Noto Sans Gothic", Sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1em;
    letter-spacing: .07em;
}
.blog-post-title,
.column-post-title {
    color: #525151;
    font-family: "Noto Sans Gothic", Sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 18px;
    letter-spacing: .07em;
    margin-left:0.2em;
}
.blog-post-title:hover,
.column-post-title:hover{
    color:#000;
}
/* レスポンシブ調整 */
@media (max-width: 1024px) {
    .blog-post-content,
    .column-post-content {
        margin-top: 5px;
    }
    .blog-post-title,
    .column-post-title {
        margin-bottom: 0px; /* モバイルでの間隔を調整 */
		font-weight:500;
    }
    .blog-post-date{
        font-size: 15px;
    }
}
@media (max-width: 767px) {
    .swiper-pagination {
        margin-top: 10px; /* スマホでの間隔を少し減らす */
    }
    .blog-post-date{
        font-size: 14px;
        font-weight:500;
    }
    .blog-post-title,
    .column-post-title {
        font-size: 16px; /* モバイルでのタイトルフォントサイズを小さめに */
        margin-bottom: 0px; /* モバイルでの間隔を調整 */
        font-weight:500;
    }
}

/*ブログ投稿ページ*/

.blog_content h2{
    font-size:20px;
    background:#ddebfe;
    padding:1em;
    font-weight:600;
    margin:1em 0em 1em 0em;
}
.blog_content h2:before{
    display: block;
    height: 7rem;
    margin-top: -7rem;
    content: "";
}
.blog_content h3{
    font-size:18px;
    font-weight:600;
    line-height: 2em;
    text-decoration:underline ;
    text-decoration-thickness: 0.5em ;
    text-decoration-color: rgba(255, 228, 0, .4) ;
    text-underline-offset: -.2em;
    text-decoration-skip-ink: none;
    padding:1em 0em;
}
.blog_content h3:before{
    display: block;
    height: 7rem;
    margin-top: -7rem;
    content: "";
}
.blog_content h4{
    padding:0.5em 0em;
}

.blog_content p{
	margin: .5em 0 1em;
}

@media (max-width: 1024px) {
    .blog_content h2{
        font-size:18px;
        padding:1em;
        font-weight:600;
    }
    .blog_content h3{
        font-size:17px;
        font-weight:600;
    }
    .blog_content h3:before{
    display: none;
}
}
@media (max-width: 767px) {
    .blog_content h2{
        font-size:18px;
    }
    .blog_content h3{
        font-size:17px;
    }
}

.blog_content img{
    margin-bottom:1em;
}


/*コラム投稿ページ*/

.column_content h2{
    font-size:20px;
    background:#ddebfe;
    padding:1em;
    font-weight:600;
    margin:2em 0em 1em 0em;
}
.column_content h2:before{
    display: block;
    height: 7rem;
    margin-top: -7rem;
    content: "";
}
.column_content h3{
    font-size:18px;
    font-weight:600;
    line-height: 2em;
    text-decoration:underline ;
    text-decoration-thickness: 0.5em ;
    text-decoration-color: rgba(255, 228, 0, .4) ;
    text-underline-offset: -.2em;
    text-decoration-skip-ink: none;
    padding:1em 0em;
}
.column_content h3:before{
    display: block;
    height: 7rem;
    margin-top: -7rem;
    content: "";
}
.column_content h4{
    padding:0.5em 0em;
}
.column_content p{
	margin:0.5em 0em 1em 0em;
}
@media (max-width: 1024px) {
    .column_content h2{
        font-size:18px;
        padding:0.5em;
        font-weight:600;
    }
    .column_content h3{
        font-size:17px;
        font-weight:600;
    }
    .column_content h3:before{
    display: none;
}
}
@media (max-width: 767px) {
    .column_content h2{
        font-size:18px;
		padding:1em 0.5em;
    }
    .column_content h3{
        font-size:17px;
    }
}

.column_content img{
    margin-bottom:1em;
}



/*受講生の声*/

/* お客様の声 */
.voice-list-item__link{
    display:flex;
    align-items:center;
}
.voice-list-container {
    display: flex;
    flex-direction: column;
    gap: 2.5vw;
    padding: 20px;
    height:100%;
}

.voice-list-item {
    padding: 20px;
    border-radius: 20px;
    overflow: hidden;
    background: #ebedef;
    transition: background-color .3s ease;
}

.voice-list-item:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    background-color: #a9b8d352;
}

@media (max-width: 767px) {
    .voice-list-container {
        gap: 20px;
    }
    .voice-list-item__link {
        flex-direction: column;
        align-items:start;
    }
    .voice-list-item {
        display: block;
        padding:40px;
    }
}
@media (max-width: 600px) {
    .voice-list-item {
        padding:20px;
    }
}

/* 左側: 画像 */
.voice-list-item__thumbnail {
    width: 20vw;
    height:100%;
    aspect-ratio: 4 / 2.5;
    object-fit:cover;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.voice-list-item__thumbnail img {
    width: 100%;
    height: auto;
    object-fit: cover; /* 画像を枠内に収める */
}
@media (max-width: 1024px) {
    .voice-list-item__thumbnail {
        width: 30vw;
    }
}
@media (max-width: 767px) {
    .voice-list-item__thumbnail {
        max-width: 100%;
    }
}

/* 右側: コンテンツ */
.voice-list-item__content {
    flex: 1; /* 右側が残りの幅を占有 */
    padding: 15px 15px 15px 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.voice-list-item__date {
    font-size: 18px;
    color: #666;
}

.voice-list-item__title {
    font-family: "Noto Sans Gothic", Sans-serif;
    font-size: 20px;
    margin: 0;
    color: #525151;
    font-weight: 600;
    transition: color 0.3s ease;
    padding-bottom:0.5em;
}


/* ページネーション */
.voice-pagination-container {
    margin-top: 20px;
    text-align: center;
}

.voice-list-container__no-articles {
    text-align: center;
	padding-top:1em;
    font-size: 20px;
    color: #525151;
}
@media (max-width: 1024px) {
    .voice-list-item__title {
        font-size: 20px;
        font-weight:600;
    }
    .voice-list-item__date {
        font-size: 16px;
    }
    .voice-list-container__no-articles {
        font-size: 20px;
        padding:20px;
    }
}
@media (max-width: 767px) {
    .voice-list-item__content {
        padding: 10px 0px 0px 0px;
    }
    .voice-list-item__date {
        font-size: 14px;
    }
    .voice-list-item__title {
        font-size: 18px;
    }
    .voice-list-container__no-articles {
        font-size: 16px;
    }
    .voice-list-item__thumbnail {
        width: 100vw;
    }
}



/* 校舎一覧 */
.school-overview-item__inner{
    display:flex;
}
.school-overview-container {
    display: flex;
    flex-direction: column;
    gap: 2.5vw;
    padding: 20px;
}

.school-overview-item {
    padding: 35px;
    border-radius: 20px;
    overflow: hidden;
    background: #ebedef;
    transition: background-color .3s ease;
}

.school-overview-item:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    background: #a9b8d352;
}

@media (max-width: 767px) {
.school-overview-container {
        gap: 20px;
    }
    .school-overview-item__inner {
        flex-direction: column;
    }
    .school-overview-item {
        display: block;
        padding:20px;
    }
}

/* 左側: 画像 */
.school-overview-item__thumbnail {
    max-width: 500px;
    overflow: hidden;
    display: flex;
    aspect-ratio: 4 / 2.5;
    align-items: center;
    justify-content: center;
    margin-right:2em;
}

.school-overview-item__thumbnail img {
    width: 20vw;
    height: auto;
    object-fit: cover;
}
@media (max-width: 1024px) {
    .school-overview-item__thumbnail img {
        width: 30vw;
    }
}
@media (max-width: 767px) {
    .school-overview-item__thumbnail {
        max-width: 100%;
        margin-right:0;
    }
    .school-overview-item__thumbnail img {
        width: 80vw;
    }
}

/* 右側: コンテンツ */
.school-overview-item__content {
    flex: 1;
    padding: 0px 15px;
    display: flex;
    flex-direction: column;
    /* gap: 10px; */
}

.school-overview-item__title {
    font-size: 23px;
	margin-top:0.2em;
    margin-bottom:0.5em;
    color: #525151;
    font-weight: 600;
    transition: color 0.3s ease;
}

.school-overview-item__content p{
	font-family: "Noto Sans Gothic", Sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.7em;
    letter-spacing: .07em;
    color: #525151;
}

.school-overview-item__content .school-overview-item__teitletop{
	font-family: "Noto Sans Gothic", Sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.7em;
    letter-spacing: .07em;
    color: #525151;
}

.school-overview-item__details {
    font-size: 18px;
    margin: 0;
    color: #525151;
    font-weight: 600;
    transition: color 0.3s ease;
    display: flex; /* フレックスボックスを適用 */
    flex-direction: column; /* 垂直方向の配置 */
    height: 100%; /* 親要素の高さを基準に中央揃え */
}
.school-overview-item__details li:nth-child(3) {
    padding-top: 5px;
}
.school-overview-item__details li:nth-child(4) {
    padding-top: 15px;
}
.school-overview-item__details li strong{
    font-weight:600;
}
@media (max-width: 1024px) {
    .school-overview-item__title {
        font-size: 25px;
    }
    .school-overview-item__details {
        font-size: 16px;
    }
}
@media (max-width: 767px) {
    .school-overview-item__content {
        padding: 15px 0px 0px 0px;
    }
	.school-overview-item__content .school-overview-item__teitletop{
		font-size:12px;
		font-weight:500;
	}
    .school-overview-item__title {
        font-size: 18px;
    }
	.school-overview-item__content p{
    font-size: 14px;
    font-weight: 500;
}
    .school-overview-item__details {
        font-size: 14px;
        font-weight:500;
    }
}
}

/* ページネーション */
.school-pagination {
    margin-top: 20px;
    text-align: center;
}
.school-pagination .wp-pagenavi{
    text-align:center;
    margin-top: 20px;
}
.school-overview-container__no-items {
    text-align: center;
    font-size: 18px;
    color: #999;
}

.school-details__postal-code,.school-details__address,.school-details__phone,.school-details__station-walk{
    font-size: 18px;
    margin: 0;
    color: #525151;
    font-weight: 600;
    transition: color 0.3s ease;
}
@media (max-width: 1024px) {
    .school-details__postal-code,.school-details__address,.school-details__phone,.school-details__station-walk {
        font-size: 16px;
        font-weight:600;
    }
}
@media (max-width: 767px) {
    .school-details__postal-code,.school-details__address,.school-details__phone,.school-details__station-walk {
        font-size: 14px;
    }
}


/*ブログ*/

/* ブログ一覧全体 */
.custom-blog-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* PC表示で固定3列 */
    gap: 18px;
    margin-bottom:30px;
}

/* ブログアイテム */
.custom-blog-item {
    text-align: left;
}

/* サムネイル画像 */
.custom-blog-thumbnail {
    width: 100%;
    height: 0;
    padding-top: 66.67%; /* 16:9のアスペクト比 */
    position: relative;
    overflow: hidden;
}

.custom-blog-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
	border:1px solid;
    transition: transform .3s ease;
}
.custom-blog-thumbnail img:hover,.unique-column-thumbnail img:hover{
    transform: scale(1.05);
}
.custom-blog-published-wrap{
    display:flex;
    align-items: center;
    margin-top:5px;
}

.custom-blog-published-date{
    color: #525151;
    font-family: "Noto Sans Gothic", Sans-serif;
    font-size: 18px;
    line-height: 1.7em;
    letter-spacing: 0.01em;
}

/* カテゴリ */
.custom-blog-categories {
    display: flex;
    flex-wrap: wrap; /* 必要に応じて折り返し */
    gap: 10px;
    margin: 0px 0px 3px 1em;
}

.custom-blog-category {
    display: inline-block;
    border:1px solid #525151;
    color: #525151;
    padding: 3px 5px;
    font-family: "Noto Sans Gothic", Sans-serif;
    font-size: 15px;
    line-height: 1em;
    letter-spacing: 0.07em;
    white-space: nowrap; /* 折り返し防止 */
}

/* タイトル */
.custom-blog-title {
    color: #525151;
    font-family: "Noto Sans Gothic", Sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3em;
    letter-spacing: 0.07em;
}

.custom-blog-title a {
    text-decoration: none;
    color: inherit; /* グレーを継承 */
}

.custom-blog-title a:hover {
    text-decoration: underline;
    color: #666; /* 少し濃いグレー */
}

/* ページナビゲーション */
.custom-blog-pagination {
    margin: 20px 0;
    text-align: center;
}

/* 記事がない場合のスタイル */
.custom-blog-no-articles {
    color: #525151;
    font-family: "Noto Sans Gothic", Sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.7em;
    letter-spacing: 0.07em;
    margin-top: 20px;
    text-align:center;
}

@media (max-width: 1024px) {
    .custom-blog-list {
        gap: 20px; /* スペースを少し狭く */
    }
    .custom-blog-no-articles {
        font-size: 20px;
    }
}

/* スマホ表示時の2列固定 */
@media (max-width: 767px) {
    .custom-blog-list {
        grid-template-columns: repeat(2, 1fr); /* スマホでは2列固定 */
		gap:10px;
        margin-bottom:20px;
    }
    .custom-blog-item {
        margin-bottom:10px;
    }
    .custom-blog-no-articles {
		font-weight:500;
        font-size: 16px;
    }
}

/* 300px以下表示 */
@media (max-width: 300px) {
    .custom-blog-list {
        grid-template-columns: repeat(1, 1fr);
    }
    .custom-blog-item {
        margin-bottom:10px;
    }
}

/* タブレット表示時の3列固定 */
@media (min-width: 768px) and (max-width: 1024px) {
    .custom-blog-list {
        grid-template-columns: repeat(3, 1fr); /* タブレットでも3列固定 */
    }
}

.blog-meta,.custom-blog-category-single,.custom-blog-tag-single {
    color: #525151;
    font-family: "Noto Sans Gothic", Sans-serif;
    font-size: 2vw;
    font-weight: 600;
}

@media (max-width: 1024px) {
    .custom-blog-published-date{
        font-size:16px;
        font-weight:500;
    }
}
@media (max-width: 767px) {
    .blog-meta,.custom-blog-category-single,.custom-blog-tag-single,.custom-blog-title {
        font-size: 16px;
        font-weight:500;
    }
    .custom-blog-published-date{
        font-size:15px;
        font-weight:500;
    }
    .custom-blog-category{
        font-size:12px;
        font-weight:500;
    }
}



/* コラム */

/* コラム一覧全体 */
.unique-column-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* PC表示で固定3列 */
    gap: 18px;
    margin-bottom:30px;
}

/* コラムアイテム */
.unique-column-item {
    text-align: left;
    padding-left:15px;
	padding-right:15px;
	padding-top:0px;
	padding-bottom:15px;
}

/* サムネイル画像 */
.unique-column-thumbnail {
    width: 100%;
    height: 0;
    padding-top: 66.67%; /* 16:9のアスペクト比 */
    position: relative;
    overflow: hidden;
}

.unique-column-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.unique-column-published-wrap {
    display: flex;
    align-items: center;
    margin-top: 5px;
}

/* カテゴリ */
.unique-column-categories {
    display: flex;
    flex-wrap: wrap; /* 必要に応じて折り返し */
    gap: 10px;
}

.unique-column-category {
    display: inline-block;
    border: 1px solid #525151;
    color: #525151;
    padding: 3px 10px;
    font-family: "Noto Sans Gothic", Sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1em;
    letter-spacing: 0.07em;
    white-space: nowrap; /* 折り返し防止 */
}

/* タイトル */
.unique-column-title {
    color: #525151;
    font-family: "Noto Sans Gothic", Sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.7em;
    letter-spacing: 0.07em;
}

.unique-column-title a {
    text-decoration: none;
    color: inherit;
}

.unique-column-title a:hover {
    text-decoration: underline;
    color: #666; /* 少し濃いグレー */
}

/* ページナビゲーション */
.unique-column-pagination {
    margin: 20px 0;
    text-align: center;
}

/* 記事がない場合のスタイル */
.unique-column-no-articles {
    color: #525151;
    font-family: "Noto Sans Gothic", Sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.7em;
    letter-spacing: 0.07em;
    margin-top: 20px;
    text-align:center;
}

@media (max-width: 1024px) {
    .unique-column-list {
        gap: 10px; /* スペースを少し狭く */
    }
    .unique-column-item {
        padding-left:5px;
		padding-right:5px;
		padding-top:0px;
		padding-bottom:10px;
    }
    .unique-column-no-articles {
        font-size:20px;
    }
}

@media (max-width: 767px) {
    .unique-column-list {
        grid-template-columns: repeat(2, 1fr); /* スマホでは2列固定 */
        gap: 0px; /* スペースを少し狭く */
        margin-bottom:20px;
    }
    .unique-column-item {
        padding: 0px 5px; /* 内側の余白を少し狭く */
        margin-bottom:20px;
    }
    .unique-column-no-articles {
        font-size:16px;
    }
}
@media (max-width: 300px) {
    .unique-column-list {
        grid-template-columns: repeat(1, 1fr);
    }
}

/* タブレット表示時の3列固定 */
@media (min-width: 768px) and (max-width: 1024px) {
    .unique-column-list {
        grid-template-columns: repeat(3, 1fr); /* タブレットでも3列固定 */
    }
}

.column-meta,
.unique-column-category-single,
.unique-column-tag-single {
    color: #525151;
    font-family: "Noto Sans Gothic", Sans-serif;
    font-size: 20px;
    font-weight: 600;
}

@media (max-width: 1024px) {
    .column-meta,
    .unique-column-category-single,
    .unique-column-tag-single,
    .unique-column-title,
    .blog-meta,
    .custom-blog-category-single,
    .custom-blog-tag-single,
    .custom-blog-title {
        font-size: 16px;
        font-weight:500;
		line-height:1.1em;
    }
    .unique-column-category,.custom-blog-category,.category-name_post {
        font-size: 14px;
        font-weight:500;
        padding: 3px 5px;
        line-height: 1em;
        letter-spacing: 0.05em;
    }
}

@media (max-width: 767px) {
    .column-meta,
    .unique-column-category-single,
    .unique-column-tag-single,
    .unique-column-title,
    .blog-meta,
    .custom-blog-category-single,
    .custom-blog-tag-single,
    .custom-blog-title {
        font-size: 16px;
    }
    .unique-column-category,.custom-blog-category,.category-name_post {
        font-size: 12px;
    }
}
@media (max-width: 500px) {
	.column-meta,
    .unique-column-category-single,
    .unique-column-tag-single,
    .unique-column-title,
    .blog-meta,
    .custom-blog-category-single,
    .custom-blog-tag-single,
    .custom-blog-title {
        font-size: 14px;
    }
	.unique-column-title{
		margin-top:5px;
		font-size:14px;
		line-height:1.3em;
	}
}





/*toc*/
#toc_container{
    padding:1.3em 1em 1.3em 1em;
    border:0.5em solid #d4d4d4;
    margin:1em 0em 1em 0em;
}
#toc_container p.toc_title{
    font-size:20px;
    text-align:left;
    padding:0em 0em 0.5em 0.5em;
    border-bottom: 1px solid #525151;
}
#toc_container a {
    padding-left:0.3em;
}

#toc_container.no_bullets li:before{
    content:  "";     /* 空の要素作成 */
    width:  0.8em;               /* 幅指定 */
    height:  0.8em;              /* 高さ指定 */
    display:  inline-block;     /* インラインブロックにする */
    background-color: #525151;  /* 背景色指定 */
    padding-right:0.3em;
}
#toc_container.no_bullets .toc_list ul li:before{
    content:  "";     /* 空の要素作成 */
    width:  10px;               /* 幅指定 */
    height:  10px;              /* 高さ指定 */
    display:  inline-block;     /* インラインブロックにする */
    background-color: #333;  /* 背景色指定 */
    border-radius:  50%;        /* 要素を丸くする */
}
#toc_container p.toc_title+ul.toc_list{
    font-weight:600;
}
@media screen and (max-width: 1024px) {
    #toc_container p.toc_title{
        font-size:20px;
        font-weight:500;
    }
}
@media screen and (max-width: 767px) {
    #toc_container p.toc_title{
        font-size:18px;
    }
}
@media screen and (max-width: 500px) {
    div#toc_container{
        width:100%;
    }
}

/*form*/

.form__row {
    margin-bottom: 67px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    justify-content: center;
}
.form__row.form__row-message{
    margin-bottom:30px;
}
.form__row.form__row-note{
    margin-bottom:30px;
}
@media screen and (max-width: 767px) {
    .form__row {
        margin-bottom: 20px;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: start;
        -webkit-align-items: flex-start;
        -ms-flex-align: start;
        align-items: flex-start;
    }
    .form__row.form__row-message{
        margin-bottom:20px;
    }
    .form__row.form__row-note{
        margin-left:10px;
    }
}
label[for] {
    padding-left: 1.7em;
}
@media screen and (max-width: 767px) {
    label[for] {
        padding-left: 1.5em;
    }
}
label[for] {
    cursor: pointer;
}
.form__label {
    color: #525151;
    width: 300px;
    margin: 0;
    padding-top: 13px;
    margin-right: 10px;
    font-size: 18px;
    font-family:"Noto Sans Gothic",Sans-serif;
    font-weight: 600;
    letter-spacing: 0.1em;
}
@media screen and (max-width: 1500px) {
    .form__label {
        width:235px;
    }
}
@media screen and (max-width: 1024px) {
    .form__label {
        width:200px;
        font-size:1.6vw;
        font-weight:500;
    }
}
@media screen and (max-width: 767px) {
    .form__label {
        font-size: 16px;
        width: 100%;
        margin-bottom: 10px;
}
}

.form__must {
    font-size: 14px;
    font-weight: 600;
    color: #6883b1;
    line-height: 1;
    position: relative;
    top: -12px;
    left: 5px;
}
@media screen and (max-width: 767px) {
    .form__must {
        font-size: 12px;
        top: -9px;
    }
}
input[type=date], input[type=email], input[type=number], input[type=password], input[type=search], input[type=tel], input[type=text], input[type=url], select, textarea {
    border: 1px solid #525151;
    border-radius:0px;
    background:#fff;
    color:#575757;
    margin-left: 0px;
    font-family:"Noto Sans Gothic",Sans-serif;
    font-size: 18px;
    padding:10px 10px 10px 1em;
}
.form__content {
    width: 778px;
    padding-right: 2.3em;
}
@media screen and (max-width: 1024px) {
	input[type=date], input[type=email], input[type=number], input[type=password], input[type=search], input[type=tel], input[type=text], input[type=url], select, textarea {
        font-size: 1.6vw;
	}
}
@media screen and (max-width: 767px) {
	input[type=date], input[type=email], input[type=number], input[type=password], input[type=search], input[type=tel], input[type=text], input[type=url], select, textarea {
        font-size: 16px;
        font-weight:500;
	}
    .form__content {
        width: 100%;
        padding-left: 10px;
        padding-right: 10px;
    }
}
.form__selectbox {
    width: 100%;
    height: 57px;
    color:#575757;
    letter-spacing: 0.05em;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding-left: 10px 10px 10px 1em;
}
@media screen and (max-width: 767px) {
    .form__selectbox {
        width: 100%;
    }
}
.form__button {
    text-align: center;
}
.form__button input[type=submit]:hover, .form__button input[type=submit]:focus {
    background-color: #a9b8d3;
    border: 1px solid #a9b8d3;
    color: #fff;
}
.form__button input[type=submit] {
    width: 200px;
    margin-top: 15px;
    max-width: 100%;
    height: 60px;
    font-family:"Noto Sans Gothic",Sans-serif;
    background-color: #fff;
    /*border-radius: 30px;*/
    border: 1px solid #a9b8d3;
    outline: none;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: #a9b8d3;
    cursor: pointer;
    -webkit-transition: all .2s;
    transition: all .2s;
}
.wpcf7-spinner {
    background-color: #82a677;
    position: absolute;
}
.wpcf7-spinner::before {
    content: '';
    position: absolute;
    background-color: #fff;
    top: 4px;
    left: 4px;
    width: 6px;
    height: 6px;
    border: none;
    border-radius: 100%;
    transform-origin: 8px 8px;
    animation-name: spin;
    animation-duration: 1000ms;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.wrapper {
  width: 80%;
  max-width: 500px;
  margin: 0 auto;
}
.target {
  display: block;
  width: 100%;
  height: auto;
}

.wpcf7-list-item-label{
    line-height:1.5em;
    font-family:"Noto Sans Gothic",Sans-serif;
    }
.form__acceptance{
    margin-top:-0.2em;
}

.contact_comment .elementor-heading-title{
    line-height:1.3em;
}
@media (max-width: 1024px) {
    .form__button input[type=submit] {
        font-size: 16px;
        width:150px;
        height:50px;
    }
}

.wpcf7-response-output.wpcf7-mail-sent-ok {
    display: none;
}

/*スペース設定*/
@media (max-width: 1500px) {
    .elementor-element.sub_space01.elementor-widget{
            --spacer-size: 3rem;
    }
}

.column_content h2 span{
    margin-top:10px;
	line-height:1.7em;
}

.teacher_img img{
    max-height:50vh;
    object-fit: cover;
}
@media (max-width: 1024px) {
    .teacher_img img{
        max-height:23vh;
    }
}
@media (max-width: 767px) {
    .teacher_img img{
        max-height:30vh;
    }
}
@media (max-width: 1200px) {
.elementor-986 .elementor-element.elementor-element-24e6ccf .ha-pg-grid-wrap {
    grid-template-columns: repeat(2, 1fr);
}
}
@media (max-width: 550px) {
.elementor-986 .elementor-element.elementor-element-24e6ccf .ha-pg-grid-wrap {
    grid-template-columns: repeat(1, 1fr);
}
}

.wpcf7 input[type="date"] {
    width: 100%; /* 親要素に合わせて幅を調整 */
    min-width: 250px; /* 必要に応じて適切な幅を指定 */
    height: 45px; /* 高さを指定 */
    padding: 8px;
}

/* スマホ用のスタイル調整 */
@media (max-width: 768px) {
    .wpcf7 input[type="date"] {
        width: 100%; /* スマホでも幅を確保 */
        min-width: 250px;
        height: 45px;
    }
}

.pp_link.pp_line{
	color:blue;
	text-decoration:underline;
}

input[type="submit"].disabled {
  opacity: 0.5;
  pointer-events: none;
  cursor: not-allowed;
}



/*graf*/

.graf_child1_wrap{
	display:flex;
	justify-content: space-evenly;
}

.graf_child1{
	text-align: center;
    font-family: "Noto Sans Gothic", Sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.7em;
    letter-spacing: .05em;
    color: #525151;
	width:250px;
	border:1px solid #333;
	border-radius:30px;
	padding:1em;
	box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, .5);
	display:grid;
	place-content:center;
}
.graf_child1.graf_child_text{
	background:#fff;
}
.graf_child1.graf_child_text.graf_center{
	background:rgba(255,228,0,.4);
	border:3px solid #f6ab00;
}
.graf_child1.graf_child_text.graf_last{
	background:#e0ffff;
	border:3px solid #afeeee;
}
.graf_child1.graf_child_img{
	border:none;
	box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, .0);
}
.graf_child1.graf_child_img.graf_child_img_yoko{
	width:100px;
}
.graf_child1.graf_space{
	border:none;
	box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, .0);
	width:100px;
}
.graf_child_bottom.graf_bottom_img{
	text-align:center;
}
@media (max-width: 767px) {
    .graf_child1{
        font-size: 14px;
		font-weight: 600;
    	line-height: 1.7em;
    	letter-spacing: .05em;
    	color: #525151;
		width:250px;
		border:1px solid #333;
		border-radius:10px;
		padding:3px;
		box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, .5);
    }
	.graf_child1.graf_child_img.graf_child_img_yoko{
		width:50px;
		padding:5px;
	}
	.graf_child1_wrap.graf_child1_wrap_img{
		height:50px;
	}
	.graf_child1_wrap.graf_child1_wrap_img img{
		height:30px;
	}
}

@media (max-width: 500px) {
	.graf_child1{
        font-size: 12px;
	}
	.graf_child1_wrap.graf_child1_wrap_img{
		height:40px;
	}
	.graf_child1.graf_child_img.graf_child_img_tate{
		padding:5px;
	}
	.graf_child1_wrap.graf_child1_wrap_img img{
		height:18px;
	}
}


.blog_stop{
	font-family: "Noto Sans Gothic", Sans-serif;
	/*font-weight:600;*/
	color:#525151;
	/*font-size:18px;*/
	margin:0 auto;
	padding-right:3em;
}



.elementor.e-loop-item.column.type-column.status-publish.has-post-thumbnail.hentry.column_category-mirai img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: filter 0.3s ease;
}
.elementor.e-loop-item.column.type-column.status-publish.has-post-thumbnail.hentry.column_category-mirai img:hover{
	transition: transform .3s ease;
}
@media (max-width: 1200px) {
    .elementor.e-loop-item.column.type-column.status-publish.has-post-thumbnail.hentry.column_category-mirai img{
        height:150px;
    }
}
@media (max-width: 1024px) {
    .elementor.e-loop-item.column.type-column.status-publish.has-post-thumbnail.hentry.column_category-mirai img{
        height:200px;
    }
}
@media (max-width: 767px) {
    .elementor.e-loop-item.column.type-column.status-publish.has-post-thumbnail.hentry.column_category-mirai img{
        height:250px;
    }
}
@media (max-width: 400px) {
    .elementor.e-loop-item.column.type-column.status-publish.has-post-thumbnail.hentry.column_category-mirai img{
        height:200px;
    }
}


@media (max-width: 767px) {
    .sf_view.elementor-grid-mobile-2 .elementor-grid {
        grid-column-gap: var(--grid-column-gap, 10px);
    }
}

.jigen_view_none{
	display:none;
}

@media screen and (min-width: 1920px) {
.elementor-element.elementor-element-16cc35d.top_firstview_title{
	font-size:67px;
}
	.elementor-element.elementor-element-8c45717.top_firstview_title2{
	font-size:42px;
}
	.elementor-element.elementor-element-85321ea.top_firstview_title3{
	font-size:27px;
	}
	.elementor-element.elementor-element-d44be7d.top_firstview_title3{
	font-size:27px;
}
}


.low-button.low-button-lp a{
	font-weight: 600;
    color: #fff;
    background: #f6ab00;
    padding: 0.7em 0.5em;
    border: 1px #f6ab00 solid;
}
