:root {
  --ht-service-blue: #07689f;
  --ht-service-blue-dark: #055681;
  --ht-service-heading: #252525;
  --ht-service-text: #4a4a4a;
  --ht-service-muted: #6d7378;
  --ht-service-border: #e5e1dc;
  --ht-service-bg: #f7f5f1;
  --ht-service-footer: #f1f1f3;
  --ht-service-white: #fff;
}

body.ht-service-page {
  color: var(--ht-service-text);
  background: var(--ht-service-white);
  font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  letter-spacing: 0;
}

body.ht-service-page .site-content,
body.ht-service-page .content,
body.ht-service-page main {
  background: var(--ht-service-white);
}

body.ht-service-page:not(.ht-service-index-page) #content.site-content > .container,
body.ht-service-page:not(.ht-service-index-page) #content.site-content .content__wrap,
body.ht-service-page:not(.ht-service-index-page) #content.site-content .content__main,
body.ht-service-page:not(.ht-service-index-page) #content.site-content .singular-article {
  width: 100% !important;
  max-width: none !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
  padding-right: 0 !important;
  padding-left: 0 !important;
}

body.ht-service-index-page #content.site-content,
body.ht-service-index-page .site-content {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

body.ht-service-index-page #footer.site-footer {
  margin-top: 0 !important;
}

body.ht-service-page .entry-header,
body.ht-service-page .page-header,
body.ht-service-page .entry-title {
  display: none;
}

body.ht-service-page .entry-content {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

body.ht-service-page .entry-content > * {
  max-width: min(1260px, calc(100% - 48px));
  margin-right: auto;
  margin-left: auto;
}

body.ht-service-page .entry-content > .alignfull,
body.ht-service-page .entry-content > .ht-service-hero,
body.ht-service-page .entry-content > .ht-service-band,
body.ht-service-page .entry-content > .ht-service-cta {
  max-width: none;
}

body.ht-service-page .entry-content > .ht-service-hero,
body.ht-service-page .entry-content > .ht-service-breadcrumb,
body.ht-service-page .entry-content > .ht-service-section,
body.ht-service-page .entry-content > .ht-service-band {
  margin-top: 0;
  margin-bottom: 0;
}

body.ht-service-page h1,
body.ht-service-page h2,
body.ht-service-page h3 {
  color: var(--ht-service-heading);
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-weight: 500;
  letter-spacing: 0;
}

body.ht-service-page h2 {
  margin: 0 0 28px;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.55;
}

body.ht-service-page h3 {
  margin: 0 0 14px;
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.55;
}

body.ht-service-page p {
  color: var(--ht-service-text);
  font-size: 15px;
  line-height: 2.05;
}

body.ht-service-page a {
  text-underline-offset: 0.18em;
}

.ht-service-hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: clamp(360px, 48vw, 620px);
  margin-top: 0;
  overflow: hidden;
  background-image:
    linear-gradient(135deg, rgba(246, 242, 235, 0.16), rgba(223, 230, 232, 0.08)),
    var(--ht-service-detail-hero-image, linear-gradient(135deg, #f6f2eb, #dfe6e8));
  background-position:
    var(--ht-service-detail-hero-x, center)
    var(--ht-service-detail-hero-y, center);
  background-size: cover;
  background-repeat: no-repeat;
}

body.ht-service-page .ht-service-hero {
  width: 100%;
  max-width: none;
  padding-right: 0 !important;
  padding-left: 0 !important;
}

.ht-service-hero--tetote {
  background-image:
    linear-gradient(135deg, rgba(246, 242, 235, 0.16), rgba(223, 230, 232, 0.08)),
    var(--ht-service-detail-hero-image, url("../images/hero-tetote.jpg"));
}

.ht-service-hero-position--top {
  --ht-service-detail-hero-y: top;
}

.ht-service-hero-position--center {
  --ht-service-detail-hero-y: center;
}

.ht-service-hero-position--bottom {
  --ht-service-detail-hero-y: bottom;
}

.ht-service-hero .wp-block-cover,
.ht-service-hero.wp-block-cover {
  min-height: clamp(360px, 48vw, 620px);
}

.ht-service-hero .wp-block-cover__image-background,
.ht-service-hero > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ht-service-hero::after,
.ht-service-hero.wp-block-cover::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.42) 38%, rgba(255, 255, 255, 0.04) 74%);
  content: "";
  pointer-events: none;
}

