* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  width: 100%;
  min-height: 100%;
  background-color: #333;
  font-size: 10px;
  scroll-behavior: smooth;
}

body {
  width: 100%;
  min-height: 100%;
  font-size: 1.6rem;
  background-color: #fff;
}

img {
  display: inline-block;
  max-width: 100%;
  vertical-align: bottom;
}

.ly_root {
  margin: 0 auto;
  min-width: 360px;
  max-width: 430px;
  width: 100%;
}

.has_bgImage {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

/* =============================================================
# front view
============================================================= */
.ly_frontView {
  position: relative;
}

#js_frontView {
  opacity: 1;
  transition: opacity 0.5s ease;
}

#js_frontView.is_fadeOut {
  opacity: 0;
  pointer-events: none;
}

#js_frontView.is_hidden {
  display: none;
}

.bl_front_fv {
  overflow: hidden;
}

.ly_fv_decoration {
  position: relative;
}
.ly_fv_decoration img {
  position: absolute;
  top: 0;
}

.ly_front_mv {
  display: flex;
  justify-content: center;
  position: relative;
  text-align: center;
}

.ly_front_mv::after {
  position: absolute;
  z-index: 999;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(to bottom, transparent 0% 40%, #3b2a0a 80%);
  content: "";
}

.ly_mv_logo {
  position: absolute;
  top: 12%;
  left: 4%;
  z-index: 999;
  width: 50%;
  animation-name: munakata_zoomOutReveal;
  animation-duration: 1s;
  animation-timing-function: ease;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
}
@keyframes munakata_zoomOutReveal {
  from {
    transform: scale(2);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.ly_mv_eyecatcher {
  position: absolute;
  top: 4%;
  left: 4%;
  z-index: 9;
  width: 64%;
  animation-name: munakata_zoomInReveal;
  animation-duration: 1s;
  animation-timing-function: ease-out;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
}
@keyframes munakata_zoomInReveal {
  from {
    transform: scale(0);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
.ly_mv_eyecatcher img {
  animation-name: munakata_rotate;
  animation-duration: 12s;
  animation-timing-function: linear;
  animation-iteration-count: 100;
}
@keyframes munakata_rotate {
  from {
    transform: rotate(0);
  }
  to {
    transform: rotate(360deg);
  }
}

.ly_mv_teller {
  position: relative;
  z-index: 99;
  margin-right: 0;
  margin-left: auto;
  width: 80%;
  animation-name: munakata_slideInRevealRight;
  animation-duration: 1s;
  animation-timing-function: ease;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
}
@keyframes munakata_slideInRevealRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.ly_mv_lead--primary {
  position: absolute;
  top: 56%;
  z-index: 9999;
}
.ly_mv_lead--primary img {
  width: 80%;
  opacity: 0;
  animation-name: munakata_slideInRevealLeft;
  animation-duration: 1s;
  animation-delay: 0.5s;
  animation-timing-function: ease;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
}
@keyframes munakata_slideInRevealLeft {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.ly_mv_lead--secondary {
  position: absolute;
  top: 72%;
  z-index: 9999;
}
.ly_mv_lead--secondary img {
  width: 88%;
  opacity: 0;
  animation-name: munakata_slideInRevealLeft;
  animation-duration: 1s;
  animation-delay: 0.8s;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
}

.ly_mv_ctaBtn {
  position: absolute;
  top: 84%;
  z-index: 9999;
  animation-name: munakata_pulse;
  animation-duration: 1s;
  animation-timing-function: ease-in-out;
  animation-direction: alternate-reverse;
  animation-iteration-count: 100;
}
.ly_mv_ctaBtn img {
  width: 80%;
  opacity: 0;
  animation-name: munakata_slideInRevealLeft;
  animation-duration: 1s;
  animation-delay: 1.1s;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
}

.ly_mv_decoration {
  position: absolute;
  bottom: 0;
  z-index: 9999;
}

.bl_front_greeting {
  position: relative;
  text-align: center;
}

.ly_greeting_title {
  padding: 12px 0;
}
.ly_greeting_title img {
  width: 88%;
  opacity: 0;
  transform: scale(0);
  transition: opacity 1s ease, transform 1s ease;
}
.ly_greeting_title img.is_active {
  opacity: 1;
  transform: scale(1);
}

.ly_greeting_letter {
  padding: 24px 0 24px 8px;
}
.ly_greeting_letter img {
  width: 88%;
  opacity: 0;
  transform: translateY(-50%);
  transition: opacity 1s ease, transform 1s ease;
}
.ly_greeting_letter img.is_active {
  opacity: 1;
  transform: translateY(0);
}

.bl_front_testimonial {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  padding: 24px 4%;
  text-align: center;
}

.ly_testimonial_title {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px 0;
  height: 88px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.ly_testimonial_title img {
  display: inline-block;
  height: 24px;
  opacity: 0;
  transform: scale(0);
  transition: opacity 1s ease, transform 1s ease;
}
.ly_testimonial_title img.is_active {
  opacity: 1;
  transform: scale(1);
}

.ly_testimonial_content {
  overflow: hidden;
}
.ly_testimonial_content img {
  opacity: 0;
  transform: translateX(100%);
  transition: opacity 1s ease, transform 1s ease;
}
.ly_testimonial_content img.is_active {
  opacity: 1;
  transform: translateX(0);
}

.ly_front_floatingCtaBtn {
  position: sticky;
  bottom: 0;
  z-index: 99999;
  margin: 40px auto;
  padding: 24px 4%;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.ly_front_floatingCtaBtn img {
  animation-name: munakata_pulse;
  animation-duration: 1s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: 100;
  animation-direction: alternate-reverse;
}

.ly_front_floatingCtaBtn.is_show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* =============================================================
# form view
============================================================= */
.ly_formView {
  display: none;
}

#js_formView {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

#js_formView.is_visible {
  display: block;
}

#js_formView.is_fadeIn {
  opacity: 1;
}

.bl_form_mv {
  position: relative;
  overflow: hidden;
}

.ly_mv_eyecatcher--form {
  position: absolute;
  top: -4%;
  left: -13%;
  z-index: 9;
}
.ly_mv_eyecatcher--form img {
  width: 80%;
  animation-name: munakata_rotate;
  animation-duration: 12s;
  animation-iteration-count: 100;
  animation-timing-function: linear;
}

.ly_mv_title--form {
  position: absolute;
  top: 10%;
  left: 4%;
  z-index: 999;
  width: 50%;
}

.ly_mv_teller--form {
  position: relative;
  z-index: 99;
  margin-right: 0;
  margin-left: auto;
  width: 80%;
}

.ly_mv_lead--form {
  position: absolute;
  bottom: 0;
  z-index: 999;
  padding-block: 20px;
  background-image: linear-gradient(to bottom, transparent, #3b2a0a 10%);
  text-align: center;
}
.ly_mv_lead--form img {
  width: 80%;
}

.bl_form_content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 24px 4% 48px;
  background-color: #fff4d8;
}
.bl_form_content fieldset {
  border: none;
}
.bl_form_content legend {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}
.bl_form_content legend small {
  display: inline-block;
  padding: 4px 8px;
  border: 1px solid hsl(0, 100%, 30%);
  border-radius: 4px;
  background-color: hsl(0, 100%, 40%);
  font-size: 1.4rem;
  line-height: 1;
  color: #fff;
}
.bl_form_content legend span {
  font-size: 1.8rem;
}

.ly_form_radioBtn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
}
.ly_form_radioBtn label {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 8px;
  width: 50%;
  border: 1px solid #aaa;
  border-radius: 8px;
  background-color: #ccc;
  font-size: 1.8rem;
  color: #333;
  transition: border-color 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}
.ly_form_radioBtn span {
  width: 100%;
  text-align: center;
  font-weight: 700;
}
.ly_form_radioBtn label[for=m]:has(input#m:checked) {
  border-color: hsl(240, 100%, 30%);
  background-color: hsl(240, 100%, 40%);
  color: #fff;
}
.ly_form_radioBtn label[for=f]:has(input#f:checked) {
  border-color: hsl(0, 100%, 30%);
  background-color: hsl(0, 100%, 40%);
  color: #fff;
}

.ly_form_selectBox {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 12px 0;
}
.ly_form_selectBox select {
  display: inline-block;
  padding: 8px;
  width: 100%;
  border: 1px solid #aaa;
  border-radius: 8px;
  text-align: center;
  font-size: 1.8rem;
}
.ly_form_selectBox label {
  font-size: 1.5rem;
  font-weight: 700;
}

.ly_form_textField {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px 0;
}
.ly_form_textField input[type=text] {
  display: inline-block;
  padding: 8px;
  width: 100%;
  border: 1px solid #aaa;
  border-radius: 8px;
  text-align: center;
  font-size: 1.8rem;
}

.ly_form_submitBtn {
  display: flex;
  justify-content: center;
  align-items: center;
}
.ly_form_submitBtn input[type=image] {
  display: inline-block;
  max-width: 100%;
  width: 88%;
  animation-name: munakata_pulse;
  animation-duration: 1s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: 100;
  animation-direction: alternate-reverse;
}
@keyframes munakata_pulse {
  from {
    transform: scale(1.1);
    filter: saturate(1.72);
  }
  to {
    transform: scale(1);
    filter: saturate(1);
  }
}

/* =============================================================
# common
============================================================= */
.bl_footer {
  background-color: #fff;
}

.bl_footer_nav {
  padding: 24px 4%;
  list-style-type: none;
}
.bl_footer_nav li {
  border-bottom: 1px solid #ddd;
  text-align: center;
}
.bl_footer_nav a {
  display: inline-block;
  padding: 12px 24px;
  text-decoration: none;
  font-family: "Noto Serif JP", serif;
  font-size: 1.8rem;
  color: #333;
}

.ly_footer_copyright {
  text-align: center;
}

.el_footer_copyright {
  display: inline-block;
  padding-block: 24px;
}

/* =============================================================
# confirmation page
============================================================= */
.ly_confPage {
  position: relative;
  padding-bottom: 48px;
  background-color: #fff4d8;
  text-align: center;
}

.el_confPage_heading {
  padding-block: 24px;
  font-size: 2rem;
}

.ly_conf_table table {
  padding-block: 24px;
  width: 100%;
  background-color: #fff;
}
.ly_conf_table th {
  padding: 8px;
  text-align: right;
}
.ly_conf_table td {
  padding: 8px;
}

.ly_conf_cvBtn {
  padding: 24px 4%;
}

.el_conf_cvBtn {
  display: inline-block;
  width: 80%;
}

.ly_conf_navi {
  padding-inline: 4%;
}
.ly_conf_navi p {
  margin-block: 24px;
}
.ly_conf_navi img {
  border: 1px solid #333;
  border-radius: 4px;
}