@charset "utf-8";

/* =========================================================
   1. カスタムプロパティ（変数定義）＆ ベース設定
========================================================= */
:root {
    --akali-pink: #e58b90;
    --akali-pink-dark: #d47076;
    --akali-pink-light: #ffe0e2;
    --akali-brown: #4a3b32;
    --akali-bg-light: #fdfaf8;
    --akali-font-serif: "游明朝", YuMincho, "Hiragino Mincho ProN", serif;
    --akali-font-sans: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
}

.akali-top-wrapper {
    font-family: var(--akali-font-sans);
    color: #333;
    line-height: 1.8;
    overflow: hidden;
}

.akali-top-wrapper section {
    padding: 80px 0;
    background: #fff;
}

.akali-top-wrapper section.bg-light {
    background-color: var(--akali-bg-light);
}

.akali-container {
    max-width: 1050px;
    margin: 0 auto;
    padding: 0 25px;
}

/* =========================================================
   2. 見出し・テキスト（テーマ干渉を防ぐ設計）
========================================================= */
.akali-top-wrapper h2.akali-heading,
.akali-top-wrapper h3.akali-heading {
    font-family: var(--akali-font-serif);
    color: var(--akali-brown);
    font-weight: normal;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    margin: 0 0 1.5em 0;
    letter-spacing: 0.05em;
}

.akali-top-wrapper h2.akali-heading::before,
.akali-top-wrapper h3.akali-heading::before {
    display: none; /* テーマの装飾をリセット */
}

.akali-top-wrapper h2.akali-heading {
    font-size: clamp(22px, 4vw, 32px);
    line-height: 1.5;
}

.akali-top-wrapper .akali-heading.center {
    text-align: center;
}

.akali-top-wrapper .akali-sub-heading {
    font-size: 15px;
    color: var(--akali-pink-dark);
    font-weight: bold;
    letter-spacing: 0.1em;
    margin-bottom: 1em;
}

.akali-top-wrapper .akali-text {
    font-size: 15px;
    line-height: 2;
    color: #444;
}

/* =========================================================
   3. ヒーローセクション（ファーストビュー＆LCP最適化）
========================================================= */
.akali-top-wrapper .akali-hero {
    position: relative;
    width: 100%;
    height: 85vh;
    min-height: 550px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding-bottom: 80px;
    background-color: #000;
}

/* 背景画像エリア */
.akali-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.akali-hero-bg .bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center 30%;
}

/* 1枚目（LCP対策）は最初から表示し、途中からフェードアウト */
.akali-hero-bg .img1 {
    opacity: 1;
    animation: fadeOutCycle 15s infinite;
}

/* 2枚目・3枚目はフェードイン・アウト */
.akali-hero-bg .img2 {
    background-image: url('https://akali-nail.com/wp-content/uploads/2025/10/IMG_2742.jpeg.webp');
    opacity: 0;
    animation: fadeInOutCycle 15s infinite;
    animation-delay: 5s;
}

.akali-hero-bg .img3 {
    background-image: url('https://akali-nail.com/wp-content/uploads/2025/10/IMG_9606.jpeg.webp');
    opacity: 0;
    animation: fadeInOutCycle 15s infinite;
    animation-delay: 10s;
}

@keyframes fadeOutCycle {
    0%, 25% { opacity: 1; transform: scale(1); }
    33%, 92% { opacity: 0; transform: scale(1.05); }
    100% { opacity: 1; transform: scale(1); }
}

@keyframes fadeInOutCycle {
    0%, 15% { opacity: 0; transform: scale(1); }
    25%, 58% { opacity: 1; }
    66%, 100% { opacity: 0; transform: scale(1.05); }
}

.akali-hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
    z-index: 2;
}

.akali-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    width: 100%;
    max-width: 900px;
    padding: 0 20px;
}

.akali-hero-title {
    font-family: var(--akali-font-serif);
    font-size: clamp(26px, 5vw, 44px);
    color: #fff;
    line-height: 1.5;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}

