/* ============================================================
   NORIYEEL — ブランドサイト（47design方式のレトロコミックUI）
   太い枠線 × ハードシャドウ × ハーフトーン × マーキー
   ============================================================ */

:root {
  --cream: #f3e8cf;
  --paper: #fbf7ec;
  --ink: #16263f;
  --accent: #e1551e;
  --slate: #3e6e8e;
  --leaf: #3e7a4f;
  --white: #ffffff;
  --shadow: 5px 5px 0 var(--ink);
  --shadow-sm: 3px 3px 0 var(--ink);
  --shadow-lg: 7px 8px 0 var(--ink);
  --radius: 18px;
  --radius-sm: 14px;
  --maxw: 1120px;
  --pad: clamp(20px, 5vw, 64px);
  --font-num: "Jost", "Futura", "Century Gothic", sans-serif;
  --font-jp: "Zen Maru Gothic", "Zen Kaku Gothic New", system-ui, sans-serif;
  --header-h: 68px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
  font-family: var(--font-jp);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.8;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: anywhere;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
em { font-style: normal; }
.num { font-family: var(--font-num); font-feature-settings: "tnum"; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
.container.narrow { max-width: 760px; }
.sp { display: none; }

/* ---------------- ハーフトーン・ドット（文字と重なるためベタ塗りに変更） ---------------- */
.section-dark.dots { background-image: none; }
.cta-band.dots { background-image: none; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--font-jp); font-weight: 700;
  padding: .85em 1.7em; border-radius: 999px;
  border: 3px solid var(--ink); background: var(--accent); color: #fff;
  box-shadow: var(--shadow-sm); cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
  font-size: clamp(15px, 1.8vw, 16px); line-height: 1;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(1px, 1px); box-shadow: 2px 2px 0 var(--ink); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-ghost { background: var(--paper); color: var(--ink); }
.btn-sm { padding: .55em 1.2em; font-size: 14px; }
.btn-lg { padding: 1em 2em; font-size: 17px; }
.btn-block { width: 100%; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* ---------------- Header ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(243, 232, 207, .88);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 3px solid var(--ink);
}
.site-header.is-scrolled { box-shadow: 0 6px 0 rgba(22, 41, 74, .04); }
.header-inner { display: flex; align-items: center; gap: 32px; height: var(--header-h); }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand-logo { height: 36px; width: auto; }
.global-nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.global-nav a {
  font-size: 15px; font-weight: 700; color: var(--ink); position: relative;
}
.global-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 3px;
  background: var(--accent); transition: right .25s ease;
}
.global-nav a:hover::after { right: 0; }
.header-cta { flex-shrink: 0; }
.nav-toggle { display: none; }
.mobile-nav { display: none; }

/* ---------------- Hero ---------------- */
.hero { position: relative; padding: 128px 0 76px; overflow: hidden; }
.hero-inner {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; background: var(--accent); color: #fff;
  font-weight: 700; font-size: 14px; padding: .4em 1.1em; border-radius: 999px;
  border: 3px solid var(--ink); box-shadow: var(--shadow-sm); transform: rotate(-2deg);
  margin-bottom: 20px;
}
.hero-title {
  font-size: clamp(34px, 5.6vw, 60px); font-weight: 900; line-height: 1.22;
  letter-spacing: -.01em; color: var(--ink);
  text-shadow: 4px 4px 0 rgba(225, 85, 30, .2);
}
.hero-title .pop { color: var(--accent); }
.hero-title .uline { box-shadow: inset 0 -.22em 0 rgba(62, 110, 142, .4); }
.hero-lead { margin-top: 24px; font-size: 17px; font-weight: 600; color: #33425a; }
.hero-actions { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 34px; }
.hero-stats .stat b {
  display: block; font-weight: 800; font-size: clamp(26px, 4vw, 38px); line-height: 1; color: var(--ink);
}
.hero-stats .stat span { font-size: 12.5px; font-weight: 700; color: var(--slate); }
.hero-note { margin-top: 22px; font-size: 13px; color: var(--slate); font-weight: 600; }

/* Hero マスコット */
.hero-art { position: relative; display: grid; place-items: center; min-height: 380px; }
.starburst { position: absolute; width: 110px; height: 110px; color: var(--accent); z-index: 1; }
.float { animation: floaty 4s ease-in-out infinite; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.speech-chip {
  position: absolute; right: -4px; top: 10%;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--paper); border: 3px solid var(--ink); border-radius: 999px;
  padding: 10px 18px; font-weight: 800; font-size: 14px; color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.speech-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); display: inline-block; }

/* ---------------- マーキー ---------------- */
.marquee {
  background: var(--ink); color: var(--cream); border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink);
  overflow: hidden; white-space: nowrap; padding: 12px 0;
}
.marquee .track { display: inline-block; animation: scroll 30s linear infinite; font-weight: 800; font-size: 16px; letter-spacing: .04em; }
.marquee .track span { margin: 0 14px; }
.marquee .track .dot { color: var(--accent); }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------------- Section 共通 ---------------- */
.section { position: relative; padding: clamp(64px, 9vw, 112px) 0; }
.section-dark { background: var(--ink); color: var(--cream); }
.sec-tag {
  display: inline-block; font-family: var(--font-num); font-weight: 800; letter-spacing: .16em;
  font-size: 13px; color: var(--accent); border: 2px solid var(--accent); padding: .25em .8em; border-radius: 6px;
  transform: rotate(-1.5deg);
}
.sec-tag-dark { color: #ffd9a0; border-color: #ffd9a0; }
.sec-title {
  font-size: clamp(26px, 4.4vw, 42px); font-weight: 900; line-height: 1.3; margin-top: 16px; letter-spacing: -.01em;
  color: var(--ink);
}
.section-dark .sec-title { color: var(--cream); }
.sec-title em { color: var(--accent); }
.sec-sub { margin-top: 12px; color: var(--slate); font-weight: 700; font-size: 15px; max-width: 640px; }
.section-dark .sec-sub { color: #d8e3ef; }
.accent-text { color: var(--accent); font-weight: 700; }

/* ---------------- お悩み ---------------- */
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; }
.problem-card {
  background: var(--white); border: 3px solid var(--ink); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm); padding: 22px 22px 22px 50px; font-weight: 800; font-size: 15.5px;
  color: var(--ink); position: relative; line-height: 1.6; transition: transform .18s ease, box-shadow .18s ease;
}
.problem-card:hover { transform: translate(-2px, -3px); box-shadow: var(--shadow-lg); }
.problem-card::before {
  content: "!"; position: absolute; left: 18px; top: 22px;
  width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--ink);
  background: var(--accent); color: #fff;
  font-family: var(--font-num); font-weight: 800; font-size: 13px;
  display: flex; align-items: center; justify-content: center;
}
.problem-card-wide { grid-column: span 3; text-align: center; padding-left: 22px; background: var(--accent); color: #fff; }
.problem-card-wide::before { display: none; }

/* ---------------- メッセージ ---------------- */
.message-title { font-size: clamp(26px, 4vw, 42px); font-weight: 900; line-height: 1.5; margin-top: 16px; margin-bottom: 36px; }
.message-body p { margin-bottom: 22px; color: #d8e3ef; font-size: 17px; }
.message-list { margin: 0 0 22px; display: grid; gap: 10px; }
.message-list li {
  font-size: 18px; font-weight: 800; color: var(--cream);
  border-left: 4px solid var(--accent); padding-left: 16px; line-height: 1.6;
}
.message-need { font-size: 17px; }
.message-need strong { color: #fff; font-size: 21px; font-weight: 900; line-height: 2; }
.message-body p:last-child { color: #fff; font-size: 17px; margin-bottom: 0; }

/* ---------------- サービス（カード） ---------------- */
.service-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.card {
  background: var(--white); border: 3px solid var(--ink); border-radius: var(--radius);
  padding: 26px 24px 28px; box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translate(-3px, -4px); box-shadow: var(--shadow-lg); }
.card .no { font-size: clamp(38px, 5.6vw, 56px); line-height: .9; color: var(--accent); opacity: .9; margin-bottom: 6px; }
.card h3 { font-size: 20px; font-weight: 900; margin-bottom: 12px; }
.card .tag {
  position: absolute; top: 14px; right: -30px; background: var(--slate); color: #fff;
  font-weight: 700; font-size: 11px; padding: 3px 36px; transform: rotate(38deg);
}
.service-list { display: grid; gap: 3px; }
.service-list li {
  position: relative; padding: 6px 0 6px 20px; font-size: 14.5px; font-weight: 600;
  color: #33425a; border-bottom: 1px dashed rgba(22, 38, 63, .18); line-height: 1.6;
}
.service-list li:last-child { border-bottom: none; }
.service-list li::before {
  content: ""; position: absolute; left: 2px; top: 15px; width: 7px; height: 7px;
  border-radius: 2px; background: var(--slate);
}

/* ---------------- CTA帯 ---------------- */
.cta-band { background: var(--accent); border-top: 4px solid var(--ink); border-bottom: 4px solid var(--ink); padding: 52px 0; }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band-text { color: #fff; font-size: 19px; font-weight: 800; letter-spacing: .01em; }
.cta-band .btn { background: var(--paper); color: var(--ink); }

/* ---------------- サポートの流れ ---------------- */
.flow-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px; }
.step {
  background: #22385c; border: 3px solid var(--cream); border-radius: 16px;
  padding: 22px; position: relative;
}
.step .st { display: block; font-family: var(--font-num); font-weight: 800; font-size: 13px; letter-spacing: .16em; color: #ffd9a0; }
.step .bignum { display: block; font-weight: 800; font-size: clamp(38px, 5.6vw, 56px); line-height: .9; color: var(--accent); margin-top: 6px; }
.step h4 { margin-top: 10px; font-size: 18px; font-weight: 900; }
.step p { margin-top: 8px; font-size: 13.5px; color: #d8e3ef; font-weight: 600; }
.step-accent { border-color: var(--accent); background: #3a2c47; }
.step-accent h4 { color: var(--accent); }

/* ---------------- 成果物 ---------------- */
.deliverable-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 44px; }
.deliverable-group {
  background: var(--white); border: 3px solid var(--ink); border-radius: var(--radius); padding: 26px;
  box-shadow: var(--shadow-sm);
}
.deliverable-group h3 {
  font-size: 15px; font-weight: 900; color: var(--ink); margin-bottom: 16px;
  display: inline-block; border: 2px solid var(--accent); color: var(--accent);
  padding: .2em .8em; border-radius: 6px; transform: rotate(-1deg);
}
.chip-list { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-list li {
  background: var(--cream); border: 2px solid var(--ink);
  border-radius: 999px; padding: 6px 15px; font-size: 13px; font-weight: 700;
  color: var(--ink); line-height: 1.5;
}

/* ---------------- 実績・お客様の声 ---------------- */
.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.work-card {
  background: var(--white); border: 3px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow-sm);
  overflow: hidden; transition: transform .18s ease, box-shadow .18s ease;
}
.work-card:hover { transform: translate(-3px, -4px); box-shadow: var(--shadow-lg); }
.work-thumb {
  aspect-ratio: 16 / 10; display: flex; align-items: center; justify-content: center;
  color: rgba(255, 255, 255, .5); font-size: 13px; font-weight: 800; letter-spacing: .1em;
  border-bottom: 3px solid var(--ink); position: relative;
}
.work-card:nth-child(3n+1) .work-thumb { background: linear-gradient(135deg, var(--slate), var(--ink)); }
.work-card:nth-child(3n+2) .work-thumb { background: linear-gradient(135deg, var(--accent), #b53c11); }
.work-card:nth-child(3n+3) .work-thumb { background: linear-gradient(135deg, #3e7a4f, #235235); }
.work-thumb img { width: 100%; height: 100%; object-fit: cover; }
.work-body { padding: 18px 20px 22px; }
.work-tag {
  display: inline-block; font-size: 11px; font-weight: 800; color: #fff;
  background: var(--slate); border-radius: 999px; padding: 3px 12px; margin-bottom: 10px;
}
.work-title { font-size: 16px; font-weight: 900; color: var(--ink); line-height: 1.6; }
.work-desc { margin-top: 8px; font-size: 13px; color: #33425a; line-height: 1.8; }

.voices-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 22px; }
.voice-card {
  background: var(--white); border: 3px solid var(--ink); border-radius: var(--radius); padding: 26px;
  box-shadow: var(--shadow-sm);
}
.voice-text { font-size: 14.5px; line-height: 2; color: var(--ink); font-weight: 600; }
.voice-text::before { content: "\201C"; font-family: var(--font-num); font-size: 32px; color: var(--accent); display: block; line-height: 1; margin-bottom: 4px; }
.voice-meta { margin-top: 12px; font-size: 12.5px; font-weight: 800; color: var(--slate); }

/* ---------------- 最後のメッセージ ---------------- */
.last-message { text-align: center; }
.last-message p { font-size: 17px; color: #d8e3ef; margin-bottom: 32px; }
.last-message p:last-child { margin-bottom: 0; color: #fff; }
.last-message-strong {
  font-size: clamp(22px, 3.2vw, 32px) !important; font-weight: 900; color: #fff !important; line-height: 1.7 !important;
}
.last-message-three { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; }
.last-message-three span {
  font-size: 19px; font-weight: 900; color: var(--cream); border-bottom: 3px solid var(--accent); padding-bottom: 6px;
}

/* ---------------- お問い合わせ ---------------- */
.contact { background: var(--paper); }
.contact-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 36px; margin-top: 44px; align-items: start; }
.contact-form {
  background: var(--white); border: 3px solid var(--ink); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 38px;
}
.form-row { margin-bottom: 20px; }
.form-row label { display: block; font-size: 14px; font-weight: 800; color: var(--ink); margin-bottom: 8px; }
.req {
  display: inline-block; font-size: 11px; font-weight: 700; color: #fff;
  background: var(--accent); border-radius: 4px; padding: 1px 8px; margin-left: 8px; vertical-align: 2px;
}
.form-row input, .form-row textarea {
  width: 100%; border: 2px solid var(--ink); border-radius: var(--radius-sm);
  padding: 13px 15px; font-size: 15px; font-family: var(--font-jp); color: var(--ink);
  background: var(--paper); transition: box-shadow .15s ease;
}
.form-row input:focus, .form-row textarea:focus { outline: none; box-shadow: 3px 3px 0 var(--accent); }
.form-row textarea { resize: vertical; line-height: 1.8; }
.form-note { margin-top: 14px; font-size: 12.5px; color: var(--slate); text-align: center; font-weight: 600; }

.contact-sub { display: grid; gap: 14px; align-content: start; }
.contact-sub-title { font-size: 15px; font-weight: 900; color: var(--ink); }
.sns-btn {
  display: flex; align-items: center; gap: 16px;
  background: var(--white); border: 3px solid var(--ink); border-radius: var(--radius);
  padding: 18px 20px; font-weight: 800; font-size: 15px; color: var(--ink);
  box-shadow: var(--shadow-sm); transition: transform .15s ease, box-shadow .15s ease;
}
.sns-btn:hover { transform: translate(-2px, -3px); box-shadow: var(--shadow-lg); }
.sns-btn small { display: block; font-size: 12px; font-weight: 600; color: var(--slate); }
.sns-icon {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px; border: 2px solid var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-num); font-size: 13px; font-weight: 800; color: #fff;
}
.sns-mail .sns-icon { background: var(--ink); }
.sns-line .sns-icon { background: #06c755; }
.sns-ig .sns-icon { background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af); }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--ink); color: var(--cream); padding: 56px 0 28px; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; flex-wrap: wrap; }
.footer-brand .brand-logo { height: 32px; }
.footer-tagline { margin-top: 14px; font-size: 13px; color: #9fb2c6; font-weight: 600; }
.footer-nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-nav a { font-size: 13.5px; font-weight: 700; color: #d8e3ef; }
.footer-nav a:hover { color: #ffd9a0; }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .18); }
.footer-bottom small { font-size: 12px; color: #9fb2c6; }

/* ---------------- 控えめなスクロールアニメーション ---------------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .float, .marquee .track { animation: none; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; text-align: left; }
  .hero-art { order: -1; min-height: 300px; }
  .flow-list { grid-template-columns: repeat(2, 1fr); }
  .works-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .sp { display: inline; }
  .section { padding: 56px 0; }
  .hero { padding: 108px 0 56px; }

  .global-nav, .header-cta { display: none; }
  .nav-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 6px;
    margin-left: auto; width: 44px; height: 44px; background: none; border: none;
    cursor: pointer; align-items: center;
  }
  .nav-toggle span { display: block; width: 22px; height: 3px; background: var(--ink); border-radius: 3px; transition: transform .25s ease; }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .mobile-nav {
    display: none; flex-direction: column; gap: 0;
    padding: 8px 0 20px; background: var(--cream); border-bottom: 3px solid var(--ink);
  }
  .mobile-nav.is-open { display: flex; }
  .mobile-nav a { padding: 14px var(--pad); font-weight: 700; color: var(--ink); font-size: 15px; border-top: 1px dashed rgba(22, 38, 63, .25); }
  .mobile-nav .btn { margin: 12px var(--pad) 0; padding: 16px; justify-content: center; }

  .hero-actions .btn { flex: 1 1 100%; }
  .problem-grid { grid-template-columns: 1fr; }
  .problem-card-wide { grid-column: span 1; }
  .service-groups { grid-template-columns: 1fr; }
  .cta-band-inner { flex-direction: column; text-align: center; }
  .cta-band-text { font-size: 17px; }
  .flow-list { grid-template-columns: 1fr; }
  .deliverable-groups { grid-template-columns: 1fr; }
  .works-grid, .voices-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-form { padding: 26px 20px; }
  .footer-inner { flex-direction: column; }
}
