/*
Theme Name: GeneratePress Child
Theme URI: https://generatepress.com/
Description: Child theme for GeneratePress.
Author: KMI Design Office
Template: generatepress
Version: 1.0.0
Text Domain: generatepress-child
*/

/* Custom styles below */

body {
    background-color: #ffffff!important;
    color: var(--contrast);
}

.separate-containers .comments-area,.separate-containers .inside-article,.separate-containers .page-header,.separate-containers .paging-navigation {
    padding: 0 40px
}

/* 固定ページのタイトルのみ非表示 */
.page .entry-header {
    display: none;
}
/* 投稿詳細ページのアイキャッチ画像 */
.single-post .post-eyecatch {
    display : none!important;
}

.entry-title {
    margin-bottom: 0;
        font-size: 30px;
    margin-bottom: 20px;
    line-height: 1.2em;
    font-weight: 400;
    text-transform: none;
    color : #00a968;
    font-weight : 600;
    padding-bottom : 5px;
}

/* パソコン */
.br-sp {
    display: none;
}

.br-pc {
    display: inline;
}

/* スマートフォン（899px以下） */
@media screen and (max-width: 899px) {
    .br-sp {
        display: inline;
    }

    .br-pc {
        display: none;
    }
}
h2 {
    font-size: 32px;
    margin-bottom: 20px;
    line-height: 1.2em;
    font-weight: 400;
    text-transform: none;
    color : #00a968;
    font-weight : 600;
    border-bottom : 2px solid #00a968;
    padding-bottom : 5px;
}
p {
    margin-bottom: 1.5em;
    line-height : 1.8em
}

ol, ul {
    margin: 0 0 1.5em 1.5em !important;
}

ol li,
ul li {
    margin-bottom: 15px !important;
}

ol li:last-child,
ul li:last-child {
    margin-bottom: 0 !important;
}

@media screen and (max-width: 899px) {
h2 {
    font-size: 24px;
    margin-bottom: 20px;
    line-height: 1.3em;
    font-weight: 600;
    text-transform: none;
    color : #00a968;
    border-bottom : 2px solid #00a968;
    padding-bottom : 5px;
}
    .separate-containers .inside-article, .separate-containers .comments-area, .separate-containers .page-header, .separate-containers .paging-navigation, .one-container .site-content, .inside-page-header {
        padding:0 20px!important;
    }
p {
    margin-bottom: 1.5em;
    line-height : 180%;
}
}

/* ========================================
   ヘッダー
======================================== */
/* 画像ロゴを登録するまでサイト名を非表示 */
.site-header .site-branding .main-title {
    display: none;
}


.site-header {
    background-color: #00a968;
}

.site-header .inside-header {
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.site-header .site-branding {
    margin: 0;
}

.site-header .main-title {
    font-size: 30px;
    font-weight: 700;
    line-height: 1.4;
}

.site-header .main-title a {
    color: #fff;
    text-decoration: none;
}

.site-header .header-contact {
    margin-left: auto;
    color: #fff;
    text-align: right;
}

.header-address {
    font-size: 20px;
    line-height: 1.6;
    font-weight : 600;
}

.header-tel {
    display: inline-block;
    margin-top: 0;
    font-size: 34px;
    font-weight: 900;
    font-family: Arial, sans-serif;
    color: #fff !important;
    text-decoration: none;
}

/* オンマウスでも白文字を維持 */
.header-tel:hover,
.header-tel:focus,
.header-tel:visited {
    color: #fff !important;
    text-decoration: none;
}
.header-tel span{
	font-size : 20px;
}

@media screen and (max-width: 899px) {
    .site-header .header-image {
        width: 290px !important;
        max-width: none !important;
        height: auto;
    }
}


/* ========================================
   スマートフォン
======================================== */
@media screen and (max-width: 899px) {
    .site-header .inside-header {
        padding: 15px;
        flex-direction: column;
        gap: 10px;
    }

    .site-header .header-contact {
        margin-left: 0;
        text-align: center;
    }

    .site-header .main-title {
        font-size: 22px;
    }

    .header-address {
        font-size: 15px;
        line-height : 28px;
        font-weight : 600;
    }

    .header-tel {
        font-size: 22px;
    }
    .header-tel span {
        font-size: 16px;
    }
}

/* FV：画面幅いっぱいに表示 */
.site-fv {
    width: 100%;
    margin: 0;
}

.site-fv picture,
.site-fv img {
    display: block;
    width: 100%;
}

.site-fv img {
    height: auto;
}


/* ========================================
GeneratePress標準メニューを非表示
======================================== */
#site-navigation {
    display: none !important;
}

