/* daurin-jp.b-jp.com heritage visual layer.
 * Independently authored for the current semantic templates.
 */

:root {
  color-scheme: light;
  --teas-canvas: #f6f6f6;
  --teas-surface: #ffffff;
  --teas-surface-soft: #f6f6f6;
  --teas-ink: #292929;
  --teas-muted: #595d5a;
  --teas-line: #dedfdf;
  --teas-accent: #2f63cc;
  --teas-accent-strong: #224793;
  --teas-on-accent: #ffffff;
  --teas-header: #ffffff;
  --teas-header-height: 90px;
  --teas-container: 1224px;
  --teas-radius: 0;
  --teas-control-radius: 0;
}

body {
  background: var(--teas-canvas);
  color: var(--teas-ink);
  font-size: 16px;
  line-height: 1.8;
}

.teas-container {
  width: min(92%, var(--teas-container));
}

.teas-header {
  height: var(--teas-header-height);
  border-bottom: 1px solid #ededed;
  background: #ffffff;
  box-shadow: 0 8px 30px rgba(26, 34, 29, 0.05);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.teas-header__inner {
  width: min(92%, var(--teas-container));
  padding-inline: 0;
}

.teas-brand img {
  width: auto;
  max-width: 230px;
  height: 50px;
}

.teas-navigation__list {
  gap: clamp(26px, 2.7vw, 46px);
}

.teas-navigation a {
  color: #30332f;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 0.035em;
}

.teas-navigation a::after {
  background: var(--teas-accent);
}

.teas-page--home .teas-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1fr;
  height: calc(100svh - var(--teas-header-height));
  min-height: 640px;
  overflow: hidden;
  background: #252a27;
}

.teas-page--home .teas-hero__visual,
.teas-page--home .teas-hero__content {
  grid-area: 1 / 1;
}

.teas-page--home .teas-hero__visual {
  position: relative;
  z-index: 0;
  height: 100%;
  min-height: 0;
}

.teas-page--home .teas-hero__visual::after {
  position: absolute;
  inset: 0;
  background: rgba(20, 27, 23, 0.43);
  content: "";
  pointer-events: none;
}

.teas-page--home .teas-hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.teas-page--home .teas-hero__content {
  position: relative;
  z-index: 1;
  justify-content: center;
  width: min(92%, var(--teas-container));
  height: 100%;
  margin-inline: auto;
  padding: clamp(64px, 8vw, 110px) 20px;
  color: #ffffff;
}

.teas-page--home .teas-hero__content::before {
  position: absolute;
  top: calc(50% - 142px);
  bottom: calc(50% - 142px);
  left: 0;
  width: 1px;
  background: rgba(255, 255, 255, 0.46);
  content: "";
}

.teas-page--home .teas-hero__eyebrow,
.teas-page--home .teas-hero__lead {
  display: none;
}

