/* =========================================================
   SINGLE POST
========================================================= */

.single-post-page {
  min-height: 100vh;
  padding: 160px 24px 120px;
  background: #f4f2ed;
  color: #151515;
}

.single-entry {
  width: min(100%, 1180px);
  margin: 0 auto;
}

.single-post__header {
  width: min(100%, 900px);
  margin: 0 auto 56px;
}

.single-post__eyebrow {
  margin: 0 0 20px;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(21, 21, 21, 0.55);
}

.single-post__title {
  margin: 0;
  font-size: clamp(36px, 5.5vw, 76px);
  line-height: 1.12;
  font-weight: 400;
  letter-spacing: -0.035em;
}

.single-post__lead {
  max-width: 760px;
  margin: 28px 0 0;
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.9;
  color: rgba(21, 21, 21, 0.7);
}

.single-post__hero {
  width: 100%;
  margin: 0 0 72px;
  overflow: hidden;
}

.single-post__hero-image {
  display: block;
  width: 100%;
  height: clamp(360px, 58vw, 720px);
  object-fit: cover;
}

.single-post__content {
  width: min(100%, 820px);
  margin: 0 auto;
  font-size: 16px;
  line-height: 2;
}

.single-post__content > * {
  margin-top: 0;
  margin-bottom: 1.7em;
}

.single-post__content h2 {
  margin-top: 3.5em;
  margin-bottom: 1em;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.35;
  font-weight: 400;
  letter-spacing: -0.025em;
}

.single-post__content h3 {
  margin-top: 2.5em;
  margin-bottom: 0.8em;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.4;
  font-weight: 500;
}

.single-post__content p {
  margin-bottom: 1.7em;
}

.single-post__content ul,
.single-post__content ol {
  padding-left: 1.5em;
}

.single-post__content img {
  display: block;
  width: 100%;
  height: auto;
  margin: 48px 0;
}

.single-post__content figure {
  margin: 48px 0;
}

.single-post__content figcaption {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(21, 21, 21, 0.55);
}

.single-post__content a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.single-post__footer {
  width: min(100%, 820px);
  margin: 96px auto 0;
  padding-top: 32px;
  border-top: 1px solid rgba(21, 21, 21, 0.16);
}

