/* ==========================================================================
   N9.DESIGN コーポレートサイト
   構成：波で切り取ったキービジュアル → About → 実績の帯 → 2カラム → 大切なこと → Works → Profile → フッター
   配色：イエロー（面）／ネイビー（文字）／クリーム
   フォント：Noto Sans JP（日本語）／ Outfit（英字）
   スマートフォン優先（min-width で PC 表示を上書き）
   ========================================================================== */

:root {
  --yellow: #FDC238;
  --yellow-deep: #E9A91C;
  --navy: #1E344E;
  --cream: #FEF3E7;
  --coral: #F2825D;
  --white: #FFFFFF;
  --text: #1E344E;
  --text-sub: #4A5A6C;

  --font-en: "Outfit", "Noto Sans JP", sans-serif;
  --font-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;

  --gutter: 20px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  /* リンクの下の波線 */
  --squiggle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='8' viewBox='0 0 16 8'%3E%3Cpath d='M0 4C2 1.2 6 1.2 8 4S14 6.8 16 4' fill='none' stroke='%231E344E' stroke-width='1.3' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--white); color: var(--text);
  font-family: var(--font-sans); font-size: 15px; line-height: 2; letter-spacing: .06em;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 300; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { top: 8px; }
.inner { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- 共通パーツ ---------- */
.label { font-family: var(--font-en); font-weight: 500; font-size: 15px; letter-spacing: .06em; }
.link {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 40px;
  min-width: 192px; padding: 6px 4px 14px;
  font-family: var(--font-en); font-weight: 500; font-size: 16px; text-decoration: none;
  background: var(--squiggle) 0 100% / 16px 8px repeat-x;
}
/* ホバーで波線が右へ流れる */
.link:hover, .link:focus-visible { animation: squiggle-flow .6s linear infinite; }
@keyframes squiggle-flow { to { background-position: 16px 100%; } }
.link::after { content: "→"; font-size: 18px; transition: transform .3s var(--ease); }
.link:hover::after { transform: translateX(6px); }

/* ---------- Header ---------- */
.header {
  position: absolute; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px var(--gutter);
}
.header__logo img { width: 104px; }
.menu-btn { position: relative; z-index: 120; width: 44px; height: 44px; }
.menu-btn span:not(.visually-hidden) {
  position: absolute; left: 8px; right: 8px; height: 2px; background: #fff; border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s;
}
.menu-btn span:nth-child(1) { top: 14px; }
.menu-btn span:nth-child(2) { top: 21px; }
.menu-btn span:nth-child(3) { top: 28px; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:not(.visually-hidden) { background: var(--navy); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.gnav {
  position: fixed; inset: 0; z-index: 110; display: grid; place-items: center;
  background: var(--yellow); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.gnav.is-open { opacity: 1; visibility: visible; }
.gnav__list { display: grid; gap: 14px; text-align: center; }
.gnav__list a {
  font-family: var(--font-en); font-weight: 500; font-size: 30px; text-decoration: none;
  padding-bottom: 2px;
  background: linear-gradient(currentColor, currentColor) right bottom / 0 1px no-repeat;
  transition: background-size .45s var(--ease);
}
/* 下線が左から伸び、離すと右へ抜けていく */
.gnav__list a:hover, .gnav__list a:focus-visible, .gnav__list a[aria-current="page"] { background-position: left bottom; background-size: 100% 1px; }

/* ---------- Key visual ---------- */
.kv { position: relative; background: var(--yellow); padding-bottom: 96px; }
.kv__visual { position: relative; height: 72svh; min-height: 440px; background: var(--cream); overflow-x: clip; }
.kv__slides { position: absolute; inset: 0; overflow: hidden; }
.kv__slides img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.06); transition: opacity 1.6s ease, transform 8s linear;
}
.kv__slides img.is-active { opacity: 1; transform: scale(1); }
/* 白い文字が読めるよう、写真全体をうっすら暗くする */
.kv__slides::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .22); }
.kv__wave { position: absolute; left: -12%; bottom: -1px; width: 124%; height: auto; overflow: visible; }
.kv__wave-fill { fill: var(--yellow); }
.kv__curve {
  font-family: var(--font-en); font-weight: 600; font-size: 124px; letter-spacing: 0;
  fill: #fff;
}
.kv__scroll {
  position: absolute; left: var(--gutter); bottom: 32px;
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-en); font-size: 12px; font-weight: 500; text-decoration: none;
}
.kv__dots {
  width: 34px; height: 34px; border-radius: 50%;
  background: radial-gradient(circle, var(--navy) 1.3px, transparent 1.6px) 0 0 / 6px 6px;
  -webkit-mask: radial-gradient(circle, #000 64%, transparent 66%); mask: radial-gradient(circle, #000 64%, transparent 66%);
  animation: spin 14s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.kv__tag { display: none; }

/* ---------- About ---------- */
.about { background: var(--yellow); padding: 40px 0 96px; }
.about__inner { display: grid; gap: 32px; }
.about__title { margin-top: 18px; white-space: nowrap; font-size: clamp(26px, 8.6vw, 52px); font-weight: 700; line-height: 1.45; letter-spacing: .14em; }
.about__body p { font-size: 15px; font-weight: 500; line-height: 2.1; }
.about__body p + p { margin-top: 10px; }
.about__body .link { margin-top: 40px; }

/* ---------- 写真の帯（上下を波で切り抜く。1枚の形なので継ぎ目が出ない） ---------- */
.photo-band { background: var(--yellow); padding: 0 0 8px; }
.photo-band img {
  width: 100%; height: 300px; object-fit: cover; object-position: 50% 50%;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 400' preserveAspectRatio='none'%3E%3Cpath d='M0 40 C 300 0, 560 0, 760 50 S 1180 110, 1440 30 V 360 C 1180 400, 940 400, 720 352 S 260 300, 0 370 Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 400' preserveAspectRatio='none'%3E%3Cpath d='M0 40 C 300 0, 560 0, 760 50 S 1180 110, 1440 30 V 360 C 1180 400, 940 400, 720 352 S 260 300, 0 370 Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

/* ---------- Service / For you（2カラム） ---------- */
.duo { background: var(--yellow); padding: 80px 0 24px; }
.duo__inner { display: grid; gap: 72px; }
.duo__col { display: flex; flex-direction: column; align-items: center; text-align: center; }
.duo__title { display: flex; flex-direction: column; align-items: center; gap: 14px; font-family: var(--font-en); font-weight: 500; font-size: clamp(52px, 14vw, 84px); line-height: 1; letter-spacing: 0; text-align: center; }
.duo__title span { font-family: var(--font-sans); font-size: 13px; font-weight: 700; letter-spacing: .14em; line-height: 1.4; }
.duo__ill { margin: 32px 0 24px; width: 100%; max-width: 320px; aspect-ratio: 5 / 4; display: block; }
.duo__ill img { width: 100%; height: 100%; object-fit: contain; }
.duo__en { text-align: center; font-family: var(--font-en); font-size: 12px; font-weight: 600; line-height: 1.4; }
.duo__catch { margin: 28px 0 18px; font-size: 20px; font-weight: 700; letter-spacing: .1em; }
.duo__text { max-width: 420px; text-align: left; font-size: 14px; font-weight: 500; line-height: 2.1; }
.duo__col .link { margin-top: 32px; }
.duo__brand { margin-top: 72px; text-align: center; font-family: var(--font-en); font-weight: 500; font-size: clamp(20px, 5vw, 34px); letter-spacing: .06em; }

/* ---------- Value ---------- */
.value { position: relative; padding: 130px 0 120px; overflow: hidden; }
.value__wave { position: absolute; left: 0; top: -1px; width: 100%; height: 70px; fill: var(--yellow); }
.value__head { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 8px; }
.value__title { font-size: 20px; font-weight: 700; line-height: 1.8; letter-spacing: .1em; }
.value__sub { color: var(--yellow-deep); font-size: 14px; font-weight: 700; }
.marquee { margin: 32px 0; overflow: hidden; }
.marquee__track { display: flex; align-items: center; width: max-content; animation: marquee 30s linear infinite; }
.marquee__track span { font-family: var(--font-en); font-weight: 500; font-size: clamp(56px, 13vw, 120px); line-height: 1.1; color: var(--navy); }
.marquee__track i { font-style: normal; font-family: var(--font-en); font-weight: 400; font-size: clamp(36px, 8vw, 72px); color: var(--yellow-deep); margin: 0 .4em; }
@keyframes marquee { to { transform: translateX(-50%); } }
.value__foot { display: grid; gap: 32px; }
.value__list { display: grid; gap: 8px; font-size: 14px; font-weight: 500; }
.value__list b { display: block; min-width: 6.5em; font-family: var(--font-en); font-weight: 600; color: var(--yellow-deep); letter-spacing: .08em; }
.link--dark { justify-self: start; }

/* ---------- Works ---------- */
.works { padding: 40px 0 120px; }
.works__head { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-bottom: 40px; }
.works__title { display: flex; align-items: center; gap: 10px; font-family: var(--font-en); font-weight: 400; font-size: clamp(48px, 12vw, 68px); line-height: 1; letter-spacing: 0; }
.works__count { padding: 0 8px; border: 1px solid var(--yellow-deep); border-radius: 999px; color: var(--yellow-deep); font-size: 11px; line-height: 1.6; letter-spacing: .1em; }
.works__filter { display: flex; gap: 18px; }
.works__filter button { font-family: var(--font-en); font-size: 14px; font-weight: 500; padding-bottom: 2px; border-bottom: 1px solid transparent; }
.works__filter button.is-active, .works__filter button:hover { border-color: var(--navy); }
.works__all { margin-left: auto; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 16px; }
.card a, .card__static { display: block; text-decoration: none; }
.card[hidden] { display: none; }
.card__top { display: flex; gap: 6px; }
.card__img { flex: 1; overflow: hidden; border-radius: 6px; background: #f3f3f3; }
.card__img img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 0 0; transition: transform .6s var(--ease); }
.card a:hover .card__img img { transform: scale(1.05); }
/* 複数ページが横に並んだ画像は、1列目（ファーストビュー）だけを大きく見せる */
.card__img--col { position: relative; aspect-ratio: 3 / 4; }
.card__img--col img { position: absolute; top: 0; left: 0; width: 400%; max-width: none; height: auto; aspect-ratio: auto; object-fit: fill; transform-origin: 0 0; }
.card__img--col2 img { width: 200%; }
.card__side {
  writing-mode: vertical-rl; display: flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: .16em; color: var(--navy);
}
.card__side span { font-family: var(--font-en); font-size: 13px; color: var(--yellow-deep); letter-spacing: .1em; }
.card__title { margin-top: 12px; font-size: 13px; font-weight: 500; line-height: 1.8; letter-spacing: .04em; }

/* ---------- Profile ---------- */
.profile { background: var(--cream); padding: 80px 0 140px; }
.profile__inner { display: grid; gap: 32px; align-items: center; }
.profile__img { width: 72%; max-width: 360px; aspect-ratio: 1; margin: 0 auto; overflow: hidden; border-radius: 50%; }
.profile__img img { width: 100%; height: 100%; object-fit: cover; object-position: 44% 20%; }
.label--dark { color: var(--yellow-deep); font-weight: 600; }
.profile__name { margin: 8px 0 18px; font-family: var(--font-en); font-weight: 600; font-size: 26px; letter-spacing: .06em; line-height: 1.4; }
.profile__name span { display: block; font-family: var(--font-sans); font-size: 13px; font-weight: 700; color: var(--text-sub); }
.profile p:last-child { font-size: 14px; font-weight: 500; }

/* ---------- Footer ---------- */
.footer { position: relative; z-index: 1; background: transparent; margin-top: -70px; }
.footer__hills { display: block; width: 100%; height: 70px; margin-bottom: -1px; }
.footer__hills .h1 { fill: var(--navy); }
.footer__hills .h2 { fill: var(--coral); }
.footer__hills .h3 { fill: var(--yellow-deep); }
.footer__hills .sea { fill: var(--yellow); }
.footer__body { background: var(--yellow); padding: 56px 0 48px; }
.footer__inner { display: grid; gap: 40px; }
.footer__logo img { width: 140px; }
.footer__info p { margin-top: 16px; font-size: 12px; font-weight: 500; line-height: 1.9; }
.footer__copy { font-family: var(--font-en); }
.footer__nav ul { display: grid; gap: 8px; }
.footer__nav ul a {
  font-family: var(--font-en); font-weight: 500; font-size: 26px; text-decoration: none;
  padding-bottom: 2px;
  background: linear-gradient(currentColor, currentColor) right bottom / 0 1px no-repeat;
  transition: background-size .45s var(--ease);
}
/* 下線が左から伸び、離すと右へ抜けていく */
.footer__nav ul a:hover, .footer__nav ul a:focus-visible { background-position: left bottom; background-size: 100% 1px; }
@media (prefers-reduced-motion: reduce) {
  .footer__nav ul a, .gnav__list a { transition: none; }
  .link:hover, .link:focus-visible { animation: none; }
}
.footer__sub { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 24px; padding-top: 18px; border-top: 1px dotted var(--navy); }
.footer__sub a { font-size: 12px; font-weight: 700; text-decoration: none; }
.footer__sub a:hover { text-decoration: underline; }
.badge { position: relative; display: grid; place-items: center; width: 220px; aspect-ratio: 1; margin: 0 auto; text-decoration: none; }
.badge__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 24s linear infinite; font-family: var(--font-en); font-weight: 600; font-size: 12.4px; fill: var(--navy); }
.badge::before { content: ""; position: absolute; inset: 34px; border-radius: 50%; background: #fff; }
.badge__img { position: relative; width: 50%; transition: transform .4s var(--ease); }
.badge:hover .badge__img { transform: translate(4px, -4px); }

/* ---------- Scroll animation ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   Tablet 〜
   ========================================================================== */
@media (min-width: 768px) {
  :root { --gutter: 40px; }
  .photo-band img { height: 420px; }
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 28px; }
}

/* ==========================================================================
   PC 〜
   ========================================================================== */
@media (min-width: 1024px) {
  body { font-size: 16px; }
  .photo-band img { height: 560px; }
  .header { padding: 24px 40px; }
  .header__logo img { width: 124px; }
  .menu-btn { display: none; }
  .gnav { position: static; display: block; background: none; opacity: 1; visibility: visible; }
  .gnav__list { display: flex; gap: 28px; }
  .gnav__list a { font-size: 15px; color: #fff; }

  .kv { padding-bottom: 120px; }
  .kv__visual { height: 88svh; min-height: 600px; }
  .kv__wave { left: 0; width: 100%; }
  .kv__curve { font-size: 112px; }
  .kv__scroll { left: 40px; bottom: 44px; }
  .kv__tag { display: block; position: absolute; right: 40px; bottom: 50px; font-family: var(--font-en); font-size: 12px; font-weight: 500; letter-spacing: .12em; }

  .about { padding: 72px 0 140px; }
  .about__inner { grid-template-columns: 5fr 6fr; gap: 64px; }
  .about__body { padding-top: 64px; }


  .duo { padding: 120px 0 40px; }
  .duo__inner { grid-template-columns: 1fr 1fr; gap: 0; }
  .duo__col { padding: 0 56px; }
  .duo__col + .duo__col { border-left: 1px dotted var(--navy); }
  .duo__ill { max-width: 340px; }
  .duo__brand { margin-top: 110px; }

  .value { padding: 200px 0 160px; }
  .value__wave { height: 160px; }
  .value__title { font-size: 22px; }
  .marquee { margin: 40px 0 48px; }
  .value__foot { grid-template-columns: 1fr auto; align-items: end; }
  .value__list b { display: inline-block; }

  .works__title { font-size: 72px; }
  .cards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 56px 32px; }

  .profile__inner { grid-template-columns: 4fr 7fr; gap: 72px; max-width: 1000px; }
  .profile__img { width: 100%; }

  .footer { margin-top: -110px; }
  .footer__hills { height: 110px; }
  .footer__body { padding: 80px 0 64px; }
  .footer__inner { grid-template-columns: 1fr 1fr 1.1fr; align-items: center; }
  .footer__info { align-self: stretch; display: flex; flex-direction: column; }
  .footer__copy { margin-top: auto !important; }
  .footer__nav ul a { font-size: 30px; }
  .badge { width: 280px; margin: 0 0 0 auto; }
  .badge::before { inset: 42px; }
}

/* ==========================================================================
   下層ページ（service / price / works / blog / contact / privacy）
   ========================================================================== */
/* ページ上部：写真＋うっすら黒い膜＋真ん中が沈む波 */
.phero { position: relative; background: var(--yellow); }
.phero__visual { position: relative; height: 46svh; min-height: 320px; overflow: hidden; }
.phero__visual > img { width: 100%; height: 100%; object-fit: cover; }
.phero__visual::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .3); }
.phero__text { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding-bottom: 40px; color: #fff; text-align: center; }
.phero__en { font-family: var(--font-en); font-weight: 500; font-size: clamp(48px, 13vw, 104px); line-height: 1; letter-spacing: 0; }
.phero__ja { margin-top: 12px; font-size: 14px; font-weight: 700; letter-spacing: .16em; }
.phero__wave { position: absolute; left: 0; bottom: -1px; z-index: 2; width: 100%; height: auto; fill: var(--yellow); }
.crumb { display: flex; flex-wrap: wrap; gap: 6px; max-width: 1180px; margin: 0 auto; padding: 6px var(--gutter) 28px; font-family: var(--font-en); font-size: 12px; font-weight: 500; }
.crumb li + li::before { content: "/"; margin-right: 6px; }
.crumb a { text-decoration: none; }
.crumb a:hover { text-decoration: underline; }

.sec-sub { padding: 72px 0 120px; }
.sec-sub--yellow { background: var(--yellow); }
.sec-sub--cream { background: var(--cream); }
.lead { font-size: 15px; font-weight: 500; line-height: 2.1; }
.sub-head { margin-bottom: 32px; }
.sub-head__title { margin-top: 6px; font-size: 26px; font-weight: 700; letter-spacing: .1em; line-height: 1.5; }
.note { margin-top: 20px; font-size: 13px; font-weight: 500; }
.note a { font-weight: 700; text-underline-offset: 4px; }
.note--center { text-align: center; }
.sec-sub .link { margin-top: 32px; }
.checks { display: grid; gap: 6px; }
.checks li { position: relative; padding-left: 26px; font-size: 14px; font-weight: 500; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .5em; width: 16px; height: 16px; border-radius: 50%;
  background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.3 2.2 4.7-4.8' fill='none' stroke='%23FDC238' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}

/* Service */
.svcd-list { display: grid; gap: 72px; margin-top: 56px; }
.svcd { display: grid; gap: 28px; align-items: center; }
.svcd__img { position: relative; overflow: hidden; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px rgba(30, 52, 78, .08); }
.svcd__img img { width: 100%; aspect-ratio: 1200 / 750; object-fit: contain; }
.svcd__img--ill { background: var(--cream); box-shadow: none; }
.svcd__img--ill img { padding: 24px; }
.svcd__img figcaption { position: absolute; left: 12px; bottom: 12px; padding: 0 10px; background: var(--navy); color: #fff; border-radius: 999px; font-size: 11px; font-weight: 700; line-height: 1.9; }
.svcd__en { font-family: var(--font-en); font-weight: 600; font-size: 13px; letter-spacing: .14em; color: var(--yellow-deep); }
.svcd__title { margin: 4px 0 16px; font-size: 26px; font-weight: 700; letter-spacing: .08em; }
.svcd__body > p:not(.svcd__en):not(.svcd__for) { font-size: 15px; font-weight: 500; }
.svcd__for { margin: 22px 0 10px; font-weight: 700; font-size: 14px; }
.scope3 { display: grid; gap: 16px; }
.scope3 li { padding: 28px 24px; background: #fff; border-radius: 16px; }
.scope3__en { font-family: var(--font-en); font-weight: 600; font-size: 12px; letter-spacing: .14em; color: var(--yellow-deep); }
.scope3 h3 { margin: 4px 0 10px; font-size: 20px; font-weight: 700; }
.scope3 li > p:last-child { font-size: 14px; font-weight: 500; }

/* Price */
.pgroup { margin-top: 48px; }
.pgroup__title { margin-bottom: 24px; text-align: center; font-size: 20px; font-weight: 700; letter-spacing: .08em; line-height: 1.5; }
.pgroup__title span { display: block; font-size: 13px; color: var(--yellow-deep); }
.pgroup .note { text-align: center; }
.pcards { display: grid; gap: 16px; }
.pcard { padding: 28px 24px; border: 1px solid var(--navy); border-radius: 16px; text-align: center; }
.pcard h4 { margin: 0; font-size: 17px; font-weight: 700; }
.pcard__price { margin: 6px 0 8px; font-weight: 700; }
.pcard__price b { font-family: var(--font-en); font-weight: 500; font-size: 56px; line-height: 1.1; }
.pcard__price small { font-size: 12px; }
.pcard > p:last-child { font-size: 13px; font-weight: 500; }
.pcard--main { background: var(--navy); color: #fff; }
.pcard--main .pcard__price { color: var(--yellow); }
.flow2 { display: grid; gap: 14px; counter-reset: f; }
.flow2 li { padding: 24px; background: #fff; border-radius: 16px; }
.flow2__num { font-family: var(--font-en); font-weight: 600; font-size: 13px; letter-spacing: .12em; color: var(--yellow-deep); }
.flow2 h3 { margin: 2px 0 8px; font-size: 18px; font-weight: 700; }
.flow2 li > p:last-child { font-size: 14px; font-weight: 500; }

/* Works */
.works__head--sub { margin-bottom: 20px; }
.works__total { font-family: var(--font-en); font-size: 14px; }
.works__total b { font-size: 22px; font-weight: 600; }
.wk-list { margin-top: 40px; grid-template-columns: minmax(0, 1fr); gap: 48px; }
.wk__img { overflow: hidden; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px rgba(30, 52, 78, .1); }
.wk__img img { width: 100%; aspect-ratio: 1200 / 750; object-fit: contain; }
.wk__img--cover img { object-fit: cover; object-position: 50% 0; }
.wk__kind { margin-top: 14px; font-family: var(--font-en); font-weight: 600; font-size: 13px; letter-spacing: .12em; color: var(--yellow-deep); }
.wk__title { margin: 2px 0 10px; font-size: 17px; font-weight: 700; line-height: 1.6; letter-spacing: .04em; }
.wk__info { margin: 0; display: grid; gap: 2px; font-size: 13px; }
.wk__info div { display: grid; grid-template-columns: 6em 1fr; }
.wk__info dt { font-weight: 700; }
.wk__info dd { margin: 0; }
.wk__more { margin-top: 10px; font-size: 13px; }
.wk__more summary { cursor: pointer; font-weight: 700; color: var(--navy); }
.wk__more p { margin-top: 8px; line-height: 1.9; }
.wk__url { display: inline-block; margin-top: 12px; padding: 4px 16px; border: 1px solid var(--navy); border-radius: 999px; font-size: 13px; font-weight: 700; text-decoration: none; }
.wk__url::after { content: " ↗"; font-family: var(--font-en); }
.wk__url:hover { background: var(--navy); color: #fff; }

/* Blog */
.empty { margin: 48px auto 0; max-width: 560px; text-align: center; }
.empty img { width: 70%; margin: 0 auto 24px; }
.empty__title { font-size: 20px; font-weight: 700; letter-spacing: .1em; margin-bottom: 8px; }
.empty > p:not(.empty__title) { font-size: 14px; }

/* Contact */
.contact2 { display: grid; gap: 48px; }
.ways { display: grid; gap: 20px; margin-top: 28px; }
.ways li { padding-bottom: 20px; border-bottom: 1px dotted var(--navy); font-size: 14px; }
.ways__en { font-family: var(--font-en); font-weight: 600; letter-spacing: .14em; color: var(--yellow-deep); }
.ways .link { margin-top: 12px; }
.contact2__dl { display: grid; gap: 6px; margin-top: 24px; font-size: 13px; font-weight: 700; }
.contact2__dl a { text-underline-offset: 4px; }
.form { display: grid; gap: 22px; padding: 28px 22px; background: var(--cream); border-radius: 20px; }
.form__row { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.form__row > label, .form__row > legend { padding: 0; font-size: 14px; font-weight: 700; }
.form__row em { margin-left: 8px; padding: 0 8px; background: var(--coral); color: #fff; border-radius: 999px; font-style: normal; font-size: 11px; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid #cdbfa9; border-radius: 10px; background: #fff;
  font: inherit; font-size: 16px; color: var(--text);
}
.form input:focus, .form textarea:focus { outline: 2px solid var(--navy); outline-offset: 1px; }
.chks { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.chk { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; cursor: pointer; }
.chk input { width: 18px; height: 18px; accent-color: var(--navy); }
.chk--agree { justify-content: center; }
.form__submit { justify-self: center; min-width: 240px; padding: 16px 32px; background: var(--navy); color: #fff; border-radius: 999px; font-weight: 700; letter-spacing: .1em; transition: opacity .2s; }
.form__submit:hover { opacity: .85; }
.form__msg { min-height: 1.5em; text-align: center; font-size: 13px; font-weight: 700; color: var(--coral); }

/* Privacy */
.prose { max-width: 820px; }
.prose h2 { margin: 40px 0 12px; font-size: 18px; font-weight: 700; letter-spacing: .06em; }
.prose p, .prose li { font-size: 15px; }
.prose ul { padding-left: 1.4em; list-style: disc; }
.prose__date { margin-top: 40px; text-align: right; font-size: 13px; }

/* 下層ページ共通のお問い合わせ導線 */
.cta { padding: 96px 0 160px; background: var(--cream); text-align: center; }
.cta__title { margin: 10px 0 18px; font-size: clamp(24px, 6vw, 36px); font-weight: 700; line-height: 1.6; letter-spacing: .1em; }
.cta__inner > p:not(.label):not(.cta__title) { font-size: 14px; font-weight: 500; }
.sub .footer { margin-top: -70px; }

@media (min-width: 768px) {
  .wk-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 32px; }
  .scope3 { grid-template-columns: repeat(3, 1fr); }
  .pcards { grid-template-columns: repeat(3, 1fr); }
  .pcards--2 { grid-template-columns: repeat(2, 1fr); max-width: 680px; margin: 0 auto; }
}
@media (min-width: 1024px) {
  .phero__visual { height: 58svh; min-height: 440px; }
  .phero__text { padding-bottom: 80px; }
  .crumb { padding: 0 40px 40px; }
  .sec-sub { padding: 120px 0 180px; }
  .sub-head__title { font-size: 30px; }
  .svcd-list { gap: 120px; margin-top: 88px; }
  .svcd { grid-template-columns: 1.1fr 1fr; gap: 72px; }
  .svcd--rev .svcd__img { order: 2; }
  .pcards { max-width: 960px; margin: 0 auto; gap: 24px; }
  .flow2 { grid-template-columns: repeat(5, 1fr); gap: 16px; }
  .wk-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .contact2 { grid-template-columns: 1fr 1.5fr; gap: 72px; align-items: start; }
  .form { padding: 48px; }
  .cta { padding: 140px 0 220px; }
  .sub .footer { margin-top: -110px; }
}

/* ==========================================================================
   WordPress 用（ブログ一覧・記事・Contact Form 7・管理バー）
   静的サイトでは使われませんが、テーマと共通のファイルにしています
   ========================================================================== */
.admin-bar .header { top: 32px; }
@media (max-width: 782px) { .admin-bar .header { top: 46px; } }

/* ブログ一覧 */
.posts { display: grid; gap: 40px 24px; margin-top: 48px; }
.post-card a { display: block; text-decoration: none; }
.post-card__img { aspect-ratio: 16 / 10; overflow: hidden; border-radius: 16px; background: var(--cream); }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card__img img.is-noimg { object-fit: contain; padding: 10%; }
.post-card a:hover .post-card__img img { transform: scale(1.05); }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 14px; font-family: var(--font-en); font-size: 13px; font-weight: 500; }
.post-meta span { padding: 0 10px; border: 1px solid var(--navy); border-radius: 999px; font-family: var(--font-sans); font-size: 11px; line-height: 1.9; }
.post-card__title { margin-top: 6px; font-size: 16px; font-weight: 700; line-height: 1.7; }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 56px; }
.pagination .page-numbers { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 12px; border: 1px solid var(--navy); border-radius: 999px; font-family: var(--font-en); font-size: 14px; text-decoration: none; }
.pagination .page-numbers.current { background: var(--navy); color: #fff; }
.pagination .page-numbers.dots { border: 0; }

/* 記事 */
.post { max-width: 820px; }
.post .post-meta { margin-top: 0; }
.post__title { margin-top: 10px; font-size: clamp(22px, 5.6vw, 30px); font-weight: 700; line-height: 1.6; letter-spacing: .04em; }
.post__thumb { margin-top: 32px; overflow: hidden; border-radius: 20px; }
.post__thumb img { width: 100%; }
.post__body { margin-top: 40px; }
.prose h3 { margin: 32px 0 8px; font-size: 16px; font-weight: 700; }
.prose p + p { margin-top: 1em; }
.prose ol { padding-left: 1.4em; list-style: decimal; }
.prose a { text-underline-offset: 4px; }
.prose figure, .prose .wp-block-image { margin: 32px 0; }
.prose img { border-radius: 12px; }
.prose figcaption { margin-top: 8px; font-size: 12px; text-align: center; }
.prose blockquote { margin: 32px 0; padding: 20px 24px; background: var(--cream); border-radius: 16px; }
.post__nav { display: grid; gap: 12px; margin-top: 64px; padding-top: 24px; border-top: 1px dotted var(--navy); font-size: 14px; font-weight: 700; }
.post__nav a { text-decoration: none; }
.post__nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.post__nav-next { text-align: right; }
.post__back { margin-top: 48px; text-align: center; }

/* Contact Form 7（フォームの中身は .form の見た目に合わせる） */
.form .wpcf7 { margin: 0; }
.form .wpcf7-form { display: grid; gap: 22px; }
.form .wpcf7-form-control-wrap { display: block; }
.form .wpcf7-checkbox, .form .wpcf7-radio { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.form .wpcf7-list-item { margin: 0; }
.form .wpcf7-list-item label { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; cursor: pointer; }
.form .wpcf7-list-item input { width: 18px; height: 18px; accent-color: var(--navy); }
.form .form__agree { display: flex; justify-content: center; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; }
.form__foot .form__submit { justify-self: auto; }
.form .wpcf7-not-valid-tip { margin-top: 6px; font-size: 12px; font-weight: 700; color: var(--coral); }
.form .wpcf7-response-output { margin: 0 !important; padding: 12px 16px !important; border-radius: 12px; font-size: 13px; font-weight: 700; text-align: center; }
.form--wait { text-align: center; font-weight: 500; }
.form__notice { padding: 10px 14px; background: #fff; border-radius: 12px; font-size: 12px; font-weight: 700; color: var(--coral); }

@media (min-width: 768px) {
  .posts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .post__nav { grid-template-columns: 1fr 1fr; }
}