/* ========================================
独自グローバルメニュー PC
======================================== */
.kmi-global-nav {
    width: 100%;
    background: #00a968;
}

.kmi-menu-inner {
    max-width: 1280px;
    margin: 0 auto;
}

.kmi-menu-list {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
}

.kmi-menu-list > li {
    flex: 1;
    text-align: center;
}

.kmi-menu-list > li > a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70px;
    padding: 10px;
    box-sizing: border-box;
    color: #fff;
    font-size: 20px;
    line-height: 1.4;
    text-decoration: none;
}

.kmi-menu-list > li > a:hover,
.kmi-menu-list > li.current-menu-item > a {
    background: #008c57;
    color: #fff;
}
.kmi-menu-list > li {
    margin-bottom: 0 !important;
}

.kmi-menu-toggle {
    display: none;
}

/* ========================================
スマホ 899px以下
======================================== */
@media screen and (max-width: 899px) {

    /* ヘッダー：ロゴとメニューボタンの段 */
    #masthead {
        position: relative;
        background: #fff;
    }

    #masthead .inside-header {
        position: relative;
        display: flex;
        flex-direction: column;
        padding: 0;
        gap: 0;
    }

    /* ロゴの段 */
    #masthead .site-branding {
        width: 100%;
        min-height: 55px;
        padding: 10px 65px 10px 15px;
        box-sizing: border-box;
        display: flex;
        align-items: center;
    }

    /* 住所・電話番号の段 */
    #masthead .header-contact {
        width: 100%;
        box-sizing: border-box;
        padding: 8px 15px;
        background: #00a968;
        color: #fff;
        text-align: center;
    }

    #masthead .header-contact a {
        color: #fff;
    }

    /* メニュー本体はヘッダー内に移動させず、
       ボタンだけを右上に固定表示 */
    .kmi-global-nav {
        position: static;
        width: 100%;
        background: transparent;
    }

    .kmi-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 9px;
        right: 15px;
        z-index: 1001;
        width: 38px;
        height: 38px;
        padding: 0;
        border: 0;
        border-radius: 50%;
        background: #00a968;
        color: #fff;
        font-size: 0;
        cursor: pointer;
    }

    .kmi-menu-icon {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .kmi-menu-icon span {
        display: block;
        width: 18px;
        height: 2px;
        background: #fff;
    }

    /* メニュー開閉部分 */
    .kmi-menu-inner {
        display: none;
        position: absolute;
        top: 55px;
        left: 0;
        z-index: 1000;
        width: 100%;
        max-width: none;
        background: #00a968;
    }

    .kmi-menu-inner.is-open {
        display: block;
    }

    .kmi-menu-list {
        display: block;
    }

    .kmi-menu-list > li {
        width: 100%;
        text-align: left;
    }

    .kmi-menu-list > li > a {
        justify-content: flex-start;
        min-height: 0;
        padding: 15px 20px;
        font-size: 16px;
        border-bottom: 1px solid rgba(255,255,255,0.35);
    }

    /* ヘッダー右上のボタン */
    #masthead .kmi-menu-toggle {
        position: absolute;
        top: 9px;
        right: 15px;
        z-index: 1001;
    }

    /* 開いたメニューを画面上部に表示 */
    .kmi-global-nav .kmi-menu-inner {
        position: fixed;
        top: 55px;
        left: 0;
        right: 0;
        z-index: 1000;
        width: 100%;
        max-width: none;
    }

    .kmi-global-nav .kmi-menu-inner:not(.is-open) {
        display: none;
    }

    .kmi-global-nav .kmi-menu-inner.is-open {
        display: block;
    }
}


