@charset "utf-8";
/* CSS Document */
body {
  background-color: #F6F8F9;
}
h2 {
  font-family: "Noto Serif JP", serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
  font-size: 40px;
}
h2 span {
  font-family: "Cormorant", serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
  font-size: 46px;
}
/* p */
p {
  font-family: "Noto Serif JP", serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
  font-size: 16px;
}
/* btn */
.btn1 {
  background-color: #D9B06A;
  width: 190px;
  border-radius: 50px;
  text-align: center;
}
.btn2 {
  background-color: #A5B8A4;
  width: 110px;
  border-radius: 50px;
  text-align: center;
  margin-top: 20px;
}
.btn1 a, .btn2 a {
  color: #F6F8F9;
  display: inline-block;
  padding: 20px;
  text-decoration: none;
}
.btn1 a:hover {
  transform: scale(1.1, 1.1);
}
.btn2 a:hover {
  transform: scale(1.1, 1.1);
}
.firstview {
  width: 100%;
}
/* header */
header {
  position: absolute;
  background-color: rgba(45, 62, 80, 0.5);
  width: 100%;
  height: 135px;
  border-radius: 0 0 50px 50px;
  z-index: 1;
}
nav ul li {
  display: inline-block;
  width: 80px;
  margin: 0 50px;
  font-family: "Cormorant", serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
  font-size: 32px;
}
nav a {
  position: relative;
  color: #F6F8F9;
  text-decoration: none;
  display: inline-block;
}
nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -5px; /* 文字のすぐ下に表示 */
  width: 100%;
  height: 2px;
  background-color: #F6F8F9;
  /* 最初は横幅ゼロ */
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}
/* ホバー時にスケールアップ（中央から左右に伸びる） */
nav a:hover::after {
  transform: translateX(-50%) scaleX(1);
}
#head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
}
#head_img {
  padding-left: 50px;
}
#head_nav {
  padding-right: 50px;
}
#fb {
  position: relative;
  max-width: 100%;
}
/* --- ハンバーガーボタン --- */
#hamburger {
  display: none; /* PCでは非表示 */
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  cursor: pointer;
  z-index: 1001; /* navより前に出す */
}
#hamburger span {
  display: block;
  height: 3px;
  background: #F6F8F9;
  border-radius: 2px;
}
/* --- スマホ用メニュー --- */
@media screen and (max-width: 768px) {
  header img {
    width: 50px;
    height: 50px;
  }
  nav ul {
    position: fixed;
    top: 135px; /* ヘッダーの高さ分 */
    right: -100%; /* 初期は画面外 */
    width: 200px;
    height: 100%;
    background: rgba(45, 62, 80, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: right 0.3s ease;
    padding-top: 30px;
  }
  nav ul li {
    display: block;
    margin: 20px 0;
    font-size: 20px;
  }
  /* ハンバーガーボタンはスマホ時だけ表示 */
  #hamburger {
    display: flex;
  }
  /* メニューが開いたときのスタイル */
  nav ul.active {
    right: 0;
  }
}
/* h1 */
h1 {
  text-align: center;
  font-family: "Cormorant", serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
  font-size: 64px;
  margin: 0 auto;
  color: #F6F8F9;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
#fb img {
  padding-bottom: 50px;
}
#index-text {
  display: block;
  box-sizing: border-box;
  width: 60%;
  height: 400px;
  background-color: #2D3E50;
  color: #F6F8F9;
  padding: 30px;
  margin: auto;
}
#index-text h2 {
  line-height: 1.5;
  padding: 30px;
}
#index-text p {
  line-height: 2;
  padding: 40px;
}
#aloma {
  text-align: center;
}
#aloma img {
  display: block;
  margin: 100px auto 120px auto;
}
.flex-box1 {
  display: flex;
  box-sizing: border-box;
  justify-content: center;
  align-items: center;
  margin: 50px auto;
  width: 955px;
}
.flex-box2 {
  display: flex;
  box-sizing: border-box;
  justify-content: center;
  align-items: center;
  margin: 50px auto;
  width: 955px;
  flex-direction: row-reverse; /* 左右を反転 */
}
.flex-img {
  padding: 50px;
}
.flex-img img {
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5)
}
.flex-text h2 {
  padding: 20px;
  background-color: #2D3E50;
  color: #F6F8F9;
  border-radius: 50px 0;
}
.flex-text p {
  line-height: 1.5;
  margin-top: 50px;
  color: #1c1c1c;
}
/* #candle-time セクション全体 */
#candle-time {
  background-color: #2D3E50;
  color: #F6F8F9;
  text-align: center;
  padding: 100px 0;
}
/* 見出し */
#candle-time h2 {
  font-size: 36px;
  margin-bottom: 40px;
  color: #F6F8F9;
}
/* テーブル全体 */
#candle-table table {
  margin: 0 auto;
  border-collapse: collapse; /* 枠線を重ねない */
  width: 80%;
  max-width: 800px;
  background-color: #F6F8F9;
  color: #2D3E50;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}
