@charset "utf-8";
/*
Template: jstork19
Theme Name: stork19_custom
Theme URI:http://open-cage.com/stork19/
Version: 1.3.0
Author: opencage
Author URI: https://open-cage.com/
*/

/*-----------------------------------------------
スマホでの横スクロール（ぐらぐら）防止
-----------------------------------------------*/
html, body {
    overflow-x: hidden;
}

@media only screen and (max-width: 768px) {
    html, body {
        overflow-x: hidden;
        width: 100%;
    }

    /* はみ出し要素を抑制 */
    img, video, iframe, embed, object {
        max-width: 100% !important;
        height: auto !important;
    }

    /* テーブルのはみ出し防止 */
    table {
        width: 100% !important;
        table-layout: fixed;
    }

    /* スクロールヒント付きテーブルはautoに戻す */
    .js-scrollable table {
        table-layout: auto !important;
        width: auto !important;
        min-width: 100%;
    }

    /* フォーム要素のはみ出し防止 */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="url"],
    textarea,
    select {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Contact Form 7 のはみ出し防止 */
    .wpcf7 {
        max-width: 100% !important;
    }

    .wpcf7-form {
        max-width: 100% !important;
    }

    .wpcf7-form-control {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
}

.entry-content h4:not([class*=is-style-style]) {
    padding-top: 0.1em !important;
    padding-bottom: 0.3em !important;
}

.stk_authorbox>.h_ttl:not(.subtext__none)::after {
    content: "（さとう ゆうすけ）";
}

/* アイキャッチ画像なし */
.has-post-thumbnail figure.eyecatch.stk_post_main_thum {display: none;}

/* テーブルの枠線の色を濃く */

.wp-block-table th, .wp-block-table td, 
.entry-content td, .entry-content th {
    border-color: rgba(102, 102, 102, 0.3) !important;
}

/* トップページのコンテンツ幅を広く */
@media only screen and (min-width: 981px) {
    .home #main,
    .home .entry-content,
    .home article.post {
        max-width: 1100px !important;
        width: 100% !important;
        margin-left: auto;
        margin-right: auto;
    }
}

/* 下層ページのコンテンツ幅を広げる */
@media only screen and (min-width: 981px) {
    body:not(.home) #main,
    body:not(.home) .entry-content,
    body:not(.home) article.post {
        max-width: 980px !important;
        width: 100% !important;
        margin-left: auto;
        margin-right: auto;
    }
}

/* 見出しサイズを大きく（サイト全体） */
.entry-content h1 { font-size: 2.2em; }
.entry-content h2 { font-size: 1.8em; }
.entry-content h3 { font-size: 1.5em; }
.entry-content h4 { font-size: 1.3em; }
.entry-content h5 { font-size: 1.15em; }
.entry-content h6 { font-size: 1.05em; }

/* グローバルナビのフォントサイズを大きく */
.stk_g_nav .ul__g_nav > li > a {
    font-size: 1.1em !important;
}
.stk_g_nav .ul__g_nav .sub-menu a {
    font-size: 1em !important;
}

/* トップページのフッター */
.home #footer {
    margin-top: 5em;
}

#footer-top.bg, #footer-top .inner{
	background-color: var(--main-ttl-bg);
}

/* 記事の最後の余白 */
.article-footer {
    margin-top: 3em;
}

/* 記事の途中の画像 */
.image_center {
	text-align: center;
	margin: 5px auto 10px;
}

.image_center img {
	margin: 10px auto 10px;
    width: 70%;
//    min-width: 200px;
//    max-width: 500px;
}

.image_center.size_small {
	float: right;
	margin: 5px 0 10px 10px;
    width: 30%;
    min-width: 200px;
    max-width: 350px;
}

.image_center.size_small img {
	margin: 10px auto 10px;
    width: 100%;
}

/* 見出しの余白 */
.margin-top-3em {
    margin-top: 3em !important;
}

/* 16:9の比率で画像を出力 */
.aspect-ratio-block {
  background-repeat: no-repeat;
  background-position: center center;
  background-color: #fff;
  background-size: 100% auto;
  width: 70%;
  position: relative;
  margin-left: 15%;
  margin-right: 15%;
  margin-bottom: 1.2em;
}

