.wrapper{
  width:100%;
  margin:auto;
}

.whole{
  background-color:#ffffee;
}

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

.wrap{
  width:90%;
  margin:auto;
}

.header{
  margin:auto;
  width:80%;
  display:flex;
  align-items:flex-start;
}

.header a {
  transition:all 0.3s ease;
  display:inline-block;
  text-decoration:none;
  color:#333;
}

.header a:hover{
  transform: translateY(-4px);
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.2));
}

.logo{
  margin-right:20px;
}

.header-content{
  display: flex;
}

.address{
  text-align:center;
  font-size:15px;
  font-weight:bold;
  padding-top:15px;
}

.left-column,
.right-column{
  display:flex;
  flex-direction:column;
  padding:30px;
}

.header img{
  max-width:100%;
  height:auto;
}

/* PCナビ */
nav ul{
  display:flex;
  list-style:none;
  padding:0;
  margin:0;
  width:90%;
  margin:auto;
}

nav li{
  width:16.6%;
  text-align:center;
  font-size:16px;
  cursor:pointer;
  padding:0;
  border-right:1px #333 solid;
  position:relative;
}

nav li a{
  display:block;
  width:100%;
  height:100%;
  padding:5px 0;
  text-decoration:none;
  color:#333;
  transition:all 0.3s ease;
}

nav li a:hover{
  font-weight:bold;
  transform:translateY(-4px);
}

.home{
  border-left:1px #333 solid;
}

/* ========= タイトル ========= */

.title{
  color:#fff;
  font-size:50px;
  text-align:center;
  background-color:#16be7d;
  padding:30px;
  margin-top:30px;
}

/* ========= サイドボタン ========= */

.page-top, .page-top1{
  position:fixed;
  display:block;
  width:60px;
  height:80px;
  right:-80px;
  opacity:0;
  visibility:hidden;
  transition:0.2s;
  z-index:1000;
}

.page-top img,
.page-top1 img{
  width:100%;
  height:auto;
  display:block;
}

.page-top1{
  bottom:420px;
  z-index:1001;
}

.page-top{
  bottom:200px;
  z-index:1000;
}

.is-active{
  opacity:1;
  visibility:visible;
}

.page-top.is-active,
.page-top1.is-active{
  right:-2px;
}

.page-top:hover,
.page-top1:hover{
  transform:translateY(-5px);
  transition:transform 0.3s ease, box-shadow 0.3s ease;
}

.back-color{
  background-color:#ffffee;
}

/* ========= footer（PC） ========= */

.foot{
  background-color:#eee;
  padding-top:10px;
  padding-bottom:10px;
}

.bottom1{
  text-align:center;
  padding-top:10px;
  padding-bottom:20px;
}

.bottom1 a{
  transition:all 0.3s ease;
  display:inline-block;
}

.bottom1 a:hover{
  transform:translateY(-4px);
  filter:drop-shadow(0 4px 6px rgba(0, 0, 0, 0.2));
}

.last{
  display:flex;
  width:80%;
  margin:auto;
}

.left-items{
  display:flex;
  flex-direction:column;
  width:50%;
  text-align:center;
  gap:20px;
  padding-top:40px;
}

.right-items{
  display:flex;
  flex-direction:column;
  width:50%;
  text-align:center;
  gap:30px;
  padding-bottom:50px;
}

.bottom-address{
  font-size:25px;
}

.last a{
  transition:all 0.3s ease;
  display:inline-block;
  text-decoration:none;
  color:#333;
}

.last a:hover{
  transform:translateY(-4px);
  filter:drop-shadow(0 4px 6px rgba(0, 0, 0, 0.2));
}

.foot-nav{
  padding:20px 0;
  width:80%;
  margin:auto;
}

.foot-nav ul{
  display:flex;
  list-style:none;
  justify-content:center;
  padding:0;
  margin:0;
}

.foot-nav li a{
  text-decoration:none;
  color:#333;
  transition:all 0.3s ease;
}

.foot-nav li a:hover{
  font-weight:bold;
  transform:translateY(-4px);
}

.leg{
  text-align:center;
  font-weight:normal;
  padding-top:10px;
  padding-bottom:10px;
}

/* ========= ハンバーガー共通 ========= */

.icon-back{
  background-color:#ffffee;
}

.icon-row {
  display:flex;
  padding:50px 0;
  gap:10px;
  justify-content:center;
  align-items:center;
  margin:150px 200px;
  border:2px solid #000;
  border-radius:30px;

  opacity:0;
  transform:translateY(50px);
  transition: all 1.8s ease-out;
}

