/* ==========================
   header.css 老舗ホテル・透明識字解決版
   ★透明維持・情報エリアのみ保護（曇りガラス効果）
========================== */
.site-header {
  width: 100%;
  min-height: 100px;
  background: transparent; /* 初期は完全透明 */
  border-bottom: 1px solid rgba(139, 106, 62, 0.2);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10000;
  transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flow-root;
  box-sizing: border-box;
}

/* スクロール時の変化（JSで制御） */
.site-header.is-scrolled {
  background: rgba(243, 238, 228, 0.98);
  min-height: 80px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(5px);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100px;
  transition: height 0.5s ease;
  position: relative;
}

.site-header.is-scrolled .header-inner {
  height: 80px;
}

/* ロゴと縦書きタグライン */
.header-brand {
  display: flex;
  align-items: center;
  gap: 30px;
}

.header-copy-vertical {
  writing-mode: vertical-rl;
  font-family: "Yu Mincho", "游明朝体", serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: #5f4528;
  height: 60px;
  line-height: 1.5;
  border-right: 1px solid rgba(139, 106, 62, 0.3);
  padding-right: 15px;
  margin-right: 0;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.brand-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  line-height: 1;
  height: 100%;
}

.brand-logo-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 70px;
  transition: height 0.5s ease;
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.4));
}

.site-header.is-scrolled .brand-logo-wrapper {
  height: 55px;
  filter: none;
}

.brand-logo-wrapper img {
  display: block;
  height: 100%;
  width: auto;
  object-fit: contain;
}

/* PC右側情報 (透明時の識字対策) */
.header-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  height: auto;
  gap: 4px;
  font-family: "Yu Mincho", "游明朝体", serif;
  padding: 8px 15px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.15); 
  backdrop-filter: blur(8px); 
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.4s ease;
}

.site-header.is-scrolled .header-info {
  background: transparent;
  backdrop-filter: none;
  border-color: transparent;
  padding: 0;
}

.header-links a {
  color: #3e2b16;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  transition: opacity 0.3s;
}

.header-tel {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  color: #3e2b16;
}

.header-tel span {
  font-size: 10px;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.header-tel strong {
  font-size: 24px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* ==========================
   メインビジュアル (hero-slider)
========================== */
.hero-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 11 / 5;
    margin: 0 auto;
    overflow: hidden;
    background: #000;
}

.hero-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.hero-slider .slide-img {
    width: 100%;
    height: 100%;
}

.hero-slider .slide-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    animation: simpleZoom 10s infinite alternate linear;
}

@keyframes simpleZoom {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}

/* キャプション中央配置の修正 */
.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* 上下左右中央へ */
    width: 100%;
    text-align: center; /* テキストも中央揃え */
    color: #fff;
    z-index: 3;
    font-family: "Yu Mincho", "游明朝体", serif;
    padding: 0 20px;
    box-sizing: border-box;
}

.slide-subtitle {
    display: block;
    font-size: clamp(14px, 1.5vw, 18px);
    letter-spacing: 0.3em;
    margin-bottom: 20px; /* 余白を微増して格調高く */
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(0,0,0,0.7);
}

.slide-title {
    display: block;
    font-size: clamp(24px, 4.5vw, 48px); /* サイズ感を最適化 */
    line-height: 1.6; /* 2行になった時の重なりを解消 */
    font-weight: bold;
    text-shadow: 0 2px 15px rgba(0,0,0,0.8);
}

/* ==========================
   レスポンシブ & 共通
========================== */
.header-sp-controls { display: none; }
.sp-btn { display: flex; flex-direction: column; justify-content: center; align-items: center; height: 44px; border-radius: 4px; text-decoration: none; line-height: 1.2; text-align: center; }
.sp-tel { width: 52px; background: #7a5a34; color: #fff; font-size: 10px; font-weight: bold; }
.sp-reserve-accent { width: 100px; background: linear-gradient(135deg, #ff9800, #f57c00); color: #fff !important; font-weight: 800; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); }

.main-visual { margin-top: 0; }

@media (max-width: 1100px) {
    .hero-slider { aspect-ratio: 3 / 2; }
}

@media (max-width: 768px) {
    .site-header { height: 60px; min-height: 60px; background: #f3eee4; padding: 0 10px; }
    .header-inner { height: 60px; padding: 0; }
    .header-copy-vertical { display: none; }
    .brand-logo-wrapper { height: 45px; filter: none; }
    .header-sp-controls { display: flex !important; gap: 5px; margin-left: auto; }
    .pc-only { display: none !important; }
    .main-visual { margin-top: 60px !important; }

    .hero-slider { aspect-ratio: 4 / 3; }
    .slide-content { width: 90%; }
    .slide-title { font-size: 24px; }
}