/* 右サイドバーのバナー */
.side-banners {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.side-banners a,
.side-banners img {
    display: block;
    width: 100%;
}

.side-banners img {
    height: auto;
}

/* ========================================
フッター
======================================== */
.site-info {
    background: #00a968;
    padding: 55px 20px;
    color: #fff;
    text-align: center;
}

.site-info a {
    color: #fff;
}

.site-info a:hover {
    color: #fff;
}


/* ========================================
TOPへ戻るボタン（常時固定）
======================================== */

/* GeneratePress標準ボタンを非表示 */
.generate-back-to-top {
    display: none !important;
}

/* 独自の固定ボタン */
.kmi-back-to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 99999;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 160px;
    height: 60px;

    background-color: #00a968 !important;
    color: #fff !important;
    border-radius: 8px;

    font-size: 20px;
    font-weight: 700;
    white-space: nowrap;
    text-decoration: none !important;
    box-sizing: border-box;
}

.kmi-back-to-top:hover,
.kmi-back-to-top:focus,
.kmi-back-to-top:visited {
    background-color: #00a968 !important;
    color: #fff !important;
    text-decoration: none !important;
}

/* 投稿詳細ページのアイキャッチ画像 */
.single-post .post-eyecatch {
    margin: 25px 0 35px;
    text-align: center;
}

.single-post .post-eyecatch img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}



/* ========================================
トップページ 新着情報一覧
======================================== */
.kmi-news-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* 投稿詳細ページの上部アイキャッチを非表示 */
.single-post .featured-image,
.single-post .post-image {
    display: none !important;
}

.kmi-news-item {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    padding: 25px;
    background: #fff;
    border: 1px solid #eee;
}

/* アイキャッチ画像 */
.kmi-news-image {
    display: block;
    flex: 0 0 35%;
}

.kmi-news-image img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    height: auto;
}

/* 記事情報 */
.kmi-news-body {
    flex: 1;
    min-width: 0;
}

.kmi-news-date {
    display: block;
    color: #00a968;
    font-size: 13px;
    margin-bottom: 10px;
}

.kmi-news-heading {
    font-size: 18px;
    line-height: 1.6;
    margin: 0 0 15px;
}

.kmi-news-heading a {
    color: #00a968;
    text-decoration: none;
}

.kmi-news-excerpt {
    font-size: 14px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 15px;
}

.kmi-news-more {
    display: block;
    text-align: right;
    color: #888;
    font-size: 13px;
    text-decoration: none;
}

/* ページ切り替え */
.kmi-news-pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 35px 0;
}

.kmi-news-pagination .page-numbers {
    padding: 8px 14px;
    border: 1px solid #ddd;
    text-decoration: none;
}

.kmi-news-pagination .current {
    background: #00a968;
    color: #fff;
    border-color: #00a968;
}

/* スマートフォン */
@media screen and (max-width: 899px) {
    .kmi-news-item {
        display: block;
        padding: 15px;
    }

    .kmi-news-image {
        margin-bottom: 15px;
    }

    .kmi-news-image img {
        aspect-ratio: 4 / 3;
    }
}

/* ギャラリー：PC2列・スマホ1列 */
.wp-block-gallery.has-nested-images {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.wp-block-gallery.has-nested-images figure.wp-block-image {
    width: 100% !important;
    margin: 0;
}

@media screen and (max-width: 899px) {
    .wp-block-gallery.has-nested-images {
        grid-template-columns: 1fr;
    }
}

/* ========================================
スタッフ一覧 PC
======================================== */
.staff-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}

.staff-card {
    border: 1px solid #ddd;
    padding: 15px;
    box-sizing: border-box;
    background: #fff;
}

.staff-photo img {
    display: block;
    width: 100%;
    height: auto;
}

.staff-info {
    text-align: center;
    padding-top: 15px;
}

.staff-name {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.5;
}

.staff-position {
    font-size: 15px;
    line-height: 1.6;
    margin-top: 5px;
}

