@charset "UTF-8";

/*----------------------------------

デフォルトリセット

---------------------------------- */
a {
  text-decoration:none;
}

p {
  margin:0;
  padding:0;
  margin-block-start: inherit;
  margin-block-end: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  margin-block-start: inherit;
  margin-block-end: inherit;
}

ul {
  display: block;
  list-style-type:  inherit;
  margin-block-start: inherit;
  margin-block-end: inherit;
  margin-inline-start: inherit;
  margin-inline-end: inherit;
  padding-inline-start: inherit;
  list-style: none;
}

table {
  border-spacing: inherit;
}

h1 img{
  width: 100%;
}

img{
	vertical-align:top;
}

body {
  font-family: sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  color: #333;
}

#main_content {
  flex: 1;
  /*padding-bottom: 80px;*/
}

/*----------------------------------

SPとPCで画像分ける

---------------------------------- */
.bnr_sp{
  display: block;
}

.bnr_pc{
  display: none;
}


/* ベース設定 */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, "Yu Gothic", "メイリオ", sans-serif;
}

/*----------------------------------

ヘッダー

---------------------------------- */
.site-header {
  width: 100%;
  background: #fa82b9;
  color: #fff;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ロゴ部分 */
.logo {
  letter-spacing: 0.05em;
  text-decoration: none;
  white-space: nowrap;
  width: 70%;
}

.logo img{
  width: 50%;
}

/* ハンバーガー用チェックボックスは非表示 */
.nav-toggle-input {
  display: none;
}

/* ハンバーガーボタン（スマホ表示メイン） */
.nav-toggle {
  width: 32px;
  height: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 3px;
  border-radius: 999px;
  background: #fff;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ナビゲーション（モバイル初期状態は閉じる） */
.site-nav {
  position: absolute;
  inset-inline: 0;
  top: 56px; /* ヘッダーの高さに合わせて調整 */
  background: #fa82b9;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 8px 16px 16px;
}

.site-nav li + li {
  margin-top: 8px;
}

.site-nav a {
  display: block;
  padding: 8px 0;
  text-decoration: none;
  color: #e5e7eb;
  font-size: 1rem;
}

.site-nav a:hover {
  color: #fff;
}

/* チェックが入ったらメニュー開く */
.nav-toggle-input:checked ~ .site-nav {
  max-height: 420px; /* メニュー数に合わせて適宜調整 */
}

/* チェックが入ったらハンバーガーを×印っぽく */
.nav-toggle-input:checked + .nav-toggle span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}
.nav-toggle-input:checked + .nav-toggle span:nth-child(2) {
  opacity: 0;
}
.nav-toggle-input:checked + .nav-toggle span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

/* ===== PCレイアウト ===== */
@media (min-width: 1024px) {
  .header-inner {
    padding-inline: 24px;
  }

  /* ハンバーガーを非表示 */
  .nav-toggle {
    display: none;
  }

  /* ナビをヘッダー内に横並び表示 */
  .site-nav {
    position: static;
    max-height: none;
    overflow: visible;
  }

  .site-nav ul {
    display: flex;
    padding: 0;
  }

  .site-nav ul li {
    position: relative;
    padding-inline: 15px; /* 余白（自由に調整可能） */
  }

  .site-nav ul li + li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 16px;        /* 罫線の高さ */
    width: 1px;
    background: #fff;
  }

  .site-nav li + li {
    margin-top: 0;
  }

  .site-nav a {
    padding: 0;
    font-size: 1.1rem;
    font-weight: bold;
  }

  .site-nav a:hover {
    opacity: 0.85;
  }

  .site-header {
    position: sticky;
    top: 0;
    z-index: 999;
  }

}

/*----------------------------------

フッダー

---------------------------------- */

.footer {
  background-color: #fa82b9;
  color: #fff;
  padding: 10px;
  text-align: center;
}

/*----------------------------------

パーツ

---------------------------------- */

.center{
  text-align: center;
}

.size-small{
  font-size: 1rem;
  font-weight: bold;
}

.size-medium{
  font-size: 1.1rem;
  font-weight: bold;
}

.margin-top{
  margin-bottom: 20px;
}

.n_frame{
  margin: 10px;
  padding: 15px 15px 0;
}

.hyakumeiten{
  width: 100%;
  margin-bottom: 8px;
  text-align: center;
}