.akali-hero-lead {
    font-size: clamp(14px, 2.5vw, 16px);
    color: #fff;
    font-weight: bold;
    line-height: 1.8;
    margin-bottom: 40px;
    text-shadow: 0 2px 6px rgba(0,0,0,0.8);
}

/* =========================================================
   4. ボタンデザイン
========================================================= */
.akali-cta-group {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.akali-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 280px;
}

.btn-elegant-line {
    background: rgba(6, 199, 85, 0.9);
    color: #fff !important;
    border: 1px solid rgba(255,255,255,0.4);
    backdrop-filter: blur(4px);
}
.btn-elegant-line:hover { background: #06C755; transform: translateY(-3px); }

.btn-elegant-white {
    background: rgba(255, 255, 255, 0.15);
    color: #fff !important;
    border: 1px solid #fff;
    backdrop-filter: blur(4px);
}
.btn-elegant-white:hover { background: #fff; color: var(--akali-brown) !important; transform: translateY(-3px); }

.btn-line { background: #06C755; color: #fff !important; box-shadow: 0 4px 15px rgba(6,199,85,0.3); }
.btn-line:hover { background: #05a044; transform: translateY(-3px); }

.btn-pink { background: var(--akali-pink); color: #fff !important; box-shadow: 0 4px 15px rgba(229,139,144,0.3); }
.btn-pink:hover { background: var(--akali-pink-dark); transform: translateY(-3px); }

.btn-elegant-border {
    background: #fff;
    color: var(--akali-brown) !important;
    border: 1px solid var(--akali-brown);
    border-radius: 0;
    padding: 18px 50px;
}
.btn-elegant-border:hover { background: var(--akali-brown); color: #fff !important; transform: translateY(-3px); }

/* =========================================================
   5. レイアウト・各種セクション
========================================================= */
.flex-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.flex-container.reverse { flex-direction: row-reverse; }
.akali-img-box { width: 45%; }
.akali-text-box { width: 55%; }

.akali-img-box img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    object-fit: cover;
}

/* コンセプトセクション (FUTURE) */
.concept-inner {
    position: relative;
    text-align: center;
    padding: 60px 15px 40px;
}
.concept-en {
    font-family: 'Times New Roman', serif;
    font-size: clamp(40px, 9vw, 100px);
    color: rgba(229, 139, 144, 0.1);
    position: absolute;
    top: 0; left: 0; right: 0;
    margin: 0;
    z-index: 0;
    letter-spacing: 0.1em;
    pointer-events: none;
}
.concept-inner h2, .concept-readability {
    position: relative;
    z-index: 1;
}

/* パララックスセクション */
.akali-parallax-bg {
    height: 250px;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.parallax-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.3); }
.parallax-text { position: relative; color: #fff; font-size: clamp(18px, 4vw, 24px); font-weight: bold; letter-spacing: 0.1em; z-index: 1; text-shadow: 0 2px 4px rgba(0,0,0,0.5); }

/* iOS/タブレットでのパララックス固定解除 */
@supports (-webkit-touch-callout: none) {
    .akali-parallax-bg { background-attachment: scroll; }
}

/* =========================================================
   6. PHP記事呼び出しカード（アイキャッチ強制表示・復元版）
========================================================= */
body #content .akali-php-wrapper,
body #main .akali-php-wrapper {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    gap: 30px !important;
    margin-top: 40px !important;
}

body #content .akali-php-wrapper .a-wrap,
body #content .akali-php-wrapper article {
    display: flex !important;
    flex-direction: column !important;
    background: #fff !important;
    border: 1px solid #f0f0f0 !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04) !important;
    overflow: hidden !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    height: 100% !important;
}

body #content .akali-php-wrapper .a-wrap:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 25px rgba(229,139,144,0.15) !important;
    border-color: var(--akali-pink-light) !important;
}

/* ▼▼ アイキャッチ画像を強制的に表示させる最強の指定 ▼▼ */
body #content .akali-php-wrapper .entry-card-thumb,
body #content .akali-php-wrapper figure,
body #main .entry-card-thumb {
    display: block !important;
    width: 100% !important;
    height: 180px !important;
    margin: 0 !important;
    padding: 0 !important;
}

body #content .akali-php-wrapper .entry-card-thumb img,
body #content .akali-php-wrapper figure img,
body #main .entry-card-thumb img {
    display: block !important;
    width: 100% !important;
    height: 180px !important;
    object-fit: cover !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
}
/* ▲▲ ここまで ▲▲ */

