/* ==========================
   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;
}

/* スクロール時の変化 */
.site-header.is-scrolled {
  background: rgba(243, 238, 228, 0.98);
  min-height: 85px; /* 少し余裕を持たせる */
  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: 85px;
}

/* ロゴと縦書きタグライン */
.header-brand {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* ★縦書き：高さを「80px」に広げ、文字が消えないように調整 */
.header-copy-vertical {
  writing-mode: vertical-rl;
  font-family: "Yu Mincho", "游明朝体", serif;
  font-size: 11px; /* 読みやすいサイズに戻す */
  letter-spacing: 0.2em;
  color: #5f4528;
  
  /* 高さ制限を緩和し、上下中央に配置 */
  height: 80px; 
  max-height: 80px; 
  line-height: 1.2; /* 縦書きの「横方向」の間隔を狭めてコンパクトに */
  
  border-right: 1px solid rgba(139, 106, 62, 0.3);
  padding-right: 12px;
  margin-right: 0;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
  
  white-space: nowrap;
  display: flex;
  align-items: center; /* 縦書きの内容を上下中央に */
  justify-content: center;
  transition: all 0.5s ease;
}

/* スクロール時はロゴに合わせて高さを調整 */
.site-header.is-scrolled .header-copy-vertical {
  height: 65px;
  max-height: 65px;
  font-size: 10px;
}

.brand-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  height: 100%;
}

.brand-logo-wrapper {
  display: flex;
  align-items: center;
  height: 75px; /* ロゴを少し大きくして安定させる */
  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: 60px;
  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;
  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: 11px;
  font-weight: 600;
}

.header-tel {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  color: #3e2b16;
}

.header-tel span {
  font-size: 10px;
  font-weight: 600;
}

.header-tel strong {
  font-size: 22px;
  line-height: 1;
  font-weight: 600;
}

/* ==========================
   メインビジュアル (hero-slider)
========================== */
.hero-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 11 / 5;
    margin: 0 auto;
    overflow: hidden;
    background: #000;
}

.hero-slider .slide-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    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;
}

.slide-subtitle {
    display: block;
    font-size: clamp(14px, 1.5vw, 18px);
    letter-spacing: 0.3em;
    margin-bottom: 20px;
    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;
    font-weight: bold;
    text-shadow: 0 2px 15px rgba(0,0,0,0.8);
}

/* レスポンシブ */
.header-sp-controls { display: none; }
.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; }
}