﻿/* CSS Document */

/*====================================================
全体
====================================================*/

/* フェード設定 */

.fadein {
  opacity : 0;
  transition:all ease 0.8s;
}

@keyframes fadein {
from {
  opacity: 0;
}
to {
  opacity: 1;
}
}

br {
  font-size: 0;
}

/*カラー共通　ここの色を変えれば全体が変わる*/
:root {
  --main-color: #66cc33;
  --head-color:#a3e085;
  --sub-color: #e0f5d6;
  --accent-color: #f8b62d;
  --black-color:#3e3a37;
}

.pc { display: block !important; }
.sp { display: none !important; }

/* 画面100%表示用↓ここから */
.mainContentMT {
	width: 100%;
}

/*　パンくずの表示くずれ防止　*/
.rootMT ul {
    overflow: hidden;
    width: 940px;
    margin: 0 auto;
}
/* 画面100%表示用↑ここまで */

#ntt-tp_stay_home {
  font-family: "Noto Sans Japanese", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
	font-feature-settings: "palt";
	margin-bottom: 15px;
}

/* ↓ここからヘッダー画像↓ */

/* ヘッダー画像 */
#ntt-tp_stay_home img {
	text-align: center;
	width: 100%;
}

.head {
  background-color: var(--head-color);
  margin: 0 auto 30px;
  padding: 30px 0;
}

#ntt-tp_stay_home .head img {
  width: 940px;
  display: block;
  margin: 0 auto;
}

.btn_all {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  width: 940px;
  margin:0 auto 30px;
}

.btn a {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  width: calc(940px / 2 - 20px);
  margin: 0 10px 20px;
  padding: 1rem;
  background-color: #fff;
  color: var(--main-color);
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  transition: all ease .3s;
  border-radius: 0.25rem;
}

.btn a::before {
  content: "";
  display: block;
  width: 70px;
  height: 70px;
  margin-right: 1rem;
  transition: all ease .3s;
}

li.btn:nth-child(1).btn a::before {
  background: url(../img/food.png) no-repeat;
  background-size: contain;
}

li.btn:nth-child(2).btn a::before {
  background: url(../img/work.png) no-repeat;
  background-size: contain;
}

li.btn:nth-child(3).btn a::before {
  background: url(../img/shopping.png) no-repeat;
  background-size: contain;
}

li.btn:nth-child(4).btn a::before {
  background: url(../img/health.png) no-repeat;
  background-size: contain;
}

li.btn:nth-child(5).btn a::before {
  background: url(../img/offtime.png) no-repeat;
  background-size: contain;
}

li.btn:nth-child(6).btn a::before {
  background: url(../img/study.png) no-repeat;
  background-size: contain;
}

li.btn:nth-child(1).btn.on a::before {
  background: url(../img/food_on.png) no-repeat;
  background-size: contain;
}

li.btn:nth-child(2).btn.on a::before {
  background: url(../img/work_on.png) no-repeat;
  background-size: contain;
}

li.btn:nth-child(3).btn.on a::before {
  background: url(../img/shopping_on.png) no-repeat;
  background-size: contain;
}

li.btn:nth-child(4).btn.on a::before {
  background: url(../img/health_on.png) no-repeat;
  background-size: contain;
}

li.btn:nth-child(5).btn.on a::before {
  background: url(../img/offtime_on.png) no-repeat;
  background-size: contain;
}

li.btn:nth-child(6).btn.on a::before {
  background: url(../img/study_on.png) no-repeat;
  background-size: contain;
}

.btn.on a {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: #fff;
}

.btn a:link, .btn a:visited {
  text-decoration: none;
}

@media only screen and (min-device-width: 768px) {

  .btn a:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: #fff;
  }
  
  li.btn:nth-child(1).btn a:hover::before {
    background: url(../img/food_on.png) no-repeat;
    background-size: contain;
  }
  
  li.btn:nth-child(2).btn a:hover::before {
    background: url(../img/work_on.png) no-repeat;
    background-size: contain;
  }

  li.btn:nth-child(3).btn a:hover::before {
    background: url(../img/shopping_on.png) no-repeat;
    background-size: contain;
  }
  
  li.btn:nth-child(4).btn a:hover::before {
    background: url(../img/health_on.png) no-repeat;
    background-size: contain;
  }

  li.btn:nth-child(5).btn a:hover::before {
    background: url(../img/offtime_on.png) no-repeat;
    background-size: contain;
  }

  li.btn:nth-child(6).btn a:hover::before {
    background: url(../img/study_on.png) no-repeat;
    background-size: contain;
  }

}