.teas-page--home .teas-hero h1 {
  max-width: 760px;
  color: #ffffff;
  font-size: clamp(42px, 4.2vw, 66px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  text-shadow: none;
  text-wrap: balance;
}

.teas-page--home .teas-hero h1 span {
  display: block;
  color: #ffffff;
  font: inherit;
  letter-spacing: inherit;
}

.teas-button {
  min-height: 56px;
  padding: 16px 30px;
  border: 1px solid var(--teas-accent);
  border-radius: 999px;
  background: var(--teas-accent);
  color: var(--teas-on-accent);
  box-shadow: none;
}

.teas-button:hover,
.teas-button:focus-visible {
  border-color: var(--teas-accent-strong);
  background: var(--teas-accent-strong);
  box-shadow: none;
}

.teas-page--home .teas-button {
  min-width: 168px;
  margin-top: 36px;
}

.teas-page--home .teas-button span {
  display: none;
}

.teas-section {
  padding-block: clamp(76px, 8vw, 104px);
}

.teas-section-heading,
.teas-company__heading {
  max-width: 760px;
  margin-bottom: clamp(44px, 5vw, 66px);
}

.teas-section-heading > p,
.teas-company__heading > p,
.teas-company__heading > span {
  display: none;
}

.teas-section-heading h2,
.teas-company__heading h2 {
  color: var(--teas-accent);
  font-size: clamp(30px, 3vw, 46px);
  font-weight: 700;
  letter-spacing: 0.015em;
  line-height: 1.35;
}

.teas-section-heading::after,
.teas-company__heading::after {
  display: block;
  width: 70px;
  height: 3px;
  margin-top: 22px;
  background: var(--teas-accent);
  content: "";
}

.teas-intro {
  background: var(--teas-surface-soft);
}

.teas-intro__layout {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(320px, 5fr);
  gap: clamp(48px, 7vw, 90px);
  align-items: center;
}

.teas-intro__copy h3 {
  margin-bottom: 28px;
  color: var(--teas-ink);
  font-size: clamp(28px, 2.6vw, 40px);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.55;
}

.teas-intro__copy > p {
  max-width: 65ch;
  color: var(--teas-muted);
  line-height: 2;
}

.teas-intro__media {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #e8ebe9;
}

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

.teas-services {
  overflow: hidden;
  border-radius: 0 96px 96px 0;
  background: #ffffff;
}

.teas-services__grid {
  display: block;
}

.teas-service-card,
.teas-service-card:nth-child(n) {
  display: grid;
  grid-template-columns: minmax(300px, 5fr) minmax(0, 7fr);
  gap: clamp(38px, 6vw, 82px);
  align-items: center;
  margin: 0;
  padding-block: clamp(44px, 6vw, 74px);
  overflow: visible;
  border: 0;
  border-bottom: 1px solid var(--teas-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
}

.teas-service-card:first-child {
  border-top: 1px solid var(--teas-line);
}

.teas-service-card:hover {
  box-shadow: none;
  transform: none;
}

.teas-service-card:nth-child(even) .teas-service-card__media,
.teas-service-card:nth-child(even) .teas-service-card__body {
  grid-column: auto;
  grid-row: auto;
}

.teas-service-card__media {
  width: 100%;
  height: clamp(280px, 30vw, 400px);
  border-radius: 0;
  background: #eceeed;
}

.teas-service-card__body {
  padding: 0;
}

.teas-service-card__body h3 {
  margin-bottom: 22px;
  color: var(--teas-ink);
  font-size: clamp(24px, 2.2vw, 32px);
  letter-spacing: 0.01em;
  line-height: 1.5;
}

.teas-service-card__body > p,
.teas-service-card__details {
  max-width: 68ch;
  color: var(--teas-muted);
  line-height: 2;
}

.teas-service-card__details {
  margin-top: 18px;
  padding-top: 0;
  border-top: 0;
}

.teas-company {
  background: var(--teas-surface-soft);
}

.teas-company__layout {
  display: block;
}

.teas-company__heading {
  position: static;
}

.teas-company__facts {
  width: 100%;
  border-top: 1px solid var(--teas-line);
}

.teas-company__facts > div {
  display: grid;
  grid-template-columns: minmax(160px, 26%) minmax(0, 74%);
  gap: 0;
  padding: 0;
  border-bottom: 1px solid var(--teas-line);
}

.teas-company__facts dt,
.teas-company__facts dd {
  margin: 0;
  padding: 22px clamp(18px, 3vw, 34px);
  font-size: 16px;
  line-height: 1.8;
}

.teas-company__facts dt {
  display: flex;
  align-items: center;
  background: #eceeed;
  color: var(--teas-ink);
  font-weight: 700;
}

.teas-company__facts dd {
  background: #ffffff;
  font-weight: 400;
}

.teas-access {
  padding-top: 0;
  background: var(--teas-surface-soft);
}

.teas-access__map {
  min-height: 600px;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #ffffff;
  box-shadow: none;
}

.teas-access__map iframe {
  height: 600px;
}

.teas-page-hero {
  grid-template-columns: minmax(320px, 2fr) minmax(0, 3fr);
  min-height: 500px;
  background: #292929;
}

.teas-page-hero__copy,
.teas-page-hero__media {
  min-height: 500px;
}

.teas-page-hero__copy {
  background: #292929;
  color: #ffffff;
}

.teas-page-hero__copy > p {
  color: #d9e2dc;
}

.teas-page-hero__copy h1 {
  color: #ffffff;
  font-size: clamp(38px, 4vw, 58px);
  letter-spacing: -0.02em;
}

.teas-richtext,
.teas-contact {
  background: var(--teas-canvas);
}

.teas-richtext__body,
.teas-article__body {
  max-width: 980px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.teas-contact__layout {
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(50px, 9vw, 120px);
}

.teas-form {
  padding: clamp(28px, 4vw, 52px);
  border: 0;
  border-radius: 0;
  background: #ffffff;
  box-shadow: none;
}

.teas-form__field input,
.teas-form__field textarea {
  border: 1px solid #dddddd;
  border-radius: 0;
  background: #f3f4f3;
}

.teas-form__field input:focus,
.teas-form__field textarea:focus {
  border-color: var(--teas-accent);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(47, 99, 204, 0.14);
}

.teas-footer {
  padding-top: clamp(70px, 7vw, 96px);
  border-top: 1px solid var(--teas-line);
  background: #ffffff;
}

.teas-footer__grid {
  grid-template-columns: minmax(190px, 0.75fr) minmax(320px, 1.2fr) minmax(260px, 1fr);
  gap: clamp(38px, 7vw, 90px);
}

.teas-footer h2 {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--teas-line);
}

.teas-footer__address {
  margin-bottom: 14px;
  color: var(--teas-ink);
  font-size: 14px;
  font-weight: 600;
}

.teas-back-top {
  width: 50px;
  min-width: 50px;
  height: 50px;
  min-height: 50px;
  border: 0;
  border-radius: 0;
  background: var(--teas-ink);
  color: transparent;
  font-size: 0;
}

.teas-back-top::before {
  color: #ffffff;
  font-size: 22px;
  content: "↑";
}

@media (max-width: 820px) {
  :root {
    --teas-header-height: 80px;
  }

  .teas-header__inner,
  .teas-container {
    width: min(calc(100% - 32px), var(--teas-container));
  }

  .teas-brand img {
    max-width: 176px;
    height: 42px;
  }

  .teas-menu-button {
    min-width: 48px;
    min-height: 48px;
    justify-content: flex-end;
  }

  .teas-page--home .teas-hero {
    height: max(640px, calc(100svh - var(--teas-header-height)));
    min-height: 640px;
  }

  .teas-page--home .teas-hero__content {
    width: min(calc(100% - 48px), var(--teas-container));
    padding: 52px 20px;
  }

  .teas-page--home .teas-hero__content::before {
    top: calc(50% - 132px);
    bottom: calc(50% - 132px);
  }

  .teas-page--home .teas-hero h1 {
    font-size: clamp(36px, 10vw, 48px);
    line-height: 1.2;
  }

  .teas-section {
    padding-block: 68px;
  }

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

  .teas-intro__media {
    width: min(100%, 520px);
  }

  .teas-services {
    border-radius: 0 54px 54px 0;
  }

  .teas-service-card,
  .teas-service-card:nth-child(n) {
    display: block;
    padding-block: 38px;
  }

  .teas-service-card__media {
    height: clamp(230px, 60vw, 320px);
  }

  .teas-service-card__body {
    padding-top: 28px;
  }

  .teas-company__facts > div {
    grid-template-columns: 1fr;
  }

  .teas-company__facts dt {
    padding-bottom: 10px;
  }

  .teas-company__facts dd {
    padding-top: 12px;
  }

  .teas-access__map,
  .teas-access__map iframe {
    min-height: 380px;
    height: 380px;
  }

  .teas-page-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .teas-page-hero__copy,
  .teas-page-hero__media {
    min-height: 320px;
  }

  .teas-contact__layout,
  .teas-footer__grid {
    grid-template-columns: 1fr;
  }

  .teas-form {
    padding: 24px;
  }
}

@media (max-width: 480px) {
  .teas-section-heading h2,
  .teas-company__heading h2,
  .teas-intro__copy h3 {
    font-size: 28px;
  }

  .teas-footer__navigation ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .teas-service-card,
  .teas-service-card__media img,
  .teas-button {
    transition: none;
  }
}

@media print {
  .teas-page--home .teas-hero {
    min-height: 500px;
  }
}


/* Restore the original restrained news rhythm without reusing the legacy DOM. */
.teas-news-summary {
  background: var(--teas-surface-soft);
}

.teas-news-summary .teas-container {
  display: block;
}

.teas-news-summary .teas-section-heading {
  margin-bottom: clamp(42px, 5vw, 66px);
}

.teas-news-summary__list {
  border-top: 1px solid var(--teas-line);
}

.teas-news-row a {
  grid-template-columns: minmax(220px, 0.8fr) minmax(280px, 1.4fr);
  gap: clamp(22px, 4vw, 64px);
  padding: 24px 0;
}

.teas-news-row a:hover,
.teas-news-row a:focus-visible {
  padding-inline: 0;
  background: transparent;
}

.teas-news-row span {
  display: none;
}

@media (max-width: 820px) {
  .teas-news-row a {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 22px 0;
  }
}

/* Site-owned content restored in new semantic markup. */
.teas-content-restore {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--teas-line);
  background: var(--teas-surface);
}

.teas-content-restore--soft {
  background: var(--teas-surface-soft);
}

.teas-content-restore__inner {
  width: min(100% - 48px, var(--teas-container, 1424px));
  margin-inline: auto;
}

.teas-content-restore__header {
  display: grid;
  grid-template-columns: minmax(180px, 0.52fr) minmax(0, 1.48fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: start;
  margin-bottom: clamp(38px, 5vw, 68px);
}

.teas-content-restore__eyebrow {
  margin: 0 0 14px;
  color: var(--teas-accent);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.teas-content-restore h2 {
  margin: 0;
  color: var(--teas-ink);
  font-size: clamp(1.75rem, 3vw, 3rem);
  line-height: 1.28;
  letter-spacing: 0.025em;
}

.teas-content-restore__lead,
.teas-content-restore__prose p {
  margin: 0;
  color: var(--teas-muted);
  font-size: clamp(0.98rem, 1.15vw, 1.08rem);
  line-height: 2;
}

.teas-content-restore__prose {
  display: grid;
  gap: 18px;
}

.teas-content-restore__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--teas-line);
}

.teas-content-restore__item {
  min-width: 0;
  padding: clamp(26px, 4vw, 46px) clamp(12px, 3vw, 38px);
  border-bottom: 1px solid var(--teas-line);
}

.teas-content-restore__item:nth-child(odd) {
  border-right: 1px solid var(--teas-line);
  padding-left: 0;
}

.teas-content-restore__item h3 {
  margin: 0 0 14px;
  color: var(--teas-ink);
  font-size: clamp(1.08rem, 1.6vw, 1.38rem);
  line-height: 1.55;
}

.teas-content-restore__item p {
  margin: 0;
  color: var(--teas-muted);
  line-height: 1.9;
}

.teas-content-restore__timeline {
  display: grid;
  margin: 0;
  border-top: 1px solid var(--teas-line);
}

.teas-content-restore__timeline > div {
  display: grid;
  grid-template-columns: minmax(120px, 0.32fr) minmax(0, 1.68fr);
  gap: clamp(24px, 5vw, 72px);
  padding: 24px 0;
  border-bottom: 1px solid var(--teas-line);
}

.teas-content-restore__timeline dt {
  color: var(--teas-accent);
  font-weight: 750;
}

.teas-content-restore__timeline dd {
  margin: 0;
  color: var(--teas-ink);
  line-height: 1.8;
}

.teas-content-restore__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-block: 1px solid var(--teas-line);
}

