/* ============================================================
   Le tiroir | Layout refinement
   Page-by-page readability, type consistency and motion fit.
   ============================================================ */

:root {
  --site-jp: "Shippori Mincho", "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", YuMincho, serif; --text-v37-site-jp: "Shippori Mincho", "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", YuMincho, serif;
  --site-en: "Cormorant Garamond", "EB Garamond", "Times New Roman", serif; --text-v37-site-en: "Cormorant Garamond", "EB Garamond", "Times New Roman", serif;
  --font-mincho: var(--site-jp); --text-v37-font-mincho: var(--text-v37-site-jp);
  --font-serif: var(--site-jp); --text-v37-font-serif: var(--text-v37-site-jp);
  --font-gothic: var(--site-jp); --text-v37-font-gothic: var(--text-v37-site-jp);
  --font-sans: var(--site-jp); --text-v37-font-sans: var(--text-v37-site-jp);
  --ad-display: var(--site-jp) !important; --text-v37-ad-display: var(--text-v37-site-jp) !important;
  --ad-body: var(--site-jp) !important; --text-v37-ad-body: var(--text-v37-site-jp) !important;
  --ad-ui: var(--site-jp) !important; --text-v37-ad-ui: var(--text-v37-site-jp) !important;
  --works-display: var(--site-jp) !important; --text-v37-works-display: var(--text-v37-site-jp) !important;
  --works-body: var(--site-jp) !important; --text-v37-works-body: var(--text-v37-site-jp) !important;
  --works-ui: var(--site-jp) !important; --text-v37-works-ui: var(--text-v37-site-jp) !important;
}

html {
  overflow-x: clip;
}

body,
button,
input,
select,
textarea {
  font-family: var(--site-jp);
  font-weight: 400;
  font-feature-settings: "palt" 1;
}

body:not(.page-home) {
  color: #30383e;
  font-size: 15px;
  line-height: 2;
  letter-spacing: .035em;
}

body:not(.page-home) main {
  overflow: clip;
}

body:not(.page-home) main p,
body:not(.page-home) main li,
body:not(.page-home) main dd,
body:not(.page-home) main td {
  line-height: 2.05;
}

.works-intro__en,
.page-head__en,
.faq-head__label,
.c-top__en,
.c-info__en,
.contact-intro__en,
.sec-num,
.sec-head__num,
.concept-card__num,
.flow-step__num,
.step-card__num,
.faq-cat__num {
  font-family: var(--site-en) !important;
}

/* Shared header: same position and typography on every page. */
.site-header .site-header__nav {
  top: 42px;
  gap: clamp(20px, 2vw, 30px);
}

.site-header .site-header__nav a,
.site-header .site-header__menu-trigger {
  font-family: var(--site-jp);
  font-size: clamp(14px, 1.08vw, 16px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: .055em;
}

.site-header .site-header__contact {
  font-family: var(--site-jp);
  top: 24px;
  right: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 188px;
  height: 58px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .48);
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #39779d 0%, #39779d 58%, #39779d 100%);
  box-shadow: 0 12px 28px rgba(57, 119, 157, .16);
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .075em;
  transition: transform .28s ease, box-shadow .28s ease, filter .28s ease;
}

.site-header .site-header__contact img {
  display: none;
}

.site-header .site-header__contact > span {
  position: relative;
  z-index: 2;
  transform: none;
}

.site-header .site-header__contact::before {
  position: absolute;
  inset: 1px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: inherit;
  content: "";
  pointer-events: none;
}

.site-header .site-header__contact::after {
  position: relative;
  z-index: 2;
  content: "→";
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  transition: transform .28s ease;
}

body.motion-loaded .site-header .site-header__contact:hover,
body.motion-loaded .site-header .site-header__contact:focus-visible {
  transform: translate3d(0, -2px, 0);
  box-shadow: 0 16px 34px rgba(57, 119, 157, .23);
  filter: brightness(1.035);
}

