/* ===========================
   ヘッダー全体
   =========================== */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 40px 20px 0;
  background: transparent;
  z-index: 9999999;
}

/* ヘッダー内コンテンツの配置 */
.header-inner {
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0 20px;
}

/* ロゴ設定 */
.logo {
  max-width: 250px;
  width: 100%;
}

.logo img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===========================
   ナビゲーションメニュー
   =========================== */
.nav-links {
  display: flex;
  list-style: none;
  gap: 20px;              /* 適度な余白 */
  align-items: center;
  padding: 0;
  margin: 0;
}

.nav-links li {
  display: flex;
  align-items: center;
  color: #fff;
  padding: 10px 30px;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.2em;
  position: relative;     /* ホバーアンダーライン用 */
}

.nav-links li:last-child {
  padding: 0;
}

/* 通常時：すべて白 */
.nav-links li a {
  color: #fff;
}

/* 現在ページ（スクロール前でも常に強調色） */
.nav-links li a.current {
  color: #c00; 
}

/* スクロール後：他のリンクだけ薄いグレーに */
.site-header.scrolled .nav-links li a {
  color: #949495;
}

/* ただし、現在ページはスクロール後も強調色を維持 */
.site-header.scrolled .nav-links li a.current {
  color: #c00;
}

.nav-links li:hover a {
  color: #c00;
}

/* ホバー時の下線アニメーション */
.nav-links li::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #c00;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav-links li:hover::after {
  transform: scaleX(1);
}

/* no-hoverクラス（画像リンク等）用 */
.nav-links li.no-hover:hover a {
  color: inherit; /* 文字色変えない */
}

.nav-links li.no-hover::after,
.nav-links li.no-hover:hover::after {
  transform: none;
  content: none;
}

/* 電話画像 */
.tell-img {
  height: 50px;        /* 高さ固定 */
  width: auto;         /* 横幅自動調整 */
  object-fit: contain; /* 縦横比維持 */
  display: block;      /* 不要な隙間回避 */
  max-width: 100%;     /* 親からはみ出さない */
}

/* ===========================
   ハンバーガーメニュー
   =========================== */
/* PC共通のスタイル */
.hamburger {
  display: none;        /* PCでは非表示 → メディアクエリ内で上書き */
  position: relative;
  width: 50px;
  height: 50px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  border: none;
  cursor: pointer;
  z-index: 10000;

  /* 中央に線を配置する設定 */
  justify-content: center;
  align-items: center;
}

/* 3本線 */
.hamburger span {
  position: absolute;
  width: 60%;           
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger span:nth-child(1) { top: 14px; }
.hamburger span:nth-child(2) { top: 23px; }
.hamburger span:nth-child(3) { top: 32px; }

/* 開いた状態 */
.hamburger.active span:nth-child(1) {
  top: 23px;
  transform: rotate(45deg);
  
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  top: 23px;
  transform: rotate(-45deg);

}
/* ===========================
   固定表示ボタン（右下）
   =========================== */
#fixed-buttons {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 10000;

  /* 初期は非表示 */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* 表示時 */
#fixed-buttons.show {
  opacity: 1;
  pointer-events: auto;
}

/* ボタン共通 */
.fixed-btn {
  border: none;
  padding: 10px;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 画像ボタン内の画像調整 */
.fixed-btn.image-btn {
  max-width: 200px;    /* 横幅 */
  height: auto;   /* 高さ */
  padding: 12px;  /* 余白を少し増やす */
}

.fixed-btn.image-btn img {
  width: 100%;    /* ボタン内の画像はボタンいっぱいに */
  height: 100%;
}

/* トップに戻るボタンサイズ調整 */
.scroll-top-btn {
  font-size: 18px;
  line-height: 1;
  width: 40px;
  height: 40px;
}

.fixed-btn.scroll-top-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;              /* 丸くする */
  font-size: 24px;                 /* 矢印の大きさ */
  font-weight: bold;
  color: #a3282e;
  background: white;
  border: 2px solid #a3282e;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s ease;

  /* ▼ 中央に揃えるための設定 */
  display: flex;
  align-items: center;
  justify-content: center;


  margin: 0 auto;           /* 不要（position: fixed の中なので） */
  line-height: 1;           /* 行間をリセット */
  text-align: center;       /* 横中央 → flexで対応済 */
}

.fixed-btn.scroll-top-btn:hover { 
  background: #a3282e;/* ホバー時の色変化 */
  color: white;
}

#fixed-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

#fixed-buttons.hide {
  opacity: 0;
  visibility: hidden;
}

/* ===========================
   contact　ご予約・お問い合わせ
=========================== */
.contact-container{
  padding: 50px 20px 80px;
  max-width: 1200px;
  margin: 0 auto;
}
.contact-info{
background-image:url("../images/yoyaku_haikei.jpg");
background-position: center;
background-size: cover;
background-repeat: no-repeat;
text-align: center;
font-family: "Yu Mincho", "游明朝", "Hiragino Mincho ProN", "Noto Serif JP", serif;
}
.contact-container h2{
	color:#FFFFFF;
	border-bottom: solid 2px #ffffff;
	max-width: 500px;
	margin:0 auto 40px;
}
.contact-actions {
  display: flex;
  gap: 2em;
  justify-content: space-between;
  flex-wrap: wrap;
}

.action-item {
  max-width: 500px;
  text-align: center;
  margin: 0 auto;
}

