/* リセット（余計な隙間を消す） */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Noto Serif JP', serif;
  background: #fcf5f1;
  padding-top: 90px; /* ヘッダーの高さに合わせて調整 */
  min-height: 100vh; /* 画面の高さいっぱいに */
  
}

main {
  flex: 1; /* 利用可能なスペースをすべて占有 */
}

/* ローディング画面スタイル */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff8f0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading-content {
    text-align: center;
}

.bento-box {
    width: 150px;
    height: 150px;
    background-color: #f0e0d0;
    border: 3px solid #d0a080;
    border-radius: 10px;
    position: relative;
    margin: 0 auto 20px;
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.rice {
    width: 80%;
    height: 50%;
    background-color: #fff;
    border-radius: 5px;
    position: absolute;
    top: 10%;
    left: 10%;
    animation: pulse 1.5s infinite;
}

.side-dish {
    width: 20%;
    height: 15%;
    border-radius: 3px;
    position: absolute;
    animation: pulse 1.5s infinite;
}

.side1 {
    background-color: #ff9999; /* 鮭色 */
    top: 70%;
    left: 15%;
    animation-delay: 0.2s;
}

.side2 {
    background-color: #99cc99; /* 野菜色 */
    top: 70%;
    left: 40%;
    animation-delay: 0.4s;
}

.side3 {
    background-color: #ffcc99; /* 卵焼き色 */
    top: 70%;
    left: 65%;
    animation-delay: 0.6s;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.05); opacity: 1; }
    100% { transform: scale(1); opacity: 0.7; }
}

.loading-content h1 {
    color: #d0a080;
    font-family: 'Arial', sans-serif;
    margin-bottom: 10px;
}

.loading-content p {
    color: #a08060;
    font-family: 'Arial', sans-serif;
}

/* メインコンテンツスタイル */
.main-content {
    padding: 20px;
    font-family: 'Arial', sans-serif;
    color: #333;
}

/* ヘッダー開始 */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  background-color: #ffffff;
  flex-wrap: wrap;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* ロゴと写真のコンテナ */
.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ロゴ写真 */
.header-photo {
  width: 60px;
  height: 60px;
  object-fit: cover;
}

.logo h1 {
  font-family: 'Noto Serif JP', serif;
  font-size: 5vmin;
}

/* 電話番号ボタン */
.phone-button {
  display: flex;
  align-items: center;
  background-color: #ff9234;
  color: white;
  padding: 8px 15px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s;
  order: 2;
  margin-left: auto;
}

.phone-button:hover {
  background-color: rgb(121, 48, 0);
}

.phone-icon {
  margin-right: 0;
  font-size: 20px;
}

.phone-text {
  display: none;
}

/* ハンバーガーメニューアイコン */
.hamburger {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 100;
  order: 3;
}

.hamburger-line {
  display: block;
  width: 25px;
  height: 3px;
  background: #333;
  margin: 5px 0;
  transition: all 0.3s ease;
}

/* ハンバーガーアイコンのアニメーション */
.hamburger.active .hamburger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ナビゲーションメニュー */
.nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 70%;
  height: 100vh;
  background: #fff8f0;
  padding: 80px 20px 20px;
  transition: right 0.3s ease;
  z-index: 99;
}

.nav.active {
  right: 0;
}

.nav-list {
  display: flex;
  flex-direction: column;
  list-style: none;
  gap: 15px;
}

.nav-list a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  padding: 5px 0;
  position: relative;
}

/* ヒーロー画像 */
.hero {
  position: relative;
  width: 100%;
  height: 60vh;
  min-height: 400px;
  max-height: 800px;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

/* テキストコンテンツ */
.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  color: white;
  text-align: center;
  width: 90%;
  max-width: 1000px;
}

.hero-text h2 {
  font-size: 3rem; /* 文字サイズを大きく */

  

  color: #ff7676; /* 文字色を白に（必要に応じて変更） */
  padding: 10px; /* 余白を追加 */
  line-height: 1.2; /* 行間を調整 */
}



/* スライダー開始 */
.wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-flow: column;
  min-height: 5vh;
  transform-style: preserve-3d;
  padding: 10px 0;
}

.box {
  position: relative;
  display: block;
  transform-style: preserve-3d;
  perspective: 400px;
  transform: translate3d(0,0,0);
  width: 100vw;
  height: 40vw;;
  margin: 0 auto;
}

.item {
  position: absolute;
  left:  25.5%;
  width: 49vw;
  height: 30vw;
  background-color: #fff;
  transform-style: preserve-3d;
  transform-origin: bottom;
  user-select: none;
  -webkit-box-reflect: below 1px linear-gradient(transparent, transparent, #0002);
  transition: all 0.8s ease, opacity 0s;
}

.item-1 {
  transform: translate3d(-35vw, -7vw, 0) scale(0.5) rotateY(25deg);
} 
.item-2 {
  transform: translate3d(-35vw, -7vw, 0) scale(0.5) rotateY(25deg);
}

.item-3 {
  transform: translate3d(-25vw, -5vw, 0) scale(0.6) rotateY(15deg);
}

.item-4 {
  transform: translate3d(0px, 0, 0) scale(0.9) rotateY(0deg);
}

.item-5 {
  transform: translate3d(25vw, -5vw, 0) scale(0.6) rotateY(-15deg);
}

.item-6 {
  transform: translate3d(35vw, -7vw, 0) scale(0.5) rotateY(-25deg);
}

.item-7 {
  transform: translate3d(35vw, -7vw, 0) scale(0.5) rotateY(-25deg);
}

.box img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.buttons {
  position: relative;
  display: flex;
  gap: 20px;
}

.buttons span {
  position: relative;
  width: 50px;
  height: 50px;
  border: 2px solid #000000;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0.5;
}

.buttons span:hover {
  opacity: 1;
}

.buttons span::before {
  content: '';
  position: absolute;
  left: 20px;
  width: 10px;
  height: 10px;
  border-top: 2px solid #000000;
  border-left: 2px solid #000000;
  rotate: -45deg;
}

.buttons span:last-child:before {
  content: '';
  position: absolute;
  left: initial;
  right: 20px;
  width: 10px;
  height: 10px;
  border-top: 2px solid #000000;
  border-left: 2px solid #000000;
  rotate: 135deg;
}

/* スライダー終了 */

/* メニュー一覧 */


.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 20px;
}

