/*
Theme Name: original
Theme URI: https://kaseganight.jp/
Author: kaseganight
Version: 1.0.0
Description: Migrated from WordPress Additional CSS (cleaned: non-CSS removed)
*/

/* =====================================================
   kaseganight.jp — 追加CSS（整理版・安全改訂 v1）
   ポリシー:
   - デザイン/レイアウト/機能/リンクに一切変更を出さない（0% 変更）
   - セレクタ/プロパティ/値はそのまま、コメント体裁と空白のみ整形
===================================================== */

/* ======================================================
   0) ルート変数・ベース
====================================================== */
:root{
  /* ロゴや検索、高さなど（既存値を統合） */
  --logoH-pc:140px;
  --logoH-tab:96px;
  --logoH-sp:68px;
  --kwW-pc:560px;
  --kwH-pc:52px;
  --kwH-tab:50px;
  --kwH-sp:46px;

  /* フローティングハンバーガー */
  --fh-size:48px;
  --fh-offset:12px;
  --fh-color:#333;

  /* 左カラム配色（ガーリー） */
  --white:#fff;
  --shadow:0 12px 28px rgba(40,20,72,.10);
  --chip-ink:#3b2d42;
  --chip-ink-strong:#2a2430;
  --chip-shadow:0 2px 10px rgba(0,0,0,.05);
  --reco-grad:linear-gradient(180deg,#ffe2ef 0%,#ffd3e7 100%);
  --reco-head:linear-gradient(90deg,#ff7fbf 0%,#ff5eaf 48%,#ff9fd0 100%);
  --reco-shadow:0 10px 18px rgba(255,105,179,.28);
  --reco-chip-bg:#fff3f9;
  --reco-chip-bd:#ffbad9;
  --reco-chip-hover:#ffe8f3;
  --works-grad:linear-gradient(180deg,#efe6ff 0%,#e5dbff 100%);
  --works-head:linear-gradient(90deg,#bc95ff 0%,#9d78ff 55%,#d0b4ff 100%);
  --works-shadow:0 10px 18px rgba(157,120,255,.26);
  --works-chip-bg:#f7f2ff;
  --works-chip-bd:#d8c9ff;
  --works-chip-hover:#efe7ff;
  --area-grad:linear-gradient(180deg,#e7fbf6 0%,#dbf5ff 100%);
  --area-head:linear-gradient(90deg,#56d6c5 0%,#48c2f0 55%,#78e6ff 100%);
  --area-shadow:0 10px 18px rgba(72,194,240,.22);
  --area-chip-bg:#effcfe;
  --area-chip-bd:#c7e9f4;
  --area-chip-hover:#e6f7ff;

  /* 緊急プル補正（必要時のみ調整） */
  --kn-emergency-pull:0px;

  /* ロゴ/スライダー距離（必要なら微調整） */
  --kn-logo-shift-sp:18px;
  --kn-logo-shift-tab:28px;
  --kn-logo-shift-pc:36px;
  --kn-pull-sp:-40px;
  --kn-pull-tab:-56px;
  --kn-pull-pc:-72px;

  --kn-logo-max-sp:60px;
  --kn-logo-max-tab:72px;
  --kn-logo-max-pc:88px;

  /* ずらし量（端末別に調整したいときは数値だけ変えてOK） */
  --kn-shift-pc:120px;
  --kn-shift-tab:72px;
  --kn-shift-sp:0px;

  /* 左端合わせ（サイズは一切変更しない） */
  --kn-align-pc:80px;
  --kn-align-tab:56px;
  --kn-align-sp:0px;

  /* タクソノミー一覧位置合わせ */
  --tax-align-pc:88px;
  --tax-align-tab:56px;
  --tax-align-sp:16px;
}

/* iOS縮小抑止 */
body{-webkit-text-size-adjust:100%;}

/* 画像/動画/iframeは枠内フィット（1回だけ定義） */
img,iframe,video,.wp-block-image img{
  max-width:100%;
  height:auto;
  display:block;
}

/* ======================================================
   1) レイアウト基礎（PC）＋レスポンシブ共通余白
====================================================== */
.l-content__common{display:flex;gap:20px;}
.l-main__common{flex:1;order:1;}
.l-sidebar{width:300px;flex-shrink:0;order:2;}

@media (max-width:1200px){
  .l-wrap,.l-content,.container,.wrap,.site-content,.entry-content,.l-header__content{
    max-width:100%!important;
    width:100%!important;
    margin:0 auto!important;
    padding:0 24px!important;
    box-sizing:border-box;
  }
}

@media (max-width:1024px){
  .l-content__common{flex-direction:column;gap:16px;}
  .l-main__common,.l-sidebar{
    width:100%;
    max-width:100%!important;
    margin:0 auto;
    padding:0 16px;
    box-sizing:border-box;
  }
  .l-wrap{display:block;}
  .page-title{display:none;}
}

/* スマホ余白とタップ領域 */
@media (max-width:768px){
  .l-wrap,.l-content,.container,.wrap,.site-content,.entry-content,.l-header__content{padding:0 16px!important;}
  .button,.btn,.age-yes,.age-no,.agegate__button,.agree,.disagree{
    display:block;
    width:100%;
    max-width:380px;
    margin:12px auto;
    padding:16px 20px;
    font-size:18px;
    line-height:1.2;
    border-radius:10px;
    text-align:center;
  }
}

/* 極小端末 */
@media (max-width:480px){
  h1,h2{font-size:22px;}
  .privacy-page{padding:28px 16px;font-size:16px;line-height:1.8;}
  .privacy-page h2{font-size:24px;margin-bottom:24px;}
}

/* モバイル本文可読性 */
@media (max-width:1024px){
  .entry-content{font-size:15.5px;line-height:1.9;letter-spacing:.02em;}
  .entry-content p{margin:10px 0 14px;}
  .entry-content ul,.entry-content ol{margin:8px 0 16px 1.2em;}
  .entry-content li{margin:6px 0;}
  .entry-content h1{font-size:26px;font-weight:700;margin:0 0 14px;}
  .entry-content h2{font-size:22px;font-weight:700;margin:26px 0 10px;padding-left:10px;border-left:4px solid #ff4d6d;}
  .entry-content h3{font-size:19px;font-weight:600;margin:18px 0 6px;}
  .entry-content b,.entry-content strong{font-weight:600;}
  .entry-content a{text-decoration:underline;text-underline-offset:2px;}
}

/* 600px以下：見出し維持／本文だけ小さめ（既存） */
@media (max-width:600px){
  .kx-clause h2{font-size:clamp(15px,1.6vw,18px);}
  .kx-clause p{font-size:9px;line-height:1.8;}
}

/* ======================================================
   2) プライバシー文書（legal）
====================================================== */
.privacy-page.legal-doc{font-size:clamp(14px,1.7vw,17px);line-height:1.65;}
.privacy-page.legal-doc h2{margin-bottom:16px;}
.privacy-page.legal-doc h3{margin:18px 0 6px;border-left-width:3px;padding-left:8px;line-height:1.45;}
.privacy-page.legal-doc p{margin:0 0 8px;}
.privacy-page.legal-doc ul,.privacy-page.legal-doc ol{margin:0 0 8px 1.1em;}
.privacy-page.legal-doc li{margin:0 0 4px;line-height:1.65;}
.privacy-page.legal-doc a{word-break:break-word;}
.privacy-page.legal-doc table{font-size:.92em;}

@media (max-width:600px){
  .privacy-page.legal-doc{padding:22px 14px;line-height:1.62;}
  .privacy-page.legal-doc h2{font-size:clamp(20px,5.2vw,24px);margin-bottom:14px;}
  .privacy-page.legal-doc h3{font-size:clamp(17px,4.4vw,20px);margin:16px 0 6px;}
  .privacy-page.legal-doc .small{font-size:.92em;}
}

/* 親テーマが強制拡大する場合の保険 */
@media (max-width:820px){
  .entry-content .privacy-page.legal-doc,
  .entry-content .privacy-page.legal-doc *{
    font-size:inherit;
    line-height:inherit;
    letter-spacing:inherit;
  }
}

/* ======================================================
   3) タクソノミー一覧（PC）＆タグ非表示
====================================================== */
@media (min-width:1025px){
  .tax-store-category .l-content__common,
  .tax-store-area .l-content__common,
  .tax-store-recommend .l-content__common{
    display:flex;
    flex-wrap:wrap;
    gap:20px;
    align-items:flex-start;
  }
  .tax-store-category #common__pickup,
  .tax-store-area #common__pickup,
  .tax-store-recommend #common__pickup{flex:0 0 100%;order:0;}
  .tax-store-category .l-sidebar,
  .tax-store-area .l-sidebar,
  .tax-store-recommend .l-sidebar{
    flex:0 0 300px;
    max-width:300px;
    order:1;
    float:none!important;
  }
  .tax-store-category .l-main,.tax-store-category .l-main__common,
  .tax-store-area .l-main,.tax-store-area .l-main__common,
  .tax-store-recommend .l-main,.tax-store-recommend .l-main__common{
    flex:1 1 calc(100% - 320px);
    min-width:0;
    order:2;
    float:none!important;
  }
}

/* タグ非表示（一覧や単体） */
.storeCard__content>ul,.taxonomyList__content>ul,
li.store-recommend,li.store-category,li.store-area{display:none!important;}
.archive .taxonomyList__content>ul,
.search .taxonomyList__content>ul,
.single-store .storeCard__content>ul{display:none!important;}

/* ======================================================
   4) ピックアップスライダー（画像のみ表示）
====================================================== */
.knv-pu-frame .knv-pu-inner{overflow:hidden!important;}
.knv-pu-frame .knv-pickup-boost{--knv-slide-h:360px;}
.knv-pu-frame .knv-pu-inner .pickupS_title,
.knv-pu-frame .knv-pu-inner .pickupS_titleIcon,
.knv-pu-frame .knv-pu-inner h2.pickupS_title{display:none!important;}
.knv-pu-frame .knv-pu-inner .pickupS{
  margin:0!important;
  padding:0!important;
  border:none!important;
  background:transparent!important;
  box-shadow:none!important;
}
.knv-pu-frame .pickupS_viewport,
.knv-pu-frame .pickupS .track,
.knv-pu-frame .pickupS_slide,
.knv-pu-frame .pickupS_card{height:var(--knv-slide-h)!important;}
.knv-pu-frame .pickupS .track{
  display:flex!important;
  align-items:stretch!important;
  gap:0!important;
  padding:0!important;
  margin:0!important;
}
.knv-pu-frame .pickupS_slide{margin:0!important;padding:0!important;}
.knv-pu-frame .pickupS_card{
  background:transparent!important;
  border:none!important;
  box-shadow:none!important;
  border-radius:0!important;
  overflow:hidden!important;
}
.knv-pu-frame img.pickupS_img,.knv-pu-frame .pickupS_card img{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  max-width:none!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
}
.knv-pu-frame .pickupS_name{display:none!important;}
.knv-pu-frame .knv-pickup-boost .slick-dots{bottom:-22px!important;}

/* ======================================================
   5) フッター
====================================================== */
.site-footer{background:#ff66aa;color:#fff;}
.site-footer__inner{max-width:1100px;margin:0 auto;padding:28px 16px 24px;text-align:center;}
.footer-nav ul{
  list-style:none;
  margin:0 0 14px;
  padding:0;
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  align-items:center;
  gap:18px 22px;
}
.footer-nav a{
  color:#fff;
  text-decoration:none;
  font-weight:400;
  letter-spacing:.01em;
  font-size:15px;
  line-height:1.6;
  padding:4px 2px;
  transition:opacity .15s ease;
}
.footer-nav a:hover{opacity:.9;}
.footer-copy{margin:10px 0 6px;font-size:15px;font-weight:400;line-height:1.6;}
.footer-note{margin:0;font-size:12.5px;line-height:1.6;opacity:.95;font-weight:400;}

@media (max-width:768px){
  .site-footer__inner{padding:22px 14px 20px;}
  .footer-nav ul{gap:12px 16px;}
  .footer-nav a{font-size:14px;}
  .footer-copy{font-size:14px;}
  .footer-note{font-size:12px;}
}

@media (max-width:520px){
  .footer-nav ul{display:block;margin-bottom:12px;}
  .footer-nav li{margin:6px 0;}
  .footer-nav a{font-size:15px;display:inline-block;padding:2px 0;}
  .footer-copy{font-size:13.5px;}
  .footer-note{font-size:12px;}
}

/* ======================================================
   6) AgeGate（統合パッチ＋最終上書き群保持）
====================================================== */
/* ベース */
#age-gate,.age-gate,.agegate{font-size:clamp(18px,4.8vw,22px)!important;line-height:1.7!important;}
#age-gate .l-wrap,#age-gate .container,#age-gate .inner,
.age-gate .l-wrap,.age-gate .container,.age-gate .inner,
.agegate .l-wrap,.agegate .container,.agegate .inner{
  max-width:none!important;
  width:100%!important;
  margin-left:0!important;
  margin-right:0!important;
  padding:0 16px!important;
  box-sizing:border-box;
  text-align:center;
}
#age-gate img,.age-gate img,.agegate img{
  width:min(92vw,760px)!important;
  max-width:100%!important;
  height:auto!important;
  margin:0 auto 14px!important;
  display:block!important;
}
#age-gate h1,.age-gate h1,.agegate h1{font-size:clamp(22px,5.4vw,30px)!important;margin:0 0 .5em!important;}
#age-gate h2,.age-gate h2,.agegate h2{font-size:clamp(20px,4.8vw,26px)!important;margin:.6em 0 .45em!important;}
#age-gate .buttons,.age-gate .buttons,.agegate .buttons{display:block!important;margin:clamp(8px,2.2vw,14px) auto 8px!important;}
#age-gate button,#age-gate input[type="submit"],#age-gate input[type="button"],#age-gate a.button,
.age-gate button,.age-gate input[type="submit"],.age-gate input[type="button"],.age-gate a.button,
.agegate button,.agegate input[type="submit"],.agegate input[type="button"],.agegate a.button,
.age-gate .agree,.age-gate .disagree,.agegate .agree,.agegate .disagree{
  display:block!important;
  box-sizing:border-box!important;
  width:min(100%,560px)!important;
  margin:12px auto!important;
  padding:clamp(12px,3.6vw,18px) clamp(16px,4.6vw,24px)!important;
  font-size:clamp(18px,4.8vw,22px)!important;
  line-height:1.2!important;
  text-align:center!important;
}
#age-gate p,.age-gate p,.agegate p{font-size:1.05em!important;margin:.55em 0 .95em!important;}
#age-gate .note,#age-gate .notice,#age-gate .attention,#age-gate .age-warning,#age-gate .age-desc,
#age-gate .agree-text,#age-gate .disclaimer,#age-gate .description,#age-gate .legal,#age-gate .terms,#age-gate .policy,
.age-gate .note,.age-gate .notice,.age-gate .attention,.age-gate .age-warning,.age-gate .age-desc,
.age-gate .agree-text,.age-gate .disclaimer,.age-gate .description,.age-gate .legal,.age-gate .terms,.age-gate .policy,
.agegate .note,.agegate .notice,.agegate .attention,.agegate .age-warning,.agegate .age-desc,
.agegate .agree-text,.agegate .disclaimer,.agegate .description,.agegate .legal,.agegate .terms,.agegate .policy,
#age-gate .buttons + p,.age-gate .buttons + p,.agegate .buttons + p,
#age-gate .buttons + * p,.age-gate .buttons + * p,.agegate .buttons + * p,
#age-gate small,.age-gate small,.agegate small{
  font-size:clamp(17px,5vw,22px)!important;
  line-height:1.8!important;
  letter-spacing:.01em;
  margin-top:clamp(10px,2.6vw,16px)!important;
}

/* スマホ読みやすさ追記 */
@media (max-width:767px){
  .age-gate,.age-gate *{font-size:20px!important;line-height:1.6!important;}
  .age-gate button{font-size:22px!important;padding:14px 28px!important;}
}

/* PC専用微調整（本文縮小、ボタン折返し許容） */
@media (min-width:1025px){
  #age-gate,.age-gate,.agegate{font-size:18px!important;line-height:1.6!important;letter-spacing:.01em;}
  #age-gate p,#age-gate li,.age-gate p,.age-gate li,.agegate p,.agegate li{
    font-size:1em!important;
    line-height:1.6!important;
    margin:.45em 0 .7em!important;
  }
  #age-gate h1,.age-gate h1,.agegate h1{font-size:26px!important;margin:0 0 .5em!important;}
  #age-gate h2,.age-gate h2,.agegate h2{font-size:22px!important;margin:.6em 0 .45em!important;}
  #age-gate .buttons,.age-gate .buttons,.agegate .buttons{
    display:flex!important;
    justify-content:center!important;
    align-items:center!important;
    flex-wrap:wrap!important;
    gap:10px 12px!important;
    margin:10px auto 8px!important;
  }
  #age-gate button,#age-gate input[type="submit"],#age-gate input[type="button"],#age-gate a.button,
  .age-gate button,.age-gate input[type="submit"],.age-gate input[type="button"],.age-gate a.button,
  .agegate button,.agegate input[type="submit"],.agegate input[type="button"],.agegate a.button{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:auto!important;
    min-width:280px!important;
    max-width:520px!important;
    box-sizing:border-box!important;
    padding:14px 22px!important;
    font-size:18px!important;
    line-height:1.25!important;
    white-space:normal!important;
    word-break:keep-all!important;
    text-align:center!important;
  }
  #age-gate .disagree,.age-gate .disagree,.agegate .disagree{text-wrap:balance;}

  /* リンク小さく */
  #age-gate a:not(.button):not([class*="btn"]):not(.agegate__button),
  .age-gate a:not(.button):not([class*="btn"]):not(.agegate__button),
  .agegate a:not(.button):not([class*="btn"]):not(.agegate__button){font-size:14px!important;line-height:1.55!important;}
  #age-gate .links,#age-gate .note,#age-gate .terms,#age-gate .policy,
  .age-gate .links,.age-gate .note,.age-gate .terms,.age-gate .policy,
  .agegate .links,.agegate .note,.agegate .terms,.agegate .policy{font-size:14px!important;line-height:1.55!important;}

  /* 最初のロゴを少し下げる（保険） */
  #age-gate img:nth-of-type(1),.age-gate img:nth-of-type(1),.agegate img:nth-of-type(1),
  #age-gate > a:first-of-type,.age-gate > a:first-of-type,.agegate > a:first-of-type{
    display:inline-block!important;
    margin-top:26px!important;
  }
}

/* タブ/スマホ追加のボタン行間・リンク拡大（最終指定保持） */
@media (max-width:1024px){
  #age-gate,.age-gate,.agegate{font-size:22px!important;line-height:1.8!important;}
  #age-gate p,.age-gate p,.agegate p,
  #age-gate li,.age-gate li,.agegate li{font-size:1.2em!important;line-height:1.85!important;}
  #age-gate a:not(.button):not([class*="btn"]),
  .age-gate a:not(.button):not([class*="btn"]),
  .agegate a:not(.button):not([class*="btn"]){font-size:1.15em!important;line-height:1.75!important;}
  #age-gate .buttons,.age-gate .buttons,.agegate .buttons{
    display:flex!important;
    justify-content:center!important;
    flex-wrap:nowrap!important;
    gap:6px!important;
  }
  #age-gate button,.age-gate button,.agegate button,
  #age-gate input[type="submit"],.age-gate input[type="submit"],.agegate input[type="submit"]{
    display:inline-block!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    white-space:nowrap!important;
    font-size:20px!important;
    padding:16px 22px!important;
    text-align:center!important;
  }
}

/* スマホ/タブ：ボタン間隔をPC同等に詰める（最終指定） */
@media (max-width:1024px){
  #age-gate .buttons,.age-gate .buttons,.agegate .buttons{
    display:flex!important;
    justify-content:center!important;
    align-items:center!important;
    flex-wrap:nowrap!important;
    gap:0!important;
    column-gap:0!important;
    row-gap:0!important;
    margin:8px auto!important;
  }
  #age-gate .buttons > * + *,.age-gate .buttons > * + *,.agegate .buttons > * + *{margin-left:4px!important;}
}

