@charset "UTF-8";

/* ======================================
   font
====================================== */
body {
  font-family: "LINE Seed JP", sans-serif;
  color: #333333;
}

.font-plus {
  font-family: "M PLUS Rounded 1c", sans-serif;
}

/* ======================================
   layout
====================================== */
html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
}

html {
  scroll-behavior: smooth;
}

.site-wrap {
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
}

.page-frame {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 70px;
  width: 100%;
  min-height: 100vh;
  padding: 0;
  box-sizing: border-box;
}

.page-side {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
}

.site-wrap.page-side {
  background-color: #F9E547;
  background-image: url("../img/pc_bg.jpg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.page-side-inner {
  width: 100%;
  min-height: auto;
}

.page-center {
  flex: 0 0 375px;
  width: 375px;
  min-width: 375px;
  max-width: 375px;
  align-self: flex-start;
  background: #ffffff;
  position: relative;
  z-index: 2;
  overflow-y: auto;
  scrollbar-width: none;
  height: 100vh;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.08);
}

.page-center::-webkit-scrollbar {
  display: none;
}

.page-center-inner,
.sp-canvas,
.sp-content {
  width: 100%;
}

.section-image img,
.section-mv-image img,
.section-form-tokuten img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: top;
}

.section-mv,
.section-mv-image {
  margin: 0;
  padding: 0;
  line-height: 0;
}

.page-header-logo {
  padding: 12px 16px 8px;
  background: #ffffff;
  text-align: center;
}

.page-header-logo img {
  display: block;
  width: 100%;
  max-width: 320px;
  height: auto;
  margin: 0 auto;
}

/* ======================================
   sections
====================================== */
#cont1,
#asobi,
#workshop,
#yasai,
#yatai,
#form,
#access {
  padding-bottom: 3rem;
}

#mv,
#chusen {
  padding-bottom: 0;
  overflow: visible;
}

.section-image {
  line-height: 0;
  overflow: visible;
}

.section-cont1 {
  background: #65D0FF;
}

.section-asobi {
  background: #FFF9AD;
}

.section-workshop {
  background: #87EA92;
}

.section-yasai {
  background: #F0D09C;
}

.section-yatai {
  background: #FFB4CE;
}

.section-chusen {
  overflow: visible;
}

.section-form {
  background: #ffffff;
  padding-top: 3rem;
}

.section-form-tokuten {
  line-height: 0;
}

.section-form-body {
  padding: 24px 20px 0;
}

.section-form-note {
  font-size: 14px;
  line-height: 1.8;
  text-align: center;
  color: #666666;
}

.section-access {
  background: #F9E547;
  padding: 28px 16px 0;
}

.section-access-head {
  max-width: 320px;
  margin: 0 auto 20px;
  line-height: 0;
}

.section-access-head img {
  display: block;
  width: 100%;
  height: auto;
}

.section-access-map {
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 320px;
  margin: 0 auto 20px;
  border: 1px solid #707070;
  overflow: hidden;
  background: #f3f3f3;
}

.section-access-map iframe {
  display: block;
  width: 100%;
  height: 100%;
}

.section-access-list {
  max-width: 320px;
  margin: 0 auto;
}

.section-access-row {
  display: flex;
  align-items: stretch;
  margin-bottom: 8px;
}

.section-access-row:last-child {
  margin-bottom: 0;
}

.section-access-label {
  flex: 0 0 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #333333;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  padding: 10px 4px;
}

.section-access-value {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  padding: 10px 8px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  color: #333333;
}

.section-access-notes {
  max-width: 320px;
  margin: 24px auto 0;
  padding: 24px 16px;
  background: #ffffff;
  border-radius: 20px;
  text-align: center;
}

.section-access-notes-title {
  font-size: 16px;
  font-weight: 900;
  margin-bottom: 16px;
  color: #333333;
}

.section-access-notes-list {
  list-style: none;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.9;
  color: #333333;
}

.section-access-notes-list li + li {
  margin-top: 4px;
}

.section-access-footer {
  max-width: 320px;
  margin: 20px auto 0;
  padding-top: 16px;
  border-top: 1px solid #333333;
  text-align: center;
}

.section-access-footer p {
  font-size: 11px;
  font-weight: 700;
  color: #333333;
}

/* ======================================
   floating button
====================================== */
.yoyaku-floating {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: min(calc(100% - 32px), 298px);
  pointer-events: none;
}

