/*========================================================
  CSS Variables and Global Settings
========================================================*/
:root {
    --color-background: #ffffff;
    --dark-color-background: #121212;

    --color-text: #6E6E6E;
    --color-secondary-text: #7A7A7A;
    --color-tertiary-text: #4B4B4B;

    --dark-color-text: #E5E5E7;
    --dark-color-secondary-text: #A3A092;
    --dark-color-tertiary-text: #aaaaaa;
    --dark-color-quaternary-text: #ECECEC;

    --color-link: #306FDB;
    --color-link-hover: #26ccff;
    --dark-color-link: #4aa7ff;
    --dark-color-link-hover: #3a93e6;

    /* Disclaimerカラー */
    --color-bg-disclaimer: #f0f8ff;
    --dark-bg-disclaimer: #1a3e7e;

/*—— ここからページタイトル専用カラーをブルー系で再設定 ——*/
    /* ライトモード用 */
    --page-title-text:            #1A3F7E; /* NAVY（タイトル文字色） */
    --page-title-border-left:     #3391C5; /* MARINE（左ボーダー） */
    --page-title-border-bottom:   #26ccff; /* LIGHT BLUE（下線） */

    /* ダークモード用 */
    --page-title-text-dark:         #ECECEC; /* LIGHT GRAY（暗い背景上での文字色） */
    --page-title-border-left-dark:  #002EE6; /* MARINE BLUE（暗い背景上でやや強めの左ボーダー） */
    --page-title-border-bottom-dark:#3391C5; /* MARINE（暗い背景上で目立ちすぎず下線） */

    --background-page-description: #fff;
    --dark-background-page-description: rgba(30, 30, 30, 1);

    --saturate-level: 1.5;
    --dark-saturate-level: 1.3;
    --zoom-scale: 1.05;
    --shine-duration: 0.75s;
    --shine-color: rgba(255, 255, 255, 0.3);
    --shine-skew: -25deg;

    --dark-color-menu-text: #ECECEC;
    --category-menu-li-bg-dark-color: rgba(50, 50, 50, 1); /* ダークモードボーダー色 */
    --category-menu-bg-dark-color: rgba(30, 30, 30, 1); /* ダークモード背景色 */

    /* ボーダー ライトモード用 */
    --rank-border-color:       #6cb4e4;
    --rank-bg-light:           #f0f8ff;
    --rank-bg-dark:            #e9f4ff;
    --rank-text-color:         #010079;

    /* ダークモード用：ブルー系半透明を使ったストライプ */
    --rank-border-color-dark:  #3391c5;                       /* MARINE（薄めの青） */
    /* ストライプの“明”部分を 15% 不透明のマリンに */
    --rank-bg-light-dark:      rgba(51, 145, 197, 0.30);
    /* ストライプの“暗”部分を 8% 不透明のマリンブルーに */
    --rank-bg-dark-dark:       rgba(0,  46, 230, 0.20);
    --rank-text-color-dark:    #ececec;                       /* 文字は淡い白/グレー */

    /* アイコンとテキスト間の間隔 */
    --rank-gap:          0.3rem;
    /* 横余白（左右パディング） */
    --rank-horizontal-padding: 0.5rem;
}

/*--------------------------------------------------------
  Base Styles
--------------------------------------------------------*/
html {
    background-color: var(--color-background);
    color: var(--color-text);
}

html.dark-mode {
    background-color: var(--dark-color-background);
    color: var(--dark-color-secondary-text);
}

/* 全てJSで指定しているのでこれだけでOK */
/* .wrapper 以下を選択不可にする */
  /* タッチ長押しメニュー無効 */
.main-wrapper {
  -webkit-touch-callout: none;
}

/* 画像のドラッグ禁止をスクリプトだけで制御する場合はここでは不要ですが
   WebKit 系ブラウザ向けに付けておくとより確実になります */
.main-wrapper img {
  -webkit-user-drag: none;
}

.ad_disclaimer {
    padding: 5px 0;
    font-size: 12px;
    color: var(--color-text);
    text-align: center;
    background-color: var(--color-bg-disclaimer);
}

html.dark-mode .ad_disclaimer {
    color: var(--dark-color-text);
    background-color: var(--dark-bg-disclaimer);
}

.top_wrap {
    display: flex;
    flex-direction: column;
    text-align: justify;              /* 両端揃え */
    line-break: strict;               /* 日本語の改行ルールを厳格に適用 */
    word-break: break-word;           /* 単語が長すぎる場合に改行を許可 */
    font-kerning: normal;             /* 日本語フォントのカーニングを標準設定 */
    text-justify: inter-ideograph;    /* 日本語の文字間隔を自然に調整 */
    overflow-wrap: break-word;        /* 長い単語の折り返しを許可 */
    hyphens: none;                    /* 日本語ではハイフネーションは無効 */
    margin-top: 1em;
}

.top_wrap a {
    color: var(--color-link);
}

html.dark-mode .top_wrap a {
    color: var(--dark-color-link);
}

.top_wrap a:hover {
    color: var(--color-link-hover);
}

