/* ===============================
   Hyperdouraku style-2026.css
   Unified Stable Version
=============================== */

/* ===============================
   Reset
=============================== */

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;

  background-image: url("/images/ui/background.png");
  background-repeat: repeat;
  background-attachment: fixed;
  background-position: left top;
}

body {

  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Meiryo", sans-serif;
  letter-spacing: 0.03em; /* わずかに広げると現代的な抜け感が出ます */
  line-height: 1.7;
  background-color: #2f3e36;
  color: #E6E9E0;
}


/* ===============================
   Top Bar
=============================== */

#top-bar {
  width: 100%;
  height: 45px;
  background: #000;
  color: #aaa;

  display: flex;
  align-items: center;
}

.top-bar-inner {
  max-width: 1070px;
  width: 100%;
  margin: 0 auto;
  padding: 0 10px;

  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-text {
  font-size: 13px;
}

.top-bar-sns {
  display: flex;
  gap: 16px;
}

.top-bar-sns img {
  height: 25px;
  opacity: 0.8;
}

.top-bar-sns img:hover {
  opacity: 1;
}


/* ===============================
   Header
=============================== */

#site-header {
  width: 100%;
  background: transparent;
}

#site-header .wrap {
  max-width: 1070px;
  width: 100%;
  margin: 0 auto;
  position: relative;
}

.header-image {
  max-width: 1070px;
  width: 100%;
  position: relative;
}

.header-image img {
  width: 100%;
  height: auto;
  display: block;
}


/* ==============================================
    Global Navigation & Search (PC/SP出し分け・追従対応版)
============================================== */

/* 全体共通：通常時の基本設定 */
#g-nav {
  width: 100%;
  height: 50px;
  background-color: #000;
  z-index: 10000;
}

/* 1070pxのインナーエリア */
#g-nav .menu-list {
  max-width: 1070px;
  width: 100%;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: flex;
  justify-content: center;
  background: #000 url("/images/ui/menu_bg.jpg") repeat-x left top;
  background-size: auto 50px;
}

/* --- PC版（850px以上）の調整 --- */
@media screen and (min-width: 850px) {
  #g-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
  }

  /* 通常時の検索窓：ヘッダー右上の20px内側に配置 */
  #site-search {
    position: absolute;
    right: 20px; /* 下と合わせる */
    top: -60px; 
    z-index: 10;
    transition: all 0.3s ease;
    display: block !important;
  }

  /* スティッキー（固定）時：Gナビの右端からの位置 */
  #g-nav.is-sticky #site-search {
    top: 50%;
    right: 20px; /* 上と合わせる */
    transform: translateY(-50%);
  }

  /* メニュー項目 */
  #g-nav .menu-list li a {
    display: block;
    padding: 0 18px;
    line-height: 50px;
    color: #c9b37e;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    text-shadow: 1px 1px 2px #000;
    transition: color 0.3s;
  }

  #g-nav .menu-list li a:hover {
    color: #d09c15;
    background: rgba(255, 255, 255, 0.05);
  }

  /* ボックス全体の高さを上げ、隙間をなくす */
  .hd-search-box {
    display: flex !important;
    height: 36px !important;           /* 32pxから36pxへ（少し太く） */
    background-color: #928d82 !important; 
    border: 1px solid #666 !important; /* 枠線を少しだけ濃くして引き締める */
    border-radius: 4px;
    overflow: hidden;
    align-items: stretch !important;    /* 中の要素を上下いっぱいに広げる（ズレ防止） */
  }

  /* 入力欄：天地に余裕を持たせる */
  .hd-search-input {
    background-color: transparent !important;
    border: none !important;
    color: #fff !important;
    padding: 0 12px !important;        /* 左右の余白を少し広げる */
    width: 160px !important;           /* 幅も少し広げてゆったりと */
    font-size: 14px !important;        /* 文字も少し大きく */
    outline: none;
    line-height: 36px !important;      /* 高さと同じにして垂直中央に */
  }

  /* ボタン：入力欄と完全に一体化させる */
  .hd-search-button {
    background-color: #d09c15 !important;
    color: #000 !important;
    border: none !important;
    font-weight: bold;
    padding: 0 15px !important;
    cursor: pointer;
    height: 100% !important;           /* 親の36pxいっぱいに広げる */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;              /* 余計な余白をゼロに */
    transition: background-color 0.2s;
  }

  .hd-search-button:hover {
    background-color: #e5ac18 !important; /* ホバーで少し明るく */
  }

  /* PCではハンバーガーボタンのみを隠す */
  #nav-toggle {
    display: none !important;
  }
}