/* スマホ/タブ：余白圧縮＋見た目ズーム（最終指定） */
@media (max-width:768px){
  body,.l-wrap,.l-content,.container,.wrap,.site-content,.entry-content,.l-header__content,#age-gate,.age-gate,.agegate{
    padding-left:6px!important;
    padding-right:6px!important;
    margin-left:0!important;
    margin-right:0!important;
  }
  #age-gate,.age-gate,.agegate{font-size:22px!important;line-height:1.85!important;}
  #age-gate p,.age-gate p,.agegate p{font-size:1.2em!important;}
  #age-gate a:not(.button):not([class*="btn"]),
  .age-gate a:not(.button):not([class*="btn"]),
  .agegate a:not(.button):not([class*="btn"]){font-size:1.15em!important;}
  body{transform:scale(1.12);transform-origin:top center;}
  html,body{width:100%!important;overflow-x:hidden!important;}
}

/* タブレット軽微ズーム */
@media (min-width:769px) and (max-width:1024px){
  .l-wrap,.l-content,.container,.wrap,.site-content,.entry-content,.l-header__content,#age-gate,.age-gate,.agegate{
    padding-left:14px!important;
    padding-right:14px!important;
  }
  #age-gate,.age-gate,.agegate{font-size:18.5px!important;line-height:1.8!important;}
  #age-gate p,.age-gate p,.agegate p{font-size:1.06em!important;}
  body{transform:scale(1.03);transform-origin:top center;}
  html,body{width:100%!important;overflow-x:hidden!important;}
}

