@charset "utf-8";

:root {
  /* color */
  --blue-color: #2f80d1;
  --green-color: #45c074;
  --red-color: #ee3535;
  --red-shadow-color: #f9baba;
}

body {
  background: #FFFFFF;
  font-family: "Noto Sans JP", sans-serif;
}

/* form.css custom */
input[type="number"],
input[type="tel"] {
  width: 60px;
}

input[type="submit"] {
  max-width: 100%;
  background: var(--green-color);
}

.header_timetable {
  color: #fff !important;
}

@media (max-width: 768px) {
  .formInner .formInner {
    width: 100%;
  }
}

.fm-answer+input[type="text"] {
  margin-top: 10px;
}

/* Project */
.p-ttl {
  margin-bottom: 10px;
  font-size: 2rem;
  font-weight: bold;
  line-height: 1.5;
}

@media (max-width: 600px) {
  .p-ttl br {
    display: none;
  }
}

.p-kv {
  text-align: center;
}

.p-about {
  width: 800px;
  max-width: 92%;
  margin: 50px auto 0;

  .p-about__txt {
    margin: 0 auto;
    font-size: 1.6rem;
    line-height: 2;
  }
}

.p-about>strong {
  font-weight: 700;
}

@media (max-width: 600px) {
  .p-about {
    margin: 30px auto 0;

    .p-about__txt {
      font-size: 1.4rem;
      text-align: left;
    }
  }
}

.p-details {
  padding: 70px 10px 0;

  .p-details__list {
    margin: 30px auto 0;
  }

  .p-details__list dl {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 10px 15px;
    font-size: 1.6rem;
    line-height: 1.75;
    box-sizing: border-box;
    border-bottom: 1px solid var(--blue-color);
  }

  .p-details__list dl:first-of-type {
    border-top: 1px solid var(--blue-color);
  }

  .p-details__list dt {
    flex: 0 1 18%;
    width: 18%;
    margin-right: 2%;
  }

  .p-details__list dd {
    flex: 1 1 72%;
    width: 72%;
    padding: 10px 0;
    box-sizing: border-box;
  }

  .p-details__list-address {
    display: block;
    margin-top: 0.8em;
    font-size: 0.8em;
    line-height: 1.5;
    text-decoration: underline;
  }
}


@media (max-width: 600px) {
  .p-details {
    padding: 40px 0 0;

    .p-details__list {
      margin: 30px auto 0;
    }

    .p-details__list dl {
      justify-content: flex-start;
      max-width: 92%;
      padding: 0;
      box-sizing: border-box;
      font-size: 1.4rem;
      line-height: 1.25;
    }

    .p-details__list dt {
      flex: 0 0 6.2em;
      width: 6.2em;
      margin-right: 2%;
    }

    .p-details__list dd {
      flex: 0 1 auto;
      width: auto;
      padding: 15px 0;
      box-sizing: border-box;
    }

    .p-details__list-address {
      margin-top: 0.5em;
    }

    .pcbr {
      display: none;
    }
  }
}

.p-schedule {
  padding: 50px 10px 70px;

  .p-schedule__container {
    display: flex;
    justify-content: space-between;
    max-width: 700px;
    margin: 30px auto 0;
  }

  .p-schedule__box {
    width: 48%;
    border-radius: 10px;
    border: 2px solid var(--green-color);
    overflow: hidden;
  }

  .p-schedule__date {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    padding: 20px 0;
    color: #fff;
    font-weight: 700;
    font-size: 1.8rem;
    background: var(--green-color);
  }

  .p-schedule__table {
    padding: 10px 0;
    list-style: none;

    li {
      display: flex;
      justify-content: start;
      align-items: start;
      padding: 10px;
      font-size: 15px;
      line-height: 2.25;
    }

    .time {
      flex: 0 0 3em;
      display: inline-block;
      width: 3em;
      margin-right: 15px;
      text-align: center;
    }

    .note {
      display: block;
      margin-top: -.5em;
      color: #777;
      font-size: 0.85em;
    }
  }

  li.p-schedule__ph {
    display: flex;
    justify-content: start;
    align-items: start;
    flex-flow: wrap;
    gap: 3px;
    padding: 10px 15px 10px calc(35px + 3em);
    box-sizing: border-box;
  }

  .p-schedule__ph img {
    flex: 0 1 49%;
    width: 49%;
  }
}

@media (max-width: 600px) {
  .p-schedule {
    padding: 40px 0 70px;

    .p-schedule__container {
      flex-flow: column;
      max-width: 93%;
      margin: 15px auto 0;
    }

    .p-schedule__box {
      width: 100%;
      padding: 0;

      &:not(:first-child) {
        margin: 20px auto 0;
      }
    }

    .p-schedule__date {
      padding: 15px;
      font-size: 1.8rem;
    }

    .p-schedule__table {

      li {
        padding: 10px;
        font-size: 1.4rem;
      }

      .time {
        margin-right: 10px;
      }
    }

    li.p-schedule__ph {
      padding: 10px 15px 10px calc(20px + 3em);
      box-sizing: border-box;
    }

    .p-schedule__ph img {
      flex: 0 1 48%;
      width: 48%;
    }
  }
}

.p-form__question-note {
  margin-bottom: 1em;
}

.c-heading {
  width: fit-content;
  margin: 0 auto;
  padding-bottom: 0.5em;
  font-size: 2rem;
  text-align: center;

  &.-blue {
    color: var(--blue-color);
  }

  &.-green {
    color: var(--green-color);
  }
}

.c-btn {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 380px;
  max-width: 100%;
  height: 60px;
  margin: 40px auto 0;
  padding: 0 1.3em 5px;
  font-size: 2.4rem;
  font-weight: 700;
  font-feature-settings: "palt";
  color: #fff;
  background: var(--red-color);
  box-sizing: border-box;
  border-radius: 39px;
  box-shadow: 9px 11px var(--red-shadow-color);
}

.c-btn::after {
  content: "";
  position: absolute;
  right: .7em;
  top: 50%;
  transform: translateY(-50%);
  width: 0.4em;
  height: 0.4em;
  background-color: #fff;
  clip-path: polygon(0% 0%, 0% 100%, 100% 50%);
}

@media (max-width:800px) {
  .c-btn {
    width: 320px;
    max-width: 90%;
    height: 50px;
    margin: 30px auto 0;
    padding-bottom: 2px;
    font-size: 1.7rem;
    box-shadow: 6px 8px var(--red-shadow-color);
  }
}


@media (max-width: 1018px) {
  .pc {
    display: none;
  }

  .sp {
    display: block;
  }
}