/* --- スマホ版（849px以下）完全修正版 --- */
@media screen and (max-width: 849px) {
  /* Gナビ本体：黒帯と要素の配置 */
  #g-nav {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 0 15px !important;
    height: 50px !important;
    background: #000 url("/images/ui/menu_bg.jpg") repeat-x left top !important;
    background-size: auto 50px !important;
    position: relative;
  }

  /* 検索窓コンテナ */
  #site-search, .site-search {
    display: block !important;
    position: static !important;
    flex: 0 1 210px !important; /* 幅を210pxに固定 */
    margin: 0 !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  /* 検索ボックス本体（背景グレーを強制） */
  .hd-search-box {
    display: flex !important;
    background-color: #928d82 !important; /* [保存情報] ライトグレー */
    border: 1px solid #777 !important;
    border-radius: 4px !important;
    height: 34px !important; /* 黒帯(50px)の中に収まる太さ */
    width: 100% !important;
    overflow: hidden !important;
    align-items: center !important;
  }

  /* 入力欄 */
  .hd-search-input {
    flex: 1 !important;
    background: transparent !important;
    border: none !important;
    color: #fff !important;
    padding: 0 8px !important;
    font-size: 14px !important;
    height: 100% !important;
    outline: none !important;
  }

  /* 検索ボタン */
  .hd-search-button {
    background-color: #d09c15 !important; /* [保存情報] ゴールド */
    color: #000 !important;
    border: none !important;
    padding: 0 12px !important;    /* 左右の余白を少し広げる */
    height: 100% !important;
    font-weight: bold !important;
    font-size: 13px !important;    /* 文字サイズを微調整 */
    white-space: nowrap !important; /* 絶対に改行（縦書き）させない設定 */
    flex-shrink: 0 !important;     /* ボタンが潰されないように固定 */
    min-width: 60px !important;    /* 最低限の横幅を保証 */
  }

  /* ハンバーガーボタン（白） */
  #nav-toggle {
    display: block !important;
    color: #fff !important; 
    font-size: 28px !important;
    background: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    cursor: pointer !important;
  }

  /* メニューリスト（黒帯の真下から出るように修正） */
  #g-nav .menu-list {
    display: none !important;
    position: absolute !important;
    top: 50px !important; /* 黒帯(50px)の真下に固定 */
    left: 0 !important;
    width: 100% !important;
    background: rgba(0, 0, 0, 0.98) !important;
    flex-direction: column !important;
    padding: 0 !important;
    margin: 0 !important;
    z-index: 10000 !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
  }

  #g-nav .menu-list.is-open {
    display: flex !important;
  }

  /* メニュー項目と罫線 */
  #g-nav .menu-list li {
    width: 100% !important;
    border-bottom: 1px solid #333 !important;
    list-style: none !important;
  }

  #g-nav .menu-list li a {
    display: block !important;
    padding: 16px 20px !important; /* 余白をしっかり取って重なり防止 */
    color: #cbc5b9 !important;      /* [保存情報] 基本テキスト */
    font-size: 16px !important;
    line-height: 1.2 !important;
    text-decoration: none !important;
    text-align: left !important;
  }
}

/* ===============================
   Layout（Grid：安定版）
=============================== */

#container {
  display: grid;
  /* 1列目：730px（メイン）, 2列目：340px（サイド側） */
  grid-template-columns: 730px 340px;
  
  /* 行の高さを、中身に合わせる（重要：これでサイドバーが上に詰まります） */
  grid-template-rows: min-content min-content 1fr;
  
  width: 1070px;
  margin: 0 auto;
  align-items: start;
  
  background-color: #394f42;
}

/* ---- Main ---- */
#main {
  grid-column: 1;      /* 1列目に配置 */
  grid-row: 1 / 4;     /* 1行目から3行目までぶち抜き（右側が何行になっても対応） */
  
  background-color: #394f42;
  padding: 10px 50px;
  font-size: 15px;
  line-height: 2.0;
  
  background-image: url("/images/ui/main_background.jpg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: top center;
  background-origin: border-box;
}

/* ---- Ads ---- */
#top-ads {
  grid-column: 2;      /* 2列目に配置 */
  grid-row: 1;         /* 1行目に配置 */
  
  align-self: start;
  
  margin-top: 0;
  margin-bottom: 0;
  padding: 18px 0;    /* 上下に18px程度の余白 */
  
  background-color: #25332b; /* 元色 #252b27; */
  background-image: url("/images/ui/ad_background.jpg");
  background-repeat: repeat-y;   /* 縦方向のみリピート */
  background-position: top center;
  background-size: 100% auto;       /* 幅に合わせる */
  
  /* 子要素（画像やiframe）を中央に寄せる */
  text-align: center;
  
  /* paddingを含めたサイズ計算にする */
  box-sizing: border-box;
}

