/* =============================================
   Pattern 19: Pop Comic
   BOOM! — Creative Agency — 品質向上版
   ============================================= */

:root {
    --c-yellow: #FFD700;
    --c-red: #FF1744;
    --c-black: #000000;
    --c-white: #ffffff;
    --c-bg: #FFF9E6;
    --c-blue: #2979FF;

    --f-main: "Dela Gothic One", "Kosugi Maru", sans-serif;
    --f-body: "Kosugi Maru", "Hiragino Kaku Gothic ProN", sans-serif;

    --dot: radial-gradient(circle, rgba(0, 0, 0, 0.08) 1px, transparent 1px);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--f-body);
    color: var(--c-black);
    background: var(--c-bg);
    background-image: var(--dot);
    background-size: 20px 20px;
    line-height: 1.7;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 25px;
}

/* ===== ヘッダー ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: var(--c-black);
    border-bottom: 4px solid var(--c-yellow);
}

.header-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 10px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ===== ロゴ ===== */
.logo-bubble {
    display: inline-block;
    font-family: var(--f-main);
    font-size: 1.5rem;
    color: var(--c-black);
    background: var(--c-yellow);
    padding: 8px 25px;
    border-radius: 30px 30px 30px 5px;
    border: 3px solid var(--c-black);
    position: relative;
    box-shadow: 4px 4px 0 var(--c-black);
    transform: rotate(-2deg);
}

.logo-bubble--small {
    font-size: 1.2rem;
    padding: 6px 18px;
    box-shadow: 3px 3px 0 var(--c-black);
}

/* ===== ナビ ===== */
.nav {
    display: flex;
    gap: 20px;
}

.nav a {
    text-decoration: none;
    color: var(--c-white);
    font-family: var(--f-main);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    padding: 5px 10px;
    transition: all 0.2s;
}

.nav a:hover {
    color: var(--c-yellow);
    transform: scale(1.1);
}

/* ===== ヒーロー（写真背景付き） ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

.hero-dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, var(--c-yellow) 2px, transparent 2px);
    background-size: 30px 30px;
    opacity: 0.08;
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    padding-top: 80px;
}

.hero-badge {
    display: inline-block;
    font-family: var(--f-main);
    font-size: 0.9rem;
    background: var(--c-yellow);
    color: var(--c-black);
    padding: 8px 25px;
    border-radius: 50px;
    margin-bottom: 30px;
    letter-spacing: 0.1em;
    border: 3px solid var(--c-black);
    box-shadow: 3px 3px 0 var(--c-black);
}

.hero-title {
    font-family: var(--f-main);
    font-size: 4rem;
    line-height: 1.4;
    margin-bottom: 20px;
    color: var(--c-white);
}

.pop-text {
    display: inline-block;
    padding: 0 15px;
    position: relative;
}

.pop-text--yellow {
    background: var(--c-yellow);
    color: var(--c-black);
    transform: rotate(-1deg);
}

.pop-text--red {
    background: var(--c-red);
    color: var(--c-white);
    transform: rotate(1deg);
}

.hero-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
}

/* ===== ボタン ===== */
.btn-pop {
    display: inline-block;
    font-family: var(--f-main);
    padding: 16px 40px;
    background: var(--c-red);
    color: var(--c-white);
    text-decoration: none;
    font-size: 1.1rem;
    border: 3px solid var(--c-black);
    border-radius: 10px;
    box-shadow: 5px 5px 0 var(--c-black);
    transition: all 0.2s;
}

.btn-pop:hover {
    transform: translate(3px, 3px);
    box-shadow: 2px 2px 0 var(--c-black);
}

.btn-pop--white {
    background: var(--c-white);
    color: var(--c-red);
}

/* ===== セクション ===== */
.section {
    padding: 100px 0;
}

.section--yellow {
    background: var(--c-yellow);
    background-image: var(--dot);
    background-size: 20px 20px;
}

.section--red {
    background: var(--c-red);
}

.section-title {
    font-family: var(--f-main);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    letter-spacing: 0.1em;
    text-shadow: 3px 3px 0 var(--c-yellow);
}

.section-title--white {
    color: var(--c-white);
    text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.3);
}

.title-en {
    display: block;
    font-size: 1.1rem;
    color: var(--c-black);
    letter-spacing: 0.15em;
    font-family: var(--f-main);
    margin-top: 10px;
    text-shadow: none;
}

/* ===== About（左右分割） ===== */
.about-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-visual {
    border-radius: 15px;
    overflow: hidden;
    border: 3px solid var(--c-black);
    box-shadow: 6px 6px 0 var(--c-black);
}

.about-visual img {
    width: 100%;
    display: block;
    transition: transform 0.5s;
}

.about-visual:hover img {
    transform: scale(1.05);
}