.aspect-ratio-block::before {
  content: '';
  display: block;
  padding-top: 56.25%;
}

.aspect-ratio-block p {
  position: absolute;
  top: 0;
}

/* Smart Slider */
div#n2-ss-2 .n2-style-4f72beb15bfb0511e07bfb33dde48a42-dot.n2-active, div#n2-ss-2 .n2-style-4f72beb15bfb0511e07bfb33dde48a42-dot:HOVER, div#n2-ss-2 .n2-style-4f72beb15bfb0511e07bfb33dde48a42-dot:FOCUS {
    background: #9b7d23 !important;
}

div#n2-ss-2 .n2-style-4f72beb15bfb0511e07bfb33dde48a42-dot.n2-active, 
div#n2-ss-2 .n2-style-4f72beb15bfb0511e07bfb33dde48a42-dot:HOVER, 
div#n2-ss-2 .n2-style-4f72beb15bfb0511e07bfb33dde48a42-dot:FOCUS,
div#n2-ss-2 .n2-style-ebf977099b5e4aa99a3bd86368b4e0b4-heading:Hover,
div#n2-ss-2 .n2-style-ebf977099b5e4aa99a3bd86368b4e0b4-heading:ACTIVE,
div#n2-ss-2 .n2-style-ebf977099b5e4aa99a3bd86368b4e0b4-heading:FOCUS, 
div#n2-ss-2 .n2-style-ba9a75e4e36fb36e8a4ef7400164e721-heading:Hover,
div#n2-ss-2 .n2-style-ba9a75e4e36fb36e8a4ef7400164e721-heading:ACTIVE,
div#n2-ss-2 .n2-style-ba9a75e4e36fb36e8a4ef7400164e721-heading:FOCUS, 
div#n2-ss-2 .n2-style-09a8364a7159aeff35b6b40ac3f789f6-heading:Hover,
div#n2-ss-2 .n2-style-09a8364a7159aeff35b6b40ac3f789f6-heading:ACTIVE,
div#n2-ss-2 .n2-style-09a8364a7159aeff35b6b40ac3f789f6-heading:FOCUS {
    background: #9b7d23 !important;
}

div#n2-ss-2 .n2-font-8ff1e4174c6df8be247514704a4f9532-paragraph a:HOVER,
div#n2-ss-2 .n2-font-8ff1e4174c6df8be247514704a4f9532-paragraph a:ACTIVE {
  color: #16b7cc !important;
}

div#n2-ss-2 .nextend-arrow img.n2-arrow-hover-img {
    background: #9b7d23 !important;
}

/* クラス 追加料金 */
dl.class-tuition {
    display: -webkit-flex;
    display: -moz-flex;
    display: flex;
	flex-wrap: wrap;
	align-items: stretch;	
	width: 100%;
    border: 1px solid rgba(102, 102, 102, 0.3);
	border-bottom: none;
	margin-bottom: 2em;
}
dl.class-tuition dt {
	font-size: 90%;
	background: #f5f5f5;
	padding: 5px 7px;
	width: 40%;
    border-right: 1px solid rgba(102, 102, 102, 0.3);
	border-bottom: 1px solid rgba(102, 102, 102, 0.3);
	margin: 0;
}
dl.class-tuition dd {
	font-size: 90%;
	background: #fff;
	padding: 5px 7px;
	width: calc(100% - 40%);
	border-bottom: 1px solid rgba(102, 102, 102, 0.3);
	margin: 0;
}

@media only screen and (max-width: 768px) {
	dl.class-tuition dt { 
		width: 100%;
		border-right: none;
	}
	dl.class-tuition dd {
		width: 100%; 
	}
}

/*-----------------------------------------------
フッターメニューを固定する
-----------------------------------------------*/

