/* 新しいヘッダー・フッター。JavaScriptなし。橙中心+薄い紫の差し色。 */
.kc-chrome, .kc-foot { --o: #ffa24f; --v: #6a4fc4; --vl: #e3d8fb; --ink: #2c1d3f; --line: #e6dfe9;
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", system-ui, sans-serif; color: var(--ink); line-height: 1.6; }
.kc-chrome *, .kc-foot * { box-sizing: border-box; }
.kc-chrome a, .kc-foot a { color: inherit; text-decoration: none; }
.kc-chrome a:hover, .kc-foot a:hover { text-decoration: underline; }
.kc-chrome__in { max-width: 1520px; margin-inline: auto; padding-inline: clamp(16px, 3vw, 48px); display: flex; align-items: center; gap: 20px; }
.kc-chrome { background: #fff; position: relative; z-index: 50; border-bottom: 1px solid var(--line); }
.kc-chrome__bar { background: linear-gradient(110deg, #ffa24f 0%, #ffb766 60%, #ffb48a 82%, #e3d8fb 100%); font-size: 14px; }
.kc-chrome__bar .kc-chrome__in { justify-content: space-between; min-height: 36px; }
.kc-chrome__bar p { margin: 0; font-weight: 600; }
.kc-chrome__bar nav { display: flex; gap: 18px; font-weight: 700; }
.kc-chrome__main .kc-chrome__in { padding-block: 14px; }
.kc-chrome .kc-chrome__logo img { display: block; height: 48px !important; width: auto !important; max-width: 220px; }
.kc-chrome__search { flex: 1; display: flex; min-width: 0; margin: 0; }
.kc-chrome__search input[type=search] { flex: 1; min-width: 0; height: 50px; border: 2px solid var(--o); border-right: 0; border-radius: 10px 0 0 10px; padding: 0 16px; font-size: 17px; background: #fff; color: var(--ink); }
.kc-chrome__search button { height: 50px; padding: 0 26px; border: 0; border-radius: 0 10px 10px 0; background: var(--ink); color: #fff; font-size: 17px; font-weight: 700; cursor: pointer; }
.kc-chrome__tools { display: flex; align-items: center; gap: 16px; font-weight: 700; font-size: 16px; white-space: nowrap; }
.kc-chrome__join, .kc-chrome__sell { display: inline-flex; align-items: center; min-height: 46px; padding: 0 20px; border-radius: 10px; font-size: 16px; }
.kc-chrome__join { border: 2px solid var(--ink); }
.kc-chrome__sell { background: linear-gradient(110deg, #ffa24f, #ffb766); }
.kc-chrome__navwrap { border-top: 1px solid var(--line); background: #fffaf4; }
.kc-chrome__menu { width: 100%; }
.kc-nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.kc-nav-label { display: none; }
.kc-chrome__nav { display: flex; gap: 6px; font-size: 18px; font-weight: 700; }
.kc-nav__item { position: relative; }
.kc-acc, .kc-acc-btn { display: none; }
.kc-nav__item--hot > a { color: #b25a00; }
.kc-nav__item > a { display: block; padding: 12px 18px; }
.kc-nav__item:hover > a, .kc-nav__item:focus-within > a { background: var(--vl); text-decoration: none; }
.kc-mega, .kc-drop { display: none; position: absolute; left: 0; top: 100%; background: #fff; border: 1px solid var(--line); border-radius: 0 0 12px 12px; box-shadow: 0 12px 28px rgba(44, 29, 63, .14); z-index: 60; }
.kc-nav__item:hover > .kc-mega, .kc-nav__item:focus-within > .kc-mega { display: grid; }
.kc-nav__item:hover > .kc-drop, .kc-nav__item:focus-within > .kc-drop { display: block; }
.kc-mega { grid-template-columns: repeat(3, minmax(200px, 1fr)); gap: 18px 28px; padding: 24px 28px; width: min(900px, 94vw); font-weight: 400; font-size: 16px; }
.kc-mega__head { font-weight: 800; font-size: 19px; display: block; margin-bottom: 4px; }
.kc-mega ul, .kc-drop { list-style: none; margin: 0; padding: 0; }
.kc-mega li a { display: block; padding: 5px 0; color: #4b3f5b; font-size: 17px; line-height: 1.5; }
.kc-drop { min-width: 240px; padding: 8px 0; font-weight: 600; font-size: 16px; }
.kc-drop a { display: block; padding: 9px 20px; }
/* フッター */
.kc-foot { background: #2c1d3f; color: #fff; margin-top: 56px; }
.kc-foot__in { max-width: 1520px; margin-inline: auto; padding: 48px clamp(16px, 3vw, 48px) 28px; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 28px; }
.kc-foot b { display: block; font-size: 18px; margin-bottom: 10px; }
.kc-foot nav a { display: block; padding: 4px 0; font-size: 16px; }
.kc-foot p { margin: 0 0 10px; font-size: 15px; }
.kc-foot__sns { display: flex; gap: 20px; flex-wrap: wrap; }
.kc-foot__sns a { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.kc-foot__sns svg { width: 26px; height: 26px; flex: none; }
.kc-foot .kc-foot__copy { text-align: center; padding: 16px; border-top: 1px solid rgba(255, 255, 255, .18); font-size: 13px; margin: 0; }
@media (max-width: 960px) {
  .kc-chrome__bar p { display: none; }
  .kc-chrome__bar nav { margin-left: auto; }
  .kc-chrome__main .kc-chrome__in { flex-wrap: wrap; gap: 12px; }
  .kc-chrome__search { order: 3; flex-basis: 100%; }
  .kc-chrome__tools { margin-left: auto; gap: 10px; font-size: 15px; }
  .kc-chrome__join { display: none; }
  .kc-nav-label { display: flex; align-items: center; gap: 10px; width: 100%; padding: 12px 16px; margin: 6px 0; font-weight: 800; font-size: 18px; cursor: pointer; border: 2px solid var(--ink); border-radius: 10px; background: #fff; justify-content: center; }
  .kc-nav-label::before { content: ""; width: 22px; height: 16px; background: linear-gradient(var(--ink) 0 2px, transparent 2px 7px, var(--ink) 7px 9px, transparent 9px 14px, var(--ink) 14px 16px); flex: none; }
  .kc-nav-toggle:checked ~ .kc-nav-label { background: var(--vl); }
  .kc-chrome__nav { display: none; flex-direction: column; padding-bottom: 12px; }
  .kc-nav-toggle:checked ~ .kc-chrome__nav { display: flex; }
  /* スマホのメニュー: 1行ずつ大きく。「商品を探す」「出品について」は、右の+を押すと開く(メガメニューは使わない) */
  .kc-nav__item { display: grid; grid-template-columns: minmax(0, 1fr) 56px; border-top: 1px solid var(--line); align-items: stretch; }
  .kc-nav__item > a { padding: 15px 4px; font-size: 18px; min-height: 52px; display: flex; align-items: center; gap: 8px; border: 0; }
  .kc-nav__item:hover > a, .kc-nav__item:focus-within > a { background: transparent; }
  .kc-acc-btn { display: flex; align-items: center; justify-content: center; cursor: pointer; border-left: 1px solid var(--line); font-size: 26px; font-weight: 400; color: #6a4fc4; user-select: none; }
  .kc-acc-btn::after { content: "＋"; }
  .kc-acc:checked ~ .kc-acc-btn::after { content: "－"; }
  .kc-acc { position: absolute; opacity: 0; pointer-events: none; }
  .kc-mega, .kc-drop { display: none !important; position: static; box-shadow: none; border: 0; width: auto; grid-column: 1 / -1; background: #fffaf4; padding: 6px 4px 12px; border-radius: 0; }
  .kc-acc:checked ~ .kc-mega { display: grid !important; grid-template-columns: 1fr 1fr; gap: 8px; }
  .kc-acc:checked ~ .kc-drop { display: block !important; }
  .kc-mega__col { background: #fff; border: 1px solid var(--line); border-radius: 10px; }
  .kc-mega__head { padding: 13px 12px; font-size: 16px; }
  .kc-mega__col ul { display: none; }
  .kc-mega__col--state { grid-column: 1 / -1; }
  .kc-mega__col--state ul { display: block; padding: 0 12px 8px; }
  .kc-mega__col--state li a { padding: 10px 0; font-size: 16px; }
  .kc-drop a { padding: 13px 14px; font-size: 16px; }
  .kc-foot__in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) { .kc-chrome .kc-chrome__logo img { height: 40px !important; } .kc-foot__in { grid-template-columns: 1fr; } }

/* 商品を探す(メガメニュー): 大分類と小分類の文字の大きさを、そろえる(PC)。テーマ側の指定に負けないよう、詳しく指定する。 */
@media (min-width: 961px) {
  .kc-chrome .kc-mega .kc-mega__head,
  .kc-chrome .kc-mega li a { font-size: 16px !important; line-height: 1.5 !important; }
  .kc-chrome .kc-mega .kc-mega__head { font-weight: 800; }
  .kc-chrome .kc-mega li a { font-weight: 400; }
}

/* メガメニューが、画面の下に見切れないよう、少し小さく・4列に・はみ出したら、メニューの中でスクロール(PC) */
@media (min-width: 961px) {
  .kc-chrome .kc-mega { grid-template-columns: repeat(4, minmax(170px, 1fr)); width: min(1100px, 96vw); gap: 12px 24px; padding: 18px 24px; max-height: calc(100vh - 170px); overflow-y: auto; }
  .kc-chrome .kc-mega .kc-mega__head,
  .kc-chrome .kc-mega li a { font-size: 15px !important; line-height: 1.4 !important; }
  .kc-chrome .kc-mega li a { padding: 3px 0; }
  .kc-chrome .kc-mega .kc-mega__head { margin-bottom: 2px; }
}

/* 案内ページ(発送方法・はじめてガイドなど)の本文: 「商品の購入方法」ページに合わせる(h2=ページ名、h3=オレンジの帯) */
body.page :is(.entry-content, #content > .ast-container) > h2 { margin: 0 0 1em; font-size: 28px; font-weight: 700; line-height: 1.4; }
body.page :is(.entry-content, #content > .ast-container) > h3 { margin: 2em 0 1em; padding: 4px 0 4px 14px; background: none; color: inherit; border-left: 6px solid #fdb600; font-size: 22px; font-weight: 700; line-height: 1.4; }
body.page :is(.entry-content, #content > .ast-container) > h4 { margin: 1.8em 0 .6em; font-size: 18px; font-weight: 700; line-height: 1.5; }
body.page :is(.entry-content, #content > .ast-container) > p { margin: 0 0 1.1em; font-size: 15px; line-height: 1.9; }
body.page :is(.entry-content, #content > .ast-container) > ul, body.page :is(.entry-content, #content > .ast-container) > ol { margin: 0 0 1.4em 1.4em; padding: 0; }
body.page :is(.entry-content, #content > .ast-container) > ul li, body.page :is(.entry-content, #content > .ast-container) > ol li { margin-bottom: .6em; font-size: 15px; line-height: 1.9; }
body.page :is(.entry-content, #content > .ast-container) > dl dt { margin-top: 1.2em; font-weight: 700; }
body.page :is(.entry-content, #content > .ast-container) > dl dd { margin: .3em 0 0 0; font-size: 15px; line-height: 1.9; }
body.page :is(.entry-content, #content > .ast-container) > table { margin: 0 0 1.6em; font-size: 14px; }
body.page :is(.entry-content, #content > .ast-container) > table th, body.page :is(.entry-content, #content > .ast-container) > table td { padding: 10px 12px; line-height: 1.7; vertical-align: top; }

/* 手順(写真つき): 左に写真、右に説明。スマホは縦に並べる */
body.page :is(.entry-content, #content > .ast-container) > .kc-step { display: flex; gap: 24px; align-items: flex-start; margin: 0 0 1.6em; padding: 16px; background: #fff9ec; }
body.page :is(.entry-content, #content > .ast-container) > .kc-step > img { flex: 0 0 280px; width: 280px; height: auto; border-radius: 6px; }
body.page :is(.entry-content, #content > .ast-container) > .kc-step .kc-step__t { flex: 1; min-width: 0; }
body.page :is(.entry-content, #content > .ast-container) > .kc-step h4 { margin: 0 0 .5em; color: #e58a00; font-size: 20px; font-weight: 700; }
body.page :is(.entry-content, #content > .ast-container) > .kc-step p { margin: 0 0 .8em; font-size: 15px; line-height: 1.9; }
@media (max-width: 600px) { body.page :is(.entry-content, #content > .ast-container) > .kc-step { flex-direction: column; } body.page :is(.entry-content, #content > .ast-container) > .kc-step > img { flex-basis: auto; width: 100%; } }

/* 案内ページ: リンクの文字は、本文と同じ大きさ・少し太く / 横に長い表は、横にスクロール */
body.page :is(.entry-content, #content > .ast-container) > p a, body.page :is(.entry-content, #content > .ast-container) li a, body.page :is(.entry-content, #content > .ast-container) dd a, body.page :is(.entry-content, #content > .ast-container) .kc-step a { font-size: 1em; font-weight: 700; }
body.page :is(.entry-content, #content > .ast-container) > table { display: block; max-width: 100%; overflow-x: auto; }

/* 中見出し(帯でない h3): 大見出し(オレンジの帯)と区別できるよう、左の線だけにする */
body.page :is(.entry-content, #content > .ast-container) > h3.wp-block-heading:not(.has-background) { margin: 1.8em 0 .6em; padding: 2px 0 2px 12px; background: none; color: inherit; border-left: 5px solid #fdb600; font-size: 22px; }

/* ヘッダーの「出品する」「無料会員登録」: 文字を、枠の中央に(行の高さと余白を固定) */
.kc-chrome .kc-chrome__sell, .kc-chrome .kc-chrome__join { justify-content: center; line-height: 1; padding-top: 0; padding-bottom: 0; box-sizing: border-box; }

/* フッター: 運営会社(吉澤企画)のロゴ。濃い背景で見えるよう、白い台に載せる */
.kc-foot .kc-foot__op { margin: 14px 0 0; }
.kc-foot .kc-foot__op a { display: inline-block; background: #fff; border-radius: 8px; padding: 8px 12px; }
.kc-foot .kc-foot__op img { display: block; width: 220px; max-width: 100%; height: auto; }

/* Astra 本来のヘッダー・フッター(HFE を止めたあと、出てしまうため隠す) */
#masthead,
#colophon.site-footer { display: none !important; }

/* 記事のリスト(ニュース・記事一覧): 題名は太字、日付と抜粋の間を詰める */
.wp-block-post-template .wp-block-columns .wp-block-post-title { font-weight: 700; margin: 0 0 4px; line-height: 1.5; }
.wp-block-post-template .wp-block-columns .wp-block-post-date { margin: 0 0 6px; }
.wp-block-post-template .wp-block-columns .wp-block-post-excerpt { margin: 0; }
.wp-block-post-template .wp-block-columns .wp-block-post-excerpt__excerpt { margin: 0; }
.blog .ast-article-post .entry-title,
.blog .ast-article-post .entry-title a,
.archive .ast-article-post .entry-title,
.archive .ast-article-post .entry-title a { font-weight: 700; }

/* ニュース一覧: スマートニュースのように、コンパクトに */
.kc-news-row { gap: 12px !important; margin: 0 !important; padding: 10px 0; border-bottom: 1px solid var(--line); }
.kc-news-row .wp-block-post-title { font-size: 16px !important; line-height: 1.45 !important; margin: 0 0 2px !important; }
.kc-news-row .wp-block-post-date { font-size: 12px !important; margin: 0 0 2px !important; line-height: 1.4; color: #8a7f98; }
.kc-news-row .wp-block-post-excerpt { font-size: 13px !important; line-height: 1.5 !important; margin: 0 !important; }
.kc-news-row .wp-block-post-excerpt__excerpt { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 0 !important; }
.kc-news-row .wp-block-column { margin: 0 !important; }
@media (max-width: 600px) {
  .kc-news-row .wp-block-column:first-child { flex-basis: 96px !important; }
  .kc-news-row .wp-block-post-title { font-size: 15px !important; }
  .kc-news-row .wp-block-post-excerpt { display: none; }
}
@media (min-width: 601px) {
  .kc-news-row .wp-block-column:first-child { flex-basis: 168px !important; }
}

/* Elementor の既定(文字12px)が、Elementor製ページのヘッダーや本文を小さくしないように */
body.elementor-kit-47 { font-size: 16px; }
body.elementor-kit-47 .kc-chrome a, body.elementor-kit-47 .kc-foot a { font-size: inherit; }
body.elementor-kit-47 .kc-chrome__bar a { font-size: 14px; }
body.elementor-kit-47 .entry-content a, body.elementor-kit-47 .elementor-widget-container a { font-size: inherit; }
/* Elementor のテンプレートで出すページ(ヘッダー直下に詰まる)に、上の余白 */
body:not(.home) .site-content > .ast-container > .elementor { padding-top: 28px; }
body:not(.home) .jp4wc-law, body:not(.home) .jp4wc-law table { font-size: 16px; line-height: 1.7; }
.jp4wc-law th, .jp4wc-law td { padding: 12px 14px; }
body.elementor-kit-47 .kc-chrome__search button { background: var(--ink); background-image: none; color: #fff; font-size: 17px; font-weight: 700; border: 0; border-radius: 0 10px 10px 0; box-shadow: none; text-shadow: none; padding: 0 26px; }
body.elementor-kit-47 .kc-chrome__search input[type=search] { font-size: 17px; border: 2px solid var(--o); border-right: 0; box-shadow: none; }
body.page-template-elementor_header_footer:not(.home) .site-content > .ast-container { padding-top: 28px; }
@media (max-width: 600px) {
  .jp4wc-law th { font-size: 14px; padding: 12px 6px; width: 8.2em; min-width: 8.2em; }
  .jp4wc-law td { padding: 12px 10px; font-size: 15px; }
}
