:root {
    --color-navy: #2B3344;
    --color-orange: #F59E5B;
    --color-orange-hover: #e08948;
    --color-cream: #FDFBF7;
    --color-light-blue: #B8C5D6;
    --color-light-orange: #FCD8B0;
    --color-white: #FFFFFF;

    --font-rounded: 'M PLUS Rounded 1c', sans-serif;
    --font-en: 'Quicksand', sans-serif;

    --shadow-sm: 0 2px 8px rgba(43, 51, 68, 0.08);
    --shadow-md: 0 8px 24px rgba(43, 51, 68, 0.12);
    --shadow-lg: 0 16px 32px rgba(43, 51, 68, 0.15);

    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

html,
body {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-rounded);
    background-color: var(--color-cream);
    color: var(--color-navy);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1,
h2,
h3,
h4 {
    color: var(--color-navy);
    font-weight: 800;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--color-orange);
    color: var(--color-white);
    box-shadow: 0 4px 12px rgba(245, 158, 91, 0.3);
}

.btn-primary:hover {
    background-color: var(--color-orange-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(245, 158, 91, 0.4);
}
.btn-login {
    background-color: white;
  color: var(--color-orange);
  box-shadow: 0 4px 12px rgba(245, 158, 91, 0.3);
  border: 2px solid var(--color-orange);
  margin-left: -20px;
}
.btn-login:hover {
    background-color: var(--color-orange-hover);
    transform: translateY(-2px);
    color:white;
    box-shadow: 0 6px 16px rgba(245, 158, 91, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-navy);
    border: 2px solid var(--color-navy);
}

.btn-secondary:hover {
    background-color: var(--color-navy);
    color: var(--color-white);
    transform: translateY(-2px);
}

.btn-large {
    padding: 14px 32px;
    font-size: 1.1rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    backdrop-filter: blur(8px);
    z-index: 1000;
    border-bottom: 1px solid rgba(43, 51, 68, 0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    max-width: 65px;
    margin-right: -5px;
}

.logo-svg {
    transform: rotate(3deg);
}

.logo:hover .chara {
    transform: scale(1.02) rotate(-5deg);
    transition: transform 0.3s ease;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-text img {
    max-width: 155px;
}

.logo-en {
    font-family: var(--font-en);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.logo-ja {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-orange);
}

.nav {
    display: flex;
    align-items: center;
    gap: 32px;
    transform: rotate(0.03deg);
}

.nav-link {
    font-weight: 700;
    font-size: 0.95rem;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-orange);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section wrapper for full width background */
.hero-wrapper {
    position: relative;
    width: 100%;
    background: linear-gradient(135deg, antiquewhite 0%, var(--color-cream) 100%);
}

/* Hero Background Animations */
.hero-bg-anim {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.blob {
    position: absolute;
    filter: blur(80px);
    border-radius: 50%;
    opacity: 0.5;
    animation: floatBlob 12s ease-in-out infinite alternate;
}

.blob-1 {
    width: 450px;
    height: 450px;
    background-color: rgba(245, 158, 91, 0.15);
    /* Orange */
    top: -150px;
    left: -100px;
    animation-delay: 0s;
}

.blob-2 {
    width: 350px;
    height: 350px;
    background-color: rgba(184, 197, 214, 0.2);
    /* Light Blue */
    bottom: 0;
    right: -50px;
    animation-delay: -4s;
    animation-duration: 15s;
}

.blob-3 {
    width: 300px;
    height: 300px;
    background-color: rgba(252, 216, 176, 0.25);
    /* Light Orange */
    top: 30%;
    left: 50%;
    animation-delay: -8s;
    animation-duration: 18s;
}

.particle {
    position: absolute;
    border-radius: 50%;
    animation: floatParticle 8s linear infinite;
    opacity: 0;
}

.p-1 {
    width: 12px;
    height: 12px;
    background-color: var(--color-orange);
    top: 20%;
    left: 10%;
    animation-duration: 12s;
}

.p-2 {
    width: 8px;
    height: 8px;
    background-color: var(--color-light-blue);
    top: 70%;
    left: 30%;
    animation-duration: 15s;
    animation-delay: 2s;
}

.p-3 {
    width: 15px;
    height: 15px;
    background-color: var(--color-light-orange);
    top: 40%;
    right: 20%;
    animation-duration: 10s;
    animation-delay: 1s;
}

.p-4 {
    width: 10px;
    height: 10px;
    border: 2px solid var(--color-orange);
    background-color: transparent;
    top: 80%;
    right: 10%;
    animation-duration: 14s;
    animation-delay: 5s;
}

.p-5 {
    width: 6px;
    height: 6px;
    background-color: var(--color-navy);
    top: 15%;
    right: 40%;
    animation-duration: 18s;
    animation-delay: 3s;
}

/* Floating Shapes */
.shape {
    position: absolute;
    opacity: 0.5;
    animation: floatSmooth 15s ease-in-out infinite alternate;
}

.circle {
    border-radius: 50%;
}

.c-1 {
    width: 14px;
    height: 14px;
    border: 3px solid var(--color-orange);
    top: 20%;
    left: 15%;
    animation-duration: 14s;
}

.c-2 {
    width: 10px;
    height: 10px;
    background-color: var(--color-light-blue);
    bottom: 30%;
    right: 20%;
    animation-duration: 18s;
    animation-delay: -5s;
}

.line {
    width: 30px;
    height: 4px;
    border-radius: 2px;
}

.l-1 {
    background-color: var(--color-light-orange);
    top: 60%;
    left: 25%;
    transform: rotate(45deg);
    animation-duration: 16s;
}

.l-2 {
    background-color: var(--color-orange);
    top: 25%;
    right: 25%;
    transform: rotate(-30deg);
    animation-duration: 20s;
    animation-delay: -10s;
}

.cross {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--color-light-blue);
    line-height: 1;
}

.x-1 {
    top: 75%;
    left: 40%;
    animation-duration: 17s;
    animation-delay: -3s;
}

.x-2 {
    top: 15%;
    left: 40%;
    color: var(--color-orange);
    animation-duration: 22s;
    animation-delay: -7s;
}

/* Occasional Zaps */
.zap {
    position: absolute;
    opacity: 0;
    width: 30px;
    height: 60px;
    filter: drop-shadow(0 0 8px currentColor);
}

.z-1 {
    top: 35%;
    left: 20%;
    color: var(--color-orange);
    transform: rotate(15deg);
    animation: quickZap 8s infinite 2s;
}

.z-2 {
    bottom: 25%;
    right: 15%;
    color: var(--color-light-blue);
    transform: rotate(-25deg);
    animation: quickZap 12s infinite 7s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 24px 60px;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero-title:first-line {
    font-size: 2rem;
}

.hero-title strong {
    font-size: 1.5rem;
}

.hero-title span {
    color: #FD7B2E;
    font-family: var(--font-en);
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 40px;
    color: #555;
    line-height: 1.8;
    transform: rotate(0.03deg);
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    transform: rotate(0.03deg);
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Hero Video */
.hero-video-wrapper {
    width: 500px;
    max-width: 100%;
    aspect-ratio: 5 / 4;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    background: url('/lp/video-poster.png') center / cover no-repeat;
}

.hero-video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* Robot Animation */
.robot-container {
    width: 400px;
    height: 400px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.circuit-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 20% 30%, var(--color-light-orange) 4px, transparent 4px),
        radial-gradient(circle at 80% 70%, var(--color-light-blue) 4px, transparent 4px),
        radial-gradient(circle at 80% 20%, var(--color-orange) 3px, transparent 3px),
        radial-gradient(circle at 30% 80%, var(--color-light-blue) 3px, transparent 3px);
    background-size: 100px 100px;
    opacity: 0.5;
    animation: pulse 4s infinite alternate;
}

.device-mock {
    width: 280px;
    height: 200px;
    background-color: var(--color-white);
    border: 8px solid var(--color-navy);
    border-radius: 20px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    box-shadow: var(--shadow-lg);
}

.device-mock::after {
    content: '';
    position: absolute;
    bottom: -8px;
    width: 120%;
    height: 16px;
    background-color: var(--color-navy);
    left: -10%;
    border-radius: 10px;
}

.hero-robot {
    width: 140px;
    height: 140px;
    transform: translateY(20px);
    animation: peekOut 3s infinite cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.bling {
    transform-origin: center;
    animation: spin 4s linear infinite;
}

/* Concept Section */
.concept {
    padding: 100px 0;
    background-color: var(--color-white);
    border-radius: 60px;
    margin: 100px 80px 30px;
    box-shadow: var(--shadow-sm);
    transform: rotate(0.03deg);
}

.logo-title {
    font-weight: 700;
    line-height: 1;
    margin-bottom: 80px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 24px;
    text-align:center;
}

.section-desc {
    font-size: 1.1rem;
    font-weight: 600;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Highlights */
.highlight {
    color: var(--color-orange);
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background-color: rgba(245, 158, 91, 0.2);
    z-index: -1;
    border-radius: 4px;
}

/* Concept Visual - Album Style */
.concept-visual {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.album-page {
    background-color: beige;
    padding: 40px;
    border-radius: 20px;
    width: 100%;
    max-width: 600px;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.02), 0 10px 30px rgba(43, 51, 68, 0.05);
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
    opacity: 0;
    animation: fadeIn 0.4s 0.1s forwards;
}

.album-page::before {
    content: '';
    position: absolute;
    top: 20px;
    bottom: 20px;
    left: 20px;
    width: 2px;
    background-color: rgba(245, 158, 91, 0.3);
    border-radius: 2px;
}

.album-log {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s forwards;
    position: relative;
    z-index: 2;
}

.log-1 {
    animation-delay: 0.2s;
}

.log-2 {
    animation-delay: 0.6s;
    flex-direction: row-reverse;
}

.log-3 {
    animation-delay: 1.0s;
}

.log-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    background-color: var(--color-white);
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}

.log-bubble {
    background-color: var(--color-white);
    padding: 16px 20px;
    border-radius: 20px;
    border-top-left-radius: 0;
    box-shadow: var(--shadow-sm);
    font-size: 0.95rem;
    max-width: 80%;
    font-weight: 00;
}

.log-bubble.user {
    background-color: var(--color-orange);
    color: var(--color-white);
    border-top-left-radius: 20px;
    border-top-right-radius: 0;
}

/* Benefit Section */
.benefit {
    padding: 100px 0;
    background: linear-gradient(to bottom, var(--color-cream), #FBF5E9);
}

.polaroid-gallery {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 50px;
}

.polaroid {
    background-color: var(--color-white);
    padding: 16px 16px 60px 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    width: 260px;
    position: relative;
    transition: var(--transition);
    cursor: pointer;
}

.p-1 {
    transform: rotate(-5deg);
}

.p-2 {
    transform: rotate(2deg) translateY(-20px);
}

.p-3 {
    transform: rotate(4deg);
}

.polaroid:hover {
    transform: scale(1.05) translateY(-10px) rotate(0deg);
    z-index: 10;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.polaroid-photo {
    background-color: #f8f9fa;
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    text-align: center;
    border-radius: 2px;
    border: 1px solid #eee;
}

.polaroid-text {
    font-family: var(--font-rounded);
    font-size: 0.9rem;
    color: #555;
    font-weight: 700;
    line-height: 1.6;
}

.polaroid-caption {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    text-align: center;
    font-weight: 700;
    color: var(--color-navy);
    font-size: 1.1rem;
}

/* Supported AI Section */
.supported-ai {
    padding: 50px 0 100px;
    background-color: var(--color-cream);
    transform: rotate(0.03deg);
}

.ai-tags-container {
    background-color: var(--color-white);
    border-radius: 40px;
    padding: 50px;
    margin: 0 24px;
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.tags-title {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 30px;
}

.ai-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.ai-tag {
    background: linear-gradient(135deg, var(--color-navy), #3a455a);
    color: var(--color-white);
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-family: var(--font-en);
    font-size: 1rem;
    box-shadow: 0 4px 10px rgba(43, 51, 68, 0.2);
    transition: var(--transition);
    cursor: default;
}

.ai-tag:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(43, 51, 68, 0.3);
}

.ai-tag.outline {
    background: transparent;
    color: var(--color-navy);
    border: 2px dashed var(--color-light-blue);
    box-shadow: none;
    font-family: var(--font-rounded);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Features Section */
.features {
    padding: 120px 0;
}

.feature-grid {
    display:flex;
    flex-wrap:wrap;
    flex-direction: column;
    gap: 32px;
    margin-top: 60px;
}
.feature-item {
    display: flex;
    align-items: center;
    gap: 32px;
}
.feature-item img {
    width: 50%;
}

.feature-card {
    width: 40%;
}

/* 真ん中だけ反転 */
.feature-item.reverse {
    flex-direction: row-reverse;
}
@media screen and (max-width: 900px) {
    .feature-item,
    .feature-item.reverse {
        flex-direction: column;
    }

    .feature-item img,
    .feature-card {
        width: 100%;
    }
}

.feature-card {
    background-color: var(--color-white);
    padding: 40px 32px;
    border-radius: 32px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 2px solid transparent;
    transform: rotate(0.03deg);
    flex-basis:40%;
}
.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-light-orange);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 24px;
}

.feature-title {
    font-size: 1.3rem;
    margin-bottom: 16px;
}

.feature-desc {
    font-weight: 600;
    color: #555;
    transform: rotate(0.03deg);
}

/* CTA Section */
.cta {
    background-color: var(--color-navy);
    color: var(--color-white);
    padding: 100px 24px;
    text-align: center;
    position: relative;
    margin: 0 24px 60px;
    border-radius: 60px;
    overflow: hidden;
}

.cta h2 {
    color: var(--color-white);
    font-size: 2.5rem;
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.register-form {
    display: flex;
    justify-content: center;
    gap: 16px;
    max-width: 500px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    flex-wrap: wrap;
}

.input-field {
    flex: 1;
    min-width: 250px;
    padding: 14px 24px;
    border-radius: 50px;
    border: none;
    font-family: var(--font-rounded);
    font-size: 1rem;
    outline: none;
    transition: box-shadow 0.3s ease;
}

.input-field:focus {
    box-shadow: 0 0 0 4px rgba(245, 158, 91, 0.4);
}
.cta .btn-login{
    background:transparent;
    color:white;
    margin-left:15px;
    border-color:white;
}

/* Decor inside CTA */
.decor {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    background-color: var(--color-orange);
}

.decor-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    left: -100px;
    animation: floatDecor1 6s ease-in-out infinite alternate;
}

.decor-2 {
    width: 200px;
    height: 200px;
    bottom: -50px;
    right: -50px;
    background-color: var(--color-light-blue);
    animation: floatDecor2 7s ease-in-out infinite alternate -3s;
}

.decor-3 {
    width: 100px;
    height: 100px;
    top: 50px;
    right: 20%;
    background-color: var(--color-white);
    animation: floatDecor3 5s ease-in-out infinite alternate -1s;
}

/* Footer */
.footer {
    padding: 60px 24px;
    background-color: var(--color-white);
    border-top: 1px solid rgba(43, 51, 68, 0.05);
    transform: rotate(0.03deg);
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand p {
    font-size: 0.8rem;
    color: var(--color-orange);
    font-weight: 700;
}

.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-links a {
    font-weight: 700;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--color-orange);
}

.copyright {
    text-align: center;
    font-size: 0.8rem;
    color: #888;
}

/* Animations */
@keyframes floatBlob {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(40px, 60px) scale(1.1);
    }
}

@keyframes floatParticle {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }

    20% {
        opacity: 0.6;
    }

    80% {
        opacity: 0.6;
    }

    100% {
        transform: translateY(-120px) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatSmooth {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(40px, -40px);
    }
}

@keyframes quickZap {

    0%,
    94% {
        opacity: 0;
        transform: scale(0.9);
        filter: drop-shadow(0 0 0 currentColor);
    }

    95% {
        opacity: 1;
        transform: scale(1.1);
        filter: drop-shadow(0 0 12px currentColor);
    }

    96% {
        opacity: 0;
    }

    97% {
        opacity: 0.8;
        transform: scale(1);
        filter: drop-shadow(0 0 6px currentColor);
    }

    98%,
    100% {
        opacity: 0;
    }
}

@keyframes peekOut {

    0%,
    100% {
        transform: translateY(20px);
    }

    40%,
    60% {
        transform: translateY(-5px);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    from {
        opacity: 0.4;
        transform: scale(0.95);
    }

    to {
        opacity: 0.7;
        transform: scale(1.05);
    }
}

@keyframes floatDecor1 {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(20px, -60px) scale(1.3);
    }
}

@keyframes floatDecor2 {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(-40px, -30px) scale(0.7);
    }
}

@keyframes floatDecor3 {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(30px, 40px) scale(1.4);
    }
}

/* Article Banner (LP footer above) */
.article-banner-wrapper {
    max-width: 900px;
    margin: 0 auto 0;
    padding: 0 24px 60px;
}

.article-banner {
    display: block;
    text-decoration: none;
    background: var(--color-white);
    border-radius: 24px;
    padding: 28px 36px;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    transform: rotate(0.03deg);
    border: 2px solid rgba(43, 51, 68, 0.08);
}

.article-banner:hover {
    transform: translateY(-4px) rotate(0.03deg);
    box-shadow: 0 12px 40px rgba(43, 51, 68, 0.12);
    border-color: var(--color-light-orange);
}

.article-banner-inner {
    display: flex;
    align-items: center;
    gap: 20px;
}

.article-banner-label {
    background: var(--color-orange);
    color: #fff;
    font-family: var(--font-en);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    padding: 6px 14px;
    border-radius: 50px;
    white-space: nowrap;
}

.article-banner-text {
    flex: 1;
}

.article-banner-title {
    color: var(--color-navy);
    font-size: 1.1rem;
    font-weight: 800;
    margin: 0 0 4px;
}

.article-banner-sub {
    color: #888;
    font-size: 0.88rem;
    font-weight: 600;
    margin: 0;
}

.article-banner-arrow {
    color: var(--color-orange);
    font-size: 1.5rem;
    font-weight: 700;
    transition: transform 0.2s ease;
}

.article-banner:hover .article-banner-arrow {
    transform: translateX(6px);
}

@media (max-width: 768px) {
    .article-banner {
        padding: 22px 20px;
        border-radius: 20px;
    }
    .article-banner-title {
        font-size: 1rem;
    }
    .article-banner-sub {
        display: none;
    }
}

/* Breadcrumb */
.breadcrumb {
    margin-bottom: 32px;
}

.breadcrumb ol {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.85rem;
    font-weight: 600;
    flex-wrap: wrap;
}

.breadcrumb li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #888;
}

.breadcrumb li + li::before {
    content: '›';
    color: #bbb;
}

.breadcrumb a {
    color: #888;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--color-orange);
}

.breadcrumb li[aria-current="page"] {
    color: var(--color-navy);
}

/* Articles List */
.articles-section {
    padding: 120px 10px 80px;
    background-color: var(--color-cream);
    min-height: calc(100vh - 200px);
}

.articles-container {
    max-width: 860px;
    margin: 0 auto;
    transform: rotate(0.03deg);
}

.articles-header {
    margin-bottom: 32px;
}

.articles-h1 {
    font-size: 2rem;
    color: var(--color-navy);
    margin-bottom: 16px;
}

.articles-lead {
    color: #555;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.8;
    margin-bottom: 24px;
}

.articles-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 8px;
}

.articles-cat-chip {
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    border: 2px solid var(--color-light-blue);
    color: var(--color-navy);
    cursor: pointer;
    transition: var(--transition);
    background: var(--color-white);
    font-family: var(--font-rounded);
}

.articles-cat-chip:hover {
    border-color: var(--color-navy);
}

.articles-cat-chip.active {
    background: var(--color-navy);
    color: #fff;
    border-color: var(--color-navy);
}

/* ═══════════════════════════════════════════
   AIログ：スクリーンショット表示
═══════════════════════════════════════════ */
/* 前回AIログへの誘導ボックス */
.ai-log-prev-link {
    background: #f5f8ff;
    border-left: 3px solid var(--color-orange);
    border-radius: 0 10px 10px 0;
    padding: 14px 18px;
    margin: 24px 0;
}

.ai-log-prev-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-orange);
    margin-bottom: 6px;
    letter-spacing: 0.04em;
}

