/* ===========================
   hero
   =========================== */
.hero {
  position: relative;
  padding: var(--space-section) 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0), rgba(255, 255, 255, 0.75)), url(../img/hero-img1.jpg) center / cover no-repeat;
}

/* テキストを半分より少し右側に寄せる */
.hero .container {
  position: relative;
  width: 40%;
  margin-right: 10%;
  text-align: left;
}

.hero__title {
  color: var(--color-accent);
}

.hero__lead {
  color: var(--color-text-main);
  margin-bottom: var(--space-block);
}

.hero__title, .hero__lead {
  text-shadow: 1px 0px 10px rgba(255, 255, 255, 1)
}

/* ===========================
   Greeting
   =========================== */
.greeting {
background: var(--color-bg-light);
padding: var(--space-section) 0;
}

.greeting__title {
  color: var(--color-accent);
  text-align: center;
}

/* 横並びレイアウト */
.greeting__inner {
  display: flex;
  align-items: flex-start;
  gap: 100px;
  margin-top: var(--space-lg);
}

/* 左：画像 */
.greeting__img {
  flex: 1;
  max-width: 33%;
}

.greeting__img img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
}

/* 右：白背景ボックス */
.greeting__content {
  flex: 2;
}

/* h3（キャッチコピー） */
.greeting__catch {
  color: var(--color-secondary);
}

/* 挨拶文 */
.greeting__text {
  color: var(--color-text-main);
  margin-bottom: var(--space-block);
}

/* CTAボタン */
.greeting__cta {
  margin-left: 0;
}

/* ===========================
   case
   =========================== */
.case {
  padding: var(--space-section) 0;
  background: #fff;
}

.case__title {
  text-align: center;
  color: var(--color-accent);
}

.case__list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
}

.case__item {
  flex: 1 1 calc(50% - var(--space-lg));
  background: var(--color-bg-light);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: transform 0.3s, box-shadow 0.3s;
}

.case__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.case__img {
  width: 100%;
  height: auto;
}

.case__body {
  padding: var(--space-md);
}

.case__label {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  padding: 0.1rem 1rem;
  font-size: var(--font-xxs);
  border-radius: 4px;
  margin-bottom: var(--space-sm);
}

.case__catch {
  color: var(--color-secondary);
  margin-top: var(--space-block);
}

/* ==========================================================================
   💻 news ベース記述（PC・タブレット用：横3カラム）
   ========================================================================== */
.news {
  padding: var(--space-section) 0;
  background: var(--color-bg-light);
}

   .news__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 👈 最初から3カラム */
  gap: var(--space-md, 24px);
  margin-bottom: 40px;
}

.news__item {
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.news__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.news__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.news__img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: #f5f5f5;
}

.news__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news__body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 20px;
}

.news__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.news__date {
  font-size: 0.875rem;
  color: #777;
}

.news__category {
  font-size: 0.75rem;
  font-weight: bold;
  padding: 2px 8px;
  background-color: #f0f0f0;
  border-radius: 4px;
}

.news__item-title {
  font-size: 1.125rem;
  line-height: 1.5;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news__excerpt {
  color: #555;
  font-size: 0.875rem;
  line-height: 1.6;
}

.news__more {
  text-align: center;
}

/* ==========================================================================
   📄 パターン2（画像なし・テキスト2段組み）用CSS
   ========================================================================== */
/* 💻 PC・タブレット用（横2段組み 1/3 と 2/3） */
.news__layout-text {
  display: grid;
  grid-template-columns: 1fr 2fr; /* 👈 左1/3 : 右2/3 の比率 */
  gap: var(--space-lg, 48px);
  align-items: start;
}

.news__title-text {
  margin-bottom: 16px;
}

.news__more-text {
  display: block;
}

.news__more-text .btn-text {
  font-size: 0.875rem;
  color: #333;
  text-decoration: none;
  font-weight: bold;
}

.news__more-text .btn-text:hover {
  text-decoration: underline;
}

/* 右側リスト構造 */
.news__text-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid #e0e0e0; /* 1行目の上の線 */
}

.news__text-item {
  border-bottom: 1px solid #e0e0e0; /* 各行の下の線 */
}

.news__text-link {
  display: flex;
  align-items: center;
  padding: 18px 0;
  text-decoration: none;
  color: inherit;
  transition: background-color 0.2s;
}

.news__text-link:hover {
  background-color: #fafafa; /* ほんのりホバー感 */
}

.news__text-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 220px; /* 👈 日付とカテゴリの幅を固定して、タイトルの位置を揃える */
  flex-shrink: 0;
}

.news__text-date {
  font-size: 0.875rem;
  color: #777;
}

.news__text-category {
  font-size: 0.75rem;
  font-weight: bold;
  padding: 2px 8px;
  background-color: #f0f0f0;
  border-radius: 4px;
}

.news__text-title {
  font-size: 1rem;
  line-height: 1.5;
  white-space: nowrap; /* 💻 PC時は1行で収める（はみ出しは「...」にする） */
   Sherwood-overflow: hidden;
  text-overflow: ellipsis;
  flex-grow: 1;
}

/* ===========================
   cta
   =========================== */
.cta {
  padding: var(--space-section) 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../img/pet-img3.jpg) center / cover no-repeat;
  text-align: center;
}

.cta__title {
  color: #fff;
}

.cta__btn {
  background: var(--color-accent);
  color: #fff;
  margin-top: var(--space-block);
}

.cta p {
  color: #fff;
}

