body {
  color: #212121;
}
.form-event-mv {
  text-align: center;
  img {
    width: calc(100% - 64px);
    margin-top: 32px;
  }
}
.form-event-summary {
  max-width: 760px;
  margin-top: -80px;
  margin-inline: auto;
  background-color: #fff;
  position: relative;
  border-radius: 12px;
  box-shadow: 0 8px 24px 0 rgba(0, 0, 0, 0.1);
  padding: 40px;
}
#icj-mainArea .form-event-summary__schedule {
  background: #D5000E;
  color: #fff;
  width: fit-content;
  padding: 10px 33px;
  border-radius: 19px;
  line-height: 1;
}
.form-event-summary__date {
  margin-top: 20px;
}
.form-event-summary__date-label {
  background: #585858;
  color: #fff;
  display: inline-block;
  line-height: 1;
  font-size: 14px;
  border-radius: 5px;
  padding: 7px 10px;
  margin-right: 10px;
}
.form-event-summary__title {
  margin-top: 15px;
  font-size: 24px;
}
.form-event-summary__bnr {
  background: #E88B05;
  color: #fff;
  border-radius: 28px;
  text-align: center;
  position: relative;
  width: 100%;
  max-width: 480px;
  height: 56px;
  line-height: 56px;
  margin-inline: auto;
  margin-top: 37px;
  transition: opacity 300ms;
  &:hover {
    opacity: 0.85;
  }
  a {
    display: block;
    text-align: center;
    color: #fff;
    font-weight: bold;
    font-size: 17px;
  }
  span {
    position: absolute;
    right: 20px;
    top: 0;
    margin-left: auto;
    font-weight: bold;
  }
}
.form-event-summary__guide {
  margin-top: 37px;
  background: #F6F8F9;
  border-radius: 10px;
  padding: 20px;
  position: relative;
  .form-event-summary__guide-title {
    font-size: 19px;
    font-weight: bold;
    display: flex;
    align-items: center;
    &:before {
      content: "";
      display: inline-block;
      height: 20px;
      width: 3px;
      margin-right: 10px;
      background: #185463;
    }
  }
  .form-event-summary__guide-address {
    font-size: 14px;
    margin-top: 8px;
  }
  .form-event-summary__guide-tel {
    font-size: 14px;
    margin-top: 8px;
    a {
      color: #212121;
    }
  }
  .form-event-summary__guide-access {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 0;
    font-size: 13px;
    margin-top: 8px;
    p {
      color: #8C8C8C;
      margin-right: 12px;
    }
    .yonezawa-access-parts {
      display: flex;
      flex-wrap: wrap;
      gap: 10px 0;
      .yonezawa-access-label {
        width: 40px;
        height: 20px;
        display: flex;
        color: #8C8C8C;
        margin-right: 12px;
        text-align: center;
        justify-content: center;
        align-items: center;
        border: 1px solid #DEE3E7;
        background-color: #FFFFFF;
        padding: 2px 4px;
        text-align: center;
        border-radius: 4px;
        font-size: 12px;
      }
      .yonezawa-access-detail {
        margin-right: 12px;
        font-size: 14px;
      }
    }
  }
  .gmap_url {
    position: absolute;
    top: 0;
    right: 20px;
    width: 100%;
    max-width: 78px;
    height: 27px;
    img {
      width: 100%;
      height: auto;
    }
  }
}

@media screen and (max-width: 768px) {
  .form-event-mv {
    img {
      margin-top: 0;
      width: 100%;
    }
  }
  .form-event-summary {
    width: calc(100% - 30px);
    padding: 20px 16px;
    margin-top: -50px;
    .form-event-summary__date {
      margin-top: 15px;
    }
    .form-event-summary__title {
      font-size: 20px;
    }
    .form-event-summary__guide {
      margin-top: 20px;
      padding: 15px;
      .form-event-summary__guide-title {
        font-size: 17px;
      }
      .form-event-summary__guide-address {
        font-size: 13px;
      }
      .form-event-summary__guide-tel {
        font-size: 13px;
      }
      .tel_ico {
        display: none;
      }
      .form-event-summary__guide-access {
        display: block;
      }
      .yonezawa-access-parts {
        gap: 5px 0;
        margin-top: 5px;
        .break {
          flex-basis: 100%;
          height: 0;
        }
      }
    }
    .form-event-summary__bnr {
      margin-top: 20px;
      height: 44px;
      line-height: 44px;
    }
  }
  #icj-mainArea .form-event-summary__schedule {
    padding: 6px 11px;
    font-size: 15px;
  }
  .form-event-summary__guide .gmap_url {
    max-width: 74px;
    height: 29px;
    right: 15px;
    top: 15px;
    img {
      margin-top: 0;
    }
  }
}

