/* ============================================================
   COUPPLY LP - Design Renewal (トップページ)
   やさしい × 最先端 (Lavender / Baby Blue / Cream / Mint / Soft Pink
   + Electric Violet)
   ============================================================ */

:root {
    --lavender: #e9e3fc;
    --baby-blue: #dcebff;
    --cream: #fff8f0;
    --mint: #dff6ec;
    --soft-pink: #ffe3ee;
    --violet: #6d4aff;
    --violet-soft: #8b6cff;
    --ink: #17142b;
    --ink-2: #3c3757;
    --muted: #6b6685;
    --surface: rgba(255, 255, 255, 0.72);
    --line: rgba(23, 20, 43, 0.08);
    --radius-lg: 28px;
    --radius-md: 20px;
    --radius-sm: 14px;
    --shadow-soft: 0 24px 60px -24px rgba(109, 74, 255, 0.25), 0 8px 24px -12px rgba(23, 20, 43, 0.08);
    --shadow-card: 0 12px 40px -16px rgba(23, 20, 43, 0.14);
    --font-jp: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
    --font-en: 'Inter', 'Noto Sans JP', sans-serif;
    --header-h: 72px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
    font-family: var(--font-jp);
    color: var(--ink);
    background: #fdfcff;
    line-height: 1.8;
    font-size: 16px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    word-break: auto-phrase;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

::selection {
    background: rgba(139, 108, 255, 0.25);
}

.pc-only {
    display: block;
}

.sp-only {
    display: none;
}

/* ---------- 背景オーロラ（静的） ---------- */
.aurora {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
    background:
        radial-gradient(60% 50% at 85% -10%, var(--baby-blue) 0%, transparent 70%),
        radial-gradient(50% 45% at 5% 10%, var(--lavender) 0%, transparent 70%),
        linear-gradient(180deg, #fdfcff 0%, #fbf9ff 100%);
}

.aurora-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.55;
}

.aurora-1 {
    width: 46vw;
    height: 46vw;
    left: -12vw;
    top: 6vh;
    background: radial-gradient(circle at 40% 40%, var(--soft-pink), transparent 70%);
}

.aurora-2 {
    width: 42vw;
    height: 42vw;
    right: -10vw;
    top: 22vh;
    background: radial-gradient(circle at 60% 40%, var(--baby-blue), transparent 70%);
}

.aurora-3 {
    width: 38vw;
    height: 38vw;
    left: 22vw;
    top: 58vh;
    background: radial-gradient(circle at 50% 50%, var(--mint), transparent 70%);
}

.aurora-4 {
    width: 34vw;
    height: 34vw;
    right: 14vw;
    top: 74vh;
    background: radial-gradient(circle at 50% 50%, var(--lavender), transparent 70%);
}

/* ---------- 共通 ---------- */
main {
    display: block;
}

section {
    position: relative;
}

.section-head {
    max-width: 880px;
    margin: 0 auto;
    text-align: center;
    padding: 0 24px;
}

.lead {
    font-family: var(--font-en);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.22em;
    color: var(--violet);
    margin-bottom: 16px;
}

.lead-light {
    color: #c9b8ff;
}

.section-head h3 {
    font-size: clamp(26px, 4.6vw, 44px);
    font-weight: 900;
    line-height: 1.45;
    letter-spacing: 0.01em;
}

.section-sub {
    margin-top: 20px;
    color: var(--muted);
    font-size: clamp(14px, 1.6vw, 17px);
}

.grad-text {
    background: linear-gradient(92deg, var(--violet) 10%, #b56cff 55%, #ff7eb3 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.grad-text-light {
    background: linear-gradient(92deg, #b3a1ff 0%, #86c5ff 55%, #ffa4c9 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.ai-title .grad-text-light,
.security h3 .grad-text {
    white-space: nowrap;
}

.glass-card {
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-radius: var(--radius-lg);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 36px;
    border-radius: 999px;
    background: linear-gradient(94deg, var(--violet) 0%, var(--violet-soft) 100%);
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.04em;
    box-shadow: 0 16px 36px -14px rgba(109, 74, 255, 0.65);
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 22px 44px -14px rgba(109, 74, 255, 0.75);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 34px;
    border-radius: 999px;
    border: 1.5px solid rgba(109, 74, 255, 0.35);
    color: var(--violet);
    font-weight: 700;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.6);
    transition: background 0.3s, transform 0.3s, border-color 0.3s;
}

.btn-ghost:hover {
    background: rgba(109, 74, 255, 0.08);
    border-color: var(--violet);
    transform: translateY(-2px);
}

/* ---------- ヘッダー ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 14px 20px;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 16px 10px 22px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 8px 32px -12px rgba(23, 20, 43, 0.12);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
}

.brand {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    margin: 0;
}

.brand .logo {
    height: 26px;
    width: auto;
}

.global-nav {
    display: flex;
    align-items: center;
    min-width: 0;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    list-style: none;
    margin: 0;
}

.nav-link {
    display: inline-block;
    padding: 8px 13px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink-2);
    transition: background 0.25s, color 0.25s;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    background: rgba(109, 74, 255, 0.09);
    color: var(--violet);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}

.header-actions a {
    display: block;
    transition: transform 0.3s;
}

.header-actions a:hover {
    transform: translateY(-1px) scale(1.03);
}

.header-actions img {
    height: 34px;
    width: auto;
    border-radius: 8px;
}

.hamburger-menu {
    display: none;
    flex: 0 0 auto;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 10px;
    border: none;
    border-radius: 50%;
    background: rgba(109, 74, 255, 0.08);
    cursor: pointer;
}

.hamburger-menu span {
    display: block;
    height: 2px;
    border-radius: 2px;
    background: var(--ink);
    transition: transform 0.3s, opacity 0.3s;
}

.hamburger-menu.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ---------- HERO ---------- */
.hero {
    position: relative;
    padding: calc(var(--header-h) + 48px) 0 40px;
    text-align: center;
    overflow: hidden;
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1440px;
    margin: 0 auto;
}

.hero-lead {
    margin-top: 22px;
    padding: 0 24px;
    font-size: clamp(14px, 1.8vw, 18px);
    color: var(--muted);
    font-weight: 500;
}

.hero-stores {
    margin-top: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    padding: 0 24px;
}

.hero-stores .app-store img,
.hero-stores .google-play img {
    height: 52px;
    width: auto;
    transition: transform 0.3s;
}

.hero-stores a:hover img {
    transform: translateY(-2px) scale(1.03);
}

.hero-qr {
    height: 76px;
    width: auto;
}

/* ---------- メインコピー（VOICEと切り替え） ---------- */
.hero-copy {
    position: relative;
    max-width: 980px;
    margin: 0 auto;
    padding: 0 24px;
    min-height: 248px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-copy-item {
    position: absolute;
    left: 24px;
    right: 24px;
    top: 50%;
    display: block;
    text-align: center;
    opacity: 0;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: clamp(30px, 4.6vw, 52px);
    font-weight: 900;
    line-height: 1.4;
    color: var(--ink);
    letter-spacing: 0.005em;
    margin: 0;
}

/* 表示中: 小さめからフェードインし、そのままゆっくりズームし続ける */
.hero-copy-item.is-active {
    opacity: 1;
    animation: hero-copy-in 4.8s linear forwards;
}

/* 退場中: ズームを引き継いだまま、さらに拡大しながらフワッと消える */
.hero-copy-item.is-leaving {
    animation: hero-copy-out 0.9s ease-out forwards;
}

@keyframes hero-copy-in {
    0% {
        opacity: 0;
        transform: translateY(-50%) scale(0.96);
    }

    16% {
        opacity: 1;
    }

    100% {
        opacity: 1;
        transform: translateY(-50%) scale(var(--hero-zoom, 1.07));
    }
}

@keyframes hero-copy-out {
    from {
        opacity: 1;
        transform: translateY(-50%) scale(var(--hero-zoom, 1.07));
    }

    to {
        opacity: 0;
        transform: translateY(-50%) scale(calc(var(--hero-zoom, 1.07) + 0.05));
    }
}

.hero-copy-item .grad-text {
    white-space: nowrap;
}

/* さりげないスライドインジケーター */
.hero-copy-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -4px;
    display: flex;
    justify-content: center;
    gap: 7px;
    pointer-events: none;
}

.hero-copy-dot {
    position: relative;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: rgba(23, 20, 43, 0.12);
    overflow: hidden;
    transition: background 0.4s ease, width 0.4s ease;
}

.hero-copy-dot.is-on {
    width: 18px;
    background: rgba(109, 74, 255, 0.18);
}

/* 表示時間（4.8秒）に合わせて紫が満ちていく */
.hero-copy-dot.is-on::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: rgba(109, 74, 255, 0.55);
    transform-origin: left center;
    transform: scaleX(0);
    animation: hero-dot-progress 4.8s linear forwards;
}

@keyframes hero-dot-progress {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}

.hero-copy-photo {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 0;
    pointer-events: none;
}

/* 視差: テキスト(1.07倍)より写真の実質ズームを抑え(約1.02倍)、
   左は左上へ・右は右下へゆっくり流して奥行きを出す */
.hero-copy-item.is-active .hero-copy-photo-left {
    animation: hero-photo-drift-left 4.8s linear forwards;
}

.hero-copy-item.is-active .hero-copy-photo-right {
    animation: hero-photo-drift-right 4.8s linear forwards;
}

/* 退場中はドリフト終端で保持して、消える瞬間のガタつきを防ぐ */
.hero-copy-item.is-leaving .hero-copy-photo-left {
    transform: translateY(calc(-50% + 6px)) translateX(-12px) rotate(-2deg) scale(0.955);
}

.hero-copy-item.is-leaving .hero-copy-photo-right {
    transform: translateY(calc(-50% - 6px)) translateX(12px) rotate(2deg) scale(0.955);
}

@keyframes hero-photo-drift-left {
    from {
        transform: translateY(-50%) translateX(0) rotate(0deg) scale(1);
    }

    to {
        transform: translateY(calc(-50% + 6px)) translateX(-12px) rotate(-2deg) scale(0.955);
    }
}

@keyframes hero-photo-drift-right {
    from {
        transform: translateY(-50%) translateX(0) rotate(0deg) scale(1);
    }

    to {
        transform: translateY(calc(-50% - 6px)) translateX(12px) rotate(2deg) scale(0.955);
    }
}

.hero-copy-photo-left {
    left: clamp(-180px, -9vw, -32px);
}

.hero-copy-photo-right {
    right: clamp(-180px, -9vw, -32px);
}

.hero-copy-photo img {
    width: clamp(210px, 24vw, 330px);
    height: auto;
    border-radius: 22px;
    box-shadow: 0 26px 54px -20px rgba(63, 41, 140, 0.4);
    opacity: 0;
    filter: blur(14px);
    transition: opacity 1.1s ease 0.15s, transform 1.2s ease 0.15s, filter 1.2s ease 0.15s;
}

.hero-copy-photo-left img {
    transform: rotate(-6deg) scale(1.12);
}

.hero-copy-photo-right img {
    width: clamp(180px, 21vw, 290px);
    transform: rotate(5deg) scale(1.12);
    transition-delay: 0.3s;
}

.hero-copy-item.is-active .hero-copy-photo img {
    opacity: 0.82;
    filter: blur(0);
}

.hero-copy-item.is-active .hero-copy-photo-left img {
    transform: rotate(-6deg) scale(1);
}

.hero-copy-item.is-active .hero-copy-photo-right img {
    transform: rotate(5deg) scale(1);
}

.hero-copy-quote {
    display: block;
    position: relative;
    z-index: 1;
    font-size: clamp(30px, 4.2vw, 48px);
    font-weight: 900;
    text-shadow: 0 0 16px rgba(255, 255, 255, 0.9), 0 0 32px rgba(255, 255, 255, 0.7);
}

.hero-copy-quote-1 {
    color: #e8899e;
}

.hero-copy-quote-2 {
    color: #58b892;
}

.hero-copy-quote-3 {
    color: #e2a04c;
}

.hero-copy-quote-4 {
    color: #4a9bd8;
}

.hero-copy-sub {
    display: block;
    position: relative;
    z-index: 1;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.95), 0 0 22px rgba(255, 255, 255, 0.8);
    margin-top: 12px;
    font-size: clamp(13.5px, 1.7vw, 17px);
    font-weight: 600;
    color: var(--ink-2);
    line-height: 1.8;
}

/* ---------- メインビジュアル カルーセル ---------- */
.hero-carousel {
    margin-top: 40px;
    padding-bottom: 28px;
}

.swiper-container {
    width: 100%;
    height: auto;
    margin-bottom: 0;
    overflow: visible;
    position: relative;
}

/* ヒーロー用カルーセルにのみ適用（.swiper-ai には波及させない） */
.hero-carousel .swiper-wrapper {
    height: 760px;
}

.swiper-pc .swiper-wrapper {
    height: 760px;
}

.hero-carousel .swiper-slide {
    width: auto !important;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-carousel .swiper-slide img {
    height: 100%;
    width: auto;
    max-width: none;
    border-radius: 24px;
    object-fit: contain;
    display: block;
    box-shadow: 0 30px 70px -30px rgba(63, 41, 140, 0.35);
}

.swiper-pc .swiper-slide {
    transition: opacity 0.3s ease;
}

.swiper-pc .swiper-slide:not(.swiper-slide-active) {
    opacity: 0.5;
}

.swiper-pagination {
    position: relative !important;
    bottom: auto !important;
    margin-top: 24px;
}

/* ヒーローコピーのドットと同デザインに統一 */
.swiper-pagination-bullet {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: rgba(23, 20, 43, 0.12) !important;
    opacity: 1;
    box-shadow: none;
    transition: width 0.4s ease, background 0.4s ease;
}

.swiper-pagination-bullet-active {
    width: 18px;
    opacity: 1 !important;
    background: rgba(109, 74, 255, 0.55) !important;
}

/* 暗い背景（AIセクション）では白系に */
.swiper-ai .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.25) !important;
}

