* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: #222;
  background: #fff;
  font-family: "Hiragino Sans", "Noto Sans JP", sans-serif;
  line-height: 1.6;
}

html:has(body.is-list-modal-open),
html:has(body.is-article-modal-open) {
  overflow: hidden;
}

.hamburger {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 101;
  width: 44px;
  height: 44px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #222;
}

.main-page {
  padding: 80px 24px 24px;
}

.section {
  min-height: 60vh;
  padding: 40px 0;
  border-bottom: 1px solid #ddd;
}
.section h2 {
  margin-top: 0;
}

.sidebar-modal {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: min(320px, 85vw);
  background: #fff;
  box-shadow: 2px 0 12px rgba(0, 0, 0, 0.15);
  z-index: 100;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transform: translateX(-100%);
  transition: transform 0.25s ease;
}

.sidebar-modal__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 99;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

body.is-sidebar-open .sidebar-modal {
  transform: translateX(0);
}
body.is-sidebar-open .sidebar-modal__overlay {
  opacity: 1;
  pointer-events: auto;
}

.sidebar-modal__anchor {
  font-weight: bold;
  text-decoration: none;
  color: #222;
}

.sidebar-modal__sub-link {
  margin-left: 12px;
  font-size: 0.9em;
  color: #2f6f4f;
}

.list-modal {
  position: fixed;
  top: 5vh;
  left: 50%;
  width: min(720px, 92vw);
  max-height: 90vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 8px;
  z-index: 200;
  padding: 24px;
  transform: translate(-50%, 0) scale(0.98);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.list-modal__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 199;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

body.is-list-modal-open .list-modal {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
  pointer-events: auto;
}
body.is-list-modal-open .list-modal__overlay {
  opacity: 1;
  pointer-events: auto;
}

.list-modal__body.is-fading {
  opacity: 0;
  transition: opacity 0.25s ease;
}

.tag-switch-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 12px;
  margin-bottom: 16px;
}
.tag-switch-bar__link {
  padding: 6px 14px;
  border: 1px solid #ddd;
  border-radius: 999px;
  text-decoration: none;
  color: #222;
  font-size: 0.9em;
}
.tag-switch-bar__link.is-active {
  background: #2f6f4f;
  border-color: #2f6f4f;
  color: #fff;
}

.article-list__group {
  margin-bottom: 16px;
}
.article-list__group-title {
  cursor: pointer;
  font-weight: bold;
  padding: 8px 0;
  list-style: none;
}
.article-list__items {
  list-style: none;
  margin: 0;
  padding: 0;
}
.article-list__item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid #ddd;
  cursor: pointer;
}
.article-list__item:hover {
  background: rgba(0, 0, 0, 0.03);
}
.article-list__thumb {
  width: 96px;
  height: 72px;
  object-fit: cover;
  border-radius: 4px;
  background: #eee;
}
.article-list__title {
  margin: 0 0 4px;
  font-weight: bold;
}
.article-list__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  font-size: 0.85em;
  color: #666;
}

.article-modal-wrapper {
  position: fixed;
  top: 2vh;
  left: 50%;
  width: min(920px, 96vw);
  max-height: 96vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 8px;
  z-index: 300;
  padding: 24px;
  transform: translate(-50%, 0) scale(0.98);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.article-modal__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 299;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

body.is-article-modal-open .article-modal-wrapper {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
  pointer-events: auto;
}
body.is-article-modal-open .article-modal__overlay {
  opacity: 1;
  pointer-events: auto;
}

.article-modal-wrapper__body.is-fading {
  opacity: 0;
  transition: opacity 0.25s ease;
}

.carousel {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  margin-bottom: 16px;
}
.carousel__slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  max-height: 50vh;
  object-fit: cover;
  border-radius: 8px;
  background: #eee;
}

.article-modal__map-link {
  display: inline-block;
  margin-bottom: 16px;
  color: #2f6f4f;
}

.article-modal__spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
}
.article-modal__spec-table th, .article-modal__spec-table td {
  text-align: left;
  padding: 6px 8px;
  border-bottom: 1px solid #ddd;
}
.article-modal__spec-table th {
  width: 8em;
  color: #666;
  font-weight: normal;
}

.article-modal__pager {
  display: flex;
  justify-content: space-between;
  margin-top: 24px;
}

.article-modal__pager-link {
  background: none;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 8px 16px;
  cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
  .list-modal,
  .article-modal-wrapper,
  .sidebar-modal,
  .list-modal__overlay,
  .article-modal__overlay,
  .sidebar-modal__overlay,
  .list-modal__body,
  .article-modal-wrapper__body {
    transition: none !important;
  }
}

/*# sourceMappingURL=style.css.map */