.ai-log-prev-link a {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-navy);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.ai-log-prev-link a:hover {
    color: var(--color-orange);
}

.ai-log-prev-note {
    margin-top: 8px;
    font-size: 0.8rem;
    color: #777;
    line-height: 1.7;
}

.ai-log-screenshot-wrap {
    margin: 20px 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    border: 1px solid #e8edf5;
}

.ai-log-screenshot {
    display: block;
    width: 100%;
    height: auto;
}

.ai-log-image-wrap {
    margin: 20px 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 28px rgba(0,0,0,0.15);
}

.ai-log-image {
    display: block;
    width: 100%;
    height: auto;
}

/* ═══════════════════════════════════════════
   チャットログUI（AIログ記事用）
═══════════════════════════════════════════ */
.chat-log {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 32px 0;
}

.chat-message {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.chat-user {
    flex-direction: row-reverse;
}

.chat-user .chat-bubble {
    background: var(--color-orange);
    color: #fff;
    border-radius: 18px 4px 18px 18px;
    padding: 11px 16px;
    max-width: 75%;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.7;
}

.chat-gpt {
    flex-direction: row;
}

.chat-avatar {
    width: 34px;
    height: 34px;
    background: #10a37f;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
    margin-top: 4px;
    letter-spacing: -0.5px;
}

.chat-gpt .chat-bubble {
    background: #f4f4f5;
    color: #333;
    border-radius: 4px 18px 18px 18px;
    padding: 14px 18px;
    max-width: 85%;
    font-size: 0.95rem;
    line-height: 1.85;
    font-weight: 500;
}

.chat-bubble p {
    margin: 0 0 8px;
    font-size: inherit;
    line-height: inherit;
    color: inherit;
    font-weight: inherit;
}

.chat-bubble p:last-child {
    margin-bottom: 0;
}

.chat-bubble strong {
    color: var(--color-navy);
    font-weight: 800;
}

.chat-user .chat-bubble strong {
    color: #fff;
}

.chat-bubble ul {
    margin: 6px 0 0;
    padding-left: 4px;
    list-style-position: inside;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.chat-bubble ul li {
    font-size: 0.93rem;
    line-height: 1.7;
    color: inherit;
}

.chat-generated-image {
    max-width: 100%;
    width: 380px;
    border-radius: 14px;
    display: block;
    margin-top: 2px;
}

.chat-note {
    text-align: center;
    font-size: 0.78rem;
    color: #bbb;
    font-weight: 600;
    padding: 4px 0;
    letter-spacing: 0.05em;
}

.chat-section-label {
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--color-orange);
    margin: 24px 0 4px;
    padding: 0;
    border: none;
    background: none;
}

/* ログ記事のイントロ・コメント */
.log-intro {
    background: #fffbf5;
    border-left: 4px solid var(--color-orange);
    border-radius: 0 12px 12px 0;
    padding: 16px 20px;
    margin-bottom: 28px;
    font-size: 0.95rem;
    color: #555;
    line-height: 1.8;
    font-weight: 500;
}

.log-comment {
    background: #f9f9f9;
    border-radius: 10px;
    padding: 12px 16px;
    margin: 24px 0 8px;
    font-size: 0.85rem;
    color: #888;
    font-weight: 600;
    text-align: center;
    font-style: italic;
}

/* タグクラウド */
.articles-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #eaeef5;
}

