@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&display=swap');
body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow-x: hidden;
  font-size: 16px;
  font-family: "Libre Baskerville", serif;
  font-style: normal;
  font-weight: 400;
}
h1 {
  text-align: center;
  font-size: 3rem;
  font-weight: 700;
}
h2 {
  text-align: center;
  margin: 72px auto 24px;
  font-size: 2rem;
  border-bottom: #4CAF50 2px solid;
}
.content {
  display: flex;
}
.centered-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  white-space: nowrap;
  animation: fadeInColor 3s ease-in-out;
}
@keyframes fadeInColor {
  from {
    opacity: 0;
    color: #4CAF50;
  }
  to {
    opacity: 1;
    color: white;
  }
}
.right {
  margin-left: 50%;
  padding: 0 20px;
  overflow-y: auto;
  height: auto;
  width: 100%;
}
/* blog--------------------------------------------------------- */
.blog-container {
  display: block;
  text-align: left;
  margin-top: 32px;
  width: 100%;
  height: auto;
  background-color: #8bf58f;
  border-radius: 50px;
}
.blog-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 24px;
  overflow: hidden;
}
.blog-container h2 {
  font-size: 1.5rem;
  margin: 32px auto;
  padding: 0 16px;
}
.blog-container p {
  text-align: center;
  padding: 16px;
  margin: 0;
}
.blog-link {
  text-decoration: none;
  color: black;
}
/* blog--------------------------------------------------------- */
.card {
  background-color: white;
  max-width: 100%;
  height: auto;
}
/* staff--------------------------------------------------------- */
.staff {
  max-width: 700px;
  padding: 0 20px;
}
.staff li {
  margin: 0 auto;
  width: 100%;
}
ul {
  text-align: left;
}
.staff h2 {
  text-align: center;
  margin: 50px auto;
  font-size: 2rem;
  text-align: center;
}
h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 32px auto;
  text-align: left;
}
/* staff----------------------------------------------------------- */
.button-container {
  position: relative;
}
.right-1 {
  width: 100%;
  height: auto;
  border-radius: 25px;
}
.right-1:hover {
  /* 画像を明るく鮮明にする */
  filter: brightness(1.2) saturate(1.2);
  transition: all 0.3s ease;
}
.right-2 {
  width: 100%;
  height: auto;
  border-radius: 50%;
}
.right-2:hover {
  /* 画像を明るく鮮明にする */
  filter: brightness(1.2) saturate(1.2);
  transition: all 0.3s ease;
}
.right-3 {
  width: 100%;
  height: auto;
  border-radius: 0 0 50% 50%;
}
.right-3:hover {
  /* 画像を明るく鮮明にする */
  filter: brightness(1.2) saturate(1.2);
  transition: all 0.3s ease;
}
.right-4 {
  width: 100%;
  height: auto;
  border-radius: 50% 50% 0 0;
}
.right-4:hover {
  /* 画像を明るく鮮明にする */
  filter: brightness(1.2) saturate(1.2);
  transition: all 0.3s ease;
}
.right-5 {
  width: 100%;
  height: auto;
  border-radius: 50% 0 0 0;
}
.right-5:hover {
  /* 画像を明るく鮮明にする */
  filter: brightness(1.2) saturate(1.2);
  transition: all 0.3s ease;
}
.right-6 {
  width: 100%;
  height: auto;
  border-radius: 0 0 50% 0;
}
.right-6:hover {
  /* 画像を明るく鮮明にする */
  filter: brightness(1.2) saturate(1.2);
  transition: all 0.3s ease;
}
.right-7 {
  width: 100%;
  height: auto;
  border-radius: 50% 50% 0 0;
}
.right-7:hover {
  /* 画像を明るく鮮明にする */
  filter: brightness(1.2) saturate(1.2);
  transition: all 0.3s ease;
}
/* ボタンの動き------------------------------------------------------- */
.button {
  position: absolute;
  bottom: 20px; /* 画像の下からの距離 */
  right: 20px; /* 画像の右からの距離 */
}
/* menu------------------------------------------------------------------ */
.button-menu {
  position: absolute;
  bottom: 20px; /* 画像の下からの距離 */
  right: 20px; /* 画像の右からの距離 */
}
.button-link-menu {
  background-color: #4CAF50; /* ボタンの背景色 */
  color: black; /* ボタンの文字色 */
  border: none; /* ボタンの枠線を消す */
  padding: 10px 25px; /* ボタンの内側の余白 */
  align-items: center; /* テキストを中央に寄せる */
  text-align: center; /* テキストの中央揃え */
  text-decoration: none; /* テキストの下線を消す */
  display: inline-block; /* インラインブロック要素にする */
  font-size: 3rem; /* フォントサイズ */
  font-weight: 700;
  border-radius: 15px; /* ボタンの角を丸くする */
  position: relative;
  overflow: hidden;
}
.button-menu:hover {
  transform: translateY(-5px); /* ホバー時のボタンの動き */
  transition: all 0.5s ease;
}
.button-container h3 {
  text-align: center;
  font-size: 2rem;
}
/* menu------------------------------------------------------------------ */
.button-link {
  background-color: #4CAF50; /* ボタンの背景色 */
  color: black; /* ボタンの文字色 */
  border: none; /* ボタンの枠線を消す */
  padding: 10px 25px; /* ボタンの内側の余白 */
  align-items: center; /* テキストを中央に寄せる */
  text-align: center; /* テキストの中央揃え */
  text-decoration: none; /* テキストの下線を消す */
  display: inline-block; /* インラインブロック要素にする */
  font-size: 1.5rem; /* フォントサイズ */
  font-weight: 700;
  cursor: pointer; /* カーソルをポインターにする */
  border-radius: 8px; /* ボタンの角を丸くする */
  position: relative;
  overflow: hidden;
  transition: color 0.3s ease;
}
.button-link::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -300%;
  width: 200%;
  height: 200%;
  background: rgba(255, 255, 255, 0.5);
  transform: rotate(45deg);
  transition: all 0.5s ease-in-out;
}
.button-link:hover::before {
  top: 150%;
  left: 150%;
}
/* cafe----------------------------------------------------------------------- */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  background-color: #fffaf0; /* 柔らかいクリーム色 */
  overflow: hidden; /* 丸みを適用 */
}
th, td {
  padding: 15px;
  text-align: left;
}
th {
  background-color:  #8bf58f; 
  color: #fff;
  font-size: 1.2rem;
}
tr {
  border-bottom: 1px solid #ddd; /* 薄いグレーの線 */
}
td {
  background-color: #fff; /* 白色 */
  color: #333;
  font-size: 1rem;
}

