/* ============================================================
   公益財団法人髙梨本家 — 共通スタイルシート
   style.css  rev.2

   このファイルを変更すると全ページのデザインに反映されます。
   各HTMLページの <head> に以下を記述してください：
   <link rel="stylesheet" href="style.css">
   ※ index.html のみカレンダー固有のCSSが追加で必要です
============================================================ */

:root {
  --cream:        #f6f1e8;
  --warm:         #ece3ce;
  --tan:          #d2c0a0;
  --soy-dark:     #2e1204;
  --soy:          #4a1c08;
  --soy-mid:      #6b3518;
  --brown-dark:   #5a3820;
  --brown:        #7a5030;
  --brown-light:  #a07850;
  --green-dark:   #2e4a20;
  --green:        #3d6028;
  --green-mid:    #527a38;
  --green-light:  rgba(61,96,40,0.12);
  --dark-brown:   #2e1204;
  --orange:       #3d6028;
  --orange-light: rgba(61,96,40,0.12);
  --text:         #1e0e04;
  --muted:        #7a6248;
  --cal-off:        #ece3ce;
  --cal-light:      #d2c0a0;
  --cal-mid:        #7a6248;
  --cal-accent-red: #8b2c10;
  --cal-accent-blue:#2e4a20;
  --cal-text:       #1e0e04;
  --cal-white:      #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: var(--cream);
  color: var(--text);
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
}

