html, body {
  margin: 0;
  padding: 0;
  background: #C8D6E0;
  font-family: "Noto Serif JP", serif;
}

/* 共通ヘッダー */
.header {
  position: fixed; /* ←固定表示にする */
  top: 0;
  left: 0;
  width: 100%;
  background: #C8D6E0;
  z-index: 1000; /* 最前面 */
}

.header-inner {
flex-direction: column;
position: relative;
display: flex;
justify-content: center;
align-items: center;
padding: 20px 0;
}
  
.logo img {
  display: block;
  margin: 0 auto;
}


/* SNSアイコンをスコープ化して使う前提（.sns-icons をHTMLに付ける） */
.sns-icons {
  display: flex;
  justify-content: space-around;  /* モバイルは中央寄せが安定 */
  align-items: center;
  flex-wrap: wrap;
  gap: 25px;
  padding: 
}


/* 正方形の「箱」に画像を収める。これで横長でも伸びずに収まる */
.sns-icons a {
  display: inline-flex;
  inline-size: 36px; /* = width */
  block-size: 36px;  /* = height */
}

/* 共通の img リセット：他所の img{width:100%} を打ち消す */
.sns-icons img {
  inline-size: 100%;     /* 枠いっぱい */
  block-size: 100%;
  object-fit: contain;   /* 画像の縦横比を維持して収める */
  display: block;
  width: auto !important;   /* グローバル指定対策 */
  height: auto !important;  /* グローバル指定対策 */
  max-width: none !important;
  max-height: none !important;
  transition: transform 0.2s ease;
}

/* note だけ横長でも箱の中で縮むので個別調整は不要（必要なら微調整OK） */


@media (max-width: 600px) {
  .sns-icons {
    justify-content: space-around;   /* 中央寄せ */
    width: 90%;               /* 親要素を画面幅いっぱいに */
  }
}







/* ナビゲーション（PC表示） */
.main-nav {
  text-align: center;
  margin-top: 12px;
}

.main-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.main-nav a{
    text-decoration: none;
    color: #333;
    border-bottom: 1px solid transparent;
    color: #ada59c;
    padding: 4px 10px;
    transition: 0.3s;
}

.main-nav a:hover {
    border-bottom: 1px solid #ada59c;
    color: #ada59c;
}


/* ハンバーガーボタン */
.sp-menu-btn_01 {
  position: fixed; /* ←固定にして常に右上 */
  right: 20px;
  top: 20px;
  width: 56px;
  height: 56px;
  background: #ada59c;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 1100;
}

.sp-menu-btn_01 .line {
  position: absolute;
  left: 13px;
  width: 30px;
  height: 2px;
  background: #fff;
  transition: .3s;
}

.sp-menu-btn_01 .line:nth-child(1) { top: 18px; }
.sp-menu-btn_01 .line:nth-child(2) { top: 26px; }
.sp-menu-btn_01 .line:nth-child(3) { top: 34px; }

.sp-menu-btn_01.active .line:nth-child(1) {
  top: 26px;
  transform: rotate(-45deg);
}
.sp-menu-btn_01.active.active .line:nth-child(2) {
  opacity: 0;
}
.sp-menu-btn_01.active .line:nth-child(3) {
  top: 26px;
  transform: rotate(45deg);
}

/* ハンバーガーメニュー展開 */
.header__navi_01 {
  position: fixed;
  top: 0;
  left: 0;
  width: 70%;
  max-width: 400px;
  height: 100vh;
  background: #ada59c;
  transform: translateX(-100%);
  transition: transform .4s ease;
  z-index: 1050;
}

.header__navi_01.active {
  transform: translateX(0);
}

.header__navi_01 ul {
  list-style: none;
  margin:0; padding: 120px 24px 24px;
  display: flex; flex-direction: column; gap:16px;
}

.header__navi_01  a {
  font-size: 1.2rem;
  color: #fff;
  text-decoration: none;
  font-size: 1.2rem;
}




/* スマホ時のロゴサイズ調整 */
@media screen and (max-width: 768px) {
  .logo img {
    width: 60vw;
    max-width: 200px;
  }
}

