*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: sans-serif; background: #fafaf8; color: #1a1a1a; }

/* ═══════════════════════════════
   ヘッダー
═══════════════════════════════ */
.header {
  background: #2a2340; padding: 12px 24px;
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.header-logo-wrap { background: #fff; border-radius: 8px; padding: 5px 12px; display: inline-flex; align-items: center; }
.header-logo { height: 40px; width: auto; display: block; }
.header-nav { display: flex; gap: 16px; flex-wrap: wrap; }
.header-nav a { font-size: 11px; color: #b0a8d0; text-decoration: none; letter-spacing: 0.06em; }

/* ═══════════════════════════════
   ① ファーストビュー
═══════════════════════════════ */
.fv { position: relative; overflow: hidden; height: 480px; }
.fv-img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; display: block; }
.fv-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(20,15,40,0.4) 0%, rgba(20,15,40,0.72) 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 32px 24px; text-align: center;
}
.fv-logo-wrap { background: rgba(255,255,255,0.95); border-radius: 12px; padding: 8px 20px; margin-bottom: 18px; display: inline-block; }
.fv-logo { height: 60px; width: auto; display: block; }
.fv-main { font-size: 26px; font-weight: 400; color: #fff; line-height: 1.75; margin-bottom: 14px; }
.fv-kw { display: block; font-size: 13px; font-weight: 500; letter-spacing: 0.1em; color: #b0a8e8; margin-bottom: 14px; }
.fv-main em { font-style: normal; color: #c4befa; }
.fv-sub { font-size: 13px; color: #c8c0e0; line-height: 2; margin-bottom: 24px; }
.fv-cta { display: inline-block; background: rgba(127,119,221,0.9); color: #fff; font-size: 13px; font-weight: 500; padding: 12px 28px; border-radius: 40px; text-decoration: none; letter-spacing: 0.05em; border: 1px solid rgba(184,178,245,0.4); }
.fv-badges { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.badge { font-size: 11px; color: #b0a8e8; border: 1px solid rgba(127,119,221,0.45); padding: 3px 11px; border-radius: 20px; background: rgba(127,119,221,0.1); }

/* ギャラリー */
.gallery { display: grid; grid-template-columns: repeat(4,1fr); gap: 2px; }
.gallery-item { aspect-ratio: 1/1; overflow: hidden; }
.gallery-item img { width:100%; height:100%; object-fit:cover; display:block; transition: transform 0.4s; }
.gallery-item img:hover { transform: scale(1.06); }

/* ═══════════════════════════════
   ② こんな方へ
═══════════════════════════════ */
.bridge { background:#fff; text-align:center; padding:36px 24px 28px; border-bottom:1px solid #ede9e0; }
.bridge-lead { font-size:14px; color:#666; line-height:2.1; }
.bridge-lead strong { color:#534AB7; font-weight:500; }

.target-section { background:#fafaf8; padding:40px 20px 52px; }
.section-heading { text-align:center; margin-bottom:28px; }
.section-heading span { display:block; font-size:11px; color:#9f97e8; letter-spacing:0.12em; margin-bottom:8px; }
.section-heading h1, .section-heading h2 { font-size:20px; font-weight:400; letter-spacing:0.04em; }
.section-heading p { font-size:13px; color:#888; margin-top:10px; line-height:1.8; }

.target-card { background:#fff; border:1px solid #e4e2da; border-radius:14px; overflow:hidden; margin-bottom:20px; }
.target-card-img { width:100%; height:200px; overflow:hidden; }
.target-card-img img { width:100%; height:100%; object-fit:cover; display:block; }
.target-card-body { padding:20px; }
.target-card-title { font-size:15px; font-weight:500; margin-bottom:4px; }
.target-card-sub { font-size:11px; color:#aaa; margin-bottom:14px; padding-bottom:14px; border-bottom:1px solid #f0ede5; }
.pain-list { list-style:none; margin-bottom:16px; }
.pain-list li { font-size:13px; color:#555; line-height:1.8; padding:7px 0 7px 20px; position:relative; border-bottom:1px dashed #f0ede5; }
.pain-list li:last-child { border-bottom:none; }
.pain-list li::before { content:"→"; position:absolute; left:0; color:#C04828; font-weight:500; }
.appeal-box { background:#EEEDFE; border-radius:8px; padding:14px 16px; font-size:13px; color:#3C3489; line-height:1.85; }
.appeal-box strong { font-weight:500; }

/* ═══════════════════════════════
   ③ 選ばれる理由
═══════════════════════════════ */
.reasons-section { padding: 52px 20px 60px; background: #fff; }
.reason-card { background: #fafaf8; border: 1px solid #e4e2da; border-radius: 16px; overflow: hidden; margin-bottom: 20px; }
.reason-inner { display: flex; align-items: stretch; }
.reason-img { width: 120px; flex-shrink: 0; overflow: hidden; }
.reason-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.reason-body { padding: 18px 16px; flex: 1; }
.reason-num { font-size: 10px; color: #9f97e8; letter-spacing: 0.12em; margin-bottom: 6px; }
.reason-title { font-size: 15px; font-weight: 500; color: #1a1a1a; line-height: 1.55; margin-bottom: 8px; }
.reason-desc { font-size: 12px; color: #666; line-height: 1.85; }
.reason-note { display: inline-block; margin-top: 8px; font-size: 11px; color: #9f97e8; background: #EEEDFE; padding: 3px 10px; border-radius: 4px; }
.reasons-footer { margin-top: 32px; background: #2a2340; border-radius: 14px; padding: 24px 20px; text-align: center; }
.reasons-footer p { font-size: 14px; color: #c8c0e0; line-height: 2; }
.reasons-footer strong { color: #fff; font-weight: 500; }

/* ═══════════════════════════════
   ④ 対応品目
═══════════════════════════════ */
.items-section { padding: 52px 0 60px; background: #fafaf8; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; }
.grid-item { position: relative; overflow: hidden; aspect-ratio: 1/1; }
.grid-item.wide { grid-column: span 2; aspect-ratio: 2/1; }
.grid-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s; }
.grid-item:hover img { transform: scale(1.06); }
.grid-label { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(to top, rgba(20,15,40,0.78) 0%, transparent 100%); padding: 22px 12px 10px; }
.grid-label-tag { display: inline-block; font-size: 10px; color: #fff; background: rgba(127,119,221,0.75); padding: 2px 8px; border-radius: 3px; letter-spacing: 0.06em; margin-bottom: 4px; }
.grid-label-name { font-size: 12px; color: #f0eeff; display: block; }
.grid-item.ph { background: #f0eeff; display: flex; align-items: center; justify-content: center; }
.ph-inner { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px; }
.ph-icon { font-size: 32px; margin-bottom: 4px; }
.ph-name { font-size: 11px; color: #7F77DD; text-align: center; line-height: 1.5; }
.ph-badge { position: absolute; top: 8px; right: 8px; font-size: 9px; color: #9f97e8; background: rgba(255,255,255,0.85); padding: 2px 7px; border-radius: 3px; }
.items-note { margin: 24px 20px 0; background: #fff; border: 1px solid #e4e2da; border-radius: 12px; padding: 16px 18px; font-size: 12px; color: #888; line-height: 1.9; text-align: center; }
.items-note strong { color: #534AB7; font-weight: 500; }

/* ═══════════════════════════════
   ⑤ ご依頼の流れ
═══════════════════════════════ */
.flow-section { padding: 52px 20px 60px; background: #fff; }
.steps { position: relative; }
.steps::before { content: ""; position: absolute; left: 19px; top: 20px; bottom: 20px; width: 2px; background: linear-gradient(to bottom, #7F77DD 0%, #c5bef0 100%); border-radius: 1px; }
.step { display: flex; gap: 20px; margin-bottom: 6px; position: relative; }
.step-badge { width: 40px; flex-shrink: 0; display: flex; flex-direction: column; align-items: center; padding-top: 2px; z-index: 1; }
.step-num { width: 40px; height: 40px; background: #2a2340; border: 2px solid #7F77DD; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.step-num span { font-size: 7px; color: #9f97e8; letter-spacing: 0.06em; line-height: 1; }
.step-num strong { font-size: 13px; color: #fff; font-weight: 600; line-height: 1.2; }
.step-card { flex: 1; background: #fafaf8; border: 1px solid #e4e2da; border-radius: 12px; overflow: hidden; margin-bottom: 16px; }
.step-card-img { width: 100%; height: 150px; overflow: hidden; }
.step-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.step-card-bar { width: 100%; height: 6px; }
.bar-02 { background: linear-gradient(90deg, #534AB7, #7F77DD); }
.bar-04 { background: linear-gradient(90deg, #7F77DD, #b8b2f5); }
.bar-05 { background: linear-gradient(90deg, #2a2340, #534AB7); }
.step-body { padding: 14px 16px 16px; }
.step-label { font-size: 10px; color: #9f97e8; letter-spacing: 0.1em; margin-bottom: 5px; }
.step-title { font-size: 16px; font-weight: 500; color: #1a1a1a; margin-bottom: 8px; }
.step-desc { font-size: 12px; color: #666; line-height: 1.85; }
.step-tag { display: inline-block; margin-top: 10px; font-size: 10px; color: #534AB7; background: #EEEDFE; padding: 3px 10px; border-radius: 4px; }
.step-arrow { color: #9f97e8; font-size: 14px; text-align: center; margin: 0 0 6px 20px; }
.flow-footer { margin-top: 28px; background: #2a2340; border-radius: 14px; padding: 24px 20px; text-align: center; }
.flow-footer p { font-size: 13px; color: #c8c0e0; line-height: 2; margin-bottom: 16px; }
.flow-footer strong { color: #fff; font-weight: 500; }
.flow-footer a { display: inline-block; background: #7F77DD; color: #fff; font-size: 13px; font-weight: 500; padding: 11px 28px; border-radius: 40px; text-decoration: none; }
.photo-note { font-size: 10px; color: #ccc; text-align: right; padding: 4px 8px; background: rgba(0,0,0,0.04); }

/* ═══════════════════════════════
   ⑥ 導入事例
═══════════════════════════════ */
.cases-section { padding: 52px 20px 60px; background: #fafaf8; }
.case-card { border: 1px solid #e4e2da; border-radius: 16px; overflow: hidden; margin-bottom: 24px; background: #fff; }
.case-img { width: 100%; height: 200px; overflow: hidden; position: relative; }
.case-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s; }
.case-card:hover .case-img img { transform: scale(1.04); }
.case-img-tag { position: absolute; top: 12px; left: 12px; background: #2a2340; color: #b8b2f5; font-size: 10px; padding: 4px 12px; border-radius: 20px; letter-spacing: 0.08em; }
.case-body { padding: 18px 18px 20px; }
.case-num { font-size: 10px; color: #9f97e8; letter-spacing: 0.1em; margin-bottom: 6px; }
.case-title { font-size: 16px; font-weight: 500; color: #1a1a1a; line-height: 1.5; margin-bottom: 12px; }
.case-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.case-meta-item { background: #fafaf8; border: 1px solid #ede9e0; border-radius: 8px; padding: 10px 12px; }
.case-meta-label { font-size: 9px; color: #aaa; letter-spacing: 0.08em; margin-bottom: 4px; }
.case-meta-value { font-size: 13px; color: #1a1a1a; font-weight: 500; }
.case-point { background: #EEEDFE; border-radius: 8px; padding: 12px 14px; font-size: 12px; color: #3C3489; line-height: 1.8; }
.case-point strong { font-weight: 500; }

/* ═══════════════════════════════
   ⑦ FAQ
═══════════════════════════════ */
.faq-section { padding: 52px 20px 60px; background: #fff; }
.faq-category { font-size: 11px; font-weight: 500; color: #9f97e8; letter-spacing: 0.1em; margin: 28px 0 10px; padding-left: 10px; border-left: 2px solid #7F77DD; }
.faq-category:first-of-type { margin-top: 0; }
.faq-item { background: #fafaf8; border: 1px solid #e4e2da; border-radius: 12px; margin-bottom: 8px; overflow: hidden; }
.faq-q { display: flex; align-items: flex-start; gap: 12px; padding: 16px; cursor: pointer; user-select: none; }
.faq-q-badge { width: 24px; height: 24px; background: #EEEDFE; color: #534AB7; font-size: 13px; font-weight: 600; border-radius: 6px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
.faq-q-text { flex: 1; font-size: 14px; font-weight: 500; color: #1a1a1a; line-height: 1.6; }
.faq-toggle { font-size: 18px; color: #9f97e8; transition: transform 0.25s; flex-shrink: 0; margin-top: 2px; }
.faq-item.open .faq-toggle { transform: rotate(45deg); }
.faq-a { display: none; padding: 14px 16px 16px 52px; font-size: 13px; color: #555; line-height: 1.9; border-top: 1px dashed #f0ede5; }
.faq-item.open .faq-a { display: block; }
.faq-a strong { color: #534AB7; font-weight: 500; }

/* ═══════════════════════════════
   ⑧ お問い合わせ
═══════════════════════════════ */
.contact-section { padding: 52px 20px 64px; background: #2a2340; }
.contact-section .section-heading h2 { color: #fff; }
.contact-section .section-heading p { color: #b0a8d0; }
.contact-email-wrap { background: rgba(255,255,255,0.06); border: 1px solid rgba(127,119,221,0.35); border-radius: 14px; padding: 20px 18px; margin-bottom: 20px; text-align: center; }
.contact-email-label { font-size: 11px; color: #9f97e8; letter-spacing: 0.1em; margin-bottom: 8px; }
.contact-email-addr { font-size: 15px; color: #fff; font-weight: 500; letter-spacing: 0.04em; margin-bottom: 12px; word-break: break-all; }
.contact-email-btn { display: inline-block; background: #7F77DD; color: #fff; font-size: 13px; font-weight: 500; padding: 11px 28px; border-radius: 40px; text-decoration: none; }
.contact-form-wrap { background: #fff; border-radius: 16px; padding: 24px 20px; }
.form-title { font-size: 15px; font-weight: 500; color: #1a1a1a; margin-bottom: 20px; text-align: center; }
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 12px; color: #555; margin-bottom: 6px; font-weight: 500; }
.form-label span { font-size: 10px; color: #fff; background: #C04828; padding: 1px 6px; border-radius: 3px; margin-left: 6px; vertical-align: middle; }
.form-label span.any { background: #aaa; }
.form-input, .form-select, .form-textarea { width: 100%; padding: 12px 14px; border: 1px solid #e0ddd5; border-radius: 8px; font-size: 14px; color: #1a1a1a; background: #fafaf8; appearance: none; outline: none; transition: border-color 0.2s; }
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: #7F77DD; background: #fff; }
.form-textarea { height: 120px; resize: vertical; line-height: 1.7; }
.form-note { font-size: 11px; color: #aaa; margin-top: 6px; line-height: 1.7; }
.radio-group { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.radio-label { display: flex; align-items: center; gap: 7px; background: #fafaf8; border: 1px solid #e0ddd5; border-radius: 8px; padding: 10px 16px; font-size: 13px; color: #444; cursor: pointer; transition: border-color 0.2s; flex: 1; min-width: 120px; }
.radio-label input { accent-color: #7F77DD; }
.form-submit { width: 100%; background: #534AB7; color: #fff; font-size: 15px; font-weight: 500; padding: 15px; border: none; border-radius: 40px; margin-top: 8px; cursor: pointer; letter-spacing: 0.06em; transition: background 0.2s; }
.form-submit:hover { background: #7F77DD; }
.contact-hours { margin-top: 20px; text-align: center; font-size: 12px; color: #7F77DD; line-height: 1.9; }
.contact-hours strong { color: #b8b2f5; display: block; margin-bottom: 2px; }
.contact-thanks { display:none; background:#fff; border-radius:16px; padding:48px 24px; text-align:center; }
.contact-thanks.show { display:block; }
.contact-thanks-icon { width:64px; height:64px; background:#EEEDFE; border-radius:50%; display:inline-flex; align-items:center; justify-content:center; margin-bottom:20px; font-size:28px; color:#534AB7; line-height:1; }
.contact-thanks-title { font-size:20px; font-weight:500; color:#2a2340; margin-bottom:16px; line-height:1.6; }
.contact-thanks-msg { font-size:14px; color:#555; line-height:2; margin-bottom:24px; }
.contact-thanks-back { display:inline-block; background:#7F77DD; color:#fff; font-size:13px; font-weight:500; padding:11px 28px; border-radius:40px; text-decoration:none; border:none; cursor:pointer; }
.form-submit:disabled { opacity:0.6; cursor:not-allowed; }

/* ═══════════════════════════════
   工房バナー・共通
═══════════════════════════════ */
.factory-banner { position: relative; height: 200px; overflow: hidden; }
.factory-banner img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; display: block; }
.factory-overlay { position: absolute; inset: 0; background: rgba(20,15,40,0.58); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px; }
.factory-overlay strong { font-size: 18px; color: #fff; font-weight: 400; letter-spacing: 0.1em; margin-bottom: 10px; display: block; }
.factory-overlay p { font-size: 13px; color: #c8c0e0; line-height: 2; }
.section-cta { margin: 16px 20px 0; background: #2a2340; border-radius: 12px; padding: 22px 20px; text-align: center; }
.section-cta p { font-size: 13px; color: #c8c0e0; line-height: 1.9; margin-bottom: 14px; }
.section-cta a { display: inline-block; background: #7F77DD; color: #fff; font-size: 13px; font-weight: 500; padding: 11px 28px; border-radius: 40px; text-decoration: none; }

/* フッター */
.footer { background: #1e1a30; text-align: center; padding: 32px 24px; border-top: 1px solid #3d3580; }
.footer-logo-wrap { background: rgba(255,255,255,0.9); border-radius: 10px; padding: 7px 16px; display: inline-block; margin-bottom: 16px; }
.footer-logo { height: 40px; width: auto; display: block; }
.footer p { font-size: 11px; color: #6b6388; line-height: 1.8; }
.footer-links a { color: #a89ee0; text-decoration: underline; }

/* ═══════════════════════════════
   ブログ一覧
═══════════════════════════════ */
.blog-list-section { padding: 40px 20px 60px; background: #fafaf8; }
.blog-card { background: #fff; border: 1px solid #e4e2da; border-radius: 14px; overflow: hidden; margin-bottom: 20px; text-decoration: none; display: block; }
.blog-card-img { width: 100%; height: 180px; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-card-body { padding: 18px 18px 20px; }
.blog-card-cat { display: inline-block; font-size: 10px; color: #534AB7; background: #EEEDFE; padding: 3px 10px; border-radius: 4px; letter-spacing: 0.06em; margin-bottom: 10px; }
.blog-card-title { font-size: 15px; font-weight: 500; color: #1a1a1a; line-height: 1.55; margin-bottom: 8px; }
.blog-card-date { font-size: 11px; color: #aaa; margin-bottom: 10px; }
.blog-card-excerpt { font-size: 12px; color: #666; line-height: 1.85; }

/* ═══════════════════════════════
   ブログ記事
═══════════════════════════════ */
.article-section { padding: 40px 20px 60px; background: #fff; }
.article-wrap { max-width: 640px; margin: 0 auto; }
.breadcrumb { font-size: 11px; color: #9f97e8; margin-bottom: 20px; }
.breadcrumb a { color: #9f97e8; text-decoration: none; }
.article-cat { display: inline-block; font-size: 10px; color: #534AB7; background: #EEEDFE; padding: 3px 10px; border-radius: 4px; letter-spacing: 0.06em; margin-bottom: 12px; }
.article-title { font-size: 21px; font-weight: 400; color: #1a1a1a; line-height: 1.55; margin-bottom: 10px; }
.article-date { font-size: 11px; color: #aaa; margin-bottom: 24px; }
.article-hero { width: 100%; border-radius: 14px; overflow: hidden; margin-bottom: 28px; }
.article-hero img { width: 100%; height: auto; display: block; }
.article-body h2 { font-size: 16px; font-weight: 500; color: #2a2340; margin: 28px 0 12px; padding-left: 12px; border-left: 3px solid #7F77DD; }
.article-body p { font-size: 13px; color: #555; line-height: 2; margin-bottom: 8px; }
.article-body ul, .article-body ol { font-size: 13px; color: #555; line-height: 2.2; padding-left: 20px; margin: 8px 0 16px; }
.article-body li strong { color: #2a2340; }