.single-post__back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.single-post__back:hover {
  opacity: 0.6;
  transform: translateX(-4px);
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1024px) {
  .single-post-page {
    padding-top: 130px;
  }

  .single-post__hero {
    margin-bottom: 56px;
  }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {
  .single-post-page {
    padding: 110px 18px 80px;
  }

  .single-post__header {
    margin-bottom: 36px;
  }

  .single-post__eyebrow {
    margin-bottom: 16px;
    font-size: 10px;
  }

  .single-post__title {
    font-size: clamp(32px, 10vw, 48px);
  }

  .single-post__lead {
    margin-top: 20px;
    font-size: 14px;
    line-height: 1.85;
  }

  .single-post__hero {
    margin-bottom: 44px;
  }

  .single-post__hero-image {
    height: 62vw;
    min-height: 260px;
  }

  .single-post__content {
    font-size: 15px;
    line-height: 1.95;
  }

  .single-post__content h2 {
    margin-top: 3em;
    font-size: 28px;
  }

  .single-post__content h3 {
    font-size: 22px;
  }

  .single-post__content img,
  .single-post__content figure {
    margin: 36px 0;
  }

  .single-post__footer {
    margin-top: 64px;
  }
}


/* 投稿本文内に独自ヒーローがあるため、通常タイトルは常に非表示 */
.single-entry:has(.snow-location-page) .single-post__header {
  display: none;
}

/* アイキャッチはPCのみ非表示 */
@media (min-width: 769px) {
  .single-entry:has(.snow-location-page) .single-post__hero {
    display: none;
  }
}
/* =========================================================
   SP ONLY FEATURED IMAGE
========================================================= */

@media (max-width: 768px) {

  .single-entry:has(.snow-location-page) .single-post__hero {
    display: block !important;
    width: 100%;
    margin: 0;
    overflow: hidden;
  }

  .single-entry:has(.snow-location-page) .single-post__hero-image {
    display: block;
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
    margin: 0;
    object-fit: cover;
  }
}




/* =========================================================
   FOOD GUIDE BACK
========================================================= */

.food-guide-back-wrap {
  position: relative;
  z-index: 10;
  box-sizing: border-box;

  padding-top: 32px;
  border-top: 1px solid rgba(21, 21, 21, 0.16);
}

.food-guide-back {
  display: inline-flex;
  align-items: center;
  gap: 12px;

  color: #151515;
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 0.08em;
  text-decoration: none;

  transition:
    opacity .3s ease,
    transform .3s ease;
}

.food-guide-back:hover {
  opacity: .6;
  transform: translateX(-4px);
}


/* =========================================================
   PC
   Drawer 400px + 余白40px
========================================================= */

@media (min-width: 1025px) {

  .food-guide-back-wrap {
    width: calc(100% - 520px);
    max-width: 1180px;

    margin:
      80px
      80px
      80px
      440px;
  }

}


/* =========================================================
   TABLET / SP
========================================================= */

@media (max-width: 1024px) {

  .food-guide-back-wrap {
    width: calc(100% - 40px);
    margin: 64px auto;
  }

}







/* =========================================================
   SINGLE POST BACK BUTTON
========================================================= */

.single-post__back-wrap {
  position: relative;
  z-index: 5;

  width: min(calc(100% - 80px), 1180px);
  margin: 80px auto 120px;
}

.single-post__back-guide {
  display: inline-flex;
  align-items: center;
  gap: 14px;

  padding: 14px 24px;

  border: 1px solid rgba(16, 37, 44, 0.35);

  color: #10252c;
  text-decoration: none;

  font-size: 13px;
  line-height: 1;

  letter-spacing: .08em;

  background: rgba(255,255,255,.9);

  transition:
    background .3s ease,
    color .3s ease,
    transform .3s ease;
}

.single-post__back-guide:hover {
  background: #10252c;
  color: #fff;
  transform: translateX(-4px);
}

.single-post__back-guide-arrow {
  font-size: 18px;
  line-height: 1;
}



/* MOBILE */
@media (max-width: 768px) {

  .single-post__back-wrap {
    width: calc(100% - 40px);
    margin: 60px auto 80px;
  }

  .single-post__back-guide {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
  }

}

/* =========================================================
   SINGLE POST BACK BUTTON
========================================================= */

.single-post__back-wrap {
  position: relative;
  z-index: 20;

  width: min(calc(100% - 80px), 1180px);

  margin:
    80px
    auto
    120px;
}


.single-post__back-guide {
  display: inline-flex;
  align-items: center;
  gap: 14px;

  padding: 14px 24px;

  border: 1px solid rgba(16, 37, 44, 0.35);

  color: #10252c;
  text-decoration: none;

  font-size: 13px;
  line-height: 1;

  letter-spacing: .08em;

  background: rgba(255, 255, 255, .92);

  transition:
    background .3s ease,
    color .3s ease,
    transform .3s ease;
}


.single-post__back-guide:hover {
  background: #10252c;
  color: #fff;
  transform: translateX(-4px);
}


.single-post__back-guide-arrow {
  font-size: 18px;
  line-height: 1;
}



/* =========================================================
   観光ガイド
   PC：左ドロワー420pxを避ける
========================================================= */

@media (min-width: 1025px) {

  /*
   * 冬・春夏・秋すべて
   * 本文と同じ左460pxを基準にする
   */
  .single-entry:has(.snow-location-page)
  .single-post__back-wrap {

    width: min(
      1180px,
      calc(100vw - 550px)
    );

    margin:
      80px
      auto
      120px
      460px;

  }

}



/* =========================================================
   LARGE PC
========================================================= */

@media (min-width: 1800px) {

  .single-entry:has(.snow-location-page)
  .single-post__back-wrap {

    width: min(
      1180px,
      calc(100vw - 590px)
    );

    margin-left: 470px;
    margin-right: auto;

  }

}



/* =========================================================
   4K
========================================================= */

@media (min-width: 2560px) {

  .single-entry:has(.snow-location-page)
  .single-post__back-wrap {

    width: min(
      1180px,
      calc(100vw - 650px)
    );

    margin-left: 490px;
    margin-right: auto;

  }

}



/* =========================================================
   TABLET / MOBILE
========================================================= */

@media (max-width: 1024px) {

  .single-post__back-wrap,
  .single-entry:has(.snow-location-page)
  .single-post__back-wrap {

    width: calc(100% - 40px);

    margin:
      64px
      auto
      80px;

  }

}


@media (max-width: 768px) {

  .single-post__back-wrap,
  .single-entry:has(.snow-location-page)
  .single-post__back-wrap {

    width: calc(100% - 40px);

    margin:
      60px
      auto
      80px;

  }


  .single-post__back-guide {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
  }

}