@charset "utf-8";
/* CSS Document */

/* 



*/


/* common */

html{
  scroll-behavior: smooth;
}

body{
  background-color: #009245;
  padding :10px;
}

.box1{
  background-color: #ef7bab;
  padding: 5px;
}

.box2{
  background-color: #ffc3db;
}

.title{
  display: flex;
  justify-content: center;
  transform: translateY(-10px);
  margin-bottom: 20px;
}

h2{
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 900;
  font-style: normal;
  font-size: 25px;
}

.required-mark{
  color: #f00;
  font-weight: 900;
}


/* greeting */

.greeting h2{
  text-align: center;
  margin-bottom: 30px;
}

.greeting p{ 
  font-family: "sicselifgothicre", sans-serif; 
  font-weight: 400; 
  font-style: normal; 
  font-size: 15px; 
  text-align: center; 
}

.greeting p .greeting-line{
  display: block;
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 2s ease, transform 1s ease;
}

.greeting p .greeting-line.is-visible{
  opacity: 1;
  transform: translateY(0);
}

.greeting{
  position: relative;
  margin-bottom: 45px;
}

.img1{
  position: absolute;
  width: 25px;
  height: auto;
  top: 3%;
  left: 2%;
}
.img2{
  position: absolute;
  width: 40px;
  height: auto;
  transform: scaleX(-1);
  top: 20%;
  right: 3%;
}
.img3{
  position: absolute;
  width: 30px;
  height: auto;
  top: 37%;
  left: 5%;
}
.img4{
  position: absolute;
  width: 30px;
  height: auto;
  top: 5%;
  right: 2%;
}
.img5{
  position: absolute;
  width: 40px;
  height: auto;
  top: 4%;
  left: 15%;
}
.img6{
  position: absolute;
  width: 30px;
  height: auto;
  transform: scaleX(-1) rotate(150deg);
  top: 39%;
  right: 1%;
}
.img7{
  position: absolute;
  width: 38px;
  height: auto;
  top: 20%;
  left: 4%;
}
.img8{
  position: absolute;
  width: 43px;
  height: auto;
  top: 1%;
  right: 15%;
}
.img9{
  position: absolute;
  width: 50px;
  height: auto;
  top: 55%;
  right: 4%;
}
.img10{
  position: absolute;
  width: 85px;
  height: auto;
  top: 75%;
  left: 0;
}


/* information */

.information h2{
  text-align: center;
  margin-bottom: 50px;
}

.information{
  position: relative;
  margin-bottom: 70px;
}

.information > img {
  position: absolute;
  top: 1%;
  width: 75px;
  height: 53px;
}

.information > img:first-of-type {
  left: 2%;
}

.information > img:last-of-type {
  right: 2%;
  transform: scaleX(-1);
}

.infobox{
  margin: 0 13px;
  background-image: url(../img/3.png);
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-position: top center;
  aspect-ratio: 1214 / 1407;
  padding-top: 60px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 40px;
}

.noto{
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 900;
  font-style: normal;
  font-size: 25px;
  text-align: center;
}

.sic{
  font-family: "sicselifgothicre", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 30px;
  text-align: center;
  margin-bottom: -15px;
}

.sinzoku p, .raihin p{
  font-family: "sicselifgothicre", sans-serif;
  text-align: center;

  display: table;
  margin-left: auto;
  margin-right: auto;
}

.sinzoku{
  margin-bottom: 20px;
}

.raihin{
  margin-bottom: 45px;
}


/* access */

.access{
  margin-bottom: 50px;
}

.access-box{
  position: relative;
}

.access-box h2{
  text-align: center;
  margin-bottom: 30px;
}

.img11{
  position: absolute;
  width: 30px;
  height: auto;
  top: -75%;
  left: 23%
}
.img14{
  position: absolute;
  width: 30px;
  height: auto;
  top: -75%;
  right: 23%;
}
.img12{
  position: absolute;
  width: 20px;
  height: auto;
  top: 60%;
  right: 7%;
}
.img15{
  position: absolute;
  transform: scaleX(-1);
  width: 20px;
  height: auto;
  top: 60%;
  left: 7%;
}
.img13{
  position: absolute;
  width: 25px;
  height: auto;
  top: 40%;
  right: 14%;
}
.img16{
  position: absolute;
  transform: scaleX(-1);
  width: 25px;
  height: auto;
  top: 40%;
  left: 14%;
}

iframe {
  width: 95%;
  aspect-ratio: 4 / 3;
  height: auto;
  display: block;
  margin: 0 auto 20px;
}

