:root {
  --bg: #ffffff;
  --ink: #171717;
  --muted: #667085;
  --pale: #9ca6b5;
  --line: #eef1f5;
  --button: #071122;
  --max: 1280px;
  --side: clamp(20px, 5.8vw, 88px);
  --font: 'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@keyframes underlineExpand {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
}

body.home-intro .site {
  opacity: 0;
}

.intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #ffffff;
  display: grid;
  place-items: center;
  padding: 40px 24px;
}

.intro-content {
  text-align: center;
  max-width: 720px;
}

.intro-line {
  margin: 0;
  opacity: 0;
  transform: translateY(24px);
  animation: introLine 0.7s ease forwards;
  color: #111;
  font-size: clamp(28px, 4vw, 46px);
  letter-spacing: 0.03em;
  font-weight: 600;
}

.intro-line + .intro-line {
  margin-top: 18px;
}

.intro-line-1 {
  animation-delay: 0.15s;
}

.intro-line-2 {
  animation-delay: 0.9s;
}

.intro-overlay.intro-fade {
  opacity: 0;
  transition: opacity 0.8s ease;
}

@keyframes introLine {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site {
  min-height: 100vh;
  border: 1px solid #dfe6ef;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

body.work-page .site {
  border: 0;
  border-radius: 0;
}

body.work-page .container {
  width: 100%;
  max-width: 650px;
  margin: 0 auto;
  padding: 40px 28px;
}

body.work-page .section {
  padding: 0;
}

body.work-page .work-detail {
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}

body.work-page .work-detail img {
  width: 100%;
  max-width: 650px;
  aspect-ratio: auto;
  object-fit: cover;
  margin: 0 auto;
}

body.work-page .work-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-top: 40px;
}

body.work-page .gallery-item {
  overflow: hidden;
  border-radius: 8px;
  background: #f8f9fb;
}

body.work-page .gallery-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

body.work-page .gallery-item:hover img {
  transform: scale(1.02);
}

.header {
  height: 80px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  background: #fff;
}

.header-inner {
  width: 100%;
  max-width: var(--max);
  margin: auto;
  padding: 0 var(--side);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-size: 24px;
  letter-spacing: .01em;
  font-weight: 400;
  white-space: nowrap;
  margin-left: -90px;
}

.nav {
  display: flex;
  gap: 36px;
  color: #667085;
}

.nav a {
  padding: 22px 0 8px;
  line-height: 1;
  border-bottom: none;
  position: relative;
  color: #667085;
  transition: color 0.3s ease;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 100%;
  height: 2px;
  background-color: #151515;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}

.nav a[aria-current="page"],
.nav a:hover {
  color: #151515;
}

.nav a[aria-current="page"]::after,
.nav a:hover::after {
  transform: translateX(-50%) scaleX(1);
}

.menu-btn {
  display: none;
  background: none;
  border: 0;
  font: inherit;
  color: #111827;
  cursor: pointer;
}

.hero img {
  width: 100%;
  height: calc(100vh - 150px);
  min-height: 520px;
  object-fit: cover;
}

.container {
  max-width: var(--max);
  margin: auto;
  padding: 0 var(--side);
}

.section {
  padding: 34px 0 90px;
}

.kicker {
  margin: 0 0 12px;
  color: #a3acba;
  font-weight: 600;
  letter-spacing: .18em;
  font-size: 17px;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px 38px;
}

.work-card img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #f4f6f8;
}

.work-card h2 {
  font-size: 18px;
  line-height: 1.35;
  margin: 14px 0 0;
  font-weight: 600;
}

.year {
  margin: 0;
  color: #9ca6b5;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
}

.footer-social svg {
  width: 27px;
  height: 27px;
}

.footer-social {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  border: 0;
  white-space: nowrap;
}

.profile-grid {
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 58px;
  align-items: start;
}

.profile-photo {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.lead-ja {
  margin-top: 30px;
  font-size: 14px;
  font-weight: 300;
  width: 80%;
  line-height: 1.9;
}

.lead-en {
  font-size: 14px;
  width: 80%;
  color: #526071;
  line-height: 1.65;
}

.divider {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 30px 0 30px;
}

/* Expertise Grid */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin: 24px 0;
}

.expertise-item {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fafbfc;
}

.expertise-item h3 {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 600;
  color: #171717;
}

.expertise-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: #526071;
}

