/* ===== CUSTOM CURSOR ===== */

body {
    cursor: url('/img/chepple_dot.png'), auto;
}

/* ===== ACCESSIBILITY / SEO ===== */

.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;
}

/* ===== LOADING ===== */

#loading {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    perspective: 800px;
    background: linear-gradient(0deg, rgb(255, 225, 245), white);
}

#loading-spinner {
    width: 280px;
}

#loading-spinner img {
    width: 280px;
}

#img-sit   { display: block; }
#img-happy { display: none; }

/* ===== HEADER ===== */

#site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 143, 171, 0.25);
    transition: box-shadow 300ms ease;
}

#site-header.scrolled {
    box-shadow: 0 4px 24px rgba(194, 59, 80, 0.1);
}

.header-inner {
    max-width: 1080px;
    margin: 0 auto;
    padding: 10px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo img {
    height: 36px;
    display: block;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.header-nav a {
    font-size: 14px;
    color: #555;
    font-weight: 400;
    transition: color 200ms ease;
    cursor: pointer;
}

.header-nav a:hover {
    color: #C23B50;
}

.nav-cta {
    background-color: #C23B50;
    color: white !important;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px !important;
    font-weight: 500 !important;
    transition: background-color 200ms ease, transform 200ms ease, box-shadow 200ms ease !important;
}

.nav-cta:hover {
    background-color: #A83040 !important;
    color: white !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(194, 59, 80, 0.3);
}

/* ===== HAMBURGER ===== */

.hamb {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.hamb span {
    display: block;
    width: 24px;
    height: 2px;
    background: #C23B50;
    border-radius: 2px;
}

/* ===== MOBILE MENU ===== */

.menu {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: flex-end;
}

.menu.closed {
    display: none;
}

.menu-inner {
    background: white;
    width: min(320px, 85vw);
    height: 100%;
    padding: 60px 32px 40px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.menu-inner a {
    display: block;
    padding: 16px 0;
    border-bottom: 1px solid #FFE4EE;
    font-size: 16px;
    color: #333;
    cursor: pointer;
    transition: color 200ms ease;
}

.menu-inner a:hover {
    color: #C23B50;
}

.menu-inner .menu-cta {
    margin-top: 24px;
    background-color: #C23B50;
    color: white !important;
    text-align: center;
    padding: 14px;
    border-radius: 50px;
    border: none;
    font-weight: 500;
}

.close-button {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #999;
    padding: 8px;
    line-height: 1;
}

/* ===== HERO ADDITIONS ===== */

div.slogan {
    bottom: 52dvh;
}

.hero-cta {
    position: absolute;
    bottom: 36dvh;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    background-color: #C23B50;
    color: white;
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 200ms ease, transform 200ms ease, box-shadow 200ms ease;
    box-shadow: 0 8px 24px rgba(194, 59, 80, 0.35);
}

.hero-cta:hover {
    background-color: #A83040;
    transform: translateX(-50%) translateY(-3px);
    box-shadow: 0 12px 32px rgba(194, 59, 80, 0.45);
    color: white;
}

.company-reading {
    text-align: center;
    font-size: 1rem;
    letter-spacing: 0.2em;
    color: #C23B50;
    margin: 6px 0 0;
    text-shadow: 0 0 6px white, 0 0 6px white;
}

div.company-logo {
    bottom: 16dvh;
}

.hero-chepple {
    position: absolute;
    bottom: 0;
    right: 40px;
    width: 110px;
    animation: chepple-float 3s ease-in-out infinite;
}

.hero-chepple img {
    width: 100%;
    display: block;
}

@keyframes chepple-float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-14px); }
}

/* ===== OVERFLOW GUARD ===== */

html {
    overflow-x: clip;
}

#hero {
    overflow: hidden;
}

/* ===== SECTION COMMON ===== */

section[id] {
    scroll-margin-top: 64px;
}

body > section {
    padding: 100px 0;
    color: #333;
}

#hero {
    padding: 0 !important;
}

