/* Site extras — clients grid, product cards, pages */
.clients-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-top: 1.75rem;
  list-style: none;
  padding: 0;
}

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

@media (min-width: 600px) {
  .clients-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 900px) {
  .clients-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
  }
}

.clients-grid li {
  background: #fff;
  border: 1px solid var(--eg-line);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 88px;
  padding: 0.75rem;
}

.clients-grid img {
  max-width: 100%;
  max-height: 56px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(0.15);
}

.product-cards {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.75rem;
}

@media (min-width: 720px) {
  .product-cards {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1000px) {
  .product-cards {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.product-card {
  background: #fff;
  border: 1px solid var(--eg-line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, transform 0.2s var(--ease);
}

.product-card:hover {
  border-color: var(--eg-green-bright);
  transform: translateY(-2px);
}

.product-card__img {
  display: block;
  line-height: 0;
  background: linear-gradient(180deg, #eef2ef 0%, #f4f6f4 100%);
  overflow: hidden;
}

.product-card__img img {
  width: 100%;
  height: auto;
  max-height: clamp(160px, 28vw, 240px);
  object-fit: contain;
  object-position: top center;
  margin: 0 auto;
  display: block;
}

.product-card__body {
  padding: 1rem 1.1rem 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.works-showcase .product-card__img {
  height: clamp(118px, 19vw, 168px);
  padding: 0.35rem 0.5rem 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background: #f0f2f0;
}

.works-showcase .product-card__img img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: top center;
}

.works-showcase .product-card__body {
  padding: 0.55rem 1rem 1rem;
  gap: 0;
}

.product-card__tag {
  font-size: 0.75rem;
  color: var(--eg-orange);
  margin: 0 0 0.35rem;
}

.product-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
}

/* 作品展示：細標題＋大標題緊貼一組，全卡一致 */
.works-showcase .product-card__meta {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  margin: 0 0 0.4rem;
}

.works-showcase .product-card__meta .product-card__tag {
  display: block;
  margin: 0;
  padding: 0;
  line-height: 1.2;
  font-size: 0.72rem;
  font-weight: 500;
}

.works-showcase .product-card__meta h3 {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.2;
  color: var(--eg-ink);
}

.product-card p {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--eg-muted);
  flex: 1;
  line-height: 1.55;
}

.works-showcase .product-card__summary {
  margin: 0 0 0.75rem;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--eg-muted);
}

.product-feature__visual img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  display: block;
}

.page-hero {
  padding: 1.75rem 1rem 0.75rem;
  max-width: var(--max);
  margin: 0 auto;
}

@media (min-width: 600px) {
  .page-hero {
    padding: 2.25rem 1.25rem 1rem;
  }
}

@media (min-width: 900px) {
  .page-hero {
    padding: 2.5rem 1.25rem 1rem;
  }
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0 0 0.5rem;
}

.page-hero h1::after {
  content: "";
  display: block;
  width: 3rem;
  height: 3px;
  margin-top: 0.55rem;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--eg-green), var(--eg-orange));
}

.page-hero p {
  color: var(--eg-muted);
  margin: 0;
  max-width: 36rem;
}

.site-nav a.is-active {
  color: var(--eg-green);
  font-weight: 600;
}

.layout-a .hero__media {
  background:
    linear-gradient(105deg, rgba(246, 248, 245, 0.97) 38%, rgba(246, 248, 245, 0.55) 58%, transparent 75%),
    url("../img/hero/banner.jpg") center / cover no-repeat;
}

/* Prefer local banner; keep soft fallback if missing */
@supports not (background: url("../img/hero/banner.jpg")) {
  .layout-a .hero__media {
    background: linear-gradient(135deg, #e8f4ec, #fff4e8);
  }
}

.about-block {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem 1.25rem 3rem;
}

.about-block h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 2rem 0 0.75rem;
}

.about-block p {
  color: var(--eg-muted);
  max-width: 42rem;
}

.layout-g .plan-orbit--page {
  padding-top: 0;
}

.layout-g .plan-orbit--site-plans .plan-tile--detail {
  display: flex;
  flex-direction: column;
}

.layout-g .plan-orbit--site-plans .plan-tile--detail .btn {
  margin-top: auto;
}

.layout-g .plan-tile__label {
  font-weight: 600;
  color: var(--g-text, var(--eg-ink));
}

.layout-g .plan-tile__price {
  margin: 0 0 0.35rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--eg-green-deep, #0f3d24);
}

