﻿/* CSS Document */

/*====================================================
全体
====================================================*/

/* ルートのフォントサイズを10pxに設定 */
html {
  font-size: 62.5%;
}

/* bodyのフォントサイズを1.6em（16px）に設定 */
body {
  font-size: 1.6em;
}

br {
  font-size: 0;
}

/*カラー共通　ここの色を変えれば全体が変わる*/
:root {
  --main-color: #e9e4e0;
  --black-color:#251e1c;
  --red-color:#d13636;
}

.pc { display: block !important; }
.sp { display: none !important; }

a:link, a:visited {
  text-decoration: none;
}

article p, article li {
  color: inherit;
}

tr, th, td, div, span, a, p, i, li, ul {
  color: inherit;
  line-height: inherit;
}

/* フェード設定 */

.fadein {
  opacity : 0;
  transition:all 0.9s;
}

.fadein.active {
  opacity: 1;
  transform : translate(0);
}


.fade_right {
  opacity : 0;
  transform : translate(50px,0px);
  transition:all 0.9s;
}

.fade_left {
  opacity : 0;
  transform : translate(-50px,0px);
  transition:all 0.9s;
}

.zoomin {
  opacity : 0;
}

.zoomin_move {
  animation: zoomIn 0.8s cubic-bezier(0.25, 1, 0.5, 1) 1 forwards;
}

@keyframes zoomIn {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}


/* 画面100%表示用↓ここから */
.mainContentMT {
	width: 100%;
}

/*　パンくずの表示くずれ防止　*/
.rootMT ul {
    overflow: hidden;
    width: 940px;
    margin: 0 auto;
}
/* 画面100%表示用↑ここまで */

#oneweek_coa {
  box-sizing: border-box;
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	font-feature-settings: "palt";
  letter-spacing: 0.1rem;
  position: relative;
  margin: auto;
  color: var(--black-color);
  font-weight: 400;
}


#oneweek_coa img {
  vertical-align: bottom;
}

.head {
  margin: 0 auto;
  position: relative;
}

/* ↓ここからヘッダー画像↓ */
#oneweek_coa .head img {
  display: block;
  margin: 0 auto;
  width: 1040px;
}

.scrolldown2 {
  width: 5rem;
  min-height: 5rem;
  margin: 0 auto;
  position: relative;
  margin: 3rem auto 10rem;
}

/*Scrollテキストの描写*/
.scrolldown2 span{
position: absolute;
left:20px;
bottom:0px;
color: var(--black-color);
font-size: 1.6rem;
/*縦書き設定*/
-ms-writing-mode: tb-rl;
  -webkit-writing-mode: vertical-rl;
  writing-mode: vertical-rl;
}

/* IE */
@media all and (-ms-high-contrast: none){
  .scrolldown2 span{
    bottom: -15px;
    letter-spacing: -0.5rem;
  }
}

/* 丸の描写 */
.scrolldown2:before {
  content: "";
  /*描画位置*/
  position: absolute;
  bottom:0;
  left:6px;
  /*丸の形状*/
width:10px;
height:10px;
border-radius: 50%;
background:var(--black-color);
  /*丸の動き1.6秒かけて透過し、永遠にループ*/
animation:
  circlemove 1.6s ease-in-out infinite,
  cirlemovehide 1.6s ease-out infinite;
}

/*下からの距離が変化して丸の全体が上から下に動く*/
@keyframes circlemove{
    0%{bottom:45px;}
   100%{bottom:-5px;}
}

/*上から下にかけて丸が透過→不透明→透過する*/
@keyframes cirlemovehide{
    0%{opacity:0}
   50%{opacity:1;}
  80%{opacity:0.9;}
100%{opacity:0;}
}

/* 線の描写 */
.scrolldown2:after{
content:"";
  /*描画位置*/
position: absolute;
bottom:0;
left:10px;
  /*線の形状*/
width:2px;
height: 50px;
background:var(--black-color);
}

#tab_all_pc {
  position: fixed;
  top: 0;
  transform: translate(-200px,0);
  left: 0;
  margin: auto;
  z-index: 200;
  transition: all .5s;
  background-color: var(--main-color);
  width: 200px;
  height: 100%;
  overflow-y: auto;
  border-right: solid 1px var(--black-color);
}

/*スクロールバーの横幅指定*/
#tab_all_pc::-webkit-scrollbar,#g-nav::-webkit-scrollbar {
  width: 1px;
}
/*スクロールバーの背景色・角丸指定*/
#tab_all_pc::-webkit-scrollbar-track,#g-nav::-webkit-scrollbar-track {
border-radius: 10px;
background: var(--main-color);
}
/*スクロールバーの色・角丸指定*/
#tab_all_pc::-webkit-scrollbar-thumb,#g-nav::-webkit-scrollbar-thumb {
border-radius: 10px;
background-color:var(--black-color)
}