.hyakumeiten img{
  width: 50%;
}

.link-underline {
  text-decoration: underline;
}

.widget-box {
  border: 1px solid #fa82b9;
  border-radius: 10px;
  background: #fff;
  margin: 10px;
  box-sizing: border-box;
}

.button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 250px;
  margin: 0 auto 20px;
  padding: .9em 2em;
  border: 1px solid #fa82b9;
  border-radius: 5px;
  background-color: #fff;
  color: #fa82b9;
  font-size: 1em;
}

.button_list {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 95%;
    margin:0 auto 20px;
    padding: .9em 2em;
    border: none;
    border-radius: 5px;
    box-shadow: 0 2px 3px rgb(0 0 0 / 25%), 0 2px 3px -2px rgb(0 0 0 / 15%);
    background-color: #fa82b9;
    color: #fff;
    font-weight: 600;
    font-size: 1.2rem;
}

.button_list::after {
    transform: rotate(45deg);
    width: 10px;
    height: 10px;
    margin-left: 10px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    content: '';
}

.button_list:hover {

}

.btn-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 全デバイスで2列固定 */
  gap: 4px;
  padding: 10px 10px 0;
  width: 100%;
  text-align: center;
}

.btn-grid img{
  width: 100%;
}

.img-grid {
  display: grid;
  gap: 4px;
  margin-top: 10px;
  margin-bottom: 20px;
}

/* ▼ スマホ（〜767px）：1列 */
@media (max-width: 767px) {
  .img-grid {
    grid-template-columns: 1fr;
  }
}

