/*
Theme Name: Xwrite child
Version: 2.0.0
Template: xwrite
*/


/* =====================================================
   カスナビ 共通カラー
===================================================== */

:root {
  
  --kn-light-pink: #ff9bc0;


}


/* =====================================================
   XWRITE 標準ヘッダーを全ページ非表示
===================================================== */


/* =====================================================
   カスナビ 共通基本設定
===================================================== */

.kasu-navi {
  width: 100%;

  margin: 0;
  padding: 0;

  color: var(--kn-text);

  background: #fff;

  font-family: inherit;
}


.kasu-navi *,
.kasu-navi button,
.kasu-navi input,
.kasu-navi select,
.kasu-navi textarea {
  box-sizing: border-box;

  font-family: inherit;
}


.kasu-navi a {
  color: inherit;

  text-decoration: none;
}


.kasu-navi svg {
  display: block;
}


/* =====================================================
   共通コンテナ
===================================================== */

.kn-container {
  

  margin-inline: auto;
}


/* =====================================================
   通常ヘッダー
===================================================== */


.kn-header-top {
  min-height: 168px;

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

  gap: 40px;
}


/* =====================================================
   ロゴ
===================================================== */

.kn-logo-area {
  display: flex;
  flex-direction: column;
}


.kn-logo-sub {
  margin: 0 0 12px;

  font-size: 12px;
  line-height: 1.5;

  font-weight: 700;
}


.kn-logo {
  display: inline-flex;
  flex-direction: column;

  width: fit-content;
}


.kn-logo-main {
  position: relative;

  font-size: 40px;
  line-height: 1;

  font-weight: 900;

  letter-spacing: .03em;
}


.kn-logo-main::after {
  content: "";

  position: absolute;

  right: -24px;
  top: -7px;

  width: 22px;
  height: 22px;

  border-top:
    5px solid var(--kn-pink);

  border-right:
    5px solid var(--kn-pink);

  transform:
    rotate(20deg);
}


.kn-logo-en {
  margin-top: 12px;

  font-size: 12px;

  font-weight: 700;

  letter-spacing: .12em;

  text-align: center;
}


/* =====================================================
   ヘッダー右側
===================================================== */

.kn-header-right {
  width: min(580px, 50%);
}


.kn-header-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;

  gap: 30px;

  margin-bottom: 25px;

  font-size: 12px;

  font-weight: 600;
}


.kn-header-links a {
  transition:
    color .2s ease;
}


.kn-header-links a:hover {
  color: var(--kn-pink);
}


/* =====================================================
   検索
===================================================== */

.kn-search {
  max-width: 390px;

  margin-left: auto;

  display: flex;

  overflow: hidden;

  border:
    1px solid #dedede;

  border-radius: 11px;

  background: #fff;
}


.kn-search input {
  flex: 1;

  min-width: 0;

  padding: 15px 18px;

  border: 0;

  outline: 0;

  color: var(--kn-text);

  background: transparent;

  font-size: 13px;
}


.kn-search input::placeholder {
  color: #888;
}


.kn-search button {
  width: 54px;

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

  border: 0;

  color: #fff;

  background:
    linear-gradient(
      135deg,
      #ff659c,
      #f34283
    );

  cursor: pointer;
}


.kn-search button svg {
  width: 21px;
  height: 21px;

  fill: none;

  stroke: currentColor;

  stroke-width: 2;

  stroke-linecap: round;

  stroke-linejoin: round;
}


/* =====================================================
   通常ナビゲーション
===================================================== */

.kn-global-nav {
  width: 100%;

  border-top:
    1px solid #eee;

  border-bottom:
    1px solid #e7e7e7;

  background: #fff;
}


.kn-nav-list {
  min-height: 86px;

  display: grid;

  grid-template-columns:
    repeat(6, 1fr);
}


.kn-nav-list a {
  position: relative;

  min-width: 0;

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

  gap: 10px;

  color: #171717;

  font-size: 13px;

  font-weight: 700;

  white-space: nowrap;

  transition:
    color .2s ease,
    opacity .2s ease,
    background .2s ease;
}


.kn-nav-list a:not(:last-child)::after {
  content: "";

  position: absolute;

  right: 0;

  width: 1px;
  height: 26px;

  background: #e4e4e4;
}


.kn-nav-list a:hover {
  color: var(--kn-pink);

  background: #fff9fb;
}


.kn-nav-list a:first-child {
  color: var(--kn-pink);
}



/* =====================================================
   通常ナビ アイコン
===================================================== */

