:root {
  --text: #333;
  --link: #1967d2;
  --hover: #e53900;
  --page-bg: #f4f5f7;
  --white: #fff;
  --red: #e60033;
  --green: #3eb370;
  --thin: #eee;
  --wrap: 1256px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--page-bg);
  color: var(--text);
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-size: 18px;
  line-height: 1.8;
  overflow-wrap: break-word;
}
a { color: var(--link); }
a:hover { color: var(--hover); }
.wrap { width: min(var(--wrap), 100%); margin: 0 auto; }

/* 現行Cocoonと同じヘッダー背景画像・中央ロゴ型レイアウト */
.site-header {
  color: #fff;
  background-color: #092329;
  background-image: url("header_back.jpg");
  background-position: top center;
  background-repeat: no-repeat;
  background-size: 100% auto;
}
.header-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding: 0;
}
.site-title {
  display: block;
  padding: 20px 1em 30px;
  color: #fff;
  text-decoration: none;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.8;
}
.site-title:hover { color: #fff; }
.tagline {
  margin: .6em 1em;
  color: #fff;
  font-size: 14px;
  line-height: 1.8;
}

.global-nav { background: #fff; }
.menu {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
}
.menu > li { position: relative; width: 100px; height: 60px; }
.menu a {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  padding: 0 8px;
  color: #000;
  text-decoration: none;
  font-size: 16px;
  transition: background-color .2s ease;
}
.menu a:hover, .menu a:focus { color: #000; background: #f5f8fa; }
.has-sub > a::after { content: "⌄"; margin-left: 5px; font-size: 13px; opacity: .65; }
.sub-menu {
  display: none;
  position: absolute;
  top: 60px; left: 0;
  z-index: 20;
  width: 240px;
  margin: 0; padding: 0;
  list-style: none;
  background: #fafbfc;
  text-align: left;
  box-shadow: 0 5px 14px rgba(0,0,0,.09);
}
.sub-menu li { height: 52px; }
.sub-menu a { justify-content: flex-start; padding: 0 16px; }
.has-sub:hover > .sub-menu, .has-sub:focus-within > .sub-menu { display: block; }

.content { margin-top: 24px; }
.article {
  width: 100%;
  padding: 36px 29px;
  background: #fff;
  border: 1px solid transparent;
  border-radius: 4px;
}
.entry-title {
  margin: 16px 0;
  font-size: 26px;
  line-height: 1.3;
  font-weight: 700;
}
.entry-content { margin-top: 1em; margin-bottom: 3em; }
.entry-content > * { line-height: 1.8; margin: 0 0 1.8em; }
.entry-content p:last-child { margin-bottom: 0; }
.marker { background-color: #ff9; }
.marker-red { background-color: #ffd0d1; }
.marker-blue { background-color: #a8dafb; }
.marker-under { background: linear-gradient(transparent 60%, #ff9 60%); }
.marker-under-red { background: linear-gradient(transparent 60%, #ffd0d1 60%); }
.marker-under-blue { background: linear-gradient(transparent 60%, #a8dafb 60%); }
.red { color: var(--red); }
.green { color: var(--green); }
.bold-red { color: var(--red); font-weight: 700; }

.site-footer { margin-top: 20px; padding: 8px; background: #fff; }
.footer-inner { min-height: 74px; position: relative; padding: 8px; font-size: 14px; }
.footer-title { position: absolute; left: 8px; bottom: 12px; font-size: 18px; line-height: 1.2; }
.copyright { position: absolute; right: 8px; bottom: 12px; text-align: right; }

@media (max-width: 1023px) {
  .site-header { background-size: cover; }
  .menu { justify-content: flex-start; }
  .menu > li { width: 50%; height: 40px; }
  .menu a { font-size: 14px; }
  .sub-menu { top: 40px; width: 100%; min-width: 180px; }
  .sub-menu li { height: 40px; }
  .content { margin-top: 10px; padding: 0 10px; }
  .article { padding: 30px 24px; }
  .footer-inner { min-height: 92px; text-align: center; }
  .footer-title, .copyright { position: static; text-align: center; margin: 8px 0; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .site-title { font-size: 28px; padding: 20px .5em 30px; }
  .tagline { font-size: 14px; }
  .content { padding: 0 10px; }
  .article { padding: 20px 16px; }
  .entry-title { margin: 0 0 6px; padding: .6em .8em; font-size: 20px; }
  .entry-content > * { margin-bottom: 1.8em; }
}


/* 追加ページ：現行Cocoon本文表現の最小限再現 */
.article h2,
.article h3,
.article h4,
.article h5,
.article h6 {
  line-height: 1.25;
  font-weight: 700;
}
.article h2 {
  margin: 2.2em 0 1.1em;
  padding: 25px;
  font-size: 24px;
  background: #fafbfc;
  border-radius: 2px;
}
.article h3 {
  margin: 2em 0 1em;
  padding: 12px 20px;
  font-size: 22px;
  border-left: 7px solid #888;
  border-top: 1px solid #ddd;
  border-right: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}
.article ul,
.article ol {
  margin: 1em 0;
  padding-left: 40px;
}
.article li { margin: .2em; }
pre,
.wp-block-preformatted {
  margin: 1.5em 0;
  padding: 10px;
  line-height: 1.6;
  white-space: pre-wrap;
  word-wrap: normal;
  overflow-x: auto;
  background: #fafbfc;
  border: 1px solid #eee;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: .9em;
}
@media (max-width: 600px) {
  .article h2 { font-size: 20px; padding: .6em .8em; }
  .article h3 { font-size: 18px; padding: .6em; }
  pre, .wp-block-preformatted { font-size: .84em; }
}


/* WØW! 一覧：画像を増やさない軽量カード */
.wow-intro { margin-bottom: 1.4em; }
.wow-season-list { display: grid; gap: 14px; }
.wow-season-card {
  display: block;
  padding: 18px 20px;
  color: #333;
  text-decoration: none;
  background: #fff;
  border: 1px solid #e4e7ea;
  border-radius: 3px;
  transition: background-color .15s ease;
}
.wow-season-card:hover { background: #fafbfc; }
.wow-season-card h2 {
  margin: 5px 0 8px;
  padding: 0;
  font-size: 22px;
  line-height: 1.35;
  background: transparent;
}
.wow-season-card p { margin: 0; line-height: 1.7; }
.wow-label {
  display: inline-block;
  padding: 2px 7px;
  font-size: 12px;
  line-height: 1.4;
  color: #fff;
  background: #19448e;
  border-radius: 2px;
}
@media (max-width: 600px) {
  .wow-season-card { padding: 15px 14px; }
  .wow-season-card h2 { font-size: 18px; }
}
