/* ===== はなマン 制作実績詳細ページ 共通CSS ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Helvetica Neue', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', Arial, sans-serif; background: #F2F0ED; color: #2A3A40; line-height: 1.7; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* NAV */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: #F2F0ED; border-bottom: 1px solid #E0DDD8; display: flex; align-items: center; justify-content: space-between; padding: 0 48px; height: 64px; }
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo img { height: 36px; width: auto; }
.nav-logo-text { font-size: 13px; font-weight: 800; letter-spacing: 2px; color: #3A5060; }
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a { font-size: 11px; letter-spacing: 2px; color: #8A9AA4; transition: color 0.2s; text-transform: uppercase; }
.nav-links a:hover { color: #FF6040; }
.nav-cta { background: #FF6040; color: #fff !important; padding: 8px 20px; border-radius: 3px; font-weight: 800 !important; }
.nav-cta:hover { background: #e04a28 !important; }

/* PAGE HEADER */
.page-header { background: #2A3A40; padding: 100px 80px 56px; }
.breadcrumb { font-size: 11px; letter-spacing: 2px; color: rgba(144,184,204,0.5); margin-bottom: 20px; text-transform: uppercase; }
.breadcrumb a { color: rgba(144,184,204,0.6); transition: color 0.2s; }
.breadcrumb a:hover { color: #FF6040; }
.breadcrumb span { color: rgba(144,184,204,0.35); margin: 0 8px; }
.page-header h1 { font-size: clamp(24px, 3vw, 40px); font-weight: 900; color: #EEF4F7; line-height: 1.3; margin-bottom: 10px; }
.page-header-sub { font-size: 13px; color: #7A9AAA; }

/* MAIN CONTENT */
main { padding: 64px 80px 96px; }
.detail-wrap { max-width: 800px; margin: 0 auto; }

/* TAGS */
.detail-tags { display: flex; gap: 12px; margin-bottom: 36px; }
.detail-tag-col { flex: 1; text-align: center; }
.detail-tag-label { background: #3A5060; color: #fff; font-weight: 700; font-size: 0.88em; padding: 10px 0; display: block; letter-spacing: 0.05em; border-radius: 2px 2px 0 0; }
.detail-tag-value { font-size: 1.05em; font-weight: 800; padding: 14px 0 4px; color: #3A5060; display: block; }

/* TABLE */
.detail-table { width: 100%; border-collapse: collapse; margin-bottom: 40px; font-size: 0.95em; }
.detail-table td { border: 1px solid #ddd; padding: 12px 16px; line-height: 1.7; background: #fff; }
.detail-table td:first-child { background: #f5f5f5; font-weight: 700; width: 130px; white-space: nowrap; color: #FF6040; }
.detail-table a { color: #3A5060; border-bottom: 1px solid #90B8CC; }
.detail-table a:hover { color: #FF6040; }

/* IMAGES */
.detail-images { display: flex; gap: 16px; margin-bottom: 40px; flex-wrap: wrap; }
.detail-images > div { flex: 1; min-width: 200px; }
.detail-images img { width: 100%; height: auto; display: block; border-radius: 4px; box-shadow: 0 4px 20px rgba(0,0,0,0.1); }
.detail-images-strip { display: flex; flex-direction: column; gap: 4px; margin-bottom: 40px; max-width: 520px; margin-left: auto; margin-right: auto; }
.detail-images-strip img { width: 100%; display: block; border-radius: 4px; box-shadow: 0 4px 20px rgba(0,0,0,0.1); }
.detail-images-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 40px; }
.detail-images-grid img { width: 100%; height: auto; display: block; border-radius: 4px; box-shadow: 0 4px 16px rgba(0,0,0,0.1); }

/* SECTION */
.detail-section { margin-bottom: 32px; }
.detail-section-title { background: #3A5060; color: #fff; font-weight: 700; font-size: 0.98em; padding: 10px 16px; border-left: 5px solid #FF6040; margin-bottom: 16px; }
.detail-section-body { line-height: 1.9; padding: 0 4px; color: #444; font-size: 0.95em; }

/* HITOKOTO */
.detail-hitokoto { background: rgba(58,80,96,0.05); border: 2px solid #3A5060; border-radius: 12px; padding: 20px 24px; margin-bottom: 36px; display: flex; gap: 16px; align-items: flex-start; }
.detail-hitokoto-icon { background: #3A5060; color: #FF6040; font-weight: 800; font-size: 0.8em; padding: 6px 10px; border-radius: 20px; white-space: nowrap; flex-shrink: 0; margin-top: 2px; letter-spacing: 0.05em; line-height: 1.4; text-align: center; }
.detail-hitokoto-body { line-height: 1.9; color: #333; font-size: 0.95em; }

/* BACK LINK */
.back-link { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: 2px; color: #5A7888; font-weight: 700; text-transform: uppercase; margin-top: 48px; border-bottom: 1px solid #C0CCD4; padding-bottom: 2px; transition: color 0.2s; }
.back-link:hover { color: #FF6040; border-color: #FF6040; }

/* CTA */
.cta { background: #3A5060; padding: 80px; text-align: center; }
.section-label { font-size: 10px; letter-spacing: 4px; color: #FF6040; text-transform: uppercase; font-weight: 800; margin-bottom: 16px; display: block; }
.cta .section-label { color: #90B8CC; }
.cta-title { font-size: clamp(22px, 3vw, 34px); font-weight: 900; color: #EEF4F7; line-height: 1.3; margin-bottom: 16px; }
.cta-desc { font-size: 14px; color: #7A9AAA; line-height: 1.9; margin-bottom: 36px; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-large { background: #FF6040; color: #fff; font-size: 13px; letter-spacing: 2px; font-weight: 800; padding: 18px 44px; border-radius: 3px; transition: background 0.2s, transform 0.1s; display: inline-block; }
.btn-large:hover { background: #e04a28; transform: translateY(-2px); }
.btn-large-sub { color: rgba(238,244,247,0.7); font-size: 13px; letter-spacing: 2px; font-weight: 700; border: 1.5px solid rgba(238,244,247,0.25); padding: 18px 36px; border-radius: 3px; transition: border-color 0.2s, color 0.2s; display: inline-block; }
.btn-large-sub:hover { border-color: rgba(238,244,247,0.6); color: #EEF4F7; }

/* FOOTER */
footer { background: #2A3A40; padding: 48px 80px 32px; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; margin-bottom: 40px; flex-wrap: wrap; }
.footer-logo { display: flex; align-items: center; gap: 10px; }
.footer-logo img { height: 36px; }
.footer-logo-text { color: rgba(238,244,247,0.6); font-size: 12px; letter-spacing: 2px; font-weight: 700; }
.footer-tagline { color: rgba(144,184,204,0.5); font-size: 11px; letter-spacing: 1px; margin-top: 6px; }
.footer-nav { display: flex; gap: 28px; flex-wrap: wrap; list-style: none; }
.footer-nav a { font-size: 11px; letter-spacing: 2px; color: rgba(144,184,204,0.6); text-transform: uppercase; transition: color 0.2s; }
.footer-nav a:hover { color: #FF6040; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-copy { font-size: 10px; letter-spacing: 1px; color: rgba(144,184,204,0.3); }
.footer-sns { display: flex; gap: 20px; }
.footer-sns a { font-size: 10px; letter-spacing: 2px; color: rgba(144,184,204,0.4); text-transform: uppercase; transition: color 0.2s; }
.footer-sns a:hover { color: #FF6040; }

/* RESPONSIVE */
@media (max-width: 900px) {
  nav { padding: 0 20px; }
  .nav-links { gap: 16px; }
  .page-header { padding: 100px 24px 48px; }
  main { padding: 48px 24px 72px; }
  .detail-tags { flex-wrap: wrap; }
  .detail-tag-col { min-width: calc(50% - 6px); }
  .detail-images { flex-direction: column; }
  .detail-hitokoto { flex-direction: column; gap: 10px; }
  .cta { padding: 64px 24px; }
  footer { padding: 40px 24px 24px; }
  .footer-inner { flex-direction: column; gap: 24px; }
}