body #content .akali-php-wrapper .entry-card-title,
body #content .akali-php-wrapper h2,
body #content .akali-php-wrapper h3 {
    font-size: 15px !important;
    color: var(--akali-brown) !important;
    font-weight: bold !important;
    padding: 20px 20px 5px !important;
    margin: 0 !important;
    line-height: 1.5 !important;
    border: none !important;
    background: transparent !important;
}

body #content .akali-php-wrapper .entry-card-snippet,
body #content .akali-php-wrapper p.snippet,
body #content .akali-php-wrapper p {
    font-size: 13px !important;
    color: #777 !important;
    padding: 0 20px 20px !important;
    margin: 0 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    border: none !important;
}
/* =========================================================
   7. スクロール連動アニメーション
========================================================= */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================================
   8. レスポンシブ設計（スマートフォン・タブレット）
========================================================= */
@media screen and (max-width: 850px) {
    .akali-top-wrapper section { padding: 50px 0; }
    
    .flex-container, .flex-container.reverse {
        flex-direction: column;
        gap: 30px;
    }
    
    .akali-img-box, .akali-text-box { width: 100%; text-align: center; }
    .akali-img-box { order: -1; } /* 画像を常に上に配置 */
    
    .akali-hero {
        height: 50vh;
        min-height: 400px;
        padding-bottom: 40px;
    }
    
    .akali-cta-group { flex-direction: column; align-items: center; }
    .akali-btn { width: 100%; box-sizing: border-box; }
    
    /* PC改行を隠し、スマホ改行を表示 */
    .pc-br { display: none; }
    .sp-br { display: inline; }
}

@media screen and (min-width: 851px) {
    .sp-br { display: none; }
}
/* =========================================================
   ヘッダーロゴの完全CSS化（復元・修正版）
========================================================= */
/* ▼▼ PC・スマホの画像ロゴを完全に隠す ▼▼ */
.logo-header a img,
.mobile-header-logo a img,
.logo-menu-button a img {
    display: none !important;
}

/* ▼▼ aタグをフレックスコンテナにして文字を入れる準備 ▼▼ */
.logo-header a,
.mobile-header-logo a,
.logo-menu-button a {
    display: inline-flex !important;
    align-items: center;
    justify-content: flex-start;
    text-decoration: none !important;
}

/* モバイルのロゴボタンエリアの幅調整 */
.logo-menu-button {
    width: auto !important;
    padding: 0 15px !important;
}

