html {
  font-size: 62.5%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "DNPShueiMinPr6-L", "秀英明朝 M";
}

body {
  font-size: 1.6rem;
  line-height: 1.6;
  position: relative;
  color: #525252;
}

main {
  overflow: hidden;
}

li {
  list-style-type: none;
}

a {
  text-decoration: none;
  color: #525252;
}

section {
  position: relative;
}

footer {
  font-family: "Noto Sans JP", sans-serif;
}

footer p {
  font-size: 1.2rem;
  letter-spacing: 1px;
  font-family: "Noto Sans JP", sans-serif;
  text-align: center;
}

.logo__footer {
  width: 40%;
  display: block;
  max-width: 160px;
  margin: 80px auto;
  margin-bottom: 40px;
}

/* --------------------------------
  ヘッダー
-------------------------------- */
.site-header {
    /* 必要に応じて固定配置のスタイルを保持 */
    position: fixed; 
    top: 0;
    width: 100%;
    z-index: 100;
    background-color: transparent; /* 背景透過の場合 */
    background-color: rgba(255, 255, 255, 0.9);
}

/* ヘッダーのコンテンツを囲むコンテナ */
.site-header .container {
    /* 必須: Flexboxコンテナにする */
    display: flex;
    /* 両端揃えにして要素を左右に引き離す */
    justify-content: space-between;
    /* 垂直方向の中央揃え */
    align-items: center;
    
    /* コンテナの幅とパディングを調整 */
    margin: 0 auto;
    padding: 10px 20px;
    height: 80px; /* ヘッダーの高さ */
}


/* ============================================== */
/* 2. ロゴを中央に固定するトリック (Flexboxと擬似要素) */
/* ============================================== */

/* 1. ロゴコンテナ (h1) */
.site-title {
    /* ロゴがFlexアイテムとして中央に配置される */
    order: 2; /* 順序を中央に */
    margin: 0 auto; /* ロゴ自体を中央に配置する */
    position: absolute; /* 親要素基準で中央配置を可能にする */
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%); /* 自身の幅の半分を戻して完全に中央揃え */
}

/* 2. サブナビゲーション (nav_sub) */
.nav_sub {
    order: 1; /* 左端に配置 */
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    font-family: "Noto Sans JP", sans-serif;
    gap: 16px;
    font-size: 1.4rem;
}

.hamburger {
  display: none;
}
@media screen and (max-width: 768px) {
  .nav_sub {
    display: none;
  }
  .site-header .container {
    height: 48px;
    display: block;
    position: relative;
  }
  .hamburger {
    order: 3;
    width: 24px;
    height: 24px;
    background: none;
    border: none;
    display: flex;
    flex-direction: column;
    justify-content: center; /* 垂直方向の中央寄せ */
    align-items: center; /* 水平方向の中央寄せ */
    cursor: pointer;
    position: relative;
    z-index: 1001;
  }
}
/* ロゴ（トップページと通常ページで切替） */
.home .logo2,
.page .logo2,
.archive .logo2 {
  content: url("../img/common/logo2_bk.png");
  max-height: 48px;
  display: block;
}

.logo2 {
  content: url("../img/common/logo2_bk.png");
  max-height: 48px;
}

/* --------------------------------
  ハンバーガーボタン
-------------------------------- */



.hamburger span {
  width: 100%; /* 親要素(button)の幅に合わせる */
  height: 2px; /* 線の太さ */
  background-color: #000;
  position: absolute;
}

.hamburger span:nth-child(1) {
  top: 8px;
}

.hamburger span:nth-child(2) {
  bottom: 8px;
}

/* ×印アニメーション */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 12px;
  background-color: #ffffff;
}

.hamburger.active span:nth-child(2) {
  transform: rotate(-45deg);
  bottom: 10px;
  background-color: #ffffff;
}

@media screen and (max-width: 768px) {
  .hamburger.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 6px;
  background-color: #ffffff;
}