.icon-row.show {
  opacity:1;
  transform:translateY(0);
}

.icon-row img {
  width:150px;
  height:auto;
}

/* アイコンホバー */
.icon-row a img {
  transition: all 0.4s ease;
  filter: brightness(100%);
}

.icon-row a:hover img {
  filter: brightness(110%) saturate(110%);
  transform: scale(1.05);
}

/* ========= treatment 共通レイアウト（customerでは未使用） ========= */

.treatment-section {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
}

.treatment-block {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  margin: 100px 0;
  padding: 0 20px;
}

.treatment-block h2 {
  flex: 1;
  margin: 0;
}
.treatment-block h2 img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.treatment-text {
  flex: 1;
}
.treatment-text h3 {
  font-size: 30px;
  color: #333;
  margin-bottom: 20px;
  border-bottom: 2px solid #16be7d;
  display: inline-block;
  padding-bottom: 5px;
}
.treatment-text p {
  font-size: 16px;
  line-height: 1.9;
  color: #555;
}

.treatment-block:not(:last-child) {
  border-bottom: 1px dashed #ccc;
  padding-bottom: 80px;
}

.treatment-block:first-child {
  border-top: 1px dashed #ccc;
  padding-top: 40px;
}

/* ========= PC用モバイルメニュー非表示 ========= */

@media screen and (min-width: 769px) {
  .hamburger {
    display: none !important;
  }

  .mobile-menu {
    display: none !important;
  }
}

/* ========= スマホレイアウト（共通） ========= */

@media screen and (max-width: 768px) {

  html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
  }

  .wrapper, .whole, .wrap {
    width: 100%;
    margin: 0 auto;
  }

  /* 固定ヘッダー */
  .header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    background: #fff;
    padding: 0 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  }

  .logo img {
    height: 70px;
    width: auto;
  }

  nav, .header-content {
    display: none;
  }

  .whole {
    margin-top: 70px;
  }

  /* ハンバーガー */
  .hamburger {
    display: block;
    width: 40px;
    height: 28px;
    cursor: pointer;
  }
  .hamburger span {
    display: block;
    height: 3px;
    background: #16be7d;
    margin: 6px 0;
    border-radius: 2px;
    transition: 0.3s;
  }
  .hamburger.open span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  .hamburger.open span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.open span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  /* モバイルメニュー */
  .mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    max-height: calc(100vh - 70px);
    background: #fff;
    z-index: 2000;
    overflow-y: auto;
    padding: 10px 0 20px;

    transform: translateY(-20%);
    opacity: 0;
    transition: 0.6s ease-out;
  }

  .mobile-menu.show {
    display: block;
    transform: translateY(0);
    opacity: 1;
  }

  .mobile-menu .menu-links {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
  }
  .mobile-menu .menu-links li {
    border-top: 1px solid #b4d9c7;
    opacity: 0;
    transform: translateY(-12px);
    transition: 0.45s ease-out;
  }
  .mobile-menu .menu-links li:last-child {
    border-bottom: 1px solid #b4d9c7;
  }
  .mobile-menu.show .menu-links li {
    opacity: 1;
    transform: translateY(0);
  }

  .mobile-menu .menu-links a {
    display: block;
    padding: 14px 0;
    font-size: 16px;
    background: #e3f6ec;
    color: #0f6f45;
    text-align: center;
    font-weight: 600;
    text-decoration: none;
  }

  .mobile-menu .menu-footer {
    text-align: center;
    padding-bottom: 0;
  }

  .mobile-menu .menu-tel img {
    width: 180px;
    margin-top: 10px;
  }
  .mobile-menu .menu-address {
    font-size: 13px;
    margin-top: 10px;
    font-weight: bold;
    line-height: 1.6;
    padding: 0 20px;
  }
  .mobile-menu .menu-time img {
    width: 300px;
    margin: 15px auto 0;
  }

  /* タイトル */
  .title {
    font-size: 28px;
    text-align: center;
    margin-top: 70px;
    padding: 16px 10px;
    background-color: #16be7d;
    color: #fff;
  }

  /* アイコン（未使用だが共通） */
  .icon-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 10px 0 24px;
    margin: 100px 10px 40px;
    border: none;
    border-radius: 0;
  }

  .icon-row1,
  .icon-row2 {
    display: flex;
    justify-content: center;
    gap: 12px;
  }

  .icon-row a img {
    width: 90px;
    height: auto;
  }

  .icon-row a:hover img {
    transform: none;
    box-shadow: none;
  }

  /* treatment 用 */
  .treatment-section {
    padding: 40px 16px;
  }

  .treatment-block {
    flex-direction: column;
    gap: 24px;
    margin: 60px 0;
  }

  .treatment-block {
    display: grid;
    grid-template-areas:
      "title"
      "image"
      "text";
    gap: 16px;
    margin: 40px 0;
  }

  .treatment-block h2 {
    grid-area: image;
  }

  .treatment-text {
    display: contents;
  }

  .treatment-text h3 {
    grid-area: title;
    text-align: center;
    margin-bottom: 4px;
    font-size: 22px;
  }

  .treatment-text p {
    grid-area: text;
    font-size: 14px;
  }

  /* footer スマホ */
  .foot {
    padding: 10px;
    text-align: center;
  }
  .bottom1 img {
    height: 100px;
    width: auto;
  }
  .last {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .left-items, .right-items {
    width: 100%;
    gap: 10px;
  }
  .telephon img,
  .business-hour img,
  .reservation img {
    width: 280px;
    margin-top: 10px;
  }

  .bottom-address a {
    font-size: 13px;
    color: #333;
  }

  .foot-nav { display: none; }
  footer .leg {
    margin-top: 24px;
    font-size: 11px;
  }

}