/* ▼▼ 左側のサブテキスト（PRO.NAILIST / NAIL SCHOOL） ▼▼ */
.logo-header a::before,
.mobile-header-logo a::before,
.logo-menu-button a::before {
    /* ここがズレの原因だった空白を詰めた修正箇所です */
    content: "PRO.NAILIST\ANAIL SCHOOL"; 
    white-space: pre;
    font-family: 'Times New Roman', serif;
    font-size: 11px;
    font-weight: bold;
    line-height: 1.5;
    letter-spacing: 0.15em;
    text-align: left;
    margin-right: 12px;
    padding-right: 12px;
    border-right: 1px solid #e0d8d8;
    
    /* ピンクとブラウンの粋なグラデーション */
    background: linear-gradient(to bottom, #e58b90 0%, #e58b90 49%, #4a3b32 51%, #4a3b32 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ▼▼ 右側のメインテキスト（AKALI） ▼▼ */
.logo-header a::after,
.mobile-header-logo a::after,
.logo-menu-button a::after {
    content: "AKALI";
    font-family: 'Times New Roman', serif;
    font-size: 38px;
    font-weight: normal;
    letter-spacing: 0.12em;
    color: #4a3b32;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.03);
}

/* ▼▼ スマホ用のサイズ調整 ▼▼ */
@media screen and (max-width: 850px) {
    .logo-menu-button a::before {
        font-size: 8px;
        margin-right: 10px;
        padding-right: 10px;
    }
    .logo-menu-button a::after {
        font-size: 24px;
    }
}
/* =========================================================
   9. 受講生の声（VOICE）セクション専用デザイン
========================================================= */
.akali-voice {
    background-color: #fff !important;
    padding: 80px 0 !important;
    position: relative;
    overflow: hidden;
}

.voice-header-wrap {
    position: relative;
    margin-bottom: 30px;
    z-index: 1;
    text-align: center;
}

.voice-intro-text {
    text-align: center;
    margin-bottom: 50px;
    font-size: 15px;
    color: #666;
    line-height: 1.8;
}

/* 中央寄せ用のクラス */
.akali-center {
    text-align: center;
    width: 100%;
}

/* 受講生の声専用のグリッド設定（標準のphp-wrapperを上書き） */
body #content .akali-php-wrapper.voice-grid,
body #main .akali-php-wrapper.voice-grid {
    display: grid !important;
    gap: 40px 30px !important;
}

/* PC表示で確実に3列にする指定 */
@media screen and (min-width: 851px) {
    body #content .akali-php-wrapper.voice-grid,
    body #main .akali-php-wrapper.voice-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

/* スマホ表示時の調整 */
@media screen and (max-width: 850px) {
    .akali-voice {
        padding: 50px 0 !important;
    }
    .voice-intro-text {
        text-align: left;
        padding: 0 10px;
    }
    body #content .akali-php-wrapper.voice-grid,
    body #main .akali-php-wrapper.voice-grid {
        grid-template-columns: 1fr !important;
    }
}
/* =========================================================
   10. フッターデザイン（リニューアル・お問い合わせ）
========================================================= */
footer#footer {
    background: #fffafa !important;
    color: #4a3b32 !important;
    padding: 60px 0 40px 0 !important;
    margin-top: 0 !important;
    position: relative;
    border-top: 5px solid #f8b6c8 !important;
}
footer#footer::before { display: none !important; }
div#footer-in { padding: 0 20px !important; max-width: 1100px; margin: 0 auto; color: #4a3b32 !important; }

#footer .footer-widgets-in {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
}
#footer .footer-left, #footer .footer-center, #footer .footer-right {
    width: 31% !important; float: none !important; padding: 0 !important; margin: 0 0 30px 0 !important; box-sizing: border-box !important;
}

#footer .widget-title {
    color: #d47076 !important; font-size: 17px !important; font-weight: bold !important; text-align: center !important;
    border-bottom: 2px dashed #f8b6c8 !important; padding: 0 0 12px 0 !important; margin: 0 0 25px 0 !important; background: none !important;
}

/* フッター内リスト・カード */
#footer .widget-entry-cards .a-wrap {
    background: #fff !important; border: 1px solid #ffe0e2 !important; border-radius: 12px !important; padding: 12px !important;
    margin-bottom: 15px !important; display: flex !important; align-items: center !important; transition: all 0.3s ease !important; box-shadow: 0 2px 8px rgba(0,0,0,0.03) !important;
}
#footer .widget-entry-card-thumb { width: 75px !important; margin-right: 15px !important; flex-shrink: 0 !important; }
#footer .widget-entry-card-thumb img { border-radius: 8px !important; width: 100% !important; aspect-ratio: 1/1 !important; object-fit: cover !important; }
#footer .widget-entry-card-title { color: #4a3b32 !important; font-size: 13px !important; line-height: 1.5 !important; font-weight: bold !important; border: none !important; background: transparent !important;}

