/*
Theme Name : WHITENING SALON CHANEL
Theme URL :
Description : 鯖江市にあるRaphy Tiaraのセルフホワイトニングwebサイトです
*/

@charset "UTF-8";
@import url('./css/grid.css');
@import url('./css/style-smartphone.css?var=2');

img {
  max-width: 100%;
  height: auto; /*高さ自動*/
}
a {
  display: block;
  color: #666;
  text-decoration-line: none;
}
a:hover {
  color: #999;
}

body {font-family: sans-serif;}

/*共通書式
-------------------------------------*/
.nomber {
  font-family: sans-serif;
}

/*ヘッダー
-------------------------------------*/
.logo-wapper-p {
  width: auto;
    margin: 0;
    padding: 6px;
    height: 50px;
    display: flex;
    align-items: center;
}

.row-p {
  height: 95px;
}

  .container {
    margin: 0 auto;
    position: relative;
  }

  /* 女性の写真を表示された大タイトル箇所 */
  .main-wrapper-img {
    background-image: url(./images/common/woman_pic.png);
    background-repeat: no-repeat;
    width: 100%;
    background-position: bottom;
    padding-bottom: calc(100% * 1088 / 2048);
    display: block;
    background-size: 100%;
  }
  .main-title-wrapper {
    position: absolute;
    top: 35%;
    left: 40px;
    margin: auto;
  }
  .main-title-wrapper h1 {
    font-size: 4.1vw;
    color: #fff;
    font-family: '小塚ゴシック Pro';
    font-weight: bold;
  }
  .main-title-wrapper p {
    font-size: 2.5vw;
    color: #fff;
    margin-top: 28px;
    font-weight: bold;
  }

  /*キャッチコピー
-------------------------------------*/
  .catch {
    width: 100%;
    padding-bottom: 6vw;
  }
  .catch h2 {
    text-align: center;
    font-size: 2.7vw;
    color: #FAC61E;
    text-shadow: #ddd 1px 1px 5px;
    font-weight: bold;
    padding: 8vw 0;
  }
  .about-content-wapper {
    display: block;
    width: 71%;
    margin: 0 auto;
  }
  .about-content {
    display: flex;
    margin-bottom: 52px;
  }
  .about-content div {
    width: 4%;
    height: 100%;
    margin-top: 2px;
  }
  .about-content p {
    font-size: 1.8vw;
    font-weight: bold;
    display: block;
    height: 100%;
    width: 92%;
    margin: auto auto;
    padding-left: 1.5vw;
  }

  /*  料金プランの案内
-------------------------------------*/
  .price-plan-wrapper {
    padding-bottom: 6vw;
  }
  .price-plan-container {
    display: flex;
    margin: 0 auto 0 auto;
    width: 80%;
    height: 11vw;
    justify-content: space-around;
    padding-top: 3vw;
  }
  .choise-plan {
    width: 62%;
    display: block;
  }
  .choice {
    font-size: 2.3vw;
    margin-top: 63px;
    margin-bottom: 0;
    padding-left: 80px;
  }
  .price {
    padding-right: 35px;
    padding-left: 80px;
    display: block;
    height: 100%;
    font-size: 6vw;
  }
  .price-detail-wapper span {
    text-align: center;
    height: 100%;
    display: contents;
  }
  .price-detail-wapper p {
    display: block;
  }
  .since {
    font-size: 4vw;
    padding-top: 24px;
    padding-left: 89px;
  }
  .price-plan-container .menu {
    width: 38%;
    display: block;
    height: 100%;
  }
  .menu img {
    width: 100%;
    height: 12vw;
    margin-top: 64px;
  }
  .price-plan-btn {
    color: #000;
    border-color: #000;
    width: 35%;
    height: 5.4vw;
    font-size: 2vw;
    opacity: 0.8;
    display: block;
    margin: 12vw auto 0 auto;
    position: relative;
  }
  .price-plan-btn p {
    display: contents;
    position: absolute;
    font-size: 1.8vw;
  }
  .price-plan-btn span {
    position: absolute;
    right: 18px;
  }
  .price-detail-wapper {
    position: relative;
  }
  .detail-tax {
    position: absolute;
    top: 31px;
    width: 100px;
    font-size: 1vw;
  }
  .detail-en {
    font-size: 4vw;
    position: absolute;
    top: 34px;
  }

  /*6つのメリット
-------------------------------------*/
  .center {
    text-align: center;
    font-size: 2.7vw;
    font-weight: bold;
    color: #000;
    padding-top: 8vw;
  }
  .about-benefits {
    background-color: #FFF1B0;
    background-repeat: no-repeat;
    height: 15vw;
    background-size: cover;
    width: 100%;
    text-align: center;
    display: block;
    position: relative;
    background-position: center center;
  }
  .about-benefits div {
    width: 2.5vw;
    margin: 0 auto;
    padding-top: 50px;
  }
  .about-benefits p {
    width: 100%;
    font-size: 2.2vw;
    color: 000;
  }
  .about-benefits-infroduce {
    font-size: 1.3vw;
    text-align: left;
    margin-top: 11px;
    color: #000000;
    padding-top: 23px;
  }

  /*セルフホワイトニングの仕組み
-------------------------------------*/
  .product-introduce h2 {
    text-align: center;
    font-size: 2.7vw;
    font-weight: bold;
    color: #000;
    text-shadow: #ddd 1px 1px 5px;
  }
  .whiting-structure h2 {
    padding-top: 10vw;
  }
  .whiting-structure .row {
    margin: 0 auto;
  }
  .whiting-structure p {
    font-size: 1.5vw;
    color: #4d4d4d;
    text-align: start;
    margin-top: 34px;
  }
  .before-after-wrapper {
    display: flex;
    width: 100%;
    margin-top: 15rem;
    margin-bottom: 17rem;
  }
  .before-after-container {
    width: 30%;
    height: 100%;
    margin: 0 auto;
  }
  .before-after-container img {
    max-width: 100%;
    height: auto;
    margin-top: 3rem;
    width: 82%;
  }
  .before-after-container p {
    text-align: center;
    font-size: 2.5vw;
    color: rgb(5, 67, 121);
  }
  .before-after-arrow {
    width: 5%;
    object-fit: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 117px;
  }

  /*セルフホワイトニングの流れ
-------------------------------------*/

  .flow .row {
    display: flex;
    margin-top: 4vw;
  }
  .flow .container.center {padding-top: 0;}
  .flow .span-6 {
    font-size: 1.7vw;
    position: relative;
  }
  .flow h2 {
    padding-top: 10vw;
  }
  .span-6 .tooth-box {
    background-image: url(./images/pc/tooth_flame_blue.svg);
    background-repeat: no-repeat;
    width: 100%;
    max-width: 100%;
    display: block;
    background-size: 62%;
    position: relative;
    height: 17vw;
    background-position: center center;
    margin: 1.8vw auto 0 auto;
  }
  .flow .span-6 span {
    color: #054379;
    font-size: 1.5vw;
  }
  .span-6 .tooth-box p {
    font-size: 1.7vw;
    padding-top: 5vw;
  }
  .introduce {
    font-size: 1.5vw;
    color: #4d4d4d;
    margin-top: 1vw;
  }
  .flow-row {
    position: relative;
    width: 5%;
    margin: auto 0;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  /* セルフホワイトニングの料金プラン
-------------------------------------*/
  .price-table-wrapper {
    padding-bottom: 0rem;
  }
  .price-table-wrapper .container.center {
    padding-top: 0rem;
  }
  .price-table-wrapper h2 {
    padding: 8vw;
  }
  .price-table-wrapper table {
    border: 1px solid;
    margin: 0 auto;
    width: 80%;
  }
  .price-table-wrapper thead th {
    text-align: center;
    font-size: 1.9vw;
    color: #fff;
    padding: 50px 0;
  }
  .price-table-wrapper thead th:nth-child(1) {
    width: 38%;
  }
  .price-table-wrapper tbody {
    background: #FFF1B0;
    border: solid white 0.1px;
  }
  .price-table-wrapper tbody td {
    width: 60%;
    text-align: center;
    font-size: 2.5rem;
    color: #4d4d4d;
    height: 100%;
    position: relative;
  }
  .price-table-wrapper tbody td .price-span {
    font-size: 2rem;
    padding-top: 27px;
  }
  p.price-p.koduka {
    font-size: 2rem;
  }
  .price-table-wrapper th {
    border-right: 5px solid #fff;
    text-align: center;
    font-size: 18px;
    color: #4d4d4d;
    padding: 4vw 0;
    height: 65px;
  }
  .price-row {
    /*display: flex;
    width: 61%;
    position: absolute;
    top: 52px;
    left: 167px;*/
    display: block;
    width: auto;
    margin: auto;
  }
  .normal-price {
    text-align: left;
    width: auto;
    height: 100%;
    margin-top: 7px;
    display: inline-block;
    padding: 0 20px;
  }
  .off-price {
    text-align: left;
    width: auto;
    display: inline-block;
    padding: 0 20px;
  }
  .off-price div {
    display: flex;
  }
  .off-price div span {
    font-size: 16px;
    padding-top: 10px;
    padding-left: 11px;
  }
  .off-price p {
    font-size: 24px;
    border-bottom: 17px solid #ffae01;
    height: 36px;
    font-weight: bold;
  }
  .price-table-wrapper br {
    display: none;
  }
  .txt .tax {
    font-size: 18px;
    padding-left: 11px;
  }
  .td-price {
    /*position: absolute;*/
    width: 100%;
    top: 59px;
  }
  .price-table {
    /*padding-right: 35px;
    padding-left: 80px;*/
    display: block;
    height: 100%;
    font-size: 24px;
    padding-bottom: 6px;
  }
}