/* ======================================================
   7) Front専用（ロゴ拡大・検索バランス・家アイコン除去）
====================================================== */
/* 既存左上ロゴ群はFrontで非表示（ドロワー等は触らない） */
.page-template-front-page #header .header__navImage,
.page-template-front-page #header .headerHome,
.page-template-front-page #header .site-logo,
.page-template-front-page #header .site-branding,
.page-template-front-page #header [class*="logo"]{display:none!important;}
.page-template-front-page #header{padding-top:0!important;padding-bottom:0!important;min-height:0!important;}
.page-template-front-page #header::before{content:none!important;}
.page-template-front-page .l-content__top{padding-top:6px!important;}

/* PC：ロゴ＋検索の並びとサイズ */
@media (min-width:1025px){
  #top__search .search-row{
    display:flex!important;
    flex-wrap:nowrap!important;
    justify-content:flex-start!important;
    align-items:flex-end!important;
    gap:16px!important;
    margin-left:12px!important;
  }
  #top__search .site-logo-mini{display:flex!important;align-items:flex-end!important;}
  #top__search .site-logo-mini img{height:var(--logoH-pc)!important;width:auto!important;display:block!important;}
  #top__search .search-row__form{flex:0 1 var(--kwW-pc)!important;max-width:var(--kwW-pc)!important;min-width:340px!important;}
  #top__search .l-side__search{margin:0!important;width:auto!important;max-width:none!important;}
  #top__search .search-form{width:100%!important;margin:0!important;}
  #top__search .search-form .search-field,
  #top__search .search-form input[type="search"]{height:var(--kwH-pc)!important;line-height:var(--kwH-pc)!important;font-size:16px!important;}
  #top__search .search-form .search-submit,
  #top__search .search-form button,
  #top__search .search-form input[type="submit"]{height:var(--kwH-pc)!important;}
}

