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

/* Hero: 時計の写真を右寄りに見せる */
.po-abw .po-about-hero__media img.po-abw-hero-img {
  object-position: 72% 50%;
}
.po-abw .po-about-hero h1 span {
  max-width: 34em;
  margin-inline: auto;
}
.po-abw .po-about-hero .po-abw-hero-button {
  margin-top: 22px;
  min-width: 210px;
  border-color: rgba(255, 255, 255, 0.85);
  background: rgba(0, 0, 0, 0.25);
}
.po-abw .po-about-hero .po-abw-hero-button:is(:hover, :focus-visible) {
  background: #171717;
  border-color: #171717;
}
@media (max-width: 760px) {
  .po-abw .po-about-hero .po-abw-hero-button {
    margin-top: 14px;
    min-width: 0;
  }
}

/* 02 / タッチダウン・サテライトの2枚カード */
.po-abw-use-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px 32px;
}
.po-abw-use-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}
.po-abw-use-card__image {
  display: block;
  width: 100%;
  overflow: hidden;
}
.po-abw-use-card__image img {
  aspect-ratio: 3/2;
  object-fit: cover;
  transition: transform 0.65s ease;
}
.po-abw-use-card__image:is(:hover, :focus-visible) img {
  transform: scale(1.02);
}
.po-abw .po-abw-use-card__english {
  margin: 16px 0 6px;
  color: var(--accent);
  font:
    400 12px/1.5 Oswald,
    sans-serif;
  letter-spacing: 0.08em;
}
.po-abw .po-abw-use-card h3 {
  margin-bottom: 10px;
  font-size: 18px;
  line-height: 1.6;
}
.po-abw .po-abw-use-card > p:not([class]) {
  font-size: 13px;
  line-height: 1.9;
}
.po-abw-use-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 18px;
}
.po-abw-use-card .po-about-note {
  margin-top: 10px;
}

/* 02 / TURN KEY WORKPLACE */
.po-abw-turnkey {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid #c9c9c2;
}
.po-abw .po-abw-turnkey__copy h3 {
  margin-bottom: 12px;
  font-size: 18px;
  line-height: 1.6;
}
.po-abw .po-abw-turnkey__copy p:not(.po-about-kicker) {
  font-size: 13px;
  line-height: 1.9;
}
.po-abw-turnkey__copy .po-about-button {
  margin-top: 18px;
}
.po-abw-turnkey img {
  aspect-ratio: 3/2;
  object-fit: cover;
}

/* 03 / 用語解説（開閉しても本文は検索エンジンに読まれる details 要素） */
.po-abw-accordion {
  border-top: 1px solid var(--line);
}
.po-abw-accordion details {
  border-bottom: 1px solid var(--line);
}
.po-abw-accordion summary {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 16px;
  padding: 18px 4px;
  cursor: pointer;
  list-style: none;
}
.po-abw-accordion summary::-webkit-details-marker {
  display: none;
}
.po-abw-accordion summary::after {
  content: "";
  justify-self: end;
  width: 9px;
  height: 9px;
  border-right: 1px solid #171717;
  border-bottom: 1px solid #171717;
  transform: translateY(-3px) rotate(45deg);
  transition: transform 0.3s;
}
.po-abw-accordion details[open] summary::after {
  transform: translateY(2px) rotate(-135deg);
}
.po-abw-accordion__en {
  color: var(--accent);
  font:
    400 13px/1 Oswald,
    sans-serif;
  letter-spacing: 0.08em;
}
.po-abw .po-abw-accordion summary h3 {
  font-size: 17px;
  line-height: 1.6;
}
.po-abw-accordion summary:is(:hover, :focus-visible) h3 {
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 5px;
}
.po-abw-accordion__body {
  max-width: 860px;
  padding: 0 4px 26px calc(110px + 20px);
}
.po-abw-compare-wrap {
  margin-top: 36px;
  overflow-x: auto;
}
.po-abw-compare {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 13px;
  line-height: 1.8;
}
.po-abw-compare caption {
  margin-bottom: 12px;
  text-align: left;
  font-size: 15px;
  font-weight: 600;
}
.po-abw-compare :is(th, td) {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.po-abw-compare thead th {
  border-bottom: 1px solid #171717;
  font-weight: 600;
}
.po-abw-compare tbody th {
  width: 22%;
  color: #555;
  font-weight: 400;
}
.po-abw-compare a {
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 4px;
}
.po-abw-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* 04 / 拠点カード：ABOUTの po-style-grid を使い、アクセス文だけ追加 */
.po-abw .po-style-card__meta {
  margin-top: 10px;
}
.po-abw .po-abw-access {
  margin-top: 6px;
  color: #555;
  font-size: 12px;
  line-height: 1.8;
}
.po-abw-map {
  display: grid;
  grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
  gap: 44px;
  align-items: center;
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}
.po-abw .po-abw-map h3 {
  margin-bottom: 10px;
}
.po-abw-map__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

/* 05 / ワイド写真と写真の帯 */
.po-abw-wide {
  margin-bottom: 20px;
}
.po-abw-wide img {
  aspect-ratio: 21/9;
  object-fit: cover;
  object-position: 50% 45%;
}
.po-abw-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 48px) / 4);
  gap: 16px;
  margin: 0 0 44px;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
.po-abw-strip li {
  scroll-snap-align: start;
}
.po-abw-strip img {
  aspect-ratio: 8/5;
  object-fit: cover;
}

/* 仲介事業者様へ */
.po-abw-broker {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 44px;
  border-top: 1px solid var(--line);
}
.po-abw-broker .po-about-button {
  margin-top: 20px;
}

@media (max-width: 900px) {
  .po-abw-turnkey {
    grid-template-columns: 1fr 1fr;
  }
  .po-abw-turnkey__copy {
    grid-column: 1 / -1;
  }
}
@media (max-width: 760px) {
  .po-abw-use-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .po-abw .po-abw-use-card h3 {
    font-size: 16px;
  }
  .po-abw-use-card__actions {
    width: 100%;
    flex-direction: column;
  }
  .po-abw-use-card__actions .po-about-button,
  .po-abw-map__actions .po-about-button {
    width: 100%;
  }
  .po-abw-turnkey {
    gap: 18px 14px;
    margin-top: 34px;
    padding-top: 26px;
  }
  .po-abw-accordion summary {
    grid-template-columns: minmax(0, 1fr) 20px;
    gap: 10px;
    padding: 16px 2px;
  }
  .po-abw-accordion__en {
    grid-column: 1 / -1;
    font-size: 11px;
  }
  .po-abw .po-abw-accordion summary h3 {
    font-size: 15px;
  }
  .po-abw-accordion__body {
    padding: 0 2px 22px;
  }
  .po-abw .po-abw-access {
    font-size: 11px;
  }
  .po-abw-map {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 36px;
  }
  .po-abw-map figure {
    max-width: 300px;
    margin-inline: auto;
  }
  .po-abw-wide img {
    aspect-ratio: 3/2;
  }
  .po-abw-strip {
    grid-auto-columns: 72%;
    gap: 10px;
    margin-bottom: 34px;
  }
  .po-abw-broker {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .po-abw-use-card__image img,
  .po-abw-accordion summary::after {
    transition: none;
  }
}
