@charset "UTF-8";
/* ============================================================
   ふくろうアイクリニック medical-diet 専用 ヘッダー/フッターCSS
   - 共通 reset.css / style_new.css に依存しないスタンドアロン版
   - 元サイト（style_new.css）の意匠・寸法を継承
   - 3言語版（ja/en/zh）共通で使用
   ============================================================ */

/* === ローカル最小リセット === */
.fk-scope, .fk-scope * { box-sizing: border-box; }
.fk-scope ul, .fk-scope ol { list-style: none; margin: 0; padding: 0; }
.fk-scope a { text-decoration: none; color: inherit; }
.fk-scope img { vertical-align: bottom; max-width: 100%; height: auto; border: 0; }
.fk-scope p, .fk-scope dl, .fk-scope dt, .fk-scope dd,
.fk-scope h1, .fk-scope h2, .fk-scope h3, .fk-scope h4, .fk-scope h5 {
    margin: 0; padding: 0;
}

/* PC/SP出し分け（共通CSSのpc_only/sp_onlyを再現） */
.fk-pc { display: block; }
.fk-sp { display: none; }
@media screen and (max-width: 900px) {
    .fk-pc { display: none !important; }
    .fk-sp { display: block; }
}

/* ============================================================
   HEADER
   ============================================================ */
.fk-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 133px;
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid #eee;
    font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    transition: 0.3s ease;
}

.fk-header-inner {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 230px 0 20px; /* 右はCTAボタン分の余白（180px+24px+少し） */
    white-space: nowrap;
}

/* ロゴ */
.fk-logo {
    flex-shrink: 0;
    margin-right: 60px;
    line-height: 0;
}
.fk-logo img {
    width: 180px;
    height: auto;
    vertical-align: middle;
}

/* PCナビ */
.fk-gnav {
    flex: 1;
    min-width: 0;
}
.fk-gnav ul {
    display: flex;
    gap: 22px;
    align-items: center;
    flex-wrap: nowrap;
}
.fk-gnav li {
    position: relative;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.03em;
}
.fk-gnav a {
    color: #1a171c;
    transition: color 0.2s;
    padding: 6px 0;
    display: inline-block;
    cursor: pointer;
}
.fk-gnav a:hover {
    color: #008b4f;
}
/* PCナビのサブメニュー（AGA検査キット）*/
.fk-gnav li ul {
    display: none;
    position: absolute;
    top: 100%;
    left: -10px;
    background: #fff;
    padding: 8px 14px;
    border: 1px solid #eee;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    min-width: 220px;
    flex-direction: column;
    gap: 4px;
    z-index: 10;
}
.fk-gnav li:hover ul {
    display: flex;
}
.fk-gnav li ul li {
    font-size: 12px;
}
.fk-gnav li ul a span {
    color: #999;
    margin-right: 4px;
}

/* 右上の「今すぐ予約」CTAボタン（PC）- 元 btnType11 を踏襲したオーバル */
.fk-header-cta,
.fk-header-cta:link,
.fk-header-cta:visited {
    position: absolute;
    top: 50%;
    right: 24px;
    transform: translateY(-50%);
    width: 180px;
    height: 48px;
    background: #008b4f;
    color: #fff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-align: center;
    cursor: pointer;
    transition: background 0.3s ease;
    line-height: 1;
    border-radius: 48px;
    box-shadow: 0 2px 6px rgba(0, 139, 79, 0.2);
    text-decoration: none;
}
.fk-header-cta:hover {
    background: #006c3d;
    color: #fff !important;
    box-shadow: 0 4px 10px rgba(0, 139, 79, 0.35);
}

/* スマホ用ハンバーガーボタン */
.fk-burger {
    display: none;
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: transparent;
    border: 0;
    padding: 0;
    cursor: pointer;
    z-index: 110;
}
.fk-burger span {
    display: block;
    position: absolute;
    left: 8px;
    width: 28px;
    height: 2px;
    background: #1a171c;
    transition: transform 0.3s ease, top 0.3s ease, opacity 0.3s ease;
}
.fk-burger span:nth-child(1) { top: 14px; }
.fk-burger span:nth-child(2) { top: 21px; }
.fk-burger span:nth-child(3) { top: 28px; }
.fk-burger.is-open span:nth-child(1) {
    top: 21px;
    transform: rotate(45deg);
}
.fk-burger.is-open span:nth-child(2) {
    opacity: 0;
}
.fk-burger.is-open span:nth-child(3) {
    top: 21px;
    transform: rotate(-45deg);
}

