@charset "utf-8";

section.page_mv {
  position: relative;
  .mv-img {
    width: 100%;
    min-height: 600px;
    object-fit: cover;
  }
  .page-title-wrapper {
    position: absolute;
    top: 55%;
    left: 50%;
    translate: -50% -50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }
  .logo {
    max-width: 300px;
    margin-bottom: 2rem;
  }
  .page-title {
    font-size: 3.5rem;
  }
}
@media (max-width: 960px) {
  section.page_mv {
    position: relative;
    .mv-img {
      width: 100%;
      min-height: 300px;
      object-fit: cover;
    }
    .page-title-wrapper {
      top: 50%;
      width: 100%;
    }
    .logo {
      width: 55%;
      max-width: 300px;
      margin-bottom: 2rem;
    }
    .page-title {
      font-size: 3rem;
    }
  }
}

main.page-body {
  background: url(../img/subpage-bg.jpg) no-repeat;
  background-size: cover;
}

:root {
  --section-padding: 8rem 0;
}
@media (max-width: 960px) {
  :root {
    --section-padding: 4rem 0;
  }
}

.section-title {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 5rem;
  @media (max-width: 960px) {
    font-size: 2.25rem;
    margin-bottom: 3rem;
  }
}

/*=========================
  concept
=========================*/
section.info_concept {
  padding: var(--section-padding);
  background: url(../img/top/concept-bg.jpg) no-repeat;
  background-size: cover;
  color: #ffffff;
  .section-flex {
    width: 100%;
    display: flex;
    margin: 0 auto 0 0;
    .flex-left {
      width: 50%;
    }
    .flex-right {
      width: 50%;
    }
  }
  .section-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .section-title {
    font-size: 3rem;
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    &::before {
      content: '';
      display: block;
      width: 30%;
      height: 1px;
      background-color: #ffffff;
      margin-right: 1rem;
    }
  }
  .texts {
    padding: 2rem;
    padding-top: 3rem;
    .text {
      max-width: 550px;
      width: fit-content;
      margin-inline: auto;
    }
  }
}
@media (max-width: 960px) {
  section.info_concept {
    .section-flex {
      flex-direction: column;
      gap: 2rem;
      .flex-left {
        width: 100%;
        padding-right: 1rem;
      }
      .flex-right {
        width: calc(100% - 2rem);
        margin-inline: auto;
      }
    }
    .section-img {
      max-width: 600px;
    }
    .section-title {
      justify-content: center;
      border-bottom: #ffffff 1px solid;
      padding-bottom: 1rem;
      margin-bottom: 2rem;
      font-size: 2.25rem;
      &::before {
        display: none;
      }
    }
    .texts {
      padding: 0;
      .text {
      }
    }
  }
}

/*=========================
  overview
=========================*/
section.info_overview {
  padding: var(--section-padding);
  background: url(../img/top/overview-bg.jpg) no-repeat;
  background-size: cover;
  position: relative;
  .bg-black {
    position: absolute;
    top: 0;
    left: 0;
    background-color: #131114;
    width: 30%;
    height: 100%;
  }
  .section-flex {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 2rem;
    margin-bottom: 4rem;
    .flex-left {
      width: 50%;
    }
    .flex-right {
      width: 50%;
    }
  }
  .section-title {
    font-size: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row-reverse;
    margin-bottom: 4rem;

    &::before {
      content: '';
      display: block;
      width: 30%;
      height: 1px;
      background-color: #ffffff;
      margin-inline: 1rem;
    }
  }
  .section-title.sp-only {
    display: none;
  }
  .section-img {
    margin-bottom: 4rem;
  }
  .cancel-policy {
    position: relative;
    border: #ffffff 1px solid;
    width: 80%;
    margin-inline: auto;
    padding: 2rem;
    margin-bottom: 4rem;
    .title {
      text-align: center;
      font-size: 1.5rem;
      border-bottom: #ffffff 1px solid;
      padding-bottom: 1rem;
      margin-bottom: 1rem;
    }
  }
  .table-wrapper {
    padding-inline: 2rem;
    /* width: calc(100% - 2rem);
    margin-inline: auto; */
  }
  .table {
    max-width: 600px;
    margin-inline: auto;
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 2rem;
    row-gap: 2rem;
    margin-bottom: 4rem;
    .row {
      display: grid;
      grid-template-columns: subgrid;
      grid-column: 1/-1;
    }
  }
  .button {
    margin-inline: auto;
  }
}
@media (max-width: 960px) {
  section.info_overview {
    .section-flex {
      flex-direction: column-reverse;
      gap: 4rem;
      .flex-left {
        width: calc(100% - 2rem);
        margin-inline: auto;
      }
      .flex-right {
        width: calc(100% - 2rem);
        margin-inline: auto;
      }
    }
    .section-title {
      font-size: 2.25rem;
      margin-bottom: 2rem;
      &::before {
        display: none;
      }
    }
    .section-title.pc-only {
      display: none;
    }
    .section-title.sp-only {
      display: flex;
      border-bottom: #ffffff 1px solid;
      padding-bottom: 1rem;
      margin-bottom: 4rem;
    }
    .section-img {
    }
    .cancel-policy {
      width: 100%;
      padding: 1rem;
      .title {
        font-size: 1rem;
      }
      .text {
        font-size: 0.8rem;
      }
    }
    .table {
      font-size: 1rem;
      grid-template-columns: 1fr;
      .row {
      }
    }
  }
}

section.info_gallery {
  padding: var(--section-padding);
  .section-title {
    display: flex;
    justify-content: center;
    align-items: center;
    &::before,
    &::after {
      content: '';
      display: block;
      width: 20%;
      height: 1px;
      background-color: #ffffff;
      margin-inline: 1rem;
      @media (max-width: 960px) {
        display: none;
      }
    }
  }
  .grid-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    @media (max-width: 960px) {
      grid-template-columns: repeat(2, 1fr);
      gap: 1rem;
    }
  }
}
