/* BROOKLYN STYLE — ABOUTの共通デザイン（po-about.css）に追加するページ固有の部品のみ。 */

/* Hero */
.po-bks .po-about-hero__media img.po-bks-hero-img {
  object-position: 50% 45%;
}
.po-bks .po-about-hero h1 span {
  max-width: 34em;
  margin-inline: auto;
}
.po-bks-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}
.po-bks .po-about-hero .po-bks-hero-button {
  min-width: 150px;
  border-color: rgba(255, 255, 255, 0.85);
  background: rgba(0, 0, 0, 0.25);
}
.po-bks .po-about-hero .po-bks-hero-button:is(:hover, :focus-visible) {
  background: #171717;
  border-color: #171717;
}

/* 02 / Street View */
.po-bks-maps {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 20px;
}
.po-bks-maps iframe {
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  border: 0;
  background: #ddd;
}
.po-bks-maps__map iframe {
  aspect-ratio: auto;
  height: calc(100% - 34px);
  min-height: 260px;
}
.po-bks-maps__map {
  display: flex;
  flex-direction: column;
}
.po-bks .po-bks-note {
  margin-top: 18px;
  padding: 14px 18px;
  border-left: 3px solid var(--accent);
  background: #fff;
  font-size: 13px;
}

/* 03 / 街と歴史 */
.po-bks-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px 32px;
}
.po-bks-two img,
.po-bks-card__image img,
.po-bks-room img,
.po-bks-summary img {
  aspect-ratio: 3/2;
  object-fit: cover;
}
.po-bks .po-bks-two__english {
  margin: 16px 0 6px;
  color: var(--accent);
  font:
    400 12px/1.5 Oswald,
    sans-serif;
  letter-spacing: 0.08em;
}
.po-bks .po-bks-two h3 {
  margin-bottom: 10px;
  font-size: 18px;
}
.po-bks .po-bks-two article > p:not(.po-bks-two__english) {
  font-size: 13px;
  line-height: 1.9;
}
.po-bks .po-bks-two article > p + p:not(.po-bks-two__english) {
  margin-top: 12px;
}

/* 04 / 2つのスタイルの比較 */
.po-bks-compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.po-bks-compare article {
  padding: 26px 28px 28px;
  background: #fff;
  border-top: 3px solid #171717;
}
.po-bks-compare article + article {
  border-top-color: var(--accent);
}
.po-bks .po-bks-compare__label {
  color: var(--accent);
  font:
    400 13px/1.4 Oswald,
    sans-serif;
  letter-spacing: 0.1em;
}
.po-bks .po-bks-compare h3 {
  margin: 6px 0 16px;
  font-size: 20px;
}
.po-bks-compare dl {
  margin: 0;
}
.po-bks-compare dt {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
}
.po-bks-compare dt::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin: 0 8px 2px 0;
  background: var(--gold);
}
.po-bks-compare dd {
  margin: 4px 0 16px 14px;
  font-size: 13px;
  line-height: 1.85;
  color: #333;
}
.po-bks-compare dd:last-child {
  margin-bottom: 0;
}
.po-bks-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 40px;
  align-items: start;
  margin-top: 44px;
  padding-top: 34px;
  border-top: 1px solid #d8d8d4;
}
.po-bks .po-bks-summary h3 {
  margin-bottom: 12px;
  font-size: 19px;
  line-height: 1.6;
}
.po-bks-summary .po-about-button {
  margin-top: 18px;
}

/* 帯写真（パララックス）：枠より縦に大きい写真を、スクロールに合わせてゆっくり動かす */
.po-bks-band {
  position: relative;
  margin: 0;
  height: clamp(240px, 36vw, 520px);
  overflow: hidden;
  background: #171717;
}
.po-bks-band img {
  position: absolute;
  left: 0;
  top: -15%;
  width: 100% !important;
  height: 130% !important;
  max-width: none;
  object-fit: cover;
  object-position: 50% 50%;
  transform: translate3d(0, var(--po-parallax, 0px), 0);
  will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
  .po-bks-band img {
    transform: none;
    will-change: auto;
  }
}

/* 05 / 浜松町・神田 */
.po-bks-locations {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px 32px;
}
.po-bks-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}
.po-bks-card__image {
  display: block;
  width: 100%;
  overflow: hidden;
}
.po-bks-card__image img {
  transition: transform 0.65s ease;
}
.po-bks-card__image:is(:hover, :focus-visible) img {
  transform: scale(1.02);
}
.po-bks .po-bks-card h3 {
  margin-bottom: 10px;
  font-size: 18px;
}
.po-bks .po-bks-card > p:not(.po-bks-two__english) {
  font-size: 13px;
  line-height: 1.9;
  margin-bottom: 18px;
}
.po-bks-card .po-about-button {
  margin-top: auto;
}
.po-bks-room {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  margin-top: 44px;
  padding: 28px;
  background: #f5f4f1;
}
.po-bks .po-bks-room h3 {
  margin-bottom: 10px;
  font-size: 18px;
  line-height: 1.6;
}
.po-bks-room .po-about-button {
  margin-top: 18px;
}

@media (max-width: 900px) {
  .po-bks-maps {
    grid-template-columns: 1fr;
  }
  .po-bks-maps__map iframe {
    height: 280px;
  }
}
@media (max-width: 760px) {
  .po-bks .po-about-hero h1 {
    font-size: 34px;
  }
  .po-bks .po-about-hero h1 span {
    margin-top: 8px;
    line-height: 1.7;
  }
  .po-bks-hero-actions {
    margin-top: 10px;
    gap: 8px;
  }
  .po-bks .po-about-hero .po-bks-hero-button {
    min-width: 0;
  }
  .po-bks-maps iframe {
    aspect-ratio: 1/1;
  }
  .po-bks-two,
  .po-bks-compare,
  .po-bks-locations {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .po-bks-compare article {
    padding: 20px 18px 22px;
  }
  .po-bks .po-bks-compare h3 {
    font-size: 18px;
  }
  .po-bks-summary,
  .po-bks-room {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 34px;
  }
  .po-bks-room {
    padding: 18px;
  }
  .po-bks-card .po-about-button,
  .po-bks-room .po-about-button,
  .po-bks-summary .po-about-button {
    width: 100%;
  }
}

/* 06 / ほかのスタイル：カードのボタンを同じ幅でそろえ、下の総合ボタンは控えめにして間隔をとる */
#bks-styles .po-style-grid--three .po-style-card > .po-about-button {
  width: 100%;
  margin-top: auto;
}
#bks-styles .po-about-gallery-action {
  margin-top: 40px;
}
#bks-styles .po-about-gallery-action .po-about-button {
  min-width: 280px;
  background: #fff;
  color: #171717;
}
#bks-styles .po-about-gallery-action .po-about-button:is(:hover, :focus-visible) {
  background: #171717;
  border-color: #171717;
  color: #fff;
}
@media (max-width: 760px) {
  #bks-styles .po-about-gallery-action {
    margin-top: 30px;
  }
  #bks-styles .po-about-gallery-action .po-about-button {
    width: 100%;
    min-width: 0;
  }
}
