/* ====== 背景暗転（ハンバーガーメニュー用） ====== */
body.menu-open::before {
  content:"";
  position: fixed;
  top:0; left:0;
  width:100%; height:100%;
  background: rgba(0,0,0,0.3);
  z-index: 900;
}

/* ====== ヘッダー・ナビ ====== */
.site-nav {
  background: #fff;
  position: fixed; /* sticky → fixed に変更 */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  border-bottom: 1px solid #eee;
  transition: background 0.3s;
}

body {
  padding-top: 60px; /* ヘッダーの高さ分余白を確保 */
}

.nav-container {
  display:flex;
  justify-content:space-between;
  align-items:center;
  width: 100%;  
  padding:10px 20px;
}

/* ロゴ */
.logo {
  font-size: clamp(20px, 3vw, 28px);
  font-weight:bold;
  font-family: "Fatimi", sans-serif;
}

/* メニューリンク（PC用） */
.nav-links {
  display:flex;
  gap: clamp(15px, 2vw, 30px);
  list-style:none;
  margin:0;
  padding:0;
}

.nav-links a {
  position: relative;
  text-decoration: none;
  color: #333;
  font-weight:600;
  padding: 4px 6px;
  display: flex;
  flex-direction: column;
  text-align: center;
  width: clamp(80px, 10vw, 140px);
  font-size: clamp(12px, 1.2vw, 16px);
}

.nav-links a span.jp { line-height:1.2; }
.nav-links a span.en {
  line-height:1.2;
  color:#666;
  font-size: clamp(10px, 1vw, 12px);
}

.nav-links a::after {
  content:"";
  position:absolute;
  left:0; bottom:-4px;
  width:100%; height:2px;
  background:#333;
  transform:scaleX(0);
  transform-origin:left;
  transition:transform .3s ease;
}

.nav-links a:hover::after { transform:scaleX(1); }

/* ハンバーガーボタン */
.menu-toggle { display:none; font-size:28px; background:none; border:none; cursor:pointer; }
.menu-close { display: none; }

/* ====== タブレット・スマホ対応 ====== */
@media (max-width:1024px) {
  .nav-links { gap: clamp(10px, 2vw, 20px); }
  .nav-links a { width: clamp(70px, 12vw, 120px); }
}

@media (max-width:768px) {
  .menu-toggle { display:block; }

  .nav-links {
    position: fixed;
    top:0; right:-260px;
    width: 260px;
    height: 100%;
    background: #fff;
    flex-direction: column;
    padding:60px 25px;
    gap:20px;
    box-shadow:-2px 0 5px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    display: flex;
    z-index: 1001;
  }

  .nav-links.open { right:0; }

  .menu-close {
    display: block;
    font-size:28px;
    background:none;
    border:none;
    cursor:pointer;
    color:#333;
    align-self:flex-end;
    margin-bottom:20px;
  }

  .nav-links a {
    width: auto;
    min-width: 150px;
    white-space: normal;
    line-height: 1.4em;
    padding: 12px 10px;
    text-align: left;
  }
}

/* ====== フッター ====== */
.site-footer {
  background: #111;
  color: #fff;
  padding: 40px 20px;
  font-size: 14px;
  position: relative;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: center;
}

.footer-logo {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 10px;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  margin: 0 10px;
  transition: color 0.3s;
}

.footer-links a:hover { color: #ff7a00; }

.footer-info p {
  margin: 5px 0;
  line-height: 1.5;
}

/* LINE友達追加バナー */
.footer-line-fixed {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #00c300;
  color: #fff;
  padding: 12px 18px;
  border-radius: 25px;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  text-decoration: none;
  z-index: 1002;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.3s;
}

.footer-line-fixed:hover { transform: scale(1.05); }

.footer-line-fixed img { width: 24px; height: 24px; }

@media (min-width: 768px) {
  .footer-container {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    align-items: center;
  }
}

/* ナビゲーションロゴのサイズ調整 */
.site-nav .logo img {
  width: 200px;  /* 横幅固定 */
  height: auto;  /* 縦横比維持 */
  display: block;
}
