:root {
    --accent: #f5b900;
    --accent-dark: #e0a800;
    --teal: #1aa9c4;
    --teal-dark: #0d8aa3;
    --text: #333;
    --muted: #777;
    --border: #ccc;
    --bg-light: #fafafa;
    --highlight-bg: #fff8e1;
}

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

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text);
    line-height: 1.8;
    background: #fff;
}

/* ヘッダー */
.page-header {
    background: var(--accent);
    padding: 18px 24px;
    box-shadow: 0 2px 6px rgba(0,0,0,.08);
}
.page-header h1 {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    max-width: 1080px;
    margin: 0 auto;
}

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

.intro p {
    color: #555;
    font-size: .95rem;
    margin-bottom: 24px;
}

/* レイアウト */
.layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.section-title {
    color: var(--teal);
    font-size: 1.5rem;
    font-weight: 700;
    border-bottom: 2px solid var(--teal);
    padding-bottom: 10px;
    margin-bottom: 18px;
}

.lead {
    color: #555;
    font-size: .95rem;
    margin-bottom: 24px;
    border-bottom: 1px dashed var(--border);
    padding-bottom: 16px;
}

/* フォーム */
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 6px;
    font-size: .95rem;
}
.form-group input[type="number"],
.form-group input[type="text"] {
    width: 100%;
    max-width: 320px;
    padding: 8px 10px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
}
.form-group input:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(26,169,196,.15);
}
/* ウォーターマーク（仮入力値）の薄いグレー表示 */
.form-group input::placeholder {
    color: #bbb;
    opacity: 1;
}
.form-group.highlight input {
    font-weight: 700;
    font-size: 1.15rem;
    background: var(--highlight-bg);
    border-color: var(--accent);
}
.form-group.total input {
    color: var(--accent-dark);
    font-size: 1.4rem;
}

.note {
    color: var(--muted);
    font-size: .85rem;
    margin: -6px 0 16px;
}

/* ラジオボタングループ */
.radio-group {
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 12px 16px;
}
.radio-group legend {
    font-weight: 500;
    font-size: .95rem;
    padding: 0 6px;
    color: var(--teal-dark);
}
.radio-label {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-weight: 400;
    cursor: pointer;
    padding: 6px 0;
    font-size: .95rem;
    line-height: 1.5;
}
.radio-label input[type="radio"] {
    width: 18px; height: 18px;
    accent-color: var(--teal);
    cursor: pointer;
    flex-shrink: 0;
    position: relative;
    top: 3px;
}
.opt-note {
    color: var(--muted);
    font-size: .82rem;
}

.submit-btn {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    transition: background .2s, transform .1s;
    font-family: inherit;
}
.submit-btn:hover { background: var(--accent-dark); }
.submit-btn:active { transform: translateY(1px); }

.warning-box {
    margin-top: 18px;
    padding: 12px 16px;
    background: #fff3f3;
    border-left: 4px solid #e05252;
    color: #c0392b;
    font-size: .88rem;
    border-radius: 4px;
}

/* 解説パネル */
.info-panel { font-size: .92rem; }

.diagram {
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 16px;
    background: var(--bg-light);
}
.diagram-head {
    display: flex;
    justify-content: space-between;
    font-size: .8rem;
    color: #555;
    margin-bottom: 8px;
}
.width-label { font-weight: 500; }
.diagram-body {
    display: flex;
    align-items: center;
    gap: 10px;
}
.len-label {
    font-size: .8rem;
    color: #555;
    text-align: center;
    white-space: nowrap;
}
.dot-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 5px;
    padding: 8px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
}
.dot-grid span {
    width: 100%;
    aspect-ratio: 1;
    background: radial-gradient(circle at 35% 30%, #ffd54f, var(--accent));
    border-radius: 50%;
    border: 1px solid var(--accent-dark);
}
.diagram-caption {
    font-size: .82rem;
    color: var(--muted);
    font-style: italic;
    margin-top: 12px;
}

.aside-note {
    margin-top: 18px;
    font-size: .85rem;
    color: #555;
    background: #f0f7f9;
    padding: 12px 14px;
    border-radius: 4px;
}

/* 料金表 */
.price-table-wrap {
    margin-top: 20px;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 10px 14px;
}
.price-table-wrap summary {
    cursor: pointer;
    font-weight: 500;
    color: var(--teal-dark);
}
.price-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 12px;
    font-size: .82rem;
}
.price-table th, .price-table td {
    border: 1px solid #e0d6b8;
    padding: 5px 8px;
    text-align: right;
}
.price-table th {
    background: #f3e9c8;
    text-align: center;
    font-weight: 500;
}
.price-table tbody tr:nth-child(even) { background: #fdf8ea; }
.table-note { font-size: .78rem; color: var(--muted); margin-top: 8px; }

/* 商品ヒーロー */
.product-hero {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 32px;
    align-items: center;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid #eee;
}
.hero-media { margin: 0; }
.hero-media img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,.1);
    display: block;
}
.hero-caption {
    margin-top: 8px;
    font-size: .85rem;
    color: var(--muted);
    text-align: center;
}
.product-title {
    color: var(--teal-dark);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 14px;
    line-height: 1.4;
}
.product-lead {
    font-weight: 500;
    color: #444;
    margin-bottom: 12px;
}
.product-desc {
    font-size: .92rem;
    color: #555;
    margin-bottom: 16px;
}
.product-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.product-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .92rem;
    color: #444;
}
.product-features i {
    color: var(--accent-dark);
    width: 20px;
    text-align: center;
}
.product-features strong { color: var(--teal-dark); }

/* 解説セクション（入稿データ・貼り方） */
.guide-section {
    margin-top: 48px;
    padding-top: 8px;
}
.guide-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: center;
}
.guide-figure img,
.apply-figure img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid #eee;
    box-shadow: 0 2px 10px rgba(0,0,0,.06);
    display: block;
}
.guide-text p { font-size: .92rem; color: #555; margin-bottom: 14px; }
.guide-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 14px;
}
.guide-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .9rem;
    color: #444;
}
.legend-mark {
    width: 22px; height: 14px;
    border-radius: 3px;
    flex-shrink: 0;
    display: inline-block;
}
.legend-mark.bleed { background: #653829; }
.legend-mark.cutline {
    background: transparent;
    border: 2px solid #1aa9c4;
}
.guide-note { font-size: .82rem; color: var(--muted); }

/* 貼り方3ステップ */
.apply-section { text-align: center; }
.apply-section .section-title { text-align: left; }
.apply-figure { margin-bottom: 20px; }
.apply-steps {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    text-align: left;
    margin-bottom: 14px;
}
.apply-steps li {
    background: var(--bg-light);
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 14px 16px;
    font-size: .88rem;
    color: #444;
    line-height: 1.6;
}
.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px; height: 26px;
    background: var(--accent);
    color: #fff;
    border-radius: 50%;
    font-weight: 700;
    margin-right: 6px;
    font-size: .9rem;
}
.apply-section .guide-note { text-align: left; }

/* フッター */
.page-footer {
    background: #f5f5f5;
    border-top: 1px solid #e5e5e5;
    padding: 18px 24px;
    text-align: center;
    color: var(--muted);
    font-size: .82rem;
    margin-top: 40px;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .layout { grid-template-columns: 1fr; gap: 36px; }
    .page-header h1 { font-size: 1.15rem; }
    .form-group input { max-width: 100%; }
    .product-hero { grid-template-columns: 1fr; gap: 20px; }
    .guide-content { grid-template-columns: 1fr; gap: 20px; }
    .apply-steps { grid-template-columns: 1fr; }
    .product-title { font-size: 1.3rem; }
}
