﻿/* CSS Document */

/*====================================================
全体
====================================================*/
@font-face {
  font-family: 'Noto Serif JP';
  src: local('NotoSerifJP-VariableFont_wght.ttf'), url("../../../common/font/NotoSerifJP-VariableFont_wght.ttf");
  font-display: swap;
  font-weight: Use a value from 100 to 900;
}

@font-face {
  font-family: 'Noto Sans JP';
  src: local('NotoSansJP-Medium.ttf'), url("../../../common/font/NotoSansJP-Medium.ttf");
  font-display: swap;
  font-weight: 400;
}

/*====================================================
全体
====================================================*/

br {
  font-size: 0;
}

/*カラー共通　ここの色を変えれば全体が変わる*/
:root {

  /* 特典枠の色 */
  --tokuten-color: #6b6b6b;
  /* ボタンの色 */
  --btn-color: #6b6b6b;
  /* 優待内容のテキストの色 */
  --yutai-color: #e70012;
  /* 全体のフォントの色 */
  --font-color: #333;
  /* 各メニューの背景 */
  --yutai_back: #fff;
  /* ページ全体の背景 */
  --yutai_all_back: #fff;
  /*ページ数のボタン*/
  --page-color: var(--mexico-color);

  /* self-care */
  --navy: #010923;
  --white: #fff;
}

.pc {
  display: block !important;
}

.sp {
  display: none !important;
}


/* パターンA（背景100%） */

.mainContentMT {
  width: 100%;
}




/*　パンくずの表示くずれ防止　*/

.rootMT ul {
  overflow: hidden;
  width: 940px;
  margin: 0 auto;
}

#self-care img {
  width: 100%;
  /* max-width: 940px; */
  text-align: center;
}

#self-care a {
  text-decoration: none;
  box-sizing: border-box;
  font-size: 16px;
  color: var(--white);
  transition: background-image 0.3s ease;
}



/* ここから */

#self-care {
  font-family: "Noto Sans JP", "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans Japanese", "Arial", "Meiryo", sans-serif;
  font-feature-settings: "palt";
  line-height: 1.7;
  letter-spacing: 0.15em;
  color: var(--white);
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

#self-care .bg-fixed-sp {
  z-index: 0;
}



/* 全体
---------------------- */
#bg-fixed {
  z-index: 0;
  width: 100%;
  left: 0;
  top: 0;
  overflow: hidden;
}

#bg-fixed .wrapper {
  padding:
    max(8vw, 40px) 20px;
  height: 100%;
  justify-content: space-between;
  background-color: var(--navy);
  background-image: url(../img/back_self-care.webp);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: fixed;
  position: relative;
  z-index: 1;
}



/* メインビジュアル
---------------------- */
#self-care .mv {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  justify-content: center;
  display: flex;
  align-items: center;
  gap: 40px;
}

#self-care .mv__title {
  width: 60%;
  flex-shrink: 0;
  z-index: 10;
}



/* mv__slider
---------------------- */
#self-care .mv__slider {
  position: relative;
  width: 40%;
  max-width: 400px;
  height: 500px;
  border-radius: 999px;
  overflow: hidden;
}

#self-care .mv__slider__item {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation:
    fadeSlide 15s infinite,
    zoomSlide 15s infinite;
}

#self-care .mv__slider__item:nth-child(1) {
  animation-delay: 0s;
}

#self-care .mv__slider__item:nth-child(2) {
  animation-delay: 5s;
}

#self-care .mv__slider__item:nth-child(3) {
  animation-delay: 10s;
}

@keyframes zoomSlide {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.05);
  }
}

@keyframes fadeSlide {

  0% {
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  30% {
    opacity: 1;
  }

  40% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }

}



/* container
---------------------- */
#self-care .container {
  margin: 0 auto;
  max-width: 1280px;
}

#self-care .container::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    url("../img/star-sign01.svg"),
    url("../img/star-sign02.svg");
  background-repeat: no-repeat;
  background-size:
    200px,
    110px;
  background-position:
    93% 69%,
    5% 39%;
  pointer-events: none;
  z-index: -1;
}



/* lead
---------------------- */
#self-care .lead {
  font-family: "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
  margin: 12% auto 0;
  background: rgba(16, 42, 78, 0.5);
  backdrop-filter: blur(2px);
  padding: 40px 24px;
  font-size: clamp(15px, 4vw, 24px);
  text-align: center;
  line-height: 1.7;
  letter-spacing: 0.1em;
  width: 80%;
}



/* section
---------------------- */
#self-care .section {
  max-width: 1080px;
  width: 90%;
  margin: 12% auto 4%;
}

#self-care .section__title {
  font-family: "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
  font-size: clamp(22px, 4vw, 56px);
  line-height: 1.4;
}

#self-care .section__title-center {
  text-align: center;
}



/* point
---------------------- */
#self-care .pointItem {
  display: flex;
  margin-top: 64px;
}

