@charset "UTF-8";

/* =========================================================
   Design tokens
   ========================================================= */
:root {
  /* color */
  --c-primary: #e60012;
  --c-primary-dark: #b8000e;
  --c-primary-tint: #fff1f2;
  /* 赤を小さな文字に使う場合、#e60012 はグレー背景で 4.5:1 を割るため一段濃くする */
  --c-primary-text: #d10010;
  --c-ink: #111318;
  --c-text: #3a3f47;
  /* WCAG AA（4.5:1）を白背景・グレー背景の双方で満たす明度に調整している */
  --c-sub: #6a7079;
  --c-bg: #ffffff;
  --c-bg-gray: #f5f6f8;
  --c-line: #e3e6ea;
  --c-line-strong: #cfd4da;

  /* typography */
  --font-ja: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", meiryo, sans-serif;
  --font-en: "Archivo", "Noto Sans JP", sans-serif;

  /* layout */
  --w-content: 1120px;
  --pad-inline: 20px;
  --header-h: 64px;
  --space-section: clamp(72px, 9vw, 128px);
  --radius: 12px;
  --radius-lg: 20px;

  /* effect */
  --shadow-sm: 0 2px 12px rgb(17 19 24 / 6%);
  --shadow-md: 0 12px 32px rgb(17 19 24 / 10%);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* ローディング終了に合わせてヒーローを出す */
  --hero-delay: 1.85s;
}

.is-loader-skipped {
  --hero-delay: 0.1s;
}

@media (min-width: 768px) {
  :root {
    --pad-inline: 32px;
    --header-h: 80px;
  }
}

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

* {
  margin: 0;
  padding: 0;
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-ja);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.9;
  letter-spacing: 0.02em;
  /* anywhere だと min-content 幅にも影響し、メールアドレス等が任意位置で割れるため break-word にする */
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

img,
svg,
iframe {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

ul,
ol {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s var(--ease), background-color 0.25s var(--ease), border-color 0.25s var(--ease), opacity 0.25s var(--ease);
}

button {
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

address {
  font-style: normal;
}

:focus-visible {
  outline: 3px solid var(--c-primary);
  outline-offset: 3px;
}

/* 赤地の上では赤いリングが同化して見えなくなる */
.cta :focus-visible {
  outline-color: #fff;
}

/* ページ内リンクの遷移先はスクリプトからフォーカスを当てるだけで、
   タブ順には含まれないためリングは出さない */
[tabindex="-1"]:focus {
  outline: none;
}

h1,
h2,
h3 {
  font-weight: 900;
  line-height: 1.45;
  letter-spacing: 0.01em;
  color: var(--c-ink);
}

/* =========================================================
   Utilities
   ========================================================= */
.container {
  width: 100%;
  max-width: calc(var(--w-content) + var(--pad-inline) * 2);
  margin-inline: auto;
  padding-inline: var(--pad-inline);
}

.u-pc {
  display: none;
}

@media (min-width: 768px) {
  .u-pc {
    display: inline;
  }

  .u-sp {
    display: none;
  }
}

.skip-link {
  position: fixed;
  inset-block-start: 8px;
  inset-inline-start: 8px;
  z-index: 999;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--c-ink);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  transform: translateY(-200%);
  transition: transform 0.25s var(--ease);
}

.skip-link:focus-visible {
  transform: translateY(0);
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.85em 1.75em;
  border: 2px solid transparent;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  white-space: nowrap;
}

.btn--sm {
  padding: 0.7em 1.4em;
  font-size: 0.875rem;
}

.btn--lg {
  min-width: 232px;
  padding: 1.1em 2em;
  font-size: 1rem;
}

.btn--primary {
  background: var(--c-primary);
  border-color: var(--c-primary);
  color: #fff;
  box-shadow: 0 6px 18px rgb(230 0 18 / 24%);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--c-primary-dark);
  border-color: var(--c-primary-dark);
}

.btn--ghost {
  background: #fff;
  border-color: var(--c-ink);
  color: var(--c-ink);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  background: var(--c-ink);
  color: #fff;
}

