/* ─── Reset & Base ─────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: 'Noto Sans JP', sans-serif; color: #2d2d2d; background: #fff; line-height: 1.7; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ─── Container ─────────────────────────────────── */
.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ─── Buttons ────────────────────────────────────── */
.btn { display: inline-block; padding: 12px 28px; border-radius: 6px; font-size: 14px; font-weight: 700; cursor: pointer; transition: opacity .2s; border: none; }
.btn:hover { opacity: .85; }
.btn-primary { background: #e8574e; color: #fff; }
.btn-outline { background: transparent; color: #e8574e; border: 2px solid #e8574e; }
.btn-secondary { background: #f5f5f5; color: #444; border: 1px solid #ddd; }
.btn-lg { padding: 16px 40px; font-size: 16px; }

/* ─── Header ─────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid #eee; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 24px; }
.site-logo { font-size: 18px; font-weight: 700; color: #2d2d2d; letter-spacing: -.02em; }
.site-logo span { font-size: 11px; font-weight: 400; color: #999; display: block; }
.site-nav { display: flex; align-items: center; gap: 24px; }
.site-nav a { font-size: 14px; color: #555; }
.site-nav a:hover { color: #e8574e; }
.nav-cta { background: #e8574e; color: #fff !important; padding: 8px 20px; border-radius: 6px; font-weight: 700; }
.nav-cta:hover { opacity: .85; }

/* ─── Footer ─────────────────────────────────────── */
.site-footer { background: #1a1a2e; color: #aaa; padding: 48px 0 32px; margin-top: 80px; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.footer-logo { font-size: 18px; font-weight: 700; color: #fff; }
.footer-logo span { font-size: 11px; font-weight: 400; color: #888; display: block; text-align: center; }
.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.footer-nav a { font-size: 13px; color: #aaa; }
.footer-nav a:hover { color: #fff; }
.footer-copy { font-size: 12px; color: #666; }

/* ─── Hero ───────────────────────────────────────── */
.hero { background: linear-gradient(135deg, #fff8f7 0%, #fff 60%, #f0f7ff 100%); padding: 80px 0 72px; text-align: center; }
.hero-label { font-size: 13px; color: #e8574e; font-weight: 700; letter-spacing: .1em; margin-bottom: 16px; }
.hero-title { font-size: clamp(28px, 5vw, 48px); font-weight: 700; line-height: 1.4; margin-bottom: 20px; color: #1a1a2e; }
.hero-desc { font-size: 16px; color: #666; line-height: 1.8; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ─── Sections ───────────────────────────────────── */
.section { padding: 64px 0; }
.section-title { font-size: 24px; font-weight: 700; margin-bottom: 32px; }
.section-more { text-align: center; margin-top: 40px; }
.section-interview { background: #fafafa; }
.interview-cta { text-align: center; max-width: 640px; margin: 0 auto; }
.interview-cta h2 { font-size: 24px; font-weight: 700; margin-bottom: 16px; }
.interview-cta p { color: #666; margin-bottom: 24px; line-height: 1.8; }
.interview-points { list-style: none; text-align: left; display: inline-block; margin: 0 auto 32px; }
.interview-points li { padding: 6px 0 6px 24px; position: relative; font-size: 14px; color: #555; }
.interview-points li::before { content: '✓'; color: #e8574e; position: absolute; left: 0; font-weight: 700; }

/* ─── Article Grid ───────────────────────────────── */
.article-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.article-grid-sm { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.article-card { display: block; border-radius: 10px; overflow: hidden; border: 1px solid #eee; transition: box-shadow .2s, transform .2s; background: #fff; }
.article-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.08); transform: translateY(-2px); }
.article-card-img { position: relative; aspect-ratio: 16/9; overflow: hidden; background: #f5f5f5; }
.article-card-img img { width: 100%; height: 100%; object-fit: cover; }
.article-badge { position: absolute; top: 10px; left: 10px; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 4px; }
.article-badge.store { background: #e8574e; color: #fff; }
.article-badge.howto { background: #3b82f6; color: #fff; }
.article-card-body { padding: 16px; }
.article-meta { font-size: 12px; color: #e8574e; margin-bottom: 6px; }
.article-card-title { font-size: 15px; font-weight: 700; line-height: 1.5; margin-bottom: 8px; color: #1a1a2e; }
.article-card-excerpt { font-size: 13px; color: #777; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.article-date { font-size: 12px; color: #bbb; margin-top: 10px; }

/* ─── Filter ─────────────────────────────────────── */
.filter-bar { margin-bottom: 32px; }
.filter-form { display: flex; gap: 12px; flex-wrap: wrap; }
.filter-form select { padding: 8px 14px; border: 1px solid #ddd; border-radius: 6px; font-size: 14px; background: #fff; cursor: pointer; }

/* ─── Page Header ────────────────────────────────── */
.page-header { padding: 48px 0 32px; border-bottom: 1px solid #eee; margin-bottom: 48px; }
.page-header h1 { font-size: 32px; font-weight: 700; }
.page-header p { color: #666; margin-top: 10px; line-height: 1.8; }
.page-container { padding-bottom: 80px; }

/* ─── Article Detail ─────────────────────────────── */
.article-container { max-width: 780px; }
.article-header { padding: 48px 0 32px; }
.article-header-meta { display: flex; gap: 8px; align-items: center; margin-bottom: 16px; flex-wrap: wrap; }
.article-badge.store, .article-badge.howto { position: static; }
.tag { font-size: 12px; background: #f5f5f5; color: #666; padding: 3px 10px; border-radius: 4px; }
.article-title { font-size: clamp(22px, 4vw, 32px); font-weight: 700; line-height: 1.45; margin-bottom: 12px; }
.article-date { font-size: 13px; color: #bbb; }
.article-eyecatch { border-radius: 10px; overflow: hidden; margin-bottom: 40px; aspect-ratio: 16/9; background: #f5f5f5; }
.article-eyecatch img { width: 100%; height: 100%; object-fit: cover; }
.article-body { font-size: 16px; line-height: 1.9; color: #333; }
.article-body h2 { font-size: 22px; font-weight: 700; margin: 40px 0 16px; padding-bottom: 10px; border-bottom: 2px solid #e8574e; }
.article-body h3 { font-size: 18px; font-weight: 700; margin: 32px 0 12px; }
.article-body p { margin-bottom: 18px; }
.article-body ul, .article-body ol { margin: 0 0 18px 24px; }
.article-body li { margin-bottom: 6px; }

/* ─── Store Info ─────────────────────────────────── */
.store-info-box { margin: 48px 0; background: #fafafa; border-radius: 10px; padding: 28px; }
.store-info-box h2 { font-size: 18px; font-weight: 700; margin-bottom: 16px; }
.store-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.store-table th { width: 120px; padding: 10px 12px; background: #f0f0f0; color: #555; font-weight: 700; text-align: left; border-bottom: 1px solid #e5e5e5; }
.store-table td { padding: 10px 12px; border-bottom: 1px solid #e5e5e5; color: #333; }
.store-table td a { color: #e8574e; }
.store-links { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }

/* ─── Relyten CTA ────────────────────────────────── */
.relyten-cta { margin: 48px 0; background: #f0f7ff; border-left: 4px solid #3b82f6; border-radius: 0 8px 8px 0; padding: 20px 24px; }
.relyten-cta p { font-size: 13px; color: #666; margin-bottom: 8px; }
.relyten-cta a { color: #3b82f6; font-weight: 700; }

/* ─── Related Articles ───────────────────────────── */
.related-articles { margin-top: 64px; }
.related-articles h2 { font-size: 20px; font-weight: 700; margin-bottom: 24px; }

/* ─── Interview Banner ───────────────────────────── */
.article-footer-cta { margin-top: 48px; }
.interview-banner { display: block; background: linear-gradient(135deg, #e8574e, #c94040); color: #fff; border-radius: 10px; padding: 24px 32px; text-align: center; transition: opacity .2s; }
.interview-banner:hover { opacity: .9; }
.interview-banner strong { display: block; font-size: 18px; margin-bottom: 6px; }
.interview-banner span { font-size: 14px; opacity: .9; }

/* ─── Interview Page ─────────────────────────────── */
.interview-page { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.interview-features h2, .interview-form-wrap h2 { font-size: 20px; font-weight: 700; margin-bottom: 24px; }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 40px; }
.feature-item { background: #fafafa; border-radius: 10px; padding: 20px; }
.feature-icon { font-size: 28px; margin-bottom: 10px; }
.feature-item h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.feature-item p { font-size: 13px; color: #666; line-height: 1.6; }
.flow-list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.flow-list li { display: flex; gap: 16px; align-items: flex-start; }
.flow-list li span { width: 28px; height: 28px; border-radius: 50%; background: #e8574e; color: #fff; font-weight: 700; font-size: 13px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.flow-list li div strong { font-size: 14px; display: block; margin-bottom: 4px; }
.flow-list li div p { font-size: 13px; color: #666; }

/* ─── Contact Form ───────────────────────────────── */
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-group label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.form-group input, .form-group textarea { width: 100%; padding: 12px 14px; border: 1px solid #ddd; border-radius: 6px; font-size: 15px; font-family: inherit; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: #e8574e; }
.required { color: #e8574e; }
.form-note { font-size: 12px; color: #999; margin-top: -8px; }
.form-container { max-width: 560px; }
.interview-form-wrap { background: #fafafa; border-radius: 10px; padding: 32px; }

/* ─── About & Info ───────────────────────────────── */
.info-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.info-table th { width: 140px; padding: 14px 16px; background: #f5f5f5; color: #555; font-weight: 700; text-align: left; border-bottom: 1px solid #eee; }
.info-table td { padding: 14px 16px; border-bottom: 1px solid #eee; }
.info-table td a { color: #e8574e; }

/* ─── Thanks / Empty ─────────────────────────────── */
.thanks-page { text-align: center; padding: 80px 0; }
.thanks-page h1 { font-size: 28px; font-weight: 700; margin-bottom: 16px; }
.thanks-page p { color: #666; margin-bottom: 32px; line-height: 1.8; }
.thanks-icon { font-size: 56px; margin-bottom: 20px; }
.empty-state { text-align: center; padding: 60px; }
.empty-state p { color: #aaa; margin-bottom: 20px; }

/* ─── Mobile ─────────────────────────────────────── */
@media (max-width: 768px) {
  .site-nav { display: none; }
  .hero { padding: 48px 0; }
  .hero-title { font-size: 26px; }
  .article-grid { grid-template-columns: 1fr; }
  .interview-page { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .filter-form { flex-direction: column; }
  .filter-form select { width: 100%; }
  .store-links { flex-direction: column; }
  .hero-actions { flex-direction: column; align-items: center; }
}

/* ─── Breadcrumb ─────────────────────────────── */
.breadcrumb { padding: 20px 0 8px; }
.breadcrumb-list { list-style: none; display: flex; align-items: center; gap: 6px; font-size: 13px; color: #999; flex-wrap: wrap; }
.breadcrumb-list li::after { content: '/'; margin-left: 6px; color: #ccc; }
.breadcrumb-list li:last-child::after { display: none; }
.breadcrumb-list a { color: #999; }
.breadcrumb-list a:hover { color: #e8574e; }
.breadcrumb-list [aria-current] { color: #555; }

/* ─── Article with Sidebar ───────────────────── */
.article-with-sidebar { display: grid; grid-template-columns: 1fr 280px; gap: 48px; align-items: start; }
.article-main { min-width: 0; }
@media (max-width: 1080px) {
  .article-with-sidebar { grid-template-columns: 1fr; }
  .article-sidebar { display: none; }
}

/* ─── Sidebar ────────────────────────────────── */
.article-sidebar { position: sticky; top: 80px; }
.sidebar-widget { background: #fafafa; border-radius: 10px; padding: 20px; margin-bottom: 20px; }
.sidebar-title { font-size: 14px; font-weight: 700; color: #1a1a2e; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid #e8574e; }
.sidebar-article-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.sidebar-article-item { display: flex; gap: 10px; align-items: flex-start; }
.sidebar-article-img { width: 64px; height: 48px; border-radius: 6px; overflow: hidden; flex-shrink: 0; background: #eee; }
.sidebar-article-img img { width: 100%; height: 100%; object-fit: cover; }
.sidebar-article-title { font-size: 12px; color: #333; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.sidebar-article-item:hover .sidebar-article-title { color: #e8574e; }
.sidebar-relyten-widget { background: #f0f7ff; border: 1px solid #bfdbfe; }
.sidebar-relyten-desc { font-size: 13px; color: #555; line-height: 1.6; margin-bottom: 14px; }
.sidebar-btn { width: 100%; text-align: center; display: block; }
.sidebar-cat-list { list-style: none; display: flex; flex-direction: column; gap: 0; }
.sidebar-cat-list li { border-bottom: 1px solid #eee; }
.sidebar-cat-list li:last-child { border-bottom: none; }
.sidebar-cat-list a { display: block; padding: 8px 4px; font-size: 13px; color: #555; }
.sidebar-cat-list a:hover { color: #e8574e; }
.sidebar-count { color: #bbb; font-size: 11px; }

/* ─── Relyten CTA Box (article detail) ──────── */
.relyten-cta-box { margin: 48px 0; background: linear-gradient(135deg, #f0f7ff, #e8f4fd); border: 1px solid #bfdbfe; border-radius: 10px; padding: 28px 32px; }
.relyten-cta-title { font-size: 20px; font-weight: 700; color: #1a1a2e; margin-bottom: 10px; }
.relyten-cta-desc { font-size: 14px; color: #555; line-height: 1.7; margin-bottom: 18px; }

/* ─── Relyten List CTA (article list) ───────── */
.relyten-list-cta { margin: 40px 0 20px; background: #fafafa; border: 1px solid #eee; border-radius: 8px; padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.relyten-list-cta p { font-size: 14px; color: #555; margin: 0; }
.relyten-list-cta a { font-size: 14px; font-weight: 700; color: #e8574e; white-space: nowrap; }
.relyten-list-cta a:hover { text-decoration: underline; }