.layout-g .plan-tile__price--compact {
  margin: 0 0 0.85rem;
  font-weight: 500;
  font-size: 0.8rem;
}

.layout-g .plan-tile__price-note {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  color: var(--eg-muted);
  line-height: 1.45;
}

.layout-g .plan-tile__excludes {
  margin-bottom: 0.85rem;
}

.plan-tile__excludes-details {
  margin: 0 0 0.85rem;
}

.plan-tile__excludes-more {
  display: inline-block;
  margin: 0 0 0.5rem;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--eg-green);
  cursor: pointer;
  list-style: none;
}

.plan-tile__excludes-more::-webkit-details-marker {
  display: none;
}

.plan-tile__excludes-more::after {
  content: " ›";
  font-weight: 400;
}

.plan-tile__excludes-details[open] .plan-tile__excludes-more::after {
  content: "";
}

.plan-tile__excludes-details[open] .plan-tile__excludes-more {
  margin-bottom: 0.35rem;
}

.plan-page-note {
  max-width: 72rem;
  margin: 1.5rem auto 0;
  padding: 0 1.25rem 2rem;
  font-size: 0.8rem;
  color: var(--eg-muted);
  line-height: 1.55;
  text-align: center;
}

.plan-orbit--web-plans .plan-page-note {
  padding-bottom: 0;
}

.plan-orbit--web-plans-compare,
.plan-orbit--plans-compare {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

.web-plans-compare-shell {
  margin: 0 auto 1.5rem;
  padding: 0 1rem;
  max-width: 72rem;
}

.web-plans-compare-hint {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  color: var(--eg-muted);
  text-align: right;
}

@media (min-width: 900px) {
  .web-plans-compare-hint {
    display: none;
  }
}

.web-plans-compare-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--eg-line);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 12px 40px rgba(20, 32, 25, 0.06);
  mask-image: linear-gradient(90deg, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent 100%);
}

@media (min-width: 900px) {
  .web-plans-compare-wrap {
    mask-image: none;
    -webkit-mask-image: none;
  }
}

.web-plans-compare {
  width: 100%;
  min-width: 54rem;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.8125rem;
  line-height: 1.55;
  background: transparent;
}

.web-plans-compare__col-label {
  width: 7.25rem;
}

.web-plans-compare th,
.web-plans-compare td {
  padding: 0.5rem 0.7rem;
  border-bottom: 1px solid rgba(20, 32, 25, 0.08);
  vertical-align: top;
  text-align: left;
}

.web-plans-compare tbody tr:last-child th,
.web-plans-compare tbody tr:last-child td {
  border-bottom: 0;
}

.web-plans-compare tbody tr:last-child.web-plans-compare__section-row td {
  border-bottom: 1px solid rgba(20, 32, 25, 0.08);
}

.web-plans-compare__corner {
  position: sticky;
  left: 0;
  z-index: 4;
  min-width: 7.25rem;
  background: var(--eg-paper);
  font-weight: 500;
  color: var(--eg-muted);
  font-size: 0.75rem;
  vertical-align: bottom;
  box-shadow: 4px 0 12px rgba(20, 32, 25, 0.04);
}

.web-plans-compare__corner-text {
  display: block;
  padding-bottom: 0.15rem;
}

.web-plans-compare__row-label {
  position: sticky;
  left: 0;
  z-index: 2;
  min-width: 7.25rem;
  background: #fafcfa;
  font-weight: 500;
  color: var(--eg-ink);
  font-size: 0.78rem;
  line-height: 1.45;
  box-shadow: 4px 0 10px rgba(20, 32, 25, 0.03);
}

.web-plans-compare__data-row--alt .web-plans-compare__row-label {
  background: #f4f7f4;
}

.web-plans-compare__data-row--alt .web-plans-compare__cell {
  background: rgba(246, 248, 245, 0.65);
}

.web-plans-compare thead th {
  position: sticky;
  top: 0;
  z-index: 3;
  background: #fff;
  vertical-align: bottom;
  padding-top: 0.55rem;
  padding-bottom: 0.5rem;
}

.web-plans-compare__plan {
  min-width: 11.5rem;
  max-width: 15rem;
  border-top: 3px solid var(--eg-green);
}

.web-plans-compare__plan--orange {
  border-top-color: var(--eg-orange);
}

.web-plans-compare__plan--green {
  border-top-color: var(--eg-green);
}

.web-plans-compare__tag {
  display: inline-block;
  margin-bottom: 0.2rem;
  padding: 0.08rem 0.4rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--eg-green-deep);
  background: var(--eg-green-soft, #e9f8e9);
}