.btn--white {
  background: #fff;
  border-color: #fff;
  color: var(--c-primary);
}

.btn--white:hover,
.btn--white:focus-visible {
  background: var(--c-ink);
  border-color: var(--c-ink);
  color: #fff;
}

.btn--outline-white {
  flex-direction: column;
  gap: 0.1em;
  background: transparent;
  border-color: rgb(255 255 255 / 85%);
  color: #fff;
}

.btn--outline-white:hover,
.btn--outline-white:focus-visible {
  background: rgb(255 255 255 / 14%);
  border-color: #fff;
}

/* =========================================================
   Loader
   ========================================================= */
.loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  animation: loader-finish 0s linear 2.15s forwards;
}

.is-loader-skipped .loader {
  display: none;
}

.loader__curtain,
.loader__body {
  position: absolute;
  inset: 0;
  will-change: transform;
}

.loader__curtain {
  background: var(--c-primary);
  animation: loader-panel 0.75s cubic-bezier(0.76, 0, 0.24, 1) 1.4s forwards;
}

.loader__body {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 26px;
  background: var(--c-bg);
  animation: loader-panel 0.75s cubic-bezier(0.76, 0, 0.24, 1) 1.25s forwards;
}

.loader__mark {
  position: relative;
  display: block;
  width: min(260px, 62vw);
}

.loader__logo {
  width: 100%;
  clip-path: inset(0 100% 0 0);
  animation: loader-logo 0.95s cubic-bezier(0.76, 0, 0.24, 1) 0.12s forwards;
}

.loader__wipe {
  position: absolute;
  inset: -6% -2%;
  background: var(--c-primary);
  transform: scaleX(0);
  transform-origin: left center;
  animation: loader-wipe 0.95s cubic-bezier(0.76, 0, 0.24, 1) 0.12s forwards;
}

.loader__streak {
  position: relative;
  display: block;
  width: 140px;
  height: 2px;
  overflow: hidden;
  background: rgb(17 19 24 / 10%);
}

.loader__streak::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--c-primary);
  transform: scaleX(0);
  transform-origin: left center;
  animation: loader-bar 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards;
}

@keyframes loader-logo {
  0%,
  50% {
    clip-path: inset(0 100% 0 0);
  }

  100% {
    clip-path: inset(0 0 0 0);
  }
}

@keyframes loader-wipe {
  0% {
    transform: scaleX(0);
    transform-origin: left center;
  }

  48% {
    transform: scaleX(1);
    transform-origin: left center;
  }

  52% {
    transform: scaleX(1);
    transform-origin: right center;
  }

  100% {
    transform: scaleX(0);
    transform-origin: right center;
  }
}

@keyframes loader-bar {
  to {
    transform: scaleX(1);
  }
}

@keyframes loader-panel {
  to {
    transform: translateY(-101%);
  }
}

@keyframes loader-finish {
  to {
    visibility: hidden;
    pointer-events: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .loader {
    animation: loader-finish 0s linear 0.6s forwards;
  }

  .loader__curtain {
    display: none;
  }

  .loader__body {
    animation: loader-fade 0.4s linear 0.2s forwards;
  }

  .loader__logo,
  .loader__wipe,
  .loader__streak::after {
    animation: none;
  }

  .loader__logo {
    clip-path: none;
  }

  .loader__wipe {
    display: none;
  }

  @keyframes loader-fade {
    to {
      opacity: 0;
    }
  }
}

/* =========================================================
   Header
   ========================================================= */
.header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 100;
  transition: box-shadow 0.3s var(--ease);
}

/* backdrop-filter を .header 自体に置くとドロワー（position: fixed）の
   基準がヘッダーになってしまうため、擬似要素に逃がしている */
.header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgb(255 255 255 / 92%);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: background-color 0.3s var(--ease);
}

.header.is-scrolled {
  box-shadow: 0 1px 0 var(--c-line), 0 8px 24px rgb(17 19 24 / 5%);
}

