@charset "utf-8";

:root {
    --blue: #1665d8;
    --blue-dark: #0c4ca8;
    --orange: #ff7a1a;
    --ink: #182338;
    --muted: #68758a;
    --line: #dce5f2;
    --soft: #f5f9ff;
    --white: #fff;
    --shadow: 0 14px 34px rgba(24, 35, 56, 0.1);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 15px;
    line-height: 1.65;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select {
    font: inherit;
}

img {
    display: block;
    max-width: 100%;
}

.market-header {
    position: sticky;
    top: 0;
    z-index: 20;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 0 40px;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid #e6edf6;
    backdrop-filter: blur(18px);
}

.brand {
    display: flex;
    align-items: center;
    min-width: 180px;
}

.brand img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 34px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.main-nav a {
    transition: color 0.2s ease;
}

.main-nav a:hover {
    color: var(--blue);
}

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

.ghost-btn,
.primary-btn,
.orange-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 22px;
    height: 42px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

.ghost-btn {
    color: var(--blue);
    background: var(--white);
    border: 1px solid var(--line);
}

.primary-btn {
    color: var(--white);
    background: var(--blue);
    box-shadow: 0 8px 20px rgba(22, 101, 216, 0.2);
}

.orange-btn {
    color: var(--white);
    background: var(--orange);
    box-shadow: 0 8px 20px rgba(255, 122, 26, 0.22);
}

.cart-btn {
    position: relative;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.cart-shape {
    position: absolute;
    left: 6px;
    top: 7px;
    width: 20px;
    height: 15px;
    border: 2px solid #24436b;
    border-top: 0;
    transform: skewX(-8deg);
}

.cart-shape::before {
    content: "";
    position: absolute;
    left: -4px;
    top: -5px;
    width: 8px;
    height: 2px;
    background: #24436b;
}

.cart-shape::after {
    content: "";
    position: absolute;
    left: 2px;
    bottom: -7px;
    width: 17px;
    height: 4px;
    border-radius: 999px;
    background: radial-gradient(circle at 2px 2px, #24436b 0 2px, transparent 2px), radial-gradient(circle at 15px 2px, #24436b 0 2px, transparent 2px);
}

.cart-btn b {
    position: absolute;
    top: -2px;
    right: 0;
    display: grid;
    place-items: center;
    width: 17px;
    height: 17px;
    border-radius: 999px;
    background: var(--blue);
    color: var(--white);
    font-size: 10px;
}

.hero {
    position: relative;
    height: calc(100vh - 100px);
    min-height: 600px;
    display: grid;
    place-items: center;
    overflow: hidden;
    padding: 78px 24px 58px;
    background: linear-gradient(180deg, #f7fbff 0%, #fff 72%);
    border-bottom: 1px solid #eef3f9;
}

.hero::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 28px;
    width: min(960px, 72vw);
    height: 220px;
    transform: translateX(-50%);
    background: radial-gradient(ellipse at center, rgba(22, 101, 216, 0.13), rgba(22, 101, 216, 0));
    pointer-events: none;
}

.hero-collage {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.94;
}

.hero-copy {
    position: relative;
    z-index: 2;
    width: min(880px, 100%);
    text-align: center;
    padding-top: 6px;
}

.hero-copy::before {
    content: "";
    position: absolute;
    inset: -60px -100px;
    background: radial-gradient(ellipse at center, rgba(255,255,255,0.92) 40%, rgba(255,255,255,0) 100%);
    border-radius: 50%;
    z-index: -1;
    animation: heroOverlay 1s ease forwards;
    opacity: 0;
}

@keyframes heroOverlay {
    0%   { opacity: 0; transform: scale(0.88); }
    100% { opacity: 1; transform: scale(1); }
}

.hero h1 {
    margin: 0;
    font-size: clamp(32px, 3vw, 42px);
    line-height: 1.38;
    font-weight: 800;
    letter-spacing: 0;
}

.headline-line {
    white-space: nowrap;
}

.sp-only {
    display: none;
}

.hero h1 span {
    color: var(--blue);
    font-size: 1.16em;
}

.hero h1 .headline-line {
    color: var(--ink);
    font-size: 1em;
}

.hero-copy p {
    margin: 28px auto 34px;
    max-width: 620px;
    color: #2f3c4d;
    font-size: 19px;
    font-weight: 500;
}

.hero-search {
    display: flex;
    align-items: stretch;
    width: min(760px, 100%);
    height: 66px;
    margin: 0 auto;
    border: 2px solid #6ca3f0;
    border-radius: 999px;
    background: var(--white);
    box-shadow: 0 16px 34px rgba(22, 101, 216, 0.16);
    overflow: hidden;
}

.hero-search input {
    min-width: 0;
    flex: 1;
    border: 0;
    outline: 0;
    padding: 0 34px;
    color: var(--ink);
    font-size: 18px;
    font-weight: 700;
}

.hero-search input::placeholder {
    color: #9aa9bc;
}

.hero-search button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 145px;
    border: 0;
    color: var(--white);
    background: linear-gradient(135deg, #1872e8, #0e55bb);
    font-weight: 800;
    cursor: pointer;
}

.search-icon {
    width: 18px;
    height: 18px;
    border: 3px solid currentColor;
    border-radius: 50%;
    position: relative;
}

.search-icon::after {
    content: "";
    position: absolute;
    width: 9px;
    height: 3px;
    right: -8px;
    bottom: -5px;
    border-radius: 999px;
    background: currentColor;
    transform: rotate(45deg);
}

.keyword-area {
    margin: 24px auto 0;
    text-align: left;
    width: min(760px, 100%);
}

.keyword-area strong {
    display: block;
    margin-bottom: 10px;
    font-size: 13px;
}

.keyword-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.keyword-list a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #e3eaf4;
    color: #2f3c4d;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 5px 12px rgba(24, 35, 56, 0.07);
}

.hero-dots {
    position: absolute;
    z-index: 2;
    left: 50%;
    bottom: 28px;
    display: flex;
    gap: 18px;
    transform: translateX(-50%);
}

.hero-dots span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #c9d6e8;
}

.hero-dots span:first-child {
    background: #24436b;
}

.section-block {
    width: min(1210px, calc(100% - 56px));
    margin: 0 auto;
}

.section-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}

