/*
Theme Name: Systems-AI
Theme URI: https://restructure-ai.systems-inc.co.jp/
*/


/* COMMON -------------------------------- */


body {
    font-family: "Noto Sans JP", sans-serif;
    color: #12152F;
}

body.no-scroll {
    overflow: hidden;
    height: 100vh;
    position: fixed;
    width: 100%;
}

.menu-overlay {
    position: fixed;
    inset: 0;
    background: #000d2fa1;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 900;
}

body.no-scroll .menu-overlay {
    opacity: 1;
    visibility: visible;
}

main {
    overflow: hidden;
}

html {
    scroll-behavior: smooth;
}


/* HEADER -------------------------------- */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #FFFFFFCC;
    transition: transform .4s ease, opacity .4s ease, background-color .3s ease, backdrop-filter .3s ease;
    opacity: 1;

}

body.no-scroll .site-header {
    background-color: transparent;
    backdrop-filter: none;
    box-shadow: none;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 60px;
    max-width: 1440px;
    margin: 0 auto;
}

.header-logo img {
    height: 40px;
    width: auto;
    transition: filter 0.3s ease;
}

.header-logo.white-logo img {
    filter: brightness(0) invert(1);
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-cta .btn-black {
    padding-left: 30px;
}


.header-cta .btn-blue {
    padding-left: 50px;
    gap: 30px;
}

header.header--hidden {
    transform: translateY(-100%);
    opacity: 0;
}

/* Buttons */
[class$="btn-"],
[class*="btn-"] {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 20px;
    justify-content: center;
    padding: 15px 20px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .3s ease, transform .3s ease, box-shadow .3s ease;
}

[class$="btn-"]::before,
[class*="btn-"]::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(90deg, #7B00FF 0%, #C0D2FF 100%);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity .35s ease;
    pointer-events: none;
}

[class$="btn-"]::after,
[class*="btn-"]::after {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: 4px;
    background: linear-gradient(90deg, #7B00FF 0%, #C0D2FF 100%);
    opacity: 0;
    transition: opacity .35s ease;
    z-index: -1;
}

[class$="btn-"]>*,
[class*="btn-"]>* {
    position: relative;
    z-index: 1;
}

[class*="btn-"].btn-black::before,
[class*="btn-"].btn-black::after {
    background: white;
}


[class*="btn-"].btn-black.white-border::before,
[class*="btn-"].btn-black.white-border::after {
    background: white;
}

@media (hover: hover) and (pointer: fine) {

    [class$="btn-"]:hover,
    [class*="btn-"]:hover {
        transform: translateY(-1px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, .18);
        background-color: transparent !important;
        border-color: transparent;
        color: #fff;
    }

    [class$="btn-"]:hover::before,
    [class*="btn-"]:hover::before {
        opacity: 1;
    }

    [class$="btn-"]:hover::after,
    [class*="btn-"]:hover::after {
        opacity: 1;
    }

    [class$="btn-"]:hover .square,
    [class*="btn-"]:hover .square {
        background: transparent;
        border-color: #fff;
        filter: none;
    }

    .btn-black:hover,
    .btn-blue:hover {
        color: #fff;
        background-color: transparent;
    }

    [class*="btn-"].btn-black:hover {
        background-color: transparent;
        border-color: transparent;
        color: #fff;
    }

    [class*="btn-"].btn-black:hover::after {
        background: linear-gradient(90deg, #000000 -13.66%, #7B00FF 80.23%);
        opacity: 1;
    }

    [class*="btn-"].btn-black:hover::before {
        background: linear-gradient(90deg, #000000 -13.66%, #7B00FF 80.23%);
        opacity: 1;
    }
}

/* ---- Variants ---- */

/* Black */
.btn-black {
    background: #000;
    color: #fff;
    border-color: #000;
}

.btn-black.white-border {
    background: transparent !important;
    border-color: #fff !important;
    color: #fff;
}

/* Blue */
.btn-blue {
    background: #3849FF;
    color: #fff;
    border-color: #3849FF;
    margin-right: 30px;
}

.square {
    width: 6px;
    height: 6px;
    display: inline-block;
    background: #fff;
    border-radius: 2px;
    box-sizing: content-box;
}

.btn-black.white-border::before {
    background: white;
    opacity: 1;
}

@media (hover: hover) and (pointer: fine) {
    .btn-black.white-border:hover::before {
        background: inherit;
        opacity: 0;
    }
}

.btn-black .square {
    border: 6px solid #666666;
}

.btn-blue .square {
    border: 6px solid #8892FF;
}


/* Hamburger */
.hamburger {
    height: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: none;
    border: 0;
    cursor: pointer;
    padding: 0;
    position: relative;
    z-index: 1001;
}

.hamburger .bar {
    height: 2px;
    width: 50px;
    background: linear-gradient(90deg, #000000 0%, #7371FF 100%);
    transition: all 0.35s ease;
    transform-origin: center;
    border-radius: 5px;
}

.hamburger.active .bar {
    background: #fff;
}

.hamburger.active .bar:nth-child(1) {
    transform: rotate(25deg) translateY(10px);
}

.hamburger.active .bar:nth-child(2) {
    transform: rotate(-25deg) translateY(-10px);
}

.menu-panel {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    max-height: 400px;
    background: url(./assets/images/menu-bg.png) bottom right / cover no-repeat;
    overflow: hidden;
    z-index: 999;
    transform: translateY(-100%);
    transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
    padding: 130px 60px 50px;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: auto;
}

.menu-panel.active {
    transform: translateY(0);
}

.menu-inner {
    max-width: 1120px;
    margin: 0 auto;
}

.menu-links {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px 65px;
}

.menu-links li {
    position: relative;
    max-width: 230px;
}

.menu-links a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    border-bottom: 1px solid #615974;
    padding-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: border-color 0.3s ease;
    justify-content: space-between;
}

@media (hover: hover) and (pointer: fine) {

    .menu-links a:hover {
        border-bottom-color: #5d73ff;
    }
}

.menu-links a::after {
    content: "";
    width: 4px;
    height: 4px;
    background: white;
    border: 4px solid #6673FF;
    flex-shrink: 0;
    border-radius: 1px;
    box-sizing: content-box;
}

.menu-footer {
    padding-top: 80px;
    display: flex;
    justify-content: flex-end;
}

/* Demo content */
.demo-content {
    padding: 60px 80px;
    max-width: 1440px;
    margin: 0 auto;
}

/* Responsive */
@media (min-width: 768px) and (max-width: 1023px) {

    .header-inner {
        padding: 15px 20px;
    }


    [class$="btn-"],
    [class*="btn-"] {
        padding: 10px 15px;
        font-size: 14px;
        gap: 10px;
    }

    .menu-panel {
        max-height: none;
    }

    .menu-inner {
        padding: 20px 40px 30px;
    }

    .menu-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px 40px;
    }

    .menu-links a {
        font-size: 14px;
    }

}

@media (max-width: 767px) {
    .header-inner {
        padding: 20px;
    }

    .header-cta .btn-blue {
        gap: 10px;
        padding-left: 15px;
    }

    .header-logo img {
        height: 35px;
    }

    [class$="btn-"],
    [class*="btn-"] {
        padding: 10px 15px;
        border-radius: 5px;
        font-size: 12px;
    }

    .square {
        width: 3px;
        height: 3px;
    }

    .btn-blue .square {
        border: 3px solid #8892FF;
    }

    .hamburger {
        height: 15px;
    }

    .hamburger .bar {
        width: 30px;

    }

    .hamburger.active .bar:nth-child(1) {
        transform: rotate(30deg) translateY(5px);
    }

    .header-cta {

        gap: 20px;
    }

    .btn-blue {
        margin-right: 0;
    }

    .menu-panel {
        height: 100vh;
        max-height: 100vh;
        background: url(./assets/images/menu-sp-bg.png) bottom right / cover no-repeat;
        padding: 130px 50px 50px;
    }


    .menu-links li {
        max-width: 100%;
    }

    .menu-links a {
        font-size: 14px;
    }

    .menu-footer {
        display: none;
    }

    .menu-links {
        list-style: none;
        display: flex;
        gap: 20px;
        flex-direction: column;
        width: 100%;
    }

    .header-cta.bottom .btn-black.sp-only {
        width: 100%;
        margin-top: 50px;
        font-size: 14px;
        padding: 15px 15px 15px 35px;
        border: 1px solid white;
        display: flex;
        align-items: center;

    }

    .header-cta.bottom .btn-black.sp-only .square {
        width: 5px;
        height: 5px;
        border: 5px solid #666666;
    }
}


/* ===== Base section spacing ===== */
.block {
    padding: clamp(60px, 7vw, 80px) 0 clamp(80px, 12vw, 150px);
}

.block2 {
    padding: clamp(60px, 7vw, 80px) 0 0 0;
}

.fv-issues-bg {
    /* swap to your path(s) */
    background-image: url("./assets/images/first-bg.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center top;
    position: relative;
}


.fv {
    background: transparent;
}

.issues {
    background: transparent;
    padding-bottom: 100px;
}

:root {
    --container-w: min(1000px, 92vw);
}

.container {
    width: var(--container-w);
    margin-inline: auto;
}


/* ===================== First View ===================== */
.fv {
    position: relative;
}

.fv.block {
    padding-bottom: 70px;
}

.issues__wrap {
    width: var(--container-w);
    margin-inline: auto;
}

.fv__grid {
    width: var(--container-w);
    margin-inline: auto;
    display: flex;
    justify-content: space-between;
    gap: clamp(40px, 5vw, 70px);
    margin-top: 30px;
}

.fv__text {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: flex-end;
}

.fv__visual {
    position: relative;
    overflow: hidden;
    flex: 1 1 auto;
    height: clamp(420px, 50vw, 600px);
    width: 0%;
    margin-right: calc((100vw - var(--container-w)) / -2);
    border-radius: 0;
}

.fv__media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: flex;
}


.fv {
    position: relative;
}

.fv__scroll {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 16px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.fv__scroll .chev {
    width: 26px;
    height: 26px;
    display: block;
    position: relative;
}

.fv__scroll .chev::before {
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    width: 14px;
    height: 14px;
    border-right: 3px solid #6366f1;
    border-bottom: 3px solid #6366f1;
    transform: rotate(45deg) translateY(-2px);
}

.fv__text {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: flex-end;
}

/* Left copy */
.fv__title {
    font-weight: 400;
    line-height: 1.5;
    font-size: clamp(30px, 3.3vw, 50px);
    letter-spacing: -3px;
}

.fv__title .accent {
    color: #4f46e5;
    letter-spacing: 10px;
}


.fv__sub {
    margin-top: clamp(24px, 10vw, 130px);
    font-size: 13px;
    margin-bottom: 20px;
}

.logo-line {
    align-self: end;
}

.fv__cta {
    margin-top: 50px;
}

.fv__visual img {
    width: 100%;
    height: auto;
    display: block;
}

.fv__cta .btn-blue {
    background: #3849FF;
    color: #fff;
    border-color: #3849FF;
    margin-right: 30px;
    position: relative;
    padding: 15px 0px 15px 50px;
    display: inline-flex;
    gap: 30px;
    height: 50px;
}

.fv__cta .btn-blue .square {
    right: 20px;
    margin-left: 30px;
}


@media (min-width: 768px) and (max-width: 1023px) {
    .fv__visual {
        width: min(550px, 45vw);
    }


    .logo-line {
        width: 100%;
    }

    .fv__cta {
        margin-top: 30px;
    }

    .fv__sub.logo-line img {
        height: 50px;
    }
}

@media (max-width: 767px) {

    .fv-issues-bg {
        background-image: url(./assets/images/first-bg-sp.jpg);
    }

    :root {
        --container-w: min(1000px, 90vw);
    }

    .fv.block {
        padding-bottom: 20px;
    }

    .fv__grid {
        flex-direction: column;
        margin-top: 35px;
    }

    .fv__text__wrap {
        width: 100%;
    }

    .fv__title .accent {
        letter-spacing: 5px;
    }

    .fv__visual {
        width: 100%;
        max-height: 335px;
    }

    .fv__sub {
        margin-top: 0;
    }

    .fv__cta.sp-only a {
        height: 55px;
        width: 100%;
        font-size: 16px;
        border-radius: 7px;
        justify-content: center;
        gap: 0;
        position: relative;
        padding-left: 0;
    }

    .fv__cta.sp-only a .square {
        width: 5px;
        height: 5px;
        border: 5px solid #6673FF;
        position: absolute;
        right: 40px;
    }

}


/* ===================== Issues ===================== */
.issues {
    position: relative;
}

.issues__wrap {
    width: min(1000px, 90vw);
    margin-inline: auto;
}

/* eyebrow + title */
.sub__heading {
    margin-bottom: clamp(20px, 3vw, 30px);
}

.sub__eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Avenir';
    font-size: 18px;
    margin-bottom: 30px;
}

.sub__eyebrow .dot {
    width: 5px;
    height: 5px;
    border-radius: 1px;
    background: #524FFF;
    display: inline-block;
    border: 5px solid #B0B1F8;
    box-sizing: content-box;
}

.heading__title {
    font-size: clamp(24px, 35px, 44px);
    font-weight: 500;
    white-space: nowrap;
}

.heading__rule {
    position: relative;
    overflow: visible;
    height: 1px;
    margin: 40px 0;
}


.heading__rule::after {
    content: "";
    position: absolute;
    top: calc(100% + 0px);
    left: 0;
    height: 1px;
    width: 65vw;
    transform: translateX(calc((100vw - var(--container-w)) / -2));
    background: #BCBDFF;
    mask: linear-gradient(to right, black calc(100% - 120px), transparent calc(100% - 120px));
}

.heading__rule::before {
    content: "";
    position: absolute;
    top: calc(100% + 0px);
    right: calc((22vw - var(--container-w)) / -2);
    width: 120px;
    height: 1px;
    background: repeating-linear-gradient(to right, #BCBDFF 0 24px, transparent 24px 36px);
    border-radius: 2px;
}

.heading__rule {
    position: relative;
    width: 100%;
    display: flex;
}



.heading__rule.right::after {
    content: "";
    position: absolute;
    top: calc(100% + 0px);
    right: 0;
    height: 1px;
    width: 1100px;
    background: #BCBDFF;
    -webkit-mask: linear-gradient(to right, transparent 0 120px, black 120px);
    mask: linear-gradient(to right, transparent 0 120px, black 120px);
    z-index: 1;
    transform: translateX(9%);
}

.heading__rule.right::before {
    content: "";
    position: absolute;
    top: calc(100% + 0px);
    left: 50%;
    width: 120px;
    height: 1px;
    background: repeating-linear-gradient(to left, #BCBDFF 0 24px, transparent 24px 36px);
    border-radius: 2px;
    z-index: 2;
    transform: translateX(-285%);
}

/* intro paragraph */
.issues__intro {
    line-height: 1.8;
    font-size: 18px;
    padding: 00px 0 80px 0;
    font-weight: 500;
}

/* grid of cards */
.issues__grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 50px;
    justify-content: space-evenly;
}

.issue-card {
    background: transparent;
    position: relative;
    padding: 10px;
    width: 300px;
    height: 300px;
}

.issue-card::before {
    content: "";
    position: absolute;
    inset: 0px;
    box-shadow: inset 0 0 0 1px #494949;
    pointer-events: none;
}

.issue-card::after {
    content: "";
    position: absolute;
    inset: -10px;
    box-shadow: inset 0 0 0 1px #C1C1C1;
    pointer-events: none;
}

.issue-card__panel {
    position: relative;
    overflow: hidden;
    padding: 30px;
    color: white;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: start;
}

.issue-card.second .issue-card__panel,
.issue-card.third .issue-card__panel {
    justify-content: space-around;
}

.issue-card.second .issue-card__panel .issue-card__text,
.issue-card.third .issue-card__panel .issue-card__text {
    margin-bottom: 30px;
}

.issue-card.first .issue-card__panel {
    background: conic-gradient(from 61.54deg at 50% 40.36%, #000000 0deg, #22086C 185.19deg, #271C45 360deg);
}

.issue-card.second .issue-card__panel {
    background: conic-gradient(from 204.44deg at 57.86% 40.54%, #000000 0deg, #22086C 185.19deg, #271C45 360deg);
}


.issue-card.third .issue-card__panel {
    background: conic-gradient(from -63.81deg at 50% 40.36%, #000000 0deg, #22086C 185.19deg, #271C45 360deg);
}

.issue-card.second {
    margin-top: 50px;
}

/* texts */
.issue-card__title {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.5;
    margin: 0 0 15px;
    text-align: center;
}

.issue-card__text {
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    font-weight: 400;
}

.issue-card__dots {
    --c1: #706EF7;
    --c2: #ffffff;
    --s1: 10px;
    --s: 6px;
    --g: 10px;
    position: absolute;
    right: 30px;
    bottom: 30px;
    width: calc(var(--s1) + var(--g) + var(--s) + var(--g) + var(--s));
    height: var(--s1);
    background:
        linear-gradient(var(--c1), var(--c1)) 0 100% / var(--s1) var(--s1) no-repeat,
        linear-gradient(var(--c2), var(--c2)) calc(var(--s1) + var(--g)) 100% / var(--s) var(--s) no-repeat,
        linear-gradient(var(--c2), var(--c2)) calc(var(--s1) + var(--g) + var(--s) + var(--g)) 100% / var(--s) var(--s) no-repeat;
}

.issue-card__dots.dots--center {
    background:
        linear-gradient(var(--c2), var(--c2)) 0 100% / var(--s) var(--s) no-repeat,
        linear-gradient(var(--c1), var(--c1)) calc(var(--s) + var(--g)) 100% / var(--s1) var(--s1) no-repeat,
        linear-gradient(var(--c2), var(--c2)) calc(var(--s) + var(--g) + var(--s1) + var(--g)) 100% / var(--s) var(--s) no-repeat;
}

.issue-card__dots.dots--right {
    background:
        linear-gradient(var(--c2), var(--c2)) 0 100% / var(--s) var(--s) no-repeat,
        linear-gradient(var(--c2), var(--c2)) calc(var(--s) + var(--g)) 100% / var(--s) var(--s) no-repeat,
        linear-gradient(var(--c1), var(--c1)) calc(var(--s) + var(--g) + var(--s) + var(--g)) 100% / var(--s1) var(--s1) no-repeat;
}

.issues__note {
    width: fit-content;
    margin: 0 auto;
    padding: 30px 15%;
    border-top: 1px solid #6D70FF;
    border-bottom: 1px solid #6D70FF;
    font-weight: 500;
    font-size: clamp(18px, 2vw, 24px);
    text-align: center;
}

.issue-img {
    margin-top: 40px;
    margin: 45px auto 0;
}

.vector {
    margin: 40px auto 0;
}

.pc-br {
    display: inline;
}

.sp-br {
    display: none;
}


@media (min-width: 768px) and (max-width: 1023px) {

    .issues__grid {
        flex-wrap: wrap;
    }

    .issue-card.second {
        margin-top: 0px;
    }

}

@media (max-width: 767px) {
    .sub__eyebrow {
        font-size: 12px;
        gap: 5px;
        margin-bottom: 20px;
    }

    .sub__eyebrow .dot {
        width: 3px;
        height: 3px;
        border: 3px solid #B0B1F8;
    }

    .heading__title {
        font-size: 24px;

    }

    .heading__rule {
        margin: 20px 0 0 0;
    }

    .heading__rule::before {
        background: repeating-linear-gradient(to right, #BCBDFF 0 19px, transparent 19px 35px);
        right: calc((84vw - var(--container-w)) / -3);
        width: 45px;
        top: calc(100% + 0px);
    }

    .heading__rule::after {
        width: 119%;
        transform: translateX(calc((100vw - var(--container-w)) / -2));
        top: calc(100% + 0px);
    }

    .issues__intro {
        padding: 0px 0 30px 0;
        font-size: 16px;
        text-align: justify;
        font-weight: 400;

    }

    .issues__grid {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .issue-card__text {
        font-size: 14px;
    }

    .issue-card__panel {
        padding: 30px 20px 20px 20px;

    }

    .issue-card {
        width: 280px;
        height: 280px;
    }

    .issue-card__dots {
        right: 20px;
        --s1: 8px;
        --s: 5px;
        --g: 7px;
    }

    .issue-img {
        max-width: 240px;
        margin: 50px auto 0;
    }

    .issues__note {
        padding: 30px 0%;
        width: 100%;
    }

    .issues {
        padding-bottom: 90px;
    }


    .issue-card.second {
        margin-top: 0px;
    }
}

/* ===================== Solution ===================== */

.solution-bg {
    background: url(./assets/images/solution-bg.jpg) top left / cover no-repeat;
    border-radius: 0 50px 0 0;
    margin-top: -50px;
    z-index: 3;
    position: relative;
}

.features {
    padding-top: 80px;
}

.features .heading__title,
.legacy .heading__title {
    border-bottom: 1px solid #BCBDFF;
    padding-bottom: 30px;
    font-size: 34px;
    display: flex;
    align-items: center;
}

.legacy .heading__title {
    padding-top: 80px;
}

.features .issues__intro {
    padding: 0 0 30px 0;
}

.sol-img-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
}


/* ---------- Layout wrapper---------- */

.point-card {
    position: relative;
    margin: clamp(30px, 3vw, 30px) 0;
    margin-left: 40px;
}

.point-card__inner {
    background: #fff;
    border-radius: 0 10px 10px 10px;
    padding: clamp(20px, 4vw, 40px);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: clamp(20px, 4vw, 40px);
    max-width: 800px;
    height: 305px;
    position: relative;
}

.point-card.right {
    margin-left: 200px;
}


/* ---------- Left vertical tab ---------- */
.point-card__tab {
    position: absolute;
    left: -40px;
    top: 0;
    width: 40px;
    height: 120px;
    background: linear-gradient(0deg, #7371FF 0%, #000000 100%);

    border-radius: 10px 0 0 10px;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.point-card__tab span {
    color: #fff;
    font-weight: 400;
    writing-mode: vertical-rl;
    font-size: 16px;
    font-family: "Avenir";
}

/* ---------- Title + dashed rule ---------- */
.point-card__title {
    font-weight: 600;
    font-size: clamp(18px, 2vw, 22px);
    line-height: 1.5;
    margin: 0 0 20px;
    position: relative;
}

.point-card__title::after {
    content: "";
    display: block;
    height: 1px;
    margin-top: clamp(20px, 1.8vw, 20px);
    background: repeating-linear-gradient(to right, #BCBDFF 0 5px, transparent 2px 10px);
}

/* ---------- Copy ---------- */
.point-card__lead {
    font-size: clamp(14px, 1.5vw, 16px);
    line-height: 1.9;
    margin: 0;
}

.point-card__dots {
    position: absolute;
    bottom: 35px;
    right: 40px;
    --s: 6px;
    --s1: 10px;
    --g: 8px;
    --active: #706EF7;
    --inactive: #BFC6E4;
    --i: 1;

    display: inline-block;
    width: calc(5 * var(--s) + 4 * var(--g));
    height: var(--s1);
    line-height: 0;
    vertical-align: baseline;

    background:
        linear-gradient(var(--active), var(--active)) calc((var(--i) - 1) * (var(--s) + var(--g)) + (var(--s) - var(--s1)) / 2) 100% / var(--s1) var(--s1) no-repeat,

        linear-gradient(var(--inactive), var(--inactive)) 0 100% / var(--s) var(--s) no-repeat,
        linear-gradient(var(--inactive), var(--inactive)) calc(var(--s) + var(--g)) 100% / var(--s) var(--s) no-repeat,
        linear-gradient(var(--inactive), var(--inactive)) calc(2 * (var(--s) + var(--g))) 100% / var(--s) var(--s) no-repeat,
        linear-gradient(var(--inactive), var(--inactive)) calc(3 * (var(--s) + var(--g))) 100% / var(--s) var(--s) no-repeat,
        linear-gradient(var(--inactive), var(--inactive)) calc(4 * (var(--s) + var(--g))) 100% / var(--s) var(--s) no-repeat;
}

.point-card.is-1 .point-card__dots {
    --i: 1;
}

.point-card.is-2 .point-card__dots {
    --i: 2;
}

.point-card.is-3 .point-card__dots {
    --i: 3;
}

.point-card.is-4 .point-card__dots {
    --i: 4;
}

.point-card.is-5 .point-card__dots {
    --i: 5;
}

.feature-img {
    width: 250px;
    height: auto;
}

/* ===== Legacy Flow Section ===== */
.legacy {
    padding-bottom: 150px;
}

.legacy-flow {
    position: relative;
}

.legacy .issues__intro {
    padding: 0 0 50px 0;
}

.legacy-flow__title {
    display: table;
    background: linear-gradient(270deg, #7371FF 0%, #000000 100%);
    color: #fff;
    padding: 10px 30px;
    border-radius: 10px 10px 0 0;
    font-size: 16px;
    font-weight: 500;
}

/* ===== Steps Layout ===== */
.legacy-flow__steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(10px, 4vw, 25px);
    list-style: none;
    padding: 30px;
    margin: 0;
    background: white;
    border-radius: 0 10px 10px 10px;
}

.legacy-step {
    flex: 1 1 0;
    text-align: center;
    position: relative;
}

/* Icon */
.legacy-step__icon {
    width: auto;
    height: 90px;
    margin: 0 0 10px 0;
}

.legacy-step__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Titles and text */
.legacy-step__title {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 10px;
}

.legacy-step__text {
    font-size: 14px;
    line-height: 1.6;
    margin: 0 auto;
    max-width: 300px;
    text-align: justify;
}

#area {
    margin: 50px 0;
}

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

.sub-tit-dot {
    width: 6px;
    height: 6px;
    border-radius: 1px;
    background: #524FFF;
    display: inline-block;
    border: 6px solid #B0B1F8;
    box-sizing: content-box;
    margin: 5px 20px 0 0;
}

.legacy__btn {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.legacy__btn .btn-black {
    height: 45px;
    align-self: flex-end;
    display: flex;
    padding: 15px 30px 15px 40px;

}

.legacy__btn .btn-black .square {
    border-width: 4px;
    width: 4px;
    height: 4px;
}

.solution-img {
    object-fit: fill;
    width: auto;
    max-height: 1000px;
}

@media (min-width: 768px) and (max-width: 1023px) {

    .point-card.right {
        margin-left: 40px;
    }

    .legacy {
        padding-bottom: 100px;
    }

    .heading__rule.right::before {
        transform: translateX(-205%);
    }

    .sol-img-wrap {
        width: 100%;
    }

    .solution-img {
        width: 100%;
    }

}

@media (max-width: 767px) {

    .solution-bg {
        background: url(./assets/images/solution-bg-sp.jpg) top left / cover no-repeat;
    }

    .features {
        padding-top: 40px;
    }

    .heading__rule.right::before {
        transform: translateX(-85%);
        width: 45px;
        left: 13%;
    }

    .heading__rule.right::after {
        transform: translateX(-5%);
    }

    .features .heading__title,
    .legacy .heading__title {
        font-size: 22px;
        padding-bottom: 20px;
    }

    .features .issues__intro.sub {
        font-size: 14px;
        padding: 0 0 10px 0;
    }

    .point-card__inner {
        flex-direction: column;
        height: auto;
        border-radius: 10px;
        padding: 0px 20px 50px 20px;
        position: relative;
    }

    .point-card__inner::after {
        content: "";
        /* display: block; */
        height: 1px;
        margin-top: clamp(34px, 1.8vw, 20px);
        background: repeating-linear-gradient(to right, #BCBDFF 0 5px, transparent 2px 10px);
        position: absolute;
        top: 45px;
        /* z-index: 1; */
        width: 100%;
    }

    .point-card,
    .point-card.right {
        margin-left: 0px;
    }

    .point-card__tab {
        width: 25px;
        height: 80px;
        left: 0;
        z-index: 2;
        border-radius: 10px 0 0 0;

    }

    .point-card__tab span {
        font-size: 12px;
    }

    .point-card__title {
        padding: 0px 20px 15px 35px;
        margin: 0;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        height: 80px;
        padding-top: 15px;
        width: 100%;
    }

    .point-card__title::after {
        display: none;
    }

    .point-card__lead {
        margin-top: 20px;
        text-align: justify;
    }

    .point-card__dots {
        --s: 5px;
        --s1: 8px;
        --g: 7px;
        bottom: 20px;
        right: 20px;
    }

    .legacy .heading__title {
        padding-top: 30px;
    }

    .legacy-flow__steps {
        flex-direction: column;
        padding: 30px 20px;
        gap: 10px;
    }

    .single-vector {
        transform: rotate(90deg);
    }

    .legacy-step {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        gap: 10px;
        align-items: center;
    }

    .legacy-step__icon {
        order: 2;
    }

    .mig-text {
        width: 65%;
    }

    .legacy-step__title {
        text-align: left;
    }

    .legacy-step__icon {
        height: 100px;

    }

    #area {
        margin: 30px 0 0 0;
    }

    .legacy {
        padding-bottom: 80px;
    }

    .sub-tit-dot {
        width: 4px;
        height: 4px;
        border: 4px solid #B0B1F8;
        margin: 5px 10px 0 0;
    }

    .legacy .sub-tit-dot {
        margin-top: -28px;
    }

    .legacy .issues__intro {
        font-size: 14px;
    }


    .legacy__btn {
        justify-content: center;
    }

    .legacy__btn .btn-black {
        height: 45px;
        margin-top: 30px;
        align-self: center;
        display: flex;
        font-size: 14px;
        width: 230px;
        gap: 20px;
    }

    .legacy__btn .btn-black .square {
        width: 4px;
        height: 4px;
        border: 4px solid #666666;
        border-radius: 1px;

    }

    .solution-img {
        max-width: 100%;
    }

}


/* ===================== Contact Section ===================== */

.contact-section {
    height: 260px;
    width: 100%;
    background: url(./assets/images/CTA.png) center right / cover no-repeat;
    color: white;
}

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

.contact-cta-text {
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 500;
    margin-bottom: 40px;
}

.contact-section .btn-blue {
    width: 270px;
    font-size: 20px;
    height: 60px;
    margin-right: 0;
    position: relative;
    padding-right: 40px;
}

.contact-section .btn-blue .square {
    position: absolute;
    right: 30px;
}

@media (max-width: 767px) {

    .contact-section {

        background: url(./assets/images/CTA-sp-2.png) bottom right / cover no-repeat;
    }

    .contact-section {
        padding: 30px 0 30px 0;
    }


    .contact-section .issues__wrap {
        flex-direction: column;

    }

    .contact-cta-text {
        margin-bottom: 0;
    }

    .cta-text-wrap {
        width: 100%;
    }

    .contact-section .btn-blue {
        height: 55px;
        width: 100%;
        align-self: flex-start;
        position: relative;
        font-size: 16px;

    }

    .contact-section .btn-blue .square {
        width: 5px;
        height: 5px;
        border: 5px solid #8892FF;
        position: absolute;
        right: 40px;
        border-radius: 1px;
    }

    .cta-logo-sp {
        align-self: flex-end;

    }
}


/* ===================== Function Section ===================== */
.function {
    background: url(./assets/images/function-bg.jpg) top center / cover no-repeat;
    padding-bottom: 200px;
}

.functions {
    padding-top: 50px;
}

.accordion-item {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 12px;
    background: #fff;
}

.accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    width: 100%;
    padding: 20px 30px;
    background: #fff;
    border: none;
    cursor: pointer;
    font-size: 22px;
    font-weight: 500;
    transition: background 0.3s ease;
}

.accordion-item.active .accordion-header {
    background: #f9f9ff;
}

@media (hover: hover) and (pointer: fine) {
    .accordion-item:hover .accordion-header {
        background: #f7f8ff;
    }
}

.accordion-title {
    flex: 1;
    text-align: left;
}

.accordion-toggle {
    position: relative;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.accordion-toggle .line {
    position: absolute;
    width: 22px;
    height: 1.5px;
    background: #524fff;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.accordion-toggle .line-1 {
    transform: rotate(0deg);
}

.accordion-toggle .line-2 {
    transform: rotate(90deg);
}

.accordion-item.active .accordion-toggle .line-1 {
    transform: rotate(0deg);
}

.accordion-item.active .accordion-toggle .line-2 {
    transform: rotate(0deg);
    opacity: 0;
}

.accordion-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s ease;
    background: #fff;
}

.accordion-item.active .accordion-content {
    grid-template-rows: 1fr;
}

/* Inner */
.accordion-inner {
    overflow: hidden;
    padding: 0 30px;
    opacity: 0;
    transition: opacity 0.3s ease, padding 0.3s ease;
}

.accordion-item.active .accordion-inner {
    padding: 30px 30px 50px;
    opacity: 1;
}

.accordion-image,
.accordion-video {
    width: 100%;
    max-width: 800px;
    margin: 0 auto 30px;
    display: block;
    object-fit: cover;
}

.accordion-points {
    list-style: none;
    margin: 0;
    padding: 16px 0 0;
    border-top: 1px dashed #bcbcff;
}

.accordion-points li {
    position: relative;
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.6;
    font-weight: 400;
}

.accordion-points li:last-child {
    margin-bottom: 0;
}

.func-dot {
    width: 4px;
    height: 4px;
    border-radius: 1px;
    background: #524fff;
    display: inline-block;
    border: 4px solid #b0b1f8;
    box-sizing: content-box;
    margin-right: 15px;
}

@media (max-width: 767px) {
    .function {
        background: url(./assets/images/function-bg-sp.jpg) top center / cover no-repeat;
        padding-bottom: 130px;
    }

    .functions {
        padding-top: 20px;
    }

    .accordion-header {
        padding: 12px 18px;
        gap: 10px;
    }

    .accordion-title {
        font-size: 16px;
    }

    .accordion-icon img {
        width: auto;
        height: 30px;
    }

    .accordion-toggle {
        width: 18px;
        height: 18px;
    }

    .accordion-toggle .line {
        width: 18px;
    }

    .accordion-item.active .accordion-inner {
        padding: 20px;
    }

    .accordion-points li {
        text-indent: -20px;
        margin-left: 20px;
    }

    .func-dot {
        width: 3px;
        height: 3px;
        border: 3px solid #b0b1f8;
        margin-right: 10px;
    }

    .accordion-image,
    .accordion-video {
        margin-bottom: 20px;
    }
}


/* ===================== Case Study Section ===================== */

.case-study {
    background: url(./assets/images/case-study-bg.jpg) top center / cover no-repeat;
    margin-top: -50px;
    z-index: 2;
    position: relative;
    border-radius: 0 50px 0 0;
}

.case-study .heading__rule.right::before,
.case-study .heading__rule.right::after {
    top: calc(100% + 0px);
}

.case-study-intro {
    font-size: 18px;
    line-height: 1.8;
    font-weight: 500;
}

.intro-black {
    font-weight: 500;
    font-size: 26px;
    margin-bottom: 10px;
}

.case {
    position: relative;
    margin: 80px 0 0 40px;
    max-width: 1000px;
    font-family: 'Noto Sans JP', sans-serif;
}

/* ===== Top (Issue) Card ===== */
.case__issue {
    background: #fff;
    border-radius: 0px 10px 10px 10px;
    padding: 40px 40px 80px 40px;
    position: relative;
    z-index: 2;
    max-width: 730px;
}

.case__label {
    position: absolute;
    left: -40px;
    top: 0;
    width: 40px;
    height: 120px;
    background: linear-gradient(0deg, #7371FF 0%, #000000 100%);
    border-radius: 10px 0 0 10px;
    display: grid;
    place-items: center;
    overflow: hidden;
    color: #fff;
    font-weight: 400;
    writing-mode: vertical-rl;
    font-size: 16px;
    font-family: "Avenir";
}

.case__title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 40px;
}

.case__tag-wrap {
    margin-bottom: 25px;
    border-bottom: 1px solid #6D70FF;
    padding: 0 0 10px 10px;
    display: flex;
    align-items: center;
}

.case__tag {
    font-size: 18px;
    font-weight: 600;
}

.tag-issue {
    color: #6D70FF;
    font-weight: 600;
    margin-right: 10px;
    font-size: 14px;
    border-right: 1px solid #6D70FF;
    padding-right: 10px;
}

.case__text {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.8;
}

/* ===== Bottom (Solution) Card ===== */
.case__solution {
    background: #fff;
    border-radius: 0px 10px 10px 10px;
    padding: 40px;
    margin: -5px 0 0 160px;
    position: relative;
    z-index: 0;
    width: 800px;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 30px;
}

img.sol-vector {
    position: absolute;
    top: -50px;
    left: 300px;
}

.solution__title {
    font-size: 22px;
    color: #524FFF;
    font-weight: 700;
    border-bottom: 7px solid transparent;
    border-image: linear-gradient(90deg, #000000 0%, #7371FF 100%);
    border-image-slice: 1;
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-weight: 700;
    width: 100%;
}

.sol-cont-wrap {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    height: 100%;
}

.solution__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    font-size: 16px;
    line-height: 1.8;
    text-align: justify;
}

.solution__illustration img {
    max-width: 280px;
    height: auto;
    display: block;
}

.highlight {
    color: #5E5EEB;
    font-weight: 600;
}

.case {
    position: relative;
}

.case-card__dots {
    --c1: #706EF7;
    --c2: #BFC6E4;
    --s1: 10px;
    --s: 6px;
    --g: 10px;
    position: absolute;
    right: 30px;
    bottom: 30px;
    width: calc(var(--s1) + var(--g) + var(--s) + var(--g) + var(--s));
    height: var(--s1);
    background:
        linear-gradient(var(--c1), var(--c1)) 0 100% / var(--s1) var(--s1) no-repeat,
        linear-gradient(var(--c2), var(--c2)) calc(var(--s1) + var(--g)) 100% / var(--s) var(--s) no-repeat,
        linear-gradient(var(--c2), var(--c2)) calc(var(--s1) + var(--g) + var(--s) + var(--g)) 100% / var(--s) var(--s) no-repeat;
    z-index: 3;
}

.case-card__dots.dots--center {
    background:
        linear-gradient(var(--c2), var(--c2)) 0 100% / var(--s) var(--s) no-repeat,
        linear-gradient(var(--c1), var(--c1)) calc(var(--s) + var(--g)) 100% / var(--s1) var(--s1) no-repeat,
        linear-gradient(var(--c2), var(--c2)) calc(var(--s) + var(--g) + var(--s1) + var(--g)) 100% / var(--s) var(--s) no-repeat;
}

.case-card__dots.dots--right {
    background:
        linear-gradient(var(--c2), var(--c2)) 0 100% / var(--s) var(--s) no-repeat,
        linear-gradient(var(--c2), var(--c2)) calc(var(--s) + var(--g)) 100% / var(--s) var(--s) no-repeat,
        linear-gradient(var(--c1), var(--c1)) calc(var(--s) + var(--g) + var(--s) + var(--g)) 100% / var(--s1) var(--s1) no-repeat;
}


@media (min-width: 768px) and (max-width: 1023px) {

    .case__issue {
        border-radius: 10px 10px 0 0;
    }

    .case__solution {
        flex-wrap: wrap;
        margin: 0 auto;
        width: auto;
        border-radius: 0px 0px 10px 10px;
        justify-content: center;
    }
}




@media (max-width: 767px) {

    .case-study {
        background: url(./assets/images/case-study-bg-sp.jpg) top center / cover no-repeat;
    }

    .intro-black {
        font-size: 18px;

    }

    .case-study-intro {
        font-size: 14px;
        font-weight: 400;
    }

    .case {
        margin: 30px 0 0 0px;
    }

    .case__label {
        left: 0;
        height: 90px;
        width: 25px;
        border-radius: 10px 0 0 0;
        font-size: 12px;
        z-index: 1;
    }

    .case__issue {
        overflow: hidden;
        padding: 0;
        border-radius: 10px 10px 0px 0px;
    }


    .case__issue::after {
        content: "";
        height: 1px;
        margin-top: clamp(34px, 1.8vw, 20px);
        background: repeating-linear-gradient(to right, #BCBDFF 0 5px, transparent 2px 10px);
        position: absolute;
        top: 55px;
        z-index: 0;
        width: 100%;
    }

    .case__title {
        padding: 0;
        font-size: 17px;
        margin-bottom: 20px;
        margin: 20px 20px 0px 41px;
        height: 90px;
    }


    .case__tag-wrap {
        padding: 0 0 10px 0px;
        align-items: center;
        margin: 0 20px 20px 20px;
    }

    .tag-issue {
        color: #6D70FF;
        font-weight: 600;
        margin-right: 0;
        font-size: 14px;
        border-right: none;
        padding-right: 0;
    }

    .case__tag {
        border-left: 1px solid #6D70FF;
        padding-left: 20px;
        margin-left: 10px;
        font-size: 16px;
    }

    .case__text {
        padding: 0 20px 0 20px;
        text-align: justify;
        font-size: 14px;

    }

    /* .case.second .case__issue::after {
        top: 75px;
    }

    .case.second .case__label {
        height: 110px;
    }
*/

    /* .case.second .case__title {
        font-size: 17px;
    }  */


    .case__solution {
        margin: -1px 0 0 0;
        border-radius: 0 0 10px 10px;
        width: 100%;
        flex-direction: column;
        padding: 100px 20px 40px 20px;
    }

    .solution__content p {
        text-align: justify;
        font-size: 14px;
        font-weight: 400;
    }

    .solution__illustration img {
        max-width: 80%;
        margin: 0 auto;
    }

    img.sol-vector {
        top: 30px;
        left: 50%;
        height: 35px;
        transform: translateX(-50%);


    }

    .solution__title {
        font-size: 18px;
        font-weight: 600;
        border-bottom: 4px solid transparent;
        margin-bottom: 10px;
    }

    .case-card__dots {
        --c1: #706EF7;
        --c2: #BFC6E4;
        --s1: 8px;
        --s: 5px;
        --g: 7px;
        position: absolute;
        right: 20px;
        bottom: 20px;
    }

}




/* ===================== News Section ===================== */

.news {
    background: url(./assets/images/news-bg.jpg) top center / cover no-repeat;
}


.news-wrap {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 50px;
}

.news-item {
    display: grid;
    grid-template-columns: 75px 1fr 180px;
    /* date | text | button */
    align-items: center;
    gap: 40px;
}

.news-date {
    font-size: 16px;
    font-weight: 500;
    white-space: nowrap;
}

.news-title {
    font-size: 16px;
    line-height: 1.8;
    font-weight: 400;
    text-align: justify;
}

.button-news {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    border: none;
}

.button-news a::after,
.button-news a::before {
    display: none;
}

.btn-detail {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    background: linear-gradient(90deg, #000000 -13.66%, #000000 80.23%);
    border-radius: 5px;
    padding: 10px 30px 10px 40px;
    text-decoration: none;
    transition: all .3s ease;
}

.div-news {
    width: 100%;
    display: flex;
    justify-content: flex-end;
}


@media (hover: hover) and (pointer: fine) {

    .btn-detail:hover {
        background: linear-gradient(90deg, #000000 -13.66%, #7B00FF 80.23%);
        transform: translateY(-2px);
    }

    .btn-detail:hover .icon-square {
        display: inline-block;
        width: 4px;
        height: 4px;
        background: transparent;
        border: solid 4px white;
        border-radius: 1px;
        box-sizing: content-box;
    }
}

.icon-square {
    display: inline-block;
    width: 4px;
    height: 4px;
    background: #fff;
    border: solid 4px #666666;
    border-radius: 1px;
    box-sizing: content-box;
}

.news .sub__heading {
    margin-bottom: 50px;
}


.news__btn {
    justify-content: center;
    display: flex;
    margin-bottom: 100px;
}

.news__btn .btn-black {
    height: 45px;
    align-self: center;
    display: flex;
    font-size: 16px;
    width: 230px;
    gap: 20px;
}

.news__btn .btn-black .square {
    width: 4px;
    height: 4px;
    border-width: 4px;
    border-radius: 1px;

}

.news-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}


@media (max-width: 767px) {

    .news {
        background: url(./assets/images/news-bg-sp.jpg) top center / cover no-repeat;
    }


    .news-wrap {
        margin-bottom: 40px;
    }


    .news .sub__heading {
        margin-bottom: 40px;
    }

    .news-item {
        display: grid;
        grid-template-columns: 1fr;
        /* single column */
        grid-template-areas:
            "date"
            "title"
            "button";
        gap: 10px;
        padding: 0 0 20px 0;
        border-bottom: 1px solid #BCBDFF;
    }

    .news-date {
        grid-area: date;
        font-size: 14px;
        font-weight: 500;
        line-height: 3;
        line-height: 1.65;
    }

    .news-title {
        line-height: 1.5;
    }

    .news-title-area {
        grid-area: title;
        font-weight: 400;
        font-size: 14px;
    }

    .button-news {
        grid-area: button;
        justify-self: end;
        /* right-align the button */
    }

    .btn-detail {
        max-width: 165px;
        font-size: 14px;
        padding: 10px 20px 10px 40px;
    }


    .news__btn {
        margin-bottom: 80px;
    }

}


/* ===================== Q&A Section ===================== */

.qa-section {
    background: url(./assets/images/qa-bg.png) top center / cover no-repeat;
}


.qa-item {
    border-bottom: 1px solid #BCBDFF;
}

.qa-section .sub__heading {
    margin-bottom: 30px;
}


.qa-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    text-align: left;
}

@media (hover: hover) and (pointer: fine) {
    .qa-question:hover {
        opacity: 0.8;
    }
}

.qa-label {
    display: flex;
    align-items: center;
    gap: 30px;
    flex: 1;
    padding: 40px 0 20px 0;
}

.qa-q,
.qa-a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: conic-gradient(from 48.23deg at 70% 71.29%, #000000 0deg, #262554 118.1deg, #7371FF 360deg);
    color: #fff;
    font-weight: 800;
    width: 42px;
    height: 42px;
    font-size: 20px;
    flex-shrink: 0;
    font-family: 'Avenir';
}

.qa-text,
.qa-answer p {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.8;
    padding-right: 30px;
    text-align: justify;
}

.qa-icon {
    position: relative;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.qa-icon .line {
    position: absolute;
    width: 20px;
    height: 2px;
    background: #524FFF;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.qa-icon .line.h {
    transform: rotate(0deg);
}

.qa-icon .line.v {
    transform: rotate(90deg);
}

.qa-item.active .qa-icon .line.h {
    transform: rotate(0deg);
}

.qa-item.active .qa-icon .line.v {
    transform: rotate(0deg);
    opacity: 0;
}

.qa-answer {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.5s cubic-bezier(0.25, 1, 0.3, 1), opacity 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 30px;
}

.qa-answer.open {
    opacity: 1;
    padding: 10px 0 25px 0;
    display: flex;
    align-items: center;
    box-sizing: content-box;
}

.qa-a-label {
    background: conic-gradient(from 232.96deg at 85.71% 69.05%, #BBE0FF 0deg, #FFFFEA 174.5deg, #A1C8FF 360deg);
    font-weight: 800;
    font-size: 20px;
    flex-shrink: 0;
    font-family: 'Avenir';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
}

.no-qa {
    text-align: center;
    padding: 40px;
    color: #999;
    font-size: 16px;
}


.dot {
    width: 8px;
    height: 8px;
    background: #6a6bff;
    border-radius: 50%;
}


.news.block {
    padding-bottom: 0;
}


@media (min-width: 768px) and (max-width: 1023px) {

    .qa-answer.open {
        padding: 30px 0;
    }
}

@media (max-width: 767px) {
    .qa-section {
        background: url(./assets/images/qa-bg-sp.png) top center / cover no-repeat;

    }

    .qa-text,
    .qa-answer p {
        font-size: 14px;
        padding-right: 20px;
    }

    .qa-q,
    qa-a,
    .qa-a-label {
        width: 30px;
        height: 30px;
        line-height: 1.65;
        font-size: 20px;
        font-size: 14px;
    }

    .qa-label {
        gap: 20px;
        padding: 20px 0;
    }

    .qa-icon {
        width: 20px;
        height: 20px;
    }

    .qa-answer.open {
        gap: 20px;
        padding-right: 20px;
        align-items: flex-start;
        padding: 0px 0 25px 0;
    }

}

/* ===================== Contact Section Second ===================== */

.contact-section.cta-second {
    height: 426px;
}

.contact-section.cta-second .issues__wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.cta-second-img {
    align-self: flex-end;
}

.contact-section.cta-second .contact-cta-text {
    font-size: 28px;
    line-height: 1.6;
    font-weight: 500;
}

.btn-blue.second {
    width: 330px;
    height: 70px;
    font-size: 24px;
    padding: 0;
    gap: 45px;
    position: relative;
    padding-right: 40px;
}

.btn-blue.second .square {
    width: 10px;
    height: 10px;
    border: 9px solid #8892FF;
    box-sizing: content-box;
    border-radius: 3px;
    position: absolute;
    right: 30px;
}

@media (hover: hover) and (pointer: fine) {

    .btn-blue.second:hover .square {
        border: 9px solid white;
    }
}

.contact-content {
    width: 100%;
}


@media (min-width: 768px) and (max-width: 1023px) {

    .contact-section.cta-second {
        height: 385px;
    }

    .contact-section.cta-second .contact-cta-text {
        font-size: 23px;
        text-align: center;
    }

    .contact-content {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }


    .cta-second-img {
        align-self: center;
        margin-top: 30px;
    }

    .btn-blue.second {
        width: 300px;
        height: 60px;
        font-size: 20px;
        padding: 0 40px 0 0;
        gap: 45px;
    }

}

@media (max-width: 767px) {

    .contact-section.cta-second {
        height: auto;
    }

    .contact-section.cta-second .contact-cta-text {
        font-size: 16px;
    }

    .btn-blue.second {
        height: 45px;
        font-size: 16px;
        width: 100%;
        padding: 0;
        gap: 60px;
    }

    .btn-blue.second .square {
        width: 5px;
        height: 5px;
        border: 5px solid #8892FF;

    }

    .contact-content {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

}

/* ===================== Footer ===================== */

.site-footer {
    background: linear-gradient(98.31deg, #262434 -0.01%, #0F0C31 100.14%);

    color: #fff;
    font-family: "Noto Sans JP", sans-serif;
    padding: 80px 0 100px 0;
    margin-top: -1px;
}

.footer-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.footer-company-info {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.footer-logo {
    margin-bottom: 30px;

}

.company-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-left: 50px;
}

.company-row {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    font-size: 16px;
    line-height: 1.8;
}

.company-row .label {
    min-width: 60px;
    font-weight: 700;
}


.company-row .value {
    border-left: 1px solid #615974;
    padding-left: 20px;
    font-weight: 400;
}

.company-row .value p {
    margin: 0 0 4px 0;
}

footer-links {
    display: flex;
    gap: 80px;
    flex: 1;
}


.footer-links {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    align-self: end;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.footer-links li {
    position: relative;
    max-width: 230px;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    border-bottom: 1px solid #615974;
    padding-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: border-color 0.3s ease;
    justify-content: space-between;
}

@media (hover: hover) and (pointer: fine) {

    .footer-links a:hover {
        border-bottom-color: #5d73ff;
    }
}

.footer-links a::after {
    content: "";
    width: 4px;
    height: 4px;
    background: white;
    border: 4px solid #6673FF;
    flex-shrink: 0;
    border-radius: 1px;
    box-sizing: content-box;
}


@media (min-width: 768px) and (max-width: 1023px) {


    .footer-company {
        width: 100%;
    }

    .footer-content {
        gap: 50px;
        flex-direction: column;
    }

    .footer-links {
        align-self: flex-start;
        margin-left: 50px;
    }
}

@media (max-width: 768px) {

    .site-footer {
        padding: 60px 0 80px 0px;
    }


    .footer-links {
        display: none;
    }

    .footer-logo {
        height: 35px;
    }

    .company-row .label,
    .company-row .value {
        font-size: 14px;
    }

    .company-details {
        margin-left: 30px;
    }

}


.sp-only {
    display: none;
}


@media(max-width:767px) {

    .pc-br,
    .pc-only {
        display: none;
    }

    .sp-br,
    .sp-only {
        display: inline;
    }

}


@media (max-width: 767px) {
    .menu-panel {
        padding-top: 140px;
    }

    .menu-links {
        gap: 20px;
    }
}


@media (min-width: 428px) and (max-width: 767px) {
    .menu-panel {
        padding-top: 140px;
    }

    .menu-links {
        gap: 20px;
    }
}

/* SE only (≤375px) — override to 90 */
@media (max-width: 375.98px) {
    .menu-panel {
        padding-top: 90px !important;
    }

    .menu-links {
        gap: 10px;
    }

    .heading__title {
        font-size: 22px;
    }
}