/* ▼ タブレット・PC（768px〜）：2列 */
@media (min-width: 768px) {
  .img-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.img-grid img {
  width: 100%;
  height: auto;
  display: block;
}

.heading {
  display: block;
  padding: 0.6em;
  background: linear-gradient(90deg, #ff8abf 0%, #ffa4d0 100%);
  color: #FFF;
  font-size: 1.2em;
  font-weight: bold;
  text-align: center;
  /*border-radius: 10px 10px 0 0;*/
}

.time-limit-box {
  display: none;
}

.recruit-frame{
  text-align: center;
  margin: 15px;
}

.recruit-frame img{
  width: 100%;
}

/*----------------------------------

クーポン全体

---------------------------------- */

.coupon {
  position: relative;
  padding: 16px 16px 60px 80px; /* 左バッジ＋下部ボタン分の余白 */
  border: 2px solid #ee7800;
  border-radius: 10px;
  background: #fff;
  max-width: 480px;
  margin: 16px auto;
  font-family: "Hiragino Sans", "Meiryo", sans-serif;
  box-shadow: 0 4px 10px rgba(246, 80, 156, 0.15);
  box-sizing: border-box;
}

/* ================================
   割引バッジ（10%OFF）
================================ */
.coupon > span:first-child {
  position: absolute;
  top: 0;
  left: 0;
  width: 64px;
  height: 100%;
  background: linear-gradient(180deg, #FFA638 0%, #FF7B00 100%);
  color: #fff;
  border-radius: 8px 0 0 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-weight: bold;
  line-height: 1.1;
  font-size: 12px;
}

.coupon .percent {
  font-size: 20px;
  display: block;
}

/* ================================
   中央コンテンツ（左揃え＋中央配置）
================================ */
.couponMain {
  display: inline-block;
  text-align: left;
  margin: 0 auto;
  line-height: 1.4;
  font-size: 14px;
  padding-left: 8px;
}

/* 1行目（コース名） */
.couponMain .normal:first-of-type {
  font-weight: bold;
  font-size: 15px;
  color: #444;
}

/* 通常料金（取り消し線） */
.couponMain .normal:nth-of-type(2) {
  text-decoration: line-through;
  color: #999;
}

/* ≫ */
.coupon .delim {
  margin: 0 6px;
  font-weight: bold;
  color: #ee7800;
}

/* 割引後の数字（超強調） */
.coupon .large {
  font-size: 24px;
  font-weight: bold;
  color: #ee7800;
  margin: 0 2px;
}

/* 単位（円・分） */
.couponMain .normal:last-of-type,
.couponMain .normal:nth-of-type(3) {
  font-size: 14px;
  color: #444;
}

/* ================================
   下部のボタン
================================ */
.couponButton {
  position: absolute;
  bottom: 10px;
  left: 80px; /* 左バッジの幅分 */
  right: 10px;
  padding: 10px 0;
  background: linear-gradient(180deg, #FFA638 0%, #FF7B00 100%);
  color: #fff;
  text-align: center;
  border-radius: 8px;
  font-weight: bold;
  font-size: 14px;
  box-shadow: 0 3px 6px rgba(246, 80, 156, 0.25);
  cursor: pointer;
}

.couponButton:hover {
  opacity: 0.9;
}

/* ================================
   スマホ調整
================================ */
@media (max-width: 480px) {
  .coupon {
    padding: 16px 12px 60px 72px;
    margin: 10px;
  }
  .couponButton {
    left: 72px;
  }
}

/*----------------------------------

ヘブンフレーム PC幅調整

---------------------------------- */
@media (min-width: 768px) {
  .iframe-wrapper {
    width: 100% !important;
    max-width: 1200px;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

/*----------------------------------

ヘブンフレーム 高さ調整

---------------------------------- */

.heaven-frame {
  width: 100%;
  border: none;
}

/* スマホ */
@media (max-width: 767px) {
  .heaven-frame {
    padding: 15px 10px 10px 10px;
  }

  .heaven-frame--attend {
    height: 590px;
  }

  .heaven-frame--standbygirl {
    height: 420px;
  }
}

/* タブレット */
@media (min-width: 768px) and (max-width: 1023px) {
  .heaven-frame {
    padding: 15px;
  }

  .heaven-frame--attend {
    height: 390px;
  }

  .heaven-frame--standbygirl {
    height: 220px;
  }
}

/* PC */
@media (min-width: 1024px) {
  .heaven-frame {
    padding: 20px;
  }

  .heaven-frame--attend {
    height: 550px;
  }

  .heaven-frame--standbygirl {
    height: 320px;
  }
  .heaven-frame--diary {
    height: 320px;
  }
}

@media (max-width: 767px) {
  .diary-frame {
    height: 560px !important;
  }
}


/*----------------------------------

iframeの上に重ね手消す

---------------------------------- */
/* ▼ iframeの上に重ねる「隠す帯」 */
.widget-standby .heaven-widget-container {
  position: relative;
}

/* ★ここが「もっと見る＞」を隠す白帯 */
.heaven-widget-mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 48px; /* 好きな高さでOK */
  background: #fa82b9;
  z-index: 10;
  border-radius: 10px 10px 0 0;

  /* ★中央揃え用 */
  display: flex;
  align-items: center;   /* 上下中央 */
  justify-content: center; /* 左右中央 */
  font-size: 1.2rem;
  font-weight: bold;
  color: #FFF;
}

/* iframe＋タイトルの外枠 */
.iframe-wrap {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto 20px;
}

/*----------------------------------

iframeの上に重ね手消す～写メ日記～

---------------------------------- */

.iframe-wrap-diary {
  position: relative;
  width: 100%;
  max-width: 100%;
}

/* ▼上に重ねる “偽タイトル帯” */
.iframe-title-mask {
  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  height: 40px;

  padding-left: 12px;

  display: flex;
  justify-content: center;
  align-items: center;

  font-size: 1.2rem;
  font-weight: bold;
  color: #fff;


  /* ★ type=18 color=8 のグラデーション */
  background: linear-gradient(90deg, #ff8abf 0%, #ffa4d0 100%);

  z-index: 10; /* iframeより上 */
}



/*----------------------------------

店長おすすめの女の子

---------------------------------- */
.girl-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* スマホ → 2列 */
  gap: 12px;
  padding: 10px;
}

/* ▼ タブレット（600px〜）→ 3列 */
@media (min-width: 600px) {
  .girl-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ▼ PC（960px〜）→ 4列 */
@media (min-width: 960px) {
  .girl-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}


/* ▼ カードデザイン（あなたの元コード） */
.girl-card {
  width: 100%;
  border: 1px solid #fa82b9;
  border-radius: 12px;
  overflow: hidden;
  font-family: "Hiragino Sans", sans-serif;
  background: #fff;
}
.girl-card a {
  color: inherit;
  text-decoration: none;
}
.girl-img img {
  width: 100%;
  display: block;
}
.girl-info {
  padding: 10px 12px;
}
.girl-name {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 4px;
}
.girl-size {
  color: #888;
  font-size: 14px;
  margin-bottom: 6px;
}
.girl-catch {
  color: #FF3BA7;
  font-size: 14px;
  margin-bottom: 6px;

  white-space: nowrap;        /* 折り返さない */
  overflow: hidden;           /* はみ出し非表示 */
  text-overflow: ellipsis;    /* 「…」をつける */
}
.girl-review {
  font-size: 14px;
  color: #333;
}

/*----------------------------------

店舗情報

---------------------------------- */

/* 全体のラッパー */
.shop-info-wrapper {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 20px 0;
}

/* 店舗情報ボックス */
.shop-info-box {
  padding: 10px;
  background: #fff;
  /*border: 1px solid #fa82b9;*/
  border-radius: 12px;
  /*box-shadow: 0 3px 10px rgba(246, 80, 156, 0.15);*/
  /*margin: 0 10px;*/
  font-weight: bold;
}

.shop-info-title {
  font-size: 1.6rem;
  font-weight: bold;
  color: #fa82b9;
  text-align: center;
  margin-bottom: 18px;
}

/* 行レイアウト */
.shop-info-row {
  display: flex;
  margin-bottom: 10px;
}

.shop-info-label {
  width: 110px;
  font-weight: bold;
  color: #333;
}

.shop-info-value {
  flex: 1;
  color: #444;
  line-height: 1.6;
}

/* aタグの下線（指定したリンクだけ） */
.link-underline {
  position: relative;
  text-decoration: none;
  color: #fa82b9;
}
.link-underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background-color: #fa82b9;
}

/* 右側のマップボックス */
.shop-map-box iframe {
  width: 100%;
  height: 300px;
  /*border-radius: 12px;*/
}

/* ▼ PC：左右均一 50% - 50% */
@media (min-width: 1024px) {

  .shop-info-box {
    font-size: 1.2rem;
    font-weight: bold;
  }

  .shop-info-wrapper {
    flex-direction: row;
    align-items: flex-start;
    gap: 4px; /* 任意：左右の余白調整 */
  }

  .shop-info-box,
  .shop-map-box {
    flex: 0 0 50%; /* ← 完全に半分ずつ */
    max-width: 50%; /* ← 念のためのガード */
  }

  .shop-map-box iframe {
    height: 380px;
  }
}


/*.shop-map-box {
  margin: 0 10px;
}/*

/*----------------------------------

女性情報

---------------------------------- */

.iframe-wrap {
  display: grid;
  grid-template-columns: 1fr; /* スマホ：1列 */
  gap: 20px;
  margin: 0 auto;
  padding: 10px;
}

/* 各 iframe を中央配置 */
.iframe-item {
  display: flex;
  justify-content: center;
}

/* iframe 共通幅 → ここで「幅を揃える」 */
.iframe-box {
  width: 320px;   /* ← 幅を統一（変更OK） */
  border: 1px solid #ccc;
}

/* 個別に高さを管理できる */
.blog-frame {
  height: 460px;  /* ← 高さ調整1 */
}

.widget-frame {
  height: 400px;  /* ← 高さ調整2 */
}

/* PC & タブレット：2列にする */
@media screen and (min-width: 768px) {
  .iframe-wrap {
    grid-template-columns: 1fr 1fr;
  }
}
/*----------------------------------

2階層目共有パーツ

---------------------------------- */

.page-wrapper {
 background-color: #ffffde;
 padding: 20px 10px;
 min-height: 100vh;
 box-sizing: border-box;
 display: block;
}

/*----------------------------------

女の子詳細

---------------------------------- */

.cast-detail {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 16px 0 24px;
}

.cast-detail-left,
.cast-detail-right {
  width: 100%;
}

/* タブレット以上で横2列 */
@media (min-width: 768px) {
  .cast-detail {
    flex-direction: row;
    align-items: flex-start;
  }
  .cast-detail-left,
  .cast-detail-right {
    width: 50%;
  }
}

.cast-gallery {
  margin: 0;
}

/* メイン写真エリア */
.cast-main-photo {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #f7f7f7;
}

.cast-main-img {
  display: block;
  width: 100%;
  height: auto;
}

/* 左右ナビボタン */
.cast-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  font-size: 20px;
  line-height: 32px;
  text-align: center;
  cursor: pointer;
}

.cast-prev { left: 8px; }
.cast-next { right: 8px; }

/* サムネイル一覧 */
.cast-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  overflow-x: auto;
}

/* サムネ */
.cast-thumb {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  opacity: 0.7;
  border: 2px solid transparent;
  flex-shrink: 0;
}

/* 選択中のサムネ */
.cast-thumb.is-active {
  opacity: 1;
  border-color: #ff6699;
}

@media (min-width: 768px) {
  .cast-thumb {
    width: 80px;
    height: 80px;
  }
}

.cast-profile-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 20px 0;
  background: #fff;
  font-size: 0.95rem;
  overflow: hidden;
}

.cast-profile-table th,
.cast-profile-table td {
  border: 1px solid #ddd;
  padding: 8px 12px;
  text-align: left;
  line-height: 1.6;
  box-sizing: border-box;
}

.cast-profile-table th {
  width: 38%;
  background: #fff3f9;
  font-weight: bold;
  color: #e60066;
}

.cast-profile-table td {
  background: #fff;
}

.cast-profile-title {
  background: linear-gradient(90deg, #ff8abf 0%, #ffa4d0 100%);
  color: #fff;
  font-weight: bold;
  font-size: 1rem;
  padding: 8px 12px;
  border-radius: 8px 8px 0 0;
  margin-bottom: 0; /* テーブルと隙間を作らない */
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .cast-main-photo img {
    width: 60%;
    margin: 0 auto;
  }
}

/* コメントボックス */
.cast-comment-box {
  margin: 20px 0;
  padding: 12px 14px 14px;
  border-radius: 10px;
  background: #fff8fc;
  border: 1px solid #ffd3ea;
  width: 100%; /* スマホは全幅 */
}

/* PC・タブレットのみ調整 */
@media (min-width: 768px) {
  .cast-comment-box {
    width: 100%;           /* 好みに応じて変更可能 → 60%〜90%がおすすめ */
    margin-left: auto;    /* 中央寄せ */
    margin-right: auto;   /* 中央寄せ */
  }
}

.cast-comment-title {
  font-size: 1rem;
  font-weight: bold;
  margin: 0 0 6px;
  color: #c70067;
}

.cast-comment-text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: #444;
}

/*----------------------------------

出勤

---------------------------------- */

section {
  width: 100%;
}

/* グリッド全体 */
.grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* PC：5列 */
  gap: 16px;
  margin-top: 16px;
  padding: 0 10px;
}

/* カード */
.card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}