.section-tag {
    display: inline-block;
    background: linear-gradient(135deg, #FFB6C8, #C23B50);
    color: white;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    padding: 5px 16px;
    border-radius: 50px;
    margin-bottom: 20px;
    transform: rotate(-2deg);
    box-shadow: 2px 3px 0 rgba(194, 59, 80, 0.2);
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    color: #2D1418;
    line-height: 1.5;
    margin-bottom: 20px;
    font-weight: 700;
}

.section-lead {
    font-size: 0.95rem;
    color: #666;
    line-height: 2;
    margin-bottom: 56px;
    max-width: 560px;
}

/* ===== ABOUT ===== */

#about {
    background: white;
}

.about-lead-row {
    display: flex;
    align-items: flex-end;
    gap: 32px;
    margin-bottom: 56px;
}

.about-lead-row .section-lead {
    margin-bottom: 0;
    flex: 1;
}

.about-chepple {
    flex-shrink: 0;
    width: 140px;
    animation: chepple-float 3s ease-in-out infinite;
}

.about-chepple img {
    width: 100%;
    display: block;
}

.about-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: start;
}

.about-card:nth-child(even) {
    margin-top: 32px;
}

.about-card {
    background: #FFF5F9;
    border-radius: 20px;
    padding: 32px 20px;
    text-align: center;
    transition: transform 300ms ease, box-shadow 300ms ease;
}

.about-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(194, 59, 80, 0.1);
}

.about-card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #FFE4EE, #FFD6E7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    color: #C23B50;
}

.about-card-icon svg {
    width: 26px;
    height: 26px;
}

.about-card h3 {
    font-size: 0.95rem;
    color: #C23B50;
    margin-bottom: 8px;
    font-weight: 700;
}

.about-card p {
    font-size: 0.82rem;
    color: #777;
    line-height: 1.8;
    margin: 0;
}

/* ===== SERVICES ===== */

#services {
    background: #FFF5F9;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.service-card {
    background: white;
    border-radius: 24px;
    padding: 40px 36px;
    transition: transform 300ms ease, box-shadow 300ms ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #FFB6C8, #C23B50);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 48px rgba(194, 59, 80, 0.13);
}

.service-icon {
    width: 52px;
    height: 52px;
    background: #FFF0F4;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #C23B50;
}

.service-icon svg {
    width: 24px;
    height: 24px;
}

/* 悩み文 — 目を引くフックとして一番目立たせる */
.service-problem {
    font-size: 1rem;
    color: #C23B50;
    font-style: normal;
    font-weight: 600;
    margin-bottom: 18px;
    padding: 14px 18px;
    background: #FFF0F4;
    border-left: 4px solid #FFB6C8;
    border-radius: 0 12px 12px 0;
    line-height: 1.7;
}

/* サービス名 — 悩みへの答えとして明確に */
.service-card h3 {
    font-size: 1.25rem;
    color: #2D1418;
    margin-bottom: 12px;
    font-weight: 700;
}

.service-card p {
    font-size: 0.93rem;
    color: #555;
    line-height: 2;
    margin: 0 0 18px;
}

.service-link {
    font-size: 0.88rem;
    color: #C23B50;
    font-weight: 600;
    transition: opacity 200ms ease;
}

.service-link:hover {
    opacity: 0.7;
}

/* ===== WORKS SCREENSHOT ===== */

.work-screenshot {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
    border: 1px solid #FFE4EE;
    aspect-ratio: 16 / 9;
    background: #f5f5f5;
}

.work-screenshot img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: top left;
    transition: transform 400ms ease;
}

.work-card:hover .work-screenshot img {
    transform: scale(1.04);
}

