body,
html {
  overflow-x: hidden;
}

a,
button,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

body {
  font-size: 16px;
  max-width: 100%;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}
main {
  margin: 0 1px;
}

#loading {
  height: 100vh; /* 修正: svhからvhに */
  opacity: 1;
  visibility: visible;
  position: fixed; /* 追加 */
  top: 0;
  left: 0;
  z-index: 9998; /* 他の要素より前面に表示 */
}

.loading-image-block {
  position: relative;
}
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
#loading-progress {
  position: fixed;
  top: 50%; /* 上下中央 */
  left: 50%; /* 左右中央 */
  width: 100%;
  height: 20%;
  text-align: center;
  transform: translate(-50%, -50%); /* Y軸、X軸の両方で調整 */
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  z-index: 9999; /* 他の要素より前面に表示 */
  font-family: "Noto Serif", serif;
  font-weight: 100;
  font-size: 1.2rem;
}

#loading-white {
  width: 120px;
  height: 130px;
  background-color: #fff;
  visibility: visible;
  position: absolute; /* 追加 */
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  z-index: 9999; /* 他の要素より前面に表示 */
}

#hero {
  margin-top: 2rem;
}

.hero-block {
  position: relative;
}

.hero-text-left {
  display: inline-block;
  font-size: 3rem;
  font-weight: normal;
  font-family: "Cinzel Decorative", cursive;
  text-align: left;
  width: 100%;
}

