/* ============================================
    リセット・ベーススタイル
   ============================================ */
   * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN",
        "Hiragino Sans", Meiryo, sans-serif;
    line-height: 1.8;
    overflow-x: hidden;
}

/* ============================================
    Typography (タグ直接指定)
   ============================================ */
h1 {
    font-size: 32px;
    line-height: 1.4;
}

h2 {
    font-size: 24px;
    line-height: 1.5;
}

h3 {
    font-size: 24px;
}

p {
    font-size: 16px;
    line-height: 1.8;
}

/* PCサイズ */
@media (min-width: 768px) {
    h1 {
        font-size: 48px;
    }

    h2 {
        font-size: 36px;
    }

    p {
        font-size: 18px;
    }
}

/* ============================================
    Header
   ============================================ */
.nexia__header {
    background-color: #222222;
    height: 73px;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
}

.nexia__header-container {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto 0 auto;
    padding: 0 50px;
}

.nexia__header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

/* Logo */
.nexia__header-logo {
    display: flex;
    align-items: center;
}

.nexia__header-logo-text {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
    letter-spacing: 0.05em;
    color: #ffffff;
}

.nexia__header-logo-image {
    height: 24px;
    width: auto;
}

/* Navigation */
.nexia__header-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

/* お問い合わせボタン */
.nexia__header-btn,
.nexia__footer-btn {
    display: inline-flex;
    color: #ffffff;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border: 1px solid #ffffff;
    border-radius: 24px;
    background-color: transparent;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    transition: background-color 0.3s ease, color 0.3s ease;
    white-space: nowrap;
    animation: nexia-header-btn-slide 2.4s ease-in-out infinite;
}

.nexia__header-btn:hover,
.nexia__footer-btn:hover {
    background-color: #ffffff;
    color: #2f333d;
}

.nexia__header .nexia__header-btn {
    animation: none;
}

@keyframes nexia-header-btn-slide {
    0% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(6px);
    }
    100% {
        transform: translateX(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .nexia__header-btn,
    .nexia__footer-btn {
        animation: none;
    }
}

/* ハンバーガーメニュー */
.nexia__header-menu-toggle {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 40px;
    height: 40px;
    background-color: #222222;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    padding: 0;
    transition: background-color 0.3s ease;
    margin-left: 16px;
}

/* 3本線アイコンをnav要素に表示（ボタンがない場合の代替） */
.nexia__header-nav::after {
    content: "";
    display: none; /* ボタンがある場合は非表示 */
    width: 24px;
    height: 2px;
    margin-left: 16px;
    background-color: #ffffff;
    box-shadow: 
        0 -8px 0 0 #ffffff,
        0 8px 0 0 #ffffff;
    vertical-align: middle;
}

/* ハンバーガーメニューボタン（3本線アイコン） */
.nexia__header-menu-toggle {
    display: inline-block;
    width: 40px;
    height: 40px;
    margin-left: 16px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    position: relative;
    vertical-align: middle;
}

.nexia__header-menu-toggle::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 2px;
    background-color: #ffffff;
    box-shadow: 
        0 -8px 0 0 #ffffff,
        0 8px 0 0 #ffffff;
}

.nexia__header-menu-toggle:hover {
    opacity: 0.7;
}

.nexia__header-menu-toggle:hover {
    background-color: #333333;
}

.nexia__header-menu-toggle-dot {
    width: 4px;
    height: 4px;
    background-color: #ffffff;
    border-radius: 50%;
    display: block;
}

/* SPサイズの調整 */
@media (max-width: 767px) {
    .nexia__header-container {
        padding: 0 16px;
    }

    .nexia__header-logo-text {
        font-size: 20px;
    }

    .nexia__header-logo-image {
        height: 16px;
    }

    .nexia__header-btn,
    .nexia__footer-btn {
        padding: 8px 27px;
        font-size: 12px;
        margin: -30px auto 0 auto;
    }

    .nexia__header-menu-toggle {
        width: 32px;
        height: 32px;
        margin-left: 12px;
    }

    .nexia__header-menu-toggle::before {
        width: 20px;
        box-shadow: 
            0 -5px 0 0 #ffffff,
            0 5px 0 0 #ffffff;
    }

    .nexia__header-menu-toggle-dot {
        width: 3px;
        height: 3px;
    }
}

/* ============================================
    Hero Section (First View)
   ============================================ */
.nexia__hero {
    width: 100%;
    padding: 0;
    margin: 73px auto 0 auto;
    height: calc(100vh - 73px);
    display: block;
    background-color: #000000;
}

/* ============================================
    Section 1
   ============================================ */
/* ============================================
   Section 1: Features
   ============================================ */
.nexia__section1 {
    background-color: #ffffff;
    min-height: 100vh;
    padding-top: 80px;
    padding-bottom: 80px;
}

.nexia__section1-container {
    width: 100%;
    max-width: 960px;
    margin: 0 auto 0 auto;
    padding: 0 16px;
}

/* Section Header */
.nexia__section1-header {
    position: relative;
    margin-bottom: 80px;
}

.nexia__section1-label {
    position: relative;
    margin-bottom: 16px;
    margin-left: -16px;
    margin-right: -16px;
    padding-left: 16px;
    padding-right: 16px;
    padding-bottom: 8px;
}

.nexia__section1-label-text {
    position: relative;
    z-index: 1;
    display: inline-block;
    font-size: 24px;
    font-weight: 500;
    color: #666666;
    background-color: #ffffff;
    padding-left: 24px;
}

.nexia__section1-label-text::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 100%;
    width: 100vw;
    height: 20px;
    background-color: #000000;
    transform: translateY(-50%);
}

.nexia__section1-label::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 100%;
    height: 1px;
    background-color: #000000;
    transition: right 1.2s ease-out;
}

.nexia__section1-label.is-visible::after {
    right: calc(50% - 50vw);
}

.nexia__section1-title {
    font-size: 80px;
    font-weight: 600;
    color: #e0e0e0;
    line-height: 1.2;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.nexia__section1-intro {
    font-size: 18px;
    line-height: 1.8;
    color: #333333;
}

/* Feature Items */
.nexia__section1-feature {
    display: flex;
    flex-direction: column;
    margin-bottom: 100px;
    gap: 40px;
}

.nexia__section1-feature:last-child {
    margin-bottom: 0;
}

.nexia__section1-feature-content {
    flex: 1;
}

.nexia__section1-feature-number-wrapper {
    margin-bottom: 12px;
}

.nexia__section1-feature-number {
    font-size: 50px;
    font-weight: 600;
    color: #e0e0e0;
    line-height: 1;
    margin-bottom: 0;
}

.nexia__section1-feature-number-line {
    width: 100%;
    height: 4px;
    background-color: #e0e0e0;
    margin-top: 8px;
}

.nexia__section1-feature-title {
    font-size: 32px;
    font-weight: 700;
    color: #000000;
    line-height: 1.5;
    margin-bottom: 24px;
}

.nexia__section1-feature-text {
    font-size: 16px;
    line-height: 1.3;
    color: #333333;
    margin-bottom: 16px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.nexia__section1-feature-text.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.nexia__section1-feature-text:first-of-type {
    font-size: 32px;
    color: #4b4b4b;
}

.nexia__section1-feature-text:last-of-type {
    font-size: 18px;
    color: #999999;
    margin-bottom: 0;
    letter-spacing: 0.2em;
}

.nexia__section1-feature-image {
    flex: 1;
}

.nexia__section1-feature-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 8px;
}

/* PCサイズの調整 */
@media (min-width: 768px) {
    .nexia__section1-feature {
        flex-direction: row;
        align-items: center;
        gap: 80px;
    }

    /* 奇数番号（01、03）は左右を反転 */
    .nexia__section1-feature:nth-of-type(odd) {
        flex-direction: row-reverse;
    }

    .nexia__section1-feature-content {
        flex: 0 0 calc(50% - 40px);
    }

    .nexia__section1-feature-image {
        flex: 0 0 calc(50% - 40px);
        height: auto;
        min-height: 0;
        display: flex;
        align-items: center;
    }

    .nexia__section1-feature-image img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    .nexia__section1-intro {
        font-weight: 700;
        font-size: 32px;
    }

    .nexia__section1-feature-title {
        font-size: 36px;
    }

    .nexia__section1-feature-text {
        font-size: 18px;
    }
}

/* SPサイズの調整 */
@media (max-width: 767px) {
    .nexia__section1-title {
        font-size: 48px;
    }

    .nexia__section1-intro {
        font-size: 16px;
    }

    .nexia__section1-feature {
        margin-bottom: 60px;
    }

    .nexia__section1-feature-title {
        font-size: 24px;
    }

    .nexia__section1-feature-text {
        font-size: 14px;
    }

    .nexia__section1-feature-text:first-of-type {
        font-size: 20px;
    }

    .nexia__section1-feature-text:last-of-type {
        font-size: 14px;
    }

    .nexia__section1-feature-number {
        font-size: 36px;
    }
}

/* ============================================
   Section 2: How to Use
   ============================================ */
.nexia__section2 {
    background-color: #222222;
    padding-top: 80px;
    padding-bottom: 80px;
}

/* ============================================
   Section 6: FAQ
   ============================================ */
.nexia__section6 {
    background-color: #4b4b4b;
    padding-top: 80px;
    padding-bottom: 80px;
    color: #ffffff;
}

.nexia__section6-container {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 16px;
}

.nexia__section6-header {
    position: relative;
    margin-bottom: 80px;
}

.nexia__section6-label {
    position: relative;
    margin-bottom: 16px;
    margin-left: -16px;
    margin-right: -16px;
    padding-left: 16px;
    padding-right: 16px;
    padding-bottom: 8px;
}

.nexia__section6-label-text {
    position: relative;
    z-index: 1;
    display: inline-block;
    font-size: 24px;
    font-weight: 500;
    color: #ffffff;
    background-color: #4b4b4b;
    padding-left: 24px;
}

.nexia__section6-label-text::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 100%;
    width: 100vw;
    height: 20px;
    background-color: #d9d9d9;
    transform: translateY(-50%);
}