/* EKIUSカードに淡いグリーントーン */
.service-card:has(.service-icon--ekius) {
    background: linear-gradient(160deg, #F2FFF5 0%, white 60%);
}

.service-card:has(.service-icon--ekius)::before {
    background: linear-gradient(90deg, #7EC89A, #4CAF72);
}

/* ===== WORK SCREENSHOT STACK ===== */

.work-screenshot--stack {
    background: #EEF3F9;
    border-color: #D4E2F0;
    overflow: hidden;
    position: relative;
}

.work-screenshot--stack img {
    position: absolute;
    width: 74%;
    height: auto;
    object-fit: unset;
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.14);
    transition: transform 350ms ease, rotate 350ms ease;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: smooth;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.work-screenshot--stack .stack-back {
    top: 8%;
    right: 2%;
    rotate: 3deg;
    z-index: 1;
}

.work-screenshot--stack .stack-front {
    bottom: 4%;
    left: 2%;
    rotate: -2deg;
    z-index: 2;
}

.work-card:hover .work-screenshot--stack .stack-front {
    transform: translateY(-6px) scale(1.03);
}

.work-card:hover .work-screenshot--stack .stack-back {
    transform: translateY(4px);
}

/* ===== EKIUS LOGO ICON ===== */

.service-icon--ekius {
    background: none;
    border-radius: 0;
    width: auto;
    height: auto;
    display: block;
    margin-bottom: 18px;
}

.service-icon--ekius img {
    height: 32px;
    width: auto;
    display: block;
}

/* ===== WHY ===== */

#why {
    background: white;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 56px;
}

.why-card {
    border: 2px solid #FFE4EE;
    border-radius: 20px;
    padding: 36px 32px;
    transition: border-color 300ms ease, transform 300ms ease;
}

.why-card:hover {
    border-color: #FFB6C8;
    transform: translateY(-4px);
}

.why-number {
    font-size: 3rem;
    font-weight: 800;
    color: #FFD6E7;
    line-height: 1;
    margin-bottom: 14px;
    font-family: Arial, sans-serif;
}

.why-card h3 {
    font-size: 1.05rem;
    color: #C23B50;
    margin-bottom: 10px;
    font-weight: 700;
}

.why-card p {
    font-size: 0.88rem;
    color: #666;
    line-height: 1.9;
    margin: 0;
}

/* ===== WORKS ===== */

#works {
    background: #FFF5F9;
    padding: 0 !important;
}

/* ── スクロール駆動 横スクロール ── */

.works-pin-area {
    position: relative;
    /* height は JS で設定 */
}

.works-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.works-header {
    flex-shrink: 0;
    max-width: 1080px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 64px 40px 28px;
}

.works-track-outer {
    flex: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: 0;
}

.works-track {
    display: flex;
    gap: 24px;
    padding: 0 40px;
    will-change: transform;
}

.works-track .work-card {
    flex-shrink: 0;
    width: clamp(280px, 36vw, 380px);
    background: white;
    border-radius: 20px;
    padding: 28px 24px;
    rotate: 0deg !important;
    transition: transform 300ms ease, box-shadow 300ms ease;
}

.works-track .work-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(194, 59, 80, 0.08);
}

/* HP 制作実績（通常フロー） */
.works-after {
    max-width: 1080px;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 72px 40px 100px;
}

.work-label {
    display: inline-block;
    background: #FFE4EE;
    color: #C23B50;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.work-card h3 {
    font-size: 1rem;
    color: #333;
    margin-bottom: 16px;
    font-weight: 700;
}

.work-problem {
    font-size: 0.82rem;
    color: #aaa;
    font-style: italic;
    margin: 0 0 12px;
    padding: 10px 14px;
    background: #FFF5F9;
    border-radius: 10px;
    line-height: 1.7;
}

.work-result {
    font-size: 0.88rem;
    color: #C23B50;
    font-weight: 600;
    margin: 0;
    line-height: 1.7;
}

/* ===== WORKS HP ===== */

.works-hp {
    margin-top: 48px;
}

.works-hp-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: #C23B50;
    letter-spacing: 0.08em;
    border-left: 3px solid #FFB6C8;
    padding-left: 10px;
    margin-bottom: 16px;
}

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

.works-hp-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
    border: 1.5px solid #FFE4EE;
    border-radius: 14px;
    padding: 18px 20px;
    transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
    text-decoration: none;
}