.section-title-row h2,
.feature-section h2,
.flow-section h2,
.bottom-cta h2 {
    margin: 0;
    font-size: 25px;
    line-height: 1.35;
    font-weight: 800;
    letter-spacing: 0;
}

.section-title-row a {
    color: var(--blue);
    font-size: 13px;
    font-weight: 800;
}

.section-title-row a::after {
    content: "›";
    margin-left: 5px;
}

.categories-section {
    padding: 32px 0 48px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 12px;
}

.category-card {
    min-height: 144px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 18px 10px;
    border: 1px solid #dfe7f2;
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 7px 18px rgba(24, 35, 56, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.category-card:hover {
    transform: translateY(-4px);
    border-color: #b9d3f5;
    box-shadow: var(--shadow);
}

.category-card strong {
    font-size: 13px;
    text-align: center;
}

.category-card small {
    color: #718096;
    font-size: 12px;
}

.category-icon {
    position: relative;
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    margin-bottom: 2px;
}

.category-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.icon-pink { color: #ef84a3; }
.icon-blue { color: #6c9dde; }
.icon-orange { color: #ff9a5c; }
.icon-navy { color: #5279b9; }
.icon-violet { color: #9d7ae9; }
.icon-indigo { color: #668fd8; }
.icon-rose { color: #ed7f9e; }
.icon-green { color: #72bf87; }

.product-section {
    padding: 18px 0 54px;
}

.product-heading h2 span {
    color: #718096;
    font-size: 13px;
    font-weight: 500;
    margin-left: 10px;
}

.sort-select {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #526174;
    font-size: 13px;
    font-weight: 700;
}

.sort-select select,
.filter-panel select {
    height: 38px;
    min-width: 128px;
    padding: 0 34px 0 12px;
    border: 1px solid #d6e0ec;
    border-radius: 6px;
    background: var(--white);
    color: var(--ink);
}

.product-layout {
    display: grid;
    grid-template-columns: 190px 1fr;
    gap: 22px;
}

.filter-panel {
    align-self: start;
    padding: 18px 16px;
    border: 1px solid #dfe7f2;
    border-radius: 8px;
    background: var(--white);
}

.filter-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.filter-head strong {
    font-size: 16px;
}

.filter-head button {
    border: 0;
    padding: 0;
    color: var(--blue);
    background: transparent;
    font-weight: 700;
    cursor: pointer;
}

.filter-panel > label,
.filter-panel fieldset {
    display: grid;
    gap: 8px;
    margin: 0 0 18px;
    padding: 0;
    border: 0;
    color: #526174;
    font-size: 13px;
    font-weight: 700;
}

.filter-panel legend {
    padding: 0;
    color: var(--ink);
    font-weight: 800;
}

.filter-panel input {
    width: 15px;
    height: 15px;
    margin: 0 6px 0 0;
    vertical-align: -2px;
}

.filter-panel a {
    color: var(--blue);
    font-size: 12px;
    font-weight: 700;
}

.color-dots {
    display: flex;
    gap: 11px;
    padding: 5px 0 2px;
}

.color-dots span {
    width: 18px;
    height: 18px;
    border-radius: 50%;
}

.color-dots .green { background: #45b965; }
.color-dots .orange { background: #ff823a; }
.color-dots .pink { background: #ef83a4; }
.color-dots .blue { background: #2483f3; }
.color-dots .navy { background: #173f91; }

.filter-submit {
    width: 100%;
    height: 40px;
    border: 1px solid #6ca3f0;
    border-radius: 6px;
    background: var(--white);
    color: var(--blue);
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.card-hidden {
    display: none;
}

.no-sites {
    grid-column: 1 / -1;
    padding: 60px 0;
    text-align: center;
    color: var(--muted);
    font-size: 15px;
}

.design-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.design-card {
    overflow: hidden;
    border: 1px solid #dfe7f2;
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 7px 18px rgba(24, 35, 56, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.design-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.design-thumb {
    position: relative;
    aspect-ratio: 6 / 5;
    overflow: hidden;
    background: #eef4fb;
}

.design-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-badge {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    min-width: 52px;
    padding: 6px 10px;
    border-radius: 0 0 8px 0;
    color: var(--white);
    background: #fb5b72;
    font-size: 12px;
    font-weight: 800;
    text-align: center;
}

.design-body {
    padding: 14px 14px 16px;
}

.design-category {
    margin: 0 0 8px;
    color: #7a8797;
    font-size: 12px;
    font-weight: 700;
}

.design-body h3 {
    min-height: 46px;
    margin: 0 0 12px;
    font-size: 14px;
    line-height: 1.6;
    font-weight: 800;
}

.price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 14px;
}

.price-row strong {
    color: var(--blue);
    font-size: 19px;
}

.price-row span {
    color: #5c6878;
    font-size: 12px;
}

.card-actions {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 9px;
    align-items: center;
}

.detail-btn {
    display: grid;
    place-items: center;
    height: 34px;
    border: 1px solid #5f9dec;
    border-radius: 5px;
    color: var(--blue);
    font-size: 12px;
    font-weight: 800;
}

.like-wrap {
    display: flex;
    align-items: center;
    gap: 4px;
}

.like-count {
    font-size: 12px;
    font-weight: 700;
    color: var(--muted);
    min-width: 16px;
}

.favorite-btn {
    position: relative;
    width: 32px;
    height: 32px;
    border: 0;
    background: transparent url("/images/marketplace/favorite-heart.png") center / 28px 28px no-repeat;
    cursor: pointer;
    transition: transform 0.18s ease, opacity 0.18s ease;
}

.favorite-btn:hover {
    opacity: 0.82;
    transform: scale(1.05);
}

.favorite-btn.is-active {
    background-image: url("/images/marketplace/favorite-heart-active.png");
}

.more-btn {
    display: block;
    width: 140px;
    height: 42px;
    margin: 32px auto 0;
    border: 1px solid #6ca3f0;
    border-radius: 6px;
    color: var(--blue);
    background: var(--white);
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}

.more-btn::after {
    content: "⌄";
    margin-left: 10px;
}

.feature-section {
    padding: 20px 0 56px;
}

.feature-section h2,
.flow-section h2 {
    margin-bottom: 18px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.feature-card {
    position: relative;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    padding: 22px 58px 20px 22px;
    border-radius: 8px;
    isolation: isolate;
}

.feature-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image: url("/images/marketplace/hero-collage.png");
    background-size: 1050px auto;
    opacity: 0.38;
}

.feature-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
}

.feature-blue { background: #dbeeff; }
.feature-beige { background: #f4eadc; }
.feature-pink { background: #ffe2e7; }
.feature-green { background: #dcf2e4; }

.feature-blue::before { background-position: 15% 76%; }
.feature-beige::before { background-position: 72% 44%; }
.feature-pink::before { background-position: 9% 13%; }
.feature-green::before { background-position: 79% 80%; }

.feature-blue::after { background: linear-gradient(90deg, rgba(219, 238, 255, 0.98), rgba(219, 238, 255, 0.58)); }
.feature-beige::after { background: linear-gradient(90deg, rgba(244, 234, 220, 0.98), rgba(244, 234, 220, 0.58)); }
.feature-pink::after { background: linear-gradient(90deg, rgba(255, 226, 231, 0.98), rgba(255, 226, 231, 0.54)); }
.feature-green::after { background: linear-gradient(90deg, rgba(220, 242, 228, 0.98), rgba(220, 242, 228, 0.54)); }

.feature-card small {
    color: var(--blue);
    font-size: 13px;
    font-weight: 800;
}

.feature-card strong {
    margin-top: 8px;
    font-size: 21px;
    line-height: 1.35;
    font-weight: 800;
}

.feature-card span {
    margin-top: 9px;
    color: #526174;
    font-size: 12px;
    font-weight: 700;
}

.feature-card i {
    position: absolute;
    right: 18px;
    bottom: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--white);
    box-shadow: 0 6px 14px rgba(24, 35, 56, 0.15);
}

.feature-card i::before {
    content: "";
    position: absolute;
    left: 12px;
    top: 15px;
    width: 11px;
    height: 11px;
    border-top: 2px solid var(--ink);
    border-right: 2px solid var(--ink);
    transform: rotate(45deg);
}

.flow-section {
    padding: 0 0 58px;
}

.flow-note {
    margin: 22px 0 0;
    text-align: center;
    font-size: 13px;
    color: var(--muted);
    line-height: 1.7;
}

.flow-grid {
    display: grid;
    grid-template-columns: 1fr 28px 1fr 28px 1fr;
    gap: 16px;
    align-items: center;
}

.flow-card {
    position: relative;
    min-height: 116px;
    display: grid;
    grid-template-columns: 72px 1fr;
    grid-template-rows: auto 1fr;
    column-gap: 16px;
    padding: 24px 22px;
    border: 1px solid #dfe7f2;
    border-radius: 8px;
    background: var(--white);
}

.flow-card span {
    position: absolute;
    left: 86px;
    top: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    color: var(--white);
    background: var(--blue);
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
}

.flow-card i {
    grid-row: 1 / 3;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background-color: #eaf3ff;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 48px 48px;
    position: relative;
}

.flow-card strong {
    padding-left: 8px;
    font-size: 17px;
    font-weight: 800;
}

.flow-card p {
    margin: 6px 0 0;
    padding-left: 8px;
    color: #526174;
    font-size: 13px;
    font-weight: 500;
}

.flow-search { background-image: url("/images/marketplace/flow-search.png"); }
.flow-screen { background-image: url("/images/marketplace/flow-send-info.png"); }
.flow-download { background-image: url("/images/marketplace/flow-publish.png"); }

.flow-arrow {
    width: 16px;
    height: 16px;
    border-top: 3px solid #263e62;
    border-right: 3px solid #263e62;
    transform: rotate(45deg);
    justify-self: center;
}

.faq-section {
    padding: 80px 24px;
    background: var(--soft);
}

.faq-inner {
    max-width: 720px;
    margin: 0 auto;
}

.faq-heading {
    font-size: 26px;
    font-weight: 800;
    color: var(--ink);
    margin: 0 0 36px;
    text-align: center;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
    cursor: pointer;
    list-style: none;
    gap: 16px;
}

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

.faq-item summary::after {
    content: "+";
    font-size: 22px;
    font-weight: 400;
    color: var(--blue);
    flex-shrink: 0;
    transition: transform .25s ease;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 24px 20px;
    font-size: 14px;
    color: #555;
    line-height: 1.8;
    border-top: 1px solid var(--line);
}

.faq-answer p { margin: 12px 0 0; }
.faq-answer p:first-child { margin-top: 16px; }

.faq-answer ul {
    margin: 10px 0 0 20px;
    padding: 0;
}

.faq-answer ul li {
    margin-bottom: 4px;
}

.pricing-section {
    padding: 72px 0;
}

.pricing-head {
    text-align: center;
    margin-bottom: 48px;
}

.pricing-head h2 {
    margin: 0 0 12px;
    font-size: 28px;
    font-weight: 800;
    color: var(--ink);
}

.pricing-head p {
    color: var(--muted);
    font-size: 15px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 780px;
    margin: 0 auto;
}

.pricing-card {
    border: 2px solid var(--line);
    border-radius: 16px;
    padding: 36px 36px 32px;
    background: var(--white);
}

.pricing-card--monthly {
    border-color: var(--line);
    background: var(--white);
}

.pricing-label {
    margin: 0 0 10px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--muted);
    text-transform: uppercase;
}

.pricing-amount {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
}

.pricing-amount strong {
    font-size: 38px;
    font-weight: 800;
    color: var(--ink);
    line-height: 1;
}

.pricing-amount span {
    font-size: 13px;
    color: var(--muted);
}

.pricing-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pricing-list li {
    padding-left: 20px;
    position: relative;
    font-size: 14px;
    color: var(--ink);
    line-height: 1.5;
}

.pricing-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--blue);
    font-weight: 800;
}

.pricing-list small {
    display: block;
    color: var(--muted);
    font-size: 12px;
    margin-top: 2px;
}

.pricing-note {
    max-width: 780px;
    margin: 20px auto 0;
    font-size: 12px;
    color: var(--muted);
    text-align: center;
    line-height: 1.8;
}

/* ── Works section (marketplace top) ── */
.mp-works {
    padding: 72px 0 70px;
    background: linear-gradient(180deg, rgba(244,248,255,.86), rgba(255,255,255,0) 28%), #fff;
    border-top: 1px solid var(--line);
}

.mp-works-inner {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
    padding: 0 24px;
}

.mp-kicker {
    display: inline-block;
    color: var(--blue);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.mp-works h2 {
    margin: 0 0 24px;
    color: #071f54;
    font-size: 38px;
    line-height: 1.35;
    font-weight: 900;
}

.mp-works-copy {
    margin: 0;
    color: #263b5c;
    font-size: 17px;
    font-weight: 500;
    line-height: 2;
}

.mp-works-actions {
    margin-top: 54px;
    display: flex;
    justify-content: center;
}

.mp-works-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 260px;
    height: 72px;
    padding: 0 34px;
    border-radius: 10px;
    color: #fff;
    background: #111f3a;
    box-shadow: 0 16px 34px rgba(17,31,58,.18);
    font-size: 18px;
    font-weight: 900;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease;
}

.mp-works-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 42px rgba(17,31,58,.22);
}

.mp-works-btn::after {
    content: "";
    width: 9px;
    height: 9px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(-45deg);
}

.mp-works-note {
    margin: 24px 0 0;
    color: #6d7d94;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.8;
}

/* ── Pricing section (marketplace top) ── */
.mp-pricing-section {
    padding: 28px 0 40px;
}

.mp-pricing-title {
    margin: 0 0 24px;
    color: #071f54;
    font-size: 24px;
    line-height: 1.5;
    font-weight: 900;
    text-align: center;
}

.mp-pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px;
    max-width: 860px;
    margin: 0 auto;
}

.mp-price-card {
    min-height: 220px;
    padding: 20px 42px 22px;
    text-align: center;
    border-radius: 7px;
}

.mp-price-card--orange { border: 1px solid #ffb78a; }
.mp-price-card--blue   { border: 1px solid #7fb2f5; }

.mp-price-label {
    margin: 0 0 4px;
    font-size: 14px;
    font-weight: 900;
}

.mp-price {
    margin: 0 0 10px;
    font-weight: 900;
    line-height: 1;
}

.mp-price strong {
    font-size: 48px;
    letter-spacing: .02em;
}

.mp-price small {
    font-size: 14px;
    font-weight: 800;
}

.mp-price-card--orange .mp-price { color: #ff8744; }
.mp-price-card--blue   .mp-price { color: var(--blue); }

.mp-check-list {
    width: fit-content;
    margin: 0 auto;
    padding: 0;
    list-style: none;
    text-align: left;
    color: #071f54;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.8;
}

.mp-check-list li::before {
    content: "✓";
    margin-right: 10px;
    font-weight: 900;
}

.mp-price-note {
    margin: 10px 0 0;
    color: #65758b;
    font-size: 12px;
    font-weight: 600;
}

.mp-pricing-note {
    max-width: 860px;
    margin: 20px auto 0;
    font-size: 12px;
    color: var(--muted);
    text-align: left;
    line-height: 1.8;
}

@media (max-width: 760px) {
    .mp-pricing-grid { grid-template-columns: 1fr; }
    .mp-price-card { padding: 22px 24px; }
    .mp-price strong { font-size: 40px; }
    .mp-works h2 { font-size: 30px; }
    .mp-works-copy { font-size: 14px; text-align: left; }
    .mp-works-actions { margin-top: 34px; }
    .mp-works-btn { width: 100%; min-width: 0; height: 60px; font-size: 15px; }
    .mp-works-note { text-align: left; }
}

.bottom-cta {
    position: relative;
    min-height: 260px;
    overflow: hidden;
    display: grid;
    place-items: center;
    padding: 38px 24px 34px;
    background: linear-gradient(180deg, #eef7ff, #fff);
    border-top: 1px solid #e2edf9;
}

.cta-center {
    position: relative;
    z-index: 2;
    width: min(650px, 100%);
    text-align: center;
}

.bottom-cta h2 {
    margin-bottom: 20px;
    font-size: 25px;
}

.hero-search.compact {
    height: 52px;
    width: min(590px, 100%);
    box-shadow: 0 10px 24px rgba(22, 101, 216, 0.12);
}

.hero-search.compact input {
    font-size: 14px;
}

.hero-search.compact button {
    width: 112px;
}

.cta-center p {
    margin: 12px 0;
    color: #69788c;
    font-size: 12px;
    font-weight: 700;
}

.cta-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    margin: 0 auto;
    width: min(540px, 100%);
}

.outline-cta,
.orange-cta {
    display: grid;
    place-items: center;
    height: 48px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 800;
}

.outline-cta {
    color: var(--blue);
    background: var(--white);
    border: 2px solid #6ca3f0;
}

.orange-cta {
    color: var(--white);
    background: var(--orange);
}

.cta-center small {
    display: block;
    margin-top: 10px;
    color: #6b7788;
    font-size: 11px;
}

.cta-image {
    position: absolute;
    bottom: -20px;
    width: 310px;
    height: 190px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.cta-image.left {
    left: 50px;
    object-position: 12% 78%;
}

.cta-image.right {
    right: 55px;
    object-position: 90% 16%;
}

.market-footer {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 34px;
    padding: 36px max(34px, calc((100vw - 1210px) / 2)) 22px;
    border-top: 1px solid #e7eef7;
    background: #fff;
}

.market-footer div {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.market-footer strong {
    margin-bottom: 6px;
    font-size: 13px;
}

.market-footer a {
    color: #526174;
    font-size: 12px;
}

.footer-ig-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-ig-link img {
    height: 18px;
    width: auto;
}

.footer-social span {
    display: flex;
    gap: 8px;
}

.footer-social span a {
    display: inline-flex;
    align-items: center;
    background: none;
}

.footer-social em {
    display: block;
    color: #8a9aaa;
    font-size: 11px;
    font-style: normal;
    font-weight: 400;
    margin-top: 4px;
    white-space: nowrap;
}

.copyright {
    grid-column: 1 / -1;
    margin: 14px 0 0;
    color: #78869a;
    text-align: center;
    font-size: 11px;
}

@media (max-width: 1180px) {
    .market-header {
        padding: 0 22px;
    }

    .main-nav {
        gap: 18px;
    }

    .category-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .design-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .cta-image {
        opacity: 0.3;
    }
}

@media (max-width: 920px) {
    .market-header {
        height: auto;
        min-height: 72px;
        flex-wrap: wrap;
        padding: 14px 18px;
    }

    .brand {
        min-width: 0;
        flex: 1;
    }

    .main-nav {
        order: 3;
        width: 100%;
        overflow-x: auto;
        padding-bottom: 2px;
    }

    .header-actions {
        gap: 8px;
    }

    .ghost-btn,
    .primary-btn,
    .orange-btn {
        min-width: 78px;
        height: 34px;
        font-size: 12px;
    }

    .hero {
        min-height: 560px;
        padding-top: 68px;
    }

    .product-layout {
        grid-template-columns: 1fr;
    }

    .filter-panel {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px 18px;
    }

    .filter-head,
    .filter-submit {
        grid-column: 1 / -1;
    }

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

    .flow-grid {
        grid-template-columns: 1fr;
    }

    .flow-arrow {
        transform: rotate(135deg);
    }

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

/* ── ハンバーガーボタン ── */
.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    flex-shrink: 0;
}

.hamburger-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform .25s ease, opacity .2s ease;
}

.hamburger-btn.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger-btn.is-open span:nth-child(2) { opacity: 0; }
.hamburger-btn.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── ドロワーメニュー ── */
.nav-drawer {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 200;
    width: min(320px, 88vw);
    background: #fff;
    box-shadow: -6px 0 30px rgba(0,0,0,0.12);
    padding: 60px 28px 40px;
    transform: translateX(100%);
    transition: transform .3s cubic-bezier(.4,0,.2,1);
    display: flex;
    flex-direction: column;
}

.nav-drawer.is-open {
    transform: translateX(0);
}

.nav-drawer nav {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 8px;
}

.nav-drawer nav a {
    display: block;
    padding: 16px 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
}

.nav-drawer nav a:first-child {
    border-top: 1px solid var(--line);
}

.drawer-cta {
    margin-top: 24px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    height: 52px;
    border-radius: 8px;
    background: var(--orange) !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    border: none !important;
    border-bottom: none !important;
}

.nav-drawer-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    font-size: 20px;
    color: var(--muted);
    cursor: pointer;
}

.nav-overlay {
    position: fixed;
    inset: 0;
    z-index: 199;
    background: rgba(0,0,0,0.4);
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease;
}

.nav-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}

@media (max-width: 680px) {
    body {
        font-size: 14px;
    }

    .market-header {
        align-items: center;
    }

    .brand span {
        max-width: 190px;
    }

    .brand strong {
        font-size: 14px;
    }

    .brand small,
    .cart-btn {
        display: none;
    }

    .header-actions .orange-btn {
        display: none;
    }

    .hamburger-btn {
        display: flex;
    }

    .main-nav {
        display: none;
    }

    .hero {
        min-height: 610px;
        padding: 58px 18px 48px;
    }

    .hero-collage {
        opacity: 0.48;
        object-position: center;
    }

    .hero h1 {
        font-size: 28px;
        overflow-wrap: anywhere;
        word-break: break-all;
    }

    .headline-line {
        white-space: normal;
    }

    .sp-only {
        display: block;
    }

    .hero-copy p {
        margin: 18px auto 24px;
        font-size: 15px;
        max-width: 330px;
        overflow-wrap: anywhere;
        word-break: break-all;
    }

    .hero-search {
        height: auto;
        min-height: 54px;
        border-radius: 18px;
        flex-direction: column;
    }

    .hero-search input {
        height: 54px;
        padding: 0 18px;
        font-size: 14px;
        text-align: center;
    }

    .hero-search button {
        width: 100%;
        height: 48px;
    }

    .keyword-area {
        text-align: center;
    }

    .keyword-list {
        justify-content: center;
    }

    .section-block {
        width: min(100% - 28px, 1210px);
    }

    .section-title-row {
        align-items: flex-start;
        flex-direction: column;
    }

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

    .design-grid,
    .feature-grid,
    .filter-panel,
    .cta-actions,
    .market-footer {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .faq-section {
        padding: 56px 20px;
    }

    .category-card {
        min-height: 112px;
    }

    .design-thumb {
        aspect-ratio: 6 / 5;
    }

    .bottom-cta {
        padding: 34px 16px 32px;
    }

    .cta-image {
        display: none;
    }
}
