@charset "UTF-8";

/* ==========================================================================
   基本設定（色・角丸・影）
   ========================================================================== */

:root {
  --primary: #0b5b86;
  --primary-deep: #0b5b86;
  --accent: #45a04a;
  --highlight: #ffe76a;

  --surface: #ffffff;

  --text: #1f2a33;
  --text-muted: #4b5563;

  --border: #e7eef3;
  --border-strong: #9fd1e8;

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

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 24px rgba(0, 0, 0, 0.10);

}

/* ==========================================================================
   リセット・基本
   ========================================================================== */

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

body {
  margin: 0;
  font-family: "Meiryo", "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", system-ui, sans-serif;
  background: var(--surface);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  text-decoration: none;
  color: inherit;
}

a:focus-visible {
  outline: 3px solid rgba(43, 143, 191, 0.35);
  outline-offset: 2px;
  border-radius: 6px;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px;
}

section[id] {
  scroll-margin-top: 88px;
}

/* ==========================================================================
   ヘッダー
   ========================================================================== */

header {
  background: var(--surface);
}

header.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--surface);
  border-bottom: 1px solid var(--border-strong);
  box-shadow: var(--shadow-sm);
}

header.site-header .nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 13px;
  padding: 12px 0;
  position: relative;
}

header.site-header .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  min-width: 220px;
}

header.site-header .brand-text strong {
  display: block;
  font-size: 17px;
  font-weight: 900;
  color: var(--primary-deep);
  line-height: 1.1;
  letter-spacing: 0.02em;
}

header.site-header .brand-text span {
  display: block;
  font-size: 15px;
  color: var(--text-muted);
  margin-top: 2px;
  line-height: 1.2;
}

header.site-header .menu {
  display: flex;
  gap: 3px;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
}

header.site-header .menu a {
  text-decoration: none;
  color: var(--text);
  padding: 9px 12px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  transition: background 0.15s, border-color 0.15s, transform 0.12s;
}

header.site-header .menu a:hover {
  background: var(--highlight);
}

header.site-header .cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--primary-deep);
  background: var(--primary-deep);
  color: var(--surface);
  font-weight: 900;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.12s, box-shadow 0.15s, background 0.15s;
}

header.site-header .cta:hover {
  transform: translateY(-1px);
}

header.site-header .nav-open {
  display: none;
}

header.site-header .nav-hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  font-size: 20px;
  user-select: none;
  transition: transform 0.12s, background 0.15s, border-color 0.15s;
}

header.site-header .nav-hamburger:hover {
  transform: translateY(-1px);
  border-color: var(--border-strong);
}

/* ==========================================================================
   ヒーロー
   ========================================================================== */

.hero {
  position: relative;
  color: var(--surface);
  text-align: left;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../image/tameike/hero.jpg") center/cover no-repeat;
  filter: brightness(0.72);
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 40px 16px 48px;
}

.hero-badge {
  display: inline-block;
  background: var(--highlight);
  color: var(--primary-deep);
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 900;
  margin-bottom: 10px;
  font-size: 18px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

.hero-title {
  font-size: 54px;
  font-weight: 900;
  margin: 4px 0 8px;
  letter-spacing: 0.02em;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
}

.hero-subtitle {
  font-size: 32px;
  margin-bottom: 8px;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.28);
}

.hero-note {
  font-size: 16px;
  background: rgba(0, 0, 0, 0.18);
  display: inline-block;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   メイン・セクション
   ========================================================================== */

main {
  background: var(--surface);
  padding: 32px 0 48px;
}

section {
  padding: 24px 0;
}

section+section {
  border-top: 1px solid var(--border);
}

.section-title {
  font-size: 24px;
  margin-bottom: 8px;
  color: var(--accent);
  font-weight: 900;
  border-left: 6px solid var(--accent);
  padding-left: 10px;
}

.section-lead {
  font-size: 18px;
  margin-bottom: 16px;
  color: var(--text);
}

.note {
  font-size: 15px;
  color: #555;
  margin-top: 10px;
}


/* ==========================================================================
   支援内容（カード）
   ========================================================================== */

.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.support-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 18px 18px 16px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  border-top: 6px solid var(--primary);
}