#self-care .point__icon {
  width: 100px;
  height: auto;
  margin-right: 40px;
}

#self-care .point__text {
  font-size: clamp(16px, 4vw, 20px);
  max-width: 940px;
}

#self-care .point__text .strong {
  font-size: 1.4em;
  font-weight: 500;
}



/* card
---------------------- */
#self-care .time__slider {
  position: relative;
  height: 500px;
}

#self-care .time__card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 280px;
  height: 380px;
  transition: all 1.5s ease;
}

#self-care .time__card.left {
  transform:
    translate(-160%, -50%) rotateY(25deg) scale(.8);
  filter: brightness(.85);
  opacity: .6;
  z-index: 1;
}

#self-care .time__card.center {
  transform:
    translate(-50%, -55%) scale(1);
  opacity: 1;
  z-index: 3;
}

#self-care .time__card.right {
  transform:
    translate(60%, -50%) rotateY(-25deg) scale(.8);
  filter: brightness(.85);
  opacity: .6;
  z-index: 1;
}



/* 紹介
---------------------- */
#self-care .introduction {
  font-family: "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
  font-size: clamp(20px, 2vw, 32px);
  text-align: center;
  margin: 10% auto 2%;
  line-height: 1.4;
}



/* 弧
---------------------- */
#self-care .curve {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  line-height: 0;
}

#self-care .curve svg {
  display: block;
  width: 100%;
  height: 120px;
}



@media screen and (min-width: 768px) and (max-width: 1024px) {

  #self-care {
    color: var(--white);
  }

  #self-care .lead,
  #self-care .section__title,
  #self-care .point__text,
  #self-care .strong,
  #self-care .introduction {
    color: var(--white);
  }

  #self-care .point__icon {
    width: 200px;
  }

  #self-care .introduction {
    margin: 20% auto 10%;
  }

}

@media screen and (min-width: 601px) and (max-width: 767px) {

  #self-care .mv__slider {
    position: absolute;
    right: -4%;
    top: 24%;
    width: 50vw;
    height: 68vw;
    z-index: 1;
  }

}

@media screen and (max-width: 680px) {
  .pc {
    display: none !important;
  }

  .sp,
  .newLine-sp {
    display: block !important;
  }

  #self-care a {

    font-size: 14px;
  }

  #self-care {
    color: var(--white);
  }

  /* 背景
---------------------- */
  #bg-fixed .bg-fixed-pc {
    background: none;
  }

  #self-care .bg-fixed-sp {
    position: absolute;
    inset: 0;
    background-image: url(../img/back_self-care-sp.webp);
    background-repeat: repeat-y;
    background-size: 100% auto;
    background-position: center top;
  }



  /* container
---------------------- */
  #self-care .container::after {
    background-size:
      110px, 60px;
    background-position:
      95% 72%, 5% 38%;
  }

  #bg-fixed .wrapper {
    padding:
      max(8vw, 40px) 16px;
    background: none !important;
  }



  /* メインビジュアル
---------------------- */
  #self-care .mv {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    justify-content: left;
  }

  #self-care .mv__title {
    position: relative;
    width: 90%;
    /* margin: 0 auto; */
    z-index: 2;
  }



  /* mv__slider
---------------------- */
  #self-care .mv__slider {
    position: absolute;

    right: -4%;
    top: 34%;

    width: 50vw;
    height: 68vw;

    z-index: 1;
  }

  #self-care .mv__card {
    width: 65vw;
  }

  #self-care .mv__card.center {
    transform:
      translateY(-20px) scale(1);
  }


  /* lead
---------------------- */
  #self-care .lead {
    font-family: "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
    margin: 0 auto;
    padding: 24px 8px;
    color: var(--white);
    width: 95%;
  }



  /* section
---------------------- */
  #self-care .section {
    margin: 30% auto 2%;
  }

  #self-care .section__title {
    color: var(--white);
  }



  /* point
---------------------- */
  #self-care .pointItem {
    display: block;
    margin-top: 32px;
  }

  #self-care .point__icon {
    width: 64px;
    height: auto;
    margin-right: auto;
  }

  #self-care .point__text {
    font-size: clamp(15px, 3vw, 20px);
    color: var(--white);
  }

  #self-care .point__text .strong {
    font-size: 1.3em;
  }



  /* card
---------------------- */
  #self-care .time__slider {
    width: 100%;
    height: 420px;
    overflow: hidden;
  }

  #self-care .time__card {
    width: 55vw;
    height: 75vw;
    max-width: 220px;
    max-height: 300px;
  }

  #self-care .time__card.left {
    transform:
      translate(-95%, -50%) rotateY(20deg) scale(.8);

    opacity: .5;
  }

  #self-care .time__card.center {
    transform:
      translate(-50%, -55%) scale(1);

    opacity: 1;
  }

  #self-care .time__card.right {
    transform:
      translate(-5%, -50%) rotateY(-20deg) scale(.8);

    opacity: .5;
  }



  /* 紹介
---------------------- */
  #self-care .introduction {
    color: var(--white);
    margin: 24% auto;
  }


}