.teas-content-restore__metric {
  padding: clamp(28px, 4vw, 52px);
  border-right: 1px solid var(--teas-line);
}

.teas-content-restore__metric:first-child { padding-left: 0; }
.teas-content-restore__metric:last-child { border-right: 0; }
.teas-content-restore__metric strong {
  display: block;
  margin-bottom: 14px;
  color: var(--teas-accent);
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1;
}

.teas-content-restore__metric h3,
.teas-content-restore__profile h3 {
  margin: 0 0 10px;
  color: var(--teas-ink);
  font-size: 1.16rem;
}

.teas-content-restore__metric p,
.teas-content-restore__profile p {
  margin: 0;
  color: var(--teas-muted);
  line-height: 1.8;
}

.teas-content-restore__people {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 42px);
}

.teas-content-restore__profile {
  border-bottom: 1px solid var(--teas-line);
  padding-bottom: 28px;
}

.teas-content-restore__profile img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  margin-bottom: 22px;
  object-fit: cover;
  background: var(--teas-surface-soft);
}

.teas-content-restore__profile small {
  display: block;
  margin-bottom: 9px;
  color: var(--teas-accent);
  font-weight: 750;
  letter-spacing: 0.08em;
}

.teas-content-restore__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(30px, 5vw, 78px);
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--teas-line);
}