.yoyaku-floating-link {
  display: block;
  pointer-events: auto;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.yoyaku-floating-link img {
  display: block;
  width: 85%;
  height: auto;
  margin: 0 auto;
}

.yoyaku-floating.is-hidden {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

/* ======================================
   PC sidebars
====================================== */
.page-side-left,
.page-side-right {
  flex: 0 0 375px;
  width: 375px;
  max-width: 375px;
  flex-shrink: 0;
  align-self: center;
  overflow: visible;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 20px;
  box-sizing: border-box;
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.08);
}

.page-side-left {
  padding: 37px 16px 0;
  align-self: center;
  display: flex;
  flex-direction: column;
  height: auto;
  min-height: 0;
}

.page-side-right {
  padding: 36px 16px;
}

.page-side-left .page-side-inner,
.page-side-left .side-card,
.page-side-left .side-card-inner {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.side-left-nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px 4px;
  margin-top: 4px;
}

.side-left-nav-item {
  display: block;
}

.side-left-nav-item-yatai {
  grid-column: 1 / -1;
  justify-self: center;
  width: calc((100% - 4px) / 2);
}

.side-left-nav-item img,
.side-left-title img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.side-card,
.side-card-inner {
  width: 100%;
}

.side-card-inner {
  text-align: center;
}

.side-left-day {
  margin-top: 16px;
  margin-bottom: 0;
  line-height: 0;
}

.side-left-day img {
  display: block;
  width: 76%;
  max-width: 230px;
  height: auto;
  margin: 0 auto;
  vertical-align: bottom;
}

.side-right-logo {
  margin-bottom: 20px;
}

.side-right-logo img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.side-right-info {
  font-size: 13px;
  line-height: 1.8;
  font-weight: 700;
  text-align: center;
}

.side-right-info a {
  color: #333333;
  word-break: break-all;
}

.side-right-form-link {
  margin-top: 20px;
}

.side-right-form-link-btn {
  display: block;
}

.side-right-form-link-btn img {
  display: block;
  width: 80%;
  height: auto;
  margin: 0 auto;
}

/* ======================================
   Contact Form 7
====================================== */
.section-form-body .wpcf7 {
  max-width: 100%;
}

.section-form-body .wpcf7-form p {
  margin-bottom: 20px;
}

.section-form-body .wpcf7-form label {
  display: block;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #333333;
}

.section-form-body .wpcf7-form > p > label:has(.wpcf7-form-control-wrap) {
  margin-bottom: 0;
}

.section-form-body .wpcf7-form > p > label:has(.wpcf7-form-control-wrap) .wpcf7-form-control-wrap {
  display: block;
  margin-top: 12px;
}

.section-form-body .wpcf7-form > p > label br {
  display: none;
}

.section-form-body .required {
  color: #E53935;
  margin-left: 2px;
}

.section-form-body .wpcf7-form-control:not(.wpcf7-submit):not(.wpcf7-radio):not(.form-count-input):not(.wpcf7-acceptance) {
  width: 100%;
  padding: 14px 16px;
  border: 0;
  border-radius: 10px;
  font-size: 15px;
  background: #EFEFEF;
  color: #333333;
}

.section-form-body .wpcf7-form-control:not(.wpcf7-submit):not(.wpcf7-radio):not(.form-count-input):not(.wpcf7-acceptance)::placeholder {
  color: #AAAAAA;
}

.section-form-body .form-row-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  font-size: 15px;
  font-weight: 700;
}

.section-form-body .form-count-group {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  font-weight: 700;
}

.section-form-body .form-count-group .wpcf7-form-control-wrap {
  display: inline-block;
  width: auto;
  flex-shrink: 0;
}

.section-form-body .form-count-input,
.section-form-body .form-count-group input[type="number"] {
  width: 36px;
  min-width: 36px;
  max-width: 36px;
  padding: 8px 2px;
  text-align: center;
  border: 0;
  border-radius: 8px;
  background: #EFEFEF;
  font-size: 15px;
  font-weight: 700;
  -moz-appearance: textfield;
}

.section-form-body .form-count-input::-webkit-outer-spin-button,
.section-form-body .form-count-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.section-form-body .wpcf7-radio {
  display: flex;
  gap: 24px;
  margin-top: 4px;
}

.section-form-body .wpcf7-list-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-size: 15px;
  font-weight: 700;
}

.section-form-body .wpcf7-list-item input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: #333333;
}

