/* =========================
   新着情報エリア全体
========================= */
#top-news {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    max-width: 960px;
    margin: 0 auto;
    padding: 56px 20px;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
    box-sizing: border-box;
}

/* =========================
   左カラム
========================= */
#top-news-l {
    width: 230px;
    flex-shrink: 0;
}

#top-news-l .tt {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.4;
    color: #222;
    margin-bottom: 8px;
}

#top-news-l .en {
    font-size: 14px;
    line-height: 1.6;
    letter-spacing: 0.12em;
    color: #e67e22;
    margin: 0;
    text-transform: uppercase;
}

/* =========================
   右カラム
========================= */
#top-news-r {
    flex: 1;
    min-width: 0;
}

/* =========================
   1件ずつ
========================= */
.news-line {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 10px 0;
    border-bottom: 1px solid #e67e22;
}

.news-line:first-child {
    padding-top: 0;
}

.news-line-l {
    width: 110px;
    flex-shrink: 0;
    font-size: 14px;
    line-height: 1.45;
    color: #777;
    letter-spacing: 0.03em;
    margin: 0;
}

.news-line-r {
    flex: 1;
    min-width: 0;
    text-align: left;
}

.news-line-r a {
    display: block;
    text-align: left;
    font-size: 16px;
    line-height: 1.45;
    color: #222;
    text-decoration: none;
    transition: opacity 0.3s ease;
    word-break: break-word;
    margin: 0;
}

.news-line-r a:hover {
    opacity: 0.7;
    text-decoration: underline;
}

/* =========================
   一覧を見るリンク
========================= */
.top-w-link {
    margin-top: 26px;
}

.top-w-link a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
    padding: 12px 20px;
    font-size: 14px;
    line-height: 1.4;
    color: #fff;
    background: #222;
    text-decoration: none;
    border-radius: 9999px;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.top-w-link a:hover {
    opacity: 0.85;
    transform: translateY(-1px);
}

/* =========================
   PC/SP 出し分け
========================= */
.pc {
    display: block;
}

.sp {
    display: none;
}

/* =========================
   タブレット
========================= */
@media (max-width: 960px) {
    #top-news {
        gap: 28px;
        max-width: 92%;
        padding: 48px 16px;
    }

    #top-news-l {
        width: 210px;
    }

    #top-news-l .tt {
        font-size: 28px;
    }

    .news-line {
        gap: 16px;
    }

    .news-line-l {
        width: 100px;
    }
}

/* =========================
   スマホ
========================= */
@media (max-width: 767px) {
    #top-news {
        display: block;
        max-width: 100%;
        padding: 40px 15px;
    }

    #top-news-l {
        width: 100%;
        margin-bottom: 22px;
        text-align: center;
    }

    #top-news-l .tt {
        font-size: 24px;
        margin-bottom: 4px;
    }

    #top-news-r {
        width: 100%;
    }

    .news-line {
        display: block;
        padding: 10px 0;
        text-align: center;
    }

    .news-line-l {
        width: 100%;
        margin-bottom: 4px;
        font-size: 13px;
        line-height: 1.35;
        text-align: center;
    }

    .news-line-r {
        text-align: center;
    }

    .news-line-r a {
        font-size: 15px;
        line-height: 1.5;
        text-align: center;
    }

    .pc {
        display: none;
    }

    .sp {
        display: block;
        margin-top: 18px;
        text-align: center;
    }

    .top-w-link {
        text-align: center;
    }

    .top-w-link a {
        width: 100%;
        max-width: 220px;
        padding: 12px 18px;
    }
}

/* 20260702 */
/* =========================
   スライダー下の帯
========================= */
.slider-waku {
  position: relative;
  width: 100%;
  overflow: hidden;
}

#top-slider {
  position: relative;
  z-index: 1;
}

.slider-obi {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 20;
  width: 100%;
  text-align: center;
  background-color: rgb(0 0 0 / 70%);
  box-sizing: border-box;
}

.slider-obi-nai {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 20px;
  width: 100%;
  max-width: 900px;
  min-height: 80px;
  margin: 0 auto;
  padding: 10px 20px;
  box-sizing: border-box;
  font-size: clamp(0.875rem, 0.602rem + 1.36vw, 1.625rem);
  color: #fff;
  font-weight: 600;
  line-height: 1.5;
}

.slider-obi-nai span {
  display: inline-block;
}

.slider-obi-nai a {
  display: inline-block;
  line-height: 0;
  flex-shrink: 0;
}

