@charset "utf-8";
/* CSS Document */
body {
	max-width: 100%;
  margin: 0 auto;
  padding: 0;
  font-family: Rounded Mplus 1c, sans-serif;
  background-image: url("../image/野菜背景用イラスト1080ｘ1920.jpg");
  background-size: 150%;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
h1{color: white;
	font-size: 32px;
text-decoration-color: white;
text-shadow: 2px 4px 3px white;}
.farmily {font-family: Caveat;
font-size: 40px;}
h1 {
  color: white;
  font-size: 32px;
  text-shadow: 2px 4px 3px white;
  position: relative;
  z-index: 2;
  margin-top: 120px; /* ヘッダーと被らないように */
}
.farmily {
  font-family: Caveat;
  font-size: 40px;
  display: block;
  margin-top: 10px;
}
h2 {font-size: 24px;}
header { /*ヘッダーの詳細設定。幅高さ色など*/
  position: fixed;
  top: 0;
  left: 0;
  height: 60px;
  width: 100%;
  z-index: 10;
  opacity: 0.75;
  background-color: green;
}
.logo img { /*ロゴアイコンの幅高さ調整*/
  padding-left: 16px;
  padding-top: 10px;
  width: 50px;
  height: 50px;
}
.menu-checkbox { /*チェックボックス非表示*/
  display: none;
}
 /* ハンバーガーアイコン */
.menu-icon {
  width: 30px;
  height: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 2;
  position: absolute;
  top: 12px;
  right: 20px; /*右上配置*/
}
.menu-icon span {
  display: block;
  height: 2px;
  background: black;
  border-radius: 2px;
  transition: 0.3s;
}
/*チェック時のアニメーション*/
.menu-checkbox:checked + .menu-icon span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.menu-checkbox:checked + .menu-icon span:nth-child(2) {
  opacity: 0;
}
.menu-checkbox:checked + .menu-icon span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}
/* ナビゲーション */
.inner {
  background-color: #71574F;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  opacity: 0;
}
.menu-checkbox:checked ~ .inner {
  max-height: 350px;
  opacity: 1;
  transition: max-height 0.3s ease, opacity 0.3s ease;
}
@keyframes glitch {
  0% {
    transform: translate(0, 0);
  }
  20% {
    transform: translate(-2px, 2px);
  }
  40% {
    transform: translate(2px, -2px);
  }
  60% {
    transform: translate(-1px, 1px);
  }
  80% {
    transform: translate(1px, -1px);
  }
  100% {
    transform: translate(0, 0);
  }
}
/* グリッチ風に崩れて消えるアニメ */
@keyframes glitchOut {
  0% {
    transform: translate(0, 0) skew(0deg);
    opacity: 1;
  }
  20% {
    transform: translate(-3px, 2px) skew(-5deg);
    opacity: 0.8;
  }
  40% {
    transform: translate(3px, -2px) skew(5deg);
    opacity: 0.6;
  }
  60% {
    transform: translate(-5px, 3px) skew(-3deg);
    opacity: 0.4;
  }
  80% {
    transform: translate(5px, -3px) skew(3deg);
    opacity: 0.2;
  }
  100% {
    transform: translate(0, 0) skew(0deg);
    opacity: 0;
  }
}
.menu-checkbox:not(:checked) ~ .inner {
  animation: glitchOut 0.4s ease;
}
.inner ul {
  list-style: none;
  padding: 10px 0;
  margin: 0;
}
.inner li {
  padding: 12px 20px;
}
.inner a {
  color: white;
  text-decoration: none;
}
/* ===========================
    ハンバーガーアイコンここまで
=========================== */
/* 予約セクション */
#reservation {
  background-color: rgba(245, 245, 245, 0.8);
  padding: 60px 20px;
  font-family: 'HannariMincho', serif;
}

.section-title {
  font-size: 1.5rem;
  margin: 0 auto 30px;
  border-bottom: 2px solid #333;
	width: fit-content;
  display: block;
  text-align: center;
padding-top: 30px;}

.reservation-form {
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.reservation-form label {
  font-weight: bold;
  font-size: 0.95rem;
}

.reservation-form input,
.reservation-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #aaa;
  border-radius: 6px;
  font-size: 1rem;
}

.reservation-form span {
  color: red;
}

