.tab-panel {
    display: none;
    padding: 50px 0;
}

.cat-name, .sticky .cat-name {
    position: absolute;
    z-index: 3;
    top: 0;
    left: 0;
    min-width: 12px;
    padding: 2px 4px;
    font-size: 10px;
    font-size: 0.8
			rem;
    text-align: center;
    background-color: #D4B1A9;
	  color: #ffffff;
}

.eb-ticker-section {
    display: none;
    background-color: #F5F5F5;
    color: #666666;
    font-size: var(--ema-font-size-s1);
}
.ticker-label {
    padding: 4px 12px;
    background-color: #625E58;
    color: #fff;
}

.footer-top {
    background-color:#f5f5f5;
	  color: #666666;
}
a:where(:not(.wp-element-button)) {
    text-decoration: ;
}
.archive-header-title {
    padding-bottom: 16px;
    font-size: var( --ema-font-size-s1 );
}
.main-visual__btn {
    justify-content: center;
    flex-direction: row;
    margin-top: px;
}

/* 資料請求フォーム

/* 資料請求フォーム：reCAPTCHAを送信ボタンの直前へ配置 */
form[action*="servlet.WebToLead"] {
  display: flex;
  flex-direction: column;
}
form[action*="servlet.WebToLead"] .g-recaptcha {
  order: 10;
  align-self: center;
  margin: 18px 0 14px;
}
form[action*="servlet.WebToLead"] .sidebar-lead__submit { order: 20; }
form[action*="servlet.WebToLead"] .sidebar-lead__message { order: 30; }


/* 資料請求フォーム：reCAPTCHAを枠内に収める */
form[action*="servlet.WebToLead"] .g-recaptcha {
  transform: scale(0.88);
  transform-origin: center top;
  margin-bottom: 4px;
}

form[action*="servlet.WebToLead"] .g-recaptcha { transform: scale(0.86); }


/* フッター著作権年号 */
.copyright small > a:first-child {
  font-size: 0;
}
.copyright small > a:first-child::after {
  content: "© 2026 京風きつけ教室";
  font-size: 12px;
}
/* ブログ画像上のカテゴリ帯 */
.post-list .cat-name,
.post-list .cat-name a,
.article-list .cat-name,
.article-list .cat-name a,
.post-list .post-category,
.post-list .post-category a {
  background-color: #eeeae6 !important;
  color: #4f4a47 !important;
}
/* ブログ画像上のカテゴリー表示色 */
.cat-name,
.sticky .cat-name {
  background-color: #eeeae6 !important;
  color: #4f4a47 !important;
}
/* カテゴリーページ：紹介文と日付の重なりを防ぐ */
.category .post-list__item,
.category .article-list__item {
  height: auto !important;
  min-height: 0 !important;
}

.category time {
  position: static !important;
  display: block !important;
  clear: both;
  margin-top: 16px !important;
}
/* カテゴリーページ：記事紹介文と日付の重なりを修正 */
.category .post-list__item,
.category .article-list__item,
.category .post-list__content,
.category .article-list__content {
  height: auto !important;
  min-height: 0 !important;
  padding-bottom: 20px !important;
}

.category time,
.category .post-list__date,
.category .article-list__date,
.category .post-date,
.category .entry-date {
  position: static !important;
  display: block !important;
  clear: both !important;
  margin-top: 16px !important;
}
/* カテゴリーページ：重なっている投稿日を非表示 */
.category article time,
.category .post-date,
.category .entry-date,
.category .post-list__date,
.category .article-list__date {
  display: none !important;
}

/* Home: keep the existing SUB MENU aligned with Lesson Schedule on tablet widths */
@media (min-width: 768px) and (max-width: 959px) {
  .home #page-content-section .u-row.is-right_sidebar {
    flex-direction: row;
    align-items: flex-start;
    gap: 24px;
  }
  .home #page-content-section .l-content__main {
    flex: 1 1 auto;
    width: calc(100% - 274px);
    min-width: 0;
  }
  .home #page-content-section aside.sidebar {
    flex: 0 0 250px;
    width: 250px;
    margin-top: 0;
  }
}
@media (max-width: 767px) {
  .home #page-content-section aside.sidebar {
    display: none;
  }
}