.web-plans-compare__plan--orange .web-plans-compare__tag {
  color: #9a4a00;
  background: var(--eg-orange-soft, #fff0e0);
}

.web-plans-compare__plan-name {
  display: block;
  margin-bottom: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.28;
  color: var(--eg-ink);
}

@media (min-width: 900px) {
  .web-plans-compare__plan-name {
    font-size: 1.15rem;
  }
}

.web-plans-compare__cta {
  width: 100%;
}

.web-plans-compare__section-row td.web-plans-compare__section {
  position: relative;
  left: auto;
  z-index: 1;
  padding: 0.28rem 0.7rem;
  line-height: 1.2;
  border-bottom: 1px solid rgba(20, 32, 25, 0.1);
  border-top: 1px solid rgba(20, 32, 25, 0.05);
  background: rgba(31, 158, 50, 0.07);
  text-align: center;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--eg-green-deep);
  letter-spacing: 0.03em;
  box-shadow: none;
}

.web-plans-compare__inquiry-row th,
.web-plans-compare__inquiry-row td {
  padding: 0.55rem 0.7rem;
  vertical-align: middle;
  background: #fff;
  border-top: 1px solid rgba(20, 32, 25, 0.1);
  border-bottom: 0;
}

.web-plans-compare__inquiry-label {
  position: sticky;
  left: 0;
  z-index: 2;
  min-width: 7.25rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--eg-muted);
  background: var(--eg-paper);
  box-shadow: 4px 0 10px rgba(20, 32, 25, 0.03);
}

.web-plans-compare__inquiry-cell {
  text-align: center;
}

.web-plans-compare__row--note .web-plans-compare__row-label {
  color: var(--eg-muted);
  font-weight: 500;
}

.web-plans-compare__row--note .web-plans-compare__cell {
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--eg-muted);
}

.web-plans-compare__cell {
  color: var(--eg-ink);
}

.web-plans-compare__cell--muted {
  text-align: center;
  vertical-align: middle;
}

.compare-cell__dash {
  display: inline-block;
  width: 1.25rem;
  height: 2px;
  border-radius: 1px;
  background: rgba(20, 32, 25, 0.18);
  vertical-align: middle;
}

.compare-cell__yes {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.compare-cell__yes-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: var(--eg-green-soft, #e9f8e9);
  color: var(--eg-green);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
}

.compare-cell__yes-mark::before {
  content: "✓";
}

.compare-cell__yes--split {
  flex-wrap: wrap;
  text-align: left;
}

.compare-cell__yes-note {
  font-size: 0.75rem;
  color: var(--eg-muted);
  line-height: 1.45;
}

.compare-cell__chip {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  font-size: 0.75rem;
  color: var(--eg-green-deep);
  background: rgba(31, 158, 50, 0.08);
  border: 1px solid rgba(31, 158, 50, 0.12);
}

.web-plans-compare__col--focus {
  background: rgba(255, 140, 0, 0.07) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 140, 0, 0.28);
}

