:root {
  --color-bg: #F2F1EE;
  --color-bg-soft: #F2F1EE;
  --color-text: #928572;
  --color-muted: #928572;
  --color-line: rgba(146, 133, 114, 0.22);
  --color-white: #fffdf8;
  --color-footer: #E3E2DC;
  --color-footer-text: #928572;
  --color-footer-muted: #928572;
  --font-sans: Inter, "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Yu Gothic", YuGothic, Meiryo, sans-serif;
  --font-mincho: "Shippori Mincho B1", "Yu Mincho", YuMincho, "Hiragino Mincho ProN", serif;
  --header-height: 82px;
  --side-space: clamp(22px, 5vw, 72px);
  --section-space: clamp(112px, 15vw, 220px);
  --content-width: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 300;
  line-height: 2;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.is-menu-open {
  overflow: hidden;
}

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

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

.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: var(--header-height);
  padding: 0 var(--side-space);
  color: var(--color-white);
  transition: background-color 0.5s var(--ease), color 0.5s var(--ease), height 0.5s var(--ease);
}

.site-header::before,
.hero::after {
  position: absolute;
  pointer-events: none;
  content: "";
}

.site-header::before {
  z-index: -1;
  inset: 0;
  background: linear-gradient(to bottom, rgba(18, 16, 12, 0.22), rgba(18, 16, 12, 0));
}