/* ↑ここまでヘッダー画像↑ */


@media only screen and (min-device-width: 768px) {

/* 表示行数の位置調整 */
.leisureLayoutMT .layer02MT {
	width: 940px;
	margin: 0 auto;
}

.layer02MT {
	height: 0px;
}

/* 表示行数 */
.displayMT {
	overflow: hidden;
	position: absolute;
	top: 0;
	right: 0;
	z-index: 100;
	margin-right: 20px;
	font-family: "Noto Sans Japanese", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
	font-weight: bold;
}

}

/* 表示行数 */
.displayMT dl dt {
  color: var(--black-color);
}

/* 1・2・・・次・最後 */
.pagingMT {
	margin-left: 30px;
}

/* 1・2・・・次・最後 */
.pagingMT li a {
	color: var(--black-color);
}

/* 1・2・・・次・最後 */
.pagingMT li.active {
	color: var(--black-color);
}

/* 表示行数下の水色線の削除 */
.punctuationMT {
	background: none;
	margin-bottom: 40px;
}

/* ページ全体背景 */
.leisureLayoutMT {
    background-color: var(--sub-color);
}

/* 紐づけ優待全体 */
.leisureBox01MT {
	color: var(--black-color);
	background-color: #fff;
	font-family: "Noto Sans Japanese", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
	font-feature-settings: "palt";
	width: 900px;
	box-sizing: border-box;
	margin: 40px auto 0px;
	padding: 20px;
  border:none;
  border-radius: 0.5rem;
}

.leisureLayoutMT h3.txtB {
  font-size: 12px;
}

/* 優待メニュータイトル */
.leisureBox01MT a{
	color: var(--black-color);
	font-size: 16px;
}

/* 特典内容欄 */
.leisureLayoutMT .leisureBox01MT .privilegeMT {
	border: none;
}

/* 特典内容欄　枠線 */
.leisureLayoutMT .leisureBox01MT .privilegeMT dl {
	background: none;
	border: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
}

/* 特典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(--main-color);
  border: solid 1px var(--main-color)
}

/* 特典内容欄　長さ */
.leisureLayoutMT .leisureBox01MT .privilegeMT dd {
  width: 791px;
  padding: 10px;
  box-sizing: border-box;
  font-size: 13px;
  border: solid 1px var(--main-color);
  margin: 0;
}

