:root {
    --text-pink: #EB7A77;
    --text-purple: #757DBE;
    --btn-green: #80C9B1;
    --btn-blue: #C5D9F7;
    --text-white: #FFFFFF;
    --bg-body: #F8FCFF;
    /* 蛍光ペン用の色定義 */
    --marker-green: rgba(193, 255, 92, 0.7);
    --marker-orange: rgba(255, 145, 77, 0.8);
    --marker-blue: rgba(128, 222, 234, 0.7);
    --marker-yellow: rgba(255, 220, 0, 0.7);
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Noto Sans JP', sans-serif;
    background-color: var(--bg-body);
    overflow-x: hidden;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

body, * {
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: inherit;
    display: inline-block;
    transition: all 0.3s ease;
}

a:hover {
    text-decoration: underline;
    transform: scale(1.05);
}

h2, h3 {
    font-family: 'Yusei Magic', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', sans-serif;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.main-content {
    width: 100%;
    margin: 0 auto;
    flex: 1;
}

.fit-content {
    width: fit-content;
}

/* --- グローバルヘッダー --- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.75);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.header-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.logo-mark {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    width: 60px;
    height: auto;
    object-fit: contain;
    filter: invert(1);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-title {
    font-weight: 800;
    font-size: 28px;
    font-family: 'Nunito', 'Noto Sans JP', sans-serif;
}

.logo-title:hover {
    color: var(--marker-orange);
    transition: all 0.3s ease;
}

.logo-sub {
    font-size: 12px;
    color: #555;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin: 0 16px 0 auto;
}

.menu-icon {
    display: block;
    width: 24px;
    height: 20px;
    position: relative;
}

.menu-icon::before,
.menu-icon::after {
    content: '';
    position: absolute;
    background: #333;
    height: 2px;
    width: 100%;
    left: 0;
    transition: transform 0.3s ease, top 0.3s ease, bottom 0.3s ease;
}

.menu-icon::before {
    top: 0;
}

.menu-icon::after {
    bottom: 0;
}

.menu-icon span {
    display: block;
    position: absolute;
    background: #333;
    height: 2px;
    width: 100%;
    top: 50%;
    left: 0;
    margin-top: -1px;
    transition: opacity 0.3s ease;
}

/* Xの形に変化 */
.menu-toggle.active .menu-icon::before {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.menu-toggle.active .menu-icon::after {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

.menu-toggle.active .menu-icon span {
    opacity: 0;
}

.site-nav {
    flex: 1;
}

.nav-links {
    display: flex;
    gap: 18px;
    list-style: none;
    padding: 0;
    margin: 0;
    justify-content: flex-start;
}

.nav-links a {
    text-decoration: none;
    color: #36404a;
    font-weight: 600;
    font-size: 14px;
    padding: 8px 10px;
    border-radius: 10px;
    transition: background 0.25s ease, color 0.25s ease;
}

.nav-links a:hover {
    background:var(--marker-orange);
    color: var(--text-white);
}

.header-cta .header-btn {
    padding: 10px 18px;
    font-size: 14px;
    border-radius: 999px;
}

@media (max-width: 960px) {
    .header-inner {
        padding: 16px 24px;
        gap: 16px;
    }

    .menu-toggle {
        display: block;
    }

    .site-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.95);
        border-bottom: 1px solid rgba(0, 0, 0, 0.04);
        padding: 16px 0;
        flex: none !important;
    }

    .site-nav.active {
        display: block;
    }

    .nav-links {
        flex-direction: column;
        gap: 0;
        font-size: 13px;
    }

    .nav-links li {
        border-bottom: 1px solid rgba(0, 0, 0, 0.02);
    }

    .nav-links a {
        display: block;
        padding: 12px 24px;
        border-radius: 0;
    }

    .header-cta {
        display: none;
    }
}

/* --- 背景の形状（提供コードを維持） --- */
.bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
}

.shape-1 {
    width: 800px;
    height: 800px;
    background: #D8F2E8;
    top: -300px;
    left: -200px;
    border-radius: 45% 55% 70% 30% / 30% 40% 60% 70%;
}

.shape-2 {
    width: 600px;
    height: 600px;
    background: #FCE6E6;
    top: -150px;
    right: -100px;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
}

