html, body {
  margin: 0;
  font-family: 'Noto Sans JP', sans-serif;
}

h1 {
  font-size: 2.5rem;
  font-weight: 100;
  line-height: 2;
}
h2 {
  font-size: 1.5rem;
  font-weight: 100;
  line-height: 2;
}
h3 {
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 2;
}
p {
  font-size: 1rem;
  font-weight: 100;
  line-height: 2.5;
}

.error-message {
  color: red;
}

@media(max-width: 1040px) {
    h1 {
      font-size: 5rem;
  }
  h2 {
      font-size: 3rem;
  }
  h3 {
      font-size: 2.5rem;
  }
  p {
      font-size: 2rem;
  }
  .error-message {
    font-size: 2rem;
  }
}

.layout {
  display: flex;
  position: relative;
}

.image-wrapper {
  position: relative;
}

/* =======================================================================================================================
　　　　　　　　　背景
======================================================================================================================= */

.background-image {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: 0;
}

.background-logo {
  width: 21%;
  height: 9%;
  position: fixed;
  top: 2.5%;
  left: 1.5%;
  z-index: 1;
}

.transparent-background-button {
  display: block;
  width: 21%;
  height: 9%;
  background-color: transparent;
  border: none;
  cursor: pointer;
  position: fixed;
  top: 2.5%;
  left: 1.5%;
  z-index: 2;
}

@media(max-width: 1040px) {
  .background-image {
    display: none;
  }

  .background-logo {
    display: none;
  }

  .transparent-background-button {
    display: none;
    }
}

/* =======================================================================================================================
　　　　　　　　　基本レイアウト
======================================================================================================================= */

.content-wrapper {
  max-width: 29%;
  margin: 70px auto 70px 65%;
  display: inline-block;
  border-radius: 15px;
  padding: 3px;               /* 枠線の幅 */
  background-color: #fff;
  overflow: hidden;
}

.top-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 15px 15px 0 0;
  position: relative;
  z-index: 10;
}

.top-logo {
  width: 75%;
  position: absolute;
  display: block;
  left: 0;
  top: 0;
  z-index: 11;
}

.transparent-top-button {
  display: block;
  width: 70%;
  height: 0.7%;
  background-color: transparent;
  border: none;
  cursor: pointer;
  position: absolute;
  top: 0.15%;
  left: 4%;
  z-index: 12;
}

.top-title {
  position: absolute;
  right: 30px;
  bottom: 0;
  color: #ffffff;
  font-size: 36px;
  font-weight: 100; /* Thin */
  line-height: 54px;
  z-index: 13;
}

.content-block {
  padding: 25px 0 45px 0;
  text-align: center;
  color: #000;
  background-color: #CBBBB4;
  border-radius: 50px 50px 0 0;
  position: relative;
  z-index: 14;
}

/* 共通ボタン */
.button {
  display: inline-block;
  width: 300px;
  height: 72px;
  font-size: 22px;
  line-height: 72px;
  background-color: #241811;
  color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  text-align: center;
  white-space: nowrap;      /* 改行させない */
  text-decoration: none; /* 下線を消す */
  box-sizing: border-box;
  cursor: pointer;
  border: none;
}
.button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* 戻るボタン */
.mobile-back-button {
    display: block;
    text-align: left;       /* 左寄せ */
    margin: 1rem;
}

.mobile-back-button button {
    background: none;       /* 背景なし */
    border: none;           /* 枠なし */
    color: #000;            /* テキスト色（必要に応じて） */
    padding: 10px 15px;
    font-size: 2rem;
    cursor: pointer;
}

.room-image {
  width: 100%;
  padding: 200px 0 10px 0;
  border-top-left-radius: 50px;
  border-top-right-radius: 50px;
}

.rounded-img {
  width: 100%;
  border-radius: 20px;
}

.rounded-top-img {
  width: 100%;
  border-top-left-radius: 50px;
  border-top-right-radius: 50px;
}

.images {
  display: flex;
  gap: 10px;
  width: 100%;
}

.scroll-images {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 50px 0;
}