.kn-nav-icon {
  width: 25px;
  height: 25px;

  flex: 0 0 25px;

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


.kn-nav-icon svg {
  width: 25px;
  height: 25px;

  fill: none;

  stroke: currentColor;

  stroke-width: 1.7;

  stroke-linecap: round;

  stroke-linejoin: round;
}


.kn-nav-icon.pink {
  color: var(--kn-pink);
}


.kn-nav-icon.green {
  color: var(--kn-green);
}


.kn-nav-icon.blue {
  color: var(--kn-blue);
}


.kn-nav-icon.orange {
  color: var(--kn-orange);
}


.kn-nav-icon.sky {
  color: #5eb7ec;
}


.kn-nav-icon.yellow {
  color: var(--kn-yellow);
}


/* =====================================================
   コンパクト追従ヘッダー
===================================================== */

.kn-compact-header {
  position: fixed;

  top: 0;
  left: 0;

  z-index: 999999;

  width: 100%;

  background:
    rgba(255, 255, 255, .97);

  border-bottom:
    1px solid #eeeeee;

  box-shadow:
    0 4px 18px
    rgba(0, 0, 0, .07);

  backdrop-filter:
    blur(12px);

  -webkit-backdrop-filter:
    blur(12px);

  transform:
    translateY(-120%);

  opacity: 0;

  visibility: hidden;

  pointer-events: none;

  transition:
    transform .25s ease,
    opacity .25s ease,
    visibility .25s ease;
}


/* 表示時 */

.kn-compact-header.is-visible {
  transform:
    translateY(0);

  opacity: 1;

  visibility: visible;

  pointer-events: auto;
}


/* WordPress管理バー */

.admin-bar
.kn-compact-header {
  top: 32px;
}


/* =====================================================
   コンパクトヘッダー 内側
===================================================== */

.kn-compact-inner {
  width: min(
    1280px,
    calc(100% - 40px)
  );

  height: 56px;

  margin: 0 auto;

  display: flex;
  align-items: center;

  gap: 28px;
}


/* =====================================================
   コンパクトロゴ
===================================================== */

.kn-compact-logo {
  position: relative;

  flex: 0 0 auto;

  color:
    #171717 !important;

  text-decoration:
    none !important;

  font-size: 22px;

  line-height: 1;

  font-weight: 900;

  letter-spacing: -.03em;

  white-space: nowrap;
}


.kn-compact-logo::after {
  content: "";

  position: absolute;

  top: -7px;
  right: -14px;

  width: 10px;
  height: 10px;

  border-top:
    3px solid var(--kn-pink);

  border-right:
    3px solid var(--kn-pink);

  transform:
    rotate(20deg);
}


/* =====================================================
   コンパクトナビ
===================================================== */

.kn-compact-nav {
  flex: 1;

  height: 100%;

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


.kn-compact-nav a {
  height: 100%;

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

  padding:
    0 15px;

  color:
    #171717 !important;

  text-decoration:
    none !important;

  font-size: 12px;

  font-weight: 700;

  white-space: nowrap;

  transition:
    color .2s ease,
    background .2s ease;
}


.kn-compact-nav a:hover {
  color:
    var(--kn-pink) !important;

  background:
    #fff7fa;
}


/* =====================================================
   情報提供ボタン
===================================================== */

.kn-compact-nav
.kn-compact-tip {
  height: 36px;

  margin-left: 10px;

  padding:
    0 18px;

  border-radius: 999px;

  color:
    #fff !important;

  background:
    var(--kn-pink);

  box-shadow:
    0 4px 12px
    rgba(255, 89, 147, .20);
}


.kn-compact-nav
.kn-compact-tip:hover {
  color:
    #fff !important;

  background:
    #f34481;
}


/* =====================================================
   ハンバーガーボタン
===================================================== */

.kn-compact-menu {
  display: none;

  width: 40px;
  height: 40px;

  flex: 0 0 40px;

  margin-left: auto;

  padding: 10px;

  border: 0;

  border-radius: 9px;

  background:
    #fff1f6;

  cursor: pointer;
}


.kn-compact-menu span {
  display: block;

  width: 100%;
  height: 2px;

  margin: 4px 0;

  border-radius: 2px;

  background:
    var(--kn-pink);

  transition:
    transform .2s ease,
    opacity .2s ease;
}


/* 開いた時の× */

.kn-compact-header.menu-open
.kn-compact-menu span:nth-child(1) {
  transform:
    translateY(6px)
    rotate(45deg);
}


.kn-compact-header.menu-open
.kn-compact-menu span:nth-child(2) {
  opacity: 0;
}


.kn-compact-header.menu-open
.kn-compact-menu span:nth-child(3) {
  transform:
    translateY(-6px)
    rotate(-45deg);
}


/* =====================================================
   カスナビ 情報提供ページ
===================================================== */

.kn-info-page {
  --kn-pink: #ff5993;
  --kn-orange: #ff9c43;
  --kn-green: #55bd98;
  --kn-blue: #62c4ee;
  --kn-text: #171717;


  color:
    var(--kn-text);

  background:
    radial-gradient(
      circle at 5% 5%,
      rgba(255,89,147,.08),
      transparent 18%
    ),
    radial-gradient(
      circle at 95% 8%,
      rgba(255,216,77,.12),
      transparent 18%
    ),
    #fff;
}


.kn-info-page,
.kn-info-page * {
  box-sizing: border-box;

  font-family: inherit;
}


/* =====================================================
   情報提供 見出し
===================================================== */

.kn-info-heading {
  margin-bottom: 45px;

  text-align: center;
}


.kn-info-label {
  display: inline-block;

  margin-bottom: 10px;

  color:
    var(--kn-pink);

  font-size: 11px;

  font-weight: 800;

  letter-spacing: .18em;
}


.kn-info-heading h1 {
  margin: 0;

  font-size:
    clamp(
      30px,
      4vw,
      44px
    );

  line-height: 1.4;

  font-weight: 900;
}


.kn-info-heading p {
  margin:
    18px 0 0;

  color: #555;

  font-size: 14px;

  line-height: 2;
}


/* =====================================================
   情報提供 BOX
===================================================== */

.kn-info-box {


  box-shadow:
    0 15px 45px
    rgba(0,0,0,.06);
}


/* =====================================================
   情報提供 INTRO
===================================================== */

.kn-info-intro {
  margin-bottom: 45px;

  padding-bottom: 35px;

  border-bottom:
    1px dashed #ddd;

  text-align: center;
}


.kn-info-intro h2 {
  margin:
    0 0 20px;

  font-size: 21px;

  font-weight: 900;
}


.kn-info-examples {
  display: flex;

  flex-wrap: wrap;

  justify-content: center;

  gap: 9px;

  margin-bottom: 20px;
}


.kn-info-examples span {
  display: inline-flex;

  align-items: center;

  min-height: 34px;

  padding:
    5px 13px;

  border-radius: 999px;

  color: #444;

  background:
    #fff3f7;

  font-size: 12px;

  font-weight: 700;
}


.kn-info-intro p {
  margin: 0;

  color: #666;

  font-size: 13px;

  line-height: 1.9;
}


/* =====================================================
   FORM
===================================================== */

.kn-form-group {
  margin-bottom: 32px;
}


.kn-form-label {
  display: block;

  margin-bottom: 10px;

  font-size: 14px;

  font-weight: 800;
}


.kn-required,
.kn-optional {
  display: inline-block;

  margin-left: 6px;

  padding:
    2px 7px;

  border-radius: 5px;

  font-size: 10px;

  line-height: 1.5;

  vertical-align: 2px;
}


.kn-optional {
  color: #777;

  background: #eee;
}


/* =====================================================
   フォーム入力
===================================================== */

.kn-info-form
input[type="text"],

.kn-info-form
input[type="email"],

.kn-info-form
input[type="url"],

.kn-info-form select,

.kn-info-form textarea {

  width: 100%;

  padding:
    14px 16px;

  border:
    1px solid #ddd;

  border-radius: 10px;

  outline: none;

  color: #222;

  background: #fff;

  font-size: 14px;

  transition:
    border-color .2s,
    box-shadow .2s;
}


.kn-info-form textarea {
  resize: vertical;

  min-height: 180px;

  line-height: 1.8;
}


.kn-info-form input:focus,
.kn-info-form select:focus,
.kn-info-form textarea:focus {
  border-color:
    var(--kn-pink);

  box-shadow:
    0 0 0 3px
    rgba(255,89,147,.10);
}


.kn-info-form input::placeholder,
.kn-info-form textarea::placeholder {
  color: #aaa;
}


.kn-form-note {
  margin:
    8px 0 0;

  color: #888;

  font-size: 11px;

  line-height: 1.7;
}


/* =====================================================
   RADIO
===================================================== */

.kn-radio-grid {
  display: grid;

  grid-template-columns:
    repeat(3,1fr);

  gap: 10px;
}


.kn-radio-grid label {
  position: relative;

  cursor: pointer;
}


.kn-radio-grid input {
  position: absolute;

  opacity: 0;

  pointer-events: none;
}


.kn-radio-grid span {
  min-height: 48px;

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

  padding: 8px;

  border:
    1px solid #ddd;

  border-radius: 10px;

  background: #fff;

  font-size: 12px;

  font-weight: 700;

  transition: .2s;
}


.kn-radio-grid
input:checked + span {
  color:
    var(--kn-pink);

  border-color:
    var(--kn-pink);

  background:
    #fff3f7;

  box-shadow:
    0 0 0 2px
    rgba(255,89,147,.08);
}


/* =====================================================
   NOTICE
===================================================== */

.kn-info-notice {
  margin:
    35px 0 22px;

  padding:
    20px 22px;

  border-radius: 12px;

  background:
    #fff9ea;
}


.kn-info-notice p {
  margin: 0;

  color: #555;

  font-size: 12px;

  line-height: 1.9;
}


.kn-info-notice
p + p {
  margin-top: 7px;
}


.kn-info-notice strong {
  color: #333;
}


/* =====================================================
   AGREEMENT
===================================================== */

.kn-agree {
  display: flex;

  align-items: flex-start;

  gap: 10px;

  cursor: pointer;

  font-size: 12px;

  line-height: 1.8;
}


.kn-agree input {
  margin-top: 4px;

  accent-color:
    var(--kn-pink);
}


/* =====================================================
   SUBMIT
===================================================== */

.kn-submit-area {
  margin-top: 35px;

  text-align: center;
}


.kn-submit-button {
  width:
    min(360px,100%);

  min-height: 58px;

  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 16px;

  padding:
    14px 25px;

  border: 0;

  border-radius: 999px;

  color: #fff;

  background:
    linear-gradient(
      135deg,
      #ff6b9f,
      #f64583
    );

  box-shadow:
    0 10px 25px
    rgba(246,69,131,.22);

  font-size: 15px;

  font-weight: 800;

  cursor: pointer;

  transition:
    transform .2s,
    box-shadow .2s;
}


.kn-submit-button:hover {
  transform:
    translateY(-2px);

  box-shadow:
    0 14px 30px
    rgba(246,69,131,.28);
}


.kn-submit-button span {
  font-size: 19px;
}


/* =====================================================
   SUCCESS / ERROR
===================================================== */

.kn-info-message {
  margin-bottom: 25px;

  padding:
    22px 25px;

  border-radius: 14px;

  text-align: center;
}


.kn-info-message strong {
  display: block;

  margin-bottom: 7px;

  font-size: 17px;
}


.kn-info-message p {
  margin: 0;

  font-size: 12px;

  line-height: 1.8;
}


.kn-info-success {
  color: #367c54;

  background:
    #eef9f2;
}


.kn-info-error {
  color: #a74747;

  background:
    #fff0f0;
}


/* =====================================================
   HONEYPOT
===================================================== */

.kn-hp-field {
  position:
    absolute !important;

  left:
    -9999px !important;

  width:
    1px !important;

  height:
    1px !important;

  overflow:
    hidden !important;
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1000px) {

  .kn-header-top {
    min-height: auto;

    padding:
      25px 0;
  }


  .kn-header-links {
    display: none;
  }


  .kn-header-right {
    width: 45%;
  }


  .kn-nav-list {
    grid-template-columns:
      repeat(3, 1fr);
  }


  .kn-nav-list a {
    min-height: 58px;
  }


  .kn-compact-inner {
    width:
      calc(100% - 30px);

    gap: 15px;
  }


  .kn-compact-nav a {
    padding:
      0 10px;

    font-size: 11px;
  }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 800px) {

  /* -------------------------
     スマホはコンパクトヘッダーを最初から表示
  ------------------------- */

  .kn-container {
    width:
      min(
        100% - 30px,
        1230px
      );
  }


  /* PC用の通常ヘッダーはスマホでは表示しない */
  .kasuya-global-header {
    display: none !important;
  }


  /*
   * スマホ初期表示：通常レイアウト内に置く。
   * この時点では fixed にしないので本文に重ならない。
   */
  body {
    padding-top: 0 !important;
  }


  .kn-compact-header {
    position: relative !important;
    top: auto !important;
    left: auto !important;

    width: 100% !important;

    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }


  /* スクロール後だけ固定追従 */
  .kn-compact-header.is-mobile-fixed {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;

    width: 100% !important;
  }


  /* fixed切替時に元の54pxを確保してレイアウトのガタつきを防ぐ */
  body.kn-mobile-header-fixed {
    padding-top: 54px !important;
  }


  .admin-bar
  .kn-compact-header.is-mobile-fixed {
    top: 46px !important;
  }


  .kn-compact-inner {
    width:
      calc(100% - 24px);

    height: 54px;
  }


  .kn-compact-logo {
    font-size: 20px;
  }


  .kn-compact-menu {
    display: block;
  }


  .kn-compact-nav {
    position: absolute;

    top: 54px;
    left: 0;

    width: 100%;
    height: auto;

    display: none;

    grid-template-columns:
      repeat(2, 1fr);

    gap: 6px;

    padding: 10px;

    background: #fff;

    border-top:
      1px solid #eee;

    border-bottom:
      1px solid #eee;

    box-shadow:
      0 12px 25px
      rgba(0,0,0,.08);
  }


  .kn-compact-header.menu-open
  .kn-compact-nav {
    display: grid;
  }


  .kn-compact-nav a {
    height: 48px;

    padding: 5px;

    border-radius: 8px;

    font-size: 13px;
  }


  .kn-compact-nav
  .kn-compact-tip {
    height: 48px;

    margin: 0;

    border-radius: 8px;
  }


  /* -------------------------
     情報提供
  ------------------------- */

  .kn-info-page {
    padding:
      45px 15px 70px;
  }


  .kn-info-heading {
    margin-bottom: 30px;
  }


  .kn-info-heading h1 {
    font-size: 30px;
  }


  .kn-info-heading p {
    font-size: 12px;
  }


  .kn-info-heading br {
    display: none;
  }


  .kn-info-box {
    padding:
      30px 20px;

    border-radius: 18px;
  }


  .kn-info-intro {
    margin-bottom: 35px;
  }


  .kn-info-intro h2 {
    font-size: 18px;
  }


  .kn-radio-grid {
    grid-template-columns:
      repeat(2,1fr);
  }


  .kn-form-group {
    margin-bottom: 26px;
  }

}


/* =====================================================
   WordPress管理バー：小さい端末
===================================================== */

@media (max-width: 600px) {

  .admin-bar
  .kn-compact-header.is-mobile-fixed {
    top: 46px !important;
  }

}

/* =====================================================
   XWRITE 標準フッターを非表示
===================================================== */

/* XWRITE標準フッターだけを消す */
body > footer.footer,
body > #footer,
footer.footer:not(.kn-footer),
.footer:not(.kn-footer) {
  display: none !important;
}


/* =====================================================
   カスナビ専用フッター
===================================================== */

footer.kn-footer {
  display: block !important;
  width: 100% !important;
  margin: 70px 0 0 !important;
  padding: 0 !important;

  color: #333 !important;

  background:
    linear-gradient(
      180deg,
      #fff8fb 0%,
      #fffdf8 100%
    ) !important;

  border-top: 1px solid #f1e7eb !important;
}

footer.kn-footer,
footer.kn-footer * {
  box-sizing: border-box;
  font-family: inherit;
}


/* =====================================================
   FOOTER INNER
===================================================== */

footer.kn-footer .kn-footer-inner {
  width: min(1180px, calc(100% - 40px)) !important;
  margin: 0 auto !important;
  padding: 48px 0 20px !important;
}


/* =====================================================
   FOOTER TOP
===================================================== */

footer.kn-footer .kn-footer-top {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;

  gap: 50px !important;

  padding-bottom: 32px !important;

  border-bottom: 1px dashed #e5dde1 !important;
}


/* =====================================================
   FOOTER BRAND
===================================================== */

footer.kn-footer .kn-footer-brand {
  flex: 1 1 auto !important;
  min-width: 0 !important;
}

footer.kn-footer .kn-footer-logo {
  display: inline-flex !important;
  flex-direction: column !important;

  color: #171717 !important;
  text-decoration: none !important;
}

footer.kn-footer .kn-footer-logo-main {
  position: relative !important;

  font-size: 30px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  letter-spacing: -.03em !important;
}

footer.kn-footer .kn-footer-logo-main::after {
  content: "";

  position: absolute;

  top: -7px;
  right: -17px;

  width: 11px;
  height: 11px;

  border-top: 3px solid var(--kn-pink);
  border-right: 3px solid var(--kn-pink);

  transform: rotate(20deg);
}

footer.kn-footer .kn-footer-logo-sub {
  margin-top: 8px !important;

  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: .14em !important;

  text-align: center !important;
}

footer.kn-footer .kn-footer-copy {
  margin: 17px 0 0 !important;

  color: #666 !important;

  font-size: 13px !important;
  line-height: 1.8 !important;
}


/* =====================================================
   FOOTER IMPORTANT LINKS
===================================================== */

footer.kn-footer .kn-footer-links {
  display: grid !important;
  grid-template-columns: repeat(3, auto) !important;

  gap: 8px !important;
}

footer.kn-footer .kn-footer-links a {
  min-height: 46px !important;

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

  gap: 6px !important;

  padding: 8px 13px !important;

  border: 1px solid #eee !important;
  border-radius: 11px !important;

  color: #333 !important;
  background: #fff !important;

  text-decoration: none !important;

  font-size: 13px !important;
  font-weight: 800 !important;

  transition:
    color .2s ease,
    border-color .2s ease,
    background .2s ease,
    transform .2s ease;
}

footer.kn-footer .kn-footer-links a:hover {
  color: var(--kn-pink) !important;

  border-color: #ffd3e2 !important;

  background: #fff7fa !important;

  transform: translateY(-1px);
}

footer.kn-footer .kn-footer-link-icon {
  font-size: 15px !important;
}

footer.kn-footer .kn-footer-links .kn-footer-tip {
  color: #fff !important;

  border-color: var(--kn-pink) !important;

  background:
    linear-gradient(
      135deg,
      #ff6b9f,
      #f34481
    ) !important;

  box-shadow:
    0 7px 18px rgba(255, 89, 147, .18) !important;
}

footer.kn-footer .kn-footer-links .kn-footer-tip:hover {
  color: #fff !important;

  border-color: #f34481 !important;

  background:
    linear-gradient(
      135deg,
      #ff5e96,
      #ee397b
    ) !important;
}


/* =====================================================
   FOOTER CATEGORY NAV
===================================================== */

footer.kn-footer .kn-footer-nav {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;

  gap: 8px 0 !important;

  padding: 26px 0 !important;
}

footer.kn-footer .kn-footer-nav a {
  position: relative !important;

  padding: 6px 18px !important;

  color: #555 !important;

  text-decoration: none !important;

  font-size: 13px !important;
  font-weight: 700 !important;

  transition: color .2s ease;
}

footer.kn-footer .kn-footer-nav a:hover {
  color: var(--kn-pink) !important;
}

footer.kn-footer .kn-footer-nav a + a::before {
  content: "";

  position: absolute;

  left: 0;
  top: 50%;

  width: 1px;
  height: 13px;

  background: #ddd;

  transform: translateY(-50%);
}


/* =====================================================
   FOOTER COPYRIGHT
===================================================== */

footer.kn-footer .kn-footer-bottom {
  padding-top: 17px !important;

  border-top: 1px solid #eee !important;

  text-align: center !important;
}

footer.kn-footer .kn-footer-bottom p {
  margin: 0 !important;

  color: #999 !important;

  font-size: 10px !important;
  letter-spacing: .06em !important;
}


/* =====================================================
   FOOTER TABLET
===================================================== */

@media (max-width: 900px) {

  footer.kn-footer .kn-footer-top {
    display: block !important;
  }

  footer.kn-footer .kn-footer-brand {
    text-align: center !important;
  }

  footer.kn-footer .kn-footer-copy {
    text-align: center !important;
  }

  footer.kn-footer .kn-footer-links {
    margin-top: 26px !important;

    grid-template-columns: repeat(3, 1fr) !important;
  }

}


/* =====================================================
   FOOTER MOBILE
===================================================== */

@media (max-width: 600px) {

  footer.kn-footer {
    margin-top: 50px !important;
  }

  footer.kn-footer .kn-footer-inner {
    width: calc(100% - 28px) !important;

    padding: 35px 0 16px !important;
  }

  footer.kn-footer .kn-footer-logo-main {
    font-size: 27px !important;
  }

  footer.kn-footer .kn-footer-copy {
    font-size: 13px !important;
    line-height: 1.8 !important;
  }

  footer.kn-footer .kn-footer-links {
    margin-top: 26px !important;

    grid-template-columns: repeat(2, 1fr) !important;

    gap: 7px !important;
  }

  footer.kn-footer .kn-footer-links a {
    min-height: 50px !important;

    padding: 9px 7px !important;

    font-size: 13px !important;
  }

  footer.kn-footer .kn-footer-links .kn-footer-tip {
    grid-column: 1 / -1 !important;

    min-height: 50px !important;

    font-size: 13px !important;
  }

  footer.kn-footer .kn-footer-nav {
    display: grid !important;

    grid-template-columns: repeat(2, 1fr) !important;

    gap: 0 !important;

    padding: 22px 0 !important;
  }

  footer.kn-footer .kn-footer-nav a {
    min-height: 44px !important;

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

    padding: 7px 5px !important;

    font-size: 14px !important;
    font-weight: 800 !important;
  }

  footer.kn-footer .kn-footer-nav a + a::before {
    display: none !important;
  }

  footer.kn-footer .kn-footer-bottom {
    padding-top: 15px !important;
  }

  footer.kn-footer .kn-footer-bottom p {
    font-size: 11px !important;
  }

}

/* =====================================================
   TOPページ フッター上の余白を削除
===================================================== */

body.home .contents,
body.home .contents > .container,
body.home main,
body.home #main,
body.home article,
body.home .post,
body.home .page,
body.home .entry-content,
body.home .post_content {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* カスナビTOP本体 */
body.home .kasu-navi,
body.home .kasuya-navi-top {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* TOPページだけフッターを直結 */
body.home footer.kn-footer {
  margin-top: 0 !important;
}

/* ==========================================================
   カスナビ 新着記事スライダー
   shortcode: [kasuya_latest_slider]
========================================================== */

.kn-latest-slider {
  --knls-pink: #ff5993;
  --knls-pink-light: #fff1f6;

  --knls-green: #55bd98;
  --knls-blue: #62c4ee;

  --knls-text: #171717;

  width: 100%;

  padding: 20px 0 70px;

  overflow: hidden;

  background:
    linear-gradient(
      180deg,
      #fff 0%,
      #fffafb 100%
    );
}


.kn-latest-slider,
.kn-latest-slider * {
  box-sizing: border-box;
  font-family: inherit;
}


.kn-latest-slider-inner {
  width: min(
    1230px,
    calc(100% - 40px)
  );

  margin: 0 auto;
}


/* ==========================================================
   HEADING
========================================================== */

.kn-latest-slider-head {
  display: flex;

  align-items: flex-end;
  justify-content: space-between;

  gap: 30px;

  margin-bottom: 28px;
}


.kn-latest-slider-en {
  display: inline-block;

  margin-bottom: 7px;

  color: var(--knls-pink);

  
  font-weight: 900;

  letter-spacing: .17em;
}


.kn-latest-slider-heading h2 {
  position: relative;

  margin: 0 !important;

  padding: 0 0 11px !important;

  border: 0 !important;

  color: var(--knls-text) !important;

  background: transparent !important;

  font-size: 30px !important;
  line-height: 1.35 !important;

  font-weight: 900 !important;
}


.kn-latest-slider-heading h2::before {
  display: none !important;
}


.kn-latest-slider-heading h2::after {
  content: "" !important;

  position: absolute;

  left: 0;
  bottom: 0;

  display: block !important;

  width: 38px !important;
  height: 4px !important;

  margin: 0 !important;

  border-radius: 999px;

  background: var(--knls-pink) !important;
}


.kn-latest-slider-heading p {
  margin: 12px 0 0 !important;

  color: #777;

  
}


/* ==========================================================
   CONTROLS
========================================================== */

.kn-latest-slider-controls {
  display: flex;

  gap: 8px;
}


.kn-latest-prev,
.kn-latest-next {
  width: 45px;
  height: 45px;

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

  padding: 0;

  border:
    1px solid #eee;

  border-radius: 50%;

  color: #444;

  background: #fff;

  box-shadow:
    0 5px 15px
    rgba(0,0,0,.05);

  font-family: inherit;
  font-size: 17px;
  font-weight: 800;

  cursor: pointer;

  transition:
    color .2s ease,
    background .2s ease,
    border-color .2s ease,
    transform .2s ease;
}


.kn-latest-prev:hover,
.kn-latest-next:hover {
  color: #fff;

  border-color:
    var(--knls-pink);

  background:
    var(--knls-pink);

  transform: translateY(-2px);
}


/* ==========================================================
   SLIDER
========================================================== */

.kn-latest-slider-viewport {
  width: 100%;

  overflow-x: auto;
  overflow-y: hidden;

  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;

  scrollbar-width: none;

  -webkit-overflow-scrolling:
    touch;
}


.kn-latest-slider-viewport::-webkit-scrollbar {
  display: none;
}


.kn-latest-slider-track {
  display: flex;

  gap: 20px;

  width: max-content;

  padding:
    3px 2px 18px;
}


/* ==========================================================
   CARD
========================================================== */

.kn-latest-card {
  flex:
    0 0
    calc(
      (1230px - 60px) / 4
    );

  width:
    calc(
      (1230px - 60px) / 4
    );

  overflow: hidden;

  scroll-snap-align: start;

  border:
    1px solid #eee;

  border-radius: 20px;

  background: #fff;

  box-shadow:
    0 8px 25px
    rgba(0,0,0,.045);

  transition:
    transform .25s ease,
    box-shadow .25s ease;
}


.kn-latest-card:hover {
  transform:
    translateY(-5px);

  box-shadow:
    0 15px 35px
    rgba(0,0,0,.08);
}


.kn-latest-card-link {
  display: block;

  height: 100%;

  color: inherit !important;

  text-decoration: none !important;
}


/* ==========================================================
   IMAGE
========================================================== */

.kn-latest-media {
  position: relative;

  overflow: hidden;

  aspect-ratio:
    16 / 10;

  background: #f4f4f4;
}


.kn-latest-image {
  display: block;

  width: 100% !important;
  height: 100% !important;

  margin: 0 !important;

  object-fit: cover;

  transition:
    transform .4s ease;
}


.kn-latest-card:hover
.kn-latest-image {
  transform:
    scale(1.04);
}


.kn-latest-noimage {
  width: 100%;
  height: 100%;

  display: flex;

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

  background:
    linear-gradient(
      135deg,
      #eefaf5,
      #fff0f5
    );

  color:
    var(--knls-pink);

  font-size: 20px;
  font-weight: 900;
}


/* ==========================================================
   投稿タイプ
========================================================== */

.kn-latest-type {
  position: absolute;

  top: 12px;
  left: 12px;

  min-height: 27px;

  display: inline-flex;
  align-items: center;

  padding: 5px 11px;

  border-radius: 999px;

  color: #fff;
  background: #777;

  font-size: 11px;  /* 9px → 11px */
  font-weight: 900;
  line-height: 1;
}


/* ブログ */
.kn-latest-type-blog {
  color: #fff;
  background: #62c4ee;
}


/* イベント */
.kn-latest-type-event {
  color: #fff;
  background: #ff5993;
}


/* おでかけ */
.kn-latest-type-odekake {
  color: #fff;
  background: #55bd98;
}


/* グルメ */
.kn-latest-type-gourmet {
  color: #fff;
  background: #ff8a45;
}


/* 公共施設 */
.kn-latest-type-public {
  color: #fff;
  background: #5eb7ec;
}


/* 生活・暮らし */
.kn-latest-type-life {
  color: #594500;
  background: #ffd34e;
}


/* ==========================================================
   CONTENT
========================================================== */

.kn-latest-content {
  padding:
    18px 18px 20px;
}


.kn-latest-meta {
  min-height: 27px;

  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 10px;

  margin-bottom: 10px;
}


.kn-latest-meta time {
  margin-left: auto;

  color: #aaa;

  
}


.kn-latest-area {
  display: inline-flex;

  align-items: center;

  min-height: 25px;

  padding:
    4px 9px;

  border-radius: 999px;

  color:
    var(--knls-pink);

  background:
    var(--knls-pink-light);

  
  font-weight: 900;
}


/* ==========================================================
   TITLE
========================================================== */

.kn-latest-title {
  display: -webkit-box;

  overflow: hidden;

  min-height: 3.1em;

  margin: 0 !important;
  padding: 0 !important;

  border: 0 !important;

  color:
    var(--knls-text) !important;

  background:
    transparent !important;

  font-size:
    16px !important;

  line-height:
    1.55 !important;

  font-weight:
    900 !important;

  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}


.kn-latest-title::before,
.kn-latest-title::after {
  display: none !important;
  content: none !important;
}


/* ==========================================================
   MORE
========================================================== */

.kn-latest-more {
  

  
  justify-content: flex-end;

  

  margin-top: 15px;


}


.kn-latest-more span {
  font-size: 15px;

  transition:
    transform .2s ease;
}


.kn-latest-card:hover
.kn-latest-more span {
  transform:
    translateX(4px);
}


/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 1000px) {

  .kn-latest-card {
    flex:
      0 0
      calc(
        (100vw - 90px) / 2.4
      );

    width:
      calc(
        (100vw - 90px) / 2.4
      );
  }

}


/* ==========================================================
   MOBILE
   新着記事スライダー
========================================================== */

@media (max-width: 600px) {

  .kn-latest-slider {
    padding: 28px 0 50px;
  }


  .kn-latest-slider-inner {
    width: calc(100% - 28px);
  }


  /* =========================
     HEADING
  ========================= */

  .kn-latest-slider-head {
    align-items: flex-end;

    gap: 12px;

    margin-bottom: 22px;
  }


  .kn-latest-slider-en {
    margin-bottom: 6px;

    font-size: 12px;

    line-height: 1.4;

    letter-spacing: .15em;
  }


  .kn-latest-slider-heading h2 {
    font-size: 28px !important;

    line-height: 1.35 !important;
  }


  .kn-latest-slider-heading p {
    margin-top: 11px !important;

    font-size: 15px;

    line-height: 1.7;
  }


  /* =========================
     ARROW
  ========================= */

  .kn-latest-slider-controls {
    gap: 6px;
  }


  .kn-latest-prev,
  .kn-latest-next {
    width: 40px;
    height: 40px;

    flex-shrink: 0;

    font-size: 17px;
  }


  /* =========================
     SLIDER
  ========================= */

  .kn-latest-slider-viewport {
    overflow-x: auto;

    scroll-snap-type: x mandatory;

    -webkit-overflow-scrolling: touch;
  }


  .kn-latest-slider-track {
    gap: 12px;

    padding: 3px 2px 15px;
  }


  /*
   * 約1.5枚見えるサイズ
   *
   * 62vw程度にすると
   * 1枚 + 次の記事が約半分見えます
   */
  .kn-latest-card {
    flex: 0 0 62vw;

    width: 62vw;

    max-width: none;

    border-radius: 18px;

    scroll-snap-align: start;
  }


  /* =========================
     IMAGE
  ========================= */

  .kn-latest-media {
    aspect-ratio: 16 / 10;
  }


  .kn-latest-type {
    top: 10px;
    left: 10px;

    min-height: 29px;

    padding: 5px 10px;

    font-size: 12px;

    line-height: 1;
  }


  /* =========================
     CONTENT
  ========================= */

  .kn-latest-content {
    padding: 15px 15px 18px;
  }


  .kn-latest-meta {
    min-height: 28px;

    gap: 7px;

    margin-bottom: 10px;
  }


  .kn-latest-area {
    min-height: 27px;

    padding: 4px 9px;

    font-size: 12px;

    line-height: 1;
  }


  .kn-latest-meta time {
    font-size: 12px;

    line-height: 1.4;
  }


  /* =========================
     TITLE
  ========================= */

  .kn-latest-title {
    min-height: auto;

    font-size: 17px !important;

    line-height: 1.55 !important;

    -webkit-line-clamp: 2;
  }


  /* =========================
     READ MORE
  ========================= */

  .kn-latest-more {
    gap: 6px;

    margin-top: 14px;

    font-size: 14px;

    line-height: 1.4;
  }


  .kn-latest-more span {
    font-size: 18px;
  }

}

/* =====================================================
   カスナビ 著者プロフィール 完成版
   名前・プロフィール文：WordPress標準
   画像：ACF author_icon
===================================================== */

.kn-author-card {
  margin-top: 55px;
  padding: 32px;
  border: 1px solid #f0e7eb;
  border-radius: 24px;
  background: linear-gradient(135deg, #fff 0%, #fff8fb 100%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .04);
}

.kn-author-label {
  margin-bottom: 6px;
  color: #ff5993;
  font-size: 11px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: .16em;
}

.kn-author-heading {
  margin: 0 0 26px !important;
  padding: 0 !important;
  border: 0 !important;
  color: #171717 !important;
  background: transparent !important;
  font-size: 22px !important;
  line-height: 1.4 !important;
  font-weight: 900 !important;
}

.kn-author-heading::before,
.kn-author-heading::after {
  display: none !important;
  content: none !important;
}

.kn-author-inner {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  align-items: center;
  gap: 32px;
}

.kn-author-profile {
  text-align: center;
}

.kn-author-image {
  width: 108px;
  height: 108px;
  margin: 0 auto 13px;
  overflow: hidden;
  border: 4px solid #fff;
  border-radius: 50%;
  background: #fff1f6;
  box-shadow: 0 7px 20px rgba(255, 89, 147, .15);
}

.kn-author-photo {
  display: block;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  border-radius: 50%;
  object-fit: cover;
}

.kn-author-name {
  color: #171717;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 900;
}

.kn-author-role {
  display: inline-block;
  margin-top: 5px;
  color: #ff5993;
  font-size: 11px;
  font-weight: 800;
}

.kn-author-text {
  color: #555;
  font-size: 15px;
  line-height: 1.9;
}

.kn-author-text p {
  margin: 0 0 12px !important;
}

.kn-author-text p:last-of-type {
  margin-bottom: 17px !important;
}

.kn-author-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ff5993 !important;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none !important;
}

.kn-author-more span {
  font-size: 17px;
  transition: transform .2s ease;
}

.kn-author-more:hover span {
  transform: translateX(4px);
}

@media (max-width: 600px) {

  .kn-author-card {
    margin-top: 42px;
    padding: 25px 20px;
    border-radius: 20px;
  }

  .kn-author-label {
    font-size: 11px;
  }

  .kn-author-heading {
    margin-bottom: 24px !important;
    font-size: 21px !important;
  }

  .kn-author-inner {
    display: block;
  }

  .kn-author-profile {
    margin-bottom: 23px;
  }

  .kn-author-image {
    width: 100px;
    height: 100px;
    margin-bottom: 12px;
  }

  .kn-author-name {
    font-size: 18px;
  }

  .kn-author-role {
    font-size: 13px;
  }

  .kn-author-text {
    font-size: 15px;
    line-height: 1.9;
  }

  .kn-author-more {
    font-size: 15px;
  }
}

/* =====================================================
   KASUYA NAVI
   BLOG CATEGORY
   FINAL
===================================================== */

.knblog-page{

    --knblog-pink:#ff5993;
    --knblog-pink-light:#fff2f7;

    --knblog-blue:#62c4ee;
    --knblog-blue-light:#eff9fd;

    --knblog-text:#171717;
    --knblog-gray:#666;
    --knblog-border:#ebe8ea;

    padding:28px 0 80px;

    color:var(--knblog-text);

    background:
        linear-gradient(
            180deg,
            #fff 0%,
            #fffdfc 100%
        );
}


.knblog-page *,
.knblog-page *::before,
.knblog-page *::after{

    box-sizing:border-box;

}


.knblog-container{

    width:min(
        1120px,
        calc(100% - 40px)
    );

    margin:0 auto;

}


/* =====================================================
   HERO
===================================================== */

.knblog-hero{

    position:relative;

    display:grid;

    grid-template-columns:
        240px minmax(0,1fr);

    grid-template-rows:
        auto auto;

    align-items:center;

    column-gap:38px;
    row-gap:3px;

    min-height:155px;

    overflow:hidden;

    padding:28px 38px;

    border:
        1px solid #f0e9ed;

    border-radius:24px;

    text-align:left;

    background:
        radial-gradient(
            circle at 10% 15%,
            rgba(255,89,147,.10),
            transparent 25%
        ),
        radial-gradient(
            circle at 90% 20%,
            rgba(98,196,238,.13),
            transparent 25%
        ),
        #fff;

    box-shadow:
        0 8px 28px
        rgba(0,0,0,.03);

}


/* 左上ピンク */

.knblog-hero::before{

    content:"";

    position:absolute;

    top:-57px;
    left:-48px;

    width:120px;
    height:120px;

    border-radius:50%;

    background:
        radial-gradient(
            circle,
            #fff 2px,
            transparent 3px
        ),
        #f49bc0;

    background-size:
        17px 17px;

}


/* 右下ブルー */

.knblog-hero::after{

    content:"";

    position:absolute;

    right:-52px;
    bottom:-65px;

    width:120px;
    height:120px;

    border-radius:50%;

    background:
        radial-gradient(
            circle,
            #fff 2px,
            transparent 3px
        ),
        #8fdaf7;

    background-size:
        17px 17px;

}


/* BLOG */

.knblog-hero-en{

    position:relative;

    z-index:2;

    grid-column:1;
    grid-row:1;

    align-self:end;

    display:block;

    margin:0 0 4px;

    color:
        var(--knblog-blue);

    font-size:11px;

    line-height:1.2;

    font-weight:900;

    letter-spacing:.18em;

}


/* ブログ */

.knblog-hero-title{

    position:relative;

    z-index:2;

    grid-column:1;
    grid-row:2;

    align-self:start;

    margin:0 !important;

    padding:0 !important;

    border:0 !important;

    color:
        var(--knblog-text) !important;

    background:
        transparent !important;

    font-size:36px !important;

    line-height:1.25 !important;

    font-weight:900 !important;

}


.knblog-hero-title::before,
.knblog-hero-title::after{

    display:none !important;

    content:none !important;

}


/* 説明 */

.knblog-hero-text{

    position:relative;

    z-index:2;

    grid-column:2;
    grid-row:1 / 3;

    align-self:center;

    max-width:none;

    margin:0 !important;

    padding-left:30px;

    border-left:
        1px solid #eadfe4;

    color:#555;

    font-size:14px;

    line-height:1.9;

}


/* =====================================================
   LIST HEADING
===================================================== */

.knblog-list-heading{

    margin:
        34px 0 18px;

}


.knblog-list-en{

    display:block;

    margin-bottom:7px;

    color:
        var(--knblog-pink);

    font-size:11px;

    line-height:1;

    font-weight:900;

    letter-spacing:.18em;

}


.knblog-list-heading h2{

    position:relative;

    margin:0 !important;

    padding:
        0 0 11px !important;

    border:0 !important;

    color:
        var(--knblog-text) !important;

    background:
        transparent !important;

    font-size:25px !important;

    line-height:1.4 !important;

    font-weight:900 !important;

}


.knblog-list-heading h2::before{

    display:none !important;

    content:none !important;

}


.knblog-list-heading h2::after{

    content:"";

    position:absolute;

    left:0;
    bottom:0;

    width:38px;
    height:4px;

    border-radius:999px;

    background:
        var(--knblog-pink);

}


/* =====================================================
   BLOG LIST
===================================================== */

.knblog-list{

    display:flex;

    flex-direction:column;

    gap:16px;

}


/* =====================================================
   CARD
===================================================== */

.knblog-card{

    overflow:hidden;

    border:
        1px solid var(--knblog-border);

    border-radius:18px;

    background:#fff;

    box-shadow:
        0 7px 24px
        rgba(0,0,0,.035);

    transition:
        transform .25s ease,
        box-shadow .25s ease;

}


.knblog-card:hover{

    transform:
        translateY(-3px);

    box-shadow:
        0 13px 32px
        rgba(0,0,0,.065);

}


.knblog-card-link{

    display:grid;

    grid-template-columns:
        260px minmax(0,1fr);

    min-height:180px;

    color:inherit !important;

    text-decoration:none !important;

}


/* =====================================================
   IMAGE
===================================================== */

.knblog-card-media{

    position:relative;

    overflow:hidden;

    background:#f4f7f8;

}


.knblog-card-image{

    display:block;

    width:100% !important;
    height:100% !important;

    margin:0 !important;

    object-fit:cover;

    transition:
        transform .35s ease;

}


.knblog-card:hover
.knblog-card-image{

    transform:
        scale(1.035);

}


/* =====================================================
   NO IMAGE
===================================================== */

.knblog-noimage{

    width:100%;
    height:100%;

    min-height:180px;

    display:flex;

    flex-direction:column;

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

    background:
        linear-gradient(
            135deg,
            #fff3f8,
            #eef9fd
        );

    color:
        var(--knblog-pink);

    text-align:center;

}


.knblog-noimage-en{

    margin-bottom:7px;

    font-size:10px;

    font-weight:900;

    letter-spacing:.18em;

}


.knblog-noimage strong{

    color:
        var(--knblog-text);

    font-size:26px;

}


/* =====================================================
   CARD BODY
===================================================== */

.knblog-card-body{

    display:flex;

    flex-direction:column;

    padding:
        18px 22px 19px;

}


/* =====================================================
   META
===================================================== */

.knblog-card-meta{

    display:flex;

    align-items:center;

    margin-bottom:9px;

}


.knblog-card-date{

    color:#999;

    font-size:13px;

    line-height:1.4;

    font-weight:700;

    letter-spacing:.04em;

}


/* =====================================================
   TITLE
===================================================== */

.knblog-card-title{

    margin:
        0 0 8px !important;

    padding:0 !important;

    border:0 !important;

    color:
        var(--knblog-text) !important;

    background:
        transparent !important;

    font-size:19px !important;

    line-height:1.5 !important;

    font-weight:900 !important;

}


.knblog-card-title::before,
.knblog-card-title::after{

    display:none !important;

    content:none !important;

}


/* =====================================================
   EXCERPT
===================================================== */

.knblog-card-excerpt{

    display:-webkit-box;

    overflow:hidden;

    margin:
        5px 0 0 !important;

    color:
        var(--knblog-gray);

    font-size:13px;

    line-height:1.8;

    -webkit-line-clamp:2;

    -webkit-box-orient:vertical;

}


/* =====================================================
   MORE
===================================================== */

.knblog-card-more{

    display:inline-flex;

    align-items:center;

    gap:7px;

    width:fit-content;

    margin-top:auto;

    padding-top:12px;

    color:
        var(--knblog-pink);

    font-size:13px;

    font-weight:900;

}


.knblog-card-more span{

    font-size:17px;

    transition:
        transform .2s ease;

}


.knblog-card:hover
.knblog-card-more span{

    transform:
        translateX(4px);

}


/* =====================================================
   PAGINATION
===================================================== */

.knblog-pagination{

    margin-top:45px;

}


.knblog-pagination .nav-links{

    display:flex;

    flex-wrap:wrap;

    justify-content:center;

    gap:8px;

}


.knblog-pagination .page-numbers{

    min-width:42px;
    height:42px;

    display:inline-flex;

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

    padding:0 10px;

    border:
        1px solid var(--knblog-border);

    border-radius:50%;

    color:#555;

    background:#fff;

    font-size:13px;

    font-weight:800;

    text-decoration:none !important;

}


.knblog-pagination
.page-numbers.current{

    border-color:
        var(--knblog-pink);

    color:#fff;

    background:
        var(--knblog-pink);

}


/* =====================================================
   EMPTY
===================================================== */

.knblog-empty{

    padding:50px 20px;

    border-radius:18px;

    background:#fafafa;

    text-align:center;

}


.knblog-empty p{

    margin:0;

    color:#777;

    font-size:15px;

}


/* =====================================================
   TABLET
===================================================== */

@media(max-width:850px){


    .knblog-hero{

        grid-template-columns:
            200px minmax(0,1fr);

        column-gap:28px;

        padding:
            27px 28px;

    }


    .knblog-hero-text{

        padding-left:24px;

    }


    .knblog-card-link{

        grid-template-columns:
            230px minmax(0,1fr);

    }

}


/* =====================================================
   MOBILE
===================================================== */

@media(max-width:600px){


    .knblog-page{

        padding:
            16px 0 55px;

        font-size:15px;

    }


    .knblog-container{

        width:
            calc(100% - 28px);

    }


    /* HERO */

    .knblog-hero{

        display:block;

        width:100%;

        min-height:0;

        padding:
            20px 20px 18px;

        border-radius:18px;

        text-align:left;

    }


    .knblog-hero::before{

        top:-43px;
        left:-40px;

        width:80px;
        height:80px;

        background-size:
            13px 13px;

    }


    .knblog-hero::after{

        right:-40px;
        bottom:-45px;

        width:76px;
        height:76px;

        background-size:
            13px 13px;

    }


    .knblog-hero-en{

        display:block;

        margin:
            0 0 4px;

        font-size:10px;

    }


    .knblog-hero-title{

        font-size:
            27px !important;

        line-height:
            1.25 !important;

    }


    .knblog-hero-text{

        display:block;

        max-width:none;

        margin:
            10px 0 0 !important;

        padding:
            9px 0 0;

        border-left:0;

        border-top:
            1px solid #eadfe4;

        font-size:15px;

        line-height:1.7;

    }


    .knblog-hero-text br{

        display:none;

    }


    /* LIST HEADING */

    .knblog-list-heading{

        margin:
            25px 0 16px;

    }


    .knblog-list-en{

        font-size:11px;

    }


    .knblog-list-heading h2{

        font-size:
            23px !important;

    }


    /* LIST */

    .knblog-list{

        gap:16px;

    }


    /* CARD */

    .knblog-card{

        border-radius:17px;

    }


    .knblog-card-link{

        display:block;

        min-height:0;

    }


    .knblog-card-media{

        aspect-ratio:
            16 / 9;

    }


    .knblog-card-image{

        display:block;

        width:100% !important;
        height:100% !important;

        object-fit:cover;

    }


    .knblog-noimage{

        min-height:0;

        aspect-ratio:
            16 / 9;

    }


    .knblog-card-body{

        padding:
            16px 17px 18px;

    }


    .knblog-card-date{

        font-size:
            14px;

    }


    .knblog-card-title{

        margin-bottom:
            8px !important;

        font-size:
            18px !important;

        line-height:
            1.55 !important;

    }


    .knblog-card-excerpt{

        font-size:15px;

        line-height:1.8;

        -webkit-line-clamp:2;

    }


    .knblog-card-more{

        padding-top:13px;

        font-size:15px;

    }


    /* PAGINATION */

    .knblog-pagination{

        margin-top:38px;

    }


    .knblog-pagination
    .page-numbers{

        font-size:15px;

    }

}


/* =====================================================
   TOP 新着記事 文字サイズ調整
===================================================== */

.kn-latest-slider-en {
  font-size: 12px !important;
}

.kn-latest-slider-heading p {
  font-size: 15px !important;
  line-height: 1.8 !important;
}

.kn-latest-meta time {
  font-size: 13px !important;
}

.kn-latest-area {
  font-size: 12px !important;
}

.kn-latest-more {
  font-size: 13px !important;
}

/* =====================================================
   カスナビ お問い合わせページ
   /tip/ とデザイン統一
===================================================== */

.kn-contact-page {
  --kn-pink: #ff5993;
  --kn-orange: #ff9c43;
  --kn-green: #55bd98;
  --kn-blue: #62c4ee;
  --kn-text: #171717;


  color:
    var(--kn-text);

  background:
    radial-gradient(
      circle at 5% 5%,
      rgba(255,89,147,.08),
      transparent 18%
    ),
    radial-gradient(
      circle at 95% 8%,
      rgba(98,196,238,.10),
      transparent 18%
    ),
    #fff;
}


.kn-contact-page,
.kn-contact-page * {
  box-sizing: border-box;

  font-family: inherit;
}


/* =====================================================
   CONTAINER
===================================================== */


/* =====================================================
   HEADING
===================================================== */

.kn-contact-heading {
  margin-bottom: 45px;

  text-align: center;
}


.kn-contact-label {
  display: inline-block;

  margin-bottom: 10px;

  color:
    var(--kn-pink);

  font-size: 11px;

  font-weight: 800;

  letter-spacing: .18em;
}


.kn-contact-heading h1 {
  margin: 0 !important;
  padding: 0 !important;

  border: 0 !important;

  background: none !important;

  font-size:
    clamp(
      30px,
      4vw,
      44px
    ) !important;

  line-height: 1.4 !important;

  font-weight: 900 !important;
}


.kn-contact-heading h1::before,
.kn-contact-heading h1::after {
  display: none !important;

  content: none !important;
}


.kn-contact-heading p {
  margin:
    18px 0 0 !important;

  color: #555;

  font-size: 14px;

  line-height: 2;
}


/* =====================================================
   BOX
===================================================== */

.kn-contact-box {
  padding:
    45px 50px;

  border:
    1px solid #eee;

  border-radius: 24px;

  background: #fff;

  box-shadow:
    0 15px 45px
    rgba(0,0,0,.06);
}


/* =====================================================
   INTRO
===================================================== */

.kn-contact-intro {
  margin-bottom: 45px;

  padding-bottom: 35px;

  border-bottom:
    1px dashed #ddd;

  text-align: center;
}


.kn-contact-intro h2 {
  margin:
    0 0 20px !important;

  padding: 0 !important;

  border: 0 !important;

  background: none !important;

  font-size: 21px !important;

  font-weight: 900 !important;
}


.kn-contact-intro h2::before,
.kn-contact-intro h2::after {
  display: none !important;

  content: none !important;
}


.kn-contact-examples {
  display: flex;

  flex-wrap: wrap;

  justify-content: center;

  gap: 9px;

  margin-bottom: 20px;
}


.kn-contact-examples span {
  display: inline-flex;

  align-items: center;

  min-height: 34px;

  padding:
    5px 13px;

  border-radius: 999px;

  color: #444;

  background:
    #fff3f7;

  font-size: 12px;

  font-weight: 700;
}


.kn-contact-intro p {
  margin: 0 !important;

  color: #666;

  font-size: 13px;

  line-height: 1.9;
}


.kn-contact-intro a {
  color:
    var(--kn-pink) !important;

  font-weight: 800;

  text-decoration:
    none !important;
}


.kn-contact-intro a:hover {
  text-decoration:
    underline !important;
}


/* =====================================================
   FORM GROUP
===================================================== */

.kn-contact-form-group {
  margin-bottom: 32px;
}


.kn-contact-form-label {
  display: block;

  margin-bottom: 10px;

  font-size: 14px;

  font-weight: 800;
}


/* 必須 */

.kn-contact-required {
  display: inline-block;

  margin-left: 6px;

  padding:
    2px 7px;

  border-radius: 5px;

  color: #fff;

  background:
    var(--kn-pink);

  font-size: 10px;

  line-height: 1.5;

  vertical-align: 2px;
}


/* =====================================================
   INPUT
===================================================== */

.kn-contact-form
input[type="text"],

.kn-contact-form
input[type="email"],

.kn-contact-form
input[type="url"],

.kn-contact-form
select,

.kn-contact-form
textarea {

  width: 100%;

  padding:
    14px 16px;

  border:
    1px solid #ddd;

  border-radius: 10px;

  outline: none;

  color: #222;

  background: #fff;

  font-size: 14px;

  transition:
    border-color .2s,
    box-shadow .2s;
}


.kn-contact-form textarea {


  line-height: 1.8;
}


.kn-contact-form
input::placeholder,

.kn-contact-form
textarea::placeholder {
  color: #aaa;
}


/* =====================================================
   NOTE
===================================================== */

.kn-contact-form-note {
  margin:
    8px 0 0 !important;

  color: #888;

  font-size: 11px;

  line-height: 1.7;
}


/* =====================================================
   RADIO
===================================================== */

.kn-contact-radio-grid {
  display: grid;

  grid-template-columns:
    repeat(2,1fr);

  gap: 10px;
}


.kn-contact-radio-grid label {
  position: relative;

  cursor: pointer;
}


.kn-contact-radio-grid input {
  position: absolute;

  opacity: 0;

  pointer-events: none;
}


.kn-contact-radio-grid span {
  min-height: 48px;

  display: flex;

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

  padding: 8px;

  border:
    1px solid #ddd;

  border-radius: 10px;

  background: #fff;

  font-size: 12px;

  font-weight: 700;

  transition: .2s;
}


.kn-contact-radio-grid
input:checked + span {

  color:
    var(--kn-pink);

  border-color:
    var(--kn-pink);

  background:
    #fff3f7;

  box-shadow:
    0 0 0 2px
    rgba(255,89,147,.08);
}


/* =====================================================
   NOTICE
===================================================== */

.kn-contact-notice {
  margin:
    35px 0 22px;

  padding:
    20px 22px;

  border-radius: 12px;

  background:
    #fff9ea;
}


.kn-contact-notice p {
  margin: 0 !important;

  color: #555;

  font-size: 12px;

  line-height: 1.9;
}


.kn-contact-notice
p + p {
  margin-top:
    7px !important;
}


.kn-contact-notice strong {
  color: #333;
}


/* =====================================================
   AGREEMENT
===================================================== */

.kn-contact-agree {
  display: flex;

  align-items: flex-start;

  gap: 10px;

  cursor: pointer;

  font-size: 12px;

  line-height: 1.8;
}


.kn-contact-agree input {
  margin-top: 4px;

  accent-color:
    var(--kn-pink);
}


/* =====================================================
   SUBMIT
===================================================== */

.kn-contact-submit-area {
  margin-top: 35px;

  text-align: center;
}


.kn-contact-submit-button {
  width:
    min(360px,100%);

  min-height: 58px;

  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 16px;

  padding:
    14px 25px;

  border: 0;

  border-radius: 999px;

  color: #fff;

  background:
    linear-gradient(
      135deg,
      #ff6b9f,
      #f64583
    );

  box-shadow:
    0 10px 25px
    rgba(246,69,131,.22);

  font-size: 15px;

  font-weight: 800;

  cursor: pointer;

  transition:
    transform .2s,
    box-shadow .2s;
}


.kn-contact-submit-button:hover {
  transform:
    translateY(-2px);

  box-shadow:
    0 14px 30px
    rgba(246,69,131,.28);
}


.kn-contact-submit-button span {
  font-size: 19px;
}


/* =====================================================
   SUCCESS / ERROR
===================================================== */

.kn-contact-message {
  margin-bottom: 25px;

  padding:
    22px 25px;

  border-radius: 14px;

  text-align: center;
}


.kn-contact-message strong {
  display: block;

  margin-bottom: 7px;

  font-size: 17px;
}


.kn-contact-message p {
  margin: 0 !important;

  font-size: 12px;

  line-height: 1.8;
}


.kn-contact-success {
  color: #367c54;

  background:
    #eef9f2;
}


.kn-contact-error {
  color: #a74747;

  background:
    #fff0f0;
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 800px) {

  .kn-contact-page {
    padding:
      45px 15px 70px;
  }


  .kn-contact-heading {
    margin-bottom: 30px;
  }


  .kn-contact-heading h1 {
    font-size:
      30px !important;
  }


  .kn-contact-heading p {
    font-size: 15px;
  }


  .kn-contact-heading br {
    display: none;
  }


  .kn-contact-box {
    padding:
      30px 20px;

    border-radius: 18px;
  }


  .kn-contact-intro {
    margin-bottom: 35px;
  }


  .kn-contact-intro h2 {
    font-size:
      18px !important;
  }


  .kn-contact-intro p {
    font-size: 15px;
  }


  .kn-contact-examples span {
    font-size: 13px;
  }


  .kn-contact-form-group {
    margin-bottom: 26px;
  }


  .kn-contact-form-label {
    font-size: 15px;
  }


  .kn-contact-form
  input[type="text"],

  .kn-contact-form
  input[type="email"],

  .kn-contact-form
  textarea {

    font-size: 15px;
  }


  .kn-contact-radio-grid span {
    font-size: 15px;
  }


  .kn-contact-form-note {
    font-size: 13px;
  }


  .kn-contact-notice p {
    font-size: 15px;
  }


  .kn-contact-agree {
    font-size: 15px;
  }

}

/* =====================================================
   公共施設 個別ページ
   スマホ：POINT / 基本情報をコンパクト化
===================================================== */

@media (max-width: 800px) {

  /* -------------------------
     POINT
  ------------------------- */

  .knpf-point-grid {
    gap: 8px !important;
  }

  .knpf-point-card {
    min-height: 58px !important;

    padding:
      11px 14px !important;

    gap: 11px !important;

    border-radius:
      13px !important;
  }

  .knpf-point-card > span {
    width: 28px !important;
    height: 28px !important;

    flex:
      0 0 28px !important;

    font-size:
      13px !important;
  }

  .knpf-point-card p {
    margin: 0 !important;

    font-size:
      14px !important;

    line-height:
      1.55 !important;
  }


  /* -------------------------
     BASIC INFORMATION
  ------------------------- */

  .knpf-info-box {
    border-radius:
      14px !important;
  }

  .knpf-info-list > div {
    display:
      block !important;
  }

  .knpf-info-list dt {
    padding:
      8px 15px !important;

    font-size:
      14px !important;

    line-height:
      1.5 !important;
  }

  .knpf-info-list dd {
    padding:
      11px 15px !important;

    font-size:
      14px !important;

    line-height:
      1.6 !important;
  }

}

/* =====================================================
   公共施設ページ
   スマホ：ラベル・クイックタグ統一
===================================================== */

@media (max-width: 800px) {

  /* ---------------------------------
     上部カテゴリー
     公共施設 / 粕屋町
  --------------------------------- */

  .knpf-hero-meta {
    gap: 8px !important;
    margin-bottom: 16px !important;
  }

  .knpf-category,
  .knpf-area {
    min-height: 38px !important;
    padding: 8px 14px !important;

    font-size: 13px !important;
    line-height: 1.2 !important;
    font-weight: 900 !important;

    border-radius: 999px !important;
  }


  /* ---------------------------------
     スライダー下
     粕屋町 / 駐車場あり / 利用無料
  --------------------------------- */

  .knpf-quick-tags {
    gap: 8px !important;

    /* スライダーとの間 */
    margin-top: 18px !important;

    /* 次セクションとの間 */
    margin-bottom: 10px !important;
  }

  .knpf-quick-tags :is(span, a) {
    min-height: 38px !important;
    padding: 8px 14px !important;

    font-size: 13px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;

    border-radius: 999px !important;
  }

}

/* =====================================================
   公共施設 クイックタグ：一覧へのリンク
===================================================== */

.knpf-quick-tags a {
  color: #444 !important;
  text-decoration: none !important;
  cursor: pointer;

  transition:
    border-color .2s ease,
    color .2s ease,
    background .2s ease,
    transform .2s ease,
    box-shadow .2s ease;
}

.knpf-quick-tags a:hover,
.knpf-quick-tags a:focus-visible {
  color: var(--knpf-pink) !important;
  border-color: rgba(255, 79, 139, .45) !important;
  background: #fff8fb !important;
  box-shadow: 0 6px 16px rgba(255, 79, 139, .10) !important;
  transform: translateY(-1px);
  outline: none;
}

.knpf-quick-tags a:active {
  transform: translateY(0);
}

/* =========================================================
   公共施設一覧
   AREA + CONDITION FILTER
========================================================= */

.knpc-filter-box {
  margin-bottom: 72px;

  padding:
    30px 34px;

  border:
    1px solid #e8ecea;

  border-radius:
    22px;

  background:
    #fff;

  box-shadow:
    0 10px 30px rgba(30, 80, 65, .045);
}


/* =========================================================
   GROUP
========================================================= */

.knpc-filter-group {
  text-align:
    center;
}


.knpc-condition-group {
  margin-top:
    25px;

  padding-top:
    24px;

  border-top:
    1px dashed #dce8e3;
}


/* =========================================================
   LABEL
========================================================= */

.knpc-area-label,
.knpc-condition-label {
  display:
    block;

  margin-bottom:
    15px;

  color:
    #239a73;

  font-size:
    11px;

  line-height:
    1.4;

  font-weight:
    900;

  letter-spacing:
    .18em;
}


/* =========================================================
   AREA
========================================================= */

.knpc-area-list {
  display:
    flex;

  flex-wrap:
    wrap;

  justify-content:
    center;

  gap:
    9px;
}


.knpc-area-btn {
  min-width:
    78px;

  min-height:
    42px;

  padding:
    9px 18px;

  border:
    1px solid #cae5db;

  border-radius:
    999px;

  color:
    #246e5b;

  background:
    #f0faf6;

  font-size:
    13px;

  line-height:
    1.2;

  font-weight:
    800;

  cursor:
    pointer;

  transition:
    .2s ease;
}


.knpc-area-btn:hover {
  border-color:
    #55bf9c;

  background:
    #e8f8f2;
}


.knpc-area-btn.is-active {
  border-color:
    #55bf9c;

  color:
    #fff;

  background:
    #55bf9c;

  box-shadow:
    0 7px 18px rgba(85,191,156,.18);
}


/* =========================================================
   CONDITION
========================================================= */

.knpc-condition-list {
  display:
    flex;

  flex-wrap:
    wrap;

  justify-content:
    center;

  gap:
    9px;
}


.knpc-condition-all,
.knpc-condition-btn {
  min-height:
    42px;

  display:
    inline-flex;

  align-items:
    center;

  justify-content:
    center;

  gap:
    7px;

  padding:
    9px 18px;

  border:
    1px solid #e3e3e3;

  border-radius:
    999px;

  color:
    #444;

  background:
    #fff;

  font-size:
    13px;

  line-height:
    1.2;

  font-weight:
    800;

  cursor:
    pointer;

  box-shadow:
    0 5px 15px rgba(0,0,0,.035);

  transition:
    .2s ease;
}


.knpc-condition-all:hover,
.knpc-condition-btn:hover {
  border-color:
    #ff7ba5;

  color:
    #ff4f87;
}


.knpc-condition-all.is-active,
.knpc-condition-btn.is-active {
  border-color:
    #ff4f87;

  color:
    #fff;

  background:
    #ff4f87;

  box-shadow:
    0 7px 18px rgba(255,79,135,.18);
}


/* P */

.knpc-condition-icon {
  width:
    18px;

  height:
    18px;

  display:
    inline-flex;

  align-items:
    center;

  justify-content:
    center;

  border-radius:
    4px;

  color:
    #fff;

  background:
    #555;

  font-size:
    10px;

  font-weight:
    900;
}


.knpc-condition-btn.is-active
.knpc-condition-icon {
  color:
    #ff4f87;

  background:
    #fff;
}


/* YEN */

.knpc-condition-yen {
  font-weight:
    900;
}


/* =========================================================
   RESET
========================================================= */

.knpc-filter-reset {
  display:
    block;

  margin:
    22px auto 0;

  padding:
    0;

  border:
    0;

  color:
    #999;

  background:
    transparent;

  font-size:
    11px;

  line-height:
    1.5;

  font-weight:
    700;

  text-decoration:
    underline;

  text-underline-offset:
    3px;

  cursor:
    pointer;
}


.knpc-filter-reset:hover {
  color:
    #ff4f87;
}


/* =========================================================
   HIDDEN CARD
========================================================= */

.knpc-card.knpc-is-hidden {
  display:
    none !important;
}


/* =========================================================
   FILTER EMPTY
========================================================= */

.knpc-filter-empty {
  margin-top:
    25px;

  padding:
    55px 25px;

  border:
    1px solid #ececec;

  border-radius:
    20px;

  background:
    #fff;

  text-align:
    center;
}


.knpc-filter-empty[hidden] {
  display:
    none !important;
}


.knpc-filter-empty p {
  margin:
    0 !important;

  color:
    #777;

  font-size:
    14px;

  line-height:
    1.8;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 800px) {

  .knpc-filter-box {
    margin-bottom:
      48px;

    padding:
      27px 18px;

    border-radius:
      19px;
  }


  /* AREA */

  .knpc-area-list {
    display:
      grid;

    grid-template-columns:
      repeat(2, minmax(0,1fr));

    gap:
      9px;
  }


  .knpc-area-btn {
    width:
      100%;

    min-width:
      0;

    min-height:
      52px;

    padding:
      10px 12px;

    font-size:
      15px;
  }


  /* CONDITION */

  .knpc-condition-group {
    margin-top:
      24px;

    padding-top:
      23px;
  }


  .knpc-condition-list {
    display:
      grid;

    grid-template-columns:
      repeat(2, minmax(0,1fr));

    gap:
      9px;
  }


  .knpc-condition-all,
  .knpc-condition-btn {
    width:
      100%;

    min-width:
      0;

    min-height:
      48px;

    padding:
      10px 12px;

    font-size:
      14px;
  }


  /*
   * CONDITIONの「すべて」は
   * 横幅いっぱいに
   */

  .knpc-condition-all {
    grid-column:
      1 / -1;
  }


  .knpc-area-label,
  .knpc-condition-label {
    margin-bottom:
      14px;

    font-size:
      11px;
  }


  .knpc-filter-reset {
    margin-top:
      20px;

    font-size:
      12px;
  }

}

/* =====================================================
   グルメ アーカイブ・個別ページのCSSは
   WordPress「追加CSS」側で管理
===================================================== */
/* ==========================================================
   TOP 新着記事
   投稿タイプ別ラベルカラー FINAL
========================================================== */

.kn-latest-slider .kn-latest-type-blog{
    color:#fff !important;
    background:#62c4ee !important;
}

.kn-latest-slider .kn-latest-type-event{
    color:#fff !important;
    background:#ff5993 !important;
}

.kn-latest-slider .kn-latest-type-odekake{
    color:#fff !important;
    background:#55bd98 !important;
}

.kn-latest-slider .kn-latest-type-gourmet{
    color:#fff !important;
    background:#ff8a45 !important;
}

.kn-latest-slider .kn-latest-type-public{
    color:#fff !important;
    background:#5eb7ec !important;
}

.kn-latest-slider .kn-latest-type-life{
    color:#594500 !important;
    background:#ffd34e !important;
}

/* ========================================
   カスナビ｜糟屋郡を見つけろ！
======================================== */

.kn-place-game {
  --kpg-pink: #ff5993;
  --kpg-yellow: #ffd84d;
  --kpg-orange: #ff9d38;
  --kpg-blue: #55b9e8;
  --kpg-green: #35b779;
  --kpg-dark: #252525;
  --kpg-red: #ef6262;

  width: 100%;
  max-width: 760px;

  margin: 40px auto;
  padding: 34px 30px 30px;

  background: #fff;

  border: 3px solid var(--kpg-dark);
  border-radius: 28px;

  box-sizing: border-box;

  font-family: inherit;
}


.kn-place-game *,
.kn-place-game *::before,
.kn-place-game *::after {
  box-sizing: border-box;
}


/* ========================================
   HEADER
======================================== */

.kn-place-game__head {
  text-align: center;
}


.kn-place-game__label {
  display: inline-block;

  margin-bottom: 10px;
  padding: 6px 14px;

  background: var(--kpg-yellow);

  border: 2px solid var(--kpg-dark);
  border-radius: 999px;

  color: var(--kpg-dark);

  font-size: 12px;
  font-weight: 900;
  line-height: 1.4;
}


.kn-place-game__title {
  margin: 0;
  padding: 0;

  color: var(--kpg-dark);

  font-size: clamp(30px, 6vw, 46px);
  font-weight: 900;
  line-height: 1.3;
}


.kn-place-game__title span {
  color: var(--kpg-pink);
}


.kn-place-game__lead {
  margin: 12px 0 0 !important;

  color: #666;

  font-size: 14px;
  font-weight: 600;
  line-height: 1.8;
}


.kn-place-game__lead strong {
  color: var(--kpg-dark);
}


/* ========================================
   START
======================================== */

.kn-place-start {
  margin-top: 28px;
}


.kn-place-start__box {
  width: 100%;
  max-width: 520px;

  margin: 0 auto;
  padding: 26px;

  background: #fff9e7;

  border: 2px solid #ffe29a;
  border-radius: 22px;

  text-align: center;
}


/* ========================================
   START ICON
======================================== */

.kn-place-start__icon {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 44px;
  height: 44px;

  margin: 0 auto 10px;

  color: var(--kpg-orange);
}


.kn-place-start__star {
  display: block;

  color: var(--kpg-orange);

  font-size: 40px;
  font-weight: 400;
  line-height: 1;
}


.kn-place-start__heading {
  color: var(--kpg-dark);

  font-size: 23px;
  font-weight: 900;
  line-height: 1.5;
}


/* ========================================
   RULE
======================================== */

.kn-place-rule {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 10px;

  margin-top: 20px;
}


.kn-place-rule__item {
  display: flex;

  align-items: center;

  gap: 10px;

  min-width: 0;

  padding: 13px;

  background: #fff;

  border: 2px solid #eee;
  border-radius: 14px;

  text-align: left;
}


.kn-place-rule__mark {
  display: flex;

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

  flex: 0 0 34px;

  width: 34px;
  height: 34px;

  border-radius: 50%;

  color: #fff;

  font-size: 17px;
  font-weight: 900;
  line-height: 1;
}


.kn-place-rule__item.is-safe
.kn-place-rule__mark {
  background: var(--kpg-green);
}


.kn-place-rule__item.is-tap
.kn-place-rule__mark {
  background: var(--kpg-pink);
}


.kn-place-rule__item strong {
  display: block;

  color: var(--kpg-dark);

  font-size: 13px;
  font-weight: 900;
  line-height: 1.45;
}


.kn-place-rule__item
span:not(.kn-place-rule__mark) {
  display: block;

  margin-top: 2px;

  color: #777;

  font-size: 10px;
  font-weight: 600;
  line-height: 1.5;
}


.kn-place-start__note {
  margin: 13px 0 0 !important;

  color: #777;

  font-size: 11px;
  font-weight: 600;
  line-height: 1.7;
}


/* ========================================
   START BUTTON
======================================== */

.kn-place-start__button {
  display: flex;

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

  gap: 7px;

  width: 100%;
  min-height: 54px;

  margin-top: 16px;
  padding: 13px 18px;

  background: var(--kpg-pink);

  border: 2px solid var(--kpg-dark);
  border-radius: 14px;

  color: #fff;

  box-shadow:
    3px 3px 0 var(--kpg-dark);

  font-family: inherit;
  font-size: 15px;
  font-weight: 900;

  cursor: pointer;

  transition:
    transform .2s ease,
    box-shadow .2s ease,
    background .2s ease;
}


@media (hover: hover) {

  .kn-place-start__button:hover {
    background: #f54887;

    transform: translateY(-2px);

    box-shadow:
      4px 5px 0 var(--kpg-dark);
  }

}


/* ========================================
   PLAY
======================================== */

.kn-place-play {
  width: 100%;
}


/* ========================================
   STATUS
======================================== */

.kn-place-status {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 8px;

  margin-top: 26px;
}


.kn-place-status__item {
  min-width: 0;

  padding: 9px 6px;

  background: #fafafa;

  border: 1px solid #eee;
  border-radius: 12px;

  text-align: center;
}


.kn-place-status__label {
  display: block;

  color: #999;

  font-size: 9px;
  font-weight: 900;
  letter-spacing: .08em;
}


.kn-place-status__item strong {
  display: block;

  margin-top: 2px;

  color: var(--kpg-dark);

  font-size: 18px;
  font-weight: 900;
}


.kn-place-life {
  color: var(--kpg-pink) !important;

  font-size: 15px !important;

  letter-spacing: 2px;
}


/* ========================================
   GAME FIELD
======================================== */

.kn-place-field {
  position: relative;

  width: 100%;
  height: 500px;

  margin-top: 12px;

  overflow: hidden;

  background:
    linear-gradient(
      180deg,
      #eaf8ff 0%,
      #ffffff 68%,
      #fff7db 100%
    );

  border: 2px solid #dfe8ec;
  border-radius: 20px;

  user-select: none;

  -webkit-user-select: none;

  touch-action: manipulation;
}


/* ========================================
   SKY LABEL
======================================== */

.kn-place-field__sky {
  position: absolute;

  top: 12px;
  left: 50%;

  z-index: 2;

  padding: 5px 11px;

  background:
    rgba(255,255,255,.88);

  border-radius: 999px;

  color: #888;

  font-size: 10px;
  font-weight: 800;

  transform:
    translateX(-50%);

  white-space: nowrap;

  pointer-events: none;
}


/* ========================================
   GOAL
======================================== */

.kn-place-field__goal {
  position: absolute;

  right: 0;
  bottom: 0;
  left: 0;

  z-index: 2;

  min-height: 66px;

  padding: 9px 14px;

  background:
    rgba(255,216,77,.35);

  border-top:
    2px dashed #e7bd2d;

  text-align: center;

  pointer-events: none;
}


.kn-place-field__goal-label {
  display: block;

  color: var(--kpg-dark);

  font-size: 13px;
  font-weight: 900;
}


.kn-place-field__goal-text {
  display: block;

  margin-top: 2px;

  color: #777;

  font-size: 9px;
  font-weight: 600;
}


/* ========================================
   FALLING PLACE
======================================== */

.kn-place-item {
  position: absolute;

  top: -60px;

  z-index: 5;

  display: inline-flex;

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

  min-width: 75px;
  min-height: 42px;

  margin: 0;
  padding: 8px 12px;

  background: #fff;

  border:
    2px solid var(--kpg-dark);

  border-radius: 999px;

  color: var(--kpg-dark);

  box-shadow:
    2px 3px 0
    rgba(37,37,37,.18);

  font-family: inherit;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.3;

  cursor: pointer;

  white-space: nowrap;

  appearance: none;

  -webkit-appearance: none;

  will-change: transform;
}


/* ========================================
   HIT EFFECT
======================================== */

.kn-place-item.is-hit {
  pointer-events: none;

  animation:
    knPlacePop
    .28s
    ease
    forwards;
}


@keyframes knPlacePop {

  0% {
    opacity: 1;
  }

  50% {
    opacity: 1;

    scale: 1.18;
  }

  100% {
    opacity: 0;

    scale: .3;
  }

}


/* ========================================
   MESSAGE
======================================== */

.kn-place-message {
  min-height: 24px;

  margin-top: 10px;

  color: #777;

  font-size: 12px;
  font-weight: 800;
  line-height: 1.6;

  text-align: center;
}


.kn-place-message.is-good {
  color: var(--kpg-green);
}


.kn-place-message.is-bad {
  color: var(--kpg-red);
}


/* ========================================
   FINISH
======================================== */

.kn-place-finish {
  width: 100%;

  margin-top: 28px;
}


.kn-place-finish__box {
  width: 100%;

  padding: 32px 20px;

  background: #fff9e5;

  border:
    2px solid
    var(--kpg-yellow);

  border-radius: 22px;

  text-align: center;
}


/* ========================================
   FINISH ICON
======================================== */

.kn-place-finish__icon {
  display: flex;

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

  width: 52px;
  height: 52px;

  margin: 0 auto 9px;
}


.kn-place-finish__trophy {
  display: block;

  color: var(--kpg-orange);

  font-size: 40px;
  line-height: 1;
}


.kn-place-finish__heading {
  color: var(--kpg-dark);

  font-size: 26px;
  font-weight: 900;
}


/* ========================================
   RESULT
======================================== */

.kn-place-finish__result {
  margin-top: 17px;

  color: var(--kpg-dark);

  font-size: 18px;
  font-weight: 800;
}


.kn-place-finish__result strong {
  margin: 0 4px;

  color: var(--kpg-pink);

  font-size: 48px;
  font-weight: 900;
}


.kn-place-finish__comment {
  margin: 13px 0 0 !important;

  color: #666;

  font-size: 13px;
  font-weight: 700;
  line-height: 1.7;
}


/* ========================================
   AGAIN
======================================== */

.kn-place-again {
  display: flex;

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

  gap: 7px;

  width: 100%;
  min-height: 52px;

  margin-top: 20px;
  padding: 12px 18px;

  background: var(--kpg-dark);

  border:
    2px solid
    var(--kpg-dark);

  border-radius: 14px;

  color: #fff;

  font-family: inherit;
  font-size: 14px;
  font-weight: 900;

  cursor: pointer;
}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 600px) {

  .kn-place-game {
    width:
      calc(100% - 20px);

    margin:
      25px auto;

    padding:
      25px 12px 18px;

    border-width: 2px;
    border-radius: 20px;
  }


  .kn-place-game__label {
    font-size: 10px;
  }


  .kn-place-game__title {
    font-size: 30px;
  }


  .kn-place-game__lead {
    font-size: 12px;
    line-height: 1.75;
  }


  .kn-place-start {
    margin-top: 22px;
  }


  .kn-place-start__box {
    padding:
      20px 12px;
  }


  .kn-place-start__heading {
    font-size: 20px;
  }


  .kn-place-rule {
    gap: 7px;

    margin-top: 16px;
  }


  .kn-place-rule__item {
    gap: 7px;

    padding:
      10px 7px;
  }


  .kn-place-rule__mark {
    flex-basis: 29px;

    width: 29px;
    height: 29px;

    font-size: 14px;
  }


  .kn-place-rule__item strong {
    font-size: 12px;
  }


  .kn-place-rule__item
  span:not(.kn-place-rule__mark) {
    font-size: 9px;
  }


  .kn-place-start__button {
    min-height: 51px;

    font-size: 14px;
  }


  .kn-place-status {
    margin-top: 20px;
  }


  .kn-place-field {
    height: 440px;

    border-radius: 16px;
  }


  .kn-place-item {
    min-width: 66px;
    min-height: 38px;

    padding:
      7px 9px;

    font-size: 12px;
  }


  .kn-place-field__sky {
    font-size: 9px;
  }


  .kn-place-finish__box {
    padding:
      27px 15px;
  }


  .kn-place-finish__heading {
    font-size: 23px;
  }


  .kn-place-finish__result strong {
    font-size: 42px;
  }

}

/* ========================================
   ひまつぶし｜フィルター
======================================== */

.kn-play-filter {
  display: flex;
  align-items: center;
  justify-content: center;

  gap: 8px;

  margin: 24px 0 30px;
}


.kn-play-filter__item {
  display: inline-flex;

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

  min-width: 92px;
  min-height: 38px;

  padding: 7px 18px;

  border: 1px solid #e5e5e5;
  border-radius: 999px;

  color: #555 !important;

  background: #fff;

  text-decoration: none !important;

  font-size: 12px;
  font-weight: 800;

  transition:
    color .2s ease,
    background .2s ease,
    border-color .2s ease;
}


.kn-play-filter__item:hover,
.kn-play-filter__item.is-current {
  color: #fff !important;

  border-color: #ff5993;

  background: #ff5993;
}


/* ========================================
   TYPEカラー
======================================== */

/* クイズ */
.kn-quiz-card.is-quiz
.kn-quiz-card__badge {
  background: #ff9d38;
}


.kn-quiz-card.is-quiz
.kn-quiz-card__button {
  background: #ff5993;
}


/* ゲーム */
.kn-quiz-card.is-game
.kn-quiz-card__badge {
  background: #55bd98;
}


.kn-quiz-card.is-game
.kn-quiz-card__button {
  background: #55bd98;
}


.kn-quiz-card.is-game
.kn-quiz-card__noimage {
  color: #55bd98;
}


/* その他 */
.kn-quiz-card.is-play
.kn-quiz-card__badge {
  background: #62c4ee;
}


@media (max-width: 600px) {

  .kn-play-filter {
    gap: 6px;

    margin:
      20px 0 24px;
  }


  .kn-play-filter__item {
    flex: 1;

    min-width: 0;
    min-height: 40px;

    padding:
      7px 10px;

    font-size: 12px;
  }

}

/* =====================================================
   スマホヘッダー右側
   このサイトについて + ハンバーガー
===================================================== */

.kn-compact-actions {
  display: none;
}

.kn-mobile-about {
  display: none;
}


@media (max-width: 800px) {

  /* ヘッダー全体 */
  .kn-compact-inner {
    display: flex !important;
    align-items: center !important;

    gap: 0 !important;

    width: calc(100% - 24px) !important;
  }


  /* ロゴ */
  .kn-compact-logo {
    flex: 0 0 auto !important;

    margin-right: auto !important;
  }


  /* 右側グループ */
  .kn-compact-actions {
    display: flex !important;
    align-items: center !important;

    flex: 0 0 auto !important;

    gap: 8px !important;

    margin: 0 !important;
    padding: 0 !important;
  }


 /* このサイトについて */
.kn-mobile-about {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  position: static !important;

  flex: 0 0 auto !important;

  width: auto !important;
  height: 34px !important;

  margin: 0 !important;
  padding: 0 10px !important;

  gap: 5px !important;

  /* ↓ 色味を変更 */
  border: 1px solid #ffc5d8 !important;
  border-radius: 10px !important;

  background: #fff4f7 !important;

  color: #333 !important;

  font-size: 10px !important;
  font-weight: 700 !important;
  line-height: 1 !important;

  white-space: nowrap !important;

  text-decoration: none !important;

  box-shadow: 0 2px 7px rgba(255, 89, 147, 0.08) !important;
}


/* ⓘ */
.kn-mobile-about span {
  color: #ff5993 !important;

  font-size: 14px !important;
  line-height: 1 !important;
}

  /* ハンバーガー */
  .kn-compact-actions .kn-compact-menu {
    display: block !important;

    position: static !important;

    flex: 0 0 40px !important;

    width: 40px !important;
    height: 40px !important;

    margin: 0 !important;
    padding: 10px !important;

    transform: none !important;
  }

}