/*メイン画像
-------------------------------------*/
.main-wrapper {
  position: relative;
  margin: 0 auto;
}

/*メインコンテンツ
-------------------------------------*/
main {
  margin: 0 0 0 0;
}
section {
  /* margin: 5rem 0;
  padding: 3rem 0; */
}
.product-introduce {
  display: block;
}

/*  料金プランの案内
-------------------------------------*/
.price-plan-wrapper {
  color: #000;
  display: block;
  width: 100%;
  background: #FAC61E;
}
.price-wrapper {
  display: flex;
}
.menu p {
  opacity: 0.9;
  font-size: 3.6rem;
  letter-spacing: 7px;
  text-align: center;
}


/*6つのメリット
-------------------------------------*/
.title-structure {
  color: #FAC61E;
    text-shadow: #ddd 1px 1px 5px;
}
.about-benefits-title {
  font-size: 1rem;
}

/*セルフホワイトニングの仕組み
-------------------------------------*/
.whiting-structure {
  display: none;
  
  width: 100%;
  padding-bottom: 1vw;
}
.whiting-structure h3 {
  font-weight: bold;
  font-family: Source Sans Variable;
  color: #FAC61E;
    text-shadow: #ddd 1px 1px 5px;
}

/*セルフホワイトニングの流れ
-------------------------------------*/
.flow {
  background: #FAC61E;
  padding-bottom: 2vw;
}
.span-6 .tooth-box img {
  width: 70%;
  position: absolute;
  top: 0px;
  left: 58px;
}
.flow-row img {
  position: absolute;
  top: -25px;
  width: 102%;
}
/* 
 */