.web-plans-compare thead .web-plans-compare__col--focus {
  background: linear-gradient(180deg, #fff4e8 0%, #fff 55%) !important;
}

.web-plans-compare tfoot .web-plans-compare__col--focus {
  background: rgba(255, 140, 0, 0.07) !important;
}

@media (min-width: 900px) {
  .web-plans-compare-shell {
    padding: 0 1.25rem;
  }

  .web-plans-compare {
    min-width: 0;
  }

  .web-plans-compare__col-plan {
    width: 23%;
  }

  .web-plans-compare th,
  .web-plans-compare td {
    padding: 0.55rem 0.85rem;
  }
}

.plan-orbit--hosting.plan-orbit--page .plan-page-note {
  padding-bottom: 0.35rem;
}

.about-block.plan-hosting-image p {
  font-size: 1.05rem;
  line-height: 1.6;
}

.layout-g .hosting-page-foot {
  --hosting-foot-line: 1.6rem;
  background: var(--g-bg, var(--eg-paper, #f6f8f5));
  padding-top: calc(3 * var(--hosting-foot-line));
  padding-bottom: calc(3 * var(--hosting-foot-line));
}

.layout-g .hosting-page-foot > .about-block.plan-hosting-image {
  padding-top: 0;
}

.about-block.plan-renewal {
  padding-top: 0;
}

.about-block.plan-renewal h2 {
  font-size: clamp(1.55rem, 2.8vw, 2rem);
  margin-top: -0.85rem;
}

.about-block.plan-renewal p {
  font-size: 1.05rem;
  line-height: 1.6;
}

.about-block.plan-hosting-image.plan-renewal h2 {
  font-size: clamp(1.55rem, 2.8vw, 2rem);
  margin-top: 0;
}

.plan-renewal h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 1.5rem 0 0.5rem;
  color: var(--eg-ink);
}

.plan-renewal .plan-page-note {
  text-align: left;
  padding: 0.75rem 0 0;
  max-width: 42rem;
}

.layout-g .plan-orbit__more {
  max-width: var(--max);
  margin: 1.25rem auto 0;
  padding: 0 1.25rem;
  text-align: center;
}

.clients-page {
  padding-top: 0;
  padding-bottom: 3rem;
}

.clients-grid {
  list-style: none;
  margin: 0 auto;
  padding: 0 1.25rem 2rem;
  max-width: var(--max);
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 1.25rem 1.5rem;
}

.clients-grid__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 8px;
}

.clients-grid__item img {
  width: 100%;
  max-height: 64px;
  object-fit: contain;
}

.clients-grid__name {
  font-size: 0.75rem;
  color: var(--eg-muted);
  text-align: center;
  line-height: 1.3;
}

.clients-marquee-title a {
  color: var(--eg-green);
  font-weight: 500;
}

.works-showcase {
  padding-top: 0;
  padding-bottom: 3.5rem;
  border-top: 1px solid var(--eg-line);
}

.works-showcase > .section__title {
  margin-top: 1em;
  margin-bottom: 0.35rem;
}

.works-block {
  margin-top: 2.5rem;
}

.works-block:first-of-type {
  margin-top: 1.25rem;
}

.works-block__title {
  font-family: var(--font-body);
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--eg-ink);
}

.works-block__intro {
  margin: 0 0 1rem;
  color: var(--eg-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.works-group {
  margin-top: 1.35rem;
}

.works-group__title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
  color: var(--eg-green);
}

.works-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr));
}

.works-tile {
  min-width: 0;
}

.works-tile__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid var(--eg-line);
  transition: border-color 0.2s, transform 0.2s var(--ease);
}

.works-tile__link:hover {
  border-color: var(--eg-green-bright);
  transform: translateY(-2px);
}

.works-tile__link--static {
  cursor: default;
}

.works-tile__link--static:hover {
  transform: none;
  border-color: var(--eg-line);
}

.works-tile__img {
  display: block;
  line-height: 0;
  padding: 0.35rem;
  background: #f0f2f0;
  border-bottom: 1px solid var(--eg-line);
}

.works-tile__img img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.works-tile__title {
  display: block;
  padding: 0.55rem 0.65rem 0.7rem;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
}

.works-block__apps {
  margin-top: 0.75rem;
}

.video-design-visual {
  --video-visual-line: 1.6rem;
  padding-top: 0;
  padding-bottom: 3.5rem;
  margin-top: calc(-2 * var(--video-visual-line));
}

.video-design-visual__frame {
  margin: 1.5rem auto 0;
  max-width: 72rem;
  padding: 0 1.25rem;
  border: 0;
  background: transparent;
}

.video-design-visual__frame img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--eg-line);
  background: #fff;
  box-shadow: 0 4px 18px rgba(20, 32, 25, 0.04);
}

.design-samples {
  padding-top: 0;
  padding-bottom: 3.5rem;
  margin-top: -3rem;
}

.design-samples__grid {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  gap: clamp(1rem, 2.5vw, 1.5rem);
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .design-samples__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.design-samples__item {
  margin: 0;
  min-width: 0;
}

.design-samples__card {
  margin: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--eg-line);
  background: #fff;
  box-shadow: 0 4px 18px rgba(20, 32, 25, 0.04);
}

.design-samples__media {
  overflow: hidden;
  background: var(--eg-paper);
  aspect-ratio: 16 / 10;
}

.design-samples__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.design-samples__caption {
  padding: 1rem 1.1rem 1.15rem;
  flex: 1;
}

.design-samples__caption h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 0 0 0.45rem;
  color: var(--eg-green-deep);
}

.design-samples__caption p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--eg-muted);
}

.legal-page__updated {
  font-size: 0.8rem;
  color: var(--eg-muted);
  margin: 0 0 1rem;
}

.legal-page__notice {
  padding: 0.85rem 1rem;
  border-left: 3px solid var(--eg-green);
  background: rgba(46, 125, 82, 0.06);
  color: var(--eg-ink);
  font-size: 0.92rem;
  line-height: 1.6;
}