.nexia__section6-label::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 100%;
    height: 1px;
    background-color: #d9d9d9;
    transition: right 1.2s ease-out;
}

.nexia__section6-label.is-visible::after {
    right: calc(50% - 50vw);
}

.nexia__section6-title {
    font-size: 80px;
    font-weight: 600;
    color: #e8e8e8;
    line-height: 1.2;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

/* FAQ Items */
.nexia__section6-faq {
    width: 100%;
}

.nexia__section6-faq-item {
    display: block;
    width: 100%;
    margin-bottom: 16px;
}

.nexia__section6-faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 32px;
    background-color: #ffffff;
    border: none;
    cursor: pointer;
    color: #333333;
    font-size: 18px;
    line-height: 1.6;
    transition: all 0.3s ease;
    position: relative;
}

.nexia__section6-faq-question:hover {
    opacity: 0.8;
}

.nexia__section6-faq-q {
    font-size: 24px;
    font-weight: 700;
    color: #2bc58a;
    flex-shrink: 0;
}

.nexia__section6-faq-question-text {
    flex: 1;
    text-align: left;
    font-weight: 700;
    font-size: 20px;
}

.nexia__section6-faq-indicator {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4a90e2;
    line-height: 1;
}

.nexia__section6-faq-indicator::before {
    content: "+";
    position: absolute;
    font-size: 24px;
    font-weight: 300;
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 1;
    transform: rotate(0deg);
}

.nexia__section6-faq-indicator::after {
    content: "−";
    position: absolute;
    font-size: 24px;
    font-weight: 300;
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 0;
    transform: rotate(-90deg);
}

.nexia__section6-faq-question[aria-expanded="true"] .nexia__section6-faq-indicator::before {
    opacity: 0;
    transform: rotate(90deg);
}

.nexia__section6-faq-question[aria-expanded="true"] .nexia__section6-faq-indicator::after {
    opacity: 1;
    transform: rotate(0deg);
}

.nexia__section6-faq-answer {
    display: flex;
    align-items: baseline;
    gap: 16px;
    max-width: 100%;
    padding: 0 32px 0 32px;
    text-align: left;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.4s ease, padding 0.4s ease;
}

.nexia__section6-faq-question[aria-expanded="true"] + .nexia__section6-faq-answer {
    max-height: 2000px;
    opacity: 1;
    padding: 24px 32px 24px 32px;
}

.nexia__section6-faq-a {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    flex-shrink: 0;
}

.nexia__section6-faq-answer-content {
    flex: 1;
    text-align: left;
    max-width: 100%;
    font-size: 32px;
}

.nexia__section6-faq-answer-content p {
    font-size: 16px;
    line-height: 1.5;
    color: #ffffff;
    margin-bottom: 0;
    text-align: left;
}

.nexia__section6-faq-list {
    margin: 16px 0;
    padding-left: 0;
    color: #ffffff;
    list-style: none;
    text-align: left;
    counter-reset: faq-counter;
}

.nexia__section6-faq-list li {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 8px;
    text-align: left;
    padding-left: 32px;
    position: relative;
    counter-increment: faq-counter;
}

.nexia__section6-faq-list li::before {
    content: counter(faq-counter) ") ";
    position: absolute;
    left: 0;
    font-weight: 500;
}

.nexia__section6-faq-list li:last-child {
    margin-bottom: 0;
}

/* FAQ回答内の「もっと見る」ボタン */
.nexia__section6-faq-answer-more {
    margin-top: 60px;
    margin-bottom: 60px;
    display: flex;
    justify-content: center;
}

.nexia__section6-faq-answer-more-button {
    background-color: #000000;
    color: #ffffff;
    border: none;
    padding: 16px 32px;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.04em;
    cursor: pointer;
    border-radius: 999px;
}

.nexia__section6-faq-answer-more-button:hover {
    opacity: 0.8;
}

/* セクション最後の「もっと見る」ボタン */
.nexia__section6-more {
    margin-top: 120px;
    display: flex;
    justify-content: center;
}

.nexia__section6-more-button {
    background-color: #000000;
    color: #ffffff;
    border: none;
    padding: 16px 32px;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.04em;
    cursor: pointer;
    border-radius: 999px;
}

.nexia__section6-more-button:hover {
    opacity: 0.8;
}

/* PCサイズの調整 */
@media (min-width: 768px) {
    .nexia__section6-faq-question {
        font-size: 20px;
        padding: 12px 40px;
    }

    .nexia__section6-faq-q {
        font-size: 40px;
    }

    .nexia__section6-faq-indicator {
        width: 28px;
        height: 28px;
    }

    .nexia__section6-faq-indicator::before,
    .nexia__section6-faq-indicator::after {
        font-size: 40px;
    }

    .nexia__section6-faq-a {
        font-size: 40px;
    }

    .nexia__section6-faq-answer {
        padding: 0 40px 0 40px;
    }

    .nexia__section6-faq-question[aria-expanded="true"] + .nexia__section6-faq-answer {
        padding: 32px 40px 32px 40px;
    }

    .nexia__section6-faq-answer-content p,
    .nexia__section6-faq-list li {
        font-size: 20px;
    }
}

@media (max-width: 767px) {
    .nexia__section6-title {
        font-size: 48px;
    }

    .nexia__section6-faq-question {
        padding: 16px 20px;
        font-size: 16px;
    }

    .nexia__section6-faq-q {
        font-size: 24px;
    }

    .nexia__section6-faq-question-text {
        font-size: 16px;
    }

    .nexia__section6-faq-indicator {
        width: 20px;
        height: 20px;
    }

    .nexia__section6-faq-indicator::before,
    .nexia__section6-faq-indicator::after {
        font-size: 24px;
    }

    .nexia__section6-faq-a {
        font-size: 24px;
    }

    .nexia__section6-faq-answer {
        padding: 0 20px 0 20px;
    }

    .nexia__section6-faq-question[aria-expanded="true"] + .nexia__section6-faq-answer {
        padding: 20px 20px 20px 20px;
    }

    .nexia__section6-faq-answer-content {
        font-size: 20px;
    }

    .nexia__section6-faq-answer-content p,
    .nexia__section6-faq-list li {
        font-size: 14px;
    }

    .nexia__section6-more {
        margin-top: 80px;
    }

    .nexia__section6-more-button {
        padding: 12px 24px;
        font-size: 16px;
    }

    .nexia__section6-faq-answer-more-button {
        padding: 12px 24px;
        font-size: 16px;
    }
}