/* IE用スクロールバーカラー */
#tab_all_pc,#g-nav {
  scrollbar-base-color: var(--black-color);
}

#tab_all_pc.fixed {
  transform: translate(0)

}

.tab_title_pc {
  position: absolute;
  top: 190px;
  left: 50px;
  height: 350px;
}

img.logo {
  display: block;
  width: 110px;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 3rem 0;
}

ul.tab {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: flex-end;
}

ul.tab li a {
  width: 50px;
  height: 90px;
  display: block;
  transition: all .3s;
}

ul.tab li:nth-of-type(1) a {
  background: url(../img/mon_btn.png) no-repeat;
  background-size: cover;
}

ul.tab li:nth-of-type(2) a {
  background: url(../img/tue_btn.png) no-repeat;
  background-size: cover;
}

ul.tab li:nth-of-type(3) a {
  background: url(../img/wed_btn.png) no-repeat;
  background-size: cover;
}

ul.tab li:nth-of-type(4) a {
  background: url(../img/thu_btn.png) no-repeat;
  background-size: cover;
}

ul.tab li:nth-of-type(5) a {
  background: url(../img/fri_btn.png) no-repeat;
  background-size: cover;
}

ul.tab li:nth-of-type(6) a {
  background: url(../img/sat_btn.png) no-repeat;
  background-size: cover;
}

ul.tab li:nth-of-type(7) a {
  background: url(../img/sun_btn.png) no-repeat;
  background-size: cover;
}

ul.tab li:nth-of-type(1) a:hover {
  background: url(../img/mon_btn_on.png) no-repeat;
  background-size: cover;
}

ul.tab li:nth-of-type(2) a:hover {
  background: url(../img/tue_btn_on.png) no-repeat;
  background-size: cover;
}

ul.tab li:nth-of-type(3) a:hover {
  background: url(../img/wed_btn_on.png) no-repeat;
  background-size: cover;
}

ul.tab li:nth-of-type(4) a:hover {
  background: url(../img/thu_btn_on.png) no-repeat;
  background-size: cover;
}

ul.tab li:nth-of-type(5) a:hover {
  background: url(../img/fri_btn_on.png) no-repeat;
  background-size: cover;
}

ul.tab li:nth-of-type(6) a:hover {
  background: url(../img/sat_btn_on.png) no-repeat;
  background-size: cover;
}

ul.tab li:nth-of-type(7) a:hover {
  background: url(../img/sun_btn_on.png) no-repeat;
  background-size: cover;
}

ul.tab li a img {
height: 100%;
width: auto;
}

.day_head {
  display: block;
  margin: 0 auto;
}

/* 優待一覧 */
.day_of_the_week {
  position: relative;
}

.area {
  position: relative;
}

.menu_all {
  width: 940px;
  margin: 0 auto;
}

.menu_block {
  width: 740px;
  margin: 0 auto;
}

.menu_block a{
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  line-height: 1.2;
}

.menu_block img {
  display: block;
  width: 47.5%;
  height: auto;
}

.menu {
  width: 47.5%;
}

.line {
  border-top: solid 2px var(--black-color);
  margin: 4rem auto 0;
  padding: 0 0 4rem;
}

.title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.text {
  font-size:1.3rem;
  margin-bottom: 3rem;
}

.bikou {
  font-size: 1.2rem;
  color: #7c7877;
  margin-top: 0.5rem;
}

.tokuten {
  font-size: 1.6rem;
  font-weight: 700;
}

.tokuten span {
  font-size: 2.2rem;
  color:var(--red-color);
  font-weight: 800;
}

.btn {
  box-sizing: border-box;
  font-size:2rem;
  font-weight: 700;
  padding: 1.5rem 0;
  border:solid var(--black-color) 2px;
  display: inline-block;
  text-align: center;
  width: 100%;
  margin-top: 3rem;
  transition: all .3s;
  background-color: #fff;
}

.footer img {
  margin: 0 auto;
}

.top_back {
  width: 80px;
  margin: 4rem auto;
}

.top_back a {
  display: block;
  width: 100%;
  height: 100%;
}

.top_back img {
  width: 100%;
}

@media screen and (min-width: 1200px) {

  #contents_all {
    transition: all 0.6s;
  }

  #contents_all.slide {
    margin-left:200px;
  }

  #tab_all_sp,.openbtn,#g-nav {
    display: none !important;
  }

  footer,.underInfoMT,.underInfoMT .inner {
    width: calc(100% - 200px);
    margin: 0 0 0 200px;
  }

}

@media screen and (max-width: 1199px) {

  #oneweek_coa .head img {
    width: 940px;
  }

  #tab_all_pc {
    display: none !important;
  }

