

@media (min-width: 991px) {
  body.sub { padding-top: var(--pc-header-height); }
  .sub .site-header { background: #fff; border-bottom: 1px solid #eee; }
  
  .sub .mo-quick { display: none; }
}

.subtop {
  position: relative;
  display: flex; flex-direction: column; justify-content: center;
  width: 100%; height: 30rem;
  text-align: center;
  overflow: hidden;
}
.subtop-img {
  position: absolute; inset: 0;
  background: url(../img/sub_visual.jpg) center / cover no-repeat;
  animation: subTopScale 1.5s 0.5s both;
}
.subtop-wrap { position: relative; display: flex; flex-direction: column; gap: 1rem; z-index: 1; }
.subtop-crumb { display: flex; justify-content: center; gap: 10px; opacity: .5; font-size: var(--fs-16); }
.subtop h1 {
  color: #333;
  font-size: 3.5rem;
  font-weight: var(--fw-head);
  letter-spacing: 30px;
  animation: subSpacing 1.5s forwards;
  animation-delay: 0.4s;
}
.subtop p { font-size: var(--fs-20); color: #666; }

@keyframes subSpacing  { from { letter-spacing: 30px; } to { letter-spacing: 5px; } }
@keyframes subTopScale { 0% { transform: scale(1.1); } 100% { transform: scale(1); } }

.subnav-wrap { margin: 3rem 0; }
.tab { display: flex; flex-wrap: wrap; justify-content: center; width: 100%; }
.tab a, .tab button {
  display: flex; align-items: center; justify-content: center;
  width: 50%; max-width: 200px;
  padding: 10px 12px;
  border: 1px solid #dbdbdb;
  background: #fff;
  transition: 0.2s;
}
.tab a:hover, .tab button:hover { background: #f5f5f5; font-weight: var(--fw-head); }
.tab a.is-active { background: var(--color-main1); border-color: var(--color-main1); color: #fff; pointer-events: none; }

.subnav--depth3 { margin: 3rem 0; }
.subnav--depth3 .tab { padding-top: 3rem; width: var(--maxw); max-width: 100%; border-top: 1px solid #eee; margin: 0 auto; }
.subnav--depth3 .tab a, .subnav--depth3 .tab button { border: 0; background: transparent; }
.subnav--depth3 .tab a.is-active,
.subnav--depth3 .tab button.is-current { background: rgba(0, 0, 0, .03); color: var(--color-main1); font-weight: var(--fw-head); }

.contents-wrap {
  width: 100%; max-width: 1000px;
  margin: 0 auto;
  padding: 0 var(--sp-16) 10rem;
  display: flex; flex-direction: column; gap: var(--sp-24);
}
.contents-wrap img { width: 100%; height: auto; }

.contents-wrap h3 { font-size: 2rem; }

.contents-band { font-size: var(--fs-24); font-weight: var(--fw-head); padding: 3%; text-align: center; color: #3a3a3a; background: #ebebeb; }

.contents-closing { background: #f5f5f5; text-align: center; font-size: var(--fs-24); padding: var(--sp-10); border-radius: 10px; font-weight: var(--fw-emph); letter-spacing: 1px; }
.contents-note { font-size: var(--fs-14); color: var(--color-gray-3); line-height: 1.6; }

.info-table { width: 100%; border-collapse: collapse; border-top: 1px solid #dbdbdb; }
.info-table th, .info-table td { border-bottom: 1px solid #dbdbdb; padding: 18px 24px; font-size: var(--fs-16); text-align: left; vertical-align: top; }
.info-table th { width: 240px; background: #f5f5f5; font-weight: var(--fw-head); text-align: center; }

.news-board { width: 100%; }
.news-board li { position: relative; border-bottom: 1px solid #dbdbdb; padding: 18px; cursor: pointer; }
.news-board li:first-child { border-top: 1px solid #dbdbdb; }
.news-board li::after {
  content: '';
  position: absolute; right: 30px; top: 30px;
  width: 8px; height: 8px;
  border-right: 1px solid #333; border-top: 1px solid #333;
  transform: translateY(-50%) rotate(135deg);
  transition: .3s;
}
.news-board li.on::after { transform: translateY(-50%) rotate(315deg); }
.news-board .news-title { font-size: 1.2rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.news-board li.on .news-title { font-weight: var(--fw-head); }
.news-board .acd-body { display: inline-block; width: 100%; height: 0; overflow: hidden; transition: .3s; }
.news-board li.on .acd-body { height: fit-content; padding: 22px 0 0; }
.news-board .acd-body span { display: block; white-space: normal; line-height: 1.5; color: #555; }

.slot-box {
  display: flex; align-items: center; justify-content: center;
  min-height: 160px;
  border: 1px dashed #bbb;
  color: #888;
  font-size: var(--fs-16);
  text-align: center;
  padding: var(--sp-16);
}

.doc-fig { margin: 0; }
.doc-fig img { width: 100%; height: auto; }
.doc-fig figcaption {
  margin-top: var(--sp-10);
  font-size: var(--fs-14); color: var(--color-gray-3); text-align: center;
}

.doc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-24); }
.doc-stack { display: flex; flex-direction: column; gap: var(--sp-24); }

.contents-wrap .doc-subhead {
  margin-top: var(--sp-16);
  font-size: var(--fs-24); font-weight: var(--fw-head); color: var(--color-main1); text-align: center;
  line-height: 1.45; word-break: keep-all;
}

.award-row { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-16); }
.award-row .doc-fig { flex: 0 0 auto; width: 170px; }   

@media (max-width: 990px) {
  .doc-grid { grid-template-columns: 1fr; gap: var(--sp-16); }
  .doc-stack { gap: var(--sp-16); }
  .award-row .doc-fig { width: 44%; }

}

.sub-copy {
  max-width: 42em; margin: 0 auto;
  font-size: var(--fs-19); line-height: 1.9; color: var(--color-text);
  text-align: center; word-break: keep-all;
}
.sub-copy b { font-weight: var(--fw-head); color: var(--color-main1); display: block; margin-bottom: var(--sp-12); font-size: var(--fs-24); line-height: 1.6; }
.sub-copy small { display: block; margin-top: var(--sp-16); font-size: var(--fs-14); color: var(--color-gray-3); line-height: 1.7; }

.yt-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.yt-frame iframe, .yt-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-frame + .doc-subhead { margin-top: var(--sp-32); }

.vr-frame { position: relative; width: 100%; aspect-ratio: 1320 / 800; background: #000; }
.vr-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vr-frame iframe[hidden] { display: none; }   

.vr-tabs button, .u-tabs button { max-width: 160px; }
.vr-cta { display: flex; justify-content: center; gap: var(--sp-16); }
.vr-cta a {
  display: flex; align-items: center; justify-content: center;
  min-width: 220px; height: 56px;
  background: var(--color-main1); color: var(--color-text-invert);
  font-size: var(--fs-17); font-weight: var(--fw-emph);
}
.vr-cta a.is-line { background: #fff; color: var(--color-main1); border: 1px solid var(--color-main1); }

.visit-box { background: #f5f5f5; padding: var(--sp-40) var(--sp-24); display: flex; flex-direction: column; gap: var(--sp-16); align-items: center; }
.visit-box .slot-box { width: 100%; max-width: 560px; background: #fff; }
.visit-box .v-tel { font-size: var(--fs-24); font-weight: var(--fw-head); color: var(--color-main1); }

.visit-form { width: 100%; max-width: 560px; background: #fff; padding: var(--sp-32) var(--sp-24); display: flex; flex-direction: column; gap: var(--sp-16); }
.visit-form .vf-row { display: flex; flex-direction: column; gap: var(--sp-8); }
.visit-form label { font-size: var(--fs-16); font-weight: var(--fw-btn); }
.visit-form label.required::after { content: " *"; color: var(--color-main1); }

.visit-form input:not([type="checkbox"]):not([type="radio"]), .visit-form textarea, .visit-form select {
  width: 100%; font-family: var(--font-body); font-size: var(--fs-16);
  color: var(--color-text); background: #fff;
  border: 1px solid #d5d5d5; border-radius: 2px; padding: var(--sp-12); outline: none;
}
.visit-form input:focus, .visit-form textarea:focus, .visit-form select:focus { border-color: var(--color-main1); }

.visit-form input[type="date"], .visit-form input[type="time"], .visit-form select {
  -webkit-appearance: none; appearance: none;
  min-width: 0; max-width: 100%; box-sizing: border-box;
  display: block; text-align: left;
  
  height: 44px; line-height: 20px;
}
.visit-form input::placeholder, .visit-form textarea::placeholder { color: #aaa; font-weight: var(--fw-light); }
.visit-form textarea { resize: vertical; }

.visit-form .agree-row { display: flex; align-items: center; gap: var(--sp-8); flex-wrap: wrap; }
.visit-form .agree-row .vf-agree { margin: 0; }
.visit-form .agree-view {
  background: none; border: 0; padding: 2px 0;
  color: var(--color-main1); font-size: var(--fs-14);
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
.visit-form .agree-body {
  margin-top: var(--sp-8);
  background: #f7f8fa; border: 1px solid #e2e5ea; border-radius: 4px;
  padding: var(--sp-16); line-height: 1.7; font-size: var(--fs-14); color: var(--color-gray-3);
}
.visit-form .agree-body dl { margin: 0; display: grid; grid-template-columns: 92px 1fr; gap: 5px var(--sp-12); }
.visit-form .agree-body dt { font-weight: var(--fw-head); color: var(--color-text); }
.visit-form .agree-body dd { margin: 0; }
.visit-form .agree-body p { margin: var(--sp-12) 0 0; color: var(--color-gray-3); }

.visit-form .vf-agree input[type="checkbox"] { flex: 0 0 auto; width: 18px; height: 18px; margin: 0; accent-color: var(--color-main1); }
.visit-form .vf-agree { display: flex; align-items: center; gap: 8px; font-size: var(--fs-14); font-weight: var(--fw-regular); }
.visit-form button.btn-img {
  background: none; border: 0; padding: 0; width: 100%; height: auto;
  display: block; filter: drop-shadow(0 4px 12px rgba(var(--shadow-rgb), .25));
}
.visit-form button.btn-img img { display: block; width: 100%; height: auto; }
.visit-form button.btn-img:disabled { opacity: .5; }
.visit-form button[type="submit"]:not(.btn-img) {
  height: 64px; background: var(--color-main1); color: var(--color-text-invert);
  font-size: var(--fs-19); font-weight: var(--fw-emph); border-radius: var(--radius-btn);
  display: flex; align-items: center; justify-content: center;
}
.visit-form button[type="submit"]:disabled { opacity: .5; cursor: default; }

.form-status { font-size: var(--fs-14); line-height: 1.6; text-align: center; }
.form-status:empty { display: none; }
.form-status.is-ok { color: var(--color-main1); font-weight: var(--fw-head); }
.form-status.is-warn { color: #c0392b; font-weight: var(--fw-btn); }

.unit-plan-img { max-width: 760px; margin: 0 auto; }
.unit-type-meta { text-align: center; font-size: var(--fs-17); color: var(--color-gray-3); }

.comm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-12); }
.comm-grid figure { position: relative; margin: 0; }
.comm-grid figcaption { position: absolute; left: 0; bottom: 0; background: var(--color-overlay-60); color: #fff; font-size: var(--fs-14); padding: var(--sp-4) var(--sp-12); }

@media (max-width: 990px) {
  .subtop { height: 18rem; }

  
  .contents-wrap .doc-subhead { font-size: var(--fs-19); line-height: 1.5; }
  .sub-copy { font-size: var(--fs-16); line-height: 1.75; }
  .sub-copy b { font-size: var(--fs-19); line-height: 1.45; margin-bottom: var(--sp-8); }
  
  .sub-copy, .contents-wrap .doc-subhead { overflow-wrap: anywhere; }
  .subtop h1 { font-size: 2rem; letter-spacing: 12px; animation: none; }
  .subtop-crumb, .subtop p { font-size: var(--fs-14); }
  .info-table th { width: 96px; padding: 12px; }
  .info-table td { padding: 12px; }
  .contents-wrap { padding-bottom: 5rem; }
  .comm-grid { grid-template-columns: 1fr 1fr; }
  .subnav--depth3 { margin: 1.5rem 0; }
  .vr-frame { aspect-ratio: 39 / 66; } 
  .vr-cta { flex-direction: column; align-items: stretch; }
  .vr-cta a { min-width: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .subtop h1 { letter-spacing: 5px !important; animation: none !important; }
  .subtop-img { animation: none !important; }
}