.scroll-hidden::-webkit-scrollbar {
  display: none;
}


@media(max-width: 1040px) {
  .content-wrapper {
    max-width: 1040px;
    margin: 0;
    border-radius: 0;
    padding: 0;
  }

  .button {
    width: 600px;
    height: 144px;
    font-size: 44px;
    line-height: 144px;
    border-radius: 20px;
  }

  .mobile-back-button {
    margin: 1rem;
  }

  .mobile-back-button button {
    padding: 10px 15px;
    font-size: 4rem;
  }

  .background-image {
    display: none;
  }

  .background-logo-over {
    display: none;
  }

  .top-image {
    width: 100vw;
    border-radius: 0;
  }

  .top-title {
    right: 30px;
    font-size: 5rem;
  }

  .scroll-images {
    padding: 150px 0;
  }
}

/* =======================================================================================================================
　　　　　　　　　ヘッダー
======================================================================================================================= */

.header {
  padding: 30px;
  position: relative;
  z-index: 10;  /* 高めに設定 */
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo {
  width: 300px;
  height: 70px;
}

@media(max-width: 1040px) {
  .header {
    padding: 30px;
    position: relative;
    z-index: 10;  /* 高めに設定 */
  }

  .logo {
    width: 700px;
    height: 200px;
  }
}

/* =======================================================================================================================
　　　　　　　　　サイドボタン
======================================================================================================================= */

.side-button {
  position: fixed;
  top: 70px;
  right: 0;
  width: 66px;
  height: 120px;
  background-color: #CBBBB4;
  color: #fff;
  border-radius: 10px 0 0 10px;
  display: flex;
  flex-direction: column;  /* 縦並びにする */
  align-items: center;     /* 横中央揃え */
  text-align: center;      /* テキストも中央寄せ */
  text-decoration: none; /* 下線を消す */
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 3);
  z-index: 1002;
}

.side-button .icon {
  border-radius: 50%;
  width: 38px;
  height: 38px;
  font-size: 20px;
  margin: 15px 0 5px 0;
  background-color: #fff;
  color: #CBBBB4;
  display: flex;
  align-items: center;
  justify-content: center;
}

.side-button .ja {
  font-size: 13px;
  font-weight: 700;
}
.side-button .en {
  margin: 5px 0 9px 0;
  font-size: 8px;
  font-weight: 700;
}

@media (max-width: 1140px) {
  .side-button {
    width: 165px;
    height: 300px;
    border-radius: 20px 0 0 20px;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.4);
  }
  .side-button .icon {
    width: 95px;
    height: 95px;
    font-size: 50px;
    margin: 30px 0 10px 0;
  }
  .side-button .ja {
    font-size: 32px;
  }
  .side-button .en {
    font-size: 20px;
    margin-top: 10px;
  }
}

/* =======================================================================================================================
　　　　　　　　　フッター
======================================================================================================================= */

.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background-color: transparent;
  z-index: 1001;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  pointer-events: none;
}

/* ボタン部分 */
.footer-buttons {
  position: fixed;
  right: 35%;
  display: flex;
  justify-content:flex-end; /*space-between;*/
  width: 500px;
  pointer-events: auto;
}

/* ボタンデザイン（そのままでOK） */
.footer-button {
  display: flex;
  flex-direction: column; /* 縦並びに */
  justify-content: center; /* 縦中央寄せ */
  align-items: center; /* 横中央寄せ */
  flex: 1;
  text-align: center;
  color: #241811;
  background-color: #ccc;
  font-weight: 600;
  padding: 0.5rem 0;
  border-left: 2px solid #fff;
  text-decoration: none;
}
.footer-button.active {
  pointer-events: none;
  background-color: #CBBBB4;
  color: #fff;
}
.footer-button:first-child {
  border-top-left-radius: 10px;
  border-left: none;
}
.footer-button .ja {
  font-size: 16px;
  line-height: 2;
}
.footer-button .en {
  font-size: 8px;
  line-height: 2;
}
.footer-button:hover {
  background-color: #CBBBB4;
  color: #fff;
}
@media (hover: none) and (pointer: coarse) {
  .footer-btn:hover {
    background-color: #ccc;
    color: #333;
  }
}

