:root {
  --ink: #1d2733;
  --ink-soft: #4a5868;
  --line: #d9dfe6;
  --bg: #ffffff;
  --bg-alt: #f4f6f8;
  --navy: #1f3a5f;
  --accent: #d8652b;
  --accent-soft: #fbeee6;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic UI", "Meiryo", sans-serif;
  font-size: 16px;
  line-height: 1.9;
  -webkit-text-size-adjust: 100%;
}

a { color: var(--navy); }

.wrap {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

/* header */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  font-size: 20px;
  font-family: Georgia, "Times New Roman", serif;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-kind { font-size: 11px; color: var(--ink-soft); letter-spacing: 0.08em; }
.brand-name { font-size: 20px; font-weight: 700; letter-spacing: 0.02em; }

.nav { display: flex; gap: 20px; flex-wrap: wrap; }
.nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 14px;
}
.nav a:hover { color: var(--navy); text-decoration: underline; }

/* hero */
.hero {
  background: linear-gradient(180deg, var(--bg-alt), var(--bg));
  padding: 72px 0 56px;
}
.hero-kicker {
  margin: 0 0 12px;
  color: var(--accent);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
}
.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(26px, 4.6vw, 40px);
  line-height: 1.45;
  letter-spacing: 0.02em;
  color: var(--navy);
}
.hero-lead {
  margin: 0;
  max-width: 40em;
  color: var(--ink-soft);
}

/* sections */
.section { padding: 56px 0; }
.section.alt { background: var(--bg-alt); }
.section-head { margin-bottom: 24px; }
.section-head h2 {
  margin: 0;
  font-size: 24px;
  color: var(--navy);
  padding-left: 14px;
  border-left: 5px solid var(--accent);
  line-height: 1.4;
}
.section-note { margin: 10px 0 0; color: var(--ink-soft); font-size: 15px; }
.prose { max-width: 42em; margin: 0 0 24px; }
.small { font-size: 13px; color: var(--ink-soft); margin: 14px 0 0; }

/* rinen */
.rinen { border-bottom: 1px solid var(--line); }
.mission {
  margin: 0 0 20px;
  font-size: clamp(19px, 2.8vw, 24px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.6;
}
.values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 8px;
}
.value {
  background: var(--accent-soft);
  border-radius: 10px;
  padding: 20px;
}
.value-num {
  display: block;
  color: var(--accent);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.1em;
}
.value h3 { margin: 4px 0 8px; font-size: 17px; color: var(--navy); line-height: 1.5; }
.value p { margin: 0; font-size: 15px; color: var(--ink-soft); line-height: 1.8; }