/* ↑ここまでヘッダー画像↑ */






/* ↓ここから↓ 紐づけメニュー */

/*　全体背景　*/
.leisureLayoutMT {
  background-color: var(--yutai_all_back);
}

/* 表示行数の位置調整 */
.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: #333;
}

/* 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: 940px;
  box-sizing: border-box;
  margin: 40px auto 0px;
  padding: 20px;
  border: 1px solid #ececec;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.leisureLayoutMT h3.txtB {
  font-size: 12px;
}

/* 優待メニュータイトル */
.leisureBox01MT a {
  color: var(--font-color);
  font-size: 16px;
}

/* 特典内容欄 */
.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);
  /* color: var(--font-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;
  /* overflow: hidden; */
  /* 追加 */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 優待紹介テキスト　グラデ背景 */
/* 一旦消してみる */
/* p.mb10::before {
  content: "";
  width: 100%;
  height: 8em;
  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) {

  #fftop_recomDetail .reBox {
    padding: 0px;
  }

  #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: #333;
    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;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    margin: 3.947vw auto;
    padding: 1em;
    width: 95vw;
    border: 1px solid #ececec;
  }

  /* カテゴリ名 */
  .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: 90%;
    height: auto;
    margin: 0 auto 0.5em 0;
  }

  /* 写真　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 {
    width: 64%;
  }

  /*　申込番号　*/
  #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: 4vw; */
    /* font-size: clamp(14px, 1vw + 12px, 24px); */
    font-size: 14px;
    line-height: 1.6em;
  }

  /* 会員特典 */
  #fftop_recomDetail .leisureBox02MT p.privilegefving {
    font-size: 4.2vw;
    font-weight: 600;
    color: var(--font-color);
    background-color: var(--tokuten-color);
    padding: 0.25em 0.5em;
    margin-top: 0.5em;
  }

  /* 会員特典2 */
  #fftop_recomDetail .leisureBox02MT p.privilegeHeading {
    font-size: 12px;
    color: var(--font-color);
    padding-left: 0;
  }

  /* 会員特典の枠 */
  #fftop_recomDetail .leisureBox02MT .privilegeMT {
    background: #fff;
    /* border: 0.1em solid var(--tokuten-color); */
    border-style: none;
    border-top: 1px dashed #333333;

    /* padding: 0.5em; */
  }

  /* 会員特典欄内のテキスト */
  #fftop_recomDetail .leisureBox02MT .privilegeMT dl dd {
    /* font-size: 3.947vw; */
    color: var(--font-color);
    padding: 0;
    font-size: 14px;
    font-weight: bold;
    line-height: 1.6em;
  }

  /* 会員特典欄内のテキスト　強調 */
  .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;
  }

}



/* ここから右下固定ボタン */

/* #page-top---------------------------------------------------- */

/*リンクの形状*/
#page-top a p {
  display: block;
  transition: all 0.3s;
  padding: 3em 2em;
  transition: all ease .3s;
}

#page-top a img:hover {
  opacity: 0.7;
}

/*リンクを右下に固定*/
#page-top {
  display: block;
  width: 125px;
  height: fit-content;
  position: fixed;
  right: 1.5em;
  bottom: 1em;
  z-index: 5;
  /*はじめは非表示*/
  opacity: 0;
  margin: 0;
  padding: 0;
}

/*　上に上がる動き　*/

#page-top.UpMove {
  animation: UpAnime 1s forwards;
}

@keyframes UpAnime {
  from {
    opacity: 0;
    transform: translateY(150%);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*　下に下がる動き　*/

#page-top.DownMove {
  animation: DownAnime 1s forwards;
}

@keyframes DownAnime {
  from {
    opacity: 1;
    transform: translateY(0);
  }

  to {
    opacity: 0;
    transform: translateY(150%);
  }
}

#page-top .close_btn {
  position: absolute;
  z-index: 1;
  border-radius: 50%;
  line-height: 1;
  transition: .25s;
  display: inline-block;
  margin: 0;
  border: solid 7px transparent;
  vertical-align: middle;
  text-decoration: none;
  text-align: center;
  top: -0.5em;
  right: -0.5em;
  padding: 6px;
  background: 0;
  color: #15B6B1;
  background-color: #fff;
  cursor: pointer;
}

#page-top .close_btn::before,
#page-top .close_btn::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1.5px;
  height: 15px;
  background: #9d9d9d;
}

#page-top .close_btn::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

#page-top .close_btn::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

#page-top .close_btn:hover {
  /* マウスオーバー時のスタイル */
  transform: rotate(90deg);
}

#page-top img {
  display: block;
  overflow: hidden;
  border-radius: 5px;
  width: 125px;
}


@media screen and (max-width: 767px) {

  #page-top img {
    width: 100px;
  }

  #page-top {
    width: 100px;
    right: 1em;
  }

}

/* ここまで右下固定ボタン */