.works-hp-card:hover {
    border-color: #FFB6C8;
    box-shadow: 0 6px 20px rgba(194, 59, 80, 0.1);
    transform: translateY(-2px);
}

.works-hp-icon {
    width: 36px;
    height: 36px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 8px;
}

.works-hp-info {
    flex: 1;
    min-width: 0;
}

.works-hp-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.works-hp-url {
    font-size: 0.75rem;
    color: #aaa;
    white-space: nowrap;
}

.works-hp-arrow {
    font-size: 1rem;
    color: #FFB6C8;
    transition: color 200ms ease, transform 200ms ease;
}

.works-hp-card:hover .works-hp-arrow {
    color: #C23B50;
    transform: translateX(3px);
}

/* ===== PRICE ===== */

#price {
    background: white;
}

.price-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 56px;
    align-items: start;
}

.price-card {
    border: 2px solid #FFE4EE;
    border-radius: 24px;
    padding: 40px 28px;
    text-align: center;
    position: relative;
    transition: transform 300ms ease, box-shadow 300ms ease;
    background: white;
}

.price-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(194, 59, 80, 0.1);
}

.price-card--recommended {
    border-color: #C23B50;
    border-width: 3px;
    background: linear-gradient(180deg, #FFF0F3 0%, white 50%);
    box-shadow: 0 8px 40px rgba(194, 59, 80, 0.18);
}

.price-card--recommended:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 56px rgba(194, 59, 80, 0.25);
}

.price-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #FF8FAB, #C23B50);
    color: white;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 20px;
    border-radius: 50px;
    white-space: nowrap;
}

.price-label {
    font-size: 0.82rem;
    color: #aaa;
    margin-bottom: 6px;
    font-weight: 500;
}

.price-pages {
    font-size: 1.05rem;
    color: #333;
    font-weight: 700;
    margin-bottom: 20px;
}

.price-main-amount {
    font-size: 3rem;
    font-weight: 800;
    color: #C23B50;
    line-height: 1;
    margin-bottom: 6px;
}

.price-main-amount span {
    font-size: 1.1rem;
    font-weight: 600;
}

.price-breakdown {
    font-size: 0.78rem;
    color: #bbb;
    margin-bottom: 28px;
}

.price-features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
    text-align: left;
}

.price-features li {
    font-size: 0.83rem;
    color: #555;
    padding: 8px 0 8px 22px;
    border-bottom: 1px solid #FFF0F5;
    position: relative;
    line-height: 1.5;
}

.price-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #C23B50;
    font-weight: 700;
}

.price-cta {
    display: block;
    background-color: #C23B50;
    color: white;
    padding: 13px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: background-color 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}

.price-cta:hover {
    background-color: #A83040;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(194, 59, 80, 0.3);
}

.price-note {
    text-align: center;
    font-size: 0.78rem;
    color: #bbb;
    margin-top: 32px;
}

/* ===== FLOW ===== */

#flow {
    background: #FFF5F9;
}

.flow-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 40px;
}

.flow-header .section-title {
    margin-bottom: 0;
}

.flow-chepple {
    flex-shrink: 0;
    width: 120px;
    animation: chepple-float 2.5s ease-in-out infinite;
}

.flow-chepple img {
    width: 100%;
    display: block;
}

.flow-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.flow-step {
    flex: 0 0 calc(33.33% - 14px);
    background: white;
    border-radius: 20px;
    padding: 28px 20px;
    text-align: center;
    min-width: 0;
}

.flow-step-num {
    font-size: 10px;
    font-weight: 700;
    color: #C23B50;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
}

.flow-step-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #FFE4EE, #FFD6E7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    color: #C23B50;
}

.flow-step-icon svg {
    width: 22px;
    height: 22px;
}

.flow-step h3 {
    font-size: 0.9rem;
    color: #333;
    font-weight: 700;
    margin-bottom: 8px;
}

.flow-step p {
    font-size: 0.78rem;
    color: #888;
    line-height: 1.8;
    margin: 0;
}

.flow-arrow {
    display: none;
}