.ht-service-hero .wp-block-cover__inner-container,
.ht-service-hero__inner {
  position: relative;
  z-index: 2;
  width: min(1260px, calc(100% - 48px));
  max-width: none !important;
  margin: 0 auto !important;
  padding: clamp(80px, 10vw, 132px) 0 0;
}

.ht-service-hero > .wp-block-group__inner-container,
.ht-service-hero__inner > .wp-block-group__inner-container {
  width: 100% !important;
  max-width: none !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
  padding-right: 0 !important;
  padding-left: 0 !important;
}

.ht-service-hero-card {
  align-self: end;
  box-sizing: border-box;
  width: min(440px, 100%);
  max-width: 440px !important;
  min-height: 0 !important;
  height: auto !important;
  margin-right: auto !important;
  margin-left: 0 !important;
  padding: clamp(28px, 2.5vw, 36px) clamp(28px, 3vw, 40px);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 34px rgba(18, 32, 46, 0.05);
}

.ht-service-hero-card > .wp-block-group__inner-container {
  display: block !important;
  min-height: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

.ht-service-hero-card .ht-service-kicker {
  display: none;
}

.ht-service-hero-card h1,
.ht-service-hero-card h2 {
  margin: 0 0 14px !important;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.45;
}

.ht-service-hero-card p {
  margin: 0;
  font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif !important;
  font-size: 14px;
  font-weight: 500;
  line-height: 2;
}

.ht-service-breadcrumb {
  padding: 22px 0;
  background: var(--ht-service-bg);
  color: var(--ht-service-muted);
  font-size: 12px;
}

body.ht-service-page .ht-service-breadcrumb {
  width: 100%;
  max-width: none;
  padding: 22px 0 !important;
}

.ht-service-breadcrumb > .wp-block-group__inner-container {
  width: 100% !important;
  max-width: none !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
  padding-right: 0 !important;
  padding-left: 0 !important;
}

.ht-service-breadcrumb__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  width: min(1260px, calc(100% - 48px));
  margin: 0 auto !important;
}

.ht-service-breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.ht-service-breadcrumb a:hover,
.ht-service-breadcrumb a:focus-visible {
  color: var(--ht-service-blue);
}

.ht-service-section {
  padding: clamp(64px, 8vw, 104px) 0;
}

.ht-service-section > * {
  width: 100%;
  margin-right: 0 !important;
  margin-left: 0 !important;
}

.ht-service-section__inner {
  width: min(1260px, calc(100% - 48px));
  margin-right: auto;
  margin-left: auto;
}

.ht-service-band {
  padding: clamp(64px, 8vw, 104px) 0;
  background: var(--ht-service-bg);
}

body.ht-service-page .ht-service-band {
  box-sizing: border-box;
  width: 100%;
  padding: clamp(64px, 8vw, 104px) 0 !important;
}

.ht-service-band > * {
  max-width: min(1260px, calc(100% - 48px));
  margin-right: auto;
  margin-left: auto;
}

.ht-service-band > .wp-block-group__inner-container {
  width: 100% !important;
  max-width: none !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
  padding-right: 0 !important;
  padding-left: 0 !important;
}

.ht-service-lead {
  max-width: 720px;
  margin-bottom: 52px;
}

.ht-service-lead p {
  color: var(--ht-service-muted);
}

.ht-service-kicker,
body.ht-service-page p.ht-service-kicker {
  margin: 0 0 12px;
  color: var(--ht-service-blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.6;
}

.ht-service-section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.ht-service-section-heading h2 {
  margin-bottom: 16px;
}

.ht-service-section-heading > p:last-child {
  margin-bottom: 0;
}

.ht-service-split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: clamp(36px, 7vw, 96px);
  align-items: center;
}

.ht-service-split.is-reverse {
  grid-template-columns: minmax(320px, 1fr) minmax(0, 0.9fr);
}

.ht-service-split img,
.ht-service-image img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
}

.ht-service-split > .wp-block-group,
.ht-service-split > .wp-block-group > .wp-block-group__inner-container {
  min-width: 0;
}

.ht-service-split > .wp-block-group__inner-container,
.ht-tetote-plan-grid > .wp-block-group__inner-container,
.ht-service-spec-grid > .wp-block-group__inner-container {
  display: contents;
}

.ht-service-split > *,
.ht-tetote-plan-grid > *,
.ht-service-spec-grid > *,
.ht-tetote-plan-card > *,
.ht-tetote-plan-card__body > * {
  max-width: none !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
}