/* 入力フォーム（セクションごとのカード） */
.yonezawa-form-wrap {
  max-width: 960px;
  padding-top: 20px;
  width: 100%;
  margin: auto;
}

.form-page .yonezawa-closed {
  color: #c00;
  padding: 20px;
}

.form-page #event_form {
  font-size: 27px;
  font-weight: bold;
  padding-top: 0;
  margin-top: 0;
  line-height: 1;
}

.form-page .pca-title {
  padding-bottom: 25px;
}

.form-page .form-content.yonezawa-form {
  margin-bottom: 0;
  padding: 0;
  background: none;
  &::before,
  &::after {
    display: none;
  }
}

.form-page .yonezawa-form {
  font-size: 16px;
  color: #28303a;

  input[type="text"],
  select,
  textarea {
    width: 100%;
    height: 34px;
    padding: 0 10px;
    border: 1px solid #E8E8E8;
    border-radius: 5px;
    background-color: #eee;
    font-size: 16px;
  }
  /* 日付は readonly の input だが、見た目は select と揃える */
  select,
  .yonezawa-datepicker {
    padding-right: 40px;
    background: #eee url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23888' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 14px center;
    cursor: pointer;
  }
  textarea {
    height: 112px;
    padding: 8px 10px;
  }
  input::placeholder,
  textarea::placeholder {
    color: #aaa;
  }
  input:disabled {
    cursor: not-allowed;
  }
  .form-required {
    flex-shrink: 0;
  }
  .form-notes {
    font-size: 13px;
  }
}

.form-page .yonezawa-card {
  padding: 30px 50px 28px 50px;
  border: 1px solid #e3e3e3;
  border-radius: 4px;
  background: #fff;
  & + .yonezawa-card {
    margin-top: 25px;
  }
}

.form-page .yonezawa-card__title {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 16px;
  font-size: 16px;
  font-weight: bold;
  line-height: 1.5;
  color: #212121;
  &::before {
    content: "";
    position: absolute;
    top: 50%;
    left: -15px;
    width: 3px;
    height: 16px;
    background: #D5000E;
    transform: translateY(-50%);
  }
}

.form-page .yonezawa-card__note {
  margin: 36px 0 0 247px;
}

.form-page .yonezawa-row {
  display: grid;
  grid-template-columns: 247px minmax(0, 1fr);
  align-items: start;
  margin-top: 36px;
  .yonezawa-card__title + & {
    margin-top: 0;
  }
}

.form-page .yonezawa-row--no-label .yonezawa-row__field {
  grid-column: 2;
}

.form-page .yonezawa-row__label {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  min-height: 34px;
  font-weight: 500;
  line-height: 1.6;
  .form-required {
    margin-left: 0;
  }
}

.form-page .yonezawa-row__note {
  margin-top: 8px;
}

.form-page .yonezawa-sep {
  flex-shrink: 0;
}

/* 来場日時 */
.form-page .yonezawa-visit-inner {
  display: flex;
  gap: 16px;
  > * {
    flex: 1;
  }
  select {
    &:not(.input-success) {
      color: #999999;
    }
  }
}

/* 来場人数 */
.form-page .yonezawa-people-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 40px;
}
.form-page .yonezawa-people__item {
  display: flex;
  align-items: center;
  gap: 10px;
  .yonezawa-form & input[type="text"] {
    width: 84px;
  }
}

/* お名前 */
.form-page .yonezawa-name {
  display: flex;
  flex-wrap: wrap;
  gap: 0 28px;
  .form-name {
    flex: 1;
    margin: 0;
  }
  .form-name-inner {
    gap: 12px;
  }
  .form-name-input {
    flex: 1;
    width: auto;
    margin: 0;
  }
  .form-name .errormess {
    width: auto;
    margin-left: 0;
  }
  > .errormess {
    flex-basis: 100%;
  }
}

/* 郵便番号・電話番号 */
.form-page .form-zip-inner,
.form-page .form-tel-inner {
  display: flex;
  align-items: center;
  gap: 10px;
}
.form-page .yonezawa-form .form-zip-inner {
  .zip__1 {
    width: 111px;
    margin: 0;
  }
  .zip__2 {
    width: 187px;
    margin: 0;
  }
}
.form-page .yonezawa-form .form-tel-inner input[type="text"] {
  width: 159px;
}
.form-page .yonezawa-form .yonezawa-pref select {
  width: 282px;
  &:not(.input-success) {
    color: #999999;
  }
}