/* CTA / お問い合わせウィジェット */
.akali-footer-contact-widget, #footer .cta-box {
    background: #fff !important; border: 2px solid #ffe0e2 !important; border-radius: 12px !important; padding: 30px 20px !important; text-align: center !important; box-shadow: 0 4px 15px rgba(229,139,144,0.1) !important;
}
.akali-vertical-logo { display: flex; flex-direction: column; align-items: center; justify-content: center; margin: 0 auto 20px auto; line-height: 1.2; }
.akali-vertical-logo .logo-top { font-family: 'Times New Roman', serif; font-size: 13px; font-weight: bold; color: #e58b90; letter-spacing: 0.25em; margin-bottom: 5px; }
.akali-vertical-logo .logo-mid { font-family: 'Times New Roman', serif; font-size: 40px; font-weight: normal; color: #4a3b32; letter-spacing: 0.15em; margin-bottom: 5px; text-shadow: 1px 1px 2px rgba(0,0,0,0.03); }
.akali-vertical-logo .logo-btm { font-family: 'Times New Roman', serif; font-size: 13px; font-weight: bold; color: #4a3b32; letter-spacing: 0.2em; }
.contact-desc, #footer .cta-content { font-size: 13px !important; color: #555 !important; line-height: 1.8 !important; margin-bottom: 25px !important; text-align: justify !important; }

.contact-btn, #footer .cta-btn a {
    display: inline-flex !important; align-items: center !important; justify-content: center !important;
    background: #e58b90 !important; color: #fff !important; text-decoration: none !important; font-size: 15px !important; font-weight: bold !important;
    padding: 15px 30px !important; border-radius: 8px !important; width: 100% !important; box-sizing: border-box !important; border: none !important; transition: all 0.3s ease !important;
}
.contact-btn:hover, #footer .cta-btn a:hover { background: #d47076 !important; transform: translateY(-2px) !important; box-shadow: 0 6px 15px rgba(229,139,144,0.4) !important; }

/* スマホ・フッターのレスポンシブ */
@media screen and (max-width: 850px) {
    #footer .footer-widgets-in { flex-direction: column !important; }
    #footer .footer-left, #footer .footer-center, #footer .footer-right { width: 100% !important; margin-bottom: 40px !important; }
    div#footer-in { padding: 0 15px !important; }
    #footer .cta-box { padding: 30px 20px !important; }
}

/* =========================================================
   11. スマホ専用：上品な追従LINEボタン（Cocoon干渉防止）
========================================================= */
/* PCや不要な古い要素を非表示に */
.akali-floating-btn { display: none !important; }
.foot-link, .foot-right-center, .相談問い合せはコチラ { display: none !important; }

@media screen and (max-width: 850px) {
    .akali-floating-btn {
        display: flex !important; justify-content: center; position: fixed; left: 0; width: 100%; z-index: 99999;
        bottom: -100px; opacity: 0; pointer-events: none; transition: bottom 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease !important;
    }
    /* is-show クラスが付与されたら表示 */
    .akali-floating-btn.is-show { bottom: 25px !important; opacity: 1 !important; pointer-events: auto !important; }
    
    .akali-floating-btn a {
        display: inline-flex; align-items: center; justify-content: center; background: #ffffff !important; color: #4a3b32 !important; text-decoration: none !important;
        padding: 12px 28px !important; border-radius: 50px !important; font-weight: bold !important; font-size: 14px !important;
        box-shadow: 0 6px 20px rgba(229, 139, 144, 0.25) !important; border: 1px solid #ffe0e2 !important; letter-spacing: 0.05em; transition: transform 0.2s ease !important;
    }
    .akali-floating-btn a:active { transform: scale(0.95) !important; background: #fdfaf8 !important; }
    .akali-floating-btn a i { color: #06C755 !important; font-size: 20px !important; margin-right: 8px !important; }
    
    /* フッターが追従ボタンに隠れないよう余白を追加 */
    footer#footer { padding-bottom: 90px !important; }
}
/* =========================================================
   10. フッターデザイン完全上書き（PC・スマホ両対応版）
========================================================= */
/* 1. 全体背景と文字色の強制リセット */
body footer#footer {
    background: #fffafa !important;
    color: #4a3b32 !important;
    padding: 60px 0 40px !important;
    border-top: 5px solid #f8b6c8 !important;
    margin-top: 0 !important;
}

body footer#footer a {
    color: #4a3b32 !important;
}

/* 2. 見出し（ウィジェットタイトル）の装飾 */
body footer#footer h3,
body footer#footer .widget-title {
    color: #d47076 !important;
    font-size: 18px !important;
    font-weight: bold !important;
    text-align: center !important;
    border-bottom: 2px dashed #f8b6c8 !important;
    padding: 0 0 12px 0 !important;
    margin: 0 0 25px 0 !important;
    background: transparent !important;
}

/* 3. PCでの3列横並びを強制（Cocoonのfloatを打ち消す） */
body footer#footer .footer-widgets-in {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
}