/* Home tablet: align SUB MENU with Lesson Schedule */
@media (min-width: 768px) and (max-width: 959px) {
  .home #page-content-section .u-row.is-right_sidebar {
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 24px !important;
  }
  .home #page-content-section .l-content__main {
    flex: 1 1 auto !important;
    width: calc(100% - 274px) !important;
    min-width: 0 !important;
  }
  .home #page-content-section aside.sidebar {
    display: block !important;
    flex: 0 0 250px !important;
    width: 250px !important;
    margin-top: 0 !important;
  }
}

/* Home: hide Blog list until new posts have accumulated */
.home #page-content-section #entry-section {
  display: none !important;
}


/* Home: lighter lesson chooser without an outer frame */
.home .kyofu-home-lessons {
  padding: 8px 0 0 !important;
  border: 0 !important;
  background: transparent !important;
}
.home .kyofu-home-lessons > h3 {
  display: table !important;
  margin: 0 auto 16px !important;
  padding: 0 .18em 10px !important;
  border-bottom: 0 !important;
  background: linear-gradient(transparent 58%, rgba(152,103,93,.16) 58%, rgba(152,103,93,.16) 91%, transparent 91%) !important;
}
.home .kyofu-home-lessons > h3::after {
  content: "";
  display: block;
  width: 34px;
  height: 1px;
  margin: 8px auto 0;
  background: #dfc2ba;
}


/* Home lesson heading: half-height marker only */
.home .kyofu-home-lessons > h3 {
  padding-bottom: 0 !important;
  background: linear-gradient(transparent 50%, rgba(152,103,93,.16) 50%, rgba(152,103,93,.16) 92%, transparent 92%) !important;
}
.home .kyofu-home-lessons > h3::after {
  content: none !important;
  display: none !important;
}


/* Home main content: one calm, cohesive surface */
.home #page-content-section .l-content__main > article > .article-body {
  padding: 20px 22px 24px !important;
  background: linear-gradient(180deg, #ffffff 0%, #fdf9f7 100%) !important;
  border-radius: 16px !important;
  box-shadow: 0 12px 32px rgba(112, 78, 70, .06) !important;
}
.home .kyofu-home-schedule {
  margin-bottom: 34px !important;
  padding: 18px 8px 22px !important;
  background: transparent !important;
  border-radius: 0 !important;
}
.home .kyofu-home-instructor {
  width: 100% !important;
  max-width: none !important;
  margin-bottom: 38px !important;
}
.home .kyofu-home-lessons {
  margin-bottom: 8px !important;
  padding-top: 0 !important;
}
@media (max-width: 767px) {
  .home #page-content-section .l-content__main > article > .article-body {
    padding: 16px 14px 20px !important;
    border-radius: 12px !important;
  }
}


/* Home lessons: readable soft tiles without border lines */
.home .kyofu-home-lessons > div:first-of-type {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) !important;
  gap: 10px !important;
  align-items: stretch !important;
}
.home .kyofu-home-lessons > div:first-of-type > div {
  min-height: 78px !important;
  padding: 12px 14px !important;
  background: rgba(152, 103, 93, .055) !important;
  border: 0 !important;
  border-radius: 10px !important;
  line-height: 1.65 !important;
}
.home .kyofu-home-lessons > div:first-of-type strong {
  display: block !important;
  margin-bottom: 2px !important;
  color: #7f625c !important;
  font-size: 1.02em !important;
}
@media (max-width: 480px) {
  .home .kyofu-home-lessons > div:first-of-type {
    grid-template-columns: 1fr !important;
  }
}