/* スマホメニュー（開いた時のドロワー） */
.fk-spmenu {
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    background: #fff;
    box-shadow: -4px 0 16px rgba(0, 0, 0, 0.15);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 105;
    overflow-y: auto;
    padding: 80px 0 40px;
}
.fk-spmenu.is-open {
    transform: translateX(0);
}
.fk-spmenu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 104;
}
.fk-spmenu-overlay.is-open {
    opacity: 1;
    visibility: visible;
}
.fk-spmenu ul {
    border-top: 1px solid #eee;
}
.fk-spmenu li {
    border-bottom: 1px solid #eee;
    font-size: 15px;
}
.fk-spmenu li a {
    display: block;
    padding: 18px 24px;
    color: #1a171c;
    line-height: 1.5;
}
.fk-spmenu li a:hover {
    background: #f7f9fa;
}
.fk-spmenu li ul {
    border-top: 1px solid #f0f0f0;
    background: #f8f8f8;
}
.fk-spmenu li ul li {
    font-size: 13px;
    border-bottom: 1px solid #eee;
}
.fk-spmenu li ul li a {
    padding: 14px 24px 14px 40px;
    color: #555;
}
.fk-spmenu li ul li a span {
    color: #999;
    margin-right: 4px;
}

/* スマホ表示時の出し分け */
@media screen and (max-width: 900px) {
    .fk-header {
        height: 70px;
    }
    .fk-header-inner {
        padding: 0 60px 0 16px; /* 右はハンバーガーボタン分 */
    }
    .fk-logo {
        margin-right: 0;
    }
    .fk-logo img {
        width: 140px;
    }
    .fk-gnav {
        display: none;
    }
    .fk-header-cta,
    .fk-header-cta:link,
    .fk-header-cta:visited {
        display: none !important;
    }
    .fk-burger {
        display: block;
    }
}

/* ============================================================
   FOOTER
   ============================================================ */
.fk-footer {
    background: #fefefe;
    color: #1a171c;
    padding: 56px 0 90px;
    font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
    font-size: 14px;
    line-height: 1.8;
    border-top: 1px solid #eee;
}

.fk-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
    align-items: flex-start;
}

.fk-footer-left {
    flex: 1 1 480px;
    min-width: 0;
}
.fk-footer-right {
    flex: 0 1 380px;
    min-width: 0;
}

.fk-footer-logo {
    text-align: left;
}
.fk-footer-logo img {
    max-width: 230px;
    height: auto;
}

.fk-footer-info {
    margin-top: 24px;
    font-size: 13px;
    line-height: 1.8;
    color: #1a171c;
    display: grid;
    grid-template-columns: 80px 1fr;
    row-gap: 12px;
    column-gap: 14px;
    align-items: start;
}
.fk-footer-info dt {
    color: #888;
    font-weight: 500;
}
.fk-footer-info dd {
    color: #1a171c;
}
.fk-footer-info dd a {
    color: #1a171c;
}
.fk-footer-info dd a:hover {
    color: #008b4f;
}

.fk-footer-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap;
    align-items: center;
}
/* お問い合わせ・Access map 共通の白抜きボタン
   :link/:visited/:hover/:active 全状態で確実に色を固定 */
.fk-btn-line,
.fk-btn-line:link,
.fk-btn-line:visited {
    display: inline-block;
    padding: 10px 22px;
    border: 1px solid #008b4f;
    color: #008b4f !important;
    background: #fff;
    border-radius: 30px;
    font-size: 13px;
    font-weight: bold;
    transition: all 0.2s;
    text-decoration: none;
}
.fk-btn-line:hover,
.fk-btn-line:active,
.fk-btn-line:focus {
    background: #008b4f;
    color: #fff !important;
    text-decoration: none;
}
.fk-footer-actions .fk-ig {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}
.fk-footer-actions .fk-ig img {
    width: 28px;
    height: 28px;
}

/* 診察時間表 */
.fk-clinic-sche {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
}
.fk-clinic-sche ul {
    display: block;
}
.fk-clinic-sche li {
    display: flex;
    border-bottom: 1px solid #e8e8e8;
    font-size: 13px;
    line-height: 1.6;
    padding: 8px 0;
}
.fk-clinic-sche li:last-child {
    border-bottom: 0;
    color: #666;
    font-size: 11px;
    display: block;
    padding-top: 12px;
}
.fk-clinic-sche li span {
    flex: 1;
    text-align: center;
    padding: 4px 2px;
    font-weight: 500;
}
.fk-clinic-sche li span.fk-sche-title {
    flex: 2;
    text-align: left;
    font-weight: bold;
    color: #1a171c;
}
.fk-clinic-sche li:first-child {
    border-bottom: 2px solid #008b4f;
    color: #008b4f;
}

