/* reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* base */
section {
  min-height: 100vh;
  padding: 120px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: center;
}

body {
  font-family: "Shippori Mincho", serif;

  background:
    linear-gradient(rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.3)),
    url("./img/bluesky.webp");

  background-repeat: no-repeat;
  background-position: center top;

  background-size: cover;
  background-attachment: fixed;

  background-attachment: fixed;
}

p,
h1,
h2,
h3 {
  color: #2c3e50;
}

/* background / top */
.top {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
  padding: 0 8vw 8vh;
  position: relative;
  z-index: 2;
}

.top::before {
  content: "";

  position: absolute;
  inset: 0;

  background-image:
    linear-gradient(
      135deg,
      rgba(233, 244, 255, 0) 0%,
      rgba(233, 244, 255, 0) 45%,
      rgba(30, 80, 150, 0.2) 65%,
      rgba(10, 30, 60, 0.65) 100%
    ),
    url("./img/key_visual.webp");

  background-size: cover;
  background-position: center;
  background-attachment: fixed;

  z-index: 0;
}
.top::before {
  opacity: var(--hero-opacity, 1);
}

.theme,
.pickupevents,
.chairperson-message,
.doors,
.access {
  position: relative;
  z-index: 1;
  padding: 80px 20px;
  background: transparent;
  color: #ffffff;
  text-align: center;
}

.gothic {
  font-family: "M PLUS 1p", sans-serif;
}

/* ナビ */
header {
  position: fixed;
  top: 0;
  width: 100%;

  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);

  z-index: 1000;

  opacity: 0;
  transform: translateY(-20px);

  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
}

header.show {
  opacity: 1;
  transform: translateY(0);
}
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  z-index: 1000;
}

nav {
  height: 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
}

.nav-bar {
  display: flex;
  flex-direction: row;
  gap: 40px;
  list-style: none;
}

nav a {
  text-decoration: none;
  color: #2c3e50;
  font-weight: 300;
}

.logo {
  display: flex;
  flex-direction: column;
  text-align: center;
  gap: -10px;
  line-height: 0.97;
}

.menu-panel {
  display: none;

  position: absolute;
  top: 80px;
  right: 20px;

  width: auto;

  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);

  border-radius: 20px;

  padding: 20px;
  margin: 5px;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.menu-panel.active {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.dropdown {
  position: relative;
  list-style: none;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;

  width: auto;

  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);

  list-style: none;
  padding: 20;
  margin: 5px;
  border-radius: 5px;

  opacity: 0;
  visibility: hidden;

  transition: 0.3s;

  display: flex;
  flex-direction: column;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
}

.dropdown-menu li {
  width: 100%;
}

.dropdown-menu a {
  display: block;
  padding: 6px 16px;
  text-decoration: none;
  color: #333;
  white-space: nowrap;
}

.dropdown-menu a:hover {
  background: rgba(0, 0, 0, 0.05);
}

/* top contents */
.hero-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 32px;

  position: relative;
  z-index: 2;
}

.hero-title-group {
  display: flex;
  flex-direction: column;
  text-align: center;
}

.hero-number {
  color: #ffffff;
  font-size: 40px;
  letter-spacing: 0.2em;
}
.hero-title {
  color: #ffffff;
  font-size: 64px;
  letter-spacing: 0.4em;
}
.hero-theme {
  color: #ffffff;
  font-size: 40px;
  letter-spacing: 0.2em;
}
.hero-catch {
  color: #ffffff;
  font-size: 32px;
}

.hero-date {
  color: #ffffff;
  font-size: 40px;
}

.date {
  color: #ffffff;
  font-size: 24px;
}

.hero-date-group {
  text-align: center;
}

/* theme */
.theme-h {
  font-family: "Shippori Mincho", serif;
  color: #ffffff;
  font-size: 48px;
  font-weight: 100;
  letter-spacing: 0.3em;
  margin-bottom: 30px;
}
.theme-centence {
  color: #ffffff;
  font-size: 24px;
  letter-spacing: 0.3em;
  line-height: 2.5;
}

.theme {
  min-height: 100vh;

  display: flex;
  justify-content: center;
  align-items: center;

  background: transparent;
}
/* =====================
   door transition
===================== */

.door-transition {
  height: 300vh;
  position: relative;
}

.door-stage {
  position: sticky;
  top: 0;

  width: 100%;
  height: 100vh;

  overflow: hidden;

  display: flex;
  justify-content: center;
  align-items: center;

  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.3) 0%,
    rgba(255, 255, 255, 0) 70%
  );
}

.door-message {
  position: absolute;
  z-index: 30;
  text-align: center;
}

.door-message p {
  color: white;
  font-size: 64px;
  letter-spacing: 0.5em;
}