.teas-content-restore__list li {
  padding: 18px 0;
  border-bottom: 1px solid var(--teas-line);
  color: var(--teas-ink);
  line-height: 1.65;
}

.teas-content-restore__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 24px;
  color: var(--teas-muted);
  font-size: 0.88rem;
}

.teas-content-restore__plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--teas-line);
  border: 1px solid var(--teas-line);
}

.teas-content-restore__plan {
  min-width: 0;
  padding: clamp(24px, 4vw, 44px);
  background: var(--teas-surface);
}

.teas-content-restore__plan h3 {
  margin: 0 0 20px;
  color: var(--teas-ink);
  font-size: clamp(1.08rem, 1.55vw, 1.34rem);
}

.teas-content-restore__plan dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.teas-content-restore__plan dl > div {
  display: grid;
  grid-template-columns: minmax(70px, 0.3fr) minmax(0, 1.7fr);
  gap: 16px;
}

.teas-content-restore__plan dt {
  color: var(--teas-muted);
  font-size: 0.84rem;
}

.teas-content-restore__plan dd {
  margin: 0;
  color: var(--teas-ink);
  line-height: 1.65;
}

.teas-content-restore__price {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--teas-line);
  color: var(--teas-accent);
  font-weight: 750;
  line-height: 1.8;
}

