/*
Theme Name: UNEECCA
Theme URI: https://attracca.co.jp/
Author: Attracca Inc.
Author URI: https://attracca.co.jp/
Description: UNEECCA — Prompt to Website. 「らしさ」を学習したAIスタッフがWebサイトを管理・改善し続ける、Attracca提供のブランディング型コーポレートテーマ。AIO / LLMO / SEO 最適化済み（JSON-LD・OGP・canonical・メタディスクリプション・llms.txt・E-E-A-T）。
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: uneecca
Tags: corporate, business, ai, branding, custom-logo, custom-menu, featured-images, translation-ready
*/

/* =========================================================
   UNEECCA — Design System
   Brand colors: #2E6BFF / #8B5CF6 / #EC4899 / #22D3EE
   ========================================================= */

:root {
  --u-blue:   #2E6BFF;
  --u-purple: #8B5CF6;
  --u-pink:   #EC4899;
  --u-cyan:   #22D3EE;
  --u-ink:    #0E1116;
  --u-ink-2:  #1B1E2B;
  --u-text:   #3C4250;
  --u-muted:  #6B7280;
  --u-muted-2:#9499A3;
  --u-line:   #ECECF2;
  --u-line-2: #F0F0F4;
  --u-bg:     #FFFFFF;
  --u-bg-2:   #F5F5F7;
  --u-bg-3:   #FAFAFC;
  --u-grad:   linear-gradient(120deg, var(--u-blue), var(--u-purple) 45%, var(--u-pink) 78%, var(--u-cyan));
  --u-grad-text: linear-gradient(110deg, var(--u-blue), var(--u-purple) 38%, var(--u-pink) 66%, var(--u-cyan));
  --u-maxw: 1240px;
  --u-font-en: 'Space Grotesk', sans-serif;
  --u-font-ja: 'Zen Kaku Gothic New', 'Space Grotesk', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--u-bg);
  color: var(--u-ink);
  font-family: var(--u-font-ja);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
::selection { background: rgba(139, 92, 246, .18); }
a { color: inherit; }
img { max-width: 100%; height: auto; }

/* ---- Animations ---- */
@keyframes blobMorph  {0%,100%{border-radius:42% 58% 60% 40% / 48% 42% 58% 52%;}50%{border-radius:62% 38% 44% 56% / 56% 60% 40% 44%;}}
@keyframes blobMorph2 {0%,100%{border-radius:58% 42% 38% 62% / 44% 58% 42% 56%;}50%{border-radius:38% 62% 58% 42% / 60% 40% 56% 44%;}}
@keyframes floatY  {0%,100%{transform:translateY(0);}50%{transform:translateY(-26px);}}
@keyframes floatY2 {0%,100%{transform:translateY(0);}50%{transform:translateY(20px);}}
@keyframes drift   {0%,100%{transform:translate(0,0);}50%{transform:translate(28px,-18px);}}
@keyframes spinSlow{to{transform:rotate(360deg);}}
@keyframes gradShift{0%,100%{background-position:0% 50%;}50%{background-position:100% 50%;}}
@keyframes rise   {from{opacity:0;transform:translateY(8px);}to{opacity:1;transform:translateY(0);}}
@keyframes caret  {0%,100%{opacity:1;}50%{opacity:0;}}
@media (prefers-reduced-motion: reduce){ * { animation: none !important; } }

/* ---- Layout helpers ---- */
.u-container { max-width: var(--u-maxw); margin: 0 auto; padding: 0 20px; }
.u-grad-bg { background: var(--u-grad); background-size: 200% 200%; animation: gradShift 7s ease infinite; }
.u-grad-text {
  background: var(--u-grad-text); background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: #fff; padding: 10px 18px; border-radius: 8px;
}
.skip-link:focus { left: 16px; top: 16px; }