/* ========================================
スマートフォン
======================================== */
@media screen and (max-width: 899px) {

    .staff-list {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .staff-card {
        display: flex;
        align-items: center;
        gap: 15px;
        padding: 12px;
    }

    .staff-photo {
        width: 35%;
        flex-shrink: 0;
    }

    .staff-info {
        flex: 1;
        min-width: 0;
        text-align: left;
        padding-top: 0;
    }

    .staff-name {
        font-size: 18px;
    }

    .staff-position {
        font-size: 14px;
    }
}

/* ========================================
コース案内
======================================== */
.course-info {
    width: 100%;
    border: 1px solid #ddd;
    border-bottom: none;
    box-sizing: border-box;
}

.course-info-row {
    display: grid;
    grid-template-columns: 32% 1fr;
    border-bottom: 1px solid #ddd;
}

.course-info-title {
    background: #edf7f2;
    padding: 20px;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.7;
}

.course-info-title span {
    display: block;
    font-size: 13px;
    font-weight: normal;
}

.course-info-text {
    padding: 20px 25px;
    font-size: 16px;
    line-height: 1.9;
    background: #fff;
}

/* ========================================
スマートフォン
======================================== */
@media screen and (max-width: 899px) {

    .course-info-row {
        grid-template-columns: 1fr;
    }

    .course-info-title {
        padding: 12px 15px;
        font-size: 16px;
    }

    .course-info-text {
        padding: 15px;
        font-size: 15px;
    }
}

/* ========================================
コース料金一覧
======================================== */
.kmi-course-table {
    width: 100%;
    border: 1px solid #d8e2dc;
    box-sizing: border-box;
}

.kmi-course-row {
    display: grid;
    grid-template-columns: 32% minmax(0, 1fr);
    border-bottom: 1px solid #d8e2dc;
}

.kmi-course-row:last-child {
    border-bottom: none;
}

/* 左側：コース名 */
.kmi-course-title {
    background: #f6faf7;
    padding: 25px 20px;
    border-right: 1px solid #d8e2dc;
    box-sizing: border-box;
}

.kmi-course-title h3 {
    font-size: 19px;
    font-weight: 700;
    color: #166b48;
    line-height: 1.5;
    margin: 0 0 10px;
}

.kmi-course-title p {
    font-size: 14px;
    line-height: 1.8;
    color: #555;
    margin: 0;
}

/* 右側：内容 */
.kmi-course-detail {
    padding: 25px;
    background: #fff;
    font-size: 16px;
    line-height: 1.8;
    min-width: 0;
    box-sizing: border-box;
}

.kmi-course-detail p {
    margin: 0 0 15px;
}

/* 一般・ジュニアなど */
.kmi-course-target {
    font-weight: 600;
    margin-bottom: 12px !important;
}

/* 料金行 */
.kmi-course-price-line {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 15px;
    padding: 8px 0;
    border-bottom: 1px solid #edf0ee;
}

.kmi-course-price-line:last-child {
    border-bottom: none;
}

.kmi-course-price-line strong {
    font-size: 19px;
    color: #222;
    white-space: nowrap;
}

/* プレミアムコース区分 */
.kmi-course-category + .kmi-course-category {
    margin-top: 25px;
}

.kmi-course-label {
    display: inline-block;
    background: #e8f4ed;
    color: #166b48;
    border-left: 3px solid #00a968;
    padding: 4px 12px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 10px;
}

/* 対象 */
.kmi-course-target-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin-bottom: 20px;
}

.kmi-course-target-row .kmi-course-label {
    margin-bottom: 0;
}