body footer#footer .footer-left,
body footer#footer .footer-center,
body footer#footer .footer-right {
    width: 32% !important;
    float: none !important; /* 崩れの原因であるfloatを排除 */
    padding: 0 !important;
    margin-bottom: 30px !important;
    box-sizing: border-box !important;
}

/* スマホ表示時のフッター縦並び */
@media screen and (max-width: 850px) {
    body footer#footer .footer-widgets-in {
        flex-direction: column !important;
    }
    body footer#footer .footer-left,
    body footer#footer .footer-center,
    body footer#footer .footer-right {
        width: 100% !important;
        margin-bottom: 40px !important;
    }
}

/* =========================================================
   11. スマホフッター追従ボタン（foot-linkの復旧と装飾）
========================================================= */
/* 誤った非表示指定を無効化し、ブランドカラーで美しく整えます */
@media screen and (max-width: 850px) {
    .foot-link {
        display: flex !important;
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        width: 100% !important;
        flex-direction: row !important;
        z-index: 99999 !important;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.1) !important;
    }

    .foot-link a.left,
    .foot-link a.right {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 50% !important;
        padding: 15px 0 !important;
        font-size: 15px !important;
        font-weight: bold !important;
        color: #fff !important;
        text-decoration: none !important;
        letter-spacing: 0.05em !important;
    }

    .foot-link a.left {
        background: #e58b90 !important; /* ピンク */
    }

    .foot-link a.right {
        background: #06C755 !important; /* LINEグリーン */
    }

    /* フッターの最下部が追従ボタンに隠れないよう余白を追加 */
    body footer#footer {
        padding-bottom: 80px !important;
    }
}
/* =========================================================
   修正：受講生の声（VOICE）スマホ表示崩れ対策（強力版）
========================================================= */
/* スマホ表示において、PCのようなカード型デザインを維持しつつ見やすくします */
@media screen and (max-width: 850px) {
    body #content .akali-php-wrapper.voice-grid,
    body #main .akali-php-wrapper.voice-grid {
        grid-template-columns: repeat(2, 1fr) !important; /* スマホでも2列でカードを並べる */
        gap: 15px !important; /* カード間の余白を詰める */
        padding: 0 10px !important; /* 両端に余白を追加 */
    }

    body #content .akali-php-wrapper.voice-grid .a-wrap,
    body #content .akali-php-wrapper.voice-grid article {
        border-radius: 8px !important; /* 角丸を少し小さく */
    }

    /* サムネイル画像の高さをスマホ向けに調整 */
    body #content .akali-php-wrapper.voice-grid img,
    body #content .akali-php-wrapper.voice-grid figure {
        height: 120px !important;
    }
}