.ht-service-split figure {
  margin: 0;
}

.ht-service-split p:last-child {
  margin-bottom: 0;
}

.ht-service-point {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--ht-service-blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-transform: uppercase;
}

.ht-service-point::after {
  width: 34px;
  height: 1px;
  background: currentColor;
  content: "";
}

.ht-tetote-plan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
}

.ht-tetote-plan-grid > .ht-tetote-plan-card,
.ht-tetote-plan-grid > .wp-block-group__inner-container > .ht-tetote-plan-card {
  align-self: start;
  margin-top: 0 !important;
}

.ht-tetote-plan-card {
  overflow: hidden;
  border: 1px solid var(--ht-service-border);
  background: var(--ht-service-white);
  box-shadow: 0 14px 36px rgba(28, 39, 48, 0.05);
}

.ht-tetote-plan-card > .wp-block-group__inner-container {
  display: contents;
}

.ht-tetote-plan-card > figure,
.ht-tetote-plan-card > .wp-block-group__inner-container > figure {
  margin: 0;
}

.ht-tetote-plan-card > figure:first-child img,
.ht-tetote-plan-card > .wp-block-group__inner-container > figure:first-child img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.ht-tetote-plan-card__body {
  padding: 28px;
}

.ht-tetote-plan-card__body h3,
.ht-tetote-plan-card__body h4 {
  margin-bottom: 12px;
  font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif !important;
  font-size: 19px;
  font-weight: 700;
}

.ht-tetote-plan-card__body p {
  margin-bottom: 18px;
  font-size: 14px;
  line-height: 1.95;
}

.ht-tetote-plan-card__floor {
  margin: 0;
  padding: 18px;
  background: #fbfaf8;
}

.ht-tetote-plan-card__floor img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  aspect-ratio: auto;
  object-fit: initial;
}

.ht-service-spec-grid h3 {
  margin-bottom: 10px;
  font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif !important;
  font-size: 18px;
  font-weight: 700;
}

.ht-service-spec-grid p {
  margin: 0;
  font-size: 14px;
  line-height: 1.9;
}

.ht-service-works-intro {
  text-align: center;
}

.ht-service-works-intro .ht-service-section-heading {
  margin-right: auto !important;
  margin-left: auto !important;
}

.ht-service-list-grid,
.ht-service-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.ht-service-card,
.ht-service-list-grid > *,
.ht-service-card-grid > * {
  overflow: hidden;
  border: 1px solid var(--ht-service-border);
  background: var(--ht-service-white);
  box-shadow: 0 14px 36px rgba(28, 39, 48, 0.05);
}

.ht-service-card img,
.ht-service-list-grid img,
.ht-service-card-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
}

.ht-service-card-body,
.ht-service-card .wp-block-group,
.ht-service-list-grid .wp-block-group,
.ht-service-card-grid .wp-block-group {
  padding: 24px;
}

.ht-service-card h2,
.ht-service-card h3,
.ht-service-list-grid h2,
.ht-service-list-grid h3,
.ht-service-card-grid h2,
.ht-service-card-grid h3 {
  margin: 0 0 12px;
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 20px;
  line-height: 1.55;
}

.ht-service-card p,
.ht-service-list-grid p,
.ht-service-card-grid p {
  margin: 0;
  color: var(--ht-service-muted);
  font-size: 13px;
  line-height: 1.9;
}

.ht-service-card a,
.ht-service-list-grid a,
.ht-service-card-grid a {
  color: inherit;
  text-decoration: none;
}

.ht-service-card a:hover,
.ht-service-card a:focus-visible,
.ht-service-list-grid a:hover,
.ht-service-list-grid a:focus-visible,
.ht-service-card-grid a:hover,
.ht-service-card-grid a:focus-visible {
  color: var(--ht-service-blue);
}

.ht-service-feature-grid,
.ht-service-plan-grid,
.ht-service-spec-grid {
  display: grid;
  gap: 24px;
}

.ht-service-feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ht-service-plan-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ht-service-spec-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
}

.ht-service-spec-grid > .wp-block-group,
.ht-service-spec-grid > .wp-block-group__inner-container > .wp-block-group {
  align-self: start;
  margin-top: 0 !important;
}

