/* ===================================================================
   page-top.css — Top Page Specific Styles
   =================================================================== */

/* -------------------------------------------------------------------
   Background Shapes (Hero blob decoration)
------------------------------------------------------------------- */
.bg-shapes {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
    background: var(--color-bg);
}

.shape {
    position: absolute;
    background: linear-gradient(135deg, var(--c1), var(--c2));
    animation: blob-morph 20s ease-in-out infinite alternate;
    transform-origin: center;
    opacity: 0.8;
    filter: blur(100px);
}

@keyframes blob-morph {
    0% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; transform: rotate(0deg) scale(1); }
    50% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; transform: rotate(180deg) scale(1.05); }
    100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; transform: rotate(360deg) scale(1); }
}

.shape-1 { top: 2%; left: -5vw; width: 50vw; height: 50vw; min-width: 500px; min-height: 500px; --c1: #E6F0F9; --c2: #D4E6F6; animation-duration: 25s; }
.shape-2 { top: 15%; right: -10vw; width: 40vw; height: 40vw; min-width: 400px; min-height: 400px; --c1: #EEF5FB; --c2: #E1EEF9; animation-duration: 28s; animation-delay: -5s; }
.shape-3 { top: 30%; left: 5vw; width: 35vw; height: 35vw; min-width: 350px; min-height: 350px; --c1: #F0F6FC; --c2: #E6F0F9; animation-duration: 22s; animation-delay: -10s; }
.shape-4 { top: 45%; right: 15vw; width: 25vw; height: 25vw; min-width: 250px; min-height: 250px; --c1: #E8F2FA; --c2: #DAEAF7; animation-duration: 30s; animation-delay: -15s; }
.shape-5 { top: 60%; left: -10vw; width: 45vw; height: 45vw; min-width: 450px; min-height: 450px; --c1: #E1EEF9; --c2: #D0E4F4; animation-duration: 20s; animation-delay: -7s; }
.shape-6 { top: 75%; right: 5vw; width: 30vw; height: 30vw; min-width: 300px; min-height: 300px; --c1: #F2F8FD; --c2: #EAF3FA; animation-duration: 18s; animation-delay: -2s; }
.shape-7 { top: 90%; left: 20vw; width: 35vw; height: 35vw; min-width: 350px; min-height: 350px; --c1: #EAF3FA; --c2: #DFEDF8; animation-duration: 24s; animation-delay: -12s; }

/* SP: blur(100px) × 7個のblobアニメーションを無効化（GPU負荷大） */
@media (max-width: 768px) {
    .bg-shapes { background: var(--color-bg); }
    .shape { display: none; }
}

/* -------------------------------------------------------------------
   1. Hero
------------------------------------------------------------------- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    position: relative;
    overflow: hidden;
}

/* Global bg-squares: ページ全体に浮かぶ角丸四角
   ※ .bg-squares との詳細度競合を避けるため .bg-squares.bg-squares--global で指定 */
.bg-squares.bg-squares--global {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
    margin: 0; padding: 0;
}
.bg-squares--global .square {
    bottom: -300px;
    animation-duration: 30s;
}
.bg-squares--global .square:nth-child(3n+1) { background: rgba(27, 117, 188, 0.13); }
.bg-squares--global .square:nth-child(3n+2) { background: rgba(90, 136, 194, 0.10); }
.bg-squares--global .square:nth-child(3n)   { background: rgba(143, 185, 255, 0.12); }
.bg-squares--global .square.is-outline {
    background: transparent !important;
    border: 1.5px solid rgba(27, 117, 188, 0.18) !important;
    box-shadow: none !important;
    backdrop-filter: none;
}
/* 個別位置・サイズ調整で散らばりをつくる */
.bg-squares--global .square:nth-child(1)  { left: 5%;  width: 70px;  height: 70px;  animation-delay: -2s; }
.bg-squares--global .square:nth-child(2)  { left: 15%; width: 45px;  height: 45px;  animation-delay: -8s;  animation-duration: 35s; }
.bg-squares--global .square:nth-child(3)  { left: 30%; width: 90px;  height: 90px;  animation-delay: -5s; }
.bg-squares--global .square:nth-child(4)  { left: 45%; width: 55px;  height: 55px;  animation-delay: -12s; animation-duration: 28s; }
.bg-squares--global .square:nth-child(5)  { left: 55%; width: 35px;  height: 35px;  animation-delay: -18s; animation-duration: 40s; }
.bg-squares--global .square:nth-child(6)  { left: 70%; width: 80px;  height: 80px;  animation-delay: -3s; }
.bg-squares--global .square:nth-child(7)  { left: 82%; width: 60px;  height: 60px;  animation-delay: -15s; animation-duration: 32s; }
.bg-squares--global .square:nth-child(8)  { left: 92%; width: 40px;  height: 40px;  animation-delay: -7s;  animation-duration: 38s; }
.bg-squares--global .square:nth-child(9)  { left: 20%; width: 110px; height: 110px; animation-delay: -22s; animation-duration: 45s; }
.bg-squares--global .square:nth-child(10) { left: 60%; width: 50px;  height: 50px;  animation-delay: -10s; }
.bg-squares--global .square:nth-child(11) { left: 38%; width: 65px;  height: 65px;  animation-delay: -25s; animation-duration: 36s; }
.bg-squares--global .square:nth-child(12) { left: 75%; width: 95px;  height: 95px;  animation-delay: -14s; animation-duration: 42s; }

/* Hero bg-squares (top-page specific: mask-image + blue tint squares) */
.hero .bg-squares {
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%);
}
.hero .square {
    bottom: -300px;
}
.hero .square:nth-child(3n+1) { background: rgba(143, 185, 255, 0.15); }
.hero .square:nth-child(3n+2) { background: rgba(107, 122, 153, 0.1); }
.hero .square:nth-child(3n)   { background: rgba(90, 136, 194, 0.1); }
.hero .square.is-outline {
    background: transparent !important;
    border: 1px solid rgba(143, 185, 255, 0.5) !important;
    box-shadow: none !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
.hero .square.is-outline:nth-child(even) {
    border-color: rgba(107, 122, 153, 0.4) !important;
}
.hero .square:nth-child(1) { left: 25%; width: 100px; height: 100px; animation-delay: -5s; }
.hero .square:nth-child(2) { left: 10%; width: 60px; height: 60px; animation-delay: -12s; animation-duration: 12s; }
.hero .square:nth-child(3) { left: 70%; width: 80px; height: 80px; animation-delay: -8s; }
.hero .square:nth-child(4) { left: 40%; width: 120px; height: 120px; animation-delay: -16s; animation-duration: 18s; }
.hero .square:nth-child(5) { left: 65%; width: 70px; height: 70px; animation-delay: -2s; }
.hero .square:nth-child(6) { left: 80%; width: 140px; height: 140px; animation-delay: -10s; }
.hero .square:nth-child(7) { left: 35%; width: 180px; height: 180px; animation-delay: -21s; }
.hero .square:nth-child(8) { left: 50%; width: 45px; height: 45px; animation-delay: -35s; animation-duration: 45s; }
.hero .square:nth-child(9) { left: 20%; width: 35px; height: 35px; animation-delay: -15s; animation-duration: 35s; }
.hero .square:nth-child(10) { left: 85%; width: 200px; height: 200px; animation-delay: -4s; animation-duration: 11s; }

/* Hero bg-bars (top-page specific: capsule-1 different from subpage) */
.hero .bg-bars {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    margin: 0; padding: 0;
}
.hero .capsule-1 {
    width: 240px; height: 56px;
    background: rgba(143, 185, 255, 0.2);
    top: 15%; left: -2%;
    animation-duration: 24s;
}
.hero .capsule-2 {
    width: 160px; height: 40px;
    background: rgba(43, 112, 214, 0.08);
    bottom: 20%; left: 35%;
    animation-duration: 18s; animation-delay: -5s;
}
.hero .capsule-3 {
    width: 180px; height: 48px;
    border: 2px solid rgba(43, 112, 214, 0.15);
    background: transparent;
    top: 10%; right: 10%;
    animation-duration: 22s; animation-delay: -10s;
}
.hero .line-1 {
    width: 200px; height: 3px;
    --line-color: rgba(43, 112, 214, 0.7);
    top: 50%; left: 15%;
    --duration: 7s;
    animation-delay: -2s;
}
.hero .line-2 {
    width: 150px; height: 2px;
    --line-color: rgba(143, 185, 255, 0.9);
    top: 25%; right: 20%;
    --duration: 5s;
    animation-delay: -1s;
}
.hero .line-3 {
    width: 250px; height: 4px;
    --line-color: rgba(25, 62, 101, 0.5);
    bottom: 15%; right: 15%;
    --duration: 9s;
    animation-delay: -5s;
}

@media (max-width: 768px) {
    .hero .capsule-1 { width: 160px; height: 40px; top: 12%; left: -5%; }
    .hero .capsule-2 { width: 100px; height: 24px; bottom: 30%; left: 10%; }
    .hero .capsule-3 { width: 120px; height: 32px; top: 8%; right: -5%; }
    .hero .line-1 { width: 140px; top: 45%; left: 5%; }
    .hero .line-2 { width: 100px; top: 20%; right: 10%; }
    .hero .line-3 { width: 180px; bottom: 20%; right: 5%; }
}

/* Hero Grid & Content */
.hero__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}
.hero__content {
    padding-right: 40px;
    will-change: opacity, transform;
}
.hero__catch {
    font-family: var(--font-en);
    font-size: 12px;
    font-weight: 600;
    color: var(--color-primary);
    letter-spacing: 0.3em;
    margin-bottom: 24px;
    display: block;
}
.hero__title {
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.05em;
    margin-bottom: 40px;
    color: var(--color-text);
}
.hero__text {
    font-size: 15px;
    color: var(--color-text-light);
    line-height: 2;
    margin-bottom: 48px;
}

.hero__image-wrap {
    height: 70vh;
    min-height: 500px;
    border-radius: var(--radius-lg);
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero__illustration {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero__illustration img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* img-wrap (shared image utility) */
.img-wrap img, .service-block__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.img-wrap {
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #f8f9fa;
    position: relative;
}

@media (max-width: 1024px) {
    .hero__grid { grid-template-columns: 1fr; gap: 40px; margin-top: 40px; }
    .hero__content { padding-right: 0; }
    .hero__image-wrap { height: auto; min-height: 300px; margin-right: 0; border-radius: var(--radius-lg); }
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding-top: calc(var(--header-height) + 40px);
        padding-bottom: 40px;
    }
    .hero__grid {
        display: flex;
        flex-direction: column;
        gap: 24px;
        margin-top: 0;
    }
    .hero__title {
        font-size: clamp(24px, 6vw, 32px);
        margin-bottom: 24px;
    }
    .hero__text {
        font-size: 14px;
        margin-bottom: 32px;
    }
    .hero__image-wrap {
        height: auto;
        min-height: 200px;
    }
}

/* -------------------------------------------------------------------
   Marquee Animation
------------------------------------------------------------------- */
.marquee-section {
    width: 100%;
    overflow: hidden;
    position: relative;
    z-index: 0;
    pointer-events: none;
    display: flex;
    opacity: 0.8;
}
.marquee-section--hero {
    margin-top: -60px;
    margin-bottom: 60px;
}
.marquee-section--contact {
    margin-top: 40px;
    margin-bottom: 40px;
}

.marquee-inner {
    display: flex;
    white-space: nowrap;
    animation: marquee-scroll 80s linear infinite;
}

.marquee-text {
    font-family: var(--font-en);
    font-size: clamp(120px, 22vw, 360px);
    font-weight: 300;
    line-height: 1.4;
    padding-bottom: 0.1em;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(25, 62, 101, 0.2);
    padding-right: 80px;
    letter-spacing: 0.02em;
}

@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* -------------------------------------------------------------------
   2. About
------------------------------------------------------------------- */
.about {
    background: linear-gradient(135deg, #EEF5FB 0%, #E1EDF7 100%);
    position: relative;
    z-index: 1;
}
.about__grid {
    display: grid;
    grid-template-columns: 5fr 6fr;
    gap: 80px;
    align-items: center;
}
.about__image-wrap {
    aspect-ratio: 4/5;
}
.about__text-wrap {
    padding-left: 20px;
}
.about__lead {
    font-size: 24px;
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 32px;
    color: var(--color-text);
}
.about__desc {
    font-size: 16px;
    color: var(--color-text-light);
    line-height: 2;
    margin-bottom: 40px;
}
.vision-box {
    background: #FFFFFF;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}
.vision-box h4 {
    font-family: var(--font-en);
    font-size: 14px;
    letter-spacing: 0.15em;
    color: var(--color-accent);
    margin-bottom: 16px;
}
.vision-box p {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.6;
}

.about__btn-wrap {
    margin-top: 48px;
}

@media (max-width: 900px) {
    .about__grid { grid-template-columns: 1fr; gap: 40px; }
    .about__text-wrap { padding-left: 0; }
    .about__image-wrap { aspect-ratio: 16/9; }
}

/* -------------------------------------------------------------------
   3. Service (Ticket Style)
------------------------------------------------------------------- */
.service-section {
    position: relative;
    padding: 160px 0;
    overflow: visible;
}
@media (max-width: 768px) {
    .service-section { padding: 80px 0; }
}
.service-section > .container {
    overflow: visible;
}
.service__list {
    position: relative;
    overflow: visible;
    display: flex;
    flex-direction: column;
    gap: 60px;
    margin-top: 60px;
}

.service-ticket__deco {
    position: absolute;
    top: -105px;
    right: -80px;
    width: clamp(180px, 20vw, 300px);
    height: auto;
    opacity: 0.8;
    z-index: 0;
    pointer-events: none;
    filter: drop-shadow(0 4px 20px rgba(0,0,0,0.1));
}
@media (max-width: 768px) {
    .service-ticket__deco {
        top: -50px;
        right: -20px;
        width: 150px;
        opacity: 0.8;
    }
}

.service-ticket {
    display: flex;
    background-color: var(--ticket-bg, #6B7A99);
    border-radius: var(--radius-lg);
    color: #fff;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    -webkit-mask-image:
        radial-gradient(circle at 80px 0px, transparent 16px, black 16.5px),
        radial-gradient(circle at 80px 100%, transparent 16px, black 16.5px);
    -webkit-mask-size: 100% 51%;
    -webkit-mask-position: top, bottom;
    -webkit-mask-repeat: no-repeat;
    mask-image:
        radial-gradient(circle at 80px 0px, transparent 16px, black 16.5px),
        radial-gradient(circle at 80px 100%, transparent 16px, black 16.5px);
    mask-size: 100% 51%;
    mask-position: top, bottom;
    mask-repeat: no-repeat;
}

.ticket-stub {
    width: 80px;
    flex-shrink: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
}

.ticket-stub span {
    font-family: var(--font-en);
    font-size: 14px;
    letter-spacing: 0.2em;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    opacity: 0.8;
}

.ticket-content {
    flex-grow: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 60px;
    align-items: stretch;
}

.service-block__text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-block__cat {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
    display: inline-block;
    opacity: 0.9;
}

.service-block__title {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 600;
    line-height: 1.6;
    margin-bottom: 32px;
    letter-spacing: 0.05em;
}
.service-block__title .br-pc-only {
    display: none;
}
@media (min-width: 769px) {
    .service-block__title .br-pc-only {
        display: block;
    }
}

.service-block__desc {
    font-size: 14px;
    line-height: 2;
    opacity: 0.9;
    margin-bottom: 60px;
}

.service-block__footer {
    display: flex;
    align-items: flex-end;
    gap: 40px;
    margin-top: auto;
}

.service-block__num {
    font-family: var(--font-en);
    font-size: clamp(80px, 10vw, 140px);
    line-height: 0.75;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.25);
    letter-spacing: -0.02em;
}

.service-block__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 56px;
    border-radius: 40px;
    border: 1px solid rgba(255,255,255,0.6);
    transition: var(--transition-smooth);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.0' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7'/%3E%3C/svg%3E");
    background-size: 20px;
    background-position: center;
    background-repeat: no-repeat;
    margin-bottom: 8px;
}
.service-block__btn:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: #fff;
}

.service-block__img-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 100%;
    min-height: 400px;
    background: #eee;
    position: relative;
}

@media (max-width: 900px) {
    .service-ticket {
        flex-direction: column;
        -webkit-mask-image:
            radial-gradient(circle at 0px 64px, transparent 16px, black 16.5px),
            radial-gradient(circle at 100% 64px, transparent 16px, black 16.5px);
        -webkit-mask-size: 51% 100%;
        -webkit-mask-position: left, right;
        -webkit-mask-repeat: no-repeat;
        mask-image:
            radial-gradient(circle at 0px 64px, transparent 16px, black 16.5px),
            radial-gradient(circle at 100% 64px, transparent 16px, black 16.5px);
        mask-size: 51% 100%;
        mask-position: left, right;
        mask-repeat: no-repeat;
    }
    .ticket-stub {
        width: 100%;
        height: 64px;
        padding: 0;
        border-right: none;
        border-bottom: 2px dashed rgba(255,255,255,0.4);
    }
    .ticket-stub span { writing-mode: horizontal-tb; }
    .ticket-content { grid-template-columns: 1fr; padding: 40px 24px; gap: 32px; }
    .service-block__img-wrap { min-height: 250px; }
    .service-block__footer { align-items: center; justify-content: space-between; }
    .service-block__num { font-size: 80px; }
    .service-block__desc { margin-bottom: 40px; }
}

/* -------------------------------------------------------------------
   4. Product (Swiper Slider)
------------------------------------------------------------------- */
.product {
    overflow: visible;
    position: relative;
    padding-bottom: 80px;
}
@media (max-width: 768px) {
    .product { padding-top: 60px; }
}
.product__header {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}
.product__header .sec-title {
    margin-bottom: 0;
}

.product-slider-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 20px 0 60px;
}

.product-slider {
    overflow: visible !important;
}

.product-slider .swiper-slide {
    width: auto;
}

/* Product Card */
.product-card {
    width: 860px;
    min-height: 540px;
    background: #fff;
    border: 5px solid var(--card-color);
    border-radius: var(--radius-lg);
    padding: 60px;
    transition: var(--transition-smooth);
    opacity: 0.4;
    transform: scale(0.85);
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.swiper-slide-active .product-card {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 24px 50px rgba(0,0,0,0.08);
}

.product-card__header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}
.product-card__num {
    font-family: var(--font-en);
    font-size: 24px;
    font-weight: 600;
    color: var(--card-color);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.product-card__category {
    font-size: 11px;
    font-weight: 500;
    color: var(--color-text-light);
    border: 1px solid var(--color-border);
    padding: 6px 16px;
    border-radius: 40px;
    letter-spacing: 0.1em;
}

.product-card__title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 0.05em;
}

.product-card__badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
    font-size: 13px;
    font-weight: 500;
}
.product-card__badge-label {
    background: var(--card-bg-light);
    color: var(--card-color);
    padding: 4px 12px;
    border-radius: 40px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
}

.product-card__desc {
    font-size: 14px;
    line-height: 2;
    color: var(--color-text-light);
}

/* Product Navigation Buttons */
.product-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: #fff;
    border: 1px solid var(--color-border);
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    z-index: 10;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}
.product-nav-btn:hover {
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
    transform: translateY(-50%) scale(1.05);
    border-color: var(--color-text-light);
}
.product-nav-btn::after {
    content: '';
    width: 24px;
    height: 24px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.product-nav-prev { left: calc(50% - 458px); }
.product-nav-next { right: calc(50% - 458px); }

.product-nav-prev::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232C2C2C' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 18l-6-6 6-6'/%3E%3C/svg%3E");
    margin-right: 2px;
}
.product-nav-next::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232C2C2C' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18l6-6-6-6'/%3E%3C/svg%3E");
    margin-left: 2px;
}

@media (max-width: 1024px) {
    .product-card { width: 85vw; min-height: 400px; padding: 40px; }
    .product-nav-btn { display: none; }
}
@media (max-width: 768px) {
    .product__header { flex-direction: column; align-items: flex-start; gap: 24px; margin-bottom: 24px; }
    .product-card { width: 90vw; min-height: 360px; padding: 40px 24px; }
    .product-card__title { font-size: 24px; }
}

/* -------------------------------------------------------------------
   5. News
------------------------------------------------------------------- */
.news {
    background-color: var(--color-accent);
    color: #fff;
    position: relative;
    z-index: 1;
}
.news__grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    align-items: start;
}

.news .sec-title .en {
    color: #fff;
}
.news .sec-title .ja {
    color: #fff;
}

.news__btn-wrap {
    margin-top: 40px;
}

.news__list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.news__link {
    display: flex;
    align-items: center;
    padding: 24px 40px;
    background: #fff;
    border-radius: 60px;
    transition: var(--transition-smooth);
    color: var(--color-text);
}
.news__link:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}
.news__meta {
    display: flex;
    align-items: center;
    border-right: 1px solid var(--color-border);
    padding-right: 24px;
    margin-right: 24px;
    flex-shrink: 0;
    min-width: 200px;
}
.news__date {
    font-family: var(--font-en);
    font-size: 14px;
    color: var(--color-text-light);
    width: 100px;
}
.news__tag {
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text);
}
.news__title {
    font-size: 15px;
    font-weight: 500;
    flex-grow: 1;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.news__arrow {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #5BC0BE;
    transition: var(--transition-smooth);
    flex-shrink: 0;
}
.news__link:hover .news__arrow {
    background-color: var(--color-accent);
}

@media (max-width: 1024px) {
    .news__grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
    .news__grid { min-width: 0; }
    .news__right { min-width: 0; overflow: hidden; }
    .news__list { min-width: 0; overflow: hidden; }
    .news__item { min-width: 0; }
    .news__link { flex-direction: column; align-items: flex-start; gap: 16px; padding: 24px; border-radius: 24px; min-width: 0; overflow: hidden; }
    .news__title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; width: 100%; display: block; }
    .news__meta { border-right: none; border-bottom: 1px solid var(--color-border); padding-right: 0; padding-bottom: 16px; margin-right: 0; width: 100%; justify-content: space-between; }
    .news__arrow { display: none; }
}