/* ============================================
   Section 7: EC
   ============================================ */
.nexia__section7 {
    background-color: #222222;
    padding-top: 80px;
    padding-bottom: 80px;
    color: #ffffff;
    position: relative;
}

.nexia__section7-container {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

/* ScrollDown Indicator */
.nexia__section7-scroll-down {
    text-align: center;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.nexia__section7-scroll-down-text {
    font-size: 12px;
    font-weight: 500;
    display: block;
    text-transform: uppercase;
    color: #ffffff;
    letter-spacing: 0.24em;
    opacity: 0.85;
}

.nexia__section7-scroll-down-dots {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.nexia__section7-scroll-down-dot {
    width: 5px;
    height: 5px;
    background-color: #ffffff;
    border-radius: 50%;
    display: block;
    opacity: 0.2;
    animation: nexia-scroll-dots 1.5s ease-in-out infinite;
}

.nexia__section7-scroll-down-dot:nth-child(1) {
    animation-delay: 0s;
}

.nexia__section7-scroll-down-dot:nth-child(2) {
    animation-delay: 0.12s;
}

.nexia__section7-scroll-down-dot:nth-child(3) {
    animation-delay: 0.24s;
}

.nexia__section7-scroll-down-dot:nth-child(4) {
    animation-delay: 0.36s;
}

/* Image Wrapper */
.nexia__section7-image-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 32px;
}

.nexia__section7-image {
    width: auto;
    max-width: 70%;
    height: auto;
    display: block;
    object-fit: contain;
    margin: 0 auto;
}

.nexia__section7-image-wrapper + .nexia__section7-image-wrapper {
    gap: 16px;
    flex-wrap: nowrap;
    align-items: center;
}

.nexia__section7-image-wrapper + .nexia__section7-image-wrapper {
    width: 100%;
}

.nexia__section7-image-wrapper + .nexia__section7-image-wrapper .nexia__section7-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0;
    display: block;
}

.nexia__section7-image-wrapper + .nexia__section7-image-wrapper .nexia__section7-image-center {
    align-self: center;
}

/* Content */
.nexia__section7-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    gap: 0;
}

.nexia__section7-text-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    gap: 24px;
    margin-bottom: 24px;
}

.nexia__section7-slogan {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.4;
    letter-spacing: 0.05em;
    margin: 0;
}

.nexia__section7-subtitle {
    font-size: 18px;
    line-height: 1.8;
    color: #e0e0e0;
    margin: 0;
    font-weight: 500;
}

/* Button */
.nexia__section7-button-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 32px;
}

.nexia__section7-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 20px 60px;
    background: linear-gradient(135deg, #2bc58a 0%, #1f8f68 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: #ffffff;
    text-decoration: none;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.2em;
    box-shadow: 0 10px 24px rgba(15, 40, 32, 0.45);
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}

.nexia__section7-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(15, 40, 32, 0.55);
    filter: brightness(1.05);
}

.nexia__fade-in-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    will-change: opacity, transform;
}

.nexia__fade-in-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.nexia__fade-in {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    will-change: opacity, transform;
}

.nexia__fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Section 4 画像の順番フェードイン */
.nexia__section4-fade-in {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    will-change: opacity, transform;
}

.nexia__section4-fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* PCサイズの調整 */
@media (min-width: 768px) {
    .nexia__section7-container {
        gap: 60px;
    }

    .nexia__section7-image {
        max-width: 60%;
    }

    .nexia__section7-image-wrapper + .nexia__section7-image-wrapper .nexia__section7-image {
        width: 80%;
        max-width: 100%;
    }

    .nexia__section7-slogan {
        font-size: 40px;
    }

    .nexia__section7-subtitle {
        font-size: 20px;
        font-weight: 700;
    }

    .nexia__section7-btn {
        padding: 24px 80px;
        font-size: 24px;
    }
}

/* SPサイズの調整 */
@media (max-width: 767px) {
    .nexia__section7-image {
        max-width: 85%;
    }

    .nexia__section7-image-wrapper + .nexia__section7-image-wrapper .nexia__section7-image {
        width: 100%;
        max-width: 100%;
    }

    .nexia__section7-slogan {
        font-size: 24px;
    }

    .nexia__section7-subtitle {
        font-size: 16px;
    }

    .nexia__section7-btn {
        padding: 16px 40px;
        font-size: 18px;
    }
}

/* ============================================
   Section 8: Contact Us
   ============================================ */
.nexia__section8 {
    background-image: url("section8/section8-background.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-top: 80px;
    padding-bottom: 80px;
    color: #e0e0e0;
}

.nexia__section8-container {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 16px;
}

.nexia__section8-header {
    position: relative;
    margin-bottom: 20px;
}

.nexia__section8-label {
    position: relative;
    margin-bottom: 16px;
    margin-left: -16px;
    margin-right: -16px;
    padding-left: 16px;
    padding-right: 16px;
    padding-bottom: 8px;
}

.nexia__section8-label-text {
    position: relative;
    z-index: 1;
    display: inline-block;
    font-size: 24px;
    font-weight: 500;
    color: #666666;
    background-color: #ffffff;
    padding-left: 24px;
}

.nexia__section8-label-text::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 100%;
    width: 100vw;
    height: 20px;
    background-color: #000000;
    transform: translateY(-50%);
}

.nexia__section8-label::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 100%;
    height: 1px;
    background-color: #000000;
    transition: right 1.2s ease-out;
}

.nexia__section8-label.is-visible::after {
    right: calc(50% - 50vw);
}

.nexia__section8-title {
    font-size: 80px;
    font-weight: 600;
    color: #e8e8e8;
    line-height: 1.2;
    letter-spacing: 0.05em;
}

/* Contact Content */
.nexia__section8-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.nexia__section8-text {
    font-size: 18px;
    line-height: 1.8;
    color: #333333;
    text-align: center;
    margin-bottom: 8px;
    font-weight: 500;
}

.nexia__section8-line {
    width: 250px;
    height: 3px;
    background-color: #333333;
    margin-bottom: 40px;
}

/* Contact Button */
.nexia__section8-button-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.nexia__section8-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 20px 60px;
    background: linear-gradient(180deg, #4a4a4a 0%, #2f2f2f 100%);
    border: 3px solid #ffffff;
    border-radius: 50px;
    color: #ffffff;
    text-decoration: none;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}

.nexia__section8-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
    filter: brightness(1.1);
}

@media (min-width: 768px) {
    .nexia__section8-text {
        font-weight: 700;
        font-size: 20px;
    }

    .nexia__section8-line {
        width: 400px;
        margin-bottom: 24px;
    }

    .nexia__section8-btn {
        padding: 24px 80px;
        font-size: 24px;
    }
}

@media (max-width: 767px) {
    .nexia__section8-title {
        font-size: 48px;
    }

    .nexia__section8-text {
        font-size: 16px;
    }

    .nexia__section8-line {
        width: 200px;
        margin-bottom: 30px;
    }

    .nexia__section8-btn {
        padding: 16px 40px;
        font-size: 18px;
    }
}

.nexia__section2-container {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 16px;
}

.nexia__section2-header {
    position: relative;
    margin-bottom: 80px;
}

.nexia__section2-label {
    position: relative;
    margin-bottom: 16px;
    margin-left: -16px;
    margin-right: -16px;
    padding-left: 16px;
    padding-right: 16px;
    padding-bottom: 8px;
}

.nexia__section2-label-text {
    position: relative;
    z-index: 1;
    display: inline-block;
    font-size: 24px;
    font-weight: 500;
    color: #ffffff;
    background-color: #222222;
    padding-left: 24px;
}

.nexia__section2-label-text::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 100%;
    width: 100vw;
    height: 20px;
    background-color: #d9d9d9;
    transform: translateY(-50%);
}

.nexia__section2-label::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 100%;
    height: 1px;
    background-color: #d9d9d9;
    transition: right 1.2s ease-out;
}

