body.theme-f{
  --accent: #7f2f4f;
  --ink: #2f2418;
  --muted: rgba(47, 36, 24, 0.72);
  --bg-image-mobile: none;
  --bg-image-pc: none;
  --body-overlay: none;
  background-color: #eadfcf;
}

body.theme-f::before{
  display: none;
}

body.theme-f.state-form-active .page{
  padding: 20px 12px 42px;
}

body.theme-f.state-form-active .container{
  max-width: 440px;
  padding: 58px 22px 92px;
  border: none;
  border-radius: 0;
  box-shadow: none;
  background-color: transparent;
  background-image: url("./images/design-g-panel-paper.png");
  background-position: center top;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  position: relative;
  overflow: visible;
  isolation: isolate;
}

body.theme-f.state-form-active .container::before{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.10);
  pointer-events: none;
  z-index: 0;
}

body.theme-f.state-form-active #state-form{
  position: relative;
  text-align: center;
  padding: 18px 0 24px;
  z-index: 1;
}

body.theme-f.state-form-active .design-f-hero{
  display: block;
  margin: 0 -6px 8px;
  position: relative;
  z-index: 12;
}

body.theme-f .design-g-panel-rope{
  display: none;
}

body.theme-f.state-form-active .design-g-panel-rope{
  display: block;
  width: 100%;
  height: auto;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 8;
  pointer-events: none;
}

body.theme-f.state-form-active .design-g-panel-rope--top{
  top: -20px;
}

body.theme-f.state-form-active .design-g-panel-rope--bottom{
  bottom: -104px;
}

body.theme-f.state-form-active .design-g-hero__title{
  display: block;
  width: 76%;
  margin: 40px auto 10px;
  height: auto;
  position: relative;
  z-index: 12;
}

body.theme-f.state-form-active .design-g-hero__scene{
  position: relative;
  width: 100%;
  margin: 0 auto 4px;
}

body.theme-f.state-form-active .design-g-hero__scene-main{
  display: block;
  width: 92%;
  max-width: 390px;
  margin: 0 auto;
  height: auto;
}

body.theme-f.state-form-active #state-form .kicker,
body.theme-f.state-form-active #state-form h1,
body.theme-f.state-form-active #state-form .lead{
  display: none;
}

body.theme-f.state-form-active .profile-link-row{
  margin: 4px 0 12px;
  text-align: center;
}

body.theme-f.state-form-active .profile-link{
  display: inline-block;
  font-family: "Zen Old Mincho", serif;
  font-size: 22px;
  font-weight: 700;
  color: #5a3923;
  text-decoration: none;
  border-bottom: 1px solid rgba(90, 57, 35, 0.45);
  line-height: 1.35;
}

body.theme-f.state-form-active .profile-link:hover,
body.theme-f.state-form-active .profile-link:active{
  color: #6a4429;
  border-bottom-color: rgba(106, 68, 41, 0.65);
}

body.theme-f.state-form-active .form{
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0 6px;
  box-shadow: none;
  max-width: 100%;
}

body.theme-f.state-form-active label{
  font-family: "Zen Old Mincho", serif;
  color: #2d2218;
  font-size: 24px;
  margin: 12px 0 5px;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

body.theme-f.state-form-active .label-sub{
  color: rgba(45, 34, 24, 0.8);
  font-size: 0.75em;
  letter-spacing: 0.04em;
}

body.theme-f.state-form-active .design-g-input-wrap{
  position: relative;
  width: 100%;
  min-height: 80px;
  margin: 0 auto 14px;
  padding: 12px 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 0;
  background: url("./images/design-g-scroll-frame.png") center center / 100% 100% no-repeat;
}

body.theme-f.state-form-active .design-g-birthday-row{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0 auto 12px;
}

body.theme-f.state-form-active .design-g-input-wrap--birthday{
  width: calc((100% - 12px) / 3);
  min-height: 74px;
  margin: 0;
  padding: 10px 18px;
}

body.theme-f.state-form-active .design-g-input-wrap input,
body.theme-f.state-form-active .design-g-input-wrap select{
  width: 100%;
  min-height: 42px;
  margin: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #2f2418;
  text-align: center;
  font-size: 16px;
  letter-spacing: 0.04em;
  padding: 6px 0;
}

body.theme-f.state-form-active #birthday{
  display: none;
}