/* セルフホワイトニングの料金プラン
-------------------------------------*/
.price-table-wrapper thead tr {
  background: #FAC61E;
  border-style: Solid;
  border-color: #FAC61E;
  border-width: 3px;
  border: 0.1px solid white;
}
.price-table-wrapper p { margin: 0; }
.price-table-wrapper td { vertical-align: inherit; vertical-align: middle; }
td .td-price { margin: 0; }
.off-price p span {
  font-size: 1.7rem;
}

#faq { width: 100%; margin: auto; }
#faq h2 { padding: 8vw 0; }
#faq .container {width: 80%; margin:auto;}
#faq dl {
  padding-bottom: 8vw;
    margin-bottom: 0;
}
#faq dt { border-bottom: solid;
  color: #000;
  position: relative;
  margin-bottom: 32px;
  padding: 24px 48px 24px 64px;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.4;
  cursor: pointer;}
#faq dt::after { content: '＋'; position: absolute; top: 50%; right: 24px; transform: translateY(-50%); font-size: 2.6rem; font-weight: 700; color: #000;}
#faq dt::before { content: 'Q'; position: absolute; top: 50%; left: 24px; transform: translateY(-50%); font-family: 'meirio', sans-serif; font-size: 3rem; font-weight: 700; color: #000;}
#faq dt.on::after { content: '－';}
#faq dd { position: relative; display: none; padding: 16px 16px 48px 64px; font-weight: 700; line-height: 1.4;}
#faq dd::before { content: 'A'; position: absolute; top: 26px; left: 24px; transform: translateY(-50%); font-family: 'meirio', sans-serif; font-size: 3rem; font-weight: 700;}


#message  { color: #000; background-color: #FAC61E; }
#message h2 {padding-bottom: 8vw;}
#message  .wrap { display: flex; flex-wrap: wrap; width: 80%; margin:auto; }
#message  .shop__wrapper { width: 50%; padding: 20px 0;}
#message  .shop__name { text-align: center; margin: 0 0 20px 0; font-size: 2.4rem; }
#message  p { font-size: 1.6rem; text-align: left; padding: 20px;}
#message .photo { width: 50%; height: 350px; padding: 40px 0;}
#message .photo img {height: 350px; width: 100%; object-fit: cover;}
    