html.dark-mode .top_wrap a:hover {
    color: var(--dark-color-link-hover);
}

.top_left {
    margin: 0 0.8em 0 0.8em;
}

.articledate {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    line-height: 1.5;
}

.publish_date,
.modified_date {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    font-size: 0.9rem;
}

.timing {
    font-size: 0.8rem;
    color: #aaaaaa;
    font-feature-settings: "palt";
}

.open {
    color: #1a3e7e;
}

html.dark-mode .open{
    color: #cfe6e6;
}

.ws-drawer {
    display: none;
}

/*========================================================
  Intro Area Styles
========================================================*/
.page_title {
    margin: 10px 10px 0 10px;
    border-left: 5px solid var(--page-title-border-left); /* 太めで濃い縦棒 */
  }

.page_title h1 {
    font-size: 1.2rem;
    margin: 0;
    line-height: 1.5;
    color: var(--page-title-text);
    font-weight: bold;
    border-bottom: 2px solid var(--page-title-border-bottom); /* 細めで明るい下線 */
    padding-bottom: 4px;
    box-shadow: 0 2px 1px rgba(255, 221, 60, 0.2); /* わずかな下線シャドウで立体感 */
        /* 以下を追加 */
    padding-left: 10px;   /* ボーダーからの余白 */
  }

.page_title h1 span{
    display: block;
    text-align: center;
    font-size: 1rem;
    padding: 0em 10px 0 10px;
    color: var(--color-text);
    font-weight: normal;
}

html.dark-mode .page_title {
    border-left: 5px solid var(--page-title-border-left-dark);
}

html.dark-mode .page_title h1 {
color: var(--page-title-text-dark);
border-bottom: 2px solid var(--page-title-border-bottom-dark);
box-shadow: 0 2px 1px rgba(241, 230, 139, 0.2);
}

.page_description{
    display: flex;
    flex-flow: column;
    padding: 0.5em 0.5em;
    margin-bottom: 1.5em;
    background: var(--background-page-description);
    margin-top: 0.5em;
}

.page_description p {
    text-indent: 1rem;
    line-height: 1.5rem;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: var(--color-text);
}

.page_description p:last-of-type {
    margin-bottom: 1rem;
}


html.dark-mode .page_description{
    background: var(--dark-background-page-description);
}

html.dark-mode .page_description p {
    color: var(--dark-color-tertiary-text);
}

/* 折りたたまれた状態 */
.hide-text {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s linear;
}

/* ボタン */
.readmore {
  position: relative;
  width: 107px;
  margin: 0px auto 1em auto;
  background: none;
  color: #666;
  border: none;
  padding-bottom: 15px;
  cursor: pointer;
  transition: color 0.3s;
}

.readmore::after {
  content: "";
  position: absolute;
  width: 30px;
  height: 30px;
  border-top: 3px solid #666;
  border-right: 3px solid #666;
  transform: rotate(135deg);
  right: 38px;
  top: 25px;
  transition: transform 0.3s, top 0.3s;
}

.readmore:hover::after {
  top: 28px;
}

.readmore span {
  display: block;
}

/* 折りたたみ中 */
/* .readmore.active {
  color: transparent;
} */

/* 折りたたみ中の矢印の向き */
.readmore.active::after {
  transform: rotate(-45deg);
    top: 45px;
}

.share1 {
  height: 20px;
  width: 17px;
  vertical-align: top;
  margin-right: 5px;
}

.bottom1 {
  height: 15px;
  width: 17px;
  vertical-align: middle;
  margin-right: 5px;
}

/* pagenav container remains as defined earlier */
/* ────────────────────────────────────────────────────────────
   BEST20 リスト全体のスタイル
──────────────────────────────────────────────────────────── */
.pagenav {
    display: grid;
    /* グリッドで３～列を自動配置 */
    gap: 1em 1.5em;
    grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
    padding: 20px 15px 15px;
    border: 2px solid #adcce8;
    border-radius: 8px;
    background: rgba(255,255,255,0.95);
    margin: 2em 0.2em 1.5em 0.2em;
    /* カウンターを「21」からスタートさせる */
    counter-reset: rank 21;
    list-style: none;         /* デフォルトのマーカーを消す */
    position: relative;
}

/* 見出し部分（疑似要素） */
.pagenav::before {
    content: "アド街 野毛 BEST20";
    position: absolute;
    top: -12px;
    left: 23px;
    background: #fff;
    font-size: 16px;
    font-weight: bold;
    padding: 0 10px;
    color: var(--color-tertiary-text);
}

