@charset "UTF-8";
/* ==========================================================================
   オトナ韓ドラ ─ 標準ブロック版ページ 専用デザインCSS
   すべて .hidamari にスコープ（ラッパー要素 class="hidamari" 配下のみ適用）
   ブランドトークン（--otona-*）は親設定の :root を参照
   ========================================================================== */

.hidamari { color: var(--otona-brown, #332B2B); }

/* --- 記事一覧（クエリループ / list型レイアウト：画像左・本文右） --- */
.hidamari .hidamari-postlist { margin: 0; }
.hidamari .hidamari-postlist .wp-block-post-template {
  list-style: none;
  margin: 0;
  padding: 0;
}
.hidamari .hidamari-postitem {
  gap: 24px;
  margin: 0 0 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid #EFE7E3;
}
.hidamari .hidamari-postitem:last-child { border-bottom: 0; }

/* サムネイル */
.hidamari .hidamari-postitem .wp-block-post-featured-image { margin: 0; }
.hidamari .hidamari-postitem .wp-block-post-featured-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

/* カテゴリーラベル（post-terms） */
.hidamari .hidamari-postitem .wp-block-post-terms {
  display: inline-block;
  margin: 0 0 8px;
  font-size: .72rem;
  line-height: 1;
}
.hidamari .hidamari-postitem .wp-block-post-terms a {
  display: inline-block;
  padding: 4px 10px;
  background: var(--otona-burgundy, #7A263A);
  color: var(--otona-white, #FFF);
  border-radius: 3px;
  text-decoration: none;
}

/* タイトル */
.hidamari .hidamari-postitem .wp-block-post-title {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 1.2rem;
  line-height: 1.5;
  margin: 0 0 .5em;
}
.hidamari .hidamari-postitem .wp-block-post-title,
.hidamari .hidamari-postitem .wp-block-post-title a {
  color: var(--otona-white, #FFFFFF);
  text-decoration: none;
  transition: color .2s ease, text-decoration-color .2s ease;
}
.hidamari .hidamari-postitem .wp-block-post-title a:hover {
  color: var(--otona-white, #FFFFFF);
  text-decoration: underline;
  text-underline-offset: .2em;
}

/* 抜粋 */
.hidamari .hidamari-postitem .wp-block-post-excerpt {
  font-size: .9rem;
  line-height: 1.8;
  margin: 0 0 .6em;
}
.hidamari .hidamari-postitem .wp-block-post-excerpt__more-text { display: none; }

/* 日付 */
.hidamari .hidamari-postitem .wp-block-post-date {
  font-size: .78rem;
  color: #8a7f7a;
  margin: 0 0 .8em;
}

/* 「続きを読む →」ボタン（抜粋のmoreリンクを装飾） */
.hidamari .hidamari-postitem .wp-block-post-excerpt a.wp-block-post-excerpt__more-link,
.hidamari .hidamari-readmore a {
  display: inline-block;
  margin-top: 4px;
  padding: 6px 16px;
  border: 1px solid var(--otona-gold, #B99762);
  border-radius: 3px;
  color: var(--otona-burgundy, #7A263A);
  font-size: .8rem;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.hidamari .hidamari-postitem .wp-block-post-excerpt a.wp-block-post-excerpt__more-link:hover,
.hidamari .hidamari-readmore a:hover {
  background: var(--otona-burgundy, #7A263A);
  border-color: var(--otona-burgundy, #7A263A);
  color: var(--otona-white, #FFF);
}

/* Mobile：画像上・本文下に縦積み（§15） */
@media (max-width: 767px) {
  .hidamari .hidamari-postitem { flex-wrap: wrap; gap: 12px; }
  .hidamari .hidamari-postitem > .wp-block-column { flex-basis: 100% !important; }
}

/* ==========================================================================
   固定ページ用（プロフィール / お問い合わせ / プライバシー / サイトマップ）
   ========================================================================== */

/* 本文の読みやすさ */
.hidamari .wp-block-paragraph { line-height: 1.9; }
.hidamari > .wp-block-heading,
.hidamari > * > .wp-block-heading { scroll-margin-top: 90px; }

/* --- プロフィールページのカード --- */
.hidamari-profile {
  max-width: 560px;
  margin: 8px auto 0;
  background: var(--otona-white, #FFF);
  border: 1px solid #EFE7E3;
  border-radius: 6px;
  overflow: hidden;
  padding: 0 28px 32px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(51, 43, 43, .04);
}
/* カバー画像（16:7）はカードの横幅いっぱい */
.hidamari-profile .hidamari-cover { margin: 0 -28px; }
.hidamari-profile .hidamari-cover img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  display: block;
}
/* 円形アバター（カバーに重ねる） */
.hidamari-profile .hidamari-avatar { margin: -55px 0 0; }
.hidamari-profile .hidamari-avatar img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 4px solid var(--otona-white, #FFF);
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(51, 43, 43, .1);
}
/* 名前（SWELLのh2帯を解除してシンプルに） */
.hidamari-profile .hidamari-name {
  background: none;
  border: 0;
  padding: 0;
  margin: 14px 0 4px;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 1.3rem;
  color: var(--otona-brown, #332B2B);
}
.hidamari-profile .hidamari-name::before,
.hidamari-profile .hidamari-name::after { display: none; }
.hidamari-profile .hidamari-job {
  color: var(--otona-gold-dark, #8A6A2E);
  font-size: .82rem;
  letter-spacing: .06em;
  margin: 0 0 14px;
}
.hidamari-profile .hidamari-bio { text-align: left; font-size: .92rem; }

/* --- ボタン（.hidamari内の標準ボタンをブランド配色に） --- */
.hidamari .wp-block-button__link {
  background-color: var(--otona-burgundy, #7A263A);
  color: var(--otona-white, #FFF);
  border-radius: 4px;
  padding: 12px 28px;
  font-size: .9rem;
}
.hidamari .wp-block-button__link:hover { background-color: #63202F; }

/* --- サイトマップ / カテゴリー・ページ一覧 --- */
.hidamari .wp-block-categories,
.hidamari .wp-block-page-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}
.hidamari .wp-block-categories li,
.hidamari .wp-block-page-list li { margin: 0; }
.hidamari .wp-block-categories a,
.hidamari .wp-block-page-list a {
  display: block;
  padding: 10px 4px;
  border-bottom: 1px solid #EFE7E3;
  color: var(--otona-brown, #332B2B);
  text-decoration: none;
}
.hidamari .wp-block-categories a:hover,
.hidamari .wp-block-page-list a:hover { color: var(--otona-burgundy, #7A263A); }

/* --- Contact Form 7（ブランド配色・フォント） --- */
.hidamari .wpcf7 { max-width: 640px; }
.hidamari .cf7-row { margin: 0 0 18px; }
.hidamari .cf7-row label {
  display: block;
  font-weight: 600;
  color: var(--otona-brown, #332B2B);
  font-size: .92rem;
}
.hidamari .cf7-req {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  background: var(--otona-burgundy, #7A263A);
  color: var(--otona-white, #FFF);
  font-size: .66rem;
  font-weight: 600;
  border-radius: 3px;
  vertical-align: middle;
}
.hidamari .wpcf7 input[type="text"],
.hidamari .wpcf7 input[type="email"],
.hidamari .wpcf7 input[type="tel"],
.hidamari .wpcf7 textarea {
  width: 100%;
  margin-top: 8px;
  padding: 12px 14px;
  background: var(--otona-white, #FFF);
  border: 1px solid #DED8D4;
  border-radius: 4px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--otona-brown, #332B2B);
  box-sizing: border-box;
}
.hidamari .wpcf7 textarea { min-height: 150px; resize: vertical; }
.hidamari .wpcf7 input:focus,
.hidamari .wpcf7 textarea:focus {
  outline: none;
  border-color: var(--otona-burgundy, #7A263A);
  box-shadow: 0 0 0 2px rgba(122, 38, 58, .12);
}
.hidamari .cf7-submit { text-align: center; margin: 24px 0 0; }
.hidamari .wpcf7 input[type="submit"] {
  background: var(--otona-burgundy, #7A263A);
  color: var(--otona-white, #FFF);
  border: 0;
  border-radius: 4px;
  padding: 13px 48px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .04em;
  cursor: pointer;
  transition: background-color .2s ease;
}
.hidamari .wpcf7 input[type="submit"]:hover { background: #63202F; }
.hidamari .wpcf7-response-output { border-radius: 4px; margin: 18px 0 0; }
.hidamari .wpcf7 .wpcf7-not-valid-tip { color: #c0392b; font-size: .8rem; }