.address p, .kurumade p{
  font-family: "sicselifgothicre", sans-serif;
  text-align: center;

  display: table;
  margin-left: auto;
  margin-right: auto;
}

.address{
  margin-bottom: 60px;
}

.kurumade{
    position: relative;
}

.kurumade img{
    position: absolute;
    width: 90px;
    height: auto;
    top: -35%;
    right: 3%;

    transition: transform 3.0s ease-out;
}

.kurumade.car-move img{
    transform: translate(-40px, -25px);
}


/* rsvp */

.rsvp{
  margin-bottom: 110px;
}

.rsvp-box{
  position: relative;
  margin-bottom: 30px;
}

.rsvp-box h2{
  text-align: center;
  margin-bottom: 35px;
}

.img17{
  position: absolute;
  top: 50%;
  left:9%;
}
.img18{
  position: absolute;
  top: 50%;
  right:9%;
}
.img19{
  position: absolute;
  top: -10%;
  left:25%;
}
.img20{
  position: absolute;
  top: -10%;
  right:25%;
}

.rsvp p{
  font-family: "sicselifgothicre", sans-serif;
  text-align: center;

  display: table;
  margin-left: auto;
  margin-right: auto;
}



/* invitation */

.invitation{
  margin-bottom: 65px;
}

.invitation-box{
  position: relative;
  margin: 0 auto 15px;
  padding: 30px 8px;
  width: 92%;
  background-color: #e0dfcd;
}

.invitation-box::before,
.invitation-box::after{
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);

  width: calc(100% - 24px);
  height: 24px;

  background-image: radial-gradient(
    circle,
    #ffc3db 0,
    #ffc3db 10px,
    transparent 10px
  );

  background-size: calc(100% / 12) 24px;
  background-repeat: repeat-x;
}


/* 上端 */
.invitation-box::before{
  top: -12px;
}


/* 下端 */
.invitation-box::after{
  bottom: -12px;
}


.container1{
  border: 2px solid #f00;
  border-radius: 10px 10px 0 0;
  position: relative;

  p{
    font-family: "toppan-bunkyu-midashi-min-st", serif;
    font-weight: 900;
    letter-spacing: 0.3em;
    font-size: 30px;
    text-align: center;
    margin-top: -10px;
    margin-bottom: -25px;
  }

  img{
    display: block;
    width: 100%;
    height: auto;
    margin-bottom: -12px;
  }
}

.img21{
  position: absolute;
  width: 30% !important;
  height: auto;
  top: -95%;
  left: -3%;
}
.img22{
  position: absolute;
  width: 80% !important;
  height: auto;
  top: -90%;
  right: -12%;
}

.container2{
  border: 2px solid #f00;
  border-radius: 0 0 10px 10px;
  border-top: none;
}




/* =========================
   フォーム全体
========================= */

#attendance-form{
  padding: 30px 20px 20px;
  font-family: "sicselifgothicre", sans-serif;
}


/* =========================
   フォームセクション
========================= */

.form-section{
  margin-bottom: 40px;
}

.form-section:last-of-type{
  margin-bottom: 0;
}

/* =========================
   フォーム項目
========================= */

.form-group{
  margin: 0 0 25px;
  padding: 0;
  border: none;
}

.form-label,
.form-group legend{
  display: block;
  margin-bottom: 10px;
  font-family: "sicselifgothicre", sans-serif;
  font-size: 16px;
  font-weight: 400;
}


/* =========================
   入力欄
========================= */

.form-input{
  box-sizing: border-box;
  width: 100%;
  height: 45px;
  padding: 8px 12px;

  border: 1px solid #999;
  border-radius: 7px;

  background-color: #fff;

  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 400;

  outline: none;
}

.form-input:focus{
  border-color: #555;
}

.form-group:last-child{
  margin-bottom: 0;
}


/* =========================
   郵便番号
========================= */

.postal-code{
  display: flex;
  align-items: center;
  gap: 4px;
}

.postal-code__input{
  width: 65px;
  flex-shrink: 0;
}

.postal-code__input:nth-of-type(2){
  width: 75px;
}

.postal-code__hyphen{
  font-size: 16px;
}


/* =========================
   住所検索ボタン
========================= */

.button--address-search{
  flex: 1;
  min-width: 0;
  height: 45px;
  margin-left: 8px;
  padding: 0 6px;

  border: 1px solid #999;
  border-radius: 7px;

  background-color: #fff;
  color: #000;

  font-family: "sicselifgothicre", sans-serif;
  font-size: 16px;
  font-weight: 400;

  white-space: nowrap;
}

.button--address-search:disabled{
  background-color: #e5e5e5;
  color: #999;
  border-color: #ccc;
  cursor: not-allowed;
  opacity: 0.6;
}