.support-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  color: var(--primary);
  font-weight: 900;
}

.support-card p {
  margin: 0;
  font-size: 14px;
  color: var(--text);
}

.support-card img {
  width: 100%;
  display: block;
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  object-fit: cover;
  max-height: 160px;
}

/* ==========================================================================
   相談窓口（Contact）
   ========================================================================== */

.contact-box {
  max-width: 700px;
  margin: 0 auto;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 18px 18px 16px;
  border: 1px solid var(--border);
  border-top: 6px solid var(--primary);
  box-shadow: var(--shadow-sm);
}

.contact-row {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.contact-row:last-of-type {
  border-bottom: none;
}

.contact-label {
  width: 30%;
  font-weight: 900;
  color: var(--primary-deep);
  display: flex;
  align-items: center;
  letter-spacing: 0.02em;
}

.contact-value {
  width: 70%;
  color: var(--text);
}

.contact-multi-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tel-item {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.place-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: var(--primary-deep);
  font-weight: 700;
}

.tel-item a {
  font-weight: 900;
  color: var(--primary-deep);
  font-size: 20px;
  text-decoration: none;
}

.tel-item a:hover {
  text-decoration: underline;
}

.contact-row:nth-child(3) .contact-value,
.contact-row.is-tel .contact-value {
  font-size: 24px;
  font-weight: 900;
}

.contact-note {
  background: var(--highlight);
  padding: 14px;
  margin-top: 16px;
  font-size: 14px;
  border-radius: var(--radius-md);
  color: #3a2f00;
}
.note-list {
  margin: 0;
  padding-left: 1.2em;
}

.note-list li {
  margin: 6px 0;
}

/* ==========================================================================
   アクセス
   ========================================================================== */

.access-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 16px;
  margin-top: 12px;
}

.map-image {
  width: 100%;
  border-radius: 10px;
  border: 1px solid #cccccc;
}

/* ==========================================================================
   配布資料
   ========================================================================== */

.download-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.download-item {
  display: inline-block;
  background: var(--surface);
  border-left: 6px solid var(--primary);
  padding: 12px 14px;
  font-size: 15px;
  text-decoration: none;
  color: var(--text);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: background 0.15s, transform 0.12s, box-shadow 0.15s;
}

.download-item:hover {
  background: #f1faff;
  transform: translateX(3px);
  box-shadow: var(--shadow-md);
}

/* ==========================================================================
   地図埋め込み
   ========================================================================== */

.map-embed {
  margin-top: 12px;
}

.arcgis-map {
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 320px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

.map-embed-wrapper {
  width: 100%;
  overflow: hidden; 
  background: #eee; 
  border-radius: 8px;
}

.map-embed-wrapper iframe {
  width: 100%;
  display: block; 
  height: 600px;  
}

.map-external-link {
  text-align: right;
  margin-top: 0.5rem;
  font-size: 0.85rem;
}

@media (max-width: 768px) {
  .map-embed-wrapper iframe {
    height: 450px;
  }
}

/* ==========================================================================
   フッター
   ========================================================================== */

footer {
  background: var(--surface);
  color: var(--text);
  font-size: 12px;
  padding: 16px 0 12px;
  margin-top: 0;
  border-top: 1px solid var(--border);
}

footer a {
  color: inherit;
}

/* ==========================================================================
   レスポンシブ
   ========================================================================== */

@media (max-width: 920px) {
  header.site-header .nav {
    padding-left: 12px;
    padding-right: 12px;
  }

  header.site-header .nav-hamburger {
    display: inline-flex;
  }

  header.site-header .menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 12px;
    right: 12px;
    background: var(--surface);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    padding: 10px;
    box-shadow: var(--shadow-md);
  }

  header.site-header .menu a {
    width: 100%;
  }

  header.site-header .nav-open:checked~.menu {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 24px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .hero-inner {
    padding: 32px 16px 40px;
  }

  .access-wrap {
    grid-template-columns: 1fr;
  }

  .contact-box {
    padding: 18px;
  }

  .contact-row {
    flex-direction: column;
    gap: 6px;
  }

  .contact-label,
  .contact-value {
    width: 100%;
  }
}