.site-header .site-header__contact:hover::after,
.site-header .site-header__contact:focus-visible::after {
  transform: translateX(4px);
}

/* Sub-page hierarchy. */
body:not(.page-home) :is(
  .concept-intro__title,
  .fv__title,
  .hero__title,
  .page-head__title,
  .faq-head__title,
  .contact-intro__title
) {
  font-family: var(--site-jp) !important;
  font-size: clamp(34px, 3.2vw, 46px);
  font-weight: 500 !important;
  line-height: 1.55;
  letter-spacing: .105em !important;
}

body:not(.page-home) :is(
  .concept-card__title,
  .sec-title,
  .sec-head__title,
  .center-head__title,
  .works-intro__title,
  .faq-cat__title,
  .company-info__title,
  .people__title,
  .flow__title,
  .contact-faq__head,
  .access__title
) {
  font-family: var(--site-jp) !important;
  font-weight: 500 !important;
  line-height: 1.55;
  letter-spacing: .09em !important;
}

body:not(.page-home) :is(
  .concept-intro__lead,
  .concept-intro__desc,
  .fv__desc,
  .hero__desc,
  .page-head__lead,
  .faq-head__lead,
  .contact-intro__lead,
  .people__desc,
  .cafe__desc
) {
  font-size: clamp(14px, 1.12vw, 16px);
  line-height: 2.15;
  letter-spacing: .045em;
}

/* TOP follows the lower-page Mincho system without disturbing the PSD geometry. */
.page-home {
  font-family: var(--site-jp);
}

.page-home :is(h1, h2, h3, p, a, button, span) {
  font-family: var(--site-jp);
}

.page-home .hero__title {
  font-size: 54px;
  font-weight: 500;
  line-height: 1.78;
  letter-spacing: .125em;
}

.page-home .concept__title {
  font-size: 38px;
  line-height: 1.65;
  letter-spacing: .085em;
}

.page-home .concept__text,
.page-home .works__lead {
  font-size: 16px;
  line-height: 2;
  letter-spacing: .045em;
}

.page-home .works__title {
  font-size: 62px;
  letter-spacing: .08em;
}

.page-home .work-card__title {
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: .07em;
}

.page-home .news__link {
  min-height: 60px;
  padding-block: 13px;
}

/* About */
.page-about .concept-intro {
  padding: 154px 0 104px;
}

.page-about .concept-intro__desc {
  max-width: 680px;
  margin-inline: auto;
}

.page-about .concept-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.page-about .concept-card__lead {
  font-size: 16px;
  line-height: 1.9;
}

.page-about .concept-card__desc {
  max-width: 48em;
  font-size: 14px;
  line-height: 2.05;
}

/* Performance */
.page-performance .fv__text {
  max-width: 520px;
}

.page-performance .fv__lead {
  font-family: var(--site-jp) !important;
  font-size: 14px;
  letter-spacing: .08em;
}

.page-performance .perf__text {
  align-self: center;
}

.page-performance .sec-num {
  margin-bottom: 12px;
  font-size: 76px;
  line-height: 1;
}

.page-performance .sec-label {
  font-family: var(--site-jp) !important;
  font-size: 13px;
  letter-spacing: .1em;
}

.page-performance .sec-title {
  margin-top: 18px;
  font-size: clamp(28px, 2.65vw, 38px);
}

.page-performance .sec-body {
  margin-top: 22px;
  font-size: 14px;
  line-height: 2.15;
}

/* Price */
.page-price .hero__content {
  max-width: 1200px;
  padding-inline: clamp(30px, 5vw, 72px);
}

.page-price .sec-head__note,
.page-price .type-card__desc,
.page-price .option-card__desc,
.page-price .funding__note {
  font-size: 14px;
  line-height: 2;
}

.page-price .type-card__price {
  font-family: var(--site-jp) !important;
  letter-spacing: .03em;
}

/* Works */
.page-works .works-hero__title {
  font-size: clamp(36px, 4vw, 54px);
}