/* ===== COMPANY ===== */

#company {
    background: #FFF5F9;
}

.company-table {
    max-width: 640px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid #FFE4EE;
}

.company-row {
    display: flex;
    align-items: stretch;
    border-bottom: 1px solid #FFE4EE;
}

.company-row:last-child {
    border-bottom: none;
}

.company-row dt {
    flex-shrink: 0;
    width: 140px;
    padding: 18px 20px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #C23B50;
    background: #FFF0F4;
}

.company-row dd {
    margin: 0;
    padding: 18px 24px;
    font-size: 0.9rem;
    color: #444;
    line-height: 1.7;
    background: white;
    flex: 1;
}

.company-row dd a {
    color: #C23B50;
    font-weight: 500;
    transition: opacity 200ms ease;
}

.company-row dd a:hover {
    opacity: 0.7;
}

.company-link-wrap {
    margin-top: 28px;
    text-align: center;
}

.company-more {
    font-size: 0.88rem;
    color: #C23B50;
    font-weight: 600;
    transition: opacity 200ms ease;
}

.company-more:hover {
    opacity: 0.7;
}

/* ===== CONTACT ===== */

#contact {
    background: white;
}

.contact-chepple {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 36px;
}

.contact-chepple img {
    width: 90px;
    animation: chepple-float 3s ease-in-out infinite;
}

.chepple-balloon {
    background: white;
    border: 2px solid #FFB6C8;
    border-radius: 20px 20px 4px 20px;
    padding: 10px 18px;
    font-size: 0.85rem;
    color: #C23B50;
    font-weight: 600;
    white-space: nowrap;
    margin-bottom: 12px;
}

.form-group select {
    width: 100%;
    box-sizing: border-box;
    border: 2px solid #FFE4EE;
    border-radius: 12px;
    padding: 14px 18px;
    font-size: 0.95rem;
    font-family: "Noto Sans JP", sans-serif;
    color: #333;
    background: white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23C23B50' d='M6 8L0 0h12z'/%3E%3C/svg%3E") no-repeat right 18px center;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    transition: border-color 200ms ease, box-shadow 200ms ease;
    outline: none;
}

.form-group select:focus {
    border-color: #FFB6C8;
    box-shadow: 0 0 0 4px rgba(255, 182, 200, 0.2);
}

.form-group select:invalid {
    color: #CCC;
}

.contact-form {
    max-width: 560px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 0.88rem;
    color: #444;
    font-weight: 600;
    margin-bottom: 8px;
}

.required {
    background: #C23B50;
    color: white;
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 50px;
    margin-left: 6px;
    font-weight: 700;
    vertical-align: middle;
}

.form-group input,
.form-group textarea {
    width: 100%;
    box-sizing: border-box;
    border: 2px solid #FFE4EE;
    border-radius: 12px;
    padding: 14px 18px;
    font-size: 0.95rem;
    font-family: "Noto Sans JP", sans-serif;
    color: #333;
    transition: border-color 200ms ease, box-shadow 200ms ease;
    outline: none;
    background: white;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #FFB6C8;
    box-shadow: 0 0 0 4px rgba(255, 182, 200, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #CCC;
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

.contact-submit {
    width: 100%;
    padding: 16px;
    font-size: 1rem;
    font-family: "Noto Sans JP", sans-serif;
    background-color: #C23B50;
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}

.contact-submit:hover {
    background-color: #A83040;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(194, 59, 80, 0.35);
}

/* ===== FOOTER ===== */

#footer {
    background: #2D1418;
    color: rgba(255, 255, 255, 0.7);
    padding: 64px 0 32px;
}

.footer-inner {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 40px;
}

.footer-top {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    gap: 60px;
    align-items: start;
    margin-bottom: 48px;
}

.footer-logo img {
    height: 38px;
    filter: brightness(0) invert(1);
    opacity: 0.85;
    display: block;
}

.footer-info p {
    font-size: 0.82rem;
    margin: 0 0 8px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.5);
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: right;
}