.slider-obi-nai img {
  display: block;
  height: 70px;
  width: auto;
  max-width: 100%;
}

.slider-obi-nai .sp {
  display: none;
}

@media screen and (max-width: 767px) {
  .slider-obi-nai {
    justify-content: center;
    gap: 10px;
    min-height: 58px;
    padding: 8px 10px;
    font-size: clamp(0.75rem, 3.4vw, 1rem);
    line-height: 1.35;
  }

  .slider-obi-nai img {
    height: 44px;
  }

  .slider-obi-nai .sp {
    display: block;
  }
}


/* =========================
   トップ内ボタンエリア
========================= */
.top-buttons-area {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 20px 0;
}

.top-buttons-area a {
  display: block;
  line-height: 0;
}

.top-buttons-area a img {
  width: min(42vw, 600px);
  height: auto;
  display: block;
}

@media screen and (max-width: 767px) {
  .top-buttons-area {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin: 16px 0;
  }

  .top-buttons-area a {
    width: 100%;
    max-width: 600px;
  }

  .top-buttons-area a img {
    width: 100%;
    height: auto;
  }
}


/* =========================
   h1対応
========================= */
h1 {
  display: none;
}


/* =========================
   右側固定ボタン
========================= */

/* 初期状態では非表示 */
.side-fixed-buttons {
  position: fixed !important;
  right: 0 !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 999999 !important;

  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;

  margin: 0 !important;
  padding: 0 !important;

  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: opacity 0.3s ease, visibility 0.3s ease !important;
}

/* スクロール後に表示 */
.side-fixed-buttons.is-show {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.side-fixed-buttons a {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 0 !important;
}

.side-fixed-buttons img {
  display: block !important;
  width: 90px !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* SP表示：PC同様に右側固定、画像は小さめ */
@media screen and (max-width: 768px) {
  .side-fixed-buttons {
    right: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    gap: 8px !important;
  }

  .side-fixed-buttons img {
    width: 72px !important;
    height: auto !important;
  }
}


/* =========================
   下部4つ固定ボタン
========================= */
.bottom-fixed-buttons {
  position: fixed !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 60px !important;
  z-index: 999999 !important;

  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 0 !important;

  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: transparent !important;
  line-height: 0 !important;
  font-size: 0 !important;
}

.bottom-fixed-buttons a {
  display: block !important;
  flex: 1 1 0 !important;
  height: 60px !important;
  min-width: 0 !important;

  margin: 0 -1px 0 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: transparent !important;
  line-height: 0 !important;
  font-size: 0 !important;
  text-decoration: none !important;
}

.bottom-fixed-buttons a:last-child {
  margin-right: 0 !important;
}

.bottom-fixed-buttons img {
  display: block !important;
  width: calc(100% + 1px) !important;
  height: 60px !important;

  object-fit: cover !important;
  object-position: center center !important;

  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  vertical-align: bottom !important;
}


/* =========================
   下部4つ固定ボタンによる
   フッター重なり対策
========================= */

/* PC：下部4つボタンがあるページだけ、ページ下部に余白を確保 */
body.has-bottom-fixed-buttons {
  padding-bottom: 60px !important;
}

/* SP：下部4つボタンは非表示、フッター下の余白もなし */
@media screen and (max-width: 768px) {
  .bottom-fixed-buttons {
    display: none !important;
  }

  body,
  body.has-bottom-fixed-buttons {
    padding-bottom: 0 !important;
  }
}


/* =========================
   トップへ戻るボタン位置・表示調整
========================= */

/* 基本位置：最初は非表示 */
.gotottop {
  position: fixed !important;
  right: 20px !important;
  bottom: 20px !important;
  z-index: 999998 !important;

  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(10px) !important;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease !important;
}

/* 一定スクロール後に表示 */
.gotottop.is-show {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) !important;
}

/* 下部4つボタンが実際に存在するページだけ、上に移動 */
body:has(.bottom-fixed-buttons) .gotottop {
  bottom: 90px !important;
}

/* SPでは下部4つボタンを出さないため、常に通常位置 */
@media screen and (max-width: 768px) {
  .gotottop {
    bottom: 20px !important;
  }
}

/* トップへ戻るボタン画像サイズ：右側固定ボタンに合わせる */
.gotottop img {
  width: 90px !important;
  height: auto !important;
  display: block !important;
}

/* SPでは右側固定ボタンと同じく小さめ */
@media screen and (max-width: 768px) {
  .gotottop img {
    width: 72px !important;
    height: auto !important;
  }
}