/* ==========================================================================
   TamifuruD — static rebuild of tamifuru-d.studio.site
   Breakpoints follow the original: tablet <= 980px, mobile <= 680px.
   ========================================================================== */

:root {
  /* Colors (names follow the original design tokens) */
  --c-text: #f7f4f0;        /* TEXT       */
  --c-text-warm: #e2cbab;   /* TEXT (warm)*/
  --c-main: #4a90a4;        /* MAIN       */
  --c-bg: #25428e;          /* Background */
  --c-paragraph: #705040;   /* Paragraph  */

  /* Fonts */
  --f-ovo: "Ovo", serif;
  --f-josefin-sans: "Josefin Sans", sans-serif;
  --f-josefin-slab: "Josefin Slab", serif;
  --f-noto: "Noto Sans JP", sans-serif;
  --f-zen-antique: "Zen Antique Soft", serif;
  --f-jost: "Jost", sans-serif;
  --f-lato: "Lato", sans-serif;

  --ease: cubic-bezier(.4, .4, 0, 1);
}

/* --------------------------------------------------------------------------
   Reset
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  background: var(--c-main);
  color: #333;
  font-family: sans-serif;
  line-height: 1;
  word-spacing: 1px;
  -webkit-font-smoothing: antialiased;
  animation: page-in .6s var(--ease) both;
}

@keyframes page-in { from { opacity: 0; } to { opacity: 1; } }

h1, h2, h3, p, ul, li, figure { margin: 0; padding: 0; font-weight: inherit; font-size: inherit; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: #00000026; }
button {
  margin: 0; padding: 0; border: 0; background: none;
  font: inherit; color: inherit; letter-spacing: inherit; text-align: inherit;
  cursor: pointer; -webkit-tap-highlight-color: #00000026;
}
a:focus:not(:focus-visible), button:focus:not(:focus-visible) { outline: none; }
img { display: block; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --------------------------------------------------------------------------
   Layout primitives — mirror the original builder's flex model so that
   every box sizes itself exactly like the source site.
   .l = layout box (column flex), .t = text element
   -------------------------------------------------------------------------- */
.l {
  position: relative;
  z-index: 0;
  display: flex;
  flex-direction: column;
  flex: none;
  align-content: center;
  align-items: center;
  max-width: 100%;
}

.t {
  position: relative;
  z-index: 0;
  display: flex;
  flex-direction: row;
  flex: none;
  align-content: center;
  align-items: center;
  justify-content: flex-start;
  max-width: 100%;
  text-align: left;
  word-break: break-word;
  overflow-wrap: anywhere;
}
.t--right { justify-content: flex-end; text-align: right; }
.t--center { justify-content: center; text-align: center; }

/* Elements that animate on hover */
.hover-wide, .hover-fade, .icon-link { transition: all .3s var(--ease); }
.hover-wide:hover { letter-spacing: 1em; }

/* Background-image boxes (the image sits on a ::before layer) */
.bg { position: relative; z-index: 0; }
.bg::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  pointer-events: none;
  background-position: 50%;
  background-size: cover;
}

/* Images rendered as boxes */
.img { position: relative; flex: none; max-width: 100%; object-fit: cover; object-position: 50%; }
.img--contain { object-fit: contain; }

/* ==========================================================================
   Footer (shared)
   ========================================================================== */
.site-footer {
  justify-content: center;
  width: 100%;
  height: 320px;
  padding: 0;
  background: var(--c-text);
  overflow: visible;
}

.site-footer__icons {
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: center;
  gap: 25px;
  width: 100%;
  height: 65%;
  margin: 0;
  padding: 50px;
}

.icon-link {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
}

.icon-link--fa {
  height: 24px;
  color: #4a90a4bf;
  font-size: 24px;
}
.icon-link--fa:hover { color: var(--c-main); }
.icon-link--fa svg { display: block; height: 1em; fill: currentColor; }
.icon-link--fa .fa-youtube { width: 1.125em; }
.icon-link--fa .fa-x-twitter { width: 1em; }
.icon-link--fa .fa-instagram { width: .875em; }

.icon-link--img { width: 22px; height: 24px; opacity: .75; }
.icon-link--img:hover { opacity: 1; }
.icon-link--img img { width: 100%; height: 100%; object-fit: contain; }

.site-footer__bottom { width: 100%; height: 20%; background: transparent; }

