@charset "UTF-8";
@import 'https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@200;300;400;500;600;700;900&display=swap';
@import 'https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap';
@import '/src/fonts/ShoppingScript.woff';
@import '/src/fonts/Gotham-Light.woff';
@import '/src/fonts/Gotham-Book.woff';

@font-face {
  font-style: normal;
  font-weight: 400;
  src: url('/src/fonts/ShoppingScript.woff') format('woff');
  font-family: ShoppingScript;
}
@font-face {
  font-style: normal;
  font-weight: 400;
  src: url('/src/fonts/Gotham-Light.woff') format('woff');
  font-family: Gotham;
}

@keyframes kv-background {
  0% {
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  80% {
    opacity: 1;
    scale: 1;
  }
  100% {
    opacity: 0;
    z-index: 0;
  }
}

/* リセット */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  line-height: 1.15;
}

body {
  font-smoothing: antialiased;
  -moz-font-smoothing: antialiased;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: none;
  background: #fff;
  color: #000;
  font-family: Noto Sans JP, sans-serif;
  overflow-x: hidden;
  overscroll-behavior-y: none;
}

.container {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 20px;
}

/* デスクトップ用コンテナ */
.desktop-view {
  font-family: 'Noto Serif JP', sans-serif;
  align-items: center;
  display: grid;
  gap: 7vw;
  grid-template-columns: auto 375px;
  place-content: center;
  height: 100dvh;
}

.desktop-view-side {
  display: grid;
  gap: 10px;
}

.desktop-view-box {
  box-sizing: border-box;
  border: 1px solid #739e73;
  border-radius: 0;
  background: #fff;
  color: #739e73;
  font-weight: 400;
  padding: 45px 20px;
  text-align: center;
}

.desktop-view-box:is(.-countdown) {
  line-height: 1.15;
  text-align: center;
}

.desktop-view-box-name {
  font-size: 26px;
  margin-bottom: 12px;
}

.desktop-view-box-date {
  font-size: 42px;
  margin-bottom: 12px;
}

.desktop-view-box-date-detail {
  font-size: 18px;
}

.desktop-view-box-countdown {
  display: flex;
  border-top: 1px solid;
  margin-top: 24px;
  padding-top: 24px;
}

.desktop-view-box-countdown-block {
  flex: 1;
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0 8px;
}

.desktop-view-box-countdown-block-value {
  font-size: 36px;
  line-height: 1;
}

.desktop-view-box-countdown-block-label {
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  margin-top: 6px;
  text-transform: uppercase;
}

.desktop-view-box-text {
  font-size: 14px;
  line-height: 1.5;
}

.desktop-view-box-text strong {
  font-size: 20px;
  text-decoration: underline;
}

.desktop-view-box-button {
  align-items: center;
  display: flex;
  justify-content: center;
  margin: 24px auto 0;
  max-width: 190px;
  min-height: 50px;
  width: 100%;
  border-radius: 4px;
  background: #739e73;
  color: #fff;
  font-weight: 700;
}

.desktop-view-main {
  aspect-ratio: 375 / 680;
  border-radius: 14px;
  box-shadow: 0 0 10px #0006;
  overflow-x: hidden;
  overflow-y: auto;
  height: auto;
  width: 100%;
}

.desktop-view-main::-webkit-scrollbar {
  display: none;
}

@media screen and (max-width: 767px) {
  .desktop-view {
    display: block;
    height: auto;
  }

  .desktop-view-side {
    display: none;
  }

  .desktop-view-main {
    border-radius: 0;
    aspect-ratio: unset;
    overflow: auto;
    box-shadow: none;
  }
}

/* セクション見出し */
.section-title {
  display: flex;
  position: relative;
  flex-direction: column-reverse;
  margin: 0 0 36px;
  padding: 0;
  font-weight: 600;
  font-size: 30px;
  font-family: 'Noto Serif JP', sans-serif;
  text-align: center;
}

.section-title-en {
  margin: auto;
  padding: 0 20px;
  color: #739e73;
  font-weight: 500;
  font-size: 60px;
  line-height: 1;
  font-family: ShoppingScript, sans-serif;
  text-align: center;
}