/* =========================
   補足テキスト
========================= */

.form-note{
  margin: 6px 0 0;

  font-family: "sicselifgothicre", sans-serif;
  font-size: 13px;
  font-weight: 400;
}


/* =========================
   ラジオボタン
========================= */

.radio-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.radio-card{
  display: flex;
  align-items: center;
  justify-content: center;

  min-height: 50px;

  border: 1px solid #999;
  border-radius: 7px;

  background-color: #fff;

  font-family: "sicselifgothicre", sans-serif;
  font-size: 16px;
  font-weight: 400;

  cursor: pointer;
}

.radio-card.is-disabled{
  background-color: #e5e5e5;
  opacity: 0.6;
  cursor: not-allowed;
}

.radio-card input{
  margin-right: 8px;
}


/* =========================
   通常のラジオボタン
========================= */

.radio-list{
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.radio-item{
  display: flex;
  align-items: center;

  font-family: "sicselifgothicre", sans-serif;
  font-size: 16px;
  font-weight: 400;

  cursor: pointer;
}

.radio-item.is-disabled{
  color: #999;
  opacity: 0.6;
  cursor: not-allowed;
}

.radio-item input{
  margin-right: 7px;
}


/* =========================
   テキストエリア
========================= */

.form-textarea{
  box-sizing: border-box;
  width: 100%;
  padding: 10px 12px;

  border: 1px solid #999;
  border-radius: 7px;

  background-color: #fff;

  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 400;

  resize: vertical;
  outline: none;
}

.form-textarea:focus{
  border-color: #555;
}

.form-textarea--medium{
  min-height: 70px;
}

.form-textarea--large{
  min-height: 150px;
}


/* =========================
   エラー表示
========================= */

.form-error{
  margin: 0;

  font-family: "sicselifgothicre", sans-serif;
  font-size: 14px;
  font-weight: 400;
}

/* =========================
   条件付き入力欄
========================= */

.form-group--conditional{
  display: block;
}

.form-input:disabled,
.form-textarea:disabled{
  background-color: #e5e5e5;
  opacity: 0.6;
  cursor: not-allowed;
}

/* =========================
   send button
========================= */

.send-image{
  display: block;
  width: 92%;
  height: auto;
  margin: 0 auto;
}


/* footer */

.footer{
  width: 60%;
  margin-left: 8%;
  margin-right: auto;
  padding-bottom: 20px;
  position: relative;

  display: flex;
  flex-direction: column;
  gap: 10px;
}

.img23{
  position: absolute;
  width: 35px;
  height: auto;
  top: -30%;
  left: -10%;
}
.img24{
  position: absolute;
  width: 20px;
  height: auto;
  top: -18%;
  left: 10%;
}
.img25{
  position: absolute;
  width: 85px;
  height: auto;
  top: -15%;
  left: 53%
}
.img26{
  position: absolute;
  width: 25px;
  height: auto;
  top: 80%;
  left: 13%;
}
.img27{
  position: absolute;
  width: 25px;
  height: auto;
  top: 67%;
  left: 3%;
}
.img28{
  position: absolute;
  width: 120px;
  height: auto;
  right: 0;
  bottom: 0;
}

.wrap-footer{
  position: relative;
}
.img29{
  position: absolute;
  width: 70px;
  height: auto;
  top: 45%;
  left: 60%;
  transform: scaleX(-1);
}

.footer-item{
  display: block;

  font-family: "sicselifgothicre", sans-serif;
  font-size: 16px;
  font-weight: 400;

  color: #000;
  text-decoration: none;
}

/* 1つ目 → 左 */
.footer-item:nth-child(1){
  margin-left: 0;
}

/* 2つ目 → 右へ */
.footer-item:nth-child(2){
  margin-left: 30%;
}

/* 3つ目 → 左 */
.footer-item:nth-child(3){
  margin-left: 0;
}

/* 4つ目 → 2つ目と同じ位置 */
.footer-item:nth-child(4){
  margin-left: 30%;
}








/* complete */

.complete{
  background-color: #009245;
  padding: 10px;
  box-sizing: border-box;
  height: 100dvh;


  .box1{
    background-color: #ef7bab;
    height: 100%;
    padding: 5px;
    box-sizing: border-box;


    .box2{
      background-color: #ffc3db;
      width: 100%;
      height: 100%;
      box-sizing: border-box;
      display: flex;
      flex-direction: column;
      gap: 50px;

      justify-content: center;
      align-items: center;
    }
  }
}

.complete .box2 div{
  text-align: center;
  font-size: 17px;
  font-family: "sicselifgothicre", sans-serif;
  font-weight: 100;
  &:first-of-type p{
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 900;
    font-size: 27px;
  }

  position: relative;
}

.complete .box2 p{
  text-align: center;
  font-size: 17px;
  font-family: "sicselifgothicre", sans-serif;
}

.img30{
  position: absolute;
  width: 20px;
  height: auto;
  top: -105%;
  left: -35%;
}
.img31{
  position: absolute;
  width: 35px;
  height: auto;
  top: -140%;
  right: -40%;
  transform: scaleX(-1);
}
.img32{
  position: absolute;
  width: 29px;
  height: auto;
  top: -150%;
  left: 0%;
}
.img33{
  position: absolute;
  width: 27px;
  height: auto;
  top: 5%;
  right: -50%;
  transform: scaleX(-1) rotate(150deg);
}
.img34{
  position: absolute;
  width: 27px;
  height: auto;
  top: 10%;
  left: -45%;
}
.img35{
  position: absolute;
  width: 35px;
  height: auto;
  top: -190%;
  left: 40%;
}
.img36{
  position: absolute;
  width: 22px;
  height: auto;
  top: -150%;
  right: 0%;
}

.img37{
  position: absolute;
  width: 28px;
  height: auto;
  top: -30%;
  left: -25%; 
}
.img38{
  position: absolute;
  width: 28px;
  height: auto;
  top: -30%;
  right: -25%; 
}

.img39{
  position: absolute;
  width: 20px;
  height: auto;
  top: 210%;
  left: 10%;
  transform: scaleX(-1);
}
.img40{
  position: absolute;
  width: 20px;
  height: auto;
  top: 210%;
  right: 10%;
}

.img41{
  position: absolute;
  width: 20px;
  height: auto;
  top: 170%;
  left: -5%;
  transform: scaleX(-1);
}
.img42{
  position: absolute;
  width: 20px;
  height: auto;
  top: 170%;
  right: -5%;
}


/* responsive */

@media screen and (min-width: 400px){
  .box1{
    max-width: 400px;
    margin: 0 auto;
  }

  .infobox{
  margin: 0 13px;
  background-image: url(../img/3.png);
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-position: top center;
  aspect-ratio: 1214 / 1407;
  padding-top: 60px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 40px;
}
}




/* animation */

/* =========================================================
   RSVP ハートの浮遊アニメーション
========================================================= */

@keyframes heart-float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }

    100% {
        transform: translateY(0);
    }
}