/* 画像 */
.card .img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: #f0f0f0;
}

/* 名前 */
.card .name {
  font-size: 1.1rem;
  font-weight: 700;
  padding: 10px 12px 4px;
  line-height: 1.4;
}

/* プロフィール */
.card .meta {
  font-size: 1rem;
  color: #555;
  padding: 0 12px 6px;
  line-height: 1.5;
}

/* 出勤時間 */
.card .time {
  margin-top: auto;
  padding: 8px 12px 12px;
  font-size: 1rem;
  font-weight: 700;
  color: #F6509C; /* ★指定色 */
}

/* 出勤情報なし */
.empty {
  padding: 24px 0;
  color: #777;
  font-size: 14px;
}

/* ===== レスポンシブ ===== */

/* タブレット */
@media (max-width: 1024px) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
    padding: 0 10px;
  }
}

/* スマホ（★2列） */
@media (max-width: 640px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 0 10px;
  }

  .card .name {
    font-size: 14px;
  }

  .card .meta {
    font-size: 0.9rem;
  }

  .card .time {
    font-size: 1rem;
  }
}



/*----------------------------------

追従バナー

---------------------------------- */

.floating-banner {
  position: fixed;
  z-index: 99999;
  bottom: 0;
  background-color: rgba(0, 0, 0, .5);
  display: flex;
  text-align: center;
  padding: 5px 0;

  /*デフォルトで非表示にする*/
  cursor: pointer;
  transition: .3s;
  opacity: 0;
  visibility: hidden;
}

