@charset "UTF-8";



:root {
  background:
    /*url("https://happy-cielo.jp/lp/sp57/common/img/new_html_bg_pattern.webp"),*/
    linear-gradient(to right, #9fadff, #fec8ff, #bad9ff);
  background-size: auto, auto auto;
  background-attachment: fixed, fixed;
  background-repeat: repeat, repeat;
  background-position: center, center;
}




body {
  width: 100%;
  margin: 0 auto;
  font-family: "Yu Mincho", YuMincho, "Hiragino Mincho ProN", Georgia, 游明朝, HGS明朝E, serif;
  font-feature-settings: "pwid" 1;
  -webkit-font-smoothing: subpixel-antialiased;
  -moz-osx-font-smoothing: unset;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  word-wrap: break-word;
  color: #3d3d3d;
}

* {
  box-sizing: border-box;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
}

* {
  font-family: HiraKakuProN-W3, sans-serif;
}

img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

li {
  list-style: none;
}

a {
  text-decoration: none;
}

a:hover {
  opacity: .6;
}

header,
body,
footer {
  max-width: 450px;
  width: 100%;
  margin: 0 auto;
}

main {
  background: #ffffff;
  padding-bottom: 1px;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
  top: 71%;
  left: 50%;
  transform: translate(-50%, -50%);
}


.fade-in {
  opacity: 0;
}

.nayami {
  margin: 0 auto;
  padding-top: 5%;
  background: #ffffff;
}

.nayami img {
  width: 91%;
  display: block;
  opacity: 0;
  margin: -4% auto;
}

.nayami img:first-child{
  width:66%;margin:0 auto 9%;opacity:1;
}
.nayami img:last-child {
  margin-bottom: 0;
}


.nayami .fade-in.visible {
  animation: 1s nayami_img_frombottom ease-out both;
}

.nayami .fade-in.visible:nth-child(3){
  animation-delay: 0.3s;
}

.nayami .fade-in.visible:nth-child(4){
  animation-delay: 0.4s;
}

.nayami .fade-in.visible:nth-child(5){
  animation-delay: 0.5s;
}

@keyframes nayami_img_frombottom {
  0% {
    opacity: 0;
    transform: translateY(80px);
  }

  40% {
    opacity: 1;
  }

  100% {
    opacity: 1;
    transform: translateY(0%);
  }
}




.cta.fade-in.visible {
  animation: 1s text1animation ease-out both,
    kiran 1.5s ease-in-out 1s infinite;
}

@keyframes text1animation {
  0% {
    width: 43%;
  }

  100% {
    opacity: 1;
    width: 90%;
  }
}

@keyframes kiran {

  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    transform: translate(-50%, -50%) scale(0.92);
  }
}


.cta2 {
  top: 75%;
}


/* ここからフォーム */
.step {
  display: flex;
  margin: 24px auto;
  width: 90%;
}

.step div {
  flex: 1;
  padding: 10px 16px 10px 10px;
  font-size: 14px;
  text-align: center;
  background: #f3f3f3;
  color: #4a4a4a;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%);
  border-radius: 4px 0px 0px 4px;
}

.step .active {
  background: var(--form-color);
  color: #fff;
  font-weight: bold;
}

.step .last {
  clip-path: none;
  border-radius: 4px;
}


.form-title {
  font-size: 20px;
  font-weight: bold;
  color: #1e88e5;
  border-bottom: 4px solid #1e88e5;
  padding-bottom: 4px;
  margin-bottom: 0;
  padding-left: 4%;
}

.formmidashi {
  font-size: 16px;
  background: white;
  color: #1e88e5;
  display: block;
  width: fit-content;
  padding: 0 0.5rem 5px;
  margin-top: -29px;
  margin-left: -15px;
}

form .valid_ng_border {
  animation: valid_ng_border 0.5s 0s linear 2 alternate;
  border-color: red;
  background: #ffd4d4;
}

@keyframes valid_ng_border {

  0%,
  15% {
    border-color: red;
    background: #ffd4d4;
  }

  85%,
  100% {
    border-color: #ffeaea9f;
    background: #fff1f1ff;
  }
}



:root {
  /* アクセントカラー的な */
  --form-color: #1E88E5;
  /*入力項目どうしの余白*/
  --form-margin-top: 20px;
  /*フォームラベルのフォントサイズ*/
  --form-font-size: 1rem;
  /*フォーム入力欄のborderスタイル*/
  --form-border-style: 1px solid #a9a9a9;
}

form {
  width: 92%;
  margin: 34px auto 40px;
  padding: 14px 24px;
  background: #ffff;
  border: 2px solid #e8e8e8;
  border-radius: 0;
}


/* 入力欄見出し */
.form_label {
  font-weight: bold;
  font-size: var(--form-font-size);
  margin-top: var(--form-margin-top);
  margin-bottom: 3px;
  color: #4a4a4a;
}

.form_label::before {
  content: "▼";
  margin-right: 4px;
  /* テキストとの間隔 */
  color: var(--form-color);
}

.form_label span {
  display: inline;
  padding: 0 4px;
  font-size: 0.8em;
  color: var(--form-color);
}

/* 入力欄汎用設定 */
input[name="reg_furigana"],
input[name="reg_mail"],
select[name="reg_birth_yy"],
select[name="reg_birth_mm"],
select[name="reg_birth_dd"],
select[name="domain"],
select[name="reg_unsei"] {
  font-size: var(--form-font-size);
  border: 1.4px solid #ccc;
  border-radius: 6px;
  width: 100%;
  padding: 6px 12px;
  display: block;
}


/* ラジオ */
.radio_group {
  gap: 8px;
  height: auto;
  margin-bottom: 0;
  padding-bottom: 0;
  display: flex;
  align-items: center;
}

.radio_group input {
  display: block;
  width: 16px;
  height: 16px;
  font-size: 16px;
}

.radio_group label {
  border: none;
  background: none;
  box-shadow: none;
  color: #4a4a4a;
  text-shadow: none;
  margin: 0;
  text-align: initial;
  display: block;
  float: initial;
  flex: initial;
  width: auto;
}

.radio_group label:nth-of-type(1),
.radio_group label:nth-of-type(2) {
  border-radius: 100px;
}






/* 生年月日 */
#birth_flex {
  width: 100%;
  margin: 0 auto;
  display: flex;
  gap: 6px;
}

#birth_flex select {
  flex: 1;
}




/* メアド入力型につき追加2024年7月25日 */

.mail_flex {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  flex-wrap: nowrap;
  align-items: center;
}




input[type="submit"] {
  width: 100%;
  margin: 11% auto 5%;
  padding: 10px 10%;
  color: white;
  font-weight: bold;
  background: linear-gradient(68deg, #f2769c 0%, #ffb5c1 100%);
  border: none;
  border-radius: 8px;
  font-size: 20px;
  box-shadow: 0 2px 7px #ffcbcb;
  cursor: pointer;
}














dd,
dl,
dt {
  overflow-x: hidden;
}







footer {
  max-width: 450px;
  margin: 0 auto;
  background: #f0f7ff;
}

.footermenu {
  background: aliceblue;
  color: #000000;
}

#copy {
  background: #072f4b;
}


footer #copy {
  width: 100%;
  padding: 6px 0;
  display: block;
  color: #fff;
  font-size: 12px;
  text-align: center;
}

footer #copy p {
  color: #ffff;
}

.open_btn {
  font-size: 12px;
}

li {
  list-style: none;
}