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

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

/* 02 / 写真を左、本文を右に */
.po-hps-reverse {
  align-items: start;
}

/* 03 / ハンプトンとは・歴史 */
.po-hps-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px 32px;
}
.po-hps-two__media {
  aspect-ratio: 3/2;
  overflow: hidden;
  background: #e9e7e2;
}
.po-hps-two__media iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.po-hps-two__media img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
}
.po-hps .po-hps-two__english {
  margin: 16px 0 6px;
  color: var(--accent);
  font:
    400 12px/1.5 Oswald,
    sans-serif;
  letter-spacing: 0.08em;
}
.po-hps .po-hps-two h3 {
  margin-bottom: 10px;
  font-size: 18px;
}
.po-hps .po-hps-two article > p:not(.po-hps-two__english) {
  font-size: 13px;
  line-height: 1.9;
}
.po-hps .po-hps-two article > p + p:not(.po-hps-two__english) {
  margin-top: 12px;
}
.po-hps-street {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.po-hps-street iframe {
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  border: 0;
  background: #ddd;
}

/* 04 / 3つのポイント */
.po-hps-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px 24px;
}
.po-hps-points article {
  display: flex;
  flex-direction: column;
}
.po-hps-points img {
  aspect-ratio: 3/2;
  object-fit: cover;
}
.po-hps .po-hps-points__number {
  margin: 14px 0 4px;
  color: var(--accent);
  font:
    400 13px/1.4 Oswald,
    sans-serif;
  letter-spacing: 0.1em;
}
.po-hps .po-hps-points h3 {
  margin-bottom: 8px;
  font-size: 17px;
  line-height: 1.6;
}
.po-hps .po-hps-points article > p:not(.po-hps-points__number) {
  font-size: 13px;
  line-height: 1.85;
}

/* 05 / 五反田・麹町 */
.po-hps-locations {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px 32px;
}
.po-hps-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}
.po-hps-card__image {
  display: block;
  width: 100%;
  overflow: hidden;
}
.po-hps-card__image img {
  aspect-ratio: 3/2;
  object-fit: cover;
  transition: transform 0.65s ease;
}
.po-hps-card__image:is(:hover, :focus-visible) img {
  transform: scale(1.02);
}
.po-hps .po-hps-card h3 {
  margin-bottom: 10px;
  font-size: 18px;
}
.po-hps .po-hps-card > p:not(.po-hps-two__english) {
  font-size: 13px;
  line-height: 1.9;
  margin-bottom: 18px;
}
.po-hps-card .po-about-button {
  margin-top: auto;
}

/* 06 / ほかのスタイル：ボタンの幅をそろえ、下の総合ボタンは控えめに */
#hps-styles .po-style-grid--three .po-style-card > .po-about-button {
  width: 100%;
  margin-top: auto;
}
#hps-styles .po-about-gallery-action {
  margin-top: 40px;
}
#hps-styles .po-about-gallery-action .po-about-button {
  min-width: 280px;
  background: #fff;
  color: #171717;
}
#hps-styles .po-about-gallery-action .po-about-button:is(:hover, :focus-visible) {
  background: #171717;
  border-color: #171717;
  color: #fff;
}

@media (max-width: 900px) {
  .po-hps-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .po-hps .po-about-hero h1 {
    font-size: 36px;
  }
  .po-hps .po-about-hero h1 span {
    margin-top: 8px;
    line-height: 1.7;
  }
  .po-hps-hero-actions {
    margin-top: 10px;
    gap: 8px;
  }
  .po-hps .po-about-hero .po-hps-hero-button {
    min-width: 0;
  }
  .po-hps-two,
  .po-hps-street,
  .po-hps-points,
  .po-hps-locations {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .po-hps-street {
    margin-top: 30px;
    padding-top: 24px;
  }
  .po-hps-street iframe {
    aspect-ratio: 1/1;
  }
  .po-hps-card .po-about-button {
    width: 100%;
  }
  #hps-styles .po-about-gallery-action {
    margin-top: 30px;
  }
  #hps-styles .po-about-gallery-action .po-about-button {
    width: 100%;
    min-width: 0;
  }
}