/* ---- Sidebar ---- */
#sidebar {
  grid-column: 2;      /* 同じく2列目に配置 */
  grid-row: 2 / 4;      /* メインと同じ3行目の終わりまで指定 */
  
  align-self: stretch; /* 親のグリッドの高さまで背景を伸ばす */
  
  width: 100%;
  padding: 0 20px;
  
  background-color: #4a6655; /* 元色 #d1c7bb; */
  font-size: 14px;
  line-height: 2.0;
  
  background-image: url("/images/ui/side_background.png");
  background-repeat: no-repeat;
  background-position: bottom center;
  background-size: 100% auto;
}

/* サイドバー内の共通画像枠 */
#sidebar .special {
  width: 300px;
  margin: 0 auto 20px auto;
  display: flex;
  flex-direction: column;
}

#sidebar .special img {
  /* ★ ここを 100% に変更 */
  width: 100%;     
  height: auto;
  display: block;
  /* 念のため、極端にボケるのを防ぐ設定 */
  image-rendering: -webkit-optimize-contrast; 
}

/* 画像見出し全体のスタイル */
.sidebar-title-image {
    /* 左右の余白を打ち消す（ネガティブマージン） */
    margin: 0 -20px 0px -20px !important; /* ←左右を -20px に */
    padding: 0;
    text-align: center; /* 念のため全体を中央寄せに */
    background-color: #4a6655; /* 画像の背景色と同じ色を指定しておくと、読み込み一瞬馴染む */
    /* テーマ共通のスタイル（線など）を打ち消す */
    border: none !important;         /* 上下左右すべての線を消す */
    background: none !important;     /* もし背景色や背景画像があれば消す */
    box-shadow: none !important;     /* 影があれば消す */
}

/* 擬似要素（::before, ::after）で線が描かれている場合も消す */
.sidebar-title-image::before,
.sidebar-title-image::after {
    content: none !important;
    display: none !important;
}

/* 2. 中にある画像自体のスタイル */
.sidebar-title-image img {
    display: block;      /* 下部の隙間防止 */
    width: 100%;         /* 親要素（サイドバー）の幅いっぱいに広げる */
    height: auto;        /* 比率を維持 */
    margin: 0;           /* 画像自体の余白をなくす */
    border: none;        /* 画像自体の線を消す */
}

/* ---- Ads Layout ---- */
.side-ad-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.side-ad-unit {
  width: 300px;
  height: auto;
}

/* ---- スマホ用トップ広告エリア ---- */
@media (max-width: 849px) {

  #top-ads {
    padding: 10px 0;   /* 上下を同じにする */
  }

  #top-ads .side-ad-unit {
    max-width: 250px;   /* ← ここを250に */
    margin: 0 auto;    /* 下マージン削除 */
  }

  #top-ads .side-ad-unit img,
  #top-ads .side-ad-unit iframe {
    width: 100%;
    height: auto;
  }
  
  .side-ad-section {
    gap: 0;            /* 1枚なら不要 */
  }

}

/* ===============================
   Typography
=============================== */

/* リンクの基本設定 */
a {
  color: #FFCC00;
  text-decoration: none; /* 元ファイルに明示はありませんが、一般的にはnoneでOKです */
}

/* リンクホバー時 */
a:hover {
  color: #CC0000;
  text-decoration: underline; /* 元ファイルではアンダーラインが付与される設定でした */
}

/* 画像ホバー時のみ透明にする場合（元ファイルの再現） */
#inner a:hover img {
  opacity: 0.8;
}

/* 記事とサイドバーのリンク画像ホバー時のみ透明にする */
#main a:hover img,
#sidebar a:hover img {
  opacity: 0.8;
}

/* h1：メイン見出し */
h1 {
  font-size: 17px;
  padding: 6px 0 6px 10px;
  font-weight: bold;
  border-style: solid;
  border-color: #27312F;
  border-width: 0 0 2px 7px; /* 下に2px、左に7px */
}

/* h2：サブ見出し */
h2 {
  font-size: 16px;
  padding: 6px 0 6px 10px;
  font-weight: bold;
  border-style: solid;
  border-color: #d1ae46;
  border-width: 0 0 2px 7px; /* 下に2px、左に7px */
  scroll-margin-top:100px;
}

h3 {
  font-size: 16px;
  padding: 6px 0 6px 10px;
  border: solid #c9b37e;
  border-width: 0 0 2px 7px;
  font-weight: bold;
  scroll-margin-top:100px;
}

