body {
  margin: 0 0;
}

header {
  width: 100%;
  height: auto;
  background-color: #ffffff;
  box-shadow: 0 0 6px 0 rgb(85 85 85 / 35%);
  position: sticky; /* 追加 */
  top: 0; /* スクロール時に上部に固定 */
  z-index: 1000; /* 他の要素よりも上に表示 */
  display: grid;
}

.h1_box {
    padding: 10px 40px 0 40px;
    margin: 0 0;
}

.h1_box h1 {
    padding: 0 0 10px 0px;
    font-size: 14px;
    font-weight: 100;
    letter-spacing: inherit;
margin:0 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 40px;
    margin: 0 0;
}

.header-left{
  height: auto;
}

.header-left .header-logo {
  height: 54px;
  width: auto;
}

.header-right {
    display: flex;
    flex-direction: row-reverse;
    width: 100%;
}

.nav-list {
    list-style: none;
    display: flex;
    margin: 0;
    gap: 25px;
    padding: 0;
    justify-content: flex-end;
    width: 100%;
}

.nav-link {
    letter-spacing: 3px;
    font-weight: 500;
    font-size: 20px;
    font-family: 'Noto Serif JP', serif;
    line-height: 35px;
}

.nav-link a {
  color: #2b2b2b;
  position: relative;
  text-decoration: none; 
}

.nav-link a:hover {
  color: #797777;
}

.nav-link a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px; 
  width: 100%;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(245, 226, 219, 1) 0%,
    rgba(236, 212, 202, 1) 7.54%,
    rgb(183, 133, 133) 35.1%,
    rgba(228, 199, 188, 1) 41%,
    rgba(245, 226, 219, 1) 44.97%,
    rgb(255, 255, 255) 47.89%,
    rgba(207, 188, 182, 1) 51.31%,
    rgb(151, 127, 119) 55.02%,
    rgba(193, 175, 169, 1) 59.5%,
    rgba(201, 166, 153, 1) 65.7%,
    rgb(183, 133, 113) 70.98%,
    rgba(219, 184, 170, 1) 75.08%,
    rgba(230, 203, 192, 1) 79.81%,
    rgba(239, 216, 207, 1) 85.04%,
    rgba(243, 224, 216, 1) 91.12%,
    rgba(245, 226, 219, 1) 100%
  );
}

.hamburger{
  display: none;
}


.header-right nav {
    width: 86%!important;
}

/* ---------- サブメニュー ---------- */
.nav-link {
  position: relative;
}

.sub-menu-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    list-style-type: none;
    padding: 20px 27px;
    margin: 0 auto;
    width: 415px;
    box-shadow: 0px 2px 3px 0 rgb(0 0 0 / 16%);
    background: #e9dacb;
}

.nav-link:hover{
  background:#e9dacb52;
}

.nav-link:hover .sub-menu-list {
  display: block;
}

.sub-menu-list li {
    padding: 0px;
}

.sub-menu-list li a {
    text-decoration: none;
    font-size: 18px;
}

.sub-menu-link {
    margin-top: 10px;
}

.sub-menu-link:first-of-type{
    margin: 0 0;
}

.sub-menu-link a:hover::after {
  content: none; 
  background: none; 
  height: 0;
  width: 0; 
}

.sub-menu-link :hover {
  color: #797777;
  text-decoration: none; 
	padding:3px 6px;
}

/* 追加：ハンバーガー（PCでは非表示） */
.hamburger{
  display:none; position:relative; z-index:1001;
  width:44px; height:44px; border:0; background:transparent; padding:0; cursor:pointer;
}
.hamburger .bar {
    display: block;
    width: 26px;
    height: 2px;
    margin: 6px auto;
    background: #5d5d5d;
    border-radius: 50px;
    transition: transform .25s ease, opacity .25s ease;
}