.nexia__section2-label.is-visible::after {
    right: calc(50% - 50vw);
}

.nexia__section2-title {
    font-size: 80px;
    font-weight: 600;
    color: #e8e8e8;
    line-height: 1.2;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.nexia__section2-intro {
    font-size: 18px;
    line-height: 1.8;
    color: #ffffff;
}

@media (min-width: 768px) {
    .nexia__section2-intro {
        font-weight: 700;
        font-size: 32px;
    }
}

/* Step Items */
.nexia__section2-step {
    background-color: transparent;
    height: 200px;
    min-height: 200px;
    padding: 0;
    margin-bottom: 60px;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: flex-start;
    position: relative;
    gap: 0;
    overflow: visible;
}

.nexia__section2-step:last-child {
    margin-bottom: 0;
}

.nexia__section2-step-number {
    text-align: center;
    line-height: 1;
    font-weight: 600;
    font-size: 32px;
    writing-mode: vertical-lr;
    color: #e8e8e8;
    letter-spacing: 0.1em;
    white-space: nowrap;
    align-self: stretch;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 0 16px;
    min-width: 60px;
    width: 60px;
    flex-shrink: 0;
    background-color: #222222;
    position: relative;
    z-index: 1;
}

.nexia__section2-step-image {
    flex: 1;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    padding: 2px;
    box-sizing: border-box;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.nexia__section2-step-description {
    width: 100%;
    margin: 16px 0 0;
    color: #ffffff;
    font-size: 16px;
    line-height: 1.6;
    text-align: center;
}

.nexia__section2-cta {
    margin-top: 240px;
    display: flex;
    justify-content: center;
}

.nexia__section2-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 70px;
    background: linear-gradient(135deg, #2bc58a 0%, #1f8f68 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 38px;
    color: #ffffff;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 0.2em;
    box-shadow: 0 10px 24px rgba(15, 40, 32, 0.45);
    cursor: pointer;
}

.nexia__section2-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(15, 40, 32, 0.55);
    filter: brightness(1.05);
}

/* PCサイズの調整 */
@media (min-width: 768px) {
    .nexia__section2-step {
        height: 300px;
        min-height: 300px;
        margin-bottom: 80px;
    }

    .nexia__section2-step-number {
        font-size: 32px;
    }

    .nexia__section2-step-description {
        margin-left: 0;
        font-size: 20px;
    }
}

/* SPサイズの調整 */
@media (max-width: 767px) {
    .nexia__section2-title {
        font-size: 48px;
    }

    .nexia__section2-intro {
        font-size: 16px;
    }

    .nexia__section2-step {
        min-height: auto;
        margin-bottom: 40px;
        flex-direction: column;
    }

    .nexia__section2-step-number {
        width: 100%;
        min-width: 100%;
        writing-mode: horizontal-tb;
        padding: 16px 0;
        font-size: 24px;
        text-align: left;
    }

    .nexia__section2-step-image {
        width: 100%;
        height: auto;
        min-height: 100px;
        max-width: 100%;
        object-fit: contain;
    }

    .nexia__section2-step-description {
        font-size: 14px;
        margin-top: 12px;
    }

    .nexia__section2-cta {
        margin-top: 60px;
        margin-bottom: 40px;
    }

    .nexia__section2-cta-button {
        padding: 12px 24px;
        font-size: 16px;
    }
}

/* ============================================
   Polygon Overlay Image (overlay on Section 3)
   ============================================ */
.nexia__polygon-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1;
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.nexia__polygon-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* ============================================
   Section 3: Card Design
   ============================================ */
.nexia__section3 {
    position: relative;
    background-image: url("section3/section3-background.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #000000;
    padding-top: 80px;
    padding-bottom: 80px;
    color: #ffffff;
}

/* セクション3の背景に薄い黒のガウスブラー効果 */
.nexia__section3::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3); /* 薄い黒の半透明レイヤー */
    backdrop-filter: blur(10px); /* ガウスブラー効果 */
    -webkit-backdrop-filter: blur(10px); /* Safari対応 */
    z-index: 1;
    pointer-events: none;
}

.nexia__section3-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    padding: 560px 16px 32px 16px;
}

.nexia__section3-header {
    position: relative;
    margin-bottom: 80px;
}

.nexia__section3-label {
    position: relative;
    margin-bottom: 16px;
    margin-left: -16px;
    margin-right: -16px;
    padding-left: 16px;
    padding-right: 16px;
    padding-bottom: 8px;
}

.nexia__section3-label-text {
    position: relative;
    z-index: 1;
    display: inline-block;
    font-size: 24px;
    font-weight: 500;
    color: #ffffff;
    background-color: transparent;
    padding-left: 24px;
}

.nexia__section3-label-text::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 100%;
    width: 100vw;
    height: 20px;
    background-color: #d9d9d9;
    transform: translateY(-50%);
}

.nexia__section3-label::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 100%;
    height: 1px;
    background-color: #d9d9d9;
    transition: right 1.2s ease-out;
}

.nexia__section3-label.is-visible::after {
    right: calc(50% - 50vw);
}

.nexia__section3-title {
    font-size: 80px;
    font-weight: 600;
    color: #e8e8e8;
    line-height: 1.2;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.nexia__section3-intro {
    font-size: 18px;
    line-height: 1.8;
    color: #ffffff;
}

.nexia__section3-text {
    font-size: 16px;
    line-height: 1.9;
    color: #ffffff;
    margin-top: 16px;
}

@media (min-width: 768px) {
    .nexia__section3-intro {
        font-weight: 700;
        font-size: 32px;
    }

    .nexia__section3-text {
        font-size: 18px;
    }
}

/* Step Items */
.nexia__section3-step {
    background-color: transparent;
    min-height: 200px;
    padding: 0;
    margin-bottom: 60px;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: flex-start;
    position: relative;
    gap: 0;
    overflow: visible;
}

.nexia__section3-step:last-child {
    margin-bottom: 0;
}

.nexia__section3-step-number {
    text-align: center;
    line-height: 1;
    font-weight: 600;
    font-size: 32px;
    color: #e8e8e8;
    letter-spacing: 0.1em;
    white-space: nowrap;
    align-self: stretch;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    padding: 0;
    min-width: auto;
    width: auto;
    flex-shrink: 0;
    background-color: transparent;
    position: relative;
    z-index: 1;
    gap: 0;
}

.nexia__section3-step-number span {
    writing-mode: vertical-lr;
}

.nexia__section3-step-number-icon {
    flex-shrink: 0;
    object-fit: contain;
}

/* PC用の画像表示（デフォルト） */
.nexia__section3-step-number-icon-pc {
    display: block;
}

/* スマホ用のHTML/CSS実装（デフォルトは非表示） */
.nexia__section3-step-number-icon-sp {
    display: none;
}

/* HTML/CSS実装のコンテナもデフォルトは非表示 */
.nexia__section3-step-number-label-css {
    display: none;
}

.nexia__section3-step-number-icon:nth-child(1) {
    position: relative;
    z-index: 2;
    width: 263px;
    height: 300px;
    object-fit: contain;
    margin-left: 0;
    left: 0;
}

.nexia__section3-step-number-icon:nth-child(3) {
    margin-left: -170px;
    position: relative;
    z-index: 1;
    max-width: calc(100% + 130px);
    width: 722px;
    height: 300px;
    object-fit: contain;
}

/* HTML/CSS実装のスタイル（スマホサイズで表示される） */
.nexia__section3-step-number-label-css {
    position: relative;
    display: none;
    flex-direction: row;
    align-items: center;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    padding-bottom: 8px;
}

.nexia__section3-step-number-label-number {
    font-family: "Arial Black", "Impact", "Helvetica Neue", Arial, sans-serif;
    font-size: 32px;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 0;
    line-height: 1;
    margin-right: 8px;
}

.nexia__section3-step-number-label-text {
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.05em;
    line-height: 1;
}

.nexia__section3-step-number-label-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #d9d9d9;
    transition: width 0.8s ease-out;
}

.nexia__section3-step-number-label-css.is-visible .nexia__section3-step-number-label-line {
    width: 100%;
}

/* Step 1用の統合画像スタイル（Section 5と同様の構造） */
.nexia__section3-step-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    width: 100%;
}