.section-title-ja {
  display: inline-block !important;
  z-index: 1;
  position: relative;
  padding: 0 20px;
  color: #739e73;
  font-weight: 600;
  font-size: 18px;
  line-height: 1.15;
  text-align: center;
}

/* トップセクション */
.top-section {
  background-color: #ffffff;
  padding: 60px 20px;
  text-align: center;
  border: 2px solid #739e73;
  margin: 20px;
}

.top-date {
  font-size: 48px;
  font-weight: 300;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}

.top-label {
  font-size: 14px;
  letter-spacing: 0.3em;
  color: #666;
}

/* メイン写真 */
.main-photo {
  aspect-ratio: 375 / 680;
  height: auto;
  width: 100%;
  padding: 20px;
  background-color: #739e73;
  box-sizing: border-box;
}

.main-photo-inner {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
}

.main-photo img {
  --animation-duration: 18s;
  --animation-delay: 0s;
  animation: kv-background var(--animation-duration) var(--animation-delay) infinite;
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  scale: 1.15;
  height: 100%;
  width: 100%;
  z-index: 10;
  object-fit: cover;
}

.main-photo img:nth-child(2) {
  --animation-delay: calc(var(--animation-duration) / 5 * 1);
}

.main-photo img:nth-child(3) {
  --animation-delay: calc(var(--animation-duration) / 5 * 2);
}

.main-photo img:nth-child(4) {
  --animation-delay: calc(var(--animation-duration) / 5 * 3);
}

.main-photo img:nth-child(5) {
  --animation-delay: calc(var(--animation-duration) / 5 * 4);
}

.main-photo img:nth-child(6) {
  --animation-delay: calc(var(--animation-duration) / 5 * 5);
}

@media screen and (max-width: 767px) {
  .main-photo {
    aspect-ratio: unset;
    height: 100dvh;
  }
}

/* カウントダウン */
.countdown-section {
  margin: 0;
  padding: 50px 0 10px;
  background: #fff;
  color: #739e73;
}

.countdown-section-inner {
  padding-inline: 10px;
}

.countdown-box {
  display: flex;
  position: relative;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 300px;
  min-height: 300px;
  padding: 0;
  border: 1px solid #739e73;
  border-radius: 0;
  background: transparent;
  text-align: center;
  margin: auto;
}

.countdown-box-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.countdown-days {
  margin-inline: 8px;
}

.countdown-number {
  color: #739e73;
  font-weight: 400;
  font-size: 78px;
  line-height: 42px;
  font-family: Gotham, serif;
  margin-right: 6px;
}

.countdown-label {
  color: #739e73;
  font-size: 26px;
  font-weight: 400;
  margin-left: 4px;
  line-height: 1;
}

.countdown-time {
  margin-block: 18px;
  align-items: center;
  display: flex;
  justify-content: center;
}

.time-item {
  display: flex;
  flex-direction: column;
  margin-inline: 8px;
}

.time-number {
  font-weight: 400;
  font-size: 32px;
  line-height: 28px;
  color: #739e73;
  font-family: Gotham, serif;
}

.time-label {
  display: block;
  color: #739e73;
  font-weight: 400;
  font-size: 15px;
  line-height: 8px;
  margin-top: 6px;
}

.countdown-divider {
  width: 100%;
  height: 1px;
  background-color: #739e73;
  margin: 12px 0;
}

.countdown-date {
  color: #739e73;
  font-weight: 500;
  font-size: 19px;
  line-height: 32px;
  letter-spacing: 1.28px;
  font-family: Gotham, serif;
}

/* ご挨拶 */
.greeting-section {
  padding: 60px 20px;
  background-color: #ffffff;
}

.greeting-content {
  text-align: center;
  line-height: 2.5;
  font-size: 14px;
  color: #333;
}

/* 細い手書きフォントのオプション */
.handwrite-ultra-thin {
  font-family: 'La Belle Aurore', cursive, 'ヒラギノ明朝 Pro W3', 'Hiragino Mincho ProN', serif;
  font-weight: 300;
  letter-spacing: 0.05em;
}

.handwrite-thin {
  font-family: 'Shadows Into Light', cursive, 'ヒラギノ明朝 Pro W3', 'Hiragino Mincho ProN', serif;
  font-weight: 400;
  letter-spacing: 0.05em;
}