.articles-tag-chip {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    background: #fff;
    color: #555;
    border: 1px solid #dde4ef;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
    letter-spacing: 0.02em;
}

.articles-tag-chip:hover {
    background: #f0f6ff;
    color: #1a6fc4;
    border-color: #c8ddf7;
}

.articles-tag-chip.active {
    background: #1a6fc4;
    color: #fff;
    border-color: #1a6fc4;
}

.articles-count {
    font-size: 0.85rem;
    color: #aaa;
    font-weight: 600;
    margin-bottom: 24px;
}

.articles-empty {
    color: #aaa;
    font-size: 1rem;
}

.articles-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.article-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.article-list-card {
    background: var(--color-white);
    border-radius: 20px;
    padding: 32px 36px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    transform: rotate(0.03deg);
    border: 2px solid transparent;
}

.article-list-card:hover {
    transform: translateY(-4px) rotate(0.03deg);
    box-shadow: var(--shadow-md);
    border-color: var(--color-light-orange);
}

.article-list-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.article-list-title {
    font-size: 1.2rem;
    line-height: 1.5;
    margin-bottom: 10px;
    color: var(--color-navy);
}

.article-list-desc {
    font-size: 0.95rem;
    color: #666;
    font-weight: 500;
    line-height: 1.7;
    margin-bottom: 16px;
}