p {
  margin: 0 0 10px;
}

.lead {
  font-size: 16px;
  font-weight: 500;
}


/* ===============================
   Media
=============================== */

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

figure {
  margin: 0 0 10px;
}


/* ===============================
   Movie
=============================== */

.movie iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
}

/* ===============================
   旧サイトから引き継ぎ
=============================== */
.orange {
    color: #CC6600
}

.font11 {
    font-size: 11px;
}
.font18 {
    font-size: 18px;
}

.cap_color {
    color: #C9C6A5;
}
.cap_color_small {
    color: #C9C6A5;
    font-size: 80%;
}

.right {
    text-align: right;
}

/* ===============================
    1. メイン内の全テーブル基本
=============================== */
main table {
  width: 100%;
  border-collapse: collapse;
  /* table-layout: fixed; は一旦外し、中身に応じた柔軟な分配を許可します */
  margin-bottom: 20px;
}

main th,
main td {
  padding: 6px 10px;
  vertical-align: top;
  border: 1px solid #566a5f;
}

/* 50:50の基本（クラスなし親テーブル） */
/* ※ 1列目だけ50%にし、2列目以降はブラウザに任せることで3列以上にも対応 */
main table th:first-child,
main table td:first-child {
  width: 50%;
}

/* ===============================
    2. 25:75系（.spec-table & 子テーブル）共通
=============================== */

/* 25:75 の対象デザイン */
main .spec-table,
main table td table {
  font-size: 14px;
  background-color: #3f584a;
  border: 1px solid #5c6f63;
}

/* 1列目を 25% に固定 */
main .spec-table th:first-child,
main .spec-table td:first-child,
main table td table th:first-child,
main table td table td:first-child {
  width: 25%;
  font-weight: bold;
  background-color: #364d41;
  border-right: 1px solid #566a5f;
  letter-spacing: 0.05em;
}

/* 2列目以降の背景色のみ指定（幅は指定しないことで多列に対応） */
main .spec-table td,
main table td table td {
  background-color: #3f584a;
}

/* 最終行の処理 */
main .spec-table tr:last-child th,
main .spec-table tr:last-child td,
main table td table tr:last-child th,
main table td table tr:last-child td {
  border-bottom: none;
}

/* ===============================
   Page Top
=============================== */

#page-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
  
  /* スクロール時のフェードイン・フェードアウト用 */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s, visibility 0.5s;
}

#page-top.is-show {
  opacity: 1;
  visibility: visible;
}

/* --- ボタンリンク本体のスタイル --- */
#page-top a {
  display: block;
  /* シェアボタンと同じ、物理的なフワッとした動き */
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.3s ease;
  /* ページから少し浮いているようなデフォルトの影 */
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3)); 
}

/* --- ボタン内の画像調整 --- */
#page-top img {
  width: 40px;
  display: block;
  /* アニメーション時のギザギザ（ぼやけ）防止 */
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
}

/* --- ホバー時のリッチな演出 --- */
#page-top a:hover {
  /* 上にフワッと浮き上がり、少しだけ拡大 */
  transform: translateY(-5px) scale(1.05);
  /* 影を濃く落とし、ボタン自体を少し明るく光らせる */
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.4)) brightness(1.15);
}

/* --- クリック時（押した瞬間）の演出 --- */
#page-top a:active {
  /* 沈み込む動き */
  transform: translateY(-1px) scale(0.95);
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.3)) brightness(1.05);
  transition-duration: 0.1s;
}


/* ===============================
   Responsive
=============================== */

@media (max-width: 849px) {

  #container {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0; 
    align-items: stretch;
  }

  #main {
    width: 100%;
    padding: 0;   /* ご指定のパディング */
    box-sizing: border-box; /* パディングが幅を追い越さないように */
  }
  
  /* 記事だけに余白を持たせる */
  #main article {
    padding: 12px 12px;
  }

  #sidebar {
    width: 100%;
    display: flex;       /* サイドバー自体をFlexboxに */
    flex-direction: column;
    align-items: center; /* 中身（バナーやタイトル）を中央寄せ */
    text-align: center;
    padding: 0 15px 30px;  /* 1カラム時の余白調整 */
  }

  .side-ad-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center; /* 広告ユニットを中央寄せ */
  }
  
}

  /* 200px幅に制限 */
  #sidebar .special-200 {
    max-width: 200px;
    width: 100%;
    margin: 0 auto 20px;
  }

  #sidebar .special-200 img {
    width: 100%;
    height: auto;
    display: block;
  }

/* ===============================
   Footer
=============================== */