/*========= ナビゲーションのためのCSS ===============*/

#g-nav{
  /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
  position:fixed;
  z-index: 999;
  /*ナビのスタート位置と形状*/
  top:0;
  left: -120%;
  width:300px;
  height: 100vh;/*ナビの高さ*/
  background-color:var(--main-color);
  background-color: #e9e4e0;
  /*動き*/
  transition: all 0.6s;
  border-right: solid 1px var(--black-color);
  overflow-y: scroll;
}

/* IE */
@media all and (-ms-high-contrast: none){
  #g-nav{
  background-color: #e9e4e0;
}
}

/*アクティブクラスがついたら位置を0に*/
#g-nav.panelactive{
  left: 0;
}

ナビゲーションの縦スクロール
#g-nav.panelactive #g-nav-list{
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
}

img.tab_title_sp {
  width: 70%;
  padding: 2rem;
  box-sizing: border-box;
  max-width: 85vmin;
}

/*ナビゲーション
#g-nav ul {
}*/

/*リストのレイアウト設定*/
#g-nav li{
  list-style: none;
  text-align: left;
  border-bottom: solid 0.5px;
}

#g-nav li:first-child {
  border-top: solid 0.5px;
}

#g-nav li a{
color: var(--black-color);
text-decoration: none;
display: block;
text-transform: uppercase;
letter-spacing: 0.1em;
font-weight: 600;
font-size: 1.3rem;
text-transform: capitalize;
padding: 2rem;
box-sizing: border-box;
}

#g-nav li a:hover,#g-nav li a:active {
  background-color: var(--black-color);
  color: #fff;
}

/*========= ボタンのためのCSS ===============*/
.openbtn{
  position:fixed;
  z-index: 9999;/*ボタンを最前面に*/
  top:1rem;
  right: 1rem;
  cursor: pointer;
  width: 5rem;
  height:5rem;
  background-color: rgba(255,255,255,.5);
  display: none;
  transition: all .4s;
}

.openbtn.active {
  background: none;
  right: 0;
  top: 0.9rem;
}

/*×に変化*/
.openbtn span{
  display: inline-block;
  transition: all .4s;
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
  height: 0.3rem;
  border-radius: 2px;
  background-color: var(--black-color);
  width: 50%;
}

.openbtn span:nth-of-type(1) {
top:calc(35% - 0.15rem);
}

.openbtn span:nth-of-type(2) {
top:calc(50% - 0.15rem);
}

.openbtn span:nth-of-type(3) {
top:calc(65% - 0.15rem);
}

.openbtn.active span:nth-of-type(1) {
  top: 1.8rem;
  left: 0;
  transform: translateY(6px) rotate(-45deg);
}

.openbtn.active span:nth-of-type(2) {
opacity: 0;
}

.openbtn.active span:nth-of-type(3){
  top: 3rem;
  left: 0;
  transform: translateY(-6px) rotate(45deg);
}

}

/*↓ ここからPC ↓*/
@media screen and (min-width: 768px) {

  .menu_block a:hover .btn {
    background-color: var(--black-color);
    color: #fff;
  }
}
/* ↑ここまでPC↑ */


/*↓ ここからスマホ ↓*/
@media screen and (max-width: 767px) {

  .pc { display: none !important; }
  .sp { display: block !important; }

  html {
    font-size: 62.5%;
  }

  #oneweek_coa {
    max-width: 100vmin;
  }

  #oneweek_coa img {
    max-width: 100%;
  }


  #oneweek_coa .head img{
    width: 100%;
    padding: 0;
  }

  #fftop_recomDetail section {
    padding: 0px;
  }

  /* 全体フォント */
  article p {
    color: inherit;
    line-height: inherit;
  }

  #tab_all_pc {
    display: none;
  }

  #tab_all_sp {
    width: 100vmin;
  }

  #g-nav{
    width: 100vmin;
  }

  ul.tab_sp {
    display: flex;
    flex-wrap: wrap;
    max-width: 100vmin;
  }

  ul.tab_sp li {
    line-height: 0;
    width: calc(100vmin / 7);
  }

    .day_head {
    width: 100%;
  }

  .menu_all {
    width: 85vmin;
    margin: 0 auto;
  }

  .line {
    margin: 2rem auto 0;
    padding: 0 0 2rem;
  }

  .menu_block {
    width: 100%;
  }

  .menu_block a {
    display: block;
  }

  .menu, .menu_block img {
    width: 100%;
  }

  .menu_block img {
    margin-bottom: 2rem;
  }

  .menu_block a:active .btn {
    background-color: var(--black-color);
    color: #fff;
  }

  .top_back {
    width: 20vmin;
    margin: 2rem auto 0;
    position: relative;
    bottom: inherit;
}

}