/* フッターボトム（リンク群） */
.fk-footer-bottom {
    margin-top: 50px;
    padding-top: 24px;
    border-top: 1px solid #eee;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}
.fk-footer-bottom ul {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 22px;
    font-size: 12px;
    color: #666;
}
.fk-footer-bottom li {
    line-height: 1.6;
}
.fk-footer-bottom li a {
    color: #666;
}
.fk-footer-bottom li a:hover {
    color: #008b4f;
}

/* レスポンシブ調整 */
@media screen and (max-width: 768px) {
    .fk-footer {
        padding: 40px 0 100px;
    }
    .fk-footer-inner {
        flex-direction: column;
        gap: 32px;
    }
    .fk-footer-left,
    .fk-footer-right {
        flex: 1 1 auto;
        width: 100%;
    }
    .fk-footer-info {
        grid-template-columns: 70px 1fr;
        column-gap: 10px;
    }
    .fk-footer-bottom ul {
        flex-direction: column;
        gap: 10px;
    }
    .fk-footer-actions {
        gap: 10px;
    }
}

/* ============================================================
   固定要素：フッター下部 「今すぐ予約」 / ページトップへ
   ============================================================ */
.fk-fixarea {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background: rgba(60, 60, 60, 0.92);
    z-index: 50;
    padding: 12px 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.15);
}
.fk-fixarea .fk-fix-reserve {
    flex: 1;
    max-width: 360px;
    display: block;
    padding: 14px 24px;
    background: #008b4f;
    color: #fff;
    border-radius: 30px;
    text-align: center;
    font-weight: bold;
    font-size: 15px;
    transition: background 0.2s;
}
.fk-fixarea .fk-fix-reserve:hover {
    background: #006c3d;
    color: #fff;
}
.fk-fixarea .fk-pagetop {
    width: 44px;
    height: 44px;
    background: #fff;
    border: 1px solid #008b4f;
    border-radius: 50%;
    color: #008b4f;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s;
}
.fk-fixarea .fk-pagetop:hover {
    background: #f0fdf6;
}
.fk-fixarea .fk-pagetop::before {
    content: "▲";
    line-height: 1;
}

@media screen and (max-width: 768px) {
    .fk-fixarea {
        padding: 10px 12px;
        gap: 10px;
    }
    .fk-fixarea .fk-fix-reserve {
        padding: 12px 16px;
        font-size: 14px;
    }
    .fk-fixarea .fk-pagetop {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* ============================================================
   Cookie同意バー
   ============================================================ */
.fk-cookie {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    padding: 20px 24px;
    font-size: 13px;
    line-height: 1.6;
    z-index: 200;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    box-sizing: border-box;
}
.fk-cookie-text {
    flex: 1;
    min-width: 200px;
}
.fk-cookie-text a {
    color: #fff;
    text-decoration: underline;
}
.fk-cookie-agree {
    background: dodgerblue;
    color: #fff;
    padding: 10px 28px;
    font-size: 14px;
    cursor: pointer;
    border-radius: 4px;
    flex-shrink: 0;
    border: 0;
    font-family: inherit;
}
.fk-cookie-agree:hover {
    background: #1773d1;
}
.fk-cookie.is-hidden {
    display: none;
}

@media screen and (max-width: 768px) {
    .fk-cookie {
        padding: 14px 16px;
        font-size: 12px;
    }
    .fk-cookie-agree {
        padding: 8px 20px;
        font-size: 13px;
        width: 100%;
        text-align: center;
    }
}

/* fixed headerの分の高さオフセット
   ※ medical-diet では既に #medical-diet-content に margin-top: 133px が当たっているので、
      body 側では何もしない。他LPに転用する時は適宜 body.fk-has-header { padding-top: 133px } を有効化。 */
/* body.fk-has-header { padding-top: 133px; } */
/* @media screen and (max-width: 900px) {
    body.fk-has-header { padding-top: 70px; }
} */

/* スクロールロック（SPメニュー開いた時） */
body.fk-noscroll {
    overflow: hidden;
}