.nexia__section3-step-image-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
}

.nexia__section3-step-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* PC用の画像表示（デフォルト） */
.nexia__section3-step-image-wrapper-pc {
    display: block;
}

/* スマホ用のHTML/CSS実装（デフォルトは非表示） */
.nexia__section3-step-number-label-css-sp {
    display: none;
}

/* スマホ用の画像（デフォルトは非表示） */
.nexia__section3-step-image-wrapper-sp {
    display: none;
}

/* 注意書きスタイル */
.nexia__section3-step-note {
    margin-top: 24px;
    padding: 0;
    width: 100%;
}

.nexia__section3-step-note-title {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
    line-height: 1.6;
}

.nexia__section3-step-note-item {
    font-size: 14px;
    line-height: 1.8;
    color: #ffffff;
    margin-bottom: 8px;
}

.nexia__section3-step-note-item:last-child {
    margin-bottom: 0;
}

/* PCサイズの調整 */
@media (min-width: 768px) {
    .nexia__section3-step {
        min-height: 300px;
        margin-bottom: 80px;
    }

    .nexia__section3-step-number {
        font-size: 32px;
    }

    /* Step 1用の統合画像スタイル（PCサイズ） */
    .nexia__section3-step-content {
        gap: 60px;
    }

    /* 注意書きスタイル（PCサイズ） */
    .nexia__section3-step-note {
        margin-top: 32px;
    }

    .nexia__section3-step-note-title {
        font-size: 18px;
        margin-bottom: 16px;
    }

    .nexia__section3-step-note-item {
        font-size: 16px;
        margin-bottom: 10px;
    }
}

/* SPサイズの調整 */
@media (max-width: 767px) {
    .nexia__section3-container {
        padding: 80px 16px 32px 16px;
    }

    .nexia__section3-title {
        font-size: 48px;
    }

    .nexia__section3-intro {
        font-size: 16px;
    }

    .nexia__section3-text {
        font-size: 14px;
        line-height: 1.8;
    }

    .nexia__section3-step {
        min-height: auto;
        margin-bottom: 40px;
        flex-direction: column;
        overflow: visible;
    }

    .nexia__section3-step-number {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 16px;
    }

    /* PC用の画像を非表示 */
    .nexia__section3-step-number-icon-pc {
        display: none;
    }

    /* スマホ用のHTML/CSS実装を表示 */
    .nexia__section3-step-number-icon-sp {
        display: block;
        width: 100%;
        max-width: 200px;
        height: auto;
        margin-left: 0;
        margin-bottom: 24px;
    }

    /* HTML/CSS実装のスタイル調整（スマホサイズ） */
    .nexia__section3-step-number-label-css {
        display: flex;
        flex-direction: row;
        align-items: center;
        width: 100%;
        max-width: 100%;
        height: auto;
        writing-mode: horizontal-tb;
    }

    .nexia__section3-step-number-label-css .nexia__section3-step-number-label-number {
        font-size: 28px;
        margin-right: 8px;
        margin-bottom: 0;
        writing-mode: horizontal-tb;
    }

    .nexia__section3-step-number-label-css .nexia__section3-step-number-label-text {
        font-size: 24px;
        writing-mode: horizontal-tb;
        white-space: normal;
    }

    /* Step 1用のスタイル（SPサイズ） */
    .nexia__section3-step-content {
        gap: 30px;
    }

    /* PC用の画像を非表示 */
    .nexia__section3-step-image-wrapper-pc {
        display: none;
    }

    /* スマホ用のHTML/CSS実装を表示 */
    .nexia__section3-step-number-label-css-sp {
        display: flex;
        flex-direction: row;
        align-items: center;
        width: 100%;
        max-width: 100%;
        height: auto;
        writing-mode: horizontal-tb;
        margin-bottom: 16px;
    }

    .nexia__section3-step-number-label-css-sp .nexia__section3-step-number-label-number {
        font-size: 28px;
        margin-right: 8px;
        margin-bottom: 0;
        writing-mode: horizontal-tb;
    }

    .nexia__section3-step-number-label-css-sp .nexia__section3-step-number-label-text {
        font-size: 24px;
        writing-mode: horizontal-tb;
        white-space: normal;
    }

    /* スマホ用の画像を表示 */
    .nexia__section3-step-image-wrapper-sp {
        display: flex;
        width: 100%;
        justify-content: center;
    }

    /* 注意書きスタイル（SPサイズ） */
    .nexia__section3-step-note {
        margin-top: 20px;
    }

    .nexia__section3-step-note-title {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .nexia__section3-step-note-item {
        font-size: 12px;
        margin-bottom: 6px;
    }
}

/* ============================================
   Section 4: Profile Template
   ============================================ */
.nexia__section4 {
    background-color: #ffffff;
    padding-top: 80px;
    padding-bottom: 80px;
    color: #2f333d;
}

.nexia__section4-container {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 16px;
}

.nexia__section4-header {
    position: relative;
    margin-bottom: 80px;
}

.nexia__section4-label {
    position: relative;
    margin-bottom: 16px;
    margin-left: -16px;
    margin-right: -16px;
    padding-left: 16px;
    padding-right: 16px;
    padding-bottom: 8px;
}

.nexia__section4-label-text {
    position: relative;
    z-index: 1;
    display: inline-block;
    font-size: 24px;
    font-weight: 500;
    color: #666666;
    background-color: #ffffff;
    padding-left: 24px;
}

.nexia__section4-label-text::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 100%;
    width: 100vw;
    height: 20px;
    background-color: #000000;
    transform: translateY(-50%);
}

.nexia__section4-label::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 100%;
    height: 1px;
    background-color: #000000;
    transition: right 1.2s ease-out;
}

.nexia__section4-label.is-visible::after {
    right: calc(50% - 50vw);
}

.nexia__section4-title {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
    color: #e0e0e0;
}

.nexia__section4-intro {
    font-size: 18px;
    line-height: 1.8;
    color: #ffffff;
}

.nexia__section4-text {
    font-size: 16px;
    line-height: 1.9;
    color: #333333;
    margin-top: 16px;
}

/* Profile Template Grid */
.nexia__section4-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.nexia__section4-text-bottom {
    margin-top: 40px;
    margin-bottom: 0;
}

.nexia__section4-card {
    line-height: 0;
    position: relative;
    overflow: visible;
}

.nexia__section4-card img {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 1;
}

/* Pricing Button */
.nexia__section4-button-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 60px;
    width: 100%;
}

.nexia__section4-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 70px;
    background: linear-gradient(135deg, #2bc58a 0%, #1f8f68 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 38px;
    color: #ffffff;
    text-decoration: none;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 0.2em;
    box-shadow: 0 10px 24px rgba(15, 40, 32, 0.45);
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}

.nexia__section4-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(15, 40, 32, 0.55);
    filter: brightness(1.05);
}

@media (min-width: 768px) {
    .nexia__section4-title {
        font-size: 80px;
    }

    .nexia__section4-text {
        font-size: 18px;
    }

    .nexia__section4-grid {
        gap: 16px;
    }
}

@media (max-width: 767px) {
    .nexia__section4-title {
        font-size: 36px;
    }

    .nexia__section4-text {
        font-size: 14px;
    }

    .nexia__section4-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

/* ============================================
   Section 5: Pricing
   ============================================ */
.nexia__section5 {
    background-image: url("section5/section5-background.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #000000;
    padding-top: 80px;
    padding-bottom: 80px;
    color: #ffffff;
}

.nexia__section5-container {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 16px;
}

.nexia__section5-header {
    position: relative;
    margin-bottom: 80px;
}

.nexia__section5-label {
    position: relative;
    margin-bottom: 16px;
    margin-left: -16px;
    margin-right: -16px;
    padding-left: 16px;
    padding-right: 16px;
    padding-bottom: 8px;
}

.nexia__section5-label-text {
    position: relative;
    z-index: 1;
    display: inline-block;
    font-size: 24px;
    font-weight: 500;
    color: #ffffff;
    background-color: transparent;
    padding-left: 24px;
}

.nexia__section5-label-text::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 100%;
    width: 100vw;
    height: 20px;
    background-color: #d9d9d9;
    transform: translateY(-50%);
}

.nexia__section5-label::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 100%;
    height: 1px;
    background-color: #d9d9d9;
    transition: right 1.2s ease-out;
}

