/*
Theme Name: Lush Lush
Theme URI: https://www.http://lushlush.local
Description: まつ毛エクステのホームページ
Version: 1.0.0
Author: DAIGO FUJISAWA
Author URI: https://xs797153.xsrv.jp/portfolio/
*/

.top {
  width: 100%;
  margin: 0 auto;
  max-width: 1320px;
  display: flex;
  position: relative;
  flex-wrap: wrap;
}

#nav-sp {
  display: none;
}

/* left content */
.leftContent {
  width: calc(50% - 195px);
  height: 100vh;
  position: fixed;
  /* スクロールに追従 */
  top: 0;
  /* ビューポートの上端から0pxの位置に固定 */
  left: 0;
  height: 100vh;
  /* ビューポート全体の高さ */
  background-color: white;
  /* 背景色を設定（必要に応じて） */
  z-index: 10;
  /* 前面に出す */
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
  /* 少し影をつける（任意） */
}

.content-wrapper {
  position: absolute;
  top: 50%;
  /* 垂直方向中央位置 */
  left: 50%;
  /* 水平方向中央位置 */
  transform: translate(-50%, -50%);
  /* 完全に中央に配置 */
}

.logo,
.header-link,
.instagram,
.line {
  display: block;
  /* 必要に応じてブロック要素として配置 */
  margin-top: 10px;
  /* 必要に応じてスペースを追加 */
}

.logo img {
  width: 250px;
  height: 100px;
}
.logo{
  padding: 20px;
  text-align: center;
}

nav a {
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  /* 縦並びにする */
  color: #B88888;
}

.instagram img {
  width: 52px;
  height: 57px;
}

.line img {
  width: 52px;
  height: 57px;
}

/* main content */
h2 {
  padding-top: 20px;
  padding-bottom: 20px;
  margin: 0;
  text-align: center;
  font-size: 24px;
  font-family: Petit Formal Script;
}

.mainContent {
  max-width: 390px;
  background-color: #E9C4D4;
  margin: 0 auto;

}

.firstviewImg {
  margin: 20px;
  position: relative;
  width: 350px;
  height: 340px;
  background-image: url('img/img2.png');
  background-size: cover;
  background-position: center;
  font-family: 'Petit Formal Script';
}

.firstviewImg p {
  position: absolute;
  top: 40px;
  left: -10px;
  margin: 0;
  font-size: 18px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  max-width: 340px;
}

.firstviewImgimg {
  width: 390px;
  height: auto;
  background-size: contain;
  /* アスペクト比を維持して画像を表示 */
}

.annai {
  text-align: center;
  padding: 20px;
  line-height: 1.6;
  max-width: 340px;
}

.reserve-btn {
  display: flex;
  justify-content: center;
  padding: 10px 20px;
  font-size: 24px;
  color: white;
  background-color: #A80202;
  /* ボタンの色 */
  text-decoration: none;
  border-radius: 50px;
  margin: 40px 20px;

}

.reserve-btn:hover {
  background-color: #a46666;
  /* ホバー時の色 */
}

.secondsection {
  padding: 20px;
  text-align: center;
  background-color: #EFE7EA;
}

.secondsection p {
  max-width: 340px;
  font-size: 15px;
  line-height: 1.6;
  color: #666;
}

.secondcontents p {
  line-height: 1.6;
}

.tennai {
  width: 200px;
  height: 148px;
}

.treatment img {
  width: 390px;
  height: auto;

}

.treatment {
  font-size: 24px;
  text-align: center;
  background-color: #ffffff;
}

.style {
  padding: 20px;
  font-weight: bold;
}

.thirdsection p {
  font-size: 15px;
  padding: 20px;
  max-width: 150px;
}

.thirdsection img {
  width: 187px;
  height: auto;
  padding: 20px;
}

.box1 {
  display: flex;
  flex-direction: row;
}

.forthsection {
  text-align: center;
  padding: 20px;
  background-color: #f9f9f9;
  /* 背景色を追加 */
}

.forthsection h2 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #333;
}

.staff {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 40px;
  /* 各スタッフ間の余白 */
}

.staff img {
  width: 150px;
  /* 画像の幅を統一 */
  height: auto;
  /* アスペクト比を維持 */
  border-radius: 50%;
  /* 丸い画像にする場合 */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  /* 画像に影を追加 */
  margin-bottom: 10px;
}

.staff .name {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
}

.staff .description {
  font-size: 15px;
  line-height: 1.6;
  color: #666;
  text-align: center;
  padding: 0 20px;
  /* 横の余白を追加 */
}

.fifthsection {
  background-color: #FFFFFF;
}

.fifthsection p {
  background-color: #FFFFFF;
  margin: 0;
}

.sixsection {
  background-color: #f9f9f9;
  padding: 20px;
}

.sixsection p {
  font-size: 15px;
}

.sevensection p {
  padding: 20px;
  font-size: 15px;
}

.sevensection img {
  width: 390px;
  height: auto;
}

/* right content */
.rightContent {
  width: calc(50% - 195px);
  height: 100vh;
  position: fixed;
  /* スクロールに追従 */
  top: 0;
  /* ビューポートの上端から0pxの位置に固定 */
  right: 0;
  height: 100vh;
  /* ビューポート全体の高さ */
  background-color: white;
  /* 背景色を設定（必要に応じて） */
  z-index: 10;
  /* 前面に出す */
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
  /* 少し影をつける（任意） */
}

.reserve-btn2 {
  display: inline-block;
  padding: 20px 20px;
  font-size: 32px;
  color: white;
  background-color: #A80202;
  /* ボタンの色 */
  text-decoration: none;
  position: absolute;
  /* 親要素を基準に配置 */
  top: 386px;
  /* Y軸の位置 */
  right: 104px;
  /* X軸の位置 */
}

/*====================
 スマートフォン用のスタイル
=====================*/
@media screen and (max-width: 767px) {


  #nav-sp {
    display: none; /* 初期状態では非表示 */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1001;
    text-align: center;
  }
  
  #nav-sp a {
    display: block;
    color: white;
    font-size: 20px;
    padding: 15px;
  }

  /* ×ボタン */
  #close {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1001;
  }

  /* ナビゲーションメニュー用ロゴ */
  #logo-sp {
    margin: 80px 0 30px 20px;
  }

  .leftContent {
    display: none;

  }

  .rightContent {
    display: none;
  }

/* ハンバーガーメニューのボタン */
#menu-toggle {
  display: block; /* PCでは非表示 */
  position: fixed;
  top: 20px;  /* 上から20px */
  right: 20px; /* 右から20px */
  width: 50px;
  height: 50px;
  z-index: 1000; /* 最前面に表示 */
  cursor: pointer;
}

#menu-toggle img {
  width: 100%;
  height: auto;
}


  #nav-pc {
    display: none; /* PC用ナビを非表示 */
  }
  #logo-sp img{
    width: 50%;
  }
}
