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

/* Hero（神田のレンガ壁ラウンジ。額とソファが入る位置に） */
.po-cws .po-about-hero__media img.po-cws-hero-img {
  object-position: 55% 58%;
}
.po-cws .po-about-hero h1 span {
  max-width: 34em;
  margin-inline: auto;
}
.po-cws-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}
.po-cws .po-about-hero .po-cws-hero-button {
  min-width: 150px;
  border-color: rgba(255, 255, 255, 0.85);
  background: rgba(0, 0, 0, 0.25);
}
.po-cws .po-about-hero .po-cws-hero-button:is(:hover, :focus-visible) {
  background: #171717;
  border-color: #171717;
}

/* 01 / 特徴 */
.po-cws-features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.po-cws-features li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 26px 22px 28px;
}
.po-cws-features li + li {
  border-left: 1px solid var(--line);
}
.po-cws-features__english {
  color: var(--accent);
  font:
    400 12px/1.4 Oswald,
    sans-serif;
  letter-spacing: 0.1em;
}
.po-cws-features strong {
  font-size: 17px;
  line-height: 1.6;
}
.po-cws-features li > span:last-child {
  color: #555;
  font-size: 13px;
  line-height: 1.8;
}
#cws-features .po-about-note {
  margin-top: 18px;
}

/* 02 / 料金 */
.po-cws-plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px 24px;
}
.po-cws-plan {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.po-cws-plan__image {
  display: block;
  overflow: hidden;
}
.po-cws-plan__image img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  transition: transform 0.65s ease;
}
.po-cws-plan__image:is(:hover, :focus-visible) img {
  transform: scale(1.02);
}
.po-cws .po-cws-plan__english {
  margin: 16px 0 4px;
  color: var(--accent);
  font:
    400 12px/1.5 Oswald,
    sans-serif;
  letter-spacing: 0.08em;
}
.po-cws .po-cws-plan h3 {
  font-size: 18px;
  line-height: 1.6;
}
.po-cws .po-cws-plan__price {
  margin: 10px 0 14px;
  font-size: 12px;
  color: #555;
}
.po-cws-plan__price span {
  margin-right: 6px;
  color: var(--ink);
  font:
    400 34px/1.2 Oswald,
    sans-serif;
  letter-spacing: 0.02em;
}
.po-cws-plan__spec {
  margin: 0 0 20px;
  border-top: 1px solid var(--line);
}
.po-cws-plan__spec div {
  display: grid;
  grid-template-columns: 5.5em 1fr;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.7;
}
.po-cws-plan__spec dt {
  color: #777;
}
.po-cws-plan__spec dd {
  margin: 0;
}
.po-cws-plan > .po-about-button {
  width: 100%;
  margin-top: auto;
}
#cws-plans .po-about-note {
  margin-top: 24px;
}
#cws-plans .po-about-note a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 03 / 拠点ごとの空間 */
.po-cws-spaces {
  display: grid;
  gap: 56px;
}
.po-cws-space {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 44px;
  align-items: center;
}
.po-cws-space:nth-child(even) {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
}
.po-cws-space:nth-child(even) .po-cws-space__body {
  order: 2;
}
.po-cws .po-cws-space h3 {
  margin-bottom: 12px;
  font-size: 19px;
  line-height: 1.6;
}
.po-cws .po-cws-space__body > p:not(.po-cws-plan__english) {
  font-size: 14px;
  line-height: 1.9;
}
.po-cws .po-cws-space__body > p + p:not(.po-cws-plan__english) {
  margin-top: 12px;
}
.po-cws-space__link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  color: var(--ink);
  font-size: 13px;
  text-decoration: none;
}
.po-cws-space__photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.po-cws-space__photos figure {
  margin: 0;
}
.po-cws-space__photos img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* 04 / よくあるご質問 */
.po-cws-faq {
  border-top: 1px solid var(--line);
}
.po-cws-faq details {
  border-bottom: 1px solid var(--line);
}
.po-cws-faq summary {
  position: relative;
  display: block;
  padding: 20px 44px 20px 40px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.7;
  cursor: pointer;
  list-style: none;
}
.po-cws-faq summary::-webkit-details-marker {
  display: none;
}
.po-cws-faq summary::before {
  content: "Q";
  position: absolute;
  left: 4px;
  top: 19px;
  color: var(--accent);
  font:
    400 18px/1.4 Oswald,
    sans-serif;
}
.po-cws-faq summary::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.3s ease;
}
.po-cws-faq details[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
}
.po-cws-faq summary:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
.po-cws .po-cws-faq details p {
  padding: 0 44px 22px 40px;
  font-size: 14px;
  line-height: 1.9;
}

@media (max-width: 900px) {
  .po-cws-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .po-cws-features li:nth-child(3) {
    border-left: 0;
  }
  .po-cws-features li:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
  .po-cws-plans {
    grid-template-columns: 1fr;
    max-width: 560px;
  }
}
@media (max-width: 760px) {
  .po-cws .po-about-hero h1 {
    font-size: 36px;
  }
  .po-cws .po-about-hero h1 span {
    margin-top: 8px;
    line-height: 1.7;
  }
  .po-cws-hero-actions {
    margin-top: 10px;
    gap: 8px;
  }
  .po-cws .po-about-hero .po-cws-hero-button {
    min-width: 0;
  }
  .po-cws-features li {
    padding: 20px 14px 22px;
  }
  .po-cws-features strong {
    font-size: 15px;
  }
  .po-cws-space,
  .po-cws-space:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .po-cws-space:nth-child(even) .po-cws-space__body {
    order: 0;
  }
  .po-cws-spaces {
    gap: 44px;
  }
  .po-cws .po-about-hero__label {
    font-size: 15px;
    letter-spacing: 0.06em;
  }
  .po-cws-faq summary {
    padding: 16px 36px 16px 32px;
    font-size: 14px;
  }
  .po-cws-faq summary::before {
    top: 15px;
    left: 2px;
  }
  .po-cws .po-cws-faq details p {
    padding: 0 8px 18px 32px;
    font-size: 13px;
  }
}