.teas-content-restore__price span {
  display: block;
}

.teas-content-restore__features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0 0 clamp(42px, 6vw, 76px);
  padding: 0;
  list-style: none;
}

.teas-content-restore__features li {
  padding: 22px 0;
  border-block: 1px solid var(--teas-line);
  color: var(--teas-ink);
  line-height: 1.75;
}

.teas-content-restore__cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  padding: 14px 22px;
  border: 1px solid var(--teas-accent);
  border-radius: var(--teas-control-radius, 8px);
  color: var(--teas-accent);
  font-weight: 750;
  text-decoration: none;
}

.teas-content-restore__cta:hover,
.teas-content-restore__cta:focus-visible {
  background: var(--teas-accent);
  color: #fff;
}

@media (max-width: 820px) {
  .teas-content-restore__inner { width: min(100% - 32px, 680px); }
  .teas-content-restore__header { grid-template-columns: 1fr; gap: 20px; }
  .teas-content-restore__grid,
  .teas-content-restore__people,
  .teas-content-restore__plans,
  .teas-content-restore__features,
  .teas-content-restore__metrics { grid-template-columns: 1fr; }
  .teas-content-restore__item,
  .teas-content-restore__item:nth-child(odd) {
    border-right: 0;
    padding-inline: 0;
  }
  .teas-content-restore__metric,
  .teas-content-restore__metric:first-child {
    padding-inline: 0;
    border-right: 0;
    border-bottom: 1px solid var(--teas-line);
  }
  .teas-content-restore__metric:last-child { border-bottom: 0; }
  .teas-content-restore__timeline > div {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .teas-content-restore__list { grid-template-columns: 1fr; }
}
