﻿/* CSS Document */

/*====================================================
全体
====================================================*/

/*カラー共通　ここの色を変えれば全体が変わる*/
:root {
  /*ヘッダー画像背景*/
  --head-back-color: #727071;
  /* 特典枠の色 */
  --tokuten-color: #0ca26c;
  /* 優待内容のテキストの色 */
  --yutai-color: #e30000;
  /* 全体のフォントの色 */
  --font-color: #1a1a1a;
  /* 各メニューの背景 */
  --yutai_back: #f0f4ea;
  /* ページ全体の背景 */
  --yutai_all_back: #fff;
  /*ページ数のボタン*/
  --page-color: #0183e5;
}

.fadein,
.leisureBox01MT,
.leisureBox02MT {
  opacity: 0;
  transition: all 0.9s;
}

.fadein.active,
.leisureBox01MT.active,
.leisureBox02MT.active {
  opacity: 1;
}

.pc {
  display: block !important;
}

.sp {
  display: none !important;
}

/* 画面100%表示用↓ここから */
.mainContentMT {
  width: 100%;
}

/*　パンくずの表示くずれ防止　*/
.rootMT ul {
  overflow: hidden;
  width: 940px;
  margin: 0 auto;
}

/* 画面100%表示用↑ここまで */

#template {
  font-family: "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
  font-feature-settings: "palt";
  margin-bottom: 15px;
}

/* ↓ここからヘッダー画像↓ */

/* ヘッダー画像 */
#template img {
  text-align: center;
  width: 100%;
}

.head {
  background-color: var(--head-back-color);
  margin: 0 auto 30px;
}

#template .head img {
  display: block;
  margin: 0 auto;
  height: 500px;
  width: 100%;
  object-fit: cover;
}

.btn_all {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 1000px;
  margin: 0 auto 10px;
}

.btn a {
  display: table;
  margin: 0 10px 20px;
  color: #333;
  box-sizing: border-box;
  text-align: center;
  background-color: #f0f0f0;
  transition: all ease .3s;
  font-size: 18px;
  padding: 1em 1em;
  font-weight: 600;
  letter-spacing: 0.05em;
  height: 70px;
}
.btn a p{
  display: table-cell;
  vertical-align: middle;
}

.btn.on a {
  background-color: #8ec31f;
  color: #fff;
}

.btn a:link,
.btn a:visited {
  text-decoration: none;
}

.btnMini a{
  width: calc(640px / 2.2);
}

.reform a:hover {
  background-color: #f7920e;
  color: #fff;
}
.maintenance a:hover {
  background-color: #0ca26c;
  color: #fff;
}
.setsubi a:hover {
  background-color: #83bcdd;
  color: #fff;
}




/* ↑ここまでヘッダー画像↑ */


/* ↓ここから↓ 紐づけメニュー */

/* 表示行数の位置調整 */
.leisureLayoutMT .layer02MT {
  max-width: 940px;
  margin: 0 auto;
}

.layer02MT {
  height: 0px;
}

/* 表示行数 */
.displayMT {
  font-family: "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
}

/* 表示行数 */
.displayMT dl dt {
  color: var(--font-color);
}

/* 1・2・・・次・最後 */
.pagingMT {
  margin-left: 30px;
}

/* 1・2・・・次・最後 */
.pagingMT li a {
  color: var(--font-color);
}

/* 1・2・・・次・最後 */
.pagingMT li.active {
  color: var(--page-color);
}

/* 表示行数下の水色線の削除 */
.punctuationMT {
  background: none;
  margin-bottom: 40px;
}

/* 紐づけ優待全体 */
.leisureBox01MT {
  color: var(--font-color);
  background-color: var(--yutai_back);
  font-family: Noto Sans JP, Hiragino Kaku Gothic ProN, Meiryo, sans-serif;
  font-feature-settings: "palt";
  width: 1000px;
  box-sizing: border-box;
  margin: 40px auto 0px;
  padding: 20px;
  border: none;
}

.leisureLayoutMT h3.txtB {
  font-size: 12px;
}

/* 優待メニュータイトル */
.leisureBox01MT a {
  color: var(--font-color);
  font-size: 18px;
}