/* 特典内容欄　強調 */
.leisureLayoutMT dd .txtRed {
	color: var(--accent-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: 8rem;
  margin: 0 !important;
  position: relative;
}

@media only screen and (min-device-width: 768px) {

/* 優待紹介テキスト　グラデ背景 */
p.mb10::before {
    content: "";
    width: 100%;
    height: 8rem;
    display: block;
    background: linear-gradient(to bottom, rgba(255,255,255,0) 50%, rgba(255,255,255,1) 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 2px var(--main-color);
  box-sizing: border-box;
}

/*ログイン後に特典表示の画像削除*/
.privilegeMT p a img {
    display: none;
}

}

/*↓ ここからスマホ ↓*/

@media only screen and (max-device-width: 767px) {

  .pc { display: none !important; }
  .sp { display: block !important; }
  
  #ntt-tp_stay_home .head {
    margin: 0 auto 3.947vw;
    padding: 3.947vw 0;
  }

  #ntt-tp_stay_home .head img{
    width: 100%;
    padding: 0;
  }

  .btn_all {
    width: 100%;
    box-sizing: border-box;
    padding: 3vw 0 0 3vw;
  }
  
  .btn a {
    width: 45.5vw;
    min-height: 45.5vw;
    margin: 0 3vw 3vw 0;
    font-size: 4.5vw;
    line-height: 1.2;
    padding: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
  }
  
  .btn a:before {
    width: 5rem;
    height: 5rem;
    margin: 0 auto 0.75rem;
  }
  
  .btn a:active {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: #fff;
  }

  li.btn:nth-child(1).btn a:active::before {
    background: url(../img/food_on.png) no-repeat;
    background-size: contain;
  }
  
  li.btn:nth-child(2).btn a:active::before {
    background: url(../img/work_on.png) no-repeat;
    background-size: contain;
  }

  li.btn:nth-child(3).btn a:active::before {
    background: url(../img/shopping_on.png) no-repeat;
    background-size: contain;
  }
  
  li.btn:nth-child(4).btn a:active::before {
    background: url(../img/health_on.png) no-repeat;
    background-size: contain;
  }

  li.btn:nth-child(5).btn a:active::before {
    background: url(../img/offtime_on.png) no-repeat;
    background-size: contain;
  }

  li.btn:nth-child(6).btn a:active::before {
    background: url(../img/study_on.png) no-repeat;
    background-size: contain;
  }
  

  #fftop_recomDetail .reBox {
      padding: 0px;
  }
  
  #ntt-tp_stay_home{
    font-size:0;
    margin-bottom: 3.947vw;
  }
  
  /* ヘッダー画像 */
  #ntt-tp_stay_home img {
    text-align: center;
    width: 100%;
  }
  
  
  /*　全体背景　*/
  .leisureLayoutMT {
    background-color: var(--sub-color);
  }
  
  /* 全体フォント */
  section.leisureBox02MT.mb20 {
    font-family: "Noto Sans Japanese", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    color: var(--black-color);
  }
  
  /* 全体フォント */
  article p {
    color: inherit;
    font-size: inherit;
    line-height: 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(--black-color);
      font-weight: bold;
      font-family: "Noto Sans Japanese", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  }
  
  /* 表示行数 */
  #fftop_recomDetail .displayMT dl dd {
      font-weight: bold;
      font-family: "Noto Sans Japanese", "Hiragino Kaku Gothic ProN", 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(--black-color);
    font-size: 3.947vw;
    font-weight: bold;
    font-family: "Noto Sans Japanese", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  }
  
  /* 1 2 3 次 最後　ボタン */   
  .recmPager .pagingMT li a {
    color: var(--main-color);
  }

  /* 全体枠 */
  #fftop_recomDetail .leisureBox02MT .BlocMT {
    background: #fff !important;
    margin: 3.947vw auto;
    padding: 3vw;
    width: 90vw;
    border: none;
    border-radius: 0.25rem;

}

/* カテゴリ名 */
.leisureLayoutMT h3.txtB {
  background: none;
  padding: 0;
  color: inherit;
  font-size: 3.2vw;
  margin: 0 auto 0.25rem;
}

/* 写真・優待内容レイアウト */
#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.5rem;
}

/* 写真　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(--black-color);
}

/* 優待名 */
#fftop_recomDetail .leisureBox02MT .innerMT .txtBoxMT h4 {
  color: var(--black-color);
  font-size: 4.2vw;
}

/* 会員特典 */
#fftop_recomDetail .leisureBox02MT p.privilegeHeading {
  font-size: 4.2vw;
  font-weight: 600;
  color: #fff;
  background-color: var(--main-color);
  padding: 0.25rem 0.5rem;
  margin-top:0.5rem;
}

/* 会員特典の枠 */
#fftop_recomDetail .leisureBox02MT .privilegeMT {
  background: #fff;
  border: 0.1em solid var(--main-color);
  padding: 0;
}

/* 会員特典欄内の枠　個々 */
#fftop_recomDetail .leisureBox02MT .privilegeMT dl {
  font-size: 3.947vw;
  color: var(--black-color);
  padding: 0.5rem;
  border-bottom: solid var(--main-color) 0.1em;
  box-sizing: border-box;
}

#fftop_recomDetail .leisureBox02MT .privilegeMT dl:last-child {
  border: none;
}

/* 会員特典欄内のテキスト */
#fftop_recomDetail .leisureBox02MT .privilegeMT dl dd {
  font-size: 3.947vw;
  color: var(--black-color);
  padding: 0;
}

/* 会員特典欄内のテキスト　強調 */
.leisureLayoutMT dd .txtRed {
  font-size: 4.5vw;
}

  /*ログイン後に特典表示の画像削除*/
  #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;
    box-sizing: border-box;
    padding: 1rem 0;
  }

}
