/* ===== 十社大神デモ — デザイントークン ===== */
:root {
  --green:    #74a72d;
  --green-dk: #5a8220;
  --navy:     #112631;
  --navy-lt:  #1e3d4f;
  --bg:       #f7f8f8;
  --bg2:      #ffffff;
  --bg3:      #eef2ee;
  --border:   #d8e4d0;
  --text:     #333333;
  --text2:    #798486;
  --white:    #ffffff;
  --radius:   6px;
  --shadow:   0 2px 12px rgba(17,38,49,0.10);
}

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'Noto Serif JP', 'Yu Mincho', 'YuMincho', '游明朝', serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
  padding-top: 60px;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ===== HEADER ===== */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 60px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.header-logo {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.2;
}
.header-logo .tagline {
  font-size: 0.6rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.05em;
  font-family: 'Noto Sans JP', sans-serif;
}
.header-logo .name {
  font-size: 1.05rem;
  color: var(--white);
  letter-spacing: 0.08em;
  font-family: 'Noto Serif JP', serif;
}

.pc-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.pc-nav a {
  color: rgba(255,255,255,0.8);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  transition: color 0.2s;
  font-family: 'Noto Sans JP', sans-serif;
}
.pc-nav a:hover { color: var(--green); }
.pc-nav .nav-cta {
  background: var(--green);
  color: var(--white);
  padding: 7px 14px;
  border-radius: var(--radius);
  font-size: 0.78rem;
}
.pc-nav .nav-cta:hover { background: var(--green-dk); color: var(--white); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 60px; left: 0; right: 0;
  background: var(--navy);
  z-index: 99;
  flex-direction: column;
  padding: 12px 0 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 13px 24px;
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  font-family: 'Noto Sans JP', sans-serif;
}
.mobile-menu .nav-cta-sp {
  margin: 16px 24px 0;
  background: var(--green);
  color: var(--white);
  border-radius: var(--radius);
  text-align: center;
  border-bottom: none;
  padding: 12px 24px;
}

@media (max-width: 768px) {
  .pc-nav { display: none; }
  .hamburger { display: flex; }
}

/* ===== HERO ===== */
.hero {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 70px 20px 60px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(116,167,45,0.15) 0%, transparent 60%);
}
.hero-eyecatch {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  color: var(--green);
  margin-bottom: 18px;
  position: relative;
}
.hero-title {
  font-size: clamp(2rem, 6vw, 3rem);
  letter-spacing: 0.12em;
  line-height: 1.3;
  margin-bottom: 10px;
  position: relative;
}
.hero-subtitle {
  font-size: clamp(1rem, 3vw, 1.3rem);
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.1em;
  margin-bottom: 6px;
  position: relative;
}
.hero-sub {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.06em;
  margin-bottom: 28px;
  position: relative;
  font-family: 'Noto Sans JP', sans-serif;
}
.hero-rule {
  width: 40px;
  height: 2px;
  background: var(--green);
  margin: 0 auto 24px;
  position: relative;
}
.hero-desc {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.75);
  line-height: 2.2;
  margin-bottom: 34px;
  position: relative;
}
.hero-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green);
  color: var(--white);
  padding: 13px 24px;
  border-radius: var(--radius);
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  transition: background 0.2s;
  font-family: 'Noto Sans JP', sans-serif;
}
.btn-primary:hover { background: var(--green-dk); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  padding: 12px 22px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.4);
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  transition: border-color 0.2s, background 0.2s;
  font-family: 'Noto Sans JP', sans-serif;
}
.btn-secondary:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--navy);
  padding: 13px 28px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: background 0.2s;
  font-family: 'Noto Sans JP', sans-serif;
}
.btn-white:hover { background: var(--bg3); }

.btn-map {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  border: 1px solid var(--green);
  padding: 10px 18px;
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-family: 'Noto Sans JP', sans-serif;
  transition: background 0.2s, color 0.2s;
}
.btn-map:hover { background: var(--green); color: var(--white); }

/* ===== SECTIONS ===== */
section {
  padding: 0;
}
.section-inner {
  max-width: 680px;
  margin: 0 auto;
  padding: 52px 20px;
}
.section-label {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  color: var(--green);
  margin-bottom: 8px;
  text-transform: uppercase;
}
.section-title {
  font-size: clamp(1.3rem, 4vw, 1.7rem);
  letter-spacing: 0.06em;
  line-height: 1.4;
  margin-bottom: 16px;
  color: var(--navy);
}
.section-rule {
  width: 32px;
  height: 2px;
  background: var(--green);
  margin-bottom: 28px;
}
.section-desc {
  font-size: 0.88rem;
  color: var(--text2);
  line-height: 2.1;
  margin-bottom: 28px;
}

/* Alternating bg */
section:nth-child(even) { background: var(--bg2); }

/* ===== PAGE HERO ===== */
.page-hero {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 48px 20px 40px;
}
.page-hero .section-label { color: var(--green); margin-bottom: 10px; }
.page-hero .section-title { color: var(--white); margin-bottom: 0; }

