/* -------------------- 基本リセット -------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* -------------------- ベース -------------------- */
body {
  overflow: hidden;
  font-family: "Yu Mincho", "游明朝", "Hiragino Mincho ProN", serif;
  color: #fff;
  background: #000;
}

.split-container {
  position: relative;
  width: 100%;
  height: 100vh;
}

/* -------------------- 言語切り替え -------------------- */
.lang-bar {
  position: absolute;
  top: 16px;
  right: 20px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  backdrop-filter: blur(10px);
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.lang-label {
  opacity: 0.7;
}

.lang-switch a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.55);
  padding: 2px 6px;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.lang-switch a.active {
  background: rgba(255, 255, 255, 0.9);
  color: #111;
}

.lang-switch a:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

/* -------------------- パネル -------------------- */
.panel {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

/* 左：薪火 全 */
.panel-left {
  background-image: url("images/gatepage/zen/top.jpg");
  clip-path: polygon(0 0, 55% 0, 45% 100%, 0 100%);
  z-index: 5;
}

/* 右：遊山（仮の画像）※あとで差し替え */
.panel-right {
  background-image: url("images/gatepage/yuzan/top.jpg");
  clip-path: polygon(55% 0, 100% 0, 100% 100%, 45% 100%);
  z-index: 6;
}

/* 暗さレイヤー */
.panel-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  transition: background 0.6s ease;
  pointer-events: none;
}

.panel-left:hover .panel-overlay,
.panel-right:hover .panel-overlay {
  background: rgba(0, 0, 0, 0.20);
}

/* -------------------- パネルコンテンツ -------------------- */
.panel-content {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 28%;
  text-align: center;
}

.panel-left .panel-content {
  left: 17%;
}

.panel-right .panel-content {
  left: 67%;
}

.panel-title {
  font-family: "Playfair Display", serif;
  font-size: 3.2rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.35em;
  line-height: 1.05;
}

.panel-sub {
  display: block;
  font-family: "Playfair Display", serif;
  font-size: 1.1rem;
  letter-spacing: 0.16em;
  margin-top: 0.45em;
  opacity: 0.8;
}

/* 小さな上部タイトル（薪火・肉料理とワイン） */
.panel-small {
  font-size: 1.25rem;
  letter-spacing: 0.20em;
  opacity: 0.85;
  line-height: 1.1;
  margin-bottom: 0;
}

.panel-copy {
  font-size: 1.05rem;
  line-height: 1.9;
  opacity: 0.93;
  margin-top: 1.4rem;
}

.panel-link {
  text-decoration: none;
  color: #fff;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.panel-link:hover {
  opacity: 0.9;
  transform: translateY(-3px);
}

/* -------------------- スマホ -------------------- */
@media (max-width: 640px) {
  body {
    overflow-y: auto;
  }

  .split-container {
    height: auto;
  }

  .panel {
    position: relative;
    width: 100%;
    height: 50vh;
    clip-path: none;
  }

  .panel-content {
    left: 50% !important;
    top: 60%;
    transform: translate(-50%, -50%);
    width: 80%;
    text-align: center;
  }

  .panel-title {
    font-size: 2rem;
  }

  .panel-copy {
    font-size: 0.9rem;
  }

  .lang-bar {
    font-size: 10px;
    top: 10px;
    right: 10px;
  }
}
