:root {
  --ink: #342c2c;
  --ink-soft: #675b5a;
  --pink: #d78f96;
  --pink-deep: #bd6d77;
  --pink-pale: #f8e9e9;
  --pink-wash: #fdf6f5;
  --beige: #eee1d5;
  --beige-pale: #f8f3ed;
  --white: #fffdfb;
  --line: rgba(91, 69, 67, 0.16);
  --shadow: 0 24px 70px rgba(91, 56, 52, 0.11);
  --serif: "Noto Serif JP", "Yu Mincho", serif;
  --sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}

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

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

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

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 28px clamp(24px, 5vw, 76px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: white;
  font-size: 14px;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3vw, 46px);
  font-size: 13px;
  font-weight: 600;
}

.nav a:not(.nav-contact) {
  position: relative;
}

.nav a:not(.nav-contact)::after {
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 0;
  height: 1px;
  background: var(--pink-deep);
  content: "";
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.nav a:hover::after,
.nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-contact {
  padding: 10px 20px;
  border: 1px solid var(--ink);
  border-radius: 999px;
}

.hero {
  position: relative;
  display: grid;
  min-height: 800px;
  padding: 150px clamp(24px, 5vw, 80px) 90px;
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
  align-items: center;
  gap: clamp(28px, 4vw, 64px);
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(255, 253, 251, 0.98) 0%, rgba(255, 253, 251, 0.92) 52%, rgba(248, 233, 233, 0.88) 100%),
    radial-gradient(circle at 82% 18%, #f3d6d7, transparent 36%);
}

.hero::before {
  position: absolute;
  top: 0;
  right: 8%;
  width: 1px;
  height: 23%;
  background: var(--pink);
  content: "";
  opacity: 0.5;
}

.hero-decoration {
  position: absolute;
  border: 1px solid rgba(189, 109, 119, 0.25);
  border-radius: 50%;
}

.hero-decoration-one {
  right: -130px;
  bottom: -190px;
  width: 480px;
  height: 480px;
}

.hero-decoration-two {
  right: -54px;
  bottom: -112px;
  width: 320px;
  height: 320px;
}

.hero-copy,
.hero-visual {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--pink-deep);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  line-height: 1.4;
}

.hero h1,
.section h2,
.contact h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.hero h1 {
  font-size: clamp(58px, 6.2vw, 88px);
  line-height: 1.45;
}

.hero-line {
  position: relative;
  display: block;
  width: max-content;
  max-width: 100%;
  white-space: nowrap;
}

.hero-line-first {
  font-size: 0.86em;
}

.hero-line-accent {
  color: var(--pink-deep);
  font-size: 0.82em;
}

.hero-line-accent::after {
  position: absolute;
  right: -8px;
  bottom: 10px;
  left: -8px;
  z-index: -1;
  height: 13px;
  background: rgba(238, 225, 213, 0.78);
  content: "";
}

.hero-lead {
  margin: 30px 0 0;
  color: var(--ink-soft);
  font-size: 17px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  border-color: var(--pink-deep);
  background: var(--pink-deep);
  color: white;
  box-shadow: 0 12px 28px rgba(189, 109, 119, 0.22);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #a95863;
}

.button-secondary {
  background: rgba(255, 253, 251, 0.6);
}

.hero-facts {
  display: flex;
  gap: 0;
  margin: 48px 0 0;
}

.hero-facts div {
  padding-right: 30px;
}

.hero-facts div + div {
  padding-left: 30px;
  border-left: 1px solid var(--line);
}

.hero-facts dt {
  color: var(--ink-soft);
  font-size: 11px;
}

.hero-facts dd {
  margin: 3px 0 0;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 700;
}

.hero-visual {
  width: min(100%, 570px);
  justify-self: center;
}

.portrait-frame {
  position: relative;
  padding: clamp(12px, 2vw, 22px);
  border-radius: 48% 48% 18px 18px;
  background: var(--pink-pale);
  box-shadow: var(--shadow);
  transform: rotate(1.4deg);
}

.portrait-frame::before {
  position: absolute;
  top: -18px;
  right: -18px;
  width: 76px;
  height: 76px;
  border-top: 1px solid var(--pink-deep);
  border-right: 1px solid var(--pink-deep);
  content: "";
}

.portrait-frame img {
  width: 100%;
  height: auto;
  border-radius: 46% 46% 10px 10px;
}

.hero-note {
  position: absolute;
  right: -26px;
  bottom: -30px;
  display: grid;
  min-width: 160px;
  gap: 3px;
  padding: 18px 22px;
  border: 1px solid rgba(189, 109, 119, 0.25);
  background: rgba(255, 253, 251, 0.92);
  box-shadow: 0 14px 36px rgba(91, 56, 52, 0.1);
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.08em;
  transform: rotate(-3deg);
}