.about-comic {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.speech-bubble {
    background: var(--c-white);
    border: 3px solid var(--c-black);
    border-radius: 20px;
    padding: 25px;
    position: relative;
    box-shadow: 4px 4px 0 var(--c-black);
}

.speech-bubble--left::after {
    content: "";
    position: absolute;
    bottom: -18px;
    left: 30px;
    width: 0;
    height: 0;
    border-left: 15px solid var(--c-black);
    border-right: 15px solid transparent;
    border-top: 18px solid var(--c-white);
}

.speech-bubble--right::after {
    content: "";
    position: absolute;
    bottom: -18px;
    right: 30px;
    width: 0;
    height: 0;
    border-right: 15px solid var(--c-black);
    border-left: 15px solid transparent;
    border-top: 18px solid var(--c-white);
}

/* ===== 写真帯 ===== */
.photo-band {
    position: relative;
    height: 350px;
    overflow: hidden;
}

.band-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-band .band-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
}

.band-content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

.band-quote {
    font-family: var(--f-main);
    font-size: 2.5rem;
    color: var(--c-yellow);
    line-height: 1.5;
    letter-spacing: 0.15em;
    text-shadow: 3px 3px 0 var(--c-black);
}

/* ===== サービスカード（写真付き） ===== */
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.service-card {
    background: var(--c-white);
    border: 3px solid var(--c-black);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 5px 5px 0 var(--c-black);
    transition: all 0.2s;
}

.service-card:hover {
    transform: translate(3px, 3px);
    box-shadow: 2px 2px 0 var(--c-black);
}

.service-img {
    height: 180px;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.service-card:hover .service-img img {
    transform: scale(1.08);
}

.service-body {
    padding: 25px;
    text-align: center;
}

.service-body h3 {
    font-family: var(--f-main);
    font-size: 1rem;
    margin-bottom: 10px;
}

.service-body p {
    font-size: 0.85rem;
    color: #555;
}

/* ===== 実績カード（写真付き） ===== */
.works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.work-card {
    background: var(--c-white);
    border: 3px solid var(--c-black);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 5px 5px 0 var(--c-black);
    transition: all 0.2s;
}

.work-card:hover {
    transform: translate(3px, 3px);
    box-shadow: 2px 2px 0 var(--c-black);
}

.work-img {
    height: 180px;
    overflow: hidden;
}

.work-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.work-card:hover .work-img img {
    transform: scale(1.08);
}

.work-body {
    padding: 25px;
    text-align: center;
}

.work-tag {
    display: inline-block;
    font-family: var(--f-main);
    font-size: 0.7rem;
    background: var(--c-blue);
    color: var(--c-white);
    padding: 4px 15px;
    border-radius: 50px;
    margin-bottom: 12px;
    letter-spacing: 0.1em;
}

.work-body h3 {
    font-family: var(--f-main);
    font-size: 1rem;
    margin-bottom: 10px;
    line-height: 1.5;
}

.work-stats {
    font-size: 0.85rem;
    color: var(--c-red);
    font-weight: bold;
}

/* ===== FAQ ===== */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--c-white);
    border: 3px solid var(--c-black);
    border-radius: 15px;
    margin-bottom: 20px;
    padding: 30px;
    box-shadow: 4px 4px 0 var(--c-black);
}

.faq-q {
    font-family: var(--f-main);
    font-size: 1.1rem;
    color: var(--c-black);
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.faq-q::before {
    content: 'Q.';
    color: var(--c-red);
    font-size: 1.5rem;
    line-height: 1;
}

.faq-a {
    color: #333;
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.faq-a::before {
    content: 'A.';
    color: var(--c-blue);
    font-size: 1.5rem;
    font-family: var(--f-main);
    line-height: 1;
}

/* ===== フッター ===== */
.footer {
    text-align: center;
    padding: 50px 20px;
    background: var(--c-black);
    color: var(--c-white);
}

.footer p {
    margin-top: 15px;
    font-size: 0.75rem;
    opacity: 0.5;
}

/* ===== アニメーション ===== */
.anim {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.anim.anim-up {
    transform: translateY(40px);
}

.anim.anim-left {
    transform: translateX(-40px);
}

.anim.anim-right {
    transform: translateX(40px);
}

.anim.anim-scale {
    transform: scale(0.95);
}

.anim.is-visible {
    opacity: 1;
    transform: translate(0) scale(1);
}

.anim-delay-1 {
    transition-delay: 0.15s;
}

.anim-delay-2 {
    transition-delay: 0.3s;
}

.anim-delay-3 {
    transition-delay: 0.45s;
}

.anim-hero-text {
    opacity: 0;
    transform: translateY(25px);
    transition: all 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.anim-hero-text.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== レスポンシブ ===== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .about-split {
        grid-template-columns: 1fr;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .works-grid {
        grid-template-columns: 1fr;
    }

    .nav {
        display: none;
    }

    .photo-band {
        height: 280px;
    }

    .band-quote {
        font-size: 1.8rem;
    }
}