@charset "UTF-8";
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:where([hidden]:not([hidden="until-found"])) {
  display: none !important;
}

:where(html) {
  -webkit-text-size-adjust: none;
  color-scheme: dark light;
}

@supports not (min-block-size: 100dvb) {
  :where(html) {
    block-size: 100%;
  }
}
@media (prefers-reduced-motion: no-preference) {
  :where(html:focus-within) {
    scroll-behavior: smooth;
  }
}
:where(body) {
  block-size: 100%;
  block-size: 100dvb;
  line-height: 1.5;
  font-family: system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

:where(input, button, textarea, select) {
  font: inherit;
  color: inherit;
}

:where(textarea) {
  resize: vertical;
  resize: block;
}

:where(button, label, select, summary, [role="button"], [role="option"]) {
  cursor: pointer;
}

:where(:disabled) {
  cursor: not-allowed;
}

:where(label:has(> input:disabled), label:has(+ input:disabled)) {
  cursor: not-allowed;
}

:where(button) {
  border-style: solid;
}

:where(a) {
  text-underline-offset: 0.2ex;
}

:where(ul, ol) {
  list-style: none;
}

:where(img, svg, video, canvas, audio, iframe, embed, object) {
  display: block;
}

:where(img, picture, svg) {
  max-inline-size: 100%;
  block-size: auto;
}

:where(p, h1, h2, h3, h4, h5, h6) {
  overflow-wrap: break-word;
}

:where(h1, h2, h3) {
  line-height: calc(1em + 0.5rem);
}

:where(hr) {
  border: none;
  border-block-start: 1px solid;
  color: inherit;
  block-size: 0;
  overflow: visible;
}

:where(:focus-visible) {
  outline: 2px solid var(--focus-color, Highlight);
  outline-offset: 2px;
}

:where(
  .visually-hidden:not(:focus, :active, :focus-within, .not-visually-hidden)
) {
  clip-path: inset(50%) !important;
  height: 1px !important;
  width: 1px !important;
  overflow: hidden !important;
  position: absolute !important;
  white-space: nowrap !important;
  border: 0 !important;
}

:root {
  --red: #c71918;
  --red2: #e02321;
  --red03: #9b1613;
  --dark: #303030;
  --ink: #303030;
  --blk: #333;
  --muted: #777;
  --line: #d9d9d9;
  --gold: #c9a449;
  --gold02: #c3a460;
  --bg-gray: #f4f4f4;
  --gray: #aaabab;
  --serif: "Noto Serif JP", serif;
  --sans: "Noto Sans JP", sans-serif;
}

html,
body {
  max-width: 100vw;
  margin: 0 auto;
  padding: 0;
}

body {
  min-width: 1100px;
  color: var(--blk);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.85;
  letter-spacing: 0.02em;
  background: #fff;
}

img {
  max-width: 100%;
  height: auto;
  border: 0;
  vertical-align: middle;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
  border: none;
}

a,
button {
  transition:
    opacity 0.28s ease,
    transform 0.28s ease,
    background-color 0.28s ease,
    color 0.28s ease;
}

address {
  font-style: normal;
}

.is-pc {
  display: block;
}

.is-sp {
  display: none;
}

.bold {
  font-weight: 700;
}

.clearfix::after {
  display: block;
  clear: both;
  height: 0;
  visibility: hidden;
  content: " ";
}

.scroll_stop {
  height: 100vh;
  overflow-y: hidden;
}

@media screen and (max-width: 767px) {
  body {
    min-width: 0;
  }
  .is-pc {
    display: none;
  }
  .is-sp {
    display: block;
  }
}
a,
button {
  transition:
    opacity 0.28s ease,
    transform 0.28s ease,
    background-color 0.28s ease,
    color 0.28s ease;
}

.story-card,
.voice-card,
.journal-card,
.consultant-card {
  transition: opacity 0.28s ease;
}

@media (hover: hover) {
  .global-nav a:hover,
  .sp-menu a:hover,
  .footer-nav a:hover {
    opacity: 0.7;
  }
  .header-btn:hover,
  .round-btn:hover,
  .hero-btn:hover,
  .search-submit:hover {
    opacity: 0.72;
    transform: translateY(-1px);
  }
  .carousel-arrow:hover {
    opacity: 0.7;
    transform: translateY(-1px);
  }
  .condition-tag:hover,
  .more-toggle:hover {
    opacity: 0.72;
  }
  .slider-dots button:hover,
  .story-card:hover,
  .voice-card:hover,
  .journal-card:hover,
  .consultant-card:hover {
    opacity: 0.7;
  }
  main a:not(.round-btn):not(.hero-btn):not(.fv-conversion):hover,
  .condition-tags a:hover,
  .area-row a:hover,
  .general-job-link:hover,
  .general-dropdown a:hover {
    opacity: 0.7;
  }
  .fv-conversion:hover {
    opacity: 0.72;
    transform: translate(-50%, -36px);
  }
  .header-btn-primary:hover,
  .fv-conversion:hover {
    opacity: 1;
  }
  .header-btn-primary:hover img,
  .fv-conversion:hover img {
    opacity: 0;
  }
  .page-general .has-dropdown:hover > .general-nav-link,
  .page-general .has-dropdown:focus-within > .general-nav-link {
    opacity: 1;
  }
}
a:active,
button:active {
  transform: translateY(1px);
}

.fv-conversion:active {
  transform: translate(-50%, -34px);
}

.container {
  width: 1080px;
  margin: 0 auto;
}

.narrow {
  width: 940px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 30;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  width: 1280px;
  height: 86px;
  margin: 0 auto;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  width: 156px;
}

.site-logo img {
  display: block;
  width: 156px;
  height: auto;
}

.footer-logo {
  width: 199px;
}

.footer-logo img {
  width: 199px;
}

.global-nav {
  display: flex;
  gap: 34px;
  margin-left: auto;
  font-weight: 700;
  font-size: 15px;
}

.global-nav a {
  padding: 31px 0;
}

.header-actions {
  display: flex;
  gap: 20px;
  margin-left: 52px;
}

.header-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: 46px;
}

.header-btn img {
  display: block;
  height: 46px;
  width: auto;
}

.header-btn-primary,
.fv-conversion {
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.header-btn-primary {
  background-image: url("../images/cover/header_btn_hover.png");
}

.fv-conversion {
  background-image: url("../images/cover/fv_btn_hover.png");
}

.header-btn-primary img,
.fv-conversion img {
  transition: opacity 0.2s ease;
}

.header-btn-red {
  background: transparent;
}

.header-btn-dark {
  background: transparent;
}

.menu-button,
.sp-menu {
  display: none;
}

.page-general .header-inner .sp-menu-cta {
  display: none;
}
@media (min-width: 1441px) {
  .first-view {
    height: 700px;
    aspect-ratio: auto;
  }
  .fv-conversion {
    left: calc(50% + 175px);
  }
  .search-area {
    margin-top: -122px;
  }
}
.header-actions,
.header-btn,
.header-btn img {
  flex-shrink: 0;
}

.header-btn img {
  object-fit: contain;
}

.header-btn-primary img {
  aspect-ratio: 216/46;
}

.header-actions .header-btn:not(.header-btn-primary) img {
  aspect-ratio: 168/46;
}

@media (min-width: 901px) and (max-width: 1050px) {
  .header-inner {
    width: calc(100% - 28px);
  }
  .header-actions {
    gap: 8px;
    margin-left: 18px;
  }
  .header-btn,
  .header-btn img {
    height: 38px;
  }
}
.intro-title span:last-child {
  display: inline-block;
}

.fv-conversion {
  position: absolute;
  left: calc(59% + 45px);
  bottom: 19%;
  display: block;
  width: min(34.93vw, 503px);
  min-width: 0;
  transform: translate(-50%, -35px);
}

.fv-conversion img {
  display: block;
  width: 100%;
  height: auto;
}

.round-btn,
.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 455px;
  height: 84px;
  background: transparent;
}

.round-btn img {
  display: block;
  width: 455px;
  height: auto;
}

.round-btn picture {
  display: block;
  line-height: 0;
}

.search-area {
  position: relative;
  z-index: 4;
  min-height: 405px;
  margin-top: -8.5vw;
  padding-bottom: 80px;
}

.search-card {
  width: min(100% - 48px, 1140px);
  min-height: 380px;
  margin: 0 auto;
  padding: 1px 100px 51px;
  color: #fff;
  background: var(--dark);
  border-radius: 7px;
}

.search-card h2 {
  margin: 50px 0 36px;
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 500;
  text-align: center;
}

.page-layer .search-card h2,
.page-legal .search-card h2 {
  margin-top: 50px;
}

.search-row select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 40px;
  background: #fff url(../img/top/select-arrow.svg) no-repeat right 16px
    center/12px 8px;
}

.search-row {
  display: grid;
  grid-template-columns: 210px 210px 1fr;
  gap: 36px;
  margin-bottom: 36px;
}

.page-legal .search-row {
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.page-legal .search-row input {
  grid-column: 1/-1;
}

.search-row select,
.search-row input {
  width: 100%;
  height: 40px;
  padding: 0 20px;
  border: 1px solid #d9d9d9;
  border-radius: 3px;
  color: #333;
  font-size: 14px;
}

.search-row input {
  background: #fff;
}

.condition-title {
  margin: 0 0 14px;
  font-family: var(--serif);
  text-align: center;
  font-size: 16px;
  font-weight: 500;
}

.tag-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 12px;
  padding: 18px 40px 20px;
  margin-bottom: 46px;
  background: #fff;
  color: #333;
  border-radius: 3px;
}

.condition-tag {
  min-width: 96px;
  height: 26px;
  padding: 0 14px;
  border: 1px solid #8c8c8c;
  border-radius: 999px;
  background: #fff;
  color: #333;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
}

.condition-tag.is-active {
  color: #fff;
  border-color: #8c8c8c;
  background: #8c8c8c;
}

.tag-box:not(.is-open) .is-more {
  display: none;
}

.more-toggle {
  flex-basis: 100%;
  margin-top: 6px;
  border: 0;
  background: transparent;
  color: #333;
  cursor: pointer;
}

.more-toggle::after {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  margin: 2px auto 0;
  border-right: 1px solid #333;
  border-bottom: 1px solid #333;
  transform: rotate(45deg);
}