.article-read-more {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-orange);
}

/* Affiliate Box */
.affiliate-box {
    background: linear-gradient(135deg, #f5f0ff 0%, #ede8ff 100%);
    border-radius: 16px;
    padding: 24px 28px;
    margin: 40px 0;
    border: 2px solid rgba(139, 92, 246, 0.15);
}

.affiliate-label {
    display: inline-block;
    font-size: 0.7rem;
    color: #aaa;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.affiliate-box p {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 12px;
    font-weight: 600;
}

.affiliate-box a {
    color: var(--color-navy);
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.affiliate-banner {
    text-align: center;
    margin: 40px 0;
}

.affiliate-banner img {
    border-radius: 12px;
    max-width: 100%;
}

/* Mobile header */
@media (max-width: 640px) {
    .header-container {
        padding: 0 14px;
    }

    .logo {
        gap: 4px;
    }

    .logo .chara {
        max-width: 45px;
        margin-right: -3px;
    }

    .logo-text img {
        max-width: 95px;
    }

    .nav {
        gap: 6px;
    }

    .nav-link {
        display: none;
    }

    header nav .btn {
        padding: 8px 12px;
        font-size: 0.82rem;
    }

    .btn-login {
        margin-left: 0;
    }
}

/* Mobile performance: disable heavy background animations */
@media (max-width: 768px) {
    .hero-bg-anim {
        display: none;
    }

    .decor-1,
    .decor-2,
    .decor-3 {
        animation: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .blob,
    .particle,
    .shape,
    .zap,
    .decor-1,
    .decor-2,
    .decor-3 {
        animation: none;
    }

    .album-page,
    .album-log {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

/* Article Detail Breadcrumb */
.article-breadcrumb {
    padding: 92px 24px 0;
    max-width: 800px;
    margin: 0 auto;
    transform: rotate(0.03deg);
}

.article-breadcrumb ol {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    font-size: 0.82rem;
    font-weight: 600;
    flex-wrap: wrap;
}

.article-breadcrumb li {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #888;
}

.article-breadcrumb li + li::before {
    content: '›';
    color: #bbb;
}

.article-breadcrumb a {
    color: #888;
    text-decoration: none;
}

.article-breadcrumb a:hover {
    color: var(--color-orange);
}

.article-breadcrumb li[aria-current="page"] {
    color: var(--color-navy);
    max-width: 380px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
}

/* パンくずがある場合は article-page の上padding を縮める */
.has-breadcrumb .article-page {
    padding-top: 24px;
}

/* Article Detail */
.article-page {
    padding: 120px 24px 60px;
    max-width: 800px;
    margin: 0 auto;
}

.article-card {
    background-color: var(--color-white);
    border-radius: 40px;
    padding: 60px;
    box-shadow: var(--shadow-sm);
    transform: rotate(0.03deg);
}

.article-header {
    margin-bottom: 40px;
    text-align: center;
}

.article-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 16px;
}

.article-date {
    color: #888;
    font-size: 0.95rem;
    font-weight: bold;
}

.article-category {
    background-color: var(--color-light-orange);
    color: var(--color-navy);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
}

.article-new-badge {
    background: #e8315a;
    color: #fff;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 4px;
    letter-spacing: 0.08em;
    vertical-align: middle;
}

.article-title {
    font-size: 2.2rem;
    line-height: 1.4;
    margin-bottom: 0;
    color: var(--color-navy);
}

.article-content ul,
.article-content ol {
    list-style-position: inside;
    padding: 0;
    margin: 0 0 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.article-content ul li,
.article-content ol li {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
    font-weight: 500;
    padding-left: 4px;
}

.article-content h2 {
    font-size: 1.6rem;
    margin: 50px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(245, 158, 91, 0.3);
    position: relative;
    color: var(--color-navy);
}

.article-content h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--color-orange);
}

.article-content h3 {
    font-size: 1.3rem;
    margin: 30px 0 16px;
    color: var(--color-orange);
}

.article-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 24px;
    color: #444;
    font-weight: 500;
}

.article-content strong {
    background: linear-gradient(transparent 70%, rgba(245, 158, 91, 0.4) 70%);
    color: var(--color-navy);
    padding: 0 4px;
}

.article-content a {
    color: #1a6fc4;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 600;
}

.article-content a:hover {
    color: #0f52a0;
    text-decoration: underline;
}

.article-cta-box a {
    color: #fff !important;
    text-decoration: none !important;
}

/* Prompt Box */
/* 記事内テーブル */
.article-table-outer {
    position: relative;
    margin: 8px 0 28px;
}

/* スクロールヒント（スマホのみ表示） */
.article-table-hint {
    display: none;
    align-items: center;
    gap: 5px;
    font-size: 0.75rem;
    color: #999;
    margin-bottom: 6px;
}

.article-table-hint svg {
    flex-shrink: 0;
}

/* 右フェード（スクロール余地を示す） */
.article-table-outer::after {
    content: '';
    display: none;
    position: absolute;
    top: 0;
    right: 0;
    width: 48px;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(253,251,247,0.92));
    border-radius: 0 12px 12px 0;
    pointer-events: none;
    transition: opacity 0.25s;
}

/* スクロール済みで右端に到達したらフェード消す（JSで制御） */
.article-table-outer.scrolled-end::after {
    opacity: 0;
}

@media (max-width: 640px) {
    .article-table-hint {
        display: flex;
    }
    .article-table-outer::after {
        display: block;
    }
}

.article-table-wrapper {
    overflow-x: auto;
    border-radius: 12px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.07);
    /* スクロールバーを常時表示（WebKit） */
    scrollbar-width: thin;
    scrollbar-color: #d0d8e8 transparent;
}