/* ページ最上部に戻るボタン */
.back-to-top {
  position: fixed;
  bottom: 0;
  right: 0;
  background-color: #CBBBB4;
  color: #fff;
  padding: 10px 15px;
  border-radius: 5px 0 0 0;
  text-align: center;
  font-size: 20px;
  text-decoration: none;
  pointer-events: auto;
}

@media (max-width: 1140px) {
  .footer-buttons {
    width: 100vw;
    height: 150px;
    left: 0;
  }
  .footer-button {
    border-top: 2px solid #fff;
    font-size: 2rem;
    padding: 2rem 0;
  }
  .footer-button:first-child {
    border-top-left-radius: 0;
  }

  .footer-button .ja {
    font-size: 34px;
    line-height: 38px;
  }
  .footer-button .en {
    font-size: 20px;
    line-height: 22px;
  }

  .back-to-top {
    font-size: 40px;
    padding: 20px 30px;
    bottom: 150px;
    border-radius: 10px 0 0 0;
  }
}

/* =======================================================================================================================
　　　　　　　　　RESERVATION　セクション
======================================================================================================================= */

.reservation {
  margin-top: -50px;
  border-radius: 50px 50px 15px 15px;
}

.reservation h1 {
  font-size: 31px;
  font-weight: 500;    /* Medium */
  line-height: 44px;
  color: #241811;
}

.reservation p {
  font-size: 15px;
  font-weight: 500;    /* Medium */
  line-height: 20px;
  color: #241811;
}

.reservation p.sm {
  font-size: 11px;
  line-height: 29px;
}

.logo-image {
  width: 66%;
}

@media(max-width: 1040px) {
  .reservation {
    margin-top: -50px;
    padding-bottom: 150px;
    border-radius: 50px 50px 15px 15px;
  }

  .reservation h1 {
    font-size: 77px;
    line-height: 110px;
  }

  .reservation p {
    font-size: 37px;
    line-height: 50px;
  }

  .reservation p.sm {
    font-size: 27px;
    line-height: 72px;
  }
}

/* =======================================================================================================================
　　　　　　　　　当ホテルについて 画面
======================================================================================================================= */

.feature {
  margin-top: -50px;
  padding: 25px 0 95px 0;
  background-color: #fff;
}

.feature h1 {
  font-size: 30px;
  font-weight: 100;    /* Thin */
  line-height: 54px;
  color: #241811;
}

.feature h1.lg {
  font-size: 31px;
  line-height: 44px;
}

.feature h2 {
  font-size: 22px;
  font-weight: 100; /* Thin */
  line-height: 48px;
  color: #241811;
}

.feature p {
  font-size: 17px;
  font-weight: 100; /* Thin */
  line-height: 54px;
  color: #241811;
}

.feature p.sm {
  font-size: 15px;
  line-height: 30px;
}

@media(max-width: 1040px) {
  .feature h1 {
    font-size: 75px;
    line-height: 135px;
  }

  .feature h1.lg {
    font-size: 77px;
    line-height: 110px;
  }

  .feature h2 {
    font-size: 55px;
    line-height: 120px;
  }

  .feature p {
    font-size: 42px;
    line-height: 135px;
  }

  .feature p.sm {
    font-size: 37px;
    line-height: 75px;
  }
}

/* =======================================================================================================================
　　　　　　　　　お部屋紹介 画面
======================================================================================================================= */

.rooms {
  margin-top: -50px;
  padding: 25px 0 95px 0;
  color: #fff;
  background-color: #a0a0a0;
}

.rooms h1 {
  font-size: 31px;
  font-weight: 100;    /* Thin */
  line-height: 44px;
  color: #ffffff;
}

.rooms p {
  font-size: 18px;
  font-weight: 100; /* Thin */
  line-height: 26px;
  color: #ffffff;
}

.rooms p.sm {
  font-size: 15px;
  line-height: 30px;
}