.img17 {
    animation: heart-float 2.3s ease-in-out infinite;
}

.img18 {
    animation: heart-float 2.5s ease-in-out infinite;
}

.img19 {
    animation: heart-float 2.4s ease-in-out infinite;
}

.img20 {
    animation: heart-float 2.1s ease-in-out infinite;
}

/* =========================================================
   INFORMATION 日時アニメーション
========================================================= */

.infobox > p{
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 4.5s ease, transform 1.2s ease;
}

.infobox.is-visible > p{
    opacity: 1;
    transform: translateY(0);
}

/* 1行ずつ少しずつ遅れて表示 */

.infobox.is-visible > p:nth-child(1){
    transition-delay: 0s;
}

.infobox.is-visible > p:nth-child(2){
    transition-delay: 0.25s;
}

.infobox.is-visible > p:nth-child(3){
    transition-delay: 0.5s;
}

.infobox.is-visible > p:nth-child(4){
    transition-delay: 0.75s;
}

.infobox.is-visible > p:nth-child(5){
    transition-delay: 1s;
}



/* =========================================================
   INFORMATION ご親族・ご来賓 アニメーション
========================================================= */


/* -----------------------------------------
   見出し
   下から上へ
----------------------------------------- */

.sinzoku p:first-child,
.raihin p:first-child{

    opacity: 0;

    transform: translateY(30px);

    transition:
        opacity 1.5s ease,
        transform 1.5s ease;

}


/* 表示 */

.sinzoku.is-visible p:first-child,
.raihin.is-visible p:first-child{

    opacity: 1;

    transform: translateY(0);

}


/* -----------------------------------------
   本文
   最初は見えない
----------------------------------------- */

.sinzoku p:nth-child(2),
.raihin p:nth-child(2){

    opacity: 1;

}


/* -----------------------------------------
   本文の1行
   左から右へ
----------------------------------------- */

.info-line{

    display: inline-block;

    opacity: 0;

    transform: translateX(-30px);

    transition:
        opacity 1.8s ease,
        transform 1.8s ease;

}


/* 表示 */

.info-line.is-visible{

    opacity: 1;

    transform: translateX(0);

}