.article-table-wrapper::-webkit-scrollbar {
    height: 5px;
}

.article-table-wrapper::-webkit-scrollbar-track {
    background: transparent;
}

.article-table-wrapper::-webkit-scrollbar-thumb {
    background: #d0d8e8;
    border-radius: 99px;
}

.article-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    min-width: 480px;
}

.article-table thead tr {
    background: var(--color-navy);
    color: #fff;
}

.article-table th {
    padding: 12px 16px;
    font-weight: 700;
    text-align: center;
    font-size: 0.85rem;
    letter-spacing: 0.03em;
}

.article-table td {
    padding: 11px 16px;
    border-bottom: 1px solid #eaeef5;
    color: #444;
    font-weight: 500;
    line-height: 1.6;
    text-align: center;
}

.article-table td:first-child {
    text-align: left;
    background: #fafbfd;
}

.article-table tbody tr:last-child td {
    border-bottom: none;
}

.article-table tbody tr:hover td {
    background: #fffbf5;
}

.prompt-box {
    background-color: #f8f9fa;
    border-left: 4px solid var(--color-orange);
    padding: 20px 24px;
    border-radius: 0 10px 10px 0;
    margin-bottom: 24px;
    font-family: monospace;
    white-space: pre-wrap;
    font-size: 0.93rem;
    line-height: 1.7;
    color: #333;
}