.header.is-scrolled::before {
  background: #fff;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  max-width: calc(var(--w-content) + 80px);
  height: var(--header-h);
  margin-inline: auto;
  padding-inline: var(--pad-inline);
}

.header__logo {
  position: relative;
  z-index: 95;
  flex-shrink: 0;
}

.header__logo img {
  width: auto;
  height: 22px;
}

@media (min-width: 768px) {
  .header__logo img {
    height: 26px;
  }
}

/* ドロワー内（〜1023px）と広いPC（1180px〜）でのみ表示する。
   1024〜1179px はナビが詰まるため電話番号を出さず、CTAボタンのみにしている */
.header__tel {
  display: none;
}

.header__tel-num {
  display: block;
  font-family: var(--font-en);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--c-ink);
}

.header__tel-time {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--c-sub);
}

@media (min-width: 1180px) {
  .header__tel {
    display: block;
    line-height: 1.3;
    text-align: right;
  }
}

/* ---- global nav ---- */
.gnav__list {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.8vw, 28px);
}

.gnav__link {
  display: block;
  padding-block: 6px;
  line-height: 1.35;
  text-align: center;
}

.gnav__ja {
  display: block;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--c-ink);
}

.gnav__en {
  display: block;
  font-family: var(--font-en);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-sub);
  transition: color 0.25s var(--ease);
}

.gnav__link:hover .gnav__ja,
.gnav__link:focus-visible .gnav__ja,
.gnav__link:hover .gnav__en,
.gnav__link:focus-visible .gnav__en {
  color: var(--c-primary);
}

.gnav__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* ---- drawer (〜1023px) ---- */
@media (max-width: 1023px) {
  .gnav {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: grid;
    align-content: start;
    gap: 32px;
    padding: calc(var(--header-h) + 32px) var(--pad-inline) 56px;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #fff;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
  }

  .gnav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .gnav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-block-start: 1px solid var(--c-line);
  }

  .gnav__item {
    border-block-end: 1px solid var(--c-line);
  }

  .gnav__link {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding-block: 18px;
    text-align: start;
  }

  .gnav__ja {
    font-size: 1.125rem;
  }

  .gnav__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }

  .header__tel {
    display: block;
    text-align: center;
    line-height: 1.4;
  }

  .header__tel-num {
    font-size: 1.75rem;
  }

  .header__tel-time {
    font-size: 0.75rem;
  }

  .gnav__actions .btn {
    padding-block: 1em;
    font-size: 1rem;
  }
}

/* ---- hamburger ---- */
.hamburger {
  position: relative;
  z-index: 95;
  display: grid;
  place-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  margin-inline-end: -8px;
}

/* JS が使えない環境ではドロワーを開けないため、機能しないボタンを出さない
   （ナビゲーションはフッターのサイトマップで代替できる） */
html:not(.js) .hamburger {
  display: none;
}

.hamburger__bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--c-ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}

.hamburger[aria-expanded="true"] .hamburger__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger[aria-expanded="true"] .hamburger__bar:nth-child(2) {
  opacity: 0;
}

.hamburger[aria-expanded="true"] .hamburger__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 1024px) {
  .hamburger {
    display: none;
  }

  .gnav {
    display: flex;
    align-items: center;
    gap: clamp(20px, 2.5vw, 40px);
  }
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  padding-block: calc(var(--header-h) + 40px) clamp(56px, 7vw, 88px);
  overflow: hidden;
  background:
    radial-gradient(60% 70% at 85% 8%, rgb(230 0 18 / 8%) 0%, rgb(230 0 18 / 0%) 60%),
    linear-gradient(180deg, #fff 0%, var(--c-bg-gray) 100%);
}

.hero__inner {
  display: grid;
  gap: clamp(32px, 5vw, 56px);
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-block-end: 20px;
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-primary-text);
}

.hero__eyebrow::before {
  content: "";
  width: 28px;
  height: 3px;
  background: currentcolor;
}