.nexia__section5-label.is-visible::after {
    right: calc(50% - 50vw);
}

.nexia__section5-title {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
    color: #4b4b4b;
}

.nexia__section5-intro {
    font-size: 18px;
    line-height: 1.8;
    color: #ffffff;
}

.nexia__section5-text {
    font-size: 16px;
    line-height: 1.9;
    color: #ffffff;
    margin-top: 12px;
}

/* Pricing Images */
.nexia__section5-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    width: 100%;
}

.nexia__section5-image-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
}

.nexia__section5-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.nexia__section5-image-top {
    margin-bottom: 0;
}

.nexia__section5-image-bottom {
    margin-top: 0;
}

/* Pricing Button */
.nexia__section5-button-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 60px;
    width: 100%;
}

.nexia__section5-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 70px;
    background: linear-gradient(135deg, #2bc58a 0%, #1f8f68 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 38px;
    color: #ffffff;
    text-decoration: none;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 0.2em;
    box-shadow: 0 10px 24px rgba(15, 40, 32, 0.45);
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}

.nexia__section5-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(15, 40, 32, 0.55);
    filter: brightness(1.05);
}

@media (min-width: 768px) {
    .nexia__section5-title {
        font-size: 80px;
    }

    .nexia__section5-intro {
        font-weight: 700;
        font-size: 32px;
    }

    .nexia__section5-text {
        font-size: 18px;
    }

    .nexia__section5-content {
        gap: 60px;
    }

    .nexia__section5-button-wrapper {
        margin-top: 80px;
    }
}

@media (max-width: 767px) {
    .nexia__section5-title {
        font-size: 36px;
    }

    .nexia__section5-intro {
        font-size: 16px;
    }

    .nexia__section5-text {
        font-size: 14px;
    }

    .nexia__section5-content {
        gap: 30px;
    }

    .nexia__section5-button-wrapper {
        margin-top: 40px;
    }

    .nexia__section5-btn {
        padding: 12px 24px;
        font-size: 16px;
    }
}

.nexia__hero-container {
    width: 100%;
    margin: 0 auto 0 auto;
}

.nexia__hero-content {
    width: 100%;
    height: calc(100vh - 73px);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hero Text Content */
.nexia__hero-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    color: #ffffff;
    pointer-events: none;
}

.nexia__hero-text a,
.nexia__hero-text button {
    pointer-events: auto;
}

.nexia__hero-heading {
    position: absolute;
    top: 22%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 960px;
    padding: 0 16px;
    text-align: left;
    box-sizing: border-box;
}

.nexia__hero-title {
    font-size: 48px;
    line-height: 1.4;
    font-weight: 700;
    margin-bottom: 24px;
    color: #ffffff;
    letter-spacing: 0.2em;
    text-shadow: #000000b3 1px 0 10px;
}

.nexia__hero-subtitle {
    font-size: 48px;
    line-height: 1.4;
    font-weight: 700;
    margin-bottom: 0;
    color: #ffffff;
    text-shadow: #000000b3 1px 0 10px;
}

/* PCサイズでの調整 */
@media (min-width: 768px) {
    .nexia__hero-heading {
        max-width: 1200px;
    }

    .nexia__hero-subtitle {
        white-space: nowrap;
    }
}

.nexia__hero-description-wrapper {
    position: absolute;
    top: calc(50% + 65px);
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 960px;
    padding: 0 16px;
    text-align: center;
}

.nexia__hero-description {
    font-size: 24px;
    line-height: 1.5;
    margin-bottom: 8px;
    color: #ffffff;
    opacity: 0;
    transform: translateY(12px);
    animation: nexia-hero-fade-in 0.8s ease forwards;
}

.nexia__hero-description:nth-of-type(2) {
    animation-delay: 0.2s;
}