.hero-text-right {
  font-size: 3rem;
  font-weight: normal;
  font-family: "Cinzel Decorative", cursive;
  text-align: right;
  padding: 4px 2px;
  width: 100%;
}
.loading-adjust {
  height: 5.5rem;
}
.loading-hero-image {
  width: 100vw;
  height: 420px;
  object-fit: cover;
}
.hero-image {
  width: 100vw;
  height: 420px;
  object-fit: cover;
}
.hero-image-lower {
  position: absolute;
}
.hero-image-upper {
  position: relative;
  z-index: 2;
  width: 100vw;
  height: 420px;
  padding: 3rem 3rem 1rem 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-text-top {
  text-align: center;
}

.hero-text-bottom span {
  font-size: 0.8rem;
}
.hero-text-top span,
.hero-text-bottom span {
  font-family: "Cinzel", serif;
  font-weight: normal;
  color: #fff;
}
.hero-text-top,
.hero-text-bottom {
  display: inline-block;
}

.name-text {
  font-size: 2.4rem;
}

.and-text {
  font-size: 0.8rem;
}

.date-text {
  font-size: 1.2rem;
}

.scroll-down span {
  font-family: "Noto Serif", serif;
}

.scroll-down {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 2rem;
  padding-top: 70px;
  position: relative;
}
.scroll-down::before {
  animation: scroll 3.5s infinite;
  border: solid #000;
  border-width: 0 0 1px 1px;
  content: "";
  display: inline-block;
  margin: auto;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  transform: rotate(-45deg);
  width: 20px;
  height: 20px;
}
@keyframes scroll {
  0% {
    transform: rotate(-45deg) translate(0, 0);
  }
  80% {
    transform: rotate(-45deg) translate(-30px, 30px);
  }
  0%,
  80%,
  100% {
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
}

.image-box-1 {
  margin: 1px;
}

.image-box-1 img {
  width: 100%;
  height: 126px;
  object-fit: cover;
}

.image-box-2 {
  margin: 1px;
}

.image-box-2 img {
  width: 100%;
  height: 254px;
  object-fit: cover;
}

.message-card {
  margin: 1px;
  position: relative;
}
.message-card-image {
  position: absolute;
}

.message-block {
  position: relative;
  z-index: 2;
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 772px;
}
.message-text {
  padding-bottom: 0.72rem;
  font-family: "Noto Serif JP", serif;
  font-weight: 200;
  font-size: 0.8rem;
  color: #fff;
  text-align: center;
}

.message-bottom {
  display: flex;
  justify-content: flex-end;
}

.attention-block {
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  text-align: center;
  color: #999;
  font-size: 0.8rem;
}

.btn a {
  font-family: "Noto Sans JP", sans-serif;
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  padding: 1rem 3rem;
  background-color: #000;
  border-radius: 35px;
  margin-bottom: 4rem;
  cursor: pointer;
}

.section-title {
  margin-left: 19px;
  display: flex;
  flex-direction: column;
}

.section-title h2 {
  font-family: "Roboto", sans-serif;
  font-size: 1.5rem;
  font-style: normal;
  font-weight: medium;
  line-height: normal;
  letter-spacing: -1.2px;
}

.section-title-line {
  display: inline-block;
  background: #000;
  width: 30px;
  height: 4px;
  margin-bottom: 7px;
}

.schedule-content-card {
  margin: 1px;
  background-color: #efefef;
  height: 386px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 1rem;
}

.schedule-text-en {
  display: block;
  font-family: "Noto Sans", sans-serif;
  font-weight: 100;
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.schedule-text-jp {
  display: block;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 100;
  font-size: 1rem;
  margin-bottom: 0.8rem;
}

.schedule-icon {
  display: block;
  width: 3rem;
  margin-bottom: 0.3rem;
}

.thin-line {
  display: block;
  background: #000;
  width: 4rem;
  height: 0.5px;
  margin-bottom: 3rem;
}
.schedule-date {
  display: block;
  font-size: 1rem;
  font-family: "Noto Sans", sans-serif;
  font-weight: 200;
  margin-bottom: 0rem;
}
.schedule-time {
  display: block;
  font-size: 3rem;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  margin-bottom: 1rem;
}
.schedule-reception {
  display: block;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 100;
  margin-bottom: 1rem;
}

.access-content-card-386 {
  margin: 1px;
  background-color: #efefef;
  height: 386px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 3rem;
}

.hotel-name {
  color: #000;
  font-family: "Roboto", sans-serif;
  font-size: 2rem;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: -0.96px;
  margin-bottom: 2rem;
}

.web-block {
  display: flex;
  margin-bottom: 8px;
}

.web-icon {
  display: block;
  width: 1rem;
  height: 1rem;
  margin-top: 5px;
}

.web-text {
  margin-left: 11px;
}

.web-text a {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 100;
  line-height: normal;
  padding: 4px;
}

.address-block {
  display: flex;
  margin-bottom: 8px;
}

.pin-icon {
  display: block;
  width: 1rem;
  height: 1rem;
  margin-top: 10px;
}

.address-text {
  margin-left: 11px;
}

.address-text p {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 100;
  line-height: normal;
  padding: 4px;
}
.tel-block {
  display: flex;
  margin-bottom: 8px;
}

.tel-icon {
  display: block;
  width: 1rem;
  height: 1rem;
  margin-top: 6px;
}

.tel-text {
  margin-left: 11px;
}

.tel-text p {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 100;
  line-height: normal;
  padding: 4px;
  margin-bottom: 1.5rem;
}

.google-map-btn a {
  font-family: "Noto Sans JP", sans-serif;
  color: #000;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  padding: 0.8rem 0rem;
  background-color: #fff;
  border: 1px solid #000;
  border-radius: 35px;
}

.icon-btn {
  display: flex;
  justify-content: center;
  align-items: center;
}

.icon-btn-label {
  padding-right: 0.4rem;
}

.access-content-card-126 {
  margin: 1px;
  background-color: #efefef;
  min-height: 126px;
  padding: 1.5rem 2rem;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 100;
}

.station-name {
  font-weight: 500;
}

footer {
  height: 400px;
  background-color: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 3rem;
}
.footer-nav li {
  margin-bottom: 1.2rem;
}
.footer-nav li a {
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  font-size: 1.1rem;
  color: #fff;
}

.copyright {
  color: #fff;
  font-family: "Roboto", sans-serif;
  font-weight: 100;
  margin-bottom: 0.8rem;
  font-size: 0.8rem;
}

/* ========================= form.html ========================= */
.form-hero-block img {
  width: 100vw;
  height: 180px;
}
.rsvp-content-card {
  margin: 1px;
  background-color: #efefef;
  min-height: 126px;
  padding: 1rem;
}

.rsvp-content-card label {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 100;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="search"]:focus,
textarea:focus {
  border-color: black;
}

.form-text-style {
  height: 2.4em;
  width: 100%;
  padding: 0 1rem;
  margin: 1rem 0;
  border-radius: 4px;
  border: none;
  box-shadow: 0 0 0 1px #ccc inset;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.form-text-style:focus {
  outline: 0;
  /* border: 1px solid #cbb985; */
  box-shadow: 0 0 0 2px rgb(33, 150, 243) inset;
}

.form-name-style {
  width: 65%;
}

.select-form {
  display: inline-flex;
  align-items: center;
  position: relative;
  margin: 1rem 0;
}

.select-form::after {
  position: absolute;
  right: 15px;
  width: 10px;
  height: 7px;
  background-color: #535353;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  content: "";
  pointer-events: none;
}

.select-form select {
  appearance: none;
  min-width: 50%;
  height: 2.4em;
  padding: 0.4em calc(0.8em + 30px) 0.4em 0.8em;
  border: 1px solid #cccccc;
  border-radius: 4px;
  background-color: #fff;
  color: #333333;
  font-size: 1em;
  cursor: pointer;
}

.form-textarea-style {
  width: 100%;
  resize: none;
  padding: 0.4rem 1rem;
  margin: 1rem 0;
  border-radius: 4px;
  border: none;
  box-shadow: 0 0 0 1px #ccc inset;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.rsvp-content-card-title {
  margin-bottom: 1rem;
  text-align: center;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 100;
}

.radio-card-1 {
  display: flex;
  justify-content: center;
  align-items: center;
}

label.radio-card-1 {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

label.radio-card-1 .card-content-wrapper-1 {
  background: #fff;
  border: 1px solid #cccccc;
  border-radius: 5px;
  min-width: 120px;
  min-height: 100px;
  padding: 15px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 4px 0 rgba(219, 215, 215, 0.04);
  transition: 200ms linear;
}

label.radio-card-1 .check-icon {
  width: 20px;
  height: 20px;
  display: inline-block;
  border: solid 2px #e3e3e3;
  border-radius: 50%;
  transition: 200ms linear;
  position: relative;
}

label.radio-card-1 .card-content-1 h4 {
  font-size: 1rem;
  letter-spacing: -0.24px;
  text-align: center;
  color: #1f2949;
  margin-bottom: 10px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 100;
}

label.radio-card-1 .check-icon:before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='9' viewBox='0 0 12 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.93552 4.58423C0.890286 4.53718 0.854262 4.48209 0.829309 4.42179C0.779553 4.28741 0.779553 4.13965 0.829309 4.00527C0.853759 3.94471 0.889842 3.88952 0.93552 3.84283L1.68941 3.12018C1.73378 3.06821 1.7893 3.02692 1.85185 2.99939C1.91206 2.97215 1.97736 2.95796 2.04345 2.95774C2.11507 2.95635 2.18613 2.97056 2.2517 2.99939C2.31652 3.02822 2.3752 3.06922 2.42456 3.12018L4.69872 5.39851L9.58026 0.516971C9.62828 0.466328 9.68554 0.42533 9.74895 0.396182C9.81468 0.367844 9.88563 0.353653 9.95721 0.354531C10.0244 0.354903 10.0907 0.369582 10.1517 0.397592C10.2128 0.425602 10.2672 0.466298 10.3112 0.516971L11.0651 1.25003C11.1108 1.29672 11.1469 1.35191 11.1713 1.41247C11.2211 1.54686 11.2211 1.69461 11.1713 1.82899C11.1464 1.88929 11.1104 1.94439 11.0651 1.99143L5.06525 7.96007C5.02054 8.0122 4.96514 8.0541 4.90281 8.08294C4.76944 8.13802 4.61967 8.13802 4.4863 8.08294C4.42397 8.0541 4.36857 8.0122 4.32386 7.96007L0.93552 4.58423Z' fill='white'/%3E%3C/svg%3E%0A");
  background-repeat: no-repeat;
  background-size: 12px;
  background-position: center center;
  transform: scale(1.6);
  transition: 200ms linear;
  opacity: 0;
}

label.radio-card-1 input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

label.radio-card-1 input[type="radio"]:checked + .card-content-wrapper-1 {
  box-shadow: 0 2px 4px 0 rgba(219, 215, 215, 0.5), 0 0 0 2px #000;
  border: none;
}

label.radio-card-1
  input[type="radio"]:checked
  + .card-content-wrapper-1
  .card-content-1
  h4 {
  font-weight: 500;
}

label.radio-card-1
  input[type="radio"]:checked
  + .card-content-wrapper-1
  .check-icon {
  background: #000;
  border-color: #000;
  transform: scale(1.2);
}

label.radio-card-1
  input[type="radio"]:checked
  + .card-content-wrapper-1
  .check-icon:before {
  transform: scale(1);
  opacity: 1;
}

/* disabled */
label.radio-card-1 input[type="radio"]:disabled + .card-content-wrapper-1 {
  border: none;
  background: #ddd;
}

label.radio-card-1
  input[type="radio"]:disabled
  + .card-content-wrapper-1
  .card-content-1
  h4 {
  font-weight: 100;
  text-decoration: line-through;
  color: #aaa;
}

label.radio-card-1
  input[type="radio"]:disabled
  + .card-content-wrapper-1
  .check-icon {
  background: #ddd;
  border-color: #ddd;
  transform: scale(1.2);
}

label.radio-card-1
  input[type="radio"]:disabled
  + .card-content-wrapper-1
  .check-icon:before {
  transform: scale(1);
  opacity: 0;
}
/* disabled */

.radio-card-2 {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 1rem 0;
}

label.radio-card-2 {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

label.radio-card-2 .card-content-wrapper-2 {
  background: #fff;
  border: 1px solid #cccccc;
  border-radius: 5px;
  width: 100%;
  min-height: 60px;
  padding: 15px;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 4px 0 rgba(219, 215, 215, 0.04);
  transition: 200ms linear;
}

label.radio-card-2 .check-icon {
  width: 20px;
  height: 20px;
  display: inline-block;
  border: solid 2px #e3e3e3;
  border-radius: 50%;
  transition: 200ms linear;
  position: relative;
}

label.radio-card-2 .card-content-2 h4 {
  font-size: 1rem;
  letter-spacing: -0.24px;
  text-align: center;
  color: #000;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 100;
  margin-left: 16px;
}

label.radio-card-2 .check-icon:before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='9' viewBox='0 0 12 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.93552 4.58423C0.890286 4.53718 0.854262 4.48209 0.829309 4.42179C0.779553 4.28741 0.779553 4.13965 0.829309 4.00527C0.853759 3.94471 0.889842 3.88952 0.93552 3.84283L1.68941 3.12018C1.73378 3.06821 1.7893 3.02692 1.85185 2.99939C1.91206 2.97215 1.97736 2.95796 2.04345 2.95774C2.11507 2.95635 2.18613 2.97056 2.2517 2.99939C2.31652 3.02822 2.3752 3.06922 2.42456 3.12018L4.69872 5.39851L9.58026 0.516971C9.62828 0.466328 9.68554 0.42533 9.74895 0.396182C9.81468 0.367844 9.88563 0.353653 9.95721 0.354531C10.0244 0.354903 10.0907 0.369582 10.1517 0.397592C10.2128 0.425602 10.2672 0.466298 10.3112 0.516971L11.0651 1.25003C11.1108 1.29672 11.1469 1.35191 11.1713 1.41247C11.2211 1.54686 11.2211 1.69461 11.1713 1.82899C11.1464 1.88929 11.1104 1.94439 11.0651 1.99143L5.06525 7.96007C5.02054 8.0122 4.96514 8.0541 4.90281 8.08294C4.76944 8.13802 4.61967 8.13802 4.4863 8.08294C4.42397 8.0541 4.36857 8.0122 4.32386 7.96007L0.93552 4.58423Z' fill='white'/%3E%3C/svg%3E%0A");
  background-repeat: no-repeat;
  background-size: 12px;
  background-position: center center;
  transform: scale(1.6);
  transition: 200ms linear;
  opacity: 0;
}

label.radio-card-2 input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

label.radio-card-2 input[type="radio"]:checked + .card-content-wrapper-2 {
  box-shadow: 0 2px 4px 0 rgba(219, 215, 215, 0.5), 0 0 0 2px #000;
  border: none;
}

label.radio-card-2
  input[type="radio"]:checked
  + .card-content-wrapper-2
  .card-content-2
  h4 {
  font-weight: 500;
}

label.radio-card-2
  input[type="radio"]:checked
  + .card-content-wrapper-2
  .check-icon {
  background: #000;
  border-color: #000;
  transform: scale(1.2);
}

label.radio-card-2
  input[type="radio"]:checked
  + .card-content-wrapper-2
  .check-icon:before {
  transform: scale(1);
  opacity: 1;
}

/* disabled */
label.radio-card-2 input[type="radio"]:disabled + .card-content-wrapper-2 {
  border: none;
  background: #ddd;
}

label.radio-card-2
  input[type="radio"]:disabled
  + .card-content-wrapper-2
  .card-content-2
  h4 {
  font-weight: 100;
  color: #aaa;
}

label.radio-card-2
  input[type="radio"]:disabled
  + .card-content-wrapper-2
  .check-icon {
  background: #ddd;
  border-color: #ddd;
  transform: scale(1.2);
}

label.radio-card-2
  input[type="radio"]:disabled
  + .card-content-wrapper-2
  .check-icon:before {
  transform: scale(1);
  opacity: 0;
}
/* disabled */

.submit-btn {
  width: 180px;
  font-family: "Noto Sans JP", sans-serif;
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  padding: 1rem 3rem;
  background-color: #000;
  border-radius: 35px;
  margin: 1rem;
  border: none; /* 追加して、ボタンのデフォルトの境界線を削除します */
  cursor: pointer; /* ポインタがボタン上にあるときに手のアイコンになるようにします */
}

.back-btn {
  width: 180px;
  font-family: "Noto Sans JP", sans-serif;
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  padding: 1rem 3rem;
  background-color: #c0c0c0;
  border-radius: 35px;
  margin: 1rem;
  border: none; /* 追加して、ボタンのデフォルトの境界線を削除します */
  cursor: pointer; /* ポインタがボタン上にあるときに手のアイコンになるようにします */
}

.form-btn-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem;
}

/* クリック時のスタイル */
.submit-btn:active {
  opacity: 0.8; /* 例として透明度を減少させることができます */
}

.add-companion-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 3rem;
  border-radius: 1.5rem;
  padding: 0 2rem;
  background-color: #fff;
  border: 1px solid #000;
}

.add-companion-btn p {
  margin-left: 8px;
}

.plus-icon {
  display: block;
  width: 1rem;
}
.companion-title {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 100;
  padding: 1rem 0.5rem 4px 0.5rem;
}

.companion-delete-btn {
  background-color: transparent;
  color: #999;
  border: none;
  cursor: pointer;
  outline: none;
  padding: 0;
  appearance: none;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 100;
  padding: 1rem 0.5rem 4px 0.5rem;
}

/* ========================= confirm.html ========================= */

.confirm-content-card {
  margin: 1px;
  background-color: #efefef;
  padding: 1rem 1rem 2.5rem 1rem;
}

.confirm-attention-card {
  margin: 1px;
  background-color: #efefef;
  text-align: center;
  padding: 3rem 1rem;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 100;
}

.confirm-value {
  padding: 0 1.5rem;
  margin-top: 0.5rem;
  margin-bottom: 4px;
}

.confirm-content-card label {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 100;
}

/* ========================= complete.html ========================= */

#complete {
  height: 95vh;
}

.complete-hero-block {
  position: relative;
}

.thanks-message {
  padding: 4rem 0rem;
  text-align: center;
  font-weight: 100;
  position: absolute;
  z-index: 22;
  color: #fff;
  left: 50%;
  width: 80vw;
  height: 100%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.thanks-message-top p {
  padding-bottom: 0.72rem;
  font-family: "Noto Serif JP", serif;
  font-weight: 200;
  font-size: 0.8rem;
  color: #fff;
  text-align: center;
}

.thanks {
  margin-bottom: 1.4rem;
}

.name-text {
  margin-top: 1.4rem;
}

.to-top {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  text-decoration: underline;
}
