body {
  font-family: 'Noto Serif JP', serif;
  color: #505050;
  line-height: 1.6em;
  font-size: 3.2vw;
}

body * {
  box-sizing: border-box;
}

button {
  cursor: pointer;
}

a {
  color: #505050;
  text-decoration: none;
}

ul {
  list-style: none;
}

img.icon {
  width: 20px;
  display: inline-block;
  vertical-align: bottom;
}

.top .animation {
  width: 100%;
  height: 100vh;
}

.loading_overlay {
  position: absolute;
  z-index: 1;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
  background: #efd59e;
  background: -webkit-linear-gradient(top, #efd59e 0%, #e29886 100%);
  background: linear-gradient(to bottom, #efd59e 0%, #e29886 100%);
  opacity: 1;
}

.hide_animation {
  -webkit-animation: loading_overlay_hide 4s linear 2s 1 forwards;
  animation: loading_overlay_hide 4s linear 2s 1 forwards;
}

@-webkit-keyframes loading_overlay_hide {
  to {
        opacity: 0; 
  }
}

@keyframes loading_overlay_hide {
  to {
        opacity: 0; 
  } 
}

.animation_background_blur {
  display: none;
}

.top .animation_inner {
  display: flex;
  justify-content: center;
  align-items: center; 
  max-width: 900px;
  height: 100vh;
  margin: 0 auto;
  padding: 10px;
  background-image:url("/assets/img/invitation/main.jpg");
  background-position: center;
  background-size:cover;
  color: #fff;
}

.top .animation_contents {
  width: 100%;
  height: auto;
  z-index: 2;
}

.top .animation .svgall {
  position: relative;
  width: 100%;
}

/* SVGアニメーションのマスク */
.top .animation .st1{fill:none;stroke:#fff;stroke-width:34.0157;stroke-miterlimit:10;}
.top .animation .st2{fill:none;stroke:#fff;stroke-width:34.0157;stroke-miterlimit:10;}
.top .animation .st3{fill:none;stroke:#fff;stroke-width:34.0157;stroke-linecap:round;stroke-miterlimit:10;}
.top .animation .st4{fill:none;stroke:#fff;stroke-width:36.8504;stroke-linecap:round;stroke-miterlimit:10;}
.top .animation .st5{fill:none;stroke:#fff;stroke-width:34.0157;stroke-linecap:round;stroke-miterlimit:10;}
.top .animation .st6{fill:none;stroke:#fff;stroke-width:34.0157;stroke-linecap:round;stroke-miterlimit:10;}
.top .animation .st7{fill:none;stroke:#fff;stroke-width:14.1732;stroke-linecap:round;stroke-miterlimit:10;}

.top .animation .svgall #move {
  position: absolute;
  top: 0;
  left: 0;
}

.top .animation p {
  margin: 40px auto 0;
  text-align: center;
  opacity: 0;
}

.top .animation p.name {
  font-size: 24px;
}

.top .animation p.date {
  font-size: 18px;
}

.arrow_b{
  opacity: 0;
  width:40px;
  height: 25px;
  margin: 100px auto 0;
}

.flash {
  animation: flash 2s linear infinite;
}

@keyframes flash {
  0%, 100%{
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

#message {
  position: relative;
  padding: 15px 20px;
  overflow: hidden;
}

#message #flower01 {
  display: block;
  position: absolute;
  top: 5px;
  left: 5px;
  width: 200px;
  z-index: -1;
}

#message #flower02 {
  display: block;
  position: absolute;
  bottom: 5px;
  right: 5px;
  width: 200px;
  z-index: -1;
}

#message .content {
  line-height: 1.8;
  padding: 30px 16px 80px;
  text-align: center;
  max-width: 480px;
  margin: 50px auto;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 0 10px rgb(0 0 0 / 20%);
  z-index: 2;
}

#message .content img {
  width: 150px;
  margin: 10px auto 30px;
}

#invitation_image {
  position: relative;
  overflow: hidden;
}

#invitation_image_background {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: url(/assets/img/invitation/event.jpg);
  background-size: cover;
  background-position: center center;
  -webkit-filter: blur(10px);
  filter: blur(10px);
  -webkit-transform: scale(1.2);
  transform: scale(1.2);
  z-index: -2;
}

#invitation_image:after {
  content: '';
  background-size: contain;
  background-position: center bottom;
  background: url(/assets/img/invitation/wave.svg);
  position: absolute;
  display: block;
  width: 100%;
  height: 35px;
  bottom: -1px;
}

#invitation_image img {
  width: 100%;
  display: block;
  max-width: 680px;
  margin: 0 auto;
}

#detail {
  padding: 40px 20px 10px;
  position: relative;
  background: #92A8A5;
  background: -webkit-linear-gradient(top, #92A8A5 0%, #1B391C 100%);
  background: linear-gradient(to bottom, #92A8A5 0%, #1B391C 100%);
}

#event {
  background: #d7dedc;
  background: -webkit-linear-gradient(315deg, #d7dedc 0%, #fff 100%);
  background: linear-gradient(135deg, #d7dedc 0%, #fff 100%);

  border: 2px solid #fff;
  box-shadow: 0 0 10px rgb(0 0 0 / 40%);
  font-family: YuMincho, 'Yu Mincho', serif;
  font-size: 4vw;

  text-align: center;
  color: #1B391C;
  margin: 0 auto 0;
  max-width: 400px;
  width: 80%;
  padding: 15px 20px 50px;
  position: relative;
  z-index: 2;
  line-height: 1.6em;
}

#event img.event_top {
  width: 160px;
  margin: 0 auto 25px;
}

#event img.header {
  width: 120px;
  margin: 0 auto 5px;
}

#event .caption {
  font-size: 18px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  font-weight: bold;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  max-width: 280px;
  white-space: nowrap;
  margin: 20px auto 0;
  letter-spacing: 0.1em;
}