body.ht-service-page:not(.ht-service-index-page) .ht-service-section p,
body.ht-service-page:not(.ht-service-index-page) .ht-service-band p,
body.ht-service-page:not(.ht-service-index-page) .ht-service-section li,
body.ht-service-page:not(.ht-service-index-page) .ht-service-band li,
body.ht-service-page:not(.ht-service-index-page) .ht-service-point,
body.ht-service-page:not(.ht-service-index-page) .ht-service-kicker {
  font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif !important;
}

.ht-service-feature-grid > *,
.ht-service-plan-grid > *,
.ht-service-spec-grid > * {
  padding: 28px;
  border: 1px solid var(--ht-service-border);
  background: var(--ht-service-white);
}

.ht-service-feature-grid img {
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  object-fit: contain;
}

.ht-service-plan-grid img {
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #fbfaf8;
}

.ht-service-spec-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ht-service-spec-grid img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.ht-hiraya-intro .ht-service-section-heading {
  max-width: 840px;
  margin: 0 auto;
  text-align: center;
}

.ht-hiraya-case {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  gap: clamp(40px, 6vw, 84px);
  align-items: center;
}

.ht-hiraya-case > .wp-block-group__inner-container,
.ht-hiraya-work-card > .wp-block-group__inner-container {
  display: contents;
}

.ht-hiraya-case > *,
.ht-hiraya-work-card > *,
.ht-hiraya-work-card__body > * {
  max-width: none !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
}

.ht-hiraya-case__media {
  margin: 0;
}

.ht-hiraya-case__media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
}

.ht-hiraya-case.is-reverse .ht-hiraya-case__media {
  grid-column: 2;
  grid-row: 1;
}

.ht-hiraya-case.is-reverse .ht-hiraya-case__body {
  grid-column: 1;
  grid-row: 1;
}

.ht-hiraya-case__body > .wp-block-group__inner-container {
  width: 100%;
}

.ht-hiraya-work-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  margin-top: 30px;
  padding: 18px 0;
  border-top: 1px solid var(--ht-service-border);
  border-bottom: 1px solid var(--ht-service-border);
}

.ht-hiraya-work-card figure {
  margin: 0;
}

.ht-hiraya-work-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
}

.ht-hiraya-work-card__body h3 {
  margin: 0 0 5px;
  font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif !important;
  font-size: 17px;
  font-weight: 700;
}

.ht-hiraya-work-card__body p {
  margin: 0;
  font-size: 12px;
  line-height: 1.8;
}

.ht-hiraya-work-card__body p:last-child {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 700;
}

.ht-hiraya-work-card__body a {
  color: var(--ht-service-blue);
  text-decoration: none;
}

.ht-hiraya-work-card__body a:hover,
.ht-hiraya-work-card__body a:focus-visible {
  color: var(--ht-service-blue-dark);
}

.ht-hiraya-more .ht-service-section-heading {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.ht-hiraya-more .wp-block-buttons {
  margin-top: 30px;
}

.ht-hiraya-more__gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  margin-top: 34px;
}

.ht-hiraya-more__gallery > .wp-block-group__inner-container {
  display: contents;
}

.ht-hiraya-more__gallery figure {
  margin: 0;
  overflow: hidden;
  background: #ebe8e2;
}

.ht-hiraya-more__gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.ht-hiraya-more__gallery a:hover img,
.ht-hiraya-more__gallery a:focus-visible img {
  transform: scale(1.025);
}

.ht-service-works-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.ht-service-works-row img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
}

.ht-service-button,
body.ht-service-page .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-width: 240px;
  padding: 13px 28px;
  border: 1px solid var(--ht-service-blue);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ht-service-blue);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
}

.ht-service-button::after,
body.ht-service-page .wp-block-button__link::after {
  content: "\2192";
  font-family: Arial, sans-serif;
}

.ht-service-button:hover,
.ht-service-button:focus-visible,
body.ht-service-page .wp-block-button__link:hover,
body.ht-service-page .wp-block-button__link:focus-visible {
  background: var(--ht-service-white);
  color: var(--ht-service-blue-dark);
}

.ht-service-index {
  color: var(--ht-service-text);
  background: var(--ht-service-white);
  font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  letter-spacing: 0;
  margin: 0;
  padding: 0;
}

.ht-service-index img {
  display: block;
  width: 100%;
  height: auto;
}

.ht-service-index-container {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.ht-service-index-hero {
  position: relative;
  min-height: clamp(320px, 34vw, 390px);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.68) 34%, rgba(255, 255, 255, 0.06) 72%),
    var(--ht-service-hero-image),
    linear-gradient(135deg, #f6f2eb, #dfe6e8);
  background-position: center 42%;
  background-size: cover;
}