.nexia__hero-btn {
    position: absolute;
    top: calc(50% + 220px);
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 70px;
    background: linear-gradient(135deg, #2bc58a 0%, #1f8f68 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 38px;
    color: #ffffff;
    text-decoration: none;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 0.2em;
    box-shadow: 0 10px 24px rgba(15, 40, 32, 0.45);
    opacity: 0;
    animation: nexia-hero-btn-fade-in 0.8s ease forwards;
    animation-delay: 0.6s;
}

.nexia__hero-btn:hover {
    transform: translateX(-50%) translateY(-2px);
    box-shadow: 0 16px 32px rgba(15, 40, 32, 0.55);
    filter: brightness(1.05);
}

/* ScrollDown Indicator */
.nexia__hero-scroll-down {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(50%);
    z-index: 100;
    text-align: center;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.nexia__hero-scroll-down-text {
    font-size: 12px;
    font-weight: 500;
    display: block;
    text-transform: uppercase;
    color: #000000;
    letter-spacing: 0.24em;
    opacity: 0.85;
}

.nexia__hero-scroll-down-dots {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.nexia__hero-scroll-down-dot {
    width: 6px;
    height: 6px;
    background-color: #000000;
    border-radius: 50%;
    display: block;
    opacity: 0.2;
    animation: nexia-scroll-dots 1.5s ease-in-out infinite;
}

.nexia__hero-scroll-down-dot:nth-child(1) {
    animation-delay: 0s;
}

.nexia__hero-scroll-down-dot:nth-child(2) {
    animation-delay: 0.12s;
}

.nexia__hero-scroll-down-dot:nth-child(3) {
    animation-delay: 0.24s;
}

.nexia__hero-scroll-down-dot:nth-child(4) {
    animation-delay: 0.36s;
}

.nexia__hero-scroll-down-dot:nth-child(5) {
    animation-delay: 0.48s;
}

.nexia__hero-scroll-down-dot:nth-child(6) {
    animation-delay: 0.60s;
}

.nexia__hero-scroll-down-dot:nth-child(7) {
    animation-delay: 0.72s;
}

.nexia__hero-scroll-down-dot:nth-child(8) {
    animation-delay: 0.84s;
}

@keyframes nexia-scroll-dots {
    0% {
        opacity: 0.1;
        transform: translateY(-6px);
    }
    30% {
        opacity: 1;
        transform: translateY(0);
    }
    70% {
        opacity: 0.1;
        transform: translateY(10px);
    }
    100% {
        opacity: 0.1;
        transform: translateY(10px);
    }
}

@keyframes nexia-hero-fade-in {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes nexia-hero-btn-fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nexia__hero-description {
        opacity: 1;
        transform: none;
        animation: none;
    }

    .nexia__hero-btn {
        opacity: 1;
        animation: none;
    }

    .nexia__fade-in {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Hero Slider (Background) */
.nexia__hero-slider {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 1;
}

/* Hero Fixed Foreground Image */
.nexia__hero-fixed-image {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    pointer-events: none;
    /* スマホ時の位置調整用変数 */
    --hero-fixed-image-position-x: 50%; /* 横位置（デフォルト: center） */
    --hero-fixed-image-position-y: center; /* 縦位置（デフォルト: center） */
}

.nexia__hero-fixed-image-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: var(--hero-fixed-image-position-x, center) var(--hero-fixed-image-position-y, center);
}

/* PC用画像（デフォルトで表示） */
.nexia__hero-fixed-image-img-pc {
    display: block;
}

/* スマホ用画像（デフォルトで非表示） */
.nexia__hero-fixed-image-img-sp {
    display: none;
}

.nexia__hero-slider-track {
    display: flex;
    width: 400%;
    height: 100%;
    transition: transform 0.8s ease-in-out;
}

.nexia__hero-slider-track[data-slide="0"] {
    transform: translateX(0);
}

.nexia__hero-slider-track[data-slide="1"] {
    transform: translateX(-25%);
}

.nexia__hero-slider-track[data-slide="2"] {
    transform: translateX(-50%);
}

.nexia__hero-slider-track[data-slide="3"] {
    transform: translateX(-75%);
}

.nexia__hero-slider-track[data-slide="reset"] {
    transition: none;
    transform: translateX(0);
}

.nexia__hero-image {
    width: 25%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    flex-shrink: 0;
}

/* SPサイズの調整 */
@media (max-width: 767px) {
    .nexia__hero-text {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 0 16px;
        gap: 12px;
    }

    .nexia__hero-heading {
        position: static;
        transform: none;
        width: 100%;
        max-width: 100%;
        padding: 0;
        text-align: center;
        margin-bottom: 80px;
    }

    .nexia__hero-title {
        font-size: 20px;
        margin-bottom: 16px;
    }

    .nexia__hero-subtitle {
        font-size: 17px;
    }

    .nexia__hero-description-wrapper {
        position: static;
        transform: none;
        width: 100%;
        max-width: 100%;
        padding: 0;
        margin-bottom: 64px;
    }

    .nexia__hero-description {
        font-size: 16px;
    }

    .nexia__section1-feature-image {
        width: 100%;
        height: auto;
        min-height: 300px;
    }

    .nexia__section1-feature-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .nexia__hero-btn {
        position: static;
        transform: none;
        padding: 12px 24px;
        font-size: 16px;
    }

    .nexia__hero-btn:hover {
        transform: translateY(-2px);
    }

    .nexia__hero-slider {
        height: 100%;
    }

    .nexia__hero-image {
        width: 25%;
        height: 100%;
        object-position: 70% center;
    }

    /* スマホ時の固定画像の切り替え */
    /* PC用画像を非表示 */
    .nexia__hero-fixed-image-img-pc {
        display: none;
    }
    
    /* スマホ用画像を表示 */
    .nexia__hero-fixed-image-img-sp {
        display: block;
    }
    
    /* スマホ時の固定画像（hero-foreground-mobile.png）の位置調整 */
    .nexia__hero-fixed-image {
        /* 右側に表示する場合、横位置の値を大きくします */
        /* デフォルト: 50% (center), 値を大きくすると右側に移動 */
        /* 例: 60% = 少し右、70% = もっと右、80% = さらに右、90% = かなり右 */
        /* パーセンテージの代わりに、calc() を使って1px単位で調整も可能 */
        /* 例: calc(50% + 50px) = 中央から50px右、calc(50% + 100px) = 中央から100px右 */
        --hero-fixed-image-position-x: 60%;
        --hero-fixed-image-position-y: center;
    }
    
    /* 1px単位で調整したい場合は、以下のようにcalc()を使用してください */
    /* --hero-fixed-image-position-x: calc(50% + 100px); */ /* 中央から100px右 */
}

/* ============================================
    Footer
   ============================================ */
.nexia__footer {
    background-color: #222222;
    color: #ffffff;
    padding: 0;
    width: 100%;
}

/* Footer Header */
.nexia__footer-header {
    background-color: #4b4b4b;
    width: 100%;
    padding: 16px 0;
}

.nexia__footer-header-container {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 50px;
    box-sizing: border-box;
}

.nexia__footer-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nexia__footer-header-text {
    font-size: 24px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.05em;
}

.nexia__footer-header-scroll-top {
    color: #ffffff;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    transition: opacity 0.3s ease;
}

.nexia__footer-header-scroll-top:hover {
    opacity: 0.7;
}

.nexia__footer-header-scroll-top svg {
    width: 30px;
    height: 30px;
}

.nexia__footer-container {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    padding: 60px 50px 60px;
    box-sizing: border-box;
}

.nexia__footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

/* Logo */
.nexia__footer-logo {
    flex: 0 0 auto;
    margin-bottom: 0;
}

.nexia__footer-logo-image {
    height: 60px;
    width: auto;
    display: block;
}

/* Links */
.nexia__footer-links {
    /* display: flex; */
    gap: 80px;
    flex: 0 0 auto;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.nexia__footer-links-column {
    flex: 0 0 auto;
}

.nexia__footer-links-title {
    font-size: 21px;
    font-weight: 600;
    color: #777777;
    margin-bottom: 20px;
    line-height: 1.5;
}

.nexia__footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nexia__footer-links-list li {
    margin-bottom: 6px;
}

.nexia__footer-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    line-height: 1.4;
    transition: opacity 0.3s ease;
    display: inline-block;
}

.nexia__footer-link:hover {
    opacity: 0.7;
}

.nexia__footer-social,
.nexia__footer-cta {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: center;
}

/* Separator Line */
.nexia__footer-separator {
    width: 100vw;
    height: 1px;
    background-color: #ffffff;
    margin: 30px calc(50% - 50vw) 20px;
}

/* Copyright */
.nexia__footer-copyright {
    text-align: left;
}

.nexia__footer-copyright-text {
    font-size: 14px;
    color: #b0b0b0;
    margin: 0;
    line-height: 1.6;
}

/* SPサイズの調整 */
@media (max-width: 767px) {
    .nexia__footer {
        padding: 0;
    }

    .nexia__footer-header {
        padding: 12px 0;
    }

    .nexia__footer-header-container {
        padding: 0 16px;
    }

    .nexia__footer-header-text {
        font-size: 12px;
    }

    .nexia__footer-header-scroll-top {
        width: 32px;
        height: 32px;
    }

    .nexia__footer-header-scroll-top svg {
        width: 24px;
        height: 24px;
    }

    .nexia__footer-container {
        padding: 40px 16px 40px;
    }

    .nexia__footer-content {
        flex-direction: column;
        margin-bottom: 30px;
        align-items: center;
        gap: 30px;
    }

    .nexia__footer-logo {
        margin-bottom: 0;
    }

    .nexia__footer-logo-image {
        height: 50px;
    }

    .nexia__footer-links {
        flex-direction: row;
        gap: 30px;
        width: 100%;
        justify-content: center;
        align-items: flex-start;
    }

    .nexia__footer-links-column {
        text-align: center;
        margin-bottom: 35px;
    }

    .nexia__footer-links-title {
        font-size: 14px;
        margin-bottom: 16px;
    }

    .nexia__footer-link {
        font-size: 13px;
    }

    .nexia__footer-social,
    .nexia__footer-cta {
        margin-bottom: 25px;
        gap: 16px;
    }

    .nexia__footer-separator {
        width: 100vw;
        margin: 25px calc(50% - 50vw) 15px;
    }

    .nexia__footer-copyright {
        text-align: left;
    }

    .nexia__footer-copyright-text {
        font-size: 12px;
        text-align: center;
    }
}

/* ============================================
   特定商取引法に基づく表記ページ
   ============================================ */
.nexia__sctl-main {
    background-color: #111111;
    min-height: 100vh;
    padding-top: 100px;
    padding-bottom: 80px;
}

.nexia__sctl-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.nexia__sctl-title {
    margin: 0 0 8px 0;
    font-size: 22px;
    font-weight: 700;
    color: #F8F8F8;
    line-height: 1.4;
    text-align: center;
    padding-bottom: 22px;
}

.nexia__sctl-company {
    margin: 0 0 24px 0;
    color: #555655;
    font-size: 13px;
    line-height: 1.8;
}

.nexia__sctl-section {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid #EEEEEE;
}

.nexia__sctl-section:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.nexia__sctl-h2 {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 700;
    color: #F8F8F8;
    line-height: 1.5;
}

.nexia__sctl-dl {
    margin: 0;
}

.nexia__sctl-dt {
    margin: 16px 0 4px 0;
    font-weight: 700;
    font-size: 16px;
    color: #F8F8F8;
    line-height: 1.8;
}

.nexia__sctl-dt:first-child {
    margin-top: 0;
}

.nexia__sctl-dd {
    margin: 0;
    font-size: 16px;
    color: #CCCCCC;
    line-height: 1.8;
}

.nexia__sctl-dd-sub {
    color: #555655;
}

.nexia__sctl-link {
    color: #0b66e4;
    text-decoration: none;
}

.nexia__sctl-link:hover {
    text-decoration: underline;
}

.nexia__sctl-monospace {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.nexia__sctl-list {
    list-style: decimal;
    list-style-position: outside;
    margin: 0;
    padding-left: 24px;
    line-height: 1.8;
}

.nexia__sctl-list li {
    margin-bottom: 12px;
    color: #CCCCCC;
}

.nexia__sctl-list li:last-child {
    margin-bottom: 0;
}

.nexia__sctl-sublist {
    list-style: none;
    margin: 8px 0 0 16px;
    padding: 0;
    line-height: 1.8;
}

.nexia__sctl-sublist li {
    margin-bottom: 4px;
    color: #CCCCCC;
    position: relative;
    padding-left: 0;
}

.nexia__sctl-h3 {
    margin: 20px 0 10px 0;
    font-size: 16px;
    font-weight: 700;
    color: #F8F8F8;
    line-height: 1.5;
}

.nexia__sctl-address {
    margin-top: 16px;
    padding: 16px;
    border: 1px solid #EEEEEE;
    background-color: rgba(248, 248, 248, 0.05);
}

/* PCサイズの調整 */
@media (min-width: 768px) {
    .nexia__sctl-main {
        padding-top: 120px;
        padding-bottom: 100px;
    }

    .nexia__sctl-container {
        padding: 0 50px;
    }

    .nexia__sctl-title {
        font-size: 40px;
        text-align: center;
        padding-bottom: 88px;
    }

    .nexia__sctl-company {
        font-size: 14px;
    }

    .nexia__sctl-h2 {
        font-size: 20px;
    }

    .nexia__sctl-dt {
        font-size: 18px;
    }

    .nexia__sctl-dd {
        font-size: 18px;
    }

    .nexia__sctl-h3 {
        font-size: 18px;
    }
}

/* ============================================
   Offcanvas Menu (右側からスライドインするメニュー)
   参考サイト: https://nexia-staging.acti-card.com:8081/mypage/profile/
   ============================================ */
.nexia__offcanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nexia__offcanvas.is-open {
    pointer-events: all;
    opacity: 1;
}

.nexia__offcanvas-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nexia__offcanvas.is-open .nexia__offcanvas-backdrop {
    opacity: 1;
}

/* #main-menu-offcanvas (参考サイトと同じ構造) */
#main-menu-offcanvas {
    position: fixed;
    top: 0;
    right: 0;
    width: 320px;
    max-width: 90vw;
    height: 100%;
    background-color: #1a1a1a;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    color: #e1e1e1;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.3);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    z-index: 10000;
}

.nexia__offcanvas.is-open #main-menu-offcanvas {
    transform: translateX(0);
}

/* Offcanvas Header */
#main-menu-offcanvas .offcanvas-header {
    position: absolute;
    top: 0;
    width: 98%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    z-index: 1;
}

#main-menu-offcanvas .offcanvas-header h2 {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

#main-menu-offcanvas .btn-close {
    width: 40px;
    height: 40px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    filter: invert(1) grayscale(100%) brightness(200%);
    opacity: 1;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 1em;
}

#main-menu-offcanvas .btn-close:hover {
    opacity: 0.75;
}