.hamburger.active span:nth-child(2) {
  transform: rotate(-45deg);
  bottom: 0px;
  background-color: #ffffff;
}
}
/* --------------------------------
  ナビゲーション
-------------------------------- */
.nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 30%;
  height: 100vh;
  text-align: left;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: right 0.3s ease;
  z-index: 1000;
  box-shadow: -2px 0 8px rgba(0, 0, 0, 0.005);
  box-sizing: border-box;
  padding: 80px 40px;
  font-family: "Noto Serif JP", 游明朝, "Yu Mincho", YuMincho, "Hiragino Mincho Pro", serif;
  font-feature-settings: "palt";
  font-size: 10px;
  letter-spacing: 0.7px;
  line-height: 1.65;
  color: #000;
}

.nav.active {
  right: 0;
}

.nav__list,
.nav__list2 {
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 300;
}

.nav__list {
  font-size: 1.6rem;
}

.nav__list2 {
  margin-top: 32px;
  font-size: 1.3rem;
}

.nav__list > li {
  margin-bottom: 1.5rem;
}

.nav__list,
.nav__list a,
.nav__list2 a {
  color: #fff;
  text-decoration: none;
}

.has-child {
  margin-bottom: 1rem;
}

.sub-menu {
  list-style: none;
  padding-left: 1.5rem;
  margin: 0.3rem 0 0;
}

.sub-menu li {
  margin: 0.2rem 0;
}

.sub-menu a {
  font-size: 1.4rem;
}

.sub-menu a:hover {
  color: #000;
}

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

/* --------------------------------
  ▼ 768px以下：スマホ用レスポンシブ対応
-------------------------------- */
@media screen and (max-width: 768px) {

  html {
    font-size: 56%;
  }

  .hamburger {
    top: 18px;
    right: 18px;
    width: 24px;
    height: 8px;
    position: absolute;
  }

  .hamburger span {
    height: 2px;
  }

  .logo2,
  .home .logo2,
  .page .logo2,
  .archive .logo2 {
    max-height: 36px;
    top: 20px;
    width: 65%;
    max-width: 100%;
    margin: auto;
  }

  .nav {
    width: 100%;
    right: -100%;
    padding: 80px 20px;
    text-align: center;
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
  }

  .nav__list {
    font-size: 1.6rem;
  }

  .nav__list2 {
    font-size: 1.4rem;
  }

  .nav__list > li {
    margin-bottom: 2.4rem;
  }

  .nav__list2 {
    margin-top: 40px;
  }

  .sub-menu {
    padding-left: 0;
    margin-top: 0.5rem;
  }

  .sub-menu a {
    font-size: 1.5rem;
  }

  .logo__footer {
    width: 40%;
    margin: 48px auto;
  }

  footer p {
    font-size: 1.1rem;
    line-height: 1.8;
  }
}

/* ============================================== */
/* Instagramアイコンのスタイル (footer) */
/* ============================================== */

/* フッターコンテナ内の要素を中央寄せにするための調整 (必要に応じて) */
.site-footer .container {
    text-align: center;
}

/* ソーシャルリンク全体を囲むコンテナ */
.site-footer .social-links {
    margin-bottom: 20px; /* コピーライトとの間に隙間を確保 */
    /* text-align: center; (親コンテナで中央寄せしていれば不要) */
}

/* 個別のソーシャルリンク */
.site-footer .social-link {
    display: inline-block; /* 横並びにするため */
    transition: opacity 0.3s;
}

.site-footer .social-link:hover {
    opacity: 0.7; /* ホバーで少し透明にする */
}

/* アイコン画像そのもの */
.site-footer .social-icon {
    width: 20px; /* アイコンのサイズを調整 */
    height: 20px;
    vertical-align: middle;
    margin: 0 5px; /* 他のアイコンと並べる場合の左右の隙間 */
    opacity: .4;
}