/* アンケート */
.yonezawa-form .custom-radio.input-success {
    border: 0 !important;
    background-color: inherit !important;
}
.form-page .yonezawa-survey-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 28px;
  min-height: 34px;
  .custom-radio {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
  }
  .custom-radio > input[type="radio"] + span {
    padding-left: 24px;
    font-size: 15px;
  }
  .custom-radio > input[type="radio"] + span::before {
    top: 50%;
    width: 16px;
    height: 16px;
    border-color: #bbb;
    transform: translateY(-50%);
  }
  .custom-radio > input[type="radio"]:checked + span::after {
    top: 50%;
    left: 3px;
    transform: translateY(-50%);
  }
}

/* ご要望・ご質問 */
.form-page .yonezawa-comment {
  margin: 0;
  line-height: 1.6;
}

/* 個人情報・同意・送信 */
.form-page .yonezawa-privacy {
  margin-top: 40px;
  padding: 0 48px;
  font-size: 13px;
  p {
    line-height: 1.9;
  }
}
.form-page .yonezawa-privacy__title {
  margin-bottom: 10px;
  font-size: 15px;
  font-weight: bold;
  * + & {
    margin-top: 24px;
  }
}
.form-page #form .yonezawa-privacy__link {
  margin-top: 24px;
  a {
    color: #1a6fd0;
    font-weight: bold;
  }
}
.form-page #form .privacy__advice {
  width: 430px;
  margin: 40px auto 0;
  padding: 14px 20px;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.form-page .yonezawa-submit {
  margin-top: 34px;
  .button {
    min-width: 420px;
    height: 80px;
    font-size: 18px;
    font-weight: bold;
    &::after {
      display: none;
    }
  }
}

@media screen and (max-width: 768px) {
  .form-page #event_form {
    padding-bottom: 16px;
    font-size: 18px;
    text-align: center;
  }
  .form-page .yonezawa-form {
    font-size: 13px;
    input[type="text"],
    select,
    textarea {
      height: 33px;
      font-size: 13px;
    }
    textarea {
      height: 76px;
    }
    .form-notes {
      font-size: 12px;
    }
  }
  .form-page .yonezawa-card {
    padding: 18px 10px 24px;
    & + .yonezawa-card {
      margin-top: 16px;
    }
    &:last-of-type {
      .yonezawa-card__title {
        margin-bottom: 0;
      }
    }
  }
  .form-page .yonezawa-card__title {
    margin-bottom: 20px;
    font-size: 15px;
    &::before {
      left: -9px;
      height: 14px;
    }
  }
  .form-page .yonezawa-card__note {
    margin: 10px 0 0;
  }
  .form-page .yonezawa-row {
    display: block;
    margin-top: 26px;
  }
  .form-page .yonezawa-row__label {
    gap: 4px 8px;
    min-height: 0;
    margin-bottom: 10px;
    padding-right: 0;
    line-height: 1.5;
    font-size: 14px;
    .form-required {
      font-size: 10px;
    }
  }
  .form-page .yonezawa-visit-inner {
    flex-direction: column;
    gap: 8px;
    /* 縦並びで flex: 1 のままだと高さが潰れる */
    > * {
      flex: none;
    }
  }
  .form-page .yonezawa-people-inner {
    gap: 10px 30px;
  }
  .form-page .yonezawa-people__item {
    gap: 8px;
    .yonezawa-form & input[type="text"] {
      width: 60px;
    }
  }
  /* SPは姓・名を縦に積む */
  .form-page .yonezawa-name {
    flex-direction: column;
    gap: 8px;
  }
  .form-page .yonezawa-form .form-zip-inner {
    .zip__1 {
      width: 83px;
    }
    .zip__2 {
      width: 99px;
    }
  }
  .form-page .yonezawa-form .form-tel-inner input[type="text"] {
    width: auto;
    flex: 1;
    min-width: 0;
  }
  .form-page .yonezawa-form .yonezawa-pref select {
    width: 100%;
  }
  .form-page .yonezawa-survey-inner {
    gap: 8px 24px;
    min-height: 0;
    /* 共通CSSのSP指定（2列・幅50%）を打ち消す */
    .custom-radio {
      width: auto;
    }
    .custom-radio > input[type="radio"] + span {
      padding-left: 22px;
      font-size: 13px;
    }
  }
  .form-page .yonezawa-privacy {
    margin-top: 24px;
    padding: 0 9px;
    font-size: 11px;
    p {
      line-height: 1.7;
    }
  }
  .form-page .yonezawa-privacy__title {
    margin-bottom: 6px;
    font-size: 13px;
    * + & {
      margin-top: 20px;
    }
  }
  .form-page #form .yonezawa-privacy__link {
    margin-top: 16px;
    font-size: 13px;
  }
  .form-page #form .privacy__advice {
    width: auto;
    margin: 24px 9px 0;
    padding: 12px 13px;
  }
  .form-page .privacy__advice__inner {
    justify-content: flex-start;
    text-align: left;
    .custom-radio.privacy > input[type="checkbox"] + span {
      padding-right: 0;
      font-size: 12px;
    }
  }
  .form-page .yonezawa-submit {
    margin-top: 28px;
    .button {
      min-width: 0;
      width: calc(100% - 18px);
      height: 48px;
      font-size: 15px;
    }
  }
  label.form-name-label {
    color: #858585;
  }
}