/* Timeline */
.timeline {
  margin: 24px 0;
}

.timeline-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.timeline-item:last-child {
  border-bottom: 0;
}

.timeline-date {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 500;
  color: #9ca6b5;
  letter-spacing: 0.05em;
}

.timeline-title {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 500;
  color: #171717;
  line-height: 1.6;
}

.timeline-subtitle {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 400;
  color: #526071;
}

.timeline-venue {
  margin: 0;
  font-size: 13px;
  color: #9ca6b5;
}

.list-lines p {

  margin: 14px 0;
  color: #344054;
}

.list-lines span {
  display: inline-block;
  min-width: 130px;
  color: #344054;
}

.contact-form {
  width: min(620px, 100%);
}

.field {
  margin: 0 0 34px;
}

.field label {
  display: block;
  margin-bottom: 10px;
  color: #a3acba;
  letter-spacing: .18em;
  font-weight: 600;
  font-size: 14px;
}

.input {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #dfe4eb;
  padding: 8px 0 14px;
  font: inherit;
  color: #243043;
  outline: none;
  background: transparent;
}

.input::placeholder {
  color: #9ca6b5;
}

textarea.input {
  min-height: 150px;
  resize: vertical;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 190px;
  height: 54px;
  border: 0;
  background: var(--button);
  color: #fff;
  font: inherit;
  cursor: pointer;
}

.button:hover {
  opacity: .9;
}