/* Keep the title centered while the reveal animation changes transform. */
body.motion-ready.page-works .works-hero__title.motion-heading {
  transform: translateX(-50%) translate3d(0, 42px, 0) rotate(.55deg);
  transform-origin: 50% 100%;
}

body.motion-ready.page-works .works-hero__title.motion-heading.is-visible {
  transform: translateX(-50%) translate3d(0, 0, 0) rotate(0);
}

.page-works .works-hero__lead {
  font-size: 15px;
  line-height: 2;
}

.page-works .works__content {
  padding-top: 104px;
}

.page-works .works__grid {
  row-gap: 84px;
}

.page-works .work-card__title {
  font-size: clamp(19px, 1.75vw, 24px);
  line-height: 1.65;
}

.page-works .work-card__meta {
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.8;
}

/* News */
.page-news .page-head {
  padding: 154px 0 92px;
}

.page-news .page-head > .deco {
  top: 148px !important;
  right: 178px !important;
  left: auto !important;
  width: 176px !important;
  opacity: .72 !important;
}

.page-news .page-head__title {
  display: block;
}

.page-news .page-head__en {
  display: block;
  margin-top: 10px;
  font-size: 15px;
}

.page-news .news-item__title {
  font-size: clamp(18px, 1.7vw, 23px);
  line-height: 1.75;
}

.page-news .news-item__desc {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.9;
}

/* FAQ */
.page-faq .faq-head {
  padding: 136px 0 86px;
}

.page-faq .faq-head__text {
  max-width: 520px;
}

.page-faq .faq-head__photo .ph {
  border-radius: 0;
}

.page-faq .faq-q {
  min-height: 76px;
  padding-block: 20px;
  font-size: 14px;
  line-height: 1.8;
}

.page-faq .faq-a__inner {
  padding: 0 0 24px;
  font-size: 14px;
  line-height: 2;
}

/* Company */
.page-company .c-top {
  padding-top: 132px;
}

.page-company .c-top__ph {
  margin-top: 0;
  height: clamp(320px, 30vw, 432px);
}

.page-company .c-top__copy {
  max-width: 720px;
}

.page-company .c-top__en {
  font-size: clamp(52px, 6vw, 78px);
  line-height: 1.05;
  letter-spacing: .12em;
}

.page-company .company-table th,
.page-company .company-table td {
  line-height: 1.85;
}

.page-company .flow-step__label {
  font-family: var(--site-jp) !important;
  font-size: 12px;
  line-height: 1.7;
}

/* Contact */
.page-contact .contact-intro {
  padding-top: 136px;
}

.page-contact .step-card__title,
.page-contact .form-label,
.page-contact .side-card p,
.page-contact .side-theme__list {
  font-family: var(--site-jp) !important;
}

.page-contact .step-card__title {
  font-size: 13px;
  line-height: 1.7;
}

.page-contact .step-card__desc {
  font-size: 11px;
  line-height: 1.9;
}

.page-contact .form-card :is(input, select, textarea) {
  font-family: var(--site-jp) !important;
  font-size: 14px;
}

/* Footer remains visually identical, but all text uses the same family. */
.footer,
.footer a,
.footer p,
.footer span {
  font-family: var(--site-jp);
}

@media (max-width: 1100px) {
  .site-header .site-header__nav { top: 0; }

  .site-header .site-header__contact {
    display: none;
  }

  .page-company .c-top {
    padding-top: 84px;
  }
}

@media (max-width: 767px) {
  body:not(.page-home) :is(
    .concept-intro__title,
    .fv__title,
    .hero__title,
    .page-head__title,
    .faq-head__title,
    .contact-intro__title
  ) {
    font-size: 30px;
  }

  .page-about .concept-intro,
  .page-news .page-head,
  .page-faq .faq-head,
  .page-contact .contact-intro {
    padding-top: 104px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.page-works .works-hero__title.motion-heading,
  body.page-works .works-hero__title.motion-heading.is-visible {
    transform: translateX(-50%) !important;
  }
}