#site-footer {
  width: 100%;
  background: #000;
  color: #aaa;
  text-align: center;

  padding: 32px 10px 28px;
  border-top: 1px solid #222;
  margin-top: 0;
}

/* SNS */

.footer-sns {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-bottom: 14px;
}

.footer-sns img {
  height: 25px;
  opacity: 0.75;
}

.footer-sns img:hover {
  opacity: 1;
}

/* Links */

.footer-links {
  font-size: 13px;
  line-height: 1.8;
  margin-bottom: 10px;
}

.footer-links a {
  color: #c9b37e;
  text-decoration: none;
}

.footer-links a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-links span {
  margin: 0 6px;
  color: #555;
}

/* Copyright */

.copyright {
  font-size: 12px;
  color: #666;
}

/* =========================
   Rakuten Related Items
========================= */

.rakuten-items {
  margin: 2em 0;
}

.rakuten-item-thumb{
  flex: 0 0 75px;
}

.rakuten-item-row {
  display: flex;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px dashed #003333;
}

.rakuten-item-thumb img {
  width: 75px;
  height: 75px;
  object-fit: cover;
  border: 1px solid #928d82;
  display: block;
}

.rakuten-item-info {
  flex: 1;
  display: flex;
  justify-content: space-between;
  padding-left: 15px;
  min-height: 75px;
}

.rakuten-item-title {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  padding-right: 15px;
  flex: 1;
}

.rakuten-item-title a {
  text-decoration: none;
}

.rakuten-item-price {
  font-size: 1.1em;
  white-space: nowrap;
  text-align: right;
}

/* =========================
   FOOTER AREA
   DO NOT REMOVE
========================= */

.rakuten-footer {
  margin-top: 15px;
}

.rakuten-credit {
  text-align: right;
  margin-bottom: 15px;
}

.rakuten-credit a {
  color: #928d82;
  text-decoration: none;
  font-size: 11px;
}

.rakuten-more-link {
  text-align: center;
  font-size: 13px;
}

.rakuten-more-links a {
  color: #d09c15;
  text-decoration: none;
  font-weight: bold;
}

.rakuten-divider {
  color: #928d82;
  margin: 0 8px;
}


/* =========================
   記事の日付 DO NOT REMOVE
========================= */
.publish_date {
  text-align: right;      /* 右寄せ */
  margin-top: 30px;
  clear: both;                  /* 画像などの回り込みを解除 */
  border-bottom-width: 1px;     /* 下線の太さ */
  border-bottom-style: dashed;  /* 破線 */
  border-bottom-color: #003333; /* 指定の暗い青緑色 */
}

/* 旧記事用 */
.date {
    border-bottom-width: 1px;
    border-bottom-style: dashed;
    border-bottom-color: #003333;
    width: 100%;
    text-align: right;
    clear: both;
    margin-bottom: 20px;
}

/* iframe・embed・object（YouTubeなど）レスポンシブ対応 */
#main iframe,
#main embed,
#main object {
  max-width: 100%;       /* 親要素（#main）の幅を超えない */
  width: 100%;           /* 横幅いっぱい */
  aspect-ratio: 16 / 9;  /* 動画埋め込みの標準比率 */
  height: auto;          /* 比率維持 */
  border: none;          /* 枠線削除 */
  margin: 15px 0;
}

/* HTML5 video */
#main video {
  max-width: 100%;
  width: 100%;
  height: auto;          /* 動画の元比率を維持 */
  border: none;
  margin: 15px 0;
}

#main img + br {
  line-height: 0.5;
}

/* =========================
   関連レビュー全体の調整
========================= */
.related-review{
  margin-top:30px;
}

.related-review img{
  margin-right:8px;
  vertical-align:bottom;
}

/* ===============================
    Share Buttons (シェアボタン)
=============================== */

/* --- コンテナ（配置エリア） --- */
.article-share {
  display: flex;
  width: 100%;
  gap: 15px; /* 将来ボタンが増えた時の間隔 */
}

/* 上部配置（左寄せに変更） */
.article-share.share-top {
  margin: 10px 0 20px;
  justify-content: flex-start; /* flex-end から flex-start に変更 */
}

/* 下部配置（中央寄せ、余白を大幅に縮小） */
.article-share.share-bottom {
  margin: 20px 0 30px; /* 上下の余白を小さく */
  justify-content: center;
  padding-top: 15px;   /* 区切り線からの距離を小さく */
  border-top: 1px solid rgba(57, 79, 66, 0.15); /* 薄い区切り線 */
}

/* --- ボタンリンク本体のスタイル --- */
.btn-x-post {
  display: inline-block;
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.3s ease;
  filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.15));
}