/* タブレット */
@media (min-width:768px) and (max-width:1024.98px){
  #top__search .search-row{display:flex!important;align-items:flex-end!important;gap:14px!important;margin-left:10px!important;}
  #top__search .site-logo-mini img{height:var(--logoH-tab)!important;}
  #top__search .search-row__form{flex:1 1 auto!important;max-width:620px!important;}
  #top__search .search-form .search-field,
  #top__search .search-form input[type="search"],
  #top__search .search-form .search-submit,
  #top__search .search-form button,
  #top__search .search-form input[type="submit"]{height:var(--kwH-tab)!important;}
}

/* スマホ */
@media (max-width:767.98px){
  #top__search .search-row{display:flex!important;align-items:flex-end!important;gap:12px!important;margin-left:8px!important;}
  #top__search .site-logo-mini img{height:var(--logoH-sp)!important;}
  #top__search .search-row__form{flex:1 1 auto!important;max-width:100%!important;min-width:0!important;}
  #top__search .search-form{margin-right:10px!important;}
  #top__search .search-form .search-field,
  #top__search .search-form input[type="search"]{height:var(--kwH-sp)!important;font-size:15px!important;}
  #top__search .search-form .search-submit,
  #top__search .search-form button,
  #top__search .search-form input[type="submit"]{height:var(--kwH-sp)!important;}
}

/* 家アイコン類を確実に隠す（Frontヘッダー内） */
.page-template-front-page #header .fa-home,
.page-template-front-page #header .dashicons-home,
.page-template-front-page #header .icon-home,
.page-template-front-page #header .home-icon,
.page-template-front-page #header [class*="icon-home"],
.page-template-front-page #header [class*="home-icon"],
.page-template-front-page #header .headerHome svg{display:none!important;}

/* HOMEリンク=ロゴ（確実版＋最終サイズ上書き保持） */
#header a.headerHome,
.l-header a.headerHome,
.site-header a.headerHome,
#header .header__navImage a,
.l-header .header__navImage a,
.site-header .header__navImage a,
#header .headerLogo a,
.l-header .headerLogo a,
.site-header .headerLogo a{
  position:relative!important;
  display:inline-block!important;
  width:160px!important;
  height:160px!important;
  background-image:url("https://kaseganight.jp/wp-content/uploads/2025/08/site-icon-512.png")!important;
  background-repeat:no-repeat!important;
  background-position:left center!important;
  background-size:contain!important;
  text-indent:-9999px!important;
  overflow:hidden!important;
  border:0!important;
  padding:0!important;
  margin:0!important;
  line-height:0!important;
  z-index:10;
}
#header a.headerHome > *, .l-header a.headerHome > *, .site-header a.headerHome > *,
#header .header__navImage a > *, .l-header .header__navImage a > *, .site-header .header__navImage a > *,
#header .headerLogo a > *, .l-header .headerLogo a > *, .site-header .headerLogo a > *{
  display:none!important;
  visibility:hidden!important;
  width:0!important;
  height:0!important;
}
#header a.headerHome::before,#header a.headerHome::after,
.l-header a.headerHome::before,.l-header a.headerHome::after,
.site-header a.headerHome::before,.site-header a.headerHome::after{content:none!important;}
#header .fa-home,#header .icon-home,#header .dashicons-home,
.l-header .fa-home,.l-header .icon-home,.l-header .dashicons-home,
.site-header .fa-home,.site-header .icon-home,.site-header .dashicons-home{display:none!important;}

/* 端末別ロゴサイズ（上書き） */
@media (max-width:1024.98px){
  #header a.headerHome,.l-header a.headerHome,.site-header a.headerHome,
  #header .header__navImage a,.l-header .header__navImage a,.site-header .header__navImage a,
  #header .headerLogo a,.l-header .headerLogo a,.site-header .headerLogo a{
    width:96px!important;
    height:96px!important;
    background-position:left center!important;
  }
}
@media (max-width:767.98px){
  #header a.headerHome,.l-header a.headerHome,.site-header a.headerHome,
  #header .header__navImage a,.l-header .header__navImage a,.site-header .header__navImage a,
  #header .headerLogo a,.l-header .headerLogo a,.site-header .headerLogo a{width:68px!important;height:68px!important;}
}
/* 低い横画面の保険 */
@media (orientation:landscape) and (max-height:520px){
  #header a.headerHome,.l-header a.headerHome,.site-header a.headerHome,
  #header .header__navImage a,.l-header .header__navImage a,.site-header .header__navImage a,
  #header .headerLogo a,.l-header .headerLogo a,.site-header .headerLogo a{width:56px!important;height:56px!important;}
}