/* =========================================================
   1. 画面下の不要な緑のボタン（Cocoon標準）を完全に消す
========================================================= */
.foot-link, .foot-right-center {
    display: none !important;
}

/* =========================================================
   2. 受講生の声（VOICE）のレイアウト修正
========================================================= */
/* ベースをグリッドにする */
body #content .akali-php-wrapper.voice-grid,
body #main .akali-php-wrapper.voice-grid {
    display: grid !important;
    gap: 30px !important;
}

/* PC表示：綺麗な3列 */
@media screen and (min-width: 851px) {
    body #content .akali-php-wrapper.voice-grid,
    body #main .akali-php-wrapper.voice-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

/* スマホ表示：はみ出さない1列 */
@media screen and (max-width: 850px) {
    body #content .akali-php-wrapper.voice-grid,
    body #main .akali-php-wrapper.voice-grid {
        grid-template-columns: 1fr !important;
        padding: 0 10px !important;
    }
}

/* =========================================================
   3. スマホのロゴ文字の段組み・ズレ修正
========================================================= */
.logo-header a, .mobile-header-logo a, .logo-menu-button a {
    display: inline-flex !important;
    align-items: center !important;
}

.logo-header a::before, .mobile-header-logo a::before, .logo-menu-button a::before {
    content: "PRO.NAILIST\ANAIL SCHOOL" !important;
    white-space: pre !important;
    line-height: 1.2 !important;
    text-align: left !important;
    margin-right: 10px !important;
    padding-right: 10px !important;
    border-right: 1px solid #e0d8d8 !important;
}

@media screen and (max-width: 850px) {
    .logo-menu-button a::before { font-size: 8px !important; }
    .logo-menu-button a::after { font-size: 24px !important; }
}
/* =========================================================
   スマホ専用：フローティングバナー＆受講生の声の修正
========================================================= */
@media screen and (max-width: 850px) {

    /* --- 1. フローティングバナー（追従ボタン）の修正 --- */
    /* 全体の枠組みを整え、白背景で区切ります */
    .foot-link {
        display: flex !important;
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        width: 100% !important;
        z-index: 99999 !important;
        background: #fff !important;
        padding: 10px !important;
        box-sizing: border-box !important;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.1) !important;
        gap: 10px !important; /* ボタン間の隙間 */
    }

    /* 左右のボタンをきっちり50%ずつに分割し、綺麗に収めます */
    .foot-link a.left,
    .foot-link a.right {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 50% !important;
        padding: 12px 0 !important;
        font-size: 14px !important;
        font-weight: bold !important;
        color: #fff !important;
        text-decoration: none !important;
        border-radius: 6px !important;
    }

    /* 左ボタン（ピンク） */
    .foot-link a.left {
        background: #e58b90 !important;
    }

    /* 右ボタン（グリーン） */
    .foot-link a.right {
        background: #06C755 !important;
    }

    /* フッターがボタンに隠れないように余白を確保 */
    body footer#footer {
        padding-bottom: 80px !important;
    }

    /* --- 2. 受講生の声のスマホレイアウト修正 --- */
    /* PCのカード感をそのままに、スマホ用に整列させます */
    body #content .akali-php-wrapper.voice-grid,
    body #main .akali-php-wrapper.voice-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        padding: 0 15px !important;
    }

    /* カードの枠線と影をしっかり表示 */
    body #content .akali-php-wrapper.voice-grid .a-wrap,
    body #content .akali-php-wrapper.voice-grid article {
        background: #fff !important;
        border: 1px solid #ffe0e2 !important;
        border-radius: 8px !important;
        box-shadow: 0 4px 15px rgba(0,0,0,0.05) !important;
    }

    /* 画像の高さをスマホに合わせて調整 */
    body #content .akali-php-wrapper.voice-grid img,
    body #main .akali-php-wrapper.voice-grid img {
        height: 180px !important;
        object-fit: cover !important;
        border-radius: 8px 8px 0 0 !important;
    }
}