/* 育成コース料金 */
.kmi-course-fee {
    background: #f8faf9;
    padding: 15px 18px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.kmi-course-fee div {
    font-size: 16px;
    margin-bottom: 5px;
}

.kmi-course-fee strong {
    display: block;
    font-size: 19px;
    line-height: 1.6;
    color: #166b48;
}

/* コース説明 */
.kmi-course-description {
    font-size: 15px;
    line-height: 1.9;
    color: #444;
    margin: 0 !important;
}

/* ========================================
スマートフォン
======================================== */
@media screen and (max-width: 899px) {

    .kmi-course-row {
        grid-template-columns: 1fr;
    }

    .kmi-course-title {
        padding: 17px 15px;
        border-right: none;
        border-bottom: 1px solid #e2ebe5;
    }

    .kmi-course-title h3 {
        font-size: 18px;
        margin-bottom: 6px;
    }

    .kmi-course-title p {
        font-size: 13px;
    }

    .kmi-course-detail {
        padding: 18px 15px;
        font-size: 15px;
    }

    .kmi-course-price-line {
        gap: 8px;
        font-size: 14px;
    }

    .kmi-course-price-line strong {
        font-size: 17px;
    }

    .kmi-course-fee {
        padding: 12px;
    }

    .kmi-course-fee strong {
        font-size: 16px;
        overflow-wrap: anywhere;
    }

    .kmi-course-description {
        font-size: 14px;
    }
}

/* ========================================
アクセスページ 基本情報
======================================== */
.kmi-access-info {
    width: 100%;
    border: 1px solid #d8e2dc;
    box-sizing: border-box;
}

.kmi-access-row {
    display: grid;
    grid-template-columns: 28% minmax(0, 1fr);
    border-bottom: 1px solid #d8e2dc;
}

.kmi-access-row:last-child {
    border-bottom: none;
}

/* 左側：項目名 */
.kmi-access-title {
    background: #f6faf7;
    padding: 20px;
    border-right: 1px solid #d8e2dc;
    color: #166b48;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.7;
    box-sizing: border-box;
}

/* 右側：詳細 */
.kmi-access-detail {
    background: #fff;
    padding: 20px 25px;
    font-size: 16px;
    line-height: 1.9;
    color: #333;
    min-width: 0;
    box-sizing: border-box;
}

/* 補足 */
.kmi-access-note {
    display: block;
    font-size: 14px;
    color: #777;
    margin-top: 5px;
}

/* 電話番号 */
.kmi-access-tel {
    font-size: 21px;
    font-weight: 700;
    color: #166b48;
    text-decoration: none;
}

.kmi-access-tel:hover {
    color: #00a968;
}

/* ========================================
スマートフォン
======================================== */
@media screen and (max-width: 899px) {

    .kmi-access-row {
        grid-template-columns: 1fr;
    }

    .kmi-access-title {
        padding: 10px 15px;
        border-right: none;
        border-bottom: 1px solid #e2ebe5;
        font-size: 16px;
    }

    .kmi-access-detail {
        padding: 15px;
        font-size: 15px;
    }

    .kmi-access-tel {
        font-size: 20px;
    }

}

/* ========================================
アクセスページ Googleマップ
======================================== */
.accesspage-gmap {
    width: 100%;
    margin: 35px 0;
    text-align: center;
}

.accesspage-gmap iframe {
    display: block;
    width: 100%;
    height: 450px;
    border: 0;
}

/* Googleマップへのリンク画像 */
.accesspage-gmap a {
    display: inline-block;
    margin-top: 20px;
}

.accesspage-gmap a img {
    display: block;
    max-width: 250px;
    width: 100%;
    height: auto;
}

/* スマートフォン */
@media screen and (max-width: 899px) {

    .accesspage-gmap {
        margin: 25px 0;
    }

    .accesspage-gmap iframe {
        height: 350px;
    }

    .accesspage-gmap a img {
        max-width: 220px;
    }
}

/* ========================================
アクセスページ 交通アクセス
======================================== */
.kmi-access-route {
    margin: 40px 0;
}

.kmi-access-route-list {
    border: 1px solid #d8e2dc;
    background: #fff;
}

.kmi-access-route-item {
    padding: 20px 25px;
    border-bottom: 1px solid #d8e2dc;
}

.kmi-access-route-item:last-child {
    border-bottom: none;
}

/* 項目見出し */
.kmi-access-route-label {
    display: inline-block;
    padding: 4px 12px;
    margin-bottom: 12px;
    background: #e8f4ed;
    border-left: 3px solid #00a968;
    color: #166b48;
    font-size: 15px;
    font-weight: 700;
}

/* 説明文 */
.kmi-access-route-item p {
    margin: 0;
    font-size: 16px;
    line-height: 1.9;
    color: #333;
}

/* 補足 */
.kmi-access-route-item .kmi-access-route-note {
    margin-top: 8px;
    font-size: 14px;
    color: #666;
}

/* ========================================
スマートフォン
======================================== */
@media screen and (max-width: 899px) {

    .kmi-access-route {
        margin: 30px 0;
    }

    .kmi-access-route-item {
        padding: 18px 15px;
    }

    .kmi-access-route-label {
        font-size: 14px;
    }

    .kmi-access-route-item p {
        font-size: 15px;
    }

    .kmi-access-route-item .kmi-access-route-note {
        font-size: 13px;
    }
}

/* ========================================
お問い合わせフォーム
======================================== */
.kmi-contact-form {
    width: 100%;
    border: 1px solid #d8e2dc;
    box-sizing: border-box;
}

.kmi-form-row {
    display: grid;
    grid-template-columns: 30% minmax(0, 1fr);
    border-bottom: 1px solid #d8e2dc;
}

.kmi-form-title {
    background: #f6faf7;
    padding: 22px 18px;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    border-right: 1px solid #d8e2dc;
    box-sizing: border-box;
}

.kmi-form-title .required {
    display: inline-block;
    background: #c64b4b;
    color: #fff;
    font-size: 11px;
    font-weight: normal;
    padding: 2px 7px;
    margin-left: 8px;
    border-radius: 3px;
}

.kmi-form-input {
    padding: 18px 22px;
    background: #fff;
    min-width: 0;
    box-sizing: border-box;
}

.kmi-form-input input,
.kmi-form-input textarea {
    display: block;
    width: 100%;
    max-width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 3px;
    background: #fff;
    font-size: 16px;
    box-sizing: border-box;
}

.kmi-form-input textarea {
    min-height: 180px;
    resize: vertical;
}

.kmi-form-input input:focus,
.kmi-form-input textarea:focus {
    border-color: #00a968;
    outline: none;
}

/* 同意確認 */
.kmi-form-consent {
    text-align: center;
    padding: 30px 20px;
    background: #fafcfb;
}

.kmi-form-consent p {
    margin: 0 0 15px;
    line-height: 1.8;
}

.kmi-form-consent a {
    color: #166b48;
    text-decoration: underline;
}

.kmi-form-consent .wpcf7-acceptance {
    display: inline-block;
    margin-top: 10px;
}

/* 送信ボタン */
.kmi-form-submit {
    text-align: center;
    padding: 0 20px 35px;
    background: #fafcfb;
}

.kmi-form-submit input[type="submit"] {
    display: inline-block;
    width: 100%;
    max-width: 320px;
    padding: 16px 30px;
    background: #00a968;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s;
}

.kmi-form-submit input[type="submit"]:hover {
    opacity: 0.85;
}

/* ========================================
スマートフォン
======================================== */
@media screen and (max-width: 899px) {

    .kmi-form-row {
        grid-template-columns: 1fr;
    }

    .kmi-form-title {
        padding: 12px 15px;
        border-right: none;
        border-bottom: 1px solid #e2ebe5;
        font-size: 15px;
    }

    .kmi-form-input {
        padding: 15px;
    }

    .kmi-form-consent {
        padding: 25px 15px;
    }

    .kmi-form-submit {
        padding: 0 15px 30px;
    }
}
/* ========================================
プライバシーポリシー 展開表示
======================================== */

.kmi-privacy-intro {
    margin-bottom: 20px !important;
    text-align: center;
}

/* 開閉エリア */
.kmi-privacy-details {
    max-width: 850px;
    margin: 0 auto 25px;
    border: 1px solid #d8e2dc;
    background: #fff;
    text-align: left;
}

/* クリックする見出し */
.kmi-privacy-details summary {
    display: block;
    position: relative;
    padding: 17px 50px 17px 20px;
    background: #e8f4ed;
    color: #166b48;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.kmi-privacy-details summary::-webkit-details-marker {
    display: none;
}

/* 開閉アイコン */
.kmi-privacy-details summary::after {
    content: "+";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    font-weight: 400;
}

.kmi-privacy-details[open] summary::after {
    content: "−";
}

/* 展開される本文 */
.kmi-privacy-content {
    padding: 25px;
    background: #fff;
    font-size: 14px;
    line-height: 1.9;
    color: #333;
}

.kmi-privacy-content h3 {
    margin: 0 0 20px;
    font-size: 18px;
    color: #166b48;
}

.kmi-privacy-content h4 {
    margin: 25px 0 10px;
    font-size: 16px;
    color: #166b48;
    border-bottom: 1px solid #d8e2dc;
    padding-bottom: 8px;
}

.kmi-privacy-content p {
    margin: 0 0 15px;
    text-align: left;
}

.kmi-privacy-content ul {
    margin: 10px 0 20px;
    padding-left: 25px;
}

.kmi-privacy-content li {
    margin-bottom: 8px;
}

/* 同意チェック */
.kmi-privacy-agree {
    text-align: center;
    margin-top: 25px;
}

.kmi-privacy-agree label {
    cursor: pointer;
}

/* スマートフォン */
@media screen and (max-width: 899px) {

    .kmi-privacy-details summary {
        padding: 15px 45px 15px 15px;
        font-size: 14px;
    }

    .kmi-privacy-details summary::after {
        right: 15px;
    }

    .kmi-privacy-content {
        padding: 18px 15px;
        font-size: 13px;
    }

    .kmi-privacy-content h3 {
        font-size: 16px;
    }

    .kmi-privacy-content h4 {
        font-size: 15px;
    }
}


/* ========================================
   コース料金表
======================================== */

.coursespage-top .basic-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    margin: 30px 0;
    font-size: 16px;
    line-height: 1.9;
}