/* Home lessons: balanced two-column arrangement */
@media (min-width: 481px) {
  .home .kyofu-home-lessons > div:first-of-type {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .home .kyofu-home-lessons > div:first-of-type > div:last-child {
    grid-column: 1 / -1 !important;
    width: calc(50% - 5px) !important;
    justify-self: center !important;
  }
}
.home .kyofu-home-lessons > div:first-of-type br {
  display: none !important;
}
@media (max-width: 480px) {
  .home .kyofu-home-lessons > div:first-of-type > div:last-child {
    width: auto !important;
  }
}


/* Home lessons: place the separate hair category last */
.home .kyofu-home-lessons > div:first-of-type > div:nth-child(3) {
  order: 5 !important;
}
.home .kyofu-home-lessons > div:first-of-type > div:nth-child(4) {
  order: 3 !important;
}
.home .kyofu-home-lessons > div:first-of-type > div:nth-child(5) {
  order: 4 !important;
  grid-column: auto !important;
  width: auto !important;
  justify-self: stretch !important;
}
@media (min-width: 481px) {
  .home .kyofu-home-lessons > div:first-of-type > div:nth-child(3) {
    grid-column: 1 / -1 !important;
    width: calc(50% - 5px) !important;
    justify-self: center !important;
  }
}
@media (max-width: 480px) {
  .home .kyofu-home-lessons > div:first-of-type > div:nth-child(3) {
    width: auto !important;
  }
}


/* Home sidebar headings: logo-based soft color */
.home #page-content-section aside.sidebar .sidebar-widget__title {
  background: #fbf3f1 !important;
  color: #98675d !important;
  border: 0 !important;
  border-radius: 8px !important;
}
.home #page-content-section aside.sidebar .sidebar-widget__title h3,
.home #page-content-section aside.sidebar .sidebar-widget__title span {
  color: #98675d !important;
  font-weight: 600 !important;
}


/* 2026-08-28 右サイドメニューを控えめに調整（未公開） */
.home #secondary .sidebar-widget__title,
.home #js-sidebar-tracking .sidebar-widget__title {
  background: #fdf9f8 !important;
  padding: 6px 9px !important;
  border-radius: 7px !important;
}
.home #secondary .sidebar-widget__title h3,
.home #secondary .sidebar-widget__title h3 span,
.home #js-sidebar-tracking .sidebar-widget__title h3,
.home #js-sidebar-tracking .sidebar-widget__title h3 span {
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #a77d75 !important;
  letter-spacing: .03em !important;
}
.home #secondary .widget a,
.home #js-sidebar-tracking .widget a {
  font-size: 13px !important;
  line-height: 1.6 !important;
}

body.home #js-sidebar-tracking .sidebar-widget__title { background: #fdf9f8 !important; }
body.home #js-sidebar-tracking .sidebar-widget__title h3 span { color: #a77d75 !important; font-weight: 500 !important; }

body.home #page-content-section aside.sidebar #js-sidebar-tracking .sidebar-widget__title { background: #fdf9f8 !important; }
body.home #page-content-section aside.sidebar #js-sidebar-tracking .sidebar-widget__title h3 span { color: #a77d75 !important; font-weight: 500 !important; }


/* 2026-08-28 ブログ購読フォームをサイト配色へ調整（未公開） */
.home #blog_subscription-3 form {
  width: 100%;
}
.home #blog_subscription-3 #subscribe-email,
.home #blog_subscription-3 #subscribe-submit {
  margin: 0 0 9px !important;
}
.home #blog_subscription-3 input[type="email"] {
  width: 100% !important;
  height: 38px !important;
  box-sizing: border-box !important;
  padding: 7px 11px !important;
  border: 1px solid #d8b8b1 !important;
  border-radius: 8px !important;
  background: #fffdfc !important;
  color: #5f504c !important;
  font-size: 13px !important;
  box-shadow: none !important;
}
.home #blog_subscription-3 input[type="email"]::placeholder {
  color: #aa9995 !important;
}
.home #blog_subscription-3 button[name="jetpack_subscriptions_widget"] {
  width: 100% !important;
  min-height: 38px !important;
  padding: 8px 12px !important;
  border: 1px solid #98675d !important;
  border-radius: 8px !important;
  background: #98675d !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  letter-spacing: .04em !important;
  box-shadow: none !important;
}
.home #blog_subscription-3 button[name="jetpack_subscriptions_widget"]:hover {
  background: #885b52 !important;
  border-color: #885b52 !important;
}