/* ===== NEWS ===== */
.news-list { display: flex; flex-direction: column; gap: 0; }
.news-item {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
}
.news-date { color: var(--text2); font-size: 0.78rem; white-space: nowrap; font-family: 'Noto Sans JP', sans-serif; }
.news-new {
  background: var(--green);
  color: var(--white);
  font-size: 0.6rem;
  padding: 2px 6px;
  border-radius: 2px;
  white-space: nowrap;
  font-family: 'Noto Sans JP', sans-serif;
}
.news-title { line-height: 1.6; }

/* ===== CARDS ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}
.card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 16px;
}
.card .icon { font-size: 1.6rem; margin-bottom: 10px; }
.card h3 { font-size: 0.92rem; margin-bottom: 8px; color: var(--navy); }
.card p { font-size: 0.8rem; color: var(--text2); line-height: 1.8; }
.card .link-more { display: inline-block; margin-top: 10px; font-size: 0.75rem; color: var(--green); font-family: 'Noto Sans JP', sans-serif; }

/* ===== FLOW ===== */
.flow-list { display: flex; flex-direction: column; gap: 0; }
.flow-item {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.flow-item:last-child { border-bottom: none; }
.flow-num {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-family: 'Noto Sans JP', sans-serif;
  margin-top: 2px;
}
.flow-content h3 { font-size: 0.95rem; margin-bottom: 6px; color: var(--navy); }
.flow-content p { font-size: 0.82rem; color: var(--text2); line-height: 1.9; }
.ruby { font-size: 0.65rem; color: var(--green); letter-spacing: 0.05em; margin-bottom: 2px; font-family: 'Noto Sans JP', sans-serif; }

/* ===== TABLE ===== */
.access-table, .pray-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  margin-bottom: 20px;
}
.access-table th, .pray-table th {
  background: var(--navy);
  color: var(--white);
  padding: 10px 14px;
  text-align: left;
  font-weight: 400;
  white-space: nowrap;
  vertical-align: top;
  width: 90px;
}
.access-table td, .pray-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  line-height: 1.8;
}
.pray-table thead th {
  background: var(--navy);
  color: var(--white);
  padding: 10px 14px;
  font-weight: 400;
  width: auto;
}
.pray-table tbody tr:nth-child(even) td { background: var(--bg3); }

/* ===== FAQ ===== */
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 4px;
  cursor: pointer;
  font-size: 0.88rem;
}
.q-mark {
  color: var(--green);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.5;
  min-width: 18px;
  font-family: 'Noto Sans JP', sans-serif;
}
.q-text { line-height: 1.7; flex: 1; }
.faq-a {
  display: none;
  padding: 0 4px 16px 30px;
  font-size: 0.82rem;
  color: var(--text2);
  line-height: 1.9;
}
.faq-item.open .faq-a { display: block; }

/* ===== INFO BOX ===== */
.info-box {
  background: var(--bg3);
  border-left: 4px solid var(--green);
  border-radius: var(--radius);
  padding: 14px 16px;
  font-size: 0.84rem;
  line-height: 1.9;
  margin-bottom: 24px;
  color: var(--text2);
}
.info-box strong { color: var(--text); }

/* ===== CTA SECTION ===== */
.cta-section {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 52px 20px;
}
.cta-lead {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  color: var(--green);
  margin-bottom: 12px;
}
.cta-section h2 {
  font-size: clamp(1.2rem, 4vw, 1.6rem);
  letter-spacing: 0.06em;
  margin-bottom: 28px;
}

/* ===== FOOTER ===== */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  text-align: center;
  padding: 36px 20px 90px;
  font-size: 0.8rem;
  line-height: 2.0;
  font-family: 'Noto Sans JP', sans-serif;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.footer-name { font-family: 'Noto Serif JP', serif; font-size: 1.1rem; color: var(--white); margin-bottom: 4px; }
.footer-tagline { font-size: 0.72rem; color: rgba(255,255,255,0.45); margin-bottom: 10px; }
.footer-tel { font-size: 0.95rem; color: var(--white); margin-bottom: 4px; }
.footer-address { font-size: 0.75rem; margin-bottom: 16px; }
.footer-note { font-size: 0.68rem; color: rgba(255,255,255,0.3); line-height: 1.9; }

/* ===== FIXED CTA ===== */
.fixed-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  display: flex;
  z-index: 98;
  height: 52px;
}
.fixed-cta a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
}
.cta-pray { background: var(--green); color: var(--white); }
.cta-pray:hover { background: var(--green-dk); }
.cta-tel { background: var(--navy); color: var(--white); }
.cta-tel:hover { background: var(--navy-lt); }

/* ===== STAT GRID ===== */
.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 28px;
}
.stat-box {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
}
.stat-label { font-size: 0.68rem; color: var(--green); letter-spacing: 0.1em; margin-bottom: 4px; font-family: 'Noto Sans JP', sans-serif; }
.stat-value { font-size: 0.88rem; color: var(--navy); line-height: 1.5; }

/* ===== FEATURE TAG ===== */
.feature-tag {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  font-size: 0.68rem;
  padding: 3px 8px;
  border-radius: 3px;
  margin-bottom: 6px;
  font-family: 'Noto Sans JP', sans-serif;
}