.hero__title {
  font-size: clamp(2rem, 7vw, 3.75rem);
  font-weight: 900;
  line-height: 1.32;
  letter-spacing: 0.005em;
}

.hero__title-accent {
  position: relative;
  display: inline-block;
  color: var(--c-primary);
}

.hero__lead {
  margin-block-start: 24px;
  font-size: clamp(0.9375rem, 1.4vw, 1.0625rem);
  line-height: 2;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-block-start: 36px;
}

.hero__visual {
  max-width: 620px;
  margin-inline: auto;
}

.hero__visual img {
  width: 100%;
  border-radius: var(--radius-lg);
}

@media (min-width: 900px) {
  .hero__visual {
    max-width: none;
  }
}

@media (min-width: 900px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: center;
  }
}

/* ---- hero entrance ---- */
.js .hero__eyebrow,
.js .hero__title,
.js .hero__lead,
.js .hero__actions,
.js .hero__visual,
.js .hero__badges,
.js .hero__stat {
  animation: hero-in 0.9s var(--ease) backwards;
}

.js .hero__eyebrow {
  animation-delay: var(--hero-delay);
}

.js .hero__title {
  animation-delay: calc(var(--hero-delay) + 0.08s);
}

.js .hero__lead {
  animation-delay: calc(var(--hero-delay) + 0.16s);
}

.js .hero__actions {
  animation-delay: calc(var(--hero-delay) + 0.24s);
}

.js .hero__visual {
  animation-delay: calc(var(--hero-delay) + 0.18s);
}

.js .hero__badges {
  animation-delay: calc(var(--hero-delay) + 0.36s);
}

.js .hero__stat {
  animation-delay: calc(var(--hero-delay) + 0.44s);
}

@keyframes hero-in {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .js .hero__eyebrow,
  .js .hero__title,
  .js .hero__lead,
  .js .hero__actions,
  .js .hero__visual,
  .js .hero__badges,
  .js .hero__stat {
    animation: none;
  }
}

/* ---- badges ---- */
.hero__badges {
  margin-block-start: clamp(40px, 6vw, 72px);
}

.badges {
  display: grid;
  gap: 12px;
}

@media (min-width: 640px) {
  .badges {
    grid-template-columns: repeat(3, 1fr);
  }
}

.badges__item {
  display: grid;
  gap: 2px;
  padding: 18px 20px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: rgb(255 255 255 / 85%);
  text-align: center;
}

.badges__label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--c-sub);
}

.badges__value {
  font-size: 1.0625rem;
  font-weight: 900;
  line-height: 1.3;
  color: var(--c-ink);
}

.badges__num {
  font-family: var(--font-en);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--c-primary-text);
}

.hero__stat {
  margin-block-start: 24px;
  font-size: clamp(0.8125rem, 1.2vw, 0.9375rem);
  font-weight: 700;
  text-align: center;
  color: var(--c-sub);
}

.hero__stat strong {
  color: var(--c-ink);
}

/* =========================================================
   Section common
   ========================================================= */
.section {
  padding-block: var(--space-section);
  scroll-margin-top: var(--header-h);
}

.section--service,
.section--news {
  background: var(--c-bg-gray);
}

.section-head {
  margin-block-end: clamp(36px, 5vw, 56px);
}

.section-head__en {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-en);
  font-size: 0.8125rem;
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-primary-text);
}

.section-head__en::before {
  content: "";
  width: 28px;
  height: 3px;
  background: currentcolor;
}

.section-head__ja {
  margin-block-start: 10px;
  font-size: clamp(1.75rem, 4.4vw, 2.75rem);
  line-height: 1.35;
}

.section-head__lead {
  margin-block-start: 16px;
  font-size: clamp(0.9375rem, 1.3vw, 1.0625rem);
  color: var(--c-text);
}

/* =========================================================
   About
   ========================================================= */