.swiper-ai .swiper-pagination-bullet-active {
    background: rgba(199, 184, 255, 0.9) !important;
}

.swiper-pc-wrapper {
    max-width: 1440px;
    margin: 0 auto;
    position: relative;
}

.swiper-pc .swiper-button-prev,
.swiper-pc .swiper-button-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px -8px rgba(63, 41, 140, 0.35);
    transition: background-color 0.3s ease, transform 0.3s;
    color: var(--ink);
}

.swiper-pc .swiper-button-prev:hover,
.swiper-pc .swiper-button-next:hover {
    background-color: #fff;
}

.swiper-pc .swiper-button-prev {
    left: 20px;
}

.swiper-pc .swiper-button-next {
    right: 20px;
}

.swiper-pc .swiper-button-prev::after,
.swiper-pc .swiper-button-next::after {
    font-size: 24px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 24px;
    height: 24px;
    content: '';
}

.swiper-pc .swiper-button-prev::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2317142b'%3E%3Cpath d='M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z'/%3E%3C/svg%3E");
}

.swiper-pc .swiper-button-next::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2317142b'%3E%3Cpath d='M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z'/%3E%3C/svg%3E");
}

/* PC/SP切り替え */
.swiper-pc {
    display: block;
}

.swiper-sp {
    display: none;
}

