/*
Theme Name: Karupre Theme
Theme URI: https://karupre.jp/
Author: karupre
Description: カルプレ専用のSEO・レスポンシブ対応テーマ。Karupreプラグインの独自会員状態と連携します。
Version: 1.2.2
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: karupre-theme
*/

:root {
  --kp-blue: #1769e0;
  --kp-blue-dark: #105bbf;
  --kp-pink: #f42859;
  --kp-text: #1b2738;
  --kp-muted: #667085;
  --kp-border: #e6edf5;
  --kp-bg: #f4f8fc;
  --kp-inner: 1170px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--kp-text);
  background-color: var(--kp-site-bg, #ffffff);
  background-image: var(--kp-site-bg-image, none);
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.8;
}
a { color: inherit; }
img { max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }

.kp-container { width: min(100% - 32px, var(--kp-inner)); margin: 0 auto; }
.kp-skip-link { position: absolute; left: -999px; top: 8px; z-index: 99999; padding: 8px 12px; background: #fff; color: #000; }
.kp-skip-link:focus { left: 8px; }

/* Header */
.kp-header { width: 100%; background: #fff; border-bottom: 1px solid var(--kp-border); position: relative; z-index: 1000; }
.kp-header__inner { width: min(100% - 32px, var(--kp-inner)); min-height: 76px; margin: 0 auto; display: flex; align-items: center; gap: 28px; }
.kp-header__brand { flex: 0 0 auto; display: inline-flex; align-items: center; text-decoration: none; line-height: 0; }
.kp-header__brand .kp-header__logo { display: block; width: var(--kp-logo-pc, 180px); max-width: none; height: auto; max-height: none; object-fit: contain; }
.kp-header__site-name { font-size: 22px; font-weight: 800; color: var(--kp-blue); letter-spacing: .02em; }
.kp-header__nav { flex: 1 1 auto; min-width: 0; }
.kp-primary-menu { list-style: none; display: flex; justify-content: flex-end; align-items: center; gap: 40px; margin: 0; padding: 0; }
.kp-primary-menu > li { position: static; }
.kp-primary-menu a { text-decoration: none; color: var(--kp-text); font-size: 15px; font-weight: 700; }
.kp-primary-menu > li > a { display: inline-flex; align-items: center; min-height: 76px; }
.kp-primary-menu > li.menu-item-has-children > a { gap: 7px; }
.kp-primary-menu > li.menu-item-has-children > a::after {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-top: -4px;
  border-right: 1.8px solid currentColor;
  border-bottom: 1.8px solid currentColor;
  transform: rotate(45deg);
}
.kp-primary-menu a:hover { color: var(--kp-blue); }
.kp-primary-menu .sub-menu { display: none; list-style: none; }
.kp-primary-menu > li.menu-item-has-children:hover > .sub-menu,
.kp-primary-menu > li.menu-item-has-children:focus-within > .sub-menu { display: grid; }
.kp-primary-menu > li > .sub-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  width: 100%;
  margin: 0;
  padding: 28px calc((100vw - min(100vw - 32px, var(--kp-inner))) / 2);
  background: #fff;
  border-top: 1px solid var(--kp-border);
  border-bottom: 1px solid var(--kp-border);
  box-shadow: 0 16px 32px rgba(16, 35, 66, .08);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px 28px;
}
.kp-primary-menu > li > .sub-menu a { display: flex; gap: 8px; align-items: flex-start; padding: 9px 0; font-size: 14px; font-weight: 600; color: #344054; }
.kp-primary-menu > li > .sub-menu a::before { content: '›'; color: var(--kp-blue); font-size: 18px; line-height: 1.2; font-weight: 800; }
.kp-primary-menu > li > .sub-menu .sub-menu { display: block; margin: 0 0 10px 18px; padding: 0; }
.kp-header__action { flex: 0 0 auto; display: flex; align-items: center; gap: 10px; }
.kp-header__action .karupre-bookmark { flex: 0 0 auto; }
.kp-header__action .karupre-bookmark .karupre-bookmark__button { min-height: 42px; padding: 9px 14px; border-color: var(--kp-border); color: var(--kp-text); font-size: 13px; font-weight: 700; white-space: nowrap; }
.kp-header__action .karupre-bookmark .karupre-bookmark__button:hover { border-color: #c3d2e3; background: #f7faff; color: var(--kp-blue); }
.kp-account-button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 42px; padding: 10px 18px; border-radius: 7px; background: var(--kp-pink); color: #fff; font-size: 14px; font-weight: 800; text-decoration: none; line-height: 1.2; }
.kp-account-button:hover { color: #fff; filter: brightness(.96); }
.kp-account-button__icon img { display: block; width: 18px; height: 18px; object-fit: contain; }
.kp-sp-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid var(--kp-border); border-radius: 10px; background: #fff; color: var(--kp-text); }
.kp-sp-toggle span { display: block; width: 20px; height: 2px; background: currentColor; position: relative; }
.kp-sp-toggle span::before, .kp-sp-toggle span::after { content: ''; position: absolute; left: 0; width: 20px; height: 2px; background: currentColor; }
.kp-sp-toggle span::before { top: -7px; }
.kp-sp-toggle span::after { top: 7px; }

/* PCのみ、ヘッダー内を画面幅いっぱいに広げる（左右16pxの余白は維持） */
@media (min-width: 901px) {
  .kp-header__inner {
    width: calc(100% - 96px);
    max-width: none;
    margin: 0 auto;
  }
}

/* Mobile drawer */
.kp-sp-panel { position: fixed; inset: 0 0 0 auto; width: min(88vw, 380px); background: #fff; transform: translateX(105%); transition: transform .25s ease; z-index: 2000; overflow-y: auto; box-shadow: -16px 0 32px rgba(16,35,66,.18); }
.kp-sp-panel.is-open { transform: translateX(0); }
.kp-sp-panel__head { padding: 18px 18px 12px; border-bottom: 1px solid var(--kp-border); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.kp-sp-panel__close { width: 40px; height: 40px; border: 1px solid var(--kp-border); border-radius: 10px; background: #fff; font-size: 24px; line-height: 1; }
.kp-sp-panel__account { padding: 16px 18px; border-bottom: 1px solid var(--kp-border); }
.kp-sp-widget { padding: 14px 18px; border-bottom: 1px solid var(--kp-border); }
.kp-sp-menu { list-style: none; margin: 0; padding: 8px 18px 24px; }
.kp-sp-menu li { border-bottom: 1px solid var(--kp-border); }
.kp-sp-menu a { display: flex; align-items: center; min-height: 48px; text-decoration: none; font-weight: 700; color: var(--kp-text); }
.kp-sp-menu .sub-menu { list-style: none; margin: 0; padding: 0 0 0 16px; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .28s ease, opacity .2s ease, padding-bottom .28s ease; }
.kp-sp-menu .is-sub-open > .sub-menu { opacity: 1; padding-bottom: 8px; }
.kp-sp-menu li.menu-item-has-children { position: relative; }
.kp-sp-menu li.menu-item-has-children > a { padding-right: 46px; }
.kp-sp-sub-toggle { position: absolute; top: 6px; right: 0; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; border: 0; background: #f2f7fd; border-radius: 8px; color: var(--kp-blue); cursor: pointer; transition: transform .2s ease, background-color .2s ease; }
.kp-sp-sub-toggle svg { display: block; width: 18px; height: 18px; }
.kp-sp-menu .is-sub-open > .kp-sp-sub-toggle { transform: rotate(180deg); background: #e6f0fd; }
.kp-sp-overlay { position: fixed; inset: 0; background: rgba(16,35,66,.35); opacity: 0; visibility: hidden; transition: .2s ease; z-index: 1999; }
.kp-sp-overlay.is-open { opacity: 1; visibility: visible; }

/* Breadcrumb */
.kp-breadcrumb { background: #fff; border-bottom: 1px solid var(--kp-border); }
.kp-breadcrumb__inner { width: min(100% - 32px, var(--kp-inner)); margin: 0 auto; padding: 10px 0; color: var(--kp-muted); font-size: 13px; white-space: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.kp-breadcrumb a { color: var(--kp-muted); text-decoration: none; }
.kp-breadcrumb a:hover { color: var(--kp-blue); }
.kp-breadcrumb__sep { margin: 0 8px; color: #b7c3d1; }

/* Page title */
.kp-page-title { width: 100%; background: #f8f8f8; color: #333; }
.kp-page-title__inner { width: min(100% - 32px, var(--kp-inner)); margin: 0 auto; padding: 20px 0; text-align: center; }
.kp-page-title h1 { margin: 0; color: #333; font-size: 18px; line-height: 1.4; font-weight: 800; }
.kp-below-h1-shortcode { width: 100%; }
.kp-below-h1-shortcode__inner { width: min(100% - 32px, var(--kp-inner)); margin: 0 auto; }

/* Layout */
.kp-main { width: min(100% - 32px, var(--kp-inner)); margin: 0 auto; padding: var(--kp-page-pad-top, 44px) var(--kp-page-pad-right, 0) var(--kp-page-pad-bottom, 64px) var(--kp-page-pad-left, 0); }
.kp-main--front { padding: var(--kp-front-pad-top, 0) var(--kp-front-pad-right, 0) var(--kp-front-pad-bottom, 64px) var(--kp-front-pad-left, 0); }
.kp-content > *:first-child { margin-top: 0; }
.kp-content > *:last-child { margin-bottom: 0; }
.kp-content a { color: var(--kp-blue); }
.kp-content img { border-radius: 8px; }
.kp-member-block { margin-top: 32px; }
.kp-member-block--free, .kp-member-block--pro { padding: 0; }

/* Footer */
.kp-footer { background: #fff; border-top: 1px solid #dfe5ec; }
.kp-footer__inner { width: min(100% - 32px, var(--kp-inner)); margin: 0 auto; padding: 42px 0 24px; }
.kp-footer__widgets { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin-bottom: 34px; }
.kp-footer__widget h2, .kp-footer__widget h3 { margin: 0 0 12px; font-size: 15px; color: var(--kp-text); }
.kp-footer__widget ul { list-style: none; margin: 0; padding: 0; }
.kp-footer__widget li { margin: 6px 0; }
.kp-footer__widget a { text-decoration: none; color: var(--kp-muted); font-size: 14px; }
.kp-footer__widget a:hover { color: var(--kp-blue); }
.kp-footer__logo { text-align: center; margin: 20px 0 18px; }
.kp-footer__logo img { width: var(--kp-logo-pc, 180px); max-height: 58px; object-fit: contain; }
.kp-footer__site-name { color: var(--kp-blue); font-size: 20px; font-weight: 800; }
.kp-footer__links { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 22px; margin: 0 0 14px; padding: 0; list-style: none; }
.kp-footer__links a { color: var(--kp-muted); text-decoration: none; font-size: 13px; }
.kp-footer__credit { text-align: center; color: #98a2b3; font-size: 12px; }

.kp-search-form { display: flex; gap: 8px; }
.kp-search-form input { flex: 1; min-height: 44px; border: 1px solid var(--kp-border); border-radius: 8px; padding: 0 12px; }
.kp-search-form button { min-height: 44px; border: 0; border-radius: 8px; background: var(--kp-blue); color: #fff; padding: 0 16px; font-weight: 700; }


/* Blog */
.kp-main--blog,
.kp-main--single { padding-top: 36px; }
.kp-main--single { width: min(100% - 32px, var(--kp-inner)); }
.kp-blog-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 36px; align-items: start; width: 100%; }
.kp-blog-layout--no-sidebar { grid-template-columns: minmax(0, 1fr); }
.kp-blog-layout__main { min-width: 0; padding: 30px; border: 1px solid #e3e7ec; background: #fff; }
.kp-blog { width: 100%; }
.kp-blog-local-title { margin: 0 0 28px; color: var(--kp-text); font-size: 28px; font-weight: 800; line-height: 1.5; text-align: left; }
.kp-blog-archive-description { margin: 0 0 28px; color: var(--kp-muted); font-size: 14px; }
.kp-blog-archive-description > *:first-child { margin-top: 0; }
.kp-blog-archive-description > *:last-child { margin-bottom: 0; }
.kp-blog-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; }
.kp-blog-card { min-width: 0; overflow: hidden; border: 1px solid var(--kp-border); border-radius: 10px; background: #fff; }
.kp-blog-card__media { display: block; position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #f1f5f9; text-decoration: none; }
.kp-blog-card__image { display: block; width: 100%; height: 100%; border-radius: 0 !important; object-fit: cover; transition: transform .2s ease; }
.kp-blog-card:hover .kp-blog-card__image { transform: scale(1.025); }
.kp-blog-card__media--empty { background: linear-gradient(135deg, #f7faff 0%, #eaf2fc 100%); }
.kp-blog-card__media--empty::before, .kp-blog-card__media--empty::after { content: ''; position: absolute; border-radius: 50%; background: rgba(23, 105, 224, .10); }
.kp-blog-card__media--empty::before { width: 92px; height: 92px; left: calc(50% - 62px); top: calc(50% - 40px); }
.kp-blog-card__media--empty::after { width: 66px; height: 66px; left: calc(50% + 4px); top: calc(50% - 16px); }
.kp-blog-card__body { padding: 18px 18px 20px; }
.kp-blog-card__categories { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 9px; }
.kp-blog-card__categories a { display: inline-flex; padding: 3px 8px; border-radius: 5px; background: #eef5ff; color: var(--kp-blue); font-size: 11px; font-weight: 700; line-height: 1.45; text-decoration: none; }
.kp-blog-card__date { display: block; margin-bottom: 5px; color: #98a2b3; font-size: 12px; line-height: 1.5; }
.kp-blog-card__title { margin: 0; font-size: 18px; line-height: 1.55; font-weight: 800; }
.kp-blog-card__title a { color: var(--kp-text); text-decoration: none; }
.kp-blog-card__title a:hover { color: var(--kp-blue); }
.kp-blog-card__excerpt { margin: 11px 0 0; color: var(--kp-muted); font-size: 13px; line-height: 1.75; }
.kp-blog-card__more { display: inline-flex; align-items: center; gap: 5px; margin-top: 14px; color: var(--kp-blue); font-size: 13px; font-weight: 700; text-decoration: none; }
.kp-blog-card__more span { font-size: 18px; line-height: 1; }
.kp-blog-pagination { margin-top: 38px; }
.kp-blog-pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; }
.kp-blog-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; padding: 0 10px; border: 1px solid #d7e1ec; border-radius: 7px; background: #fff; color: #475467; font-size: 13px; font-weight: 700; text-decoration: none; }
.kp-blog-pagination .page-numbers:hover, .kp-blog-pagination .page-numbers.current { border-color: var(--kp-blue); background: var(--kp-blue); color: #fff; }
.kp-blog-empty { padding: 32px 0; color: var(--kp-muted); text-align: center; }

/* Blog sidebar */
.kp-blog-sidebar { min-width: 0; }
.kp-blog-widget { margin: 0 0 28px; padding: 0 0 24px; border-bottom: 1px solid var(--kp-border); }
.kp-blog-widget:last-child { margin-bottom: 0; }
.kp-blog-widget__title,
.kp-blog-widget > .wp-block-heading { margin: 0 0 14px; padding: 0 0 0 10px; border-left: 3px solid var(--kp-blue); color: var(--kp-text); font-size: 16px; font-weight: 800; line-height: 1.5; }
.kp-blog-widget ul { margin: 0; padding: 0; list-style: none; }
.kp-blog-widget li { margin: 0; padding: 9px 0; border-bottom: 1px solid #edf1f5; color: var(--kp-muted); font-size: 13px; line-height: 1.6; }
.kp-blog-widget li:first-child { padding-top: 0; }
.kp-blog-widget li:last-child { padding-bottom: 0; border-bottom: 0; }
.kp-blog-widget a { color: #475467; text-decoration: none; }
.kp-blog-widget a:hover { color: var(--kp-blue); }
.kp-blog-widget .current-cat > a { color: var(--kp-blue); font-weight: 700; }
.kp-blog-widget .post-date { display: block; margin-top: 2px; color: #98a2b3; font-size: 11px; }
.kp-blog-widget .wp-block-search__inside-wrapper,
.kp-blog-widget .search-form,
.kp-blog-widget .kp-search-form { display: flex; gap: 7px; }
.kp-blog-widget .wp-block-search__input,
.kp-blog-widget input[type="search"] { min-width: 0; width: 100%; height: 42px; margin: 0; padding: 0 11px; border: 1px solid #d7e1ec; border-radius: 7px; background: #fff; color: var(--kp-text); font: inherit; font-size: 13px; }
.kp-blog-widget .wp-block-search__button,
.kp-blog-widget input[type="submit"],
.kp-blog-widget button[type="submit"] { flex: 0 0 auto; min-height: 42px; margin: 0; padding: 0 13px; border: 0; border-radius: 7px; background: var(--kp-blue); color: #fff; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.kp-blog-widget .wp-block-search__button:hover,
.kp-blog-widget input[type="submit"]:hover,
.kp-blog-widget button[type="submit"]:hover { background: var(--kp-blue-dark); }
.kp-blog-widget img { display: block; width: 100%; height: auto; border-radius: 8px; }
.kp-blog-widget figure { margin: 0; }
.kp-blog-widget p:first-child { margin-top: 0; }
.kp-blog-widget p:last-child { margin-bottom: 0; }
.kp-blog-widget .wp-block-image a { display: block; }

/* Single post */
.kp-blog-single__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 20px; color: var(--kp-muted); font-size: 13px; }
.kp-blog-single__categories { display: flex; flex-wrap: wrap; gap: 6px; }
.kp-blog-single__categories a { display: inline-flex; padding: 4px 9px; border-radius: 5px; background: #eef5ff; color: var(--kp-blue); font-size: 12px; font-weight: 700; line-height: 1.4; text-decoration: none; }
.kp-blog-single__dates { display: flex; flex-wrap: wrap; gap: 10px; }
.kp-blog-single__dates time { white-space: nowrap; }
.kp-blog-single__eyecatch { margin: 0 0 34px; }
.kp-blog-single__eyecatch img { display: block; width: 100%; height: auto; border-radius: 10px; }
.kp-blog-single__body { font-size: 16px; line-height: 1.9; }
.kp-blog-single__body > *:first-child { margin-top: 0; }
.kp-blog-single__body h2 { margin: 60px 0 24px; padding: 13px 16px; border-left: 4px solid var(--kp-blue); background: #f5f8fc; font-size: 25px; line-height: 1.5; }
.kp-blog-single__body h3 { margin: 46px 0 20px; padding-bottom: 8px; border-bottom: 1px solid #dfe7f0; font-size: 21px; line-height: 1.5; }
.kp-blog-single__body h4 { margin: 30px 0 12px; font-size: 18px; line-height: 1.55; }
.kp-blog-single__body p { margin: 0 0 1.45em; }
.kp-blog-single__body ul, .kp-blog-single__body ol { margin: 0 0 1.45em; padding-left: 1.6em; }
.kp-blog-single__body blockquote { margin: 28px 0; padding: 18px 20px; border-left: 4px solid #a8c8f2; background: #f7faff; color: #475467; }
.kp-blog-single__body table { width: 100%; margin: 28px 0; border-collapse: collapse; font-size: 14px; }
.kp-blog-single__body th, .kp-blog-single__body td { padding: 10px 12px; border: 1px solid #dfe7f0; text-align: left; vertical-align: top; }
.kp-blog-single__body th { background: #f5f8fc; font-weight: 700; }
.kp-blog-single__body a { color: var(--kp-blue); }
.kp-blog-single__body img { border-radius: 8px; }
.kp-blog-single__tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 38px; padding-top: 22px; border-top: 1px solid var(--kp-border); }
.kp-blog-single__tags a { display: inline-flex; padding: 5px 10px; border: 1px solid #d7e1ec; border-radius: 999px; color: #667085; font-size: 12px; line-height: 1.4; text-decoration: none; }
.kp-blog-single__tags a::before { content: '#'; margin-right: 2px; color: #98a2b3; }
.kp-blog-post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 44px; }
.kp-blog-post-nav a { display: block; min-height: 74px; padding: 14px 16px; border: 1px solid var(--kp-border); border-radius: 8px; background: #fff; color: var(--kp-text); font-size: 13px; line-height: 1.6; text-decoration: none; }
.kp-blog-post-nav a:hover { border-color: #b9d0ee; color: var(--kp-blue); }
.kp-blog-post-nav .nav-next { text-align: right; }

@media (max-width: 900px) {
  .kp-blog-layout { grid-template-columns: minmax(0, 1fr); gap: 42px; }
  .kp-blog-layout__main { padding: 26px; }
  .kp-blog-local-title { margin-bottom: 24px; font-size: 26px; }
  .kp-blog-sidebar { padding-top: 28px; border-top: 1px solid var(--kp-border); }
  .kp-blog-single__body h2 { font-size: 23px; }
  .kp-blog-single__body h3 { font-size: 20px; }
  .kp-header__inner { min-height: 64px; }
  .kp-header__brand .kp-header__logo { width: var(--kp-logo-sp, 150px); height: auto; max-height: none; }
  .kp-header__nav, .kp-header__action { display: none; }
  .kp-sp-toggle { display: inline-flex; margin-left: auto; }
  .kp-page-title__inner { padding: 26px 0; }
  .kp-page-title h1 { font-size: 20px; }
  .kp-main { padding: var(--kp-page-pad-top-sp, 32px) var(--kp-page-pad-right-sp, 0) var(--kp-page-pad-bottom-sp, 52px) var(--kp-page-pad-left-sp, 0); }
  .kp-main--front { padding: var(--kp-front-pad-top-sp, 0) var(--kp-front-pad-right-sp, 0) var(--kp-front-pad-bottom-sp, 52px) var(--kp-front-pad-left-sp, 0); }
  .kp-footer__widgets { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .kp-blog-grid { grid-template-columns: 1fr; gap: 18px; }
  .kp-blog-layout__main { padding: 20px 16px; }
  .kp-blog-local-title { margin-bottom: 22px; font-size: 23px; line-height: 1.55; }
  .kp-main--single { width: min(100% - 24px, var(--kp-inner)); }
  .kp-main--blog, .kp-main--single { padding-top: 28px; }
  .kp-blog-card__body { padding: 16px; }
  .kp-blog-card__title { font-size: 17px; }
  .kp-blog-single__eyecatch { margin-bottom: 26px; }
  .kp-blog-single__body { font-size: 15px; line-height: 1.9; }
  .kp-blog-single__body h2 { margin-top: 48px; padding: 12px 13px; font-size: 21px; }
  .kp-blog-single__body h3 { margin-top: 38px; font-size: 19px; }
  .kp-blog-single__body table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; white-space: nowrap; }
  .kp-blog-post-nav { grid-template-columns: 1fr; }
  .kp-blog-post-nav .nav-next { text-align: left; }
  .kp-blog-sidebar { padding-top: 24px; }
  .kp-blog-widget { margin-bottom: 24px; padding-bottom: 20px; }
  .kp-container, .kp-main, .kp-header__inner, .kp-breadcrumb__inner, .kp-page-title__inner, .kp-below-h1-shortcode__inner, .kp-footer__inner { width: min(100% - 24px, var(--kp-inner)); }
  .kp-footer__widgets { grid-template-columns: 1fr; gap: 18px; }
  .kp-account-button { width: 100%; }
}

/* Drawer open state */
html.kp-drawer-open, body.kp-drawer-open { overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
  .kp-sp-panel, .kp-sp-overlay, .kp-sp-menu .sub-menu, .kp-sp-sub-toggle { transition: none !important; }
}


/* Back to top */
.kp-back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1200;
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid #d8e4f1;
  border-radius: 10px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 8px 24px rgba(16,35,66,.12);
  color: var(--kp-blue);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .2s ease, visibility .2s ease, transform .2s ease, border-color .2s ease, background-color .2s ease;
}
.kp-back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.kp-back-to-top:hover { border-color: #b7cce5; background: #f7faff; color: var(--kp-blue-dark); }
.kp-back-to-top:focus-visible { outline: 2px solid var(--kp-blue); outline-offset: 3px; }
.kp-back-to-top svg { display: block; width: 20px; height: 20px; }

@media (max-width: 600px) {
  .kp-back-to-top { right: 14px; bottom: 14px; width: 44px; height: 44px; border-radius: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  .kp-back-to-top { transition: none !important; }
}

/* =========================================================
   Karupre Bookmark
========================================================= */

.karupre-bookmark {
	position: relative;
	text-align: center;
}


/* ブックマークボタン */

.karupre-bookmark .karupre-bookmark__button {
	-webkit-appearance: none;
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	margin: 0;
	padding: 9px 15px;
	border: 1px solid #d0d0d0;
	border-radius: 7px;
	background: #fff;
	box-shadow: none;
	color: #444;
	font-family: inherit;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.5;
	text-decoration: none;
	cursor: pointer;
	transition:
		background-color 0.15s ease,
		border-color 0.15s ease;
}

.karupre-bookmark .karupre-bookmark__button:hover {
	border-color: #b8b8b8;
	background: #f8f8f8;
	color: #333;
}

.karupre-bookmark .karupre-bookmark__button:focus-visible {
	outline: 2px solid #2878d8;
	outline-offset: 2px;
}


/* 背景 */

.karupre-bookmark .karupre-bookmark__overlay {
	display: none;
	position: fixed;
	z-index: 999999;
	inset: 0;
	box-sizing: border-box;
	padding: 20px;
	background: rgba(0, 0, 0, 0.42);
	align-items: center;
	justify-content: center;
}

.karupre-bookmark .karupre-bookmark__overlay.is-open {
	display: flex;
}


/* モーダル本体 */

.karupre-bookmark .karupre-bookmark__modal {
	position: relative;
	box-sizing: border-box;
	width: 100%;
	max-width: 460px;
	padding: 32px 28px 26px;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.16);
	color: #333;
	text-align: center;
}


/* 閉じる */

.karupre-bookmark .karupre-bookmark__close {
	-webkit-appearance: none;
	appearance: none;
	position: absolute;
	top: 9px;
	right: 10px;
	display: flex;
	width: 38px;
	height: 38px;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
	color: #777;
	font-family: inherit;
	font-size: 28px;
	font-weight: 300;
	line-height: 1;
	cursor: pointer;
}

.karupre-bookmark .karupre-bookmark__close:hover {
	color: #222;
}


/* アイコン */

.karupre-bookmark .karupre-bookmark__icon {
	margin: 0 0 11px;
	color: #2878d8;
	font-size: 34px;
	line-height: 1;
}


/* タイトル */

.karupre-bookmark .karupre-bookmark__title {
	margin: 0 0 9px;
	padding: 0;
	color: #222;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.5;
}


/* リード */

.karupre-bookmark .karupre-bookmark__lead {
	margin: 0 0 20px;
	padding: 0;
	color: #666;
	font-size: 14px;
	line-height: 1.8;
}


/* ブラウザ別説明 */

.karupre-bookmark .karupre-bookmark__guide {
	box-sizing: border-box;
	margin: 0 0 18px;
	padding: 16px 17px;
	border: 1px solid #e1e1e1;
	border-radius: 7px;
	background: #fafafa;
	color: #444;
	font-size: 14px;
	line-height: 1.8;
	text-align: left;
}

.karupre-bookmark .karupre-bookmark__guide strong {
	display: block;
	margin: 0 0 4px;
	color: #222;
	font-weight: 700;
}

.karupre-bookmark .karupre-bookmark__guide span {
	display: block;
}

.karupre-bookmark .karupre-bookmark__guide kbd {
	display: inline-block;
	min-width: 27px;
	padding: 2px 7px;
	border: 1px solid #ccc;
	border-bottom-width: 2px;
	border-radius: 5px;
	background: #fff;
	box-shadow: none;
	color: #333;
	font-family: inherit;
	font-size: 13px;
	text-align: center;
}


/* URLコピー */

.karupre-bookmark .karupre-bookmark__copy {
	-webkit-appearance: none;
	appearance: none;
	display: block;
	box-sizing: border-box;
	width: 100%;
	margin: 0;
	padding: 10px 15px;
	border: 1px solid #d0d0d0;
	border-radius: 7px;
	background: #fff;
	box-shadow: none;
	color: #444;
	font-family: inherit;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.5;
	cursor: pointer;
}

.karupre-bookmark .karupre-bookmark__copy:hover {
	border-color: #b8b8b8;
	background: #f8f8f8;
}


/* コピー結果 */

.karupre-bookmark .karupre-bookmark__message {
	min-height: 18px;
	margin: 8px 0 -6px;
	padding: 0;
	color: #2878d8;
	font-size: 12px;
	line-height: 1.5;
}


/* モーダル表示中 */

html.karupre-site-modal-open,
body.karupre-site-modal-open {
	overflow: hidden;
}


/* スマートフォン */

@media screen and (max-width: 600px) {

	.karupre-bookmark .karupre-bookmark__overlay {
		padding: 15px;
	}

	.karupre-bookmark .karupre-bookmark__modal {
		max-width: 100%;
		padding: 30px 20px 23px;
	}

	.karupre-bookmark .karupre-bookmark__title {
		font-size: 18px;
	}

	.karupre-bookmark .karupre-bookmark__lead {
		font-size: 13px;
	}

	.karupre-bookmark .karupre-bookmark__guide {
		padding: 14px 15px;
		font-size: 13px;
	}
}

/*********************************
良くある質問
*********************************/
/* ========================================
   Karupre FAQ
======================================== */

.karupre-faq {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 14px 20px;
  width: 100%;
}


/* ========================================
   FAQ タイトル
======================================== */

.karupre-faq .karupre-faq__title {
  grid-column: 1 / -1;
  padding: 0 0 14px;
  border-bottom: 2px solid #e5e7eb;
  color: #1f2937;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.5;
	margin-top:70px;
	text-align:center;
}


/* ========================================
   FAQ 1項目
======================================== */

.karupre-faq .karupre-faq__item {
  width: 100%;
  margin: 0;
  border: 1px solid #dfe5ec;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  box-sizing: border-box;
}


/* ========================================
   質問
======================================== */

.karupre-faq .karupre-faq__question {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 20px 22px;
  box-sizing: border-box;
  cursor: pointer;
  list-style: none;
  background: #fff;
  transition: background-color 0.2s ease;
}

.karupre-faq .karupre-faq__question::-webkit-details-marker {
  display: none;
}

.karupre-faq .karupre-faq__question::marker {
  display: none;
  content: "";
}

.karupre-faq .karupre-faq__question:hover {
  background: #f8fafc;
}


/* ========================================
   Q / A アイコン
======================================== */

.karupre-faq .karupre-faq__q,
.karupre-faq .karupre-faq__a {
  display: flex;
  flex: 0 0 32px;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  box-sizing: border-box;
}

.karupre-faq .karupre-faq__q {
  background: #1769e0;
  color: #fff;
}

.karupre-faq .karupre-faq__a {
  background: #eef5ff;
  color: #1769e0;
}


/* ========================================
   質問テキスト
======================================== */

.karupre-faq .karupre-faq__question-text {
  flex: 1;
  min-width: 0;
  color: #222;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.7;
}


/* ========================================
   ＋ / － アイコン
======================================== */

.karupre-faq .karupre-faq__icon {
  position: relative;
  display: block;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
}

.karupre-faq .karupre-faq__icon::before,
.karupre-faq .karupre-faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: #64748b;
  transform: translate(-50%, -50%);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.karupre-faq .karupre-faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.karupre-faq .karupre-faq__item[open] .karupre-faq__icon::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(0deg);
}


/* ========================================
   回答
======================================== */

.karupre-faq .karupre-faq__answer {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 0 22px;
  padding: 20px 0 22px;
  border-top: 1px solid #edf0f3;
  box-sizing: border-box;
}

.karupre-faq .karupre-faq__answer-text {
  flex: 1;
  min-width: 0;
  padding-top: 2px;
  color: #475569;
  font-size: 15px;
  line-height: 1.9;
}

.karupre-faq .karupre-faq__answer-text p {
  margin: 0;
}

.karupre-faq .karupre-faq__answer-text p + p {
  margin-top: 12px;
}


/* ========================================
   フォーカス
======================================== */

.karupre-faq .karupre-faq__question:focus-visible {
  outline: 2px solid #1769e0;
  outline-offset: -2px;
}


/* ========================================
   Tablet
======================================== */

@media screen and (max-width: 900px) {

  .karupre-faq {
    gap: 14px;
  }

  .karupre-faq .karupre-faq__question {
    gap: 12px;
    padding: 18px;
  }

  .karupre-faq .karupre-faq__answer {
    gap: 12px;
    margin: 0 18px;
    padding: 18px 0 20px;
  }

  .karupre-faq .karupre-faq__question-text {
    font-size: 15px;
  }
}


/* ========================================
   Smartphone
======================================== */

@media screen and (max-width: 767px) {

  .karupre-faq {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .karupre-faq .karupre-faq__title {
    grid-column: auto;
    margin: 0 0 2px;
    padding-bottom: 12px;
    font-size: 19px;
  }

  .karupre-faq .karupre-faq__question {
    gap: 11px;
    padding: 17px 15px;
  }

  .karupre-faq .karupre-faq__q,
  .karupre-faq .karupre-faq__a {
    flex-basis: 28px;
    width: 28px;
    height: 28px;
    font-size: 14px;
  }

  .karupre-faq .karupre-faq__question-text {
    font-size: 15px;
    line-height: 1.65;
  }

  .karupre-faq .karupre-faq__icon {
    flex-basis: 18px;
    width: 18px;
    height: 18px;
  }

  .karupre-faq .karupre-faq__icon::before,
  .karupre-faq .karupre-faq__icon::after {
    width: 14px;
  }

  .karupre-faq .karupre-faq__answer {
    gap: 11px;
    margin: 0 15px;
    padding: 17px 0 19px;
  }

  .karupre-faq .karupre-faq__answer-text {
    font-size: 14px;
    line-height: 1.85;
  }
}







/*********************************
ブックマークボタン
*********************************/

.karupre-file-limit__type {
  gap: 7px;
}

.karupre-file-limit__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  color: #4c82a6;
}

.karupre-file-limit__icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

@media (max-width: 600px) {
  .karupre-file-limit__type {
    gap: 5px;
  }

  .karupre-file-limit__icon {
    width: 17px;
    height: 17px;
  }
}
.karupre-file-limit {
  display: grid;
  grid-template-columns: 20% 40% 40%;
  width: 100%;
  max-width: 950px;
  margin: 14px auto;
  overflow: hidden;
  border: 1px solid #d7e5ee;
  border-radius: 7px;
  background: #f6faff;
  color: #465662;
}

.karupre-file-limit__type {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 12px;
  background:#eef6ff;
  border-right: 1px solid #d7e5ee;
  font-size: 14px;
  font-weight: 700;
  color: #2866ad;
  text-align: center;
}

.karupre-file-limit__data {
  padding: 10px 14px 12px;
  border-right: 1px solid #d7e5ee;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
  white-space: nowrap;
}

.karupre-file-limit__data:last-child {
  border-right: 0;
}

.karupre-file-limit__data p {
  margin: 0 0 4px;
  padding: 0;
  font-size: 11px;
  line-height: 1.4;
  font-weight: 700;
  color: #657985;
}

.karupre-file-limit__data strong {
  font-size: 16px;
  font-weight: 700;
  color: #243c4c;
}

@media (max-width: 600px) {
  .karupre-file-limit {
    grid-template-columns: 70px 1fr 1fr;
  }

  .karupre-file-limit__type {
    padding: 12px 5px;
    font-size: 12px;
  }

  .karupre-file-limit__data {
    padding: 9px 4px 11px;
    font-size: 10px;
  }

  .karupre-file-limit__data p {
    font-size: 10px;
  }

  .karupre-file-limit__data strong {
    font-size: 14px;
  }
}
















/*********************************
固定共通
*********************************/



.karupre-h2-title {
  color: #17283c;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.4;
	text-align: center;
	margin-bottom:30px;
	margin-top:60px;
}

.karupre-lead {
  margin: 12px 0 0;
  color: #34495f;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.8;
	text-align: center;
	margin-bottom:50px;
}








/* ========================================
   カルプレ
   特定商取引法に基づく表記
======================================== */

.karupre-legal {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    color: #333;
    font-size: 15px;
    line-height: 1.8;
}

.karupre-legal .karupre-legal-table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
    border-spacing: 0;
    background: #fff;
    table-layout: fixed;
}

.karupre-legal .karupre-legal-table th,
.karupre-legal .karupre-legal-table td {
    padding: 20px 22px;
    border: 1px solid #e3e6ea;
    vertical-align: top;
    text-align: left;
    line-height: 1.8;
}

.karupre-legal .karupre-legal-table th {
    width: 230px;
    background: #f6f8fa;
    color: #222;
    font-weight: 700;
}

.karupre-legal .karupre-legal-table td {
    background: #fff;
    color: #333;
    word-break: break-word;
}

.karupre-legal .karupre-legal-table strong {
    font-weight: 700;
}

.karupre-legal .karupre-legal-table a {
    color: #1769d2;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.karupre-legal .karupre-legal-table a:hover {
    text-decoration: none;
}

.karupre-legal .karupre-legal-date {
    margin: 24px 0 0;
    color: #666;
    font-size: 13px;
    text-align: right;
}


/* ========================================
   スマートフォン
======================================== */

@media screen and (max-width: 767px) {

    .karupre-legal {
        font-size: 14px;
        line-height: 1.75;
    }

    .karupre-legal .karupre-legal-table,
    .karupre-legal .karupre-legal-table tbody,
    .karupre-legal .karupre-legal-table tr,
    .karupre-legal .karupre-legal-table th,
    .karupre-legal .karupre-legal-table td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

    .karupre-legal .karupre-legal-table tr {
        margin: 0;
    }

    .karupre-legal .karupre-legal-table th {
        padding: 13px 15px;
        border-bottom: 0;
        font-size: 14px;
    }

    .karupre-legal .karupre-legal-table td {
        padding: 15px;
    }

    .karupre-legal .karupre-legal-table tr + tr th {
        border-top: 0;
    }

    .karupre-legal .karupre-legal-date {
        margin-top: 18px;
        font-size: 12px;
        text-align: left;
    }

}

























/* =========================================================
   Karupre Price
========================================================= */

.karupre-price,
.karupre-price *,
.karupre-price *::before,
.karupre-price *::after {
  box-sizing: border-box;
}

.karupre-price {
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
  padding: 50px 20px 70px;
  color: #1f2f43;
}






/* =========================================================
   Plan cards
========================================================= */

.karupre-price__plans {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  gap: 24px !important;
  width: 100% !important;
  max-width: 1000px !important;
  margin: 0 auto 54px !important;
}

.karupre-price__plan {
  position: relative;
  display: flex !important;
  flex: 1 1 0 !important;
  flex-direction: column;
  width: calc(50% - 12px) !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 32px 30px 30px !important;
  background: #ffffff;
  border: 2px solid #c5ced8;
  border-radius: 8px;
}

.karupre-price__plan--free {
  border-color: #8998a8;
}

.karupre-price__plan--pro {
  border-color: #1670df;
}

.karupre-price__badge {
  position: absolute;
  top: -16px;
  left: 50%;
  min-width: 112px;
  padding: 7px 18px;
  transform: translateX(-50%);
  background: #1670df;
  border-radius: 20px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
}

.karupre-price__plan-title {
  margin: 0 0 14px;
  color: #17283c;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.4;
  text-align: center;
}

.karupre-price__plan-title--pro {
  color: #1670df;
}

.karupre-price__amount {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 7px;
  margin-bottom: 8px;
}

.karupre-price__amount-number {
  color: #101e30;
  font-size: 58px;
  font-weight: 800;
  line-height: 1;
}

.karupre-price__amount-unit {
  color: #273a50;
  font-size: 18px;
  font-weight: 700;
}

.karupre-price__account {
  margin-bottom: 24px;
  color: #40536a;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
}


/* =========================================================
   Summary
========================================================= */

.karupre-price__summary {
  flex: 1;
  margin: 0 0 26px !important;
  padding: 0 !important;
  list-style: none !important;
}

.karupre-price__summary li {
  position: relative;
  margin: 0 !important;
  padding: 11px 5px 11px 28px !important;
  border-bottom: 1px solid #dce3ea;
  color: #26394f;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.45;
}

.karupre-price__summary li:first-child {
  border-top: 1px solid #dce3ea;
}

.karupre-price__summary li::before {
  content: "✓";
  position: absolute;
  top: 12px;
  left: 4px;
  color: #1670df;
  font-size: 17px;
  font-weight: 800;
}

.karupre-price__summary-label {
  margin-right: 3px;
  color: #26394f;
  font-size: 15px;
  font-weight: 700;
}

.karupre-price__limit-number {
  display: inline-block;
  margin: 0 2px;
  color: #102941;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.15;
}

.karupre-price__limit-small {
  color: #536477;
  font-size: 13px;
  font-weight: 500;
}


/* =========================================================
   Buttons
========================================================= */

.karupre-price__button {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  min-height: 56px;
  margin: 0 !important;
  padding: 15px 20px !important;
  border-radius: 7px;
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1.4;
  text-align: center;
  text-decoration: none !important;
}

.karupre-price__button--free {
  background: #ffffff;
  border: 2px solid #53667a;
  color: #1f3349 !important;
}

.karupre-price__button--free:hover {
  background: #f1f3f5;
  border-color: #334b63;
  color: #142a40 !important;
}

.karupre-price__button--pro {
  background: #1670df;
  border: 2px solid #1670df;
  color: #ffffff !important;
}

.karupre-price__button--pro:hover {
  background: #0e61c6;
  border-color: #0e61c6;
  color: #ffffff !important;
}

/* =========================================================
   Comparison
========================================================= */

.karupre-price__compare {
  width: 100%;
  margin: 0;
  padding: 0;
}

.karupre-price__compare-title {
  margin: 0 0 20px;
  color: #17283c;
  font-size: 25px;
  font-weight: 800;
  line-height: 1.4;
  text-align: center;
}

.karupre-price .karupre-price__table-wrap {
  display: block;
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: auto;
  border: 2px solid #bfcbd7;
  border-radius: 8px;
  background: #ffffff;
  -webkit-overflow-scrolling: touch;
}

.karupre-price .karupre-price__table-wrap > table.karupre-price__table {
  display: table;
  width: 100% !important;
  min-width: 760px;
  margin: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-collapse: collapse !important;
  border-spacing: 0 !important;
  table-layout: fixed;
  background: #ffffff;
}

.karupre-price .karupre-price__table-wrap > table.karupre-price__table > thead,
.karupre-price .karupre-price__table-wrap > table.karupre-price__table > tbody {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

.karupre-price .karupre-price__table-wrap > table.karupre-price__table > thead > tr,
.karupre-price .karupre-price__table-wrap > table.karupre-price__table > tbody > tr {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

/* テーマ側の疑似要素による余白も無効化 */
.karupre-price .karupre-price__table::before,
.karupre-price .karupre-price__table::after,
.karupre-price .karupre-price__table-wrap::before,
.karupre-price .karupre-price__table-wrap::after {
  display: none !important;
  content: none !important;
}
/* =========================================================
   料金比較表 上部の不要な空白を完全除去
========================================================= */

/* WordPress自動整形で入る空要素を除去 */
.karupre-price .karupre-price__table-wrap > p,
.karupre-price .karupre-price__table-wrap > br {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 0 !important;
}

/* ラッパー自体の余白を完全リセット */
.karupre-price .karupre-price__table-wrap {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 0 !important;
  font-size: 0 !important;
}

/* テーブルをラッパー上端へ密着 */
.karupre-price .karupre-price__table-wrap > .karupre-price__table {
  margin: 0 !important;
  padding: 0 !important;
  vertical-align: top !important;
}

/* table内は通常の文字サイズへ戻す */
.karupre-price .karupre-price__table th,
.karupre-price .karupre-price__table td {
  line-height: 1.55;
}
/* =========================================================
   Column widths
========================================================= */

.karupre-price__col-item {
  width: 30%;
}

.karupre-price__col-free {
  width: 35%;
}

.karupre-price__col-pro {
  width: 35%;
}


/* =========================================================
   Cells
========================================================= */

.karupre-price__table th,
.karupre-price__table td {
  margin: 0 !important;
  padding: 14px 18px !important;
  border: 0 !important;
  border-bottom: 1px solid #d5dee7 !important;
  color: #24384e;
  font-size: 15px !important;
  font-weight: 500;
  line-height: 1.55;
  vertical-align: middle;
}


/* 項目列の右側を明確に区切る */
.karupre-price__table thead th:first-child,
.karupre-price__table tbody th:not([colspan]) {
  border-right: 2px solid #bfcbd7 !important;
}


/* =========================================================
   Table Head
========================================================= */

.karupre-price__table thead th {
  padding-top: 18px !important;
  padding-bottom: 18px !important;
  background: #e9eef4;
  color: #17283c;
  font-size: 17px !important;
  font-weight: 800 !important;
  text-align: center;
}

.karupre-price__table thead th:first-child {
  text-align: left;
}


/* 無料列 */
.karupre-price__table thead th:nth-child(2) {
  background: #e9eef4 !important;
  color: #17283c !important;
}

.karupre-price__table tbody td:nth-child(2) {
  background: #ffffff !important;
}


/* Pro列 */
.karupre-price__table thead th:nth-child(3) {
  background: #dcecff !important;
  border-left: 2px solid #9fc6f5 !important;
  color: #163a63 !important;
}

.karupre-price__table tbody td:nth-child(3) {
  background: #eef6ff !important;
  border-left: 2px solid #c0d9f5 !important;
  color: #163a63 !important;
}

.karupre-price__table tbody td:nth-child(3) strong {
  color: #163a63 !important;
}


/* =========================================================
   Body
========================================================= */

.karupre-price__table tbody th {
  background: #ffffff;
  color: #24384e;
  font-weight: 700;
  text-align: left;
}

.karupre-price__table tbody td {
  text-align: center;
}

.karupre-price__pro {
  background: #eef6ff !important;
  color: #163a63 !important;
}


/* =========================================================
   Format cells
   対応形式は無料・Proとも中央寄せ
========================================================= */

.karupre-price__formats {
  padding-top: 17px !important;
  padding-bottom: 17px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.75 !important;
  text-align: center !important;
  vertical-align: middle !important;
  word-break: normal;
  overflow-wrap: anywhere;
}


/* =========================================================
   Category
========================================================= */

.karupre-price__category th {
  padding: 12px 18px !important;
  background: #dfe6ee !important;
  color: #17283c !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  text-align: left !important;
  border-right: 0 !important;
}


/* =========================================================
   Marks
========================================================= */

.karupre-price__yes {
  color: #1670df;
  font-size: 22px;
  font-weight: 800;
}

.karupre-price__pro .karupre-price__yes {
  color: #163a63;
}

.karupre-price__no {
  color: #68788a;
  font-size: 21px;
  font-weight: 700;
}


/* =========================================================
   Hover
========================================================= */

.karupre-price__table tbody tr:not(.karupre-price__category):hover th {
  background: #f5f7f9 !important;
}

.karupre-price__table tbody tr:not(.karupre-price__category):hover td:nth-child(2) {
  background: #f8fafc !important;
}

.karupre-price__table tbody tr:not(.karupre-price__category):hover td:nth-child(3) {
  background: #e5f1ff !important;
}


/* =========================================================
   Note
========================================================= */

.karupre-price__note {
  margin-top: 28px;
  padding: 22px 24px;
  background: #eef3f8;
  border-left: 4px solid #1670df;
  color: #26394f;
  font-size: 15px;
  line-height: 1.75;
}

.karupre-price__note strong {
  display: block;
  margin-bottom: 5px;
  color: #17283c;
  font-size: 16px;
  font-weight: 800;
}

.karupre-price__note p {
  margin: 0 !important;
}


/* =========================================================
   Tablet
========================================================= */

@media screen and (max-width: 700px) {

  .karupre-price {
    padding-left: 14px;
    padding-right: 14px;
  }

  .karupre-price__plans {
    gap: 14px !important;
  }

  .karupre-price__plan {
    width: calc(50% - 7px) !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  .karupre-price__plan-title {
    font-size: 23px;
  }

  .karupre-price__amount-number {
    font-size: 50px;
  }

  .karupre-price__summary li {
    font-size: 15px;
  }

  .karupre-price__limit-number {
    font-size: 20px;
  }

  .karupre-price__limit-small {
    font-size: 12px;
  }

}


/* =========================================================
   Smartphone
========================================================= */

@media screen and (max-width: 559px) {

  .karupre-price {
    padding: 38px 12px 55px;
  }

  .karupre-price__title {
    font-size: 26px;
  }

  .karupre-price__lead {
    font-size: 15px;
  }

  .karupre-price__plans {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin-bottom: 42px !important;
  }

  .karupre-price__plan {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin-bottom: 28px !important;
    padding: 28px 22px !important;
  }

  .karupre-price__plan:last-child {
    margin-bottom: 0 !important;
  }

  .karupre-price__amount-number {
    font-size: 52px;
  }

  .karupre-price__compare-title {
    font-size: 22px;
  }

  .karupre-price__table th,
  .karupre-price__table td {
    font-size: 14px !important;
  }

}

/* ========================================
   Karupre Contact Form
======================================== */

.karupre-contact {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: 28px 32px 32px;
  border: 1px solid #dfe3e8;
  border-radius: 8px;
  background: #fff;
  box-sizing: border-box;
}


/* ========================================
   タイトル
======================================== */

.karupre-contact .karupre-contact__title {
  margin: 0 0 20px;
  padding: 0 0 14px;
  border-bottom: 2px solid #e5e7eb;
  color: #1f2937;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.5;
}


/* ========================================
   お問い合わせ前の注意事項
======================================== */

.karupre-contact .karupre-contact__notice {
  margin: 0 0 20px;
  padding: 16px 18px;
  border: 1px solid #e5e7eb;
  border-radius: 7px;
  background: #f8fafc;
  color: #475569;
  font-size: 13px;
  line-height: 1.75;
}

.karupre-contact .karupre-contact__notice h3 {
  margin: 0 0 8px;
  padding: 0;
  color: #1f2937;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.karupre-contact .karupre-contact__notice p {
  margin: 0 0 9px;
}

.karupre-contact .karupre-contact__notice p:last-child {
  margin-bottom: 0;
}

.karupre-contact .karupre-contact__notice ul {
  margin: 8px 0 10px;
  padding-left: 20px;
}

.karupre-contact .karupre-contact__notice li {
  margin: 2px 0;
}


/* ========================================
   各項目
======================================== */

.karupre-contact .karupre-contact__row {
  padding: 14px 0;
  border-bottom: 1px solid #edf0f3;
}

.karupre-contact .karupre-contact__label {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 7px;
  color: #1f2937;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}


/* ========================================
   必須・任意
======================================== */

.karupre-contact .karupre-contact__required,
.karupre-contact .karupre-contact__optional {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.6;
}

.karupre-contact .karupre-contact__required {
  background: #1769e0;
  color: #fff;
}

.karupre-contact .karupre-contact__optional {
  background: #eef1f4;
  color: #64748b;
}


/* ========================================
   入力欄
======================================== */

.karupre-contact .karupre-contact__field {
  width: 100%;
}

.karupre-contact .karupre-contact__field input[type="text"],
.karupre-contact .karupre-contact__field input[type="email"],
.karupre-contact .karupre-contact__field select,
.karupre-contact .karupre-contact__field textarea {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #d6dce3;
  border-radius: 6px;
  outline: none;
  background: #fff;
  color: #222;
  box-sizing: border-box;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.5;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.karupre-contact .karupre-contact__field input[type="text"],
.karupre-contact .karupre-contact__field input[type="email"],
.karupre-contact .karupre-contact__field select {
  min-height: 42px;
}

.karupre-contact .karupre-contact__field select {
  cursor: pointer;
}

.karupre-contact .karupre-contact__field textarea {
  min-height: 150px;
  resize: vertical;
}

.karupre-contact .karupre-contact__field input:focus,
.karupre-contact .karupre-contact__field select:focus,
.karupre-contact .karupre-contact__field textarea:focus {
  border-color: #1769e0;
  box-shadow: 0 0 0 3px rgba(23, 105, 224, 0.08);
}

.karupre-contact .karupre-contact__field input::placeholder,
.karupre-contact .karupre-contact__field textarea::placeholder {
  color: #9aa4b2;
}


/* ========================================
   補足
======================================== */

.karupre-contact .karupre-contact__help {
  margin: 5px 0 0;
  color: #64748b;
  font-size: 11px;
  line-height: 1.6;
}


/* ========================================
   個人情報保護方針
======================================== */

.karupre-contact .karupre-contact__privacy {
  margin: 18px 0 0;
  padding: 13px 15px;
  border-radius: 6px;
  background: #f7f9fb;
  color: #475569;
  font-size: 13px;
  line-height: 1.6;
}

.karupre-contact .karupre-contact__privacy label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
}

.karupre-contact .karupre-contact__privacy input[type="checkbox"] {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
}

.karupre-contact .karupre-contact__privacy a {
  color: #1769e0;
  text-decoration: underline;
}


/* ========================================
   送信ボタン
======================================== */

.karupre-contact .karupre-contact__submit {
  margin: 20px 0 0;
  text-align: center;
}

.karupre-contact .karupre-contact__submit input[type="submit"] {
  min-width: 220px;
  margin: 0;
  padding: 11px 30px;
  border: 0;
  border-radius: 6px;
  background: #1769e0;
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.karupre-contact .karupre-contact__submit input[type="submit"]:hover {
  opacity: 0.85;
}


/* ========================================
   Contact Form 7
======================================== */

.karupre-contact .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.karupre-contact .wpcf7-not-valid-tip {
  margin: 5px 0 0;
  font-size: 12px;
  line-height: 1.5;
}

.karupre-contact .wpcf7-spinner {
  vertical-align: middle;
}

.karupre-contact .wpcf7-response-output {
  margin: 18px 0 0 !important;
  padding: 11px 14px !important;
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.6;
}


/* ========================================
   Smartphone
======================================== */

@media screen and (max-width: 767px) {

  .karupre-contact {
    padding: 20px 16px 22px;
    border-radius: 7px;
  }

  .karupre-contact .karupre-contact__title {
    margin-bottom: 16px;
    padding-bottom: 11px;
    font-size: 19px;
  }

  .karupre-contact .karupre-contact__notice {
    margin-bottom: 14px;
    padding: 13px 14px;
    font-size: 12px;
  }

  .karupre-contact .karupre-contact__notice h3 {
    font-size: 14px;
  }

  .karupre-contact .karupre-contact__row {
    padding: 12px 0;
  }

  .karupre-contact .karupre-contact__label {
    margin-bottom: 6px;
    font-size: 13px;
  }

  .karupre-contact .karupre-contact__field input[type="text"],
  .karupre-contact .karupre-contact__field input[type="email"],
  .karupre-contact .karupre-contact__field select,
  .karupre-contact .karupre-contact__field textarea {
    padding: 9px 10px;
    font-size: 16px;
  }

  .karupre-contact .karupre-contact__field input[type="text"],
  .karupre-contact .karupre-contact__field input[type="email"],
  .karupre-contact .karupre-contact__field select {
    min-height: 40px;
  }

  .karupre-contact .karupre-contact__field textarea {
    min-height: 130px;
  }

  .karupre-contact .karupre-contact__privacy {
    margin-top: 15px;
    padding: 12px;
    font-size: 12px;
  }

  .karupre-contact .karupre-contact__submit {
    margin-top: 16px;
  }

  .karupre-contact .karupre-contact__submit input[type="submit"] {
    width: 100%;
    min-width: 0;
    padding: 11px 20px;
  }
}
.karupre-login-consent{
	text-align:center!important;
}

.karupre-pro-flow {
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  padding: 18px 20px;
  border: 1px solid #d9d9d9;
  border-radius: 7px;
  background: #fff;
}

.karupre-pro-flow__header {
  margin-bottom: 18px;
  text-align: center;
}

.karupre-pro-flow__header h2 {
  font-size: 26px;
  line-height: 1.4;
}

.karupre-pro-flow__header p {
  margin: 0 auto;
  max-width: 700px;
  font-size: 14px;
  line-height: 1.65;
}

.karupre-pro-flow__step {
  display: grid;
  grid-template-columns: 95px 1fr;
  gap: 16px;
  align-items: center;
  margin: 0;
  padding: 0;
}

.karupre-pro-flow__image {
  width: 95px;
  aspect-ratio: 1 / 1;
}

.karupre-pro-flow__image img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: contain;
}

.karupre-pro-flow__content {
  margin: 0;
  padding: 0;
}

.karupre-pro-flow__number {
  display: block;
  margin: 0 0 2px;
  color: #1473e6;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .06em;
}

.karupre-pro-flow__content h3 {
  margin: 0 0 4px;
  padding: 0;
  font-size: 19px;
  line-height: 1.4;
}

.karupre-pro-flow__content p {
  margin: 0;
  padding: 0;
  font-size: 14px;
  line-height: 1.6;
}

.karupre-pro-flow__arrow {
  position: relative;
  width: 100%;
  height: 22px;
  margin: 0;
  padding: 0;
}

.karupre-pro-flow__arrow::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid #1473e6;
  border-bottom: 2px solid #1473e6;
  transform: translateX(-50%) rotate(45deg);
}

@media screen and (max-width: 600px) {

  .karupre-pro-flow {
    padding: 14px;
    border-radius: 7px;
  }

  .karupre-pro-flow__header {
    margin-bottom: 15px;
    text-align: left;
  }

  .karupre-pro-flow__header h2 {
    margin-bottom: 6px;
    font-size: 22px;
  }

  .karupre-pro-flow__header p {
    font-size: 13px;
    line-height: 1.6;
  }

  .karupre-pro-flow__step {
    grid-template-columns: 70px 1fr;
    gap: 11px;
  }

  .karupre-pro-flow__image {
    width: 70px;
  }

  .karupre-pro-flow__number {
    margin-bottom: 1px;
    font-size: 9px;
  }

  .karupre-pro-flow__content h3 {
    margin-bottom: 3px;
    font-size: 16px;
    line-height: 1.4;
  }

  .karupre-pro-flow__content p {
    font-size: 12.5px;
    line-height: 1.55;
  }

  .karupre-pro-flow__arrow {
    height: 18px;
  }

  .karupre-pro-flow__arrow::before {
    top: 3px;
    width: 7px;
    height: 7px;
    border-right-width: 2px;
    border-bottom-width: 2px;
  }
}

.karupre-footer-about{
	font-size:13px;
}

.karupre-contents-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0px 24px;
  width: 100%;

}

.karupre-contents-card {
  height: 100%;
  padding: 28px 28px 48px 28px;
  border: 1px solid #d9d9d9;
  border-radius: 8px;
  background: #fff;
  box-sizing: border-box;
}

.karupre-contents-card h2 {
  font-size: 22px;
  line-height: 1.5;
}

.karupre-contents-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.karupre-contents-tags span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 6px;
  background:#eef6ff;
  font-size: 13px;
  line-height: 1.5;
	color:#2866ad;
	font-weight:800;
}

.karupre-contents-tags span::before {
  content: "✓";
  font-weight: 700;
}

.karupre-contents-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
}

@media screen and (max-width: 700px) {
  .karupre-contents-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .karupre-contents-card {
    padding: 22px 18px;
  }

  .karupre-contents-card h2 {
    font-size: 20px;
  }
}