.legal-page__list {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  color: var(--eg-muted);
  max-width: 42rem;
}

.legal-page__list li {
  margin-bottom: 0.45rem;
  line-height: 1.55;
}

.legal-page__footer-note {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--eg-line);
  font-size: 0.88rem;
  color: var(--eg-muted);
}

.legal-page__footer-note a {
  color: var(--eg-green);
}

.faq-page__lead {
  max-width: 42rem;
  color: var(--eg-muted);
  margin: 0 0 2rem;
  line-height: 1.6;
}

.faq-group {
  margin-bottom: 2.25rem;
}

.faq-group__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 0.85rem;
  color: var(--eg-ink);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 42rem;
}

.faq-item {
  border: 1px solid var(--eg-line);
  background: #fff;
  box-shadow: 0 2px 10px rgba(20, 32, 25, 0.03);
}

.faq-item__question {
  padding: 0.85rem 1rem;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.45;
  cursor: pointer;
  list-style: none;
  color: var(--eg-ink);
}

.faq-item__question::-webkit-details-marker {
  display: none;
}

.faq-item__question::after {
  content: "+";
  float: right;
  font-weight: 400;
  color: var(--eg-green);
  font-size: 1.1rem;
  line-height: 1.2;
}

.faq-item[open] .faq-item__question::after {
  content: "−";
}

.faq-item__answer {
  padding: 0 1rem 1rem;
  border-top: 1px solid var(--eg-line);
}

.faq-item__answer p {
  margin: 0.75rem 0 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--eg-muted);
}

.faq-item__answer a {
  color: var(--eg-green);
}

.faq-page__more {
  margin-top: 2rem;
  font-size: 0.92rem;
  color: var(--eg-muted);
}

.faq-page__chat-link {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: var(--eg-green);
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
}

.faq-page__more a {
  color: var(--eg-green);
}

.product-detail {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem 1.25rem 3rem;
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 800px) {
  .product-detail {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.product-detail img {
  width: 100%;
  max-height: min(420px, 70vh);
  height: auto;
  object-fit: contain;
  object-position: top center;
  border: 1px solid var(--eg-line);
  background: #f4f6f4;
}

.product-detail h1 {
  font-family: var(--font-display);
  margin: 0 0 0.5rem;
}

/* Home — visual web plan cards */
.home-plan-cards {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

@media (min-width: 640px) {
  .home-plan-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .home-plan-cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.home-plan-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--eg-line);
  background: #fff;
  box-shadow: 0 4px 18px rgba(20, 32, 25, 0.04);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.home-plan-card:hover {
  transform: translateY(-2px);
}

.home-plan-card--green:hover {
  border-color: rgba(31, 158, 50, 0.45);
}

.home-plan-card--orange:hover {
  border-color: rgba(255, 140, 0, 0.5);
}

.home-plan-card__link {
  color: inherit;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.home-plan-card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: var(--eg-paper);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  min-height: 10rem;
}

.home-plan-card__body {
  padding: 0.85rem 1rem 0.65rem;
}

.home-plan-card__tag {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.home-plan-card--green .home-plan-card__tag {
  color: var(--eg-green-deep);
}

.home-plan-card--orange .home-plan-card__tag {
  color: var(--eg-orange);
}

.home-plan-card__body h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.98rem;
  line-height: 1.35;
  color: var(--eg-ink);
}

.home-plan-card__cta {
  margin: 0.65rem 1rem 1rem;
  width: calc(100% - 2rem);
}

.plan-tile__body-details {
  display: block;
}

.plan-tile__body-summary {
  list-style: none;
  cursor: pointer;
}

.plan-tile__body-summary::-webkit-details-marker {
  display: none;
}

.plan-tile__body-summary h3 {
  margin: 0 0 0.45rem;
}

.plan-tile__toggle-hint {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--eg-orange);
}

.plan-tile__body-details[open] .plan-tile__toggle-hint {
  color: var(--eg-muted);
}

.plan-tile__body-details[open] .plan-tile__toggle-hint::after {
  content: "（已展開）";
}

.plan-tile__body-inner {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--eg-line);
}

.plan-tile--focused {
  border-color: rgba(255, 140, 0, 0.55);
  box-shadow: 0 0 0 2px rgba(255, 140, 0, 0.15), 0 8px 24px rgba(20, 32, 25, 0.08);
}

.layout-g .hero-3d__eyebrow {
  border-left: 3px solid var(--eg-orange);
  padding-left: 0.55rem;
}
