@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300..700;1,300..700&family=Cormorant+Infant:ital,wght@0,300..700;1,300..700&family=Josefin+Sans:ital,wght@0,100..700;1,100..700&family=Noto+Sans+JP:wght@100..900&display=swap');

/* 共通 -------------------- */
* {
  margin: 0;
  padding: 0;
  list-style: none;
}

img {
  width: 100%;
  vertical-align: bottom;
}

a {
  text-decoration: none;
}

p {
  color: #111;
}

body {
  font-family: "Noto Serif JP", serif;
}

html {
  scroll-behavior: smooth;
}

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

h2 {
  font-family: "Cormorant Garamond", serif;
  letter-spacing: 0.08em;
  font-size: 36px;
  text-align: center;
  padding: 80px 0 80px 0;
  color: #555;
}

/* header -------------------- */
header {
  background: url('img/hero.png') no-repeat right / cover;
  padding-bottom: 20%;
  position: relative;
}

header nav {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  padding: 12px 0;
}

header ul {
  display: flex;
  justify-content: center;
  width: 60%;
  margin: 0 auto;
}

header li {
  width: calc(100% / 3);
  text-align: center;

}

header a {
  font-family: "Cormorant Garamond", serif;
  font-size: 16px;
  color: #2B2927;
  font-weight: bold;
}

h1 {
  width: 30%;
  padding: 8% 0 0 7%;
}

.scroll {
  position: absolute;
  left: 50%;
  bottom: 0px;
  transform: translateX(-50%);

  display: flex;
  flex-direction: column;
  align-items: center;

}

.scroll p {
  font-family: "Cormorant Garamond", serif;
  text-align: center;
  color: #111;
}

.bar {
  display: block;
  width: 2px;
  height: 40px;
  margin-top: 5px;

  animation: scrollBar 2s ease-in-out infinite;
}

@keyframes scrollBar {
  0% {
    clip-path: inset(0 0 100% 0);
  }

  50% {
    clip-path: inset(0 0 0 0);
  }

  100% {
    clip-path: inset(100% 0 0 0);
  }
}

/* message -------------------- */
#message {
  background: #fbfaf7;
  padding-bottom: 80px;
}

#message p {
  text-align: center;
  line-height: 2;
}

.message-txt1,
.address-txt1 {
  margin-bottom: 16px;
}

.meg-img {
  margin: 40px auto 0;
  width: 170px;
}

/* date -------------------- */
.date-img {
  width: 36%;
  margin-left: 18%;
  position: relative;
  margin-bottom: 80px;
}

.date-time-box {
  background: white;
  position: absolute;
  top: 16%;
  left: 85%;
  z-index: 1;
  padding: 32px;
  white-space: nowrap;

}

.date {
  font-family: "Noto Serif JP", serif;
  font-size: 40px;
}

.youbi {
  font-family: "Cormorant Garamond", serif;
  font-size: 32px;
}

.start {
  font-family: "Cormorant Garamond", serif;
  font-size: 24px;
}

.time {
  font-family: "Noto Serif JP", serif;
  font-size: 32px;
}

#date h3 {
  font-family: "Cormorant Garamond", serif;
  letter-spacing: 0.05em;
  font-size: 36px;
  color: #80602C;
  margin-bottom: 8px;
}

address{
  font-style: normal;
}
.address-txt1{
  font-weight: bold;
}
.access {
  position: absolute;
  bottom: 0;
  left: 100%;
  white-space: nowrap;
  padding: 32px;
}

/* light-bg -------------------- */
.light-bg {
  height: 540px;
  background: url("img/bg.png") no-repeat center / cover;
  background-attachment: fixed;
}


/* form -------------------- */
#form {
  background: #FFFFF0;
  padding-bottom: 80px;
}

.form-item {
  margin-bottom: 20px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.attendance {
  margin-bottom: 32px;
  display: flex;
  justify-content: center;
  gap: 56px;

  border: none;
  padding: 0;
  margin: 0 0 32px;
}

#form input[type="text"],
#form input[type="email"],
#form select {
  width: 100%;
  box-sizing: border-box;
  padding: 8px;
}

.allergy {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;

  border: none;
  padding: 0;
  margin-bottom: 16px;
}

#form textarea {
  width: 100%;
  height: 150px;
  padding: 8px;
  box-sizing: border-box;
  resize: vertical;
}

.btn {
  margin: 32px auto;
  display: flex;
  justify-content: center;
}

.btn input[type="submit"] {
  background: #4e4449;
  color: white;
  width: 240px;
  padding: 14px 20px;
  font-size: 18px;
  letter-spacing: 0.15em;
  cursor: pointer;
  border: none;
  font-family: "Cormorant Garamond", serif;
}

.btn input[type="submit"]:hover {
  background-color: #80602C;
}

/* footer -------------------- */
footer {
  background: #4e4449;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
}

small {
  font-family: "Cormorant Garamond", serif;
  color: white;
}


/* レスポンシブ -------------------- */
@media(max-width:1024px) {
  .date-img {
    width: 60%;
    margin-left: 10%;
  }
}


@media(max-width:670px) {

  .container {
    width: 96%;
  }

  h2 {
    padding: 40px 0 40px 0;
  }

  header {
    background: url('img/hero_sp.png') no-repeat bottom / cover;
  }

  h1 {
    width: 60%;
    padding: 120px 0 0px 40px;
    height: 600px;
  }


  #message p {
    text-align: left;
    line-height: 1.7;
  }

  .meg-img::before,
  .meg-img::after {
    display: none;
  }

  .date-img {
    width: 90%;
    margin-left: 5%;
  }

  .date-time-box {
    top: 50%;
    right: -5%;
    left: auto;
    padding: 16px;
  }

  .access {
    position: static;
    padding: 140px 32px 0 32px;
  }

  /* .light-bg {
    height: 360px;
    background: url("img/bg.jpg") no-repeat center 25% / 240% auto;
  } */

  .attendance label {
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .attendance input[type="radio"] {
    width: 20px;
    height: 20px;
    margin: 0;
    flex-shrink: 0;
  }

  #form {
    padding-bottom: 32px;
  }
}