.about__intro {
  display: grid;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

@media (min-width: 900px) {
  .about__intro {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  }
}

.about__catch {
  margin-block-end: 24px;
  font-size: clamp(1.375rem, 3.2vw, 2rem);
  font-weight: 900;
  line-height: 1.55;
  color: var(--c-ink);
}

.about__desc + .about__desc {
  margin-block-start: 1.25em;
}

.about__visual img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.reasons {
  display: grid;
  gap: 20px;
  margin-block-start: clamp(48px, 6vw, 80px);
}

.reasons__item {
  display: grid;
  gap: 12px;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  background: #fff;
  transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.reasons__item:hover {
  border-color: var(--c-line-strong);
  box-shadow: var(--shadow-md);
}

@media (min-width: 768px) {
  .reasons__item {
    grid-template-columns: 120px minmax(0, 1fr);
    gap: clamp(24px, 4vw, 56px);
    align-items: start;
  }
}

.reasons__num {
  font-family: var(--font-en);
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  font-weight: 700;
  font-style: italic;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--c-primary);
}

.reasons__title {
  font-size: clamp(1.125rem, 2.2vw, 1.5rem);
  line-height: 1.55;
}

.reasons__text {
  margin-block-start: 16px;
  font-size: 0.9375rem;
}

/* =========================================================
   Service
   ========================================================= */
.services {
  display: grid;
  gap: 20px;
}

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

.services__item {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3.2vw, 40px);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  background: #fff;
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}

.services__item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.services__head {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-block-end: 20px;
  margin-block-end: 20px;
  border-block-end: 1px solid var(--c-line);
}

.services__icon {
  flex-shrink: 0;
  width: 76px;
  height: 76px;
  object-fit: contain;
}

.services__en {
  font-family: var(--font-en);
  font-size: 0.6875rem;
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-primary-text);
}

.services__title {
  margin-block-start: 2px;
  font-size: clamp(1.1875rem, 2.2vw, 1.5rem);
}

.services__text {
  flex-grow: 1;
  font-size: 0.9375rem;
}

.services .tags {
  margin-block-start: 20px;
}

/* ---- tags ---- */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tags__item {
  padding: 0.35em 0.9em;
  border-radius: 999px;
  background: var(--c-bg-gray);
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.6;
  color: var(--c-text);
}

.tags--sm .tags__item {
  padding: 0.25em 0.75em;
  background: var(--c-primary-tint);
  font-size: 0.75rem;
  color: var(--c-primary-dark);
}

/* =========================================================
   Works
   ========================================================= */
.works {
  display: grid;
  gap: 24px;
}

@media (min-width: 640px) {
  .works {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

.work {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  background: #fff;
}

.work__thumb {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--c-bg-gray);
}

.work__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
}

.work__title {
  font-size: 1.0625rem;
  line-height: 1.6;
}

.work__text {
  font-size: 0.875rem;
  line-height: 1.85;
  color: var(--c-sub);
}

/* =========================================================
   News
   ========================================================= */
.news {
  border-block-start: 1px solid var(--c-line-strong);
}

.news__item {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 8px 16px;
  padding-block: 22px;
  border-block-end: 1px solid var(--c-line-strong);
}

.news__date {
  font-family: var(--font-en);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--c-sub);
}

.news__cat {
  justify-self: start;
  min-width: 84px;
  padding: 0.25em 0.9em;
  border: 1px solid var(--c-primary);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-align: center;
  color: var(--c-primary-dark);
}

.news__title {
  grid-column: 1 / -1;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.75;
  color: var(--c-ink);
}

@media (min-width: 768px) {
  .news__item {
    grid-template-columns: 110px 108px minmax(0, 1fr);
    gap: 24px;
    padding-block: 26px;
  }

  .news__title {
    grid-column: auto;
    font-size: 1rem;
  }
}

/* =========================================================
   Company
   ========================================================= */
.company {
  display: grid;
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
}

@media (min-width: 900px) {
  .company {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  }
}

.company__list {
  border-block-start: 1px solid var(--c-line-strong);
}

.company__row {
  display: grid;
  gap: 4px 24px;
  padding-block: 20px;
  border-block-end: 1px solid var(--c-line-strong);
}