.hero-annotation {
    margin-top: 32px;
    padding: 0 24px;
    font-size: 11px;
    color: #9995ad;
    line-height: 1.9;
}

/* ---------- 全体像 ---------- */
.overview {
    padding: 110px 24px 20px;
}

.overview-grid {
    max-width: 1120px;
    margin: 52px auto 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.overview-card {
    display: block;
    padding: 34px 30px;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s, border-color 0.35s;
}

.overview-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-soft);
    border-color: rgba(139, 108, 255, 0.45);
}

.overview-icon {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--lavender) 0%, var(--soft-pink) 100%);
    color: var(--violet);
}

.overview-card h4 {
    margin-top: 18px;
    font-size: 17.5px;
    font-weight: 700;
    line-height: 1.6;
    color: var(--ink);
}

.overview-card p {
    margin-top: 10px;
    font-size: 13.5px;
    line-height: 1.95;
    color: var(--muted);
}

.overview-more {
    display: inline-block;
    margin-top: 14px;
    font-size: 13px;
    font-weight: 700;
    color: var(--violet);
    transition: transform 0.3s;
}

.overview-card:hover .overview-more {
    transform: translateX(4px);
}

/* ---------- FEATURE WALL ---------- */
.feature-wall {
    padding: 120px 0 80px;
}