/* ────────────────────────────────────────────────────────────
   順位とリンク表示部分
   ── .n_menu を除く <li> 要素にのみ順位カウンターを適用
──────────────────────────────────────────────────────────── */
/* .n_menu ではない li 要素にカウンターと線などを適用 */
.pagenav li:not(.n_menu) {
    position: relative;
    padding-left: 3em;                /* 順位数字を左に出すための余白 */
    padding-bottom: 0.2em;
    border-bottom: 1px dotted #adcce8;/* 順位ごとに薄い点線を引く */
    counter-increment: rank -1;       /* 21→20→19…とカウントダウン */
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

/* li:not(.n_menu) の疑似要素で「X位」を表示 */
.pagenav li:not(.n_menu)::before {
    content: counter(rank) "位";
    position: absolute;
    left: 0;                  /* 親要素の左端から表示 */
    width: 2.5em;             /* 左側スペースの幅 */
    text-align: right;        /* 右寄せで「20位」などをそろえる */
    font-weight: bold;
    color: #333333;
}

/* ────────────────────────────────────────────────────────────
   「BEST10へ」「地図から探す」部分 （.n_menu）
   ── li.n_menu は順位付けの対象外とし、線も付けない
──────────────────────────────────────────────────────────── */
.pagenav .n_menu {
    grid-column: 1 / -1;      /* グリッド全幅にまたがる */
    display: flex;
    justify-content: flex-end;
    gap: 1rem;                /* リンク同士の間隔 */
    width: 100%;
    margin: 0;                /* 上下余白はなし */
    font-size: 0.9rem;
    /* 順位カウンターを無効化するため、あえて counter-increment しない */
}

/* .n_menu 内の文字・アイコンを縦中央揃えに */
.pagenav .n_menu span {
    display: flex;
    align-items: center;
}

/* アイコンを使う想定がある場合だけ余白を追加 */
.pagenav .n_menu i {
    margin-right: 0.1em;
}

/* ────────────────────────────────────────────────────────────
   BEST10 用に順位を 11 からカウントダウンしたい場合は .best10 クラスを追加
──────────────────────────────────────────────────────────── */
.pagenav.best10 {
    margin: 2em 1em 1.5em 1em;
    grid-template-columns: repeat(auto-fit, minmax(225px, 1fr));
    counter-reset: rank 11;   /* 順位を 11 から→10→9…とする */
}

.pagenav.best10::before {
    content: "アド街 馬車道 BEST10";
}

/* ────────────────────────────────────────────────────────────
   リンク色の指定 （.pagenav 配下の a 要素だけに適用）
──────────────────────────────────────────────────────────── */
.pagenav a {
    color: #002EE6;
    text-decoration: none;
}
.pagenav a:hover {
    color: #26ccff;
}


/* ========================================
   ダークモード：BEST20 リスト全体のスタイル
   ======================================== */
html.dark-mode .pagenav {
    /* 背景：暗い背景(#121212)上でほんのり透過感を残す */
    background: var(--category-menu-bg-dark-color);
    /* 枠線：ダークグレー寄りの色 (#4B4B4B) に変更 */
    border-color: #4B4B4B;
    gap: 1em 1em;
}

/* 見出し（疑似要素::before）の文字色をダークモード向けに */
html.dark-mode .pagenav::before {
    /* 「アド街 野毛 BEST20」部分の文字色を明るめのブルー系に */
    color: var(--dark-color-menu-text);
    /* 背景色を暗い背景と同系統に調整 */
    background: var(--category-menu-bg-dark-color);
    padding-top: 0.1em;
}

/* ─────────────────────────────────────────
   ダークモード：順位とリンク表示部分
───────────────────────────────────────── */
/* .n_menu を除く li 要素に対して、
   文字色・ボーダー（ドット線）をダークモード向けに */
html.dark-mode .pagenav li:not(.n_menu) {
    /* 文字色をライトグレー系に変更 */
    color: var(--dark-color-text);      /* #E5E5E7 */
    /* 下部のドット線をダークグレー (#4B4B4B) に変更 */
    border-bottom: none;
    background: var(--category-menu-li-bg-dark-color);
    padding-bottom: 0.5em;
    padding-top: 0.5em;
}

/* li:not(.n_menu) の疑似要素 ::before（「X位」）をダークモード向けに */
html.dark-mode .pagenav li:not(.n_menu)::before {
    /* カウンター数字の色をやや淡いグレーに */
    color: var(--dark-color-tertiary-text);  /* #aaaaaa */
}

/* ─────────────────────────────────────────
   ダークモード：「BEST10へ」「地図から探す」部分（.n_menu）
───────────────────────────────────────── */
/* li.n_menu の文字色やアイコン色をダークモード向けに */
html.dark-mode .pagenav .n_menu {
    /* 文字色をライトグレー系に統一 */
    color: var(--dark-color-text);  /* #E5E5E7 */
}

/* .n_menu 内のリンクもダークモード向け色に */
html.dark-mode .pagenav .n_menu a {
    color: var(--dark-color-link);         /* #4aa7ff */
    text-decoration: none;
}
html.dark-mode .pagenav .n_menu a:hover {
    color: var(--dark-color-link-hover);   /* #3a93e6 */
}

/* アイコン要素がある場合は色をリンク色にする */
html.dark-mode .pagenav .n_menu i {
    color: var(--dark-color-link);         /* #4aa7ff */
}

/* ─────────────────────────────────────────
   ダークモード：BEST10 用サブクラス（.best10）の見出し
───────────────────────────────────────── */
/* BEST10 に切り替わった際、見出しテキストもダークモード用に */
html.dark-mode .pagenav.best10::before {
    /* 「アド街 馬車道 BEST10」部分の文字色を明るめブルーに */
    color: var(--dark-color-menu-text);
    background: #121212;
}

/* ─────────────────────────────────────────
   ダークモード：リンク色の調整（.pagenav 配下の a 要素）
───────────────────────────────────────── */
html.dark-mode .pagenav a {
    color: var(--dark-color-link);         /* #4aa7ff */
    text-decoration: none;
}
html.dark-mode .pagenav a:hover {
    color: var(--dark-color-link-hover);   /* #3a93e6 */
}

.top_right{
    margin-bottom: 1em;
}



/*========================================================
  Section Group Styles
========================================================*/
.section-area {
    margin: 40px 0;
}

.section_title {
    margin: 0 15px 20px;
}

.section_title h2 {
    font-size: 1.3rem;
    border-left: 6px solid var(--page-title-border-left);
    border-bottom: 2px solid var(--page-title-border-bottom); /* 細めで明るい下線 */
    padding: 0.25em 0 0.5em 0.5em;
    color: var(--page-title-text);
}

.section_title i{
    margin-right: 0.3rem;
}


/*========================================================
  Studio Talk Styles
========================================================*/
.talk{
    margin: 1.5rem 1rem;
    border: 2px solid #438954;
}

.talk h2{
    text-align: center;
    background-color: #438954;
    color: #fff;
    padding: 3px;
    font-size: 1.1rem;
}

.tname{
    display: block;
    color: navy;
    /* font-weight: bold; */
    margin-bottom: 0.2em;
    font-size: 13px;
}

.talk p{
/*    text-indent: 1rem;*/
    margin: 0.8rem;
    text-align: justify;
    font-size: 15px;
    color: #555555;
    padding-left:1em;
    text-indent: -1em;
    font-feature-settings: "palt";
}

html.dark-mode .talk{
  background-color: #2A2A2A;
}

html.dark-mode .tname{
  color: #66CC66;
}

html.dark-mode .talk p{
  color: #ECECEC;
}

.talk span{
    display: block;
}


/*========================================================
  Googleマップ埋め込み Styles
========================================================*/
.map-responsive {
    position: relative;
    padding-bottom: 75%; /* モバイル: アスペクト比4:3 */
    height: 0;
    overflow: hidden;
    max-width: 100%; /* 親要素の幅に収まる */
    margin: 0.5em 1em 0.5em 1em;
    min-height: 250px; /* 読み込み前の高さ確保 */
}

.map-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0; /* 不要な枠線を削除 */
}