.footer-nav a {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: color 200ms ease;
}

.footer-nav a:hover {
    color: #FFB6C8;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.35);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.4);
    transition: color 200ms ease;
}

.footer-bottom a:hover {
    color: #FFB6C8;
}

/* ===== FOOTER LINE ===== */

.footer-line {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 16px;
}

.footer-line-qr {
    width: 96px;
    height: 96px;
    border-radius: 8px;
    display: block;
    background: white;
    padding: 6px;
}

.footer-line-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: white;
    margin: 0;
    text-align: center;
    letter-spacing: 0.05em;
}

.footer-line-sub {
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.45);
    margin: 0;
    text-align: center;
}

/* ===== SCROLL REVEAL ===== */

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== CUTE ENHANCEMENTS ===== */

.section-title {
    font-family: 'Kaisei Opti', serif;
    font-size: clamp(2rem, 4.5vw, 3rem);
}

/* 見出しの下の装飾ライン */
.section-title::after {
    content: '';
    display: block;
    width: 48px;
    height: 4px;
    background: linear-gradient(90deg, #FFB6C8, #C23B50);
    border-radius: 4px;
    margin-top: 14px;
}

/* セクションタグにきらきら */
.section-tag::before {
    content: '✦ ';
    font-size: 9px;
}

/* セクション間の丸いウェーブ遷移 */
body > section:not(#hero) {
    border-radius: 40px 40px 0 0;
    margin-top: -36px;
}

#footer {
    border-radius: 40px 40px 0 0;
    margin-top: -36px;
    position: relative;
}

/* セクション重なり順（後ろのセクションが上に来るように） */
#about    { z-index: 2; }
#services { z-index: 3; }
#works    { z-index: 4; }
#why      { z-index: 5; }
#price    { z-index: 6; }
#flow     { z-index: 7; }
#company  { z-index: 8; }
#contact  { z-index: 9; }
#footer   { z-index: 10; }

/* About - グラデーション背景 */
#about {
    background: linear-gradient(160deg, #FFF0F5 0%, #FFFCFE 70%);
}

/* ピンクセクションに水玉パターン */
#services,
#works,
#flow,
#company {
    background-image: radial-gradient(circle, rgba(255, 182, 200, 0.4) 1.5px, transparent 1.5px);
    background-size: 26px 26px;
    background-color: #FFF5F9;
}

/* Why番号を巨大な透かし文字に */
.why-number {
    font-size: 5.5rem;
    font-weight: 900;
    color: rgba(255, 182, 200, 0.28);
    background: none;
    border-radius: 0;
    width: auto;
    height: auto;
    display: block;
    line-height: 0.85;
    margin-bottom: -8px;
    font-family: 'Arial Black', Arial, sans-serif;
    user-select: none;
}

/* おすすめ料金カードをダーク＆ドラマチックに */
.price-card--recommended {
    background: #2D1418;
    border-color: #2D1418;
    box-shadow: 0 16px 56px rgba(45, 20, 24, 0.45);
    color: white;
}

.price-card--recommended .price-label {
    color: rgba(255, 255, 255, 0.5);
}

.price-card--recommended .price-pages {
    color: rgba(255, 255, 255, 0.9);
}

.price-card--recommended .price-main-amount {
    color: #FF8FAB;
}

.price-card--recommended .price-breakdown {
    color: rgba(255, 255, 255, 0.35);
}

