/* ============================================ */
/* 1. レイアウト基本設定 */
/* ============================================ */

.new-page-main {
  padding-top: 150px;
  padding-bottom: 70px;
  width: 100%;
  font-family: "Klee One", cursive;
  color: #522e1d;
  line-height: 1.6;
}

.content-inner {
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
}

@media screen and (max-width: 600px) {
  .new-page-main {
    padding-top: 120px;
  }
}

/* ============================================ */
/* 2. とこ祭についてページ */
/* ============================================ */

.about-main {
  overflow: hidden;
}

.about-section {
  position: relative;
  display: block;
  width: min(94%, 1180px);
  max-width: 1180px;
  min-height: clamp(430px, 58vw, 650px);
  margin: 30px auto 86px;
  padding: clamp(150px, 22vw, 260px) 0 70px;
}

.about-section__image {
  position: absolute;
  top: 0;
  left: -8vw;
  width: min(84vw, 880px);
  height: clamp(340px, 48vw, 560px);
  border-radius: 0;
  box-shadow: 0 24px 46px rgba(82, 46, 29, 0.18);
  overflow: hidden;
  transform: rotate(-1.6deg);
  z-index: 1;
}

.about-section--reverse .about-section__image {
  right: -8vw;
  left: auto;
  transform: rotate(1.6deg);
}

.about-section__image img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  transform: scale(1.05);
}

.about-section__image picture {
  display: block;
  width: 100%;
  height: 100%;
}

.about-section__image a {
  display: block;
  width: 100%;
  height: 100%;
}

.about-section__body {
  position: relative;
  width: min(520px, 86%);
  min-height: 230px;
  margin-left: auto;
  padding: clamp(24px, 4vw, 42px);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 42px rgba(82, 46, 29, 0.13);
  backdrop-filter: blur(6px);
  transform: translateX(-2vw);
  z-index: 3;
}

.about-section--reverse .about-section__body {
  margin-right: auto;
  margin-left: 0;
  text-align: left;
  transform: translateX(2vw);
}

.about-section--tokomidori .about-section__body {
  width: min(430px, 34vw);
  transform: translateX(clamp(240px, 25vw, 460px));
}

.about-section--reverse.about-section--tokomidori .about-section__body {
  margin-right: auto;
  margin-left: 0;
  transform: translateX(2vw);
}

.about-section--crowdfunding .about-section__image img {
  object-fit: contain;
  background: #ffffff;
  transform: none;
}

.about-section--crowdfunding .about-section__body {
  width: min(430px, 34vw);
  transform: translateX(clamp(-460px, -25vw, -240px));
}

.about-section__title {
  margin-bottom: 20px;
  font-size: clamp(1.75rem, 3vw, 2.65rem);
  font-weight: 700;
  letter-spacing: 0;
  color: #522e1d;
  line-height: 1.2;
  text-shadow: none;
}

.about-section__text {
  width: 100%;
  min-height: 150px;
  margin-left: 0;
  padding: 18px 0 0;
  border-top: 1px solid rgba(82, 46, 29, 0.28);
}

.about-section--reverse .about-section__text {
  margin-right: 0;
}

.about-section__text p + p {
  margin-top: 0.75em;
}

.about-link-row {
  margin-top: 1.3em !important;
}

.about-profile {
  margin-top: 1rem;
}

.about-profile div {
  display: grid;
  grid-template-columns: 6.5em 1fr;
  gap: 1rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(82, 46, 29, 0.12);
}

.about-profile dt {
  font-weight: 700;
}

.about-profile dd {
  margin: 0;
}

.about-wind {
  width: 128%;
  height: 120px;
  margin: -118px 0 -42px -14%;
  opacity: 0.72;
  transform: rotate(-4deg);
  z-index: 0;
}

.about-wind.reverse-wind {
  transform: rotate(4deg);
}

@media screen and (max-width: 780px) {
  .about-section,
  .about-section--reverse {
    display: block;
    width: 92%;
    min-height: 0;
    margin: 18px auto 70px;
    padding: 0;
  }

  .about-section__image {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    height: auto;
    transform: rotate(-2deg);
  }

  .about-section--reverse .about-section__image {
    right: auto;
    left: auto;
    transform: rotate(2deg);
  }

  .about-section__image img {
    height: auto;
    min-height: 0;
    object-fit: contain;
    transform: none;
  }

  .about-section__body,
  .about-section--reverse .about-section__body {
    width: 100%;
    min-height: 190px;
    margin: 28px auto 0;
    padding: 24px 0 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    transform: none;
    text-align: center;
  }

  .about-section--tokomidori .about-section__body {
    width: 100%;
    max-width: none;
    margin-right: auto;
    margin-left: auto;
    transform: none;
  }

  .about-section--crowdfunding .about-section__body {
    width: 100%;
    max-width: none;
    transform: none;
  }

  .about-section--crowdfunding .about-section__image {
    width: 100%;
    right: auto;
  }

  .about-section--tokomidori .about-section__title {
    white-space: nowrap;
  }

  .about-section__text,
  .about-section--reverse .about-section__text {
    margin-right: auto;
    margin-left: auto;
  }

  .about-profile div {
    grid-template-columns: 6.5em 1fr;
    gap: 1rem;
    text-align: left;
  }

  .about-section--tokomidori .about-section__text {
    width: min(100%, 520px);
    max-width: none;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
  }

  .about-section--tokomidori .about-section__text > p {
    text-align: center;
    word-break: keep-all;
    overflow-wrap: normal;
  }

  .about-profile dd {
    word-break: keep-all;
    overflow-wrap: normal;
    text-align: left;
  }

  .about-section--tokomidori .about-profile {
    width: min(100%, 430px);
    margin-right: auto;
    margin-left: auto;
  }

  .about-wind {
    width: 100%;
    height: 94px;
    margin: 8px auto 36px;
    opacity: 0.55;
    transform: none;
  }

  .about-wind.reverse-wind {
    transform: none;
  }

  .about-wind--middle {
    transform: scaleX(-1);
  }
}

/* ============================================ */
/* 3. トラブル対策 */
/* ============================================ */

#global-container {
  opacity: 1 !important;
  transition: none !important;
}

.pace {
  display: none !important;
}

.appear .item {
  opacity: 1 !important;
  transform: none !important;
}

.tween-animate-title,
.animate-title {
  opacity: 1 !important;
  visibility: visible !important;
}

.tween-animate-title span,
.tween-animate-title .char,
.animate-title span,
.animate-title .char {
  opacity: 1 !important;
  transform: none !important;
}

.side .tween-animate-title {
  color: #522e1d !important;
}

.side {
  opacity: 1 !important;
  display: block !important;
}