.door-container {
  position: absolute;

  width: 100%;
  height: 100%;

  display: flex;

  opacity: 0;
  transform: scale(0.2);

  filter: blur(25px);

  transition:
    filter 0.3s linear,
    opacity 0.3s linear;

  z-index: 20;

  perspective: 1500px;
}
.door-container::before {
  content: "";

  position: absolute;

  width: 600px;
  height: 600px;

  left: 50%;
  top: 50%;

  transform: translate(-50%, -50%);

  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(255, 255, 255, 0) 70%
  );

  z-index: -1;
}
.door-left {
  width: 50%;
  height: 100%;

  background: white;

  transform-origin: left center;
}

.door-right {
  width: 50%;
  height: 100%;

  background: white;

  transform-origin: right center;
}

.festival-message {
  position: absolute;

  z-index: 10;

  opacity: 0;

  transform: scale(0.8);
}

.festival-message p {
  color: white;

  font-size: 64px;

  letter-spacing: 0.3em;

  text-shadow: 0 0 30px rgba(255, 255, 255, 0.8);
}

main {
  overflow: visible !important;
}

.theme-content-wrapper {
  position: absolute;
  z-index: 10;
  text-align: center;
  pointer-events: none;
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

/*add door effect*/
.door-left,
.door-right {
  background: rgba(255, 255, 255, 0.85);

  backdrop-filter: blur(8px);

  border: 2px solid rgba(255, 255, 255, 0.5);
}
/*3D */
.door-left,
.door-right {
  box-shadow:
    inset 0 0 40px rgba(255, 255, 255, 0.4),
    inset -20px 0 40px rgba(0, 0, 0, 0.15);
}
/*bright*/
.festival-message::before {
  content: "";

  position: absolute;

  width: 500px;
  height: 500px;

  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.8) 0%,
    rgba(255, 255, 255, 0) 70%
  );

  z-index: -1;
}

/* pickup events */
.gothic-h {
  padding-right: 30px;
  font-family: "M PLUS 1p", sans-serif;
}
.event-header {
  display: inline-flex;
  align-items: baseline;
  left: 65px;
  gap: 30px;
  margin-bottom: 40px;
  position: relative;
  align-self: flex-start;
  left: 65px;
}
.event-header::after {
  content: "";
  position: absolute;
  left: -10px;
  right: -10px;
  bottom: -10px;

  width: calc(100% + 20px);
  height: 3px;

  background: linear-gradient(
    to right,
    rgba(0, 182, 182, 1) 0%,
    rgba(0, 182, 182, 0.8) 50%,
    rgba(0, 182, 182, 0) 100%
  );
}
.event-al {
  font-size: 48px;
  padding-left: 30px;
}

.pickupevent-cards {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.event-card {
  display: flex;
  flex-direction: column;
  width: 240px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.7),
    rgba(200, 220, 255, 0.4)
  );

  border: 2px solid rgba(118, 140, 162, 0.5);
  border-radius: 120px 120px 0px 0px;
  overflow: hidden;
  transition:
    transform 0.6s ease,
    box-shadow 0.6s ease;
  transform-origin: left center;
  cursor: pointer;
  position: relative;
  z-index: 1;
}
.event-card::after {
  content: "";
  position: absolute;
  top: 60%;
  right: 20px;
  width: 20px;
  height: 20px;
  background-color: #d4af37;
  border-radius: 50%;
  box-shadow: 1px 2px 3px rgba(0, 0, 0, 0.3);
  z-index: 10;
  transition: transform 0.6s ease;
}

.event-card::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  border-radius: 105px 105px 0px 0px;
  border: 1px solid rgba(118, 140, 162, 0.4);
  box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.08);
  pointer-events: none;
  z-index: 5;
}

.pickup-img img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.event-body {
  padding: 20px 20px 30px 20px;
}

.event-body h3 {
  font-weight: 100;
  padding-bottom: 13px;
}

.door-wrapper {
  position: relative;
  perspective: 1000px;
}

.door-wrapper:hover .event-card {
  transform: rotateY(-25deg);
  box-shadow: -10px 15px 25px rgba(0, 0, 0, 0.15);
}

.event-card-back {
  position: absolute;
  top: 0;
  left: 0;

  width: 240px;
  height: 100%;

  background-color: rgba(233, 244, 255, 0.5);

  border-radius: 120px 120px 0 0;

  z-index: 0;
}

.more-button-wrapper {
  width: 1020px;
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
}

.more-button-link {
  display: inline-block;
  padding: 8px 24px;
  background-color: #08b8bf;
  color: #ffffff;
  font-family: "Shippori Mincho", serif;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 200;
  letter-spacing: 0.05em;
  transition:
    background-color 0.25s ease,
    transform 0.25s ease;
}

.more-button-link:hover {
  background-color: #06a3aa;
  transform: translateY(-1px);
}

