@charset "UTF-8";
/* ==========================================================================
   愛犬と過ごすページ（/dog/）専用

   参考サイト（tobuzoo-glamping.com/dog/）と同じ組み方にしています。
     ・上に大きな写真スライダー＋中央寄せの見出し
     ・その下に「魅力」を2列のカードで並べる
     ・カードは「番号バッジ＋見出し」／「本文（左）＋写真（右）」の2段

   カードを増やすときは、page-dog.php の
   <div class="dogf_box"> … </div> をコピーして貼り付けてください。
   ========================================================================== */

/* --- ページ上部の大きなスライダー ---------------------------------------- */
.dogtop {
  padding: 70px 0 0;
}

.dogtop_slider {
  margin-bottom: 40px;
}

.dogtop_slider .photo-slider {
  aspect-ratio: 1340 / 600;
}

.dogtop_title {
  margin-bottom: 24px;
  color: var(--sh-accent-dark);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.6;
  text-align: center;
}

.dogtop_lead {
  line-height: 2.1;
  text-align: center;
}

.dogtop_note {
  margin-top: 16px;
  color: var(--sh-muted);
  font-size: 14px;
  text-align: center;
}


/* --- セクション見出し（英字＋日本語）------------------------------------- */
.dogf_head {
  margin-bottom: 50px;
  font-size: 1.5rem;
  line-height: 1.7;
  text-align: center;
}

.dogf_head .eng {
  display: block;
  margin-bottom: 6px;
  color: var(--sh-accent-dark);
  font-size: 1.5rem;
  letter-spacing: .06em;
}


/* --- 魅力カードの並び（2列）---------------------------------------------- */
.dogf_list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.dogf_box {
  width: 49%;
  margin-bottom: 25px;
  padding: 24px;
  background: var(--sh-tint);
}

/* --- カードの見出し（番号バッジ＋タイトル）-------------------------------- */
.dogf_title {
  display: flex;
  align-items: center;
  margin-bottom: 18px;
}

.dogf_num {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  margin-right: 12px;
  border-radius: 50%;
  background: var(--sh-ink);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 38px;
  text-align: center;
}

.dogf_title p {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.7;
}


/* --- カードの中身（本文＋写真）------------------------------------------- */
.dogf_body {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.dogf_txt {
  flex: 1 1 50%;
  font-size: 15px;
  line-height: 1.9;
}

.dogf_txt small {
  display: block;
  margin-top: 8px;
  color: var(--sh-muted);
  font-size: 13px;
  line-height: 1.7;
}

.dogf_img {
  flex: 0 0 46%;
}

.dogf_img img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}


/* --- スマホ -------------------------------------------------------------- */
@media screen and (max-width: 980px) {
  .dogtop {
    padding: 40px 0 0;
  }

  .dogtop_slider .photo-slider {
    aspect-ratio: 16 / 10;
  }

  .dogtop_title {
    font-size: 1.4rem;
  }

  .dogtop_lead {
    text-align: left;
  }

  .dogf_head {
    margin-bottom: 32px;
    font-size: 1.25rem;
  }
  .dogf_head .eng {
    font-size: 1.25rem;
  }

  /* 1列にして、本文と写真も縦に積みます */
  .dogf_box {
    width: 100%;
    padding: 20px;
  }

  .dogf_body {
    flex-direction: column-reverse;   /* 写真を先に見せます */
    gap: 14px;
  }

  .dogf_txt,
  .dogf_img {
    flex: 1 1 100%;
    width: 100%;
  }

  .dogf_num {
    width: 32px;
    height: 32px;
    margin-right: 10px;
    font-size: 14px;
    line-height: 32px;
  }

  .dogf_title p {
    font-size: 1rem;
  }
}