.handwrite-japanese-thin {
  font-family: 'Zen Maru Gothic', sans-serif, 'ヒラギノ明朝 Pro W3', 'Hiragino Mincho ProN', serif;
  font-weight: 300;
  letter-spacing: 0.05em;
}

.handwrite-nothing {
  font-family: 'Nothing You Could Do', cursive, 'ヒラギノ明朝 Pro W3', 'Hiragino Mincho ProN', serif;
  font-weight: 400;
  letter-spacing: 0.05em;
}

.greeting-line {
  margin-bottom: 5px;
}

.greeting-end {
  text-align: right;
  margin-top: 30px;
}

/* プロフィール */
.profile-section {
  padding: 60px 20px;
  background-color: #fafafa;
}

.profile-item {
  max-width: 400px;
  margin: 0 auto 60px;
  text-align: center;
}

.profile-item:last-child {
  margin-bottom: 0;
}

.profile-photo {
  max-width: 250px;
  margin: 0 auto 20px;
  aspect-ratio: 1;
  overflow: hidden;
}

.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.profile-label {
  font-size: 12px;
  color: #999;
  margin-bottom: 2px;
  letter-spacing: 0.1em;
}

.profile-name {
  font-size: 20px;
  font-weight: 500;
  color: #739e73;
  margin-bottom: 20px;
  letter-spacing: 0.1em;
}

.profile-message {
  font-size: 14px;
  line-height: 2;
  color: #666;
}

.profile-message p {
  margin-bottom: 3px;
}

/* アルバム */
.album-section {
  padding-block: 60px;
  background-color: #ffffff;
}

/* ギャラリー */
.gallery-button {
  aspect-ratio: 1 / 1;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  height: auto;
  width: 40px;
}

.gallery-button:is(.-prev) {
  background-image: url('/src/images/icon_slide_arrow_left.png');
}

.gallery-button:is(.-next) {
  background-image: url('/src/images/icon_slide_arrow_right.png');
}

:is(.gallery-slide, .thumbnail-slide) img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  height: auto;
  width: 100%;
}

.thumbnails {
  margin: auto;
  padding-top: 10px;
  width: 65%;
}

.thumbnail-slide {
  opacity: 0.5;
  transition: opacity 0.15s ease-out;
}

.thumbnail-slide:is(.swiper-slide-thumb-active) {
  opacity: 1;
}

/* 日時・会場 */
.event-info {
  padding-block: 60px;
  background-color: #fafafa;
}

.event-info:is(.-after) {
  background-color: #fff;
}

.information-date {
  margin-bottom: 20px;
  text-align: center;
}

.information-date-label {
  margin-bottom: 4px;
  color: #739e73;
  font-weight: 600;
  font-size: 16px;
}

.information-date-values {
  color: #739e73;
  font-weight: 500;
  letter-spacing: 1.4px;
}

.information-date-value {
  font-size: 28px;
  line-height: 41px;
  letter-spacing: 1.12px;
}

.information-date-unit {
  font-size: 16px;
  line-height: 41px;
  letter-spacing: 0.64px;
}

.information-block {
  max-width: calc(100% - 40px);
  margin: 0 auto;
  padding: 24px 20px 12px;
  border: 1px solid #739e73;
  border-radius: 0;
  width: calc(100% - 40px);
  background: #fff;
  color: #7d7d7d;
}

.information-block + .information-block {
  margin-top: 20px;
}

.information-block-title {
  margin-bottom: 12px;
  position: relative;
  margin: 0 0 16px;
  background-position: center;
  background-size: auto 8px;
  background-repeat: repeat-x;
  font-weight: 400;
  font-size: 18px;
  text-align: center;
}

.information-block-title::before {
  background: #739e73;
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  margin: auto;
  content: '';
}

.information-block-title span {
  background: #fff;
  color: #739e73;
  font-weight: 600;
  letter-spacing: 1.08px;
  display: inline-block;
  z-index: 1;
  position: relative;
  padding: 0 12px;
}

.information-block-time {
  margin-bottom: 24px;
  padding: 0;
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1;
}

.information-block-time-main,
.information-block-time-sub {
  align-items: center;
  display: flex;
  justify-content: center;
}

.information-block-time-label {
  line-height: 24px;
  font-size: 14px;
  margin-right: 8px;
  margin-top: 2px;
}

