:root:has(#body_wrap.otex-front) {
  --otex-header-height: 88px;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--otex-header-height) + 16px);
}

.otex-front {
  --otex-ink: #14232c;
  --otex-blue: #107fa5;
  --otex-font: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
}

.otex-front #content {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.otex-front #main_content,
.otex-front #main_content > .l-mainContent__inner,
.otex-front #main_content .l-mainContent__inner > .post_content,
.otex-front .post_content > .otex-home {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.otex-front .otex-site-header,
.otex-front .otex-hero {
  color: var(--otex-ink);
  font-family: var(--otex-font);
  font-size: 16px;
  line-height: normal;
  -webkit-font-smoothing: antialiased;
}

.otex-front :is(.otex-site-header, .otex-hero) a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.otex-front :is(.otex-site-header, .otex-hero) :is(a, button) {
  touch-action: manipulation;
}

.otex-front :is(.otex-site-header, .otex-hero) :is(a, button):focus-visible {
  outline: 3px solid var(--otex-blue);
  outline-offset: 5px;
}

.otex-front .otex-site-header {
  position: relative;
  z-index: 10;
  background: #fff;
}

.otex-header-inner {
  display: flex;
  align-items: center;
  gap: 30px;
  width: min(calc(100% - 80px), 1320px);
  height: var(--otex-header-height);
  margin: 0 auto;
}

.otex-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  width: 215px;
}

.otex-brand img {
  display: block;
  width: 100%;
  height: auto;
}

.otex-site-nav {
  margin-left: auto;
}

.otex-site-nav ul,
.otex-header-action {
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.otex-site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .025em;
  transition: color .2s;
}

.otex-front .otex-site-nav a:hover {
  color: var(--otex-blue);
}

.otex-menu-toggle {
  display: none;
}

.otex-front :is(.otex-header-action, .otex-hero-actions) a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 50px;
  padding: 0 26px;
  border: 1.5px solid transparent;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .035em;
  white-space: nowrap;
  transition: box-shadow .2s ease, filter .2s ease, background-color .2s ease;
}

.otex-front :is(.otex-header-action, .otex-hero-primary) a {
  background: linear-gradient(110deg, #08aaba 0%, #0676a1 100%);
  color: #fff;
}

.otex-front :is(.otex-header-action, .otex-hero-primary) a:hover {
  filter: brightness(1.06);
  box-shadow: 0 5px 16px #087f9d22;
}

.otex-front .otex-hero-secondary a {
  border-color: #4297b1;
  background: #ffffffb8;
}

.otex-front .otex-hero-secondary a:hover {
  background: #eaf8fb;
}

.otex-header-action a::before,
.otex-hero-primary a::before,
.otex-hero-actions a::after,
.otex-hero-strengths li::before {
  content: "";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: currentColor;
  mask: var(--otex-icon) center / contain no-repeat;
}

.otex-header-action a::before,
.otex-hero-primary a::before {
  --otex-icon: url("./icons/mail.svg");
}

.otex-hero-actions a::after {
  --otex-icon: url("./icons/arrow.svg");
  width: 15px;
  height: 15px;
  margin-left: auto;
}

.otex-hero-secondary a::after {
  color: var(--otex-blue);
}

.otex-front .otex-header-action a {
  min-width: 160px;
  min-height: 48px;
  padding: 0 24px;
  font-size: 14px;
}

.otex-header-action a::before {
  width: 20px;
  height: 20px;
}

.otex-front .otex-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  background: #f4fafc;
}

.otex-front .otex-hero :is(.otex-hero-inner, .otex-hero-copy, .otex-hero-visual, .otex-hero-title, .otex-hero-eyebrow, .otex-hero-description, .otex-hero-actions, .otex-hero-strengths) {
  margin: 0;
}

.otex-front .otex-hero .otex-hero-inner {
  display: flex;
  align-items: center;
  width: min(calc(100% - 96px), 1200px);
  min-height: 548px;
  margin: 0 auto;
  padding: 43px 0 34px;
}