@media only screen and (max-width: 768px){

#message h2 { padding: 8vw 0; color: #000;}
#message .shop__wrapper { width: 100%; padding: 0;}
#message .shop__name { font-size: 2rem; }
#message  p { font-size: 1.4rem; padding: 0px;}
#message .photo { width: 100%; height: 300px; padding: 20px 0;}
#message .photo img {height: 220px; width: 100%; object-fit: cover;}

#faq { width: 90%; }
#faq dt { margin-bottom: 12px; font-size: 1.2rem; padding: 12px 36px 12px 48px;}
#faq dt::after { right: 8px; font-size: 1.6rem;}
#faq dt::before { left: 8px; font-size: 1.6rem;}
#faq dd::before { left: 8px; font-size: 1.6rem;}
#faq dd { font-size: 1.2rem;
    padding: 16px 16px 48px 36px;
    margin: 0;}

}

#shop { background: #FFF; padding-bottom: 8vw; }
#shop h2 { padding: 8vw 0;}
#shop table  { width: 80%; margin: auto; border-collapse: collapse; border: solid 1px #000;} 
#shop table  tr { border-bottom: solid #000 1px; }
#shop table  th { width: 20%; padding: 20px 40px; background: #FAC61E; color: #000; border-bottom: solid #000 1px;} 
#shop table  td { width: 80%; padding: 20px 40px; background: #FFF; text-align: left; border-bottom: solid #000 1px; border-right: solid #000 1px;} 
#shop table  td iframe { height: 400px; width: 100%; }
#shop img { width: 20%; margin: 0 auto 20px; display: block;}
#shop img.map { width: 100%; }
#shop img.qr { width: 20%; margin: 0;}

@media (max-width: 767px) {
  #shop { padding-bottom: 40px;} 
  #shop table  { width: 90%; margin: auto;} 
  #shop table  tr { display: flex; flex-wrap: wrap; font-size: 1.2rem; border: none;}
  #shop table  th { width: 100%; padding: 10px; text-align: left;}
  #shop table  td { width: 100%; padding: 10px; border: none;}
  #shop table  td iframe { height: 200px; width: 100%; }
  #shop img { width: 80%; }
  #shop img.qr { width: 50%;}

  #header .col {margin: 0;}
  .logo-wapper-p img {width: 50%;}
}

#footer { position: relative; background: #FAC61E; color: #000;}
#footer address { padding: 32px 16px; text-align: center; font-size: 1.4rem; font-style: normal;}

@media screen and (max-width: 1026px) and (min-width: 769px) {
  .price {
      padding-right: 5px;
      padding-left: 80px;
      display: block;
      height: 100%;
      font-size: 6vw;
  }
  .detail-tax {
    top: 21px;
  }
  .detail-en {
    top: 24px;
  }
  .whiting-structure p {
    font-size: 24px;
  }
  .introduce {
    font-size: 20px;
  }
  .about-benefits-infroduce {
    font-size: 20px;
  }

}

@media screen and (max-width: 780px) and (min-width: 765px) {
  .row .col.span-4 {
      margin: 0 14px 108px 14px;
  }
  #faq dt {font-size: 1.6rem;}
  .price { padding-right: 5px; }
  .detail-tax { top: 21px; }
  .detail-en {top: 26px; left: 5px;}
}

/*HEADER*/
/*******************************************************************/
#header {
  left: 0;
  position: fixed;
  top: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 100%;
  height: 64px;
  z-index: 9000;
  background: #fff;
}

@media screen and (max-width: 768px) {
  #header {
    width: 100%;
    margin: 0;
    -webkit-box-shadow: none;
            box-shadow: none;
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
    height: 72px;
    background: #fff;
    z-index: 9999;
    padding-bottom: 0;
    border-bottom: none;
  }
}

#header .logo-wrapper {
  width: 30%;
  padding: 0 40px;
  z-index: 1000;
}

@media screen and (max-width: 768px) {
  #header .logo-wrapper {
    width: 80%;
    padding: 0 0 0 20px;
  }
}

#header .logo-wrapper a {
  color: #333;
}

#nav {
  width: auto;
  padding-right: 60px;
  height: 100%;
}

