@charset "UTF-8";

/* ============================================================
   CSS Variables — Clean Magazine / White × Gold
   (Calendar pages — C-style.css)
   ============================================================ */
:root {
  --bg:           #ffffff;
  --bg-subtle:    #fafaf8;
  --bg-tint:      #f5f3ee;
  --surface:      #ffffff;
  --surface-2:    #f7f6f2;
  --border:       #e8e5de;
  --border-light: #f0ede6;

  --text:         #1a1a18;
  --text-body:    #3a3a36;
  --text-muted:   #7a7870;
  --text-subtle:  #b0ada4;

  --gold:         #c8980a;
  --gold-light:   #e8b820;
  --gold-pale:    #fdf4d8;
  --gold-border:  #e8d48a;

  --accent:       #c0443a;
  --accent-blue:  #2a5fa8;
  --link:         #2a5fa8;

  --font-serif:   'Noto Serif JP', 'Noto Sans JP', serif;
  --font-sans:    'Noto Sans JP', sans-serif;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  --shadow-xs: 0 1px 3px rgba(0,0,0,0.07);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.10);

  --transition: 0.2s ease;
}

@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@400;600;700&display=swap');

/* ============================================================
   Reset & Base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background-color: var(--bg-subtle);
  color: var(--text-body);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.9;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-tint); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

a {
  color: var(--link);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--gold); }

strong { color: var(--text); font-weight: 700; }

/* ============================================================
   Desktop Nav menu
   ============================================================ */
.menu {
  display: flex;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 200;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  width: auto;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.menu::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-light), var(--gold));
}

.menu01, .menu02, .menu03, .menu04 {
  display: inline-block;
  padding: 16px 20px 14px;
  font-family: var(--font-sans);
  font-weight: 500;
  transition: color var(--transition), background var(--transition);
  background: transparent;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  margin-top: 2px;
}

.menu01:hover, .menu02:hover, .menu03:hover, .menu04:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.menu01 a, .menu02 a, .menu03 a, .menu04 a {
  text-decoration: none;
  color: inherit;
}

/* ============================================================
   Logo
   ============================================================ */
.rogo01 {
  position: fixed;
  top: 8px;
  left: 20px;
  z-index: 201;
  width: 7%;
  height: auto;
}

/* ============================================================
   Hamburger (mobile) — RIGHT side
   ============================================================ */
header { padding: 0; }

#nav-drawer { display: none; }

.nav-unshown { display: none; }

.header-logo-menu {
  position: fixed;
  z-index: 9999;
  top: 14px;
  right: 16px;
  left: auto;
  display: flex;
}

.san {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--bg);
  border: 1px solid var(--border);
  cursor: pointer;
  box-shadow: var(--shadow-xs);
}

#nav-open {
  display: inline-block;
  position: relative;
  width: 20px;
  height: 16px;
  vertical-align: middle;
}

#nav-open span,
#nav-open span::before,
#nav-open span::after {
  position: absolute;
  height: 2px;
  width: 20px;
  border-radius: 1px;
  background: var(--text-muted);
  display: block;
  content: '';
  cursor: pointer;
  transition: all 0.25s;
}

#nav-open span::before { bottom: -6px; }
#nav-open span::after  { bottom: -12px; }

#nav-close {
  display: none;
  position: fixed;
  z-index: 99;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(26,26,24,0.4);
  opacity: 0;
  transition: 0.3s ease-in-out;
}

#nav-content {
  overflow: auto;
  position: fixed;
  top: 0;
  right: 0;
  left: auto;
  z-index: 9999;
  width: 80%;
  max-width: 280px;
  height: 100%;
  background: var(--bg);
  border-left: 1px solid var(--border);
  transition: 0.3s ease-in-out;
  transform: translateX(105%);
  padding: 56px 0 30px;
}

#nav-content > p {
  text-align: center;
  color: var(--gold);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.2em;
  padding: 0 20px 18px;
  border-bottom: 1px solid var(--border-light);
  margin: 0 0 8px;
}

#nav-content a {
  display: block;
  text-decoration: none;
  color: var(--text-body);
  transition: color var(--transition), background var(--transition);
}