/* ========= customer 専用（PC基本） ========= */

.customer-back{  
  background-image: url(../image/green.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover; 
}

.customer {
  display: flex;
  flex-direction: column;
  gap: 60px;
  max-width: 70%;
  margin: 0 auto;
  padding:200px 20px 100px 20px;
}

.customer1,
.customer2 {
  display: flex;
  align-items: center;
  gap: 40px;

  opacity: 0;
  transform: translateY(50px);
  transition: all 2s ease-out;
}

.customer1.show,
.customer2.show {
  opacity: 1;
  transform: translateY(0);
}

/* 1つ目：画像左・テキスト右 */
.customer1 {
  flex-direction: row;
}

/* 2つ目：画像右・テキスト左 */
.customer2 {
  flex-direction: row-reverse;
  padding:200px 0;
}

/* 画像調整 */
.customer1 img,
.customer2 img {
  width: 450px;
  height: auto;
  border-radius: 10px;
}

/* テキスト部分 */
.customer-text1,
.customer-text2 {
  flex: 1;
  font-size: 16px;
  line-height: 1.8;
}

.customer-text1 h3,
.customer-text2 h3 {
  font-size: 30px;
  color: #333;
  margin-bottom: 20px;
  font-weight: bold;
}

.customer-text1 p,
.customer-text2 p {
  color: #555;
  font-size: 18px;
}

/* Google クチコミタイトル */
.google-review-title{
  text-align:center;
  font-size:35px;
  font-weight:bold;
  margin-top:150px;
}

#gm-reviews-section{
  padding:100px 0 200px 0;
}

/* ========= customer モバイル ========= */

@media screen and (max-width: 768px) {

  .customer-back {
    background-position: center top;
  }

  .customer {
    max-width: 100%;
    padding: 80px 16px 80px;
    gap: 150px;          /* customer1 と customer2 の間隔 */
  }

  .customer1,
  .customer2 {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 0;
    text-align: left;
  }

  .customer1 img,
  .customer2 img {
    width: 100%;
    max-width: 340px;
    height: auto;
    border-radius: 10px;
  }

  .customer-text1,
  .customer-text2 {
    font-size: 14px;
    line-height: 1.8;
  }

  .customer-text1 h3,
  .customer-text2 h3 {
    font-size: 19px;
    margin-bottom: 12px;
    text-align: center;
    padding-top: 20px;
  }

  .customer-text1 p,
  .customer-text2 p {
    font-size: 14px;
    max-width: 80%;
    margin: 0 auto;
    padding-top: 20px;
  }

  .google-review-title{
    font-size: 22px;
    margin: 40px 16px 16px;
  }

  #gm-reviews-section{
    padding: 40px 0 80px 0;
  }
}

/* ===== スマホ用：サイドボタンの位置を下げる ===== */
@media screen and (max-width: 768px) {

  .page-top1 {
    bottom: 250px;   /* ← 予約ボタン（下げる） */
  }

  .page-top {
    bottom: 30px;    /* ← TOPへ（下げる） */
  }

}
