/* =========================================================
   NAGAFUJI DESIGN — サイト全体のスタイル
   ブレークポイント：タブレット ≤768px ／ スマホ ≤480px
   （STUDIO の元デザインと同じ区切り）
   ========================================================= */

/* ---------- アイコンフォント（ローカル） ---------- */
@font-face {
  font-family: "Material Icons";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url("../fonts/MaterialIcons-Regular.woff2") format("woff2");
}
@font-face {
  font-family: "FontAwesome";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url("../fonts/fontawesome-webfont.woff2") format("woff2");
}

/* ---------- 色・文字の変数 ---------- */
:root {
  --font-roboto: "Roboto", sans-serif;
  --font-lato: "Lato", sans-serif;
  --font-noto: "Noto Sans JP", sans-serif;
  --font-murecho: "Murecho", sans-serif;
  --font-inter: "Inter", sans-serif;

  --color-text: #333;
  --color-ink: #111;
  --color-muted: rgba(0, 0, 0, 0.5);
  --color-accent: #3178e8;      /* ホバー時の青 */
  --color-chip: #eee;           /* 選択中のリンクの背景 */
  --color-twitter: #1ea1f1;
  --color-instagram: #ff1d73;

  --ease-out: cubic-bezier(0.19, 1, 0.22, 1);
  --header-height: 50px;
}

/* ---------- リセット ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: #fff;
  color: var(--color-text);
  font-family: var(--font-roboto);
  font-size: 16px;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: anywhere;
}

h1, h2, h3, p { margin: 0; font-weight: inherit; font-size: inherit; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: rgba(0, 0, 0, 0.15); }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

/* ---------- アイコン ---------- */
.mi {
  font-family: "Material Icons";
  font-weight: normal;
  font-style: normal;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  direction: ltr;
  -webkit-font-feature-settings: "liga";
  font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.fa {
  font-family: "FontAwesome";
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  -webkit-font-smoothing: antialiased;
}
.fa-twitter-square::before { content: "\f081"; }
.fa-instagram::before { content: "\f16d"; }
.fa-envelope-o::before { content: "\f003"; }
.fa-pencil-square-o::before { content: "\f044"; }
.fa-send::before { content: "\f1d8"; }

/* ---------- スクロールで現れる動き ---------- */
/* data-appear を付けた要素は、画面に入ったときに main.js が .is-visible を付ける */
[data-appear] {
  opacity: 0;
  transform: var(--appear-from, none);
  transition:
    opacity var(--appear-duration, 800ms) var(--appear-ease, var(--ease-out)) var(--appear-delay, 0ms),
    transform var(--appear-duration, 800ms) var(--appear-ease, var(--ease-out)) var(--appear-delay, 0ms);
}
[data-appear].is-visible { opacity: 1; transform: none; }
[data-appear="up"] { --appear-from: translateY(50px); --appear-duration: 1000ms; --appear-ease: ease; }
[data-appear="left"] { --appear-from: translateX(-40px); }
[data-appear="right"] { --appear-from: translateX(40px); }
/* 遅らせて出すときは style="--appear-delay: 400ms" のように指定する */
@media (prefers-reduced-motion: reduce) {
  [data-appear] { opacity: 1; transform: none; transition: none; }
}

/* =========================================================
   共通：ヘッダー（PC・タブレット）
   ========================================================= */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 3;
  height: var(--header-height);
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.15);
}
.site-logo { display: block; width: 200px; }
.site-logo img { width: 200px; height: 44.23px; }
.site-tagline {
  display: flex;
  margin-left: 15px;
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
}
.site-tagline span { margin-left: 4px; }

/* =========================================================
   共通：フッター
   ========================================================= */
.site-footer {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 15px 20px;
  background: #fff;
  box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.15);
}
.site-footer__nav { width: 100%; }

