/*
Theme Name: SYNK Creation
Theme URI: https://synk-creation.com
Author: Saya
Description: SYNK Creation オリジナルテーマ
Version: 1.0
*/

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:  #FF3D71;
  --blue:     #1A6EFF;
  --yellow:   #FFD600;
  --dark:     #111111;
  --gray:     #666;
  --light:    #F5F5F5;
  --white:    #FFFFFF;
  --border:   #E5E5E5;
  --radius:   28px;
  --shadow:   0 6px 24px rgba(0,0,0,.09);
  --trans:    .22s ease;
  --header-h: 64px;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }
img { max-width: 100%; display: block; width: 100%; height: 100%; object-fit: cover; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* ===== LOGO ===== */
.logo-text-wrap, .footer-logo {
  display: flex;
  align-items: baseline;
  gap: 4px;
  line-height: 1;
}
.logo-synk {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -.02em;
  color: var(--dark);
}
.logo-creation {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: .85rem;
  color: var(--gray);
  letter-spacing: .01em;
}

/* ===== カーソルブロブ ===== */
body { cursor: none; }
@media (hover: none) { body { cursor: auto; } }

.cursor-blob {
  position: fixed;
  top: 0; left: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #ff5b1f;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: multiply;
  transform: translate(-50%, -50%);
  transition: width .25s cubic-bezier(.2,.8,.2,1),
              height .25s cubic-bezier(.2,.8,.2,1),
              background .25s ease;
  will-change: transform;
}
.cursor-blob.is-link { width: 64px; height: 64px; background: #FFD23F; }
@media (hover: none) { .cursor-blob { display: none; } }

/* ===========================
   HEADER
=========================== */
.site-header {
  position: fixed;
  top: 10px; left: 10px; right: 10px;
  z-index: 200;
  height: var(--header-h);
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 16px;
  box-shadow: 0 4px 32px rgba(0,0,0,.13);
  transition: transform .35s ease, box-shadow .3s ease;
}
.site-header.hidden { transform: translateY(calc(-100% - 14px)); }
.site-header.scrolled { box-shadow: 0 8px 40px rgba(0,0,0,.18); }

.header-main-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 28px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo { flex-shrink: 0; margin-right: 16px; }

.global-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0 auto;
}
.global-nav a {
  padding: 7px 16px;
  border-radius: 50px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--dark);
  transition: background var(--trans);
  white-space: nowrap;
}
.global-nav a:hover { background: rgba(0,0,0,.06); }

.header-cta { flex-shrink: 0; }
.btn-contact {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  background: var(--primary);
  color: #fff;
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 700;
  white-space: nowrap;
  transition: background var(--trans), transform var(--trans);
  cursor: pointer;
}
.btn-contact:hover { background: #e0295d; transform: translateY(-1px); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
  padding: 4px;
  z-index: 10001;
  position: relative;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--dark); border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== モバイルナビ ===== */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.mobile-nav.is-open { opacity: 1; pointer-events: auto; }