/* 特典内容欄 */
.leisureLayoutMT .leisureBox01MT .privilegeMT {
  border: none;
}

/* 特典内容欄　枠線 */
.leisureLayoutMT .leisureBox01MT .privilegeMT dl {
  background: none;
  border: none;
  display: flex;
  justify-content: center;
  align-items: stretch;
}

.leisureLayoutMT .leisureBox01MT .privilegeMT dl:first-child dd {
  border-top: solid 1px var(--tokuten-color);
}

/* 特典1 */
.leisureLayoutMT .leisureBox01MT .privilegeMT dt {
  float: inherit;
  position: inherit;
  top: inherit;
  margin: inherit;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  background-color: var(--tokuten-color);
  border: solid 1px var(--tokuten-color)
}

/* 特典内容欄　長さ */
.leisureLayoutMT .leisureBox01MT .privilegeMT dd {
  padding: 10px;
  box-sizing: border-box;
  font-size: 13px;
  border: solid 1px var(--tokuten-color);
  margin: 0;
  border-top: none;
  width: 100%;
  float: inherit;
}

/* 特典内容欄　強調 */
.leisureLayoutMT dd .txtRed {
  color: var(--yutai-color);
  font-weight: bold;
  font-size: 15px;
}

/* 優待紹介テキスト　位置調整 */
.leisureBox01MT .innerMT {
  display: flex;
}

/* 優待紹介テキスト　位置調整 */
.leisureBox01MT .txtBoxMT {
  width: 594px;
  float: none;
}

/* 優待紹介テキスト */
.leisureBox01MT .txtBoxMT p.mb10 {
  font-size: 13px;
  line-height: 2;
  text-align: justify;
  max-height: 8em;
  margin: 0 !important;
  position: relative;
}

/* 優待紹介テキスト　グラデ背景 */
p.mb10::before {
  content: "";
  width: 100%;
  height: 9em;
  display: block;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 50%, var(--yutai_back) 80%);
  position: absolute;
  top: 0;
}

.leisureBox01MT .txtBoxMT p.txt14b.mb10::before {
  display: none;
}

/*特典内容はログイン後に表示　テキスト*/
.leisureLayoutMT .leisureBox01MT .privilegeMT p a::before {
  content: "※特典内容はログイン後に表示されます";
  width: 100%;
  height: 100%;
  text-align: center;
  display: block;
  font-weight: 700;
  font-size: 15px;
  padding: 10px;
  border: solid 1px var(--tokuten-color);
  box-sizing: border-box;
  background-color: #fff;
}

/*ログイン後に特典表示の画像削除*/
.privilegeMT p a img {
  display: none;
}

/* ↑ここまで↑ 紐づけメニュー */

/*↓ ここからスマホ ↓*/

