/* Six independent first views for the earlier static samples. Lower pages remain intact. */
.lf-demo {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  background: #172733;
  color: #fff;
  padding: 9px 25px;
  font:
    9px/1.8 Arial,
    "Noto Sans JP",
    sans-serif;
}
.lf-demo a {
  color: #fff;
  text-decoration: none;
  min-height: 25px;
  display: inline-flex;
  align-items: center;
}
.lf-header,
.lf-audience,
.lf-hero {
  --lf-ink: #16364e;
  --lf-paper: #f4f5f1;
  --lf-accent: #b6def2;
  box-sizing: border-box;
}
.lf-wakaba {
  --lf-ink: #215142;
  --lf-paper: #f2f5e9;
  --lf-accent: #d2e5a7;
}
.lf-maruei {
  --lf-ink: #633b29;
  --lf-paper: #f5efe4;
  --lf-accent: #c7905a;
}
.lf-header *,
.lf-audience *,
.lf-hero * {
  box-sizing: border-box;
}
.lf-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 24px max(35px, calc((100% - 1290px) / 2));
  min-height: 108px;
  background: var(--lf-paper);
  color: var(--lf-ink);
}
.lf-brand {
  display: flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
  color: inherit;
  font-size: 26px;
  letter-spacing: 0.05em;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
}
.lf-brand small {
  display: block;
  font:
    8px/1.8 Arial,
    sans-serif;
  letter-spacing: 0.14em;
  margin-top: 5px;
}
.lf-mark {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}
.lf-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.lf-nav a {
  font-size: 12px;
  text-decoration: none;
  min-height: 44px;
  display: flex;
  align-items: center;
  color: inherit;
}
.lf-nav a:hover {
  text-decoration: underline;
  text-underline-offset: 6px;
}
.lf-nav .lf-nav-action {
  display: flex;
  gap: 30px;
  padding: 15px 22px;
  background: var(--lf-ink);
  color: var(--lf-paper);
}
.lf-menu {
  display: none;
}
.lf-audience {
  display: flex;
  justify-content: center;
  gap: 0;
  background: var(--lf-paper);
  border-top: 1px solid #233d4720;
  border-bottom: 1px solid #233d4730;
}
.lf-audience a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  min-width: 235px;
  min-height: 46px;
  font-size: 11px;
  color: var(--lf-ink);
  text-decoration: none;
}
.lf-audience a > span {
  font:
    8px Arial,
    sans-serif;
  letter-spacing: 0.12em;
  opacity: 0.65;
}
.lf-audience a[aria-current] {
  background: var(--lf-ink);
  color: var(--lf-paper);
}
.lf-hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  min-height: 650px;
  background: var(--lf-ink);
  color: var(--lf-paper);
  display: flex;
  flex-direction: column;
  font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
}
.lf-hero :is(p, h1, figure, ul) {
  margin: 0;
}
.lf-hero a {
  color: inherit;
  text-decoration: none;
}
.lf-photo {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.lf-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.lf-photo figcaption {
  position: absolute;
  right: 25px;
  bottom: 100px;
  background: #152734c9;
  color: #fff;
  font-size: 8px;
  padding: 5px 10px;
  z-index: 3;
}
.lf-copy {
  position: relative;
  z-index: 2;
  padding: 55px 7% 100px;
  flex: 1;
}
.lf-kicker {
  font-size: 11px;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 12px;
}
.lf-kicker > span {
  width: 6px;
  height: 6px;
  background: currentColor;
  border-radius: 50%;
}
.lf-hero h1 {
  font-size: clamp(40px, 5vw, 73px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.02em;
  margin: 30px 0;
  color: inherit;
}
.lf-hero h1 > span {
  display: block;
}
.lf-description {
  max-width: 370px;
  font-size: 12px;
  line-height: 2.2;
}
.lf-description .lf-lead {
  font-size: 14px;
  font-weight: 500;
  line-height: 2;
  margin-bottom: 15px;
}
.lf-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px 30px;
  margin-top: 30px;
}
.lf-primary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 35px;
  padding: 15px 22px;
  min-height: 58px;
  background: var(--lf-accent);
  color: var(--lf-ink) !important;
  font-size: 12px;
}
.lf-primary > span {
  font-size: 22px;
}
.lf-secondary {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 11px;
  padding: 15px 0;
  border-bottom: 1px solid currentColor;
  min-height: 48px;
}
.lf-english {
  position: absolute;
  right: 4%;
  bottom: 104px;
  font:
    clamp(35px, 5.2vw, 76px)/0.95 Arial,
    sans-serif;
  letter-spacing: -0.045em;
  z-index: 1;
  pointer-events: none;
}
.lf-english > span {
  display: block;
}
.lf-footer {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 23px 4.5%;
  border-top: 1px solid #ffffff40;
  font:
    8px/1.8 Arial,
    sans-serif;
  letter-spacing: 0.12em;
  z-index: 2;
}
.lf-footer > p > span {
  display: block;
  font:
    8px/1.8 "Noto Sans JP",
    sans-serif;
  letter-spacing: 0.02em;
  opacity: 0.65;
  margin-top: 4px;
}
.lf-footer ul {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 25px;
}
.lf-footer > a {
  display: flex;
  align-items: center;
  gap: 30px;
  min-height: 30px;
}
.lf-footer > a > span {
  font-size: 22px;
}
.lf-towa.lf-business::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, #102e48fa, #102e48c9 36%, #102e4833 80%),
    linear-gradient(0deg, #102e48b3, transparent 60%);
}
.lf-towa.lf-business .lf-copy {
  padding-top: 60px;
}
.lf-towa.lf-business h1 > span:last-child {
  color: #b6def2;
}
.lf-towa.lf-business h1 {
  font-size: clamp(36px, 4.3vw, 65px);
}
.lf-towa.lf-business .lf-photo img {
  object-position: 70% center;
}
.lf-towa.lf-business .lf-english {
  color: #d9eaf2a3;
  font-weight: 400;
}
.lf-towa.lf-recruit {
  background: #e8eef0;
  color: #16364e;
}
.lf-towa.lf-recruit .lf-photo {
  inset: 0 0 80px 43%;
  clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%);
}
.lf-towa.lf-recruit .lf-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #16364e8c, transparent 50%);
}
.lf-towa.lf-recruit .lf-copy {
  padding-bottom: 140px;
}
.lf-towa.lf-recruit .lf-description {
  max-width: 330px;
}
.lf-towa.lf-recruit .lf-actions {
  max-width: 330px;
}
.lf-towa.lf-recruit .lf-primary {
  background: #16364e;
  color: #fff !important;
}
.lf-towa.lf-recruit .lf-english {
  color: #fff;
  font-size: clamp(35px, 4.6vw, 68px);
}
.lf-towa.lf-recruit .lf-footer {
  border-color: #16364e35;
}
.lf-wakaba.lf-business {
  background: #f2f5e9;
  color: #215142;
}
.lf-wakaba.lf-business .lf-photo {
  inset: 35px 3% 105px 48%;
  border-radius: 150px 8px 8px 8px;
  overflow: hidden;
}
.lf-wakaba.lf-business .lf-photo img {
  object-position: 40% center;
}
.lf-wakaba.lf-business .lf-copy {
  padding-top: 65px;
}
.lf-wakaba.lf-business h1 {
  font-size: clamp(38px, 4.7vw, 68px);
}
.lf-wakaba.lf-business .lf-description {
  max-width: 330px;
}
.lf-wakaba.lf-business .lf-actions {
  max-width: 330px;
}
.lf-wakaba.lf-business .lf-english {
  color: #215142;
  right: 6%;
  bottom: 130px;
  font:
    italic clamp(38px, 5vw, 72px)/0.95 Georgia,
    serif;
  background: #f2f5e9e6;
  padding: 15px;
}
.lf-wakaba.lf-business .lf-photo figcaption {
  bottom: 20px;
  right: 20px;
}
.lf-wakaba.lf-business .lf-primary {
  background: #215142;
  color: #fff !important;
}
.lf-wakaba.lf-business .lf-footer {
  border-color: #21514230;
}
.lf-wakaba.lf-recruit {
  background: #215142;
  color: #f2f5e9;
}
.lf-wakaba.lf-recruit .lf-photo {
  inset: 0 0 0 30%;
  clip-path: polygon(25% 0, 100% 0, 100% 100%, 0 100%);
}
.lf-wakaba.lf-recruit::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, #215142 22%, #215142d9 46%, #102e1a0d 95%),
    linear-gradient(0deg, #163d29bb, transparent 55%);
}
.lf-wakaba.lf-recruit h1 {
  font-size: clamp(37px, 4.6vw, 67px);
}
.lf-wakaba.lf-recruit h1 > span:last-child {
  color: #d2e5a7;
}
.lf-wakaba.lf-recruit .lf-english {
  color: #e4edb9cc;
  font-size: clamp(35px, 4.7vw, 70px);
}
.lf-maruei {
  font-family: "Zen Kaku Gothic New", "Yu Gothic", sans-serif;
}
.lf-maruei.lf-business {
  background: #f5efe4;
  color: #633b29;
}
.lf-maruei.lf-business .lf-photo {
  inset: 30px 3% 110px 48%;
  rotate: 3deg;
  border: 10px solid #fffaf0;
  box-shadow: 0 12px 35px #633b2920;
}
.lf-maruei.lf-business .lf-photo img {
  object-position: 64% center;
}
.lf-maruei.lf-business .lf-photo figcaption {
  bottom: 20px;
  right: 20px;
}
.lf-maruei h1 {
  font-family: "Shippori Mincho B1", "Yu Mincho", serif;
  font-weight: 500;
  line-height: 1.65;
}
.lf-maruei.lf-business h1 {
  font-size: clamp(36px, 4.4vw, 65px);
}
.lf-maruei.lf-business .lf-description {
  max-width: 325px;
}
.lf-maruei.lf-business .lf-actions {
  max-width: 330px;
}
.lf-maruei.lf-business .lf-primary {
  background: #633b29;
  color: #fff !important;
}
.lf-maruei.lf-business .lf-english {
  font:
    italic clamp(37px, 5.3vw, 77px)/0.95 Georgia,
    serif;
  color: #9f643e;
  right: 7%;
  bottom: 100px;
}
.lf-maruei.lf-business .lf-footer {
  border-color: #633b2935;
}
.lf-maruei.lf-recruit {
  background: #633b29;
  color: #f5efe4;
}
.lf-maruei.lf-recruit .lf-photo img {
  object-position: 65% center;
}
.lf-maruei.lf-recruit::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, #472d1ee8 0%, #472d1ec9 40%, #472d1e28 90%),
    linear-gradient(0deg, #472d1eaa, transparent);
}
.lf-maruei.lf-recruit h1 {
  font-size: clamp(35px, 4.1vw, 62px);
}
.lf-maruei.lf-recruit .lf-english {
  font:
    italic clamp(34px, 4.5vw, 67px)/0.98 Georgia,
    serif;
  color: #f5e1c8b8;
}
.lf-maruei.lf-recruit .lf-primary {
  background: #f5dfbb;
  color: #633b29 !important;
}
.lf-header a:focus-visible,
.lf-audience a:focus-visible,
.lf-hero a:focus-visible,
.lf-menu summary:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 5px;
}
@media (max-width: 1100px) {
  .lf-header {
    padding-inline: 30px;
    gap: 20px;
  }
  .lf-nav {
    gap: 22px;
  }
  .lf-nav .lf-nav-action {
    padding: 13px 18px;
    gap: 20px;
  }
  .lf-copy {
    padding-inline: 5%;
  }
  .lf-towa.lf-recruit .lf-description,
  .lf-wakaba.lf-business .lf-description,
  .lf-maruei.lf-business .lf-description {
    max-width: 295px;
  }
  .lf-towa.lf-recruit .lf-photo {
    left: 45%;
  }
  .lf-hero h1 {
    font-size: 5vw;
  }
  .lf-english {
    font-size: 5vw;
  }
}
@media (max-width: 800px) {
  .lf-demo {
    padding: 7px 16px;
    gap: 5px 10px;
    flex-wrap: wrap;
    font-size: 8px;
  }
  .lf-demo > a:last-child {
    display: none;
  }
  .lf-demo > span {
    font-size: 7px;
  }
  .lf-header {
    padding: 18px 20px;
    min-height: 86px;
    gap: 15px;
    position: relative;
    z-index: 9;
  }
  .lf-brand {
    font-size: 23px;
    gap: 10px;
  }
  .lf-brand small {
    font-size: 7px;
  }
  .lf-mark {
    width: 36px;
    height: 36px;
  }
  .lf-nav {
    display: none;
  }
  .lf-menu {
    display: block;
  }
  .lf-menu summary {
    font:
      9px Arial,
      sans-serif;
    letter-spacing: 0.05em;
    cursor: pointer;
    list-style: none;
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: 15px;
  }
  .lf-menu summary::-webkit-details-marker {
    display: none;
  }
  .lf-menu summary > span {
    font-size: 19px;
  }
  .lf-menu[open] summary > span {
    rotate: 45deg;
  }
  .lf-menu nav {
    position: absolute;
    top: calc(100% - 3px);
    left: 20px;
    right: 20px;
    background: var(--lf-paper);
    border: 1px solid #233d4740;
    padding: 12px 20px;
    box-shadow: 0 12px 25px #233d471f;
  }
  .lf-menu nav > a {
    display: block;
    font-size: 12px;
    color: var(--lf-ink);
    text-decoration: none;
    padding: 13px 0;
    border-bottom: 1px solid #233d4725;
  }
  .lf-menu nav > a:last-child {
    border: 0;
  }
  .lf-audience a {
    min-width: 0;
    width: 50%;
    min-height: 47px;
    gap: 12px;
    font-size: 10px;
  }
  .lf-audience a > span {
    font-size: 7px;
  }
  .lf-hero {
    min-height: 0;
  }
  .lf-copy {
    padding: 35px 24px 145px;
  }
  .lf-kicker {
    font-size: 9px;
    letter-spacing: 0.01em;
    gap: 8px;
  }
  .lf-hero h1 {
    font-size: clamp(30px, 8.5vw, 49px) !important;
    line-height: 1.5;
    margin: 27px 0;
  }
  .lf-description {
    max-width: 285px !important;
    font-size: 11px;
    line-height: 2.2;
  }
  .lf-description .lf-lead {
    font-size: 12px;
    margin-bottom: 13px;
  }
  .lf-actions {
    gap: 14px 23px;
    margin-top: 25px;
  }
  .lf-primary {
    font-size: 11px;
    min-height: 54px;
    padding: 13px 18px;
    gap: 25px;
  }
  .lf-secondary {
    font-size: 10px;
    min-height: 44px;
    gap: 15px;
  }
  .lf-english {
    font-size: clamp(30px, 8.5vw, 52px) !important;
    right: 20px;
    bottom: 110px;
    line-height: 0.98;
  }
  .lf-footer {
    padding: 20px;
    gap: 15px;
    font-size: 7px;
  }
  .lf-footer ul {
    display: none;
  }
  .lf-footer > p > span {
    font-size: 7px;
  }
  .lf-footer > a {
    gap: 20px;
  }
  .lf-photo figcaption {
    font-size: 7px;
    right: 15px;
    bottom: 82px;
  }
  .lf-towa.lf-business .lf-copy {
    padding-top: 35px;
    padding-bottom: 160px;
    min-height: 610px;
  }
  .lf-towa.lf-business .lf-photo img {
    object-position: 63% center;
  }
  .lf-towa.lf-business::after {
    background:
      linear-gradient(90deg, #102e48f2, #102e48aa),
      linear-gradient(0deg, #102e48b3, transparent);
  }
  .lf-towa.lf-business h1 {
    font-size: clamp(27px, 7.4vw, 47px) !important;
  }
  .lf-towa.lf-recruit .lf-copy {
    padding-bottom: 155px;
    min-height: 725px;
  }
  .lf-towa.lf-recruit .lf-photo {
    inset: 265px 0 95px 24%;
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
  }
  .lf-towa.lf-recruit .lf-photo img {
    object-position: 67% center;
  }
  .lf-towa.lf-recruit .lf-description {
    margin-top: 190px;
    background: #e8eef0e8;
    padding: 12px;
    position: relative;
    left: -12px;
    max-width: 260px !important;
  }
  .lf-towa.lf-recruit .lf-actions {
    max-width: 300px;
  }
  .lf-towa.lf-recruit .lf-secondary {
    background: #e8eef0e8;
    padding-inline: 10px;
  }
  .lf-towa.lf-recruit .lf-english {
    color: #16364e;
    background: #e8eef0e8;
    padding: 7px;
    bottom: 100px;
  }
  .lf-wakaba.lf-business .lf-copy {
    padding-top: 35px;
    padding-bottom: 180px;
    min-height: 795px;
  }
  .lf-wakaba.lf-business .lf-photo {
    inset: 275px 12px 100px 22%;
    border-radius: 90px 5px 5px 5px;
  }
  .lf-wakaba.lf-business .lf-description {
    margin-top: 220px;
    max-width: 235px !important;
    background: #f2f5e9ed;
    padding: 12px;
    position: relative;
    left: -12px;
  }
  .lf-wakaba.lf-business .lf-actions {
    max-width: 300px;
  }
  .lf-wakaba.lf-business .lf-secondary {
    background: #f2f5e9e8;
    padding-inline: 10px;
  }
  .lf-wakaba.lf-business .lf-english {
    font-size: clamp(28px, 8.5vw, 50px) !important;
    right: 22px;
    bottom: 105px;
    padding: 10px;
  }
  .lf-wakaba.lf-business .lf-photo figcaption {
    font-size: 7px;
    bottom: 20px;
  }
  .lf-wakaba.lf-recruit .lf-copy {
    min-height: 650px;
    padding-bottom: 180px;
  }
  .lf-wakaba.lf-recruit .lf-photo {
    left: 0;
    clip-path: none;
  }
  .lf-wakaba.lf-recruit .lf-photo img {
    object-position: 60% center;
  }
  .lf-wakaba.lf-recruit::after {
    background:
      linear-gradient(90deg, #215142f2, #2151428c),
      linear-gradient(0deg, #163d29cc, transparent);
  }
  .lf-wakaba.lf-recruit h1 {
    font-size: clamp(28px, 7.6vw, 48px) !important;
  }
  .lf-maruei.lf-business .lf-copy {
    padding-top: 35px;
    min-height: 830px;
    padding-bottom: 160px;
  }
  .lf-maruei.lf-business h1 {
    font-size: clamp(30px, 8.7vw, 49px) !important;
  }
  .lf-maruei.lf-business .lf-photo {
    inset: 295px 28px auto 24%;
    height: 320px;
    rotate: 3deg;
    border-width: 6px;
  }
  .lf-maruei.lf-business .lf-description {
    margin-top: 300px;
    background: #f5efe4e8;
    padding: 12px;
    position: relative;
    left: -12px;
    max-width: 275px !important;
  }
  .lf-maruei.lf-business .lf-actions {
    max-width: 300px;
  }
  .lf-maruei.lf-business .lf-english {
    right: 30px;
    bottom: 115px;
  }
  .lf-maruei.lf-recruit .lf-copy {
    min-height: 670px;
    padding-bottom: 185px;
  }
  .lf-maruei.lf-recruit h1 {
    font-size: clamp(27px, 7.7vw, 47px) !important;
  }
  .lf-maruei.lf-recruit .lf-photo img {
    object-position: 65% center;
  }
  .lf-maruei.lf-recruit::after {
    background:
      linear-gradient(90deg, #472d1eef, #472d1e7a),
      linear-gradient(0deg, #472d1eaa, transparent);
  }
  .lf-maruei.lf-recruit .lf-english {
    font-size: clamp(30px, 8.8vw, 50px) !important;
  }
}
@media (max-width: 380px) {
  .lf-brand {
    font-size: 21px;
    gap: 8px;
  }
  .lf-header {
    padding-inline: 16px;
  }
  .lf-mark {
    width: 32px;
    height: 32px;
  }
  .lf-menu summary {
    font-size: 8px;
    gap: 10px;
  }
  .lf-brand small {
    font-size: 6px;
  }
  .lf-audience a {
    font-size: 9px;
    gap: 8px;
  }
  .lf-copy {
    padding-inline: 20px;
  }
  .lf-hero .lf-description {
    font-size: 10px;
  }
  .lf-towa.lf-business h1 {
    font-size: 7.4vw !important;
  }
  .lf-footer > p {
    max-width: 205px;
  }
  .lf-footer > a {
    gap: 10px;
  }
  .lf-footer {
    padding-inline: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .lf-hero *,
  .lf-header * {
    animation: none !important;
    transition: none !important;
  }
}

/* Review refinements: keep labels distinct from display type, tighten mobile images. */
.lf-hero.lf-business .lf-photo figcaption,
.lf-hero.lf-recruit .lf-photo figcaption {
  top: 18px;
  right: 18px;
  bottom: auto;
}
@media (max-width: 800px) {
  .lf-towa.lf-recruit .lf-photo {
    top: 215px;
  }
  .lf-towa.lf-recruit .lf-description {
    margin-top: 140px;
  }
  .lf-towa.lf-recruit .lf-copy {
    min-height: 675px;
  }
  .lf-wakaba.lf-business .lf-photo {
    top: 225px;
  }
  .lf-wakaba.lf-business .lf-description {
    margin-top: 170px;
  }
  .lf-wakaba.lf-business .lf-copy {
    min-height: 745px;
  }
  .lf-maruei.lf-business .lf-photo {
    top: 220px;
  }
  .lf-maruei.lf-business .lf-description {
    margin-top: 220px;
  }
  .lf-maruei.lf-business .lf-copy {
    min-height: 750px;
    padding-bottom: 145px;
  }
}
