@charset "UTF-8";

/* === 基本設定 === */
body {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  margin: 0; padding: 0; color: #333; line-height: 1.7; background-color: #f8f8f8;
}
img { max-width: 100%; height: auto; vertical-align: bottom; border: none; }
.container {
  max-width: 1080px; margin: 0 auto; background-color: #fff; box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

/* === ヘッダー === */
/* ★ここを修正：下の線(border)を消し、下の余白(padding-bottom)を0にしました */
header { 
  padding: 20px 20px 0 20px; /* 上・左右は20px、下は0px */
  border-bottom: none;       /* グレーの線を削除 */
  text-align: left; 
  position: relative; 
}

header h1 { 
  font-size: 13px; 
  color: #666; 
  font-weight: normal; 
  margin: 0 0 5px 0; 
}

/* ロゴの設定 */
#logo { 
  display: block; 
  /* ロゴの下に少しだけ隙間を開けて、メニューとくっつきすぎないようにする（程よい距離） */
  margin-bottom: 15px; 
  margin-top: 0;
  padding-top: 0;
}
#logo img { width: 233px !important; height: auto !important; }

/* === レイアウト === */
/* ★ここを修正：メインエリアの上の余白(padding-top)を0にしました */
.main-wrapper { 
  display: flex; 
  flex-wrap: wrap; 
  padding: 0 20px 20px 20px; /* 上は0px、左右・下は20px */
}

.sidebar-left { width: 200px; order: 1; }
.content-center { flex: 1; min-width: 0; margin: 0 20px; order: 2; text-align: left; }
.sidebar-right { width: 200px; order: 3; text-align: center; }

/* === お知らせエリア === */
.post_menu {
  background: url('images/o5.jpg') repeat !important;
  background-color: #fcf4d0 !important;
  padding: 20px 15px !important;
  border: 1px solid #ddd !important;
  border-radius: 5px;
}
.info-card {
  background-color: #ffffff !important;
  margin-bottom: 20px !important;
  padding: 20px !important;
  border-radius: 8px !important;
  border: 1px solid #dddddd !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
}

/* 画像再現：左側にグレーの太線 */
.title-with-bar {
  border-left: 6px solid #666 !important;
  padding-left: 12px !important;
  border-bottom: none !important;
  font-size: 19px !important;
  color: #333 !important;
  margin: 0 0 15px 0 !important;
  font-weight: bold;
}

.info-card h3:not(.title-with-bar) {
  font-size: 17px !important; color: #006400 !important;
  border-bottom: 2px solid #006400 !important;
  padding-bottom: 5px !important; margin: 0 0 12px 0 !important;
}

/* 画像再現：日付ボタンデザイン */
.day-btns-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.day-btn {
  background-color: #f2f2f2;
  border: 1px solid #ccc;
  border-radius: 3px;
  padding: 6px 14px;
  font-weight: bold;
  color: #000;
  font-size: 15px;
  display: inline-block;
}

.text-small { font-size: 14px; margin: 0; line-height: 1.6; }

/* 案内図 */
.kannai-img-wrap { text-align: center; margin-top: 30px; clear: both; }
.kannai-img-wrap img { width: 100% !important; max-width: 450px !important; border: 1px solid #ccc !important; padding: 4px !important; }

/* その他 */
.address-text {
  font-family: "Yu Mincho", serif;
  font-size: 14px;
  text-align: center;
  border: 1px solid #eee;
  padding: 10px 5px;
  background-color: #fafafa;
}
footer { background-color: #444; color: #fff; padding: 30px 20px; text-align: center; margin-top: 20px; }


/* =========================================
   CSSボタンデザイン（画像完全再現）
   ========================================= */
.css-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 12px 0;
  margin-bottom: 15px;
  text-decoration: none;
  font-weight: normal;
  font-size: 14px;
  color: #fff !important;
  transition: all 0.3s ease;
  box-sizing: border-box;
  line-height: 1.2;
  border: 3px solid #fff; 
  box-shadow: 0 2px 5px rgba(0,0,0,0.2); 
}

.css-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 4px 6px rgba(0,0,0,0.25);
}

.circle-icon {
  display: inline-block;
  width: 12px;
  height: 12px;
  background-color: #fff; 
  border-radius: 50%;
  margin-right: 8px; 
  border: 2px solid rgba(0,0,0,0.1); 
}