.section {
  background-color: #fdfdfd;
  padding: 40px 0;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  color: #000000;
  margin-bottom: 10px;
  padding-top: 20px;
}

.menu-item {
  background: rgb(255, 255, 255);
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 3px 10px rgba(0.1,0.1,0.1,0.5);
  text-align: center;
}

.menu-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 10px;
  object-fit: cover;
}

.menu-button-container {
  text-align: center;
  margin: 30px 0;
  padding-bottom: 40px;
}

.menu-button {
  display: inline-block;
  padding: 12px 30px;
  background: #002089;
  color: white;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: 2px solid #000000;
}

.menu-button:hover {
  background: transparent;
  color: white;
  border-color: white;
  transform: scale(1.05);
}

/* カレンダー開始 */
.calendar-section {
  padding: 40px 20px;
  background-color: rgb(243, 243, 243);
}

.calendar-font{
 padding: 0 0 15px;
text-align: center;
}

.calendar-container {
  position: relative;
  width: 100%;
  padding-top: 10px;
  padding-bottom: 75%;
  height: 0;
  overflow: hidden;
  max-width: 800px;
  margin: 0 auto;
}

.calendar-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 8px;
}

/* お知らせセクション */
.notice-section {
  background-color: #ffffff;
  padding: 40px 0;
}

.notice-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.notice-item {
  background: white;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  box-shadow: 0 2px 5px rgba(2,2,2,.3);
  display: flex;
  gap: 20px;
}

.notice-date {
  color: #ff9234;
  font-weight: bold;
  min-width: 100px;
  padding-top: 3px;
}

.notice-content h3 {
  color: #333;
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.notice-content p {
  color: #666;
  line-height: 1.5;
}

.notice-button-container {
  text-align: center;
  margin-top: 30px;
}

/* Googleマップセクション */
.map-section {
  background-color: #f4f2f2;
  padding: 40px 20px;
}

.map-container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  border-radius: 8px;
  overflow: hidden;
}

.map-container iframe {
  width: 100%;
  height: 450px;
  display: block;
  border: none;
}

.map-info {
  max-width: 800px;
  margin: 25px auto 0;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background: #ffffff;
  border-radius: 5px;
}

.info-item i {
  color: #ff9234;
  font-size: 1.2rem;
  min-width: 25px;
  text-align: center;
}

/* お問い合わせ完了ページスタイル */
.thanks-message {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.thanks-message h2 {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 20px;
}

.thanks-message h2 i {
    color: var(--primary);
    margin-right: 15px;
}

.thanks-message p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.back-to-top {
    margin-top: 30px;
}

.error-message {
    color: #e74c3c;
    font-size: 0.9rem;
    display: block;
    margin-top: 5px;
}

.alert {
    padding: 15px;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 5px;
    margin-bottom: 20px;
}

/* フッター */
.footer {
  text-align: center;
  padding: 30px 20px;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  margin-top: auto; /* 自動マージンで下部に配置 */
}

.footer-logo {
  width: 80px;
  height: 80px;
  margin-bottom: 10px;
}

.footer-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer p {
  color: #000000;
  font-size: 0.9rem;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  /* スライダー調整 */

  
  
  .item {
    width: 49vw;
    height: 30vw;
    -webkit-box-reflect: below 5px linear-gradient(transparent, transparent, #0002);
  }
  
  
  
  .buttons span {
    width: 35px;
    height: 35px;
  }
  
  .buttons span::before {
    left: 12px;
    width: 7px;
    height: 7px;
  }
  
  .buttons span:last-child:before {
    right: 12px;
    width: 7px;
    height: 7px;
  }

  
  
  
  
  /* メニューグリッド */
  .menu-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 10px;
  }

  .menu-item {
    padding: 8px;
  }

  .menu-item img {
    width: 100%;
    object-fit: cover;
  }

  .menu-item h3 {
    font-size: 0.9rem;
    margin: 5px 0;
  }

  .menu-item p {
    font-size: 0.8rem;
  }
  
  /* カレンダー */
  .calendar-section {
    padding: 20px 20px;
  }

  

  .calendar-container {
    padding-bottom: 120%;
  }

  /* お知らせ */
  .notice-item {
    flex-direction: column;
    gap: 10px;
  }

  .notice-date {
    padding-bottom: 5px;
    border-bottom: 1px dashed #eee;
  }

  .notice-section {
    padding: 30px 0;
  }

  /* マップ */
  .map-section {
    padding: 30px 0;
  }

  .map-container {
    padding: 0 10px;
  }

  .map-info {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .info-item {
    padding: 12px 15px;
  }

  .calendar-font{
 padding: 0 0 10px;
text-align: center;
font-size: 10px;
}
  /* フッター */
  .footer {
    padding: 25px 15px;
  }

  .footer-logo {
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 468px) {
 .menu-item h4 {
    font-size: 0.8rem;
    margin: 5px 0;
  }
  }
