/* BnPS-Japan サイト共通スタイル */
:root {
  --color-bg: #faf8f3;
  --color-bg-alt: #f0ede3;
  --color-primary: #4a6b52;
  --color-primary-dark: #33473a;
  --color-accent: #a97d4f;
  --color-text: #2e2e2c;
  --color-text-light: #5c5c58;
  --color-border: #ddd6c4;
  --max-width: 1080px;
  --radius: 8px;
  --font-base: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.85;
  font-size: 16px;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--color-primary-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--color-primary-dark);
  color: #fff;
  padding: 8px 16px;
  z-index: 1000;
}
.skip-link:focus { left: 8px; top: 8px; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ヘッダー */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 20px;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand img { height: 44px; width: auto; }
.brand-text {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  line-height: 1.3;
}
.brand-text span { display: block; font-weight: 400; font-size: 0.72rem; color: var(--color-text-light); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 8px 12px;
  font-size: 1rem;
  cursor: pointer;
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
.site-nav a {
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius);
  color: var(--color-text);
  font-size: 0.92rem;
  font-weight: 600;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: var(--color-bg-alt);
  color: var(--color-primary-dark);
  text-decoration: none;
}

/* ヒーロー / ページ見出し */
.page-lead {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #fff;
  padding: 48px 0;
  text-align: center;
}
.page-lead h1 {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  line-height: 1.5;
}
.page-lead p {
  margin: 0;
  opacity: 0.92;
  font-size: 1rem;
}
.breadcrumb {
  font-size: 0.82rem;
  opacity: 0.85;
  margin-bottom: 14px;
}
.breadcrumb a { color: #fff; text-decoration: underline; }

/* メインコンテンツ */
main { padding: 40px 0 60px; }

.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 28px;
}

section.block { margin-bottom: 44px; }
section.block:last-child { margin-bottom: 0; }

h2 {
  font-size: 1.4rem;
  color: var(--color-primary-dark);
  border-left: 5px solid var(--color-accent);
  padding-left: 12px;
  margin: 0 0 20px;
}
h3 {
  font-size: 1.15rem;
  color: var(--color-primary-dark);
  margin: 28px 0 12px;
}
h4 {
  font-size: 1.02rem;
  color: var(--color-text);
  margin: 20px 0 10px;
}
p { margin: 0 0 16px; }
ul, ol { margin: 0 0 16px; padding-left: 1.4em; }
li { margin-bottom: 6px; }

table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 20px;
  font-size: 0.92rem;
}
th, td {
  border: 1px solid var(--color-border);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}
th { background: var(--color-bg-alt); }

figure { margin: 0 0 20px; }
figcaption { font-size: 0.85rem; color: var(--color-text-light); margin-top: 6px; }

.source-note {
  font-size: 0.85rem;
  color: var(--color-text-light);
  border-top: 1px dashed var(--color-border);
  padding-top: 12px;
  margin-top: 24px;
}

.notice-box {
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 0 0 24px;
}

.event-table th { white-space: nowrap; }

.btn {
  display: inline-block;
  background: var(--color-primary);
  color: #fff;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
}
.btn:hover { background: var(--color-primary-dark); color: #fff; text-decoration: none; }

/* お問合せフォーム */
.form-row { margin-bottom: 18px; }
.form-row label {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
  font-size: 0.92rem;
}
.required { color: #b3452c; font-size: 0.78rem; margin-left: 6px; font-weight: 700; }
.form-row input[type="text"],
.form-row input[type="email"],
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
}
.form-row textarea { min-height: 140px; resize: vertical; }
.form-actions { display: flex; gap: 12px; }
.form-actions button {
  font-family: inherit;
  font-size: 0.98rem;
  padding: 12px 30px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
}
.form-actions button[type="submit"] { background: var(--color-primary); color: #fff; font-weight: 700; }
.form-actions button[type="submit"]:hover { background: var(--color-primary-dark); }
.form-actions button[type="reset"] { background: #fff; border: 1px solid var(--color-border); }

.contact-block { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 32px; align-items: start; }
@media (max-width: 760px) {
  .contact-block { grid-template-columns: 1fr; }
}

/* フッター */
.site-footer {
  background: var(--color-primary-dark);
  color: #eee6d6;
  padding: 40px 0 24px;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}
.footer-grid nav ul { list-style: none; padding: 0; margin: 0; }
.footer-grid nav a { color: #eee6d6; }
.footer-grid address { font-style: normal; line-height: 1.9; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 16px;
  text-align: center;
  font-size: 0.8rem;
  color: #cfc6ae;
}

@media (max-width: 760px) {
  .header-inner { flex-wrap: wrap; }
  .nav-toggle { display: inline-block; }
  .site-nav { width: 100%; display: none; }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .footer-grid { grid-template-columns: 1fr; }
}
