@charset "utf-8";

*,
::before,
::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.firstView {
  padding: 0 3rem;
  position: relative;
  overflow: hidden;
  perspective: 300px;
}

.topLogo {
  font-size: clamp(6rem, 12vw, 24rem);
  font-family: "Qwitcher Grypen", cursive;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.14em;
  transform: rotate(353.38deg);
  margin: 0 auto;
  padding-left: 2.2rem;
}

.archPoster {
  display: flex;
  justify-content: space-between;
  padding-bottom: 11.5rem;
  opacity: 0;
  transform: translateZ(300px);
  animation: slideInUp 1s ease forwards;
  animation-delay: 0.5s; /* 少し遅らせて登場 */
}
@keyframes slideInUp {
  to {
    opacity: 1;
    transform: translateZ(0);
  }
}

.archPoster img {
  width: 100%;
  height: auto;
}

.archPosterItem1,
.archPosterItem2 {
  margin-right: 9.8rem;
}

.newsSection {
  display: flex;
  width: 100%;
  /* max-width: fit-content; */
  max-width: 100%;
  padding: 11.2rem 21.6rem;
  justify-content: space-between;
}

.newsInner {
  display: flex;
}

.newsList {
  padding-left: 20rem;
  /* margin-left: 30rem; */
}

.newsList dt,
dd {
  color: #f9f6f1;
}

.newsList dl {
  margin-bottom: 6.3rem;
}

.newsList dt {
  margin-bottom: 0.8rem;
}

.newsBtnWrapper {
  text-align: right;
  padding-bottom: 8.1rem;
  margin-top: 42rem;
  /* margin-left: 36rem; */
}
.newsList dd {
  position: relative;
  display: inline-block;
}

.newsList dd::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1em;
  width: 0;
  height: 2px;
  background-color: #7eff84;
  transition: width 0.3s ease;
}

.newsList a:hover dd::after {
  width: 100%;
}


.newsList a:hover::after {
  width: 100%;
}
.newsBtn {
  font-size: 1.4rem;
  border: 1px solid #7eff84;
  color: #7eff84;
  width: 12.5rem;
  height: 4.2rem;
  text-align: center;
  line-height: 4.2rem;
  border-radius: 22px;
  display: inline-block;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: color 0.3s ease;
}
.hoverBtn {
  color: #7eff84;
}

.hoverBtn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #7eff84;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
  z-index: 0;
}

.hoverBtn:hover::before {
  transform: scaleX(1);
}

.hoverBtn:hover {
  color: #8e3331;
}

.hoverBtn:hover span {
  color: #8e3331;
}
.hoverBtn span {
  color: inherit;
  position: relative;
  z-index: 2;
}

/* button専用修正（上書き防止用） */
.submitBtn {
  all: unset;
  display: inline-block;
  font-size: 1.4rem;
  padding: 0;
  text-align: center;
}
.centerGroup {
  margin: 0 auto;
  text-align: center;
  padding-bottom: 5.3rem;
}

/* 上映中 */
.scheduleSection {
  /* padding: 4.8rem 0 10.4rem; */
  padding: 4.8rem 12.3rem 10.4rem;
  background-color: #8e3331;
  width: 100%;
}

.gridParent {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 10.4rem 25.8rem;
}

.gridItem {
  text-align: center;
}
.gridItem img {
  width: 100%;
  height: auto;
}

.gridItem h3 {
  padding-top: 2.4rem;
  padding-bottom: 1.8rem;
  font-size: 1.6rem;
}

.gridItem span {
  font-size: 1.2rem;
}

/* ここからアクセス */

.map {
  width: 100%;
  aspect-ratio: 16 / 9; /* 👈 ここで比率を固定！ */
  overflow: hidden;
}

.map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.accessSection {
  padding: 4.8rem 12.3rem 8.8rem;
}

.accessWrapper {
  display: flex;
  justify-content: center;
}

.accessCard {
  background: rgba(255, 255, 255, 0.3); /* 半透明の白 */
  backdrop-filter: blur(8px); /* ぼかしで奥行き感 */
  -webkit-backdrop-filter: blur(8px); /* Safari対応 */
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2); /* ふわっと浮かせる影 */
  padding: 3rem;
  gap: 6rem;
  align-items: flex-start;
}

.accessInfo {
  padding-left: 10.3rem;
}

.accessItem {
  padding-bottom: 2.2rem;
}

.accessItem h4 {
  font-weight: 700;
  padding-bottom: 1rem;
}

.accessItem4 {
  padding-top: 6.3rem;
}

.accessItem4 p {
  padding-bottom: 1.4rem;
}

.accessSection {
  color: #8e3331;
}

/* ここからお問い合わせ */
.formSection {
  padding-top: 4.8rem;
  padding-bottom: 1.8rem;
  background-color: #8e3331;
}

input,
textarea {
  background-color: transparent;
}

#name,
#email {
  width: 100%;
  height: 4.4rem;
  padding: 0 1rem;
  border: 1px solid #f9f6f1;
  border-radius: 10px;
  font-size: 1.4rem;
  margin-top: 1rem;
  margin-bottom: 6.2rem;
}

textarea {
  width: 100%;
  height: 8rem;
  padding: 1rem;
  resize: vertical;
  border: 1px solid #f9f6f1;
  border-radius: 10px;
  font-size: 1.4rem;
  margin-top: 1rem;
  margin-bottom: 7rem;
}
input:focus,
textarea:focus {
  outline: none;
  border: 2px solid #c7c7c7;
  box-shadow: 0 0 0 3px rgba(227, 208, 166, 0.6);
  background-color: #4cac86; /* ちょい緑っぽく */
  color: #f9f6f1;
  transition: all 0.2s ease-in-out;
}

.formItem {
  width: 100%;
  max-width: 55.2rem;
  margin: 0 auto;
  background-color: #8e3331;
  font-size: 1.4rem;
}

#submit,
button#submit {
  color: #7eff84;
  font-size: 1.4rem;
  border: 1px solid #7eff84;
  width: 12.5rem;
  height: 4.2rem;
  cursor: pointer;
  line-height: 4.2rem;
  border-radius: 22px;
  margin-bottom: 6rem;
  background-color: transparent;
  padding: 0; /* 余白リセット */
  font-family: inherit; /* フォント崩れ防止 */
  display: inline-block;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: color 0.3s ease;
}

.submitItem {
  text-align: center;
}
.fakeLink {

  text-decoration: underline;
  cursor: default;
}

/* --------- */
/* メディアクエリ */

@media (max-width: 1000px) {
  .headerMenu {
    justify-content: center;
    padding: 0 2rem;
  }
  .headerMenu li {
    line-height: 40px;
    flex-basis: 100%; /* 横幅いっぱいにして折り返し */
    text-align: center;
  }
}

/* -------- */

/* 上映中のグリット */
@media (max-width: 1200px) {
  .gridParent {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .scheduleSection {
    padding: 4.8rem 2rem 6rem;
  }

  .gridParent {
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem 2rem;
  }
}

@media (max-width: 480px) {
  .gridParent {
    grid-template-columns: 1fr;
  }
}