.label {
  display: block;
  margin-bottom: 0.5em;
  color: white;
  font-size: 1.2rem;
  font-weight: bold;
  letter-spacing: 0.2em;
}

.action-item img {
  width: 100%;
  height: auto;
  display: block;
}

.action-item a {
  display: inline-block;
  text-decoration: none;
}
.contact-actions .action-item{
	text-align: left;
}
.contact-actions .action-item:nth-of-type(2) {
 text-align: center;
}
.contact-actions .action-item img {
   max-width: 350px;
   margin: 0 auto;
}
.contact-actions .action-item:nth-child(2) img {
   transition: filter 0.3s ease;
}
.contact-actions .action-item:nth-child(2):hover img {
  filter: brightness(1.1); 
}
#contact {
  scroll-margin-top: 250px; /* ヘッダーの高さに合わせる */
}
/* ===========================
   access　アクセス
=========================== */
.access{
  padding: 100px 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.access-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;

}
.pin-icon {
  display: inline-block;
  vertical-align: middle;
  color: #a3282e;
  line-height: 1;
  position: relative;
  width: 1.6em;  /* 0.8em → 1.6em */
  height: 1.6em; /* 0.8em → 1.6em */
  background: currentColor;
  border: 0.2em solid currentColor;  /* 0.1em → 0.2em */
  border-radius: 40% 60% 0% 100% / 40% 100% 0% 60%;
  box-sizing: content-box;
  transform: rotate(45deg);
}

.pin-icon::before {
  content: '';
  position: absolute;
  top: 18%;     /* そのままでOK */
  left: 18%;
  width: 0.672em;  /* 0.336em → 0.672em */
  height: 0.672em; /* 0.336em → 0.672em */
  background: #fff;
  border-radius: 50%;
  box-sizing: border-box;
}

/* ===========================
   フッター全体
=========================== */
.footer {
  background-color: #77282e;
  color: white;
  padding: 40px 20px;
  font-family: 'Hiragino Kaku Gothic ProN', sans-serif;
}

/* ===========================
   レイアウト
=========================== */
.footer-container {
  display: flex;
  flex-direction: row;            /* row を横並びに */
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-row {
  display: flex;
  flex: 1;
  gap: 20px;
}

.footer-column {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex: 1;
  text-align: left;
}

/* ===========================
   各カラム
=========================== */

/* ロゴ */
.footer-logo {
  width: 260px;
  max-width: 100%;
  height: auto;
}

/* 連絡先 */
.footer-phone {
  font-size: 1.5em;
}

.footer-address {
  font-size: 0.9em;
  margin-top: 10px;
  align-self: flex-start; 
}
.footer-column.contact-column{
	max-width:280px;
}

/* ナビゲーション */
.footer-nav {
  list-style: none;
  padding: 0;
  font-size: 1em;
  line-height: 1.8;
}

.footer-nav li {
  position: relative;
  padding-left: 1.2em;
  padding-bottom: 10px;
  transition: all 0.3s ease;
}

.footer-nav li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  color: white;
  font-size: 1em;
  transition: opacity 0.2s ease;
  opacity: 0;
}

.footer-nav li:hover::before {
  content: '▶';
  opacity: 1;
}

/* バナー */
.footer-banner {
  width: 320px;
  max-width: 100%;
  height: auto;
}

.footer-column.banner-column {
  min-height: 180px;
}

.footer-column.banner-column a {
  display: flex;
  align-items: center;
}

/* ===========================
   レスポンシブ対応
=========================== */
@media screen and (max-width: 768px) {
  .footer {
	 padding: 40px 30px;
	}
  .footer-container {
    flex-direction: column;
    align-items: center;
  }

  .footer-row {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .footer-column {
    width: 100%;
    align-items: flex-start;
    text-align: left;
    margin-bottom: 20px;
  }

  .footer-logo,
  .footer-banner {
    margin: 0 auto;
  }

  .footer-banner {
    max-width: 280px;
    width: 100%;
  }

  .footer-row, .footer-column {
    min-width: 0; /* スマホなど狭い画面では解除 */
  }
}




/* ===========================
   モバイル用スタイル（1200px以下）
   =========================== */
@media screen and (max-width: 1200px) {
  .hamburger {
    display: flex;
    position: absolute;
    top: 45px;
    right: 30px;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -50%;          /* 画面外に隠す */
    width: 50%;           /* 画面の半分 */
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    transition: right 0.3s ease;
    z-index: 9999;
    justify-content: center; /* 縦中央 */
    padding: 0 20px;
  }

  /* メニュー開いた状態 */
  .nav-links.active {
    right: 0;             /* 画面端にスライド */
  }

  /* メニュー内リンク装飾 */
  .nav-links li {
    padding: 10px 0;
  }

  .nav-links li a {
    color: #000;
    font-size: 1.2rem;
    font-weight: 600;
    font-family: "Yu Mincho", "游明朝", "Hiragino Mincho ProN", "Noto Serif JP", serif;
    text-decoration: none;
  }

  .nav-links li a:hover {
    color: #c00;
  }
}

/* ===========================
   ロゴサイズ調整（768px以下）
   =========================== */
@media screen and (max-width: 768px) {
	.site-header {
    padding: 30px 20px 0;
}
  .logo {
    max-width: 150px;
  }
	.fixed-btn.image-btn {
    max-width: 130px;
    height: auto;
    padding: 12px;
}
	#fixed-buttons {
    right: 5px;
    gap: 0px; 
}
}
@media screen and (max-width: 428px){
	.footer{
		display: none;
	}
}
