/* ==========================================================================
   機能一覧ページ
   ========================================================================== */

/* タグナビゲーション */
.feature-nav {
    position: sticky;
    top: var(--header-height);
    z-index: 100;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-line);
    transition: box-shadow var(--transition);
}

.feature-nav__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.feature-nav__inner::-webkit-scrollbar {
    display: none;
}

.feature-nav__list {
    display: flex;
    gap: 0;
    width: max-content;
    min-width: 100%;
    padding: 0;
    white-space: nowrap;
}

.feature-nav__tag {
    display: inline-block;
    padding: 0.75rem 1.1rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text-light);
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    transition: all var(--transition);
    cursor: pointer;
    letter-spacing: 0.01em;
}

.feature-nav__tag:hover {
    color: var(--color-green);
    background: transparent;
}

.feature-nav__tag.is-active {
    color: var(--color-green);
    background: transparent;
    border-bottom-color: var(--color-green);
}

/* 機能セクション */
.feature-section {
    padding: 5rem 1.5rem;
    border-top: 1px solid var(--color-line);
    position: relative;
    scroll-margin-top: calc(var(--header-height) + var(--feature-nav-height) + 1rem);
}

.feature-section::after {
    display: none;
}

.feature-section--alt {
    background: var(--color-bg);
}

/* ハイライトセクション（LINE更新） */
.feature-section--highlight {
    position: relative;
    background: var(--color-navy);
    border-top-color: transparent;
    overflow: hidden;
}

/* ハイライト内コートラインモチーフ */
.feature-section--highlight::before {
    content: "";
    position: absolute;
    top: 50%;
    right: -80px;
    transform: translateY(-50%);
    width: 260px;
    height: 260px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    pointer-events: none;
}

.feature-section--highlight .feature__number {
    color: var(--color-green-light);
    opacity: 0.6;
}

.feature-section--highlight .feature__title {
    color: var(--color-white);
}

.feature-section--highlight .feature__subtitle {
    color: rgba(255, 255, 255, 0.5);
}

.feature-section--highlight .feature__desc p {
    color: rgba(255, 255, 255, 0.8);
}

.feature-section--highlight .feature__points li {
    color: rgba(255, 255, 255, 0.8);
    border-color: rgba(255, 255, 255, 0.08);
}

.feature-section--highlight .feature__points li::before {
    color: var(--color-green-light);
}

/* 機能ヘッダー */
.feature__header {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.feature__number {
    font-family: var(--font-en);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--color-green);
    line-height: 1;
    letter-spacing: -0.03em;
    opacity: 0.2;
    flex-shrink: 0;
}

.feature__title {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--color-navy);
    line-height: 1.4;
}

.feature__subtitle {
    font-size: 0.8rem;
    color: var(--color-text-light);
    margin-top: 0.35rem;
    letter-spacing: 0.02em;
}

.feature__badge-new {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--color-white);
    background: var(--color-green);
    padding: 0.2rem 0.6rem;
    letter-spacing: 0.08em;
    flex-shrink: 0;
    align-self: center;
    text-transform: uppercase;
}

/* 機能本文 */
.feature__body {
    max-width: 780px;
    padding-left: 5rem;
}

.feature__desc p {
    color: var(--color-text);
    line-height: 2;
    margin-bottom: 1.25rem;
}

.feature__desc p strong {
    color: var(--color-green);
    font-weight: 700;
}

.feature__points {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    margin-top: 1.5rem;
    border-top: 1px solid var(--color-line);
}

.feature__points li {
    position: relative;
    padding: 0.75rem 0 0.75rem 1.5rem;
    font-size: 0.88rem;
    color: var(--color-text);
    line-height: 1.6;
    border-bottom: 1px solid var(--color-line);
}

.feature__points li:nth-child(odd) {
    border-right: 1px solid var(--color-line);
    padding-right: 1rem;
}

.feature__points li:nth-child(even) {
    padding-left: 2rem;
}

.feature__points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--color-green);
}

.feature__points li:nth-child(even)::before {
    left: 1rem;
}

/* ==========================================================================
   レスポンシブ（機能ページ）
   ========================================================================== */

/* タブレット */
@media (max-width: 1024px) {
    .feature__body {
        padding-left: 0;
    }
}

/* スマホ */
@media (max-width: 768px) {
    .feature-nav {
        padding-inline: 0;
    }

    .feature-nav__inner {
        padding: 0 20px;
    }

    .feature-nav__tag {
        font-size: 0.75rem;
        padding: 0.6rem 0.8rem;
    }

    .feature-section {
        padding: 3rem 1.25rem;
    }

    .feature__header {
        gap: 1rem;
    }

    .feature__number {
        font-size: 2.5rem;
    }

    .feature__title {
        font-size: 1.2rem;
    }

    .feature__body {
        padding-left: 0;
    }

    .feature__points {
        grid-template-columns: 1fr;
    }

    .feature__points li:nth-child(odd) {
        border-right: none;
        padding-right: 0;
    }

    .feature__points li:nth-child(even) {
        padding-left: 1.5rem;
    }

    .feature__points li:nth-child(even)::before {
        left: 0;
    }
}