.floating-banner_only {
  position: fixed;
  z-index: 99999;
  bottom: 0;
  background-color: rgba(0, 0, 0, .5);
  margin: auto;
  text-align: center;
  padding: 5px 0;

  /*デフォルトで非表示にする*/
  cursor: pointer;
  transition: .3s;
  opacity: 0;
  visibility: hidden;
}

.floating-banner_only{
  margin-bottom: -7px;
}

.floating-banner{
  margin-bottom: -5px;
}

/*このクラスが付与されると表示する*/
.active{
  opacity: 1;
  visibility: visible;
}




.floating-banner img{
  width: 95%;
}


/*.pc {
    width: 300px;
}*/

.floating-banner:hover {
    opacity: .9;
}

.sp {
    display: none;/* PCではスマホ用のバナーは非表示に */
}

@media screen and (max-width: 560px) {
    .sp {
        display: inline-block;/* 消していたスマホ用のバナーを表示させる */
        width: 100%;
    }
    .sp_web_only {
        display: inline-block;/* 消していたスマホ用のバナーを表示させる */
        width: 100%;
    }
}

@media screen and (max-width: 990px) {
    .pc {
        display: none;/* タブレットサイズ以下でPC用のバナーを非表示に */
    }
}
/*----------------------------------

クーポンページ │テーブルタグ

---------------------------------- */

