@charset "utf-8";

/* ----------------------------------------------------
  ヘッダー
---------------------------------------------------- */
header {
  overflow-x: hidden !important;
}

.header-wrapper {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 65px; /* ヘッダーの高さ */
  overflow: visible; /* ロゴはみ出し用 */
  padding: 0;
}

@media print, screen and (min-width: 768px) {
.header-wrapper {
    height: 80px; /* ヘッダーの高さ */
  }
}
@media print, screen and (min-width: 992px) {
.header-wrapper {
	background: rgba(255,255,255,0.8);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px); 
  }
}

/* ----------------------------------------------------
  ロゴ（はみ出す場合）
---------------------------------------------------- */
.logo-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 90px;
  height: 90px;
  -webkit-transition-duration: 300ms;
  transition-duration: 300ms;  
}
.logo-layer img {
  width: 100%;
  height: 100%;
}
@media print, screen and (min-width: 768px) {
  .logo-layer {
    top: 0;
    left: 0;
    width: 150px;
    height: 150px;
  }
}
@media print, screen and (min-width: 1200px) {
  .logo-layer {
    top: 0;
    left: 0;
    width: 210px;
    height: 210px;
  }
}

/* ----------------------------------------------------
  ヘッダー割合（ロゴ以外）
---------------------------------------------------- */
.header-container {
  height: 100%;
}
.header-container {
  display: -ms-grid;
  display: grid;
  -webkit-box-align: center;
  align-items: center;
  -ms-flex-align: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  grid-template-columns: 4fr 0fr;
}
@media print, screen and (min-width: 992px) {
.header-container {
  grid-template-columns: 4fr 2fr;
  }
}
@media print, screen and (min-width: 1600px) {
.header-container {
  grid-template-columns: 4fr 1.5fr;
  }
}

/* ----------------------------------------------------
  PC専用　右側エリア
---------------------------------------------------- */
.pc_contact {
  margin-top: 15px;
  margin-right: 20px;
  
  display: flex;
  justify-content: flex-end; /* 右寄せ配置 */
  align-items: center;
  gap: 1em;
}

/* ヘッダー　ボタン
------------------------- */
.header_btn {
  display: inline-block;
  background-color: #412214; /* ボタン背景色 */
  color: #fff !important; /* ボタン文字色 */
  padding: 10px 15px 10px 15px;
  border-radius: 9999px;
  text-decoration: none;
  font-size: clamp(13px, 0.9vw, 15px);
  transition: 0.3s;
}
@media print, screen and (min-width: 1200px) {
.header_btn {
  padding:7px 30px 8px 30px;
  }
}
.header_btn:hover {
  background-color: #937764; /* ホバー時　ボタン背景色 */
}

/* ヘッダー　電話
------------------------- */
.header_tel {
  font-size: clamp(14px, 2vw, 30px);
}
.header_tel i{
  color: #d2b07f; /* 電話マークの色 */
  font-size: clamp(12px, 1.5vw, 20px);
  position: relative;
  top: -3px;
  margin-right: 5px;
}

/* スマホでは非表示にする
------------------------- */
@media print, screen and (max-width: 991px) {
/* 992px未満のときに適用するCSS */
  .pc_contact {
    display: none;
  }
}

/* ----------------------------------------------------
  スマホ タブレット専用　下部エリア
---------------------------------------------------- */
@media print, screen and (min-width: 768px) {
.sp_contact {
  display: none; /* 初期は非表示（PCでは不要） */
  }
}

@media print, screen and (max-width: 991px) {
/* 992px未満のときに適用するCSS */
  .sp_contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2em;
    margin-top: 2em;
  }
  
/* ヘッダー　ボタン
------------------------- */
  .nav_btn {
    display: inline-block;
    background-color: #d2b07f; /* ボタン背景色 */
    color: #402012 !important; /* ボタン文字色 */
    padding: 0.7em 1.5em;
    border-radius: 9999px;
    text-decoration: none;
    transition: 0.3s;
  }
  .nav_btn:hover {
    opacity: 0.8;
  }
  
/* ヘッダー　電話
------------------------- */
  .nav_tel {
    color: #fff; /* ボタン文字色 */
    font-size: 20px;
    text-decoration: none;
  }
  .nav_tel i{
  color: #d2b07f; /* 電話マークの色 */
  font-size: clamp(14px, 1.5vw, 20px);
  position: relative;
  top: -2px;
  margin-right: 5px;
  }  
  
/* ヘッダーメニュー
------------------------- */
  .nav-menu {
    position: fixed;
    z-index: 0;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
    padding-right: clamp(30px, 8vw, 60px);
    padding-bottom: clamp(30px, 8vw, 60px);
    padding-left: clamp(30px, 8vw, 60px);
    transition-duration: 300ms;
    transform: translateX(100%);
    overflow: auto;
    background-color: rgba(64, 47, 40, 1.0);/* ナビメニューの背景色を変えたい時 */
  }
  .nav-menu.active {
    transform: translateX(0);
  }
}

@media only screen and (max-width: 767px) {
.nav_tel {
  font-size: 20px;
  text-decoration: none;
  display: inline-block;
  color: #402f28;
  background-color: #d2b07f; /* ボタン背景色 */
  padding: 0.7em 1.5em;
  border-radius: 100px;
}
.nav_tel i{
  color: #402012;
  position: relative;
  top: -2px;
  margin-right: 5px;
  }  
}