@media screen and (max-width: 768px) {
  #nav {
    background: rgba(0, 0, 0, 0.6);
    pointer-events: none;
    position: fixed;
    top: 0vh;
    left: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    width: 100%;
    height: 100vh;
    margin: 0;
    opacity: 0;
    overflow: auto;
    z-index: 999;
    -webkit-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
  }
}
#nav ul{display: flex;
  align-items: center;
  margin: 0;
  height: 100%;}

@media screen and (max-width: 768px) {
  #nav ul {
    width: 100%;
    margin-left: 0;
    margin-top: 40px;
    padding: 20px 20px 30px;
    background: #fff;
    border-radius: 10px;
  }
}

#nav ul li {
  display: inline-block;
  padding: 15px 10px 20px;
  text-align: center;
  margin: 0;
}

@media screen and (max-width: 768px) {
  #nav ul li {
    padding: 0px;
    width: 100%;
    text-align: left;
    margin-bottom: 20px;
  }
}

#nav ul li a {
  font-size: 1.2rem;
  color: #222222;
  letter-spacing: 2.5px;
}

@media screen and (max-width: 768px) {
  #nav ul li a {
    color: #000;
    height: auto;
    font-size: 1.4rem;
    line-height: 1.2;
    width: 100%;
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
  }
}

#nav ul li a:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #fff;
  -webkit-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
}

@media screen and (max-width: 768px) {
  #nav ul li a:after {
    display: none;
  }
}

#nav ul li a:hover {
  opacity: 1;
  border-bottom: solid 1px;
}

#nav ul li a:hover:after {
  width: 100%;
}

#nav ul li a span {
  font-size: 1.2rem;
  display: block;
  text-align: center;
  padding-top: 8px;
}

/*========= ナビゲーションのためのCSS ===============*/
#g-nav {
  /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
  position: fixed;
  z-index: 999;
  /*ナビのスタート位置と形状*/
  top: 0;
  right: -120%;
  width: 50%;
  height: 100vh;
  /*ナビの高さ*/
  background: #eee;
  /*動き*/
  -webkit-transition: all 0.6s;
  transition: all 0.6s;
  /*アクティブクラスがついたら位置を0に*/
}

@media screen and (max-width: 768px) {
  #g-nav {
    width: 100%;
  }
}

#g-nav.panelactive {
  right: 0;
  /*ナビゲーションの縦スクロール*/
}

#g-nav.panelactive #g-nav-list {
  /*ナビの数が増えた場合縦スクロール*/
  position: fixed;
  z-index: 999;
  width: 50%;
  height: 100vh;
  /*表示する高さ*/
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

@media screen and (max-width: 768px) {
  #g-nav.panelactive #g-nav-list {
    width: 100%;
  }
}

#g-nav ul {
  margin: 120px 20px;
}

#g-nav ul li {
  padding: 20px;
  font-size: 2.4rem;
}

#g-nav ul li a {
  color: #333;
}

#g-nav ul li:last-child {
  padding: 20px;
  font-size: 2rem;
  background: #39AC7F;
  border-radius: 5px;
  margin-top: 20px;
  margin-left: 20px;
}

#g-nav ul li:last-child a {
  color: #fff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-line-pack: center;
      align-content: center;
}

#g-nav ul li:last-child a i {
  padding-right: 10px;
}

/*========= ボタンのためのCSS ===============*/
.openbtn1 {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 18px;
  right: 10px;
  cursor: pointer;
  width: 50px;
  height: 50px;
}

@media screen and (max-width: 768px) {
  .openbtn1 {
    top: 15px;
    display: block;
  }
}

.openbtn1 span {
  display: inline-block;
  -webkit-transition: all .4s;
  transition: all .4s;
  position: absolute;
  left: 14px;
  height: 1px;
  border-radius: 2px;
  background-color: #666;
  width: 65%;
}

.openbtn1 span:nth-of-type(1) {
  top: 15px;
}

.openbtn1 span:nth-of-type(2) {
  top: 23px;
}

.openbtn1 span:nth-of-type(3) {
  top: 31px;
}

.openbtn1.active span:nth-of-type(1) {
  top: 18px;
  left: 18px;
  -webkit-transform: translateY(6px) rotate(-45deg);
          transform: translateY(6px) rotate(-45deg);
  width: 30%;
}

.openbtn1.active span:nth-of-type(2) {
  opacity: 0;
}

.openbtn1.active span:nth-of-type(3) {
  top: 30px;
  left: 18px;
  -webkit-transform: translateY(-6px) rotate(45deg);
          transform: translateY(-6px) rotate(45deg);
  width: 30%;
}

.sp { display:none;}

@media screen and (max-width: 768px) {
  .pc { display:none;}
  .sp { display:block;}
}