.site-header.is-scrolled {
  height: 68px;
  background: rgba(242, 241, 238, 0.91);
  color: var(--color-text);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled::before {
  opacity: 0;
}

.site-header.is-open {
  height: 68px;
  color: var(--color-text);
}

.site-header.is-open::before {
  opacity: 0;
}

.site-logo,
.hero-title {
  font-weight: 300;
}

.site-logo {
  font-size: 18px;
  line-height: 1;
  opacity: 0;
  transition: opacity 0.45s var(--ease);
}

.site-header.is-scrolled .site-logo {
  opacity: 1;
}

.desktop-nav {
  display: flex;
  gap: clamp(22px, 3vw, 42px);
  align-items: center;
  font-size: 12px;
  line-height: 1;
}

.desktop-nav a,
.footer-nav a,
.text-link {
  position: relative;
}

.desktop-nav a::after,
.footer-nav a::after,
.text-link::after {
  position: absolute;
  right: 0;
  bottom: -0.45em;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  opacity: 0;
  transform: scaleX(0.4);
  transform-origin: center;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

.desktop-nav a:hover::after,
.footer-nav a:hover::after,
.text-link:hover::after {
  opacity: 0.62;
  transform: scaleX(1);
}

.text-link-visible::after {
  opacity: 0.62;
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  position: relative;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  background: transparent;
  color: currentColor;
  cursor: pointer;
}

.menu-toggle span {
  position: absolute;
  left: 8px;
  width: 26px;
  height: 1px;
  background: currentColor;
  transition: transform 0.45s var(--ease), top 0.45s var(--ease);
}

.menu-toggle span:first-child {
  top: 17px;
}

.menu-toggle span:last-child {
  top: 25px;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  top: 21px;
  transform: rotate(20deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  top: 21px;
  transform: rotate(-20deg);
}

.mobile-menu {
  position: fixed;
  z-index: 20;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  padding: 96px var(--side-space) 56px;
  background: rgba(242, 241, 238, 0.97);
  color: var(--color-text);
  font-size: 20px;
  font-weight: 300;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}

.mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-menu-space {
  display: block;
  min-height: 16px;
}

.mobile-menu-person {
  align-self: flex-start;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  font-family: var(--font-mincho);
  font-size: 14px;
  font-weight: 400;
}

.hero,
.second-view {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: #d8d0c3;
}

.hero-slider,
.hero-slide,
.full-photo,
.hero-slide img,
.full-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-slide {
  opacity: 0;
  transition: opacity 1.8s ease;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-slide img,
.full-photo img {
  object-fit: cover;
}

.hero-slide-a img {
  object-position: center center;
}

.hero-slide-b img {
  object-position: center center;
}

.hero-slide-c img {
  object-position: center center;
}

.full-photo-d img {
  object-position: center center;
}

.hero::after {
  inset: 0;
  background: linear-gradient(to bottom, rgba(20, 18, 15, 0.18), rgba(20, 18, 15, 0) 34%, rgba(20, 18, 15, 0.16));
}

.second-view::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(18, 16, 12, 0.08), rgba(18, 16, 12, 0.2) 42%, rgba(18, 16, 12, 0.34));
  content: "";
  pointer-events: none;
}

.second-view-copy {
  position: absolute;
  z-index: 2;
  right: var(--side-space);
  bottom: clamp(48px, 7vw, 96px);
  left: var(--side-space);
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(42px, 7vw, 104px);
  align-items: start;
  color: var(--color-white);
  text-shadow: 0 1px 18px rgba(18, 16, 12, 0.28);
}

.second-view-block p {
  margin: 0;
}

.second-view-label {
  margin-bottom: 18px;
  font-size: 13px;
  line-height: 1.4;
}

.second-view-block p:not(.second-view-label) {
  font-family: var(--font-mincho);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.85;
}

.hero-title {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: calc(100% - var(--side-space) * 2);
  margin: 0;
  color: var(--color-white);
  font-size: clamp(14px, 5vw, 56px);
  line-height: 1;
  text-align: center;
  text-shadow: 0 1px 16px rgba(18, 16, 12, 0.24);
  transform: translate(-50%, -50%);
}

.section-inner {
  width: min(calc(100% - var(--side-space) * 2), var(--content-width));
  margin: 0 auto;
}

.content-section {
  padding: var(--section-space) 0;
}

.section-label {
  margin: 0 0 clamp(26px, 4vw, 52px);
  color: var(--color-muted);
  font-size: 13px;
  line-height: 1.4;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(180px, 0.34fr) minmax(0, 0.66fr);
  gap: clamp(46px, 9vw, 132px);
}

h2,
h3,
p {
  overflow-wrap: anywhere;
}

h2,
h3 {
  margin: 0;
  font-weight: 300;
  line-height: 1.55;
}

h2 {
  font-size: clamp(23px, 3vw, 39px);
}

h3 {
  font-size: clamp(21px, 1.9vw, 28px);
}

.business-list {
  display: grid;
  gap: clamp(42px, 5.4vw, 74px);
}

.business-item {
  padding-bottom: clamp(36px, 4.4vw, 58px);
  border-bottom: 1px solid var(--color-line);
}

.business-item p,
.simple-info p {
  margin: 18px 0 0;
  color: var(--color-muted);
}

.business-item p {
  font-family: var(--font-mincho);
  font-weight: 400;
}

.business-subtitle {
  margin-top: 4px;
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.7;
}

.simple-info {
  font-family: var(--font-mincho);
  font-size: clamp(17px, 1.4vw, 20px);
  font-weight: 400;
}

.simple-info p:first-child {
  margin-top: 0;
}

.text-link {
  display: inline-block;
  margin-top: 42px;
  font-size: 13px;
  line-height: 1.5;
}

.contact-section {
  padding-top: clamp(92px, 11vw, 160px);
}

.site-footer {
  background: var(--color-footer);
  color: var(--color-footer-text);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(54px, 10vw, 150px);
  width: min(calc(100% - var(--side-space) * 2), var(--content-width));
  margin: 0 auto;
  padding: clamp(72px, 10vw, 132px) 0 clamp(34px, 5vw, 58px);
}

.footer-brand p {
  margin: 0;
  font-family: var(--font-mincho);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.9;
}

.footer-brand p + p {
  margin-top: 16px;
  color: var(--color-footer-muted);
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 38px;
  align-content: start;
  color: var(--color-footer-muted);
  font-family: var(--font-mincho);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.7;
}

.footer-nav-space {
  display: block;
  grid-column: 1 / -1;
  min-height: 34px;
}

.footer-person-link {
  grid-column: 1 / -1;
  justify-self: start;
}

.copyright {
  grid-column: 1 / -1;
  margin: clamp(62px, 7vw, 96px) 0 0;
  color: var(--color-footer-muted);
  font-size: 12px;
  line-height: 1.5;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

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

.company-hero-content {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: calc(100% - var(--side-space) * 2);
  color: var(--color-white);
  text-align: center;
  text-shadow: 0 1px 16px rgba(18, 16, 12, 0.24);
  transform: translate(-50%, -50%);
}

.company-hero-label {
  margin: 0 0 18px;
  font-size: 13px;
  line-height: 1.4;
}

.company-hero h1 {
  margin: 0;
  font-family: var(--font-mincho);
  font-size: clamp(23px, 3vw, 39px);
  font-weight: 400;
  line-height: 1.55;
}

.company-profile-list {
  font-family: var(--font-mincho);
  font-size: clamp(17px, 1.4vw, 20px);
  font-weight: 400;
}

.company-profile-item {
  display: grid;
  grid-template-columns: minmax(150px, 0.28fr) minmax(0, 0.72fr);
  gap: clamp(28px, 5vw, 70px);
  padding: clamp(28px, 3.4vw, 44px) 0;
  border-bottom: 1px solid var(--color-line);
}

.company-profile-item:first-child {
  padding-top: 0;
}

.company-profile-label,
.company-profile-value p {
  margin: 0;
}

.company-profile-label {
  color: var(--color-text);
}

.company-profile-value p + p,
.company-profile-value p + .profile-link {
  margin-top: 8px;
}

.company-note {
  font-size: 0.82em;
  line-height: 1.8;
}

.company-business-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.profile-link {
  position: relative;
  display: inline-block;
}

.profile-link::after {
  position: absolute;
  right: 0;
  bottom: -0.35em;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  opacity: 0;
  transform: scaleX(0.4);
  transform-origin: center;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

.profile-link:hover::after {
  opacity: 0.62;
  transform: scaleX(1);
}

.legal-page .site-header {
  color: var(--color-text);
}

.legal-page .site-header::before {
  opacity: 0;
}

.legal-page .site-logo {
  opacity: 1;
}

.legal-hero {
  width: min(calc(100% - var(--side-space) * 2), var(--content-width));
  margin: 0 auto;
  padding: clamp(174px, 19vw, 260px) 0 clamp(84px, 10vw, 138px);
  border-bottom: 1px solid var(--color-line);
}

.legal-hero-label {
  margin: 0 0 clamp(24px, 3vw, 38px);
  font-size: 13px;
  line-height: 1.4;
}

.legal-hero h1 {
  margin: 0;
  font-family: var(--font-mincho);
  font-size: clamp(23px, 3vw, 39px);
  font-weight: 400;
  line-height: 1.55;
}

.legal-content {
  width: min(calc(100% - var(--side-space) * 2), var(--content-width));
  margin: 0 auto;
  padding: clamp(88px, 11vw, 154px) 0 var(--section-space);
}

.privacy-content {
  max-width: 820px;
}

.privacy-lead,
.privacy-section p,
.privacy-signature p,
.legal-value p {
  margin: 0;
}

.privacy-lead,
.privacy-section,
.privacy-signature,
.legal-list {
  font-family: var(--font-mincho);
  font-weight: 400;
}

.privacy-section {
  margin-top: clamp(52px, 6vw, 76px);
}

.privacy-section h2 {
  margin-bottom: 20px;
  font-size: clamp(19px, 1.7vw, 24px);
}

.privacy-contact p + p,
.privacy-signature p + p,
.legal-value p + p {
  margin-top: 8px;
}

.privacy-signature {
  margin-top: clamp(66px, 8vw, 104px);
}

.legal-list {
  font-size: clamp(16px, 1.25vw, 19px);
}

.legal-row {
  display: grid;
  grid-template-columns: minmax(180px, 0.3fr) minmax(0, 0.7fr);
  gap: clamp(32px, 6vw, 84px);
  padding: clamp(30px, 3.6vw, 46px) 0;
  border-bottom: 1px solid var(--color-line);
}

.legal-row:first-child {
  padding-top: 0;
}

.legal-label {
  margin: 0;
}

.legal-value a {
  position: relative;
  display: inline-block;
}

.legal-value a::after {
  position: absolute;
  right: 0;
  bottom: -0.25em;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

.legal-value a:hover::after {
  opacity: 0.62;
  transform: scaleX(1);
}

.contact-content {
  max-width: 820px;
  font-family: var(--font-mincho);
  font-weight: 400;
}

.contact-content h2 {
  font-size: clamp(21px, 1.9vw, 28px);
}

.contact-copy {
  margin: clamp(28px, 4vw, 48px) 0 0;
}

.contact-copy p {
  margin: 0;
}

.contact-copy p + p {
  margin-top: clamp(22px, 3vw, 34px);
}

.contact-cta-wrap {
  margin-top: clamp(58px, 7vw, 88px);
}

.contact-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 0 clamp(18px, 2.2vw, 26px);
  border-bottom: 1px solid var(--color-line);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.6;
  transition: opacity 0.35s var(--ease);
}

.contact-cta:hover {
  opacity: 0.62;
}

.contact-cta-arrow {
  flex: 0 0 auto;
}

.contact-external-note {
  margin: 14px 0 0;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 300;
  line-height: 1.8;
}

.error-page .site-header {
  color: var(--color-text);
}

.error-page .site-header::before {
  opacity: 0;
}

.error-page .site-logo {
  opacity: 1;
}

.error-page main {
  display: flex;
  min-height: max(680px, 78svh);
  align-items: center;
}

.error-content {
  width: min(calc(100% - var(--side-space) * 2), var(--content-width));
  margin: 0 auto;
  padding: clamp(154px, 18vw, 230px) 0 clamp(96px, 11vw, 150px);
}

.error-label {
  margin: 0 0 clamp(24px, 3vw, 38px);
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 300;
  line-height: 1;
}

.error-content h1 {
  margin: 0;
  font-family: var(--font-mincho);
  font-size: clamp(23px, 3vw, 39px);
  font-weight: 400;
  line-height: 1.55;
}

.error-message {
  margin: clamp(24px, 3vw, 38px) 0 0;
  font-family: var(--font-mincho);
  font-weight: 400;
}

@media (max-width: 1200px) {
  .second-view-block p:not(.second-view-label) {
    font-size: 20px;
  }
}

@media (max-width: 767px) {
  :root {
    --header-height: 68px;
    --side-space: 22px;
    --section-space: 96px;
  }

  body {
    font-size: 15px;
    line-height: 1.95;
  }

  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .site-logo {
    font-size: 16px;
  }

  .hero-title {
    font-size: 20px;
  }

  .second-view::after {
    background: linear-gradient(to bottom, rgba(18, 16, 12, 0.1), rgba(18, 16, 12, 0.24) 36%, rgba(18, 16, 12, 0.44));
  }

  .second-view-copy {
    bottom: 44px;
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .second-view-label {
    margin-bottom: 12px;
    font-size: 12px;
  }

  .second-view-block p:not(.second-view-label) {
    font-size: 20px;
    line-height: 1.78;
  }

  .second-view-block:last-child p:not(.second-view-label) br {
    display: none;
  }

  .pc-only-break {
    display: none;
  }

  .section-label {
    margin-bottom: 28px;
    font-size: 12px;
  }

  .section-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  h2 {
    font-size: 23px;
  }

  .company-hero h1 {
    font-size: 23px;
  }

  h3 {
    font-size: 21px;
  }

  .business-list {
    gap: 38px;
  }

  .business-item {
    padding-bottom: 34px;
  }

  .business-item p,
  .simple-info p {
    margin-top: 14px;
  }

  .business-subtitle {
    font-size: 13px;
  }

  .simple-info {
    font-size: 16px;
  }

  .company-profile-list {
    font-size: 16px;
  }

  .company-profile-item {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 24px 0;
  }

  .legal-hero {
    padding: 148px 0 76px;
  }

  .legal-hero-label {
    margin-bottom: 24px;
    font-size: 12px;
  }

  .legal-hero h1 {
    font-size: 23px;
  }

  .legal-content {
    padding-top: 76px;
  }

  .privacy-section {
    margin-top: 48px;
  }

  .privacy-section h2 {
    margin-bottom: 14px;
    font-size: 19px;
  }

  .legal-list {
    font-size: 16px;
  }

  .legal-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 26px 0;
  }

  .contact-content h2 {
    font-size: 21px;
  }

  .contact-copy {
    margin-top: 26px;
  }

  .contact-cta-wrap {
    margin-top: 50px;
  }

  .contact-cta {
    padding-bottom: 18px;
    font-size: 13px;
  }

  .error-page main {
    min-height: max(600px, 76svh);
  }

  .error-content {
    padding: 132px 0 88px;
  }

  .error-label {
    margin-bottom: 24px;
    font-size: 36px;
  }

  .error-content h1 {
    font-size: 23px;
  }

  .error-message {
    margin-top: 20px;
  }

  .text-link {
    margin-top: 32px;
    font-size: 12px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 44px;
    padding: 68px 0 34px;
  }

  .footer-nav {
    grid-template-columns: 1fr;
    gap: 13px;
    font-size: 12px;
  }

  .copyright {
    margin-top: 28px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}
