@charset "UTF-8";

/* ===================================================================================
基本設定
=================================================================================== */

* {
  box-sizing: border-box;
}

body {
  font-family: "Arial", "Yu Gothic", "Meiryo", sans-serif;
  color: #000;
  background-color: #fff;
}

h1,
h2,
h3,
h4,
h5,
p {
  margin: 0;
}

img {
  vertical-align: middle;
  width: 100%;
}
ul {
  margin: 0;
  padding: 0;
}
li {
  list-style: none;
}

a {
  cursor: pointer;
  pointer-events: all;
  transition: 0.3s;
  text-decoration: none;
}
a:hover {
  opacity: 0.7;
  transition: 0.3s;
}

.pc-only {
  display: none;
}

.sp-only {
  display: block;
}

/* ===================================================================================
コンテンツ全体
=================================================================================== */
.wrapper_main {
  box-shadow: 0px 2px 10px -7px rgba(0, 0, 0, 0.5);
  position: relative;
  width: 100%;
  max-width: 450px;
  margin: 0 auto;
  /* overflow: hidden; */
}

/* ===================================================================================
コンテンツごとの設定
=================================================================================== */

/* ヘッダー====================================================================== */

#header {
  background: #fff;
  padding: 5px;
  width: 100%;
  height: 50px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  left: 0;
  z-index: 1000;
}

.header_logo img {
  width: 100%;
}

#header .logo:first-child {
  margin-right: 5px;
  max-width: 130px;
}

.header_inner {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header_logo {
  display: flex;
  align-items: center;
}
.header_txt {
  font-size: 10px;
  line-height: 1.5;
  margin-top: 5px;
}

/* ヘッダー固定のスクロール調整 */

#reason,#diet,#course,#achievements,#strong,#flow,#comparison,#price,#voice,#salon,#faq{
  padding-top: 50px;
  margin-top:-50px;
}

/* ハンバーガーメニュー====================================================================== */

ul {
  margin: 0;
  padding: 0;
}

#g-nav {
  position: fixed;
  z-index: 999;
  top: 0;
  right: -120%;
  width: 100%;
  height: 100vh;
  background: #ffe5e7;
  transition: all 0.6s;
  padding: 50px 20px;
  text-align: center;
  overflow-y: scroll;
}

#g-nav-list {
  margin-bottom: 40px;
}

/*アクティブクラスがついたら位置を0に*/
#g-nav.g-panelactive {
  right: 0;
}

/* ハンバーガーメニュー展開時、ページスクロール禁止 */
body.g-panelactive {
  height: 100%;
  overflow: hidden;
}

body.panelactive {
  height: 100%;
  overflow: hidden;
}

.g-nav-cover.g-panelactive {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
  /* background: rgba(3, 3, 3, .5); */
  display: block;
}

/*リストのレイアウト設定*/

#g-nav-list ul li a {
  font-size: 18px;
  text-decoration: none;
  color: #e9576a;
  font-weight: bold;
  display: block;
  padding: 20px;
}
#g-nav-list ul li {
  border-bottom: 1px solid #e9576a;
  position: relative;
  text-align: left;
}
#g-nav-list ul li::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  border: 10px solid transparent;
  border-left: 8px solid #e9576a;
  pointer-events: none;
}

#g-nav li a:hover {
  opacity: 0.8;
}

#g-nav p {
  text-align: center;
  margin-bottom: 20px;
}

#g-nav p span {
  font-size: 11px;
  color: #000;
  border-bottom: 1px solid #000;
}

.g-nav-link ul li {
  margin-bottom: 10px;
}

.g-nav-link ul li a{
  color: #333;
  font-size: 14px;

}
.g-nav-link ul li a i{
  margin-left: 5px;
}

.g-nav-btn {
  width: 26%;
  margin: 0 auto;
}

.g-nav-btn:hover {
  opacity: 0.7;
  cursor: pointer;
}


/* メニューボタンの設定====================================================================== */
.openbtn1 {
  position: absolute;
  z-index: 9999;
  top: 0;
  right: 0;
  cursor: pointer;
  width: 50px;
  height: 50px;
  /* background-color: #ccc; */
}
.openbtn1 span {
  display: inline-block;
  transition: all 0.4s;
  position: absolute;
  left: 12px;
  height: 2px;
  background-color: #e9576a;
  width: 55%;
}
.openbtn1 span:nth-of-type(1) {
  top: 20px;
}
.openbtn1 span:nth-of-type(2) {
  top: 30px;
}

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