/* フッターとスマホのメニューで共通のナビ */
.nav-main { display: flex; margin-bottom: 10px; }
.nav-case { display: flex; align-items: center; }
.nav-case__label {
  padding: 5px 5px 5px 10px;
  color: #6c6c6c;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}
.nav-link {
  display: flex;
  align-items: center;
  padding: 0 5px;
  border-radius: 24px;
}
.nav-case .nav-link { border-radius: 16px; }
.nav-link span {
  padding: 5px;
  color: var(--color-ink);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
}
.nav-link:hover span { color: var(--color-accent); }
.nav-link[aria-current="page"] { background: var(--color-chip); }

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin: 40px 0 10px;
}
.footer-meta__text {
  display: flex;
  align-items: center;
  margin-top: 3px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
}
.privacy-link {
  margin-right: 5px;
  border-radius: 16px;
}
.privacy-link span { display: block; padding: 5px; color: #939393; }
.privacy-link:hover span { color: var(--color-accent); }
.privacy-link[aria-current="page"] { margin-right: 0; background: var(--color-chip); }
.privacy-link[aria-current="page"] span { padding: 5px 10px; }
.copyright { padding: 5px 10px 5px 5px; color: rgba(0, 0, 0, 0.8); }

.social { display: flex; align-items: center; }
.social a { display: flex; transition: transform 0s var(--ease-out); }
.social a:hover { transform: scale(1.2); }
.social .fa {
  width: 34px;
  height: 34px;
  color: rgba(0, 0, 0, 0.25);
  font-size: 24px;
}
.social a:hover .fa-twitter-square { color: var(--color-twitter); }
.social a:hover .fa-instagram { color: var(--color-instagram); }

.page-top { display: none; }

/* =========================================================
   共通：スマホの下部バーとメニュー（≤480px のときだけ出る）
   ========================================================= */
.mobile-bar { display: none; }

.menu-sheet {
  /* <dialog> の既定値を打ち消して、画面下から出るシートにする */
  position: fixed;
  inset: auto 0 0;
  width: 100%;
  max-width: 100%;
  max-height: 100%;
  margin: 0;
  padding: 20px 10px 10px;
  border: 0;
  border-radius: 10px 10px 0 0;
  background: #fff;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  color: var(--color-text);
}
.menu-sheet::backdrop { background: rgba(0, 0, 0, 0.16); }
.menu-sheet[open] { animation: sheet-in 0.4s cubic-bezier(0.4, 0.4, 0, 1); }
@keyframes sheet-in {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: none; }
}
.menu-sheet__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  margin: 0 10px 20px;
}
.menu-sheet__meta .privacy-link { margin: 3px 6px 0 0; }
.menu-sheet__meta .privacy-link span { font-size: 11px; font-weight: 500; line-height: 1.4; }
.menu-sheet__nav { margin: 0 10px 30px; }
.menu-sheet .nav-main { margin-bottom: 20px; }
.menu-sheet .nav-link span { font-size: 18px; }
.menu-sheet .nav-case { flex-direction: column; align-items: flex-start; }
.menu-sheet .nav-case__label { padding: 5px; }
.menu-sheet__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 50px;
  border: 2px solid #e8e8e8;
  border-radius: 10px;
  background: #fff;
}
.menu-sheet__close .mi { color: #333; font-size: 28px; }

/* =========================================================
   共通：プライバシーポリシーのモーダル（お問い合わせページ）
   ========================================================= */
.policy-dialog {
  width: 500px;
  max-width: calc(100% - 30px);
  max-height: 540px;
  padding: 10px;
  border: 0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}
.policy-dialog::backdrop { background: rgba(0, 0, 0, 0.2); }
.policy-dialog[open] { display: flex; flex-direction: column; }
.policy-dialog__body {
  flex: 1;
  overflow-y: auto;
  padding: 30px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  background: #eee;
}
.policy-dialog__body h2 {
  margin-bottom: 20px;
  color: #333;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
}
.policy-dialog__body h3 {
  margin-bottom: 10px;
  color: #333;
  font-family: var(--font-noto);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}
.policy-dialog__body p {
  margin-bottom: 30px;
  color: #333;
  font-family: var(--font-noto);
  font-size: 13px;
  line-height: 2;
}
.policy-dialog__close {
  height: 50px;
  flex: none;
  color: #333;
  font-size: 14px;
  font-weight: 700;
}

/* =========================================================
   作品ページ（/motion/*）の下の情報バー
   ========================================================= */
.work-bar {
  display: flex;
  height: 50px;
  background: #fff;
  box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.15);
}
.work-bar__back {
  display: flex;
  align-items: center;
  height: 50px;
  padding: 0 15px;
  border-right: 1px solid rgba(0, 0, 0, 0.2);
}
.work-bar__back .mi {
  padding: 7px;
  color: var(--color-ink);
  font-size: 24px;
  transition: transform 0s var(--ease-out);
}
.work-bar__back:hover .mi { color: var(--color-accent); transform: scale(1.2); }
.work-bar__title {
  display: flex;
  align-items: center;
  height: 36px;
  margin: auto 0;
  padding: 0 0 2px 15px;
}
.work-bar__title h1 {
  padding-right: 15px;
  color: #333;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}
.work-bar__title p {
  color: var(--color-muted);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
}

/* 作品ページのアニメーション表示エリア（上 50px は固定ヘッダーの分） */
.work-hero { position: relative; width: 100%; height: 70vh; padding-top: var(--header-height); }
.work-hero dotlottie-player { display: block; width: 100%; height: 100%; }
.work-hero--trim-font { background: #f4cf00; }
.work-hero--new-year-2019 { background: #f0f0f0; }
.work-hero--dragonfly { margin-top: var(--header-height); padding-top: 0; background: #830707; }
.work-hero--isometric-view {
  overflow: hidden;
  background: linear-gradient(315deg, #000 0%, #2740b5 100%);
}
.work-hero--isometric-view dotlottie-player { height: 70vh; margin-top: var(--header-height); }
.work-hero--wave {
  height: 660px;
  overflow: hidden;
  background: linear-gradient(45deg, #ff9c00 0%, #f94cff 100%);
}
.work-hero--wave img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

/* 作品ページの補足（Trim Font） */
.work-notes {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.2);
  background: #eee;
}
.work-notes figure { width: 300px; max-width: 100%; margin: 0; }
.work-notes img { width: 300px; border-radius: 8px; }
.work-notes figcaption {
  padding: 6px 10px 0;
  color: #333;
  font-family: var(--font-inter);
  font-size: 14px;
  line-height: 1.4;
}

/* =========================================================
   ページ：トップ（/）
   ========================================================= */
.showcase {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 48px 0;
  overflow: hidden;
}
.showcase__row { display: flex; gap: 16px; }
.showcase__col {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  overflow: hidden;
}
.panel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.panel--gray { background: #f1f1f1; }
.panel--pink { background: #c0205c; }
.panel--black { background: #000; }

/* 文字のラベル（パネルの左上など） */
.panel__label {
  font-family: var(--font-lato);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  opacity: 0.5;
}
.panel--gray .panel__label { color: #000; font-size: 16px; }
.panel--pink .panel__label,
.panel--black .panel__label { color: #fff; }
.panel__label--corner { position: absolute; top: 24px; left: 24px; }
.panel__label--corner-narrow { left: 16px; }

/* 1段目：ロゴの組み合わせ */
.lockup { height: 352px; }
.lockup__inner { display: flex; flex-direction: column; align-items: center; width: 270px; }
.lockup__inner img:first-child { width: 156px; }
.lockup__inner img:last-child { width: 270px; }
.logotype-panel { flex-direction: column; height: 240px; }
.logotype-panel img { width: 540px; }
.logomark-panel { flex-direction: column; gap: 32px; height: 464px; }
.logomark-panel dotlottie-player { width: 341px; height: 350px; max-width: 100%; }

/* 2段目：ディテールの拡大 */
.showcase__row--detail { height: 400px; overflow: hidden; }
.detail-panel { flex: 1 1 0; height: 400px; }
.detail-panel__cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 404px;
  max-width: none;
  object-fit: cover;
}
.detail-panel__corner {
  position: absolute;
  right: 0;
  bottom: 0;
  height: 343px;
  width: auto;
  max-width: none;
}

/* 3段目・4段目：黒いパネル */
.concept-panel {
  flex: 1 1 0;
  gap: 32px;
  height: 240px;
  padding-top: 32px;
}
.concept-panel--rotate { gap: 16px; }
.concept-panel__step { display: flex; flex-direction: column; align-items: center; gap: 24px; padding: 8px; }
.concept-panel__step .panel__label { font-size: 16px; }
.w-140 { width: 140px; }
.w-128 { width: 128px; }
.w-64 { width: 64px; }
.rotate-180 { transform: rotate(-180deg); }
.stencil-panel { flex: 0 0 calc(50% - 8px); gap: 32px; }
.stencil-panel img { width: 540px; }
.credit-panel {
  flex: 1 1 0;
  flex-direction: column;
  gap: 8px;
  height: 240px;
  padding: 32px 0;
  font-family: var(--font-lato);
  color: #fff;
  text-align: center;
}
.credit-panel p { font-size: 18px; line-height: 30px; }
.credit-panel a { font-size: 32px; line-height: 1.4; opacity: 0.7; text-decoration: underline; }

/* 会社設立のお知らせ */
.announce {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 75px 0 20px;
  background: #e0dcc5;
}
.announce p {
  color: #333;
  font-family: var(--font-lato);
  font-size: 16px;
  line-height: 1.62;
  text-align: center;
}
.announce dotlottie-player { width: 400px; height: 400px; max-width: 100%; }

/* お知らせの一覧 */
.news {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 12px 25px 15px;
  border-top: 1px solid rgba(0, 0, 0, 0.2);
  background: #eee;
}
.news a {
  padding: 3px 0;
  color: #6a6a6a;
  font-family: var(--font-murecho);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
}
.news a:hover { color: #222; }

/* =========================================================
   ページ：作品一覧（/motion）
   ========================================================= */
.works {
  padding: 50px 15px 10px 25px;
  background: linear-gradient(315deg, #cacaca 0%, #eaeaea 100%);
}
.works__heading {
  display: flex;
  align-items: center;
  height: 60px;
  color: var(--color-ink);
  font-weight: 500;
  line-height: 1.4;
}
.works__heading strong { font-size: 20px; font-weight: 500; }
.works__heading small { margin: 4px 0 0 7px; font-size: 14px; }
.works__heading .slash { margin-left: 5px; font-size: 20px; }
.works__heading .group { display: flex; align-items: center; }
.works__heading .slash + .group strong { margin-left: 5px; }

.works__grid { display: flex; flex-wrap: wrap; padding: 2px 0 0 2px; }
.work-card {
  position: relative;
  width: calc(25% - 20px);
  height: 360px;
  margin: 0 20px 20px 0;
  border-radius: 20px;
  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  background: #fff;
  isolation: isolate;
}
.work-card img {
  position: absolute;
  top: -7.5%;
  left: -7.5%;
  width: 115%;
  height: 115%;
  max-width: none;
  object-fit: cover;
  transition: transform 0.4s var(--ease-out);
}
.work-card:hover img { transform: scale(0.9); }
.work-card__label {
  position: absolute;
  right: 10px;
  bottom: 0;
  left: 10px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  transform: translateY(40px);
  transition: all 0.4s var(--ease-out);
}
.work-card:hover .work-card__label { bottom: 10px; background: #111; transform: none; }

/* =========================================================
   ページ：プロフィール（/profile）
   ========================================================= */
.profile {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  padding: 50px 30px 30px;
  background: linear-gradient(165deg, #fff 21%, #ccc 100%);
}
.profile__col { display: flex; flex-direction: column; width: 400px; }
.profile__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 30px;
}
.profile__head h2 {
  padding: 0 30px;
  color: #000;
  font-family: var(--font-noto);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 2.1;
}
.profile__head--small h2 { font-size: 15px; }
.profile__avatar { width: 80px; height: 80px; border-radius: 40px; }
.profile__avatar--kanwa { background: #cc553d; }
.profile__icon { width: 50px; height: 50px; margin-top: 30px; }
.profile__icon--wide { width: 80px; }
.profile__text {
  padding: 15px 30px;
  color: #333;
  font-family: var(--font-murecho);
  font-size: 13px;
  font-weight: 500;
  line-height: 2;
}
.profile__text--intro { padding: 10px 30px 0; }
.profile__list {
  padding: 10px 30px 30px;
  color: #333;
  font-family: var(--font-murecho);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.9;
}
.profile__list--small { font-size: 11px; line-height: 2; }
.profile__likes {
  max-width: 100%;
  padding: 0 30px 30px;
  color: #3b3b3b;
  font-family: var(--font-murecho);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
}
.profile__likes hr { height: 1px; margin: 1em 0; border: 0; border-top: 1px solid #ccc; }
.profile__likes p { margin: 10px 0; }
.tools { display: flex; flex-wrap: wrap; margin: 10px 0 50px 30px; }
.tools a {
  display: flex;
  align-items: center;
  height: 30px;
  margin: 0 10px 10px 0;
  padding: 0 6px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 15px;
}
.tools a:hover { background: rgba(255, 255, 255, 0.5); }
.tools span {
  height: 25px;
  padding: 2px 4px 0;
  color: #3b3b3b;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
}
.tools .is-small span { font-size: 10px; padding-top: 6px; }

/* =========================================================
   ページ：プライバシーポリシー（/privacy-policy）
   ========================================================= */
.policy {
  padding: 60px 0 30px;
  background: linear-gradient(315deg, #00397b 0%, #5f6edf 100%);
}
.policy__cols { display: flex; flex-wrap: wrap; padding: 30px 0; }
.policy__col { flex: 1 1 0; display: flex; flex-direction: column; align-items: flex-start; margin: 0 30px; }
.policy h1 {
  margin-bottom: 20px;
  color: #eee;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
}
.policy h2 {
  margin-bottom: 10px;
  color: #eee;
  font-family: var(--font-noto);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}
.policy p {
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-noto);
  font-size: 13px;
  line-height: 2;
}
.policy p.is-tight { margin-bottom: 0; }
.policy__link {
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  font-weight: 500;
  line-height: 2;
}
.policy__link:hover { color: #fff; }

/* =========================================================
   ページ：お問い合わせ（/contact, /contact/thankyou）
   ========================================================= */
.contact {
  display: flex;
  justify-content: center;
  padding: 50px 0 40px;
  background: linear-gradient(45deg, #fbfaf3 9%, #c0d0db 100%);
}
.contact__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 1280px;
  max-width: 100%;
  padding: 0 40px;
}
.contact__title { width: 600px; max-width: 100%; margin: 30px 0; }
.contact__title h1 {
  color: var(--color-ink);
  font-size: 40px;
  font-weight: 400;
  line-height: 1.4;
}
.contact-form { width: 600px; max-width: 100%; margin-bottom: 20px; }
.field { display: block; margin-bottom: 20px; }
.field__label {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  color: #333;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
}
.field__label .mi { padding: 1px 6px 0 0; font-size: 20px; }
.field__label .fa { padding: 1px 6px 0 0; font-size: 18px; }
.field__label .fa-pencil-square-o { padding-top: 3px; }
.field__label .required { padding-left: 4px; color: #ff9700; font-weight: 600; }
.field input,
.field textarea {
  display: block;
  width: 100%;
  height: 50px;
  padding: 10px 15px;
  border: 1px solid #b2b2b2;
  border-radius: 8px;
  background: #fff;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
  color: #333;
  font-family: var(--font-roboto);
  font-size: 15px;
  line-height: 1.4;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.field textarea { height: 160px; padding: 10px; resize: none; }
.field input::placeholder,
.field textarea::placeholder { color: #777; }
.field input:hover,
.field textarea:hover { border-color: #000; }
.field input:focus,
.field textarea:focus { border: 2px solid #000; }
.consent {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 20px;
}
.consent label { display: flex; align-items: center; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 0 10px 0 0; }
.consent label span { color: #333; font-size: 13px; font-weight: 700; line-height: 1.4; }
.consent button {
  margin-left: 30px;
  color: var(--color-accent);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: underline;
}
.form-error {
  margin-bottom: 20px;
  padding: 12px 15px;
  border-radius: 8px;
  background: #fde8e8;
  color: #b42318;
  font-family: var(--font-noto);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
}
.form-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.submit[disabled] { opacity: 0.6; cursor: default; }
.submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 10px 14px;
  border-radius: 8px;
  background: rgba(49, 120, 232, 0.75);
  color: #fff;
  font-size: 15px;
  transition: background 0.2s var(--ease-out);
}
.submit:hover { background: var(--color-accent); }
.submit .fa { margin-left: 7px; font-size: 18px; }
.submit span { padding-left: 10px; font-family: var(--font-noto); font-weight: 700; line-height: 1.4; }

.thanks { display: flex; flex-direction: column; align-items: center; width: 600px; max-width: 100%; }
.thanks .fa { width: 100%; height: 120px; color: var(--color-accent); font-size: 100px; }
.thanks h2 {
  margin-bottom: 50px;
  color: var(--color-accent);
  font-family: var(--font-noto);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
}
.thanks p {
  margin-bottom: 30px;
  color: #333;
  font-family: var(--font-noto);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}

/* =========================================================
   タブレット（≤768px）
   ========================================================= */
@media (max-width: 768px) {
  /* トップ */
  .showcase__row { flex-wrap: wrap; gap: 16px 0; }
  .showcase__col,
  .detail-panel,
  .concept-panel,
  .stencil-panel,
  .credit-panel { flex: 0 0 100%; width: 100%; }
  .showcase__row--detail { height: auto; }
  .concept-panel--rotate { flex-wrap: wrap; gap: 16px 0; }
  .stencil-panel { flex-wrap: wrap; gap: 32px 0; }
  .credit-panel { height: 200px; }
  .panel--gray .panel__label { font-size: 14px; }
  .concept-panel__step .panel__label { font-size: 14px; }
  .credit-panel p { font-size: 16px; }
  .credit-panel a { font-size: 24px; }

  /* 作品一覧 */
  .work-card { width: calc(33.3% - 20px); height: 280px; }
  .work-card__label { height: 24px; }

  /* プロフィール */
  .profile__col { width: 100%; }

  /* プライバシーポリシー */
  /* 左に 1・3 段目、右に 2 段目（元のデザインの並び） */
  .policy__cols { display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
  .policy__col:nth-child(3) { grid-column: 1; }

  /* お問い合わせ */
  .contact__title { margin: 20px 0; }
  .contact__title h1 { font-size: 32px; }
  .contact [data-appear="left"] { --appear-from: translateX(-50px); }
  .contact [data-appear="right"] { --appear-from: translateX(50px); }
}

/* =========================================================
   スマホ（≤480px）
   ========================================================= */
@media (max-width: 480px) {
  /* 共通：ヘッダーを消して、下部バー＋メニューにする */
  .site-header { display: none; }
  .mobile-bar {
    position: fixed;
    inset: auto 0 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 60px;
    padding: 0 15px;
    background: #fff;
    box-shadow: 0 -1px 10px rgba(0, 0, 0, 0.25);
  }
  .mobile-bar img { width: 200px; height: 44.23px; }
  .mobile-bar .mi { width: 40px; height: 50px; color: #333; font-size: 36px; }

  .site-footer {
    align-items: center;
    justify-content: space-between;
    margin-bottom: 60px;
    padding: 15px;
  }
  .site-footer__nav,
  .site-footer .privacy-link,
  .site-footer .social { display: none; }
  .page-top {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border: 2px solid #e8e8e8;
    border-radius: 30px;
    background: #fff;
    color: #2a2a2a;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
  }
  .page-top span { padding-top: 3px; }
  .page-top:hover { border-color: #fff; background: var(--color-accent); color: #fff; }
  .footer-meta { align-self: stretch; justify-content: flex-end; margin: 5px 0 0; }
  .social a:first-child { margin-right: 8px; }
  .social .fa { font-size: 36px; }

  /* 作品ページ */
  .work-hero--trim-font,
  .work-hero--new-year-2019,
  .work-hero--isometric-view { height: 90vh; }
  .work-hero--wave { padding-top: 0; }
  .work-bar { flex-wrap: wrap; }
  .work-bar__title { flex-direction: column; align-items: flex-start; justify-content: center; }

  /* トップ */
  .showcase { gap: 6px; margin: 0 0 48px; }
  .showcase__row { gap: 6px 0; }
  .showcase__col { gap: 6px; }
  .lockup { gap: 2px; }
  .logomark-panel { gap: 14px; }
  .panel--gray .panel__label,
  .panel__label { font-size: 13px; }
  .detail-panel__corner { left: 8px; height: 292px; }
  .concept-panel { gap: 14px; padding-top: 14px; }
  .concept-panel--rotate { gap: 6px 0; }
  .concept-panel__step { gap: 10px; padding: 2px; }
  .concept-panel__step .panel__label { font-size: 13px; }
  .stencil-panel { gap: 14px 0; padding-top: 14px; }
  .credit-panel { gap: 2px; padding: 14px 6px; }
  .credit-panel p { font-size: 14px; }
  .credit-panel a { font-size: 18px; }
  .announce { height: 500px; padding: 20px 0 0; }
  .announce p { font-size: 12px; }
  .news a { text-align: left; }

  /* 作品一覧 */
  .works { padding: 0 0 10px 10px; }
  .works__heading { flex-wrap: wrap; height: 80px; }
  .works__heading .group:first-child strong { margin-left: 10px; }
  .works__heading .slash { display: none; }
  .works__heading .slash + .group { margin: 0 20px 0 5px; }
  .work-card { width: calc(50% - 10px); height: 250px; margin: 0 10px 10px 0; }

  /* プロフィール */
  .profile { background: linear-gradient(165deg, #fff 21%, #c6ccd0 100%); }
  .profile__avatar { width: 120px; height: 120px; border-radius: 60px; }

  /* プライバシーポリシー */
  .policy { padding: 0 0 30px; }
  .policy__cols { grid-template-columns: 1fr; }

  /* お問い合わせ */
  .contact { padding: 0 0 40px; }
  .contact__title { margin: 15px 0; }
  .contact__title h1 { font-size: 24px; }
  .field input { font-family: var(--font-noto); }
  .consent > * { padding: 3px 0; }
}