/* --- ボタン内の画像調整（元画像サイズ） --- */
.btn-x-post img {
  width: auto;   /* 元画像の幅を維持 */
  height: auto;  /* 元の高さを維持（強制拡大・縮小しない） */
  display: block;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
}

/* --- ホバー時のリッチな演出 --- */
.btn-x-post:hover {
  /* 浮き上がるアクション（元画像サイズに合わせて少し控えめに調整） */
  transform: translateY(-4px) scale(1.02); 
  filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.2)) brightness(1.08);
}

/* --- クリック時（押した瞬間）の演出 --- */
.btn-x-post:active {
  transform: translateY(-1px) scale(0.98); 
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.15)) brightness(1.04);
  transition-duration: 0.1s;
}

/* --- シェアボタン横のモールリンク --- */
.article-share{
display:flex;
align-items:center;
justify-content:space-between;
}

.shop-links{
display:flex;
gap:8px;
margin-left:auto;
}

.btn-shop{
display:inline-flex;
align-items:center;

font-size:13px;

padding:4px 10px;

background:#25332b;

border-radius:4px;

text-decoration:none;

color:#e6e9e0;

transition:all .2s ease;
}

.btn-shop:hover{
background:#364d41;
}


/* --- ヘッダー画像の枠（配置の基準点にする） --- */
.header-image {
  position: relative;
}

/* --- ロゴ部分の透明リンク（トップへ戻る） --- */
.header-logo-link {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  
  /* PC版のロゴの大きさに合わせて調整してください */
  width: 320px;  
  height: 90px; 
  
  z-index: 10; /* 画像や他の要素より上に被せる */
}

/* --- スマホ表示時の調整（849px以下） --- */
@media screen and (max-width: 849px) {
  .header-logo-link {
    /* スマホ版ヘッダー画像のロゴの大きさに合わせて調整してください */
    width: 60%;  /* 横幅の割合指定も便利です */
    height: 80px; 
  }
}

/* --- スティッキー（固定）時：全画面共通 --- */
#g-nav.is-sticky {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10000;

  background-color: #000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.6);

  animation: slideInDown 0.3s ease-out;
}

#g-nav.is-sticky .menu-list {
  background-image: none !important;
  background-color: #000 !important;
  /* スティッキー中もメニューが黒帯のすぐ下から出るように */
  top: 50px !important; 
}


/* ふわっと上から現れるアニメーション */
@keyframes slideInDown {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

/* 固定した際にナビが抜けた分、コンテンツがガクッと跳ね上がらないための補正（必要に応じて） */
#g-nav.is-sticky + #container {
  padding-top: 50px; /* ナビの高さ分を指定 */
}

/* --- スマホ表示（849px以下）のサイドバー --- */
@media screen and (max-width: 849px) {

  /* サイドバー */
  #sidebar {
    padding: 0 15px 25px;
    text-align: center;
  }

  /* 見出し画像（フル幅） */
  #sidebar h3.sidebar-title-image {
    margin: 0 -15px 10px !important;
    padding: 0;
    border: none;
  }

  #sidebar h3.sidebar-title-image img {
    width: auto;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
  }

  /* 通常見出し */
  #sidebar h2,
  #sidebar h3:not(.sidebar-title-image),
  #sidebar .widget-title {
    text-align: left;
    padding-left: 10px;
    padding-bottom: 8px;
    margin-bottom: 15px;
  }

  /* バナー類 */
  #sidebar .special {
    margin: 0 auto 20px;
  }

}

/* 区切り線 旧サイト対応のclear付き */
hr {
    clear: both;
    border: none;
    border-top: 1px dashed #1E282F;
    margin: 10px 0;
}

/* 旧サイト対応 */
.image380 {
    float: left;
    margin: 0 10px 0 0;
}

@media (max-width: 849px) {
  .image380 {
    float: none;
  }
}

.clearBoth {
    clear: both;
}

/* ICO NEW 画像対応 */
#main img[alt*="ICO"],
#main img[alt*="NEW"] {
  width: auto;
  height: auto;
}

/* アイコン共通 */
li img[height="14"] {
  display: inline-block;   /* ← 追加 */
  margin-left: 8px;
  vertical-align: middle;
}

/* リストの・消す */
#main ul {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}

#main ul li {
  list-style: none;
}

#main p img {
  margin-bottom: 5px;
}

#main p {
  margin-bottom: 25px;
}

#main p br + img {
  margin-top: 15px;
}

#main p img + br {
  display: none;
}

#main h2,
#main h3 {
  clear: both;
}

#main .nomarg {
    margin: 0px;
    padding: 0px;
}