.section-form-body .form-privacy-text {
  padding: 16px;
  background: #EFEFEF;
  border-radius: 10px;
  font-size: 12px;
  line-height: 1.8;
  font-weight: 400;
  height: 180px;
  max-height: 180px;
  overflow-y: scroll;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 16px;
  color: #333333;
  text-align: left;
  box-sizing: border-box;
}

.section-form-body .form-privacy-text::-webkit-scrollbar {
  width: 6px;
}

.section-form-body .form-privacy-text::-webkit-scrollbar-thumb {
  background: #cccccc;
  border-radius: 3px;
}

.section-form-body .form-privacy-text p,
.section-form-body .form-privacy-text ul {
  margin: 0 0 12px;
}

.section-form-body .form-privacy-text ul {
  padding-left: 1.4em;
  list-style: disc;
}

.section-form-body .form-privacy-text li {
  margin-bottom: 4px;
}

.section-form-body .form-privacy-text p:last-child,
.section-form-body .form-privacy-text ul:last-child {
  margin-bottom: 0;
}

.section-form-body .form-privacy-text-title {
  font-weight: 700;
  margin-bottom: 12px;
}

.section-form-body .form-acceptance-row {
  margin-top: 16px;
  text-align: center;
}

.section-form-body .form-acceptance-row > p {
  display: flex;
  justify-content: center;
  margin: 0;
  text-align: center;
}

.section-form-body .form-acceptance-row .wpcf7-form-control-wrap {
  display: inline-block;
  width: auto;
}

.section-form-body .wpcf7-acceptance {
  display: inline-block;
  margin: 0;
  text-align: center;
}

.section-form-body .wpcf7-acceptance label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 0;
  background: transparent;
}

.section-form-body .wpcf7-acceptance input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  padding: 0;
  background: #ffffff;
  border: 1px solid #cccccc;
  border-radius: 3px;
  flex-shrink: 0;
}

.section-form-body p.form-submit-row {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 32px 0 0;
  padding: 0;
  position: relative;
}

.section-form-body p.form-submit-row .wpcf7-submit,
.section-form-body p.form-submit-row input[type="submit"].form-submit-btn {
  display: block;
  width: 72%;
  max-width: 280px;
  flex: 0 0 auto;
  margin: 0;
  padding: 18px 48px;
  border: 0;
  border-radius: 50px;
  background-color: #3182F0;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  text-align: center;
  cursor: pointer;
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
  box-shadow: 0 6px 16px rgba(49, 130, 240, 0.35);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='12' viewBox='0 0 8 12' fill='none'%3E%3Cpath d='M1 1L6 6L1 11' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 28px center;
}

/* CF7がボタン直後に挿入するスピナーで中央がズレるのを防ぐ */
.section-form-body p.form-submit-row .wpcf7-spinner {
  position: absolute;
  width: 0;
  height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  visibility: hidden;
}

.section-form-body p.form-submit-row .wpcf7-submit:hover,
.section-form-body p.form-submit-row input[type="submit"].form-submit-btn:hover {
  opacity: 0.9;
}

.section-form-body .wpcf7-not-valid-tip {
  font-size: 12px;
  color: #E53935;
  margin-top: 4px;
}

.section-form-body .wpcf7-response-output {
  margin: 16px 0 0;
  padding: 12px;
  border-radius: 8px;
  font-size: 14px;
}

/* ======================================
   mobile
====================================== */
@media screen and (max-width: 500px) {
  .page-frame {
    display: block;
  }

  .page-side-left,
  .page-side-right {
    display: none;
  }

  .page-center {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    height: 100dvh;
    overflow-y: auto;
    box-shadow: none;
  }

  .page-center-inner,
  .sp-canvas,
  .sp-content {
    min-height: auto;
  }

  .yoyaku-floating {
    width: min(calc(100% - 24px), 298px);
  }
}

@media screen and (min-width: 1200px) {
  .sp_only {
    display: none;
  }
}

@media screen and (max-width: 1199px) {
  .pc_only {
    display: none;
  }
}

/* WordPress admin bar */
body.admin-bar .page-frame {
  min-height: calc(100vh - 32px);
}

body.admin-bar .page-center {
  height: calc(100vh - 32px);
}

body.admin-bar .page-side-right {
  max-height: none;
}

@media screen and (max-width: 782px) {
  body.admin-bar .page-frame {
    min-height: calc(100vh - 46px);
  }

  body.admin-bar .page-center {
    height: calc(100vh - 46px);
  }

  body.admin-bar .page-side-right {
    max-height: none;
  }
}
