@charset "utf-8";

/* リニューアルバナーの設定 */
.renewal-bn {
  width: 60%;
  max-width: 800px;
  min-width: 500px;
  margin: 60px auto;
}

.renewal-bn img {
  max-width: 900px;
}
@media (max-width: 450px) {
  .renewal-bn {
    width: 100%;
    max-width: 450px;
    min-width: 200px;
    margin: 60px auto;
  }

  .renewal-bn img {
    width: 450px;
  }
}

/* 予約フォームの設定 */

.reservation {
  height: 400px;
  color: #636d4d;
}

.search-form {
  padding: 50px;
  justify-content: center;
  align-items: center;
  display: flex;
  width: 65%;
  min-width: 500px;
  background-color: rgb(255, 255, 238);
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.form-group input[type="text"],
.form-group input[type="number"],
.form-group input[type="date"],
.form-group select,
.form-group textarea {
  width: 85%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  /* paddingを含めた幅にする */
  font-size: 1.3rem;
}

.guests-group {
  width: 30%;
  min-width: 200px;
}

.date-group {
  width: 35%;
  min-width: 250px;
  font-size: 1.5rem;
}

.guests-selectors {
  gap: 20px;
}

@media (max-width: 450px) {
  .search-form {
    display: block;
    width: 100%;
    max-width: 450px;
    padding: 40px 60px;
    margin: auto 0;
  }

  .form-group input[type="text"],
  .form-group input[type="number"],
  .form-group input[type="date"],
  .form-group select,
  .form-group textarea {
    width: 100%;
    font-size: 1rem;
    text-align: center;
  }

  .guests-group {
    width: 50%;
  }

  .date-group {
    width: 50%;
    font-size: 1.5rem;
  }

  .form-group {
    margin: 0;
    padding: auto;
    width: 80%;
  }
}

/* 送信ボタンのスタイル */
button[type="submit"] {
  display: block;
  width: 80px;
  padding: 15px;
  background-color: #223b21;
  color: white;
  border: none;
  border-radius: 2px;
  font-size: 1.1em;
  cursor: pointer;
  margin-top: 30px;
  transition: background-color 0.3s;
}

button[type="submit"]:hover {
  background-color: #3b663b;
}

@media (max-width: 450px) {
  button[type="submit"] {
    width: 300px;
    padding: 15px;
  }

  .search-button {
    margin: 30px 0;
  }
}
/* 温泉宿についての設定 */
.aboutus {
  width: 65%;
  margin-bottom: 200px;
}

.aboutus .grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 100px;
}

.first-box img,
.first-box {
  height: 500px;
}

.first-box {
  font-size: 3rem;
  letter-spacing: 10px;
  line-height: 80px;
}

.photo img {
  width: 350px;
}

.aboutus .text {
  font-size: 1.6rem;
  width: 300px;
  line-height: 45px;
  letter-spacing: 5px;
}

@media (max-width: 450px) {
  .aboutus {
    width: 100%;
  }

  .aboutus .grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
  }

  .first-box img {
    height: 100vh;
    width: 100%;
    object-fit: cover;
  }

  .first-box {
    color: aliceblue;
    font-size: 2.6rem;
    letter-spacing: 30px;
    line-height: 100px;
    height: 100vh;
  }

  .grid {
    position: relative;
  }

  .grid .tate-text {
    position: absolute;
    top: 5%;
    right: 10%;
  }
  .photo img {
    width: 100%;
  }
}

/* お料理についての設定 */

.food {
  width: 85%;
}
.foodmain-photo {
  height: 600px;
  background-image: url(../img/food/food-main.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  position: relative;
}

.foodmain-photo .tate-text {
  position: absolute;
  top: 10%;
  left: 8%;
}

.foodmain-photo .tate-text span {
  background-color: rgba(124, 160, 52, 0.589);
  color: #fff;
  padding: 10px;
  font-size: 1.8rem;
  letter-spacing: 5px;
}

.foodmain-photo .tate-text .small {
  font-size: 2.5rem;
  color: #fff;
  letter-spacing: 5px;
  margin-right: 20px;
  text-shadow: 3px 3px rgba(0, 0, 0, 0.4);
}

.foodmain-photo .tate-text .big {
  font-size: 5.5rem;
  color: #fff;
  letter-spacing: 10px;
  text-shadow: 3px 3px rgba(0, 0, 0, 0.4);
}
.foodsub-photo img {
  width: 300px;
  height: 300px;
  position: relative;
  top: -60px;
  left: 150px;
}

.foodsub-photo {
  position: relative;
}
.foodsub-photo .tate-text {
  position: absolute;
  top: 15px;
  left: 38%;
  letter-spacing: 4px;
}

.foodsub-photo .tate-text .big {
  font-size: 2.5rem;
}

.food-des {
  width: 40%;
  line-height: 35px;
  position: absolute;
  top: 30px;
  left: 56%;
  font-size: 1.5rem;
}

.food .viewmore,
.news .viewmore {
  width: 40%;
}

.food .viewmore:hover,
.news .viewmore:hover {
  background-color: #ffffff71;
}

@media (max-width: 450px) {
  .food {
    width: 100%;
    height: 700px;
  }
  .foodmain-photo {
    height: 260px;
  }

  .foodmain-photo .tate-text span {
    padding: 6px;
    font-size: 0.9rem;
    letter-spacing: 5px;
  }

  .foodmain-photo .tate-text .small {
    font-size: 1.4rem;
    letter-spacing: 5px;
    margin-right: 10px;
  }

  .foodmain-photo .tate-text .big {
    font-size: 2rem;
  }
  .foodsub-photo img {
    width: 150px;
    height: 150px;
    position: absolute;
    top: -60px;
    right: -40px;
  }

  .foodsub-photo .tate-text {
    position: absolute;
    top: 15px;
    right: 46%;
    letter-spacing: 4px;
  }

  .foodsub-photo .tate-text .big {
    font-size: 1rem;
  }

  .food-des {
    width: 70%;
    position: relative;
    top: 150px;
    left: 0;
    font-size: 1.2rem;
  }

  .food .viewmore {
    position: relative;
    top: 200px;
  }
  .food .viewmore,
  .news .viewmore {
    width: 60%;
  }
}

/* お知らせの設定 */
.news-list li a {
  text-align: center;
  width: 60%;
  background-color: #636d4d;
  margin-top: 20px;
  padding: 20px;
  color: #fff;
}
.news-list li a:hover {
  background-color: #4b57329e;
}

.news-list {
  margin-bottom: 50px;
}
.news-list .date {
  font-size: 0.8em;
  letter-spacing: 2px;
}

@media (max-width: 450px) {
  .news-list li a {
    width: 80%;
    padding: 10px;
  }

  .news-list .date {
    font-size: 0.6em;
  }

  .news-list .text {
    font-size: 0.8em;
  }
}

/* インスタグラムの設定 */

.instagram {
  width: 100%;
  padding: 50px 0;
}

.instagram-media {
  width: 100% !important;
  max-width: 300px !important; 
  min-width: auto !important;
  margin: 0 auto !important;
  background-color: #ccc;
  height: 300px !important;

}

.grid-insta {
  width: 70%;
  max-width: 1000px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0 auto;
}
@media (max-width: 450px) {
  .instagram {
    width: 100%;
  }
  .instagram .title {
    margin-bottom: 30px;
  }
  .instagram-media {
    height: 400px;
    padding: 0;
    width: 320px;
  }

  .grid-insta {
    width: 90%;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    margin-top: 40px;
    gap: 60px;
  }
}