.price-heading {
  font-size: 1.2em;
  font-weight: bold;
  background: #fcb429;
  padding: 10px;
  text-align: center;
  border-radius: 8px 8px 0 0;
  max-width: 900px;
  margin: 20px auto 0;
  color: #fff;
}

.price-table-wrap {
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
 background-color: #fff;
}

.price-table th,
.price-table td {
  border: 1px solid #ddd;
  padding: 10px;
  text-align: center;
}

.price-table th {
  background: #ffe0ef;
  font-weight: bold;
}

.price-table .new-price {
  color: #e60066;
  font-weight: bold;
}

/*----------------------------------

料金ページ │テーブルタグ

---------------------------------- */

.system-table-wrap {
  width: 100%;
  max-width: 480px;
  margin: 20px auto;
}

/* PC・大きめタブレットで少しワイドにする */
@media (min-width: 768px) {
  .system-table-wrap {
    max-width: 900px;    /* PC用幅（調整OK） */
  }
}

.system-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  background: #fff;
  table-layout: fixed;
}

/* セル（左右50％：均等幅） */
.system-table th,
.system-table td {
  width: 50%;
  border: 1px solid #ddd;
  padding: 8px 10px;
  text-align: center;
  box-sizing: border-box;
}

.system-table .system-time {
  background: #ffe0ef;
  font-weight: bold;
  font-size: 1rem;
}

.system-table th {
  background: #fff3f9;
  font-weight: bold;
}

.system-table td:last-child {
  font-weight: bold;
}

/* 縦並びバージョンのデザイン調整 */
.vertical-table th {
  background: #ffe0ef;
  font-weight: bold;
  text-align: center;
  padding: 10px;
}

.vertical-table td {
  background: #fff;
  text-align: left;
  padding: 10px;
  line-height: 1.6;
  font-weight: normal!important;
}

.page-detail{
  font-weight: bold;
  margin: 20px 0px;
  text-align: center;
}

/* === ニュースグリッド：スマホ2列 / タブレット＆PC4列 === */
.newsGrid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:12px;
}

@media (min-width: 768px){
  .newsGrid{
    grid-template-columns:repeat(4, minmax(0,1fr));
  }
}

/* === ニュースカード === */
.newsCard{
  display:block;
  padding:12px;
  border:1px solid #eee;
  border-radius:12px;
  text-decoration:none;
  background:#fff;
}

.newsCard__thumb{
  margin-bottom:10px;
  border-radius:10px;
  overflow:hidden;
}
.newsCard__thumb img{
  width:100%;
  object-fit:cover;
  display:block;
}

.newsCard__date{font-size:12px;opacity:.7;margin-bottom:6px}
.newsCard__title{font-weight:700;line-height:1.4}
.newsCard__body{margin-top:6px;font-size:13px;opacity:.9;line-height:1.6}
.newsEmpty{padding:12px;opacity:.7}

/* === Markdown詳細 === */
.markdownBody h1, .markdownBody h2, .markdownBody h3{margin:16px 0 8px}
.markdownBody p{margin:10px 0; line-height:1.8}
.markdownBody ul{margin:10px 0 10px 1.2em}
.markdownBody blockquote{margin:12px 0;padding:10px 12px;border-left:3px solid #ddd;background:#fafafa}
.markdownBody a{text-decoration:underline}
.markdownBody img{max-width:100%;height:auto;border-radius:12px;display:block;margin:12px 0}

/* スマホ：2列 */
.newsGrid,
.newsList,
#newsList{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:12px;
}