@media(max-width: 1040px) {
  .rooms h1 {
    font-size: 77px;
    line-height: 110px;
  }

  .rooms p {
    font-size: 45px;
    line-height: 65px;
  }

  .rooms p.sm {
    font-size: 37px;
    line-height: 75px;
  }
}

/* =======================================================================================================================
　　　　　　　　　予約検索/検索結果 画面
======================================================================================================================= */

/* 空室/予約検索　*/
.search {
  margin-top: -50px;
  padding: 50px 0;
  border-radius: 50px;
  color: #fff;
  background-color: #000;
}
@media(max-width: 1040px) {
  .search {
    padding: 150px 0;
    border-radius: 50px 50px 0 0;
  }
}

.reservation-form {
  width: 90%;
  margin: 50px auto;
  padding: 2rem;
  background-color: #c0c0c0;
  color: #333;
  border-radius: 10px;
  text-align: center;
  box-sizing: border-box;
}

.form-group {
  background-color: #fff;
  margin-bottom: 2rem;
  border-radius: 10px;
  text-align: center;
}
@media (max-width: 1040px) {
  .form-group {
    padding: 20px 0;
  }
}

.form-group label {
  display: block;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.form-group input {
  width: 70%;
  padding-bottom: 0.8rem;
  font-size: 3rem;
  border-radius: 10px;
  border: none;
  outline: none;
  color: #000;
  background-color: #ffffff;
  text-align: center;
}

.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
  text-align: left;
}
@media(max-width: 1040px) {
  .button-group {
    gap: 1rem;
    margin-top: 1rem;
  }
}

.select-btn {
  flex: 1;
  margin: 0.2rem;
  padding: 0.3rem;
  color: #000;
  background-color: #fff;
  border-radius: 50px;
  cursor: pointer;
  font-size: 1rem;
  border: 1px solid #000000;
}
@media(max-width: 1040px) {
  .select-btn {
    margin: 0.4rem;
    padding: 0.6rem;
    font-size: 2rem;
  }
}

.select-btn:hover,
.select-btn.selected {
  background-color: #000;
  color: #fff;
}

.submit-btn {
  width: 100%;
  padding: 1rem;
  background-color: #000;
  color: #fff;
  font-size: 1.2rem;
  border: none;
  border-radius: 10px;
  cursor: pointer;
}

.room-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* 横方向の中央揃え */
  gap: 2rem; /* カード同士の間隔 */
}

.room-card {
  width: 90%;
  border-radius: 10px;
  margin: 15px;
  transition: transform 0.2s ease;
}

.room-card:hover {
  transform: scale(1.02);
}

.room-button {
  display: flex;
  width: 100%;
  padding: 10px;
  background-color: #fff;
  color: #000;
  text-align: center;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1em;
  transition: background-color 0.3s ease;
}

.room-button-content {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 1rem;
}

.room-top {
  display: flex;
  gap: 1rem;
}

.room-top-image {
  flex: 1;
}

.room-top-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
}

.room-info {
  flex: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.room-name h2 {
  font-size: 3rem;
  margin: 0 0 0.5rem;
}

.room-description {
  font-size: 1rem;
  color: #555;
  margin: 0;
}

.room-features {
  border-top: 1px solid #ccc;
  padding-top: 1rem;
  font-size: 0.9rem;
}

.room-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.room-features li {
  background: #f0f0f0;
  padding: 0.5rem 1rem;
  border-radius: 5px;
}

@media (max-width: 768px) {
  .room-top {
    flex-direction: column;
  }

  .room-top-image,
  .room-info {
    width: 100%;
    flex: none;
  }

  .room-info h2 {
    font-size: 1.5rem;
  }
}

/* =======================================================================================================================
　　　　　　　　　予約検索結果詳細 画面
======================================================================================================================= */

.detail {
  margin-top: -50px;
  border-radius: 50px;
  background-color: #ccc;
}
@media(max-width: 1040px) {
  .detail {
    padding: 150px 0;
    border-radius: 50px 50px 0 0;
  }
}

.plan-button {
  display: flex;
  width: 90%;
  margin: 10px auto;
  background-color: #808080;
  color: #fff;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1em;
  text-align: center;
}

.plan-button:hover,
.plan-button.selected {
  background-color: #000;
  color: #fff;
}

.plan-button-content {
  width: 100%;
  align-items: center;
}

.plan-name {
  width: 100%;
  text-align: center;
}

.plan-name h1 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
}