.shape-3 {
    width: 900px;
    height: 600px;
    background: #FFF5D1;
    bottom: -200px;
    right: -100px;
    border-radius: 50%;
    transform: rotate(-10deg);
}

.hero {
    display: flex;
    max-width: 1440px;
    margin: -36px auto 0 auto;
    min-height: 100vh;
    align-items: center;
    position: relative;
}

/* スクロール矢印 */
.scroll-arrow {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-purple);
    opacity: 0.7;
    cursor: pointer;
    transition: opacity 0.3s ease;
    animation: bounce 2s infinite;
    z-index: 100;
}

.scroll-arrow:hover {
    opacity: 1;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* --- 左側コンテンツ（提供コードを維持） --- */
.content-left {
    flex: 1;
    z-index: 10;
}

.brand-header {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 32px;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.08) 0%, rgba(251, 146, 60, 0.08) 100%);
    border: 2px solid rgba(249, 115, 22, 0.2);
    border-radius: 50px;
    padding: 10px 20px 10px 16px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.brand-header:hover {
    border-color: rgba(249, 115, 22, 0.4);
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.12) 0%, rgba(251, 146, 60, 0.12) 100%);
    transform: translateY(-2px);
}

.brand-header::before {
    content: "✓";
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
    border-radius: 50%;
    color: white;
    font-weight: 800;
    font-size: 14px;
    flex-shrink: 0;
}

.wp-symbol {
    width: 48px;
    height: 48px;
    background: #464646;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 30px;
    font-weight: bold;
    margin-right: 12px;
}

.brand-text {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    color: #f97316;
    letter-spacing: 0.3px;
}

.title-en {
    font-family: 'Nunito', 'Noto Sans JP', sans-serif;
    font-size: 78px;
    font-weight: 800;
    color: var(--text-pink);
    margin: 0;
    line-height: 1;
    letter-spacing: -0.25px;
    white-space: nowrap;
}

.title-jp {
    font-family: 'Yusei Magic', 'Noto Sans JP', sans-serif;
    font-size: 60px;
    font-weight: 700;
    color: var(--text-purple);
    margin: 10px 0 35px 0;
    line-height: 1.3;
}

.desc {
    font-size: 15px;
    line-height: 1.9;
    color: #444;
    margin-bottom: 40px;
    font-weight: 500;
}

.btn-area {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 14px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s ease;
}

.btn-green {
    background: var(--btn-green);
    color: #1e5343;
}

.btn-orange {
    background: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
    color: white;
    border: none;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* --- 右側ビジュアルエリア（落書き追加版） --- */
.content-right {
    flex: 1;
    position: relative;
}

.visual-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.marker-blob {
    position: absolute;
    border-radius: 55% 45% 60% 40% / 45% 60% 40% 55%;
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.08));
    z-index: 0;
}

/* 蛍光ペン SVG 共通 */
.scribble {
    position: absolute;
    pointer-events: none;
}

/* 緑の「W」字落書き */
.scribble-w-green {
    top: -8%;
    left: -25%;
    width: 540px;
    height: 420px;
    z-index: 4;
    transform: rotate(155deg);
}

/* オレンジの巨大線 */
.scribble-orange-large {
    bottom: 8%;
    right: -20%;
    width: 380px;
    z-index: 8;
    transform: rotate(-30deg);
}

/* 水色の落書き */
.scribble-blue-top {
    top: -4%;
    right: 6%;
    width: 300px;
    z-index: 1;
}

.scribble-blue-bottom {
    bottom: 12%;
    left: -15%;
    width: 240px;
    z-index: 3;
}

/* 写真カード */
.photo {
    position: absolute;
    background: #fff;
    padding: 10px 10px 30px 10px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-radius: 2px;
    z-index: 2;
}

.photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-1 {
    width: 260px;
    height: 180px;
    top: 8%;
    left: -10%;
    transform: rotate(-6deg);
}

.photo-2 {
    width: 220px;
    height: 240px;
    top: 6%;
    right: -15%;
    transform: rotate(8deg);
}

.photo-3 {
    width: 240px;
    height: 170px;
    bottom: 0%;
    left: -15%;
    transform: rotate(3deg);
}

.photo-4 {
    width: 220px;
    height: 260px;
    bottom: 6%;
    right: -20%;
    transform: rotate(-5deg);
    z-index: 7;
}