.affiliate-text-link {
    display: block;
    margin: 0 0 24px;
    padding: 14px 18px;
    background: #f0f6ff;
    border-left: 4px solid #1a6fc4;
    border-radius: 0 10px 10px 0;
    font-size: 0.95rem;
    color: #444;
}

.affiliate-text-link a {
    color: #1a6fc4 !important;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 700;
}

.article-cta-box {
    background: linear-gradient(135deg, #FBF5E9 0%, var(--color-cream) 100%);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    margin-top: 60px;
    border: 2px dashed var(--color-light-orange);
}

.article-cta-box h3 {
    margin-top: 0;
    color: var(--color-navy);
}

.article-cta-box p {
    margin-bottom: 24px;
}

.article-back-link {
    margin-top: 32px;
    text-align: center;
}

.article-back-link a {
    font-weight: 700;
    color: var(--color-navy);
    font-size: 0.95rem;
}

.article-back-link a:hover {
    color: var(--color-orange);
}

/* ═══════════════════════════════════════════
   目次サイドバー
═══════════════════════════════════════════ */
.article-toc-sidebar {
    position: fixed;
    top: 130px;
    left: calc(50% + 430px);
    width: 210px;
    max-height: calc(100vh - 160px);
    overflow-y: auto;
    scrollbar-width: none;
}

.article-toc-sidebar::-webkit-scrollbar {
    display: none;
}

.article-toc {
    background: #fff;
    border-radius: 16px;
    padding: 20px 20px 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    border: 1px solid #eaeef5;
    transform: rotate(0.03deg);
}

.article-toc-heading {
    font-size: 0.82rem;
    font-weight: 800;
    color: #aaa;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: 0 0 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eaeef5;
}

#articleTocList {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: toc-counter;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

#articleTocList li {
    counter-increment: toc-counter;
}