/* ヘッダー */
.site-header { background: var(--soy-dark); position: sticky; top: 0; z-index: 100; }
.header-inner {
  max-width: 1200px; margin: 0 auto; padding: 16px 30px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.header-logo { display: flex; align-items: center; gap: 16px; }
.logo-emblem {
  width: 60px; height: 60px; border: 2px solid rgba(255,255,255,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: rgba(255,255,255,0.8);
  border-radius: 50%;   /* ← 追加 */
  overflow: hidden;     /* ← 追加 */
}
.logo-jp {
  font-family: 'Noto Serif JP', serif; font-size: 15px; font-weight: 700;
  color: white; letter-spacing: 0.08em; line-height: 1.75;
}
.logo-corp { font-size: 10px; font-weight: 400; color: rgba(255,255,255,0.6); letter-spacing: 0.12em; margin-right: 4px; }
.logo-meisho-label { font-size: 10px; font-weight: 400; color: rgba(255,255,255,0.5); letter-spacing: 0.12em; }
.logo-meisho-name { font-size: 15px; font-weight: 700; color: white; letter-spacing: 0.08em; }
.logo-en { font-size: 9px; color: rgba(255,255,255,0.4); letter-spacing: 0.3em; font-family: 'Space Mono', monospace; }
.header-status {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
  padding: 10px 20px; border-radius: 40px;
}
.hs-dot { width: 8px; height: 8px; border-radius: 50%; background: #6cd87c; box-shadow: 0 0 8px #6cd87c; animation: glow 2s infinite; }
@keyframes glow { 0%, 100% { box-shadow: 0 0 8px #6cd87c; } 50% { box-shadow: 0 0 2px #6cd87c; } }
.hs-text { color: white; font-size: 12px; font-weight: 500; letter-spacing: 0.05em; }
.hs-time { color: rgba(255,255,255,0.5); font-size: 12px; margin-left: 4px; }

/* ナビゲーション */
nav { background: var(--soy-mid); }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 30px; display: flex; flex-wrap: wrap; }
nav a {
  color: rgba(255,255,255,0.65); text-decoration: none; padding: 13px 14px;
  font-size: 13px; font-weight: 500; transition: color 0.2s, background 0.2s; letter-spacing: 0.05em;
}
nav a:hover  { color: white; background: rgba(255,255,255,0.08); }
nav a.active { color: var(--soy-dark); background: var(--cream); border-bottom: none; }

/* ページヒーロー */
.page-hero { background: linear-gradient(to right, #3a1206, #2e1204); padding: 50px 30px; position: relative; overflow: hidden; }
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(-45deg, transparent, transparent 40px, rgba(255,255,255,0.015) 40px, rgba(255,255,255,0.015) 80px);
}
.page-hero-inner { max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; }
.page-hero-num { display: none; }
.page-hero-title {
  font-family: 'Noto Serif JP', serif; font-size: 36px; font-weight: 900;
  color: white; letter-spacing: 0.15em; line-height: 1.3; margin-bottom: 12px;
}
.page-hero-sub { font-size: 13px; color: rgba(255,255,255,0.5); letter-spacing: 0.2em; font-family: 'Space Mono', monospace; }

/* パンくず */
.breadcrumb {
  max-width: 1200px; margin: 0 auto; padding: 14px 30px;
  font-size: 12px; color: var(--muted); display: flex; gap: 8px; align-items: center;
  border-bottom: 1px solid var(--tan);
}
.breadcrumb a { color: var(--green); text-decoration: none; transition: opacity 0.2s; }
.breadcrumb a:hover { opacity: 0.7; }
.breadcrumb span { color: var(--tan); }

/* メインコンテンツ */
.page-main { max-width: 1200px; margin: 0 auto; padding: 50px 30px 80px; }

/* セクション */
.section-block { margin-bottom: 60px; }
.section-title {
  font-family: 'Noto Serif JP', serif; font-size: 22px; font-weight: 900; color: var(--soy);
  letter-spacing: 0.1em; padding-bottom: 12px; border-bottom: 2px solid var(--soy);
  margin-bottom: 28px; display: flex; align-items: center; gap: 12px;
}
.section-title-en { font-family: 'Space Mono', monospace; font-size: 10px; color: var(--muted); letter-spacing: 0.3em; font-weight: 400; }
.section-lead { font-size: 15px; line-height: 2.0; color: var(--text); letter-spacing: 0.05em; margin-bottom: 28px; max-width: 800px; }

/* カードグリッド */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: white; border: 1px solid var(--tan); overflow: hidden; transition: transform 0.2s, box-shadow 0.2s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(46,18,4,0.12); }
.card-img { width: 100%; aspect-ratio: 4/3; background: linear-gradient(135deg, var(--warm), var(--tan)); display: flex; align-items: center; justify-content: center; font-size: 40px; color: rgba(122,80,48,0.3); }
.card-body { padding: 18px; }
.card-title { font-family: 'Noto Serif JP', serif; font-size: 15px; font-weight: 600; color: var(--soy); margin-bottom: 8px; letter-spacing: 0.05em; }
.card-text { font-size: 13px; line-height: 1.8; color: var(--text); }

/* 2カラム */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.two-col-img { width: 100%; aspect-ratio: 4/3; background: linear-gradient(135deg, var(--warm), var(--tan)); display: flex; align-items: center; justify-content: center; font-size: 60px; color: rgba(122,80,48,0.2); }

/* 情報テーブル */
.info-table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 2.0; }
.info-table th, .info-table td { padding: 14px 20px; border-bottom: 1px solid var(--tan); vertical-align: top; text-align: left; }
.info-table th { background: var(--warm); color: var(--soy-mid); font-weight: 700; width: 10em; font-size: 13px; letter-spacing: 0.05em; white-space: normal; vertical-align: top; }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: none; }

/* コンテンツリスト */
.content-list { list-style: none; border-top: 1px solid var(--tan); }
.content-list li { border-bottom: 1px solid var(--tan); padding: 16px 4px; display: flex; gap: 20px; align-items: baseline; font-size: 14px; line-height: 1.8; }
.content-list li .list-date { font-family: 'Space Mono', monospace; font-size: 11px; color: var(--muted); white-space: nowrap; flex-shrink: 0; }
.content-list li a { color: var(--soy-mid); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.content-list li a:hover { border-color: var(--soy-mid); }

/* ボトムナビ */
.bottom-nav { background: var(--soy-dark); padding: 60px 30px; }
.bn-title { text-align: center; font-family: 'Noto Serif JP', serif; font-size: 18px; font-weight: 600; color: rgba(255,255,255,0.6); letter-spacing: 0.3em; margin-bottom: 36px; }
.bn-grid { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.bn-item { background: transparent; border: none; border-bottom: 2px solid transparent; padding: 13px 14px; text-align: center; text-decoration: none; color: rgba(255,255,255,0.65); display: flex; align-items: center; justify-content: center; transition: color 0.2s, background 0.2s; border-radius: 0; }
.bn-item:hover { background: rgba(255,255,255,0.08); color: white; transform: none; }
.bn-item.current { color: white; border-bottom: 2px solid #8cba5a; }
.bn-icon { display: none; }
.bn-name { font-size: 13px; font-weight: 500; letter-spacing: 0.05em; }

/* フッター */
.footer-nav {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0;
  border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 12px; margin-bottom: 12px;
}
.footer-nav a {
  color: rgba(255,255,255,0.6); text-decoration: none; font-size: 12px;
  letter-spacing: 0.08em; padding: 4px 12px;
  border-right: 1px solid rgba(255,255,255,0.2);
  transition: color 0.2s;
}
.footer-nav a:last-child { border-right: none; }
.footer-nav a:hover { color: white; }
.footer-nav a.current { color: var(--soy-dark); background: var(--cream); font-weight: 700; border-radius: 3px; }
footer { background: #2e1204; padding: 20px 30px; text-align: center; font-family: 'Noto Sans JP', sans-serif; font-weight: 400; line-height: 1.8; }
.footer-translate { margin-bottom: 12px; }
.footer-translate select { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.25); color: white; padding: 8px 20px; font-size: 13px; font-family: 'Noto Sans JP', sans-serif; cursor: pointer; border-radius: 20px; min-width: 260px; }
.footer-translate select:focus { outline: none; border-color: #8cba5a; }
.footer-translate select option { background: #2e1204; color: white; }
.footer-address { font-size: 17px; font-weight: 500; color: rgba(255,255,255,0.95); letter-spacing: 0.1em; }
.footer-tel { font-size: 22px; font-weight: 700; color: #a8cc7a; letter-spacing: 0.15em; margin: 4px 0; }
.footer-tel-label { font-size: 13px; color: rgba(255,255,255,0.5); letter-spacing: 0.2em; margin-right: 8px; }
.footer-copy { font-size: 13px; color: rgba(255,255,255,0.4); letter-spacing: 0.1em; margin-top: 4px; }

/* レスポンシブ */
@media (max-width: 1024px) {
  .header-inner { padding: 14px 20px; }
  .logo-jp { font-size: 16px; }
  .page-hero { padding: 40px 20px; }
  .page-hero-title { font-size: 30px; }
  .breadcrumb { padding: 12px 20px; }
  .page-main { padding: 40px 20px 60px; }
  .card-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .two-col { gap: 28px; }
  .bn-grid { grid-template-columns: repeat(5, 1fr); gap: 8px; }
  .bn-item { padding: 16px 8px; }
  .bn-name { font-size: 11px; }
}

@media (max-width: 767px) {
  .header-inner { padding: 12px 16px; flex-wrap: wrap; gap: 10px; }
  .logo-emblem { width: 40px; height: 40px; font-size: 18px; }
  .logo-jp { font-size: 14px; letter-spacing: 0.08em; }
  .logo-en { font-size: 8px; }
  .header-status { padding: 8px 14px; }
  .hs-text { font-size: 10px; }
  .hs-time { font-size: 10px; }
  .nav-inner { padding: 0 8px; }
  nav a { padding: 10px 10px; font-size: 12px; }
  .page-hero { padding: 30px 16px; }
  .page-hero-title { font-size: 26px; letter-spacing: 0.08em; }
  .page-hero-sub { font-size: 10px; letter-spacing: 0.2em; }
  .breadcrumb { padding: 12px 16px; font-size: 11px; }
  .page-main { padding: 28px 16px 60px; }
  .section-lead { font-size: 14px; }
  .section-title { font-size: 18px; }
  .section-title-en { font-size: 9px; }
  .card-grid { grid-template-columns: 1fr; gap: 16px; }
  .two-col { grid-template-columns: 1fr; gap: 20px; }
  .two-col-img { aspect-ratio: 16/9; font-size: 44px; }
  .info-table { font-size: 13px; }
  .info-table th { width: 100px; padding: 12px; font-size: 12px; }
  .info-table td { padding: 12px; }
  .content-list li { flex-direction: column; gap: 4px; }
  .content-list li .list-date { font-size: 10px; }
  .bottom-nav { padding: 40px 16px; }
  .bn-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; max-width: 100%; }
  .bn-item { padding: 13px 10px; }
  .bn-name { font-size: 12px; }
  footer { padding: 16px; }
  .footer-address { font-size: 15px; }
  .footer-tel { font-size: 20px; }
}

@media (max-width: 767px) and (orientation: landscape) {
  .page-hero { padding: 22px 16px; }
  .page-hero-title { font-size: 22px; }
}