/* ノートパソコン */
.laptop-wrap {
    position: absolute;
    top: 50%;
    left: 55%;
    transform: translate(-50%, -50%);
    width: 520px;
    z-index: 5;
}

.laptop-screen {
    background: #222;
    border-radius: 12px 12px 0 0;
    padding: 12px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

/* 画面内（WEBサイト画像） */
.laptop-display {
    background: #fff;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

.laptop-display img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.95;
}

.laptop-bottom {
    background: #ccc;
    height: 12px;
    border-radius: 0 0 20px 20px;
    width: 110%;
    margin-left: -5%;
}

@media (max-width: 1100px) {
    .hero {
        flex-direction: column;
        padding: 0 24px;
        margin-top: 0;
        min-height: auto;
        align-items: flex-start;
    }

    .scroll-arrow {
        display: none;
    }

    .content-left {
        flex: none;
        width: 100%;
        margin-bottom: 40px;
        padding-top: 80px;
        z-index: 10;
    }

    .brand-header {
        margin-bottom: 24px;
    }

    .title-en {
        font-size: 48px;
        white-space: normal;
    }

    .title-jp {
        font-size: 36px;
        margin: 10px 0 24px 0;
    }

    .desc {
        font-size: 14px;
        margin-bottom: 24px;
    }

    .btn-area {
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 12px;
    }

    .content-right {
        width: 100%;
        height: 400px;
        position: static;
    }

    .visual-container {
        width: 100%;
        height: 100%;
    }

    .laptop-wrap {
        position: relative;
        width: 100%;
        height: 100%;
        top: auto;
        left: auto;
        transform: none;
    }

    .photo-1, .photo-2, .photo-3, .photo-4 {
        display: none;
    }

    .scribble-w-green, .scribble-orange-large, .scribble-blue-top, .scribble-blue-bottom {
        display: none;
    }
}

@media (max-width: 768px) {
    .header-inner {
        padding: 12px 16px;
    }

    .hero {
        padding: 0 16px;
    }

    .content-left {
        padding-top: 60px;
        margin-bottom: 30px;
        text-align: center;
    }

    .title-en {
        font-size: 36px;
    }

    .title-jp {
        font-size: 28px;
    }

    .desc {
        font-size: 13px;
        margin-bottom: 20px;
    }

    .btn {
        padding: 12px 20px;
        font-size: 13px;
    }

    .btn-area {
        justify-content: center;
    }

    .content-right {
        height: 300px;
    }

    .hero-image {
        width: 100%;
        height: 100%;
        max-height: 500px;
        object-fit: contain;
        object-position: center;
    }
}

/* ============================================
   フッター
   ============================================ */

.site-footer {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: #cbd5e1;
    padding: 80px 0 30px;
}

.footer-content {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 80px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(203, 213, 225, 0.1);
}

/* フッターブランド */
.footer-brand {
    max-width: 400px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: 20px;
}

.footer-logo-wp {
    width: 70px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    font-family: 'Nunito', sans-serif;
    line-height: 1.2;
}

.footer-logo-sub {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 2px;
}

.footer-description {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #94a3b8;
    margin: 0;
}

/* フッターリンク */
.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column {
    min-width: 0;
}

.footer-heading {
    font-size: 1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    font-family: 'Yusei Magic', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', sans-serif;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list li {
    margin-bottom: 12px;
}

.footer-list a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    display: inline-block;
}

.footer-list a:hover {
    color: #6366f1;
}

/* フッターボトム */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
}

.footer-copyright {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    transform: translateY(-3px);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .site-footer {
        padding: 60px 0 30px;
    }

    .footer-content {
        padding: 0 20px;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 50px;
        padding-bottom: 40px;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .site-footer {
        padding: 50px 0 25px;
    }

    .footer-main {
        gap: 40px;
        padding-bottom: 35px;
    }

    .footer-logo-wp {
        width: 48px;
        height: 48px;
        font-size: 1.75rem;
    }

    .footer-logo-title {
        font-size: 1.3rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-heading {
        font-size: 0.95rem;
        margin-bottom: 16px;
    }
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: #cbd5e1;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: linear-gradient(135deg, #334155 0%, #1e293b 100%);
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.scroll-to-top:active {
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 2.5rem;
        height: 2.5rem;
    }
}
