@charset "UTF-8";
/* 共通 */
body {
  text-align: center;
}

/* top */
.spTop {
  display: block;
  height: 70vh;
}
.pcTop {
  display: none;
  height: 70vh;
}
.firstViewImg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* object-position: top; */
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 90%,
    rgba(0, 0, 0, 0.6) 95%,
    rgba(0, 0, 0, 0) 100%
  );
  mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 90%,
    rgba(0, 0, 0, 0.6) 95%,
    rgba(0, 0, 0, 0) 100%
  );
}
.firstViewImg {
  position: relative;
}
.firstViewText {
  display: flex;
  justify-content: center;
  align-items: center;
  /* height: 30vh; */
  font-family: var(--fontText2);
}
.textWrap {
  margin-top: 40px;
}
.firstViewText .date {
  font-size: 1.8rem;
  line-height: 1.5;
  font-family: var(--fontNum);
  font-weight: 400;
}
.firstViewText .date {
  font-size: 2rem;
  line-height: 1.5;
  font-family: var(--fontNum);
  font-weight: 400;
}
.countDownWrap {
  margin: 30px 0 80px;
}
.countDown {
  font-family: var(--fontNum);
  font-size: 2.6rem;
  color: var(--accentColor);
}
.today {
  font-family: var(--fontNum);
  font-size: 1.8rem;
  color: var(--accentColor);
  margin-bottom: 20px;
}
.text {
  margin-bottom: 10px;
  font-size: 1.6rem;
}
/* message */
.greetingTextWrap {
  padding: 40px 30px;
  background-color: #fdfcf8;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
}
.greetingTextWrap .text {
  margin-bottom: 20px;
  line-height: 1.8;
  font-family: var(--fontText2);
}
.greetingTextWrap .name {
  text-align: right;
  font-family: var(--fontText2);
}
/* ceremony */
.ceremonyInfo {
  display: block;
  margin-bottom: 40px;
}
.ceremonyInfo .title {
  font-family: var(--fontText1);
  margin-bottom: 20px;
  display: block;
  position: relative;
  z-index: 99;
}
.ceremonyInfo .text {
  background-color: var(--baseColor);
  font-weight: 300;
  display: inline-block;
  padding: 5px 10px 0;
  margin-bottom: 0;
}
.ceremonyInfo .bkLine {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background-color: var(--mainColor);
  position: absolute;
  bottom: 12px;
  left: 0;
  z-index: -1;
  opacity: 0.2;
}
.ceremonyInfo .date {
  display: block;
}
.ceremonyInfo .date .num {
  font-weight: bold;
  font-size: 2.8rem;
  font-family: var(--fontNum);
  color: var(--accentColor);
}
.ceremonyInfo .date .text {
  font-size: 2.6rem;
  font-weight: bold;
  font-family: var(--fontText2);
  color: var(--accentColor);
  padding: 0;
}
.ceremonyCardWrap {
  display: flex;
  justify-content: center;
  align-items: start;
  margin-bottom: 60px;
  flex-wrap: wrap;
}
.ceremonyCardWrap .card {
  margin: 0 10px;
  border: solid 1px var(--mainColor);
  height: 135px;
  width: 130px;
  position: relative;
}
.ceremonyCardWrap .card::after {
  content: "";
  width: 100%;
  height: 1px;
  background-color: var(--accentColor);
  position: absolute;
  top: 32px;
  left: 0;
}
.card .title {
  font-size: 1.8rem;
  font-family: var(--fontText2);
  font-weight: 300;
  padding: 3px 0 5px;
  color: var(--baseColor);
  background-color: var(--mainColor);
}
.timeWrap {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  height: 100px;
  font-family: var(--fontNum);
  line-height: 1;
}
.time {
  font-weight: bold;
  font-size: 2.4rem;
  font-family: var(--fontNum);
}
.time2 {
  font-size: 1.6rem;
}
.reception {
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  font-size: 1.4rem;
  padding: 0 10px;
  width: 130px;
}
.reception .main {
  margin-bottom: 10px;
  border-bottom: solid 1px var(--accentColor);
}
.reception .sub {
  margin-bottom: 5px;
}
.location {
  font-weight: bold;
  line-height: 1;
  font-size: 2.6rem;
  font-family: var(--fontText2);
  color: var(--accentColor);
}
.location2 {
  font-weight: bold;
  font-size: 2.1rem;
  font-family: var(--fontText2);
  color: var(--accentColor);
}
.address {
  font-size: 1.6rem;
  margin-top: 10px;
}
.map {
  width: 100%;
  height: 250px;
  margin-bottom: 40px;
}
.map iframe {
  width: 100%;
  height: 100%;
  border: none;
}
.asideWrap {
  text-align: left;
}
.aside {
  margin-bottom: 5px;
}
.asideWrap .site {
  margin-top: 20px;
}
/* line */
.lineWrap {
  width: 100%;
  margin-bottom: 40px;
}
.lineWrap svg {
  height: 25px;
}
.lineWrap path {
  vector-effect: non-scaling-stroke;
}
.lineWrap:nth-of-type(2) svg {
  transform: rotateY(180deg);
}
/* form */
.err {
  margin-top: 5px;
  color: var(--err);
  font-size: 1.4rem;
}
.submitArea .err {
  margin-bottom: 8px;
}
.required {
  color: #b38b6d;
}
.attendanceErr {
  margin-top: 5px;
  color: var(--err);
  font-size: 1.4rem;
  text-align: center;
}
/* 回答期限が過ぎた際のテキスト */
.expiredText {
  color: var(--err);
  border: solid 1px var(--err);
  padding: 10px;
}
.rsvp {
  position: relative;
}
.form .text {
  margin-bottom: 30px;
}
.deadline {
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--accentColor);
  margin: 0 2px;
}
.form .caution {
  font-size: 1.5rem;
  margin-bottom: 40px;
}
.formItemWrap {
  display: flex;
  justify-content: flex-start;
  flex-direction: column;
  margin-bottom: 40px;
  text-align: left;
}
/* .formItemWrap.guest {
  margin-bottom: 0;
} */
.attendItem {
  display: flex;
  justify-content: center;
  align-items: center;
}
.item {
  margin-bottom: 20px;
}
.radio {
  position: relative;
  z-index: 1;
  margin: 0 20px 0 0;
}
.radio input,
.formLabel input {
  display: none;
}
label,
select,
button {
  cursor: pointer;
}
.radio label {
  display: inline-block;
}
.attendItem .radio {
  margin: 0 10px;
}
.attendRadioDesign {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 120px;
  height: 120px;
  text-align: center;
  background-color: transparent;
  border: solid 1px var(--accentColor);
  border-radius: 50%;
  font-family: var(--fontText2);
  font-size: 2rem;
  transition: background-color 0.2s ease-in-out, color 0.2s ease;
}
.radio input:checked + .attendRadioDesign {
  background-color: var(--accentColor);
  color: var(--baseColor);
}
.label {
  font-family: var(--fontText1);
  font-weight: 300;
  margin-bottom: 10px;
}
.label.input {
  margin-bottom: 0;
}
.items {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.guestItemTitle {
  font-family: var(--fontText1);
  font-size: 1.8rem;
  font-weight: 400;
  margin-bottom: 40px;
}
.attendFlower1 {
  position: absolute;
  right: 0;
  bottom: -5px;
  width: 35px;
  opacity: 0;
  transform: scale(0.9) rotate(-10deg);
  pointer-events: none;
}
.attendFlower2 {
  position: absolute;
  left: 6px;
  top: 10px;
  width: 20px;
  opacity: 0;
  transform: rotate(320deg);
  pointer-events: none;
}
.attendFlower1 img,
.attendFlower2 img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.radio input:checked ~ .attendFlower1,
.radio input:checked ~ .attendFlower2 {
  opacity: 1;
}
.radioDesign {
  display: inline-block;
  min-width: 100px;
  padding: 10px 25px;
  border: solid 1px var(--mainColor);
  text-align: center;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.radio input:checked + .radioDesign {
  background-color: var(--mainColor);
  color: var(--baseColor);
}
.textArea,
.textInput {
  width: 100%;
  margin-right: 20px;
  padding: 5px 8px;
  background-color: transparent;
  border: none;
  font-size: 1.6rem;
}
.textInput {
  padding: 15px 8px 10px;
  max-width: 150px;
  border-bottom: solid 1px var(--mainColor);
}
.textArea {
  min-height: 80px;
  border: solid 1px var(--mainColor);
  resize: vertical;
}
.textInput::placeholder,
.textArea::placeholder {
  font-size: 1.5rem;
  color: var(--mainColor);
  opacity: 0.3;
}
.textInput:focus {
  outline: none;
  border-bottom: solid 2px var(--accentColor);
}
.textArea:focus {
  outline: none;
  border: solid 2px var(--accentColor);
}
.guestItem {
  border: solid 1px var(--mainColor);
  padding: 40px 10px 0;
  margin-bottom: 20px;
  position: relative;
}
.guestTypeSelect {
  width: 150px;
  padding: 11px 8px;
  background-color: transparent;
  border: solid 1px var(--mainColor);
  font-size: 1.6rem;
}
.guestTypeSelect:focus {
  outline: none;
  border: solid 2px var(--accentColor);
}
.submitArea,
.thanksArea {
  text-align: center;
}
.submitAreaText {
  margin: 60px 0 20px;
}
.thanksAreaText {
  margin-bottom: 40px;
}
.topLinkWrap {
  margin-top: 30px;
}
.guestRemoveBtn {
  position: absolute;
  top: 10px;
  right: 10px;
  margin: 0;
  color: var(--baseColor);
  border: none;
  font-family: var(--fontText1);
  background-color: #9e9e9e;
  font-size: 1.6rem;
  padding: 11px 15px;
}
.guestAddBtn {
  display: inline-block;
  width: 160px;
  color: var(--mainColor);
  background-color: var(--baseColor);
  font-size: 1.6rem;
  border: solid 1px var(--mainColor);
  text-align: center;
  padding: 10px;
  margin-top: 20px;
  border-radius: 20px;
  box-shadow: 0 2px 0 rgba(61, 78, 68, 0.25);
  transition: transform 0.1s ease, box-shadow 0.1s ease;
  cursor: pointer;
  /* margin-bottom: 20px; */
}
.guestAddBtn:hover {
  background-color: rgba(94, 110, 100, 0.07);
}
.guestAddBtn:active {
  transform: translateY(2px);
  box-shadow: none;
}
#guestWrap {
  margin-bottom: 0;
}
.submitBtn {
  text-decoration: none;
  width: 100%;
  padding: 11px 20px;
  font-size: 1.6rem;
  font-family: var(--fontText1);
  background-color: var(--accentColor);
  border: none;
  color: var(--baseColor);
}
.submitBtn.disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}
.submitBtn.submitting {
  background-color: #9d8041;
  cursor: not-allowed;
}
/* photo */
.photosLinkWrap {
  margin: 0 auto;
}