#event .caption:before,
#event .caption:after {
    content: "";
    -webkit-box-flex: 1;
    -webkit-flex-grow: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    height: 1px;
    background: #1B391C;
    display: block;
    margin: 1em;
    max-width: 9999px;
}
#information {
  color: #505050;
  max-width: 800px;
  padding: 120px 15px 70px;
  border-radius: 5px;
  background: #fff;
  margin: -70px auto 20px;
  box-shadow: 0 0 10px rgb(0 0 0 / 40%);
  position: relative;
  line-height: 1.6em;
  font-family: 'Noto Serif JP', serif;
  text-align: center;
  line-height: 2em;
}

.information_content {
  max-width: 500px;
  margin: 0 auto;
}

.place {
  font-size: 20px;
  font-weight: bold;
}

#gmap {
  margin: 10px 0;
  border: 1px solid #ddd;
}

#gmap iframe {
  display: block;
  width: 100%;
  height: 250px;
}

.information_content #entry_button {
  display: block;
  padding: 15px;
  width: 80%;
  text-align: center;
  border: 1px solid #fff;
  margin: 15px auto 0;
  color: #fff;
  text-decoration: none;
  border-radius: 40px;
  font-family: 'Noto Sans JP', sans-serif;
  box-shadow: 0 5px 10px rgb(0 0 0 / 20%);
  max-width: 280px;

  background: #92A8A5;
  background: -webkit-linear-gradient(315deg, #92A8A5 0%, #D9ECC7 100%);
  background: linear-gradient(135deg, #92A8A5 0%, #D9ECC7 100%);
}

body main.thanks, body main.error {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  height: 100vh;
}

body main.entry, body main.thanks, body main.error {
  background: #92A8A5;
  background: -webkit-linear-gradient(270deg, #92A8A5 0%, #1B391C 100%);
  background: linear-gradient(180deg, #92A8A5 0%, #1B391C 100%);
  padding: 0 20px 30px;
}

body main.entry:before {
  content: '';
  display: block;
  top: 0;
  right: 0;
  left: 0;
  margin: 0 auto -10px;
  max-width: 340px;
  width: 100%;
  height: 100px;
  background: url(/assets/img/invitation/motif.png);
  background-size: cover;
  background-position: center center;
}

body main.thanks:before {
  content: '';
  display: block;
  top: 0;
  right: 0;
  left: 0;
  margin: -100px auto -160px;
  max-width: 340px;
  width: 100%;
  height: 300px;
  background: url(/assets/img/invitation/flower01.png);
  background-size: 80%;
  background-position: right center;
  background-repeat: no-repeat;
}

body main.thanks:after {
  content: '';
  display: block;
  top: 0;
  right: 0;
  left: 0;
  margin: 0 auto -10px;
  margin: -160px auto -10px;
  max-width: 640px;
  width: 100%;
  height: 300px;
  background: url(/assets/img/invitation/flower02.png);
  background-size: contain;
  background-position: right center;
  background-repeat: no-repeat;
}

body main.error:before {
  margin: -100px auto -10px;
}

body main.entry .main_content, body main.thanks .main_content, body main.error .main_content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
  padding: 30px 16px;
  background: #fff;
  box-shadow: 0 0 10px rgb(0 0 0 / 40%);
  border-radius: 5px;
  text-align: center;
  overflow: hidden;
}

body main.entry h1, body main.thanks h1, body main.error h1 {
  color: #a3a3a3;
  margin: 30px auto 25px;
}

body main.entry h2, body main.thanks h2, body main.error h2 {
  color: #a3a3a3;
  margin-bottom: 40px;
}

body main.entry .main_content .note {
  border: solid 1px #ddd;
  margin: 20px auto;
  padding: 10px 5px;
}

body main.entry .main_content .attention {
  color: #ff0000;
}

body main.entry .main_content h4 {
  display: block;
  margin-top: 3em;
  margin-bottom: 0.65em;
}

body main.entry .main_content h4 span {
  color: #ff0000;
}

input[type="radio"] + span {
  font-size: 4.5vw;
}

input[type="text"], input[type="mail"], input[type="tel"], textarea {
  box-sizing: border-box;
  width: 100%;
  padding: 0.5em;
  text-align: center;
  border: 0;
  border-bottom: 1px
  solid #ccc;
  border-radius: 0;
  outline: 0;
  background-color: transparent;
  color: #505050;
  font-size: 4vw;
}

input[type="text"]:focus, input[type="mail"]:focus, input[type="tel"]:focus, textarea:focus {
    background-color: #f8f8f8;
    border-bottom: 1px solid #739A94;
    color: #505050;
}

input::placeholder, textarea::placeholder {
  color: #ccc;
  font-size: 3vw;
}

p[class^="is-error-"] {
  color: red;
  margin-top: 2px;
}

#companion_add {
  display: block;
  margin: 30px auto;
  color: #505050;
  text-decoration: none;
  font-size: 4vw;
}

.companion_del {
  display: block;
  margin: 5px auto 0;
  color: #505050;
  text-align: right;
  text-decoration: none;
}

button#submit_btn {
  display: block;
  padding: 15px;
  width: 80%;
  text-align: center;
  border: 1px solid #fff;
  margin: 3em auto;

  color: #fff;
  text-decoration: none;
  border-radius: 40px;
  font-family: 'Noto Sans JP', sans-serif;
  box-shadow: 0 5px 10px rgb(0 0 0 / 20%);
  max-width: 280px;

  background: #92A8A5;
  background: -webkit-linear-gradient(315deg, #92A8A5 0%, #D9ECC7 100%);
  background: linear-gradient(135deg, #92A8A5 0%, #D9ECC7 100%);
}

.answer {
  box-sizing: border-box;
  width: 100%;
  padding: 0.5em;
  text-align: center;
  border: 0;
  border-bottom: 1px
  solid #ccc;
  border-radius: 0;
  outline: 0;
  background-color: transparent;
  color: #505050;
  font-size: 4vw;
}


@media (min-width: 600px) {
  body {
    font-size: 18px;
  }

  #event {
    font-size: 20px;
  }

  .top .animation_contents {
    width: 70%;
  }

  input[type="radio"] + span {
    font-size: 20px;
  }

  input[type="text"], input[type="mail"], input[type="tel"], textarea, .answer  {
    font-size: 18px;
  }

  input::placeholder, textarea::placeholder {
    font-size: 14px;
  }

  #companion_add {
    font-size: 20px;
  }
}

@media screen and (max-height: 560px){
  .arrow_b{
    margin-top: 50px;
  }
}

@media screen and (max-width:640px){

}

@media (min-width: 800px) {

  .top .animation_contents {
    width: 60%;
  }

  .animation_background_blur {
    display: block;
    position: absolute;
    background-position: center;
    background-size: cover;
    width: 100%;
    height: 100vh;
    background-image:url("/assets/img/invitation/main.jpg");
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
    -webkit-filter: blur(10px);
    filter: blur(10px);
    z-index: -2;
  }

  .top .animation_inner {
    margin: 50px auto;
    box-shadow: 0 0 10px rgb(0 0 0 / 20%);
    border-radius: 10px;
    border: 0.5px
    solid rgba(255, 255, 255, 0.5);
    height: 90%;
  }


}