/* 2026-08-28 ホーム画面の2ボタンを淡色化（未公開） */
.home .kyofu-home-schedule a[href*="lin.ee"],
.home #blog_subscription-3 button[name="jetpack_subscriptions_widget"] {
  background: #f2e4e1 !important;
  border: 1px solid #d7b6af !important;
  color: #765149 !important;
  box-shadow: none !important;
}
.home .kyofu-home-schedule a[href*="lin.ee"]:hover,
.home #blog_subscription-3 button[name="jetpack_subscriptions_widget"]:hover {
  background: #ead6d2 !important;
  border-color: #cba49c !important;
  color: #68453e !important;
}


@media (max-width: 480px) {
  .kyofu-home-lessons > h3 {
    font-size: 1.16em !important;
    line-height: 1.4 !important;
    letter-spacing: 0 !important;
  }
}

/* 次にご覧いただきたいご案内 共通スタイル */
.kyofu-next{margin-top:36px}.kyofu-next h2{margin:0 0 10px;color:#98675d;font-size:1.15em}.kyofu-next p{margin:0 0 16px;line-height:1.8}.kyofu-next-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.kyofu-next-link{display:flex;align-items:center;justify-content:center;min-height:54px;padding:12px 14px;background:#fff;color:#98675d!important;border:1px solid #dfc2ba;text-align:center;text-decoration:none;border-radius:4px;font-weight:700;line-height:1.5}.kyofu-next-link:hover{background:#fdfaf9}@media(max-width:767px){.sidebar{display:none!important}.kyofu-next-links{grid-template-columns:1fr}}

/* スマホでサイドバーCTA(フォーム)を表示 */
@media (max-width:767px){
aside.sidebar{display:block!important;width:100%!important}
aside.sidebar > *:not(.sidebar-lead){display:none!important}
aside.sidebar .sidebar-lead{position:static!important}
}

/* サイドバーCTAの送信ボタンを中央に */
.sidebar-lead .wpcf7-submit{display:block;margin-left:auto;margin-right:auto}

/* 印なしの箇条書き */
.kyofu-plainlist{list-style:none;margin:0 0 1.4em;padding:0}
.kyofu-plainlist li{margin:0 0 6px;padding-left:1em}


/* 完了ページ2つ:段落の余白を詰める */
.page-id-10026 .article-body > *, .page-id-9730 .article-body > *{margin-top:24px !important}
.page-id-10026 .article-body > *:first-child, .page-id-9730 .article-body > *:first-child{margin-top:0 !important}
.page-id-10026 .article-body > .kyofu-plainlist, .page-id-9730 .article-body > .kyofu-plainlist{margin-top:16px !important;margin-bottom:8px}
.page-id-10026 .article-body > .kyofu-next, .page-id-9730 .article-body > .kyofu-next{margin-top:32px !important}

/* 完了ページ:アドレスの字下げと、見出し直後の詰め */
.kyofu-plainlist li{padding-left:0}
.kyofu-plainlist li br + *,
.kyofu-plainlist li{white-space:normal}
.kyofu-plainlist li{display:block}
.page-id-10026 .article-body > h3 + ul, .page-id-9730 .article-body > h3 + ul{margin-top:8px !important}
.page-id-10026 .article-body > h2 + ul, .page-id-9730 .article-body > h2 + ul{margin-top:8px !important}