html.dark-mode .map-responsive{
    filter: brightness(0.8) contrast(1.1);
}

.marker {
    background: linear-gradient(transparent 50%, #ffff66 50%);
}

html.dark-mode .marker {
    background: linear-gradient(transparent 50%, #dd0000 70%);
}


/*========================================================
  Shop Layout
========================================================*/

/*───────────────────────────────────────────
  モダン版 .rank スタイル
───────────────────────────────────────────*/
.rank {
  display: flex;
  align-items: center;
  gap: var(--rank-gap);

  /* フォントサイズと色 */
  font-size: 1rem;
  color: var(--rank-text-color);

  /* 上下の余白：1rem と 0.5rem、左右は固定の 10px 相当（0.625rem）にしています */
  margin-block-start: 1rem;
  margin-block-end:   0.5rem;
  margin-inline:      0.8rem;

  /* 内側の余白：上下0.25rem、左右は変数で調整 */
  padding-block:      0.35rem;
  padding-inline:     var(--rank-horizontal-padding);

  /* 上下に細めのソリッド線を引く（上下とも同じ色・太さ） */
  border-block-start: 2px solid var(--rank-border-color);
  border-block-end:   2px solid var(--rank-border-color);
  border-inline:      none;

  /* 斜めストライプの背景（グラデーション）の指定 */
  background: repeating-linear-gradient(
    -45deg,
    var(--rank-bg-light) 0,
    var(--rank-bg-light) 0.1875rem,  /* 3px 相当 */
    var(--rank-bg-dark)  0.1875rem,
    var(--rank-bg-dark)  0.4375rem   /* 7px 相当 */
  );
}


html.dark-mode .rank {
  border-color: var(--rank-border-color-dark);
  background: repeating-linear-gradient(
    -45deg,
    var(--rank-bg-light-dark) 0,
    var(--rank-bg-light-dark) 0.1875rem,
    var(--rank-bg-dark-dark)  0.1875rem,
    var(--rank-bg-dark-dark)  0.4375rem
  );
  color: var(--rank-text-color-dark);
}

.ranking_img{
  display: flex;
  justify-content: center;
  margin: 0 1em;
}

.ranking_img .image-container{
      max-width: 832px;
      margin: 0.5em 0 1em 0;
}

.rank_desc p{
    text-indent: 1rem;
    text-align: justify;
    font-feature-settings : "pkna";
    line-height: 1.5rem;
    margin: 0 1em 0.5rem 1em;
}

.rank_desc a{
    color: var(--color-link);
}

.rank_desc a:hover{
    color: var(--color-link-hover);
}

html.dark-mode .rank_desc a {
    color: var(--dark-color-link);
}

html.dark-mode .rank_desc a:hover{
    color: var(--dark-color-link-hover);
}


.shop_box{
    display: flex;
    flex-flow: column;
    margin: 1rem 0.8rem;
}

.shop_box a{
    color: var(--color-link);
}

.shop_box a:hover{
    color: var(--color-link-hover);
}

html.dark-mode .shop_box a {
    color: var(--dark-color-link);
}

html.dark-mode .shop_box a:hover{
    color: var(--dark-color-link-hover);
}

.shop_name{
    padding: .2em 0 .2em .3em;
    margin-bottom: 1em;
    color: navy;
    border-left: 6px solid #6cb4e4;
    border-bottom: 1px solid #6cb4e4;
    font-size: 1.1rem;
}

.shop_name i{
    margin-right: 3px;
}

html.dark-mode .shop_name{
    color: var(--dark-color-secondary-text);
}

html.dark-mode .shop_name i{
    color: var(--dark-color-text);
}

.shop_contents{
    display: flex;
    align-items: center;
    flex-flow: column;
    gap: 1em;
}

.shop_desc{
    display: flex;
    flex-flow: column;
    gap: 1rem;
    margin-bottom: 1rem;
}

.shop_desc p{
    text-indent: 1rem;
    text-align: justify;
    font-feature-settings : "pkna";
    line-height: 1.5rem;
    margin: 0rem 0.5rem 0rem 0.5rem;
}

html.dark-mode .shop_desc{
  padding: 0.5em 0;
  background-color: var(--dark-background-page-description);
}

html.dark-mode .shop_desc p{
    color: var(--dark-color-tertiary-text);
}

/*========================================================
  Shop Description and Info
========================================================*/
.shop_info {
    align-self: center;
    margin: 0;
    padding: 0.5em;
    width: 100%;
}

.shoplabel {
    font-size: 0.9rem;
    padding: 0.2em 0.7em 0.4em;
    border-left: 5px solid #F5D285;
    color: #333333;
}

.info_item {
    display: flex;
    margin: 0;
}

.info_item a {
    color: #002EE6;
}

.info_item a:hover {
    color: #26ccff;
}

.s_label {
    width: 7.5em;
    text-align: right;
    margin: 0;
    line-height: 1.5em;
    font-size: 0.9rem;
    color: #6B6B6B;
    font-weight: bold;
    font-feature-settings: "palt";
    white-space: nowrap;
    background: #FAF8F5;
    padding: 0.5em;
    border-bottom: 1px solid #E5E0CF;
}

.s_info {
    flex: 1;
    max-width: calc(100% - 7.5em);
    margin: 0;
    line-height: 1.5em;
    text-align: justify;
    line-break: strict;
    word-break: break-word; /* 日本語は単語単位で改行、英語は柔軟に */
    font-kerning: normal;
    text-justify: auto; /* 日本語の不自然な空白を抑える */
    overflow-wrap: break-word;
    hyphens: auto; /* 英語でハイフネーションを許可 */
    font-feature-settings: "palt";
    font-size: 0.9rem;
    padding: 0.5em 0.5em 0.5em 1em;
    border-bottom: 1px dotted #E5E0CF;
}

.info_item:first-of-type .s_label,
.info_item:first-of-type .s_info {
    border-top: 1px solid #D5CEB7;
}

.info_item:last-of-type .s_label,
.info_item:last-of-type .s_info {
    border-bottom: 1px solid #D5CEB7;
}

.s_info span:not(.eng_kern):not(.openday) {
    display: block;
}

.s_info.email{
word-break: break-all;
}


/*==============================
  List Counters & Markers
==============================*/
.disc_sm {
    font-size: 0.9rem;
    color: #929292;
    line-height: 1.5;
    text-indent: -0.6em;
    padding-left: 0.6em;
}

.disc_sm.margin{
  margin-top: 0.3em;
}

/* 英語表記の文字単位で改行許可 */
.eng_kern{
    word-break: break-all; /* 文字単位で改行を許可 */
    white-space: normal;   /* 通常の折り返し動作を維持 */
}

/*  シンプルに複数番号あり用 */
    .phone_nums li{
        margin-bottom: 0.3em;
    }

    .phone_nums li:last-child{
        margin-bottom: 0;
    }

/* 丸数字リスト (.marunum_list) */
.marunum_list {
    list-style: none;        /* ブラウザ標準のリストマーカー削除 */
    padding: 0;
    margin: 0;
    counter-reset: marunum;  /* カウンターをリセット */
  }
  .marunum_list li {
    position: relative;
    margin-bottom: 0.5em;
    padding-left: 1.2em;     /* 数字表示のための余白 */
    line-height: 1.5;
    counter-increment: marunum;
  }

  .marunum_list li:last-child {
    margin-bottom: 0;
  }

  /* 各 li の先頭に「①」「②」…と表示する（最大4項目想定） */
  .marunum_list li:nth-child(1)::before { 
    content: "①"; 
    position: absolute; left: 0; top: 0; 
    font-weight: bold; width: 1.2em;
  }
  .marunum_list li:nth-child(2)::before { 
    content: "②"; 
    position: absolute; left: 0; top: 0; 
    font-weight: bold; width: 1.2em;
  }
  .marunum_list li:nth-child(3)::before { 
    content: "③"; 
    position: absolute; left: 0; top: 0; 
    font-weight: bold; width: 1.2em;
  }
  .marunum_list li:nth-child(4)::before { 
    content: "④"; 
    position: absolute; left: 0; top: 0; 
    font-weight: bold; width: 1.2em;
  }

.reserve p {
    font-size: 0.9rem;
    text-align: justify;
    font-feature-settings: "palt";
    line-height: 1.5rem;
    margin-bottom: 0.5em;
}

.reserve li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.5em;
}

.reserve li:last-child {
    margin-bottom: 0;
}

.reserve li::before {
    content: "\f2e7";
    font-family: "Font Awesome 6 Free";
    flex-shrink: 0;
    font-size: 0.9rem;
    color: #FDB813;
    margin-right: 0.3em;
}

/* Business Hours */
.business_hours,
.business_hours ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.business_hours > li {
    margin-bottom: 0.8em;
}

.business_hours > li:last-child {
    margin-bottom: 0;
}

.business_hours li li {
    position: relative;
    margin-bottom: 0.3em;
    line-height: 1.5;
    /* padding-left: 1em; */
}

/* .business_hours li li::before {
    content: "▪️";
    position: absolute;
    left: 0;
    top: 0;
    font-size: 0.9em;
    line-height: 1.5;
    color: black;
} */

.business_hours li ul.bizmarker > li {
    padding-left: 1em;
}

.business_hours li ul.bizmarker > li::before {
    content: "▪️";
    position: absolute;
    left: 0;
    top: 0;
    font-size: 0.9em;
    line-height: 1.5;
    color: black;
}

.sub_hours li:first-child {
    margin-top: 0.3em;
}

/* サブリストのベース */
.business_hours ul.sub_hours {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  /* 各部の行間・余白 */
  .business_hours ul.sub_hours > li {
    margin-bottom: 0.3em;
    line-height: 1.5;
  }
  
  /* 「〈第X部〉」ラベル部分を太字＆濃い色に */
  .business_hours ul.sub_hours > li strong.part_label {
    font-weight: bold;
    color: var(--color-primary-text); /* 濃いテキスト色 */
    margin-right: 0.5em;
    display: inline-block;
  }

.business_hours li li:last-child {
    margin-bottom: 0;
}

.business_hours strong {
    display: block;
    color: var(--color-tertiary-text);
    font-weight: bold;
}

.business_hours li span:first-child:not(.disc_sm):not(.w_off) {
    margin-bottom: 0.2em;
    color: #000;
}

.business_hours.withmarker > li {
    position: relative;
    padding-left: 1em;
    margin-bottom: 0.5em;
    line-height: 1.5;
}

.business_hours.withmarker > li:last-child {
    margin-bottom: 0;
}

.business_hours.withmarker > li::before {
    content: "⚫︎";
    position: absolute;
    left: 0;
    top: 0;
    font-size: 0.9em;
    line-height: 1.5;
    color: black;
}


.smalltxt {
    display: inline!important;
    white-space: nowrap;
    font-size: 0.8rem;
}

.open_hours li {
    margin-bottom: 0.3em;
}

.open_hours li:last-child {
    margin-bottom: 0;
}


.charge_list {
    list-style: none;
    padding: 0;
  }
  
  .charge_list li {
    position: relative;
    padding-left: 1em; /* ・の分だけテキストをずらす */
    margin-bottom: 0.3em;
  }
  
  .charge_list li::before {
    content: "・";
    position: absolute;
    left: 0;
    top: 0;
    line-height: 1.5; /* 必要に応じて微調整 */
  }
  

  /* 支払い方法リスト (.payment_methods) */
  .payment_methods,
  .payment_methods ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .payment_methods > li {
    margin-bottom: 0.8em;
    line-height: 1.5;
    position: relative;
  }
  .payment_methods > li:last-child {
    margin-bottom: 0em;
  }
  .payment_methods strong {
    display: block;
    font-weight: bold;
    margin-bottom: 0.3em;
    font-size: 1em;
  }
  .payment_methods li span:first-child {
    margin-bottom: 0.2em;
    color: #000;
  }

  /* デフォルトはマーカーなし（content: none;） */
  .payment_methods li::before {
    content: none;
  }
  /* .withmarker クラスでマーカーとインデント追加 */
  .payment_methods.withmarker li {
    padding-left: 1em;
  }
  .payment_methods.withmarker li::before {
    content: "▪";
    position: absolute;
    left: 0;
    top: 0;
    font-size: 0.9em;
    line-height: 1.5;
    color: black;
  }



  /* 英語表記の文字単位で改行許可 */
.eng_kern{
    word-break: break-all;  /* 文字単位で改行を許可 */
    white-space: normal;   /* 通常の折り返し動作を維持 */
    hyphens: auto; /* 英語でハイフネーションを許可 */
}


html.dark-mode .shoplabel {
    color: var(--dark-color-text);
    background: var(--dark-color-border);
}

html.dark-mode .s_label {
    background: #2A2A2A;
    color: #E0E0E0;
    border-bottom: 1px solid #555;
}

html.dark-mode .s_info {
    background: #3A3A3A;
    color: #DADADA;
    border-bottom: 1px dotted #555;
}

html.dark-mode .s_info a {
    color: var(--dark-color-link);
}

html.dark-mode .s_info a:hover {
    color: var(--dark-color-link-hover);
}

html.dark-mode .business_hours strong,
html.dark-mode .business_hours li span:first-child {
    color: var(--dark-color-quaternary-text);
}

html.dark-mode .payment_methods li span:first-child {
    color: var(--dark-color-secondary-text);
    font-weight: bold;
}

/*========================================================
  Image Container (Aspect Ratio, Hover, Dark Mode)
========================================================*/
.image-container {
  position: relative;
  width: 100%;
  aspect-ratio: var(--ratio, 4/3);
  overflow: hidden;
  margin: 0 0 0 0;
}

.image-container img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.3s ease, transform 0.3s ease;
}

/* Dark mode base styles for images */
html.dark-mode .image-container img {
  filter: brightness(0.8) contrast(1.1);
}

/* Hover effects with shine animation (PC only) */
@media (hover: hover) {
  .image-container:hover img {
    filter: saturate(var(--saturate-level));
    transform: scale(var(--zoom-scale));
  }

  html.dark-mode .image-container:hover img {
    filter: saturate(var(--dark-saturate-level));
    transform: scale(var(--zoom-scale));
  }

  .image-container:hover::before {
    animation: shine var(--shine-duration) forwards;
  }
}

/* Shine effect overlay */
.image-container::before {
  position: absolute;
  top: 0;
  left: -75%;
  z-index: 2;
  content: "";
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, var(--shine-color) 100%);
  transform: skewX(var(--shine-skew));
  transition: all 0.3s ease;
}