/* 既存を打ち消して“採用ロゴ”に差替える必要があるテーマ用の保険（現状維持のため残し） */
html body #header a.headerHome{
  display:inline-block!important;
  visibility:visible!important;
  width:200px!important;
  height:200px!important;
  background:url("https://kaseganight.jp/wp-content/uploads/2025/08/採用ロゴカラー-1.jpg") no-repeat left center / contain !important;
  color:transparent!important;
  text-indent:-9999px!important;
  overflow:hidden!important;
  line-height:0!important;
}
@media (max-width:1024.98px){html body #header a.headerHome{width:150px!important;height:150px!important;}}
@media (max-width:767.98px){html body #header a.headerHome{width:120px!important;height:120px!important;}}

/* ヘッダー直下余白をゼロ化＋ヒーロー/スライダー吸い付け */
*:where(header,[class*="header"],[id*="header"],[class*="masthead"],#masthead)::after{content:none!important;display:none!important;height:0!important;}
*:where(header,[class*="header"],[id*="header"],[class*="masthead"],#masthead){
  margin-bottom:0!important;
  padding-bottom:0!important;
  border-bottom:0!important;
  position:relative;
  z-index:5;
}
*:where(header,[class*="header"],[id*="header"],[class*="masthead"],#masthead)+*,
*:where(header,[class*="header"],[id*="header"],[class*="masthead"],#masthead)+* > *:first-child{
  margin-top:0!important;
  padding-top:0!important;
  border-top:0!important;
}
:is(main,.l-content,.site-content,#content,.content,.container,.wrap)
  :is(.swiper,.swiper-container,.slick-slider,[class*="slider"],[class*="carousel"],[class*="pickup"],[class*="mv"],[class*="hero"]){
  margin-top:0!important;
  padding-top:0!important;
  position:relative;
  z-index:0;
}
:is(main,.l-content,.site-content,#content,.content,.container,.wrap)
  :is(.swiper,.slick-slider,[class*="slider"],[class*="mv"],[class*="hero"]):first-of-type{
  margin-top:var(--kn-emergency-pull)!important;
}
:is(.l-content,main,#main,.site-content,#content,.content){padding-top:0!important;margin-top:0!important;}

/* ロゴ/検索行・ズレ補正 */
.kn-hdr{display:flex;align-items:center;gap:14px;}
@media (max-width:767px){.kn-hdr{flex-direction:column;align-items:flex-start;gap:10px;}}
.kn-logo{flex:0 0 auto;margin:0!important;padding:0!important;line-height:1!important;position:relative;}
.kn-logo img,.kn-logo svg{display:block!important;width:auto!important;height:auto!important;margin:0!important;padding:0!important;}
@media (max-width:767px){.kn-logo img,.kn-logo svg{max-height:var(--kn-logo-max-sp)!important;}}
@media (min-width:768px) and (max-width:1024px){.kn-logo img,.kn-logo svg{max-height:var(--kn-logo-max-tab)!important;}}
@media (min-width:1025px){.kn-logo img,.kn-logo svg{max-height:var(--kn-logo-max-pc)!important;}}
@media (max-width:767px){.kn-logo{transform:translateY(var(--kn-logo-shift-sp));}}
@media (min-width:768px) and (max-width:1024px){.kn-logo{transform:translateY(var(--kn-logo-shift-tab));}}
@media (min-width:1025px){.kn-logo{transform:translateY(var(--kn-logo-shift-pc));}}

header.l-header,header.l-header .l-header__body,header.l-header .l-header__content{margin-bottom:0!important;padding-bottom:0!important;border:0!important;}
header.l-header + *{margin-top:0!important;padding-top:0!important;}
header.l-header ~ .l-content > *:first-child{margin-top:0!important;padding-top:0!important;}
.l-content .swiper,.l-content [class*="slider"],.l-content [class*="carousel"],.l-content [class*="pickup"],.l-content [class*="mv"]{margin-top:0!important;padding-top:0!important;}
@media (max-width:767px){header.l-header ~ .l-content{margin-top:var(--kn-pull-sp)!important;}}
@media (min-width:768px) and (max-width:1024px){header.l-header ~ .l-content{margin-top:var(--kn-pull-tab)!important;}}
@media (min-width:1025px){header.l-header ~ .l-content{margin-top:var(--kn-pull-pc)!important;}}

.l-header,.l-header__content,.kn-hdr,.kn-logo,.kn-search{text-align:left!important;}
.kn-logo,.kn-logo img{left:0!important;margin-left:0!important;}
.kn-search{flex:1 1 320px;min-width:240px;margin-right:auto;}
.kn-search form,.kn-search .search-form,.kn-search .wp-block-search,.kn-search .wp-block-search__inside-wrapper{width:100%;}

/* ======================================================
   8) 浮遊ハンバーガー（SP/Tablet）
====================================================== */
@media (max-width:1024px){
  .floating-hamburger{
    position:fixed;
    top:calc(env(safe-area-inset-top,0px) + var(--fh-offset));
    right:calc(env(safe-area-inset-right,0px) + var(--fh-offset));
    width:var(--fh-size);
    height:var(--fh-size);
    z-index:10050;
    display:none;
    align-items:center;
    justify-content:center;
    background:transparent;
    border:0;
    padding:0;
    margin:0;
    -webkit-tap-highlight-color:transparent;
  }
  .floating-hamburger .fh-lines{position:relative;width:26px;height:18px;color:var(--fh-color);}
  .floating-hamburger .fh-lines i,.floating-hamburger .fh-lines::before,.floating-hamburger .fh-lines::after{
    content:"";
    position:absolute;
    left:0;
    right:0;
    height:2px;
    background:currentColor;
  }
  .floating-hamburger .fh-lines::before{top:0;}
  .floating-hamburger .fh-lines i{top:8px;}
  .floating-hamburger .fh-lines::after{bottom:0;}
  .admin-bar .floating-hamburger{top:calc(env(safe-area-inset-top,0px) + 56px);}
  html,body{transform:none!important;transform-origin:initial!important;}
  .has-floating-hamburger :is(.menu-toggle,.header__hamburger,.hamburger,.drawer-toggle,[aria-controls*="menu"],[aria-controls*="drawer"]){
    visibility:hidden!important;
    pointer-events:none!important;
  }
}

/* ======================================================
   9) 左カラム（ガーリーパレット）
====================================================== */
.l-side .l-side__contents{
  position:relative;
  overflow:hidden;
  border-radius:18px;
  background:var(--white);
  border:1px solid rgba(0,0,0,.06);
  box-shadow:var(--shadow);
  padding:14px 14px 16px;
}
.l-side .l-side__contents::before{
  content:"";
  position:absolute;
  inset:0 0 auto 0;
  height:62px;
  border-radius:18px 18px 0 0;
  opacity:.98;
  z-index:0;
}
.l-side__reco::before{background:var(--reco-grad);}
.l-side__works::before{background:var(--works-grad);}
.l-side__area::before{background:var(--area-grad);}
.l-side .l-side__titleArea{position:relative;z-index:1;text-align:left!important;}
.l-side .l-side__titleArea h2{
  margin:0;
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 14px;
  border-radius:14px;
  border:none;
  color:#fff;
  font-weight:900;
  letter-spacing:.02em;
  line-height:1;
  font-size:clamp(14px,1.6vw,16px);
  text-shadow:0 1px 0 rgba(0,0,0,.25);
  overflow:hidden;
}
.l-side__reco  .l-side__titleArea h2{background:var(--reco-head);box-shadow:var(--reco-shadow);}
.l-side__works .l-side__titleArea h2{background:var(--works-head);box-shadow:var(--works-shadow);}
.l-side__area  .l-side__titleArea h2{background:var(--area-head);box-shadow:var(--area-shadow);}
.l-side .l-side__titleArea h2::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  border-radius:inherit;
  background:linear-gradient(120deg,rgba(255,255,255,.20) 0%,rgba(255,255,255,0) 45%,rgba(255,255,255,.18) 70%,rgba(255,255,255,0) 100%);
  mix-blend-mode:screen;
}
.l-side .l-side__titleArea .ST_icon{
  width:22px;
  height:22px;
  flex:0 0 22px;
  display:inline-grid;
  place-items:center;
  border-radius:999px;
  background:rgba(255,255,255,.18);
  border:1px solid rgba(255,255,255,.75);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9);
  font-size:12px;
  color:#fff;
}
.l-side__reco  .l-side__titleArea .ST_icon::after{content:"♥";}
.l-side__works .l-side__titleArea .ST_icon::after{content:"✿";}
.l-side__area  .l-side__titleArea .ST_icon::after{content:"❀";}

.l-side .l-side__listArea{margin-top:12px;position:relative;z-index:1;}
.l-side .l-side__listArea .l-side__listBox{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:10px 10px;
  list-style:none;
  padding:0;
  margin:0;
}
.l-side .l-side__listArea .l-side__listBox li{margin:0;width:auto!important;}
.l-side .l-side__listArea .l-side__listBox li a{
  display:block;
  width:100%;
  padding:10px 13px;
  border-radius:999px;
  background:#fff;
  color:var(--chip-ink);
  text-decoration:none;
  font-weight:800;
  letter-spacing:.01em;
  font-size:clamp(12.5px,1.7vw,15.5px);
  line-height:1.1;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  box-shadow:var(--chip-shadow);
  transition:transform .15s ease, box-shadow .15s ease, background-color .15s ease, border-color .15s ease, color .15s ease;
  border:1px solid #e9e7ee;
  -webkit-text-fill-color:var(--chip-ink);
}
.l-side__reco  .l-side__listBox li a{background:var(--reco-chip-bg);border-color:var(--reco-chip-bd);}
.l-side__works .l-side__listBox li a{background:var(--works-chip-bg);border-color:var(--works-chip-bd);}
.l-side__area  .l-side__listBox li a{background:var(--area-chip-bg);border-color:var(--area-chip-bd);}
.l-side__reco  .l-side__listBox li a:hover{
  background:var(--reco-chip-hover);
  color:var(--chip-ink-strong);
  -webkit-text-fill-color:var(--chip-ink-strong);
  transform:translateY(-1px);
  box-shadow:0 10px 18px rgba(255,105,179,.14);
}
.l-side__works .l-side__listBox li a:hover{
  background:var(--works-chip-hover);
  color:var(--chip-ink-strong);
  -webkit-text-fill-color:var(--chip-ink-strong);
  transform:translateY(-1px);
  box-shadow:0 10px 18px rgba(157,120,255,.14);
}
.l-side__area  .l-side__listBox li a:hover{
  background:var(--area-chip-hover);
  color:var(--chip-ink-strong);
  -webkit-text-fill-color:var(--chip-ink-strong);
  transform:translateY(-1px);
  box-shadow:0 10px 18px rgba(72,194,240,.14);
}

/* SP/Tabletで見やすく */
@media (max-width:1024.98px){
  .l-side .l-side__titleArea h2{font-size:clamp(15px,2.1vw,18px);padding:11px 15px;}
  .l-side .l-side__listArea .l-side__listBox{gap:12px 12px;}
  .l-side .l-side__listArea .l-side__listBox li a{font-size:clamp(13.5px,2vw,16.5px);min-height:46px;padding:11px 14px;}
}

/* 狭幅端末 */
@media (max-width:360px){
  .l-side .l-side__listArea .l-side__listBox{gap:8px;}
  .l-side .l-side__listArea .l-side__listBox li a{padding:9px 10px;font-size:13px;}
}

/* 色/サイズの最終上書き（保持） */
@media (max-width:1024.98px){
  .l-side .l-side__listArea .l-side__listBox li a{
    color:#e83e8c!important;
    -webkit-text-fill-color:#e83e8c!important;
    font-size:clamp(14.5px,2.4vw,17px)!important;
    min-height:50px!important;
    padding:11px 15px!important;
  }
  .l-side .l-side__listArea .l-side__listBox li a:hover{
    color:#d63384!important;
    -webkit-text-fill-color:#d63384!important;
  }
}
@media (max-width:767.98px){
  .l-side .l-side__listArea .l-side__listBox li a{
    font-size:clamp(13.5px,3.6vw,15.5px)!important;
    min-height:46px!important;
    padding:10px 14px!important;
  }
}
@media (min-width:1025px){
  .l-side .l-side__listArea .l-side__listBox li a{color:#e83e8c!important;-webkit-text-fill-color:#e83e8c!important;}
  .l-side .l-side__listArea .l-side__listBox li a:hover{color:#d63384!important;-webkit-text-fill-color:#d63384!important;}
}

/* ======================================================
   10) タクソノミー：資格/勤務地/営業時間（SP/Tablet）
====================================================== */
@media (max-width:1024px){
  .taxonomyList__basic dt{font-size:1.1rem;font-weight:700;color:#a54c91;}
  .taxonomyList__basic dd{font-size:1.1rem;font-weight:500;color:#333;}
  .taxonomyList__basic .row{padding:12px 0!important;gap:12px!important;}
  .taxonomyList__basic .row dt{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    flex:0 0 128px!important;
    max-width:128px!important;
    min-height:40px!important;
    padding:10px 12px!important;
    border-radius:12px!important;
    background:#ffe7f3!important;
    border:2px solid #f5a6cf!important;
    box-shadow:0 2px 0 rgba(165,76,145,0.08) inset!important;
    font-size:16px!important;
    font-weight:800!important;
    letter-spacing:.02em!important;
    color:#a54c91!important;
    line-height:1.2!important;
    text-align:center!important;
  }
  .taxonomyList__basic .row dd{font-size:16px!important;line-height:1.8!important;}
}
@media (max-width:360px){
  .taxonomyList__basic .row dt{flex-basis:120px!important;max-width:120px!important;min-height:38px!important;font-size:15px!important;}
  .taxonomyList__basic .row dd{font-size:15px!important;}
}
/* スマホでラベルをさらにコンパクトに */
@media (max-width:767px){
  .taxonomyList__basic .row dt{flex:0 0 70px!important;max-width:70px!important;font-size:13px!important;padding:5px 6px!important;}
  .taxonomyList__basic .row dd{font-size:15px!important;line-height:1.6!important;}
}
/* タブレット：写真/本文比率 */
@media (min-width:768px) and (max-width:1024px){
  .taxonomyList__photoBox{max-width:35%!important;}
  .taxonomyList__photo{max-height:160px!important;}
  .taxonomyList__content{max-width:63%!important;}
}

/* ======================================================
   11) QAアコーディオン
====================================================== */
.qa100__a{display:none;} /* 重複を統合 */
.qa100__q{
  cursor:pointer;
  padding:12px 16px;
  background:#eef2ff;
  font-weight:bold;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.qa100__q::after{content:"＋";font-weight:bold;margin-left:auto;}
.qa100__item.open .qa100__q::after{content:"－";}
.qa100__badge--q{background:#6366f1;color:#fff;border-radius:50%;padding:4px 8px;margin-right:8px;}
.qa100__badge--a{background:#10b981;color:#fff;border-radius:50%;padding:4px 8px;margin-right:8px;}

/* ======================================================
   12) 「入店からの特典」本文テキスト（最終仕様＝単色パステル）
====================================================== */
.boxSection.perks .perks__body{padding:14px 10px 18px;text-align:center;}
.boxSection.perks .perks__lines{
  display:inline-block;
  margin:0 auto;
  max-width:36ch;
  color:#ffb6d9;
  font-family:"Noto Sans JP","Hiragino Maru Gothic ProN","Yu Gothic","Meiryo",sans-serif;
  font-weight:800;
  font-size:clamp(18px,2.2vw,26px);
  line-height:1.3;
  letter-spacing:.02em;
  text-shadow:0 1px 2px rgba(255,182,217,.4);
}
@media (max-width:768px){
  .boxSection.perks .perks__lines{max-width:28ch;font-size:clamp(16px,4.2vw,22px);line-height:1.35;}
}
/* 余白調整（SP/Tabで写真〜特典の間を詰める） */
@media (max-width:1024px){
  .storeCard__content{margin-bottom:14px!important;}
  .contentMain__content .storeCard{margin-bottom:0!important;}
  .contentMain__content .storeCard + .boxSection{margin-top:0!important;}
}

/* ======================================================
   13) 細部：ヘッダーの家アイコンを常時非表示（重複削減）
====================================================== */
.header__navImage{display:none!important;}

/* ================================
   追加で存在していたCSS（追加CSS欄末尾）
   ※Python部分は除去済み
================================ */

/* taxonomyList__photo 内の画像を切らずに縮小表示 */
.taxonomyList__photo img{
  width:100%;
  height:auto;               /* 高さ自動調整 */
  object-fit:contain !important; /* 切らずに全体を収める */
  background:#fff;           /* 余白部分に白背景（必要なら） */
  padding:6px;               /* 余白を付けてカードっぽく */
  box-sizing:border-box;
}

/* 強制2カラム配置（PC幅） */
@media (min-width:1025px){
  .archive .l-content__common{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) 320px !important;
    gap:24px !important;
    align-items:start !important;
  }
  .archive .l-main__common{grid-column:1;}
  .archive .l-sidebar,
  .archive .l-side,
  .archive aside{grid-column:2;}
}

/* /oshimax/max（推し度MAXのタームページ）だけ、スライダーと左右カラムを右へ */
body.tax-oshi_max.term-max #common__pickup{
  position:relative;
  left:var(--kn-shift-pc);
}
body.tax-oshi_max.term-max .l-content__common{
  position:relative;
  left:var(--kn-shift-pc);
}
@media (min-width:768px) and (max-width:1024px){
  body.tax-oshi_max.term-max #common__pickup,
  body.tax-oshi_max.term-max .l-content__common{left:var(--kn-shift-tab);}
}
@media (max-width:767.98px){
  body.tax-oshi_max.term-max #common__pickup,
  body.tax-oshi_max.term-max .l-content__common{left:var(--kn-shift-sp);}
}

/* 左端合わせ（/oshimax/max 限定） */
@media (min-width:1025px){
  body.tax-oshi_max.term-max #common__pickup,
  body.tax-oshi_max.term-max .l-content__common{
    position:relative;
    left:var(--kn-align-pc);
  }
}
@media (min-width:768px) and (max-width:1024px){
  body.tax-oshi_max.term-max #common__pickup,
  body.tax-oshi_max.term-max .l-content__common{
    position:relative;
    left:var(--kn-align-tab);
  }
}
@media (max-width:767.98px){
  body.tax-oshi_max.term-max #common__pickup,
  body.tax-oshi_max.term-max .l-content__common{
    position:relative;
    left:var(--kn-align-sp);
  }
}

/* タクソノミー一覧（store-recommend / store-category / store-area）を右へ寄せる */
@media (min-width:1025px){
  body.tax-store-recommend .l-content.l-content__common,
  body.tax-store-category  .l-content.l-content__common,
  body.tax-store-area      .l-content.l-content__common{margin-left:var(--tax-align-pc) !important;} /* 位置だけ移動、サイズ不変 */
  body.tax-store-recommend #common__pickup,
  body.tax-store-category  #common__pickup,
  body.tax-store-area      #common__pickup{margin-left:var(--tax-align-pc) !important;}
}
@media (min-width:768px) and (max-width:1024.98px){
  body.tax-store-recommend .l-content.l-content__common,
  body.tax-store-category  .l-content.l-content__common,
  body.tax-store-area      .l-content.l-content__common{margin-left:var(--tax-align-tab) !important;}
  body.tax-store-recommend #common__pickup,
  body.tax-store-category  #common__pickup,
  body.tax-store-area      #common__pickup{margin-left:var(--tax-align-tab) !important;}
}
@media (max-width:767.98px){
  body.tax-store-recommend .l-content.l-content__common,
  body.tax-store-category  .l-content.l-content__common,
  body.tax-store-area      .l-content.l-content__common{margin-left:var(--tax-align-sp) !important;}
  body.tax-store-recommend #common__pickup,
  body.tax-store-category  #common__pickup,
  body.tax-store-area      #common__pickup{margin-left:var(--tax-align-sp) !important;}
}

/* ======================================================
   5) フッター（統一版：中央揃え＋ピンク系）
   ※以降のフッター定義は「後勝ち」で上書きされます（順序維持）
====================================================== */
.site-footer{
  background: linear-gradient(180deg,#ffd6e8 0%,#ffb6d9 100%);
  color:#5a2b45;
  text-align:center;
}
.site-footer__inner{
  max-width:1100px;
  margin:0 auto;
  padding:28px 16px 24px;
  text-align:center;
}

/* ナビ：常にflex（SPでもdisplay:blockにしない＝崩れ防止） */
.site-footer .footer-nav ul{
  list-style:none;
  margin:0 0 14px;
  padding:0;
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  align-items:center;
  gap:12px 18px;
  text-align:center;
}
.site-footer .footer-nav li{margin:0;padding:0;}
.site-footer .footer-nav a{
  color:inherit;
  text-decoration:none;
  font-weight:500;
  letter-spacing:.01em;
  font-size:14px;
  line-height:1.6;
  padding:4px 2px;
  white-space:nowrap;
  transition:opacity .15s ease;
}
.site-footer .footer-nav a:hover{opacity:.85;}

/* コピーライト＆注意書き：明示的に中央 */
.site-footer .footer-copy{
  margin:10px 0 6px;
  font-size:14px;
  font-weight:600;
  line-height:1.6;
  text-align:center;
}
.site-footer .footer-note{
  margin:0;
  font-size:12.5px;
  line-height:1.6;
  opacity:.9;
  text-align:center;
}

/* 余白やulの初期値で崩れるテーマ対策 */
.site-footer *{box-sizing:border-box;}
.site-footer ul{padding-left:0;}

/* レスポンシブ */
@media (max-width:768px){
  .site-footer__inner{padding:22px 14px 20px;}
  .site-footer .footer-nav ul{gap:10px 14px;}
  .site-footer .footer-nav a{font-size:13px;}
  .site-footer .footer-copy{font-size:13px;}
  .site-footer .footer-note{font-size:12px;}
}

/* ======================================================
   フッター：女子受け特化（ピンク系・安心感）
   ※以降も順序維持（後勝ち）
====================================================== */
.site-footer{
  background: linear-gradient(180deg,#ffe3ee 0%,#ffd1e6 100%);
  color:#5a2b45;
  text-align:center;
}
.site-footer__inner{
  max-width:1100px;
  margin:0 auto;
  padding:32px 16px 26px;
  text-align:center;
}

/* ナビ */
.site-footer .footer-nav ul{
  list-style:none;
  margin:0 0 16px;
  padding:0;
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  align-items:center;
  gap:14px 22px;
}
.site-footer .footer-nav a{
  color:#b8326a;
  text-decoration:none;
  font-size:14px;
  font-weight:500;
  letter-spacing:.02em;
  transition:color .2s ease, opacity .2s ease;
}
.site-footer .footer-nav a:hover{
  color:#ff4f9a;
  opacity:.95;
}

/* コピーライト */
.site-footer .footer-copy{
  margin:12px 0 6px;
  font-size:14px;
  font-weight:600;
  color:#5a2b45;
  text-align:center;
}

/* 注意書き */
.site-footer .footer-note{
  margin:0;
  font-size:12.5px;
  line-height:1.7;
  color:#7a4560;
  text-align:center;
}

/* スマホ */
@media (max-width:768px){
  .site-footer__inner{padding:26px 14px 22px;}
  .site-footer .footer-nav ul{gap:10px 16px;}
  .site-footer .footer-nav a{font-size:13px;}
  .site-footer .footer-copy{font-size:13px;}
  .site-footer .footer-note{font-size:12px;}
}

/* 末尾のフッター群（順序維持・そのまま） */
html body .site-footer,
html body footer.site-footer,
html body #colophon,
html body #footer,
html body footer{
  background: linear-gradient(180deg,#ffe3ee 0%,#ffd1e6 100%) !important;
  color:#5a2b45 !important;
}

html body .site-footer a,
html body #footer a,
html body #colophon a{color:#b8326a !important;}

html body .site-footer a:hover,
html body #footer a:hover,
html body #colophon a:hover{
  color:#ff4f9a !important;
  opacity:.95 !important;
}

/* ================================
   フッター最終調整（赤ライン除去・行間圧縮・細身）
================================ */
html body footer,
html body .site-footer,
html body #footer,
html body #colophon{
  border-top:none !important;
  outline:none !important;
}
.site-footer{
  padding-top:20px !important;
  padding-bottom:18px !important;
}
.site-footer .footer-nav ul{
  margin-bottom:10px !important;
  gap:8px 18px !important;
}
.site-footer .footer-nav a{
  line-height:1.4 !important;
  font-weight:400 !important;
}
.site-footer .footer-copy{
  font-weight:400 !important; /* ← 太字解除 */
  margin:6px 0 4px !important;
  line-height:1.4 !important;
  letter-spacing:.02em;
}
.site-footer .footer-note{
  margin:0 !important;
  line-height:1.45 !important;
}
@media (max-width:768px){
  .site-footer{
    padding-top:16px !important;
    padding-bottom:14px !important;
  }
  .site-footer .footer-nav ul{margin-bottom:8px !important;}
}

/* ================================
   FOOTER 最終：上余白ほぼゼロ＋行間圧縮＋赤線完全殺し
================================ */
html body footer,
html body .site-footer,
html body #colophon,
html body #footer,
html body footer *,
html body .site-footer *{
  outline:0 !important;
  border-top:0 !important;
  box-shadow:none !important;
}
html body .site-footer,
html body #colophon,
html body #footer,
html body footer{
  padding-top:2px !important;
  padding-bottom:10px !important;
  margin-top:0 !important;
}
.site-footer__inner,
#colophon .site-footer__inner,
#footer .site-footer__inner{
  padding-top:6px !important;
  padding-bottom:10px !important;
}
.site-footer .footer-nav ul{
  margin:0 !important;
  padding:0 !important;
  gap:6px 16px !important;
  line-height:1.2 !important;
}
.site-footer .footer-copy{
  font-weight:400 !important;
  margin:6px 0 2px !important;
  line-height:1.25 !important;
}
.site-footer .footer-note{
  margin:0 !important;
  line-height:1.25 !important;
}
.site-footer p{margin:0 !important;}

/* ================================
   FOOTER 最終：画像のピンクに統一＋赤ライン除去＋上余白ほぼゼロ
================================ */
/* 画像のピンク（近似値） */
:root{
  --kn-footer-pink:#e070a0;      /* 背景 */
  --kn-footer-text:#ffffff;      /* 文字（画像は白） */
  --kn-footer-link:#ffffff;      /* リンクも白で統一 */
  --kn-footer-link-hover:#ffe3ee;/* ホバーは少し淡く */
}

/* まず「赤いライン」の原因になりがちな border/outline/影 を根こそぎ無効化 */
html body .site-footer,
html body footer.site-footer,
html body #footer,
html body #colophon,
html body .site-footer__inner{
  border-top:0 !important;
  outline:0 !important;
  box-shadow:none !important;
}

/* 疑似要素や hr が線を出しているケースも潰す */
html body .site-footer::before,
html body .site-footer::after,
html body #footer::before,
html body #footer::after,
html body #colophon::before,
html body #colophon::after{
  content:none !important;
  display:none !important;
  height:0 !important;
}
html body .site-footer hr,
html body #footer hr,
html body #colophon hr{
  display:none !important;
  height:0 !important;
  border:0 !important;
  margin:0 !important;
  padding:0 !important;
}

/* 背景・文字色を「画像の色」に統一（フッター領域の候補を広めに指定） */
html body .site-footer,
html body footer.site-footer,
html body #footer,
html body #colophon{
  background:var(--kn-footer-pink) !important;
  color:var(--kn-footer-text) !important;
}

/* 上の空白を“ほとんど無い”まで詰める（最重要） */
html body .site-footer{
  padding-top:0 !important;
  padding-bottom:0 !important;
}
html body .site-footer__inner{
  padding-top:6px !important;   /* ここを 0〜6px で調整可 */
  padding-bottom:10px !important;
  margin-top:0 !important;
}

/* ナビ（1行目）も上余白ゼロ、行間を詰めてスタイリッシュに */
html body .site-footer .footer-nav ul{
  margin:0 0 6px !important;    /* 上は0固定 */
  padding:0 !important;
  gap:6px 18px !important;
  line-height:1.15 !important;
}
html body .site-footer .footer-nav a{
  color:var(--kn-footer-link) !important;
  font-weight:400 !important;
  line-height:1.15 !important;
  padding:2px 2px !important;
  text-decoration:none !important;
}
html body .site-footer .footer-nav a:hover{
  color:var(--kn-footer-link-hover) !important;
  opacity:1 !important;
}

/* コピーライト：太字を通常に戻し、行間と余白を圧縮 */
html body .site-footer .footer-copy{
  font-weight:400 !important;   /* 太字解除 */
  color:var(--kn-footer-text) !important;
  margin:4px 0 2px !important;
  line-height:1.2 !important;
  letter-spacing:.01em !important;
}

/* 注意書き：行間を詰める */
html body .site-footer .footer-note{
  color:var(--kn-footer-text) !important;
  margin:0 !important;
  line-height:1.25 !important;
  opacity:.95 !important;
}

/* スマホ：さらに詰める */
@media (max-width:768px){
  html body .site-footer__inner{
    padding-top:4px !important;
    padding-bottom:8px !important;
  }
  html body .site-footer .footer-nav ul{
    margin-bottom:5px !important;
    gap:6px 14px !important;
  }
}