@media only screen and (max-width: 767px) {
#container{
    padding-bottom:50px;/*フッターの高さだけコンテンツを上げる*/
}
#fixed_footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 50px;
    background-color:var(--main-ttl-bg);/*メニューの背景色*/
    z-index:99;
}
#fixed_footer .fa {
    font-size:24px;/*アイコンフォントのサイズ*/
}
#fixed_footer ul {
    margin:5px 0;
    display: table;
    table-layout: fixed;
    text-align: center;
    width: 100%;
}
#fixed_footer ul li {
    display: table-cell;
    vertical-align: middle;
    font-size:10px;/*文字サイズ*/
    margin:auto;
}
#fixed_footer ul li a{
    color:#fff;/*文字色*/
    text-decoration:none;
}
#page-top{
    display:none;/*デフォルトのトップへ戻るボタンを消す*/
}
}

/*-----------------------------------------------
授業科目カード（ブログパーツID:722）
トップページ・下層ページ両対応
最高詳細度で親テーマを完全上書き
-----------------------------------------------*/
/* コンテナ: CSS Gridで3列 */
body .class-cards,
body .entry-content .class-cards,
body #main .entry-content .class-cards,
body article .entry-content .class-cards {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px !important;
    padding: 20px !important;
    background: #f5f5f5 !important;
    border-radius: 8px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    list-style: none !important;
}

/* 各カード: リンク要素の完全リセット */
body .class-cards .class-card,
body .class-cards a.class-card,
body .entry-content .class-cards .class-card,
body .entry-content .class-cards a.class-card,
body #main .entry-content .class-cards a.class-card {
    display: flex !important;
    flex-direction: column !important;
    background: #fff !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    text-decoration: none !important;
    color: inherit !important;
    transition: transform 0.2s !important;
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    border: none !important;
    box-shadow: none !important;
    position: relative !important;
}

body .class-cards .class-card:hover,
body .class-cards a.class-card:hover,
body .entry-content .class-cards a.class-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: none !important;
}

/* カード内の画像 - 完全リセット */
body .class-cards .class-card img,
body .class-cards a.class-card img,
body .entry-content .class-cards .class-card img,
body .entry-content .class-cards a.class-card img,
body #main .entry-content .class-cards a.class-card img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 400 / 267 !important;
    object-fit: cover !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    max-width: 100% !important;
    float: none !important;
}

/* カードタイトル - 完全リセット */
body .class-cards .class-card .class-card__title,
body .class-cards a.class-card .class-card__title,
body .entry-content .class-cards .class-card .class-card__title,
body .entry-content .class-cards a.class-card .class-card__title,
body #main .entry-content .class-cards a.class-card .class-card__title,
body .class-cards .class-card p.class-card__title,
body .class-cards .class-card span.class-card__title,
body .entry-content .class-cards a.class-card p.class-card__title,
body .entry-content .class-cards a.class-card span.class-card__title {
    display: block !important;
    margin: 0 !important;
    padding: 12px 16px !important;
    font-size: 1.15em !important;
    font-weight: bold !important;
    text-align: center !important;
    background: #fff !important;
    color: #333 !important;
    border: none !important;
    line-height: 1.4 !important;
}

