/* Brand palette — navy system (align with service detail) */
:root {
  --color-white: #fff;
  --color-black: #141c60;
  --color-dark-gray: #002454;
  --color-beige: #f3f4f8;
  --color-gray-emp: #e8ebf8;
  --color-gray-middle: #cfd5e8;
  --color-gray-line: #c5cbe0;
  --color-theta-surface: #141c60;
  --color-theta-deep: #002454;
  --color-theta-accent: #f5d020;
  --color-selection: #7ec8ff;
  --svc-navy: #141c60;
  --svc-deep: #002454;
  --svc-yellow: #f5d020;
  --svc-wash: #f3f4f8;
  --svc-tint: #e8ebf8;
}

/* Text selection */
::selection {
  color: #141c60 !important;
  background-color: var(--color-selection) !important;
}

::-moz-selection {
  color: #141c60 !important;
  background-color: var(--color-selection) !important;
}

.tx_foot ::selection,
.tx_angleIntro ::selection,
.tx_foot ::-moz-selection,
.tx_angleIntro ::-moz-selection {
  color: #141c60 !important;
  background-color: var(--color-selection) !important;
}

body {
  background-color: var(--color-beige, #f3f4f8);
  color: var(--color-black, #141c60);
}

/* Footer Contact title: no flowing bg marker animation */
.tx_footInquiry_title .tx_theta_twist_back,
.tx_footInquiry_title .tx_theta_bgFlow .tx_theta_twist_back {
  display: none !important;
  opacity: 0 !important;
  animation: none !important;
  transform: none !important;
  background: none !important;
}

.tx_footInquiry_title .tx_theta_twist_front,
.tx_footInquiry_title.tx_theta_bgFlow .tx_theta_twist_front,
.tx_footInquiry_title [data-theta-twist-type="scroll"].is-animated .tx_theta_bgFlow .tx_theta_twist_front {
  color: inherit !important;
  padding: 0 !important;
  transition: none !important;
}

.tx_footInquiry_title {
  color: #fff;
}

/* SP drawer: hide until Nav JS adds tx_-expanded (prevents stuck-open if init fails) */
@media screen and (max-width: 47.938em) {
  .tx_drawer:not(.tx_-expanded) {
    visibility: hidden;
    pointer-events: none;
  }

  .tx_drawer.tx_-expanded {
    visibility: visible;
    pointer-events: auto;
  }

  /* Close must float above menu panel + overlay (do not override absolute) */
  .tx_drawer_dismissCtl {
    position: absolute !important;
    top: 0.8rem !important;
    right: 1rem !important;
    z-index: 20 !important;
    pointer-events: auto !important;
  }

  .tx_drawer_dismissCtl .tx_dismissCtl {
    position: relative;
    z-index: 1;
    pointer-events: auto !important;
    cursor: pointer;
  }

  .tx_drawer_content {
    position: relative;
    z-index: 1;
  }

  .tx_drawer_overlay {
    z-index: 0;
    /* Blur the page design behind the menu */
    background: rgba(0, 49, 126, 0.42) !important;
    -webkit-backdrop-filter: blur(16px) saturate(1.15);
    backdrop-filter: blur(16px) saturate(1.15);
  }

  /* Menu panel: frosted fade (no slide / clip) */
  .tx_drawer_mask {
    clip-path: none !important;
    background-color: rgba(0, 49, 126, 0.78) !important;
    -webkit-backdrop-filter: blur(22px) saturate(1.2);
    backdrop-filter: blur(22px) saturate(1.2);
  }

  /* Blur page chrome + content while drawer is open */
  html.tx_-drawer-open .tx_chrome,
  html.tx_-drawer-open [data-barba="container"],
  html.tx_-drawer-open .tx_foot {
    filter: blur(10px);
    transition: filter 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  }

  html:not(.tx_-drawer-open) .tx_chrome,
  html:not(.tx_-drawer-open) [data-barba="container"],
  html:not(.tx_-drawer-open) .tx_foot {
    filter: blur(0);
    transition: filter 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }
}

@media screen and (max-width: 47.938em) and (prefers-reduced-motion: reduce) {
  html.tx_-drawer-open .tx_chrome,
  html.tx_-drawer-open [data-barba="container"],
  html.tx_-drawer-open .tx_foot,
  html:not(.tx_-drawer-open) .tx_chrome,
  html:not(.tx_-drawer-open) [data-barba="container"],
  html:not(.tx_-drawer-open) .tx_foot {
    transition: none;
  }
}

/* View Contact の円カーソル: JS未初期化時も左上に常時表示されないようにする */
@media screen and (min-width: 48em) {
  .tx_aura [data-tx-cursor="content"],
  .tx_aura [data-tx-cursor="bg"] {
    opacity: 0;
    transform: scale(0);
  }
}

/* フッター背景 */
.tx_foot {
  background-color: var(--color-dark-gray, #002454);
}

/* Loader / page-transition surfaces (not body text black) */
.tx_boot {
  background-color: var(--color-theta-surface, #141c60) !important;
}

.tx_boot_folds .tx_folds.tx_-ink .tx_fold,
.tx_pageWipe_folds .tx_folds.tx_-ink .tx_fold,
.tx_folds.tx_-ash .tx_fold {
  background-color: var(--color-theta-surface, #141c60);
}

/* TOP Recruit: 採用エントリーボタン非表示 */
.tx_careersBlock_foot[hidden] {
  display: none !important;
}

/* View系ボタン: letter/twist変換後も pointer-events:none のまま固まるのを防ぐ */
a.tx_act,
a.tx_act[data-tx-act],
button.tx_act {
  pointer-events: auto !important;
  cursor: pointer;
}

/* SP Menu: text-only — balanced top-right (no leftover glyph gap) */
@media screen and (max-width: 47.938em) {
  .tx_chrome_launchCtl {
    justify-self: end;
    width: auto !important;
    min-width: 4.8rem;
    height: 4.4rem;
  }

  .tx_launchCtl {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
    width: 100%;
    height: 100%;
    padding: 1rem 1.2rem !important;
    box-sizing: border-box;
  }

  .tx_launchCtl_text {
    display: block;
    line-height: 1;
    text-align: center;
  }

  .tx_launchCtl_glyph {
    display: none !important;
  }
}

/* Footer Contact — e-state style layout (colors stay THETA) */
.tx_foot_head {
  width: 100%;
}

.tx_footInquiry {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 0;
  color: #fff;
  background: linear-gradient(
    120deg,
    #002454,
    #141c60,
    #1a7ae0,
    #5ec8ff,
    #141c60,
    #002454
  );
  background-size: 260% 260%;
  animation: th-footer-contact-shine 12s ease-in-out infinite;
  padding: 2rem 0 3.2rem;
  box-sizing: border-box;
}

.tx_footInquiry_inner {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding-inline: 2rem;
}

.tx_footInquiry_ttlArea {
  display: block;
}

.tx_footInquiry_title,
.tx_footInquiry_title.tx_pageTtl {
  margin: 0;
  font-family: Inter, Lato, sans-serif !important;
  font-weight: 700 !important;
  font-size: 60px !important;
  line-height: 1 !important;
  letter-spacing: 0.02em !important;
  color: #fff !important;
  text-align: left !important;
}

.tx_footInquiry_lead {
  margin: 0.3rem 0 0;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: 0.06em;
  color: #fff;
}

.tx_footInquiry_txtArea {
  margin-block-start: 1.2rem;
}

.tx_footInquiry_desc {
  margin: 0 0 20px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 13px;
  line-height: 1.6;
  letter-spacing: 0.06em;
  color: #fff;
}

.tx_footInquiry_brPc {
  display: none;
}

.tx_footInquiry_btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 56px;
  border-radius: 100vmax;
  color: #141c60;
  background: #fff;
  text-decoration: none;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.08em;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease,
    background-color 0.35s ease;
}

.tx_footInquiry_btn:hover {
  background: #f3f8ff;
  box-shadow: 0 1.2rem 2.4rem -1.2rem rgba(0, 24, 70, 0.45);
  transform: translateY(-2px);
}

.tx_footInquiry_btnLabel {
  display: inline-block;
}

@media screen and (min-width: 48em) {
  .tx_footInquiry {
    padding: 70px 0 96px;
  }

  .tx_footInquiry_inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding-inline: 4rem;
    gap: 2rem;
  }

  .tx_footInquiry_ttlArea {
    flex: 0 1 auto;
    max-width: 42rem;
  }

  .tx_footInquiry_title,
  .tx_footInquiry_title.tx_pageTtl {
    font-size: clamp(72px, 6.7vw, 96px) !important;
    line-height: 1 !important;
  }

  .tx_footInquiry_lead {
    margin-block-start: 0;
    font-size: clamp(18px, 6.7vw, 24px) !important;
    line-height: 1.5;
  }

  .tx_footInquiry_txtArea {
    margin-block-start: 0;
    padding-block-start: 20px;
    width: 60%;
    max-width: 560px;
  }

  .tx_footInquiry_desc {
    margin-block-end: 28px;
    font-size: 19px;
    line-height: 2;
  }

  .tx_footInquiry_brPc {
    display: inline;
  }

  .tx_footInquiry_btn {
    height: 96px;
    font-size: 21px;
  }
}

@keyframes th-footer-contact-shine {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tx_footInquiry {
    animation: none;
    background-position: 40% 50%;
  }
}

/* Footer below Contact — clean 2-tier layout (brand / nav) */
.tx_foot {
  color: #fff;
}

.tx_foot_grid {
  display: block !important;
}

.tx_foot_appMain {
  padding: 3.2rem 0 2.4rem;
  background: transparent;
}

.tx_foot_brandRow {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  padding-bottom: 2.4rem;
}

.tx_foot_brandName {
  margin: 0;
  font-family: "Archivo Black", Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(4.8rem, 12vw, 11rem);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: #fff;
}

.tx_foot_brandCatch,
.tx_foot_brandMeta,
.tx_foot_firmName {
  margin: 0;
  color: #fff;
  font-family: Inter, "Noto Sans JP", "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  line-height: 1.6;
}

.tx_foot_brandCatch {
  margin-top: 1rem;
  font-size: 1.5rem;
}

.tx_foot_brandMeta {
  margin-top: 0.4rem;
  font-size: 1.3rem;
  opacity: 0.85;
  letter-spacing: 0.04em;
}

.tx_foot_brandAside {
  text-align: left;
}

.tx_foot_firmName {
  font-size: 1.5rem;
}

.tx_foot_rule {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.85);
}

.tx_foot_drawerRow {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  padding-top: 1.8rem;
}

.tx_foot_drawerList {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tx_foot_drawerList a {
  color: #fff;
  font-family: Inter, "Noto Sans JP", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.4rem;
  line-height: 1.5;
  text-decoration: none;
}

.tx_foot_drawerList a:hover {
  opacity: 0.7;
}

.tx_foot_copyright {
  margin: 0;
  color: #fff;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.3rem;
  line-height: 1.5;
  opacity: 0.9;
}

.tx_foot_copyright small {
  font-size: inherit;
}

@media screen and (min-width: 48em) {
  .tx_foot_appMain {
    padding: 4.8rem 0 3.2rem;
  }

  .tx_foot_brandRow {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 3.2rem;
    padding-bottom: 3.2rem;
  }

  .tx_foot_brandAside {
    text-align: right;
    padding-bottom: 0.6rem;
  }

  .tx_foot_brandName {
    font-size: 11rem;
  }

  .tx_foot_brandCatch {
    font-size: 1.8rem;
  }

  .tx_foot_brandMeta {
    font-size: 1.5rem;
  }

  .tx_foot_firmName {
    font-size: 1.8rem;
  }

  .tx_foot_drawerRow {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2.4rem;
    padding-top: 2.2rem;
  }

  .tx_foot_drawerList {
    flex: 1;
    gap: 1.2rem 2.4rem;
    max-width: 78rem;
  }

  .tx_foot_drawerList a {
    font-size: 1.7rem;
  }

  .tx_foot_copyright {
    flex-shrink: 0;
    text-align: right;
    padding-top: 0.1rem;
    font-size: 1.5rem;
  }
}

/* --------------------------------------------------------------------------
   TOP section titles — subpage typeface, ~2.5× prior size, no bg flow
   Title on top / description underneath (single column)
   -------------------------------------------------------------------------- */
.tx_secHead.tx_offerBlock_head,
.tx_secHead.tx_projectBlock_head,
.tx_secHead.tx_journalBlock_head,
.tx_secHead.tx_firmBlock_head,
.tx_secHead.tx_careersBlock_head {
  display: grid;
  grid-template-columns: 1fr !important;
  gap: 1.6rem !important;
  justify-items: start;
  align-content: start;
}

.tx_secTitle,
.tx_secHead .tx_offerBlock_title,
.tx_secHead .tx_projectBlock_title {
  font-family: Inter, sans-serif !important;
  font-weight: 700 !important;
  font-size: 3.75rem !important; /* SP: 1.5rem × 2.5 */
  line-height: 0.9 !important;
  letter-spacing: 0.02em !important;
  text-align: left !important;
  margin: 0;
  color: inherit;
}

.tx_secHead .tx_offerBlock_desc,
.tx_secHead .tx_projectBlock_desc,
.tx_secHead .tx_firmBlock_lead,
.tx_secHead .tx_careersBlock_lead {
  display: block;
  margin: 0;
  max-width: 36em;
}

@media screen and (min-width: 48em) {
  .tx_secHead.tx_offerBlock_head,
  .tx_secHead.tx_projectBlock_head,
  .tx_secHead.tx_journalBlock_head,
  .tx_secHead.tx_firmBlock_head,
  .tx_secHead.tx_careersBlock_head {
    gap: 2rem !important;
  }

  .tx_secTitle,
  .tx_secHead .tx_offerBlock_title,
  .tx_secHead .tx_projectBlock_title {
    /* PC was ~clamp(17px, 2rem, 22.5px) → ×2.5 */
    font-size: clamp(4.25rem, 5rem, 5.625rem) !important;
    line-height: 0.85 !important;
  }
}

/* --------------------------------------------------------------------------
   Service list — EN titles (slide-in, ~half page title) + wide desc
   -------------------------------------------------------------------------- */
.tx_offerSecTitle.tx_pageTtl,
.tx_offerSecTitle {
  display: block;
  font-family: Inter, sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em !important;
  overflow: visible;
  text-align: left !important;
  margin: 0;
  color: inherit;
}

/* No flowing bg marker animation on service EN titles */
.tx_offerSecTitle .tx_theta_twist_back,
.tx_offerSecTitle .tx_theta_bgFlow .tx_theta_twist_back,
.tx_offerCard_title .tx_theta_twist_back,
.tx_offerCard_title .tx_theta_bgFlow .tx_theta_twist_back {
  display: none !important;
  opacity: 0 !important;
  animation: none !important;
  transform: none !important;
  background: none !important;
}

.tx_offerCard_name {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.tx_offerCard_nameJa {
  display: block;
  margin: 0;
}

.tx_offerCard_logo img {
  display: block;
  width: 100%;
  height: auto;
}

.tx_offer .tx_offerCard_desc {
  max-width: none !important;
  width: 100% !important;
}

@media screen and (min-width: 48em) {
  .tx_offer .tx_offerCard_inset {
    padding-inline: 8rem 4rem;
  }

  .tx_offer .tx_offerCard_block {
    grid-template:
      "logo title" auto
      "logo description" auto
      "logo list" auto
      "logo button" auto
      / 8rem minmax(0, 1fr);
    gap: 1.2rem 4rem;
  }

  .tx_offer .tx_offerCard_desc {
    width: 100% !important;
    max-width: min(100%, 78em) !important;
  }

  .tx_offerCard_name {
    gap: 1.4rem;
  }
}

/* --------------------------------------------------------------------------
   MV Scroll — BRISK「ゆったりスクロールボタン」
   https://b-risk.jp/blog/2021/01/anim-reference/
   -------------------------------------------------------------------------- */
.tx_heroStage_head {
  display: grid;
  gap: 1.6rem;
  justify-items: start;
}

.tx_heroStage_copySub {
  max-width: 36em;
  opacity: 0.72;
  letter-spacing: 0.04em;
}

/* AX GROWTH PARTNER の下に置くタグライン（mission） */
.tx_heroStage_tagline {
  margin: 1.2rem 0 0;
  width: fit-content;
  max-width: 100%;
  margin-inline-start: auto;
  padding: 0.45em 0.75em;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #2b3160;
  text-align: right;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 0.4rem;
}

.tx_heroStage_taglineLine {
  display: inline-block;
  white-space: nowrap;
}

/* MV見出し: 直前サイズの 0.8 倍 */
.tx_heroStage_copyJa.tx_jp_b24_h180_c5 {
  font-size: 3.2rem !important;
  line-height: 1.25 !important;
}

.tx_heroStage_tagline.tx_jp_r14_h220_c5 {
  font-size: 2.2rem !important;
  line-height: 1.7 !important;
}

@media screen and (min-width: 48em) {
  .tx_heroStage_head {
    gap: 1.2rem;
  }

  .tx_heroStage_copyJa.tx_jp_b24_h180_c5 {
    font-size: clamp(35.2px, 7.68rem, 86.4px) !important;
    line-height: 1.18 !important;
  }

  .tx_heroStage_tagline.tx_jp_r14_h220_c5 {
    font-size: 2.8rem !important;
  }

  .tx_heroStage_copySub {
    max-width: 42em;
  }
}

.tx_heroStage_scroll {
  display: inline-block;
  position: relative;
  margin-inline-start: auto;
  padding-top: 70px;
  color: var(--color-black, #141c60);
  cursor: pointer;
  grid-template-columns: unset;
  gap: unset;
  justify-self: end;
}

.tx_heroStage_scroll::before {
  content: "";
  display: inline-block;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  width: 20px;
  height: 20px;
  margin: auto;
  border: solid currentColor;
  border-width: 0 0 1px 1px;
  transform: rotate(-45deg);
  animation: tx_hero_scroll_chevron 3.5s infinite;
  box-sizing: border-box;
}

.tx_heroStage_scrollTxt {
  display: block;
  line-height: 1;
  white-space: nowrap;
  text-align: center;
}

@keyframes tx_hero_scroll_chevron {
  0% {
    transform: rotate(-45deg) translate(0, 0);
  }
  80% {
    transform: rotate(-45deg) translate(-30px, 30px);
  }
  0%,
  80%,
  100% {
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tx_heroStage_scroll::before {
    animation: none;
    opacity: 1;
    transform: rotate(-45deg) translate(-15px, 15px);
  }
}

/* --------------------------------------------------------------------------
   About — hero + strength + proof + card grid
   -------------------------------------------------------------------------- */
.tx_heroStage--about {
  min-height: 100svh;
  isolation: isolate;
}

.tx_heroStage--about .tx_heroStage_block {
  min-height: calc(100svh - 8rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  /* 他サブページより約100px下げて配置 */
  padding-block: calc(8rem + 100px) 4.8rem;
}

.tx_heroStage--about .tx_heroStage_head {
  align-self: start;
  width: 100%;
  max-width: none;
}

.tx_aboutHero_lead {
  display: grid;
  gap: 0.55rem;
  margin-block-start: 4rem;
  max-width: none;
  width: 100%;
  color: var(--color-black, #141c60);
  opacity: 1;
  position: relative;
  z-index: 2;
  /* Strength本文「そもそもの強みは〜」と同サイズ */
  font-size: clamp(1.7rem, 1.8vw, 2.05rem) !important;
  line-height: 1.9 !important;
  letter-spacing: 0.05em;
  font-weight: 400;
}

.tx_aboutHero_lead p {
  margin: 0;
  font-size: inherit !important;
  line-height: inherit !important;
}

/* SPのみ「THETAは、」を非表示 */
@media screen and (max-width: 47.938em) {
  .tx_aboutHero_thetaLead {
    display: none;
  }
}

/* About Us: 他サブページと同じ大見出しスライドイン（小フォント上書きを解除） */
.tx_aboutPage .tx_aboutHero_label.tx_pageTtl,
.tx_aboutPage .tx_aboutHero_label {
  margin-block-end: 0 !important;
  opacity: 1 !important;
  text-transform: none;
}

/* セクション見出し = ページ見出しの約70% + スライドイン */
.tx_aboutSecTitle.tx_pageTtl,
.tx_aboutSecTitle,
.tx_svcSecTitle.tx_pageTtl,
.tx_svcSecTitle {
  font-family: Inter, sans-serif !important;
  font-weight: 700 !important;
  font-size: clamp(3.9rem, 12.6vw, 5.6rem) !important;
  line-height: 0.9 !important;
  letter-spacing: 0.02em !important;
  overflow: visible;
  text-align: left !important;
  margin: 0 0 2rem !important;
  color: inherit;
}

@media screen and (min-width: 48em) {
  .tx_aboutSecTitle.tx_pageTtl,
  .tx_aboutSecTitle,
  .tx_svcSecTitle.tx_pageTtl,
  .tx_svcSecTitle {
    font-size: clamp(8.4rem, 9.8vw, 14rem) !important;
    line-height: 0.85 !important;
  }

  .tx_heroStage--about .tx_heroStage_head {
    width: 100%;
    max-width: none;
  }

  .tx_aboutHero_lead {
    margin-block-start: 6.4rem;
    gap: 0.7rem;
    max-width: none;
    font-size: clamp(1.9rem, 1.85vw, 2.25rem) !important;
  }

  .tx_aboutHero_lead p {
    white-space: nowrap;
  }
}

/* Strength — 文章を主役に（幅を広げて途中改行を抑える） */
.tx_aboutStrength {
  padding-block: 8rem 9rem;
}

.tx_aboutStrength .tx_aboutSecTitle {
  max-width: none;
}

@media screen and (min-width: 48em) {
  .tx_aboutStrength .tx_aboutSecTitle {
    white-space: nowrap;
    width: max-content;
  }
}

.tx_aboutStrength_lead {
  margin: 0 0 2.8rem;
  max-width: min(100%, 72em);
  font-weight: 700;
  /* カードリードと同系：行間1.5倍 */
  line-height: 2.7 !important;
}

.tx_aboutStrength_body {
  display: grid;
  gap: 1.6rem;
  max-width: min(100%, 72em);
}

.tx_aboutStrength_body p {
  margin: 0;
  font-size: clamp(1.7rem, 1.8vw, 2.05rem) !important;
  line-height: 1.9 !important;
  letter-spacing: 0.05em;
}

@media screen and (min-width: 48em) {
  .tx_aboutStrength {
    padding-block: 10rem 11rem;
  }

  .tx_aboutStrength_lead {
    margin-block-end: 3.6rem;
    max-width: min(100%, 78em);
    font-size: clamp(2.4rem, 3.2vw, 3.2rem) !important;
    line-height: 2.7 !important; /* 行間 1.8 × 1.5 */
  }

  .tx_aboutStrength_body {
    gap: 2rem;
    max-width: min(100%, 78em);
  }

  .tx_aboutStrength_body p {
    font-size: clamp(1.9rem, 1.85vw, 2.25rem) !important;
  }
}

/* Proof — 他セクションと同じ inset 幅。見出しは早めに改行しない */
.tx_aboutProof {
  padding-block: 8rem 9rem;
  color: #f4f6fa;
  background:
    radial-gradient(120% 80% at 12% 0%, rgba(126, 200, 255, 0.22), transparent 55%),
    linear-gradient(145deg, #002454 0%, #141c60 48%, #1a1a4a 100%);
}

.tx_aboutProof_head {
  max-width: none;
  width: 100%;
}

.tx_aboutProof_en {
  margin: 0 0 1.4rem;
  opacity: 0.65;
  letter-spacing: 0.08em;
}

.tx_aboutProof_title {
  margin: 1.6rem 0 0;
  max-width: none;
  width: 100%;
  font-weight: 700;
  line-height: 2.7 !important; /* カードリードと同系：行間1.5倍 */
}

.tx_aboutProof_lead {
  margin: 2rem 0 0;
  max-width: 48em;
  opacity: 0.9;
  /* Strength本文と同サイズ */
  font-size: clamp(1.7rem, 1.8vw, 2.05rem) !important;
  line-height: 1.9 !important;
  letter-spacing: 0.05em;
  font-weight: 400;
}

.tx_aboutProof_stats {
  display: grid;
  gap: 2.4rem;
  margin-block-start: 4.8rem;
  padding-block-start: 3.2rem;
  border-top: 1px solid color-mix(in srgb, #fff 22%, transparent);
}

.tx_aboutProof_stat {
  display: grid;
  gap: 0.6rem;
}

.tx_aboutProof_num {
  margin: 0;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(3.6rem, 9vw, 6.4rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.tx_aboutProof_unit {
  display: inline-block;
  margin-inline-start: 0.18em;
  font-size: 0.38em;
  letter-spacing: 0.02em;
  vertical-align: 0.22em;
  opacity: 0.8;
}

.tx_aboutProof_num--text {
  font-size: clamp(3.2rem, 7vw, 5.2rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  min-height: 1.15em;
}

.tx_aboutProof_num--text.is-typing::after {
  content: "";
  display: inline-block;
  width: 0.08em;
  height: 0.85em;
  margin-inline-start: 0.12em;
  background: currentColor;
  vertical-align: -0.05em;
  animation: tx_aboutTypeCaret 0.7s steps(1) infinite;
}

@keyframes tx_aboutTypeCaret {
  50% {
    opacity: 0;
  }
}

.tx_aboutProof_label {
  margin: 0;
  opacity: 0.85;
  font-size: clamp(1.4rem, 1.2vw, 2.2rem) !important;
  line-height: 1.45 !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em;
}

.tx_aboutVoice {
  margin-block-start: 5.6rem;
}

.tx_aboutVoice_en {
  margin: 0 0 1rem;
  opacity: 0.6;
  letter-spacing: 0.08em;
  font-size: clamp(1.8rem, 2vw, 2.4rem) !important;
}

.tx_aboutVoice_title {
  margin: 0 0 2.4rem;
  /* 約2倍 */
  font-size: clamp(2.6rem, 3.4vw, 4.4rem) !important;
  line-height: 1.45 !important;
}

.tx_aboutVoice_list {
  display: grid;
  gap: 1.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tx_aboutVoice_item {
  margin: 0;
  padding: 2rem 0 0;
  border-top: 1px solid color-mix(in srgb, #fff 18%, transparent);
}

.tx_aboutVoice_quote {
  margin: 0;
  max-width: 36em;
  font-weight: 600;
  font-size: clamp(2.2rem, 2.6vw, 2.4rem) !important;
  line-height: 1.85 !important;
}

@media screen and (max-width: 47.938em) {
  .tx_aboutVoice_quote {
    font-size: calc(2.2rem - 4px) !important;
  }
}

.tx_aboutVoice_meta {
  margin: 1.2rem 0 0;
  opacity: 0.55;
  letter-spacing: 0.04em;
  /* Consultation 等を約2倍 */
  font-size: clamp(1.6rem, 1.8vw, 2.2rem) !important;
  line-height: 1.5 !important;
}

@media screen and (min-width: 48em) {
  .tx_aboutProof {
    padding-block: 10rem 11rem;
  }

  .tx_aboutProof_title {
    font-size: clamp(2.2rem, 2.8vw, 3rem) !important;
    line-height: 2.7 !important; /* 行間 1.8 × 1.5（カードリードと同系） */
    max-width: none;
  }

  .tx_aboutProof_lead {
    max-width: 56em;
    font-size: clamp(1.9rem, 1.85vw, 2.25rem) !important;
  }

  .tx_aboutProof_stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 3.2rem;
    margin-block-start: 5.6rem;
  }

  .tx_aboutVoice_list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 3.2rem;
  }

  .tx_aboutVoice_item {
    padding-top: 2.4rem;
  }
}

.tx_aboutNote {
  opacity: 0.55;
  font-size: 0.92em;
}

.tx_aboutNote::before {
  content: "※ ";
}

/* Structure 以降 — 2列カード */
.tx_aboutCards {
  padding-block: 8rem 12rem;
}

.tx_aboutCards_grid {
  display: grid;
  gap: 2.4rem;
}

.tx_aboutCard {
  display: grid;
  gap: 1.4rem;
  align-content: start;
  padding: 2.4rem 2rem;
  border: 1px solid color-mix(in srgb, currentColor 18%, transparent);
  border-radius: 1.2rem;
  background: color-mix(in srgb, #fff 72%, transparent);
  box-shadow: 0 1.2rem 2.8rem -2rem rgba(20, 28, 64, 0.28);
}

.tx_aboutCard .tx_aboutSecTitle {
  margin-block-end: 0.2rem !important;
}

.tx_aboutCard_lead {
  margin: 0;
  max-width: 18em;
  font-weight: 700;
  /* 行間を1.5倍（h180=1.8 → 2.7） */
  line-height: 2.7 !important;
}

.tx_aboutCard_desc {
  display: grid;
  gap: 1.2rem;
  max-width: 36em;
}

.tx_aboutCard_desc p {
  margin: 0;
}

.tx_aboutCard_biz {
  display: grid;
  gap: 1.2rem;
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: 36em;
}

.tx_aboutCard_biz li {
  display: grid;
  gap: 0.25rem;
  padding-block: 0.9rem 0;
  border-top: 1px solid color-mix(in srgb, currentColor 12%, transparent);
}

.tx_aboutCard_biz strong {
  font-size: 1.05em;
}

.tx_aboutCard_biz span {
  opacity: 0.72;
  font-size: 0.95em;
  line-height: 1.6;
}

.tx_aboutCard_act {
  margin-block-start: 1.6rem;
}

@media screen and (min-width: 48em) {
  .tx_aboutCards {
    padding-block: 10rem 10rem;
  }

  .tx_aboutCards_grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.8rem;
  }

  .tx_aboutCard {
    padding: 3.2rem 2.8rem 3.4rem;
    border-radius: 1.6rem;
  }

  .tx_aboutCard_lead {
    font-size: clamp(1.8rem, 2vw, 2.2rem) !important;
  }
}

/* Card section titles = half of normal aboutSecTitle */
.tx_aboutSecTitle--card.tx_pageTtl,
.tx_aboutSecTitle--card {
  font-size: clamp(2rem, 6.3vw, 2.8rem) !important;
  line-height: 0.95 !important;
}

@media screen and (min-width: 48em) {
  .tx_aboutSecTitle--card.tx_pageTtl,
  .tx_aboutSecTitle--card {
    font-size: clamp(4.2rem, 4.9vw, 7rem) !important;
    line-height: 0.9 !important;
  }
}

/* Company Outline — about layout reuse */
.tx_companyOutline {
  padding-block: 8rem 10rem;
}

.tx_companyOutline .tx_firmList {
  margin-block-start: 0;
  max-width: 72em;
}

.tx_companyMap {
  margin-block-start: 4.8rem;
  max-width: 72em;
}

.tx_companyMap_frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #e8e6e0;
}

.tx_companyMap_frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.tx_companyMap_link {
  margin-block-start: 1.2rem;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.3rem;
  line-height: 1.6;
  letter-spacing: 0.04em;
}

.tx_companyMap_link a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.tx_companyMap_link a:hover {
  opacity: 0.65;
}

@media screen and (min-width: 48em) {
  .tx_companyOutline {
    padding-block: 10rem 12rem;
  }

  .tx_companyMap {
    margin-block-start: 6.4rem;
  }

  .tx_companyMap_frame {
    aspect-ratio: 21 / 9;
  }
}

@media screen and (max-width: 47.938em) {
  .tx_companyMap {
    margin-block-start: 3.2rem;
    margin-inline: -2rem;
    max-width: none;
    width: calc(100% + 4rem);
  }

  .tx_companyMap_link {
    margin-inline: 2rem;
    font-size: 1.2rem;
  }
}

@media screen and (max-width: 47.938em) {
  .tx_heroStage--about .tx_heroStage_block {
    padding-block: calc(6.4rem + 80px) 4rem;
  }

  .tx_aboutStrength {
    padding-block: 6.4rem 7.2rem;
  }

  .tx_aboutProof {
    padding-block: 6.4rem 7.2rem;
  }

  .tx_companyOutline {
    padding-block: 6.4rem 8rem;
  }

  .tx_aboutCards {
    padding-block: 6.4rem 8rem;
  }
}

/* --------------------------------------------------------------------------
   Subpage page title — bold oversized type + slide-up from below
   -------------------------------------------------------------------------- */
.tx_lowerHero_title,
.tx_indexHero_title,
.tx_firmHero_title,
.tx_offerHero_title,
.tx_contactHero_title,
.tx_policyHero_title,
.tx_notesHero_label,
.tx_aboutHero_label,
.tx_pageTtl {
  font-family: Inter, sans-serif !important;
  font-weight: 700 !important;
  font-size: clamp(5.6rem, 18vw, 8rem) !important;
  line-height: 1 !important;
  letter-spacing: 0.02em !important;
  overflow: visible;
  color: inherit;
}

.tx_aboutSecTitle.tx_pageTtl,
.tx_aboutSecTitle,
.tx_svcSecTitle.tx_pageTtl,
.tx_svcSecTitle {
  font-size: clamp(3.9rem, 12.6vw, 5.6rem) !important;
  line-height: 0.9 !important;
}

.tx_offerSecTitle.tx_pageTtl,
.tx_offerSecTitle {
  font-size: clamp(2.8rem, 9vw, 4rem) !important;
  line-height: 0.95 !important;
}

.tx_aboutSecTitle--card.tx_pageTtl,
.tx_aboutSecTitle--card {
  font-size: clamp(2rem, 6.3vw, 2.8rem) !important;
  line-height: 0.95 !important;
}

.tx_pageTtl_mask {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  /* Keep room for descenders (g / y / p) during the slide-up mask */
  padding-block: 0.1em 0.36em;
  line-height: inherit;
}

.tx_pageTtl.is-in .tx_pageTtl_mask {
  overflow: visible;
}

.tx_pageTtl_text {
  display: inline-block;
  transform: translateY(115%);
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.tx_pageTtl.is-in .tx_pageTtl_text {
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .tx_pageTtl_text {
    transform: none;
    transition: none;
  }
}

/* Long JP policy titles stay readable */
.tx_policyHero_title {
  font-size: clamp(2.8rem, 9vw, 6.4rem) !important;
  line-height: 1.05 !important;
  font-weight: 700 !important;
  max-width: 100%;
  word-break: auto-phrase;
  overflow-wrap: anywhere;
}

@media screen and (min-width: 48em) {
  .tx_lowerHero_title,
  .tx_indexHero_title,
  .tx_firmHero_title,
  .tx_offerHero_title,
  .tx_contactHero_title,
  .tx_notesHero_label,
  .tx_aboutHero_label.tx_pageTtl,
  .tx_pageTtl {
    font-size: clamp(12rem, 14vw, 20rem) !important;
    line-height: 1 !important;
  }

  /* About / service section titles stay at ~70% of page title */
  .tx_aboutSecTitle.tx_pageTtl,
  .tx_aboutSecTitle,
  .tx_svcSecTitle.tx_pageTtl,
  .tx_svcSecTitle {
    font-size: clamp(8.4rem, 9.8vw, 14rem) !important;
    line-height: 0.85 !important;
  }

  /* Service card EN titles = ~half of page title */
  .tx_offerSecTitle.tx_pageTtl,
  .tx_offerSecTitle {
    font-size: clamp(6rem, 7vw, 10rem) !important;
    line-height: 0.9 !important;
  }

  /* Card titles = half of section titles (must follow general aboutSecTitle) */
  .tx_aboutSecTitle--card.tx_pageTtl,
  .tx_aboutSecTitle--card {
    font-size: clamp(4.2rem, 4.9vw, 7rem) !important;
    line-height: 0.9 !important;
  }

  .tx_policyHero_title {
    font-size: clamp(5rem, 7vw, 10rem) !important;
  }

  /* Let short English titles jut past the narrow column */
  .tx_indexHero_block {
    grid-template-columns: 1fr !important;
    gap: 3.2rem !important;
  }

  .tx_indexHero_head {
    padding-block-start: 0;
  }

  .tx_contactHero_block {
    grid-template-columns: 1fr !important;
    gap: 3rem !important;
  }

  .tx_notes .tx_txLower_body {
    margin-block-start: 4rem;
  }

  .tx_notes .tx_indexHero_label {
    display: none;
  }

  /*
   * Align all subpage titles to the same left edge as Blog (.tx_inset = 4rem).
   * Original templates used large left padding (28–32rem) which looked centered.
   */
  .tx_lowerHero_inset,
  .tx_offerHero_inset,
  .tx_policy_inset {
    padding-inline: 4rem !important;
  }

  /* Service detail: head already has margin-inline 4rem — don't double with inset */
  .tx_offerDetail_head .tx_offerHero_inset {
    padding-inline: 0 !important;
  }

  /* Company: pad once on head only (inset nests inside and would double) */
  .tx_firm_head {
    padding-inline: 4rem !important;
  }

  .tx_firmHero_inset {
    padding-inline: 0 !important;
  }
}

/* Subpage titles: always left-aligned like Blog */
.tx_lowerHero_title,
.tx_indexHero_title,
.tx_firmHero_title,
.tx_offerHero_title,
.tx_contactHero_title,
.tx_policyHero_title,
.tx_aboutHero_label,
.tx_notesHero_label,
.tx_pageTtl {
  text-align: left !important;
  margin-inline: 0 !important;
  justify-self: start;
}

.tx_lowerHero,
.tx_lowerHero_inset,
.tx_offerHero_inset,
.tx_firmHero_inset,
.tx_policyHero,
.tx_contactHero_head,
.tx_indexHero_head {
  text-align: left;
}

@media screen and (max-width: 47.938em) {
  .tx_lowerHero_inset,
  .tx_offerHero_inset,
  .tx_policy_inset {
    padding-inline: 2rem !important;
  }

  .tx_offerDetail_head .tx_offerHero_inset {
    padding-inline: 0 !important;
  }

  .tx_firm_head {
    padding-inline: 2rem !important;
  }

  .tx_firmHero_inset {
    padding-inline: 0 !important;
  }
}

/* --------------------------------------------------------------------------
   Blog archive — news-list layout + search
   -------------------------------------------------------------------------- */
.tx_notes .tx_indexHero_body {
  width: 100%;
}

/* Blog detail: keep "Blog" title and article meta from overlapping */
.tx_txPost .tx_notesHero_head,
.tx_txPost .tx_notesHero_label,
.tx_notes .tx_indexHero_head,
.tx_notes .tx_indexHero_title {
  overflow: visible;
}

@media screen and (min-width: 48em) {
  .tx_txPost .tx_notesHero_block {
    grid-template-columns: 1fr !important;
    gap: 8rem !important;
  }

  .tx_txPost .tx_notesHero_body {
    width: min(96rem, 100%) !important;
    max-width: 960px;
    margin-inline: auto !important;
  }

  .tx_notes .tx_indexHero_head {
    padding-block-end: 0.5rem;
  }
}

.tx_txPost .tx_notesHero_block {
  gap: 4rem;
}

.tx_notes .tx_indexHero_title,
.tx_txPost .tx_notesHero_label {
  /* Extra room under the em box so Inter descenders never kiss the next block */
  padding-block-end: 0.12em;
}

/* Prev / next article cards */
.tx_blogNav {
  display: grid;
  gap: 1.2rem;
  margin-block-start: 4.8rem;
  padding-block-start: 2.4rem;
  border-block-start: 1px solid color-mix(in srgb, currentColor 18%, transparent);
}

.tx_blogNav_row {
  display: grid;
  gap: 1.2rem;
}

.tx_blogNav_card {
  display: grid;
  gap: 0.4rem;
  padding: 1.4rem 1.6rem;
  border: 1px solid color-mix(in srgb, currentColor 18%, transparent);
  border-radius: 0.6rem;
  color: inherit;
  text-decoration: none;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.tx_blogNav_card:hover {
  background-color: color-mix(in srgb, currentColor 5%, transparent);
  border-color: color-mix(in srgb, currentColor 35%, transparent);
}

.tx_blogNav_dir {
  font-family: Inter, sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  opacity: 0.55;
}

.tx_blogNav_title {
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.45;
}

.tx_blogNav_date {
  font-family: Inter, sans-serif;
  font-size: 1.2rem;
  font-weight: 500;
  opacity: 0.65;
}

.tx_blogNav_back {
  margin-block-start: 2rem;
}

.tx_blogNav_back a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

@media screen and (min-width: 48em) {
  .tx_blogNav_row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.6rem;
  }

  .tx_blogNav_card {
    padding: 1.6rem 1.8rem;
  }

  .tx_blogNav_title {
    font-size: 1.5rem;
  }
}

.tx_blogToolbar {
  display: grid;
  gap: 2.4rem;
}

.tx_blogFilters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.tx_blogFilter {
  margin: 0;
}

.tx_blogFilter_link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.6rem;
  padding: 0.8rem 1.6rem;
  border: 1px solid color-mix(in srgb, currentColor 35%, transparent);
  border-radius: 999px;
  color: inherit;
  text-decoration: none;
  font-family: Inter, sans-serif;
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.tx_blogFilter_link:hover {
  border-color: currentColor;
}

.tx_blogFilter_link.is-active {
  background: var(--color-theta-surface, #141c60);
  border-color: var(--color-theta-surface, #141c60);
  color: #fff;
}

.tx_blogFilter_link.is-active .tx_blogFilter_text {
  color: #fff;
}

.tx_blogSearch {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.8rem;
  align-items: stretch;
  width: 100%;
  max-width: 52rem;
}

.tx_blogSearch_label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.tx_blogSearch_input {
  width: 100%;
  min-width: 0;
  min-height: 4.4rem;
  padding: 0 1.6rem;
  border: 1px solid color-mix(in srgb, currentColor 28%, transparent);
  border-radius: 0;
  background: transparent;
  color: inherit;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.4rem;
  line-height: 1.5;
  outline: none;
}

.tx_blogSearch_input::placeholder {
  color: color-mix(in srgb, currentColor 45%, transparent);
}

.tx_blogSearch_input:focus {
  border-color: currentColor;
}

.tx_blogSearch_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-width: 9.6rem;
  min-height: 4.4rem;
  padding: 0 1.6rem;
  border: 1px solid var(--color-theta-surface, #141c60);
  background: var(--color-theta-surface, #141c60);
  color: #fff;
  font-family: Inter, sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.tx_blogSearch_btn:hover {
  opacity: 0.85;
}

.tx_blogList {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid color-mix(in srgb, currentColor 18%, transparent);
}

.tx_blogList_item {
  border-bottom: 1px solid color-mix(in srgb, currentColor 18%, transparent);
}

.tx_blogList_link {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.2rem 2rem;
  align-items: center;
  padding: 2.4rem 0.4rem 2.4rem 0;
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.tx_blogList_link:hover {
  opacity: 0.72;
}

.tx_blogList_title {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  font-size: clamp(1.5rem, 1.8rem, 2rem);
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.04em;
}

.tx_blogList_meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem 1.2rem;
  margin-block-start: 0.8rem;
  font-family: Inter, sans-serif;
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  opacity: 0.7;
}

.tx_blogList_meta time::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 1em;
  margin-inline: 1.2rem 0;
  background: currentColor;
  vertical-align: -0.1em;
  opacity: 0.55;
}

.tx_blogList_cat {
  text-transform: none;
}

.tx_blogList_arrow {
  display: grid;
  place-items: center;
  width: 1.6rem;
  height: 1.6rem;
  opacity: 0.55;
}

.tx_blogList_arrow svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.tx_blogEmpty {
  padding: 4rem 0;
}

.tx_blogResult {
  margin: 0 0 2rem;
  opacity: 0.7;
}

@media screen and (min-width: 48em) {
  .tx_blogToolbar {
    grid-template-columns: 1fr minmax(28rem, 40rem);
    align-items: start;
    gap: 3rem 4rem;
  }

  .tx_blogFilter_link {
    min-height: 4rem;
    padding: 1rem 2rem;
    font-size: 1.3rem;
  }

  .tx_blogList_link {
    padding-block: 3.2rem;
  }

  .tx_blogList_title {
    font-size: 2rem;
  }

  .tx_blogList_meta {
    font-size: 1.3rem;
  }

  .tx_blogList_arrow {
    width: 1.8rem;
    height: 1.8rem;
  }
}

/* Top Service cards: number → icon, shorter block height */
.tx_offerBlock .tx_landingOfferCard_inset {
  padding-block: 2.6rem 2.2rem;
  padding-inline: 2rem;
}

.tx_offerBlock .tx_landingOfferCard_title {
  gap: 1.4rem;
}

.tx_offerBlock .tx_landingOfferCard_name {
  gap: 0.6rem;
}

.tx_offerBlock .tx_landingOfferCard_desc {
  margin-block-start: 0.4rem;
}

.tx_offerBlock .tx_landingOfferCard_number {
  display: block;
  width: 3.2rem;
  line-height: 0;
}

.tx_offerBlock .tx_landingOfferCard_icon {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
}

.tx_offerBlock .tx_landingOfferCard_icon img {
  display: block;
  width: 100%;
  height: auto;
  transition: filter 0.3s cubic-bezier(0.33, 1, 0.68, 1);
}

@media (hover) and (pointer: fine) {
  .tx_offerBlock .tx_landingOfferCard_link:hover .tx_landingOfferCard_icon img {
    filter: brightness(0) invert(0.93) sepia(0.12) hue-rotate(8deg);
  }
}

.tx_offerBlock .tx_landingOfferCard_arrow {
  margin-block-start: 1.6rem;
}

@media screen and (min-width: 48em) {
  .tx_offerBlock .tx_landingOfferCard_inset {
    padding-block: 3.2rem 2.8rem;
    padding-inline: 4.5rem;
  }

  .tx_offerBlock .tx_landingOfferCard_title {
    gap: 1.8rem;
  }

  .tx_offerBlock .tx_landingOfferCard_name {
    gap: 1.2rem;
  }

  .tx_offerBlock .tx_landingOfferCard_number {
    width: 6rem;
  }

  .tx_offerBlock .tx_landingOfferCard_arrow {
    margin-block-start: 2rem;
  }
}

/* Landscape rotate hint: text only (no icon) */
.tx_rotateHint_text {
  margin: 0;
  padding-inline: 2.4rem;
  max-width: 28rem;
  text-align: center;
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1.7;
  letter-spacing: 0.06em;
}

.tx_rotateHint_img {
  display: none !important;
}

/* TOP Company: scroll-scrubbed build sequence (wide band + parallax) */
.tx_firmBlock_stage {
  position: relative;
  grid-area: img;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 5;
  overflow: hidden;
  background: #2a2d31;
  border-radius: 0;
  --par: 0px;
  --par-glow: 0px;
}

/* Taller than the stage so the parallax shift never exposes an edge. */
.tx_firmBlock_video {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 122%;
  display: block;
  object-fit: cover;
  transform: translate3d(0, calc(-50% + var(--par)), 0);
  will-change: transform;
  pointer-events: none;
}

.tx_firmBlock_glow {
  position: absolute;
  inset: -10% 0;
  pointer-events: none;
  background:
    radial-gradient(60% 90% at 50% 55%, rgba(120, 200, 255, 0.14), rgba(120, 200, 255, 0) 70%),
    radial-gradient(120% 100% at 50% 120%, rgba(0, 0, 0, 0.32), rgba(0, 0, 0, 0) 60%);
  transform: translate3d(0, var(--par-glow), 0);
  will-change: transform;
}

@media screen and (min-width: 48em) {
  .tx_firmBlock_stage {
    margin-inline: 0;
  }
}

@media screen and (max-width: 47.938em) {
  .tx_firmBlock_stage {
    aspect-ratio: 16 / 7;
    grid-area: 1 / 1;
    margin-inline: -2rem;
    width: calc(100% + 4rem);
  }

  .tx_firmBlock_video {
    height: 120%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tx_firmBlock_video {
    transform: translate3d(0, -50%, 0);
  }

  .tx_firmBlock_glow {
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   Contact submit — NES.css-inspired pixel (default) → modern digital (hover)
   Ref: https://nostalgic-css.github.io/NES.css/
   -------------------------------------------------------------------------- */
.tx_inquirySheet_submit {
  overflow: visible !important;
  padding-block: 0.8rem;
  margin-block: 0;
}

.tx_theta_submitBtn,
.tx_theta_submitBtn:hover,
.tx_theta_submitBtn:focus,
.tx_theta_submitBtn:focus-visible,
.tx_theta_submitBtn:active {
  position: relative;
  isolation: isolate;
  appearance: none !important;
  -webkit-appearance: none !important;
  display: inline-grid !important;
  width: 100%;
  min-height: 10rem;
  height: auto !important;
  padding: 0 !important;
  margin: 0.4rem 0 0 !important;
  opacity: 1 !important;
  cursor: pointer;
  outline: none !important;
  overflow: visible !important;
  -webkit-tap-highlight-color: transparent;
  color: #212529 !important;
  background-color: #fff !important;
  background-image: none !important;
  /* NES.css-like pixel border */
  border-style: solid !important;
  border-width: 4px !important;
  border-image-slice: 2 !important;
  border-image-width: 2 !important;
  border-image-outset: 2 !important;
  border-image-repeat: stretch !important;
  border-image-source: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='6' height='6'%3E%3Cpath d='M2 1h2v1H2zM1 2h1v2H1zM4 2h1v2H4zM2 4h2v1H2z' fill='%23212529'/%3E%3C/svg%3E") !important;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  border-radius: 0 !important;
  box-shadow: inset -4px -4px #adafbc !important;
  filter: none !important;
  transform: none !important;
  transition:
    color 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    background-color 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    border-radius 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    border-width 0.35s ease,
    border-image-width 0.35s ease,
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.45s ease;
}

.tx_theta_submitBtn::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: -4px;
  pointer-events: none;
  box-shadow: inset -4px -4px #212529;
  transition: opacity 0.35s ease, box-shadow 0.35s ease;
}

.tx_theta_submitBtn .tx_theta_submitBtn_label,
.tx_theta_submitBtn .tx_inquirySheet_actText {
  position: relative;
  z-index: 2;
  display: grid !important;
  place-items: center !important;
  justify-items: center !important;
  width: 100%;
  height: 100%;
  min-height: 9.2rem;
  padding-inline: 2rem !important;
  opacity: 1 !important;
  color: inherit !important;
  text-align: center !important;
  letter-spacing: 0.18em;
  font-family: "DotGothic16", "Noto Sans JP", sans-serif !important;
  font-weight: 400 !important;
  font-size: 2rem !important;
  line-height: 1.4 !important;
  pointer-events: none;
  text-shadow: none;
  transition:
    font-family 0.35s ease,
    letter-spacing 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    font-size 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    font-weight 0.35s ease,
    text-shadow 0.45s ease,
    color 0.45s ease;
}

@media screen and (min-width: 48em) {
  .tx_theta_submitBtn,
  .tx_theta_submitBtn:hover,
  .tx_theta_submitBtn:focus,
  .tx_theta_submitBtn:focus-visible,
  .tx_theta_submitBtn:active {
    min-height: 12rem;
  }

  .tx_theta_submitBtn .tx_theta_submitBtn_label,
  .tx_theta_submitBtn .tx_inquirySheet_actText {
    min-height: 11.2rem;
    font-size: 2.4rem !important;
  }
}

/* —— Hover / focus: modern digital —— */
.tx_theta_submitBtn.is-digital,
.tx_theta_submitBtn:focus-visible,
.tx_theta_submitBtn:active {
  color: #f7fbff !important;
  background:
    linear-gradient(125deg, #1a2338 0%, #243356 38%, #2f6bff 72%, #5ce1ff 100%) !important;
  background-color: #243356 !important;
  border-width: 0 !important;
  border-image: none !important;
  border-radius: 1.2rem !important;
  box-shadow:
    0 0 0 1px rgba(120, 200, 255, 0.35),
    0 0 2.4rem rgba(60, 140, 255, 0.45),
    0 1.2rem 2.8rem -0.8rem rgba(20, 40, 90, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.28) !important;
  transform: translateY(-1px) !important;
}

.tx_theta_submitBtn.is-digital::after,
.tx_theta_submitBtn:focus-visible::after,
.tx_theta_submitBtn:active::after {
  opacity: 0;
}

.tx_theta_submitBtn.is-digital .tx_theta_submitBtn_label,
.tx_theta_submitBtn.is-digital .tx_inquirySheet_actText,
.tx_theta_submitBtn:focus-visible .tx_theta_submitBtn_label,
.tx_theta_submitBtn:active .tx_theta_submitBtn_label,
.tx_theta_submitBtn:focus-visible .tx_inquirySheet_actText,
.tx_theta_submitBtn:active .tx_inquirySheet_actText {
  font-family: Inter, "Noto Sans JP", sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: 0.28em;
  text-shadow: 0 0 1.2rem rgba(120, 220, 255, 0.55);
}

@media (hover: hover) {
  .tx_theta_submitBtn:hover {
    color: #f7fbff !important;
    background:
      linear-gradient(125deg, #1a2338 0%, #243356 38%, #2f6bff 72%, #5ce1ff 100%) !important;
    background-color: #243356 !important;
    border-width: 0 !important;
    border-image: none !important;
    border-radius: 1.2rem !important;
    box-shadow:
      0 0 0 1px rgba(120, 200, 255, 0.35),
      0 0 2.4rem rgba(60, 140, 255, 0.45),
      0 1.2rem 2.8rem -0.8rem rgba(20, 40, 90, 0.55),
      inset 0 1px 0 rgba(255, 255, 255, 0.28) !important;
    transform: translateY(-2px) !important;
    filter: saturate(1.08);
  }

  .tx_theta_submitBtn:hover::after {
    opacity: 0;
  }

  .tx_theta_submitBtn:hover .tx_theta_submitBtn_label,
  .tx_theta_submitBtn:hover .tx_inquirySheet_actText {
    font-family: Inter, "Noto Sans JP", sans-serif !important;
    font-weight: 700 !important;
    font-size: 1.8rem !important;
    letter-spacing: 0.28em;
    text-shadow: 0 0 1.2rem rgba(120, 220, 255, 0.55);
  }
}

@media screen and (max-width: 47.938em) {
  .tx_theta_submitBtn .tx_theta_submitBtn_label,
  .tx_theta_submitBtn .tx_inquirySheet_actText {
    font-size: 1.6rem !important;
  }

  @media (hover: hover) {
    .tx_theta_submitBtn:hover .tx_theta_submitBtn_label,
    .tx_theta_submitBtn:hover .tx_inquirySheet_actText {
      font-size: 1.5rem !important;
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .tx_theta_submitBtn,
  .tx_theta_submitBtn .tx_theta_submitBtn_label,
  .tx_theta_submitBtn .tx_inquirySheet_actText {
    transition: none !important;
  }
}

/* --------------------------------------------------------------------------
   Tag reveal — character fade (site-wide, replaces ash-bg wipe)
   -------------------------------------------------------------------------- */
[data-tx-tag="target"].is-theta-tag-fade [data-tx-tag="bg"] {
  transform: translate3d(0, 0%, 0) scale(1) !important;
}

.tx_theta_tagChar {
  display: inline-block;
  opacity: 0;
  transform: translate3d(0, 0.28em, 0);
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--theta-tag-delay, 0ms);
  will-change: opacity, transform;
}

[data-tx-tag="target"].is-theta-tag-in .tx_theta_tagChar {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
  .tx_theta_tagChar {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

