/* ぴゅあ総合 施設案内 */

.page-psg-guide {
  --psg-pink: #f0789f;
  --psg-pink-dark: #b85578;
  --psg-brown: #3c2a21;
  --psg-brown-muted: #5d4e45;
  --psg-line: #e8e0dc;
  --font-display: "shippori-mincho", sans-serif;
}

.page-pure-fuji.page-psg-guide {
  --psg-pink: #009fe8;
  --psg-pink-dark: #0077b5;
}

.page-pure-kyonan.page-psg-guide {
  --psg-pink: #00a63e;
  --psg-pink-dark: #008a32;
}

.page-psg-guide .btn-contact--header {
  background: var(--psg-pink-dark);
}

.page-psg-guide .global-nav__list > li > a.is-current,
.page-psg-guide .global-nav__facilities-link.is-current {
  box-shadow: inset 0 -3px 0 var(--psg-pink);
}

/* ----- ページヒーロー（施設案内・上：ピンク＋ロゴ／下：パターン＋見出し） ----- */
.psg-page-hero {
  margin-bottom: 0;
}

.psg-page-hero__brand {
  background: var(--psg-pink);
  padding: 14px 0 16px;
}

.psg-page-hero__brand-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.psg-page-hero__wordmark {
  display: block;
  width: 148px;
  height: 63px;
  object-fit: contain;
}

.psg-page-hero__tag-badge {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 110px;
  height: 33px;
  padding: 0 4px;
  background: #fff;
  color: #111;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
}

.psg-page-hero__panel {
  position: relative;
  padding: 40px 0 44px;
  text-align: center;
  border-bottom: 1px solid #e8e8e8;
}

.psg-page-hero__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/common/bg_pattern1.jpg") center / 420px repeat;
  pointer-events: none;
}

.psg-page-hero__panel .container {
  position: relative;
  z-index: 1;
}

.psg-page-hero__title {
  margin: 0;
  font-family: "zen-maru-gothic", sans-serif;
  font-size: clamp(22px, 3.6vw, 34px);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #111;
}

@media (max-width: 767px) {
  .psg-page-hero__brand {
    display: none;
  }
}

@media (min-width: 768px) {
  .psg-page-hero__brand {
    padding: 18px 0 20px;
  }

  .psg-page-hero__panel {
    padding: 48px 0 52px;
  }
}

/* ----- レイアウト（pure-sogo.css の sidebar を流用） ----- */
.page-psg-guide .pure-sogo-sidebar__list a.is-current {
  color: var(--psg-pink-dark);
  font-weight: 700;
}

/* ----- セクション見出しは about.css の .about-section__heading + .about-section__rule（4色帯）を使用 ----- */
.psg-section {
  scroll-margin-top: 96px;
  margin-bottom: 40px;
}

.psg-floor-lead {
  margin: 0 0 20px;
  font-size: 16px;
  line-height: 1.75;
  color: #444;
}

/* 単一フロア案内など：建物名ラベル（総合フロアタブと整合するダークピル） */
.psg-floor-site-label {
  margin: 0 auto 20px;
  display: table;
  max-width: 100%;
  padding: 8px 22px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.04em;
  color: #fff;
  background: var(--psg-brown);
  border-radius: 999px;
  text-align: center;
}

@media (min-width: 768px) {
  .psg-floor-site-label {
    margin-bottom: 24px;
    padding: 10px 28px;
    font-size: 18px;
  }
}

/* ----- 施設の概要 ----- */
.psg-overview__grid {
  display: grid;
  gap: 24px;
}

@media (min-width: 768px) {
  .psg-overview__grid {
    grid-template-columns: minmax(280px, 42%) 1fr;
    align-items: start;
    gap: 32px;
  }
}

.psg-overview__photo {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--psg-line);
}

.psg-overview__photo img {
  width: 100%;
  height: auto;
  display: block;
}

.psg-overview__lead {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.9;
  text-align: justify;
  color: #333;
}

.psg-overview__list {
  margin: 0;
  padding: 0 0 0 1.35em;
  font-size: 16px;
  line-height: 1.85;
  color: #333;
  list-style: disc;
}

.psg-overview__list li {
  margin-bottom: 6px;
}

.psg-overview__list li:last-child {
  margin-bottom: 0;
}

.psg-overview__name {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 700;
  color: var(--psg-brown);
}

.psg-spec {
  margin: 0;
  display: grid;
  gap: 0;
  font-size: 16px;
  border: 1px solid var(--psg-line);
  border-radius: 6px;
  overflow: hidden;
}