@media (min-width: 640px) {
  .company__row {
    grid-template-columns: 132px minmax(0, 1fr);
  }
}

.company__term {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--c-ink);
}

.company__desc {
  font-size: 0.9375rem;
  line-height: 1.85;
}

.company__link {
  font-weight: 700;
  color: var(--c-primary-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.company__link:hover,
.company__link:focus-visible {
  color: var(--c-primary);
}

.company__note {
  margin-inline-start: 8px;
  font-size: 0.8125rem;
  color: var(--c-sub);
}

.company__visual img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.company__map {
  margin-block-start: clamp(32px, 4vw, 48px);
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-line);
}

.company__map iframe {
  width: 100%;
  height: clamp(260px, 40vw, 400px);
  border: 0;
  filter: grayscale(0.25);
}

/* =========================================================
   CTA
   ========================================================= */
.cta {
  position: relative;
  overflow: hidden;
  padding-block: clamp(64px, 8vw, 104px);
  background: var(--c-primary);
  color: #fff;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(115deg, rgb(255 255 255 / 6%) 0 2px, transparent 2px 22px);
  pointer-events: none;
}

.cta__inner {
  position: relative;
  text-align: center;
}

.cta__en {
  font-family: var(--font-en);
  font-size: 0.8125rem;
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
}

.cta__title {
  margin-block-start: 12px;
  font-size: clamp(1.625rem, 4.6vw, 2.75rem);
  line-height: 1.4;
  color: #fff;
}

.cta__lead {
  margin-block-start: 20px;
  font-size: clamp(0.9375rem, 1.3vw, 1.0625rem);
  color: #fff;
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-block-start: 36px;
}

.cta__tel-num {
  font-family: var(--font-en);
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.cta__tel-time {
  font-size: 0.6875rem;
  font-weight: 700;
}

/* =========================================================
   Footer
   ========================================================= */
.footer {
  padding-block: clamp(48px, 6vw, 72px) 0;
  background: var(--c-ink);
  color: rgb(255 255 255 / 78%);
}

.footer__inner {
  display: grid;
  gap: 36px;
  padding-block-end: clamp(36px, 5vw, 56px);
}

@media (min-width: 768px) {
  .footer__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 48px;
    align-items: start;
  }
}

.footer__logo {
  display: inline-block;
}

.footer__logo img {
  width: auto;
  height: 26px;
}

.footer__address {
  margin-block-start: 20px;
  font-size: 0.875rem;
  line-height: 1.9;
}

.footer__list {
  display: grid;
  gap: 12px;
  font-size: 0.9375rem;
  font-weight: 700;
}

@media (min-width: 640px) and (max-width: 767px) {
  .footer__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.footer__link {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 4px;
}

.footer__link:hover,
.footer__link:focus-visible {
  color: #fff;
  text-decoration-color: currentcolor;
}

.footer__nav .footer__link {
  text-decoration: none;
}

.footer__nav .footer__link:hover,
.footer__nav .footer__link:focus-visible {
  color: var(--c-primary);
}

.footer__copy {
  padding-block: 20px;
  border-block-start: 1px solid rgb(255 255 255 / 14%);
  font-family: var(--font-en);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-align: center;
  color: rgb(255 255 255 / 60%);
}

/* =========================================================
   Page top
   ========================================================= */
.pagetop {
  position: fixed;
  inset-block-end: 20px;
  inset-inline-end: 20px;
  z-index: 80;
  display: grid;
  place-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--c-ink);
  color: #fff;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s, background-color 0.25s var(--ease);
}

.pagetop.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.pagetop:hover,
.pagetop:focus-visible {
  background: var(--c-primary);
}

/* =========================================================
   Scroll reveal (JS 有効時のみ適用)
   ========================================================= */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}

.js .services__item:nth-child(2n),
.js .works__item:nth-child(3n + 2),
.js .reasons__item:nth-child(2) {
  --reveal-delay: 0.1s;
}

.js .works__item:nth-child(3n),
.js .reasons__item:nth-child(3) {
  --reveal-delay: 0.2s;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