#nav-content a p {
  margin: 0;
  padding: 13px 24px;
  border-bottom: 1px solid var(--border-light);
  text-align: left;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--text-body);
}

#nav-content a:hover p {
  color: var(--gold);
  background: var(--gold-pale);
}

#nav-input:checked ~ #nav-close {
  display: block;
  opacity: 1;
}

#nav-input:checked ~ #nav-content {
  transform: translateX(0%);
  box-shadow: -6px 0 24px rgba(0,0,0,0.12);
}

/* ============================================================
   Breadcrumb
   ============================================================ */
.breadcrumb {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.breadcrumb li {
  display: inline;
  font-size: 11px;
  font-weight: 400;
  color: var(--text-subtle);
}

.breadcrumb li::after {
  content: '/';
  padding: 0 5px;
  color: var(--border);
}

.breadcrumb li:last-child::after { content: ''; }

.breadcrumb li a {
  text-decoration: none;
  color: var(--text-muted);
  transition: color var(--transition);
}

.breadcrumb li a:hover { color: var(--gold); }

/* ============================================================
   Main layout  .back
   — カレンダーページはサイドバーなしでフル幅寄り
   ============================================================ */
.back {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding: 76px 28px 60px;
  background: var(--bg);
  min-height: 100vh;
}

.back01 { margin-bottom: 40px; }

/* ============================================================
   Hero / Title area
   ============================================================ */
.T-00 {
  width: 100%;
  text-align: left;
  padding-top: 12px;
}

/* 更新日タグ */
.T-02 {
  display: inline-block;
  background: var(--gold-pale);
  border: 1px solid var(--gold-border);
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding: 4px 12px;
  border-radius: 20px;
  margin: 0 0 12px;
}

.T-01 {
  font-family: var(--font-serif);
  font-size: clamp(20px, 3.5vw, 28px);
  font-weight: 700;
  color: var(--text);
  line-height: 1.45;
  margin: 0 0 10px;
  padding-bottom: 18px;
  position: relative;
  letter-spacing: -0.01em;
}

.T-01::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 48px;
  height: 3px;
  background: var(--gold-light);
  border-radius: 2px;
}

.T-03 {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  display: block;
  margin: 20px 0;
}

/* ============================================================
   Calendar entry blocks  .b00
   ============================================================ */
.b00 {
  width: 100%;
  font-size: 15px;
  margin-bottom: 32px;
  position: static;
  left: auto;
  top: auto;
  padding: 0;
}

/* Month heading  h2.b02 */
.b02 {
  font-family: var(--font-serif);
  font-size: clamp(17px, 2.5vw, 21px);
  font-weight: 700;
  color: var(--text);
  margin: 0 0 16px;
  padding: 14px 0 12px;
  border-top: 2px solid var(--gold-light);
  position: relative;
  letter-spacing: 0.02em;
}

.b02::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  position: absolute;
  top: -4px;
  left: 0;
}

.b02::after { display: none; }

/* イベント名  .b04 */
.b04 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 15px;
  margin: 0 0 4px;
  padding: 0;
  color: var(--text);
  line-height: 1.5;
}

/* 日付数字  .day00 */
.day00 {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 700;
  margin-right: 8px;
  /* color は inline style (土=青 / 日=赤) を尊重 */
}

/* 詳細テキスト  .b01 */
.b01 {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0 0 4px;
  padding: 0;
  position: static;
  left: auto;
  width: auto;
}

/* 区切り線  .b06 */
.b06 {
  height: 1px;
  background: var(--border);
  width: 100%;
  position: static;
  left: auto;
  top: auto;
  margin: 12px 0 0;
}

/* .b05 — 注記・案内テキスト */
.b05 {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 10px;
  padding: 0;
  line-height: 1.7;
}

/* ============================================================
   h3 / headings
   ============================================================ */
h3 {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin: 24px 0 8px;
  padding: 0 0 0 11px;
  border-left: 3px solid var(--gold-light);
  line-height: 1.5;
}

.UnderMidashi {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  padding: 9px 14px;
  background: var(--bg-tint);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 24px 0 10px;
  letter-spacing: 0.02em;
}

/* ============================================================
   Related links  .syosai
   ============================================================ */
.syosai {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 13px;
  margin: 6px 0;
  padding: 0;
  position: static;
  top: auto;
  left: auto;
}