/* ---------- タブレットスタイル（幅はお好みで） ---------- */
@media (max-width:1168px){
:root { --header-h: 64px; } /* 実際のヘッダー高に合わせて調整 */

html.nav-open, body.nav-open {
  overflow: hidden;          /* Android/PC用 */
  height: 100%;
}

  .header-right{
    display: none;
  }

.h1_box{
        padding: 0 16px;
}
	
.h1_box h1 {
    padding: 10px 0 0 0;
    font-size: 13px;
    font-weight: 100;
    letter-spacing: inherit;
    margin: 0 0;
}

  /* レイアウト微調整 */
  .header-container{ 
	  padding: 10px 16px;
}
  .header-left .header-logo{ height: 48px; }

  /* ハンバーガー表示 */
  .hamburger{ display:block; }

  /* PC横並びを解除してドロワー用に */
#global-nav{
  /* 既存 */
  position: fixed;
  inset: 0 0 0 auto;
  width: min(80vw, 320px);
  background: linear-gradient(to bottom, #FFFFFF, #ffffffed);
  box-shadow: -2px 0 12px rgba(0,0,0,.12);
  transform: translateX(100%);
  transition: transform .3s ease;
  z-index: 1000;
  padding: 34px 0 24px;

  /* 追加 */
  overflow-y: auto;                 /* 中身を縦スクロール */
  -webkit-overflow-scrolling: touch;/* iOSでスムーズスクロール */
  overscroll-behavior: contain;     /* 背景のページに慣性スクロールが伝播しないように */
}
		
#global-nav .sub-toggle {
    color: #2b2b2b;
    text-align: center;
}

  /* 背景オーバーレイ */
  .nav-overlay{
    position: fixed; inset: 0;
    background: rgba(0,0,0,.35);
    opacity: 0; visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
    z-index: 999;
  }

  /* 縦並び */
  .nav-list{
    flex-direction: column;
    gap: 16px;
  }
	
.nav-link {
width: 85%;
    padding-bottom: 4px;
    font-size: 18px;
    letter-spacing: 2px;
            border-bottom: 1px solid transparent;
    border-image: linear-gradient(to right,
    rgba(245, 226, 219) 0%,
    rgba(236, 212, 202) 7.54%,
    rgb(183 133 133) 35.1%,
    rgba(228, 199, 188) 41%, 
    rgba(245, 226, 219) 44.97%,
    rgb(255 255 255) 47.89%,
    rgba(207, 188, 182) 51.31%,
    rgb(151 127 119) 55.02%,
    rgba(193, 175, 169) 59.5%, 
    rgba(201, 166, 153) 65.7%,
    rgb(183 133 113) 70.98%, 
    rgba(219, 184, 170) 75.08%, 
    rgba(230, 203, 192) 79.81%, 
    rgba(239, 216, 207) 85.04%,
    rgba(243, 224, 216) 91.12%, 
    rgba(245, 226, 219) 100%);
    border-image-slice: 1;
	margin: 0 auto;
	border-radius:50px;
	padding-right:0;
	        text-align: center;
	}
	
.nav-list a {
    display: block;
    padding: 0 0;
}

  /* 開いた状態 */
.nav-open #global-nav {
    transform: translateX(0);
    color: #2b2b2b;
}
  .nav-open .nav-overlay{ opacity:1; visibility:visible; }

  /* ハンバーガー→×アイコン */
  .nav-open .hamburger .bar:nth-child(1){ transform: translateY(8px) rotate(45deg); }
  .nav-open .hamburger .bar:nth-child(2){ opacity: 0; }
  .nav-open .hamburger .bar:nth-child(3){ transform: translateY(-8px) rotate(-45deg); }

  /* 背景スクロール抑止 */
  body.nav-open{ overflow: hidden; }

#global-nav .nav-link:not(:last-child) {
    border-right: none;
}

