/* 機能 */

.features-hero {
  position: relative;
  overflow: hidden;
  background: #fff;
}

.features-hero-inner {
  display: flex !important;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.features-hero__left {
  flex: 0 0 auto;
}

.features-hero__right {
  flex: 0 1 480px;
}

.features-hero__right p {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink);
}

.features-hero h1 span {
  color: var(--blue);
}

.features-hero .hero-actions {
  margin-top: 28px;
  display: flex;
  gap: 16px;
  justify-content: flex-start;
}

.features-hero .hero-actions .btn {
  width: fit-content;
  padding: 12px 28px;
  text-align: center;
  justify-content: center;
  box-sizing: border-box;
}

.features-intro {
  padding-bottom: 46px;
}

.feature-jump {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.feature-jump a {
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--deep);
  font-size: 12px;
  font-weight: 800;
  transition: transform .2s, border-color .2s;
}

.feature-jump a:hover {
  transform: translateY(-2px);
  border-color: var(--blue);
}

.feature-jump b,
.feature-detail__copy .section-kicker b {
  margin-left: 5px;
  padding: 2px 5px;
  border-radius: 4px;
  background: #eaf7cc;
  color: #669200;
  font-size: 9px;
}

.feature-detail {
  padding: 85px 0;
}

.feature-detail__grid {
  display: grid;
  grid-template-columns: minmax(280px, .95fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(38px, 7vw, 100px);
}

.feature-detail__grid--reverse .feature-visual {
  grid-column: 2;
}

.feature-detail__grid--reverse .feature-detail__copy {
  grid-row: 1;
}

.feature-detail__copy h2 {
  margin: 0 0 18px;
  font-size: clamp(29px, 3vw, 42px);
  line-height: 1.35;
}

.feature-detail__copy > p:not(.section-kicker) {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
}

.feature-detail__copy ul {
  display: grid;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  font-weight: 700;
}

.feature-detail__copy li {
  position: relative;
  padding-left: 22px;
}

.feature-detail__copy li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 900;
}

.feature-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 310px;
  border: 1px dashed #78bddd;
  border-radius: 18px;
  color: #37769b;
  text-align: center;
  background: linear-gradient(135deg, #e4f5fd, #faffeb);
  box-shadow: 0 18px 36px #16416d14;
  overflow: hidden;
}

.feature-visual img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 18px;
  display: block;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.feature-visual span {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .14em;
}

.feature-visual small {
  margin-top: 7px;
  font-family: Consolas, monospace;
  font-size: 11px;
}

.features-sites {
  background-color: #06182c;
  color: #ffffff;
  padding: 80px 0;
}

.features-sites .section-kicker {
  color: #a6d32b;
  text-align: left;
  margin-bottom: 12px;
  font-weight: 900;
  letter-spacing: .12em;
}

.features-sites .title {
  color: #ffffff;
  margin-bottom: 30px;
}

.other-info-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 28px;
}

.other-info-title .info-icon {
  width: 22px;
  height: 22px;
  stroke: #a6d32b;
}

.other-info-title h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.site-cards--three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1080px;
  margin: 0 auto 36px;
}

.features-sites .site-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 28px 24px;
}

.card-green-title {
  color: #a6d32b;
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 20px 0;
}

.grid-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.grid-list li {
  position: relative;
  padding-left: 14px;
  font-size: 0.85rem;
  color: #e0e6ed;
  line-height: 1.4;
}

.grid-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #ffffff;
}

.env-group {
  margin-bottom: 16px;
}

.env-group:last-child {
  margin-bottom: 0;
}

.env-os {
  font-size: 0.875rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 6px 0;
}

.env-browser {
  font-size: 0.8rem;
  color: #b0c0d0;
  line-height: 1.6;
  margin: 0;
}

.trademark-note {
  text-align: center;
  font-size: 0.78rem;
  color: #8a9bb0;
  margin: 0;
}

.image-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(4px);
  justify-content: center;
  align-items: center;
}

.image-modal__content {
  max-width: 90%;
  max-height: 90vh;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  animation: zoomIn 0.2s ease;
}

.image-modal__close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  user-select: none;
}

@keyframes zoomIn {
  from {
    transform: scale(0.8); opacity: 0;
  }

  to {
    transform: scale(1); opacity: 1;
  }
}

@media (max-width: 760px) {
  .features-hero-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .features-hero__right {
    flex: auto;
    width: 100%;
  }

  .feature-detail {
    padding: 58px 0;
  }

  .feature-detail__grid,
  .feature-detail__grid--reverse {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .feature-detail__grid--reverse .feature-visual {
    grid-column: auto;
  }

  .feature-detail__grid--reverse .feature-detail__copy {
    grid-row: auto;
  }

  .feature-visual {
    min-height: 230px;
  }

  .site-cards--three {
    grid-template-columns: 1fr;
  }
}
