/* Section Line */
.section-line {
  position: relative;
  width: 100%;
  height: 2px;
  margin: 0;
  background-color: #cfcfcf;
  overflow: hidden;
}

.section-line__red {
  position: absolute;
  top: 0;
  left: 0;
  width: 220px;
  height: 100%;
  margin: 0;
  background-color: #c81d25;
}

/* News card */
.news-card-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.news-card-excerpt {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}

/* News list */
.news-list-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.news-list-excerpt {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}

.pagination ul {
  display: flex;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
}

.pagination .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  text-decoration: none;
  color: #334155;
  font-size: 14px;
  transition: all 0.2s;
}

.pagination a.page-numbers:hover {
  border-color: #b91c1c;
  color: #b91c1c;
}

.pagination .page-numbers.current {
  background: #b91c1c;
  border-color: #b91c1c;
  color: #fff;
  font-weight: 600;
}

/* =========================
   Method Block
========================= */

.method-block__panel {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  padding: 0 !important;
}

.method-block__visual img,
.method-block__side img {
  display: block;
  max-width: 100%;
  height: auto;
}

.method-block__heading {
  align-self: center;
}

@media (max-width: 767px) {
  .method-block {
    isolation: isolate;
  }
  .method-block__panel {
    padding: 1rem;
  }

  .method-block__side .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .method-block__side .grid > div {
    min-width: 0;
  }
}

/* =========================================
   Column Section
========================================= */

.column-section__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.column-section__list .column-card {
  box-sizing: border-box;
  width: 94%;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.column-section__list .column-card .truncate {
  line-height: 1.5;
}

.column-section__list .column-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

/* 矢印の見え方を少し上品に */
.column-section__list .column-card > .text-gray-300 {
  transform: translateX(1px);
}

.column-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 110px;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  white-space: nowrap;
  flex-shrink: 0;
}

/* 1 */
.column-badge-1 {
  background: #4f6fb3;
}

/* 2 */
.column-badge-2 {
  background: #6b5fb5;
}

/* 3 */
.column-badge-3 {
  background: #c85793;
}

/* 4 */
.column-badge-4 {
  background: #2fa36b;
}

/* 5 */
.column-badge-5 {
  background: #c96a2b;
}

/* spare */
.column-badge-6 {
  background: #5f6b85;
}

/* =========================================
   About Section
========================================= */

.front-about {
  background: #f3f3f1;
}

.about-card {
  display: block;
}

.about-card__body {
  display: grid;
  grid-template-columns: 1fr 33%;
  min-height: 145px;
  overflow: hidden;
  border-radius: 6px;
  background: inherit;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.about-card:hover .about-card__body {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.about-card__text {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 24px 10px 22px 16px;
  background: #eceeef;
}

.about-card__title {
  font-size: clamp(16px, 1vw, 26px);
  font-weight: 700;
  line-height: 1.45;
  color: #333;
  letter-spacing: 0.02em;
}

.about-card__subtitle {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #bf1e22;
  letter-spacing: 0.02em;
}

.about-card__image {
  height: 100%;
  overflow: hidden;
}

.about-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 767px) {
  .about-card__body {
    grid-template-columns: 1fr 30%;
    min-height: 114px;
  }
  .about-card__text {
    padding: 20px 10px 18px 20px;
  }
}

.map-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 1; /* 1200x400ならこれ */
  overflow: hidden;
  border-radius: 1rem; /* Tailwindなら rounded-2xl */
}

.map-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
