:root {
  --main-color: #036eb8;
  --sub-color: #c0dff4;
  --btn-color: #e40112;
}
.wrap {
  max-width: 768px;
  margin: 0 auto;
  background-color: #fff;
  position: relative;
}

/*cta*/
.cta-box {
  padding: 64px;
  text-align: center;
  position: relative;
  display: flex;
  gap: 100px;
}
.cta-box2 {
    padding: 8%;
    margin-top: 2em;
    position: relative;
}
.cta-bg{
  background: url(../../images/estheticslp/cta-bg.jpg)no-repeat;
  background-size: 100%;
}
.cta img {
  transform: scale(1);
  transition: transform 0.5s ease; /* フェードインとスムーズな拡大・縮小 */
}
.cta-l {
    width: 36%;
}
.cta-r {
}
.cta-r .cta-tel {
    position: absolute;
    top: 85px;
    right: 40px;
}
.cta-r .cta-tel img {
    max-width: 356px;
}
.cta-r .cta-btn {
    position: absolute;
    bottom: 50px;
    right: 40px;
}
.cta-r .cta-btn img {
    max-width: 356px;
}
.cta-r .cta-tel:hover ,
.cta-r .cta-btn:hover{
  opacity: 0.7;
  transition: 0.5s;
}
.cta-box2 .cta-r .cta-tel img ,
.cta-box2 .cta-r .cta-btn img {
  max-width: 280px;
}
.cta-box2 .cta-r .cta-tel {
    top: 70px;
}
.cta-box2 .cta-r .cta-btn {
    bottom: 40px;
}

/* 
header */
#header {
  padding: 1vw;
}
#header .logo {
  max-width: 300px;
}
/* 
gnav */
.gnav {
  position: fixed;
  top: 0;
  right: -100%; /* 初期状態では画面の外に隠れている */
  width: 300px;
  height: 100%;
  /* background: rgba(255, 255, 255, 0.4); */
  /* color: #333; */
  background: var(--main-color);
  color: #fff;
  transition: right 0.3s ease; /* スライドインのアニメーション */
  padding: 20px;
  box-sizing: border-box;
  z-index: 10;
}

/* メニューが開いているとき */
.gnav.open {
  right: 0;
}

/* ボタンのスタイル */
.hamburger {
  position: absolute;
  top: 50%; /* 親要素の高さの50% */
  right: 1vw;
  width: 30px;
  cursor: pointer;
  z-index: 20;
  transform: translateY(-50%); /* 自身の高さの50%分 上にずらす（中央揃え） */
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--main-color);
  margin: 5px 0;
  transition: 0.4s;
}

/* バツ印に変化するスタイル */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* メニューリストのスタイル */
.gnav ul {
  list-style-type: none;
  padding: 0;
  margin-top: 40px;
}

.gnav li {
  padding: 20px 0;
  border-bottom: 1px solid #fff;
}

.gnav li a {
  color: #fff;
  text-decoration: none;
  display: block;
}

@media screen and (max-width: 768px) {
  #header {
    padding: 3vw;
    position: fixed;
    top: 0;
    z-index: 9999;
    width: 100%;
    background: #fff; /* 任意：透けないように */
  }
  #header .logo {
    max-width: 60%;
  }
  .hamburger {
    right: 3vw;
  }
  main {
    margin-top: 60px;
  }
  .gnav {
    position: fixed;
    top: -100%; /* 初期状態では画面の外に隠れている */
    width: 100%;
    height: auto;
    /* background: rgba(255, 255, 255, 0.4); */
    /* color: #333; */
    background: var(--main-color);
    color: #fff;
    transition: top 0.3s ease; /* スライドインのアニメーション */
    padding: 20px;
    box-sizing: border-box;
    z-index: 10;
  }

  /* メニューが開いているとき */
  .gnav.open {
    top: 0;
  }
}


/* 
sec08 */
.sec08{
  background: #e5f9fb;
  padding: 60px 0;
}
.sec08-box{
  margin: 0 auto;
  max-width: 90%;
  background: #fff;
  padding: 2em;
  border-radius: 1em;
  box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.2);
}

.sec08-box h2{
  font-size: 40px;
  padding: 0.5em;
  line-height: 1;
  color: #fff;
  text-align: center;
  font-weight: normal;
  background: linear-gradient(to right, #05a5e0, #22c3c1);
}
.sec08-box table {
    width: 100%;
    text-align: center;
    border-collapse: collapse;
    margin-top: 2em;
}
.sec08-box table th, .sec08-box table td {
    border: 1px solid #ccc;
    font-size: 20px;
    padding: 0.5em;
}
.sec08-box table th:nth-child(4), .sec08-box table td:nth-child(4) ,
.sec08-box table th:nth-child(8), .sec08-box table td:nth-child(8){
    background: #efefef;
}
.sec08-box1 p{
  margin-top: 1em;
  font-size: 20px;
}
.sec08-box2{
  margin-top: 40px;
}
.sec08-box.sec08-box2 table td{
  text-align: left;
  padding: 0.5em 2em;
}
.map{
  margin-top: 40px;
}
.map iframe {
  width: 100%;
  height: 40vh;
  margin: 0 auto;
}


/* 
footer */
footer {
  max-width: 768px;
  margin: 0 auto;
  text-align: center;
}
footer small {
  display: block;
  padding: 1em;
  background: var(--main-color);
  color: #fff;
}
.fixed_bnr {
  display: none;
}

@media screen and (max-width: 768px) {
.wrap {
  max-width: 100%;
}
/* sec08 */
.sec08-box h2{
  font-size: 5vw;
}
.sec08-box table{
  margin-top: 1em;
}
.sec08-box {
    padding: 1em;
}
.sec08-box table th, .sec08-box table td{
  font-size: 1em;
}
.sec08-box table th, .sec08-box table td {
        font-size: 2.5vw;
}
.sec08-box1 p {
    margin-top: 1em;
    font-size: 2.5vw;
}
.cta-box{
  padding: 9vw;
}
.cta-box2 {
    padding: 7vw;
}
.cta img {
    width: 100%;
}
.cta-box2 .cta-r .cta-tel img, 
.cta-box2 .cta-r .cta-btn img{
  max-width: 36vw;
}
.cta-r .cta-tel {
    top: 12vw;
    right: 9vw;
}
.cta-r .cta-btn {
    bottom: 8vw;
    right: 9vw;
}
.cta-box2 .cta-r .cta-tel {
    top: 9vw;
    right: 6vw;
}
.cta-box2 .cta-r .cta-btn {
    bottom: 6vw;
    right: 6vw;
}
.cta-r .cta-tel img ,
.cta-r .cta-btn img {
    max-width: 40vw;
}
  .map iframe {
    height: 30vh;
  }
  .iin_reason03_2 a {
    font-size: 4vw;
  }

  footer {
    padding-bottom: 24vw;
  }
  .fixed_bnr {
    position: relative;
    display: block;
  }

  .fixed_bnr_area {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    text-align: center;
    padding: 4vw;
    z-index: 1000;
  }
  .fixed_bnr img {
    height: auto;
    position: relative;
  }
.foot-cta-copy {
    text-align: center;
    margin-bottom: 10px;
}
.foot-cta-btn {
    display: flex;
    gap: 10px;
}
  .fixed_bnr_arrow {
    position: absolute;
    left: 0;
    bottom: 4vw;
  }

  .fixed_bnr_arrow img {
    height: 10vw;
    width: auto;
    animation: shake 1s infinite alternate ease-in-out;
  }

  @keyframes shake {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(10px);
    }
  }
}
