:root {
  --green: #2878A8;
  --green-d: #E1F0F8;
  --pale: #F4F8FC;
  --line: #D5E3EE;
  --text: #222;
  --accent: #e8590c;
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 64px
}

body {
  margin: 0;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;

  font-family: "Noto Sans JP", "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-weight: 400;
  line-height: 1.6;

  color: var(--text);
  /*line-height: 1.8;*/
  background: #fff;
  /*font-size: 16px;*/
  -webkit-text-size-adjust: 100%
}

img {
  max-width: 100%;
  height: auto;
  display: block
}

a {
  color: var(--green)
}

.wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 16px
}

/* header */
header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 3px solid var(--green)
}

.hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 16px;
  max-width: 960px;
  margin: 0 auto
}

.hd .logo {
  width: min(300px, 52vw)
}

.hd-tel {
  display: none;
  text-decoration: none;
  color: #fff;
  background: var(--accent);
  padding: 8px 16px;
  border-radius: 0;
  font-weight: 700;
  white-space: nowrap
}

nav {
  background: var(--green);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch
}

nav ul {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: flex;
  max-width: 960px
}

nav li {
  flex: 1 0 auto
}

nav a {
  display: block;
  color: #fff;
  text-decoration: none;
  text-align: center;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  border-left: 1px solid rgba(255, 255, 255, .25)
}

nav li:first-child a {
  border-left: 0
}

nav a:active,
nav a:hover {
  background: #DCEEF8;
  color: #24658C;
}

/* hero */
.lead-line {
  font-size: 12px;
  color: #666;
  padding: 6px 16px;
  max-width: 960px;
  margin: 0 auto
}

.hero img {
  width: 100%;
  border-radius: 0
}

@media(min-width:960px) {
  .hero {
    max-width: 960px;
    margin: 0 auto
  }
}

/* sections */
section {
  padding: 36px 0
}

section:nth-of-type(even) {
  background: var(--pale);
}

h2 {
  background: linear-gradient(135deg, #DCEEF8, #F1F8FC);
  color: #24658C;
  border-left: 5px solid #65A8D0;
  padding: 14px 20px;
  margin: 0 0 20px;
  font-size: 24px;
  font-weight: 700;
}

h3 {
  margin: 0 0 10px;
  font-size: 17px;
  color: var(--green);
  border-left: 5px solid #65A8D0;
  padding-left: 10px;
}

p {
  margin: 0 0 12px
}

/* call */
.call {
  background: #fff;
  border: 2px solid var(--green);
  border-radius: 0px;
  padding: 18px;
  text-align: center
}

.call small {
  display: block;
  color: #555
}

.call .num {
  display: inline-block;
  font-size: clamp(28px, 8vw, 40px);
  font-weight: 800;
  color: var(--green);
  text-decoration: none;
  letter-spacing: .02em;
  line-height: 1.3
}

.btn {
  display: inline-block;
  margin-top: 8px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 0;
  /* 999px �� 0 */
}

.fax {
  margin-top: 8px;
  font-size: 14px;
  color: #555
}

/* about */
.about,
.area {
  grid-template-columns: minmax(0, 1fr)
}

.about {
  display: grid;
  gap: 18px;
  align-items: center
}

.about img {
  width: 100%
}

.about img {
  border-radius: 0;
  border: 1px solid var(--line)
}

.slogan {
  font-weight: 700;
  color: var(--green)
}

/* services */
.cards {
  display: grid;
  gap: 14px
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0px;
  padding: 16px
}

.card p {
  margin: 0;
  font-size: 15px
}

/* area */
.area {
  display: grid;
  gap: 18px;
  align-items: center
}

.area img {
  border: 1px solid var(--line);
  border-radius: 0%;
  background: #fff;
  margin: 0 auto
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none
}

.tags li {
  background: var(--green);
  color: #fff;
  border-radius: 0;
  padding: 4px 16px;
  font-weight: 700
}

/* access */
.map {
  position: relative;
  padding-top: 66%;
  border-radius: 0px;
  overflow: hidden;
  border: 1px solid var(--line);
  margin-top: 14px
}

.map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0
}

.addr {
  font-style: normal
}

/* table */
table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: 15px
}

th,
td {
  border: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top
}

th {
  background: var(--green-d);
  color: var(--green);
  width: 8.5em;
  white-space: nowrap;
}

section:nth-of-type(even) th {
  background: var(--green-d);
}