/* -------------------------------------------------------------------
   6. Company & Recruit
------------------------------------------------------------------- */
.cr {
    padding-bottom: 80px;
    overflow: visible;
}
.cr__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
/* PC: COMPANYカードに表示 */
.cr-card__deco {
    position: absolute;
    bottom: -70%;
    left: -40%;
    width: clamp(180px, 20vw, 280px);
    height: auto;
    opacity: 0.9;
    z-index: 10;
    pointer-events: none;
    filter: drop-shadow(0 4px 20px rgba(0,0,0,0.08));
}
.cr-card__deco--sp {
    display: none;
}
/* ノートPC付近: はみ出し抑える */
@media (max-width: 1400px) and (min-width: 1201px) {
    .cr-card__deco {
        left: -25%;
        bottom: -60%;
        width: clamp(170px, 19vw, 260px);
    }
}
@media (max-width: 1200px) and (min-width: 901px) {
    .cr-card__deco {
        left: -10%;
        bottom: -50%;
        width: clamp(160px, 18vw, 240px);
    }
}
/* SP: RECRUITカードに切り替え */
@media (max-width: 900px) {
    .cr-card__deco:not(.cr-card__deco--sp) {
        display: none;
    }
    .cr-card__deco--sp {
        display: block;
        position: absolute;
        bottom: -55%;
        right: 0;
        left: auto;
        width: 180px;
        height: auto;
        opacity: 0.8;
        z-index: 10;
        pointer-events: none;
        filter: drop-shadow(0 4px 20px rgba(0,0,0,0.08));
    }
}
.cr-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: visible;
    background: var(--color-secondary-light);
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: var(--transition-smooth);
}
.cr-card.blue {
    background: var(--color-blue-light);
}
.cr-card:hover {
    box-shadow: 0 15px 35px rgba(0,0,0,0.04);
}
.cr-card h3 {
    font-family: var(--font-en);
    font-size: 32px;
    font-weight: 400;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
}
.cr-card h3::before {
    content: '';
    display: inline-block;
    width: 30px;
    height: 2px;
    background-color: currentColor;
    opacity: 0.3;
    transform: rotate(-45deg);
    margin-right: 16px;
}
.cr-card p {
    font-size: 16px;
    color: var(--color-text-light);
    margin-bottom: 32px;
}

@media (max-width: 900px) {
    .cr { padding-bottom: 60px; }
    .cr__grid { grid-template-columns: 1fr; gap: 24px; }
    .cr-card { padding: 48px 40px; }
}

/* -------------------------------------------------------------------
   7. Contact
------------------------------------------------------------------- */
.contact {
    text-align: center;
    padding: 160px 0;
    background: linear-gradient(rgba(25, 62, 101, 0.85), rgba(25, 62, 101, 0.85)), url('../images/bg_cta.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #fff;
    position: relative;
    z-index: 1;
}
@media (max-width: 768px) {
    .contact {
        background: linear-gradient(rgba(25, 62, 101, 0.85), rgba(25, 62, 101, 0.85)), url('../images/bg_cta_sp.webp');
        background-size: cover;
        background-position: center;
        background-attachment: scroll;
    }
}
.contact h2 {
    font-family: var(--font-en);
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 300;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
    color: #fff;
}
.contact p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 56px;
}
.contact__actions {
    display: flex;
    gap: 24px;
    justify-content: center;
}

@media (max-width: 768px) {
    .contact { padding: 80px 0; }
    .contact__actions { flex-direction: column; gap: 16px; align-items: center; }
    .contact__actions .btn { width: 100%; max-width: 300px; }
}