@keyframes shine {
  100% { left: 125%; }
}

/*========================================================
  Slider (Slick.js)
========================================================*/
.image-container.slider ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: block;
}

.image-container.slider li {
  position: relative;
}

.image-container.slider li figure {
  margin: 0;
}

.image-container.slider li img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Slick structure overrides */
.image-container.slider > ul,
.image-container.slider .slick-list,
.image-container.slider .slick-track,
.image-container.slider .slick-slide {
  width: 100%;
  height: 100%;
}

.image-container.slider .slick-track {
  display: flex;
}

.image-container.slider .slick-slide figure {
  height: 100%;
}

/* Slick arrows & dots */
.image-container.slider .slick-prev,
.image-container.slider .slick-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9;
}

.image-container.slider .slick-prev {
  left: 10px;
}

.image-container.slider .slick-next {
  right: 10px;
}

.image-container.slider .slick-dots {
  position: absolute;
  bottom: 35px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9;
  margin: 0;
  padding: 0;
  list-style: none;
}

.image-container.slider .slick-dots li button:before {
  font-size: 6px;
  color: #fff;
  opacity: 1;
}

.image-container.slider .slick-dots li.slick-active button:before {
  color: #FFDD3C;
  opacity: 1;
}

/*========================================================
  Two-Image CSS Slideshow
========================================================*/
.image-container.slideshow img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.image-container.slideshow #slide1 {
  animation: slide1 20s infinite;
  position: relative;
}