/* koukoku */
.koukoku { border-bottom: 1px solid var(--line); }
.notice-box {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  padding: 20px 24px;
}
.empty { margin: 0; color: var(--ink-soft); }
.notice-list { list-style: none; margin: 0; padding: 0; }
.notice-list li {
  display: flex;
  gap: 20px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.notice-list li:last-child { border-bottom: none; }
.notice-date { color: var(--ink-soft); min-width: 9em; font-variant-numeric: tabular-nums; }

/* profile */
.profile { margin: 0; border-top: 1px solid var(--line); max-width: 42em; }
.profile div {
  display: grid;
  grid-template-columns: 8em 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.profile dt { color: var(--ink-soft); font-weight: 700; }
.profile dd { margin: 0; }

/* cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
}
.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-top: 4px solid var(--navy);
  border-radius: 10px;
  padding: 20px;
}
.card h3 { margin: 0 0 8px; font-size: 17px; color: var(--navy); line-height: 1.5; }
.card p { margin: 0; font-size: 15px; color: var(--ink-soft); line-height: 1.8; }

/* contact */
.contact-mail { margin: 0; }
.contact-mail a {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
  word-break: break-all;
}
.contact-mail a:hover { background: var(--accent); color: #fff; }

/* footer */
.site-footer { background: var(--navy); color: #dfe6ee; font-size: 14px; }
.footer-inner {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  flex-wrap: wrap;
  padding-top: 24px;
  padding-bottom: 24px;
}
.footer-inner p { margin: 0; }
.site-footer a { color: #fff; }
.copy { opacity: 0.7; }

@media (max-width: 600px) {
  .hero { padding: 48px 0 40px; }
  .section { padding: 44px 0; }
  .profile div { grid-template-columns: 1fr; gap: 2px; }
  .notice-box { padding: 16px; }
}

/* photo */
.photo { margin: 24px 0; max-width: 42em; }
.photo img { display: block; width: 100%; height: auto; border-radius: 10px; }
.photo figcaption { margin-top: 8px; font-size: 14px; color: var(--ink-soft); line-height: 1.7; }
.card .photo, .value .photo { margin: 12px 0 0; }

/* logo */
.brand-logo { height: 64px; width: auto; display: block; }
.brand .brand-kind { align-self: flex-end; padding-bottom: 6px; }
@media (max-width: 600px) { .brand-logo { height: 52px; } }

/* ===== 編集画面の部品 v2 ここから(編集画面が自動で管理します。消さないでください) ===== */
.ta-center { text-align: center; }
.ta-right { text-align: right; }
.prose.ta-center, .mission.ta-center, .callout.ta-center, .list.ta-center { margin-left: auto; margin-right: auto; }
.prose.ta-right, .callout.ta-right { margin-left: auto; }
.tc-accent { color: var(--accent); }
.tc-navy { color: var(--navy); }
.tc-red { color: #c62828; }
.mk { background: linear-gradient(transparent 55%, #ffe58a 55%); color: inherit; }
.fs-l { font-size: 1.25em; }
.fs-s { font-size: 0.85em; }
.sub-head { margin: 32px 0 12px; font-size: 19px; color: var(--navy); line-height: 1.5; }
.btn-row { margin: 20px 0; }
.btn { display: inline-block; padding: 12px 26px; border-radius: 8px; background: var(--accent); color: #fff; font-weight: 700; text-decoration: none; }
.btn:hover { opacity: 0.85; }
.btn.btn-navy { background: var(--navy); }
.btn.btn-line { background: transparent; color: var(--navy); border: 2px solid var(--navy); padding: 10px 24px; }
.list { margin: 0 0 24px; padding-left: 1.4em; max-width: 42em; }
.list li { margin: 4px 0; }
.rule { border: 0; height: 1px; background: var(--line); margin: 32px 0; }
.spacer { height: 32px; }
.spacer.sp-s { height: 16px; }
.spacer.sp-l { height: 64px; }
.callout { margin: 24px 0; padding: 18px 22px; border-radius: 10px; background: var(--accent-soft); border-left: 5px solid var(--accent); max-width: 42em; }
.cols { display: grid; gap: 24px; margin: 24px 0; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols.c1 { grid-template-columns: 1fr; }
.cols.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cols.c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.col > :first-child { margin-top: 0; }
.col > :last-child { margin-bottom: 0; }
.media { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 28px; align-items: center; margin: 24px 0; }
.media.media-rev { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
.media.media-rev > .photo { order: 2; }
.media > .photo { margin: 0; max-width: none; }
.media-body > :first-child { margin-top: 0; }
.media-body > :last-child { margin-bottom: 0; }
.photo.w-s { max-width: 240px; }
.photo.w-m { max-width: 420px; }
.photo.w-full { max-width: none; }
.photo.al-center { margin-left: auto; margin-right: auto; }
.photo.al-center figcaption { text-align: center; }
.photo.al-right { margin-left: auto; }
.photo.sh-square img { border-radius: 0; }
.photo.sh-circle img { border-radius: 50%; aspect-ratio: 1; object-fit: cover; }
.gallery { display: grid; gap: 12px; margin: 24px 0; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gallery.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gallery.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gallery .photo { margin: 0; max-width: none; }
.gallery .photo img { aspect-ratio: 4 / 3; object-fit: cover; }
.tbl-wrap { overflow-x: auto; margin: 24px 0; }
.tbl { border-collapse: collapse; width: 100%; font-size: 15px; }
.tbl th, .tbl td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; vertical-align: top; }
.tbl th { background: var(--bg-alt); color: var(--navy); }
.embed { margin: 24px 0; max-width: 42em; }
.embed.w-full { max-width: none; }
.embed iframe { display: block; width: 100%; border: 0; border-radius: 10px; }
.embed.e-video iframe { aspect-ratio: 16 / 9; }
.embed.e-map iframe { height: 360px; }
.embed.e-form iframe { height: 900px; }
.news { list-style: none; margin: 0 0 24px; padding: 0; border-top: 1px solid var(--line); max-width: 42em; }
.news li { display: flex; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.news-date { color: var(--ink-soft); min-width: 7em; font-variant-numeric: tabular-nums; }
.news-text { flex: 1; min-width: 12em; }
.section.bg-soft { background: var(--accent-soft); }
.section.bg-navy { background: var(--navy); color: #fff; }
.section.bg-navy .section-head h2, .section.bg-navy .mission, .section.bg-navy .sub-head { color: #fff; }
.section.bg-navy > .wrap > .prose a { color: #fff; }
@media (max-width: 700px) {
  .cols, .cols.c3, .cols.c4 { grid-template-columns: 1fr; }
  .media, .media.media-rev { grid-template-columns: 1fr; }
  .media.media-rev > .photo { order: 0; }
  .gallery, .gallery.g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* ===== 編集画面の部品 ここまで ===== */