.work-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.work-detail img {
  width: 90%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.work-detail > div {
  margin-left: 0;
}

.meta {
  color: #9ca6b5;
  margin-top: 0;
}

.title {
  font-size: 28px;
  line-height: 1.3;
  margin: 0 0 10px;
}

.podcast-list {
  display: grid;
  gap: 28px;
  max-width: 780px;
}

.episode {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.episode h2 {
  font-size: 20px;
  margin: 0 0 6px;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 28px var(--side);
  color: #98a2b3;
  max-width: var(--max);
  margin: auto;
  margin-left: -10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.thanks {
  min-height: calc(100vh - 160px);
  display: grid;
  place-items: center;
  text-align: center;
}

.thanks h1 {
  font-size: 30px;
  font-weight: 500;
}

.thanks p {
  color: #667085;
}

.small-heading {
  margin: 0 0 18px;
  color: #a3acba;
  font-weight: 600;
  letter-spacing: .18em;
  font-size: 15px;
}

.text-block {
  margin-top: 42px;
}

.text-block p {
  margin: 10px 0;
  color: #344054;
}

.detail-body {
  color: #526071;
  line-height: 1.9;
}

.detail-body p {
  margin: 0 0 18px;
}

.hidden-field {
  display: none !important;
}

@media (max-width: 900px) {
  :root {
    --side: 28px;
  }

  body {
    font-size: 15.5px;
    line-height: 1.7;
  }

  .header {
    height: 72px;
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(10px);
  }

  .header-inner {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 32px; /* 好きな余白 */
  }
  body.work-page .container {
    margin-left: 0;
    max-width: 100%;
    padding: 28px 28px;
  }
  .brand {
    margin-left: -12px;
  }

  .menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    height: 40px;
    padding: 0;
    font-size: 14px;
    letter-spacing: .04em;
  }

  .nav {
    display: none;
    position: absolute;
    left: var(--side);
    right: var(--side);
    top: 64px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 18px 45px rgba(16, 24, 40, .08);
    padding: 12px 16px;
    gap: 0;
    flex-direction: column;
    z-index: 100;
    color: #344054;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .nav a:last-child {
    border-bottom: 0;
  }

  .nav a[aria-current="page"],
  .nav a:hover {
    border-bottom-color: var(--line);
    color: #111827;
  }

  .container {
    padding: 0 var(--side);
  }

  .section {
    padding: 28px 0 72px;
  }

  .kicker {
    margin-bottom: 12px;
    font-size: 15px;
  }

  .hero img {
    height: calc(100svh - 72px);
    min-height: 440px;
    object-position: center;
  }

  .works-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px 24px;
  }

  .profile-grid,
  .work-detail {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .work-detail > div {
    margin-left: 0;
  }

  .profile-photo {
    width: min(310px, 100%);
  }

  .lead-ja {
    font-size: 12px;
    line-height: 1.85;
  }

  .lead-en {
    font-size: 16px;
    line-height: 1.7;
  }

  .divider {
    margin: 56px 0 38px;
  }

  .footer {
    padding: 24px var(--side);
    gap: 20px;
  }

  .footer-social svg {
    width: 20px;
    height: 20px;
  }

  .expertise-grid {
    grid-template-columns: 1fr;
  }

  .contact-form {
    width: min(620px, 100%);
  }
}

@media (max-width: 560px) {
  :root {
    --side: 20px;
  }

  .site {
    border: 0;
    border-radius: 0;
  }

  .header {
    height: 68px;
  }

  .brand {
    font-size: 18px;
    margin-left: 0;
  }

  .nav {
    top: 60px;
  }

  .section {
    padding: 24px 0 60px;
  }

  .kicker {
    margin-bottom: 10px;
    font-size: 14px;
  }

  .hero img {
    height: 68svh;
    min-height: 360px;
  }

  .works-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .work-card img {
    aspect-ratio: 4 / 3;
  }

  .work-card h2 {
    font-size: 17px;
    margin-top: 12px;
  }

  .profile-photo {
    width: 100%;
    max-width: 320px;
  }

  .lead-ja,
  .lead-en {
    font-size: 15.5px;
  }

  .list-lines p {
    margin: 18px 0;
  }

  .list-lines span {
    display: block;
    min-width: 0;
    margin-bottom: 2px;
    color: #98a2b3;
  }

  .field {
    margin-bottom: 28px;
  }

  textarea.input {
    min-height: 132px;
  }

  .button {
    width: 100%;
    height: 54px;
  }

  .work-detail {
    gap: 26px;
  }

  body.work-page .work-gallery {
    grid-template-columns: 1fr;
  }

  .title {
    font-size: 24px;
  }

  .podcast-list {
    gap: 22px;
  }

  .footer {
    padding: 20px var(--side) 32px;
    gap: 20px;
  }

  .footer-social {
    margin-bottom: 8px;
  }

  .footer-social svg {
    width: 22px;
    height: 22px;
  }

  .works-grid {
    gap: 24px 16px;
  }

  .work-card h2 {
    font-size: 16px;
  }

  .detail-body {
    font-size: 15px;
    line-height: 1.8;
  }

  body.work-page .container {
    padding: 24px 20px;
  }

  .detail-body p {
    margin: 0 0 14px;
  }

  .expertise-item {
    padding: 16px;
  }

  .expertise-item h3 {
    font-size: 15px;
  }

  .expertise-item p {
    font-size: 13px;
  }

  .timeline-date,
  .timeline-venue {
    font-size: 12px;
  }

  .timeline-title,
  .timeline-subtitle {
    font-size: 14px;
  }
}

/* Gallery layout for work pages */
.work-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 32px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 12px;
  background: #f8f9fb;
  min-height: 240px;
}

.gallery-item img,
.gallery-item video {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.gallery-item:hover img,
.gallery-item:hover video {
  transform: scale(1.02);
}
.gallery-item video {
  border: 0;
}

@media (max-width: 900px) {
  .work-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .work-gallery {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .work-detail img {
    width: 100%;
  }
}


/* =========================
   Contact / Thank you pages
========================= */

body.contact-page .section {
  padding-top: clamp(56px, 8vw, 96px);
  padding-bottom: clamp(80px, 10vw, 128px);
}

body.contact-page .contact-form {
  width: min(680px, 100%);
  margin-top: 28px;
}

body.contact-page .field {
  margin: 0 0 34px;
}

body.contact-page .field label {
  display: block;
  margin-bottom: 10px;
  color: #a3acba;
  letter-spacing: .18em;
  font-weight: 600;
  font-size: 13px;
}

body.contact-page .input {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #dfe4eb;
  padding: 8px 0 14px;
  font: inherit;
  color: #243043;
  outline: none;
  background: transparent;
  transition: border-color 0.25s ease;
}

body.contact-page .input:focus {
  border-bottom-color: #071122;
}

body.contact-page .input::placeholder {
  color: #9ca6b5;
}

body.contact-page textarea.input {
  min-height: 160px;
  resize: vertical;
}

body.contact-page .hidden-field {
  display: none !important;
}

body.thanks-page .thanks {
  min-height: calc(100vh - 160px);
  display: grid;
  place-items: center;
  text-align: center;
  padding-top: 64px;
  padding-bottom: 64px;
}

body.thanks-page .thanks h1 {
  margin: 0 0 16px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: -0.02em;
}

body.thanks-page .thanks p {
  margin: 0 0 18px;
  color: #667085;
}

body.thanks-page .thanks .button {
  margin-top: 18px;
}

@media (max-width: 560px) {
  body.contact-page .section {
    padding-top: 44px;
    padding-bottom: 80px;
  }

  body.contact-page .contact-form {
    margin-top: 24px;
  }

  body.contact-page .field {
    margin-bottom: 28px;
  }

  body.contact-page textarea.input {
    min-height: 140px;
  }

  body.thanks-page .thanks {
    min-height: calc(100vh - 136px);
    padding-top: 48px;
    padding-bottom: 48px;
  }
}

/* =========================
   Mobile common page width
   全ページ共通のスマホ左右余白
========================= */

@media (max-width: 900px) {
  :root {
    --mobile-side: clamp(28px, 6vw, 48px);
  }

  .header-inner,
  .container,
  .footer {
    width: calc(100% - var(--mobile-side) * 2);
    max-width: var(--max);
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
  }

  .header-inner {
    padding-left: 0;
    padding-right: 0;
  }

  .nav {
    left: var(--mobile-side);
    right: var(--mobile-side);
  }

  .brand {
    margin-left: 0;
  }

  body.work-page .container {
    width: min(calc(100% - var(--mobile-side) * 2), 650px);
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
  }

  .lead-ja,
  .lead-en {
    width: 100%;
  }

  .contact-form,
  .podcast-list {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 560px) {
  :root {
    --mobile-side: clamp(24px, 7vw, 32px);
  }

  .header-inner,
  .container,
  .footer {
    width: calc(100% - var(--mobile-side) * 2);
    max-width: none;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
  }

  body.work-page .container {
    width: calc(100% - var(--mobile-side) * 2);
    max-width: none;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
  }

  .section {
    padding-top: 28px;
    padding-bottom: 64px;
  }

  .works-grid,
  .profile-grid,
  .work-detail,
  .work-gallery {
    width: 100%;
  }

  .work-detail img,
  .profile-photo {
    width: 100%;
    max-width: 100%;
  }

  .button {
    width: 100%;
  }
}

/* =========================
   About page refinement
========================= */

.profile-name {
  margin: 0 0 6px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.profile-role {
  margin: 0 0 28px;
  color: #98a2b3;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.profile-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 34px;
}

.text-link {
  color: #667085;
  font-size: 14px;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

.text-link:hover {
  color: #171717;
}

.available-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 28px;
  max-width: 780px;
  margin-top: 24px;
}

.available-list p {
  margin: 0;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  color: #344054;
}

@media (max-width: 700px) {
  .profile-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
  }

  .available-list {
    grid-template-columns: 1fr;
  }
}

/* =========================
   Contact page refinement
========================= */

.contact-intro {
  max-width: 780px;
  margin-bottom: 48px;
}

.contact-title {
  margin: 0 0 22px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.contact-lead,
.contact-lead-en {
  max-width: 720px;
  margin: 0 0 16px;
  color: #344054;
}

.contact-lead {
  font-size: 15px;
  line-height: 1.9;
}

.contact-lead-en {
  font-size: 15px;
  line-height: 1.75;
  color: #667085;
}

.contact-available {
  max-width: 820px;
  margin: 0 0 56px;
}

.contact-available-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 28px;
  margin-top: 20px;
}

.contact-available-grid p {
  margin: 0;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  color: #344054;
}

select.input {
  appearance: none;
  -webkit-appearance: none;
  border-radius: 0;
}

@media (max-width: 700px) {
  .contact-intro {
    margin-bottom: 40px;
  }

  .contact-available {
    margin-bottom: 48px;
  }

  .contact-available-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .contact-available-grid p {
    padding: 14px 0;
  }
}


/* =========================
   Work information block
========================= */

.work-info {
  margin: 22px 0 32px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.work-info-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.work-info-row:last-child {
  border-bottom: 0;
}

.work-info-row span {
  color: #98a2b3;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.work-info-row p {
  margin: 0;
  color: #344054;
  font-size: 14px;
  line-height: 1.7;
}

@media (max-width: 560px) {
  .work-info {
    margin: 20px 0 28px;
  }

  .work-info-row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 14px 0;
  }

  .work-info-row span {
    font-size: 11px;
  }

  .work-info-row p {
    font-size: 14px;
  }
}

/* =========================
   Home intro refinement
   Left aligned intro text
========================= */

.intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px var(--side);
}

.intro-content {
  width: min(900px, 100%);
  max-width: none;
  text-align: left;
}

.intro-line {
  margin: 0;
  opacity: 0;
  transform: translateY(24px);
  animation: introLine 0.7s ease forwards;
  color: #111;
  font-size: clamp(30px, 5vw, 64px);
  line-height: 1.14;
  letter-spacing: -0.035em;
  font-weight: 500;
}

.intro-line + .intro-line {
  margin-top: 8px;
}

.intro-line-1 {
  animation-delay: 0.15s;
}

.intro-line-2 {
  animation-delay: 0.85s;
}

.intro-line-3 {
  animation-delay: 1.2s;
}

.intro-overlay.intro-fade {
  opacity: 0;
  transition: opacity 1.2s ease;
}

@media (max-width: 560px) {
  .intro-overlay {
    padding: 40px 28px;
  }

  .intro-line {
    font-size: clamp(32px, 10vw, 48px);
    line-height: 1.12;
    letter-spacing: -0.04em;
  }
}


/* =========================
   Work page main image compact
   作品詳細ページのメイン画像を縦に抑える
========================= */

body.work-page .work-detail > img {
  width: 100%;
  max-width: 650px;
  height: min(50vh, 360px);
  object-fit: cover;
  object-position: center;
  margin: 0 auto;
}

/* =========================
   Home hero carousel
========================= */

.hero-carousel {
  position: relative;
  width: 100%;
  height: calc(100vh - 150px);
  min-height: 520px;
  overflow: hidden;
  background: #f4f6f8;
}

.hero-carousel .hero-slide {
  position: absolute;
  inset: 0;
  display: block;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.2s ease;
}

.hero-carousel .hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

.hero-carousel .hero-slide img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 900px) {
  .hero-carousel {
    height: calc(100svh - 72px);
    min-height: 440px;
  }
}

@media (max-width: 560px) {
  .hero-carousel {
    height: 68svh;
    min-height: 360px;
  }
}