.image-container.slideshow #slide2 {
  animation: slide2 20s infinite;
}

@keyframes slide1 {
  0%, 60%, 100% { opacity: 0; }
  10%, 30%, 40%, 50% { opacity: 1; }
}

@keyframes slide2 {
  0%, 30%, 100% { opacity: 0; }
  60%, 70%, 80% { opacity: 1; }
}

/*========================================================
  Captions (Static and Slider)
========================================================*/
.img_caption,
.image-container.slider .sld_caption {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.2em 0.6em;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 0.8rem;
  line-height: 1.5;
  border-radius: 5px;
  z-index: 10;
  max-width: calc(100% - 20px);
  white-space: normal;
  width: max-content;
}

.img_caption.midbottom {
  bottom: 25%;
}

.image-container.slider .sld_caption.midbottom{
  bottom: 20%;
}

.img_caption a,
.image-container.slider .sld_caption a {
  color: inherit;
  transition: color 0.3s;
}

.img_caption a:hover,
.image-container.slider .sld_caption a:hover {
  color: var(--color-link-hover);
}
.img_caption span{
  margin-right: 0.3em;
}

/* Slider-specific caption styles */
.image-container.slider .sld_caption {
  font-feature-settings: "palt";
}

.image-container.slider .sld_caption span {
  font-size: 0.7rem;
  margin-right: 4px;
}