/* ---- Header / Nav ---- */
.u-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(180%) blur(14px);
  background: rgba(255,255,255,.72);
  border-bottom: 1px solid var(--u-line);
}
.u-header__inner {
  max-width: var(--u-maxw); margin: 0 auto; padding: 0 20px; height: 64px;
  display: flex; align-items: center; justify-content: space-between;
}
.u-brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: inherit; }
.u-brand__mark {
  width: 30px; height: 30px; border-radius: 9px;
  box-shadow: 0 6px 16px rgba(139,92,246,.32);
}
.u-brand__mark img { width: 100%; height: 100%; object-fit: contain; border-radius: 9px; }
.u-brand__name { display: flex; flex-direction: column; line-height: 1; }
.u-brand__name b { font-family: var(--u-font-en); font-weight: 700; font-size: 18px; letter-spacing: .14em; }
.u-brand__name small { font-size: 9.5px; letter-spacing: .34em; color: var(--u-muted-2); margin-top: 3px; }
/* モバイルファースト：ナビは初期非表示、ハンバーガーで開く */
.u-nav { display: none; }
.u-nav.is-open {
  display: flex; flex-direction: column; align-items: flex-start; gap: 18px;
  position: absolute; top: 64px; left: 0; right: 0; padding: 24px 20px;
  background: rgba(255,255,255,.97); border-bottom: 1px solid var(--u-line);
  backdrop-filter: blur(14px); z-index: 49;
}
.u-nav a {
  font-family: var(--u-font-en); font-size: 15px; font-weight: 500;
  color: var(--u-text); text-decoration: none; letter-spacing: .04em;
}
.u-nav a.u-btn-pill { color: #fff; }
.u-btn-pill {
  display: inline-flex; align-items: center; gap: 7px; font-weight: 600;
  color: #fff; text-decoration: none; padding: 10px 20px; border-radius: 999px;
  box-shadow: 0 8px 22px rgba(99,102,241,.32);
}
.u-navtoggle { display: block; background: none; border: 0; cursor: pointer; padding: 8px; }
.u-navtoggle span { display: block; width: 22px; height: 2px; background: var(--u-ink); margin: 4px 0; border-radius: 2px; }

/* ---- Buttons ---- */
.u-btn-primary {
  display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: #fff;
  font-weight: 700; font-size: 15px; padding: 15px 30px; border-radius: 999px;
  box-shadow: 0 14px 34px rgba(99,102,241,.34);
}
.u-btn-ghost {
  display: inline-flex; align-items: center; text-decoration: none; color: #26303F;
  font-weight: 600; font-size: 15px; padding: 15px 28px; border-radius: 999px;
  background: #fff; border: 1px solid #E4E4EC; box-shadow: 0 6px 18px rgba(16,17,22,.05);
}

/* ---- Hero ---- */
.u-hero {
  position: relative; overflow: hidden; min-height: 88vh; display: flex; align-items: center;
  background: linear-gradient(180deg, #FFFFFF, #F4F6FB);
}
.u-hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.u-hero__blob {
  position: absolute; top: -10%; right: -6%; width: 560px; height: 560px;
  border-radius: 42% 58% 60% 40% / 48% 42% 58% 52%;
  background: radial-gradient(circle at 40% 40%, #8B5CF6, #2E6BFF 45%, rgba(34,211,238,0) 74%);
  filter: blur(60px); opacity: .4; animation: blobMorph 17s ease-in-out infinite;
}
.u-hero__grid {
  position: relative; z-index: 2; max-width: var(--u-maxw); margin: 0 auto; padding: 64px 20px;
  display: grid; grid-template-columns: 1fr; gap: 36px; align-items: center; width: 100%;
}
.u-eyebrow {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 16px; border-radius: 999px;
  background: rgba(255,255,255,.7); border: 1px solid #E8E8EF; animation: rise .7s ease both;
}
.u-eyebrow__dot { width: 7px; height: 7px; border-radius: 50%; background: linear-gradient(120deg, var(--u-blue), var(--u-pink)); }
.u-eyebrow span { font-family: var(--u-font-en); font-size: 11.5px; letter-spacing: .22em; color: var(--u-muted); }
.u-hero__title {
  margin: 24px 0 0; font-weight: 900; font-size: clamp(38px, 5.2vw, 70px);
  line-height: 1.1; letter-spacing: -.02em; animation: rise .8s .05s ease both;
}
.u-hero__title .lead { display: block; font-size: .4em; font-weight: 700; letter-spacing: .04em; color: var(--u-muted); margin-bottom: .5em; }
.u-hero__title .brand {
  display: block; margin-top: .24em; font-family: var(--u-font-en); font-weight: 700;
  font-size: 1.34em; letter-spacing: .12em;
  background: var(--u-grad-text); background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: gradShift 6s ease infinite; filter: drop-shadow(0 8px 26px rgba(139,92,246,.4));
}
.u-hero__lead { margin: 20px 0 0; max-width: 440px; font-size: 16px; line-height: 1.85; color: #5A616E; animation: rise .8s .12s ease both; }
.u-hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; animation: rise .8s .18s ease both; }
.u-hero__visual { position: relative; animation: rise .9s .2s ease both; }
.u-promptbar {
  display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 16px;
  background: #fff; border: 1px solid var(--u-line); box-shadow: 0 18px 44px rgba(16,17,22,.1);
}
.u-promptbar__mark { width: 30px; height: 30px; flex: none; border-radius: 9px; background: linear-gradient(130deg, #2E6BFF, #8B5CF6, #EC4899); }
.u-promptbar__text { font-size: 15px; color: #26303F; font-weight: 500; }
.u-caret { display: inline-block; width: 2px; height: 17px; vertical-align: -3px; margin-left: 2px; background: var(--u-purple); animation: caret 1.1s step-end infinite; }
.u-promptbar__send { margin-left: auto; flex: none; width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #fff; background: linear-gradient(120deg, #2E6BFF, #8B5CF6, #EC4899); font-family: var(--u-font-en); }
.u-worktag { display: flex; align-items: center; gap: 8px; padding-left: 6px; color: var(--u-muted-2); font-size: 12px; font-family: var(--u-font-en); margin-top: 14px; }
.u-worktag span { width: 6px; height: 6px; border-radius: 50%; background: var(--u-cyan); box-shadow: 0 0 0 4px rgba(34,211,238,.18); }
.u-preview { margin-top: 14px; border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid var(--u-line); box-shadow: 0 26px 60px rgba(16,17,22,.14); }
.u-preview__bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; border-bottom: 1px solid var(--u-line-2); }
.u-preview__bar i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.u-preview__bar small { margin-left: 10px; font-family: var(--u-font-en); font-size: 11px; color: #A6ABB5; }
.u-preview__body { position: relative; height: 230px; background: linear-gradient(160deg, #F7F8FB, #EEF1F8); overflow: hidden; }

/* ---- Marquee / Trust ---- */
.u-trust { border-top: 1px solid var(--u-line-2); border-bottom: 1px solid var(--u-line-2); background: var(--u-bg-3); padding: 22px 0; }
.u-trust__inner { max-width: var(--u-maxw); margin: 0 auto; padding: 0 32px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; }
.u-trust__label { font-family: var(--u-font-en); font-size: 11px; letter-spacing: .2em; color: var(--u-muted-2); }
.u-trust__items { display: flex; gap: 30px; flex-wrap: wrap; align-items: center; }
.u-trust__items span { font-family: var(--u-font-en); font-weight: 600; font-size: 14px; color: #B4B9C3; letter-spacing: .02em; }

/* ---- Section heads ---- */
.u-section { max-width: var(--u-maxw); margin: 0 auto; padding: 72px 20px 32px; }
.u-section--alt { background: var(--u-bg-2); padding: 72px 0; max-width: none; }
.u-kicker { font-family: var(--u-font-en); font-size: 12px; letter-spacing: .28em; font-weight: 600; }
.u-h2 { margin: 14px 0 0; font-weight: 900; font-size: clamp(28px, 3.4vw, 44px); letter-spacing: -.01em; }
.u-head-row { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.u-head-row p { max-width: 380px; font-size: 14.5px; line-height: 1.85; color: var(--u-muted); margin: 0; }
.u-viewall { font-family: var(--u-font-en); font-size: 13px; font-weight: 600; color: #26303F; text-decoration: none; display: inline-flex; align-items: center; gap: 7px; }

/* ---- Service cards ---- */
.u-grid-3 { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 40px; }
.u-card {
  position: relative; overflow: hidden; padding: 30px; border-radius: 22px; background: #fff;
  border: 1px solid var(--u-line); box-shadow: 0 10px 30px rgba(16,17,22,.04);
}
.u-card__glow { position: absolute; top: -40px; right: -40px; width: 130px; height: 130px; border-radius: 50%; filter: blur(34px); opacity: .5; }
.u-card__top { position: relative; display: flex; align-items: center; justify-content: space-between; }
.u-card__icon { width: 50px; height: 50px; border-radius: 14px; box-shadow: 0 10px 24px rgba(99,102,241,.22); animation: blobMorph 13s ease-in-out infinite; }
.u-card__n { font-family: var(--u-font-en); font-weight: 700; font-size: 13px; color: #D2D6DE; }
.u-card__en { position: relative; font-family: var(--u-font-en); font-size: 11px; letter-spacing: .16em; color: var(--u-muted-2); margin-top: 24px; }
.u-card h3 { position: relative; margin: 6px 0 0; font-size: 20px; font-weight: 700; }
.u-card p { position: relative; margin: 12px 0 0; font-size: 13.5px; line-height: 1.8; color: var(--u-muted); }

/* ---- How it works (dark) ---- */
.u-how { max-width: var(--u-maxw); margin: 0 auto; padding: 48px 20px 72px; }
.u-how__panel { position: relative; overflow: hidden; border-radius: 24px; padding: 40px 26px; background: linear-gradient(135deg, #0E1116, #1B1E2B); color: #fff; }
.u-how__blob1 { position: absolute; top: -80px; left: -40px; width: 380px; height: 380px; border-radius: 42% 58% 60% 40% / 48% 42% 58% 52%; background: radial-gradient(circle at 40% 40%, #2E6BFF, rgba(46,107,255,0) 70%); filter: blur(40px); opacity: .6; animation: blobMorph 16s ease-in-out infinite, floatY 12s ease-in-out infinite; }
.u-how__blob2 { position: absolute; bottom: -100px; right: -30px; width: 420px; height: 420px; border-radius: 58% 42% 38% 62% / 44% 58% 42% 56%; background: radial-gradient(circle at 50% 50%, #EC4899, rgba(236,72,153,0) 68%); filter: blur(46px); opacity: .5; animation: blobMorph2 18s ease-in-out infinite; }
.u-how__inner { position: relative; }
.u-how__inner p { margin: 14px 0 0; max-width: 520px; font-size: 14.5px; line-height: 1.85; color: #B9BECB; }
.u-how__steps { display: grid; grid-template-columns: 1fr; gap: 22px; margin-top: 40px; }
.u-step { position: relative; padding: 26px; border-radius: 18px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(6px); }
.u-step__n { font-family: var(--u-font-en); font-weight: 700; font-size: 13px; }
.u-step h3 { margin: 14px 0 0; font-size: 18px; font-weight: 700; }
.u-step__en { font-family: var(--u-font-en); font-size: 11px; letter-spacing: .12em; color: #7C8398; margin-top: 5px; }
.u-step p { margin: 12px 0 0; font-size: 13px; line-height: 1.8; color: #AEB4C2; }

/* ---- Cards grid (works / prototype / news) ---- */
.u-tile { text-decoration: none; color: inherit; display: block; border-radius: 20px; overflow: hidden; background: #fff; border: 1px solid var(--u-line); box-shadow: 0 8px 26px rgba(16,17,22,.05); }
.u-tile__media { position: relative; height: 178px; overflow: hidden; }
.u-tile__media::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 70% 20%, rgba(255,255,255,.5), rgba(255,255,255,0) 55%); }
.u-tile__cat { position: absolute; left: 18px; bottom: 16px; z-index: 1; padding: 5px 11px; border-radius: 999px; background: rgba(255,255,255,.85); font-family: var(--u-font-en); font-size: 10.5px; font-weight: 600; letter-spacing: .05em; color: var(--u-text); }
.u-tile__cat--top { top: 16px; bottom: auto; }
.u-tile__body { padding: 20px; }
.u-tile__body h3 { margin: 0; font-size: 16.5px; font-weight: 700; line-height: 1.55; }
.u-tile__body p { margin: 8px 0 0; font-size: 12.5px; color: #8B909C; font-family: var(--u-font-en); }

/* ---- News list ---- */
.u-news { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: start; }
.u-news__intro p { margin: 16px 0 0; font-size: 14px; line-height: 1.85; color: var(--u-muted); }
.u-news__row { display: flex; align-items: center; gap: 22px; padding: 22px 6px; border-top: 1px solid var(--u-line); text-decoration: none; color: inherit; }
.u-news__date { font-family: var(--u-font-en); font-size: 12.5px; color: var(--u-muted-2); min-width: 92px; }
.u-news__tag { padding: 4px 11px; border-radius: 999px; font-family: var(--u-font-en); font-size: 10.5px; font-weight: 600; letter-spacing: .04em; color: #fff; white-space: nowrap; }
.u-news__title { font-size: 15px; font-weight: 500; flex: 1; }
.u-news__arrow { color: #C2C6CF; font-family: var(--u-font-en); }

/* ---- FAQ ---- */
.u-faq { max-width: 880px; margin: 0 auto; padding: 0 32px; }
.u-faq__head { text-align: center; }
.u-faq__list { margin-top: 44px; display: flex; flex-direction: column; gap: 12px; }
.u-faq__item { border-radius: 16px; background: #fff; border: 1px solid var(--u-line); overflow: hidden; }
.u-faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; text-align: left; border: none; background: transparent; cursor: pointer; padding: 22px 24px; font-family: inherit; }
.u-faq__q span:first-child { font-size: 15.5px; font-weight: 600; color: var(--u-ink-2); }
.u-faq__sign { flex: none; width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--u-font-en); color: #fff; background: linear-gradient(120deg, #2E6BFF, #8B5CF6, #EC4899); }
.u-faq__a { padding: 0 24px 24px; font-size: 14px; line-height: 1.85; color: var(--u-muted); display: none; }
.u-faq__item.is-open .u-faq__a { display: block; }

/* ---- About ---- */
.u-about { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: center; }
.u-about h2 { line-height: 1.25; }
.u-about p { margin: 20px 0 0; font-size: 14.5px; line-height: 1.9; color: #5A616E; }
.u-about__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.u-about__stat { padding: 24px; border-radius: 18px; background: var(--u-bg-3); border: 1px solid var(--u-line); }
.u-about__stat .k { font-family: var(--u-font-en); font-size: 11px; letter-spacing: .14em; color: var(--u-muted-2); }
.u-about__stat .v { margin-top: 8px; font-size: 15px; font-weight: 700; color: var(--u-ink-2); }

/* ---- CTA ---- */
.u-cta { max-width: var(--u-maxw); margin: 0 auto; padding: 0 20px 72px; }
.u-cta__panel { position: relative; overflow: hidden; border-radius: 28px; padding: 56px 26px; text-align: center; background: linear-gradient(125deg, #2E6BFF, #8B5CF6 40%, #EC4899 72%, #22D3EE); background-size: 200% 200%; animation: gradShift 10s ease infinite; box-shadow: 0 30px 70px rgba(99,102,241,.32); }
.u-cta__panel h2 { margin: 16px 0 0; font-weight: 900; font-size: clamp(30px, 4.4vw, 56px); color: #fff; line-height: 1.12; }
.u-cta__panel p { margin: 18px auto 0; max-width: 480px; font-size: 15px; line-height: 1.8; color: rgba(255,255,255,.9); }
.u-cta__kicker { font-family: var(--u-font-en); font-size: 12px; letter-spacing: .28em; color: rgba(255,255,255,.85); font-weight: 600; }
.u-cta__buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 34px; position: relative; }
.u-cta__btn-light { text-decoration: none; color: #1B1E2B; font-weight: 700; font-size: 15px; padding: 16px 34px; border-radius: 999px; background: #fff; box-shadow: 0 14px 30px rgba(16,17,22,.18); }
.u-cta__btn-glass { text-decoration: none; color: #fff; font-weight: 600; font-size: 15px; padding: 16px 32px; border-radius: 999px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.4); }

/* ---- Footer ---- */
.u-footer { border-top: 1px solid var(--u-line); padding: 60px 0 40px; }
.u-footer__grid { max-width: var(--u-maxw); margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: 1fr; gap: 28px; }
.u-footer__about p { margin: 18px 0 0; font-size: 13px; line-height: 1.8; color: #8B909C; max-width: 240px; }
.u-footer__col h4 { font-family: var(--u-font-en); font-size: 11px; letter-spacing: .16em; color: #B4B9C3; font-weight: 600; margin: 0; }
.u-footer__links { display: flex; flex-direction: column; gap: 11px; margin-top: 16px; }
.u-footer__links a { font-size: 13.5px; color: #5A616E; text-decoration: none; }
.u-footer__bottom { max-width: var(--u-maxw); margin: 40px auto 0; padding: 22px 20px 0; border-top: 1px solid var(--u-line-2); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.u-footer__bottom span { font-family: var(--u-font-en); font-size: 12px; color: #A6ABB5; }

/* =========================================================
   Article / Page (single.php, page.php)
   ========================================================= */
.u-article { max-width: 820px; margin: 0 auto; padding: 56px 20px 72px; }
.u-article__head { margin-bottom: 36px; }
.u-article__meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-family: var(--u-font-en); font-size: 12.5px; color: var(--u-muted-2); }
.u-article__cat { padding: 4px 12px; border-radius: 999px; color: #fff; font-weight: 600; background: var(--u-grad); background-size: 200% 200%; }
.u-article__title { margin: 18px 0 0; font-weight: 900; font-size: clamp(28px, 4vw, 44px); line-height: 1.25; letter-spacing: -.01em; }
.u-article__thumb { margin: 32px 0; border-radius: 22px; overflow: hidden; }
.u-article__thumb img { width: 100%; display: block; }
.u-prose { font-size: 16px; line-height: 1.95; color: #2A2F3A; }
.u-prose h2 { margin: 48px 0 16px; font-size: 26px; font-weight: 800; line-height: 1.4; }
.u-prose h3 { margin: 36px 0 12px; font-size: 20px; font-weight: 700; line-height: 1.45; }
.u-prose p { margin: 0 0 20px; }
.u-prose a { color: var(--u-blue); text-underline-offset: 3px; }
.u-prose ul, .u-prose ol { margin: 0 0 20px; padding-left: 1.4em; }
.u-prose li { margin: 6px 0; }
.u-prose blockquote { margin: 28px 0; padding: 18px 24px; border-left: 4px solid var(--u-purple); background: var(--u-bg-3); border-radius: 0 12px 12px 0; color: #4A505C; }
.u-prose img { border-radius: 14px; }
.u-prose code { background: var(--u-bg-2); padding: 2px 7px; border-radius: 6px; font-size: .9em; }
.u-prose pre { background: var(--u-ink); color: #E7EAF0; padding: 20px; border-radius: 14px; overflow-x: auto; }

/* ---- Author / E-E-A-T box ---- */
.u-author { display: flex; gap: 18px; align-items: flex-start; margin: 56px 0 0; padding: 28px; border-radius: 22px; background: var(--u-bg-3); border: 1px solid var(--u-line); }
.u-author__avatar { flex: none; width: 64px; height: 64px; border-radius: 50%; overflow: hidden; background: var(--u-grad); }
.u-author__avatar img { width: 100%; height: 100%; object-fit: cover; }
.u-author__name { font-size: 16px; font-weight: 700; }
.u-author__role { font-family: var(--u-font-en); font-size: 12px; letter-spacing: .08em; color: var(--u-muted-2); margin-top: 2px; }
.u-author__bio { margin: 10px 0 0; font-size: 13.5px; line-height: 1.8; color: var(--u-muted); }

/* ---- Page hero (page.php) ---- */
.u-pagehero { position: relative; overflow: hidden; padding: 64px 20px 52px; text-align: center; background: linear-gradient(180deg, #FFFFFF, #F4F6FB); }
.u-pagehero h1 { margin: 14px auto 0; font-weight: 900; font-size: clamp(30px, 4.4vw, 52px); letter-spacing: -.01em; max-width: 900px; }

/* ---- Pagination / blog listing ---- */
.u-bloglist { display: grid; grid-template-columns: 1fr; gap: 20px; }
.u-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 56px; }
.u-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 12px; border-radius: 999px; background: #fff; border: 1px solid var(--u-line); font-family: var(--u-font-en); font-size: 14px; text-decoration: none; color: var(--u-text); }
.u-pagination .page-numbers.current { color: #fff; border: none; background: var(--u-grad); background-size: 200% 200%; }

/* ---- Comments ---- */
.u-comments { max-width: 820px; margin: 0 auto; padding: 0 32px 90px; }
.u-comments h2 { font-size: 22px; font-weight: 800; margin-bottom: 24px; }

/* =========================================================
   Responsive — モバイルファースト
   base = 〜375px (スマホ) / 768px (タブレット) / 1024px (小型PC) / 1280px (大型PC)
   ========================================================= */

/* 極小スマホ（〜374px）の微調整 */
@media (max-width: 374px) {
  .u-hero__title { font-size: clamp(30px, 9vw, 38px); }
  .u-trust__inner { justify-content: center; }
}

/* >= 768px : タブレット */
@media (min-width: 768px) {
  .u-container, .u-header__inner, .u-hero__grid, .u-trust__inner,
  .u-footer__grid, .u-footer__bottom { padding-left: 28px; padding-right: 28px; }

  .u-grid-3 { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .u-how__steps { grid-template-columns: repeat(3, 1fr); }
  .u-footer__grid { grid-template-columns: 1fr 1fr; }
  .u-bloglist { grid-template-columns: repeat(2, 1fr); }
  .u-author { gap: 18px; }
  .u-section { padding: 96px 28px 36px; }
  .u-section--alt { padding: 96px 0; }
  .u-cta__panel { padding: 72px 40px; }
}

/* >= 1024px : 小型PC（ナビ展開・本来の多カラム） */
@media (min-width: 1024px) {
  .u-header__inner { height: 70px; }
  .u-navtoggle { display: none; }
  .u-nav { display: flex; align-items: center; gap: 34px; position: static; padding: 0; background: none; border: 0; }
  .u-nav a { font-size: 13px; }

  .u-hero { min-height: 92vh; }
  .u-hero__grid { grid-template-columns: 1fr 1.02fr; gap: 50px; padding: 80px 32px; }
  .u-grid-3 { grid-template-columns: repeat(3, 1fr); }
  .u-news { grid-template-columns: .42fr 1fr; gap: 40px; }
  .u-about { grid-template-columns: 1fr 1fr; gap: 56px; }
  .u-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
  .u-bloglist { grid-template-columns: repeat(3, 1fr); }

  .u-container, .u-header__inner, .u-trust__inner,
  .u-footer__grid, .u-footer__bottom { padding-left: 32px; padding-right: 32px; }
  .u-section { padding: 120px 32px 40px; }
  .u-section--alt { padding: 110px 0; }
  .u-how { padding: 80px 32px 110px; }
  .u-how__panel { padding: 60px 48px; }
  .u-cta__panel { padding: 84px 40px; }
  .u-article { padding: 70px 32px 90px; }
}

/* >= 1280px : 大型PC（余白をゆったり確保） */
@media (min-width: 1280px) {
  :root { --u-maxw: 1240px; }
  .u-hero__grid { gap: 60px; }
  .u-section { padding-top: 128px; }
}