.information-block-time-sub .information-block-time-label {
  margin-right: 4px;
  font-size: 14px;
  line-height: 21px;
  margin-top: 0;
}

.information-block-time-value {
  font-weight: 600;
}

.information-block-time-main .information-block-time-value {
  font-size: 28px;
  line-height: 41px;
}

.information-block-time-sub-item {
  margin-top: 4px;
  align-items: center;
  display: flex;
}

.information-block-time-sub-item + .information-block-time-sub-item::before {
  content: '/';
  display: inline-block;
  margin: 0 8px;
}

.information-block-address {
  text-align: center;
}

.information-block-address-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 14px;
}

.information-block-address-zip {
  font-size: 13px;
  margin-bottom: 8px;
}

.information-block-address-detail {
  font-size: 13px;
  margin-bottom: 10px;
}

.information-block-address-tel {
  font-size: 14px;
  margin-bottom: 12px;
}

.information-block-address-link {
  display: block;
  font-size: 13px;
  margin-bottom: 10px;
}

.information-block-address-note {
  display: block;
  font-size: 13px;
}

.information-block-map {
  margin-top: 20px;
}

.information-block-map iframe {
  display: flex;
  aspect-ratio: 1 / 1;
  height: auto;
  width: 100%;
}

/* 出欠確認フォーム */
.rsvp-section {
  position: relative;
  z-index: 1000;
  margin: 0;
  padding: 20px;
  background-color: #739e73;
}

.rsvp-section-inner {
  padding: 32px 0 0;
  background: #fff;
}

.rsvp-section-head {
  margin-bottom: 40px;
  padding: 0 15px;
  color: #739e73;
  font-weight: 400;
  text-align: center;
}

.rsvp-section-head-text {
  margin-top: 20px;
  font-weight: 500;
  font-size: 16px;
  line-height: 30px;
  text-align: center;
}

.rsvp-section-head-text strong {
  font-weight: 500;
  font-size: 20px;
  line-height: 30px;
  text-decoration-line: underline;
}

.rsvp-section-head-note {
  margin-top: 10px;
  padding: 8px;
  border: 1px solid #7d7d7d;
  background: transparent;
  color: #7d7d7d;
  font-weight: 400;
  font-size: 14px;
  line-height: 150%;
  letter-spacing: 0.28px;
  text-align: center;
}

/* フォーム */
.attendance {
  margin-top: 20px;
  max-width: 100%;
  margin: 20px auto;
  padding: 20px 10px;
  -webkit-tap-highlight-color: transparent;
}

.attendance-title {
  padding: 0 20px;
  color: #739e73;
  font-weight: 500;
  font-size: 18px;
  line-height: 20px;
  letter-spacing: 1.08px;
  margin-bottom: 20px;
  overflow: hidden;
  text-align: center;
}

.attendance-title span {
  position: relative;
}

.attendance-title span::before,
.attendance-title span::after {
  content: ' ';
  display: block;
  height: 1px;
  left: calc(100% + 10px);
  position: absolute;
  right: auto;
  top: 50%;
  width: 100vw;
  background: #739e73;
}

.attendance-title span::after {
  left: auto;
  right: calc(100% + 10px);
}

.attendance .radio {
  position: relative;
  display: flex;
  font-weight: 700;
  justify-content: space-around;
  width: 100%;
  max-width: 376px;
  margin: 0 auto;
  padding: 0;
}

.attendance .radio label {
  width: 100px;
  height: 100px;
  cursor: default;
  display: block;
  margin: 0;
  position: relative;
}

:is(.guest-type, .gender) .radio label {
  margin-bottom: 0;
  cursor: default;
  display: inline-block;
  margin-right: 2%;
  position: relative;
}

.guest-type .radio label {
  width: 47%;
}

.gender .radio label {
  width: 30.33%;
}

.attendance .radio label > span {
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: block;
  font-size: 16px;
  margin: 0;
  padding: 0;
  position: relative;
  text-align: center;
  transition: 0.3s ease;
  width: 100%;
  line-height: 18px;
  height: 100%;
}