body.theme-f.state-form-active .design-g-input-wrap select{
  text-align: center;
  text-align-last: center;
}

body.theme-f.state-form-active .design-g-input-wrap input:focus,
body.theme-f.state-form-active .design-g-input-wrap select:focus{
  outline: none;
  box-shadow: none;
}

body.theme-f.state-form-active #email{
  text-align: center;
}

body.theme-f.state-form-active .wish-free-wrap{
  margin-top: -2px;
}

body.theme-f.state-form-active .design-g-textarea-wrap{
  width: 100%;
  min-height: 112px;
  margin: 0 auto 16px;
  padding: 12px 16px;
  border: 3px solid #7B5B3A;
  border-radius: 8px;
  background: #FEFEFA;
  position: relative;
}

body.theme-f.state-form-active .design-g-textarea-wrap::before{
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #6B4E2E;
  top: -6px;
  left: -6px;
  box-shadow:
    calc(100% + 2px) 0 0 #6B4E2E,
    0 calc(100% + 2px) 0 #6B4E2E,
    calc(100% + 2px) calc(100% + 2px) 0 #6B4E2E;
}

body.theme-f.state-form-active .design-g-textarea-wrap textarea{
  width: 100%;
  min-height: 82px;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #2f2418;
  font-size: 16px;
  letter-spacing: 0.03em;
  padding: 0;
  line-height: 1.65;
  resize: vertical;
}

body.theme-f.state-form-active .design-g-textarea-wrap textarea:focus{
  outline: none;
  box-shadow: none;
}

body.theme-f.state-form-active .form-hint{
  margin: 2px 0 8px;
  font-size: 12px;
  color: rgba(47, 36, 24, 0.68);
}

body.theme-f.state-form-active #submit-button{
  width: 70%;
  max-width: 240px;
  aspect-ratio: auto !important;
  height: 36px;
  min-height: 36px;
  margin: 8px auto 0;
  padding: 6px 14px;
  background: #702739 !important;
  background-image: none !important;
  border: 3px solid #7B5B3A;
  border-radius: 8px;
  color: #fff !important;
  font-family: "Zen Old Mincho", serif;
  font-size: 0.98em;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-shadow: none;
  box-shadow: 0 8px 18px rgba(72, 43, 25, 0.22);
  filter: none;
  cursor: pointer;
  transition: filter 0.2s ease, opacity 0.2s ease;
}

body.theme-f.state-form-active #submit-button:hover,
body.theme-f.state-form-active #submit-button:active{
  opacity: 0.9;
  filter: brightness(1.08);
}

body.theme-f.state-form-active .note,
body.theme-f.state-form-active .message{
  color: rgba(47, 36, 24, 0.80);
  font-size: 13px;
  position: relative;
  z-index: 14;
}

@media (min-width: 640px){
  body.theme-f.state-form-active .container{
    max-width: 500px;
    padding: 62px 26px 98px;
  }
  body.theme-f.state-form-active .design-g-hero__scene-main{
    max-width: 420px;
  }
  body.theme-f.state-form-active .design-g-hero__title{
    margin: 80px auto 10px;
  }
  body.theme-f.state-form-active .design-g-panel-rope{
    width: calc(100% + 100px);
  }
  body.theme-f.state-form-active .design-g-panel-rope--top{
    top: -20px;
  }
  body.theme-f.state-form-active .design-g-panel-rope--bottom{
    bottom: -116px;
  }
}