.plan-name h2 {
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
}

.plan-name h3 {
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.4;
  margin: 0;
}

.privacy-policy {
  width: 80%;
  margin: 2rem auto;
  padding: 1.5rem;
  background-color: #f9f9f9;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 0.9rem;
  color: #333;
  text-align: left;
}

.privacy-policy h2 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.privacy-policy h3 {
  margin-top: 1rem;
  font-size: 1.1rem;
}

.privacy-check {
  margin-top: 1.5rem;
  font-size: 1.5rem;
}
.privacy-check input[type="checkbox"] {
  width: 25px;
  height: 25px;
  cursor: pointer;
}

@media(max-width: 1040px) {
  .privacy-check {
    font-size: 3rem;
  }
  .privacy-check input[type="checkbox"] {
    width: 50px;
    height: 50px;
  }
}


/* =======================================================================================================================
　　　　　　　　　会員ログイン 画面
======================================================================================================================= */

.member-form {
  width: 90%;
  margin: 50px auto;
  padding: 2rem;
  color: #333;
  text-align: left;
  box-sizing: border-box;
}

.member-form label {
  display: block;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.member-form-group {
  background-color: #fff;
  margin-bottom: 2rem;
  border-radius: 10px;
  text-align: left;
}
@media (max-width: 1040px) {
  .member-form-group {
    padding: 20px 0;
  }
}

.member-form-group input {
  width: 100%;
  padding-bottom: 0.8rem;
  font-size: 3rem;
  border-radius: 10px;
  border: none;
  outline: none;
  color: #000;
  background-color: #ffffff;
  text-align: center;
}
@media (max-width: 1040px) {
  .member-form-group input {
    padding: 20px 0;
  }
}

.member-button-group {
  width: 100%;
  text-align: center;
  margin-top: 50px;
}

.new-member-button {
  display: block;
  margin: 1rem;
}

.new-member-button button {
  background: none;
  border: none;
  color: #000;
  font-size: 1.5rem;
  cursor: pointer;
}

@media (max-width: 1040px) {
  .new-member-button {
    margin: 3rem;
  }

  .new-member-button button {
    font-size: 3rem;
  }
}

/* =======================================================================================================================
　　　　　　　　　支払情報 画面
======================================================================================================================= */

.payment-form {
  width: 90%;
  margin: 50px auto;
  padding: 2rem;
  /* color: #fff;
  background-color: #333; */
  text-align: left;
  box-sizing: border-box;
}

.payment-form label {
  display: block;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.payment-form-group {
  background-color: #fff;
  margin-bottom: 2rem;
  border-radius: 10px;
  text-align: left;
}
@media (max-width: 1040px) {
  .payment-form-group {
    padding: 20px 0;
  }
}

.payment-form-group input {
  width: 100%;
  /* padding-bottom: 0.8rem; */
  font-size: 3rem;
  border-radius: 10px;
  border: none;
  outline: none;
  color: #000;
  background-color: #ffffff;
  text-align: center;
}
@media (max-width: 1040px) {
  .payment-form-group input {
    padding: 20px 0;
  }
}

.payment-button-group {
  width: 100%;
  text-align: center;
  margin-top: 50px;
}

.in-japan-check {
  margin-top: 1.5rem;
  font-size: 1.5rem;
}
.in-japan-check input[type="checkbox"] {
  width: 25px;
  height: 25px;
  cursor: pointer;
}

@media(max-width: 1040px) {
  .in-japan-check {
    font-size: 3rem;
  }
  .in-japan-check input[type="checkbox"] {
    width: 50px;
    height: 50px;
  }
}