:is(.guest-type, .gender) .radio label > span {
  padding: 14px 16px;
  line-height: 16px;
  background: #f4f4f4;
  border: 2px solid #f4f4f4;
  border-radius: 8px;
  cursor: pointer;
  display: block;
  font-size: 16px;
  margin: 0;
  text-align: center;
  width: 100%;
}

.radio label input {
  display: none;
}

.attendance .radio label input + span {
  position: relative;
  border: none;
  background: none;
}

.attendance .radio label input:checked + span {
  background: hsla(0, 0%, 100%, 0.2);
  border-color: #fff;
  position: static;
}

.attendance .radio label input + span::after {
  content: '';
  height: 0;
  padding-top: 100%;
  width: 100%;
  mask-size: 98%;
  mask-repeat: no-repeat;
  mask-position: center;
  mask-image: url('/src/images/freeHand_oval.svg');
  border: none;
  border-radius: 50%;
  transition: 0.35s;
}

.attendance .radio label input:checked + span::after {
  display: block;
  position: static;
  transform: scale(1);
  background: #739e73;
}

:is(.guest-type, .gender) .radio label input:checked + span {
  border: 2px solid #739e73;
  background: #fff;
}

.attendance .radio label > span .txt {
  display: flex;
  top: 50%;
  flex-direction: column-reverse;
  align-items: center;
  transform: translateY(-50%);
  color: #7d7d7d;
  font-weight: 700;
  font-size: 18px;
  left: 0;
  position: absolute;
  right: 0;
  text-align: center;
}

.attendance .radio label > span .txt .ja {
  margin: 0;
  font-size: 12px;
  line-height: 1;
  display: block;
}

.attendance .radio label > span .txt .en {
  margin-top: 0;
  font-weight: 700;
  font-size: 19px;
  line-height: 27px;
  letter-spacing: 0.44px;
  display: block;
}

.answer-box {
  border-top: none;
  margin: 0;
}

.answer-box-wrap {
  padding: 30px 20px 34px;
  background: #fff;
}

.answer-box-label {
  margin-bottom: 34px;
  color: #333;
  font-weight: 700;
  line-height: 14px;
  font-size: 14px;
}

:is(.answer-box-label, .title) .-required {
  color: #ff1b1b;
  font-weight: 700;
  font-size: 13px;
  line-height: 18px;
  letter-spacing: 1.3px;
}

:is(.answer-box-label, .title)[data-required='true']::after {
  color: #e65c7a;
  content: '*';
  font-size: 12px;
  margin-left: 5px;
  vertical-align: top;
}

.answer-box-wrap hr {
  margin: 10px 0;
  margin-bottom: 24px;
  border: 0;
  border-bottom: 1px solid #d9d9d9;
  padding: 0;
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

.answer-box-row {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #d9d9d9;
}

.answer-box-row .flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.answer-box-row .title {
  white-space: nowrap;
  color: #333;
  font-weight: 700;
  font-size: 14px;
  line-height: 100%;
  font-family: Noto Sans JP;
  margin-bottom: 12px;
}

.answer-box-input {
  display: inline-block;
  position: relative;
  vertical-align: top;
  width: 100%;
}

.answer-box-input:is(.-md) {
  max-width: 180px;
}

.answer-box-input:is(.-half) {
  max-width: calc(50% - 7px);
}

.answer-box-input + .answer-box-input {
  margin-left: 14px;
}

.answer-box-input-wrap {
  position: relative;
}

.answer-box-input :is(input, textarea, select) {
  background: #fff;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  font-size: 16px;
  line-height: 1;
  padding: 18px 16px;
  width: 100%;
  color: #333;
  font-family: Noto SansJP, sans-serif;
}

.answer-box-input :is(input, select) {
  height: 56px;
}

.answer-box .submit {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 1.8px;
  text-align: center;
  transition: 0.35s ease-in-out;
  display: block;
  position: relative;
  width: 100%;
  max-width: 276px;
  margin: 34px auto 24px;
  padding: 19px 15px;
  border-radius: 40px;
  line-height: 1.4;
  cursor: pointer;
  outline: none;
  background: #739e73;
  color: #fff;
  border: 0;
  margin-top: 34px;
}

.invalid-tip {
  display: block;
  color: #ff1b1b;
  padding-top: 10px;
  font-family: Noto SansJP, sans-serif;
  font-size: 14px;
  font-weight: 700;
}