.psg-spec div {
  display: grid;
  grid-template-columns: 120px 1fr;
  border-bottom: 1px solid var(--psg-line);
}

.psg-spec div:last-child {
  border-bottom: 0;
}

.psg-spec dt {
  margin: 0;
  padding: 10px 12px;
  background: #f5f2f0;
  font-weight: 600;
  color: var(--psg-brown-muted);
}

.psg-spec dd {
  margin: 0;
  padding: 10px 12px;
  background: #fff;
}

/* ----- 開館・休館（施設トップと同じ pure-sogo-hours。セクション見出しのみ h3・25px） ----- */
.psg-hours-section__title {
  margin: 0 0 20px;
  padding: 0;
  font-family: "zen-maru-gothic", sans-serif;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.35;
  text-align: left;
  color: #111;
}

.page-psg-guide .pure-sogo-section--hours > .pure-sogo-hours {
  padding: 0;
  background: none;
  background-color: transparent;
  background-image: none;
}

@media (min-width: 768px) {
  .page-psg-guide .pure-sogo-section--hours .pure-sogo-hours {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ----- 開館・休館（2カラムカード：ぴゅあ以外の施設案内） ----- */
.psg-hours-box {
  padding: 20px 18px;
  background: #fafafa;
  border: 1px solid var(--psg-line);
  border-radius: 10px;
}

.psg-hours-row {
  display: grid;
  gap: 16px;
}

@media (min-width: 640px) {
  .psg-hours-row {
    grid-template-columns: 1fr 1fr;
  }
}

.psg-hours-block h3 {
  margin: 0 0 8px;
  display: inline-block;
  padding: 4px 12px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: var(--psg-brown);
  border-radius: 4px;
}

.psg-hours-block p {
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
}

.psg-hours-block small {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  color: #666;
}

/* ----- アクセス（見出しは about-section：中央＋4色帯。本文は左揃え） ----- */
.psg-access {
  max-width: 100%;
}

.psg-access__body {
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
  font-weight: 500;
  color: #333;
  text-align: left;
}

.psg-access__body p {
  margin: 0 0 6px;
}

.psg-access__body p:last-of-type {
  margin-bottom: 0;
}

.psg-access__route {
  margin-top: 0;
}

/* 住所・TEL/FAX のあとに路線案内を区切る */
.psg-access__body > p:nth-child(3) {
  margin-top: 18px;
}

.psg-map-wrap {
  margin: 22px 0 0;
  height: 220px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--psg-line);
}

.psg-map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.psg-access__carpool {
  margin: 18px 0 0;
  padding: 0;
  font-size: 16px;
  line-height: 1.75;
  font-weight: 500;
  color: #333;
  text-align: left;
}

.psg-access__parking {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

/* ぴゅあ総合・施設案内：駐車場リンク（420×60・中央配置・アイコン 25×23 右） */
.psg-access__parking .psg-parking-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  box-sizing: border-box;
  width: 420px;
  max-width: 100%;
  height: 60px;
  min-height: 60px;
  padding: 0 12px 0 14px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  color: #222;
  text-decoration: none;
  border: 1px solid #c8c8c8;
  border-radius: 4px;
  background: #fff;
  transition: border-color 0.15s, background 0.15s;
}

.psg-access__parking .psg-parking-btn:hover {
  border-color: #999;
  background: #fafafa;
  color: #111;
  text-decoration: none;
}

.psg-access__parking .psg-parking-btn__label {
  flex: 1;
  min-width: 0;
  text-align: left;
  font-size: 16px;
}

.psg-access__parking .psg-parking-btn__icon {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 25px;
  height: 23px;
  margin-left: 8px;
}

.psg-access__parking .psg-parking-btn__icon img {
  display: block;
  width: 25px;
  height: 23px;
  object-fit: contain;
}

.psg-parking-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-sizing: border-box;
  padding: 12px 18px;
  font-size: 16px;
  font-weight: 500;
  color: #222;
  text-decoration: none;
  border: 1px solid #c8c8c8;
  border-radius: 4px;
  background: #fff;
  transition: border-color 0.15s, background 0.15s;
}

.psg-parking-btn:hover {
  border-color: #999;
  background: #fafafa;
  color: #111;
  text-decoration: none;
}

.psg-parking-btn__pdf {
  flex-shrink: 0;
  margin-left: 12px;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  color: #fff;
  background: #e60044;
  border: 0;
  border-radius: 4px;
}

/* ----- フロアタブ ----- */
.psg-floor {
  margin-top: 8px;
}

.psg-floor-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 10px;
  width: 100%;
  margin-bottom: 22px;
}