/* pc */
@media screen and (min-width: 600px) {
  /* first view */
  .spTop {
    display: none;
  }
  .pcTop {
    display: block;
    height: 100vh;
  }
}
@media (min-width: 768px) {
  .textWrap {
    margin-top: 60px;
  }
  .firstViewText {
    height: auto;
    font-family: var(--fontText2);
  }
  .firstViewText .date {
    font-size: 2rem;
    line-height: 1.7;
    font-family: var(--fontNum);
  }
  .countDownWrap {
    margin-bottom: 150px;
    font-size: 2rem;
  }
  .countDown {
    font-size: 2.8rem;
  }
  /* message */
  .greetingTextWrap {
    padding: 60px 30px;
    margin: 0 auto;
  }
  .greetingTextWrap .text {
    font-size: 1.8rem;
  }
  /* ceremony */
  .ceremonyInfo {
    margin-bottom: 50px;
  }
  .ceremonyInfo .title {
    margin-bottom: 30px;
  }
  .ceremonyInfo .text {
    font-size: 1.8rem;
  }
  .ceremonyCardWrap {
    margin-bottom: 80px;
  }
  .ceremonyCardWrap .card {
    margin: 0 20px;
    height: 150px;
    width: 160px;
  }
  .ceremonyCardWrap .card::after {
    top: 35px;
  }
  .card .title {
    font-size: 2rem;
  }
  .timeWrap {
    height: 120px;
    line-height: 0.8;
  }
  .timeWrap .time {
    font-size: 2.8rem;
  }
  .reception {
    width: 160px;
    padding: 20px;
    font-size: 1.6rem;
  }
  .reception .main {
    margin-bottom: 15px;
  }
  .reception .sub {
    margin-bottom: 10px;
  }
  .location {
    font-size: 2.8rem;
  }
  .ceremonyInfo .address {
    font-size: 1.8rem;
  }
  .map {
    height: 350px;
    margin: 50px auto;
  }
  /* line */
  .lineWrap {
    margin-bottom: 80px;
  }
  .lineWrap svg {
    height: 40px;
  }
  /* form */
  .radio {
    font-size: 1.6rem;
  }
  .form .text {
    font-size: 1.8rem;
    margin-bottom: 40px;
  }
  .form .caution {
    font-size: 1.6rem;
    margin-bottom: 60px;
  }
  .formItemWrap {
    margin-bottom: 50px;
  }
  .formItemWrap.allergyDetail {
    margin-bottom: 40px;
  }
  .radio {
    margin: 0 30px 0 0;
  }
  .attendItem .radio {
    margin: 0 20px;
  }
  .attendRadioDesign {
    min-width: 130px;
    height: 130px;
    font-size: 2rem;
  }
  .attendFlower1 {
    right: 3px;
    bottom: 0;
  }
  .attendFlower2 {
    position: absolute;
    left: 10px;
  }
  .radioDesign {
    font-size: 1.8rem;
  }
  .textArea,
  .textInput {
    margin-right: 30px;
  }
  .textInput::placeholder,
  .textArea::placeholder {
    font-size: 1.6rem;
    /* color: var(--mainColor);
    opacity: 0.3; */
  }
  .textArea {
    min-height: 80px;
  }
  .guestItem {
    padding: 40px 20px 0;
  }
  .guestRemoveBtn {
    position: absolute;
    top: 10px;
    right: 10px;
    margin: 0;
    color: #9e9e9e;
    border: 1px solid #9e9e9e;
    font-family: var(--fontText1);
    background-color: var(--baseColor);
    font-size: 1.6rem;
    padding: 8px 15px;
    transition: background-color 0.2s ease, color 0.2s ease;
  }
  .guestRemoveBtn:hover {
    background-color: #9e9e9e;
    color: var(--baseColor);
  }
  .guestAddBtn {
    margin-top: 30px;
  }
  .submitAreaText {
    margin: 60px 0 40px;
  }
  .submitBtn {
    font-size: 1.8rem;
    color: var(--accentColor);
    border: solid 1px var(--accentColor);
    background-color: var(--baseColor);
    transition: background-color 0.2s ease, color 0.2s ease;
  }
  .submitBtn:hover {
    background-color: var(--accentColor);
    color: var(--baseColor);
  }
  .submitBtn.submitting {
    background-color: #9d8041;
    cursor: not-allowed;
  }
}