/* カードボタン - 完全リセット */
body .class-cards .class-card .class-card__btn,
body .class-cards a.class-card .class-card__btn,
body .entry-content .class-cards .class-card .class-card__btn,
body .entry-content .class-cards a.class-card .class-card__btn,
body #main .entry-content .class-cards a.class-card .class-card__btn,
body .class-cards .class-card span.class-card__btn,
body .entry-content .class-cards a.class-card span.class-card__btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    margin: 0 16px 16px !important;
    padding: 10px 32px 10px 16px !important;
    border: 1px solid var(--main-link-color, #9b7d23) !important;
    border-radius: 6px !important;
    color: var(--main-link-color, #9b7d23) !important;
    font-size: 0.85em !important;
    text-align: center !important;
    transition: background 0.2s, color 0.2s !important;
    white-space: nowrap !important;
    background: transparent !important;
    text-decoration: none !important;
}

body .class-cards .class-card .class-card__btn::after,
body .class-cards a.class-card .class-card__btn::after,
body .entry-content .class-cards a.class-card .class-card__btn::after,
body .entry-content .class-cards a.class-card span.class-card__btn::after {
    font-family: var(--stk-font-awesome-free, "Font Awesome 6 Free") !important;
    font-weight: 900 !important;
    content: "\f105" !important;
    position: absolute !important;
    right: 12px !important;
}

body .class-cards .class-card:hover .class-card__btn,
body .class-cards a.class-card:hover .class-card__btn,
body .entry-content .class-cards a.class-card:hover .class-card__btn {
    background: var(--main-link-color, #9b7d23) !important;
    color: #fff !important;
}

/* タブレット: 横2列 */
@media only screen and (max-width: 768px) {
    body .class-cards,
    body .entry-content .class-cards,
    body #main .entry-content .class-cards,
    body article .entry-content .class-cards {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* スマホ: 横1列 */
@media only screen and (max-width: 480px) {
    body .class-cards,
    body .entry-content .class-cards,
    body #main .entry-content .class-cards,
    body article .entry-content .class-cards {
        grid-template-columns: 1fr !important;
    }
}

/*-----------------------------------------------
フッターボタン（公式LINE・電話）2カラム
-----------------------------------------------*/
.stk_grids {
    display: grid !important;
    grid-template-columns: repeat(var(--gridcolumn_pc, 2), 1fr) !important;
    gap: var(--gridgap_pc, 16px) !important;
}

.stk_grids .stk_grid__child {
    width: 100% !important;
}

.stk_grids .wp-block-buttons {
    width: 100% !important;
    display: block !important;
}

.stk_grids .wp-block-button {
    width: 100% !important;
    max-width: 100% !important;
}

.stk_grids .wp-block-button__link {
    width: 100% !important;
    display: block !important;
    text-align: center !important;
}

@media only screen and (max-width: 599px) {
    .stk_grids {
        grid-template-columns: repeat(var(--gridcolumn_sp, 1), 1fr) !important;
        gap: var(--gridgap_sp, 16px) !important;
    }
}

/*-----------------------------------------------
アーカイブページ（カテゴリ一覧）PC用2列表示
-----------------------------------------------*/
@media only screen and (min-width: 981px) {
    .archive .archives-list.card-list,
    .category .archives-list.card-list {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
    .archive .archives-list.card-list .post-list,
    .category .archives-list.card-list .post-list {
        width: 100% !important;
        max-width: 100% !important;
    }
}

/*-----------------------------------------------
カード型・オーバーレイ（サイト共通）
トップページ・下層ページ両方で使用可能
-----------------------------------------------*/
.cat_postlist.typecard.overlay-style {
    gap: 20px;
}

.cat_postlist.typecard.overlay-style .cat_postlist__li {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.cat_postlist.typecard.overlay-style .cat_postlist__li:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.cat_postlist.typecard.overlay-style .cat_postlist__li a {
    display: block;
    position: relative;
}

.cat_postlist.typecard.overlay-style .cat_postlist__li .eyecatch {
    margin-bottom: 0 !important;
}

.cat_postlist.typecard.overlay-style .cat_postlist__li .eyecatch img {
    aspect-ratio: 16 / 10;
    object-fit: cover;
    margin-bottom: 0 !important;
    transition: transform 0.3s;
}

.cat_postlist.typecard.overlay-style .cat_postlist__li:hover .eyecatch img {
    transform: scale(1.05);
}

.cat_postlist.typecard.overlay-style .cat_postlist__li .ttl {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.35);
    color: #fff;
    font-size: 1.4em;
    font-weight: bold;
    text-align: center;
}

.cat_postlist.typecard.overlay-style .cat_postlist__li .post-date {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--main-ttl-bg, #9b7d23);
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75em;
}

/* PC: 横2列 */
@media only screen and (min-width: 981px) {
    .cat_postlist.typecard.overlay-style .cat_postlist__ul {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
}

/* タブレット: 横2列 */
@media only screen and (max-width: 980px) {
    .cat_postlist.typecard.overlay-style {
        --stk-postlist_column_tb: 50% !important;
    }
    .cat_postlist.typecard.overlay-style .cat_postlist__ul {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* スマホ: 横1列 */
@media only screen and (max-width: 599px) {
    .cat_postlist.typecard.overlay-style {
        --stk-postlist_column_sp: 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .cat_postlist.typecard.overlay-style .cat_postlist__ul {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }
    .cat_postlist.typecard.overlay-style .cat_postlist__li {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        margin: 0 !important;
    }
    .cat_postlist.typecard.overlay-style .cat_postlist__li a {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .cat_postlist.typecard.overlay-style .cat_postlist__li .eyecatch {
        width: 100% !important;
        max-width: 100% !important;
    }
    .cat_postlist.typecard.overlay-style .cat_postlist__li .eyecatch img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
    }
}

/*-----------------------------------------------
花田義塾について（トップページ用・後方互換）
-----------------------------------------------*/
.home .cat_postlist.typecard {
    gap: 20px;
}

.home .cat_postlist.typecard .cat_postlist__li {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.home .cat_postlist.typecard .cat_postlist__li:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.home .cat_postlist.typecard .cat_postlist__li a {
    display: block;
    position: relative;
}

.home .cat_postlist.typecard .cat_postlist__li .eyecatch {
    margin-bottom: 0 !important;
}

.home .cat_postlist.typecard .cat_postlist__li .eyecatch img {
    aspect-ratio: 16 / 10;
    object-fit: cover;
    margin-bottom: 0 !important;
    transition: transform 0.3s;
}

.home .cat_postlist.typecard .cat_postlist__li:hover .eyecatch img {
    transform: scale(1.05);
}

.home .cat_postlist.typecard .cat_postlist__li .ttl {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.35);
    color: #fff;
    font-size: 1.4em;
    font-weight: bold;
    text-align: center;
}

.home .cat_postlist.typecard .cat_postlist__li .post-date {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--main-ttl-bg, #9b7d23);
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75em;
}

/* タブレット: 横2列 */
@media only screen and (max-width: 980px) {
    .home .cat_postlist.typecard {
        --stk-postlist_column_tb: 50% !important;
    }
    .home .cat_postlist.typecard .cat_postlist__ul {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* スマホ: 横1列 */
@media only screen and (max-width: 599px) {
    .home .cat_postlist.typecard {
        --stk-postlist_column_sp: 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .home .cat_postlist.typecard .cat_postlist__ul {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }
    .home .cat_postlist.typecard .cat_postlist__li {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        margin: 0 !important;
    }
    .home .cat_postlist.typecard .cat_postlist__li a {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .home .cat_postlist.typecard .cat_postlist__li .eyecatch {
        width: 100% !important;
        max-width: 100% !important;
    }
    .home .cat_postlist.typecard .cat_postlist__li .eyecatch img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
    }
}

/*-----------------------------------------------
ギャラリー画像の角丸・レスポンシブ（サイト全体）
-----------------------------------------------*/
.wp-block-gallery.is-cropped .wp-block-image,
.wp-block-gallery.is-cropped .wp-block-image img {
    border-radius: 12px !important;
}

/* スマホ: 横1列 */
@media only screen and (max-width: 599px) {
    .wp-block-gallery.is-cropped {
        flex-direction: column !important;
    }
    .wp-block-gallery.is-cropped .wp-block-image {
        width: 100% !important;
        flex: none !important;
        max-width: 100% !important;
    }
}

/*-----------------------------------------------
自動スライダー（横幅100%・無限ループ）
-----------------------------------------------*/
.auto-slider {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    overflow: hidden;
    margin-bottom: 1.5em;
}

.auto-slider__track {
    display: flex;
    animation: slide 20s linear infinite;
}

.auto-slider__track img {
    flex-shrink: 0;
    width: 300px;
    height: 200px;
    object-fit: cover;
    margin-right: 10px;
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ホバーで停止 */
.auto-slider:hover .auto-slider__track {
    animation-play-state: paused;
}

/*-----------------------------------------------
トップページ Swiperスライダー
-----------------------------------------------*/
/* 初期化前の画像ジャンプ防止 */
.hg-slider-container .swiper-wrapper:not(.swiper-wrapper-initialized) {
    display: flex;
    overflow: hidden;
}

.hg-slider-container .swiper-wrapper:not(.swiper-wrapper-initialized) .swiper-slide {
    flex-shrink: 0;
    width: 40%;
    opacity: 0.7;
}

.hg-slider-container .swiper-wrapper:not(.swiper-wrapper-initialized) .swiper-slide:first-child {
    opacity: 1;
}

/* スライダー全体のコンテナ - 横幅100% */
div.hg-slider-container {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding: 20px 0;
    position: relative;
    box-sizing: border-box;
}

/* Swiperのメイン設定 */
.hg-slider-container .hg-swiper {
    width: 100%;
    padding: 20px 0 60px 0;
    overflow: visible;
}

.hg-slider-container .hg-swiper .swiper-wrapper {
    display: flex;
    align-items: center;
}

/* 各スライド */
.hg-slider-container .hg-swiper .swiper-slide {
    aspect-ratio: 3 / 2;
    max-height: 420px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* アクティブなスライド */
.hg-slider-container .hg-swiper .swiper-slide-active {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* スライド内のリンク */
.hg-slider-container .hg-swiper .swiper-slide a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

/* スライド画像 */
.hg-slider-container .hg-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* スライドのオーバーレイ */
.hg-slide-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.8);
    color: #333;
    padding: 32px 44px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
    max-width: 90%;
}

/* スライドタイトル */
.hg-slide-title {
    display: block;
    font-size: 34px;
    font-weight: bold;
    color: var(--main-ttl-bg, #9b7d23);
    line-height: 1.3;
    -webkit-text-stroke: 3px #fff;
    text-stroke: 0.5px #fff;
    paint-order: stroke fill;
}

/* スライドサブタイトル */
.hg-slide-subtitle {
    display: block;
    font-size: 20px;
    font-weight: 540;
    margin-top: 12px;
    margin-bottom: 10px;
    color: #333;
    line-height: 1.4;
    -webkit-text-stroke: 2px #fff;
    text-stroke: 0.3px #fff;
    paint-order: stroke fill;
}

/* スライドボタン */
.hg-slide-btn {
    display: inline-block;
    margin-top: 12px;
    padding: 8px 24px;
    background: var(--main-ttl-bg, #9b7d23);
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    border-radius: 6px;
    transition: background 0.2s;
}

.hg-slider-container .hg-swiper .swiper-slide a:hover .hg-slide-btn {
    background: var(--main-link-color-hover, #c1aa13);
}

/* ページネーション（ドット） */
.hg-slider-container .hg-swiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #ccc;
    opacity: 1;
}

.hg-slider-container .hg-swiper .swiper-pagination-bullet-active {
    background: var(--main-ttl-bg, #9b7d23);
    width: 24px;
    border-radius: 5px;
}

/* ナビゲーションボタン - PC用（中央スライド画像の下に配置） */
.hg-slider-container .swiper-button-next,
.hg-slider-container .swiper-button-prev {
    display: flex;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    top: auto;
    bottom: -1px;
    transform: none;
}

.hg-slider-container .swiper-button-next::after,
.hg-slider-container .swiper-button-prev::after {
    font-size: 16px;
    color: var(--main-ttl-bg, #9b7d23);
    font-weight: bold;
}

/* 中央スライド画像の下に配置 */
.hg-slider-container .swiper-button-prev {
    left: calc(50% - 23%);
}

.hg-slider-container .swiper-button-next {
    right: calc(50% - 23%);
}

/* レスポンシブ対応 - 中間幅（900px前後） */
@media (max-width: 1024px) {
    .hg-slider-container .hg-swiper .swiper-slide .hg-slide-overlay {
        max-width: none;
        width: 85%;
        white-space: normal;
        padding: 18px 20px;
        box-sizing: border-box;
    }

    .hg-slider-container .hg-slide-title {
        font-size: 20px;
    }

    .hg-slider-container .hg-slide-subtitle {
        font-size: 13px;
        margin-top: 8px;
    }
}

/* スマホ時のみ表示する改行 */
.hg-slider-container .sp-only {
    display: none;
}

/* レスポンシブ対応 - スマホ */
@media (max-width: 768px) {
    .hg-slider-container .sp-only {
        display: inline;
    }

    .hg-slider-container .hg-swiper .swiper-slide {
        aspect-ratio: 3 / 2;
    }

    .hg-slide-overlay {
        max-width: 80%;
        padding: 16px 18px;
        white-space: normal;
    }

    .hg-slide-title {
        font-size: 18px;
    }

    .hg-slide-subtitle {
        font-size: 13px;
        margin-top: 4px;
    }

    .hg-slide-btn {
        font-size: 12px;
        padding: 6px 16px;
        margin-top: 8px;
    }

    /* スマホ時のナビゲーションボタン（画像の外・下に配置） */
    .hg-slider-container .swiper-button-next,
    .hg-slider-container .swiper-button-prev {
        width: 30px;
        height: 30px;
        bottom: -1px;
    }

    .hg-slider-container .swiper-button-next::after,
    .hg-slider-container .swiper-button-prev::after {
        font-size: 12px;
    }

    .hg-slider-container .swiper-button-prev {
        left: calc(50% - 38%);
    }

    .hg-slider-container .swiper-button-next {
        right: calc(50% - 38%);
    }
}

/*-----------------------------------------------
セクション余白のレスポンシブ調整
-----------------------------------------------*/
/* stk-mt_m: PC */
.stk-mt_m,
.entry-content .stk-mt_m,
h2.stk-mt_m {
    margin-top: 3em !important;
}

/* stk-mt_l: PC */
.stk-mt_l,
.entry-content .stk-mt_l,
h2.stk-mt_l {
    margin-top: 4em !important;
}

/* タブレット */
@media (max-width: 768px) {
    .stk-mt_m,
    .entry-content .stk-mt_m,
    h2.stk-mt_m {
        margin-top: 2em !important;
    }
    .stk-mt_l,
    .entry-content .stk-mt_l,
    h2.stk-mt_l {
        margin-top: 2.5em !important;
    }
}

/* スマホ */
@media (max-width: 480px) {
    .stk-mt_m,
    .entry-content .stk-mt_m,
    h2.stk-mt_m {
        margin-top: 1.5em !important;
    }
    .stk-mt_l,
    .entry-content .stk-mt_l,
    h2.stk-mt_l {
        margin-top: 2em !important;
    }
}

/*-----------------------------------------------
下層ページ ヒーローエリア
-----------------------------------------------*/
.page-hero-area {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    background: #f5f5f5;
    border-bottom: 1px solid #e0e0e0;
    padding: 50px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* 背景画像あり */
.page-hero-area.has-bg-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* ぼかし用の疑似要素 */
.page-hero-area.has-bg-image::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: inherit;
    background-size: cover;
    background-position: center;
    filter: blur(8px);
    z-index: 0;
}

/* 半透明オーバーレイ */
.page-hero-area.has-bg-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--footer-bg, #6d5318);
    opacity: 0.4;
    z-index: 1;
}

.page-hero-inner {
    max-width: 1100px;
    margin: 0 auto .7em;
    position: relative;
    z-index: 2;
}

.page-hero-label {
    display: inline-block;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    background: transparent;
    border: 2px solid #fff;
    border-radius: 50px;
    padding: 4px 15px 5px;
    margin-bottom: 12px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.page-hero-title {
    font-size: 28px;
    font-weight: bold;
    color: #fff;
    margin: 0;
    line-height: 1.4;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

/* タブレット */
@media (max-width: 768px) {
    .page-hero-area {
        padding: 40px 15px;
    }
    .page-hero-title {
        font-size: 24px;
    }
}

/* スマホ */
@media (max-width: 480px) {
    .page-hero-area {
        padding: 30px 15px;
    }
    .page-hero-label {
        font-size: 11px;
        padding: 3px 10px;
    }
    .page-hero-title {
        font-size: 20px;
    }
}