.wall-grid {
    /* 1120px上限。狭い画面では左右24pxの余白を確保 */
    width: min(1120px, calc(100% - 48px));
    margin: 56px auto 0;
    /* 6カラム相当のflex。端数の最終行は中央寄せ */
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

.wall-card {
    width: calc((100% - 70px) / 6);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 20px 10px 16px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 24px -12px rgba(23, 20, 43, 0.1);
    text-align: center;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s, border-color 0.35s;
}

.wall-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 38px -16px rgba(109, 74, 255, 0.35);
    border-color: rgba(139, 108, 255, 0.5);
}

.wall-card img {
    width: 46px;
    height: 46px;
    object-fit: contain;
}

.wall-title {
    margin-top: 10px;
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.5;
    color: var(--ink);
}

.features-cta {
    margin-top: 48px;
    text-align: center;
}

/* ---------- AI × 心理学 ---------- */
.ai-section {
    margin: 60px 0;
    padding: 130px 24px;
    background:
        radial-gradient(80% 60% at 20% 0%, rgba(109, 74, 255, 0.35), transparent 60%),
        radial-gradient(70% 55% at 85% 100%, rgba(255, 126, 179, 0.22), transparent 60%),
        linear-gradient(165deg, #1b1533 0%, #241a4a 55%, #1c1440 100%);
    color: #fff;
    overflow: hidden;
}

.ai-section .section-head h3 {
    color: #fff;
    font-size: clamp(23px, 3.4vw, 38px);
}

.ai-sub {
    color: rgba(255, 255, 255, 0.65);
}

.ai-blobs {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.ai-blob {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: clamp(220px, 30vw, 420px);
    height: clamp(220px, 30vw, 420px);
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.45;
}

.ai-blob-blue {
    left: 8%;
    background: radial-gradient(circle at 40% 40%, #6ea8ff, transparent 70%);
}

.ai-blob-pink {
    right: 8%;
    background: radial-gradient(circle at 60% 40%, #ff8fb8, transparent 70%);
}

.ai-inner {
    position: relative;
    max-width: 1120px;
    margin: 0 auto;
    text-align: center;
}

.glass-card-dark {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.5);
}

/* 4つの柱（キャプチャ付き） */
/* PCではグリッド表示（.swiper-wrapper の flex より優先させるため詳細度を上げる） */
.ai-inner .ai-points {
    margin-top: 56px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.swiper-ai .swiper-pagination {
    display: none;
}

.ai-point {
    display: block;
    padding: 14px 14px 22px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: background 0.35s, transform 0.35s, border-color 0.35s;
}

.ai-point:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(180, 160, 255, 0.4);
    transform: translateY(-4px);
}

.ai-point-capture {
    max-width: 200px;
    margin: 0 auto;
    aspect-ratio: 1096 / 2324;
}

.ai-point-capture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.ai-point h4 {
    margin-top: 16px;
    font-size: 15.5px;
    font-weight: 700;
    line-height: 1.6;
}

.ai-point p {
    margin-top: 10px;
    font-size: 12.5px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.65);
    text-align: left;
}

/* ---------- セキュリティ ---------- */
.security {
    padding: 130px 24px 60px;
}

.point {
    max-width: 1120px;
    margin: 56px auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.point-detail {
    padding: 36px 28px;
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s;
}

.point-detail:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-soft);
}

.point-icon {
    width: 88px;
    height: 88px;
    margin: 0 auto;
    display: grid;
    place-items: center;
    border-radius: 26px;
    background: linear-gradient(135deg, var(--lavender) 0%, var(--baby-blue) 100%);
}

.point-icon img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.point-detail h4 {
    margin-top: 20px;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.7;
}

.point-detail p {
    margin-top: 12px;
    font-size: 13.5px;
    color: var(--muted);
    text-align: left;
}

/* ---------- お知らせ ---------- */
.news {
    padding: 110px 24px 60px;
}

.news-inner {
    max-width: 880px;
    margin: 0 auto;
}

.news-list {
    margin-top: 44px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    overflow: hidden;
}

.news-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 28px;
    border-bottom: 1px solid var(--line);
    transition: background 0.25s;
}

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