/* news */
.news {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0px;
  padding: 14px 16px
}

.news time {
  color: #666;
  margin-right: 8px
}

.news-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin-top: 20px
}

.news-links a {
  display: inline-block;
  padding: 8px 18px;
  border: 1px solid var(--green);
  border-radius: 0;
  background: #fff;
  color: var(--green);
  font-weight: 700;
  text-decoration: none
}

.news-links a:hover,
.news-links a:focus-visible {
  background: var(--green-d)
}

footer {
  background: var(--green);
  color: #fff;
  padding: 28px 0 90px;
  text-align: center;
  font-size: 14px
}

footer a {
  color: #fff
}

footer img {
  margin: 0 auto 10px;
  background: #fff;
  padding: 6px 10px;
  border-radius: 0px
}

/* floating call (mobile) */
.fab {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  background: var(--accent);
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-weight: 800;
  font-size: 18px;
  padding: 14px 8px calc(14px + env(safe-area-inset-bottom));
  box-shadow: 0 -2px 8px rgba(0, 0, 0, .2)
}

.fab small {
  font-weight: 500;
  font-size: 12px;
  margin-left: 6px
}

/* menu button (mobile only) */
.menu-btn {
  display: none;
  align-items: center;
  gap: 8px;
  background: var(--green);
  color: #fff;
  border: 0;
  padding: 8px 12px;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.menu-btn .bars,
.menu-btn .bars::before,
.menu-btn .bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
  transition: transform .2s, background .2s
}

.menu-btn .bars {
  position: relative
}

.menu-btn .bars::before,
.menu-btn .bars::after {
  content: "";
  position: absolute;
  left: 0
}

.menu-btn .bars::before {
  top: -6px
}

.menu-btn .bars::after {
  top: 6px
}

header.open .menu-btn .bars {
  background: transparent
}

header.open .menu-btn .bars::before {
  transform: translateY(6px) rotate(45deg)
}

header.open .menu-btn .bars::after {
  transform: translateY(-6px) rotate(-45deg)
}

@media(max-width:699px) {
  .hd {
    padding: 6px 12px
  }

  .hd .logo {
    width: min(200px, 48vw)
  }

  .menu-btn {
    display: inline-flex
  }

  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    box-shadow: 0 6px 12px rgba(0, 0, 0, .25)
  }

  header.open nav {
    display: block
  }

  nav ul {
    flex-direction: column
  }

  nav a {
    text-align: left;
    padding: 14px 16px;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, .25)
  }

  nav li:first-child a {
    border-top: 0
  }
}

@media(min-width:700px) {
  body {
    font-size: 17px
  }

  .hd-tel {
    display: inline-block
  }

  .about {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr)
  }

  .area {
    grid-template-columns: 360px minmax(0, 1fr)
  }

  .cards {
    grid-template-columns: 1fr 1fr
  }

  nav ul {
    justify-content: center
  }

  nav li {
    flex: 1
  }

  .fab {
    display: none
  }

  footer {
    padding-bottom: 28px
  }
}

/* ---------- 行事ページ（写真つき） ---------- */
.article {
  max-width: none
}

.entry+.entry {
  margin-top: 40px
}

.entry-text {
  max-width: 36em
}

.entry-text .menu {
  margin: 4px 0 12px;
  padding-left: 1.3em
}

.entry-text .lead {
  margin-bottom: 10px
}

.voice {
  margin: 18px 0 0;
  padding: 10px 16px;
  border-left: 4px solid var(--green);
  background: var(--pale);
  font-weight: 700
}

.voice small {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  font-weight: 400;
  color: #555
}

.updated {
  margin-top: 28px;
  font-size: 14px;
  color: #666
}

/* 写真：スマホでは文章の下、PC では文章の右に並べる */
.photos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  align-items: start;
  margin-top: 20px
}

.photo {
  margin: 0
}

.photo img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line)
}

.photo figcaption {
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.6;
  color: #666
}

@media(min-width:700px) {
  .entry:has(.photos) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 26em);
    gap: 40px;
    align-items: start
  }

  .entry:has(.photos) .photos {
    margin-top: 6px
  }
}

/* 写真を大きく見せたい場合：文章の下に、写真を幅いっぱいで並べる（.entry に photos-wide を追加） */
@media(min-width:700px) {
  .entry.photos-wide:has(.photos) {
    display: block
  }

  .entry.photos-wide .photos {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
    margin-top: 16px
  }
}