@charset "UTF-8";
/* =========================================================
   ナチュレアンドホーム　管理画面の本文ブロック（kh-body）
   - CMS の render_blocks が出す HTML（docs/12_本文エディタとサイトのCSS.md）に合わせた見た目
   - 一番外側は <div class="kh-body">。この中にだけ余白を付ける
   - サイトのデザイン側（style.css）では kh- のクラスを作らない
   - 段組み・ギャラリー・動画のクラスも kh- にそろえた（nicetown と同じ kh-cols／kh-gallery／kh-video）
     → CMS 側の render_blocks では cols を kh-cols、gallery を kh-gallery、youtube を kh-video で出す
   ========================================================= */

/* ===== 管理画面の本文ブロック（新しいエディタ）の余白・配置・大きさ ===== */
/* 余白：サイトのリセットで見出し・箇条書きの余白を 0 にしているので、.kh-body で一式付ける */
.kh-body { font-size: 14px; line-height: 2; color: var(--text, #333); overflow-wrap: anywhere; }
.kh-body > * { margin-top: 0; margin-bottom: 1.4em; }
.kh-body > h2 { margin: 2.6em 0 1.1em; padding-bottom: .7em; border-bottom: 1px solid var(--line, #e0e0e0); color: var(--green, #145330); font-size: 20px; font-weight: 500; line-height: 1.6; }
.kh-body > h3 { margin: 2em 0 .7em; font-size: 18px; font-weight: 500; line-height: 1.6; }
.kh-body > h3::before { content: "- "; }
.kh-body > :first-child { margin-top: 0; }
.kh-body > :last-child { margin-bottom: 0; }
.kh-body p { margin-top: 0; }
.kh-body a { color: var(--green, #145330); text-decoration: underline; text-underline-offset: 3px; }
.kh-body strong { font-weight: 800; } /* デザインの太字は YuMin-Extrabold */
.kh-body ul, .kh-body ol { padding-left: 1.6em; }
.kh-body ul > li { list-style: disc; }
.kh-body ol > li { list-style: decimal; }
.kh-body li + li { margin-top: .35em; }
.kh-body blockquote { padding: 1.2em 1.6em; background: var(--beige, #f8f7f4); border-left: 3px solid var(--green, #145330); }
.kh-body blockquote p { margin: 0; }
.kh-body > hr { margin: 2.6em 0; border: 0; border-top: 1px solid var(--line, #e0e0e0); }
.kh-body > figure, .kh-body > .kh-img, .kh-body > .kh-btn { margin: 2.4em 0; }
.kh-body figcaption { margin-top: .6em; font-size: .9em; color: var(--text, #333); text-align: left; }
.kh-body img { max-width: 100%; height: auto; }

/* 配置・大きさ・スペース（全サイト同じ意味） */
.kh-body .kh-a-left { text-align: left; }
.kh-body .kh-a-center { text-align: center; }
.kh-body .kh-a-right { text-align: right; }
.kh-body .kh-img img { display: block; max-width: 100%; height: auto; }
.kh-body .kh-img.kh-a-center img { margin-inline: auto; }
.kh-body .kh-img.kh-a-right img { margin-left: auto; }
.kh-body .kh-w-full img { width: 100%; }
.kh-body .kh-w-m img { width: 66%; }
.kh-body .kh-w-s img { width: 40%; }
@media (max-width: 600px) { .kh-body .kh-w-m img { width: 100%; } .kh-body .kh-w-s img { width: 60%; } }
.kh-body .kh-sp { margin: 0 !important; padding: 0; }
.kh-body .kh-sp--s { height: 1em; }
.kh-body .kh-sp--m { height: 2.5em; }
.kh-body .kh-sp--l { height: 5em; }
.kh-anchor { scroll-margin-top: 100px; } /* 固定ヘッダー（70px）＋少し */

/* ボタン（render_blocks は <p class="kh-btn"><a class="kh-btn__link"> で出す想定） */
.kh-body .kh-btn a { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-width: 270px; min-height: 50px; padding: 10px 30px; background: var(--green, #145330); color: #fff; font-size: 14px; text-decoration: none; letter-spacing: .05em; transition: background-color .25s; }
.kh-body .kh-btn a::after { content: ""; width: 20px; height: 5px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 5'%3E%3Cpolyline points='0 4.5 19 4.5 15 0.5' fill='none' stroke='%23000' stroke-width='1'/%3E%3C/svg%3E") no-repeat center / contain; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 5'%3E%3Cpolyline points='0 4.5 19 4.5 15 0.5' fill='none' stroke='%23000' stroke-width='1'/%3E%3C/svg%3E") no-repeat center / contain; }
.kh-body .kh-btn a:hover { opacity: 1; background: #0e3d23; }
@media (max-width: 767px) { .kh-body .kh-btn a { min-width: 0; width: 100%; } }

/* 段組み（11＝半々・21・12・111＝3列・1111＝4列）。スマホでは 1 列。keep は並びを保つ */
.kh-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 40px; align-items: start; margin: 3em 0; }
.kh-cols--21 { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.kh-cols--12 { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
.kh-cols--111 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.kh-cols--1111 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1024px) { .kh-cols--1111 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.kh-cols--middle { align-items: center; }
.kh-cols--bottom { align-items: end; }
.kh-cols__col > * { margin-top: 0; margin-bottom: 1em; }
.kh-cols__col > :first-child { margin-top: 0; }
.kh-cols__col > :last-child { margin-bottom: 0; }
.kh-cols__col > h2, .kh-cols__col > h3 { font-size: 18px; font-weight: 500; line-height: 1.6; }
.kh-cols__col > h2 { padding: 0; border: 0; color: inherit; }
.kh-cols--111 .kh-cols__col > h3, .kh-cols--1111 .kh-cols__col > h3 { font-size: 16px; }
.kh-cols__col > p { font-size: 12px; line-height: 1.9; }
.kh-cols__col > .kh-img, .kh-cols__col > figure { margin-bottom: 1.2em; }
.kh-cols__col .kh-img img { width: 100%; }
.kh-cols__col figcaption { font-size: 12px; }
@media (max-width: 767px) {
  .kh-cols:not(.kh-cols--keep) { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .kh-cols--keep.kh-cols--111, .kh-cols--keep.kh-cols--1111 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
}

/* ギャラリー */
.kh-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.kh-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 767px) { .kh-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* YouTube・地図の埋め込み */
.kh-video { position: relative; aspect-ratio: 16 / 9; }
.kh-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* 要点・よくある質問・表（kh-points・kh-faq・kh-table。nicetownhome から写して色だけ合わせた） */
.kh-points { margin: 2.4em 0; padding: 1.6em 2em; background: var(--beige, #f8f7f4); border: 1px solid var(--line, #e0e0e0); }
.kh-points .kh-points__title { margin: 0 0 .6em; color: var(--green, #145330); font-weight: 700; }
.kh-points ul { margin: 0; }
.kh-points ul li:last-child { margin-bottom: 0; }
.kh-faq { margin: 2.4em 0; }
.kh-faq .kh-faq__title { margin: 0 0 1em; color: var(--green, #145330); font-size: 20px; font-weight: 500; }
.kh-faq dl { margin: 0; }
.kh-faq__item { padding: 1.1em 0; border-bottom: 1px solid var(--line, #e0e0e0); }
.kh-faq__item:first-child { border-top: 1px solid var(--line, #e0e0e0); }
.kh-faq__item dt, .kh-faq__item dd { position: relative; margin: 0; padding-left: 1.8em; }
.kh-faq__item dt { font-weight: 700; }
.kh-faq__item dd { margin-top: .4em; }
.kh-faq__item dt::before, .kh-faq__item dd::before { position: absolute; left: 0; top: 0; font-family: var(--ff-en, serif); font-weight: 400; font-size: 1.2em; line-height: 1.6; }
.kh-faq__item dt::before { content: "Q"; color: var(--green, #145330); }
.kh-faq__item dd::before { content: "A"; color: var(--text-sub, #464646); }
.kh-table { margin: 2.4em 0; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.kh-table table { width: 100%; min-width: 420px; margin: 0; border-collapse: collapse; font-size: 14px; }
.kh-table caption { margin-bottom: .6em; font-size: 13px; text-align: left; }
.kh-table th, .kh-table td { padding: 14px 20px; border-top: 1px solid var(--line, #e0e0e0); border-bottom: 1px solid var(--line, #e0e0e0); text-align: left; vertical-align: top; font-weight: 500; }
.kh-table thead th { background: var(--beige, #f8f7f4); }
.kh-table tbody td:first-child { width: 30%; }

/* ===== 投稿の種類ごとの小さな調整（入れ物のクラスで分ける） ===== */
/* お客様の声・スタッフ：枠の中。見出しは緑の文字だけ（線なし） */
.detail_box .kh-body > h2, .detail_box .kh-body > h3 { margin-top: 2.4em; padding: 0; border: 0; color: var(--green, #145330); font-size: 16px; }
.detail_box .kh-body > h3::before { content: none; }
.detail_box .kh-body > h2:first-child, .detail_box .kh-body > h3:first-child { margin-top: 0; }
/* ブログ・お知らせ：文と写真の段組みが多いので、段落を少しゆったり */
.post_body .kh-cols__col > p { font-size: 14px; line-height: 2; }
/* イベント：中央寄せのチラシ型 */
.event_body .kh-body { width: min(820px, 100%); margin-inline: auto; }
/* 固定ページ（プライバシーポリシー・ハラスメント防止方針） */
.page_body .kh-body > h2 { padding-bottom: 0; border-bottom: 0; font-size: 16px; }
.page_body .kh-body > h2 + p { margin-top: -.4em; }

@media (max-width: 767px) {
  .kh-body > h2 { font-size: 18px; }
  .kh-body > h3 { font-size: 16px; }
  .kh-table th, .kh-table td { padding: 10px 12px; }
}
.detail_box .kh-cols__col > h2 { color: var(--green, #145330); font-size: 16px; }