.submit-btn {text-align: center;
  background-color: #c9ad30;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 999px;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 4px 0 #888;
  transition: background 0.3s ease;
 transform: translateY(0);
  transition: background 0.3s ease, transform 0.2s;}

.submit-btn:hover {
  background-color: #b89824;
}/*ここまで予約フォーム*/
/*ここからお問い合わせ*/
/* お問い合わせセクション */
#contact {
  background-color: rgba(245, 245, 245, 0.85);
  padding: 60px 20px;
  font-family: 'HannariMincho', serif;
}

.contact-form {
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form label {
  font-weight: bold;
  font-size: 0.95rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #aaa;
  border-radius: 6px;
  font-size: 1rem;
}

.contact-form span {
  color: red;
}

.contact-form .submit-btn {
  background-color: #c9ad30;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 999px;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 4px 0 #888;
  transition: background 0.3s ease;
}

.contact-form .submit-btn:hover {
  background-color: #b89824;
}
/*ここまでがお問い合わせ*/
footer {
  background-color: rgba(176, 222, 245, 0.3); /* 薄い水色背景 */
  text-align: center;
  padding: 40px 20px;
  font-size: 14px;
  font-family: "HannariMincho", serif;
}

/* ボタン（予約・お問い合わせ） */
.footer-buttons {
  margin-bottom: 20px;
}
.footer-btn {
  display: inline-block;
  background-color: #c9ad30;
  color: white;
  padding: 10px 20px;
  margin: 5px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 4px 0 #444;
}
.footer-btn:hover {
  background-color: #b89824;
	transform: translateY(-2px);}
/* ロゴ */
.footer-logo img {
  width: 80px;
  height: 80px;
  margin: 20px 0;
}

/* ナビリンク */
.footer-nav ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  margin: 20px 0;
  gap: 10px;
}

.footer-nav li {
  list-style: none;
}

.footer-nav a {
  color: #000;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s, background-color 0.3s;
  padding: 5px 10px;
  border-radius: 5px;
}

.footer-nav a:hover {
  color: 
	  #000;
  background-color: #fff; /* ホバー時の背景色 */
}

/* SNS */
.footer-sns {
  margin-top: 20px;
  margin-bottom: 30px; /* ← コピーライトとの距離を追加 */
  display: flex;
  justify-content: center;
  gap: 30px; /* ← アイコン同士の間隔を広げる */
}
.footer-sns img {
  width: auto;
  height: 30px;
  ;
}
/* コピーライト */
.footer-copy {
  font-size: 20px;
  color: #000;
}/*ここからメディアクエリ*/
@media screen and (min-width: 1024px) {
  body {
    max-width: 100%;
    margin: 0 auto;
 padding-top: 80px; } 
   /* ハンバーガー非表示 */
  #menu-toggle,
  .menu-icon {
    display: none;
  }
/*ここからヘッダー*/
   header {
    display: flex;
    align-items: center;
    justify-content: space-between; /* ← 横並びに */
    padding: 20px 40px;
    max-width: 100%;
    margin: 0 auto;
    height: 80px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background-color: green; /* ← 背景色を明示 */border-bottom: 2px solid white;
  }

  .logo img {
    display: block;
    height: 60px;
    width: 60px;
  }

  .inner {
    display: block !important;
    opacity: 1 !important;
    max-height: none !important;
  }

  .inner ul {
    display: flex !important;
    justify-content: flex-end;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
    background-color: green;
  }

  .inner ul li a {
    text-decoration: none;
    color: #fff;
    font-size: 1.1rem;
    white-space: nowrap;
    text-shadow: 2px 4px 3px #000;
   position: relative;}
	.inner ul li a::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #fff;
    transition: width 0.3s ease;
  }

  .inner ul li a:hover::after {
    width: 100%;
	}footer {
    font-size: 1.1rem;
    padding: 60px 40px;
  }
/*ここまでheader*/
  .footer-nav ul {
    flex-direction: row;
    justify-content: center;
    gap: 40px;
  }

  .footer-nav a {
    font-size: 1.1rem;
  }

  .footer-copy {
    font-size: 1.2rem;
    margin-top: 30px;
  }

  .footer-btn {
    font-size: 1rem;
    padding: 12px 26px;
  }

  .footer-sns img {
    height: 36px;
  }
	/*ここまでがfooter*/
	 #access,
  footer {
    width: 100%;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
   margin: 0;
	}/*ここまでがfooter*/
}
/*ここまでがメディアクエリ*/