.tag-box.is-open .more-toggle::after {
  margin-top: 7px;
  transform: rotate(225deg);
}

.search-submit {
  position: relative;
  display: block;
  width: 335px;
  height: 47px;
  margin: 0 auto;
  padding: 0;
  border: 0;
  border-radius: 5px;
  background: transparent;
  cursor: pointer;
}

.search-submit img {
  display: block;
  width: 335px;
  height: auto;
}

.intro-section {
  min-height: 705px;
  padding: 86px 0 112px;
}

.intro-grid {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px 56px;
}

.intro-title {
  grid-row: 1 / span 2;
  padding-top: 12px;
  font-family: var(--serif);
  font-size: 25px;
  line-height: 1.65;
  letter-spacing: 0.08em;
}

.intro-title span {
  display: block;
}

.intro-title span:last-child {
  display: inline-block;
  background: linear-gradient(transparent 72%, #eee 72%);
}

.sp-office-break {
  display: none;
}

.reason-card {
  position: relative;
  min-height: 230px;
  padding-left: 20px;
}

.reason-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 22px;
  margin-left: -20px;
  padding-left: 16px;
  border-left: solid 4px #b41417;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.6;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.reason-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 16px;
  line-height: 2.05;
}

.reason-card span {
  position: absolute;
  right: -12px;
  bottom: -28px;
  color: rgba(221, 67, 67, 0.08);
  font-family: Georgia, serif;
  font-size: 148px;
  line-height: 1;
}

.cta-band {
  min-height: 248px;
  padding: 64px 20px 58px;
  color: #fff;
  text-align: center;
  background: var(--dark);
}

.cta-band p {
  margin: 0 0 22px;
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.55;
  letter-spacing: 0.06em;
}

.cta-band p img {
  display: block;
  width: min(789px, 100%);
  height: auto;
  margin: 0 auto;
}

.cta-band strong {
  color: #d0ae61;
  font-weight: 600;
  font-size: 40px;
  letter-spacing: 0.04em;
}

.data-section {
  min-height: 570px;
  padding: 78px 0 76px;
}