.syosai2 { color: var(--gold); margin-right: 4px; }

.syosai3 {
  color: var(--link);
  text-decoration: none;
  transition: color var(--transition);
}

.syosai3:hover { color: var(--gold); }

/* ============================================================
   Related article cards  .kizi01
   ============================================================ */
.kizi01 {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: 10px 0;
  padding: 0;
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
}

.kizi01:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-border);
}

.kizi01 p { margin: 0; padding: 0; }

.kizi01-3 { display: flex; align-items: center; }

.kizi01-1 {
  width: 100px;
  height: 70px;
  object-fit: cover;
  flex-shrink: 0;
  position: static;
}

a.kizi01-2 { display: block; text-decoration: none; }

p.kizi01-2 {
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  padding: 0 14px;
  line-height: 1.45;
  position: static;
  width: auto;
}

.kizi01-4 {
  display: block;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 400;
  padding: 4px 14px 12px;
  line-height: 1.4;
  position: static;
  width: auto;
}

/* ============================================================
   Read More
   ============================================================ */
.RM01 {
  position: static;
  display: inline-block;
  margin-top: 20px;
}

.RM01 a {
  display: inline-block;
  padding: 9px 22px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: border-color var(--transition), color var(--transition);
}

.RM01 a:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ============================================================
   Misc
   ============================================================ */
.koko, .koko0, .koko01 {
  text-align: center;
  position: static;
  width: 100%;
  top: auto;
}

.c00 {
  background: var(--bg-tint);
  border-top: 1px solid var(--border);
  text-align: center;
  padding: 20px;
  color: var(--text-subtle);
  font-size: 11px;
  position: static;
  margin-top: 60px;
}

iframe {
  border-radius: var(--radius-md);
  display: block;
  width: 100% !important;
  left: 0 !important;
  position: static !important;
  max-width: 100%;
}

/* ============================================================
   Sidebar  .side-00
   ============================================================ */
.side-00 { display: none; }

/* ============================================================
   Responsive — Mobile (≤ 829px)
   ============================================================ */
@media screen and (max-width: 829px) {

  #nav-drawer { display: block; }

  .rogo01 {
    position: fixed;
    top: 10px;
    left: 16px;
    z-index: 202;
    width: 15%;
  }

  .menu { display: none; }

  .back { padding: 68px 16px 40px; }

  .T-01 { font-size: 18px; }
  .b02  { font-size: 17px; }
  h3    { font-size: 13px; }

  .kizi01-1 { width: 80px; height: 60px; }
  p.kizi01-2 { font-size: 13px; }
  .kizi01-4  { display: none; }

  .side-00 { display: none; }
}

/* ============================================================
   Responsive — Desktop (≥ 830px)
   ============================================================ */
@media screen and (min-width: 830px) {

  #nav-drawer { display: none; }

  /* メインコンテンツ — サイドバー幅分だけ右にオフセット */
  .back {
    max-width: 760px;
    margin-left: 240px;  /* サイドバー220px + 余白20px */
    margin-right: auto;
    padding: 76px 48px 60px;
  }

  /* サイドバー — 左側に固定表示 */
  .side-00 {
    display: block;
    position: fixed;
    top: 60px;
    right: 3%;
    width: 220px;
    background: var(--bg);
    border-right: 1px solid var(--border);
    padding: 20px 14px;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
    z-index: 50;
  }

  .side-01 {
    font-size: 12px;
    font-weight: 700;
    color: var(--gold);
    text-align: left;
    letter-spacing: 0.12em;
    border-left: 3px solid var(--gold-light);
    padding: 3px 8px;
    margin: 0 0 12px;
    position: static;
    width: auto;
    background: transparent;
  }

  .side-00 a {
    display: block;
    text-decoration: none;
    color: var(--text-muted);
    font-size: 12px;
    padding: 5px 4px;
    transition: color var(--transition);
    line-height: 1.5;
  }

  .side-00 a:hover { color: var(--gold); }

  .side-00 p.b01 {
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 400;
    padding: 4px;
    margin: 0;
    width: auto;
    left: auto;
    line-height: 1.5;
  }

  .side-00 a:hover p.b01 { color: var(--gold); }
}