.news-item:hover {
    background: rgba(109, 74, 255, 0.05);
}

.news-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
}

.news-date {
    font-family: var(--font-en);
    font-size: 13px;
    color: var(--muted);
    width: 108px;
}

.news-label {
    padding: 3px 12px;
    border-radius: 999px;
    background: rgba(109, 74, 255, 0.09);
    color: var(--violet);
    font-size: 11px;
    font-weight: 700;
    min-width: 104px;
    text-align: center;
    white-space: nowrap;
}

.news-label.label-press {
    background: rgba(255, 111, 159, 0.14);
    color: #e0447e;
}

.news-label.label-media {
    background: rgba(18, 158, 118, 0.12);
    color: #0f9d77;
}

.news-new {
    padding: 3px 10px;
    border-radius: 999px;
    background: linear-gradient(94deg, #ff6f9f, #ff9f6f);
    color: #fff;
    font-family: var(--font-en);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.news-title {
    font-size: 14.5px;
    font-weight: 500;
    color: var(--ink-2);
    line-height: 1.7;
}

.news-more {
    margin-top: 32px;
    text-align: center;
}

/* ---------- メディア（以前のスタイル） ---------- */
.media {
    padding: 90px 0 60px;
    text-align: center;
}

.media-section {
    width: 100%;
    overflow: hidden;
    margin-top: 40px;
    position: relative;
}

.media-scroll {
    width: 100%;
    overflow: hidden;
}

.media-track {
    display: flex;
    align-items: center;
    gap: 30px;
    width: max-content;
    will-change: transform;
    animation: mediaScroll 30s linear infinite;
}

.media-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.media-item img {
    width: 150px;
    height: 75px;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    border: 1px solid var(--line);
    box-shadow: 0 8px 22px -12px rgba(23, 20, 43, 0.12);
}


@keyframes mediaScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(var(--scroll-distance, -50%));
    }
}