/* 各セル */
#candle-table th, #candle-table td {
  padding: 20px 25px;
  text-align: left;
  border-bottom: 1px solid #D9B06A;
  font-family: "Noto Serif JP", serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
  font-size: 16px;
}
/* 左側（th）だけ色を変える */
#candle-table th {
  background-color: #D9B06A;
  color: #2D3E50;
  width: 30%;
  font-weight: bold;
}
/* 最後の行だけ下線を消す */
#candle-table tr:last-child td, #candle-table tr:last-child th {
  border-bottom: none;
}
/* 注意書き部分 */
#candle-time p {
  margin-top: 20px;
  font-size: 14px;
  color: #F6F8F9;
}
/* ボタン位置 */
#candle-time .btn1 {
  margin: 40px auto 0 auto;
}
.attention{
	padding-top: 20px;
	font-family: "Noto Serif JP", serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
  font-size: 16px;
}
/* footer */

footer p{
	text-align: center;
	padding-bottom:10px;
}
#sns{
	display: flex;
	justify-content: center;
	gap: 30px;
	padding-top: 30px;
	padding-bottom: 30px;
}
/* --------------------------------
   リキッドレイアウト調整
-------------------------------- */

/* 全体を横幅可変に */
body, section, div, img {
  max-width: 100%;
  height: auto;
}

/* 固定幅のコンテナをリキッド化 */
.flex-box1,
.flex-box2 {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 50px auto;
  width: 90%;              /* ← 955pxを相対値に変更 */
  max-width: 1000px;       /* ← 最大値を制限 */
}

/* テキストや画像の比率を自然に */
.flex-img img {
  width: 100%;
  max-width: 390px;        /* 元の画像幅を上限に */
  height: auto;
}

/* --------------------------------
   スマホ用（1カラム）レイアウト
-------------------------------- */
@media screen and (max-width: 768px) {

  /* flexレイアウトを縦方向に変更 */
  .flex-box1,
  .flex-box2 {
    flex-direction: column; /* ← 横並び→縦並び */
    width: 95%;
    margin: 40px auto;
  }

  .flex-img {
    padding: 20px 0;
  }

  .flex-text h2 {
    font-size: 28px;
    border-radius: 20px 0;
  }

  .flex-text p {
    font-size: 15px;
    margin-top: 20px;
  }

  /* テキストボックスも可変に */
  #index-text {
    width: 90%;
    height: auto;
    padding: 20px;
  }

  /* 見出しサイズ調整 */
  h1 {
	  position: absolute;
	  top: 50%;
    font-size: 40px;
  }

  /* テーブルを画面幅にフィット */
  #candle-table table {
    width: 95%;
    font-size: 14px;
  }

  #candle-table th, #candle-table td {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }

  #candle-table th {
    border-bottom: none;
  }

  /* ボタンサイズもスマホ用に */
  .btn1 {
    width: 70%;
  }
  #fb img{
		height: 500px;
	}
}
/* フェードアップ用初期状態 */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s ease-out;
}

/* 表示時に適用される状態 */
.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}