/*========================================================
  バナー広告 Styles
========================================================*/

/* 広告関係 */
.adbanner_wrap{
    margin: 1em 0;
}

.adsense_wrap{
    margin: 0 1em;
}

.rktn_wrap{
    display: flex;
    justify-content: center;
    margin: 0 1em 0 1em;
}


html.dark-mode .rightad_wrap img, html.dark-mode .adbanner_72890 img{
    filter: brightness(0.8) contrast(1.1);
}


html.dark-mode .rightad_wrap img:hover, html.dark-mode .adbanner_72890 img:hover{
    filter: saturate(var(--dark-saturate-level));
}

html.dark-mode .rktn_wrap iframe {
    filter: brightness(0.8) contrast(1.1);
    transition: filter 0.3s ease;
}

html.dark-mode .rktn_wrap iframe:hover {
    filter: saturate(var(--dark-saturate-level));
}


.best10_notice {
  font-size: 0.95rem;
  line-height: 1.6;
  padding: 0.8em 1em;
  margin: 1em 1em;
  border-left: 4px solid #999;
  background-color: #f9f9f9;
  color: #555;
}

/* ダークモード用（明示的にhtmlに .dark-mode クラスが付く場合） */
html.dark-mode .best10_notice {
  background-color: #2a2a2a;
  color: #ccc;
  border-left-color: #666;
}