.section {
  padding: 120px clamp(24px, 7vw, 112px);
}

.section-label,
.section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

.section-number {
  margin: 0;
  color: var(--pink);
  font-family: var(--serif);
  font-size: 15px;
}

.section h2 {
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.5;
}

.section-intro {
  max-width: 410px;
  margin: 4px 0 0;
  color: var(--ink-soft);
}

.about {
  background: var(--white);
}

.about-grid {
  display: grid;
  margin-top: 34px;
  grid-template-columns: minmax(300px, 0.9fr) minmax(380px, 1.1fr);
  gap: clamp(54px, 9vw, 150px);
}

.about-copy {
  max-width: 700px;
  color: var(--ink-soft);
  font-size: 17px;
}

.about-copy p {
  margin: 0;
}

.about-copy p + p {
  margin-top: 20px;
}

.services {
  background: var(--beige-pale);
}

.service-grid {
  display: grid;
  margin-top: 64px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  min-height: 280px;
  padding: clamp(28px, 3.5vw, 46px);
  border: 1px solid rgba(91, 69, 67, 0.12);
  border-radius: 8px;
  background: rgba(255, 253, 251, 0.76);
}

.service-card-featured {
  background: var(--pink-pale);
}

.card-number {
  margin: 0 0 36px;
  color: var(--pink-deep);
  font-family: var(--serif);
  font-size: 12px;
}

.service-card h3,
.work-card h3,
.value-list h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.55;
}

.service-card > p:last-child,
.work-card > p,
.value-list p {
  color: var(--ink-soft);
}

.service-card > p:last-child {
  margin: 16px 0 0;
}

.genres {
  position: relative;
  overflow: hidden;
}

.genres::after {
  position: absolute;
  right: -110px;
  bottom: -180px;
  width: 380px;
  height: 380px;
  border: 1px solid var(--pink-pale);
  border-radius: 50%;
  content: "";
}

.genre-list {
  position: relative;
  z-index: 1;
  display: grid;
  max-width: 900px;
  margin: 56px auto 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.genre-item {
  display: flex;
  min-height: 220px;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 50% 50% 8px 8px;
  background: var(--white);
  text-align: center;
}

.genre-item span {
  color: var(--pink-deep);
  font-family: var(--serif);
  font-size: 11px;
}

.genre-item p {
  margin: auto 0;
  font-family: var(--serif);
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 700;
  line-height: 1.7;
}

.works {
  background: var(--pink-wash);
}

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

.work-card {
  display: flex;
  min-height: 390px;
  flex-direction: column;
  padding: clamp(30px, 4vw, 52px);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  box-shadow: 0 14px 45px rgba(91, 56, 52, 0.05);
}

.work-card-accent {
  background: var(--beige);
}

.work-card-corporate {
  background: var(--pink-pale);
}

.work-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 48px;
}

