/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
  line-height: 1.6;
  color: #333;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}

/* 既存の .sticky-header の背景指定を変更 */
.sticky-header {
  position: sticky;
  top: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  height: 40px;
  background-color: transparent; /* 初期状態は透明 */
  transition: background-color 0.3s ease;
}
/* ヒーローエリアを抜けたときの背景色 */
.sticky-header.scrolled {
  background-color: rgba(43, 124, 25, 0.8);
  backdrop-filter: blur(5px);
}

/* 左ロゴ部分 */
.header-left-group {
  display: flex;
  align-items: center;
  gap: 10px;
}
.site-logo {
  height: 40px;
  width: auto;
}

/* 中央SNSアイコン部分 */
.header-center {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.sns-link img {
  height: 24px;
  width: auto;
  transition: opacity 0.3s;
}
.sns-link img:hover {
  opacity: 0.7;
}

/* 右側の予約ボタンなど */
.header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.reserve-btn {
  background-color: transparent;
  color: #020101;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s;
}
.lang-select a {
  color: #020101;
  text-decoration: none;
  font-size: 0.9rem;
  margin: 0 0.3rem;
}

/* メニュー開閉ボタン（sticky-header右上） */
.menu-button {
  background: none;
  border: none;
  cursor: pointer;
  filter: invert(100%);
}
.menu-button img {
  height: 24px;
  width: auto;
}

/* ▼ ヒーローエリア */
.hero-area {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}
/* 背景スライドショー */
.slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: slideAnimation 30s infinite;
}
.slide:nth-child(1) { animation-delay: 0s; }
.slide:nth-child(2) { animation-delay: 5s; }
.slide:nth-child(3) { animation-delay: 10s; }
.slide:nth-child(4) { animation-delay: 15s; }
.slide:nth-child(5) { animation-delay: 20s; }
.slide:nth-child(6) { animation-delay: 25s; }
@keyframes slideAnimation {
  0% {
    opacity: 0;
    transform: scale(1);
  }
  15% {
    opacity: 1;
    transform: scale(1.05);
  }
  35% {
    opacity: 1;
    transform: scale(1.05);
  }
  50% {
    opacity: 0;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1);
  }
}
.logo-container {
  position: absolute;
  left: 50%;
  top: 30%;
  transform: translateX(-50%);
  text-align: center;
}
.logo-img {
  max-width: 150px;
  height: auto;
}

/* サイドナビゲーション（スライドイン） */
#globalNav {
  position: fixed;
  top: 0;
  right: 0;
  width: 300px;
  height: 100vh;
  background-color: #0a0909;
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
  box-shadow: -2px 0 5px rgba(0,0,0,0.2);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
}
#globalNav.open {
  transform: translateX(0);
}

/* --- 追加: 2カラムレイアウト --- */
.nav-columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2%;
}
.nav-list {
  margin: 0;
  padding: 0;
}
.nav-list-left,
.nav-list-right {
  width: 48%;
}
.nav-list-left li,
.nav-list-right li {
  margin-bottom: 1rem;
}

/* サイドナビリンクの基本設定 */
#globalNav a {
  color: #fff;
  font-size: 1.1rem;
  text-decoration: none;
}

/* 既存の active 状態指定（reserve-btn 以外） */
#globalNav ul li a:not(.reserve-btn).active,
#globalNav ul li a:not(.reserve-btn):active,
#globalNav ul li a:not(.reserve-btn):focus {
  color: blue;
}

/* グローバルナビ内の予約リンク（ボタン風）の設定 */
#globalNav .reserve-btn {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  border: 2px solid #fff;
  border-radius: 20px;
  background: transparent;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s, color 0.3s;
}
#globalNav .reserve-btn:hover {
  background-color: #fff;
  color: #333;
}

/* 閉じるボタン */
.close-button {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #333;
}
.close-button img {
  width: 100%;
  height: auto;
}

/* 2. コンセプト */
.concept {
  padding: 4rem 0;
  text-align: center;
  background-color: #fff;
}
.concept-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}
.concept-logo {
  width: 300px;
  margin: 0 auto 1rem;
  display: block;
}
.concept-title {
  font-size: 1.8rem;
  font-weight: bold;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}