tr:nth-child(even) td {
  background-color: #fff; /* 薄いピンク色 */
}

tr:hover td {
  background-color: #8bf58f; /* ホバー時に可愛いピンク色 */
  color: green;;
  font-weight: bold;
  transition: background-color 0.3s ease;
}
/* iframeの装飾 */
iframe {
  border: 3px solid #ffcccb; /* ピンク色の枠線 */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* 影を追加 */
}
/* blog--------------------------------------------------------------------- */
.blog-h2 {
  text-align: center;
  font-size: 2rem;
}
.category p {
  text-align: left;
  margin-left: 50px;
}
/* フッター------------------------------------------------------------------- */
footer {
  text-align: center;
  /* スクロールバー非表示 */
  overflow: hidden;
  
  padding: 0 16px 0 16px;
}
.footer-menu {
  display: flex;
  justify-content: center;
  margin: 0 auto;
}
.footer-menu a {
  margin: 0 10px;
  text-decoration: none;
  font-weight: 600;
  color: black;
}
.footer-menu a:hover {
  text-decoration: underline;
  color: #4CAF50;
}
footer p {
  text-align: center;
  font-weight: 1.5rem;
  margin: 16px auto;
}
.footer-sns {
  display: flex;
  justify-content: center;
  margin: 16px auto;
}
.footer-sns a {
  margin: 0 10px;
  text-decoration: none;
}
/* page------------------------------------------------------------------------- */
.page-container p {
  text-align: left;
}
/* アニメーション----------------------------------------------------------------- */
.left {
  /* 親　画像固定 */
  position: fixed;
  top: 0;
  left: 0;
  width: 50%;
  margin-right: 50%;
  height: 100%;
  overflow: hidden;
}
.left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: fadeIn 5s ease-in-out;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
/* メニューーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー */
body {
  animation: bugfix infinite 1s;
  -webkit-animation: bugfix infinite 1s;
}
@keyframes bugfix {
  from {
    padding: 0;
  }
  to {
    padding: 0;
  }
}
@-webkit-keyframes bugfix {
  from {
    padding: 0;
  }
  to {
    padding: 0;
  }
}
#overlay-button {
  position: absolute;
  top: 0; /* 上端に配置 */
  left: 0; /* 左端に配置 */
  padding: 40px 40px;
  z-index: 5;
  cursor: pointer;
  user-select: none;
}
#overlay-button span {
  height: 4px;
  width: 35px;
  border-radius: 2px;
  background-color: white;
  position: absolute; /* relative から absolute に変更 */
  display: block;
  transition: all .2s ease-in-out;
  top: 50%; /* 中央に配置 */
  left: 50%; /* 中央に配置 */
  transform: translate(-50%, -50%); /* 中央に配置 */
}
#overlay-button span:before {
  top: -10px;
  visibility: visible;
  z-index: 5;
}
#overlay-button span:after {
  top: 10px;
  z-index: 5;
}
#overlay-button span:before, #overlay-button span:after {
  height: 4px;
  width: 35px;
  border-radius: 2px;
  background-color: white;
  position: absolute;
  content: "";
  transition: all .2s ease-in-out;
  left: 50%; /* 中央に配置 */
  transform: translateX(-50%); /* 中央に配置 */
}
#overlay-button:hover span, #overlay-button:hover span:before, #overlay-button:hover span:after {
  background: #4CAF50;
  z-index: 5;
}
input[type=checkbox] {
  display: none; 
  
}
input[type=checkbox]:checked ~ #overlay {
  visibility: visible; 
  transform: translatex(0); /* オーバーレイを画面内にスライド */
}
input[type=checkbox]:checked ~ #overlay-button:hover span, input[type=checkbox]:checked ~ #overlay-button span {
  background: transparent;
}
input[type=checkbox]:checked ~ #overlay-button span:before {
  transform: rotate(45deg) translate(7px, 7px);
}
input[type=checkbox]:checked ~ #overlay-button span:after {
  transform: rotate(-45deg) translate(7px, -7px);
}
#overlay {
  height: 100vh;
  width: 50%;
  /*背景が緑の半透明 */
  background-color: rgba(0, 0, 0, 0.9);
  visibility: hidden;
  position: fixed;
  z-index: 2;
  transform: translatex(-100%); /* 初期位置を画面外の上部に設定 */
  transition: transform 0.3s ease-in-out; /* スムーズなアニメーション */
}
/* #overlay.active {} */
#overlay ul {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  height: 100vh;
  padding-left: 0;
  list-style-type: none;
}
#overlay ul li {
  padding: 1em;
}
#overlay ul li a {
  color: white;
  text-decoration: none;
  font-size: 2em;
  font-weight: bold;
}
#overlay ul li a:hover {
  color:#4CAF50;
}
/* contact------------------------------------------------------------------------------------------------------------- */
.container {
  width: 100%;
}
.container h3 {
  text-align: center;
}
.container a {
  color: black;
  font-weight: 700;
  padding: 16px;
  margin: 0 auto;
  text-align: center;
}
.container a:hover {
  color: #4CAF50;
}
form {
  width: 100%;
}
.error { 
  color: red; 
  font-size: 14px;
}
.success { 
  color: red; 
  font-size: 18px;
  font-weight: bold; 
}
input[type="text"],
input[type="email"],
input[type="submit"],
textarea {
  font-size: 1.15rem; /* 文字サイズを1.25remに設定 */
}
label {
  display: block;
  font-weight: 700;
  text-align: center;
  font-size: 1.25rem; /* 文字サイズを1.25remに設定 */
  margin-bottom: 0.5rem; /* 下に少し余白を追加 */
}
input, textarea { 
  width: 100%; 
  height: auto;
  padding: 20px 0;
}
input[type="submit"] { 
  background-color: #4CAF50; 
  color: white; 
  border: none; 
  padding: 10px; 
  cursor: pointer; 
}
input[type="submit"]:hover { 
  background-color: #0F3D0F; 
}
.color-box { 
  width: 100px; 
  height: 50px; 
  margin: 10px auto;  
}
.color-options { 
  display: flex; 
  justify-content: 
  center; gap: 10px; 
}
.color-option { 
  display: flex; 
  align-items: center; 
}
.color-option input { 
  display: none; 
}
.color-option label { 
  padding: 10px; 
  border: 1px solid #ccc; 
  cursor: pointer; 
}
.color-option input:checked + label { 
  border-color: #000; 
}
.color-option label:hover { 
  color: #fff; 
}
.color-option input#color-red + label:hover { 
  background-color: red; 
}
.color-option input#color-blue + label:hover { 
  background-color: blue;
}
.color-option input#color-yellow + label:hover { 
  background-color: yellow; 
  color: #000; 
}
/* 画面サイズ----------------------------------------------------------------------------------------------------------- */
@media screen and (max-width: 1400px) {
  .category p {
    margin-left: 0;
  }
}
@media screen and (max-width: 1080px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.5rem;
  }
  .staff h2 {
    font-size: 1.5rem;
  }
  h3 {
    font-size: 1.2rem;
    margin: 16px auto;
  }
  p {
    font-weight: 1rem;
  }
  .footer-menu {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 横に2列 */
    grid-template-rows: repeat(2, 1fr); /* 縦に2列 */
    gap: 10px; /* アイテム間のスペース */
    margin: 0 auto 32px auto;
    width: 100%;
}
  .footer-menu a {
    text-decoration: none;
    font-weight: 600;
    color: black;
    text-align: center;
}
}
@media screen and (max-width: 800px) {
  .content {
    display: block;
  }
  .left {
    position: relative;
    width: 100%;
    height: auto;
    margin-right: 0;
  }
  .left img {
    height: 100%;
    width: 100%;
    object-fit: cover;
  }
  .right {
    margin-left: auto;
    margin-right: auto;
    padding: 0 16px;
    width: calc(100% - 32px); /* パディング分を引いた幅 */
    overflow-y: auto;
    height: auto;
  }
  .card {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    height: 100%;
  }
  .staff {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    height: 100%;
    padding: 0;
  }
  .button-link {
    padding: 10px 20px;
    font-size: 1rem;
  }
  footer {
    margin-left: 0;
    margin-right: 0;
    padding: 0 16px;
    width: calc(100% - 32px); /* パディング分を引いた幅 */
  }
  #overlay {
    width: 100%;
  }
}
@media screen and (max-width: 500px) {
  .button-link-menu {
    font-size: 2rem;
  }
  h2 {
    margin: 32px auto;
  }
  #overlay ul li a {
    font-size: 1em;
  }
}
@media screen and (max-width: 340px) {
  h1 {
    font-size: 1.5rem;
  }
  h2 {
    font-size: 1.2rem;
  }
  p {
    font-weight: 0.9rem;
  }
}