.work-category {
  color: var(--pink-deep);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.work-index {
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 12px;
}

.work-card h3 {
  font-size: clamp(24px, 2.8vw, 36px);
}

.work-card > p {
  margin: 18px 0 0;
}

.work-stats {
  display: grid;
  margin: 36px 0 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.work-stats div {
  padding: 22px;
  border-radius: 6px;
  background: var(--pink-wash);
}

.work-stats dt {
  color: var(--ink-soft);
  font-size: 11px;
}

.work-stats dd {
  margin: 5px 0 0;
  font-family: var(--serif);
  font-size: clamp(18px, 2vw, 25px);
  font-weight: 700;
}

.work-client {
  color: var(--ink) !important;
  font-size: 13px;
  font-weight: 700;
}

.article-title {
  padding-top: 18px;
  border-top: 1px solid rgba(91, 69, 67, 0.18);
  font-size: 14px;
}

.text-link {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 28px;
  border-bottom: 1px solid var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.text-link span {
  color: var(--pink-deep);
}

.values {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(440px, 1.25fr);
  gap: clamp(50px, 10vw, 160px);
}

.values-heading {
  position: sticky;
  top: 60px;
  align-self: start;
}

.value-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.value-list li {
  display: grid;
  padding: 34px 0;
  border-top: 1px solid var(--line);
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 22px;
}

.value-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.value-list li > span {
  color: var(--pink-deep);
  font-family: var(--serif);
  font-size: 12px;
}

.value-list p {
  margin: 8px 0 0;
}

.details {
  display: grid;
  padding-top: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.details-single {
  grid-template-columns: 1fr;
}

.detail-card {
  padding: clamp(36px, 5vw, 70px);
  border: 1px solid var(--line);
  background: var(--white);
}

.detail-card + .detail-card {
  border-left: 0;
}

.detail-card-tint {
  background: var(--pink-pale);
}

.detail-card h2 {
  font-size: 24px;
}

.detail-main {
  margin: 20px 0 6px;
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 50px);
  font-weight: 700;
  line-height: 1.5;
}

.detail-main-small {
  font-size: clamp(28px, 3vw, 38px);
}

.detail-card > p:last-child {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.contact {
  position: relative;
  overflow: hidden;
  padding: 120px 24px;
  background: linear-gradient(135deg, var(--white) 0%, var(--pink-pale) 54%, var(--beige-pale) 100%);
  color: var(--ink);
  text-align: center;
}

.contact-inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.contact h2 {
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.55;
}

.contact-inner > p:not(.eyebrow) {
  margin: 26px 0 0;
  color: var(--ink-soft);
}

.button-large {
  min-width: 230px;
  margin-top: 36px;
  border-color: var(--pink);
  background: var(--pink-deep);
  box-shadow: 0 16px 34px rgba(189, 109, 119, 0.2);
  color: white;
}

.button-large:hover,
.button-large:focus-visible {
  background: #a95d68;
}

.contact-lines span {
  position: absolute;
  border: 1px solid rgba(189, 109, 119, 0.2);
  border-radius: 50%;
}

.contact-lines span:nth-child(1) {
  top: -260px;
  left: -180px;
  width: 540px;
  height: 540px;
}

.contact-lines span:nth-child(2) {
  right: -120px;
  bottom: -280px;
  width: 520px;
  height: 520px;
}

.contact-lines span:nth-child(3) {
  right: 40px;
  bottom: -150px;
  width: 280px;
  height: 280px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px clamp(24px, 7vw, 112px);
  background: #272121;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer .brand-mark {
  background: var(--pink);
  color: var(--ink);
}

.site-footer p {
  margin: 0;
  font-size: 11px;
}

@media (max-width: 980px) {
  .nav a:not(.nav-contact) {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 135px;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
    gap: 42px;
  }

  .hero h1 {
    font-size: clamp(38px, 5.5vw, 56px);
  }

  .about-grid,
  .values {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .values-heading {
    position: static;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 15px;
    line-height: 1.8;
  }

  .site-header {
    padding: 18px 20px;
  }

  .brand {
    gap: 8px;
    font-size: 12px;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
  }

  .nav-contact {
    padding: 8px 14px;
    font-size: 11px;
  }

  .hero {
    padding: 112px 14px 72px;
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .hero h1 {
    font-size: clamp(40px, 11vw, 48px);
    line-height: 1.45;
  }

  .hero-line-first {
    font-size: 0.9em;
  }

  .hero-line-accent {
    font-size: 0.78em;
  }

  .hero-title-tail {
    display: block;
  }

  .hero-line-accent::after {
    bottom: 6px;
    height: 9px;
  }

  .hero-lead {
    margin-top: 24px;
    font-size: 15px;
  }

  .desktop-only {
    display: none;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .hero-facts {
    margin-top: 34px;
  }

  .hero-facts div {
    padding-right: 20px;
  }

  .hero-facts div + div {
    padding-left: 20px;
  }

  .hero-visual {
    width: min(88%, 430px);
  }

  .portrait-frame {
    border-radius: 44% 44% 12px 12px;
  }

  .hero-note {
    right: -20px;
    bottom: -22px;
    min-width: 134px;
    padding: 13px 16px;
    font-size: 10px;
  }

  .section {
    padding: 82px 22px;
  }

  .section-label,
  .section-heading {
    display: block;
  }

  .section-number {
    display: none;
  }

  .section-intro {
    margin-top: 18px;
  }

  .about-grid {
    margin-top: 24px;
    gap: 30px;
  }

  .about-copy {
    font-size: 15px;
  }

  .service-grid,
  .genre-list,
  .work-grid,
  .details {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .genre-list,
  .work-grid {
    margin-top: 42px;
  }

  .service-card {
    min-height: 0;
  }

  .card-number {
    margin-bottom: 24px;
  }

  .genre-item {
    min-height: 180px;
    padding: 25px;
    border-radius: 100px 100px 8px 8px;
  }

  .work-card {
    min-height: 0;
    grid-row: auto;
  }

  .work-topline {
    margin-bottom: 32px;
  }

  .work-stats {
    grid-template-columns: 1fr;
  }

  .values {
    gap: 28px;
  }

  .value-list li {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 10px;
  }

  .details {
    padding-top: 0;
  }

  .detail-card + .detail-card {
    border-top: 0;
    border-left: 1px solid var(--line);
  }

  .contact {
    padding: 86px 22px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