.section-title {
  display: table;
  margin: 0 auto 50px;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 500;
  line-height: 1.3;
  background: linear-gradient(transparent 68%, #eee 68%);
}

.section-lead {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: -34px 0 54px;
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.4;
  text-align: center;
}

.section-lead::before,
.section-lead::after {
  content: "";
  width: 48px;
  height: 1px;
  background: #aaa;
}

.data-panel {
  width: 900px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 auto;
  padding: 38px 0 36px;
  border-top: 1px solid #aaa;
  border-bottom: 1px solid #aaa;
}

.data-item {
  margin: 0;
  text-align: center;
}

.data-item + .data-item {
  border-left: 0;
}

.data-item dt {
  margin: 0 0 24px;
  color: #333;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.4;
}

.data-item dd {
  margin: 0;
  color: #a91318;
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.data-item dd span {
  font-size: 64px;
  letter-spacing: 0.02em;
}

.data-item dd small {
  margin-left: 5px;
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 600;
}

.note {
  width: 900px;
  margin: 31px auto 0;
  color: #555;
  font-size: 12px;
  line-height: 1.8;
}

.note span,
.note small {
  display: block;
}

.note span {
  font-size: 16px;
}

.note small {
  font-size: 14px;
}

.note small:first-of-type {
  margin-top: 10px;
}

.case-section {
  padding: 92px 0 0;
}

.case-heading {
  margin: 0 0 22px;
  padding-left: 16px;
  border-left: 4px solid #b41417;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 500;
}

.case-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 44px 32px;
  margin-bottom: 48px;
}

.case-card {
  min-width: 0;
}

.case-age {
  margin: 0 0 5px;
  text-align: center;
  font-family: var(--serif);
  font-size: 18px;
}

.case-card > div {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  min-height: 118px;
  overflow: hidden;
  border-radius: 4px;
  background: #fafafa;
}

.case-card > div > span {
  display: grid;
  place-items: center;
  min-width: 0;
  padding: 12px 8px;
  clip-path: polygon(0 0, 86% 0, 100% 50%, 86% 100%, 0 100%);
  color: #fff;
  background: #989898;
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.12;
  text-align: center;
}

.case-card > div > span em {
  margin-top: 2px;
}

.case-card b {
  display: grid;
  place-items: center;
  min-width: 0;
  padding: 11px 6px 10px 4px;
  color: #b41417;
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.22;
  text-align: center;
  font-weight: 600;
}

.case-card b > span {
  display: block;
  font-size: 18px;
}

.case-card .case-income-value {
  display: flex;
  align-items: baseline;
  gap: 0.2em;
}

.case-card .case-income-label,
.case-card .case-income-unit {
  font-size: inherit;
}

.case-card em {
  display: block;
  margin-top: 1px;
  font-style: normal;
  font-size: 20px;
  font-weight: 600;
}

.case-card > div > span em {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
}

.case-card strong {
  font-size: 30px;
  font-weight: 600;
}

.case-card > div > span strong {
  font-size: 20px;
  font-weight: 600;
}

.story-section {
  min-height: 690px;
  padding: 86px 0 120px;
}

.carousel {
  position: relative;
}

.carousel-viewport {
  overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: 38px;
  transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}

.story-card {
  flex: 0 0 calc((100% - 76px) / 3);
  min-width: 0;
}

.article-thumb {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 205px;
  padding: 22px;
  overflow: hidden;
  color: #08294b;
  background:
    linear-gradient(135deg, #0b315a 0 4%, transparent 4% 92%, #0b315a 92%),
    linear-gradient(
      135deg,
      transparent 0 7%,
      #d4a02f 7% 9%,
      transparent 9% 88%,
      #d4a02f 88% 90%,
      transparent 90%
    ),
    #fff;
  border: 1px solid #eee;
  font-family: var(--serif);
  font-size: 20px;
  text-align: center;
  line-height: 1.5;
}

.article-thumb strong {
  display: block;
  margin-top: 8px;
  font-size: 38px;
  line-height: 1.2;
}

.article-thumb small {
  display: block;
  margin-top: 10px;
  font-size: 17px;
}

.story-card p {
  min-height: 0;
  margin: 16px 0 0;
  padding-bottom: 10px;
  border-bottom: 1px solid #333;
  font-size: 15px;
  line-height: 1.7;
}

.journal-section .container {
  width: min(100%, 1440px);
  overflow: hidden;
}

.journal-carousel .carousel-viewport {
  overflow: hidden;
}

.journal-carousel .carousel-track {
  gap: 38px;
  transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.journal-card p {
  min-height: 0;
  margin: 12px 0 0;
  padding-top: 12px;
  border-top: 1px solid #333;
  font-size: 16px;
  line-height: 1.65;
}

.story-card > img {
  display: block;
  width: 100%;
  aspect-ratio: 315/210;
  object-fit: cover;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 42px;
  margin-top: 32px;
}

.carousel-arrow {
  display: grid;
  place-items: center;
  width: 50px;
  height: 28px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: #333;
  font-size: 23px;
  line-height: 1;
  cursor: pointer;
}

.slider-dots,
.simple-dots {
  display: flex;
  justify-content: center;
  gap: 18px;
}

.slider-dots button,
.simple-dots span {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #c7c7c7;
}

.slider-dots button.is-active {
  background: #333;
}

.voice-section {
  min-height: 780px;
  padding: 94px 0 110px;
  overflow: hidden;
}

.wide-slider {
  width: min(100%, 1440px);
  overflow: hidden;
}

.voice-carousel .carousel-viewport {
  overflow: hidden;
}

.voice-card {
  flex: 0 0 calc((100% - 152px) / 4);
  min-height: 250px;
  padding: 24px 14px 22px;
  border-top: 1px solid #aaa;
  background: #fff;
}

.voice-card h3 {
  position: relative;
  margin: 0 0 22px;
  padding-left: 58px;
  padding-bottom: 22px;
  border-bottom: 1px solid #aaa;
  font-size: 18px;
  line-height: 1.55;
  letter-spacing: 0.01em;
}

.voice-card h3::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 4px;
  width: 40px;
  height: 40px;
  background: url("../img/top/icon_1.png") center/contain no-repeat;
}

.voice-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.9;
}

.voice-card strong {
  color: var(--ink);
  font-size: 19px;
  font-weight: 700;
  background: linear-gradient(transparent 58%, rgba(199, 25, 24, 0.28) 58%);
}

@media (min-width: 901px) {
  .voice-card {
    min-width: 370px;
  }
  .voice-card h3 {
    font-size: 20px;
  }
  .voice-card p {
    font-size: 16px;
  }
  .voice-card strong {
    font-size: 24px;
  }
  .journal-card {
    min-width: 330px;
  }
  .consultant-card {
    min-width: 292px;
  }
}
.journal-section {
  min-height: 640px;
  padding: 86px 0 100px;
}

.journal-card {
  flex: 0 0 calc((100% - 152px) / 4);
}

.journal-card img {
  width: 100%;
  aspect-ratio: 330/200;
  object-fit: cover;
}

.consultant-section {
  min-height: 760px;
  padding: 88px 0 104px;
}

.consultant-section .container {
  width: auto !important;
  max-width: 1440px;
  margin: 0 auto;
}

.consultant-list {
  gap: 34px;
}

.consultant-carousel .carousel-track {
  transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.carousel.consultant-carousel {
  max-width: 1440px;
  overflow: hidden;
}

.consultant-card {
  flex: 0 0 calc((100% - 102px) / 4);
  min-width: 0;
}

.consultant-card img {
  display: block;
  width: 290px;
  height: 340px;
  margin: 0 auto;
  object-fit: cover;
  object-position: center top;
  background: #dfe4e8;
}

.consultant-name {
  margin-top: 12px;
  padding: 8px 0 9px;
  border-top: 1px solid #999;
  border-bottom: 1px solid #999;
  text-align: center;
}

.consultant-name small {
  display: block;
  margin-bottom: 1px;
  font-size: 10px;
  line-height: 1.2;
}

.consultant-card h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
}

.consultant-card h3 span {
  margin-left: 8px;
  font-size: 14px;
  font-weight: 400;
}

.consultant-card p {
  margin: 18px 0 0;
  font-size: 13px;
  line-height: 1.95;
}

@media (min-width: 901px) {
  .consultant-name small {
    font-size: 12px;
  }
  .consultant-card h3 {
    font-size: 20px;
  }
  .consultant-card h3 span {
    font-size: 16px;
  }
  .consultant-card p {
    font-size: 16px;
  }
}
.consultant-carousel .carousel-controls {
  margin-top: 34px;
}

.faq-section {
  padding: 88px 0 116px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 19px 54px 19px 48px;
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 23px;
  height: 28px;
  transform: translateY(-50%);
  background: url("../images/cover/q.png") center/contain no-repeat;
}

.faq-list summary::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 17px;
  height: 17px;
  margin-top: -8px;
  color: #777;
  background:
    linear-gradient(#555, #555) center/17px 1px no-repeat,
    linear-gradient(#555, #555) center/1px 17px no-repeat;
  font-size: 0;
}

.faq-list details[open] summary::after {
  background: linear-gradient(#555, #555) center/17px 1px no-repeat;
}

.faq-list p {
  max-height: 0;
  margin: 0;
  padding-left: 48px;
  overflow: hidden;
  opacity: 0;
  color: #666;
  font-size: 16px;
  transition:
    max-height 0.35s ease,
    opacity 0.25s ease,
    margin 0.35s ease;
}

.faq-list details[open] p {
  margin: -3px 0 18px;
  opacity: 1;
}

.bottom-search {
  padding: 118px 0 150px;
}

.bottom-title {
  display: inline-block;
  margin: 0 0 36px;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 500;
  line-height: 1.3;
  background: linear-gradient(transparent 68%, #eee 68%);
}

.condition-block {
  --condition-heading-height: 30px;
  position: relative;
  margin-top: calc(var(--condition-heading-height) + 20px);
  padding: 17px 14px 15px;
  border: 1px solid #cfcfcf;
  border-radius: 4px;
}

.condition-block + .condition-block {
  margin-top: calc(var(--condition-heading-height) + 60px);
}

.condition-block h3 {
  position: absolute;
  left: 0;
  top: calc((var(--condition-heading-height) + 20px) * -1);
  display: inline-block;
  width: fit-content;
  margin: 0;
  padding-left: 14px;
  border-left: 4px solid var(--red);
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.5;
  background: #fff;
}

.condition-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 19px;
  font-size: 14px;
  line-height: 1.65;
}
@media (max-width: 767px) {
  .condition-block h3 {
    position: initial;
  }
  .condition-tags {
    border: 1px solid #cfcfcf;
    border-radius: 4px;
    margin-top: 20px;
    padding: 18px 16px 20px;
  }
  .condition-block + .condition-block {
    margin-top: calc(var(--condition-heading-height) + 20px);
  }
}

.condition-tags a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.area-list {
  display: grid;
  gap: 9px;
  font-size: 14px;
  line-height: 1.65;
}

.area-row {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 18px;
  align-items: center;
}

.area-row b {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 4px 8px;
  border-radius: 3px;
  color: #fff;
  text-align: center;
  background: #999;
  font-weight: 400;
}

.area-row p {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 16px;
  margin: 0;
}

.area-row a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer {
  color: #fff;
  background: var(--dark);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 80px, 1360px);
  min-height: 143px;
  padding: 60px 0;
  margin: 0 auto;
}

.footer-logo-wrap {
  display: block;
}

.copyright {
  display: block;
  margin-top: 12px;
  color: #ddd;
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 0.04em;
}

.footer-nav {
  display: block;
  max-width: 780px;
  color: #ddd;
  font-size: 12px;
  line-height: 1.6;
}

.footer-nav-main {
  display: grid;
  grid-template-columns: repeat(4, max-content);
  justify-content: end;
  gap: 12px 30px;
  font-size: 16px;
}

.footer-nav-sub {
  display: flex;
  justify-content: flex-end;
  gap: 30px;
  margin-top: 14px;
  font-size: 14px;
}

@media (max-width: 1199px) {
  body {
    min-width: 0;
  }
  .container,
  .narrow,
  .wide-slider,
  .header-inner,
  .footer-inner {
    width: min(100% - 48px, 1040px);
  }
  .header-inner {
    height: 72px;
  }
  .site-logo {
    width: 156px;
  }
  .global-nav {
    gap: 22px;
    font-size: 14px;
  }
  .header-actions {
    gap: 10px;
    margin-left: 26px;
  }
  .header-btn {
    height: 42px;
  }
  .header-btn img {
    height: 42px;
  }
  .first-view {
    height: auto;
    min-height: 0;
    padding-bottom: 0;
  }
  .fv-conversion {
    width: 35vw;
    bottom: 18%;
  }
  .round-btn,
  .hero-btn {
    width: min(100%, 455px);
    height: auto;
  }
  .round-btn img {
    width: min(455px, 100%);
  }
  .search-card {
    width: min(100% - 48px, 1040px);
    padding-right: 60px;
    padding-left: 60px;
  }
  .search-row {
    grid-template-columns: 180px 180px 1fr;
    gap: 22px;
  }
  .page-legal .search-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .page-legal .search-row input {
    grid-column: 1/-1;
  }
  .data-panel,
  .note {
    width: 100%;
  }
  .intro-grid {
    grid-template-columns: 230px 1fr 1fr;
    gap: 48px 44px;
  }
  .reason-card h3 {
    font-size: 18px;
  }
  .reason-card p {
    font-size: 13px;
  }
  .case-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .story-card {
    flex-basis: calc((100% - 38px) / 2);
  }
  .journal-card,
  .consultant-card {
    flex-basis: calc((100% - 68px) / 3);
  }
}
@media (max-width: 900px) {
  .container,
  .narrow,
  .wide-slider,
  .header-inner,
  .footer-inner {
    width: min(100% - 40px, 760px);
  }
  .header-inner {
    width: calc(100% - 40px);
  }
  .global-nav,
  .header-actions {
    display: none;
  }
  .menu-button {
    display: grid;
    gap: 5px;
    width: 40px;
    margin-left: auto;
    padding: 8px;
    border: 0;
    background: transparent;
  }
  .menu-button span {
    display: block;
    height: 2px;
    background: #333;
  }
  .sp-menu {
    display: none;
    padding: 12px 24px 18px;
    background: #fff;
  }
  .sp-menu.is-open {
    display: grid;
    align-content: start;
    min-height: 100vh;
  }
  .sp-menu a {
    padding: 12px 0;
    border-bottom: 1px solid #ebebeb;
    font-family: var(--serif);
  }
  .sp-menu .sp-menu-cta {
    display: none;
    width: 164px;
    margin: 0;
    padding: 0;
    border-bottom: 0;
    font-family: inherit;
    line-height: 1;
  }
  .sp-menu.is-open .sp-menu-cta {
    display: block;
    position: fixed;
    top: 17px;
    right: 63px;
    z-index: 10002;
  }
  .sp-menu .sp-menu-cta img {
    display: block;
    width: 100%;
    height: auto;
  }
  .first-view {
    min-height: 0;
    padding: 0;
  }
  .fv-conversion {
    width: 42vw;
    bottom: 14%;
  }
  .search-row {
    grid-template-columns: 1fr 1fr;
  }
  .page-legal .search-row {
    grid-template-columns: 1fr 1fr;
  }
  .search-row input {
    grid-column: 1/-1;
  }
  .intro-grid {
    grid-template-columns: 1fr 1fr;
  }
  .intro-title {
    grid-column: 1/-1;
    grid-row: auto;
    text-align: center;
  }
  .voice-carousel .carousel-viewport {
    overflow: hidden;
  }
  .voice-card,
  .story-card,
  .journal-card,
  .consultant-card {
    flex-basis: calc((100% - 20px) / 2);
  }
  .carousel-track,
  .consultant-list {
    gap: 20px;
  }
  .area-row {
    grid-template-columns: 132px 1fr;
    gap: 14px;
  }
  .footer-inner {
    min-height: 0;
    padding: 40px 0;
  }
  .footer-nav {
    margin-top: 24px;
    padding-left: 25px;
  }
  .footer-nav-main {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, auto);
    grid-auto-flow: column;
    justify-content: start;
    font-size: 16px;
    row-gap: 24px;
    column-gap: 20px;
  }
  .footer-nav-sub {
    justify-content: flex-start;
    font-size: 14px;
  }
}
@media (max-width: 767px) {
  .sp-menu.is-open .sp-menu-cta {
    top: 14px;
  }
}
@media (max-width: 767px) {
  body {
    font-size: 14px;
  }
  .container,
  .narrow,
  .wide-slider,
  .header-inner,
  .footer-inner {
    width: min(100% - 32px, 560px);
  }
  .header-inner {
    width: calc(100% - 32px);
    height: 62px;
  }
  .site-logo {
    width: 132px;
  }
  .site-logo img {
    width: 132px;
  }
  .first-view {
    height: auto;
    min-height: 0;
    padding: 0;
  }
  .fv-conversion {
    width: 48vw;
    bottom: 11%;
  }
  .round-btn,
  .hero-btn {
    width: 100%;
    height: auto;
  }
  .round-btn img {
    width: min(455px, 100%);
  }
  .search-area {
    min-height: 0;
    padding: 0 0 48px;
  }
  .search-card {
    width: min(100% - 32px, 520px);
    min-height: 0;
    padding: 28px 18px 32px;
  }
  .search-card h2 {
    margin-bottom: 22px;
    font-size: 24px;
  }
  .search-row,
  .intro-grid,
  .case-list,
  .consultant-list {
    grid-template-columns: 1fr;
  }
  .page-legal .search-row {
    grid-template-columns: 1fr;
  }
  .search-row {
    gap: 12px;
    margin-bottom: 22px;
  }
  .page-layer .search-area {
    position: relative;
    z-index: 4;
    min-height: 0;
    margin-top: -17vw;
    padding-bottom: 54px;
  }
  .page-layer .first-view {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    aspect-ratio: 520/627;
    background-image: url("../img/top/fv_lawyer_sp.png");
    background-position: center top;
    background-size: 100% 100%;
  }
  .page-general .first-view {
    aspect-ratio: 1440/700;
    background-image: url("../img/top/fv_general.png");
    background-size: cover;
  }
  .page-general .search-area {
    margin-top: -9vw;
    padding-bottom: 58px;
  }
  .page-general .general-search-card {
    width: calc(100% - 32px);
    padding: 38px 18px 34px;
    border-radius: 4px;
  }
  .page-general .general-search-card h2 {
    margin-bottom: 30px;
    font-size: 26px;
  }
  .page-general .general-job-block {
    margin-top: 34px;
  }
  .page-general .general-job-block h3 {
    gap: 14px;
    margin-bottom: 16px;
    font-size: 16px;
  }
  .page-general .general-job-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .page-general .general-job-link {
    min-height: 54px;
    padding-left: 18px;
    font-size: 15px;
  }
  .page-general .general-office-title {
    margin-top: 50px;
    margin-bottom: 22px;
  }
  .page-layer .fv-conversion {
    display: none;
  }
  .page-layer .search-card {
    width: calc(100% - 32px);
    padding: 30px 18px 34px;
    border-radius: 4px;
  }
  .page-layer .search-card h2 {
    margin-bottom: 24px;
    font-size: 24px;
    line-height: 1.5;
  }
  .page-layer .search-row {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 22px;
  }
  .page-layer .tag-box {
    padding: 18px 12px 20px;
  }
  .tag-box {
    padding: 14px 10px 16px;
  }
  .condition-tag {
    min-width: auto;
    height: 30px;
    font-size: 12px;
  }
  .search-submit {
    width: min(335px, 100%);
    height: auto;
  }
  .search-submit img {
    width: 100%;
  }
  .intro-section,
  .data-section,
  .case-section,
  .story-section,
  .voice-section,
  .journal-section,
  .consultant-section,
  .faq-section,
  .bottom-search {
    min-height: 0;
    padding: 58px 0;
  }
  .intro-title {
    grid-row: auto;
    text-align: center;
  }
  .intro-title span {
    display: block;
  }
  .reason-card {
    min-height: 0;
  }
  .reason-card h3 {
    font-size: 19px;
  }
  .reason-card h3 {
    white-space: normal;
  }
  .reason-card p {
    margin-left: -20px;
    font-size: 14px;
    line-height: 1.9;
  }
  .reason-card span {
    font-size: 96px;
  }
  .cta-band {
    min-height: 0;
    padding: 50px 16px;
  }
  .cta-band p {
    font-size: 20px;
    line-height: 1.7;
  }
  .cta-band p picture {
    display: block;
    line-height: 0;
  }
  .cta-band p img {
    width: min(357px, 100%);
  }
  .cta-band .round-btn {
    width: min(386px, 100%);
  }
  .cta-band .round-btn img {
    width: 100%;
  }
  .section-title {
    margin-bottom: 34px;
    font-size: 25px;
  }
  .section-lead {
    margin: -18px 0 34px;
    gap: 12px;
    font-size: 13px;
  }
  .section-lead::before,
  .section-lead::after {
    width: 28px;
  }
  .carousel-track {
    gap: 18px;
  }
  .story-card,
  .journal-card,
  .voice-card,
  .consultant-card {
    flex-basis: 100%;
  }
  .article-thumb {
    min-height: 180px;
  }
  .article-thumb strong {
    font-size: 30px;
  }
  .carousel-controls {
    gap: 22px;
  }
  .data-panel {
    grid-template-columns: 1fr;
  }
  .data-panel dl + dl {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .note {
    width: auto;
  }
  .note span {
    font-size: 14px;
  }
  .note small {
    font-size: 12px;
  }
  .case-list {
    gap: 28px;
  }
  .case-card > div {
    min-height: 108px;
  }
  .voice-carousel .carousel-viewport {
    overflow: hidden;
  }
  .voice-card {
    min-height: 0;
  }
  .consultant-list {
    gap: 34px;
  }
  .faq-list summary {
    padding-right: 50px;
    line-height: 1.7;
  }
  .bottom-title {
    font-size: 19px;
    line-height: 1.7;
  }
  .condition-block {
    padding: initial;
    border: initial;
    border-radius: initial;
  }
  .area-list {
    gap: 14px;
    font-size: 14px;
    margin-top: 20px;
    padding: 18px 16px 20px;
    border: 1px solid #cfcfcf;
    border-radius: 4px;
  }
  .area-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .area-row b {
    width: 100%;
    font-size: 14px;
  }
  .area-row p {
    gap: 6px 14px;
  }
  .footer-inner {
    display: block;
    padding: 34px 0;
  }
  .footer-nav {
    display: grid;
    gap: 10px;
    margin-top: 24px;
  }
  .footer-nav-main {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .footer-nav-sub {
    display: grid;
    justify-content: start;
    gap: 10px;
    margin-top: 10px;
  }
}
/* Mobile tuning for the lawyer page */
.carousel a,
.carousel article,
.carousel button {
  transition: opacity 0.25s ease;
}

.carousel a:hover,
.carousel article:not(.case-card):hover,
.carousel button:hover {
  opacity: 0.7;
}

.case-slider {
  margin-bottom: 48px;
}

.case-slider .case-list {
  margin-bottom: 0;
}

.case-mobile-controls {
  display: none;
}

@media (min-width: 1200px) {
  .page-layer .case-slider .case-mobile-viewport,
  .page-legal .case-slider .case-mobile-viewport {
    overflow: visible;
  }
  .page-layer .case-slider .case-list,
  .page-legal .case-slider .case-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 44px 32px;
    transition: none;
    transform: none !important;
  }
}
@media (min-width: 768px) and (max-width: 1199px) {
  .page-layer .case-slider .case-mobile-viewport,
  .page-legal .case-slider .case-mobile-viewport {
    overflow: visible;
  }
  .page-layer .case-slider .case-list,
  .page-legal .case-slider .case-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 44px 32px;
    transition: none;
    transform: none !important;
  }
}
@media (max-width: 1439px) {
  .case-age {
    font-size: 1.25vw;
  }
  .case-card > div > span {
    font-size: 0.97vw;
  }
  .case-card > div > span em {
    font-size: 1.11vw;
  }
  .case-card > div > span strong {
    font-size: 1.39vw;
  }
  .case-card b {
    font-size: 1.32vw;
  }
  .case-card b > span {
    font-size: 1.25vw;
  }
  .case-card em {
    font-size: 1.39vw;
  }
  .case-card strong {
    font-size: 2.08vw;
  }
}
@media (max-width: 767px) {
  .page-layer .case-slider .case-mobile-viewport,
  .page-legal .case-slider .case-mobile-viewport {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    overflow: hidden;
    padding: 0;
  }
  .page-layer .case-slider .case-list,
  .page-legal .case-slider .case-list {
    display: flex;
    gap: 36px;
    transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
    will-change: transform;
  }
  .page-layer .case-slider .case-card,
  .page-legal .case-slider .case-card {
    flex: 0 0 calc(100vw - 172px);
    max-width: calc(100vw - 172px);
  }
  .case-age {
    font-size: 3.6vw;
  }
  .case-card > div {
    grid-template-columns: 1fr 1.12fr;
  }
  .case-card > div > span {
    padding: 10px 6px;
    font-size: 2.8vw;
  }
  .case-card > div > span em {
    font-size: 3.2vw;
  }
  .case-card > div > span strong {
    font-size: 4vw;
  }
  .case-card b {
    padding: 10px 4px 9px 2px;
    font-size: 3.8vw;
  }
  .case-card b > span {
    font-size: 3.6vw;
  }
  .case-card em {
    font-size: 4vw;
  }
  .case-card strong {
    font-size: 6vw;
  }
  .page-layer .case-slider .case-mobile-controls,
  .page-legal .case-slider .case-mobile-controls {
    display: flex;
  }
  .page-layer .story-section .carousel-viewport,
  .page-layer #voice .carousel-viewport,
  .page-layer #journal .carousel-viewport,
  .page-layer #consultant .carousel-viewport,
  .page-legal .story-section .carousel-viewport,
  .page-legal #voice .carousel-viewport,
  .page-legal #journal .carousel-viewport,
  .page-legal #consultant .carousel-viewport {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    overflow: hidden;
    padding: 0;
  }
  .page-layer .story-section .carousel-track,
  .page-layer #voice .carousel-track,
  .page-layer #journal .carousel-track,
  .page-layer #consultant .carousel-track,
  .page-legal .story-section .carousel-track,
  .page-legal #voice .carousel-track,
  .page-legal #journal .carousel-track,
  .page-legal #consultant .carousel-track {
    gap: 36px;
    transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
    will-change: transform;
  }
  .page-layer .story-section .story-card,
  .page-layer #voice .voice-card,
  .page-layer #journal .journal-card,
  .page-layer #consultant .consultant-card,
  .page-legal .story-section .story-card,
  .page-legal #voice .voice-card,
  .page-legal #journal .journal-card,
  .page-legal #consultant .consultant-card {
    flex: 0 0 calc(100vw - 172px);
    max-width: calc(100vw - 172px);
  }
  .page-layer .story-section .story-card img,
  .page-layer #journal .journal-card img,
  .page-layer #consultant .consultant-card img,
  .page-legal .story-section .story-card img,
  .page-legal #journal .journal-card img,
  .page-legal #consultant .consultant-card img {
    width: 100%;
  }
  .page-layer #consultant .consultant-card img,
  .page-legal #consultant .consultant-card img {
    aspect-ratio: 1/1.16;
    height: auto;
    object-fit: cover;
  }
  .page-layer .condition-area .area-list,
  .page-legal .condition-area .area-list {
    display: grid;
    gap: 12px;
    background: #fff;
  }
  .page-layer .condition-area .area-row,
  .page-legal .condition-area .area-row {
    display: block;
  }
  .page-layer .condition-area .area-row b,
  .page-legal .condition-area .area-row b {
    display: inline-block;
    width: auto;
    min-width: 96px;
    margin: 0 auto 8px;
    padding: 4px 10px;
    border-radius: 3px;
    background: #9d9d9d;
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.35;
    text-align: center;
  }
  .page-layer .condition-area .area-row p,
  .page-legal .condition-area .area-row p {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 12px;
    margin: 0;
  }
  .page-layer .condition-area .area-row a,
  .page-legal .condition-area .area-row a {
    font-size: 12px;
    line-height: 1.6;
  }
  .footer-inner {
    width: min(100% - 50px, 500px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 42px 0 34px;
  }
  .footer-nav {
    order: 1;
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
  }
  .footer-nav-main {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, auto);
    grid-auto-flow: column;
    justify-content: start;
    column-gap: 20px;
    row-gap: 24px;
    font-size: 16px;
  }
  .footer-nav-sub {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: start;
    gap: 14px;
    margin-top: 28px;
    font-size: 14px;
  }
  .footer-nav a {
    line-height: 1.5;
    white-space: nowrap;
  }
  .footer-logo-wrap {
    order: 2;
    margin: 42px 0 0;
  }
  .footer-logo,
  .footer-logo img {
    width: 172px;
  }
  .copyright {
    display: block;
    margin-top: 10px;
    font-size: 10px;
    line-height: 1.4;
  }
}
@media (max-width: 767px) {
  .page-layer .condition-area .area-row b,
  .page-legal .condition-area .area-row b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    padding-top: 0;
    padding-bottom: 0;
    line-height: 1;
    vertical-align: top;
  }
  .page-layer .condition-area .area-row p,
  .page-legal .condition-area .area-row p {
    gap: 5px 7px;
  }
  .page-layer .condition-area .area-row a,
  .page-legal .condition-area .area-row a {
    font-size: 14px;
    line-height: 1.55;
    letter-spacing: -0.02em;
  }
}
@media (max-width: 767px) {
  .page-layer .first-view {
    width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    overflow: hidden;
  }
  .page-layer .first-view > img,
  .page-layer .first-view > picture,
  .page-layer .first-view > picture > img {
    display: block;
    width: 100%;
    max-width: none;
  }
  .page-layer .fv-conversion {
    display: block !important;
    visibility: visible;
    opacity: 1;
    left: 50%;
    bottom: 58px;
    width: min(72vw, 300px);
    transform: translateX(-50%);
    z-index: 6;
  }
  .page-layer .fv-conversion img {
    display: block;
    width: 100%;
    height: auto;
  }
}
/* Integrated first-view adjustments formerly loaded as separate CSS files. */
@media (max-width: 767px) {
  body.page-layer .first-view {
    position: relative;
    width: 100vw;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    overflow: visible;
    background-size: 100% auto !important;
    background-position: center top !important;
    background-repeat: no-repeat !important;
  }
  body.page-layer .first-view > img,
  body.page-layer .first-view > picture,
  body.page-layer .first-view > picture > img {
    display: block;
    width: 100vw;
    max-width: none;
    height: auto !important;
  }
  body.page-layer .first-view > img,
  body.page-layer .first-view > picture > img {
    object-fit: contain !important;
    object-position: center top;
  }
  body.page-layer .first-view .fv-conversion {
    display: block !important;
    visibility: visible !important;
    opacity: 1;
    position: absolute;
    left: 50%;
    bottom: 7vw;
    width: min(76vw, 330px);
    min-width: 0;
    transform: translateX(-50%);
    z-index: 3;
  }
  body.page-layer .first-view .fv-conversion img {
    display: block;
    width: 100%;
    max-width: none;
    height: auto !important;
  }
  body.page-layer .search-area {
    position: relative;
    z-index: 4;
    min-height: 0;
    margin-top: -17vw;
    padding-bottom: 54px;
  }
}
@media (max-width: 767px) {
  html,
  body {
    overflow-x: hidden;
  }
  body.page-layer .first-view {
    position: relative !important;
    width: 100vw !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 calc(50% - 50vw) !important;
    padding: 0 !important;
    overflow: visible !important;
    aspect-ratio: 522/628 !important;
    background-size: 100% auto !important;
    background-position: center top !important;
    background-repeat: no-repeat !important;
  }
  body.page-layer .first-view::before,
  body.page-layer .first-view::after {
    display: none !important;
  }
  body.page-layer .first-view > picture {
    display: block !important;
    width: 100vw !important;
    max-width: none !important;
    height: auto !important;
    line-height: 0 !important;
  }
  body.page-layer .first-view > picture > img,
  body.page-layer .first-view > img {
    position: relative !important;
    inset: auto !important;
    display: block !important;
    width: 100vw !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: 522/628 !important;
    object-fit: contain !important;
    object-position: center top !important;
  }
  body.page-layer .first-view .fv-conversion {
    position: absolute !important;
    left: 50% !important;
    bottom: 13vw !important;
    z-index: 8 !important;
    display: block !important;
    width: 80vw !important;
    min-width: 0 !important;
    transform: translateX(-50%) !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }
  body.page-layer .first-view .fv-conversion img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: auto !important;
  }
  body.page-layer .search-area {
    position: relative;
    z-index: 4;
    min-height: 0;
    margin-top: -17vw;
    padding-bottom: 54px;
  }
}
@media (max-width: 767px) {
  html,
  body {
    overflow-x: hidden;
  }
  body.page-layer .first-view {
    position: relative !important;
    width: 100vw !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 calc(50% - 50vw) !important;
    padding: 0 !important;
    overflow: visible !important;
    aspect-ratio: 522/628 !important;
    background-size: 100% auto !important;
    background-position: center top !important;
    background-repeat: no-repeat !important;
  }
  body.page-layer .first-view::before,
  body.page-layer .first-view::after {
    display: none !important;
  }
  body.page-layer .first-view > picture {
    display: block !important;
    width: 100vw !important;
    max-width: none !important;
    height: auto !important;
    line-height: 0 !important;
  }
  body.page-layer .first-view > picture > img,
  body.page-layer .first-view > img {
    position: relative !important;
    inset: auto !important;
    display: block !important;
    width: 100vw !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    object-position: center top !important;
  }
  body.page-layer .first-view .fv-conversion {
    position: absolute !important;
    left: 50% !important;
    bottom: 13vw !important;
    z-index: 8 !important;
    display: block !important;
    width: 80vw !important;
    min-width: 0 !important;
    transform: translateX(-50%) !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }
  body.page-layer .first-view .fv-conversion img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: auto !important;
  }
  body.page-layer .search-area {
    position: relative;
    z-index: 4;
    min-height: 0;
    margin-top: -17vw;
    padding-bottom: 54px;
  }
}
@media (max-width: 767px) {
  body.page-layer .first-view {
    position: relative;
    width: 100vw;
    max-width: none;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 523/628;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 0 !important;
    overflow: visible;
    background-size: 100% auto !important;
    background-position: center top !important;
    background-repeat: no-repeat !important;
  }
  body.page-layer .first-view picture,
  body.page-layer .first-view .fv-picture {
    display: block;
    width: 100%;
    height: auto;
    line-height: 0;
  }
  body.page-layer .first-view picture img,
  body.page-layer .first-view > img,
  body.page-layer .first-view .fv-image {
    position: relative !important;
    inset: auto !important;
    display: block;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center top !important;
  }
  body.page-layer .fv-conversion {
    position: absolute !important;
    left: 50% !important;
    right: auto !important;
    bottom: 13vw !important;
    z-index: 8;
    display: block !important;
    width: 80vw !important;
    min-width: 0 !important;
    transform: translateX(-50%) !important;
    opacity: 1;
    visibility: visible;
  }
  body.page-layer .fv-conversion img {
    display: block;
    width: 100%;
    height: auto;
  }
}
.page-general .fv-conversion {
  position: absolute;
  left: calc(59% + 45px);
  bottom: 19%;
  display: block;
  width: min(34.93vw, 503px);
  min-width: 0;
  transform: translate(-148%, -35px);
}