.pickupevents {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* 委員長より */
.chairperson-message {
  max-width: 45%;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
  letter-spacing: 0.1em;
  text-align: left;
  width: 90%;
}
.message-text {
  font-size: 16px;
  color: #2c3e50;
}
.message-role {
  font-size: 16px;
  color: #2c3e50;
}
.message-name {
  font-size: 24px;
  color: #2c3e50;
}
.chairperson {
  text-align: right;
}

/* door */
.doors {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 50px;
}

.door {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 230px;
  height: 360px;
  background-color: #92d2d2;
  overflow: hidden;
  transition:
    transform 0.6s ease,
    box-shadow 0.6s ease;
  transform-origin: left center;
  cursor: pointer;
  position: relative;
  object-fit: contain;
  z-index: 1;
}

.door::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 15px;
  width: 20px;
  height: 20px;
  background-color: #d4af37;
  border-radius: 50%;
  box-shadow: 1px 2px 3px rgba(0, 0, 0, 0.3);
  z-index: 10;
  transition: transform 0.6s ease;
}

.door::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  border: 1px solid rgba(118, 140, 162, 0.4);
  box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.08);
  pointer-events: none;
  z-index: 5;
}

.doors p {
  font-family: "M PLUS 1p", sans-serif;
  text-align: center;
  line-height: 1.8;
  padding: 0 20px;
}

.door img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  padding-top: 0;
  margin-bottom: 24px;
}

.door-wrapper:hover .door {
  transform: rotateY(-25deg);
  box-shadow: -10px 15px 25px rgba(0, 0, 0, 0.15);
}

.door-back {
  position: absolute;
  top: 0;
  left: 0;

  width: 230px;
  height: 360px;

  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.7),
    rgba(200, 220, 255, 0.4)
  );

  z-index: 0;
}

/* access */
.access p,
h3,
h4 {
  font-family: "M PLUS 1p", sans-serif;
  letter-spacing: 0.1em;
  font-weight: 300;
}

.access h4 {
  font-weight: 600;
}

.access-header {
  display: inline-flex;
  align-items: baseline;
  gap: 30px;
  position: relative;
  align-self: flex-start;
  margin-left: 150px;
}
.access-header::after {
  content: "";
  position: absolute;
  left: -2px;
  right: -10px;
  bottom: -10px;

  width: calc(100% + 20px);
  height: 3px;

  background: linear-gradient(
    to right,
    rgba(0, 182, 182, 1) 0%,
    rgba(0, 182, 182, 0.8) 50%,
    rgba(0, 182, 182, 0) 100%
  );
}

.access-al {
  font-size: 48px;
  padding-left: 30px;
}
.transportation-card {
  background-color: rgba(255, 255, 255, 0.7);
  padding: 25px;
  margin-top: 20px;
  width: 430px;
  gap: 10px;

  border-left: 2px solid #00b6b6;
}

.map-button-wrapper {
  margin-top: 20px;
}

.button-link {
  display: inline-block;
  padding: 8px 24px;
  background-color: #08b8bf;
  color: #ffffff;
  font-family: "M PLUS 1p", sans-serif;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 200;
  letter-spacing: 0.05em;
  transition:
    background-color 0.25s ease,
    transform 0.25s ease;
}

.button-link:hover {
  background-color: #06a3aa;
  transform: translateY(-1px);
}

.access-texts {
  text-align: left;
}

.access-contents {
  display: flex;
  justify-content: center;
  align-items: stretch;
  margin-left: 150px;
  margin-right: 150px;
  margin-top: 30px;
}

.access {
  display: flex;
  justify-content: flex-start;
}

.university-info {
  padding-left: 30px;
}
.university-info h3 {
  font-size: 32px;
}
.university-info p {
  font-size: 16px;
}
.transportation-card h4 {
  font-size: 20px;
  font-family: "M PLUS 1p", sans-serif;
  color: #2c3e50;
  text-underline-position: below;
}

.access-texts,
.access-map {
  flex: 1;
}
.access-map iframe {
  width: 100%;
  height: 100%;
}

/* footer */
.footer {
  background: #08b8bf;
  padding: 70px 70px 30px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-column {
  min-width: 180px;

  padding-left: 20px;
  padding-bottom: 20px;

  border-left: 2px solid rgba(255, 255, 255, 0.8);

  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-column h3 {
  color: white;
  font-size: 20px;
  font-weight: 300;

  margin-top: 20px;
}

.footer-column a,
.footer-column p {
  color: white;
  text-decoration: none;
  font-size: 16px;
  font-family: "M PLUS 1p", sans-serif;
}

.footer-column a:hover {
  opacity: 0.7;
}

.footer-subtitle {
  margin-top: 40px;
}

.mail {
  margin-bottom: 20px;
}

.sns {
  display: flex;
  gap: 20px;
}

.sns img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.copyright {
  margin-top: 100px;

  text-align: center;

  color: white;

  font-size: 14px;

  font-family: "M PLUS 1p", sans-serif;
}
footer a:hover {
  opacity: 0.7;
}