@media (min-width: 768px) {
    .ws-drawer {
        display: block;
    }

    #sp-floatmenu-container {
        display: none;
    }

    .page_title h1 {
        font-size: 1.5rem;
    }

    .top_wrap {
        flex-direction: row;
        /* align-items: flex-start; */
        gap: 1em; /* 左右間の隙間 */
        margin: 0.5em 0.5em 1em 0em;
    }

    .top_left {
        /* margin: 0 1em 0 1em;
        width: 75%; */
        width: calc(100% - clamp(200px, 25%, 300px));
        margin: 0 0em 1em 1em;
    }

    .top_right {
        /* width: 25%;
        margin-bottom: 0; */
        width: clamp(200px, 25%, 300px); /* 200pxから300pxの範囲で動的調整 */
        margin-bottom: 0;
    }

    .page_description{
        padding: 0.5em 0.8em;
    }

    .pagenav {
        margin: 2em 1em 1.5em 1em;
    }

    .map-responsive{
        padding-bottom: 45%;
        margin: 0.5em 1em 0.5em 1em;
    }    

    .rank{
        font-size: 1.3rem;
        padding-block:      0.5rem;
    }

    .talk{
    margin: 1.5rem 4rem;
    }

    .talk h2{
        font-size: 1.3rem;
    }

    .shop_contents{
        flex-flow: row;
    }

    .shop_box:nth-child(even) > .shop_contents{
        flex-flow: row-reverse;
    }

    .shop_name{
        font-size: 1.2rem;
        padding: .1em 0 .35em .3em;
        margin-bottom: 0.5em;
    }

    .image-container {
        flex: 1 1 55%;
        margin-bottom: 0;
    }

    .shop_details {
        flex: 1 1 45%;
        margin: 0em 0 0em 0;
    }

}

html.dark-mode .section_title h2 {
    border-left: 6px solid var(--page-title-border-left-dark);
    border-bottom: 2px solid var(--page-title-border-bottom-dark);
    color: var(--page-title-text-dark);
}

/* ----------------------------------------
   タッチデバイス環境での hover スタイル無効化
----------------------------------------- */
@media (hover: none), (pointer: coarse) {
  /* 1. 汎用的な a:hover / button:hover を無効化 */
  a:hover,
  button:hover {
    color: inherit;
    background-color: transparent;
    text-decoration: none;
    box-shadow: none;
    transform: none;
    filter: none;
  }

  /* 2. ページ固有で色を戻したいリンクだけを再指定 */
  /* top_wrap のリンク */
  .top_wrap a:hover {
    color: var(--color-link);
  }
  html.dark-mode .top_wrap a:hover {
    color: var(--dark-color-link);
  }

  /* ページナビのリンク */
  .pagenav a:hover {
    color: #002EE6;
  }
  html.dark-mode .pagenav a:hover {
    color: var(--dark-color-link);
  }
  .pagenav li:hover {
    box-shadow: none;
    transform: none;
  }

  /* rank_desc のリンク */
  .rank_desc a:hover {
    color: var(--color-link);
  }
  html.dark-mode .rank_desc a:hover {
    color: var(--dark-color-link);
  }

  /* shop_box のリンク */
  .shop_box a:hover {
    color: var(--color-link);
  }
  html.dark-mode .shop_box a:hover {
    color: var(--dark-color-link);
  }

  /* info_item のリンク */
  .info_item a:hover {
    color: #002EE6;
  }

  /* キャプション内リンクだけ元の色を維持 */
  .img_caption a:hover,
  .image-container.slider .sld_caption a:hover {
    color: inherit;
  }

  /* 画像コンテナのホバー演出リセット */
  .image-container:hover img,
  html.dark-mode .image-container:hover img {
    filter: none !important;
    transform: none !important;
  }
  .image-container:hover::before,
  html.dark-mode .image-container:hover::before {
    animation: none !important;
  }
}