.concept-text {
  font-size: 1rem;
  line-height: 1.8;
  color: #333;
}

/* --- 新規追加：サービス一覧グリッド --- */
.services {
  padding: 4rem 0;
  background-color: #fff;
  text-align: center;
}
.services-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  padding: 0 1rem;
}
.service-item {
  background-color: #f7f7f7;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}
.service-item p {
  margin: 0 1rem 1rem 1rem;
  line-height: 1.6;
}
.service-item:hover {
  transform: translateY(-5px);
}
.service-item img {
  display: block;
  margin: 0 auto;
  width: 100%;
  height: 350px;
  object-fit: cover;
}
.service-item h3 {
  margin: 1rem 0;
  font-size: 1.4rem;
  color: #333;
}

/* 6. Access */
.access {
  padding: 4rem 0;
  background-color: #f7f7f7;
  text-align: center;
}
.access h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}
.map {
  max-width: 1000px;
  width: 90%;
  margin: 0 auto 2rem;
  height: 400px;
}
.map iframe {
  width: 100%;
  height: 100%;
  border: none;
}
.address {
  font-size: 1rem;
  line-height: 1.8;
}
.address p {
  margin-bottom: 1rem;
}

/* 7. News */
.news {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 0;
}
.news h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
}
.news-item {
  margin-bottom: 1rem;
  border-bottom: 1px solid #ccc;
  padding-bottom: 1rem;
}
.news-item .date {
  display: inline-block;
  margin-right: 1rem;
  color: #666;
}
.news-item .text {
  display: inline-block;
  font-size: 1rem;
}

/* フッター */
footer {
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 2rem;
  margin-top: 4rem;
}
.footer-nav {
  margin-bottom: 1rem;
}
.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}
.footer-nav li {
  font-size: 0.9rem;
}
footer p {
  font-size: 0.8rem;
}

/* スクロールアニメーション用 */
.scroll-animate {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1.0s ease-out, transform 1.0s ease-out;
}
.scroll-animate.animate {
  opacity: 1;
  transform: translateY(0);
}

/* ▼ 詳しく見るボタンのスタイル */
.more-link {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.6rem 1.2rem;
  background-color: #008f00;
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background-color 0.3s;
}
.more-link:hover {
  background-color: #006d00;
}

/* ======================================= */
/* 新規追加：ヒーローエリアのレスポンシブ対応 */
.hero-area {
  /* PC: 100vh（全画面） */
  height: 100vh;
}
.logo-container {
  /* 既に中央寄せになっている */
  left: 50%;
  top: 40%;
  transform: translateX(-50%);
}
/* 1024px 以下 */
@media (max-width: 1024px) and (orientation: portrait) {
  .hero-area {
    height: 100vh;
  }
}
@media (max-width: 1024px) and (orientation: landscape) {
  .hero-area {
    height: 100vh;
  }
}
/* 768px 以下 */
@media (max-width: 768px) and (orientation: portrait) {
  .hero-area {
    height: 90vh;
  }
}
@media (max-width: 768px) and (orientation: landscape) {
  .hero-area {
    height: 90vh;
  }
}
/* 480px 以下 */
@media (max-width: 480px) and (orientation: portrait) {
  .hero-area {
    height: 90vh;
  }
}
@media (max-width: 480px) and (orientation: landscape) {
  .hero-area {
    height: 70vh;
  }
}
/* 400px 以下 */
@media (max-width: 400px) and (orientation: portrait) {
  .hero-area {
    height: 90vh;
  }
}
@media (max-width: 400px) and (orientation: landscape) {
  .hero-area {
    height: 90vh;
  }
}

/* ======================================= */
/* 新規追加：サービス一覧のレスポンシブ対応 */
/* 初期状態は2カラム */
.services-container {
  grid-template-columns: repeat(2, 1fr);
  padding: 0 1rem;
}
/* 1024px 以下 */
@media (max-width: 1024px) and (orientation: portrait) {
  .services-container {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 1rem;
  }
}
@media (max-width: 1024px) and (orientation: landscape) {
  .services-container {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 1rem;
  }
}
/* 768px 以下：1カラム */
@media (max-width: 768px) and (orientation: portrait) {
  .services-container {
    grid-template-columns: 1fr;
    padding: 0 1rem;
  }
}
@media (max-width: 768px) and (orientation: landscape) {
  .services-container {
    grid-template-columns: 1fr;
    padding: 0 1rem;
  }
}
/* 480px 以下：1カラム */
@media (max-width: 480px) and (orientation: portrait) {
  .services-container {
    grid-template-columns: 1fr;
    padding: 0 0.5rem;
  }
}
@media (max-width: 480px) and (orientation: landscape) {
  .services-container {
    grid-template-columns: 1fr;
    padding: 0 0.6rem;
  }
}