.otex-hero-copy {
  width: 590px;
  max-width: 55%;
}

/* Classic themes add an inner container to each Group block. */
:is(.otex-hero, .otex-hero-inner, .otex-hero-copy) > .wp-block-group__inner-container {
  display: contents;
}

:is(.otex-hero-copy, .otex-hero-copy > .wp-block-group__inner-container) > :not(.otex-hero-visual, .wp-block-group__inner-container) {
  position: relative;
  z-index: 2;
}

.otex-front .otex-hero .otex-hero-visual {
  position: absolute;
  z-index: -2;
  inset: 0;
}

.otex-hero-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 52%;
}

.otex-front .otex-hero-visual::after {
  position: absolute;
  inset: 0;
  display: block;
  height: auto;
  content: "";
  visibility: visible;
  pointer-events: none;
  background: linear-gradient(90deg, #f7fbfdf5 0%, #f7fbfdeb 28%, #f7fbfd99 43%, #f7fbfd00 61%);
}

.otex-front .otex-hero .otex-hero-eyebrow {
  margin-bottom: 15px;
  color: var(--otex-blue);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: .07em;
}

.otex-hero-eyebrow br,
.otex-hero-description--mobile {
  display: none;
}

.otex-front .otex-hero-title {
  font-size: clamp(43px, 4.35vw, 59px);
  font-weight: 800;
  line-height: 1.34;
  letter-spacing: .025em;
}

.otex-hero-title .has-inline-color {
  font-size: 1.09em;
  letter-spacing: .005em;
}

.otex-front .otex-hero .otex-hero-description {
  margin: 18px 0 24px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.95;
  letter-spacing: .02em;
}

.otex-front .otex-hero-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
}

.otex-front .otex-hero-actions .wp-block-button {
  display: contents;
}

.otex-front .otex-hero-actions a {
  flex: 0 0 auto;
  width: auto;
}

.otex-hero-actions .otex-hero-primary a {
  min-width: 242px;
}

.otex-hero-actions .otex-hero-secondary a {
  min-width: 198px;
}

.otex-front .otex-hero .otex-hero-strengths {
  display: flex;
  width: 500px;
  max-width: 100%;
  margin-top: 26px;
  padding: 0;
  list-style: none;
}

.otex-front .otex-hero-strengths li {
  position: relative;
  flex: 1;
  margin: 0;
  padding: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .02em;
  text-align: center;
}

.otex-front .otex-hero-strengths li::before {
  display: block;
  width: 36px;
  height: 36px;
  margin: 0 auto 7px;
  color: #248cac;
}

.otex-hero-strengths li:nth-child(1) { --otex-icon: url("./icons/stethoscope.svg"); }
.otex-hero-strengths li:nth-child(2) { --otex-icon: url("./icons/laptop.svg"); }
.otex-hero-strengths li:nth-child(3) { --otex-icon: url("./icons/handshake.svg"); }

.otex-hero-strengths li + li::after {
  position: absolute;
  top: 13px;
  bottom: 4px;
  left: 0;
  width: 1px;
  content: "";
  background: #b9d4df99;
}