/* Amazonレコメンド */
.amazon-box {
  background: #ffffff;
  border-radius: 10px;
  padding: 14px;
  margin: 0 auto 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  max-width: 260px;
  border: 1px solid #e5e5e5;
  text-align: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.amazon-box a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.amazon-box img {
  display: block;
  margin: 0 auto;
  width: 220px;
  height: 160px;
  object-fit: contain;
  border-radius: 6px;
}

.amazon-title {
  font-size: 0.92rem;
  line-height: 1.45;
  height: 2.9em;
  overflow: hidden;
  color: #4a4f46;
  font-weight: 500;
  margin-top: 10px;
}

.amazon-price {
  font-weight: bold;
  color: #6b2f1a;
  margin: 6px 0;
}

.amazon-btn {
  display: block;
  text-align: center;
  background: #394f42;  /* ← 指定色 */
  color: #fff;
  padding: 7px;
  border-radius: 6px;
  font-size: 0.85rem;
  margin-top: 8px;
  letter-spacing: 0.05em;
  transition: 0.2s ease;
}

.amazon-btn:hover {
  background: #2f3f35;  /* 少し暗く */
}

.amazon-box:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

/* =========================
   data-table（既存色・シンプル版）
========================= */

#main article .data-table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  margin: 1.8em 0;
  font-size: 13px;

  background-color: #394f42;  /* メイン背景と統一 */
  border: 1px solid #4b6957;  /* 既存枠線色 */
}

/* セル共通 */
#main article .data-table th,
#main article .data-table td {
  border: 1px solid #4b6957;
  padding: 6px 6px;
  text-align: center;
  color: #E6E9E0;
  word-break: break-word;   /* はみ出し防止 */
}

/* ヘッダー行 */
#main article .data-table th,
#main article .data-table tr:first-child td {
  background-color: #364d41; /* spec-table系統 */
  font-weight: 600;
}

/* 1列目だけ左寄せ */
#main article .data-table td:first-child {
  text-align: left;
  font-weight: 600;
}

/* =========================================
   Hyperdouraku WhatsNew Card Style
========================================= */

/* リスト */

.whatsnew-list{
  list-style:none;
  margin:0;
  padding:0;
}

/* カード */

.whatsnew-item{

  display:flex;
  gap:12px;

  margin:0 0 18px 0;
  padding:12px;

  background:#4B6957;

  border:1px solid #27312F;
  border-right:3px solid #27312F;
  border-bottom:3px solid #27312F;

  border-radius:6px;

  overflow:hidden;

  transition:
    transform .15s ease,
    box-shadow .15s ease,
    background .15s ease;
}

/* hover */

.whatsnew-item:hover{
  transform:translateY(-3px);
  background:#557765;
  box-shadow:0 6px 14px rgba(0,0,0,0.35);
}

/* サムネ */

.whatsnew-thumb{
  flex-shrink:0;
  width:150px;
}

.whatsnew-thumb img{
  width:150px;
  height:90px;
  object-fit:cover;
  border-radius:4px;
  display:block;
}

/* テキスト */

.whatsnew-text{
  flex:1;
}

/* タイトル */

.whatsnew-title{
  display:block;
  font-weight:bold;
  font-size:1.05rem;
  color:#ffffff;
  text-decoration:none;
  margin-bottom:6px;
  line-height:1.4;
}

.whatsnew-title:hover{
  text-decoration:underline;
}

/* 日付 */

#main .whatsnew-date{
  font-size:0.8rem;
  color:#d7e5dd;
  margin:0 0 6px 0;
}

/* 説明 */

#main .whatsnew-desc{
  font-size:0.9rem;
  color:#e6e9e0;
  margin:0;
  line-height:1.5;
}

/* =========================================
   スマホ
========================================= */

@media (max-width:849px){

  /* 左余白解除 */

  #main ul.whatsnew-list{
    padding-left:0;
    margin-left:0;
  }

  /* カード縦並び */

  .whatsnew-item{
    flex-direction:column;
  }

  .whatsnew-thumb{
    width:100%;
  }
  
  .whatsnew-thumb img{
    width:100%;
    height:120px;
    object-fit:cover;
    }

}

/* =========================================
   150*90サムネの横並び
========================================= */
.thumb_4{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  justify-content:center;
}

.thumb_4 img{
  width:150px;
  height:90px;
  display:block;
}

/* =========================
   Hyperdouraku Thumb Grid
========================= */


main ul.thumb-grid,
main ul.thumb-grid li{

margin:0;
padding:0;

display:flex;

}

main ul.thumb-grid{

list-style:none;
margin:0;
padding:0;

display:grid;
grid-template-columns:repeat(3,1fr);

gap:10px;

}

