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

.whole{
  background-color:#ffffee;
}

/*ここからヘッダー*/
.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;
}

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;
}

/*ここから施術案内アイコン（toki と同じ見た目） */
.icon-back{
  background-color:#ffffee;
}


/* PC用 icon-row（枠・角丸・アニメーション含む） */
.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;
}

/* ====== 施術紹介レイアウト ====== */

.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;
}


/* 1つ目（肩甲骨はがし）の上にも点線を入れる */
.treatment-block:first-child {
  border-top: 1px dashed #ccc;
  padding-top: 40px;
}

/*ここまで施術紹介*/

/*ここからfooter*/

.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;
}

/*ここまでfooter*/

/* ===== アイコンホバー効果 ===== */

/* 通常状態 */
.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);
}

/* スマホでも自然な動き */
@media (max-width: 768px) {
  .icon-row a:hover img {
    transform: none;
    box-shadow: none;
  }
}

/* ----------------------------------------------------
     モバイルレイアウト（768px 以下）
   ---------------------------------------------------- */
@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);
  }

  .whole { margin-top: 70px; }

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

  /* PC メニューは非表示 */
  nav, .header-content {
    display: none;
  }

  /* ===== ハンバーガーメニュー ===== */
  .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;
  }

  /* ===== 施術紹介レイアウト（スマホ） ===== */
  .treatment-section {
    padding: 40px 16px;
  }

  .treatment-block {
    flex-direction: column;
    gap: 24px;
    margin: 60px 0;
  }
 /* .treatment-block をグリッドレイアウトにする */
  .treatment-block {
    display: grid;
    grid-template-areas:
      "title"
      "image"
      "text";
    gap: 16px;
    margin: 40px 0;
  }

  /* 画像(h2) は真ん中の「image」エリア */
  .treatment-block h2 {
    grid-area: image;
  }

  /* .treatment-text の箱自体は「中身だけ」をグリッドに参加させる */
  .treatment-text {
    display: contents;
  }

  /* h3 をいちばん上の「title」エリアに */
  .treatment-text h3 {
    grid-area: title;
    text-align: center;
    margin-bottom: 4px;
  }

  /* 本文 p は一番下の「text」エリアに */
  .treatment-text p {
    grid-area: text;
  }

  /* 文字サイズは好みに応じて調整 */
  .treatment-text h3 {
    font-size: 22px;
  }

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

  .treatment-text h3 {
    font-size: 22px;
  }

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

   .name{
font-weight:bold;
 }


  /* ===== フッター ===== */
  .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;
  }

}

/* PC（モバイル以外）ではモバイルメニュー非表示 */
@media screen and (min-width: 769px) {
  .hamburger {
    display: none !important;
  }

  .mobile-menu {
    display: none !important;
  }
}
/* ===== スマホ用：サイドボタンの位置を下げる ===== */
@media screen and (max-width: 768px) {

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

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

  }