/* ======================================= */
/* 既存のレスポンシブ対応 */

/* ---------- 1024px 以下 Orientation Specific ---------- */
/* 1024px以下 - Portrait */
@media (max-width: 1024px) and (orientation: portrait) {
  .sticky-header {
    padding: 0 0.5rem;
    height: 50px;
  }
  .site-logo {
    height: 35px;
  }
  .logo-container {
    left: 50%;
    top: 40%;
  }
  .concept-title {
    font-size: 1.6rem;
  }
  .concept-text {
    font-size: 0.9rem;
  }
  .services-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 1024px以下 - Landscape */
@media (max-width: 1024px) and (orientation: landscape) {
  .sticky-header {
    padding: 0 0.6rem;
    height: 55px;
  }
  .site-logo {
    height: 38px;
  }
  .logo-container {
    left: 50%;
    top: 28%;
  }
  .concept-title {
    font-size: 1.7rem;
  }
  .concept-text {
    font-size: 1rem;
  }
  .services-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- 768px 以下 Orientation Specific ---------- */
/* 768px以下 - Portrait */
@media (max-width: 768px) and (orientation: portrait) {
  .sticky-header {
    flex-direction: row;
    height: auto;
    padding: 0.5rem;
  }
  .header-left-group,
  .header-right {
    width: auto;
    justify-content: center;
  }
  .logo-container {
    left: 52%;
    top: 40%;
    transform: translateX(-50%);
  }
  .concept-inner {
    padding: 0 1rem;
  }
}
/* 768px以下 - Landscape */
@media (max-width: 768px) and (orientation: landscape) {
  .sticky-header {
    flex-direction: row;
    height: auto;
    padding: 0.6rem;
  }
  .header-left-group,
  .header-right {
    width: auto;
    justify-content: space-between;
  }
  .logo-container {
    left: 50%;
    top: 28%;
    transform: translateX(-50%);
  }
  .concept-inner {
    padding: 0 1.2rem;
  }
}

/* ---------- 480px 以下 Orientation Specific ---------- */
/* 480px以下 - Portrait */
@media (max-width: 480px) and (orientation: portrait) {
  body {
    font-size: 14px;
  }
  .sticky-header {
    padding: 0.5rem;
  }
  .reserve-btn,
  .lang-select a {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }
  .concept-title {
    font-size: 1.4rem;
  }
  .concept-text {
    font-size: 0.8rem;
  }
  .services-container {
    padding: 0 0.5rem;
  }
  .service-item h3 {
    font-size: 1.2rem;
  }
  .news h2,
  .access h2 {
    font-size: 1.8rem;
  }
  .footer-nav li {
    font-size: 0.8rem;
  }
}
/* 480px以下 - Landscape */
@media (max-width: 480px) and (orientation: landscape) {
  body {
    font-size: 15px;
  }
  .sticky-header {
    padding: 0.5rem;
  }
  .reserve-btn,
  .lang-select a {
    font-size: 0.85rem;
    padding: 0.5rem 0.9rem;
  }
  .concept-title {
    font-size: 1.5rem;
  }
  .concept-text {
    font-size: 0.85rem;
  }
  .services-container {
    padding: 0 0.6rem;
  }
  .service-item h3 {
    font-size: 1.3rem;
  }
  .news h2,
  .access h2 {
    font-size: 1.9rem;
  }
  .footer-nav li {
    font-size: 0.85rem;
  }
}

/* ======================================= */
/* 480px以下の場合のサービス画像のレスポンシブ対応 */
@media (max-width: 480px) {
  .service-item img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    height: auto;
  }
}
/* 768px以下の場合のサービス画像のレスポンシブ対応 */
@media (max-width: 768px) {
  .service-item img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    height: auto;
  }
}