.psg-floor-tabs [role="tab"] {
  box-sizing: border-box;
  flex: 1 1 0;
  max-width: 260px;
  min-width: 0;
  padding: 10px 12px;
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  line-height: 1.25;
  color: #111;
  background: #fff;
  border: 1px solid #111;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

@media (min-width: 768px) {
  .psg-floor-tabs [role="tab"] {
    font-size: 20px;
  }
}

.psg-floor-tabs [role="tab"]:hover:not([aria-selected="true"]) {
  background: #f5f5f5;
}

.psg-floor-tabs [role="tab"][aria-selected="true"] {
  color: #fff;
  background: var(--psg-brown);
  border-color: var(--psg-brown);
}

.psg-floor-tabs [role="tab"]:focus-visible {
  outline: 2px solid var(--psg-pink);
  outline-offset: 2px;
}

.psg-floor-map-wrap {
  margin: 28px 0 40px;
}

.psg-floor-map-hint {
  display: none;
}

.psg-floor-map-scrolltrack {
  display: none;
}

@media (max-width: 767px) {
  .psg-floor-map-hint {
    display: block;
    margin: 10px 0 8px;
    padding: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    color: #222;
    text-align: left;
    letter-spacing: 0.02em;
  }

  .psg-floor-map-scrolltrack {
    display: block;
    box-sizing: border-box;
    height: 8px;
    margin: 0 0 4px;
    padding: 1px;
    border: 1px solid #c8c4c0;
    border-radius: 999px;
    background: #fff;
  }

  .psg-floor-map-scrolltrack__thumb {
    display: block;
    width: 28%;
    height: 100%;
    min-height: 4px;
    border-radius: inherit;
    background: #4a4a4a;
  }
}

.psg-floor-map {
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  border-radius: 0;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  text-align: center;
}

.psg-floor-map img {
  display: inline-block;
  width: auto;
  max-width: 100%;
  height: auto;
  vertical-align: top;
}

@media (min-width: 768px) {
  .psg-floor-map {
    width: 600px;
    max-width: 100%;
    margin-inline: auto;
  }

  .psg-floor-map img {
    display: block;
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
  }
}

@media (max-width: 767px) {
  .psg-floor-map {
    text-align: left;
  }

  .psg-floor-map img {
    max-width: none;
    width: auto;
    height: auto;
    max-height: 420px;
    margin-inline: 0;
  }
}

/* ----- 部屋カード ----- */
.psg-room-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 28px;
}

@media (min-width: 640px) {
  .psg-room-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.psg-room-card__title {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 700;
  color: var(--psg-brown);
  line-height: 1.45;
}

.page-psg-guide .psg-room-card__title {
  margin: 0;
  padding: 14px 16px;
  border: 1px solid var(--psg-line);
  border-bottom: none;
  background: none;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  color: #222;
}

@media (min-width: 768px) {
  .page-psg-guide .psg-room-card__title {
    font-size: 25px;
  }
}

.psg-room-card__media {
  margin: 0 0 12px;
  border-radius: 0;
  overflow: hidden;
  border: 1px solid var(--psg-line);
}

.psg-room-card__media img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}

.psg-room-card__desc {
  margin: 0 0 12px;
  font-size: 16px;
  line-height: 1.75;
  color: #444;
}

:is(.page-pure-sogo, .page-pure-fuji, .page-pure-kyonan, .page-futaba-hall).page-psg-guide .psg-room-card__equipment {
  margin-top: 14px;
  overflow: hidden;
  border: 1px solid var(--psg-line);
  border-radius: 4px;
}

:is(.page-pure-sogo, .page-pure-fuji, .page-pure-kyonan, .page-futaba-hall).page-psg-guide .psg-room-card__equipment-head {
  margin: 0;
  padding: 10px 12px;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.04em;
  color: #fff;
  background: var(--psg-brown);
}

:is(.page-pure-sogo, .page-pure-fuji, .page-pure-kyonan, .page-futaba-hall).page-psg-guide .psg-room-card__equipment-body {
  margin: 0;
  padding: 12px 14px;
  font-size: 15px;
  line-height: 1.65;
  font-weight: 500;
  color: #333;
  background: #ebe8e5;
}

.psg-room-card__meta {
  margin: 0;
  padding: 10px 12px;
  font-size: 12px;
  line-height: 1.65;
  color: #fff;
  background: var(--psg-brown);
  border-radius: 4px;
}

.psg-room-card__meta-label {
  display: block;
  font-weight: 700;
  margin-bottom: 4px;
  font-size: 11px;
  letter-spacing: 0.06em;
  opacity: 0.9;
}

.psg-floor-panel[hidden] {
  display: none !important;
}