/* カードリンク */

.thumb-grid a{

display:flex;
flex-direction:column;
align-items:center;

background:#364d41;

padding:12px;

text-decoration:none;

color:#e6e9e0;

flex:1;

}

.thumb-grid a:hover{

background:#394f42;

box-shadow:0 3px 6px #27312F;

}

/* 画像 */

.thumb-grid img{

width:150px;
height:auto;

display:block;
margin:0 auto 8px;

flex-shrink:0;

}

/* タイトル */

.thumb-grid span{

display:block;

font-size:0.85rem;
line-height:1.4;

text-align:left;

color:#e6e9e0;

}

@media (max-width:849px){

    #main ul.thumb-grid{
        grid-template-columns:repeat(2,1fr);
    }

}

/* iPAD調整 */
@media (min-width:850px){

  body{
    min-width:1070px;
  }

}

@media (min-width:850px) and (max-width:1100px){

  /* スティッキー時だけ */
  #g-nav.is-sticky .menu-list{
    justify-content:flex-start;
    padding-left:10px;
    padding-right:220px;   /* 検索窓スペース */
  }

  /* メニュー間隔を少し詰める */
  #g-nav.is-sticky .menu-list li a{
    padding:0 12px;
    font-size:13px;
  }
}

/* iPAD mini縦768px画面 1カラム用 改行補正 */
@media (min-width: 631px) and (max-width: 849px) {
  
  #main p img {
    display: block !important;
    float: none !important;
    margin-left: 0;
    margin-right: auto;
    margin-bottom: 15px; /* 画像下のテキストとの距離 */
  }

}

/* 商品検索CTA */
.rakuten-more-links{
display:flex;
justify-content:center;
gap:12px;
margin-top:10px;
flex-wrap:wrap;
}

.rakuten-more-links a{

display:inline-block;

padding:8px 16px;

font-size:13px;
font-weight:600;

border-radius:5px;

text-decoration:none;

color:#fff;

transition:.2s ease;

box-shadow:0 2px 5px rgba(0,0,0,.25);
}

/* 楽天 */
.rakuten-more-links a:first-of-type{
background:#bf0000;
}

/* Amazon */
.rakuten-more-links a:last-of-type{
background:#232f3e;
}

.rakuten-more-links a:hover{
transform:translateY(-2px);
box-shadow:0 6px 14px rgba(0,0,0,.35);
}

/* 区切りは消す */
.rakuten-divider{
display:none;
}

/* パッケージ(STORY TIME等) */
.pack{
margin:20px 0;
}

.pack a{
display:inline-block;
}


/* --- フィールド一覧 本体 --- */
/* --- フィールド一覧 県別ナビ --- */
.hd-pref-nav{
margin-bottom:20px;
font-size:14px;
}

.hd-pref-nav a{
text-decoration:underline;
margin:0 4px;
}

/* カード */

.hd-field-item{

background:#4a6655;

border-left:4px solid #d1ae46;

padding:10px 12px;

margin-bottom:8px;

color:#eef2ef;

display:grid;

grid-template-columns:1fr auto;

grid-template-rows:auto auto;

}


/* 1行目 */

.hd-field-meta{

display:flex;

align-items:center;

gap:10px;

font-size:11px;

letter-spacing:0.5px;

color:#8fa39a;

margin-bottom:4px;

grid-column:1;

grid-row:1;

}


/* 市区町村 */

.hd-field-area{

font-weight:500;

text-transform:uppercase;

color:#c9b37e;

}


/* タグ */

.hd-field-tag{

background:#364d41;

border:1px solid #3a4641;

padding:2px 7px;

font-size:10px;

color:#c7d2cc;

white-space:nowrap;

letter-spacing:0.4px;

}


/* フィールド名 */

.hd-field-name{

font-size:16px;

font-weight:500;

color:#e6e9e0;

grid-column:1;

grid-row:2;

}


/* ボタンエリア */

.hd-field-actions{

display:grid;

grid-template-rows:auto auto;

justify-items:stretch;

gap:4px;

grid-column:2;
grid-row:1 / 3;

align-content:center;

}


/* ボタン */

.hd-btn{

display:block;

background:#2c3733;

border:1px solid #3c4943;

padding:4px 9px;

font-size:11px;

color:#d7ded9;

text-decoration:none;

letter-spacing:0.5px;

width:100%;

text-align:center;

border-radius:5px;

}


/* レビューボタン */

.hd-btn-review{

background:#c39b2d;

border-color:#c39b2d;

color:#e6e9e0;

font-weight:600;

}