.price-card--recommended .price-features li {
    color: rgba(255, 255, 255, 0.8);
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

.price-card--recommended .price-features li::before {
    color: #FF8FAB;
}

.price-card--recommended .price-cta {
    background-color: #FF8FAB;
    color: #2D1418;
}

.price-card--recommended .price-cta:hover {
    background-color: #FFB6C8;
    color: #2D1418;
    box-shadow: 0 6px 16px rgba(255, 143, 171, 0.4);
}

/* 花びら */
.petal {
    position: absolute;
    top: -20px;
    border-radius: 150% 0 150% 0;
    background: linear-gradient(135deg, #FFD6E7 0%, #FF8FAB 100%);
    pointer-events: none;
    animation: petal-fall linear infinite;
    z-index: 0;
}

@keyframes petal-fall {
    0%   { transform: translateY(0) rotate(0deg);       opacity: 0;   }
    8%   { opacity: 0.75; }
    92%  { opacity: 0.3;  }
    100% { transform: translateY(110dvh) rotate(540deg); opacity: 0;   }
}

/* 花びらよりヒーローコンテンツが前面に */
div.slogan, .hero-cta, div.company-logo, .hero-chepple {
    z-index: 1;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 1079px) {
    .header-inner {
        padding: 10px 24px;
    }

    .about-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }

    /* ── モバイル：カードサイズとパディングを調整 ── */
    .works-header {
        padding: 48px 20px 20px;
    }

    .works-track {
        padding: 0 20px;
        gap: 16px;
    }

    .works-track .work-card {
        width: clamp(240px, 78vw, 320px);
    }

    .works-after {
        padding: 40px 24px 80px;
    }

    .works-hp-grid {
        grid-template-columns: 1fr;
    }

    .price-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
    }

    .price-card--recommended {
        transform: none;
        order: -1;
    }

    .price-card--recommended:hover {
        transform: translateY(-6px);
    }

    .flow-step {
        flex: 0 0 calc(50% - 10px);
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-line {
        flex-direction: row;
        justify-content: flex-start;
        gap: 12px;
        align-items: center;
    }

    .footer-nav {
        text-align: left;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px 24px;
    }

    .footer-inner {
        padding: 0 24px;
    }

    body > section {
        padding: 80px 0;
    }

    .about-lead-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .about-chepple {
        width: 100px;
        align-self: flex-end;
    }

    .flow-chepple {
        width: 90px;
    }

    .hero-chepple {
        right: 16px;
        width: 84px;
    }
}

@media (max-width: 570px) {
    /* section-inner の横パディングを縮小（index.css の 40px を上書き） */
    body > section > div.section-inner {
        padding: 0 20px;
    }

    .works-after {
        padding-left: 20px;
        padding-right: 20px;
    }

    .about-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    /* モバイルではカードの上下ずらしを無効化 */
    .about-card:nth-child(even) {
        margin-top: 0;
    }

    .about-card {
        padding: 22px 12px;
    }

    .about-card-icon {
        width: 48px;
        height: 48px;
    }

    .about-card-icon svg {
        width: 20px;
        height: 20px;
    }

    /* 1列表示でのカード傾きを解除 */
    .work-card:nth-child(1),
    .work-card:nth-child(2),
    .work-card:nth-child(3),
    .work-card:nth-child(4) {
        rotate: 0deg;
    }

    .work-card {
        padding: 24px 20px;
    }

    .service-card {
        padding: 28px 22px;
    }

    .why-card {
        padding: 24px 20px;
    }

    .why-number {
        font-size: 4rem;
    }

    .price-grid {
        max-width: 100%;
    }

    .price-card {
        padding: 32px 20px;
    }

    .flow-step {
        flex: 0 0 calc(50% - 10px);
        padding: 22px 14px;
    }

    .flow-step-icon {
        width: 44px;
        height: 44px;
    }

    .flow-step-icon svg {
        width: 18px;
        height: 18px;
    }

    .company-row dt {
        width: 110px;
        padding: 14px 14px;
    }

    .company-row dd {
        padding: 14px 16px;
    }

    /* 吹き出しのテキスト折り返しを許可 */
    .chepple-balloon {
        white-space: normal;
        text-align: center;
    }

    body > section {
        padding: 64px 0;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .hero-cta {
        font-size: 14px;
        padding: 14px 32px;
    }
}

@media (max-width: 400px) {
    /* 極小端末ではフローを1列に */
    .flow-step {
        flex: 0 0 100%;
    }

    /* about カードも1列に */
    .about-cards {
        grid-template-columns: 1fr;
    }

    .about-card:nth-child(even) {
        margin-top: 0;
    }
}
