@charset "UTF-8";
/* 星告の実り時：共通スタイル */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: #333; background: #fff; font-family: -apple-system, BlinkMacSystemFont, "Noto Sans JP", sans-serif; line-height: 1.7; }
a { color: #467e85;text-decoration-line: none; }
a:focus-visible, button:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
img { max-width: 100%; height: auto; }
button { font: inherit; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
ul { list-style: none; margin: 0; padding: 0; }

/* ヘッダー画像。見出しは画像に焼き込まず、HTMLテキストで重ねる。 */
.header-waku {
  min-height: clamp(190px, 22vw, 320px);
  padding: 2rem 1rem;
  display: grid;
  place-items: center;
  text-align: center;
  background-color: #edf8f7;
  background-image:
    linear-gradient(rgba(255,255,255,.08), rgba(255,255,255,.14)),
    radial-gradient(ellipse at 70% 25%, rgba(148,208,207,.35), transparent 60%);
  background-position: center;
  background-size: cover;
}
.site-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .55rem;
  max-width: 95%;
  padding: 1.2rem 2rem;
  text-decoration: none;
  background: rgba(255,255,255,.38);
  border-radius: 14px;
}
.site-brand-name {
  color: #366f77;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 600;
  letter-spacing: .12em;
  line-height: 1.3;
}
.site-brand-name ruby { ruby-position: over; }
.site-brand-name rt {
  color: #729d9e;
  font-family: -apple-system, BlinkMacSystemFont, "Noto Sans JP", sans-serif;
  font-size: clamp(.75rem, 1.5vw, 1rem);
  font-weight: 500;
  letter-spacing: .2em;
}
.site-brand-credit {
  display: flex;
  align-items: center;
  gap: .9rem;
  color: #366f77;
  font-family: Georgia, serif;
  font-size: clamp(.85rem, 1.3vw, 1.1rem);
  font-weight: 600;
  letter-spacing: .17em;
  white-space: nowrap;
}
.site-brand-credit::before, .site-brand-credit::after { content: ""; width: clamp(35px, 6vw, 80px); height: 1px; background: currentColor; opacity: .9; }
.site-brand-tagline { margin-top: .25rem; color: #587b80; font-size: clamp(.8rem, 1.5vw, .95rem); letter-spacing: .04em; }
.header-menu-waku { position: relative; z-index: 90; border-block: 1px solid #ddd; }
.primary-nav > ul { display: flex; flex-wrap: wrap; justify-content: center; gap: .25rem 1rem; padding: .6rem 1rem; }
.primary-nav li { position: relative; }
.primary-nav a { display: block; padding: .5rem .7rem; text-decoration: none; }
.primary-nav a:hover { background: #edf8f7; }
.primary-nav .sub-menu { position: absolute; top: 100%; left: 0; min-width: 220px; padding: .35rem; background: #fff; border: 1px solid #e7d9df; border-radius: 6px; box-shadow: 0 5px 15px rgba(0,0,0,.1); visibility: hidden; opacity: 0; pointer-events: none; }
.primary-nav li:hover > .sub-menu, .primary-nav li:focus-within > .sub-menu { visibility: visible; opacity: 1; pointer-events: auto; }
.primary-nav .sub-menu a { line-height: 1.5; }
.primary-nav .sub-menu .sub-menu { top: 0; left: 100%; }
.primary-nav > ul > .menu-item-has-children > a::after { content: " \25BE"; font-size: .75em; }
.primary-nav .sub-menu .menu-item-has-children > a::after { content: " \203A"; }

/* モバイルメニュー */
.hamburger-menu-waku { position: relative; z-index: 100; }
.hamburger-button { position: fixed; top: 30px; right: 12px; width: 46px; height: 46px; padding: 8px; background: #fff; border: 1px solid #aaa; border-radius: 4px; cursor: pointer; z-index: 102; }
.hamburger-button span { display: block; height: 2px; margin: 6px 2px; background: #333; }
.hamburger-nav-area { position: fixed; top: 0; right: 0; width: min(280px, 85vw); height: 100vh; overflow-y: auto; padding-top: 65px; background: #fff; border-left: 1px solid #ddd; visibility: hidden; transform: translateX(100%); transition: transform .2s ease, visibility .2s ease; z-index: 101; }
.hamburger-nav-area.is-open { visibility: visible; transform: translateX(0); }
.hamburger-nav-area ul { list-style: none; margin: 0; padding: 0; }
.hamburger-nav-area a { display: block; padding: .7rem 1rem; border-bottom: 1px solid #eee; }

.hamburger-nav-area .sub-menu {margin: 0 0 0 1rem;padding: 0;border-left: 1px solid #e7d9df;}
.hamburger-nav-area .sub-menu a {padding: .6rem .8rem;font-size: .95em;}
.hamburger-nav-area .menu-item-has-children > a {font-weight: 600;}
.hamburger-nav-area a:hover {background: #edf8f7;}


/* 共通の二段組。記事固有の装飾はここに含めない */
.breadcrumb-container { display: flex; flex-wrap: wrap; gap: .5rem; max-width: 1200px; margin: 1rem auto 0; padding: 0 1rem; }
.container { display: grid; grid-template-columns: minmax(0, 2fr) minmax(230px, 1fr); gap: 2rem; max-width: 1200px; margin: 1.5rem auto 3rem; padding: 0 1rem; }
.content { min-width: 0; }
.content h1 {margin: 0 0 1.5rem;font-family: "Yu Mincho", "Hiragino Mincho ProN","Noto Serif JP", serif;font-size: clamp(1.5rem, 2.6vw, 2rem);font-weight: 400;line-height: 1.4;letter-spacing: 0.04em;color: #795763;}
.content-sub > :first-child { margin-top: 0; }
.sidebar-section { margin-bottom: 2rem; }
.sidebar-section h2 { display: flex; align-items: center; gap: .5rem; margin: 0 0 1rem; padding-bottom: .5rem; border-bottom: 1px solid #e7d9df; color: #795763; font-size: 1.1rem; }
.sidebar-heading-icon { flex: none; width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.search-form { display: flex; align-items: stretch; gap: .4rem; }
.search-form label { flex: 1; min-width: 0; }
.search-field { width: 100%; min-width: 0; padding: .55rem .65rem; border: 1px solid #d8c7ce; border-radius: 4px; font: inherit; }
.search-submit { flex: none; padding: .5rem .8rem; border: 1px solid #467e85; border-radius: 4px; background: #467e85; color: #fff; cursor: pointer; }
.search-submit:hover { background: #704858; }
.sidebar-section ul { padding-left: 1.3rem; }
.sidebar-section li { margin-bottom: .5rem; }
.sidebar-post-list { list-style: none; padding: 0 !important; margin: 0; }
.sidebar-post-list li { padding: .55rem 0; border-bottom: 1px solid #edf0f2; }
.sidebar-post-link { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.sidebar-post-link img { flex: none; width: 70px; height: 70px; object-fit: cover; border-radius: 4px; }
.sidebar-post-link span { line-height: 1.45; }
.sidebar-post-link:hover span { text-decoration: underline; }
.sidebar-hub-link { padding: .55rem 0; }
.network-banners { max-width: 1200px; margin: 3rem auto; padding: 1.5rem 1rem 0; border-top: 1px solid #e7d9df; }
.network-banners-inner { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .85rem; }
.network-banners a { display: block; overflow: hidden; border-radius: 8px; box-shadow: 0 2px 10px rgba(16, 42, 66, .13); transition: transform .2s ease, box-shadow .2s ease; }
.network-banners a:hover { transform: translateY(-2px); box-shadow: 0 5px 14px rgba(16, 42, 66, .22); }
.network-banners img { display: block; width: 100%; height: auto; }
.site-footer { border-top: 1px solid #ddd; padding: 2rem 1rem; text-align: center; }
.footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; margin-bottom: 1rem; }

@media (max-width: 767px) {
  .network-banners-inner { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .header-menu-waku { display: none; }
  .container { grid-template-columns: 1fr; }
  .site-brand { padding: 1rem .5rem; }
  .site-brand-name { letter-spacing: .06em; }
}

/* 投稿・固定ページ本文の見出し（共通）
   page.php / single.php ともに .content-sub が本文ラッパー。
   直下の見出しのみ対象にして、部品内の h3 を変更しない。 */
.content-sub > h2 {
  margin: 2.4em 0 1em;
  padding: 14px 18px;
  color: #366f77;
  background: #ecf7f6;
  border: 0;
  border-left: 4px solid #83b4b5;
  border-radius: 0 8px 8px 0;
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 600;
  line-height: 1.5;
}
.content-sub > h3 {
  margin: 2em 0 .9em;
  padding: 0 4px 10px;
  color: #467e85;
  background: none;
  border: 0;
  border-bottom: 1px solid #c6e2e0;
  border-radius: 0;
  font-size: clamp(1.12rem, 2vw, 1.3rem);
  font-weight: 600;
  line-height: 1.6;
}
.content-sub > h4 {
  margin: 1.7em 0 .7em;
  padding: 0 0 0 12px;
  color: #467e85;
  background: none;
  border: 0;
  border-left: 3px solid #83b4b5;
  border-radius: 0;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.6;
}

/* 未公開ページへのリンクを非表示 */
.is-unpublished {
    display: none !important;
}

@media (max-width: 600px) {
  .content-sub > h2 { margin-top: 2em; padding: 12px 14px; }
  .content-sub > h3 { margin-top: 1.7em; padding-bottom: 8px; }
}

/* 控えめなヘッダー：遠目からテーマが目立ちすぎないレイアウト */
.site-brand { background: rgba(255,255,255,.72); border: 1px solid rgba(190,221,219,.65); }
.site-brand-name { font-size: clamp(2rem,5.3vw,4.3rem); letter-spacing: .09em; }
.site-brand-tagline { color:#587b80; font-size:clamp(.72rem,1.3vw,.88rem); }