#articleTocList a {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 7px 8px;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #666;
    line-height: 1.5;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}

#articleTocList a::before {
    content: counter(toc-counter);
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--color-light-orange);
    color: var(--color-orange);
    font-size: 0.72rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

#articleTocList a:hover {
    background: #fff8f2;
    color: var(--color-navy);
}

#articleTocList a.active {
    background: #fff3e8;
    color: var(--color-orange);
}

#articleTocList a.active::before {
    background: var(--color-orange);
    color: #fff;
}

/* 1380px以下では目次を非表示 */
@media (max-width: 1380px) {
    .article-toc-sidebar {
        display: none;
    }
}

@media (max-width: 768px) {
    .article-card {
        padding: 30px 20px;
    }
    .article-title {
        font-size: 1.6rem;
    }
    .article-list-card {
        padding: 24px 20px;
    }
    .articles-container .section-title {
        font-size: 1.8rem;
    }
}

/* Related Articles */
.related-articles {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px 80px;
    transform: rotate(0.03deg);
}

.related-articles-title {
    font-size: 1.1rem;
    color: var(--color-navy);
    font-weight: 800;
    margin-bottom: 16px;
    padding-left: 12px;
    border-left: 4px solid var(--color-orange);
}

.related-articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.related-article-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: var(--color-white);
    border-radius: 16px;
    padding: 20px;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.related-article-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    text-decoration: none;
}

.related-article-title {
    flex: 1;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--color-navy);
    line-height: 1.55;
    margin: 0;
}

.related-article-more {
    font-size: 0.82rem;
    color: var(--color-orange);
    font-weight: 700;
}

@media (max-width: 768px) {
    .related-articles-grid {
        grid-template-columns: 1fr;
    }
}

/* Legal Pages */
.legal-section {
    padding: 120px 24px 80px;
    background-color: var(--color-white);
    min-height: calc(100vh - 200px);
}

.legal-container {
    max-width: 800px;
    margin: 0 auto;
}

.legal-container .section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 40px;
}

.legal-content {
    background: var(--color-cream);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    line-height: 1.8;
    transform: rotate(0.03deg);
}

.legal-content h2 {
    font-size: 1.3rem;
    margin-top: 40px;
    margin-bottom: 16px;
    color: var(--color-navy);
    border-bottom: 2px solid rgba(245, 158, 91, 0.4);
    padding-bottom: 8px;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content p {
    margin-bottom: 16px;
    color: #444;
}

.legal-content ul, .legal-content ol {
    margin-left: 20px;
    margin-bottom: 16px;
    color: #444;
}

.contact-email {
    font-size: 0.95rem;
    color: #555;
    margin-top: 10px;
    display: inline-block;
    padding: 8px 16px;
    background: #e8ecef;
    border-radius: 8px;
    font-family: var(--font-en);
}

@media (max-width: 768px) {
    .legal-content {
        padding: 24px;
    }
    .legal-container .section-title {
        font-size: 1.8rem;
    }
}

/* Responsive */
@media (max-width: 1000px) {
    .hero {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 150px;
    }
    .header-container{
        padding: 0 20px;
    }
    header .logo {
      display: inline-flex;
      width: 50%;
    }
    header .logo .chara {
      max-width: 45px;
      margin-right: -3px;
    }
    header .logo-text {
      width: 55%;
    }
    header nav .btn{
        white-space: nowrap;
        font-size: 12px;
        padding: 10px 15px;
    }

    .hero-content,
    .hero-visual {
        display: contents;
    }

    .hero-title {
        order: 1;
        font-size: 3.5rem;
        white-space: break-spaces;
    }

    .hero-title:first-line {
        font-size: 1.5rem;
    }

    .hero-title strong {
        font-size: 1.2rem;
    }

    .hero-video-wrapper {
        order: 2;
        margin-bottom: 24px;
        width: 100%;
    }

    .hero-subtitle {
        order: 3;
    }

    .hero-cta {
        order: 4;
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }

    .nav a:first-child,
    .nav a:nth-child(2){
        display:none;
    }

    .concept {
        margin: 0 16px;
        padding: 60px 5px;
    }

    .section-desc {
        font-size: 1rem;
        text-align: left;
    }

    .album-page {
        padding: 15px;
    }

    .album-page::before {
        display: none;
    }

    .log-bubble {
        max-width: 95%;
        padding: 12px 16px;
    }

    .ai-tags-container {
        padding: 30px 16px;
        margin: 0 16px;
    }

    .cta {
        margin: 0 16px 40px;
        border-radius: 40px;
        padding: 60px 16px;
    }

    .cta h2 {
        font-size: 2rem;
    }
    .cta .btn-primary,
    .cta .btn-login {
        display: block;
        margin: 0 auto;
        width: fit-content;
    }

    .cta .btn-login {
        margin-top: 12px;
    }
    .section-title {
        font-size: 1.6rem;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}
/* ═══════════════════════════════════════════
   記事タグチップ（一覧カード内 + 詳細ページ）
═══════════════════════════════════════════ */
.article-list-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.article-tag {
    display: inline-block;
    padding: 3px 10px;
    background: white;
    color: #777;
    border: 1px solid #c8ddf7;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    text-decoration: none;
}

.article-tag:hover,
.article-tag.active {
    background: #1a6fc4;
    color: #fff;
    border-color: #1a6fc4;
}

/* 詳細ページのタグエリア */
.article-detail-tags {
    max-width: 800px;
    margin: 0 auto 8px;
    padding: 0 24px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.article-detail-tags-label {
    font-size: 0.8rem;
    color: #888;
    font-weight: 600;
}

/* ═══════════════════════════════════════════
   アクティブフィルター表示
═══════════════════════════════════════════ */
.active-filter {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 12px;
    padding: 10px 16px;
    background: #eef5ff;
    border-radius: 10px;
    font-size: 0.85rem;
    color: #333;
}

.active-filter strong {
    color: #1a6fc4;
}

.clear-filter {
    background: none;
    border: 1px solid #c8ddf7;
    border-radius: 20px;
    padding: 2px 10px;
    font-size: 0.78rem;
    color: #1a6fc4;
    cursor: pointer;
    transition: background 0.15s;
}

.clear-filter:hover {
    background: #1a6fc4;
    color: #fff;
}

/* ═══════════════════════════════════════════
   ページネーション
═══════════════════════════════════════════ */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin: 40px 0 20px;
    flex-wrap: wrap;
}

.pagination-page,
.pagination-btn {
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #dde4ef;
    border-radius: 8px;
    background: #fff;
    color: #333;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.pagination-page:hover,
.pagination-btn:hover {
    background: #f0f6ff;
    border-color: #1a6fc4;
    color: #1a6fc4;
}

.pagination-page.active {
    background: #1a6fc4;
    border-color: #1a6fc4;
    color: #fff;
}

.pagination-btn.disabled {
    opacity: 0.35;
    cursor: default;
    pointer-events: none;
}

.pagination-ellipsis {
    min-width: 32px;
    text-align: center;
    color: #aaa;
    font-size: 0.9rem;
    line-height: 40px;
}

@media (max-width: 600px) {
    .pagination-page,
    .pagination-btn {
        min-width: 34px;
        height: 34px;
        font-size: 0.82rem;
        padding: 0 8px;
    }
    .article-detail-tags {
        padding: 0 16px;
    }
}

/* ═══════════════════════════════════════════
   3STEP 遊び方セクション
═══════════════════════════════════════════ */
.howto {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--color-cream) 0%, #FFF5EC 100%);
    transform: rotate(0.03deg);
}

.howto-eyebrow {
    display: inline-block;
    font-family: var(--font-en);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--color-orange);
    background: rgba(245, 158, 91, 0.12);
    padding: 4px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.howto-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    margin-top: 56px;
}

.howto-step {
    flex: 1;
    max-width: 300px;
    text-align: center;
    padding: 44px 28px 36px;
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    position: relative;
}

.step-num {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 36px;
    background: var(--color-orange);
    color: white;
    border-radius: 50%;
    font-weight: 800;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-en);
    box-shadow: 0 4px 10px rgba(245, 158, 91, 0.4);
}