/* タブレット以上：4列 */
@media (min-width: 768px){
  .newsGrid,
  .newsList,
  #newsList{
    grid-template-columns:repeat(4, minmax(0,1fr));
  }
}

.markdownBody img{
  max-width:100%;
  height:auto;
  border-radius:12px;
  margin:14px 0;
  display:block;
}

.mdBtn{
  display:block;
  padding:10px 16px;
  border-radius:999px;
  background:#e6007e;
  color:#fff !important;
  font-weight:700;
  text-decoration:none !important;
  margin: 10px auto;
  text-align: center;
  width: 50%;
}

.mdBtn:hover{opacity:.85}

.mdCenter{
  text-align:center;
  font-weight:700;
  margin:6px 0;
}

.news-image-center {
  text-align: center;
  margin: 16px 0;
}

.news-image-center img {
  max-width: 100%;
  height: auto;
  display: inline-block;
}

/* Markdown本文内の画像は常にセンター */
.markdownBody img{
  display:block;
  margin:12px auto;
  max-width:100%;
  height:auto;
}

/* Markdown本文内の画像だけをセンター（リンク画像でもOK） */
.markdownBody img{
  display:block;
  margin:12px auto;
  max-width:100%;
  height:auto;
}

/* 画像が「p直下のa」に入ってるケースだけ、aをブロック化して中央寄せ */
.markdownBody p > a > img{
  display:block;
  margin:12px auto;
}
.markdownBody p > a:has(> img){
  display:block;
  text-align:center;
}

.markdownBody a > img{
  display:block;
  margin:12px auto;
}

.news-text-area-md{
  max-width:520px;
  margin:0 auto;
  text-align:left;
  line-height:1.7;
}

/* 目印文字は非表示 */
.markdownBody p:has(> strong:contains("TEXT_START")),
.markdownBody p:has(> strong:contains("TEXT_END")) { display:none; }


/* ニュース本文エリアを中央に寄せて、中身は左揃え */
.markdownBody{
  max-width:520px;   /* 好きな幅に調整OK */
  margin:0 auto;     /* エリアを中央へ */
  text-align:left;   /* テキストは左揃え */
  line-height:1.7;
}

/* 画像だけは中央に */
.markdownBody img{
  display:block;
  margin:14px auto;
  max-width:100%;
  height:auto;
}

/* 「もっと見る」が最後に来るなら、最後の段落だけ中央（任意） */
.markdownBody p:last-child{
  text-align:center;
}

.newsBlock__foot{
  margin-top: 15px;
}

.newsCard__thumb{
  width:100%;
  overflow:hidden;
  border-radius:10px;
  margin-bottom:10px;
}
.newsCard__thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

/* ==================================================================================== */
/*  PC用&タブレット
/* ==================================================================================== */


@media screen and (min-width:768px){

  .logo {
    width: 15%;
  }

  .logo img{
    width: 100%;
  }

  #main_content{
    margin: 0 auto;
    max-width: 1200px;
  }

  .bnr_sp{
    display: none;
  }

  .bnr_pc,
  .footer{
    display: block;
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
  }

  .bnr_pc{
    width: 100vw!important;
  }

  .size-small{
    font-size: 1.1rem;
    font-weight: bold;
  }

  .size-medium{
    font-size: 1.2rem;
    font-weight: bold;
  }

  .size-x-large {
    font-size: 1.7rem;
    font-weight: bold;
    display: flex;
    align-items: center;       /* ← 横方向の中央寄せ */
    justify-content: center;   /* ← 縦方向の中央寄せ */
    text-align: center;        /* ← テキスト中央 */
    gap: 8px; /* 画像とテキストの間隔 */
  }

  .size-x-large::before {
    content: "";
    display: inline-block;
    width: 30px;
    height: 30px;
    background: url("images/tel_icon.png") no-repeat center/contain;
  }

  .hyakumeiten img{
    width: 20%;
  }

  .fee_bnr img{
    width: 50%;
  }
  .page-wrapper {
   width: 1000px;
  }

}