/****** アコーディオン（親項目＋サブメニュー） ******/
.has-sub .sub-toggle {
    display: block;
    width: 63%;
    margin: 0 auto;
    padding: 12px 36px;
    font-size: 18px;
    letter-spacing: 2px;
    cursor: pointer;
    position: relative;
    border-bottom: 1px solid transparent;
    border-image: linear-gradient(to right,    rgba(245, 226, 219) 0%,    rgba(236, 212, 202) 7.54%,    rgb(183 133 133) 35.1%,    rgba(228, 199, 188) 41%,     rgba(245, 226, 219) 44.97%,    rgb(255 255 255) 47.89%,    rgba(207, 188, 182) 51.31%,    rgb(151 127 119) 55.02%,    rgba(193, 175, 169) 59.5%,     rgba(201, 166, 153) 65.7%,    rgb(183 133 113) 70.98%,     rgba(219, 184, 170) 75.08%,     rgba(230, 203, 192) 79.81%,     rgba(239, 216, 207) 85.04%,    rgba(243, 224, 216) 91.12%,     rgba(245, 226, 219) 100%);
    border-image-slice: 1;
}

.has-sub .plus {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    line-height: 1;
    font-weight: 700;
    transition: transform .2s ease;
    pointer-events: none;
    color: #bb5638;
}

.has-sub .sub-menu {
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 0 0;
    margin: 0 0;
    list-style: none;
}

/* そのチェックの“直後”のメニューだけ開く（スコープ限定） */
.sub-check:checked + .sub-toggle + .sub-menu {
    display: flex;
    background-color: #e9dacb;
}

.sub-menu-link :hover {
    background-color: #f9f0ed;
  color: #797777;
}

/* 開いた時、＋を45°回して“×”風に（そのラベルだけ） */
.sub-check:checked + .sub-toggle .plus{
  transform:translateY(-50%) rotate(45deg);
}
	
.has-sub .sub-menu .nav-link {
    width: 85%;
    margin: 0 auto;
    border-image: none;
    border-bottom: 2px solid #ffffff;
    border-radius: 0;
}

/* キーボード操作・アクセシビリティ */
.has-sub .sub-toggle:focus{
  outline:2px solid rgba(151,127,119,.35);
  outline-offset:2px;
  border-radius:12px;
}

/* クリック範囲を広めつつタップ感を少しだけ出す */
.has-sub .sub-toggle:active{
  transform:translateY(0.5px);
}

/* 既存の縦並びを確実に維持（衝突回避用） */
.nav-list{ display:flex; flex-direction:column; gap:16px; }

/* 文字はNoto Serif JPで統一（お好み） */
.nav-list a, .has-sub .sub-toggle {
    font-family: 'Noto Serif JP', serif;
    color: #2b2b2b;
}

/* 余白の微調整（サブメニューが続く時の間延び防止） */
.has-sub + .has-sub{
  margin-top:4px;
}

.sub-menu-link {
    padding: 10px 0;
}

}

/* ------------------------------------------------   スマホ   ------------------------------------------------ */
@media screen and (max-width: 480px) {

.h1_box h1{
	display:none;
}

.nav-list {
    gap: 10px;
    padding-top: 10px;
}
	
.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
	
.header-left {
    width: 100%;  /* 親要素が画面幅にフィットするように調整 */
  }

.header-left .header-logo {
    max-width: 65%;
    width: 100%;
    height: auto;
    margin-top: 6px;
}

/* ---------- サブメニュー ---------- */
.nav-link {
  position: relative;
}

li.sub-menu-link::marker {
unicode-bidi: none;
    font-variant-numeric: none;
    text-transform: none;
}
	
.sub-menu-link {
    padding: 15px 0;
    line-height: 0px;
}
	
.sub-menu-link :hover {
  background-color: transparent;
  color: #797777;
  text-decoration: none; 
}

.init-bottom{
    padding: 0px 4px;
}

.init-bottom a{
    font-weight: 500;
    font-size: 18px;
    letter-spacing: 2px;
    font-family: 'Noto Serif JP', serif;
    line-height: normal;
	}

.menu-pamph a {
    font-size: 15px;
    text-align: ;
}


}