.site-footer__copy {
  margin: 0 0 25px;
  color: var(--c-main);
  font-family: var(--f-josefin-sans);
  font-size: 1vw;
  font-weight: 500;
  line-height: 1.4;
}

/* ==========================================================================
   Modals (shared)
   ========================================================================== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 10;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.modal[hidden] { display: none; }

.modal__base {
  position: fixed;
  top: 0; left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, .16);
  opacity: 0;
  pointer-events: auto;
  cursor: default;
  transition: opacity .4s var(--ease);
}

.modal__canvas {
  height: 100%;
  overflow-y: auto;
  opacity: 0;
  transform: translateX(100px);
  pointer-events: none;
  transition: opacity .4s var(--ease), transform .4s var(--ease);
  scrollbar-width: none;
}
.modal__canvas::-webkit-scrollbar { display: none; }
.modal__canvas:focus { outline: none; }

.modal.is-open .modal__base { opacity: 1; }
.modal.is-open .modal__canvas { opacity: 1; transform: none; }

/* Full-screen layer that positions the panel */
.modal__backdrop {
  width: 100%;
  min-height: 100%;
  height: 100%;
  padding: 0;
  pointer-events: none;
}

.modal__panel { pointer-events: auto; border-radius: 0; margin: 0; }

/* Common text styles inside modals */
.m-heading {          /* Ovo 30 — "note", "NOTES", "CONTACTS" … */
  height: auto;
  padding: 0;
  color: var(--c-text);
  font-family: var(--f-ovo);
  font-size: 30px;
  letter-spacing: .5em;
  line-height: 1.4;
}
.m-body {             /* Noto 15 / 500 */
  height: auto;
  padding: 0;
  color: var(--c-text);
  font-family: var(--f-noto);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .1em;
  line-height: 1.4;
}
.m-link {             /* Josefin Sans 15 / 500, right aligned, full width */
  width: 100%;
  height: auto;
  padding: 0;
  color: var(--c-text);
  font-family: var(--f-josefin-sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .1em;
  line-height: 1.4;
}
.m-link--row { height: 31px; padding: 0 0 5px; } /* contact / SNS rows */
.m-link--last { padding: 0; }
.m-close {
  height: auto;
  padding: 0;
  color: var(--c-text);
  font-family: var(--f-josefin-slab);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1.4;
}
.m-close--block { width: 100%; margin: 50px 0 0; }

/* --- ABOUT ---------------------------------------------------------------- */
.modal-about .modal__backdrop { align-items: flex-end; justify-content: center; }
.modal-about .modal__panel {
  align-items: flex-end;
  justify-content: center;
  gap: 25px 0;
  width: 50%;
  height: 100%;
  padding: 100px 100px 100px 0;
  background: transparent;
}
.about__box {
  align-items: flex-start;
  justify-content: center;
  gap: 20px;
  width: auto;
  height: auto;
  padding: 0;
  overflow: hidden;
}
.about__names {
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0;
  width: auto;
  padding: 0;
  overflow: hidden;
}
.about__name {
  color: var(--c-text);
  font-family: var(--f-ovo);
  font-size: 40px;
  font-weight: 400;
  letter-spacing: .5em;
  line-height: 1.4;
}
.about__kana {
  color: var(--c-text);
  font-family: var(--f-zen-antique);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: .1em;
  line-height: 1.4;
}

/* --- CONTENTS ------------------------------------------------------------- */
.modal-contents .modal__backdrop { align-items: flex-end; justify-content: flex-start; }
.modal-contents .modal__panel {
  align-items: flex-end;
  justify-content: flex-start;
  width: auto;
  height: auto;
  padding: 100px 100px 100px 0;
  background: transparent;
}
.contents__list { align-items: flex-end; justify-content: flex-start; gap: 25px 0; width: auto; height: auto; }
.contents__item {
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0 25px;
  width: 100%;
  height: auto;
}
.contents__thumb { width: 100px; height: 100px; margin: 0; }
.contents__body {
  flex: 1;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: center;
  gap: 15px;
  width: auto;
  height: auto;
  padding: 0;
  overflow: hidden;
}
.contents__body--sns { gap: 0; }
.contents__desc { width: 100%; }

/* --- NOTES ---------------------------------------------------------------- */
.modal-notes .modal__backdrop { align-items: flex-end; justify-content: center; }
.modal-notes .modal__panel {
  align-items: flex-end;
  justify-content: center;
  gap: 25px 0;
  width: 50%;
  height: 100%;
  padding: 100px 100px 100px 0;
  background: transparent;
}
.notes__box { align-items: flex-start; justify-content: flex-start; gap: 25px 0; width: auto; height: auto; }
.notes__group {
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: center;
  gap: 15px;
  width: auto;
  height: auto;
  padding: 0;
  overflow: hidden;
}
.notes__group--contacts { width: 100%; }
.notes__rows { width: 100%; height: auto; background: transparent; }

/* --- SAMPLES (note / Yuru Disneyland Radio) ------------------------------- */
.modal-samples .modal__backdrop { align-items: flex-end; justify-content: flex-start; }
.modal-samples .modal__panel {
  align-items: flex-end;
  justify-content: flex-start;
  width: 75%;
  height: 100%;
  padding: 100px 100px 100px 0;
  background: linear-gradient(270deg, #4a90a4ff, #4a90a4ff 52%, #d0e4ea00);
}
.samples__list { align-items: flex-start; justify-content: flex-start; gap: 25px 0; width: auto; height: auto; }
.samples__label {
  height: auto;
  margin: 0;
  color: var(--c-text);
  font-family: var(--f-josefin-slab);
  font-size: 15px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: .5em;
  line-height: 1;
}
.samples__note {
  height: auto;
  margin: 0;
  color: var(--c-text);
  font-family: var(--f-noto);
  font-size: 15px;
  font-style: normal;
  font-weight: 300;
  letter-spacing: .1em;
  line-height: 1;
}
.samples__item {
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0 25px;
  width: 100%;
  height: auto;
  padding: 0;
}
.samples__thumb { width: 256px; height: 134px; margin: 0; }
.samples__video { position: relative; display: block; flex: none; max-width: 100%; width: 256px; height: 144px; border: 0; }
.samples__body {
  flex: 1;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: center;
  gap: 15px;
  width: auto;
  height: auto;
  padding: 0;
  overflow: hidden;
}
.samples__titlerow {
  flex: 1;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 25px;
  width: auto;
  height: auto;
  padding: 0;
  overflow: hidden;
}
.samples__title {
  height: auto;
  padding: 0;
  color: var(--c-text);
  font-family: var(--f-noto);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: .1em;
  line-height: 1.4;
}
.samples__count {
  height: auto;
  padding: 0;
  color: var(--c-text);
  font-family: var(--f-noto);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .1em;
  line-height: 1.4;
}
.samples__desc { width: 100%; }

/* ==========================================================================
   TOP page
   ========================================================================== */
.top {
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  min-height: 100dvh;
  overflow: clip;
  background: var(--c-main);
}

.top-hero { width: 100%; height: 100vh; }
.top-hero::before { background-image: url(../img/top-hero.webp); background-position: center top; }

.top-hero__overlay {
  flex: none;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 100px;
  width: 100%;
  height: 100%;
  padding: 100px;
  overflow: hidden;
  background: linear-gradient(315deg, #4a90a4ff, #4a90a459);
}

.top-brand { align-items: flex-start; justify-content: center; gap: 10px 0; width: auto; height: auto; margin: 0; }
.top-brand__name {
  width: auto;
  height: auto;
  margin: 0;
  color: var(--c-text);
  font-family: var(--f-ovo);
  font-size: 70px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: .5em;
  line-height: 1;
}
.top-brand__tagline {
  width: auto;
  height: auto;
  margin: 0;
  color: var(--c-text);
  font-family: var(--f-josefin-sans);
  font-size: 25px;
  font-style: italic;
  font-weight: 400;
  letter-spacing: .5em;
  line-height: 1;
}

.top-nav { align-items: flex-start; justify-content: center; gap: 25px 0; width: auto; height: auto; margin: 0; }
.top-nav__link {
  width: auto;
  height: auto;
  margin: 0;
  color: var(--c-text);
  font-family: var(--f-josefin-sans);
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: .15em;
  line-height: 1;
}
.top-nav__link--portfolio { padding: 25px 0 0; }

.top-intro-wrap {
  align-items: flex-end;
  justify-content: center;
  gap: 25px;
  width: 100%;
  height: auto;
  padding: 0;
  overflow: hidden;
  background: transparent;
}
.top-intro {
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: center;
  gap: 25px;
  width: auto;
  height: auto;
  padding: 0;
  overflow: hidden;
  background: transparent;
}
.top-intro__title {
  width: auto;
  height: auto;
  padding: 0;
  color: var(--c-text);
  font-family: var(--f-noto);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: .1em;
  line-height: 1.4;
}
.top-intro__text {
  width: auto;
  height: auto;
  padding: 0;
  color: var(--c-text);
  font-family: var(--f-noto);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .1em;
  line-height: 1.4;
}

/* ==========================================================================
   PORTFOLIO page
   ========================================================================== */
.pf {
  align-items: flex-start;
  justify-content: flex-start;
  width: 100%;
  min-height: 100dvh;
  padding: 0;
  overflow: clip;
  background: var(--c-main);
}

/* Fixed "TOP" link */
.pf-topbar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  height: auto;
  padding: 50px 35px;
  overflow: visible;
  background: transparent;
  pointer-events: none;
}
.pf-topbar__link {
  width: auto;
  height: auto;
  color: var(--c-text);
  font-family: var(--f-josefin-sans);
  font-size: 2vh;
  font-weight: 500;
  letter-spacing: .15em;
  line-height: 1.4;
  pointer-events: auto;
}

/* Hero */
.pf-hero { width: 100%; height: 90vh; }
.pf-hero::before { background-image: url(../img/portfolio-hero.webp); }
.pf-hero__overlay {
  flex: none;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 100px;
  width: 100%;
  height: 100%;
  padding: 50px 100px;
  overflow: hidden;
  background: linear-gradient(0deg, #4a90a4ff, #4a90a459);
}
.pf-hero__titlebox { align-items: flex-start; justify-content: center; gap: 10px 0; width: auto; height: auto; margin: 0; }
.pf-title {
  width: auto;
  height: auto;
  margin: 0;
  color: var(--c-text);
  font-family: var(--f-ovo);
  font-size: 70px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: .5em;
  line-height: 1;
}
.pf-profile {
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 10px 0;
  width: 65%;
  height: auto;
  margin: 0;
}
.pf-profile__col { align-items: flex-start; justify-content: center; gap: 10px 0; width: auto; height: auto; margin: 0; }
.pf-profile__img { width: 150px; height: 150px; }
.pf-profile__name {
  width: auto; height: auto; margin: 0;
  color: var(--c-text);
  font-family: var(--f-ovo);
  font-size: 45px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: .5em;
  line-height: 1;
}
.pf-profile__kana {
  width: auto; height: auto; margin: 0;
  color: var(--c-text);
  font-family: var(--f-zen-antique);
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: .5em;
  line-height: 1;
}
.pf-profile__bio {
  width: auto; height: auto;
  padding: 15px 0 0;
  color: var(--c-text);
  font-family: var(--f-noto);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .1em;
  line-height: 1.4;
}

/* Section shells ---------------------------------------------------------- */
.pf-sec { align-items: flex-end; justify-content: flex-start; width: 100%; height: auto; padding: 0; }
.pf-sec::before { background-repeat: no-repeat; filter: blur(1px); }

.pf-sec--steps::before { background-image: url(../img/bg-three-steps.webp); }
.pf-sec--writing::before { background-image: url(../img/bg-writing.webp); }
.pf-sec--video::before { background-image: url(../img/bg-video-audio.webp); }
.pf-sec--concept::before {
  background-image: url(../img/bg-concept-design.webp);
  background-position: center bottom;
  filter: blur(3px);
}

.pf-sec__overlay {
  flex: none;
  justify-content: flex-start;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 50px 200px;
}
.pf-sec__overlay--right { align-items: flex-end; }
.pf-sec__overlay--left { align-items: flex-start; }
.pf-sec__overlay--steps { padding: 50px 100px; }

.grad-135 { background: linear-gradient(135deg, #4a90a41a, #4a90a4ff 80%); }
.grad-315 { background: linear-gradient(315deg, #4a90a41a, #4a90a4ff 80%); }

.pf-head {
  align-items: flex-start;
  justify-content: flex-start;
  gap: 20px 0;
  width: 65%;
  height: auto;
  margin: 0;
  padding: 0;
  background: transparent;
}
.pf-head--spaced { margin: 0 0 25px; }

.pf-h2 {               /* THREE STEPS, WRITING … (Ovo 45) */
  width: auto; height: auto; margin: 0;
  color: var(--c-text);
  font-family: var(--f-ovo);
  font-size: 45px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: .5em;
  line-height: 1;
}
.pf-sub {              /* ３つのステップ, 記事執筆 … (Zen Antique 25) */
  width: auto; height: auto; margin: 0;
  color: var(--c-text);
  font-family: var(--f-zen-antique);
  font-size: 25px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: .5em;
  line-height: 1;
}
.pf-text {             /* Noto 12.5 / 500 */
  width: auto; height: auto;
  padding: 0;
  color: var(--c-text);
  font-family: var(--f-noto);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .1em;
  line-height: 1.4;
}

/* THREE STEPS ------------------------------------------------------------- */
.pf-steps {
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: transparent;
}
.pf-step {
  flex: none;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 10px 0;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 20px;
}
.pf-step__en {
  width: auto; height: auto; margin: 0;
  color: var(--c-text);
  font-family: var(--f-josefin-slab);
  font-size: 30px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: .5em;
  line-height: 1;
}
.pf-step__ja {
  width: auto; height: auto; margin: 0;
  color: var(--c-text);
  font-family: var(--f-zen-antique);
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: .5em;
  line-height: 1;
}

/* CASE rows --------------------------------------------------------------- */
.pf-case {
  flex: none;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 20px 0;
  width: 65%;
  height: auto;
  padding: 20px;
  background: transparent;
}
.pf-case--end { justify-content: flex-end; }
.pf-case__img { width: 100px; height: 100px; margin: 0 15px 0 0; }
.pf-case__body {
  flex: 1;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 10px 0;
  width: auto;
  height: auto;
  background: transparent;
}
.pf-case__no {
  width: auto; height: auto; margin: 0;
  color: var(--c-text);
  font-family: var(--f-josefin-slab);
  font-size: 15px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: .5em;
  line-height: 1;
}
.pf-case__title {
  width: auto; height: auto; margin: 0;
  color: var(--c-text);
  font-style: normal;
  letter-spacing: .5em;
  line-height: 1;
}
.pf-case__title--en { font-family: var(--f-josefin-sans); font-size: 35px; font-weight: 400; }
.pf-case__title--ja { font-family: var(--f-noto); font-size: 30px; font-weight: 500; }
.pf-case__title--ja-sm { font-family: var(--f-noto); font-size: 15px; font-weight: 500; }
.pf-case__year {
  width: auto; height: auto; margin: 0;
  color: var(--c-text);
  font-family: var(--f-josefin-slab);
  font-size: 10px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: .5em;
  line-height: 1;
}
.pf-case__links {
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 0 20px;
  width: 100%;
  height: auto;
  background: transparent;
}

/* CONTACTS ---------------------------------------------------------------- */
.pf-contacts {
  flex: none;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 25px;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 50px 100px;
  overflow: hidden;
  background: var(--c-text);
}
.pf-contacts__box {
  flex: none;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: center;
  gap: 15px;
  width: auto;
  height: auto;
  padding: 0;
  overflow: hidden;
  background: transparent;
}
.pf-contacts__title {
  width: auto; height: auto; margin: 0;
  color: var(--c-main);
  font-family: var(--f-ovo);
  font-size: 55px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: .5em;
  line-height: 1;
}
.pf-contacts__rows { width: 100%; height: auto; background: transparent; }

/* ==========================================================================
   NEWS page (unused template page of the original site)
   ========================================================================== */
.page-news { background: #fff; }
.news { width: 100%; min-height: 100dvh; justify-content: flex-start; overflow: clip; background: #fff; }
.news-header {
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 80px;
  background: #fff;
}
.news-header__inner {
  flex-direction: row;
  width: 1024px;
  margin: 0 50px;
  padding: 0;
  overflow: visible;
  background: transparent;
}
.news-header__left { flex-direction: row; width: 200px; padding: 0; overflow: visible; background: transparent; }
.news-header__logo {
  margin: 0; padding: 0;
  color: #111;
  font-family: var(--f-lato);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.4;
}
.news-header__menu { display: none; width: 24px; height: 24px; color: #333; }
.news-header__menu svg { width: 24px; height: 24px; fill: currentColor; }

.news-main {
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  height: auto;
  padding: 0 0 120px;
  background: #fff;
}
.news-hero {
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: center;
  gap: 24px 0;
  width: 960px;
  margin: 40px;
  padding: 0;
  font-size: 40px;
}
.news-hero__title {
  width: auto; height: auto;
  color: #222;
  font-family: var(--f-lato);
  font-size: 64px;
  font-weight: 700;
}
.news-hero__lead {
  width: auto; height: auto;
  color: #222;
  font-family: var(--f-lato);
  font-size: 20px;
  font-weight: 400;
}
.news-body {
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 40px 0;
  width: 960px;
  height: auto;
  margin: 40px;
  padding: 0;
}
.news-tags {
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 40px 16px;
  width: 100%;
  padding: 0;
  overflow-x: auto;
  overflow-y: hidden;
}
.news-tags__item { flex-direction: row; flex-wrap: nowrap; align-items: flex-start; justify-content: center; gap: 16px; padding: 0; }
.news-tags__link {
  width: auto; height: auto;
  margin: 0;
  padding: 16px;
  border-radius: 8px;
  background: #f5f5f5;
  color: #222;
  font-family: var(--f-lato);
  font-size: 15px;
  font-weight: 400;
}
.news-tags__link:hover { opacity: .7; }
.news-list { width: 100%; }

/* ==========================================================================
   Tablet (<= 980px)
   ========================================================================== */
@media screen and (max-width: 980px) {
  /* TOP */
  .top-brand__name { font-size: 60px; }
  .top-brand__tagline { font-size: 25px; }
  .top-nav__link { font-size: 25px; }

  /* Modals */
  .modal-about .modal__panel,
  .modal-notes .modal__panel { align-items: flex-end; justify-content: center; }

  /* PORTFOLIO */
  .pf-title { font-size: 60px; }
  .pf-profile__name { font-size: 60px; }
  .pf-profile__kana { font-size: 60px; }
  .pf-h2 { font-size: 60px; }
  .pf-sub { font-size: 25px; }
  .pf-case__title--en,
  .pf-case__title--ja,
  .pf-case__title--ja-sm { font-size: 60px; }
  .pf-contacts__title { font-size: 60px; }

  /* NEWS */
  .news-header__inner { margin: 0 40px; }
  .news-header__menu { display: none; }
  .news-tags__item { gap: 8px; }
}

/* ==========================================================================
   Mobile (<= 680px)
   ========================================================================== */
@media screen and (max-width: 680px) {
  /* Footer */
  .site-footer__copy { font-size: 2vw; }

  /* TOP */
  .top-hero { height: 80vh; }
  .top-hero__overlay { padding: 35px 15px 35px 35px; }
  .top-brand__name { font-size: 35px; }
  .top-brand__tagline { font-size: 10px; }
  .top-nav__link { font-size: 15px; }
  .top-intro-wrap { padding: 0; }
  .top-intro { flex: none; gap: 15px; width: 80%; padding: 0; }
  .top-intro__title { font-size: 20px; font-weight: 500; }
  .top-intro__text { font-size: 10px; }

  /* Modals — shared */
  .m-heading { font-size: 20px; }
  .m-body, .m-link, .m-close { font-size: 10px; }

  /* ABOUT */
  .modal-about .modal__backdrop { align-items: flex-end; justify-content: center; }
  .modal-about .modal__panel {
    flex: none;
    width: 100%;
    padding: 100px 25px 100px 0;
    background: linear-gradient(270deg, #4a90a4ff, #4a90a4ff 52%, #d0e4ea00);
  }
  .about__box { flex: none; width: 80%; padding: 0; }
  .about__names { flex-direction: column; flex-wrap: nowrap; align-items: flex-start; justify-content: center; }
  .about__name { font-size: 20px; letter-spacing: .25em; }
  .about__kana { font-size: 10px; font-weight: 400; }
  .about__bio { text-shadow: 0 0 0 transparent; }

  /* CONTENTS */
  .modal-contents .modal__panel {
    flex: none;
    align-items: flex-end;
    justify-content: center;
    justify-content: safe center;
    width: 100%;
    height: 100%;
    padding: 25px;
    background: linear-gradient(270deg, #4a90a4ff, #4a90a4ff 52%, #d0e4ea00);
  }
  .contents__item { gap: 0 15px; }
  .contents__thumb { flex: none; width: 50px; height: 50px; }
  .contents__body { gap: 5px; }
  .contents__body--sns { gap: 0; }
  .contents__title--sns { padding: 0; }

  /* NOTES */
  .modal-notes .modal__panel {
    flex: none;
    width: 100%;
    padding: 25px;
    background: linear-gradient(270deg, #4a90a4ff, #4a90a4ff 51%, #d0e4ea00);
  }
  .notes__box { align-items: flex-end; justify-content: flex-start; }
  .notes__group { flex: none; align-items: flex-start; justify-content: center; width: 80%; }
  .notes__group--contacts { width: 80%; }
  .notes__text { width: auto; }
  .notes__lead { flex: none; width: 100%; }

  /* SAMPLES */
  .modal-samples .modal__panel {
    flex: none;
    align-items: flex-end;
    justify-content: center;
    justify-content: safe center;
    width: 100%;
    height: 100%;
    padding: 25px;
  }
  .modal-samples--radio .modal__panel { background: linear-gradient(90deg, #4a90a4ff, #d0e4ea00); }
  .samples__list { gap: 15px 0; }
  .samples__label, .samples__note { font-size: 10px; }
  .samples__thumb { flex: none; width: 128px; height: 68px; }
  .samples__video { flex: none; width: 128px; height: 72px; }
  .samples__body { gap: 10px; }
  .samples__titlerow--stack { flex-direction: column; flex-wrap: nowrap; align-items: flex-start; justify-content: flex-start; gap: 5px; }
  .samples__title { font-size: 15px; }
  .samples__count { font-size: 10px; }
  .samples__close { margin: 25px 0 0; }

  /* PORTFOLIO */
  .pf-topbar { padding: 25px; }
  .pf-topbar__link { font-size: 15px; }
  .pf-hero__overlay { padding: 100px 35px; }
  .pf-title { font-size: 35px; letter-spacing: .4em; }
  .pf-profile { flex-direction: column; flex-wrap: nowrap; align-items: flex-start; justify-content: flex-start; width: 100%; }
  .pf-profile__img { flex: none; width: 70px; height: 70px; }
  .pf-profile__name { font-size: 30px; }
  .pf-profile__kana { font-size: 15px; }
  .pf-profile__bio { font-size: 10px; }

  .pf-sec__overlay,
  .pf-sec__overlay--steps { padding: 25px; }
  .pf-sec__overlay--steps { align-items: flex-end; justify-content: flex-start; }
  .pf-sec--concept { padding: 0; }
  .pf-head { width: 100%; }
  .pf-head--tight { gap: 10px 0; }
  .pf-h2 { font-size: 25px; }
  .pf-sub { font-size: 15px; }
  .pf-text { font-size: 10px; }
  .pf-step { gap: 5px 0; }
  .pf-step__en { font-size: 15px; }
  .pf-step__ja { font-size: 10px; }

  .pf-case { width: 100%; }
  .pf-case--flush { padding: 0; }
  .pf-case__img { flex: none; width: 60px; height: 60px; }
  .pf-case__no { font-size: 10px; }
  .pf-case__title--en { font-size: 20px; }
  .pf-case__title--ja { font-size: 17.5px; }
  .pf-case__title--ja-sm { font-size: 10px; }
  .pf-case__year { font-size: 10px; }
  .pf-case__links--stack { flex-direction: column; flex-wrap: nowrap; align-items: flex-end; justify-content: flex-end; gap: 5px 20px; height: auto; }

  .pf-contacts { padding: 75px 25px 25px; }
  .pf-contacts__title { font-size: 35px; }

  /* NEWS */
  .news-header__inner { justify-content: space-between; margin: 0 20px; }
  .news-header__left { width: auto; }
  .news-header__menu { display: flex; }
  .news-hero { gap: 16px 0; margin: 20px; }
  .news-hero__title { font-size: 36px; }
  .news-hero__lead { font-size: 16px; }
  .news-body { gap: 24px 0; margin: 20px; }
  .news-tags { gap: 24px 8px; }
  .news-tags__link { font-size: 14px; }
}

/* ==========================================================================
   Utilities (keep last so they override component styles)
   ========================================================================== */
.c-main { color: var(--c-main); }
.ff-jost { font-family: var(--f-jost); }