/* ----------------------------------------------------
  ナビメニュー
---------------------------------------------------- */
@media print, screen and (min-width: 992px) {
  .nav-menu {
    margin-top: 15px; /* ナビの上余白 */
    padding-top: 0 !important;
  }
}

.menu-list{list-style: none;/* 中黒消す */}

@media print, screen and (min-width: 992px) {
  .menu-list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -ms-flex-align: center;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    gap: clamp(20px, 2.0833333333333335vw, 40px);
  }
  .menu-list a:link,
  .menu-list a:visited,
  .menu-list a:hover,
  .menu-list a:active{color:#402012;} 
}

@media print, screen and (max-width: 991px) {
/* 992px未満のときに適用するCSS */
  .menu-item {
    border-style: solid;
    border-color: #d2b07f;
    border-bottom-width: 1px;
  }
}

/* ----------------------------------------------------
  スマホ～タブレット時　メニューリンク基礎
---------------------------------------------------- */
@media print, screen and (max-width: 991px) {
/* 992px未満のときに適用するCSS */
  .menu-link {display: block;}  
  .nav-menu.active .menu-link {color: #fff;}
}

/* ----------------------------------------------------
  メニューリンク 文字サイズ／余白／配置／色
---------------------------------------------------- */
.menu-link {
  font-size: 15px;
  padding: 13px 0;
  text-align: center;
  color: #412214; /* メニュー文字色 */
}
@media print, screen and (min-width: 992px) {
  .menu-link {
    font-size: clamp(14px, 0.8vw, 16px);
    padding-top: clamp(10px, 2vw, 18px);
    padding-bottom: 10px;
  }
}

/* ----------------------------------------------------
  現在地を示す下線（.active）
---------------------------------------------------- */
@media print, screen and (max-width: 991px) {
/* 992px未満のときに適用するCSS */
.menu-link.active{color: #d2b07f !important;}/* スマホタブレット時のアクティブ文字色 */
}

@media print, screen and (min-width: 992px) {
  .menu-link {position: relative;} /* 下線用に相対位置を指定 */
  
/* 下線のスタイル
------------------------- */
  .menu-link.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px; /* 下線の太さ */
    background-color: #d2b07f; /* 下線の色 */
  }
  .menu-link.active::after {
    bottom: 0; /* 下端に下線 */
  }
  .menu-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: #d2b07f; /* 下線の色 */
    transition: width 0.3s ease;
  }
  .menu-link.active::after, .menu-link:hover::after {
    width: 100%;
  }
}

/* ----------------------------------------------------
  ハンバーガーボタン
---------------------------------------------------- */
/* タブレットサイズのみ幅を半分に変更
------------------------- */
@media print, screen and (min-width: 768px) {
  #hb-menu {
    width: 40%; /* 画面半分だけ表示 */
  }
}
@media print, screen and (min-width: 992px) {
  #hb-menu {
    width: 100%;
  }
}

/* ハンバーガーメニューが開いたときに body のスクロールを止める
------------------------- */
body.menu-open {
  overflow: hidden;
  height: 100%;
}

/* フォーカス・アクティブ時の枠・影を消す
------------------------- */
.hamburger-button:focus, .hamburger-button:active {
  outline: none;
  box-shadow: none;
}

/* ボタン自体の設定とクリック範囲拡張
------------------------- */
.hamburger-button {
  border: none;              
  background: transparent;    
  outline: none;              
  padding: 47px 30px 27px 30px;
  display: inline-block;
  cursor: pointer;
  position: relative;
  width: fit-content;
  height: fit-content;
  margin-right: 0;
  margin-left: auto;
}

@media screen and (min-width: 768px) {
  .hamburger-button {
   padding: 57px 40px 37px 40px;
  }
}

/* 線をまとめるコンテナ
------------------------- */
.hamburger-lines {
  display: block;   /* これでspanでもブロック要素扱い */  
  position: relative;
  width: 40px;   /* 線の幅 */
  height: 40px;  /* 上下に余裕を持たせる */
  transition-duration: 300ms;
  pointer-events: none;  /* 線自体はクリック対象外 */
}

@media screen and (min-width: 768px) {
  .hamburger-lines {
    width: 60px;
    height: 60px;  /* PCでは少し大きく */
  }
}

/* 線（＝または×）
------------------------- */
.hamburger-lines .line {
  position: absolute;
  left: 0;
  width: 100%;
  background-color: var(--hb-line-color, #d2b07f);
  height: var(--hb-line-height, 2px);
  transform-origin: center center;
  transition: 0.3s ease;
  pointer-events: none; /* 線自体はクリック対象外 */
}

/* 線の色切替
------------------------- */
.hamburger-lines.active .line {
  background-color: var(--hb-line-active-color, #fff);
}

/* ＝状態（上下2本線）
------------------------- */
.hamburger-lines .line:nth-child(1) {
  transform: translateY(-5px) rotate(0deg);
}
.hamburger-lines .line:nth-child(2) {
  transform: translateY(5px) rotate(0deg);
}

/* タブレットサイズ以上でハンバーガーメニューを丸ごと非表示
------------------------- */
@media screen and (min-width: 992px) {
  .hamburger-button {
    display: none;
  }
}