.ht-service-index-hero__inner {
  display: grid;
  align-items: center;
  width: min(1120px, calc(100% - 48px));
  min-height: inherit;
  margin: 0 auto;
  padding: 54px 0;
}

.ht-service-index-hero__content {
  width: min(620px, 100%);
}

.ht-service-index-hero__kicker,
.ht-service-index-kicker {
  margin: 0 0 14px;
  color: var(--ht-service-blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.ht-service-index-hero h1 {
  margin: 0 0 18px;
  color: var(--ht-service-heading);
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 500;
  line-height: 1.45;
}

.ht-service-index-hero p {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 2;
  white-space: nowrap;
}

.ht-service-mobile-break {
  display: none;
}

.ht-service-index-breadcrumb {
  padding: 22px 0;
  background: var(--ht-service-bg);
  color: var(--ht-service-muted);
  font-size: 12px;
}

.ht-service-index-breadcrumb .ht-service-index-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.ht-service-index-breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.ht-service-index-breadcrumb a:hover,
.ht-service-index-breadcrumb a:focus-visible {
  color: var(--ht-service-blue);
}

.ht-service-index-section {
  padding: clamp(72px, 8vw, 104px) 0;
}

.ht-service-featured-section {
  padding: clamp(72px, 8vw, 104px) 0;
  background:
    linear-gradient(180deg, #fff 0%, #fff 28%, var(--ht-service-bg) 100%);
}

.ht-service-index-heading {
  max-width: 860px;
  margin-bottom: 48px;
}

.ht-service-index-heading__kicker {
  margin: 0 0 14px;
  color: var(--ht-service-blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.6;
}

.ht-service-index-heading h2 {
  margin: 0 0 18px;
  color: var(--ht-service-heading);
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.55;
}

.ht-service-index-heading__lead {
  margin: 0;
  font-size: 16px;
  line-height: 2;
  white-space: nowrap;
}

.ht-service-index .ht-home-container {
  width: min(1260px, calc(100% - 48px));
  margin: 0 auto;
}

.ht-service-featured-product {
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(520px, 1fr);
  gap: clamp(48px, 8vw, 112px);
  align-items: center;
  margin: 0;
}

.ht-service-featured-product__body h3 {
  margin: 0 0 22px;
  color: var(--ht-service-heading);
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 500;
  line-height: 1.55;
}

.ht-service-featured-product__body p:not(.ht-service-index-kicker) {
  max-width: 360px;
  margin: 0 0 28px;
  color: var(--ht-service-text);
  font-size: 15px;
  line-height: 2;
}

.ht-service-featured-product__link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--ht-service-blue);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.ht-service-featured-product__link::after {
  content: "\2192";
  font-family: Arial, sans-serif;
}

.ht-service-featured-product__link:hover,
.ht-service-featured-product__link:focus-visible {
  color: var(--ht-service-blue-dark);
}

.ht-service-featured-product__media {
  display: block;
  overflow: hidden;
  background: var(--ht-service-bg);
}

.ht-service-featured-product__media img,
.ht-service-featured-product__media .ht-service-product-card__placeholder {
  display: grid;
  width: 100%;
  aspect-ratio: 16 / 10;
  place-items: center;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.ht-service-featured-product__media:hover img,
.ht-service-featured-product__media:focus-visible img {
  transform: scale(1.035);
}

.ht-service-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.ht-service-product-card {
  overflow: hidden;
  border: 1px solid var(--ht-service-border);
  background:
    linear-gradient(180deg, #fff 0%, #fff 54%, rgba(247, 245, 241, 0.86) 100%);
  box-shadow: 0 8px 18px rgba(37, 37, 37, 0.035);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ht-service-product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(37, 37, 37, 0.06);
}

.ht-service-product-card__link {
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.ht-service-product-card__media {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--ht-service-bg);
}

.ht-service-product-card__media img,
.ht-service-product-card__placeholder {
  display: grid;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 0;
  place-items: center;
  object-fit: cover;
}

.ht-service-product-card__media img {
  transition: transform 0.35s ease;
}

.ht-service-product-card:hover .ht-service-product-card__media img,
.ht-service-product-card:focus-within .ht-service-product-card__media img {
  transform: scale(1.035);
}

.ht-service-product-card__placeholder {
  color: #9aa6ad;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.ht-service-product-card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 10px;
  background: rgba(5, 86, 129, 0.9);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.ht-service-product-card__body {
  position: relative;
  display: grid;
  gap: 10px;
  min-height: 150px;
  padding: 24px 58px 24px 28px;
  align-content: start;
}

.ht-service-product-card__body strong {
  margin: 0;
  color: var(--ht-service-heading);
  font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.7;
}

.ht-service-product-card__body > span:not(.ht-service-product-card__arrow) {
  margin: 0;
  color: var(--ht-service-muted);
  font-size: 13px;
  line-height: 1.8;
}

.ht-service-product-card__arrow {
  position: absolute;
  right: 26px;
  bottom: 24px;
  display: inline-block;
  color: var(--ht-service-blue);
  font-size: 16px;
  line-height: 1;
}

.ht-service-product-card__arrow::before {
  content: "\2192";
  font-family: Arial, sans-serif;
}

.ht-service-product-card__link:hover .ht-service-product-card__arrow,
.ht-service-product-card__link:focus-visible .ht-service-product-card__arrow,
.ht-service-product-card__link:hover .ht-service-product-card__body strong,
.ht-service-product-card__link:focus-visible .ht-service-product-card__body strong {
  color: var(--ht-service-blue);
}

.ht-service-other-lineup {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 36px;
  align-items: start;
  margin-top: 64px;
  padding-top: 56px;
  border-top: 1px solid var(--ht-service-border);
}

.ht-service-other-lineup__heading p {
  margin: 0 0 14px;
  color: var(--ht-service-blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.6;
}

.ht-service-other-lineup__heading h3 {
  margin: 0;
  color: var(--ht-service-heading);
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 500;
  line-height: 1.55;
}

.ht-service-other-lineup__list {
  display: grid;
  gap: 0;
}

.ht-service-other-lineup__row {
  display: grid;
  grid-template-columns: minmax(150px, 0.32fr) minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--ht-service-border);
  color: inherit;
  text-decoration: none;
}

.ht-service-other-lineup__row strong {
  color: var(--ht-service-heading);
  font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.7;
}

.ht-service-other-lineup__row span:not(.ht-service-other-lineup__arrow) {
  color: var(--ht-service-muted);
  font-size: 14px;
  line-height: 1.8;
}

.ht-service-other-lineup__arrow {
  color: var(--ht-service-blue);
}

.ht-service-other-lineup__arrow::before {
  content: "\2192";
  font-family: Arial, sans-serif;
}

.ht-service-other-lineup__row:hover strong,
.ht-service-other-lineup__row:focus-visible strong,
.ht-service-other-lineup__row:hover .ht-service-other-lineup__arrow,
.ht-service-other-lineup__row:focus-visible .ht-service-other-lineup__arrow {
  color: var(--ht-service-blue);
}

.ht-service-cta {
  padding: clamp(56px, 7vw, 86px) 0;
  background:
    linear-gradient(90deg, rgba(247, 245, 241, 0.24), rgba(255, 255, 255, 0.86) 42%, rgba(247, 245, 241, 0.42)),
    var(--ht-service-bg);
}

.ht-service-cta > * {
  max-width: min(1260px, calc(100% - 48px));
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.ht-service-cta h2 {
  margin-bottom: 18px;
}

.ht-service-cta p {
  margin-bottom: 28px;
}

@media screen and (max-width: 1024px) {
  .ht-service-list-grid,
  .ht-service-card-grid,
  .ht-service-feature-grid,
  .ht-service-plan-grid,
  .ht-service-spec-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ht-service-split,
  .ht-service-split.is-reverse {
    grid-template-columns: 1fr;
  }

  .ht-hiraya-case,
  .ht-hiraya-case.is-reverse {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .ht-hiraya-case.is-reverse .ht-hiraya-case__media,
  .ht-hiraya-case.is-reverse .ht-hiraya-case__body {
    grid-column: auto;
    grid-row: auto;
  }

  .ht-tetote-plan-grid {
    gap: 22px;
  }

  .ht-service-featured-product {
    grid-template-columns: 1fr;
  }

  .ht-service-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 640px) {
  body.ht-service-page .entry-content > * {
    max-width: calc(100% - 32px);
  }

  .ht-service-hero {
    align-items: start;
    min-height: 360px;
  }

  .ht-service-hero .wp-block-cover,
  .ht-service-hero.wp-block-cover {
    min-height: 360px;
  }

  .ht-service-hero::after,
  .ht-service-hero.wp-block-cover::after {
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.96) 0%,
      rgba(255, 255, 255, 0.82) 28%,
      rgba(255, 255, 255, 0.34) 56%,
      rgba(255, 255, 255, 0) 82%
    );
  }

  .ht-service-hero--tetote {
    --ht-service-detail-hero-x: 64%;
  }

  .ht-service-hero--hiraya {
    --ht-service-detail-hero-x: 52%;
  }

  .ht-service-hero .wp-block-cover__inner-container,
  .ht-service-hero__inner {
    width: calc(100% - 32px);
    padding: 32px 0 0;
  }

  .ht-service-hero-card {
    width: 100%;
    max-width: none !important;
    padding: 0 8px;
    background: transparent;
    box-shadow: none;
  }

  .ht-service-hero-card h1,
  .ht-service-hero-card h2 {
    margin-bottom: 10px !important;
    font-size: 28px;
    line-height: 1.45;
  }

  .ht-service-hero-card p {
    max-width: 310px;
    font-size: 13px;
    line-height: 1.9;
  }

  .ht-service-section,
  .ht-service-band {
    padding: 56px 0;
  }

  body.ht-service-page .ht-service-band {
    padding: 56px 0 !important;
  }

  .ht-service-cta > * {
    max-width: calc(100% - 32px);
  }

  .ht-service-section__inner,
  .ht-service-breadcrumb__inner {
    width: calc(100% - 32px);
    max-width: none;
  }

  .ht-service-section-heading {
    margin-bottom: 30px;
  }

  .ht-service-list-grid,
  .ht-service-card-grid,
  .ht-service-feature-grid,
  .ht-service-plan-grid,
  .ht-service-spec-grid,
  .ht-service-works-row,
  .ht-tetote-plan-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .ht-tetote-plan-card__body {
    padding: 22px;
  }

  .ht-hiraya-case {
    gap: 26px;
  }

  .ht-hiraya-work-card {
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 16px;
    margin-top: 24px;
    padding: 14px 0;
  }

  .ht-hiraya-work-card__body h3 {
    font-size: 15px;
  }

  .ht-hiraya-more__gallery {
    gap: 6px;
    margin-top: 26px;
  }

  .ht-service-card-body,
  .ht-service-card .wp-block-group,
  .ht-service-list-grid .wp-block-group,
  .ht-service-card-grid .wp-block-group {
    padding: 22px;
  }

  .ht-service-button,
  body.ht-service-page .wp-block-button__link {
    width: 100%;
    min-width: 0;
  }

  .ht-service-index-container,
  .ht-service-index-hero__inner {
    width: calc(100% - 32px);
  }

  .ht-service-index-hero {
    min-height: 300px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.84) 44%, rgba(255, 255, 255, 0.54) 72%, rgba(255, 255, 255, 0.2) 100%),
      var(--ht-service-hero-image),
      linear-gradient(135deg, #f6f2eb, #dfe6e8);
    background-position: 62% 34%;
    background-size: cover;
  }

  .ht-service-index-hero__inner {
    align-items: start;
    padding: 58px 0 0;
  }

  .ht-service-index-hero__content {
    width: min(320px, 100%);
  }

  .ht-service-index-hero h1 {
    margin-bottom: 14px;
    font-size: 30px;
  }

  .ht-service-index-hero p {
    line-height: 1.9;
    white-space: normal;
  }

  .ht-service-mobile-break {
    display: block;
  }

  .ht-service-index-section {
    padding: 56px 0;
  }

  .ht-service-featured-section {
    padding: 56px 0;
  }

  .ht-service-index-heading {
    margin-bottom: 32px;
  }

  .ht-service-index-heading__lead {
    font-size: 15px;
    white-space: normal;
  }

  .ht-service-featured-product {
    gap: 28px;
  }

  .ht-service-featured-product__media {
    order: -1;
  }

  .ht-service-product-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .ht-service-product-card__body {
    padding: 22px;
  }

  .ht-service-other-lineup {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 44px;
    padding-top: 40px;
  }

  .ht-service-other-lineup__row {
    grid-template-columns: 1fr auto;
    gap: 8px 16px;
  }

  .ht-service-other-lineup__row span:not(.ht-service-other-lineup__arrow) {
    grid-column: 1;
  }

  .ht-service-other-lineup__arrow {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
  }

}