@media screen and (max-width: 767px) {

  .pc {
    display: none !important;
  }

  .sp {
    display: block !important;
  }

  #template .head {
    margin: 0 auto 3.947vw;
  }

  #template .head img {
    width: 100%;
    padding: 0;
    height: auto;
    object-fit: cover;

  }

  .btn_all {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    padding: 3vw 0 0 3vw;
  }

  .btn a {
    width: 45.5vw;
    margin: 0 3vw 3vw 0;
    font-size: 3.947vw;
    padding: 0.75em 0;
  }
  .btn a p{
    font-size: 18px;
  }

  .btn:first-child a{
    width: 94vw;
  }

  .reform a:active {
    background-color: #f7920e;
    color: #fff;
  }
  .maintenance a:active {
    background-color: #0ca26c;
    color: #fff;
  }
  .setsubi a:active {
    background-color: #83bcdd;
    color: #fff;
  }

  #fftop_recomDetail .reBox {
    padding: 0px;
  }

  #template {
    font-size: 0;
    margin-bottom: 3.947vw;
  }

  /* ヘッダー画像 */
  #template img {
    text-align: center;
    width: 100%;
  }


  #fftop_recomDetail .reBox {
    padding: 0px;
  }

  /*　全体背景　*/
  .leisureLayoutMT {
    background-color: var(--yutai_all_back);
  }

  /* 全体フォント */
  section.leisureBox02MT.mb20 {
    font-family: "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
    color: var(--font-color);
  }

  /* 全体フォント */
  article p {
    color: inherit;
  }

  /* 表示行数 */
  #fftop_recomDetail .displayMT {
    margin: 0;
  }

  /* 表示行数 */
  #fftop_recomDetail .displayMT dl dt {
    display: table-cell;
    width: 5em;
    font-size: 3.947vw;
    padding-left: 10px;
    color: var(--font-color);
    font-weight: bold;
    font-family: "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
  }

  /* 表示行数 */
  #fftop_recomDetail .displayMT dl dd {
    font-weight: bold;
    font-family: "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
  }

  /* 1 2 3 次 最後　ボタン */
  #fftop_recomDetail .pagingMT {
    margin: 20px auto 10px;
  }

  /* 1 2 3 次 最後　ボタン */
  #fftop_recomDetail .pagingMT li {
    background-color: #fff;
    color: var(--font-color);
    font-size: 3.947vw;
    font-weight: bold;
    font-family: "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
    margin: 0.3em;
  }

  #fftop_recomDetail .pagingMT li.active {
    color: var(--page-color);
  }

  /* 全体枠 */
  #fftop_recomDetail .leisureBox02MT .BlocMT {
    background-color: var(--yutai_back) !important;
    margin: 3.947vw auto;
    padding: 1em;
    width: 95vw;
    border: none;
  }

  /* カテゴリ名 */
  .leisureLayoutMT h3.txtB {
    background: none;
    padding: 0;
    color: inherit;
    font-size: 3.2vw;
    margin: 0 auto 0.25em;
  }

  /* 写真・優待内容レイアウト */
  #fftop_recomDetail .leisureBox02MT .BlocMT .innerMT {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  /* 写真 pタグ */
  #fftop_recomDetail .leisureBox02MT .innerMT .ImgBoxMT {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto 0.5em;
  }

  /* 写真　imgタグ*/
  #fftop_recomDetail .leisureBox02MT .innerMT .ImgBoxMT img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid #e1e1e1;
    box-sizing: border-box;
  }

  /*　おすすめ画像　*/
  ul.NumMT li img {
    width: 16vw;
    height: auto;
  }

  /*　申込番号　*/
  #fftop_recomDetail .leisureBox02MT .innerMT .txtBoxMT .NumMT li {
    font-size: 3.2vw;
    color: var(--font-color);
  }

  /* 優待名 */
  #fftop_recomDetail .leisureBox02MT .innerMT .txtBoxMT h4 {
    color: var(--font-color);
    font-size: 4.2vw;
  }

  /* 会員特典 */
  #fftop_recomDetail .leisureBox02MT p.privilegeHeading {
    font-size: 4.2vw;
    font-weight: 600;
    color: #fff;
    background-color: var(--tokuten-color);
    padding: 0.25em 0.5em;
    margin-top: 0.5em;
  }

  /* 会員特典の枠 */
  #fftop_recomDetail .leisureBox02MT .privilegeMT {
    background: #fff;
    border: 0.1em solid var(--tokuten-color);
    padding: 0.5em;
  }

  /* 会員特典欄内のテキスト */
  #fftop_recomDetail .leisureBox02MT .privilegeMT dl dd {
    font-size: 3.947vw;
    color: var(--font-color);
    padding: 0;
  }

  /* 会員特典欄内のテキスト　強調 */
  .leisureLayoutMT dd .txtRed {
    font-weight: 700;
  }

  /*ログイン後に特典表示の画像削除*/
  #fftop_recomDetail .leisureBox02MT .privilegeMT p img {
    display: none;
  }

  /*ログイン後に特典表示のテキスト*/
  #fftop_recomDetail .leisureBox02MT .privilegeMT p::before {
    content: "※特典内容はログイン後に表示されます";
    width: 100%;
    height: 100%;
    text-align: center;
    display: block;
    font-weight: 700;
    font-size: 3.947vw;
  }

  p.mb10::before {
    display: none;
  }

}