@media (max-width: 767px) {
  .page-general .first-view {
    aspect-ratio: 1000/1207 !important;
    background-image: url("../img/top/fv_general_sp.png") !important;
    background-position: center top !important;
    background-size: 100% 100% !important;
  }
  .page-legal .first-view {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    aspect-ratio: 1000/1083 !important;
    background-image: url("../img/top/fv_legal_sp.png") !important;
    background-position: center top !important;
    background-size: 100% 100% !important;
  }
  .page-general .search-area {
    margin-top: -7vw;
    padding-bottom: 48px;
  }
  .page-general .general-search-card {
    width: calc(100% - 48px);
    padding: 20px 20px 30px;
  }
  .page-general .general-search-card h2 {
    margin: 0 0 24px;
    font-size: 24px;
    line-height: 1.35;
  }
  .page-general .general-job-block {
    margin-top: 28px;
  }
  .page-general .general-job-block h3 {
    gap: 14px;
    margin-bottom: 12px;
    font-size: 14px;
  }
  .page-general .general-job-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px 8px;
  }
  .page-general .general-job-link {
    min-height: 34px;
    padding: 5px 22px 5px 10px;
    font-size: 12px;
    line-height: 1.2;
  }
  .page-general .general-job-link::after {
    right: 9px;
    border-top-width: 4px;
    border-bottom-width: 4px;
    border-left-width: 8px;
  }
  .page-general .job-icon {
    flex-basis: 24px;
    width: 24px;
    height: 24px;
    margin-right: 7px;
  }
  .page-general .job-icon img {
    width: 22px;
    height: 22px;
  }
  .page-general .general-office-title {
    margin: 42px 0 24px;
    font-size: 24px;
  }
  .page-general .general-office-grid .general-job-link {
    font-size: 12px;
    white-space: normal;
  }
  .page-general .general-office-grid .sp-office-break {
    display: block;
  }
  .page-general .general-office-grid .br-ios-tablet {
    display: block;
  }
  .page-general .intro-title {
    font-size: 0;
  }
  .page-general .intro-title span {
    font-size: 22px;
  }
}
@media screen and (max-width: 1024px) {
  .page-general .intro-title span:nth-child(2),
  .page-layer .intro-title span:nth-child(2),
  .page-legal .intro-title span:nth-child(2) {
    display: inline-block;
    white-space: nowrap;
    background: linear-gradient(transparent 72%, #eee 72%);
  }
  .page-general .intro-title span:nth-child(3),
  .page-layer .intro-title span:nth-child(3),
  .page-legal .intro-title span:nth-child(3) {
    display: inline-block;
  }
  .page-general .intro-title,
  .page-layer .intro-title,
  .page-legal .intro-title {
    font-size: 0;
  }
  .page-layer .intro-title span,
  .page-legal .intro-title span {
    font-size: 25px;
  }
  .page-general .intro-title span {
    font-size: 23px;
  }
}
@media (min-width: 901px) and (max-width: 1199px) {
  .page-general .intro-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px 40px;
  }
  .page-general .intro-title {
    grid-column: 1/-1;
    grid-row: auto;
    text-align: center;
  }
  .page-general .reason-card h3 {
    white-space: normal;
  }
  .voice-card {
    flex: 0 0 calc((100% - 76px) / 3);
  }
}
@media (min-width: 1441px) {
  .first-view {
    height: 700px;
    aspect-ratio: auto;
  }
  .fv-conversion {
    left: calc(50% + 175px);
  }
  .page-general .fv-conversion {
    left: calc(50% + 175px);
  }
  .search-area {
    margin-top: -122px;
  }
  .page-general .search-area {
    margin-top: -104px;
  }
}
.header-actions,
.header-btn,
.header-btn img {
  flex-shrink: 0;
}