.mobile-nav-links { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.mobile-nav-links a {
  display: block;
  font-size: 1.2rem; font-weight: 700;
  padding: 12px 32px;
  border-radius: 12px;
  color: var(--dark);
  transition: background var(--trans), color var(--trans);
}
.mobile-nav-links a:hover { background: var(--light); color: var(--primary); }
.mobile-nav-close {
  position: absolute; top: 20px; right: 20px;
  width: 40px; height: 40px;
  background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.mobile-nav-close span {
  position: absolute;
  display: block; width: 20px; height: 2px;
  background: var(--dark); border-radius: 2px;
}
.mobile-nav-close span:nth-child(1) { transform: rotate(45deg); }
.mobile-nav-close span:nth-child(2) { transform: rotate(-45deg); }

/* ===========================
   HERO
=========================== */
.hero {
  padding-top: 0;
  margin-top: -30px;
}

.kv-grid {
  display: grid;
  width: 95.625vw;
  margin-left: auto;
  margin-right: auto;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: calc((95.625vw - 28px * 3) / 4 * 0.78);
  gap: 28px;
  background: transparent;
}

.kv-tile {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  transition: transform .28s ease, box-shadow .28s ease;
  opacity: 0;
  transform: translateY(18px);
}
.kv-tile.kv-in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 1.25s cubic-bezier(.2,.8,.2,1),
              transform 1.25s cubic-bezier(.2,.8,.2,1),
              box-shadow .28s ease;
}
.kv-tile:hover { transform: scale(1.013); box-shadow: 0 12px 40px rgba(0,0,0,.2); z-index: 1; cursor: pointer; }

.kv-photo { background: #888; }
.kv-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.kv-photo:hover img { transform: scale(1.05); }

.kv-accent { background: var(--bg, #1A6EFF); }
.kv-accent-inner {
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 24px 28px;
  gap: 2px;
}
.kv-accent-inner p {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: rgba(255,255,255,.9);
  letter-spacing: .02em;
  line-height: 1.2;
}
.kv-accent-year { font-size: 2rem !important; color: rgba(255,255,255,1) !important; }
.kv-accent-inner--dark p { color: rgba(0,0,0,.75) !important; }
.kv-accent-inner--dark .kv-accent-year { color: rgba(0,0,0,.85) !important; }

.kv-copy { background: var(--white); }
.kv-copy:hover { transform: none; box-shadow: none; cursor: default; }
.kv-copy-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px 36px;
}
.kv-eyebrow {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--gray);
  margin-bottom: 10px;
  text-transform: uppercase;
}
.kv-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(1.4rem, 2.3vw, 2rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--dark);
}
.em-red { font-style: normal; color: var(--primary); }

/* ===========================
   SECTION COMMON
=========================== */
.section { padding: 96px 0; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-label {
  display: inline-block;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .16em;
  color: var(--primary);
  margin-bottom: 8px;
  text-transform: uppercase;
}
.section-title { font-size: clamp(1.7rem, 3.5vw, 2.3rem); font-weight: 900; line-height: 1.3; margin-bottom: 14px; }
.section-desc { color: var(--gray); font-size: .93rem; line-height: 1.85; }
.section-btn-wrap { text-align: center; margin-top: 48px; }

/* ===========================
   sv-cta-btn
=========================== */
.sv-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .88rem;
  font-family: inherit;
  font-weight: 700;
  letter-spacing: .04em;
  padding: 13px 28px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--dark);
  background: var(--white);
  white-space: nowrap;
  cursor: pointer;
  transition: transform .25s cubic-bezier(.2,.8,.2,1),
              box-shadow .25s cubic-bezier(.2,.8,.2,1),
              background .25s ease,
              border-color .25s ease,
              color .25s ease;
}
.sv-cta-btn svg { transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.sv-cta-btn:hover svg { transform: translateX(4px); }
.sv-cta-btn:hover { transform: translateY(-2px) rotate(-1deg); box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.sv-cta-btn:active { transform: scale(.97); }

.sv-cta-btn--form { background: var(--primary); border-color: var(--primary); color: #fff; }
.sv-cta-btn--form:hover { background: #e0295d; border-color: #e0295d; box-shadow: 0 8px 24px rgba(255,61,113,.35); }

.sv-cta-btn--line { border-color: #06C755; color: #06C755; }
.sv-cta-btn--line:hover { background: #06C755; border-color: #06C755; color: #fff; box-shadow: 0 8px 24px rgba(6,199,85,.3); }

/* ===========================
   SERVICES
=========================== */
.svc-section { position: relative; overflow: hidden; }
.svc-deco { position: absolute; pointer-events: none; animation: floatDeco 6s ease-in-out infinite; }
.svc-deco--1 { width:110px; height:110px; background:#FFD600; opacity:.55; border-radius:28px; top:6%; right:7%; animation-duration:6s; }
.svc-deco--2 { width:70px; height:70px; background:var(--primary); opacity:.5; border-radius:18px; bottom:10%; left:4%; animation-duration:7.5s; animation-delay:-2s; }
.svc-deco--3 { width:50px; height:50px; background:var(--blue); opacity:.35; border-radius:14px; top:50%; right:3%; animation-duration:5s; animation-delay:-1s; }
.svc-deco--4 { width:38px; height:38px; background:#4ECDC4; opacity:.4; border-radius:10px; top:15%; left:6%; animation-duration:8s; animation-delay:-3.5s; }

@keyframes floatDeco {
  0%, 100% { transform: translateY(0)     rotate(0deg);  }
  33%       { transform: translateY(-14px) rotate(6deg);  }
  66%       { transform: translateY(8px)   rotate(-4deg); }
}

/* News / Profile 背景デコ */
.news-profile-deco-section { position: relative; overflow: hidden; }
.np-deco { position: absolute; pointer-events: none; animation: floatDeco 6s ease-in-out infinite; }
.np-deco--1 { width:80px; height:80px; background:#FFD600; opacity:.35; border-radius:22px; top:10%; right:5%; animation-duration:7s; }
.np-deco--2 { width:44px; height:44px; background:var(--primary); opacity:.3; border-radius:13px; bottom:12%; left:3%; animation-duration:8s; animation-delay:-2s; }
.np-deco--3 { width:28px; height:28px; background:var(--blue); opacity:.28; border-radius:9px; top:55%; right:12%; animation-duration:5.5s; animation-delay:-1s; }
.np-deco--4 { width:60px; height:60px; background:#4ECDC4; opacity:.32; border-radius:18px; top:8%; left:4%; animation-duration:6.5s; animation-delay:-3s; }
.np-deco--5 { width:36px; height:36px; background:#FFD600; opacity:.4; border-radius:11px; bottom:10%; right:6%; animation-duration:7.5s; animation-delay:-1.5s; }
.np-deco--6 { width:22px; height:22px; background:var(--primary); opacity:.28; border-radius:7px; top:40%; right:20%; animation-duration:6s; animation-delay:-4s; }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 28px;
  transition: transform var(--trans), box-shadow var(--trans);
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.service-card--hot { border: 2px solid #FF6B00; box-shadow: 0 4px 24px rgba(255,107,0,.15); }
.hot-badge {
  position: absolute;
  top: -14px; left: 28px;
  background: linear-gradient(135deg, #FF6B00, #FF3D71);
  color: #fff;
  font-size: .78rem;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: 50px;
  letter-spacing: .06em;
  box-shadow: 0 4px 12px rgba(255,107,0,.4);
  animation: hotPulse 2s ease-in-out infinite;
}
@keyframes hotPulse {
  0%, 100% { box-shadow: 0 4px 12px rgba(255,107,0,.4); }
  50%       { box-shadow: 0 4px 20px rgba(255,107,0,.7); }
}
.service-cat-label {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: .75rem; font-weight: 700;
  letter-spacing: .12em; color: var(--primary);
  margin-bottom: 8px; text-transform: uppercase;
}
.service-card h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 10px; }
.service-card p  { color: var(--gray); font-size: .87rem; line-height: 1.8; margin-bottom: 20px; }
.svc-list { display: flex; flex-direction: column; gap: 0; margin-bottom: 20px; }
.svc-list li { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--border); font-size: .87rem; }
.svc-list li:last-child { border-bottom: none; }
.svc-name { font-weight: 500; color: var(--dark); }
.svc-price { font-weight: 700; color: var(--primary); font-size: .85rem; }
.svc-link { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 700; color: var(--gray); transition: color var(--trans); }
.svc-link:hover { color: var(--dark); }

/* ===========================
   WORKS
=========================== */
.works-section { background: #f3f8fc; border-radius: 40px; margin-left: 12px; margin-right: 12px; }
.works-slider-outer { overflow: hidden; padding: 0 24px; }
.works-track { display: flex; gap: 20px; }
.works-track .work-card { flex-shrink: 0; }
.work-card {
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform var(--trans), box-shadow var(--trans);
}
.work-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.work-thumb { height: 280px; overflow: hidden; }
.work-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.work-card:hover .work-thumb img { transform: scale(1.05); }
.work-info { padding: 14px 18px; }
.work-cat {
  display: inline-block;
  font-size: .72rem; font-weight: 700;
  letter-spacing: .1em; color: var(--primary);
  text-transform: uppercase; margin-bottom: 6px;
}
.work-info h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; line-height: 1.5; }
.work-info p  { color: var(--gray); font-size: .85rem; line-height: 1.7; }

/* ===========================
   NEWS
=========================== */
.news-list {
  display: flex; flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 18px; overflow: hidden;
  background: var(--white);
}
.news-item {
  display: flex; align-items: flex-start; gap: 18px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  transition: background var(--trans);
  color: var(--dark);
}
.news-item:last-child { border-bottom: none; }
.news-item:hover { background: var(--light); }
.news-thumb { width: 72px; height: 56px; border-radius: 8px; overflow: hidden; flex-shrink: 0; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-body { flex: 1; }
.news-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.news-date { font-family: 'Bricolage Grotesque', sans-serif; font-size: .8rem; font-weight: 700; color: var(--gray); }
.news-cat { font-size: .7rem; font-weight: 700; padding: 2px 10px; border-radius: 50px; }
.cat-info  { background: #E3F2FD; color: #1565C0; }
.cat-works { background: #E8F5E9; color: #2E7D32; }
.news-title { font-size: .92rem; font-weight: 600; line-height: 1.5; }
.news-arrow { color: var(--gray); font-size: 1rem; flex-shrink: 0; align-self: center; transition: transform var(--trans), color var(--trans); }
.news-item:hover .news-arrow { transform: translateX(4px); color: var(--primary); }

/* ===========================
   PROFILE
=========================== */
.profile-inner { display: grid; grid-template-columns: 340px 1fr; gap: 64px; align-items: center; }
.profile-photo { border-radius: 20px; overflow: hidden; height: 400px; box-shadow: var(--shadow); }
.profile-photo img { width: 100%; height: 100%; object-fit: cover; }
.profile-name-wrap { margin-bottom: 14px; }
.profile-name { font-family: 'Bricolage Grotesque', sans-serif; font-size: 2rem; font-weight: 800; line-height: 1.2; }
.profile-role { display: inline-block; background: var(--light); color: var(--gray); font-size: .8rem; font-weight: 700; padding: 5px 14px; border-radius: 50px; margin-top: 8px; }
.profile-bio { color: var(--gray); line-height: 1.9; margin-bottom: 22px; font-size: .93rem; }
.profile-skills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.skill-tag { background: var(--light); color: var(--dark); font-size: .78rem; font-weight: 700; padding: 5px 14px; border-radius: 50px; border: 1px solid var(--border); }

/* ===========================
   CONTACT
=========================== */
.contact { background: var(--light); }
.contact-box { position: relative; background: var(--white); border-radius: 24px; padding: 72px 64px; box-shadow: var(--shadow); overflow: hidden; text-align: center; }
.contact-deco-1 { position:absolute; width:280px; height:280px; background:var(--primary); opacity:.04; border-radius:50%; top:-100px; right:-80px; pointer-events:none; }
.contact-deco-2 { position:absolute; width:200px; height:200px; background:var(--blue); opacity:.05; border-radius:50%; bottom:-60px; left:-60px; pointer-events:none; }
.contact-cta-btns { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-top: 8px; }

/* ===========================
   FOOTER
=========================== */
.site-footer { background: var(--dark); color: rgba(255,255,255,.55); padding: 48px 0 32px; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.footer-logo .logo-synk { color: #fff; }
.footer-logo .logo-creation { color: rgba(255,255,255,.5); }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; font-size: .87rem; }
.footer-nav a:hover { color: #fff; }
.copyright { font-size: .75rem; color: rgba(255,255,255,.3); }

/* ===========================
   SINGLE / ARCHIVE 共通
=========================== */
.page-wrap { padding: 140px 0 96px; min-height: 60vh; }
.page-title { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 900; margin-bottom: 8px; }
.page-label { font-family: 'Bricolage Grotesque', sans-serif; font-size: .78rem; font-weight: 700; letter-spacing: .16em; color: var(--primary); text-transform: uppercase; margin-bottom: 12px; }
.back-link { display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; font-weight: 700; color: var(--gray); margin-bottom: 48px; transition: color var(--trans); }
.back-link:hover { color: var(--dark); }

.single-thumb { border-radius: 20px; overflow: hidden; height: 420px; margin-bottom: 40px; }
.single-thumb img { width: 100%; height: 100%; object-fit: cover; }
.single-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.single-content { font-size: .97rem; line-height: 2; color: var(--dark); }
.single-content p { margin-bottom: 1.4em; color: var(--gray); }
.single-content a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.single-content img { border-radius: 14px; margin: 1.6em 0; }
.single-content ul, .single-content ol { margin: 0 0 1.4em 1.4em; color: var(--gray); line-height: 2; }
.single-content blockquote {
  border-left: 3px solid var(--primary);
  margin: 1.6em 0; padding: 12px 20px;
  background: #fff5f8; border-radius: 0 10px 10px 0;
  color: var(--gray); font-style: italic;
}

/* h2 */
.single-content h2 {
  font-size: 1.25rem; font-weight: 800;
  margin: 2.4em 0 .9em;
  padding: 14px 18px;
  background: var(--light);
  border-left: 4px solid var(--primary);
  border-radius: 0 10px 10px 0;
  line-height: 1.5;
}

/* h3 */
.single-content h3 {
  font-size: 1.05rem; font-weight: 700;
  margin: 1.8em 0 .6em;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border);
  position: relative;
}
.single-content h3::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 40px; height: 2px;
  background: var(--primary);
}

.archive-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.archive-card { border-radius: 18px; overflow: hidden; background: var(--white); transition: transform var(--trans); }
.archive-card:hover { transform: translateY(-5px); }
.archive-card-thumb { height: 200px; overflow: hidden; }
.archive-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.archive-card:hover .archive-card-thumb img { transform: scale(1.05); }
.archive-card-body { padding: 20px; }
.archive-card-title { font-size: .97rem; font-weight: 700; line-height: 1.5; margin-top: 8px; }
.archive-card-date { font-size: .8rem; color: var(--gray); }

/* カテゴリー別バッジカラー */
.cat-lpsite .work-cat   { background: #EBF5FF; color: #1A6EFF; }
.cat-print .work-cat    { background: #FFF0F5; color: #FF3D71; }
.cat-template .work-cat { background: #FFFBE6; color: #B8960A; }
.cat-website .work-cat  { background: #EDFFF5; color: #1E9E50; }

/* ===========================
   ページネーション
=========================== */
.navigation.pagination { margin-top: 56px; }
.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  border-radius: 50px;
  font-size: .88rem;
  font-weight: 700;
  font-family: 'Bricolage Grotesque', sans-serif;
  color: var(--dark);
  background: var(--light);
  transition: background var(--trans), color var(--trans), transform var(--trans);
}
a.page-numbers:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}
.page-numbers.current {
  background: var(--primary);
  color: #fff;
}
.page-numbers.dots {
  background: none;
  color: var(--gray);
  min-width: auto;
  padding: 0 4px;
}
.page-numbers.prev,
.page-numbers.next {
  background: none;
  color: var(--gray);
  font-size: .82rem;
  letter-spacing: .04em;
}
.page-numbers.prev:hover,
.page-numbers.next:hover {
  background: none;
  color: var(--primary);
  transform: none;
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 960px) {
  .global-nav, .header-cta { display: none; }
  .hamburger { display: flex; }
  .service-grid { grid-template-columns: 1fr; }
  .profile-inner { grid-template-columns: 1fr; }
  .profile-photo { height: 280px; }
  .profile-skills, .profile-name-wrap, .profile-bio, .profile-content { text-align: center; }
  .profile-skills { justify-content: center; }
  .contact-box { padding: 48px 24px; }
  .archive-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
  .kv-mobile-hide { display: none !important; }
  .hero { height: 100svh; margin-top: 0; overflow: hidden; }
  .kv-grid {
    width: calc(100% + 40px);
    height: 100%;
    margin-left: 0;
    padding: 12px 0 12px 12px;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 1fr;
    gap: 12px;
  }
  .kv-copy-inner { padding: 18px 16px; }
  .kv-title { font-size: 1.15rem; line-height: 1.4; }
  .kv-accent-inner { padding: 16px 18px; gap: 1px; }
  .kv-accent-inner p { font-size: .9rem; }
  .kv-accent-year { font-size: 1.5rem !important; }
}

@media (max-width: 480px) {
  .section { padding: 64px 0; }
  .works-section { border-radius: 24px; margin-left: 8px; margin-right: 8px; }
  .news-item { flex-wrap: wrap; }
  .news-thumb { width: 56px; height: 44px; }
  .news-arrow { display: none; }
  .contact-cta-btns { flex-direction: column; align-items: center; }
  .archive-grid { grid-template-columns: 1fr; }
}

/* ===========================
   固定ページ 本文エリア
=========================== */
.inner-page-content {
  padding: 72px 0 96px;
}
.inner-page-content p { margin-bottom: 1.6em; color: var(--gray); font-size: .97rem; line-height: 2; }
.inner-page-content h2 { font-size: 1.4rem; font-weight: 800; margin: 2.4em 0 .8em; padding-bottom: .4em; border-bottom: 2px solid var(--border); }
.inner-page-content h3 { font-size: 1.1rem; font-weight: 700; margin: 1.8em 0 .6em; }
.inner-page-content strong { color: var(--dark); font-weight: 700; }
.inner-page-content ul, .inner-page-content ol { margin: 0 0 1.6em 1.4em; color: var(--gray); font-size: .97rem; line-height: 2; }
.inner-page-content img { display: block; }

/* ===========================
   ページ共通ヒーロー
=========================== */
.page-hero {
  padding: 140px 0 72px;
  text-align: center;
  background: var(--light);
  position: relative;
}
.page-hero--img {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.page-hero--img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .45);
}
.page-hero-inner {
  position: relative;
  z-index: 1;
  animation: pageHeroIn .9s cubic-bezier(.2,.8,.2,1) both;
}
@keyframes pageHeroIn {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: none; }
}
.page-hero--img .page-label { color: rgba(255,255,255,.8); }
.page-hero--img .page-title { color: #fff; }
.page-hero--img .page-lead  { color: rgba(255,255,255,.8); }

.page-hero .page-label,
.page-hero-inner .page-label {
  display: inline-block;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: .78rem; font-weight: 700;
  letter-spacing: .16em; color: var(--primary);
  text-transform: uppercase; margin-bottom: 12px;
}
.page-hero .page-title,
.page-hero-inner .page-title { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 900; margin-bottom: 16px; }
.page-hero .page-lead,
.page-hero-inner .page-lead { color: var(--gray); font-size: .97rem; line-height: 1.9; }

/* ===========================
   プロフィールページ
=========================== */
.pf-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 72px;
  align-items: flex-start;
  padding: 80px 0;
}
.pf-img-wrap {
  border-radius: 20px;
  overflow: hidden;
  height: 420px;
  box-shadow: var(--shadow);
  position: sticky;
  top: 88px;
}
.pf-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.pf-img-caption { text-align: center; margin-top: 12px; font-size: .88rem; color: var(--gray); font-weight: 600; }

.pf-block { margin-bottom: 48px; }
.pf-block-label {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: .75rem; font-weight: 700;
  letter-spacing: .14em; color: var(--primary);
  text-transform: uppercase; margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border);
}
.pf-name-row { display: flex; align-items: center; gap: 24px; margin-bottom: 28px; }
.pf-name-photo { width: 96px; height: 96px; object-fit: cover; border-radius: 16px; flex-shrink: 0; margin: 0; }
.pf-name-en { font-family: 'Bricolage Grotesque', sans-serif; font-size: 2.4rem; font-weight: 800; line-height: 1.1; }
.pf-name-ja { font-size: .9rem; color: var(--gray); font-weight: 600; margin-top: 4px; }
.pf-text { color: var(--gray); font-size: .95rem; line-height: 2; }

.pf-skills { display: flex; flex-direction: column; gap: 24px; }
.pf-skill-group-label { font-size: .8rem; font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.pf-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.pf-tag { background: var(--light); border: 1px solid var(--border); color: var(--dark); font-size: .8rem; font-weight: 600; padding: 5px 14px; border-radius: 50px; }

.pf-hobbies { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.pf-hobby { background: var(--light); border-radius: 14px; padding: 20px; }
.pf-hobby-title { font-weight: 800; font-size: .95rem; margin-bottom: 6px; }
.pf-hobby-desc { font-size: .84rem; color: var(--gray); line-height: 1.7; }

.pf-address {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.pf-address-label {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: .75rem; font-weight: 700;
  letter-spacing: .14em; color: var(--primary);
  text-transform: uppercase; margin-bottom: 10px;
}
.pf-address address {
  font-style: normal;
  font-size: .9rem; color: var(--gray);
  line-height: 1.9;
}

.pf-links { display: flex; flex-wrap: wrap; gap: 12px; }
.pf-link-item {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: 50px;
  border: 1px solid var(--border); font-size: .87rem; font-weight: 600;
  transition: background var(--trans), border-color var(--trans);
  cursor: pointer;
}
.pf-link-item:hover { background: var(--light); border-color: var(--dark); }

/* ===========================
   サービスページ
=========================== */
.sv-page-section { padding: 80px 0; }
.sv-page-section + .sv-page-section { padding-top: 0; }
.sv-page-section--alt { background: var(--light); }

.sv-template-block {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 56px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 48px;
  margin-bottom: 64px;
}
.sv-template-label { font-family: 'Bricolage Grotesque', sans-serif; font-size: .75rem; font-weight: 700; letter-spacing: .14em; color: var(--primary); text-transform: uppercase; margin-bottom: 10px; }
.sv-template-title { font-size: 1.6rem; font-weight: 900; margin-bottom: 12px; }
.sv-template-desc { color: var(--gray); font-size: .93rem; line-height: 1.9; margin-bottom: 20px; }
.sv-template-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.sv-template-tag { background: var(--light); border: 1px solid var(--border); font-size: .8rem; font-weight: 700; padding: 4px 14px; border-radius: 50px; }
.sv-template-img { border-radius: 16px; overflow: hidden; height: 260px; }
.sv-template-img img { width: 100%; height: 100%; object-fit: cover; }

.sv-section-header { margin-bottom: 36px; }
.sv-section-label { font-family: 'Bricolage Grotesque', sans-serif; font-size: .75rem; font-weight: 700; letter-spacing: .14em; color: var(--primary); text-transform: uppercase; margin-bottom: 6px; }
.sv-section-title { font-size: 1.8rem; font-weight: 900; }

.sv-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sv-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  display: flex; flex-direction: column; gap: 16px;
  transition: transform var(--trans), box-shadow var(--trans);
}
.sv-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.sv-card-num { font-family: 'Bricolage Grotesque', sans-serif; font-size: 2rem; font-weight: 800; color: var(--border); line-height: 1; }
.sv-card-title { font-size: 1.05rem; font-weight: 800; }
.sv-card-desc { color: var(--gray); font-size: .87rem; line-height: 1.8; flex: 1; }
.sv-card-list { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.sv-card-list li { font-size: .84rem; color: var(--gray); padding-left: 14px; position: relative; }
.sv-card-list li::before { content: '—'; position: absolute; left: 0; color: var(--primary); }
.sv-card-price { background: var(--light); border-radius: 12px; padding: 16px; }
.sv-price-label { display: block; font-size: .72rem; font-weight: 700; color: var(--gray); letter-spacing: .08em; margin-bottom: 4px; }
.sv-price-num { display: block; font-family: 'Bricolage Grotesque', sans-serif; font-size: 1.6rem; font-weight: 800; color: var(--primary); line-height: 1.2; }
.sv-price-from { font-size: 1rem; }
.sv-price-note { display: block; font-size: .76rem; color: var(--gray); margin-top: 4px; }
.sv-card-thumb { border-radius: 12px; overflow: hidden; height: 160px; }
.sv-card-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* 制作の流れ */
.sv-flow-block { padding: 80px 0; text-align: center; }
.sv-flow-label { font-family: 'Bricolage Grotesque', sans-serif; font-size: .75rem; font-weight: 700; letter-spacing: .14em; color: var(--primary); text-transform: uppercase; margin-bottom: 10px; }
.sv-flow-title { font-size: 1.8rem; font-weight: 900; margin-bottom: 48px; }
.sv-flow-steps { display: flex; gap: 0; }
.sv-step { flex: 1; background: var(--white); border: 1px solid var(--border); border-radius: 18px; padding: 28px 20px; text-align: left; }
.sv-step-arrow { font-size: 1.2rem; color: var(--border); padding: 0 8px; padding-top: 32px; flex-shrink: 0; }
.sv-step-num { font-family: 'Bricolage Grotesque', sans-serif; font-size: 1.6rem; font-weight: 800; color: var(--border); margin-bottom: 8px; }
.sv-step-name { font-weight: 800; font-size: 1rem; margin-bottom: 10px; }
.sv-step-desc { font-size: .84rem; color: var(--gray); line-height: 1.7; margin-bottom: 14px; }
.sv-step-btns { display: flex; flex-direction: column; gap: 8px; }
.sv-step-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 50px; font-size: .8rem; font-weight: 700;
  border: 1px solid var(--border); transition: background var(--trans);
  cursor: pointer;
}
.sv-step-btn--form { background: var(--primary); border-color: var(--primary); color: #fff; }
.sv-step-btn--line { border-color: #06C755; color: #06C755; }

/* 注意事項 */
.pr-note-block { background: var(--light); border-radius: 18px; padding: 32px 36px; margin: 0 0 48px; }
.pr-note-label { font-family: 'Bricolage Grotesque', sans-serif; font-size: .75rem; font-weight: 700; letter-spacing: .14em; color: var(--gray); text-transform: uppercase; margin-bottom: 14px; }
.pr-note-list { display: flex; flex-direction: column; gap: 8px; list-style: none; }
.pr-note-list li { font-size: .87rem; color: var(--gray); padding-left: 16px; position: relative; }
.pr-note-list li::before { content: '※'; position: absolute; left: 0; }

/* ページ下部CTA */
.sv-cta-block { text-align: center; padding: 72px 0; background: var(--dark); }
.sv-cta-text { font-size: 1.2rem; font-weight: 700; color: #fff; margin-bottom: 28px; }
.sv-cta-btns { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ===========================
   お問い合わせページ
=========================== */
.contact-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 64px;
  padding: 80px 0;
}
.contact-side { display: flex; flex-direction: column; gap: 36px; }
.contact-side-label { font-family: 'Bricolage Grotesque', sans-serif; font-size: .75rem; font-weight: 700; letter-spacing: .14em; color: var(--primary); text-transform: uppercase; margin-bottom: 8px; padding-bottom: 6px; border-bottom: 2px solid var(--border); }
.contact-side-text { font-size: .9rem; color: var(--gray); line-height: 1.9; }
.contact-sns-links { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.contact-sns-item { display: inline-flex; align-items: center; gap: 8px; font-size: .87rem; font-weight: 600; color: var(--dark); transition: color var(--trans); cursor: pointer; }
.contact-sns-item:hover { color: var(--primary); }

.form-group { margin-bottom: 22px; }
.form-label { display: block; font-size: .88rem; font-weight: 700; margin-bottom: 8px; }
.form-label span { margin-left: 8px; font-size: .72rem; background: var(--primary); color: #fff; padding: 2px 8px; border-radius: 4px; font-weight: 700; }
.form-input,
.form-select,
.form-textarea {
  width: 100%; padding: 12px 16px;
  border: 1px solid var(--border); border-radius: 10px;
  font-size: .93rem; font-family: inherit; color: var(--dark);
  background: var(--white);
  transition: border-color .2s ease, box-shadow .2s ease;
  appearance: none;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(255,61,113,.1); }
.form-textarea { height: 160px; resize: vertical; }
.form-note { font-size: .8rem; color: var(--gray); margin-bottom: 20px; }
.form-submit {
  width: 100%; padding: 16px;
  background: var(--primary); color: #fff;
  border: none; border-radius: 50px;
  font-size: 1rem; font-weight: 700; font-family: inherit;
  cursor: pointer;
  transition: background var(--trans), transform var(--trans);
}
.form-submit:hover { background: #e0295d; transform: translateY(-2px); }

/* ===========================
   Contact Form 7
=========================== */
.wpcf7 p { margin-bottom: 22px; }

/* 入力フィールド */
.wpcf7-text,
.wpcf7-email,
.wpcf7-tel,
.wpcf7-url,
.wpcf7-number,
.wpcf7-date,
.wpcf7-select {
  width: 100%; padding: 12px 16px;
  border: 1px solid var(--border); border-radius: 10px;
  font-size: .93rem; font-family: inherit; color: var(--dark);
  background: var(--white);
  transition: border-color .2s ease, box-shadow .2s ease;
  appearance: none;
}

/* テキストエリア */
.wpcf7-textarea {
  width: 100%; padding: 12px 16px;
  border: 1px solid var(--border); border-radius: 10px;
  font-size: .93rem; font-family: inherit; color: var(--dark);
  background: var(--white);
  transition: border-color .2s ease, box-shadow .2s ease;
  height: 160px; resize: vertical;
}

/* フォーカス */
.wpcf7-text:focus,
.wpcf7-email:focus,
.wpcf7-tel:focus,
.wpcf7-url:focus,
.wpcf7-number:focus,
.wpcf7-date:focus,
.wpcf7-select:focus,
.wpcf7-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255,61,113,.1);
}

/* 送信ボタン */
.wpcf7-submit {
  width: 100%; padding: 16px;
  background: var(--primary); color: #fff;
  border: none; border-radius: 50px;
  font-size: 1rem; font-weight: 700; font-family: inherit;
  cursor: pointer;
  transition: background var(--trans), transform var(--trans);
}
.wpcf7-submit:hover { background: #e0295d; transform: translateY(-2px); }

/* バリデーションエラー */
.wpcf7-not-valid-tip {
  font-size: .8rem; color: var(--primary); margin-top: 4px; display: block;
}
.wpcf7-text.wpcf7-not-valid,
.wpcf7-email.wpcf7-not-valid,
.wpcf7-textarea.wpcf7-not-valid {
  border-color: var(--primary);
}

/* 送信結果メッセージ */
.wpcf7-response-output {
  margin-top: 16px; padding: 14px 20px;
  border-radius: 10px; font-size: .9rem; border: none !important;
}
.wpcf7 .wpcf7-mail-sent-ok {
  background: #E8F5E9; color: #2E7D32;
}
.wpcf7 .wpcf7-validation-errors,
.wpcf7 .wpcf7-mail-sent-ng,
.wpcf7 .wpcf7-spam-blocked {
  background: #FFF0F3; color: var(--primary);
}

/* ===========================
   中ページ RESPONSIVE
=========================== */
@media (max-width: 960px) {
  .pf-layout { grid-template-columns: 1fr; gap: 40px; }
  .pf-img-wrap { position: static; height: 320px; }
  .pf-hobbies { grid-template-columns: 1fr; }
  .sv-template-block { grid-template-columns: 1fr; }
  .sv-template-img { display: none; }
  .sv-cards { grid-template-columns: 1fr; }
  .sv-flow-steps { flex-direction: column; }
  .sv-step-arrow { display: none; }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
}