.coursespage-top .basic-table th,
.coursespage-top .basic-table td {
    border: 1px solid #ddd;
    padding: 22px 25px;
    vertical-align: top;
    text-align: left;
}

.coursespage-top .basic-table th {
    width: 32%;
    background: #f2f7f4;
    font-weight: 700;
    color: #333;
}

.coursespage-top .basic-table td {
    background: #fff;
}

/* 料金一覧 */
.course-price-list > div {
    padding: 5px 0;
}

/* 注意事項 */
.course-notes {
    margin-top: 18px;
    padding-top: 15px;
    border-top: 1px dashed #ddd;
    font-size: 14px;
    line-height: 1.9;
}

/* 担当コーチ */
.course-coach {
    margin: 0 0 15px;
    font-weight: 700;
}

/* レッスンスケジュール */
.course-schedule > div {
    display: flex;
    gap: 15px;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.course-schedule > div span:first-child {
    flex: 0 0 65px;
    font-weight: 700;
}

/* お問い合わせ */
.course-contact {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px dashed #ddd;
}

.course-contact strong,
.course-contact a,
.course-contact span {
    display: block;
}

.course-contact a {
    width: fit-content;
    color: #008c57;
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
    margin: 5px 0;
}

/* ========================================
   スマートフォン
======================================== */

@media screen and (max-width: 899px) {

    .coursespage-top .basic-table,
    .coursespage-top .basic-table tbody,
    .coursespage-top .basic-table tr,
    .coursespage-top .basic-table th,
    .coursespage-top .basic-table td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

    .coursespage-top .basic-table {
        border: none;
        margin: 20px 0;
        font-size: 15px;
    }

    .coursespage-top .basic-table tr {
        margin-bottom: 20px;
        border: 1px solid #ddd;
    }

    .coursespage-top .basic-table th {
        padding: 12px 15px;
        border: none;
        border-bottom: 1px solid #ddd;
        background: #f2f7f4;
    }

    .coursespage-top .basic-table td {
        padding: 15px;
        border: none;
    }

    .course-price-list > div {
        padding: 7px 0;
        border-bottom: 1px solid #eee;
    }

    .course-notes {
        margin-top: 15px;
        padding-top: 12px;
        font-size: 13px;
    }

    .course-schedule > div {
        display: block;
        padding: 10px 0;
    }

    .course-schedule > div span {
        display: block;
    }

    .course-schedule > div span:first-child {
        font-weight: 700;
    }

    .course-contact a {
        font-size: 18px;
    }
	
	.kmi-back-to-top{
		display : none;
	}
}

/* 投稿記事のアイキャッチ画像 */
.single-featured-image {
    margin: 20px 0 30px;
}

.single-featured-image img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* スマホ：ヘッダーを画面上部に固定 */
@media screen and (max-width: 899px) {
    .site-header {
        position: fixed !important;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 9999;
    }
    body {
        padding-top: 130px;
    }
}
@media screen and (max-width: 899px) {
.kmi-global-nav .kmi-menu-inner.is-open {
    display: block;
    margin-top: 75px;
}
}