/* ---------- フッター ---------- */
.site-footer {
    margin-top: 90px;
    padding: 60px 24px 32px;
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.footer-inner {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.footer-brand img {
    height: 26px;
    width: auto;
}

.footer-link {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 26px;
    max-width: 640px;
}

.footer-link a {
    font-size: 13.5px;
    color: var(--muted);
    transition: color 0.25s;
}

.footer-link a:hover {
    color: var(--violet);
}

.copyright {
    max-width: 1120px;
    margin: 40px auto 0;
    font-family: var(--font-en);
    font-size: 12px;
    color: #9995ad;
}

/* ---------- フローティングヘルプ ---------- */
.floating-help {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 90;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(109, 74, 255, 0.25);
    color: var(--violet);
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 14px 34px -12px rgba(63, 41, 140, 0.35);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: transform 0.3s, box-shadow 0.3s;
}

.floating-help:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 42px -12px rgba(63, 41, 140, 0.45);
}

/* ---------- フローティング最新お知らせ ---------- */
.floating-news {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 90;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px 10px 10px;
    max-width: min(440px, calc(100vw - 240px));
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(109, 74, 255, 0.25);
    box-shadow: 0 14px 34px -12px rgba(63, 41, 140, 0.35);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: transform 0.3s, box-shadow 0.3s;
}

.floating-news:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 42px -12px rgba(63, 41, 140, 0.45);
}