/* fv====================================================================== */
.fv {
  /* margin-top: 50px; */
}


/* banner_plan====================================================================== */

.banner_plan {
  margin: 15px;
}

/* authority====================================================================== */

.authority{
  margin: 50px 0 30px;
}

/* recommend====================================================================== */

.recommend {
  margin: 40px 0 50px;
}

/* fat====================================================================== */

.fat {
  margin: 30px 0 50px;
}

/* price====================================================================== */

.price {
  margin: 0 0 30px;
}

/* security====================================================================== */

.security {
  margin: 40px 0;
}

/* faq ====================================================================== */

.faq{
  background-color: #ffe5e7;
  padding: 30px 0;
}

.faq_cont{
  padding: 0 15px;
}

.faq h2{
  margin-bottom: 20px;
}

/* salon ====================================================================== */

.salon{
  padding: 30px 0 0;
}

.salon p{
  font-size: 16px;
  font-weight: bold;
  text-align: center;
}

.salon_cont{
  padding: 0 15px;
}

.salon_wrap{
  padding: 30px 0 0;
}

.salon h2{
  margin-bottom: 10px;
}

.salon_wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.salon_box {
  width: calc(50% - 5px);
}

.salon_txt {
  margin: 10px 0 20px;
  height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

p.salon_name {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 5px;
}

p.salon_adress {
  font-size: 13px;
  line-height: 1.2;
  font-weight: bold;
}




/* フッター====================================================================== */

footer {
  background-color: #e9576a;
  padding: 20px 0 80px;
  color: #fff;
  text-align: center;
  font-size: 13px;
  margin-top: 20px;
}

/* アコーディオンボタン====================================================================== */

.s_01 .accordion_one {
  max-width: 1200px;
  margin: 0 auto 15px;
}
.s_01 .accordion_one .accordion_header {
  background-color: #fff;
  border-top:1px solid #eeeeee ;
  border-bottom:1px solid #eeeeee ;
  color: #333;
  font-size: 18px;
  padding: 20px 20px;
  text-align: left;
  position: relative;
  /* z-index: +1; */
  cursor: pointer;
  transition-duration: 0.2s;
  display: flex;
  align-items: center;
}

.s_01 .accordion_one .accordion_header:hover {
  opacity: .8;
}
.s_01 .accordion_one .accordion_header .i_box {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 50%;
  right: 10px;
  width: 40px;
  height: 40px;
  /* border: 1px solid #fff; */
  margin-top: -20px;
  box-sizing: border-box;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  transform-origin: center center;
  transition-duration: 0.5s;
}
.s_01 .accordion_one .accordion_header .i_box .one_i {
  display: block;
  width: 30px;
  height: 30px;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  transform-origin: center center;
  transition-duration: 0.5s;
  position: relative;
}
.s_01 .accordion_one .accordion_header.open .i_box {
  -webkit-transform: rotate(-180deg);
  transform: rotate(-180deg);
}
.s_01 .accordion_one .accordion_header .i_box .one_i:before, .s_01 .accordion_one .accordion_header .i_box .one_i:after {
  display: flex;
  content: '';
  background-color: #e9576a;
  border-radius: 10px;
  width: 27px;
  height: 2px;
  position: absolute;
  top: 12px;
  left: 0;
  -webkit-transform: rotate(0deg);
  transform: rotate(0deg);
  transform-origin: center center;
}
.s_01 .accordion_one .accordion_header .i_box .one_i:before {
  width: 2px;
  height: 26px;
  top: 0;
  left: 12px;
}
.s_01 .accordion_one .accordion_header.open .i_box .one_i:before {
  content: none;
}
.s_01 .accordion_one .accordion_header.open .i_box .one_i:after {
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
.s_01 .accordion_one .accordion_inner {
  display: none;
  padding: 10px;
  box-sizing: border-box;
  background-color: #fffecb;
  text-align: left;
  font-size: 14px;
  font-weight: bold;
  line-height: 1.5;
  margin-top: 5px;
  border-radius: 10px;
  border: 2px solid #fffecb;
}

.s_01 .accordion_one .accordion_inner p.txt_a_ac {
  margin: 0;
  display: flex;
  align-items: flex-start;
}

.s_01 .accordion_one .accordion_header {
  font-size: 16px;
  text-align: left;
  padding: 10px 50px 10px 10px;
  border-radius: 10px;
  border: 2px solid #e9576a;
}

span.q_icon {
  width: 30px;
  height: 30px;
  background-color: #e9576a;
  display: inline-block;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 15px;
  font-weight: bold;
  margin-right: 10px;
}

span.a_icon {
  width: 30px;
  height: 30px;
  /* background-color: #fff; */
  border: 2px solid #e9576a;
  display: inline-block;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #e9576a;
  font-size: 15px;
  font-weight: bold;
  margin-right: 10px;
  margin-top: 10px;
}

.s_01 .accordion_one .accordion_header {
  font-size: 15px;
  font-weight: bold;
  line-height: 1.5;
}
.s_01 .accordion_one .accordion_header .i_box {
  width: 30px;
  height: 30px;
  margin-top: -14px;
}

/* フローティング====================================================================== */

.floating_btn {
  position: fixed;
  right: 50%;
  bottom: 0;
  transform: translateX(50%);
  width: 100%;
  display: none;
  cursor: pointer;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.8);
  max-width: 450px;
}

.btnscale {
  width: 100%;
  max-width: 450px;
  animation: scale 0.8s ease 0s infinite alternate;
  transform-origin:center;
}

@keyframes scale {
  from {
    transform: scale(0.9,0.9);
  }
  to {
    transform: scale(1,1);
  }
}

/* ===================================================================================
btnの設定
=================================================================================== */

.cta_btn {
  cursor: pointer;
}

.btnshine {
  /*キラッと光る基点とするためrelativeを指定*/
  position: relative;
  /*ボタンの形状*/
  display: inline-block;
  overflow: hidden;
}

.btnshine::before {
  content: "";
  /*絶対配置でキラッと光るの位置を決める*/
  position: absolute;
  top: 0;
  left: -75%;
  /*キラッと光る形状*/
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.5) 100%);
  transform: skewX(-25deg);
  animation-name: shine;
  animation-duration: 3s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