.header-btn img {
  object-fit: contain;
}

.header-btn-primary img {
  aspect-ratio: 216/46;
}

.header-actions .header-btn:not(.header-btn-primary) img {
  aspect-ratio: 168/46;
}

@media (min-width: 901px) and (max-width: 1050px) {
  .header-inner {
    width: calc(100% - 28px);
  }
  .page-general .site-logo {
    width: 124px;
  }
  .page-general .site-logo img {
    width: 124px;
  }
  .page-general .general-nav {
    gap: 16px;
    font-size: 13px;
  }
  .page-general .general-nav-link {
    gap: 5px;
  }
  .header-actions {
    gap: 8px;
    margin-left: 18px;
  }
  .header-btn,
  .header-btn img {
    height: 38px;
  }
}
@media (hover: hover) {
  .page-general .fv-conversion:hover {
    transform: translate(-148%, -35px);
  }
}
@media (min-width: 901px) and (max-width: 1199px) {
  .intro-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px 40px;
  }
  .intro-title {
    grid-column: 1/-1;
    grid-row: auto;
    text-align: center;
  }
  .reason-card h3 {
    white-space: normal;
  }
  .voice-card {
    flex: 0 0 calc((100% - 76px) / 3);
  }
}
@media (min-width: 901px) and (max-width: 1050px) {
  .site-logo,
  .site-logo img {
    width: 124px;
  }
  .global-nav {
    gap: 16px;
    font-size: 13px;
  }
  .global-nav a {
    padding-right: 0;
    padding-left: 0;
  }
  .header-actions {
    gap: 8px;
    margin-left: 18px;
  }
  .header-btn,
  .header-btn img {
    height: 38px;
  }
}
@media (max-width: 767px) {
  .page-legal .first-view {
    position: relative;
    margin-right: calc(50% - 50vw);
    overflow: visible;
  }
  .page-legal .fv-conversion {
    position: absolute !important;
    left: 50% !important;
    right: auto !important;
    bottom: 4vw !important;
    z-index: 8;
    display: block !important;
    width: 80vw !important;
    min-width: 0 !important;
    transform: translateX(-50%) !important;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .page-legal .fv-conversion img {
    display: block;
    width: 100%;
    height: auto;
  }
  .search-card,
  .page-layer .search-card,
  .page-legal .search-card,
  .page-general .general-search-card {
    width: 100% !important;
    max-width: none;
    margin-right: auto;
    margin-left: auto;
    border-radius: 7px;
  }
}
@media (min-width: 768px) {
  body.page-layer:not(.page-general) .first-view {
    background-image:
      url("../img/top/fv.png"), url("../img/top/fv_lawyer_wide.png");
    background-position:
      center top,
      center top;
    background-size:
      min(100vw, 1440px) auto,
      cover;
    background-repeat: no-repeat, no-repeat;
    background-color: #fff;
  }
  .page-legal .first-view {
    background-image:
      url("../img/top/fv_legal.png"), url("../img/top/fv_legal_wide.png");
    background-position:
      center top,
      center top;
    background-size:
      min(100vw, 1440px) auto,
      cover;
    background-repeat: no-repeat, no-repeat;
    background-color: #fff;
  }
  .page-general .first-view {
    background-image:
      url("../img/top/fv_general.png"), url("../img/top/fv_general_wide.png");
    background-position:
      center top,
      center top;
    background-size:
      min(100vw, 1440px) auto,
      cover;
    background-repeat: no-repeat, no-repeat;
    background-color: #fff;
  }
  .reason-card span {
    width: 218px;
    height: 182px;
    overflow: hidden;
    color: transparent;
    font-size: 0;
    background-position: right bottom;
    background-repeat: no-repeat;
    background-size: contain;
  }
  .reason-card:nth-of-type(1) span {
    background-image: url("../img/top/reason_num_01.png");
  }
  .reason-card:nth-of-type(2) span {
    background-image: url("../img/top/reason_num_02.png");
  }
  .reason-card:nth-of-type(3) span {
    background-image: url("../img/top/reason_num_03.png");
  }
  .reason-card:nth-of-type(4) span {
    background-image: url("../img/top/reason_num_04.png");
  }
  .case-section > .container {
    width: min(100% - 48px, 1260px);
  }
  .story-section .carousel-viewport,
  .voice-carousel .carousel-viewport,
  .journal-carousel .carousel-viewport,
  .consultant-carousel .carousel-viewport {
    width: 100vw;
    margin-left: calc(50% - 50vw);
  }
  .story-section .carousel-track,
  .voice-carousel .carousel-track,
  .journal-carousel .carousel-track,
  .consultant-carousel .carousel-track {
    padding-right: max(24px, (100vw - 1260px) / 2);
    padding-left: max(24px, (100vw - 1260px) / 2);
  }
  .page-layer .story-section .carousel-viewport,
  .page-legal .story-section .carousel-viewport {
    width: 100%;
    margin-left: 0;
  }
  .page-layer .story-section .carousel-track,
  .page-legal .story-section .carousel-track {
    padding-right: 0;
    padding-left: 0;
  }
}
@media (min-width: 1350px) {
  .intro-grid {
    grid-template-columns: 250px 450px 450px;
    width: min(100% - 80px, 1262px);
  }
  .reason-card {
    width: 450px;
  }
}
.reason-card span {
  width: 270px;
  height: 110px;
  overflow: hidden;
  color: transparent;
  font-size: 0 !important;
  background-position: right bottom;
  background-repeat: no-repeat;
  background-size: auto 100%;
}

.reason-card:nth-of-type(1) span {
  background-image: url("../img/top/reason_num_01.png");
}

.reason-card:nth-of-type(2) span {
  background-image: url("../img/top/reason_num_02.png");
}

.reason-card:nth-of-type(3) span {
  background-image: url("../img/top/reason_num_03.png");
}

.reason-card:nth-of-type(4) span {
  background-image: url("../img/top/reason_num_04.png");
}

@media (max-width: 767px) {
  .reason-card span {
    width: 185px;
    height: 126px;
  }
}
@media (min-width: 768px) and (max-width: 1199px) {
  .reason-card span {
    right: 0;
  }
}
.font_small {
  font-size: 80%;
}

@media (max-width: 767px) {
  .case-card span,
  .case-card b,
  .case-card em {
    white-space: nowrap;
  }
  body.is-android .case-card .case-income-label,
  body.is-android .case-card .case-income-value {
    display: block;
    line-height: 1.12;
    text-align: center;
    white-space: nowrap;
  }
  body.is-android .case-card > div > span > strong,
  body.is-android .case-card b > span {
    display: block;
    line-height: 1.12;
    text-align: center;
    white-space: nowrap;
  }
  body.is-android .case-card b .case-income-value {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 1px;
  }
  body.is-android .case-card b .case-income-value strong {
    line-height: 1;
  }
  body.is-android.page-layer .case-slider .case-card > div,
  body.is-android.page-legal .case-slider .case-card > div {
    overflow: hidden;
    border-radius: 4px;
  }
  body.is-android.page-layer .case-slider .case-card,
  body.is-android.page-legal .case-slider .case-card {
    flex-basis: calc(100vw - 36px);
    max-width: calc(100vw - 36px);
  }
  body.is-android.page-layer .case-slider .case-card > div > span em,
  body.is-android.page-legal .case-slider .case-card > div > span em {
    font-size: 16px;
    line-height: 1.2;
  }
  body.is-android.page-layer
    .case-slider
    .case-card
    > div
    > span
    .case-income-label,
  body.is-android.page-legal
    .case-slider
    .case-card
    > div
    > span
    .case-income-label {
    font-size: 16px;
    line-height: 1.2;
  }
  body.is-android.page-layer
    .case-slider
    .case-card
    > div
    > span
    .case-income-number,
  body.is-android.page-legal
    .case-slider
    .case-card
    > div
    > span
    .case-income-number {
    font-size: 20px;
    line-height: 1.1;
  }
  body.is-android.page-layer .case-slider .case-card b em,
  body.is-android.page-legal .case-slider .case-card b em {
    font-size: 20px;
    line-height: 1.2;
  }
  body.is-android.page-layer .case-slider .case-card b .case-income-label,
  body.is-android.page-layer .case-slider .case-card b .case-income-unit,
  body.is-android.page-legal .case-slider .case-card b .case-income-label,
  body.is-android.page-legal .case-slider .case-card b .case-income-unit {
    font-size: 18px;
    line-height: 1.2;
  }
  body.is-android.page-layer
    .case-slider
    .case-card
    b
    .case-income-value
    strong,
  body.is-android.page-legal
    .case-slider
    .case-card
    b
    .case-income-value
    strong {
    font-size: 30px;
  }
}
.sticky-fv-conversion {
  display: none !important;
}

@media (max-width: 767px) {
  body .fv-conversion.sticky-fv-conversion {
    position: fixed !important;
    right: auto !important;
    bottom: max(16px, env(safe-area-inset-bottom)) !important;
    left: 50% !important;
    z-index: 9998 !important;
    display: block !important;
    width: min(80vw, 330px) !important;
    min-width: 0 !important;
    pointer-events: none !important;
    opacity: 0 !important;
    visibility: visible !important;
    transform: translate(-50%, calc(100% + 24px)) !important;
    transition:
      transform 0.32s ease,
      opacity 0.32s ease;
    background-image: url("../images/common/fv_btn_hover.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
  }
  body .fv-conversion.sticky-fv-conversion img {
    display: block;
    width: 100%;
    height: auto;
  }
  body.is-sticky-fv-conversion-visible .fv-conversion.sticky-fv-conversion {
    pointer-events: auto !important;
    opacity: 1 !important;
    transform: translate(-50%, 0) !important;
  }
}
.br-ios-tablet {
  display: none;
}

/* タブレット */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .br-ios-tablet {
    display: block;
  }
}
/* iPhone / iOS Safari */
@supports (-webkit-touch-callout: none) {
  @media screen and (max-width: 767px) {
    .br-ios-tablet {
      display: block;
    }
  }
}
@media (max-width: 767px) {
  .page-general #voice .voice-carousel .carousel-viewport,
  .page-legal #voice .voice-carousel .carousel-viewport,
  .page-layer #voice .voice-carousel .carousel-viewport {
    width: 100% !important;
    margin-left: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }
  .page-general #voice .voice-carousel .carousel-track,
  .page-legal #voice .voice-carousel .carousel-track,
  .page-layer #voice .voice-carousel .carousel-track {
    gap: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .page-general #voice .voice-carousel .voice-card,
  .page-legal #voice .voice-carousel .voice-card,
  .page-layer #voice .voice-carousel .voice-card {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
}
@media (max-width: 767px) {
  .carousel {
    z-index: 90;
  }
  .carousel-viewport,
  .carousel-controls,
  .carousel-arrow,
  .slider-dots {
    position: relative;
    z-index: 91;
  }
  .carousel-viewport {
    touch-action: pan-y;
  }
  .data-panel {
    width: 100%;
    grid-template-columns: 1fr;
    padding: 0;
  }
  .data-item {
    padding: 30px 0 28px;
  }
  .data-item + .data-item {
    border-top: 1px solid #aaa;
  }
  .data-item dt {
    margin-bottom: 16px;
    font-size: 22px;
  }
  .data-item dd span {
    font-size: 58px;
  }
  .data-item dd small {
    font-size: 28px;
  }
}
@media (max-width: 900px) {
  .site-header {
    z-index: 10000;
  }
  .menu-button {
    position: relative;
    z-index: 10002;
  }
  .sp-menu {
    z-index: 10001;
  }
  .sp-menu:not(.general-sp-menu).is-open {
    position: fixed;
    top: 62px;
    right: 0;
    left: 0;
    max-height: calc(100dvh - 62px);
    overflow-y: auto;
  }
  .page-general .general-sp-menu {
    z-index: 10001;
  }
  .menu-button span {
    transition:
      transform 0.22s ease,
      opacity 0.18s ease;
    transform-origin: center;
  }
  .menu-button[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .menu-button[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }
  .menu-button[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  .page-general .general-sp-menu-head,
  .page-general .sp-menu-close {
    position: relative;
    z-index: 10003;
  }
  body.is-sp-menu-open {
    overflow: hidden;
  }
}
@media (max-width: 900px) {
  .page-general .general-sp-menu.is-open {
    position: fixed;
    top: 62px;
    right: 0;
    left: 0;
    inset: 62px 0 auto;
    display: block;
    min-height: calc(100dvh - 62px);
    max-height: calc(100dvh - 62px);
    padding: 18px 24px;
    overflow-y: auto;
  }
  .page-general .general-sp-menu-head {
    display: none;
  }
  .page-general .header-inner .sp-menu-cta {
    display: none;
    position: absolute;
    top: 14px;
    right: 63px;
    z-index: 10002;
    width: 164px;
    margin: 0;
    padding: 0;
    line-height: 1;
  }
  .page-general .header-inner .sp-menu-cta img {
    display: block;
    width: 100%;
    height: auto;
  }
  body.is-sp-menu-open.page-general .header-inner .sp-menu-cta {
    display: block;
  }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .page-general .general-job-link .land-surveyor-label {
    font-size: 10px;
    line-height: 1.28;
    letter-spacing: -0.08em;
    white-space: nowrap;
  }
  .page-general .general-office-grid .general-job-link .land-surveyor-label {
    font-size: 9.5px;
  }
  .page-general .general-office-grid .sp-office-break,
  .page-general .general-office-grid .br-ios-tablet {
    display: block;
  }
}
.bg-gray {
  background: var(--bg-gray);
}

.page-head {
  padding: 150px 0 40px;
}

.breadcrumb {
  display: flex;
  flex-flow: row nowrap;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  padding-right: 40px;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  -webkit-mask-image: linear-gradient(
    to right,
    #000 0,
    #000 calc(100% - 40px),
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    #000 0,
    #000 calc(100% - 40px),
    transparent 100%
  );
  scrollbar-width: none;
}
.breadcrumb::-webkit-scrollbar {
  display: none;
}
.breadcrumb a,
.breadcrumb p {
  flex: 0 0 auto;
  font-size: 11px !important;
  line-height: 1;
}
.breadcrumb a + a,
.breadcrumb a + p,
.breadcrumb p + a,
.breadcrumb p + p {
  position: relative;
  margin-left: 30px;
}
.breadcrumb a + a:before,
.breadcrumb a + p:before,
.breadcrumb p + a:before,
.breadcrumb p + p:before {
  position: absolute;
  top: 50%;
  left: -18px;
  content: "";
  display: block;
  width: 6px;
  height: 1px;
  background: var(--gray);
  transform: translateY(-50%);
  opacity: 1 !important;
}
.breadcrumb p {
  opacity: 0.4;
}
.breadcrumb a span {
  transition:
    opacity 0.28s ease,
    transform 0.28s ease,
    background-color 0.28s ease,
    color 0.28s ease;
}
@media (hover: hover) {
  .breadcrumb a:hover {
    opacity: 1 !important;
  }
  .breadcrumb a span {
    transition: opacity 0.3s ease;
  }
  .breadcrumb a:hover span {
    opacity: 0.6;
  }
}

.ly-2column {
  padding-bottom: 130px;
}
.ly-2column .inner {
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: flex-start;
  gap: 30px;
}
.ly-2column .main-content {
  width: calc(100% - 300px);
}
.ly-2column aside {
  width: 270px;
}

.page-head .inner,
.ly-2column .inner {
  max-width: 1140px;
  margin: 0 auto;
}

.pagination {
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 40px 0;
}
.pagination a {
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.05em;
  border: 1px solid var(--gray);
  border-radius: 4px;
  background: #fff;
}
.pagination a img {
  width: 16px;
}
.pagination a.is-page {
  color: #fff;
  background: var(--blk);
  border: 1px solid var(--blk);
  pointer-events: none;
}
.pagination a.prev img {
  transform: rotate(180deg);
}

.lower main > * {
  padding-right: 20px;
  padding-left: 20px;
}
.lower main p {
  font-size: 16px;
  line-height: 180%;
  letter-spacing: 0.05em;
}
.lower h1 {
  width: fit-content;
  margin-top: 20px;
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 500;
  line-height: 150%;
  background: linear-gradient(transparent 68%, #fff 68%);
}
.lower .bottom-search .narrow {
  max-width: 1140px;
  width: 100%;
}
.lower aside img {
  width: 100%;
}
.lower aside > div + div,
.lower aside > div a {
  margin-top: 10px;
}
.lower aside > div:not(.anchor-links, .yt-anchor, .banner) {
  padding: 20px;
  border: 1px solid var(--gray);
  border-radius: 4px;
  background: #fff;
}
.lower aside > div > h3 {
  margin-bottom: 16px;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  line-height: 130%;
  text-align: center;
}
.lower aside .aside-case li {
  padding: 20px 0;
  border-top: 1px solid var(--gray);
}
.lower aside .aside-case li h4 {
  display: -webkit-box;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 400;
  line-height: 140%;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}
.lower aside .aside-case02 li {
  padding: 10px 0;
}
.lower aside .aside-case02 li a {
  display: flex;
  flex-flow: row nowrap;
  justify-content: flex-start;
  align-items: center;
  gap: 14px;
}
.lower aside .aside-case02 li img {
  flex-shrink: 0;
  width: 90px;
}
.lower aside .aside-case02 li h4 {
  display: block;
  margin-top: 0;
  -webkit-box-orient: unset;
  -webkit-line-clamp: unset;
  line-clamp: unset;
}
.lower aside .aside-recruit-tags .aside-recruit-tags-wrapper {
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 6px 14px;
}
.lower aside .aside-recruit-tags .aside-recruit-tags-wrapper a {
  margin-top: 0;
  padding: 5px 0 7px;
  font-size: 14px;
  line-height: 1;
  border-bottom: 1px solid var(--blk);
}

.case .page-head,
.voice .page-head {
  padding-bottom: 60px;
}
.case h1,
.voice h1 {
  margin: 60px auto 0;
  font-size: 44px;
  font-weight: 500;
  line-height: 150%;
  text-align: center;
  background: linear-gradient(transparent 68%, #ebebeb 0);
}
.case-search,
.voice-search {
  max-width: 940px;
  margin: 0 auto;
  padding: 60px 20px 70px;
}
.case-search .inner,
.voice-search .inner {
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: center;
  gap: 15px;
  max-width: 960px;
  margin: 0 auto;
}
.case-search label,
.voice-search label {
  flex: 0 0 117px;
  font-size: 16px;
  line-height: 140%;
}
.case-search select,
.voice-search select {
  appearance: none;
  width: calc(100% - 132px);
  height: 40px;
  padding: 0 44px 0 18px;
  color: var(--blk);
  font-family: inherit;
  font-size: 16px;
  border: 1px solid var(--gray);
  border-radius: 4px;
  background: #fff url(../img/top/select-arrow.svg) no-repeat right 16px
    center/12px 8px;
  cursor: pointer;
}
.case .pagination,
.voice .pagination {
  padding-bottom: 0;
}
.case .bottom-search,
.voice .bottom-search {
  padding-top: 150px;
}
.case .section-title,
.voice .section-title {
  display: block;
  width: fit-content;
  margin: 0 0 110px;
  font-size: 32px;
  font-weight: 500;
  line-height: 150%;
  text-align: left;
}

.case .section-title,
.voice .section-title,
.recruit .section-title,
.recruit-single .section-title {
  display: block;
  width: fit-content;
  margin: 0 0 calc(var(--condition-first-heading-height, 30px) + 80px);
  font-size: 32px;
  font-weight: 500;
  line-height: 150%;
  text-align: left;
}

.case-voice-banner {
  padding: 102px 0 72px;
  color: #fff;
  background: var(--blk);
  text-align: center;
}
.case-voice-banner .case-voice-banner-copy {
  font-family: var(--serif);
  font-size: 32px;
  line-height: 1.5;
  letter-spacing: -0.02em;
}
.case-voice-banner .case-voice-banner-emphasis {
  display: inline-block;
  margin: 0 6px 0 10px;
  color: var(--gold02);
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
}
.case-voice-banner .case-voice-banner-emphasis > span {
  position: relative;
  display: inline-block;
}
.case-voice-banner .case-voice-banner-emphasis > span::before {
  position: absolute;
  top: -9px;
  left: 50%;
  width: 6px;
  height: 6px;
  content: "";
  border-radius: 50%;
  background: currentColor;
  transform: translateX(-50%);
}
.case-voice-banner-btn {
  display: block;
  width: min(456px, 100%);
  margin: 30px auto 0;
  overflow: hidden;
  background: center no-repeat url("../images/case/voice_btn_hover.png");
  background-size: cover;
  transition: transform 0.35s ease;
}
.case-voice-banner-btn img {
  width: 100%;
}
@media (hover: hover) {
  .case-voice-banner-btn:hover {
    opacity: 1 !important;
    transform: translateY(-1px);
  }
  .case-voice-banner-btn:hover img {
    opacity: 0;
  }
}

@media screen and (max-width: 1024px) {
  .ly-2column .inner {
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
    gap: 30px;
  }
  .ly-2column .main-content {
    width: 100%;
  }
  .ly-2column aside {
    width: 70%;
  }
}
@media screen and (max-width: 767px) {
  .page-head {
    padding: 100px 0 30px;
  }
  .breadcrumb a + a,
  .breadcrumb a + p,
  .breadcrumb p + a,
  .breadcrumb p + p {
    margin-left: 22px;
  }
  .breadcrumb a + a:before,
  .breadcrumb a + p:before,
  .breadcrumb p + a:before,
  .breadcrumb p + p:before {
    left: -13px;
  }
  .ly-2column {
    padding-bottom: 100px;
  }
  .ly-2column .inner {
    flex-flow: column nowrap;
    align-items: center;
    gap: 100px;
  }
  .ly-2column .main-content {
    width: 100%;
  }
  .ly-2column aside {
    width: 100%;
  }
  .lower main > * {
    padding-right: 25px;
    padding-left: 25px;
  }
  .lower .bottom-search {
    padding: 100px 0;
  }
  .lower .bottom-search .narrow {
    max-width: calc(100vw - 40px);
  }
  .lower aside .aside-case li {
    padding: 20px 0;
  }
  .lower aside .aside-case li a {
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
  }
  .lower aside .aside-case li img {
    flex-shrink: 0;
    width: 176px;
  }
  .lower aside .aside-case li h4 {
    display: block;
    margin-top: 0;
    -webkit-box-orient: unset;
    -webkit-line-clamp: unset;
    line-clamp: unset;
    line-height: 160%;
  }
  .lower aside .aside-case02 li {
    padding: 20px 0;
  }
  .lower aside .aside-case02 li a {
    gap: 20px;
  }
  .lower aside .aside-case02 li img {
    flex-shrink: 0;
    width: 176px;
  }
  .lower aside .aside-case02 li h4 {
    line-height: 160%;
  }
  .case .page-head,
  .voice .page-head {
    padding-bottom: 0;
  }
  .case h1,
  .voice h1 {
    font-size: 32px;
  }
  .case-search,
  .voice-search {
    padding: 60px 25px 50px;
  }
  .case .bottom-search,
  .voice .bottom-search {
    padding-top: 100px;
  }
  .case .section-title,
  .voice .section-title,
  .recruit .section-title,
  .recruit-single .section-title {
    margin: 0 auto calc(var(--condition-first-heading-height, 30px) + 60px);
    text-align: center;
    background: linear-gradient(transparent 87%, #eee 0);
  }
  .case-voice-banner {
    padding: 49px 10px;
  }
  .case-voice-banner .case-voice-banner-copy {
    font-size: 26px;
    white-space: nowrap;
  }
  .case-voice-banner .case-voice-banner-emphasis {
    margin: 20px 6px 0 0;
    font-size: 36px;
  }
  .case-voice-banner-btn {
    width: min(386px, 100%);
  }
  .area-row b {
    width: fit-content;
    min-width: 132px;
  }
}
.case-search {
  max-width: 980px;
}
.case-filter {
  width: 100%;
}
.case-filter-occupation {
  display: flex;
  align-items: center;
  gap: 15px;
}
.case-filter-occupation label {
  flex: 0 0 84px;
  word-break: keep-all;
}
.case-filter-occupation select {
  width: calc(100% - 99px);
}
.case-filter-tabs {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  border-bottom: 1px solid var(--gray);
}
.case-filter-tabs button {
  position: relative;
  padding: 15px 10px;
  color: #aaa;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.case-filter-tabs button::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  content: "";
  background: transparent;
}
.case-filter-tabs button.is-active {
  color: var(--red);
}
.case-filter-tabs button.is-active::after {
  background: var(--red);
}
.case-filter-panel {
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 10px 20px;
  padding-top: 15px;
}
.case-filter-panel[hidden] {
  display: none;
}
.case-filter-panel label {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 5px;
  min-width: 220px;
  font-size: 14px;
  letter-spacing: -0.02em;
  line-height: 120%;
  cursor: pointer;
}
.case-filter-panel input[type="checkbox"] {
  appearance: none;
  display: block;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 0;
  border: 1px solid var(--gray);
  border-radius: 4px;
  background-color: #fff;
  background-position: center;
  background-repeat: no-repeat;
  cursor: pointer;
}
.case-filter-panel input[type="checkbox"]:checked {
  border-color: var(--red);
  background-color: var(--red);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M4.5 9.2 7.5 12l6-6' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"),
    linear-gradient(180deg, #ce2825 0%, #981613 100%);
}
.case-filter-panel.age label {
  width: fit-content;
  min-width: unset;
}
.case-filter-submit {
  appearance: none;
  display: block;
  width: 100%;
  margin-top: 40px;
  border-radius: 6px;
  background: center no-repeat url("../images/case/btn_hover.png");
  background-size: cover;
  overflow: hidden;
  transition: all 0.35s ease;
  cursor: pointer;
}
@media (hover: hover) {
  .case-filter-submit:hover {
    transform: translateY(-1px);
  }
  .case-filter-submit:hover img {
    opacity: 0;
  }
}
.case-list-result {
  display: block;
}
.case-list-result .case-list-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 38px;
  min-height: 190px;
  padding: 30px 40px;
  border: 1px solid var(--gray);
  border-radius: 4px;
}
.case-list-result .case-list-card + .case-list-card {
  margin-top: 10px;
}
.case-list-result .case-list-profile {
  flex: 1 1 auto;
  min-width: 0;
}
.case-list-result .case-list-profile h2 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 140%;
}
.case-list-result .case-list-person {
  display: flex;
  align-items: center;
  margin-top: 15px;
  font-family: var(--serif);
  font-size: 13px;
  line-height: 1;
}
.case-list-result .case-list-person::before {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  margin-right: 10px;
  content: "";
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.case-list-result .case-list-person.men::before {
  background-image: url("../images/common/icon_customer01.png");
}
.case-list-result .case-list-person.women::before {
  background-image: url("../images/common/icon_customer02.png");
}
.case-list-result .case-list-career {
  display: grid;
  flex: 0 0 360px;
  grid-template-columns: 1fr 1fr;
  min-height: 134px;
  overflow: hidden;
  border-radius: 4px;
  font-family: var(--serif);
  text-align: center;
}
.case-list-result .case-list-before,
.case-list-result .case-list-after {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 15px;
  font-size: 16px;
  line-height: 1.25;
}
.case-list-result .case-list-before {
  position: relative;
  z-index: 1;
  padding-right: 30px;
  color: #fff;
  font-weight: 500;
  background: #aaa;
  clip-path: polygon(0 0, 89% 0, 100% 50%, 89% 100%, 0 100%);
}
.case-list-result .case-list-before span:first-of-type {
  font-size: 14px;
  line-height: 120%;
}
.case-list-result .case-list-before span:nth-of-type(2) {
  font-size: 14px;
  line-height: 1;
}
.case-list-result .case-list-before strong {
  margin: 0 2px;
  font-size: 18px;
}
.case-list-result .case-list-after {
  margin-left: -20px;
  padding-left: 35px;
  color: var(--red);
  font-weight: 500;
  background: #fafafa;
}
.case-list-result .case-list-after span:first-of-type {
  font-size: 16px;
  line-height: 120%;
}
.case-list-result .case-list-after span:nth-of-type(2) {
  font-size: 18px;
  line-height: 1;
}
.case-list-result .case-list-after strong {
  margin: 0 2px;
  font-size: 24px;
  font-weight: 700;
}

@media screen and (max-width: 767px) {
  .case-filter-panel {
    align-items: flex-start;
    gap: 10px 4.4444444444%;
  }
  .case-filter-panel label {
    align-items: flex-start;
    gap: 5px;
    min-width: 47.7777777778%;
  }
  .case-list-result .case-list-card {
    display: block;
    min-height: 0;
    padding: 20px 25px;
  }
  .case-list-result .case-list-profile h2 {
    font-size: 20px;
  }
  .case-list-result .case-list-career {
    flex: 0 1 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    max-width: 100%;
    margin-top: 20px;
  }
  .case-list-result .case-list-before,
  .case-list-result .case-list-after {
    min-width: 0;
    width: 100%;
    gap: 2vw;
    padding-top: 3vw;
    padding-bottom: 3vw;
  }
  .case-list-result .case-list-before {
    width: calc(100% + 4vw);
    padding-right: 6vw;
    padding-left: 3vw;
  }
  .case-list-result .case-list-before span:first-of-type {
    font-size: clamp(12px, 2.8vw, 14px);
  }
  .case-list-result .case-list-before span:nth-of-type(2) {
    font-size: clamp(12px, 2.8vw, 14px);
    white-space: nowrap;
  }
  .case-list-result .case-list-before strong {
    font-size: clamp(16px, 3.6vw, 18px);
  }
  .case-list-result .case-list-after {
    width: 102%;
    margin-left: -2%;
    padding-right: 3vw;
    padding-left: 7vw;
  }
  .case-list-result .case-list-after span:first-of-type {
    font-size: clamp(13px, 3.2vw, 16px);
  }
  .case-list-result .case-list-after span:nth-of-type(2) {
    font-size: clamp(14px, 3.6vw, 18px);
    white-space: nowrap;
  }
  .case-list-result .case-list-after strong {
    font-size: clamp(19px, 4.8vw, 24px);
  }
}

.sp {
  display: none;
}
@media screen and (max-width: 750px) {
  .sp {
    display: initial;
  }
}