/* スライダー（Swiper） */
.form-event-slider {
  background: #EDE6D8;
}
.form-event-slider__title {
  margin-top: 50px;
  padding-top: 50px;
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  color: #333;
}
.form-event-slider__item {
  max-width: 600px;
  margin-inline: auto;
  p {
    line-height: 170%;
    margin-top: 20px;
    color: #333;
  }
}
.yonezawa-slider {
  width: 100%;
  aspect-ratio: 600 / 522;
  max-width: 600px;
  margin: 32px auto 0;
  border-bottom: 1px solid #D9D6CF;
}
.yonezawa-slider__body {
  position: relative;
}
.yonezawa-slider-item {
  margin: 0;
  img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 600 / 450;
    object-fit: cover;
    border-radius: 6px;
  }
  figcaption {
    margin-top: 14px;
    font-size: 13px;
    color: #595959;
  }
}
.yonezawa-slider__nav {
  position: absolute;
  inset: 0 0 auto;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  aspect-ratio: 600 / 522;
  pointer-events: none;
}
.yonezawa-slider__prev,
.yonezawa-slider__next {
  position: relative;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid #ddd;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  pointer-events: auto;
  &::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4px;
    height: 4px;
    border-top: 1px solid #333;
    border-right: 1px solid #333;
  }
}
.yonezawa-slider__prev {
  transform: translateX(calc(-100% - 18px));
  &::before {
    transform: translate(-30%, -50%) rotate(-135deg);
  }
}
.yonezawa-slider__next {
  transform: translateX(calc(100% + 18px));
  &::before {
    transform: translate(-70%, -50%) rotate(45deg);
  }
}
.yonezawa-slider__pagination.swiper-pagination-bullets {
  display: flex;
  justify-content: center;
  margin-top: 12px;
  .swiper-pagination-bullet {
    width: 6px;
    height: 6px;
    margin: 0;
    background: #bbb;
    opacity: 1;
  }
  .swiper-pagination-bullet-active {
    background: #585858;
  }
}

@media screen and (max-width: 768px) {
  .form-event-slider__title {
    margin-top: 11px;
    font-size: 20px;
    padding-top: 25px;
  }
  .form-event-slider .form-event-slider__bnr {
    margin-top: 40px;
    width: calc(100% - 50px);
    padding-bottom: 48px;
  }
  .yonezawa-slider {
    margin: 0 25px;
    margin-top: 20px;
    width: calc(100% - 50px);
    padding-bottom: 11px;
    .yonezawa-slider__prev {
      margin-left: -10px;
    }
    .yonezawa-slider__next {
      margin-right: -10px;
    }
  }
  #icj-mainArea .form-event-slider__item p {
    font-size: 15px;
    width: calc(100% - 50px);
    margin-inline: auto;
    line-height: 170%;
  }
  /* 矢印を画像の上下中央に置くため、枠を画像と同じ比率にする */
  .yonezawa-slider__nav {
    inset: 0 0 auto;
    aspect-ratio: 600 / 450;
  }
  .yonezawa-slider__prev,
  .yonezawa-slider__next {
    transform: none;
  }
  .yonezawa-slider__body {
    aspect-ratio: 340 / 255;
  }
  .yonezawa-slider-item {
    img {

    }
  }
}

.form-event-slider__bnr {
  width: 100%;
  max-width: 600px;
  margin-inline: auto;
  margin-top: 20px;
  padding-bottom: 54px;
  transition: opacity 300ms;
  &:hover {
    opacity: 0.85;
  }
  img {
    width: 100%;
  }
}

/* 確認画面 */
.form-page #subtitleArea .dashed-title + p {
  margin-left: 0;
}
.form-table-wrapper tr th {
  padding: 18px 0;
}
@media screen and (max-width: 768px) {
  .form-page #subtitleArea .dashed-title + p {
    margin: 0;
    font-size: 16px;
    text-align: left;
    margin: 10px 0 20px;
  }
}