.step-icon {
    font-size: 2.4rem;
    margin-bottom: 14px;
}

.step-title {
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--color-navy);
}

.step-desc {
    font-size: 0.88rem;
    color: #666;
    line-height: 1.75;
    font-weight: 600;
}

.howto-arrow {
    font-size: 1.8rem;
    color: var(--color-light-orange);
    font-weight: 800;
    align-self: center;
    padding: 0 20px;
    flex-shrink: 0;
    margin-top: -12px;
}

.howto-badge-wrap {
    text-align: center;
    margin-top: 48px;
}

.howto-badge {
    display: inline-block;
    background: rgba(245, 158, 91, 0.1);
    border: 2px solid rgba(245, 158, 91, 0.35);
    color: var(--color-navy);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 10px 28px;
    border-radius: 50px;
}

.howto-cta {
    text-align: center;
    margin-top: 32px;
}

@media (max-width: 768px) {
    .howto {
        padding: 70px 0;
    }
    .howto .section-desc {
        text-align: center;
    }
    .howto-steps {
        flex-direction: column;
        align-items: center;
        gap: 36px;
    }
    .howto-step {
        width: 100%;
        max-width: 420px;
    }
    .howto-arrow {
        transform: rotate(90deg);
        padding: 0;
        margin-top: 0;
        font-size: 1.4rem;
    }
}

/* ── FAQ Section ── */
.faq {
    padding: 80px 0;
    background-color: var(--color-cream);
    transform: rotate(0.03deg);
}

.faq-list {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--color-white);
    border-radius: 16px;
    border: 2px solid rgba(43, 51, 68, 0.08);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item[open] {
    border-color: var(--color-orange);
    box-shadow: var(--shadow-md);
}

.faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    font-size: 1rem;
    font-weight: 800;
    color: var(--color-navy);
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.faq-q::-webkit-details-marker { display: none; }

.faq-q::after {
    content: '+';
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--color-light-orange);
    color: var(--color-orange);
    font-size: 1.2rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.faq-item[open] .faq-q::after {
    content: '−';
    background: var(--color-orange);
    color: var(--color-white);
}

.faq-a {
    padding: 0 24px 20px;
    font-size: 0.95rem;
    line-height: 1.8;
    color: #4a5568;
    border-top: 1px solid rgba(43, 51, 68, 0.06);
    padding-top: 16px;
}

.faq-link {
    color: var(--color-orange);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.faq-link:hover {
    color: var(--color-orange-hover);
}

@media (max-width: 600px) {
    .faq {
        padding: 60px 0;
    }
    .faq-q {
        font-size: 0.95rem;
        padding: 16px 18px;
    }
    .faq-a {
        padding: 14px 18px 18px;
        font-size: 0.9rem;
    }
}