/* Offcanvas Body */
#main-menu-offcanvas .offcanvas-body {
    width: 320px;
    height: calc(100vh - 60px);
    padding: 0;
    overflow-y: auto;
    margin-top: 60px; /* ヘッダーの高さ分の余白 */
    display: flex;
    flex-direction: column;
}

/* Menu Header */
#main-menu-offcanvas .menu-header {
    display: block;
    margin: 0;
    padding: 80px 20px 20px 20px;
    text-align: center;
}

#main-menu-offcanvas .menu-header a {
    color: #fff;
    text-decoration: none;
}

#main-menu-offcanvas .menu-header-icon {
    text-align: center;
    margin: 0 0 20px 0;
}

#main-menu-offcanvas .menu-header-icon img {
    display: inline-block;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

#main-menu-offcanvas .menu-header-name {
    position: relative;
    text-align: center;
    margin: 0;
}

#main-menu-offcanvas .menu-header-name.guest-content .btn {
    display: inline-block;
    background-color: #4A4A4A;
    color: #fff;
    letter-spacing: 0;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#main-menu-offcanvas .menu-header-name.guest-content .btn:hover {
    background-color: #5A5A5A;
}

#main-menu-offcanvas .menu-header-name.member-content .me-nickname {
    color: #fff;
}

#main-menu-offcanvas .menu-header-name.member-content .acti-id {
    display: block;
    font-size: 12px;
    margin-top: 5px;
    letter-spacing: 0.2em;
    color: #777;
}

/* Nav Menu */
#main-menu-offcanvas .nav-menu {
    margin-top: 120px;
    margin-bottom: 0;
    padding: 0 20px;
}

#main-menu-offcanvas .nav-menu .menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

#main-menu-offcanvas .nav-menu .menu-list li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#main-menu-offcanvas .nav-menu .menu-list li:last-child {
    border-bottom: none;
}

#main-menu-offcanvas .nav-menu .menu-list li a {
    display: flex;
    align-items: center;
    padding: 16px 0;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: color 0.3s ease;
}

#main-menu-offcanvas .nav-menu .menu-list li a:hover {
    color: #ffffff;
}

#main-menu-offcanvas .nav-menu .menu-list li a svg {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    flex-shrink: 0;
}

#main-menu-offcanvas .nav-menu .menu-list li a span {
    flex: 1;
}

/* Menu Footer */
#main-menu-offcanvas .menu-footer {
    margin-top: auto;
    padding: 0 20px 20px 20px;
}

#main-menu-offcanvas .menu-footer .btn-purchase {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background-color: #28a745;
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

#main-menu-offcanvas .menu-footer .btn-purchase:hover {
    background-color: #218838;
    color: #ffffff;
}

#main-menu-offcanvas .menu-footer .btn-purchase svg {
    width: 30px;
    height: 30px;
    margin-right: 8px;
    flex-shrink: 0;
}

/* スマホサイズの調整 */
@media (max-width: 767px) {
    .nexia__header-menu-toggle {
        width: 32px;
        height: 32px;
        margin-left: 12px;
    }

    .nexia__header-menu-toggle::before {
        width: 20px;
        box-shadow: 
            0 -5px 0 0 #ffffff,
            0 5px 0 0 #ffffff;
    }

    /* Offcanvas Body - スクロールを無効化 */
    #main-menu-offcanvas .offcanvas-body {
        overflow-y: hidden;
        height: calc(100vh - 60px);
    }

    /* Menu Header - paddingを狭める */
    #main-menu-offcanvas .menu-header {
        padding: 36px 15px 15px 15px;
    }

    /* ユーザーアイコン - サイズを小さく */
    #main-menu-offcanvas .menu-header-icon {
        margin: 0 0 20px 0;
    }

    #main-menu-offcanvas .menu-header-icon img {
        width: 100px;
        height: 100px;
    }

    /* ログインボタン - paddingとフォントサイズを小さく */
    #main-menu-offcanvas .menu-header-name.guest-content .btn {
        padding: 10px 18px;
        font-size: 13px;
    }

    /* Nav Menu - paddingを狭める、margin-topを大きくして下に配置、margin-bottomを0に */
    #main-menu-offcanvas .nav-menu {
        margin-top: 18px;
        margin-bottom: 0;
        padding: 0 15px;
    }

    /* メニュー項目 - paddingとフォントサイズを小さく */
    #main-menu-offcanvas .nav-menu .menu-list li a {
        padding: 12px 0;
        font-size: 14px;
    }

    /* アイコンサイズを小さく */
    #main-menu-offcanvas .nav-menu .menu-list li a svg {
        width: 24px;
        height: 24px;
        margin-right: 10px;
    }

    /* Menu Footer - paddingを狭める、上側を0に、下に配置 */
    #main-menu-offcanvas .menu-footer {
        margin-top: auto;
        padding: 0 15px 15px 15px;
    }

    /* 購入ボタン - paddingとフォントサイズを小さく */
    #main-menu-offcanvas .menu-footer .btn-purchase {
        padding: 12px 18px;
        font-size: 16px;
    }

    /* 購入ボタンのアイコンサイズを小さく */
    #main-menu-offcanvas .menu-footer .btn-purchase svg {
        width: 30px;
        height: 30px;
        margin-right: 6px;
    }

    /* Offcanvas Header - paddingを狭める */
    #main-menu-offcanvas .offcanvas-header {
        padding: 15px;
    }

    #main-menu-offcanvas .offcanvas-header h2 {
        font-size: 18px;
    }
}