.otex-hero::before,
.otex-hero::after {
  position: absolute;
  bottom: -1px;
  content: "";
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.otex-hero::before {
  left: 0;
  z-index: 0;
  width: 12%;
  height: 125px;
  background-image: url("./wave-left.svg");
}

.otex-hero::after {
  right: 0;
  z-index: 1;
  width: 54%;
  height: 140px;
  background-image: url("./wave-right.svg");
}

@media (min-width: 1600px) {
  .otex-front .otex-hero .otex-hero-inner { min-height: 610px; }
  .otex-hero-visual img { object-position: center 50%; }
}

@media (max-width: 1100px) {
  .otex-header-inner { width: calc(100% - 48px); gap: 22px; }
  .otex-brand { width: 190px; }
  .otex-site-nav ul { gap: 22px; }
  .otex-site-nav a { font-size: 12px; }
  .otex-front .otex-header-action a { min-width: 140px; padding: 0 18px; font-size: 13px; }
  .otex-front .otex-hero .otex-hero-inner { width: calc(100% - 80px); min-height: 520px; }
  .otex-hero-copy { max-width: 58%; }
  .otex-front .otex-hero .otex-hero-eyebrow { font-size: 12px; letter-spacing: .025em; }
  .otex-front .otex-hero .otex-hero-description { font-size: 13px; }
  .otex-front .otex-hero-actions { gap: 12px; }
  .otex-front .otex-hero-actions a { padding: 0 19px; font-size: 13px; }
  .otex-hero-actions .otex-hero-primary a { min-width: 205px; }
  .otex-hero-actions .otex-hero-secondary a { min-width: 168px; }
}

@media (max-width: 800px) {
  :root:has(#body_wrap.otex-front) { --otex-header-height: 76px; }
  .otex-header-inner { width: calc(100% - 40px); gap: 18px; }
  .otex-brand { width: 160px; }
  .otex-header-action { margin-left: auto; }
  .otex-front .otex-header-action a { min-width: 120px; min-height: 42px; padding: 0 16px; font-size: 12px; gap: 7px; }
  .otex-header-action a::before { width: 17px; height: 17px; }

  .otex-menu-toggle {
    display: flex;
    flex-shrink: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 7px;
    width: 44px;
    min-height: 48px;
    padding: 4px 0;
    border: 0;
    background: transparent;
    color: var(--otex-ink);
    cursor: pointer;
  }

  .otex-menu-lines { position: relative; display: block; width: 23px; height: 14px; }
  .otex-menu-lines span { position: absolute; left: 0; top: 2px; width: 23px; height: 1.5px; background: var(--otex-blue); transition: transform .2s ease; }
  .otex-menu-lines span + span { top: 11px; }
  .otex-menu-toggle[aria-expanded="true"] .otex-menu-lines span { transform: translateY(4.5px) rotate(45deg); }
  .otex-menu-toggle[aria-expanded="true"] .otex-menu-lines span + span { transform: translateY(-4.5px) rotate(-45deg); }
  .otex-menu-label { font-size: 9px; font-weight: 700; line-height: 1; }

  .otex-site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    display: none;
    width: 100%;
    margin: 0;
    padding: 12px 24px 22px;
    background: #fff;
    border-top: 1px solid #eaf2f4;
    box-shadow: 0 12px 18px #143d5010;
  }

  .otex-site-nav.is-open { display: block; }
  .otex-site-nav ul { flex-direction: column; gap: 0; }
  .otex-site-nav a { display: flex; min-height: 52px; font-size: 14px; border-bottom: 1px solid #eaf2f4; }

  .otex-front .otex-hero .otex-hero-inner { width: calc(100% - 48px); min-height: 490px; padding: 32px 0 30px; }
  .otex-hero-copy { max-width: 68%; }
  .otex-front .otex-hero-title { font-size: 39px; }
  .otex-hero-eyebrow br { display: initial; }
  .otex-hero-description { max-width: 395px; }
  .otex-hero-description--desktop br { display: none; }
  .otex-front .otex-hero-visual::after { background: linear-gradient(90deg, #f7fbfdf5 0%, #f7fbfdeb 31%, #f7fbfd99 50%, #f7fbfd00 81%); }
  .otex-front .otex-hero .otex-hero-strengths { width: 390px; }
  .otex-front .otex-hero-strengths li { font-size: 12px; }
  .otex-front .otex-hero-actions { max-width: 390px; }
  .otex-hero-actions .otex-hero-primary a { min-width: 0; flex: 1.15; }
  .otex-hero-actions .otex-hero-secondary a { min-width: 0; flex: 1; }
  .otex-hero::after { width: 46%; height: 100px; }
}

@media (max-width: 600px) {
  .otex-header-inner { width: calc(100% - 32px); gap: 10px; }
  .otex-brand { width: min(177px, calc(100vw - 198px)); }
  .otex-front .otex-header-action a { min-width: 88px; min-height: 44px; padding: 0 8px; gap: 5px; }
  .otex-header-action a::before { width: 14px; height: 14px; }

  .otex-front .otex-hero {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr) 24px;
    row-gap: 20px;
    padding: 28px 0;
    background: #f6fbfd;
  }

  .otex-front .otex-hero .otex-hero-inner,
  .otex-hero-copy { display: contents; }

  :is(.otex-hero-copy, .otex-hero-copy > .wp-block-group__inner-container) > :not(.otex-hero-visual, .wp-block-group__inner-container) {
    grid-column: 2;
    min-width: 0;
  }
  .otex-front .otex-hero .otex-hero-eyebrow { grid-row: 1; margin: 0; font-size: 11px; line-height: 1.8; letter-spacing: .055em; }
  .otex-hero-eyebrow br { display: none; }
  .otex-front .otex-hero-title { grid-row: 2; font-size: clamp(30px, 8.8vw, 44px); line-height: 1.42; letter-spacing: .015em; }
  .otex-front .otex-hero .otex-hero-description { grid-row: 3; max-width: none; margin: 0; font-size: 14px; line-height: 1.9; letter-spacing: .015em; }
  .otex-hero-description--desktop { display: none; }
  .otex-hero-description--mobile { display: block; }
  .otex-front .otex-hero-actions { grid-row: 4; width: 100%; max-width: none; gap: 12px; }
  .otex-front .otex-hero-actions a { min-height: 48px; padding: 0 15px; font-size: 12px; gap: 8px; }
  .otex-front .otex-hero-secondary a { background: #fff; }
  .otex-hero-primary a::before { width: 18px; height: 18px; }
  .otex-hero-actions a::after { width: 12px; height: 12px; }

  .otex-front .otex-hero .otex-hero-visual {
    grid-column: 1 / -1;
    grid-row: 5;
    position: relative;
    inset: auto;
    z-index: 0;
    width: 100%;
    height: clamp(250px, 76vw, 330px);
    overflow: hidden;
  }

  .otex-hero-visual img { object-position: right center; }
  .otex-front .otex-hero-visual::after { background: linear-gradient(180deg, #f6fbfd 0%, #f6fbfd70 6%, #f6fbfd00 20%); }

  .otex-front .otex-hero .otex-hero-strengths {
    grid-row: 6;
    justify-self: center;
    width: 100%;
    max-width: 420px;
    margin-top: 4px;
  }

  .otex-front .otex-hero-strengths li { line-height: 1.65; }
  .otex-front .otex-hero-strengths li::before { width: 32px; height: 32px; }
  .otex-hero::before, .otex-hero::after { grid-column: 1 / -1; grid-row: 5; position: relative; inset: auto; align-self: end; }
  .otex-hero::before { justify-self: start; z-index: 1; width: 22%; height: 62px; }
  .otex-hero::after { justify-self: end; z-index: 2; width: 83%; height: 68px; }
}

@media (max-width: 359px) {
  .otex-header-inner { width: calc(100% - 28px); gap: 8px; }
  .otex-brand { width: 142px; }
  .otex-front .otex-hero { grid-template-columns: 18px minmax(0, 1fr) 18px; }
  .otex-front .otex-hero .otex-hero-eyebrow { font-size: 10px; }
  .otex-front .otex-hero-actions a { font-size: 11px; padding: 0 12px; gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  :root:has(#body_wrap.otex-front) { scroll-behavior: auto; }

  .otex-front :is(.otex-site-header, .otex-hero) *,
  .otex-front :is(.otex-site-header, .otex-hero) *::before,
  .otex-front :is(.otex-site-header, .otex-hero) *::after {
    transition: none !important;
  }
}