.btn-reserve { background-color: #5c8a99; }
.btn-contact { background-color: #9e8b94; }

/* PC用サイドバーボタンの設定 */
.pc-sidebar-btns { margin-top: 20px; text-align: center; }
.pc-sidebar-btns .css-btn { font-size: 18px; padding: 15px 0; font-weight: bold; }

/* 表示切り替えボタン（フッター用） */
.view-switch-btn {
  display: inline-block;
  background-color: #666;
  color: #fff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 14px;
  cursor: pointer;
  margin-bottom: 15px;
  border: 1px solid #888;
}
.view-switch-btn:hover {
  background-color: #888;
}


/* =========================================================
   【重要】以下、index100.html から移動・統合した設定
   ========================================================= */

/* --- 初期表示状態（PC基本） --- */
.sp-header-btns { display: none; }
.pc-sidebar-btns { display: block; }
.hamburger { display: none; } 
.sp-nav { display: none; }
.nav-overlay { display: none; }

/* 左サイドバーナビ（PC用） */
.text-nav { width: 100%; box-sizing: border-box; margin-bottom: 20px; }
.text-nav a {
  display: block; padding: 12px 0 12px 15px; margin-bottom: 5px;
  color: #004000; text-decoration: none; font-weight: bold; font-size: 16px;
  border-bottom: 1px dashed #ccc; border-left: 7px solid #800000;
  background-color: #fff; line-height: 1.2; text-align: left;
}
.text-nav a:hover { background-color: #f9f9f9; opacity: 0.8; }

/* バナーエリア（共通） */
.banners a { display: block; margin-bottom: 12px; text-decoration: none; }

/* バナー画像の基本サイズを80%に変更し、中央寄せ */
.banners img { 
  width: 80%;       
  margin: 0 auto;   
  height: auto; 
  margin-bottom: 0; 
  border: none; 
  display: block; 
}

/* メイン画像のレスポンシブ対応 */
.main-visual-area img { width: 100%; height: auto; }
.pc-link { margin-bottom: 15px; text-align: center; }
.pc-link a { color: #666; text-decoration: underline; font-size: 0.9em; }


/* --- スマホ (850px以下) の設定 --- */
@media screen and (max-width: 850px) {
  
  /* ヘッダーボタン表示切り替え */
  .sp-header-btns {
    display: flex !important;
    flex-direction: column; 
    gap: 10px; 
    width: 100%;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
  }
  
  .pc-sidebar-btns { display: none !important; }

  /* スマホ用ヘッダーボタンの幅88%・センター配置 */
  .sp-header-btns .css-btn {
    width: 88%;
    margin: 0 auto;
    font-size: 16px; 
    padding: 16px 0;
    margin-bottom: 0;
    white-space: nowrap;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    box-shadow: 0 3px 6px rgba(0,0,0,0.15);
  }
  
  /* ハンバーガーメニュー設定 */
  .sidebar-left .text-nav { display: none !important; }

  .hamburger {
    display: block !important;
    position: absolute;
    top: 25px;
    right: 15px;
    width: 44px;
    height: 44px;
    cursor: pointer;
    z-index: 2001;
  }
  .hamburger span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: #800000;
    position: absolute;
    left: 7px;
    transition: all 0.3s;
  }
  .hamburger span:nth-child(1) { top: 12px; }
  .hamburger span:nth-child(2) { top: 22px; }
  .hamburger span:nth-child(3) { top: 32px; }

  .hamburger.active span:nth-child(1) { top: 22px; transform: rotate(45deg); }
  .hamburger.active span:nth-child(2) { opacity: 0; }
  .hamburger.active span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

  .sp-nav {
    display: block !important;
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100%;
    background: #fff;
    z-index: 2000;
    transition: right 0.3s;
    padding-top: 80px;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    overflow-y: auto;
  }
  .sp-nav.active { right: 0; }
  
  .sp-nav ul { list-style: none; padding: 0; margin: 0; }
  .sp-nav li { border-bottom: 1px solid #eee; }
  .sp-nav a {
    display: block;
    padding: 18px 15px;
    text-decoration: none;
    color: #333;
    font-weight: bold;
    font-size: 15px;
  }

  .nav-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1999;
  }
  .nav-overlay.active { display: block !important; }
}

/* --- スマホ (768px以下) のレイアウト調整 --- */
@media screen and (max-width: 768px) {
  aside.sidebar-left, aside.sidebar-right, .main-wrapper, main.content-center {
    width: 100% !important; max-width: 100% !important; float: none !important;
    display: block !important; margin: 0 auto !important;
    padding-left: 0 !important; padding-right: 0 !important; box-sizing: border-box;
  }
  .banners { display: block !important; width: 100% !important; text-align: center !important; margin: 20px auto !important; padding: 0 !important; }
  .banners a { display: block !important; width: 100% !important; text-align: center !important; margin-bottom: 15px !important; }
  
  /* スマホでのバナー画像幅を80%に制限 */
  .banners img { display: inline-block !important; margin: 0 auto !important; width: auto !important; max-width: 80% !important; height: auto !important; }
  
  .address-text { text-align: center !important; margin-top: 20px !important; margin-bottom: 20px !important; }
  .text-nav { padding: 0 10px; }

  /* お問い合わせフォームのタイトルだけ改行させない専用設定 */
  .contact-card h3 {
    font-size: 14px !important;
    letter-spacing: -0.05em;
    white-space: nowrap;
  }
}

/* ピンクリボン（J-POSH）だけ50%サイズにする設定 */
.banners img[src*="pr.jpg"] {
  max-width: 50% !important; 
}