.floating-news-label {
    flex-shrink: 0;
    padding: 3px 10px;
    border-radius: 999px;
    background: linear-gradient(94deg, #ff6f9f, #ff9f6f);
    color: #fff;
    font-family: var(--font-en);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.floating-news-text {
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--ink);
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

/* ============================================================
   レスポンシブ
   ============================================================ */
@media (max-width: 1080px) {
    .nav-list {
        gap: 0;
    }

    .nav-link {
        padding: 8px 9px;
        font-size: 13px;
    }

    .header-actions img {
        height: 30px;
    }
}

@media (max-width: 1024px) {
    .ai-inner .ai-points {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 960px) {
    .global-nav {
        position: fixed;
        top: 84px;
        left: 20px;
        right: 20px;
        z-index: 99;
        border-radius: 24px;
        background: #fff;
        border: 1px solid rgba(255, 255, 255, 0.95);
        box-shadow: 0 30px 70px -20px rgba(23, 20, 43, 0.3);
        padding: 16px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-12px);
        transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
    }

    .global-nav.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        width: 100%;
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        display: block;
        padding: 13px 18px;
        font-size: 15px;
        border-radius: 14px;
    }

    .hamburger-menu {
        display: flex;
    }
}

@media (max-width: 768px) {
    .pc-only {
        display: none;
    }

    .sp-only {
        display: inline;
    }

    body {
        font-size: 15px;
    }

    .site-header {
        padding: 12px 14px;
    }

    .header-inner {
        padding: 9px 12px 9px 18px;
    }

    /* SPではストアバッジを非表示にしてナビを優先 */
    .header-actions .app-store,
    .header-actions .google-play {
        display: none;
    }

    .brand .logo {
        height: 22px;
    }

    /* SPはsection側のpaddingと二重になるためsection-headの横paddingを外す */
    .section-head {
        padding-left: 0;
        padding-right: 0;
    }

    /* HERO */
    .hero {
        padding-top: calc(var(--header-h) + 24px);
    }

    .hero-copy {
        min-height: 226px;
        padding: 0 16px;
    }

    .hero-copy-photo-left {
        left: -36px;
        top: 38%;
    }

    .hero-copy-photo-right {
        right: -36px;
        top: 62%;
    }

    .hero-copy-photo img {
        width: 44vw;
        border-radius: 14px;
    }

    .hero-copy-photo-right img {
        width: 40vw;
    }

    .hero-copy-item.is-active .hero-copy-photo img {
        opacity: 0.5;
    }

    .hero-copy-item {
        font-size: 27px;
        /* SPは横幅に余裕がないためズームを控えめに */
        --hero-zoom: 1.035;
    }

    .hero-copy-quote {
        font-size: 27px;
    }

    .hero-copy-sub {
        font-size: 12.5px;
    }

    .hero-carousel {
        margin-top: 20px;
    }

    .hero-carousel {
        margin-top: 36px;
        overflow: hidden;
    }

    .swiper-container {
        height: auto;
        overflow: visible;
        margin: 0 20px;
        width: calc(100% - 40px);
    }

    .swiper-sp .swiper-wrapper {
        height: 500px;
    }

    .swiper-pc {
        display: none;
    }

    .swiper-sp {
        display: block;
    }

    .swiper-pagination {
        margin-top: 16px;
    }

    /* グリッド類 */
    .point {
        grid-template-columns: 1fr;
        max-width: 480px;
        gap: 24px;
    }

    /* WALL: SPも一覧表示（3カラム） */
    .wall-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
        width: auto;
        padding: 0 16px;
    }

    .wall-card {
        width: auto;
        padding: 16px 6px 12px;
    }

    .wall-card img {
        width: 38px;
        height: 38px;
    }

    .wall-title {
        font-size: 11px;
    }

    /* 全体像 */
    .overview-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .overview {
        padding-top: 90px;
    }

    /* ニュース */
    .news-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 18px 20px;
    }

    .news-date {
        width: auto;
    }

    /* AI 4本柱: SPは2カラム */
    /* AIセクション: SPはカルーセル */
    .swiper-ai {
        overflow: hidden;
        margin-top: 40px;
    }

    .ai-inner .ai-points {
        display: flex;
        margin-top: 0;
        gap: 0;
    }

    .ai-point.swiper-slide {
        width: 64%;
        flex-shrink: 0;
    }

    .swiper-ai .swiper-pagination {
        display: block;
    }

    .ai-point {
        padding: 10px 10px 16px;
    }

    .ai-point h4 {
        font-size: 13px;
    }

    .ai-point p {
        font-size: 11.5px;
    }

    /* フッター */
    .footer-inner {
        flex-direction: column;
    }

    .floating-help span {
        display: none;
    }

    .floating-help {
        padding: 14px;
    }

    /* SPはヘルプボタンの隣で残り幅いっぱい */
    .floating-news {
        left: 16px;
        right: 78px;
        bottom: 20px;
        max-width: none;
        padding: 8px 14px 8px 8px;
    }

    .floating-news-text {
        font-size: 11.5px;
    }

    .media-track {
        gap: 15px;
        animation-duration: 20s;
    }

    .media-item img {
        width: 110px;
        height: 55px;
    }

}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .hero-copy-item.is-active {
        animation: none;
    }
}