@keyframes shine {
  0% {
    left: -20%;
  }
  10% {
    left: 120%;
  }
  100% {
    left: 120%;
  }
}

/* ===================================================================================
1200以上の設定
=================================================================================== */

@media screen and (min-width: 1200px) {
  .pc-only {
    display: block;
  }
  .sp-only {
    display: none;
  }
  #header {
    height: 80px;
    padding: 10px;
  }
  footer {
    padding: 30px 0 150px;
  }
  #header .logo:first-child {
    margin-right: 10px;
    max-width: 170px;
  }
  .header_txt {
    /* font-size: 13px; */
    margin-top: 10px;
  }
  .openbtn1{
    width: 80px;
    height: 80px;
  }
  .openbtn1 span:nth-of-type(1) {
    top: 30px;
  }
  .openbtn1 span:nth-of-type(2) {
    top: 50px;
  }
  .openbtn1 span{
    left: 19px;
  }
  .openbtn1.active span:nth-of-type(1) {
    top: 30px;
    left: 19px;
    transform: translateY(6px) rotate(-45deg);
    width: 50%;
}
.openbtn1.active span:nth-of-type(2) {
  top: 42px;
  left: 19px;
  transform: translateY(-6px) rotate(45deg);
  width: 50%;
}
  #g-nav {
    position: fixed;
    z-index: 999;
    top: 0;
    right: -120%;
    width: 30%;
    height: 100vh;
    background: #ffe5e7;
    transition: all 0.6s;
    padding: 30px;
    text-align: center;
    overflow-y: scroll;
  }
  #g-nav-list ul li a {
    font-size: 18px;
    text-decoration: none;
    color: #e9576a;
    font-weight: bold;
    display: block;
    padding: 20px 40px 20px 40px;
  }
  /* ヘッダー固定のスクロール調整 */

#reason,#diet,#course,#achievements,#strong,#flow,#comparison,#price,#voice,#salon,#faq{
  padding-top: 80px;
  margin-top:-80px;
}
.s_01 .accordion_one .accordion_header {
  font-size: 18px;
  font-weight: bold;
  line-height: 1.5;
}
.s_01 .accordion_one .accordion_inner{
  font-size: 16px;
  font-weight: bold;
  line-height: 1.5;
}
.salon_txt {
  margin: 10px 0 20px;
}

.salon p{
  font-size: 18px;
}

p.salon_name {
  font-size: 17px;
  font-weight: bold;
  margin-bottom: 7px;
}

p.salon_adress {
  font-size: 14px;
  line-height: 1.2;
  font-weight: bold;
}

}
