@charset "UTF-8";

/* 整理版：同じ適用条件で不要になった旧指定を削除。
   未修正ページの基本設定・レスポンシブ条件・新しいページ別デザインを保持。 */

* {
  padding: 0;
  margin: 0;
}

/* 共通：外枠と基本設定 */

.wrapper {
  width: 100%;
  background: #fff;
}

.container {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  background: #fff;
}

html,
body {
  margin: 0;
  padding: 0;
  background: #ffffff;
  font-size: 16px;
  font-family: "Noto Sans JP","Yu Gothic","メイリオ",sans-serif;
}

/* 共通：ヘッダーの基本設定 */

:root {
  --header-a-blue: #1E5AA8;
  --header-a-blue-dark: #174A8E;
  --header-a-text: #222222;
  --header-a-muted: #666666;
  --header-a-border: rgba(30,90,168,0.18);
  --header-a-shadow: 0 8px 22px rgba(0,0,0,0.12);
  --header-offset: 0px;
}

@media (max-width:768px) {
  body {
    padding-top: var(--header-offset);
  }
}

.site-header,
.header-a {
  width: 100%;
  background: #ffffff;
  z-index: 1100;
}

.header-a__inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  background: #ffffff;
  position: relative;
}

.header-a__main {
  width: 100%;
  min-height: 104px;
  padding: 18px 26px;
  box-sizing: border-box;
  background: rgba(255,255,255,0.96);
  display: flex;
  align-items: center;
  gap: 26px;
  box-shadow: var(--header-a-shadow);
  border: 1px solid rgba(0,0,0,0.06);
}

.header-a__brand {
  flex: 0 1 390px;
  min-width: 300px;
  padding-right: 26px;
  border-right: 1px solid rgba(0,0,0,0.14);
}

.header-a__brand-link {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  min-width: 0;
}

.header-a__logo {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-a__logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.header-a__logo--placeholder {
  border-radius: 50%;
  background: rgba(30,90,168,0.1);
  color: var(--header-a-blue);
  font-family: "Noto Serif JP","Yu Mincho","Hiragino Mincho ProN","MS PMincho",serif;
  font-size: 24px;
  font-weight: 700;
  border: 1px solid rgba(30,90,168,0.25);
}

.header-a__brand-text {
  display: block;
  min-width: 0;
}

.header-a__name {
  display: block;
  color: var(--header-a-blue);
  font-family: "Noto Serif JP","Yu Mincho","Hiragino Mincho ProN","MS PMincho",serif;
  font-size: 25px;
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: 0.07em;
  white-space: nowrap;
}

.header-a__sub {
  display: block;
  margin-top: 3px;
  color: #606b78;
  font-family: "Noto Serif JP","Yu Mincho","Hiragino Mincho ProN","MS PMincho",serif;
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: 0.06em;
}

.header-a__nav {
  flex: 1 1 auto;
  min-width: 0;
  background: transparent;
}

.header-a__nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.header-a__nav-list li {
  margin: 0;
  padding: 0;
}

.header-a__nav-list a {
  display: block;
  padding: 10px 0;
  color: var(--header-a-text);
  text-decoration: none;
  font-family: "Noto Sans JP","Yu Gothic","メイリオ",sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.4;
  position: relative;
  white-space: nowrap;
}

.header-a__nav-list a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 0;
  height: 2px;
  background: var(--header-a-blue);
  transform: translateX(-50%);
  transition: width 0.25s ease;
}

.header-a__nav-list a:hover::after {
  width: 100%;
}

.header-a__contact {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.header-a__cta {
  min-width: 174px;
  height: 54px;
  padding: 0 24px;
  box-sizing: border-box;
  border-radius: 6px;
  background: linear-gradient(180deg,var(--header-a-blue),var(--header-a-blue-dark));
  color: #ffffff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: "Noto Sans JP","Yu Gothic","メイリオ",sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  box-shadow: 0 5px 12px rgba(30,90,168,0.22);
  transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.header-a__cta-icon {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.header-a__cta-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.header-a__cta:hover {
  opacity: 0.92;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(30,90,168,0.28);
}

.header-a__sp-contact,
.header-a__menu {
  display: none;
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: #000000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
  z-index: 1090;
}

html.is-nav-open,
body.is-nav-open {
  overflow: hidden;
}

@media (max-width:1180px) {
  .header-a__main {
    gap: 20px;
    padding: 18px 22px;
  }

  .header-a__brand {
    flex-basis: 350px;
    min-width: 280px;
    padding-right: 22px;
  }

  .header-a__logo {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
  }

  .header-a__name {
    font-size: 22px;
  }

  .header-a__nav-list {
    gap: 21px;
  }

  .header-a__nav-list a {
    font-size: 16px;
  }

  .header-a__cta {
    min-width: 156px;
    height: 50px;
    padding: 0 18px;
    font-size: 16px;
  }
}

@media (max-width:980px) {
  .header-a__brand {
    flex-basis: 320px;
    min-width: 260px;
  }

  .header-a__name {
    font-size: 20px;
  }

  .header-a__sub {
    font-size: 14px;
  }

  .header-a__nav-list {
    gap: 15px;
  }

  .header-a__nav-list a {
    font-size: 16px;
  }

  .header-a__cta {
    min-width: 140px;
    padding: 0 14px;
  }
}

@media (max-width:768px) {
  .site-header,
  .header-a {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
  }

  .header-a__inner {
    max-width: none;
  }

  .header-a__main {
    min-height: 76px;
    padding: 10px 12px;
    gap: 9px;
    box-shadow: 0 3px 14px rgba(0,0,0,0.16);
    border: none;
    border-bottom: 3px solid var(--header-a-blue);
  }

  .header-a__brand {
    flex: 1 1 auto;
    min-width: 0;
    padding-right: 0;
    border-right: none;
  }

  .header-a__brand-link {
    gap: 9px;
  }

  .header-a__logo {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
  }

  .header-a__brand-text {
    min-width: 0;
  }

  .header-a__name {
    font-size: 17px;
    line-height: 1.35;
    letter-spacing: 0.03em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .header-a__sub {
    margin-top: 1px;
    font-size: 14px;
    letter-spacing: 0.03em;
  }

  .header-a__contact {
    display: none;
  }

  .header-a__sp-contact {
    min-width: 104px;
    height: 50px;
    padding: 0 10px;
    border-radius: 8px;
    background: var(--header-a-blue);
    color: #ffffff;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex: 0 0 auto;
    font-family: "Noto Sans JP","Yu Gothic","メイリオ",sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
  }

  .header-a__sp-contact-icon {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .header-a__sp-contact-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
  }

  .header-a__sp-contact-text {
    display: block;
  }

  .header-a__menu,
  .nav-button {
    width: 48px;
    height: 50px;
    padding: 0;
    border: none;
    background: transparent;
    color: var(--header-a-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 8px;
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    flex: 0 0 auto;
  }

  .nav-icon {
    position: relative;
    display: block;
    width: 29px;
    height: 3px;
    background: var(--header-a-blue);
    border-radius: 999px;
  }

  .nav-icon::before,
  .nav-icon::after {
    content: "";
    position: absolute;
    left: 0;
    width: 29px;
    height: 3px;
    background: var(--header-a-blue);
    border-radius: 999px;
    transition: top 0.25s ease, transform 0.25s ease;
  }

  .nav-icon::before {
    top: -9px;
  }

  .nav-icon::after {
    top: 9px;
  }

  .header-a__menu-text {
    display: none !important;
  }

  .site-header.nav-open .nav-icon {
    background: transparent;
  }

  .site-header.nav-open .nav-icon::before {
    top: 0;
    transform: rotate(45deg);
  }

  .site-header.nav-open .nav-icon::after {
    top: 0;
    transform: rotate(-45deg);
  }

  .header-a__nav,
  .global-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: min(88vw,330px);
    height: 100dvh;
    padding: 78px 22px 28px;
    box-sizing: border-box;
    background: linear-gradient(180deg,#F4FAFE 0%,#EAF5FC 100%);
    transform: translateX(-105%);
    transition: transform 0.45s ease;
    z-index: 1101;
    pointer-events: none;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }

  .header-a__nav-list {
    display: block;
  }

  .header-a__nav-list li {
    border-bottom: 1px dashed rgba(90,153,204,0.35);
  }

  .header-a__nav-list a {
    color: #2f4861;
    padding: 17px 6px;
    font-size: 16px;
    letter-spacing: 0.06em;
  }

  .header-a__nav-list a::after {
    display: none;
  }

  .site-header.nav-open .global-nav {
    transform: translateX(0);
    pointer-events: auto;
  }

  .global-nav.is-fully-closed {
    visibility: hidden;
  }

  .site-header.nav-open .nav-overlay {
    opacity: 0.28;
    pointer-events: auto;
  }
}

@media (max-width:420px) {
  .header-a__main {
    min-height: 70px;
    padding: 8px 9px;
    gap: 7px;
  }

  .header-a__logo {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }

  .header-a__name {
    font-size: 16px;
  }

  .header-a__sp-contact {
    min-width: 92px;
    height: 46px;
    padding: 0 8px;
  }

  .header-a__sp-contact-icon {
    width: 18px;
    height: 18px;
  }

  .header-a__menu,
  .nav-button {
    width: 42px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav-icon,
  .nav-icon::before,
  .nav-icon::after {
    width: 26px;
  }
}

@media (prefers-reduced-motion:reduce) {
  .header-a__cta,
  .header-a__nav-list a::after,
  .global-nav,
  .nav-overlay,
  .nav-icon::before,
  .nav-icon::after {
    transition: none;
  }
}

.header-a__nav-item--sp-contact {
  display: none;
}

@media (max-width:767px) {
  .header-a__nav-item--sp-contact {
    display: block;
  }

  .header-a__nav-item--sp-contact a {
    color: #2f4861;
    font-weight: 700;
  }
}

.header-a__nav-item {
  position: relative;
}

.header-a__nav-menu-button {
  appearance: none;
  -webkit-appearance: none;
  border: none;
  background: transparent;
  padding: 10px 0;
  color: var(--header-a-text);
  font-family: "Noto Sans JP","Yu Gothic","メイリオ",sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.4;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  position: relative;
  white-space: nowrap;
}

.header-a__nav-menu-button::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 0;
  height: 2px;
  background: var(--header-a-blue);
  transform: translateX(-50%);
  transition: width 0.25s ease;
}

.header-a__nav-menu-button:hover::after,
.header-a__nav-item--has-menu.is-open .header-a__nav-menu-button::after {
  width: 100%;
}

.header-a__nav-menu-button:focus-visible {
  outline: 2px solid rgba(30,90,168,0.35);
  outline-offset: 4px;
  border-radius: 4px;
}

.header-a__nav-menu-arrow {
  width: 7px;
  height: 7px;
  border-right: 2px solid var(--header-a-blue);
  border-bottom: 2px solid var(--header-a-blue);
  transform: rotate(45deg);
  margin-top: -4px;
  transition: transform 0.25s ease;
}

.header-a__nav-item--has-menu.is-open .header-a__nav-menu-arrow {
  transform: rotate(-135deg);
  margin-top: 3px;
}

.service-dropdown::before {
  content: "";
  position: absolute;
  top: -9px;
  left: 50%;
  width: 18px;
  height: 18px;
  background: #ffffff;
  border-left: 1px solid rgba(30,90,168,0.14);
  border-top: 1px solid rgba(30,90,168,0.14);
  transform: translateX(-50%) rotate(45deg);
}

.header-a__nav-item--has-menu.is-open .service-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.service-dropdown__inner {
  background: #ffffff;
  border: 1px solid rgba(30,90,168,0.14);
  border-radius: 14px;
  box-shadow: 0 16px 35px rgba(0,0,0,0.16);
  padding: 18px;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 12px;
}

.service-dropdown {
  position: absolute;
  top: calc(100% + 20px);
  left: 50%;
  width: 720px;
  max-width: calc(100vw - 40px);
  transform: translateX(-50%) translateY(10px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 1200;
  transition: opacity 0.45s ease,
    transform 0.45s ease,
    visibility 0.45s ease;
}

.service-dropdown__item:hover {
  background: rgba(30,90,168,0.06);
  border-color: rgba(30,90,168,0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(30,90,168,0.12);
}

.service-dropdown__label {
  display: block;
  color: var(--header-a-blue);
  font-family: "Noto Sans JP","Yu Gothic","メイリオ",sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.05em;
}

.service-dropdown__text {
  display: block;
  margin-top: 5px;
  color: #4b5563;
  font-family: "Noto Sans JP","Yu Gothic","メイリオ",sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0.03em;
}

@media (max-width:768px) {
  .header-a__nav-item {
    position: static;
    border-bottom: 1px dashed rgba(90,153,204,0.35);
  }

  .header-a__nav-item--has-menu {
    padding: 0;
  }

  .header-a__nav-menu-button {
    width: 100%;
    padding: 17px 6px;
    color: #2f4861;
    font-size: 16px;
    letter-spacing: 0.06em;
    justify-content: space-between;
  }

  .header-a__nav-menu-button::after {
    display: none;
  }

  .header-a__nav-menu-arrow {
    border-right: 2px solid #5A99CC;
    border-bottom: 2px solid #5A99CC;
    margin-right: 4px;
  }

  .service-dropdown {
    position: static;
    width: 100%;
    max-width: none;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    overflow: hidden;
    max-height: 0;
    transition: max-height 1.0s ease;
  }

  .service-dropdown::before {
    display: none;
  }

  .header-a__nav-item--has-menu.is-open .service-dropdown {
    transform: none;
    max-height: 900px;
  }

  .service-dropdown__inner {
    display: block;
    background: rgba(117,174,221,0.10);
    border: none;
    border-radius: 10px;
    box-shadow: none;
    padding: 8px 8px 12px;
    margin: 0 0 12px;
  }

  .service-dropdown__item {
    padding: 12px 12px;
    border: none;
    border-radius: 8px;
    background: #ffffff;
    margin-bottom: 8px;
  }

  .service-dropdown__item:last-child {
    margin-bottom: 0;
  }

  .service-dropdown__item:hover {
    background: #F7FBFE;
    transform: none;
    box-shadow: none;
  }

  .service-dropdown__label {
    color: #2f4861;
    font-size: 16px;
  }

  .service-dropdown__text {
    color: #4b5563;
    font-size: 14px;
    line-height: 1.6;
  }
}

@media (prefers-reduced-motion:reduce) {
  .header-a__nav-menu-button::after,
  .header-a__nav-menu-arrow,
  .service-dropdown,
  .service-dropdown__item {
    transition: none;
  }
}

.section-heading {
  width: 100%;
  max-width: 820px;
  margin: 0 auto 46px;
  padding: 0 20px;
  box-sizing: border-box;
  text-align: center;
}

.section-heading__en {
  margin: 0 0 8px;
  color: var(--header-a-blue,#1E5AA8);
  font-family: "Noto Sans JP","Yu Gothic","メイリオ",sans-serif;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-heading__ja {
  margin: 0;
  color: #1f2937;
  font-family: "Noto Serif JP","Yu Mincho","Hiragino Mincho ProN","MS PMincho",serif;
  font-size: 30px;
  line-height: 1.55;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.section-heading__line {
  display: block;
  width: 58px;
  height: 2px;
  margin: 18px auto 0;
  background: linear-gradient(
    90deg,
    rgba(30,90,168,0) 0%,
    var(--header-a-blue,#1E5AA8) 18%,
    var(--header-a-blue,#1E5AA8) 82%,
    rgba(30,90,168,0) 100%
  );
  border-radius: 999px;
}

.section-heading__lead {
  max-width: 680px;
  margin: 20px auto 0;
  color: #4b5563;
  font-family: "Noto Sans JP","Yu Gothic","メイリオ",sans-serif;
  font-size: 16px;
  line-height: 1.9;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-align: left;
}

.section-heading--white .section-heading__en,
.section-heading--white .section-heading__ja,
.section-heading--white .section-heading__lead {
  color: #ffffff;
}

.section-heading--white .section-heading__line {
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.95) 18%,
    rgba(255,255,255,0.95) 82%,
    rgba(255,255,255,0) 100%
  );
}

.section-heading--left {
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}

.section-heading--left .section-heading__line {
  margin-left: 0;
  margin-right: 0;
}

.section-heading--left .section-heading__lead {
  margin-left: 0;
  margin-right: 0;
}

@media (max-width:1024px) {
  .section-heading {
    margin-bottom: 40px;
  }

  .section-heading__ja {
    font-size: 27px;
  }
}

@media (max-width:767px) {
  .section-heading {
    margin-bottom: 34px;
    padding: 0 18px;
  }

  .section-heading__en {
    margin-bottom: 6px;
    letter-spacing: 0.16em;
  }

  .section-heading__ja {
    font-size: 23px;
    line-height: 1.55;
    letter-spacing: 0.06em;
  }

  .section-heading__line {
    width: 48px;
    margin-top: 14px;
  }

  .section-heading__lead {
    margin-top: 16px;
    line-height: 1.85;
    text-align: left;
  }
}

@media (max-width:420px) {
  .section-heading__ja {
    font-size: 21px;
  }
}

/* トップページ：ファーストビューの基本設定 */

.fv-legal {
  width: 100%;
  background: #ffffff;
  margin: 0 auto 90px;
  box-sizing: border-box;
}

.fv-legal__inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  background: #ffffff;
  box-sizing: border-box;
  overflow: hidden;
}

.fv-legal__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 48%);
  align-items: stretch;
  min-height: 520px;
  background: linear-gradient(90deg,#ffffff 0%,#ffffff 46%,#F4F8FD 100%);
  border-bottom: 1px solid rgba(30,90,168,0.12);
}

.fv-legal__text {
  padding: 76px 48px 56px 64px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.fv-legal__label {
  margin: 0 0 14px;
  color: var(--header-a-blue,#1E5AA8);
  font-family: "Noto Serif JP","Yu Mincho","Hiragino Mincho ProN","MS PMincho",serif;
  font-size: 34px;
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.fv-legal__title {
  margin: 0 0 22px;
  color: var(--header-a-blue,#1E5AA8);
  font-family: "Noto Serif JP","Yu Mincho","Hiragino Mincho ProN","MS PMincho",serif;
  font-size: 28px;
  line-height: 1.65;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.fv-legal__lead {
  position: relative;
  margin: 0 0 30px;
  padding-top: 22px;
  color: #333333;
  font-family: "Noto Sans JP","Yu Gothic","メイリオ",sans-serif;
  font-size: 16px;
  line-height: 1.95;
  letter-spacing: 0.05em;
  max-width: 620px;
}

.fv-legal__lead::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 470px;
  height: 1px;
  background: rgba(30,90,168,0.28);
}

.fv-legal__buttons {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.fv-legal__btn {
  min-width: 210px;
  min-height: 54px;
  padding: 0 28px;
  box-sizing: border-box;
  border-radius: 6px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-family: "Noto Sans JP","Yu Gothic","メイリオ",sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  transition: transform 0.2s ease,
    box-shadow 0.2s ease,
    opacity 0.2s ease,
    background-color 0.2s ease;
}

.fv-legal__btn span {
  font-size: 24px;
  line-height: 1;
  margin-top: -2px;
}

.fv-legal__btn--primary {
  background: linear-gradient(180deg,var(--header-a-blue,#1E5AA8),var(--header-a-blue-dark,#174A8E));
  color: #ffffff;
  box-shadow: 0 6px 14px rgba(30,90,168,0.22);
}

.fv-legal__btn:hover {
  transform: translateY(-2px);
}

.fv-legal__btn--primary:hover {
  box-shadow: 0 10px 22px rgba(30,90,168,0.28);
}

.fv-legal__photo {
  margin: 0;
  position: relative;
  min-height: 520px;
  overflow: hidden;
}

.fv-legal__photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,rgba(255,255,255,0.88) 0%,rgba(255,255,255,0.18) 28%,rgba(255,255,255,0) 52%);
  z-index: 1;
  pointer-events: none;
}

.fv-legal__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.fv-legal__points {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 0;
  background: rgba(244,248,253,0.92);
  border-top: 1px solid rgba(30,90,168,0.08);
  border-bottom: 1px solid rgba(30,90,168,0.08);
}

.fv-legal__point {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 96px;
  padding: 18px 24px;
  box-sizing: border-box;
  border-right: 1px solid rgba(30,90,168,0.16);
}

.fv-legal__point:last-child {
  border-right: none;
}

.fv-legal__point-icon {
  width: 46px;
  height: 46px;
  color: var(--header-a-blue,#1E5AA8);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.fv-legal__point-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.fv-legal__point-title {
  margin: 0 0 4px;
  color: var(--header-a-blue,#1E5AA8);
  font-family: "Noto Sans JP","Yu Gothic","メイリオ",sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.06em;
}

.fv-legal__point-text {
  margin: 0;
  color: #333333;
  font-family: "Noto Sans JP","Yu Gothic","メイリオ",sans-serif;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

@media (max-width:1024px) {
  .fv-legal__content {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 45%);
  }

  .fv-legal__text {
    padding: 60px 36px 48px 44px;
  }

  .fv-legal__label {
    font-size: 29px;
  }

  .fv-legal__title {
    font-size: 24px;
  }

  .fv-legal__btn {
    min-width: 190px;
  }
}

@media (max-width:767px) {
  .fv-legal {
    margin: 0 auto 70px;
  }

  .fv-legal__inner {
    overflow: visible;
  }

  .fv-legal__content {
    display: flex;
    flex-direction: column;
    min-height: auto;
    background: #ffffff;
  }

  .fv-legal__photo {
    order: 1;
    width: 100%;
    min-height: 0;
    aspect-ratio: 4 / 3;
    border-bottom: 1px solid rgba(30,90,168,0.12);
  }

  .fv-legal__photo::before {
    display: none;
  }

  .fv-legal__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
  }

  .fv-legal__text {
    order: 2;
    padding: 30px 18px 26px;
    text-align: left;
    background: linear-gradient(180deg,#ffffff 0%,#F4F8FD 100%);
  }

  .fv-legal__label {
    margin: 0 0 10px;
    font-size: 23px;
    line-height: 1.45;
    letter-spacing: 0.05em;
  }

  .fv-legal__title {
    margin: 0 0 16px;
    font-size: 20px;
    line-height: 1.65;
    letter-spacing: 0.05em;
  }

  .fv-legal__lead {
    margin: 0 0 22px;
    padding-top: 17px;
    line-height: 1.9;
    letter-spacing: 0.04em;
  }

  .fv-legal__lead::before {
    max-width: 100%;
  }

  .fv-legal__buttons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .fv-legal__btn {
    width: 100%;
    min-width: 0;
    min-height: 50px;
    padding: 0 18px;
    border-radius: 6px;
  }

  .fv-legal__points {
    grid-template-columns: 1fr;
    background: #ffffff;
  }

  .fv-legal__point {
    justify-content: flex-start;
    min-height: auto;
    padding: 15px 18px;
    border-right: none;
    border-bottom: 1px solid rgba(30,90,168,0.12);
    background: #F8FBFF;
  }

  .fv-legal__point:last-child {
    border-bottom: none;
  }

  .fv-legal__point-icon {
    width: 36px;
    height: 36px;
  }

  .fv-legal__point-title {
    font-size: 16px;
  }
}

@media (max-width:420px) {
  .fv-legal__label {
    font-size: 21px;
  }

  .fv-legal__title {
    font-size: 19px;
  }
}

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

/* 取扱業務の基本設定 */

.service-section {
  width: 100%;
  padding: 92px 0 96px;
  background: #ffffff;
  box-sizing: border-box;
}

.service-section__inner {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

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

.service-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(30,90,168,0.14);
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(20,42,70,0.08);
  transition: transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(30,90,168,0.28);
  box-shadow: 0 16px 34px rgba(20,42,70,0.13);
}

.service-card__image {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  background: #F4F8FD;
}

.service-card__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0) 0%,
    rgba(10,35,70,0.08) 100%
  );
  pointer-events: none;
}

.service-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.45s ease;
}

.service-card:hover .service-card__image img {
  transform: scale(1.04);
}

.service-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px 22px 22px;
  box-sizing: border-box;
}

.service-card__number {
  position: relative;
  display: block;
  margin: 0 0 2px;
  padding-left: 28px;
  color: var(--header-a-blue,#1E5AA8);
  font-family: "Noto Serif JP","Yu Mincho","Hiragino Mincho ProN","MS PMincho",serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.06em;
}

.service-card__number::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 18px;
  height: 1px;
  background: var(--header-a-blue,#1E5AA8);
  transform: translateY(-50%);
  opacity: 0.7;
}

.service-card__title {
  margin: 0 0 11px;
  color: var(--header-a-blue,#1E5AA8);
  font-family: "Noto Serif JP","Yu Mincho","Hiragino Mincho ProN","MS PMincho",serif;
  font-size: 21px;
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.service-card__text {
  margin: 0 0 22px;
  color: #4b5563;
  font-family: "Noto Sans JP","Yu Gothic","メイリオ",sans-serif;
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: 0.04em;
}

.service-card__button {
  margin-top: auto;
  min-height: 44px;
  padding: 0 18px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  align-self: center;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid rgba(30,90,168,0.35);
  background: #ffffff;
  color: var(--header-a-blue,#1E5AA8);
  font-family: "Noto Sans JP","Yu Gothic","メイリオ",sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.06em;
  transition: background-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.service-card__button span {
  font-size: 21px;
  line-height: 1;
  margin-top: -2px;
}

.service-card__button:hover {
  background: var(--header-a-blue,#1E5AA8);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(30,90,168,0.18);
  transform: translateY(-1px);
}

.service-card__button:focus-visible {
  outline: 3px solid rgba(30,90,168,0.24);
  outline-offset: 3px;
}

@media (max-width:1024px) {
  .service-section {
    padding: 78px 0 82px;
  }

  .service-list {
    grid-template-columns: repeat(2,1fr);
    gap: 24px;
  }

  .service-card__title {
    font-size: 20px;
  }
}

@media (max-width:767px) {
  .service-section {
    padding: 66px 0 70px;
  }

  .service-section__inner {
    padding: 0 18px;
  }

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

  .service-card {
    border-radius: 12px;
  }

  .service-card:hover {
    transform: none;
  }

  .service-card__image {
    aspect-ratio: 4 / 3;
  }

  .service-card:hover .service-card__image img {
    transform: none;
  }

  .service-card__body {
    padding: 22px 20px 21px;
  }

  .service-card__number {
    margin-bottom: 15px;
    padding-left: 25px;
    font-size: 22px;
  }

  .service-card__number::before {
    width: 16px;
  }

  .service-card__title {
    margin-bottom: 10px;
    font-size: 23px;
    font-weight: 700;
  }

  .service-card__text {
    margin-bottom: 20px;
    line-height: 1.8;
  }

  .service-card__button {
    width: 100%;
    min-height: 46px;
    align-self: stretch;
  }
}

@media (max-width:420px) {
  .service-section__inner {
    padding: 0 16px;
  }

  .service-card__body {
    padding: 20px 18px 20px;
  }

  .service-card__number {
    margin-bottom: 10px;
    padding-left: 24px;
    font-size: 20px;
  }

  .service-card__number::before {
    width: 15px;
  }

  .service-card__title {
    font-size: 22px;
  }
}

@media (prefers-reduced-motion:reduce) {
  .service-card,
  .service-card__image img,
  .service-card__button {
    transition: none;
  }
}

.feature-section {
  width: 100%;
  padding: 92px 0 96px;
  background: #F4F8FD;
  box-sizing: border-box;
}

.feature-section__inner {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 26px;
}

.feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: 34px 28px 32px;
  box-sizing: border-box;
  background: #ffffff;
  border: 1px solid rgba(30,90,168,0.13);
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(20,42,70,0.07);
  overflow: hidden;
  transition: transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(30,90,168,0.26);
  box-shadow: 0 16px 34px rgba(20,42,70,0.12);
}

.feature-card::before {
  content: "";
  position: absolute;
  right: -36px;
  top: -36px;
  width: 116px;
  height: 116px;
  border-radius: 50%;
  background: rgba(30,90,168,0.06);
  pointer-events: none;
}

.feature-card::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--header-a-blue,#1E5AA8) 0%,
    rgba(30,90,168,0.28) 100%
  );
}

.feature-card__number {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--header-a-blue,#1E5AA8);
  font-family: "Noto Serif JP","Yu Mincho","Hiragino Mincho ProN","MS PMincho",serif;
  font-size: 30px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.06em;
}

.feature-card__number::after {
  content: "";
  display: block;
  width: 38px;
  height: 1px;
  background: rgba(30,90,168,0.45);
}

.feature-card__body {
  position: relative;
  z-index: 1;
}

.feature-card__title {
  margin: 0 0 16px;
  color: #1f2937;
  font-family: "Noto Serif JP","Yu Mincho","Hiragino Mincho ProN","MS PMincho",serif;
  font-size: 21px;
  line-height: 1.65;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.feature-card__text {
  margin: 0;
  color: #4b5563;
  font-family: "Noto Sans JP","Yu Gothic","メイリオ",sans-serif;
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.04em;
}

@media (max-width:1024px) {
  .feature-section {
    padding: 78px 0 82px;
  }

  .feature-list {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 760px;
    margin: 0 auto;
  }

  .feature-card {
    min-height: auto;
    padding: 30px 28px 30px;
  }

  .feature-card__title {
    font-size: 20px;
  }
}

@media (max-width:767px) {
  .feature-section {
    padding: 66px 0 70px;
  }

  .feature-section__inner {
    padding: 0 18px;
  }

  .feature-list {
    gap: 18px;
  }

  .feature-card {
    padding: 28px 22px 26px;
    border-radius: 12px;
  }

  .feature-card:hover {
    transform: none;
  }

  .feature-card::before {
    right: -42px;
    top: -42px;
    width: 110px;
    height: 110px;
  }

  .feature-card__number {
    margin-bottom: 14px;
    font-size: 26px;
  }

  .feature-card__number::after {
    width: 32px;
  }

  .feature-card__title {
    margin-bottom: 12px;
    font-size: 22px;
    line-height: 1.6;
  }

  .feature-card__text {
    line-height: 1.85;
  }
}

@media (max-width:420px) {
  .feature-section__inner {
    padding: 0 16px;
  }

  .feature-card {
    padding: 26px 20px 24px;
  }

  .feature-card__title {
    font-size: 22px;
  }
}

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

/* プロフィールの基本設定 */

.profile-section {
  width: 100%;
  padding: 92px 0 96px;
  background: #ffffff;
  box-sizing: border-box;
}

.profile-section__inner {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.profile-card {
  display: grid;
  grid-template-columns: minmax(320px, 38%) minmax(0, 1fr);
  gap: 44px;
  align-items: start;
  padding: 42px;
  box-sizing: border-box;
  background: linear-gradient(135deg,#ffffff 0%,#ffffff 58%,#F4F8FD 100%);
  border: 1px solid rgba(30,90,168,0.14);
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(20,42,70,0.09);
}

.profile-card__image {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 14px;
  background: #F4F8FD;
  min-height: 460px;
  box-shadow: 0 10px 24px rgba(20,42,70,0.10);
}

.profile-card__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0) 0%,
    rgba(10,35,70,0.10) 100%
  );
  pointer-events: none;
}

.profile-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.profile-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}

.profile-card__position {
  margin: 0 0 10px;
  color: var(--header-a-blue,#1E5AA8);
  font-family: "Noto Sans JP","Yu Gothic","メイリオ",sans-serif;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.profile-card__name-wrap {
  position: relative;
  margin: 0 0 26px;
  padding: 0 0 22px;
  border-bottom: 1px solid rgba(30,90,168,0.18);
}

.profile-card__job {
  margin: 0 0 8px;
  color: #4b5563;
  font-family: "Noto Sans JP","Yu Gothic","メイリオ",sans-serif;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.08em;
}

.profile-card__name {
  margin: 0;
  color: #1f2937;
  font-family: "Noto Serif JP","Yu Mincho","Hiragino Mincho ProN","MS PMincho",serif;
  font-size: 32px;
  line-height: 1.45;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.profile-card__kana {
  margin: 6px 0 0;
  color: rgba(30,90,168,0.76);
  font-family: "Noto Sans JP","Yu Gothic","メイリオ",sans-serif;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.12em;
}

.profile-card__message {
  margin: 0 0 16px;
  color: #374151;
  font-family: "Noto Sans JP","Yu Gothic","メイリオ",sans-serif;
  font-size: 16px;
  line-height: 1.95;
  letter-spacing: 0.04em;
}

.profile-card__message:last-of-type {
  margin-bottom: 24px;
}

.profile-card__info {
  margin: 8px 0 0;
  padding: 0;
  border-top: 1px solid rgba(30,90,168,0.14);
}

.profile-card__info-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 18px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(30,90,168,0.12);
}

.profile-card__info-row dt {
  color: var(--header-a-blue,#1E5AA8);
  font-family: "Noto Sans JP","Yu Gothic","メイリオ",sans-serif;
  font-size: 16px;
  line-height: 1.7;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.profile-card__info-row dd {
  margin: 0;
  color: #374151;
  font-family: "Noto Sans JP","Yu Gothic","メイリオ",sans-serif;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.04em;
}

@media (max-width:1024px) {
  .profile-section {
    padding: 78px 0 82px;
  }

  .profile-card {
    grid-template-columns: 1fr;
    gap: 34px;
    max-width: 760px;
    margin: 0 auto;
    padding: 36px;
  }

  .profile-card__image {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .profile-card__body {
    justify-content: flex-start;
  }

  .profile-card__name {
    font-size: 30px;
  }
}

@media (max-width:767px) {
  .profile-section {
    padding: 66px 0 70px;
  }

  .profile-section__inner {
    padding: 0 18px;
  }

  .profile-card {
    gap: 26px;
    padding: 0;
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
  }

  .profile-card__image {
    width: 100%;
    min-height: 0;
    aspect-ratio: auto;
    border-radius: 0;
    background: #ffffff;
    box-shadow: none;
  }

  .profile-card__image img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center top;
  }

  .profile-card__body {
    padding: 0 20px 24px;
  }

  .profile-card__position {
    margin-bottom: 8px;
  }

  .profile-card__name-wrap {
    margin-bottom: 22px;
    padding-bottom: 18px;
  }

  .profile-card__job {
    margin-bottom: 6px;
  }

  .profile-card__name {
    font-size: 26px;
    letter-spacing: 0.1em;
  }

  .profile-card__message {
    line-height: 1.9;
  }

  .profile-card__info-row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 13px 0;
  }
}

@media (max-width:420px) {
  .profile-section__inner {
    padding: 0 16px;
  }

  .profile-card__body {
    padding: 0 18px 22px;
  }

  .profile-card__name {
    font-size: 24px;
  }
}

/* ご相談の流れの基本設定 */

.flow-section {
  background: #ffffff;
  box-sizing: border-box;
}

.flow-section__inner {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.flow-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5,1fr);
  gap: 18px;
}

.flow-list::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 35px;
  height: 1px;
  background: rgba(30,90,168,0.22);
  z-index: 0;
}

.flow-card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 8px;
  box-sizing: border-box;
}

.flow-card__number {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: linear-gradient(
    180deg,
    var(--header-a-blue,#1E5AA8) 0%,
    var(--header-a-blue-dark,#174A8E) 100%
  );
  color: #ffffff;
  font-family: "Noto Serif JP","Yu Mincho","Hiragino Mincho ProN","MS PMincho",serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.06em;
  box-shadow: 0 8px 18px rgba(30,90,168,0.22),
    inset 0 1px 0 rgba(255,255,255,0.26);
}

.flow-card__body {
  width: 100%;
  padding: 24px 18px 22px;
  box-sizing: border-box;
  background: #ffffff;
  border: 1px solid rgba(30,90,168,0.13);
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(20,42,70,0.07);
  flex: 1;
}

.flow-card__title {
  margin: 0 0 12px;
  color: var(--header-a-blue,#1E5AA8);
  font-family: "Noto Serif JP","Yu Mincho","Hiragino Mincho ProN","MS PMincho",serif;
  font-size: 18px;
  line-height: 1.55;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.flow-card__text {
  margin: 0;
  color: #4b5563;
  font-family: "Noto Sans JP","Yu Gothic","メイリオ",sans-serif;
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.04em;
  text-align: left;
}

@media (max-width:1024px) {
  .flow-list {
    grid-template-columns: 1fr;
    gap: 18px;
    max-width: 760px;
    margin: 0 auto;
  }

  .flow-list::before {
    left: 35px;
    right: auto;
    top: 0;
    bottom: 0;
    width: 1px;
    height: auto;
  }

  .flow-card {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 20px;
    align-items: stretch;
    text-align: left;
    padding: 0;
  }

  .flow-card__number {
    margin: 0;
  }

  .flow-card__body {
    padding: 24px 24px 22px;
  }

  .flow-card__title {
    font-size: 19px;
  }

  .flow-card__text {
    font-size: 16px;
  }
}

@media (max-width:767px) {
  .flow-section__inner {
    padding: 0 18px;
  }

  .flow-list {
    gap: 16px;
  }

  .flow-list::before {
    left: 28px;
  }

  .flow-card {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 16px;
  }

  .flow-card__number {
    width: 56px;
    height: 56px;
    font-size: 18px;
  }

  .flow-card__body {
    padding: 20px 18px 19px;
    border-radius: 12px;
  }

  .flow-card__title {
    margin-bottom: 9px;
    font-size: 17px;
    line-height: 1.55;
  }

  .flow-card__text {
    line-height: 1.75;
  }
}

@media (max-width:420px) {
  .flow-section__inner {
    padding: 0 16px;
  }

  .flow-list::before {
    left: 25px;
  }

  .flow-card {
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 14px;
  }

  .flow-card__number {
    width: 50px;
    height: 50px;
    font-size: 17px;
  }

  .flow-card__body {
    padding: 18px 16px 18px;
  }

  .flow-card__title {
    font-size: 16px;
  }
}

/* よくある質問の基本設定 */

.faq-section {
  width: 100%;
  padding: 92px 0 96px;
  background: #F4F8FD;
  box-sizing: border-box;
}

.faq-section__inner {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.faq-list {
  width: 100%;
}

.card-accordion {
  margin: 18px 0;
}

.card-accordion-btn {
  position: relative;
  width: 92%;
  max-width: 780px;
  margin: 0 auto 16px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 18px 58px 18px 22px;
  box-sizing: border-box;
  background: #ffffff;
  color: #1f2937;
  font-family: "Noto Sans JP","Yu Gothic","メイリオ",sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.7;
  text-align: left;
  border: 1px solid rgba(30,90,168,0.18);
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(20,42,70,0.05);
  cursor: pointer;
}

.card-accordion-btn:hover {
  border-color: rgba(30,90,168,0.32);
  background: #F8FBFF;
  box-shadow: 0 10px 22px rgba(20,42,70,0.08);
  transform: translateY(-1px);
}

.card-accordion-btn:focus-visible {
  outline: 3px solid rgba(30,90,168,0.22);
  outline-offset: 3px;
}

.card-accordion-text {
  position: relative;
  display: block;
  width: 100%;
  padding-left: 34px;
  padding-right: 10px;
  font-weight: 500;
}

.card-accordion-text::before {
  content: "Q";
  position: absolute;
  left: 0;
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(30,90,168,0.10);
  color: var(--header-a-blue,#1E5AA8);
  font-family: "Noto Sans JP","Yu Gothic","メイリオ",sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  transform: translateY(-50%);
}

.card-accordion.is-open .card-accordion-btn {
  margin-bottom: 0;
  border-color: rgba(30,90,168,0.28);
  border-radius: 12px 12px 0 0;
  background: #F8FBFF;
  box-shadow: 0 8px 20px rgba(20,42,70,0.07);
}

.card-accordion-icon {
  position: absolute;
  right: 20px;
  top: 50%;
  width: 20px;
  height: 20px;
  transform: translateY(-50%);
}

.card-accordion-icon::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 2px;
  background: var(--header-a-blue,#1E5AA8);
  border-radius: 999px;
  transform: translate(-50%, -50%);
  transition: transform 0.35s ease, background-color 0.2s ease;
}

.card-accordion-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 2px;
  background: var(--header-a-blue,#1E5AA8);
  border-radius: 999px;
  transition: transform 0.35s ease, background-color 0.2s ease;
}

.card-accordion-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.card-accordion.is-open .card-accordion-icon::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.card-accordion.is-open .card-accordion-icon::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.card-accordion-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-4px);
  transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.3s ease,
    transform 0.3s ease;
  will-change: max-height, opacity, transform;
}

.card-accordion.is-open .card-accordion-content {
  opacity: 1;
  transform: translateY(0);
}

.card-accordion-btn {
  transition: margin-bottom 0.3s ease,
    transform 0.15s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease,
    border-radius 0.25s ease;
}

@media (prefers-reduced-motion:reduce) {
  .card-accordion-content,
  .card-accordion-btn,
  .card-accordion-icon::before,
  .card-accordion-icon::after {
    transition: none !important;
  }
}

.card-accordion-inner {
  position: relative;
  width: 92%;
  max-width: 780px;
  margin: 0 auto 18px;
  padding: 18px 22px 22px 56px;
  box-sizing: border-box;
  background: #ffffff;
  border: 1px solid rgba(30,90,168,0.18);
  border-top: none;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 10px 22px rgba(20,42,70,0.06);
}

.card-accordion-inner::before {
  content: "A";
  position: absolute;
  left: 22px;
  top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--header-a-blue,#1E5AA8);
  color: #ffffff;
  font-family: "Noto Sans JP","Yu Gothic","メイリオ",sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.qa-answer {
  margin: 0;
  color: #374151;
  font-family: "Noto Sans JP","Yu Gothic","メイリオ",sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.9;
}

.qa-more {
  width: 92%;
  max-width: 360px;
  margin: 30px auto 120px;
  text-align: center;
}

.qa-more__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 48px;
  padding: 0 22px;
  box-sizing: border-box;
  background: linear-gradient(
    180deg,
    var(--header-a-blue,#1E5AA8) 0%,
    var(--header-a-blue-dark,#174A8E) 100%
  );
  color: #ffffff;
  font-family: "Noto Sans JP","Yu Gothic","メイリオ",sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.4;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(30,90,168,0.20),
    inset 0 1px 0 rgba(255,255,255,0.22);
  transition: transform 0.15s ease,
    box-shadow 0.2s ease,
    filter 0.2s ease;
}

.qa-more__btn::after {
  content: "";
  width: 8px;
  height: 8px;
  border-top: 2px solid rgba(255,255,255,0.96);
  border-right: 2px solid rgba(255,255,255,0.96);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.qa-more__btn:hover {
  filter: brightness(1.04);
  box-shadow: 0 10px 22px rgba(30,90,168,0.26),
    inset 0 1px 0 rgba(255,255,255,0.26);
  transform: translateY(-1px);
}

.qa-more__btn:hover::after {
  transform: rotate(45deg) translate(3px,-3px);
}

.qa-more__btn:focus-visible {
  outline: 3px solid rgba(30,90,168,0.24);
  outline-offset: 3px;
}

@media (max-width:1024px) {
  .faq-section {
    padding: 78px 0 82px;
  }
}

@media (max-width:767px) {
  .faq-section {
    padding: 66px 0 70px;
  }

  .faq-section__inner {
    padding: 0 18px;
  }

  .card-accordion {
    margin: 14px 0;
  }

  .card-accordion-btn {
    width: 92%;
    margin-bottom: 14px;
    padding: 15px 50px 15px 16px;
    font-size: 16px;
    line-height: 1.7;
    border-radius: 10px;
  }

  .card-accordion.is-open .card-accordion-btn {
    border-radius: 10px 10px 0 0;
  }

  .card-accordion-text {
    font-weight: 500;
    padding-left: 32px;
  }

  .card-accordion-text::before {
    width: 23px;
    height: 23px;
  }

  .card-accordion-icon {
    right: 16px;
    width: 18px;
    height: 18px;
  }

  .card-accordion-icon::before,
  .card-accordion-icon::after {
    width: 17px;
  }

  .card-accordion-inner {
    width: 92%;
    margin-bottom: 18px;
    padding: 16px 16px 18px 50px;
    border-radius: 0 0 10px 10px;
  }

  .card-accordion-inner::before {
    left: 16px;
    top: 18px;
    width: 23px;
    height: 23px;
  }

  .qa-answer {
    line-height: 1.85;
  }

  .qa-more {
    margin: 26px auto 0;
  }

  .qa-more__btn {
    min-height: 48px;
    padding: 0 18px;
  }
}

@media (max-width:420px) {
  .faq-section__inner {
    padding: 0 16px;
  }

  .card-accordion-btn {
    width: 94%;
    padding: 14px 48px 14px 15px;
  }

  .card-accordion-inner {
    width: 94%;
    padding: 15px 15px 17px 48px;
  }

  .qa-more {
    width: 94%;
  }
}

@media (prefers-reduced-motion:reduce) {
  .card-accordion-btn,
  .card-accordion-icon::before,
  .card-accordion-icon::after,
  .card-accordion-content,
  .qa-more__btn,
  .qa-more__btn::after {
    transition: none;
  }
}

.contact-section {
  position: relative;
  box-sizing: border-box;
  overflow: hidden;
}

.contact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("../images/pc-toiawase-back.webp");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  filter: blur(6px);
  transform: scale(1.03);
}

.contact-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
      135deg,
      rgba(255,255,255,0.86) 0%,
      rgba(248,251,255,0.82) 52%,
      rgba(244,248,253,0.78) 100%
    );
}

.contact-section__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.contact-section .section-heading__en {
  color: var(--header-a-blue,#1E5AA8);
}

.contact-section .section-heading__ja {
  color: #1f2937;
}

.contact-section .section-heading__lead {
  color: #374151;
}

.contact-section .section-heading__line {
  background: linear-gradient(
      90deg,
      rgba(30,90,168,0) 0%,
      var(--header-a-blue,#1E5AA8) 18%,
      var(--header-a-blue,#1E5AA8) 82%,
      rgba(30,90,168,0) 100%
    );
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(0,1.25fr) minmax(320px,0.75fr);
  gap: 34px;
  align-items: stretch;
  padding: 42px;
  box-sizing: border-box;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(30,90,168,0.14);
  border-radius: 18px;
  box-shadow: 0 18px 42px rgba(20,42,70,0.12),
    inset 0 1px 0 rgba(255,255,255,0.80);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.contact-card__main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.contact-card__label {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  margin: 0 0 16px;
  padding: 7px 14px;
  box-sizing: border-box;
  background: rgba(30,90,168,0.10);
  color: var(--header-a-blue,#1E5AA8);
  border: 1px solid rgba(30,90,168,0.12);
  border-radius: 999px;
  font-family: "Noto Sans JP","Yu Gothic","メイリオ",sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.08em;
}

.contact-card__title {
  margin: 0 0 20px;
  color: #1f2937;
  font-family: "Noto Serif JP",
    "Yu Mincho",
    "Hiragino Mincho ProN",
    "MS PMincho",
    serif;
  font-size: 30px;
  line-height: 1.6;
  font-weight: 700;
  letter-spacing: 0.07em;
}

.contact-card__text {
  max-width: 680px;
  margin: 0 0 24px;
  color: #374151;
  font-family: "Noto Sans JP","Yu Gothic","メイリオ",sans-serif;
  font-size: 16px;
  line-height: 1.95;
  letter-spacing: 0.04em;
}

.contact-card__select {
  margin: 0 0 14px;
  color: #4b5563;
  font-family: "Noto Sans JP","Yu Gothic","メイリオ",sans-serif;
  font-size: 14px;
  line-height: 1.7;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.contact-card__buttons {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 12px;
}

.contact-card__btn {
  width: 100%;
  min-width: 0;
  min-height: 56px;
  padding: 10px 14px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  text-align: center;
  text-decoration: none;
  border-radius: 12px;
  font-family: "Noto Sans JP","Yu Gothic","メイリオ",sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.03em;
  transition: transform 0.15s ease,
    box-shadow 0.2s ease,
    filter 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.contact-card__btn-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.contact-card__btn--mail {
  background: #ffffff;
  color: var(--header-a-blue,#1E5AA8);
  border: 1px solid rgba(30,90,168,0.30);
  box-shadow: 0 6px 14px rgba(20,42,70,0.08);
}

.contact-card__btn--mail .contact-card__btn-icon {
  font-size: 18px;
  line-height: 1;
}

.contact-card__btn--line {
  background: #06C755;
  color: #ffffff;
  border: 1px solid #06C755;
  box-shadow: 0 7px 16px rgba(6,199,85,0.20);
}

.contact-card__btn--line .contact-card__btn-icon {
  min-width: 34px;
  height: 22px;
  padding: 0 5px;
  box-sizing: border-box;
  background: #ffffff;
  color: #06C755;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
}

.contact-card__btn--form {
  background: linear-gradient(
      180deg,
      var(--header-a-blue,#1E5AA8) 0%,
      var(--header-a-blue-dark,#174A8E) 100%
    );
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.28);
  box-shadow: 0 8px 18px rgba(30,90,168,0.24),
    inset 0 1px 0 rgba(255,255,255,0.22);
}

.contact-card__btn--form span {
  font-size: 21px;
  line-height: 1;
  margin-top: -2px;
}

.contact-card__btn:hover {
  transform: translateY(-2px);
}

.contact-card__btn--mail:hover {
  background: #F8FBFF;
  border-color: rgba(30,90,168,0.42);
  box-shadow: 0 10px 22px rgba(20,42,70,0.12);
}

.contact-card__btn--line:hover {
  filter: brightness(0.97);
  box-shadow: 0 10px 22px rgba(6,199,85,0.25);
}

.contact-card__btn--form:hover {
  filter: brightness(1.04);
  box-shadow: 0 11px 24px rgba(30,90,168,0.30),
    inset 0 1px 0 rgba(255,255,255,0.26);
}

.contact-card__btn:focus-visible {
  outline: 3px solid rgba(30,90,168,0.24);
  outline-offset: 3px;
}

.contact-card__info {
  min-width: 0;
  padding: 28px 28px 26px;
  box-sizing: border-box;
  background: rgba(248,251,255,0.92);
  border: 1px solid rgba(30,90,168,0.13);
  border-radius: 14px;
}

.contact-info-list {
  margin: 0;
  padding: 0;
}

.contact-info-list__row {
  display: grid;
  grid-template-columns: 92px minmax(0,1fr);
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(30,90,168,0.12);
}

.contact-info-list__row:first-child {
  padding-top: 0;
}

.contact-info-list__row:last-child {
  border-bottom: none;
}

.contact-info-list__row dt {
  color: var(--header-a-blue,#1E5AA8);
  font-family: "Noto Sans JP","Yu Gothic","メイリオ",sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.06em;
}

.contact-info-list__row dd {
  margin: 0;
  color: #374151;
  font-family: "Noto Sans JP","Yu Gothic","メイリオ",sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.04em;
  overflow-wrap: anywhere;
}

.contact-card__note {
  margin: 18px 0 0;
  color: #6b7280;
  font-family: "Noto Sans JP","Yu Gothic","メイリオ",sans-serif;
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: 0.04em;
}

.contact-card__note + .contact-card__note {
  margin-top: 8px;
}

@media (max-width:1024px) {
  .contact-card {
    grid-template-columns: 1fr;
    gap: 28px;
    max-width: 780px;
    margin: 0 auto;
    padding: 38px;
  }

  .contact-card__title {
    font-size: 28px;
  }

  .contact-card__buttons {
    grid-template-columns: repeat(3,minmax(0,1fr));
  }

  .contact-card__btn {
    padding: 10px 10px;
    font-size: 16px;
  }
}

@media (max-width:767px) {
  .contact-section::before {
    inset: 0;
    filter: blur(5px);
    transform: scale(1.04);
  }

  .contact-section::after {
    background: linear-gradient(
        135deg,
        rgba(255,255,255,0.90) 0%,
        rgba(248,251,255,0.86) 52%,
        rgba(244,248,253,0.82) 100%
      );
  }

  .contact-section__inner {
    padding: 0 18px;
  }

  .contact-card {
    gap: 24px;
    padding: 28px 20px 24px;
    background: rgba(255,255,255,0.95);
    border-radius: 14px;
  }

  .contact-card__label {
    margin-bottom: 14px;
  }

  .contact-card__title {
    margin-bottom: 16px;
    font-size: 23px;
    line-height: 1.6;
    letter-spacing: 0.06em;
  }

  .contact-card__text {
    margin-bottom: 22px;
    line-height: 1.9;
  }

  .contact-card__select {
    margin-bottom: 12px;
    font-size: 14px;
  }

  .contact-card__buttons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .contact-card__btn {
    width: 100%;
    min-width: 0;
    min-height: 52px;
    padding: 10px 18px;
    border-radius: 10px;
  }

  .contact-card__info {
    padding: 22px 18px 20px;
    border-radius: 12px;
  }

  .contact-info-list__row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 13px 0;
  }

  .contact-card__note {
    margin-top: 15px;
  }

  .contact-card__note + .contact-card__note {
    margin-top: 7px;
  }
}

@media (max-width:420px) {
  .contact-section__inner {
    padding: 0 16px;
  }

  .contact-card {
    padding: 26px 18px 22px;
  }

  .contact-card__title {
    font-size: 21px;
  }

  .contact-card__btn {
    min-height: 50px;
    padding: 9px 14px;
  }

  .contact-card__info {
    padding: 20px 16px 18px;
  }
}

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

  .contact-card__btn:hover {
    transform: none;
  }
}

.fee-page,
.fee-page *,
.fee-page *::before,
.fee-page *::after {
  box-sizing: border-box;
}

.fee-page {
  width: 100%;
  background: #ffffff;
  color: #222222;
  font-family: "Noto Sans JP","Yu Gothic","メイリオ",sans-serif;
}

.fee-hero {
  position: relative;
  width: 100%;
  background: linear-gradient(180deg,#ffffff 0%,#F4F8FD 100%);
  border-bottom: 1px solid rgba(30,90,168,0.14);
  overflow: hidden;
}

.fee-hero::before {
  content: "";
  position: absolute;
  top: -90px;
  right: -90px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(30,90,168,0.08);
  pointer-events: none;
}

.fee-hero::after {
  content: "";
  position: absolute;
  left: -80px;
  bottom: -120px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(30,90,168,0.045);
  pointer-events: none;
}

.fee-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1180px;
  min-height: 230px;
  margin: 0 auto;
  padding: 54px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fee-hero__content {
  width: 100%;
  max-width: 760px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.fee-hero__title {
  margin: 0;
  color: var(--header-a-blue,#1E5AA8);
  font-family: "Noto Serif JP","Yu Mincho","Hiragino Mincho ProN","MS PMincho",serif;
  font-size: 40px;
  line-height: 1.45;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.fee-hero__line {
  display: block;
  width: 64px;
  height: 3px;
  margin: 18px auto 12px;
  background: var(--header-a-blue,#1E5AA8);
  border-radius: 999px;
}

.fee-hero__label {
  display: block;
  margin: 0;
  color: var(--header-a-blue,#1E5AA8);
  font-family: "Noto Sans JP","Yu Gothic","メイリオ",sans-serif;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.fee-hero__lead {
  max-width: 620px;
  margin: 18px auto 0;
  color: #333333;
  font-size: 16px;
  line-height: 1.9;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-align: center;
}

.fee-breadcrumb {
  width: 100%;
  background: #ffffff;
}

.fee-breadcrumb__inner {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 24px 0;
}

.fee-breadcrumb__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: #606b78;
  font-size: 14px;
  line-height: 1.6;
}

.fee-breadcrumb__list li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.fee-breadcrumb__list li:not(:last-child)::after {
  content: "›";
  color: #8a98a8;
}

.fee-breadcrumb__list a {
  color: var(--header-a-blue,#1E5AA8);
  text-decoration: none;
}

.fee-breadcrumb__list a:hover {
  text-decoration: underline;
}

.fee-section {
  width: 100%;
  padding: 56px 0 74px;
  background: #ffffff;
}

.fee-section__inner {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.fee-intro {
  max-width: 820px;
  margin: 0 auto 42px;
  text-align: center;
}

.fee-intro__title {
  margin: 0 0 18px;
  color: #1f2937;
  font-family: "Noto Serif JP","Yu Mincho","Hiragino Mincho ProN","MS PMincho",serif;
  font-size: 28px;
  line-height: 1.6;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.fee-intro__text {
  margin: 0;
  color: #333333;
  font-size: 16px;
  line-height: 2;
  letter-spacing: 0.04em;
  text-align: left;
}

.fee-block {
  width: 100%;
  margin: 0 0 34px;
}

.fee-block:last-of-type {
  margin-bottom: 0;
}

.fee-block__title {
  position: relative;
  margin: 0 0 14px;
  padding-left: 18px;
  color: var(--header-a-blue,#1E5AA8);
  font-family: "Noto Serif JP","Yu Mincho","Hiragino Mincho ProN","MS PMincho",serif;
  font-size: 24px;
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.fee-block__title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18em;
  width: 4px;
  height: 1.18em;
  background: var(--header-a-blue,#1E5AA8);
  border-radius: 999px;
}

.fee-table-wrap {
  width: 100%;
  overflow: visible;
  border: 1px solid rgba(30,90,168,0.28);
  background: #ffffff;
}

.fee-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  background: #ffffff;
  font-family: "Noto Sans JP","Yu Gothic","メイリオ",sans-serif;
}

.fee-table th,
.fee-table td {
  border: 1px solid rgba(30,90,168,0.24);
  padding: 14px 16px;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0.03em;
  vertical-align: middle;
}

.fee-table thead th {
  background: linear-gradient(180deg,#F7FAFE 0%,#EAF3FC 100%);
  color: var(--header-a-blue,#1E5AA8);
  font-weight: 700;
  text-align: center;
  border-bottom: 2px solid rgba(30,90,168,0.28);
}

.fee-table tbody th {
  width: 34%;
  background: #F4F8FD;
  color: #222222;
  font-weight: 700;
  text-align: left;
}

.fee-table tbody td {
  color: #222222;
  text-align: center;
  font-weight: 500;
}

.fee-table--simple tbody th {
  width: 55%;
}

.fee-table--simple tbody td {
  width: 45%;
}

.fee-block__note {
  margin: 10px 0 0;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: 0.03em;
}

.fee-estimate {
  margin: 48px 0 0;
  padding: 28px 30px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  background: linear-gradient(90deg,#F4F8FD 0%,#ffffff 100%);
  border: 1px solid rgba(30,90,168,0.2);
  box-shadow: 0 8px 22px rgba(20,42,70,0.06);
}

.fee-estimate__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 56px;
}

.fee-estimate__icon img {
  display: block;
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.fee-estimate__body {
  min-width: 0;
}

.fee-estimate__title {
  margin: 0 0 8px;
  color: var(--header-a-blue,#1E5AA8);
  font-family: "Noto Serif JP","Yu Mincho","Hiragino Mincho ProN","MS PMincho",serif;
  font-size: 24px;
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.fee-estimate__text {
  margin: 0;
  color: #333333;
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.04em;
}

.fee-estimate__button-wrap {
  display: flex;
  justify-content: flex-end;
}

.fee-estimate__button {
  min-width: 260px;
  min-height: 54px;
  padding: 0 26px;
  border-radius: 6px;
  background: linear-gradient(180deg,var(--header-a-blue,#1E5AA8),var(--header-a-blue-dark,#174A8E));
  color: #ffffff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  box-shadow: 0 6px 14px rgba(30,90,168,0.22);
  transition: opacity 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.fee-estimate__button span {
  font-size: 24px;
  line-height: 1;
  margin-top: -2px;
}

.fee-estimate__button:hover {
  opacity: 0.94;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(30,90,168,0.28);
}

@media (max-width:1024px) {
  .fee-hero__inner {
    min-height: 220px;
    padding: 48px 24px;
  }

  .fee-hero__title {
    font-size: 34px;
  }

  .fee-section {
    padding: 50px 0 68px;
  }

  .fee-intro__title {
    font-size: 26px;
  }

  .fee-block__title {
    font-size: 22px;
  }

  .fee-estimate {
    grid-template-columns: auto 1fr;
  }

  .fee-estimate__button-wrap {
    grid-column: 1 / -1;
    justify-content: flex-start;
    padding-left: 78px;
  }
}

@media (max-width:767px) {
  .fee-hero::before {
    top: -80px;
    right: -120px;
    width: 220px;
    height: 220px;
  }

  .fee-hero::after {
    left: -110px;
    bottom: -130px;
    width: 220px;
    height: 220px;
  }

  .fee-hero__inner {
    min-height: 200px;
    padding: 42px 18px;
  }

  .fee-hero__title {
    font-size: 30px;
    line-height: 1.45;
    letter-spacing: 0.08em;
  }

  .fee-hero__line {
    width: 54px;
    height: 3px;
    margin: 15px auto 10px;
  }

  .fee-hero__label {
    font-size: 14px;
    letter-spacing: 0.16em;
  }

  .fee-hero__lead {
    margin-top: 16px;
    font-size: 16px;
    line-height: 1.8;
    text-align: center;
  }

  .fee-breadcrumb__inner {
    padding: 14px 18px 0;
  }

  .fee-breadcrumb__list {
    font-size: 14px;
  }

  .fee-section {
    padding: 42px 0 58px;
  }

  .fee-section__inner {
    padding: 0 18px;
  }

  .fee-intro {
    margin-bottom: 34px;
    text-align: left;
  }

  .fee-intro__title {
    margin-bottom: 14px;
    font-size: 23px;
    line-height: 1.55;
    letter-spacing: 0.06em;
    text-align: left;
  }

  .fee-intro__text {
    font-size: 16px;
    line-height: 1.9;
  }

  .fee-block {
    margin-bottom: 70px;
  }

  .fee-block__title {
    margin-bottom: 14px;
    padding-left: 16px;
    font-size: 21px;
    line-height: 1.5;
    letter-spacing: 0.05em;
  }

  .fee-table-wrap {
    border: none;
    background: transparent;
    overflow: visible;
  }

  .fee-table,
  .fee-table tbody,
  .fee-table tr,
  .fee-table th,
  .fee-table td {
    display: block;
    width: 100%;
  }

  .fee-table thead {
    width: 100%;
  }

  .fee-table {
    border-collapse: separate;
    border-spacing: 0;
    table-layout: auto;
    background: transparent;
  }

  .fee-table thead {
    display: none;
  }

  .fee-table tbody tr {
    margin: 0 0 16px;
    background: #ffffff;
    border: 1px solid rgba(30,90,168,0.18);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 14px rgba(20,42,70,0.05);
  }

  .fee-table tbody tr:last-child {
    margin-bottom: 0;
  }

  .fee-table tbody th {
    width: 100%;
    padding: 15px 16px 13px;
    background: #F2F7FD;
    color: var(--header-a-blue,#1E5AA8);
    border: none;
    border-bottom: 1px solid rgba(30,90,168,0.16);
    font-size: 16px;
    line-height: 1.6;
    font-weight: 700;
    text-align: left;
    letter-spacing: 0.03em;
  }

  .fee-table tbody td {
    position: relative;
    width: 100%;
    padding: 12px 16px 12px 44%;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    border: none;
    border-bottom: 1px solid rgba(30,90,168,0.14);
    background: #ffffff;
    color: #222222;
    font-size: 16px;
    line-height: 1.6;
    font-weight: 600;
    text-align: right;
  }

  .fee-table tbody td:last-child {
    border-bottom: none;
  }

  .fee-table tbody td::before {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 38%;
    color: var(--header-a-blue,#1E5AA8);
    font-size: 14px;
    line-height: 1.5;
    font-weight: 700;
    text-align: left;
  }

  .fee-table:not(.fee-table--simple) tbody td:nth-of-type(1)::before {
    content: "新規申請";
  }

  .fee-table:not(.fee-table--simple) tbody td:nth-of-type(2)::before {
    content: "更新申請";
  }

  .fee-table:not(.fee-table--simple) tbody td:nth-of-type(3)::before {
    content: "業種追加";
  }

  .fee-table--simple tbody td:nth-of-type(1)::before {
    content: "料金";
  }

  .fee-block__note {
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.8;
  }

  .fee-estimate {
    margin-top: 42px;
    padding: 24px 20px;
    display: grid;
    grid-template-columns: 52px 1fr;
    align-items: start;
    gap: 14px 14px;
    text-align: left;
  }

  .fee-estimate__icon {
    grid-column: 1;
    grid-row: 1;
    width: 52px;
    height: 52px;
    flex-basis: 52px;
    align-self: start;
    margin-top: 2px;
  }

  .fee-estimate__icon img {
    width: 52px;
    height: 52px;
  }

  .fee-estimate__body {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
  }

  .fee-estimate__title {
    min-height: 52px;
    margin: 0 0 8px;
    display: flex;
    align-items: center;
    font-size: 22px;
    line-height: 1.5;
  }

  .fee-estimate__text {
    margin: 0;
    font-size: 16px;
    line-height: 1.8;
  }

  .fee-estimate__button-wrap {
    grid-column: 1 / -1;
    padding-left: 0;
    justify-content: stretch;
  }

  .fee-estimate__button {
    width: 100%;
    min-width: 0;
    min-height: 52px;
    padding: 0 20px;
    font-size: 16px;
  }
}

@media (max-width:420px) {
  .fee-hero__inner {
    min-height: 190px;
    padding: 38px 16px;
  }

  .fee-hero__title {
    font-size: 28px;
  }

  .fee-section__inner {
    padding: 0 16px;
  }

  .fee-intro__title {
    font-size: 22px;
  }

  .fee-block__title {
    font-size: 20px;
  }

  .fee-table tbody th {
    padding: 14px 14px 12px;
    font-size: 16px;
  }

  .fee-table tbody td {
    padding: 11px 14px 11px 43%;
    font-size: 16px;
  }

  .fee-table tbody td::before {
    left: 14px;
    width: 37%;
    font-size: 14px;
  }

  .fee-estimate {
    padding: 22px 18px;
    grid-template-columns: 50px 1fr;
    gap: 14px 12px;
  }

  .fee-estimate__icon {
    width: 50px;
    height: 50px;
    flex-basis: 50px;
  }

  .fee-estimate__icon img {
    width: 50px;
    height: 50px;
  }

  .fee-estimate__title {
    min-height: 50px;
    font-size: 21px;
  }
}

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

/* 事務所案内ページの基本設定 */

.office-page,
.office-page *,
.office-page *::before,
.office-page *::after {
  box-sizing: border-box;
}

.office-page {
  width: 100%;
  background: #ffffff;
  color: #333333;
  font-family: "Noto Sans JP","Yu Gothic","メイリオ",sans-serif;
}

.office-section {
  width: 100%;
  padding: 78px 0;
}

.office-inner {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.office-small-label {
  margin: 0 0 10px;
  color: var(--header-a-blue,#1E5AA8);
  font-size: 14px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.office-heading {
  max-width: 820px;
  margin: 0 auto 42px;
  text-align: center;
}

.office-heading__en {
  margin: 0 0 8px;
  color: var(--header-a-blue,#1E5AA8);
  font-size: 14px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.office-heading__ja {
  margin: 0;
  color: #1f2937;
  font-family: "Noto Serif JP","Yu Mincho","Hiragino Mincho ProN","MS PMincho",serif;
  font-size: 30px;
  line-height: 1.55;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.office-heading__line {
  display: block;
  width: 58px;
  height: 2px;
  margin: 18px auto 0;
  background: linear-gradient(
    90deg,
    rgba(30,90,168,0) 0%,
    var(--header-a-blue,#1E5AA8) 18%,
    var(--header-a-blue,#1E5AA8) 82%,
    rgba(30,90,168,0) 100%
  );
  border-radius: 999px;
}

.office-heading__lead {
  max-width: 680px;
  margin: 20px auto 0;
  color: #4b5563;
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.04em;
  text-align: left;
}

.office-intro-section {
  padding-top: 56px;
  background: #ffffff;
}

.office-intro-layout {
  display: grid;
  grid-template-columns: minmax(0, 47%) minmax(0, 1fr);
  gap: 46px;
  align-items: center;
  padding: 36px;
  background: linear-gradient(135deg,#ffffff 0%,#ffffff 58%,#F4F8FD 100%);
  border: 1px solid rgba(30,90,168,0.14);
  box-shadow: 0 14px 34px rgba(20,42,70,0.08);
}

.office-intro-photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #F4F8FD;
  aspect-ratio: 4 / 3;
}

.office-intro-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0) 0%,
    rgba(10,35,70,0.10) 100%
  );
  pointer-events: none;
}

.office-intro-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.office-intro-body {
  min-width: 0;
}

.office-intro-title {
  margin: 0 0 20px;
  color: #1f2937;
  font-family: "Noto Serif JP","Yu Mincho","Hiragino Mincho ProN","MS PMincho",serif;
  font-size: 30px;
  line-height: 1.65;
  font-weight: 700;
  letter-spacing: 0.07em;
}

.office-intro-text {
  margin: 0 0 16px;
  color: #333333;
  font-size: 16px;
  line-height: 2;
  letter-spacing: 0.04em;
}

.office-intro-points {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.office-intro-points li {
  position: relative;
  margin: 0;
  padding: 12px 16px 12px 36px;
  color: #333333;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.04em;
  background: #ffffff;
  border: 1px solid rgba(30,90,168,0.14);
}

.office-intro-points li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--header-a-blue,#1E5AA8);
  transform: translateY(-50%);
}

.office-overview-section {
  background: #F8FBFF;
}

.office-overview-box {
  width: 100%;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(30,90,168,0.16);
  box-shadow: 0 12px 28px rgba(20,42,70,0.07);
}

.office-overview-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.office-overview-table th,
.office-overview-table td {
  padding: 20px 24px;
  border-bottom: 1px solid rgba(30,90,168,0.14);
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.04em;
  vertical-align: top;
}

.office-overview-table tr:last-child th,
.office-overview-table tr:last-child td {
  border-bottom: none;
}

.office-overview-table th {
  width: 220px;
  background: #F4F8FD;
  color: var(--header-a-blue,#1E5AA8);
  font-weight: 700;
  text-align: left;
}

.office-overview-table td {
  color: #333333;
  background: #ffffff;
}

.office-overview-table a {
  color: var(--header-a-blue,#1E5AA8);
  text-decoration: none;
  font-weight: 700;
}

.office-overview-table a:hover {
  text-decoration: underline;
}

.office-consult-section {
  background: #ffffff;
}

.office-consult-list {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
}

.office-consult-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100%;
  padding: 34px 26px 30px;
  background: #ffffff;
  border: 1px solid rgba(30,90,168,0.14);
  box-shadow: 0 10px 24px rgba(20,42,70,0.07);
}

.office-consult-card__icon {
  width: 74px;
  height: 74px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: linear-gradient(180deg,#F4F8FD,#ffffff);
  border: 1px solid rgba(30,90,168,0.18);
  color: var(--header-a-blue,#1E5AA8);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(30,90,168,0.08);
}

.office-consult-card__icon svg {
  display: block;
  width: 42px;
  height: 42px;
  fill: currentColor;
}

.office-consult-card__title {
  margin: 0 0 16px;
  padding: 0;
  color: var(--header-a-blue,#1E5AA8);
  font-family: "Noto Serif JP","Yu Mincho","Hiragino Mincho ProN","MS PMincho",serif;
  font-size: 22px;
  line-height: 1.55;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: center;
}

.office-consult-card__text {
  width: 100%;
  margin: 0;
  color: #333333;
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.04em;
  text-align: left;
}

.office-access-section {
  background: #F8FBFF;
}

.office-access-layout {
  display: grid;
  grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
  gap: 34px;
  align-items: stretch;
}

.office-access-info {
  padding: 32px 30px;
  background: #ffffff;
  border: 1px solid rgba(30,90,168,0.16);
  box-shadow: 0 10px 24px rgba(20,42,70,0.07);
}

.office-access-info__title {
  margin: 0 0 14px;
  color: var(--header-a-blue,#1E5AA8);
  font-family: "Noto Serif JP","Yu Mincho","Hiragino Mincho ProN","MS PMincho",serif;
  font-size: 24px;
  line-height: 1.55;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.office-access-info__address {
  margin: 0 0 22px;
  color: #333333;
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.04em;
}

.office-access-list {
  margin: 0;
}

.office-access-list div {
  display: grid;
  grid-template-columns: 94px minmax(0,1fr);
  gap: 12px;
  padding: 13px 0;
  border-top: 1px solid rgba(30,90,168,0.12);
}

.office-access-list div:last-child {
  border-bottom: 1px solid rgba(30,90,168,0.12);
}

.office-access-list dt {
  color: var(--header-a-blue,#1E5AA8);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.7;
}

.office-access-list dd {
  margin: 0;
  color: #333333;
  font-size: 16px;
  line-height: 1.7;
}

.office-access-note {
  margin: 18px 0 0;
  padding: 14px 16px;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: 0.03em;
  background: #F4F8FD;
  border-left: 4px solid var(--header-a-blue,#1E5AA8);
}

.office-access-map {
  min-height: 420px;
  overflow: hidden;
  background: #F4F8FD;
  border: 1px solid rgba(30,90,168,0.16);
  box-shadow: 0 10px 24px rgba(20,42,70,0.07);
}

.office-access-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
}

.office-profile-section {
  background: #ffffff;
}

.office-profile-link-card {
  display: grid;
  grid-template-columns: 300px minmax(0,1fr);
  gap: 34px;
  align-items: center;
  padding: 30px;
  background: linear-gradient(135deg,#ffffff 0%,#F8FBFF 100%);
  border: 1px solid rgba(30,90,168,0.16);
  box-shadow: 0 12px 28px rgba(20,42,70,0.07);
}

.office-profile-link-card__image {
  margin: 0;
  overflow: hidden;
  background: #F4F8FD;
  aspect-ratio: 4 / 3;
}

.office-profile-link-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.office-profile-link-card__body {
  min-width: 0;
}

.office-profile-link-card__title {
  margin: 0 0 14px;
  color: #1f2937;
  font-family: "Noto Serif JP","Yu Mincho","Hiragino Mincho ProN","MS PMincho",serif;
  font-size: 28px;
  line-height: 1.55;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.office-profile-link-card__text {
  margin: 0 0 24px;
  color: #333333;
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.04em;
}

.office-profile-link-card__button {
  min-width: 260px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 6px;
  background: linear-gradient(180deg,var(--header-a-blue,#1E5AA8),var(--header-a-blue-dark,#174A8E));
  color: #ffffff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  box-shadow: 0 6px 14px rgba(30,90,168,0.22);
  transition: opacity 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.office-profile-link-card__button span {
  font-size: 24px;
  line-height: 1;
  margin-top: -2px;
}

.office-profile-link-card__button:hover {
  opacity: 0.94;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(30,90,168,0.28);
}

@media (max-width:1024px) {
  .office-section {
    padding: 66px 0;
  }

  .office-intro-layout {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 30px;
  }

  .office-intro-photo {
    max-width: 620px;
    width: 100%;
    margin: 0 auto;
  }

  .office-intro-title {
    font-size: 27px;
  }

  .office-consult-list {
    grid-template-columns: 1fr;
  }

  .office-consult-card {
    min-height: auto;
  }

  .office-access-layout {
    grid-template-columns: 1fr;
  }

  .office-access-map,
  .office-access-map iframe {
    min-height: 360px;
  }

  .office-profile-link-card {
    grid-template-columns: 260px minmax(0,1fr);
  }
}

@media (max-width:767px) {
  .office-section {
    padding: 52px 0;
  }

  .office-inner {
    padding: 0 18px;
  }

  .office-heading {
    margin-bottom: 32px;
  }

  .office-heading__en,
  .office-small-label {
    letter-spacing: 0.16em;
  }

  .office-heading__ja {
    font-size: 23px;
    line-height: 1.6;
    letter-spacing: 0.06em;
  }

  .office-heading__line {
    width: 48px;
    margin-top: 14px;
  }

  .office-heading__lead {
    margin-top: 16px;
    line-height: 1.85;
  }

  .office-intro-section {
    padding-top: 42px;
  }

  .office-intro-layout {
    gap: 24px;
    padding: 20px;
  }

  .office-intro-photo {
    aspect-ratio: 4 / 3;
  }

  .office-intro-title {
    margin-bottom: 16px;
    font-size: 23px;
    line-height: 1.65;
    letter-spacing: 0.05em;
  }

  .office-intro-text {
    line-height: 1.9;
  }

  .office-intro-points {
    margin-top: 20px;
    gap: 9px;
  }

  .office-intro-points li {
    padding: 11px 14px 11px 34px;
    line-height: 1.7;
  }

  .office-intro-points li::before {
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
  }

  .office-overview-box {
    overflow: visible;
    border: none;
    box-shadow: none;
    background: transparent;
  }

  .office-overview-table,
  .office-overview-table tbody,
  .office-overview-table tr,
  .office-overview-table td {
    display: block;
    width: 100%;
  }

  .office-overview-table th {
    display: block;
  }

  .office-overview-table {
    border-collapse: separate;
    border-spacing: 0 14px;
    table-layout: auto;
  }

  .office-overview-table tr {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(30,90,168,0.16);
    box-shadow: 0 8px 18px rgba(20,42,70,0.06);
  }

  .office-overview-table th {
    width: 100%;
    padding: 13px 16px;
    border-bottom: 1px solid rgba(30,90,168,0.12);
    line-height: 1.6;
  }

  .office-overview-table td {
    padding: 15px 16px 17px;
    border-bottom: none;
    line-height: 1.8;
  }

  .office-consult-list {
    gap: 18px;
  }

  .office-consult-card {
    padding: 26px 22px;
  }

  .office-consult-card__icon {
    width: 68px;
    height: 68px;
    margin-bottom: 16px;
  }

  .office-consult-card__icon svg {
    width: 38px;
    height: 38px;
  }

  .office-consult-card__title {
    margin-bottom: 14px;
    font-size: 20px;
    line-height: 1.55;
    text-align: center;
  }

  .office-consult-card__text {
    line-height: 1.85;
  }

  .office-access-info {
    padding: 24px 20px;
  }

  .office-access-info__title {
    font-size: 22px;
  }

  .office-access-list div {
    grid-template-columns: 82px minmax(0,1fr);
    gap: 10px;
  }

  .office-access-map,
  .office-access-map iframe {
    min-height: 300px;
  }

  .office-profile-link-card {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 22px;
  }

  .office-profile-link-card__image {
    max-width: 320px;
    width: 100%;
    margin: 0 auto;
  }

  .office-profile-link-card__title {
    font-size: 23px;
  }

  .office-profile-link-card__text {
    line-height: 1.85;
  }

  .office-profile-link-card__button {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width:420px) {
  .office-inner {
    padding: 0 16px;
  }

  .office-heading__ja,
  .office-intro-title {
    font-size: 21px;
  }

  .office-intro-layout,
  .office-consult-card,
  .office-access-info,
  .office-profile-link-card {
    padding: 20px 18px;
  }

  .office-consult-card__title {
    font-size: 19px;
  }

  .office-consult-card__icon {
    width: 64px;
    height: 64px;
  }

  .office-consult-card__icon svg {
    width: 36px;
    height: 36px;
  }

  .office-access-list div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .office-access-map,
  .office-access-map iframe {
    min-height: 260px;
  }
}

@media (prefers-reduced-motion:reduce) {
  .office-profile-link-card__button {
    transition: none;
  }
}

/* ご相談の流れページの基本設定 */

.flow-page,
.flow-page *,
.flow-page *::before,
.flow-page *::after {
  box-sizing: border-box;
}

.flow-page {
  width: 100%;
  background: #ffffff;
  color: #333333;
  font-family: "Noto Sans JP","Yu Gothic","メイリオ",sans-serif;
}

.flow-section {
  width: 100%;
  padding: 78px 0;
}

.flow-inner {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.flow-small-label,
.flow-heading__en {
  margin: 0 0 8px;
  line-height: 1.4;
  text-transform: uppercase;
}

.flow-heading {
  max-width: 820px;
  margin: 0 auto 44px;
  text-align: center;
}

.flow-heading__ja {
  margin: 0;
  font-family: "Noto Serif JP","Yu Mincho","Hiragino Mincho ProN","MS PMincho",serif;
}

.flow-heading__line {
  display: block;
  margin: 16px auto 0;
  background: linear-gradient(
    90deg,
    rgba(30,90,168,0) 0%,
    var(--header-a-blue,#1E5AA8) 18%,
    var(--header-a-blue,#1E5AA8) 82%,
    rgba(30,90,168,0) 100%
  );
  border-radius: 999px;
}

.flow-heading__lead {
  max-width: 680px;
  margin: 20px auto 0;
  text-align: left;
}

.flow-intro-section {
  padding-top: 56px;
  background: #ffffff;
}

.flow-intro-box {
  display: grid;
  grid-template-columns: minmax(0,42%) minmax(0,1fr);
  gap: 40px;
  align-items: center;
  padding: 38px 40px;
  background: linear-gradient(135deg,#ffffff 0%,#ffffff 58%,#F4F8FD 100%);
  border: 1px solid rgba(30,90,168,0.14);
  box-shadow: 0 14px 34px rgba(20,42,70,0.08);
}

.flow-intro-box__image {
  position: relative;
  width: 100%;
  margin: 0;
  overflow: hidden;
  background: #F4F8FD;
  border: 1px solid rgba(30,90,168,0.12);
  aspect-ratio: 4 / 3;
}

.flow-intro-box__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0) 0%,
    rgba(10,35,70,0.10) 100%
  );
  pointer-events: none;
}

.flow-intro-box__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.flow-intro-box__body {
  min-width: 0;
  max-width: none;
  margin: 0;
}

.flow-intro-box__title {
  margin: 0 0 20px;
  font-family: "Noto Serif JP","Yu Mincho","Hiragino Mincho ProN","MS PMincho",serif;
}

.flow-intro-box__text {
  margin: 0 0 16px;
  color: #333333;
  font-size: 16px;
  line-height: 2;
  letter-spacing: 0.04em;
}

.flow-intro-box__text:last-child {
  margin-bottom: 0;
}

.flow-timeline-section {
  background: #F8FBFF;
}

.flow-timeline {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  display: grid;
  gap: 28px;
}

.flow-timeline::before {
  content: "";
  position: absolute;
  top: 38px;
  bottom: 38px;
  left: 48px;
  width: 2px;
  background: rgba(30,90,168,0.18);
}

.flow-step-card {
  position: relative;
  display: grid;
  grid-template-columns: 96px minmax(0,1fr);
  gap: 28px;
  align-items: start;
}

.flow-step-card__label {
  position: relative;
  z-index: 1;
  width: 96px;
  height: 96px;
  margin: 0;
  border-radius: 50%;
  background: linear-gradient(
    180deg,
    var(--header-a-blue,#1E5AA8),
    var(--header-a-blue-dark,#174A8E)
  );
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 4px solid #F8FBFF;
  box-shadow: 0 8px 18px rgba(30,90,168,0.22);
}

.flow-step-card__step {
  display: block;
  margin: 0 0 4px;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.flow-step-card__number {
  display: block;
  font-family: "Noto Serif JP","Yu Mincho","Hiragino Mincho ProN","MS PMincho",serif;
  font-size: 30px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.flow-step-card__body {
  position: relative;
  padding: 28px 30px;
  background: #ffffff;
  border: 1px solid rgba(30,90,168,0.14);
  box-shadow: 0 10px 24px rgba(20,42,70,0.07);
}

.flow-step-card__body::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 36px;
  width: 18px;
  height: 18px;
  background: #ffffff;
  border-left: 1px solid rgba(30,90,168,0.14);
  border-bottom: 1px solid rgba(30,90,168,0.14);
  transform: rotate(45deg);
}

.flow-step-card__title {
  margin: 0 0 12px;
  color: #26364a;
  font-family: "Noto Serif JP","Yu Mincho","Hiragino Mincho ProN","MS PMincho",serif;
  font-size: 23px;
  line-height: 1.55;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.flow-step-card__text {
  margin: 0;
  color: #333333;
  font-size: 16px;
  line-height: 1.95;
  letter-spacing: 0.04em;
}

.flow-prepare-section {
  background: #ffffff;
}

.flow-prepare-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
}

.flow-prepare-card {
  display: flex;
  flex-direction: column;
  padding: 30px 26px;
  background: #ffffff;
  border: 1px solid rgba(30,90,168,0.14);
  box-shadow: 0 10px 24px rgba(20,42,70,0.07);
}

.flow-prepare-card__title {
  position: relative;
  margin: 0 0 18px;
  padding-left: 18px;
  color: var(--header-a-blue,#1E5AA8);
  font-family: "Noto Serif JP","Yu Mincho","Hiragino Mincho ProN","MS PMincho",serif;
  font-size: 22px;
  line-height: 1.55;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.flow-prepare-card__title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.28em;
  width: 4px;
  height: 1.12em;
  background: var(--header-a-blue,#1E5AA8);
  border-radius: 999px;
}

.flow-prepare-card__image {
  width: 100%;
  margin: 0 0 20px;
  overflow: hidden;
  background: #F4F8FD;
  border: 1px solid rgba(30,90,168,0.12);
  aspect-ratio: 4 / 3;
}

.flow-prepare-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.35s ease;
}

.flow-prepare-card:hover .flow-prepare-card__image img {
  transform: scale(1.04);
}

.flow-prepare-card__text {
  margin: 0;
  color: #333333;
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.04em;
}

.flow-prepare-note {
  margin: 24px 0 0;
  padding: 16px 18px;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: 0.03em;
  background: #F4F8FD;
  border-left: 4px solid var(--header-a-blue,#1E5AA8);
}

.flow-case-section {
  background: #F8FBFF;
}

.flow-case-box {
  padding: 38px 40px;
  background: #ffffff;
  border: 1px solid rgba(30,90,168,0.16);
  box-shadow: 0 12px 28px rgba(20,42,70,0.07);
}

.flow-case-box__body {
  max-width: 850px;
  margin: 0 auto;
}

.flow-case-box__title {
  margin: 0 0 18px;
  font-family: "Noto Serif JP","Yu Mincho","Hiragino Mincho ProN","MS PMincho",serif;
}

.flow-case-box__text {
  margin: 0 0 16px;
  color: #333333;
  font-size: 16px;
  line-height: 1.95;
  letter-spacing: 0.04em;
}

.flow-case-box__text:last-child {
  margin-bottom: 0;
}

@media (max-width:1024px) {
  .flow-section {
    padding: 66px 0;
  }

  .flow-intro-box {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 32px 30px;
  }

  .flow-intro-box__image {
    max-width: 620px;
    width: 100%;
    margin: 0 auto;
  }

  .flow-prepare-grid {
    grid-template-columns: 1fr;
  }

  .flow-prepare-card {
    display: grid;
    grid-template-columns: minmax(0,220px) minmax(0,1fr);
    grid-template-areas: "image title"
      "image text";
    gap: 0 24px;
    align-items: start;
  }

  .flow-prepare-card__title {
    grid-area: title;
  }

  .flow-prepare-card__image {
    grid-area: image;
    margin: 0;
  }

  .flow-prepare-card__text {
    grid-area: text;
  }
}

@media (max-width:767px) {
  .flow-section {
    padding: 52px 0;
  }

  .flow-inner {
    padding: 0 18px;
  }

  .flow-heading {
    margin-bottom: 32px;
  }

  .flow-intro-section {
    padding-top: 42px;
  }

  .flow-intro-box {
    gap: 24px;
    padding: 22px 20px;
  }

  .flow-intro-box__image {
    aspect-ratio: 4 / 3;
  }

  .flow-intro-box__title {
    margin-bottom: 16px;
  }

  .flow-intro-box__text {
    font-size: 16px;
    line-height: 1.9;
  }

  .flow-timeline {
    gap: 22px;
  }

  .flow-timeline::before {
    display: none;
  }

  .flow-step-card {
    position: relative;
    display: block;
  }

  .flow-step-card__label {
    position: absolute;
    left: 22px;
    top: 22px;
    z-index: 2;
    width: 76px;
    height: 76px;
    margin: 0;
    border-radius: 50%;
    background: linear-gradient(
      180deg,
      var(--header-a-blue,#1E5AA8),
      var(--header-a-blue-dark,#174A8E)
    );
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 4px solid #ffffff;
    box-shadow: 0 8px 18px rgba(30,90,168,0.22);
  }

  .flow-step-card__step {
    margin: 0 0 3px;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 0.12em;
  }

  .flow-step-card__number {
    font-size: 27px;
    line-height: 1;
    letter-spacing: 0.03em;
  }

  .flow-step-card__body {
    position: relative;
    padding: 22px 22px 24px;
    background: #ffffff;
    border: 1px solid rgba(30,90,168,0.14);
    box-shadow: 0 10px 24px rgba(20,42,70,0.07);
  }

  .flow-step-card__body::before {
    display: none;
  }

  .flow-step-card__title {
    min-height: 76px;
    margin: 0 0 18px;
    padding-left: 98px;
    display: flex;
    align-items: center;
    color: #26364a;
    font-size: 21px;
    line-height: 1.55;
    font-weight: 700;
    letter-spacing: 0.05em;
  }

  .flow-step-card__text {
    margin: 0;
    font-size: 16px;
    line-height: 1.9;
  }

  .flow-step-card:not(:last-child)::after {
    content: "";
    display: block;
    width: 12px;
    height: 12px;
    margin: 14px auto 0;
    border-right: 2px solid var(--header-a-blue,#1E5AA8);
    border-bottom: 2px solid var(--header-a-blue,#1E5AA8);
    transform: rotate(45deg);
  }

  .flow-prepare-grid {
    gap: 18px;
  }

  .flow-prepare-card {
    display: flex;
    flex-direction: column;
    padding: 24px 20px;
  }

  .flow-prepare-card__title {
    margin: 0 0 16px;
    font-size: 21px;
  }

  .flow-prepare-card__image {
    margin: 0 0 18px;
    aspect-ratio: 4 / 3;
  }

  .flow-prepare-card__text {
    font-size: 16px;
    line-height: 1.9;
  }

  .flow-prepare-note {
    font-size: 14px;
  }

  .flow-case-box {
    padding: 26px 22px;
  }

  .flow-case-box__text {
    font-size: 16px;
    line-height: 1.9;
  }
}

@media (max-width:420px) {
  .flow-inner {
    padding: 0 16px;
  }

  .flow-intro-box,
  .flow-step-card__body,
  .flow-prepare-card,
  .flow-case-box {
    padding: 20px 18px;
  }

  .flow-step-card__label {
    left: 18px;
    top: 20px;
    width: 70px;
    height: 70px;
  }

  .flow-step-card__step {
    font-size: 14px;
  }

  .flow-step-card__number {
    font-size: 25px;
  }

  .flow-step-card__title {
    min-height: 70px;
    padding-left: 88px;
    font-size: 19px;
    line-height: 1.55;
  }

  .flow-prepare-card__title {
    font-size: 19px;
  }
}

@media (prefers-reduced-motion:reduce) {
  .flow-prepare-card__image img {
    transition: none;
  }

  .flow-prepare-card:hover .flow-prepare-card__image img {
    transform: none;
  }
}

.rep-profile-page,
.rep-profile-page *,
.rep-profile-page *::before,
.rep-profile-page *::after {
  box-sizing: border-box;
}

.rep-profile-page {
  width: 100%;
  background: #ffffff;
  color: #333333;
  font-family: "Noto Sans JP","Yu Gothic","メイリオ",sans-serif;
}

.rep-profile-section {
  width: 100%;
  padding: 78px 0;
}

.rep-profile-inner {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.rep-profile-heading {
  width: 100%;
  max-width: 820px;
  margin: 0 auto 44px;
  text-align: center;
}

.rep-profile-heading__en {
  margin: 0 0 8px;
  color: var(--header-a-blue,#1E5AA8);
  font-family: "Noto Sans JP","Yu Gothic","メイリオ",sans-serif;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.rep-profile-heading__ja {
  margin: 0;
  color: #26364a;
  font-family: "Noto Serif JP",
    "Yu Mincho",
    "Hiragino Mincho ProN",
    "MS PMincho",
    serif;
  font-size: 28px;
  line-height: 1.6;
  font-weight: 600;
  letter-spacing: 0.045em;
}

.rep-profile-heading__line {
  display: block;
  width: 52px;
  height: 2px;
  margin: 16px auto 0;
  background: linear-gradient(
      90deg,
      rgba(30,90,168,0) 0%,
      var(--header-a-blue,#1E5AA8) 18%,
      var(--header-a-blue,#1E5AA8) 82%,
      rgba(30,90,168,0) 100%
    );
  border-radius: 999px;
}

.rep-profile-heading__lead {
  width: 100%;
  max-width: 680px;
  margin: 20px auto 0;
  color: #4b5563;
  font-family: "Noto Sans JP","Yu Gothic","メイリオ",sans-serif;
  font-size: 16px;
  line-height: 1.9;
  font-weight: 400;
  letter-spacing: 0.03em;
  text-align: center;
}

@media (max-width:1024px) {
  .rep-profile-heading {
    margin-bottom: 40px;
  }

  .rep-profile-heading__ja {
    font-size: 26px;
  }
}

@media (max-width:767px) {
  .rep-profile-heading__en {
    margin-bottom: 7px;
  }
}

@media (max-width:420px) {
  .rep-profile-heading__lead {
    font-size: 16px;
  }
}

.rep-profile-main-section {
  width: 100%;
  padding: 56px 0 78px;
  background: #ffffff;
  box-sizing: border-box;
}

.rep-profile-main-section .rep-profile-inner {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.rep-profile-main {
  display: grid;
  grid-template-columns: minmax(280px,34%) minmax(0,1fr);
  gap: 38px;
  align-items: center;
  width: 100%;
  padding: 38px 40px;
  box-sizing: border-box;
  background: linear-gradient(
      135deg,
      #ffffff 0%,
      #ffffff 58%,
      #F4F8FD 100%
    );
  border: 1px solid rgba(30,90,168,0.14);
  box-shadow: 0 14px 34px rgba(20,42,70,0.08);
}

.rep-profile-main__image {
  position: relative;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  overflow: hidden;
  background: #F4F8FD;
  border: 1px solid rgba(30,90,168,0.12);
  aspect-ratio: auto;
}

.rep-profile-main__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      180deg,
      rgba(255,255,255,0) 0%,
      rgba(10,35,70,0.08) 100%
    );
  pointer-events: none;
}

.rep-profile-main__image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center top;
}

.rep-profile-main__body {
  width: 100%;
  min-width: 0;
}

.rep-profile-small-label {
  margin: 0 0 8px;
  color: var(--header-a-blue,#1E5AA8);
  font-family: "Noto Sans JP","Yu Gothic","メイリオ",sans-serif;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.rep-profile-main__title {
  margin: 0 0 8px;
  color: #26364a;
  font-family: "Noto Serif JP",
    "Yu Mincho",
    "Hiragino Mincho ProN",
    "MS PMincho",
    serif;
  font-size: 32px;
  line-height: 1.55;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.rep-profile-main__kana {
  margin: 0 0 22px;
  color: #4b5563;
  font-family: "Noto Sans JP","Yu Gothic","メイリオ",sans-serif;
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 0.12em;
}

.rep-profile-main__position {
  margin: 0 0 18px;
  color: var(--header-a-blue,#1E5AA8);
  font-family: "Noto Sans JP","Yu Gothic","メイリオ",sans-serif;
  font-size: 14px;
  line-height: 1.7;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.rep-profile-main__lead {
  max-width: 680px;
  margin: 0 0 24px;
  color: #333333;
  font-family: "Noto Sans JP","Yu Gothic","メイリオ",sans-serif;
  font-size: 16px;
  line-height: 1.95;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.rep-profile-main__info {
  width: 100%;
  margin: 0;
  display: grid;
  gap: 10px;
}

.rep-profile-main__info div {
  display: grid;
  grid-template-columns: 92px minmax(0,1fr);
  gap: 12px;
  padding: 12px 14px;
  background: #ffffff;
  border: 1px solid rgba(30,90,168,0.12);
}

.rep-profile-main__info dt {
  color: var(--header-a-blue,#1E5AA8);
  font-family: "Noto Sans JP","Yu Gothic","メイリオ",sans-serif;
  font-size: 16px;
  line-height: 1.7;
  font-weight: 700;
}

.rep-profile-main__info dd {
  margin: 0;
  color: #333333;
  font-family: "Noto Sans JP","Yu Gothic","メイリオ",sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

@media (max-width:1024px) {
  .rep-profile-main-section {
    padding: 50px 0 66px;
  }

  .rep-profile-main {
    max-width: 760px;
    margin: 0 auto;
  }

  .rep-profile-main__image {
    width: 100%;
  }

  .rep-profile-main__lead {
    max-width: none;
  }
}

@media (max-width:767px) {
  .rep-profile-main-section {
    padding: 42px 0 52px;
  }

  .rep-profile-main-section .rep-profile-inner {
    padding: 0 18px;
  }

  .rep-profile-main {
    grid-template-columns: 1fr;
  }

  .rep-profile-main__image {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    aspect-ratio: auto;
  }

  .rep-profile-main__image img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center top;
  }

  .rep-profile-main__position {
    margin-bottom: 16px;
    font-size: 14px;
  }

  .rep-profile-main__lead {
    max-width: none;
  }
}

@media (max-width:420px) {
  .rep-profile-main-section .rep-profile-inner {
    padding: 0 16px;
  }

  .rep-profile-main__image {
    max-width: 100%;
  }
}

.rep-profile-message-section {
  background: #F8FBFF;
}

.rep-profile-message-box {
  max-width: 920px;
  margin: 0 auto;
  padding: 38px 42px;
  background: #ffffff;
  border: 1px solid rgba(30,90,168,0.16);
  box-shadow: 0 12px 28px rgba(20,42,70,0.07);
}

.rep-profile-message-box__text {
  margin: 0 0 18px;
  color: #333333;
  font-size: 16px;
  line-height: 2;
  letter-spacing: 0.04em;
}

.rep-profile-message-box__signature {
  margin: 30px 0 0;
  color: #26364a;
  font-family: "Noto Serif JP","Yu Mincho","Hiragino Mincho ProN","MS PMincho",serif;
  font-size: 18px;
  line-height: 1.9;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-align: right;
}

.rep-profile-career-section {
  background: #ffffff;
}

.rep-profile-career-layout {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: 28px;
}

.rep-profile-career-box {
  padding: 32px 30px;
  background: #ffffff;
  border: 1px solid rgba(30,90,168,0.14);
  box-shadow: 0 10px 24px rgba(20,42,70,0.07);
}

.rep-profile-career-box__title {
  position: relative;
  margin: 0 0 20px;
  padding-left: 18px;
  color: var(--header-a-blue,#1E5AA8);
  font-family: "Noto Serif JP","Yu Mincho","Hiragino Mincho ProN","MS PMincho",serif;
  font-size: 22px;
  line-height: 1.55;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.rep-profile-career-box__title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.28em;
  width: 4px;
  height: 1.12em;
  background: var(--header-a-blue,#1E5AA8);
  border-radius: 999px;
}

.rep-profile-career-table {
  width: 100%;
  border-collapse: collapse;
}

.rep-profile-career-table th,
.rep-profile-career-table td {
  padding: 15px 0;
  border-bottom: 1px solid rgba(30,90,168,0.12);
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.04em;
  vertical-align: top;
}

.rep-profile-career-table tr:first-child th,
.rep-profile-career-table tr:first-child td {
  padding-top: 0;
}

.rep-profile-career-table tr:last-child th,
.rep-profile-career-table tr:last-child td {
  padding-bottom: 0;
  border-bottom: none;
}

.rep-profile-career-table th {
  width: 110px;
  color: var(--header-a-blue,#1E5AA8);
  font-weight: 700;
  text-align: left;
}

.rep-profile-career-table td {
  color: #333333;
}

.rep-profile-service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.rep-profile-service-list li {
  position: relative;
  padding: 12px 14px 12px 34px;
  color: #333333;
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.04em;
  background: #F8FBFF;
  border: 1px solid rgba(30,90,168,0.12);
}

.rep-profile-service-list li::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--header-a-blue,#1E5AA8);
  transform: translateY(-50%);
}

.rep-profile-consult-section {
  background: #F8FBFF;
}

.rep-profile-consult-box {
  max-width: 920px;
  margin: 0 auto;
  padding: 38px 42px;
  background: #ffffff;
  border: 1px solid rgba(30,90,168,0.16);
  box-shadow: 0 12px 28px rgba(20,42,70,0.07);
}

.rep-profile-consult-box__title {
  margin: 0 0 20px;
  color: #26364a;
  font-family: "Noto Serif JP","Yu Mincho","Hiragino Mincho ProN","MS PMincho",serif;
  font-size: 28px;
  line-height: 1.65;
  font-weight: 600;
  letter-spacing: 0.045em;
}

.rep-profile-consult-box__text {
  margin: 0 0 16px;
  color: #333333;
  font-size: 16px;
  line-height: 1.95;
  letter-spacing: 0.04em;
}

.rep-profile-consult-box__text:last-child {
  margin-bottom: 0;
}

@media (max-width:1024px) {
  .rep-profile-section {
    padding: 66px 0;
  }

  .rep-profile-main {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 32px 30px;
  }

  .rep-profile-main__image {
    max-width: 620px;
    margin: 0 auto;
  }

  .rep-profile-main__title {
    font-size: 30px;
  }

  .rep-profile-career-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width:767px) {
  .rep-profile-section {
    padding: 52px 0;
  }

  .rep-profile-inner {
    padding: 0 18px;
  }

  .rep-profile-heading {
    margin-bottom: 32px;
  }

  .rep-profile-small-label,
  .rep-profile-heading__en {
    font-size: 14px;
    letter-spacing: 0.14em;
  }

  .rep-profile-heading__ja {
    font-size: 22px;
    line-height: 1.6;
    font-weight: 600;
    letter-spacing: 0.035em;
  }

  .rep-profile-heading__line {
    width: 46px;
    margin-top: 14px;
  }

  .rep-profile-heading__lead {
    margin-top: 18px;
    font-size: 16px;
    line-height: 1.85;
  }

  .rep-profile-main-section {
    padding-top: 42px;
  }

  .rep-profile-main {
    gap: 24px;
    padding: 22px 20px;
  }

  .rep-profile-main__title {
    font-size: 25px;
    line-height: 1.6;
    letter-spacing: 0.04em;
  }

  .rep-profile-main__kana {
    font-size: 14px;
  }

  .rep-profile-main__lead {
    font-size: 16px;
    line-height: 1.9;
  }

  .rep-profile-main__info div {
    grid-template-columns: 84px minmax(0,1fr);
    padding: 11px 12px;
  }

  .rep-profile-main__info dt,
  .rep-profile-main__info dd {
    font-size: 16px;
  }

  .rep-profile-message-box,
  .rep-profile-career-box,
  .rep-profile-consult-box {
    padding: 26px 22px;
  }

  .rep-profile-message-box__text,
  .rep-profile-career-table th,
  .rep-profile-career-table td,
  .rep-profile-service-list li,
  .rep-profile-consult-box__text {
    font-size: 16px;
  }

  .rep-profile-message-box__signature {
    font-size: 16px;
    text-align: left;
  }

  .rep-profile-career-box__title {
    font-size: 21px;
  }

  .rep-profile-consult-box__title {
    font-size: 22px;
    line-height: 1.65;
    font-weight: 600;
    letter-spacing: 0.035em;
  }
}

@media (max-width:420px) {
  .rep-profile-inner {
    padding: 0 16px;
  }

  .rep-profile-heading__ja,
  .rep-profile-consult-box__title {
    font-size: 21px;
    letter-spacing: 0.03em;
  }

  .rep-profile-main,
  .rep-profile-message-box,
  .rep-profile-career-box,
  .rep-profile-consult-box {
    padding: 20px 18px;
  }

  .rep-profile-main__title {
    font-size: 23px;
  }

  .rep-profile-main__info div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .rep-profile-career-table,
  .rep-profile-career-table tbody,
  .rep-profile-career-table tr,
  .rep-profile-career-table th,
  .rep-profile-career-table td {
    display: block;
    width: 100%;
  }

  .rep-profile-career-table tr {
    padding: 13px 0;
    border-bottom: 1px solid rgba(30,90,168,0.12);
  }

  .rep-profile-career-table tr:first-child {
    padding-top: 0;
  }

  .rep-profile-career-table tr:last-child {
    padding-bottom: 0;
    border-bottom: none;
  }

  .rep-profile-career-table th,
  .rep-profile-career-table td {
    padding: 0;
    border-bottom: none;
  }

  .rep-profile-career-table th {
    margin-bottom: 4px;
  }

  .rep-profile-career-box__title {
    font-size: 19px;
  }
}

@media (prefers-reduced-motion:reduce) {
  * {
    scroll-behavior: auto;
  }
}

.rep-profile-main__title-sub {
  display: block;
  margin: 0 0 6px;
  color: var(--header-a-blue,#1E5AA8);
  font-family: "Noto Sans JP","Yu Gothic","メイリオ",sans-serif;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.rep-profile-main__title-name {
  display: block;
  color: #26364a;
  font-size: 32px;
  line-height: 1.45;
  font-weight: 600;
  letter-spacing: 0.06em;
}

@media (max-width:767px) {
  .rep-profile-main__title-sub {
    font-size: 16px;
    margin-bottom: 5px;
  }

  .rep-profile-main__title-name {
    font-size: 25px;
    line-height: 1.5;
  }
}

@media (max-width:420px) {
  .rep-profile-main__title-sub {
    font-size: 16px;
  }

  .rep-profile-main__title-name {
    font-size: 23px;
  }
}

.service-detail-page,
.service-detail-page *,
.service-detail-page *::before,
.service-detail-page *::after {
  box-sizing: border-box;
}

.service-detail-page {
  --service-blue: #75AEDD;
  --service-blue-dark: #5A99CC;
  --service-blue-light: #EEF7FC;
  --service-blue-pale: #F7FBFE;
  --service-border: rgba(117,174,221,0.32);
  --service-text: #333333;
  --service-heading: #2f4861;
  width: 100%;
  background: #ffffff;
  color: var(--service-text);
  font-family: "Noto Sans JP","Yu Gothic","メイリオ",sans-serif;
}

.service-detail-section {
  width: 100%;
  padding: 78px 0;
  background: #ffffff;
}

.service-detail-inner {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (max-width:767px) {
  .service-detail-section {
    padding: 58px 0;
  }

  .service-detail-inner {
    padding: 0 18px;
  }
}

@media (max-width:420px) {
  .service-detail-inner {
    padding: 0 16px;
  }
}

.service-detail-small-label,
.service-detail-heading__en {
  margin: 0 0 8px;
  color: var(--service-blue);
  font-size: 14px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.service-detail-heading {
  max-width: 820px;
  margin: 0 auto 44px;
  text-align: center;
}

.service-detail-heading__ja {
  margin: 0;
  color: var(--service-heading);
  font-family: "Noto Serif JP","Yu Mincho","Hiragino Mincho ProN","MS PMincho",serif;
  font-size: 28px;
  line-height: 1.6;
  font-weight: 600;
  letter-spacing: 0.045em;
}

.service-detail-heading__line {
  display: block;
  width: 52px;
  height: 2px;
  margin: 16px auto 0;
  background: linear-gradient(
    90deg,
    rgba(117,174,221,0) 0%,
    var(--service-blue) 18%,
    var(--service-blue) 82%,
    rgba(117,174,221,0) 100%
  );
  border-radius: 999px;
}

.service-detail-heading__lead {
  max-width: 680px;
  margin: 20px auto 0;
  color: #4b5563;
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.03em;
  text-align: left;
}

@media (max-width:767px) {
  .service-detail-heading {
    margin-bottom: 34px;
  }

  .service-detail-heading__ja {
    font-size: 23px;
    line-height: 1.6;
  }

  .service-detail-heading__lead {
    font-size: 16px;
    line-height: 1.85;
  }
}

@media (max-width:420px) {
  .service-detail-heading__ja {
    font-size: 21px;
  }
}

.service-detail-icon {
  position: relative;
  display: inline-flex;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--service-border);
}

.service-detail-icon::before,
.service-detail-icon::after {
  content: "";
  position: absolute;
  box-sizing: border-box;
}

.service-detail-icon--question::before {
  content: "?";
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--service-blue);
  font-size: 23px;
  line-height: 1;
  font-weight: 700;
}

.service-detail-icon--document::before {
  left: 12px;
  top: 9px;
  width: 16px;
  height: 21px;
  border: 2px solid var(--service-blue);
  border-radius: 2px;
}

.service-detail-icon--document::after {
  left: 16px;
  top: 16px;
  width: 9px;
  height: 2px;
  background: var(--service-blue);
  box-shadow: 0 6px 0 var(--service-blue);
}

.service-detail-icon--building::before {
  left: 11px;
  top: 10px;
  width: 18px;
  height: 21px;
  border: 2px solid var(--service-blue);
}

.service-detail-icon--building::after {
  left: 15px;
  top: 15px;
  width: 3px;
  height: 3px;
  background: var(--service-blue);
  box-shadow: 7px 0 0 var(--service-blue),
    0 7px 0 var(--service-blue),
    7px 7px 0 var(--service-blue),
    0 14px 0 var(--service-blue),
    7px 14px 0 var(--service-blue);
}

.service-detail-icon--pc::before {
  left: 9px;
  top: 11px;
  width: 22px;
  height: 15px;
  border: 2px solid var(--service-blue);
  border-radius: 2px;
}

.service-detail-icon--pc::after {
  left: 15px;
  top: 29px;
  width: 10px;
  height: 2px;
  background: var(--service-blue);
  box-shadow: 0 -3px 0 var(--service-blue);
}

.service-detail-icon--person::before {
  left: 14px;
  top: 9px;
  width: 12px;
  height: 12px;
  border: 2px solid var(--service-blue);
  border-radius: 50%;
}

.service-detail-icon--person::after {
  left: 10px;
  top: 23px;
  width: 20px;
  height: 10px;
  border: 2px solid var(--service-blue);
  border-radius: 14px 14px 0 0;
  border-bottom: none;
}

.service-detail-icon--calendar::before {
  left: 9px;
  top: 12px;
  width: 22px;
  height: 20px;
  border: 2px solid var(--service-blue);
  border-radius: 3px;
}

.service-detail-icon--calendar::after {
  left: 13px;
  top: 18px;
  width: 14px;
  height: 2px;
  background: var(--service-blue);
  box-shadow: 0 6px 0 rgba(117,174,221,0.55);
}

@media (max-width:767px) {
  .service-detail-icon {
    margin-top: 0;
  }
}

.service-detail-intro-section {
  padding-top: 56px;
}

.service-detail-intro {
  display: grid;
  grid-template-columns: minmax(0,42%) minmax(0,1fr);
  gap: 40px;
  align-items: center;
  padding: 38px 40px;
  background: #ffffff;
  border: 1px solid var(--service-border);
  box-shadow: 0 8px 22px rgba(20,42,70,0.05);
}

.service-detail-intro__image {
  position: relative;
  width: 100%;
  margin: 0;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--service-border);
  aspect-ratio: 4 / 3;
}

.service-detail-intro__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0) 0%,
    rgba(47,72,97,0.06) 100%
  );
  pointer-events: none;
}

.service-detail-intro__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.service-detail-intro__body {
  min-width: 0;
}

.service-detail-intro__title {
  margin: 0 0 20px;
  color: var(--service-heading);
  font-family: "Noto Serif JP","Yu Mincho","Hiragino Mincho ProN","MS PMincho",serif;
  font-size: 28px;
  line-height: 1.65;
  font-weight: 600;
  letter-spacing: 0.045em;
}

.service-detail-intro__text {
  margin: 0 0 16px;
  color: var(--service-text);
  font-size: 16px;
  line-height: 2;
  letter-spacing: 0.04em;
}

.service-detail-intro__text:last-child {
  margin-bottom: 0;
}

@media (max-width:767px) {
  .service-detail-intro-section {
    padding-top: 44px;
  }

  .service-detail-intro {
    display: block;
    padding: 24px 18px;
  }

  .service-detail-intro__image {
    margin-bottom: 24px;
  }

  .service-detail-intro__title {
    font-size: 22px;
  }

  .service-detail-intro__text {
    font-size: 16px;
    line-height: 1.9;
  }
}

@media (max-width:420px) {
  .service-detail-intro {
    padding: 22px 16px;
  }

  .service-detail-intro__title {
    font-size: 21px;
  }
}

.service-detail-icon-list {
  list-style: none;
  max-width: 980px;
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 0 34px;
  border-top: 1px solid var(--service-border);
}

.service-detail-icon-list li {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--service-border);
  color: var(--service-text);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.04em;
}

.service-detail-worry-consult {
  max-width: 920px;
  margin: 36px auto 0;
  padding: 28px 32px;
  background: var(--service-blue-pale);
  border-left: 4px solid var(--service-blue);
}

.service-detail-worry-consult__label {
  margin: 0 0 8px;
  color: var(--service-blue-dark);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.service-detail-worry-consult__title {
  margin: 0 0 12px;
  color: var(--service-heading);
  font-family: "Noto Serif JP","Yu Mincho","Hiragino Mincho ProN","MS PMincho",serif;
  font-size: 23px;
  line-height: 1.6;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.service-detail-worry-consult__text {
  margin: 0;
  color: var(--service-text);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.04em;
}

@media (max-width:767px) {
  .service-detail-icon-list {
    max-width: 100%;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .service-detail-icon-list li {
    align-items: flex-start;
    gap: 12px;
    padding: 18px 0;
    font-size: 16px;
    line-height: 1.75;
  }

  .service-detail-icon-list li > span:not(.service-detail-icon) {
    display: flex;
    align-items: center;
    min-height: 40px;
  }

  .service-detail-worry-consult {
    margin-top: 28px;
    padding: 22px 20px;
  }

  .service-detail-worry-consult__title {
    font-size: 21px;
  }

  .service-detail-worry-consult__text {
    font-size: 16px;
    line-height: 1.85;
  }
}

@media (max-width:420px) {
  .service-detail-icon-list li {
    gap: 10px;
  }
}

.service-detail-support-section {
  background: #ffffff;
}

.service-detail-support-list {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 34px 38px;
}

.service-detail-support-item {
  padding: 0 0 30px;
  border-bottom: 1px solid var(--service-border);
}

.service-detail-support-item__head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin: 0 0 18px;
}

.service-detail-support-item__num {
  flex: 0 0 auto;
  color: var(--service-blue-dark);
  font-family: "Noto Serif JP","Yu Mincho","Hiragino Mincho ProN","MS PMincho",serif;
  font-size: 32px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.service-detail-support-item__line {
  display: none;
}

.service-detail-support-item h3 {
  margin: 2px 0 0;
  color: var(--service-heading);
  font-family: "Noto Serif JP","Yu Mincho","Hiragino Mincho ProN","MS PMincho",serif;
  font-size: 22px;
  line-height: 1.55;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.service-detail-support-item__image {
  width: 100%;
  margin: 0 0 18px;
  overflow: hidden;
  background: var(--service-blue-pale);
  border: 1px solid var(--service-border);
  aspect-ratio: 4 / 3;
}

.service-detail-support-item__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.service-detail-support-item p {
  width: 100%;
  margin: 0;
  color: var(--service-text);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.04em;
}

@media (max-width:1024px) {
  .service-detail-support-list {
    gap: 32px;
  }

  .service-detail-support-item__num {
    font-size: 30px;
  }

  .service-detail-support-item h3 {
    font-size: 21px;
  }
}

@media (max-width:767px) {
  .service-detail-support-list {
    max-width: 100%;
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .service-detail-support-item {
    padding: 0 0 28px;
  }

  .service-detail-support-item__head {
    gap: 14px;
    margin-bottom: 16px;
  }

  .service-detail-support-item__num {
    font-size: 31px;
  }

  .service-detail-support-item h3 {
    margin-top: 2px;
    font-size: 21px;
    line-height: 1.55;
  }

  .service-detail-support-item__image {
    margin-bottom: 16px;
  }

  .service-detail-support-item p {
    font-size: 16px;
    line-height: 1.85;
  }
}

@media (max-width:420px) {
  .service-detail-support-item__head {
    gap: 12px;
  }

  .service-detail-support-item__num {
    font-size: 29px;
  }

  .service-detail-support-item h3 {
    font-size: 20px;
  }

  .service-detail-support-item p {
    font-size: 16px;
  }
}

.service-detail-case-list-wrap {
  max-width: 920px;
  margin: 0 auto;
}

.service-detail-check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 0 36px;
  border-top: 1px solid var(--service-border);
}

.service-detail-check-list li {
  position: relative;
  padding: 18px 0 18px 32px;
  border-bottom: 1px solid var(--service-border);
  color: var(--service-text);
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: 0.04em;
}

.service-detail-check-list li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 1.85em;
  width: 13px;
  height: 8px;
  border-left: 2px solid var(--service-blue);
  border-bottom: 2px solid var(--service-blue);
  transform: rotate(-45deg);
}

.service-detail-case-point {
  margin: 30px 0 0;
  padding: 22px 26px;
  background: var(--service-blue-pale);
  border-left: 4px solid var(--service-blue);
}

.service-detail-case-point__label {
  margin: 0 0 8px;
  color: var(--service-blue-dark);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.service-detail-case-point__text {
  margin: 0;
  color: var(--service-text);
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: 0.04em;
}

@media (max-width:767px) {
  .service-detail-check-list {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .service-detail-check-list li {
    padding: 17px 0 17px 32px;
    font-size: 16px;
    line-height: 1.8;
  }

  .service-detail-case-point {
    padding: 20px 18px;
  }

  .service-detail-case-point__text {
    font-size: 16px;
  }
}

.service-detail-point-list {
  max-width: 920px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 0 34px;
  border-top: 1px solid var(--service-border);
}

.service-detail-point-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--service-border);
}

.service-detail-point-item__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 8px;
}

.service-detail-point-item__line {
  display: block;
  width: 28px;
  height: 1px;
  background: var(--service-blue);
}

.service-detail-point-item__num {
  color: var(--service-blue-dark);
  font-family: "Noto Serif JP","Yu Mincho","Hiragino Mincho ProN","MS PMincho",serif;
  font-size: 18px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.service-detail-point-item h3 {
  margin: 0;
  color: var(--service-heading);
  font-family: "Noto Serif JP","Yu Mincho","Hiragino Mincho ProN","MS PMincho",serif;
  font-size: 21px;
  line-height: 1.55;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.service-detail-point-item p {
  margin: 0;
  color: var(--service-text);
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: 0.04em;
}

@media (max-width:767px) {
  .service-detail-point-list {
    max-width: 100%;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .service-detail-point-item {
    padding: 22px 0;
  }

  .service-detail-point-item__head {
    align-items: flex-start;
    gap: 10px;
  }

  .service-detail-point-item h3 {
    font-size: 20px;
  }

  .service-detail-point-item p {
    font-size: 16px;
    line-height: 1.8;
  }
}

@media (max-width:420px) {
  .service-detail-point-item h3 {
    font-size: 19px;
  }
}

.service-detail-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.service-detail-table,
.service-detail-price-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border: 1px solid var(--service-border);
}

.service-detail-table th,
.service-detail-table td,
.service-detail-price-table th,
.service-detail-price-table td {
  padding: 18px 20px;
  border: 1px solid var(--service-border);
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: 0.04em;
  vertical-align: top;
}

.service-detail-table thead th,
.service-detail-price-table thead th {
  background: var(--service-blue-light);
  color: var(--service-heading);
  font-weight: 700;
  text-align: center;
}

.service-detail-table tbody th,
.service-detail-price-table tbody th {
  width: 28%;
  color: var(--service-heading);
  font-weight: 700;
  text-align: left;
  background: #FAFDFF;
}

.service-detail-table td,
.service-detail-price-table td {
  color: var(--service-text);
}

.service-detail-price-table__amount {
  color: var(--service-heading);
  font-weight: 700;
  white-space: nowrap;
}

.service-detail-note {
  margin: 24px 0 0;
  padding: 16px 18px;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: 0.03em;
  background: var(--service-blue-pale);
  border-left: 4px solid var(--service-blue);
}

@media (max-width:767px) {
  .service-detail-table-wrap {
    overflow-x: visible;
  }

  .service-detail-table,
  .service-detail-price-table {
    display: block;
    width: 100%;
    border: none;
    background: transparent;
  }

  .service-detail-table thead,
  .service-detail-price-table thead {
    display: none;
  }

  .service-detail-table tbody,
  .service-detail-price-table tbody {
    display: block;
    width: 100%;
  }

  .service-detail-table tr,
  .service-detail-price-table tr {
    display: block;
    width: 100%;
    margin: 0 0 14px;
    background: #ffffff;
    border: 1px solid var(--service-border);
  }

  .service-detail-table tr:last-child,
  .service-detail-price-table tr:last-child {
    margin-bottom: 0;
  }

  .service-detail-table th,
  .service-detail-table td,
  .service-detail-price-table th,
  .service-detail-price-table td {
    display: block;
    width: 100%;
    border: none;
    padding: 14px 16px;
    font-size: 16px;
    line-height: 1.8;
  }

  .service-detail-table tbody th,
  .service-detail-price-table tbody th {
    width: 100%;
    background: var(--service-blue-light);
    color: var(--service-heading);
    border-bottom: 1px solid var(--service-border);
  }

  .service-detail-table td,
  .service-detail-price-table td {
    background: #ffffff;
  }

  .service-detail-price-table__amount {
    white-space: normal;
  }

  .service-detail-note {
    font-size: 14px;
    line-height: 1.75;
  }
}

@media (max-width:420px) {
  .service-detail-table th,
  .service-detail-table td,
  .service-detail-price-table th,
  .service-detail-price-table td {
    padding: 13px 14px;
  }
}

.service-detail-flow-section {
  background: #F8FBFF;
}

.service-detail-flow-timeline {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  display: grid;
  gap: 28px;
}

.service-detail-flow-timeline::before {
  content: "";
  position: absolute;
  top: 38px;
  bottom: 38px;
  left: 48px;
  width: 2px;
  background: rgba(30,90,168,0.18);
}

.service-detail-flow-step-card {
  position: relative;
  display: grid;
  grid-template-columns: 96px minmax(0,1fr);
  gap: 28px;
  align-items: start;
}

.service-detail-flow-step-card__label {
  position: relative;
  z-index: 1;
  width: 96px;
  height: 96px;
  margin: 0;
  border-radius: 50%;
  background: linear-gradient(
    180deg,
    var(--service-blue,#1E5AA8),
    var(--service-blue-dark,#174A8E)
  );
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 4px solid #F8FBFF;
  font-family: "Noto Serif JP","Yu Mincho","Hiragino Mincho ProN","MS PMincho",serif;
}

.service-detail-flow-step-card__step {
  display: block;
  margin: 0 0 4px;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.service-detail-flow-step-card__number {
  display: block;
  font-family: "Noto Serif JP","Yu Mincho","Hiragino Mincho ProN","MS PMincho",serif;
  font-size: 30px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.service-detail-flow-step-card__body {
  position: relative;
  padding: 28px 30px;
  background: #ffffff;
  border: 1px solid rgba(30,90,168,0.14);
  box-shadow: 0 10px 24px rgba(20,42,70,0.07);
}

.service-detail-flow-step-card__body::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 36px;
  width: 18px;
  height: 18px;
  background: #ffffff;
  border-left: 1px solid rgba(30,90,168,0.14);
  border-bottom: 1px solid rgba(30,90,168,0.14);
  transform: rotate(45deg);
}

.service-detail-flow-step-card__title {
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(30,90,168,0.28);
  color: var(--service-heading,#26364a);
  font-family: "Noto Serif JP","Yu Mincho","Hiragino Mincho ProN","MS PMincho",serif;
  font-size: 23px;
  line-height: 1.55;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.service-detail-flow-step-card__text {
  margin: 0;
  color: var(--service-text,#333333);
  font-size: 16px;
  line-height: 1.95;
  letter-spacing: 0.04em;
}

@media (max-width:1024px) {
  .service-detail-flow-timeline {
    max-width: 860px;
  }

  .service-detail-flow-step-card {
    grid-template-columns: 90px minmax(0,1fr);
    gap: 24px;
  }

  .service-detail-flow-step-card__label {
    width: 90px;
    height: 90px;
  }

  .service-detail-flow-timeline::before {
    left: 45px;
  }
}

@media (max-width:767px) {
  .service-detail-flow-timeline {
    gap: 22px;
  }

  .service-detail-flow-timeline::before {
    display: none;
  }

  .service-detail-flow-step-card {
    position: relative;
    display: block;
  }

  .service-detail-flow-step-card__label {
    position: absolute;
    left: 22px;
    top: 22px;
    z-index: 2;
    width: 76px;
    height: 76px;
    margin: 0;
    border-radius: 50%;
    background: linear-gradient(
      180deg,
      var(--service-blue,#1E5AA8),
      var(--service-blue-dark,#174A8E)
    );
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 4px solid #ffffff;
    font-family: "Noto Serif JP","Yu Mincho","Hiragino Mincho ProN","MS PMincho",serif;
  }

  .service-detail-flow-step-card__step {
    margin: 0 0 3px;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 0.08em;
  }

  .service-detail-flow-step-card__number {
    font-size: 22px;
    line-height: 1;
    letter-spacing: 0.03em;
  }

  .service-detail-flow-step-card__body {
    position: relative;
    padding: 22px 22px 24px;
    background: #ffffff;
    border: 1px solid rgba(30,90,168,0.14);
    box-shadow: 0 10px 24px rgba(20,42,70,0.07);
  }

  .service-detail-flow-step-card__body::before {
    display: none;
  }

  .service-detail-flow-step-card__title {
    min-height: 76px;
    margin: 0 0 18px;
    padding-left: 98px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(30,90,168,0.28);
    display: flex;
    align-items: center;
    color: var(--service-heading,#26364a);
    font-size: 21px;
    line-height: 1.55;
    font-weight: 700;
    letter-spacing: 0.05em;
  }

  .service-detail-flow-step-card__text {
    margin: 0;
    font-size: 16px;
    line-height: 1.9;
  }

  .service-detail-flow-step-card:not(:last-child)::after {
    content: "";
    display: block;
    width: 12px;
    height: 12px;
    margin: 14px auto 0;
    border-right: 2px solid var(--service-blue,#1E5AA8);
    border-bottom: 2px solid var(--service-blue,#1E5AA8);
    transform: rotate(45deg);
  }
}

@media (max-width:420px) {
  .service-detail-flow-step-card__body {
    padding: 20px 18px;
  }

  .service-detail-flow-step-card__label {
    left: 18px;
    top: 20px;
    width: 70px;
    height: 70px;
  }

  .service-detail-flow-step-card__step {
    font-size: 14px;
    letter-spacing: 0.06em;
  }

  .service-detail-flow-step-card__number {
    font-size: 25px;
  }

  .service-detail-flow-step-card__title {
    min-height: 70px;
    margin: 0 0 18px;
    padding-left: 88px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(30,90,168,0.28);
    display: flex;
    align-items: center;
    color: var(--service-heading,#26364a);
    font-size: 19px;
    line-height: 1.55;
    font-weight: 700;
    letter-spacing: 0.05em;
  }
}

.service-detail-cta-section {
  background: #ffffff;
  padding-top: 72px;
  padding-bottom: 78px;
}

.service-detail-cta-box {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  padding: 38px 42px;
  background: linear-gradient(180deg,#ffffff 0%,var(--service-blue-pale,#F7FBFE) 100%);
  border: 1px solid var(--service-border,rgba(117,174,221,0.32));
  box-shadow: 0 10px 24px rgba(20,42,70,0.06);
  overflow: hidden;
}

.service-detail-cta-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(
    180deg,
    var(--service-blue,#75AEDD),
    var(--service-blue-dark,#5A99CC)
  );
}

.service-detail-cta-box::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -70px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(117,174,221,0.10);
  pointer-events: none;
}

.service-detail-cta-box .service-detail-small-label {
  position: relative;
  z-index: 1;
  margin: 0 0 10px;
  color: var(--service-blue-dark,#5A99CC);
  font-size: 14px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.service-detail-cta-box__title {
  position: relative;
  z-index: 1;
  margin: 0 0 20px;
  color: var(--service-heading,#2f4861);
  font-family: "Noto Serif JP","Yu Mincho","Hiragino Mincho ProN","MS PMincho",serif;
  font-size: 28px;
  line-height: 1.65;
  font-weight: 600;
  letter-spacing: 0.045em;
}

.service-detail-cta-box__text {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--service-text,#333333);
  font-size: 16px;
  line-height: 1.95;
  letter-spacing: 0.04em;
}

@media (max-width:1024px) {
  .service-detail-cta-section {
    padding-top: 66px;
    padding-bottom: 70px;
  }

  .service-detail-cta-box {
    padding: 34px 34px;
  }

  .service-detail-cta-box__title {
    font-size: 26px;
  }
}

@media (max-width:767px) {
  .service-detail-cta-section {
    padding-top: 52px;
    padding-bottom: 56px;
  }

  .service-detail-cta-box {
    padding: 26px 22px;
  }

  .service-detail-cta-box::before {
    width: 5px;
  }

  .service-detail-cta-box::after {
    right: -80px;
    bottom: -80px;
    width: 160px;
    height: 160px;
  }

  .service-detail-cta-box .service-detail-small-label {
    margin-bottom: 8px;
    font-size: 14px;
    letter-spacing: 0.14em;
  }

  .service-detail-cta-box__title {
    margin-bottom: 16px;
    font-size: 22px;
    line-height: 1.65;
    font-weight: 600;
    letter-spacing: 0.035em;
  }

  .service-detail-cta-box__text {
    font-size: 16px;
    line-height: 1.9;
    letter-spacing: 0.035em;
  }
}

@media (max-width:420px) {
  .service-detail-cta-box {
    padding: 22px 18px;
  }

  .service-detail-cta-box__title {
    font-size: 21px;
    letter-spacing: 0.03em;
  }

  .service-detail-cta-box__text {
    font-size: 16px;
  }
}

.service-detail-page .faq-section {
  background: #ffffff;
}

.service-detail-page .faq-section__inner {
  background: #ffffff;
}

/* お問い合わせページの基本設定 */

.contact-page,
.contact-page *,
.contact-page *::before,
.contact-page *::after {
  box-sizing: border-box;
}

.contact-page {
  --contact-blue: #75AEDD;
  --contact-blue-dark: #5A99CC;
  --contact-blue-light: #EEF7FC;
  --contact-blue-pale: #F7FBFE;
  --contact-border: rgba(117,174,221,0.32);
  --contact-text: #333333;
  --contact-heading: #2f4861;
  width: 100%;
  background: #ffffff;
  color: var(--contact-text);
  font-family: "Noto Sans JP","Yu Gothic","メイリオ",sans-serif;
}

.contact-section {
  width: 100%;
  padding: 78px 0;
  background: #ffffff;
}

.contact-inner {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.contact-heading {
  max-width: 820px;
  margin: 0 auto 44px;
  text-align: center;
}

.contact-heading__en {
  margin: 0 0 8px;
  color: var(--contact-blue);
  font-size: 14px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.contact-heading__ja {
  margin: 0;
  color: var(--contact-heading);
  font-family: "Noto Serif JP","Yu Mincho","Hiragino Mincho ProN","MS PMincho",serif;
  font-size: 28px;
  line-height: 1.6;
  font-weight: 600;
  letter-spacing: 0.045em;
}

.contact-heading__line {
  display: block;
  width: 52px;
  height: 2px;
  margin: 16px auto 0;
  background: linear-gradient(
    90deg,
    rgba(117,174,221,0) 0%,
    var(--contact-blue) 18%,
    var(--contact-blue) 82%,
    rgba(117,174,221,0) 100%
  );
  border-radius: 999px;
}

.contact-heading__lead {
  max-width: 680px;
  margin: 20px auto 0;
  color: #4b5563;
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.03em;
  text-align: left;
}

.contact-form-box {
  max-width: 920px;
  margin: 0 auto;
  padding: 38px 42px;
  background: #ffffff;
  border: 1px solid var(--contact-border);
  box-shadow: 0 10px 24px rgba(20,42,70,0.06);
}

.contact-form-box__note {
  margin: 0 0 22px;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: 0.03em;
}

.contact-form {
  width: 100%;
}

.contact-form__hidden {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form__row {
  display: grid;
  grid-template-columns: 240px minmax(0,1fr);
  gap: 24px;
  padding: 22px 0;
  border-top: 1px solid var(--contact-border);
}

.contact-form__row:last-of-type {
  border-bottom: 1px solid var(--contact-border);
}

.contact-form__row--textarea {
  align-items: start;
}

.contact-form__label {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--contact-heading);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.contact-form__field {
  min-width: 0;
}

.contact-form input[type="text"],
.contact-form input[type="tel"],
.contact-form input[type="email"],
.contact-form select {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(117,174,221,0.45);
  border-radius: 4px;
  background: #ffffff;
  color: var(--contact-text);
  font-family: "Noto Sans JP","Yu Gothic","メイリオ",sans-serif;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.03em;
}

.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(117,174,221,0.45);
  border-radius: 4px;
  background: #ffffff;
  color: var(--contact-text);
  font-family: "Noto Sans JP","Yu Gothic","メイリオ",sans-serif;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.03em;
}

.contact-form textarea {
  min-height: 180px;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #9ca3af;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--contact-blue-dark);
  box-shadow: 0 0 0 3px rgba(117,174,221,0.22);
}

.contact-required,
.contact-optional {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 22px;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.contact-required {
  background: #E85D5D;
  color: #ffffff;
}

.contact-optional {
  background: #EAF5FC;
  color: var(--contact-blue-dark);
  border: 1px solid rgba(117,174,221,0.35);
}

.contact-form__privacy {
  margin: 28px 0 0;
  padding: 22px 24px;
  background: var(--contact-blue-pale);
  border-left: 4px solid var(--contact-blue);
}

.contact-form__privacy-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--contact-heading);
  font-size: 16px;
  line-height: 1.8;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.contact-form__privacy-label input {
  width: 18px;
  height: 18px;
  margin-top: 6px;
  flex: 0 0 auto;
}

.contact-form__privacy-text {
  margin: 10px 0 0 28px;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: 0.03em;
}

.contact-form__submit {
  margin: 34px 0 0;
  text-align: center;
}

.contact-form__button {
  width: 100%;
  max-width: 320px;
  min-height: 56px;
  border: none;
  border-radius: 6px;
  background: linear-gradient(180deg,var(--contact-blue),var(--contact-blue-dark));
  color: #ffffff;
  font-family: "Noto Sans JP","Yu Gothic","メイリオ",sans-serif;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(90,153,204,0.24);
  transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-form__button:hover {
  opacity: 0.94;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(90,153,204,0.30);
}

.contact-pc-br {
  display: block;
}

@media (max-width:1024px) {
  .contact-form__row {
    grid-template-columns: 220px minmax(0,1fr);
    gap: 22px;
  }
}

@media (max-width:767px) {
  .contact-section {
    padding: 58px 0;
  }

  .contact-inner {
    padding: 0 18px;
  }

  .contact-heading {
    margin-bottom: 34px;
  }

  .contact-heading__ja {
    font-size: 23px;
    line-height: 1.6;
  }

  .contact-heading__lead {
    font-size: 16px;
    line-height: 1.85;
  }

  .contact-form-box {
    padding: 26px 18px;
  }

  .contact-form__row {
    display: block;
    padding: 20px 0;
  }

  .contact-form__label {
    margin: 0 0 10px;
    font-size: 16px;
  }

  .contact-form input[type="text"],
  .contact-form input[type="tel"],
  .contact-form input[type="email"],
  .contact-form select,
  .contact-form textarea {
    font-size: 16px;
  }

  .contact-form__privacy {
    padding: 20px 18px;
  }

  .contact-form__privacy-label {
    font-size: 16px;
  }

  .contact-form__privacy-text {
    margin-left: 28px;
    font-size: 14px;
  }

  .contact-form__button {
    max-width: none;
    min-height: 54px;
  }

  .contact-pc-br {
    display: none;
  }
}

@media (max-width:420px) {
  .contact-inner {
    padding: 0 16px;
  }

  .contact-heading__ja {
    font-size: 21px;
  }

  .contact-form-box {
    padding: 24px 16px;
  }
}

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

/* 共通：フッターの基本設定 */

.site-footer {
  width: 100%;
  background: linear-gradient(180deg,#ffffff 0%,#F4F8FD 100%);
  color: #1f2937;
  box-sizing: border-box;
  border-top: 1px solid rgba(30,90,168,0.12);
}

.site-footer__inner {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 58px 24px 24px;
  box-sizing: border-box;
}

.site-footer__content {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(430px, 0.95fr);
  gap: 56px;
  align-items: start;
}

.site-footer__office {
  min-width: 0;
}

.site-footer__brand {
  margin: 0 0 20px;
}

.site-footer__logo-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #1f2937;
  text-decoration: none;
}

.site-footer__logo {
  display: block;
  width: 50px;
  height: auto;
  flex: 0 0 auto;
}

.site-footer__logo[src=""],
.site-footer__logo:not([src]) {
  display: none;
}

.site-footer__name {
  display: block;
  color: #1f2937;
  font-family: "Noto Serif JP","Yu Mincho","Hiragino Mincho ProN","MS PMincho",serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.08em;
}

.site-footer__lead {
  max-width: 560px;
  margin: 0 0 24px;
  color: #4b5563;
  font-family: "Noto Sans JP","Yu Gothic","メイリオ",sans-serif;
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.04em;
}

.site-footer__info {
  width: 100%;
  max-width: 620px;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(30,90,168,0.14);
}

.site-footer__info-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(30,90,168,0.12);
}

.site-footer__info-row dt {
  color: var(--header-a-blue,#1E5AA8);
  font-family: "Noto Sans JP","Yu Gothic","メイリオ",sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.06em;
}

.site-footer__info-row dd {
  margin: 0;
  color: #374151;
  font-family: "Noto Sans JP","Yu Gothic","メイリオ",sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.04em;
}

.site-footer__info-row a {
  color: #374151;
  text-decoration: none;
}

.site-footer__info-row a:hover {
  color: var(--header-a-blue,#1E5AA8);
  text-decoration: underline;
}

.site-footer__nav {
  min-width: 0;
  width: 100%;
  padding: 34px 38px 36px;
  box-sizing: border-box;
  background: #ffffff;
  border: 1px solid rgba(30,90,168,0.13);
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(20,42,70,0.06);
}

.site-footer__heading {
  position: relative;
  margin: 0 0 24px;
  padding-bottom: 13px;
  color: #1f2937;
  font-family: "Noto Serif JP","Yu Mincho","Hiragino Mincho ProN","MS PMincho",serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.08em;
}

.site-footer__heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48px;
  height: 2px;
  background: var(--header-a-blue,#1E5AA8);
  border-radius: 999px;
}

.site-footer__menu-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  width: 100%;
}

.site-footer__menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__menu + .site-footer__menu {
  padding-left: 30px;
  border-left: 1px solid rgba(30,90,168,0.14);
}

.site-footer__menu li {
  margin: 0 0 14px;
  padding: 0;
}

.site-footer__menu li:last-child {
  margin-bottom: 0;
}

.site-footer__menu a {
  position: relative;
  display: inline-block;
  padding-left: 16px;
  box-sizing: border-box;
  color: #374151;
  font-family: "Noto Sans JP","Yu Gothic","メイリオ",sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.7;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: color 0.2s ease,
    transform 0.2s ease;
}

.site-footer__menu a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--header-a-blue,#1E5AA8);
  opacity: 0.72;
}

.site-footer__menu a:hover {
  color: var(--header-a-blue,#1E5AA8);
  transform: translateX(2px);
}

.site-footer__bottom {
  margin: 48px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid rgba(30,90,168,0.12);
  text-align: center;
}

.site-footer__copy {
  margin: 0;
  color: #6b7280;
  font-family: "Noto Sans JP","Yu Gothic","メイリオ",sans-serif;
  font-size: 14px;
  line-height: 1.7;
  letter-spacing: 0.04em;
}

.site-footer__copy small {
  font-size: inherit;
}

@media (max-width:1024px) {
  .site-footer__inner {
    padding: 52px 24px 24px;
  }

  .site-footer__content {
    grid-template-columns: 1fr;
    gap: 34px;
    max-width: 780px;
    margin: 0 auto;
  }

  .site-footer__nav {
    padding: 30px 34px 32px;
  }

  .site-footer__name {
    font-size: 20px;
  }
}

@media (max-width:767px) {
  .site-footer__inner {
    padding: 44px 12px 22px;
  }

  .site-footer__content {
    display: flex;
    flex-direction: column;
    gap: 34px;
    max-width: none;
    width: 100%;
  }

  .site-footer__nav {
    order: 1;
    width: 100%;
    padding: 26px 22px 28px;
    border-radius: 14px;
    text-align: center;
  }

  .site-footer__office {
    order: 2;
    padding: 0 6px;
    box-sizing: border-box;
  }

  .site-footer__heading {
    display: inline-block;
    margin: 0 auto 26px;
    padding-bottom: 12px;
    font-size: 19px;
    text-align: center;
  }

  .site-footer__heading::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .site-footer__menu-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    width: 100%;
    margin: 0 auto;
    text-align: left;
  }

  .site-footer__menu {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .site-footer__menu:first-child {
    padding-right: 18px;
  }

  .site-footer__menu + .site-footer__menu {
    padding-left: 18px;
    border-left: 1px solid rgba(30,90,168,0.18);
  }

  .site-footer__menu li {
    margin: 0 0 15px;
    padding: 0;
  }

  .site-footer__menu li:last-child {
    margin-bottom: 0;
  }

  .site-footer__menu a {
    display: inline-block;
    padding-left: 13px;
    color: #1f2937;
    font-weight: 600;
    line-height: 1.6;
    text-align: left;
    text-decoration: none;
    white-space: normal;
    word-break: keep-all;
    overflow-wrap: normal;
  }

  .site-footer__menu a::before {
    display: block;
    left: 0;
    top: 0.68em;
    width: 4px;
    height: 4px;
  }

  .site-footer__menu a:hover {
    color: var(--header-a-blue,#1E5AA8);
    transform: none;
  }

  .site-footer__brand {
    margin-bottom: 16px;
  }

  .site-footer__logo-link {
    gap: 12px;
  }

  .site-footer__logo {
    width: 44px;
  }

  .site-footer__name {
    font-size: 18px;
    letter-spacing: 0.06em;
  }

  .site-footer__lead {
    margin-bottom: 20px;
    line-height: 1.85;
  }

  .site-footer__info-row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 12px 0;
  }

  .site-footer__bottom {
    margin-top: 36px;
    padding-top: 20px;
  }
}

@media (max-width:420px) {
  .site-footer__inner {
    padding: 42px 10px 22px;
  }

  .site-footer__nav {
    width: 100%;
    padding: 24px 18px 26px;
  }

  .site-footer__office {
    padding: 0 6px;
  }

  .site-footer__menu:first-child {
    padding-right: 14px;
  }

  .site-footer__menu + .site-footer__menu {
    padding-left: 14px;
  }

  .site-footer__menu li {
    margin-bottom: 14px;
  }

  .site-footer__menu a {
    padding-left: 12px;
    line-height: 1.6;
  }

  .site-footer__name {
    font-size: 17px;
  }
}

@media (prefers-reduced-motion:reduce) {
  .site-footer__menu a {
    transition: none;
  }
}

:root {
  --sp-fixed-cta-space: 70px;
}

#sp-fixed-cta {
  -webkit-backdrop-filter: blur(6px);
  -webkit-transform: translateZ(0);
}

#sp-fixed-cta .sp-fixed-cta__link {
  -webkit-tap-highlight-color: transparent;
}

#sp-fixed-cta .sp-fixed-cta__link::before {
  inset: 8px 12px;
  pointer-events: none;
  background: linear-gradient(to bottom,
      rgba(255,255,255,0.18) 0%,
      rgba(255,255,255,0.18) 2%,
      rgba(255,255,255,0) 2%,
      rgba(255,255,255,0) 24%,
      rgba(255,255,255,0.18) 24%,
      rgba(255,255,255,0.18) 26%,
      rgba(255,255,255,0) 26%,
      rgba(255,255,255,0) 48%,
      rgba(255,255,255,0.18) 48%,
      rgba(255,255,255,0.18) 50%,
      rgba(255,255,255,0) 50%,
      rgba(255,255,255,0) 72%,
      rgba(255,255,255,0.18) 72%,
      rgba(255,255,255,0.18) 74%,
      rgba(255,255,255,0) 74%,
      rgba(255,255,255,0) 100%
    );
  opacity: 0.55;
}

#sp-fixed-cta .sp-fixed-cta__label {
  padding-right: 36px;
  padding-left: 30px;
}

#sp-fixed-cta .sp-fixed-cta__label::before {
  font-size: 18px;
  opacity: 0.9;
}

#sp-fixed-cta .sp-fixed-cta__label::after {
  position: absolute;
  right: 8px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-top: 2px solid rgba(255,255,255,0.95);
  border-right: 2px solid rgba(255,255,255,0.95);
  transform: translateY(-50%) rotate(45deg);
  transition: transform 0.2s ease;
}

#sp-fixed-cta .sp-fixed-cta__link:hover .sp-fixed-cta__label::after {
  transform: translateY(-50%) rotate(45deg) translateX(3px);
}

body {
  padding-bottom: calc(var(--sp-fixed-cta-space) + env(safe-area-inset-bottom, 0px));
}

@media (min-width: 768px) {
  .for-sp {
    display: none;
  }

  body {
    padding-bottom: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  #sp-fixed-cta .sp-fixed-cta__label::after {
    transition: none;
  }
}

.mojianime1 span,
.mojianime2 span,
.mojianime3 span {
  display: inline-block;
  opacity: 0;
  will-change: transform, opacity;
  backface-visibility: visible;
  transform-style: preserve-3d;
}

.mojianime7 span {
  display: inline-block;
  will-change: transform, opacity;
  backface-visibility: visible;
  transform-style: preserve-3d;
}

.mojianime1 span {
  transform: translate(-10px, -10px) rotateY(0deg);
}

.mojianime2 span {
  transform: translate(0, -10px) rotateY(0deg);
}

.mojianime3 span {
  transform: translate(0, 10px) rotateY(0deg);
}

.mojianime7 span {
  opacity: 0;
  transform: translateY(0);
}

.image-left-all {
  opacity: 0;
  transform: translateX(-30px);
  transition: transform 1s ease-out, opacity 1s ease-out;
}

.image-left-all-active {
  transform: translateX(0);
  opacity: 1;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: transform 1s ease-out, opacity 1s ease-out;
  will-change: transform, opacity;
}

.reveal.is-active {
  opacity: 1;
  transform: translateY(0);
}

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

:root {
  --sp-fixed-cta-space: 70px;
  --sp-fixed-cta-blue: var(--header-a-blue,#1E5AA8);
  --sp-fixed-cta-blue-dark: var(--header-a-blue-dark,#174A8E);
  --sp-fixed-cta-blue-soft: #2A6FBA;
}

@media (min-width:768px) {
  .for-sp {
    display: none !important;
  }

  body {
    padding-bottom: 0;
  }
}

#sp-fixed-cta,
#sp-fixed-cta * {
  box-sizing: border-box;
}

#sp-fixed-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 100%;
  z-index: 99;
  padding: 9px 12px;
  padding-bottom: calc(9px + env(safe-area-inset-bottom, 0px));
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(30,90,168,0.10);
  box-shadow: 0 -6px 18px rgba(20,42,70,0.08);
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

#sp-fixed-cta .sp-fixed-cta__link {
  text-decoration: none;
  border-radius: 10px;
  background: linear-gradient(
    180deg,
    var(--sp-fixed-cta-blue-soft) 0%,
    var(--sp-fixed-cta-blue) 54%,
    var(--sp-fixed-cta-blue-dark) 100%
  );
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.26);
  box-shadow: 0 6px 14px rgba(30,90,168,0.20),
    inset 0 1px 0 rgba(255,255,255,0.22);
  font-family: "Noto Sans JP","Yu Gothic","メイリオ",sans-serif;
  letter-spacing: 0.08em;
  transition: transform 0.15s ease,
    box-shadow 0.2s ease,
    filter 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

#sp-fixed-cta .sp-fixed-cta__link::before {
  border: 1.8px solid rgba(255,255,255,0.96);
  border-radius: 2px;
  box-sizing: border-box;
}

#sp-fixed-cta .sp-fixed-cta__label::before {
  position: absolute;
  left: -24px;
  top: 50%;
  width: 15px;
  height: 9px;
  transform: translateY(-48%);
  background: linear-gradient(35deg, transparent 47%, rgba(255,255,255,0.96) 48%, rgba(255,255,255,0.96) 53%, transparent 54%),
    linear-gradient(-35deg, transparent 47%, rgba(255,255,255,0.96) 48%, rgba(255,255,255,0.96) 53%, transparent 54%);
  pointer-events: none;
}

#sp-fixed-cta .sp-fixed-cta__link:hover {
  filter: brightness(1.03);
  box-shadow: 0 8px 18px rgba(30,90,168,0.24),
    inset 0 1px 0 rgba(255,255,255,0.26);
}

#sp-fixed-cta .sp-fixed-cta__link:active {
  transform: translateY(1px) scale(0.996);
  box-shadow: 0 5px 12px rgba(30,90,168,0.20),
    inset 0 1px 0 rgba(255,255,255,0.20);
}

#sp-fixed-cta .sp-fixed-cta__link:focus-visible {
  outline: 3px solid rgba(30,90,168,0.25);
  outline-offset: 3px;
}

@media (max-width:767px) {
  body {
    padding-bottom: calc(var(--sp-fixed-cta-space) + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width:420px) {
  :root {
    --sp-fixed-cta-space: 68px;
  }

  #sp-fixed-cta {
    padding: 8px 10px;
    padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px));
  }

  #sp-fixed-cta .sp-fixed-cta__link {
    border-radius: 9px;
  }

  #sp-fixed-cta .sp-fixed-cta__label::before {
    left: -23px;
    width: 14px;
    height: 8px;
  }
}

@media (prefers-reduced-motion:reduce) {
  #sp-fixed-cta .sp-fixed-cta__link {
    transition: none;
  }
}

#sp-fixed-cta .sp-fixed-cta__link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  padding: 0 46px 0 48px;
  box-sizing: border-box;
}

#sp-fixed-cta .sp-fixed-cta__link::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 50%;
  width: 16px;
  height: 16px;
  transform: translateY(-50%);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px 16px;
  display: block;
  background-image: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'>\
<path d='M4 6h16v12H4z' stroke='white' stroke-width='2' stroke-linejoin='round'/>\
<path d='M4 7l8 6 8-6' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/>\
</svg>");
}

#sp-fixed-cta .sp-fixed-cta__label {
  position: relative;
  display: block;
  padding: 0;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
}

#sp-fixed-cta .sp-fixed-cta__label::before,
#sp-fixed-cta .sp-fixed-cta__label::after {
  content: none !important;
  display: none !important;
}

#sp-fixed-cta .sp-fixed-cta__link::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-top: 2px solid rgba(255,255,255,0.96);
  border-right: 2px solid rgba(255,255,255,0.96);
  transform: translateY(-50%) rotate(45deg);
  transition: transform 0.2s ease;
}

#sp-fixed-cta .sp-fixed-cta__link:hover::after {
  transform: translateY(-50%) rotate(45deg) translateX(3px);
}

@media (max-width: 420px) {
  #sp-fixed-cta .sp-fixed-cta__link {
    padding: 0 42px 0 44px;
  }

  #sp-fixed-cta .sp-fixed-cta__link::before {
    left: 18px;
    width: 15px;
    height: 15px;
    background-size: 15px 15px;
  }

  #sp-fixed-cta .sp-fixed-cta__label {
    font-size: 16px;
  }

  #sp-fixed-cta .sp-fixed-cta__link::after {
    right: 20px;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

@media (max-width:767px) {
  .section-heading__lead,
  .fv-legal__lead,
  .service-card__text,
  .feature-card__text,
  .profile-card__message,
  .flow-card__text,
  .qa-answer,
  .contact-card__text,
  .site-footer__lead {
    font-size: 16px;
  }

  .header-a__sub,
  .service-dropdown__text,
  .section-heading__en,
  .fv-legal__point-text,
  .profile-card__position,
  .profile-card__job,
  .profile-card__kana,
  .card-accordion-text::before,
  .card-accordion-inner::before,
  .contact-card__label,
  .contact-card__note,
  .site-footer__copy {
    font-size: 14px;
  }

  .profile-card__info-row dt,
  .profile-card__info-row dd,
  .contact-info-list__row dt,
  .contact-info-list__row dd,
  .site-footer__info-row dt,
  .site-footer__info-row dd,
  .site-footer__menu a {
    font-size: 16px;
  }

  .header-a__sp-contact,
  .header-a__nav-list a,
  .header-a__nav-menu-button,
  .fv-legal__btn,
  .service-card__button,
  .qa-more__btn,
  .contact-card__btn,
  #sp-fixed-cta .sp-fixed-cta__label {
    font-size: 16px;
  }
}

@media (max-width:420px) {
  .section-heading__lead,
  .fv-legal__lead,
  .service-card__text,
  .feature-card__text,
  .profile-card__message,
  .flow-card__text,
  .qa-answer,
  .contact-card__text,
  .site-footer__lead {
    font-size: 16px;
  }

  .header-a__sub,
  .service-dropdown__text,
  .section-heading__en,
  .fv-legal__point-text,
  .profile-card__position,
  .profile-card__job,
  .profile-card__kana,
  .card-accordion-text::before,
  .card-accordion-inner::before,
  .contact-card__label,
  .contact-card__note,
  .site-footer__copy {
    font-size: 14px;
  }

  .header-a__sp-contact,
  .profile-card__info-row dt,
  .profile-card__info-row dd,
  .contact-info-list__row dt,
  .contact-info-list__row dd,
  .site-footer__info-row dt,
  .site-footer__info-row dd,
  .site-footer__menu a,
  .fv-legal__btn,
  .service-card__button,
  .qa-more__btn,
  .contact-card__btn,
  #sp-fixed-cta .sp-fixed-cta__label {
    font-size: 16px;
  }
}

@media (max-width:767px) {
  .office-heading__lead,
  .office-intro-text,
  .office-intro-points li,
  .office-overview-table th,
  .office-overview-table td,
  .office-consult-card__text,
  .office-access-info__address,
  .office-access-list dt,
  .office-access-list dd,
  .office-profile-link-card__text {
    font-size: 16px;
  }

  .office-heading__en,
  .office-small-label {
    font-size: 14px;
  }
}

@media (max-width:420px) {
  .office-heading__lead,
  .office-intro-text,
  .office-intro-points li,
  .office-overview-table th,
  .office-overview-table td,
  .office-consult-card__text,
  .office-access-info__address,
  .office-access-list dt,
  .office-access-list dd,
  .office-profile-link-card__text {
    font-size: 16px;
  }

  .office-heading__en,
  .office-small-label {
    font-size: 14px;
  }
}

.flow-intro-box__title {
  color: #26364a;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.045em;
  line-height: 1.65;
}

.flow-heading__ja {
  color: #26364a;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.045em;
  line-height: 1.6;
}

.flow-small-label,
.flow-heading__en {
  color: var(--header-a-blue,#1E5AA8);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.flow-heading__line {
  width: 52px;
  height: 2px;
  margin-top: 16px;
}

.flow-heading__lead {
  margin-top: 20px;
  color: #4b5563;
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.03em;
}

.flow-case-box__title {
  color: #26364a;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.045em;
  line-height: 1.65;
}

@media (max-width:767px) {
  .flow-intro-box__title {
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 0.035em;
    line-height: 1.65;
  }

  .flow-heading__ja {
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 0.035em;
    line-height: 1.6;
  }

  .flow-small-label,
  .flow-heading__en {
    font-size: 14px;
    letter-spacing: 0.14em;
  }

  .flow-heading__line {
    width: 46px;
    margin-top: 14px;
  }

  .flow-heading__lead {
    margin-top: 18px;
    font-size: 16px;
    line-height: 1.85;
  }

  .flow-case-box__title {
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 0.035em;
    line-height: 1.65;
  }
}

@media (max-width:420px) {
  .flow-intro-box__title,
  .flow-heading__ja,
  .flow-case-box__title {
    font-size: 21px;
    letter-spacing: 0.03em;
  }
}

/* 全ページ共通：indexと同じヘッダー・フッター */
.site-header,
.site-footer,
#sp-fixed-cta {
  --header-a-blue: #354e85;
  --header-a-blue-dark: #283d6b;
  --home-text: #293746;
  --home-muted: #52606d;
  --home-soft: #fafcfe;
  --home-line: #e3eaf0;
  --home-width: 1184px;
  --home-gutter: 32px;
  line-height: 1.85;
}

/* トップページ：新しいデザイン（このページに限定して適用） */

body:is(:has(.fv-legal), .page-gyoumu) {
  --header-a-blue: #354e85;
  --header-a-blue-dark: #283d6b;
  --home-text: #293746;
  --home-muted: #52606d;
  --home-soft: #fafcfe;
  --home-line: #e3eaf0;
  --home-width: 1184px;
  --home-gutter: 32px;
  --home-space: 88px;
  color: var(--home-text);
  font-size: 16px;
  line-height: 1.85;
}

body:is(:has(.fv-legal), .page-gyoumu) :is( .service-section, .feature-section, .profile-section, .flow-section, .faq-section, .contact-section ) {
  padding: var(--home-space) 0;
}

body:is(:has(.fv-legal), .page-gyoumu) :is( .service-section__inner, .feature-section__inner, .profile-section__inner, .flow-section__inner, .faq-section__inner, .contact-section__inner ) {
  width: 100%;
  max-width: var(--home-width);
  margin: 0 auto;
  padding-right: var(--home-gutter);
  padding-left: var(--home-gutter);
}

body:is(:has(.fv-legal), .page-gyoumu) :is(.feature-section,.faq-section) {
  background: var(--home-soft);
}

body:is(:has(.fv-legal), .page-gyoumu) :is(section[id],footer[id]) {
  scroll-margin-top: calc(var(--header-offset,0px) + 24px);
}

body:is(:has(.fv-legal), .page-gyoumu) :is(p,dd,a,h1,h2,h3) {
  overflow-wrap: anywhere;
}

body:is(:has(.fv-legal), .page-gyoumu) :is(a,button):focus-visible {
  outline: 3px solid #354e85;
  outline-offset: 4px;
}

body:is(:has(.fv-legal), .page-gyoumu) a[href^="mailto:"] {
  color: var(--header-a-blue);
  text-decoration: none;
}

@media (hover:hover) {
  body:is(:has(.fv-legal), .page-gyoumu) a[href^="mailto:"]:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
  }
}

body:is(:has(.fv-legal), .page-gyoumu) a[href^="mailto:"]:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

body:is(:has(.fv-legal), .page-gyoumu) :is( .section-heading__lead, .fv-legal__lead, .service-card__text, .feature-card__text, .profile-card__message, .flow-card__text, .qa-answer, .contact-card__text ) {
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: .025em;
  color: var(--home-muted);
}

body:is(:has(.fv-legal), .page-gyoumu) :is( .profile-card__info-row, .contact-info-list__row ) :is(dt,dd) {
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: .02em;
}

body:is(:has(.fv-legal), .page-gyoumu) :is( .section-heading__en, .fv-legal__point-text, .profile-card__position, .profile-card__job, .profile-card__kana, .contact-card__label, .contact-card__select, .contact-card__note ) {
  font-size: 14px;
  line-height: 1.7;
}

body:is(:has(.fv-legal), .page-gyoumu) :is( .fv-legal__btn, .service-card__button, .qa-more__btn, .contact-card__btn, .fv-legal__point-title ) {
  font-size: 16px;
}

body:is(:has(.fv-legal), .page-gyoumu) :is( .service-card__title, .feature-card__title, .flow-card__title ) {
  font-family: "Noto Sans JP","Yu Gothic",sans-serif;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .025em;
}

.site-header {
  position: relative;
  border-bottom: 1px solid var(--home-line);
}

.header-a__inner {
  max-width: 1320px;
}

.header-a__main {
  min-height: 92px;
  padding: 16px 32px;
  gap: 24px;
  border: 0;
  box-shadow: none;
}

.header-a__brand {
  flex: 0 1 340px;
  min-width: 270px;
  padding-right: 0;
  border: 0;
}

.header-a__brand-link {
  gap: 12px;
}

.header-a__logo {
  width: 48px;
  height: 48px;
  flex-basis: 48px;
}

.header-a__name {
  font-size: 24px;
  letter-spacing: .035em;
}

.header-a__sub {
  letter-spacing: .015em;
}

.header-a__nav-list {
  gap: 22px;
}

.header-a__cta {
  min-width: 166px;
  padding: 0 18px;
  height: 50px;
  background: var(--header-a-blue);
  border-radius: 8px;
  box-shadow: none;
  letter-spacing: .025em;
}

.service-dropdown__inner {
  border-radius: 8px;
  padding: 16px;
  gap: 8px;
}

.service-dropdown__item {
  display: block;
  padding: 14px;
  border-radius: 6px;
  white-space: normal;
}

.service-dropdown__item::after {
  display: none;
}

body:is(:has(.fv-legal), .page-gyoumu) .section-heading {
  max-width: 880px;
  padding: 0;
  margin: 0 auto 40px;
}

body:is(:has(.fv-legal), .page-gyoumu) .section-heading__en {
  margin-bottom: 8px;
  letter-spacing: .16em;
}

body:is(:has(.fv-legal), .page-gyoumu) .section-heading__ja {
  font-size: 32px;
  line-height: 1.6;
  letter-spacing: .04em;
  color: var(--home-text);
}

body:is(:has(.fv-legal), .page-gyoumu) .section-heading__line {
  width: 40px;
  height: 2px;
  margin-top: 16px;
  background: var(--header-a-blue);
}

body:is(:has(.fv-legal), .page-gyoumu) .section-heading__lead {
  max-width: 720px;
  margin: 22px auto 0;
  text-align: left;
}

body:is(:has(.fv-legal), .page-gyoumu) .container > .section-heading {
  max-width: 944px;
  padding: var(--home-space) var(--home-gutter) 0;
  margin: 0 auto;
}

body:is(:has(.fv-legal), .page-gyoumu) .container > .section-heading .section-heading__lead {
  max-width: 800px;
}

body:is(:has(.fv-legal), .page-gyoumu) .fv-legal {
  margin: 0;
  background: var(--home-soft);
}

body:is(:has(.fv-legal), .page-gyoumu) .fv-legal__inner {
  max-width: var(--home-width);
  padding: 0 var(--home-gutter);
  background: transparent;
  overflow: visible;
}

body:is(:has(.fv-legal), .page-gyoumu) .fv-legal__content {
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: 48px;
  align-items: center;
  min-height: 500px;
  padding: 48px 0;
  background: transparent;
  border: 0;
}

body:is(:has(.fv-legal), .page-gyoumu) .fv-legal__text {
  padding: 0;
  min-width: 0;
  background: transparent;
}

body:is(:has(.fv-legal), .page-gyoumu) .fv-legal__label {
  font-family: "Noto Sans JP","Yu Gothic",sans-serif;
  font-size: 16px;
  margin-bottom: 18px;
  line-height: 1.7;
  letter-spacing: .04em;
}

body:is(:has(.fv-legal), .page-gyoumu) .fv-legal__title {
  font-size: 38px;
  line-height: 1.65;
  letter-spacing: .015em;
  color: var(--home-text);
  margin-bottom: 22px;
}

body:is(:has(.fv-legal), .page-gyoumu) .fv-legal__lead {
  padding: 0;
  margin-bottom: 28px;
  max-width: 480px;
}

body:is(:has(.fv-legal), .page-gyoumu) .fv-legal__lead::before {
  content: none;
}

body:is(:has(.fv-legal), .page-gyoumu) .fv-legal__photo {
  width: 100%;
  min-height: 0;
  height: 400px;
  border: 0;
  border-radius: 8px;
  overflow: hidden;
}

body:is(:has(.fv-legal), .page-gyoumu) .fv-legal__photo::before {
  content: none;
}

body:is(:has(.fv-legal), .page-gyoumu) .fv-legal__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

body:is(:has(.fv-legal), .page-gyoumu) .fv-legal__btn {
  min-height: 54px;
  min-width: 230px;
  padding: 12px 24px;
  border-radius: 8px;
  background: var(--header-a-blue);
  box-shadow: none;
  letter-spacing: .04em;
}

body:is(:has(.fv-legal), .page-gyoumu) .fv-legal__points {
  background: transparent;
  border-top: 1px solid var(--home-line);
  border-bottom: 0;
}

body:is(:has(.fv-legal), .page-gyoumu) .fv-legal__point {
  min-height: 90px;
  padding: 18px 12px;
  gap: 12px;
  border-color: var(--home-line);
  background: transparent;
}

body:is(:has(.fv-legal), .page-gyoumu) .fv-legal__point-icon {
  width: 32px;
  height: 32px;
}

body:is(:has(.fv-legal), .page-gyoumu) .service-list {
  display: grid;
  grid-template-columns: repeat(6,minmax(0,1fr));
  gap: 28px;
}

body:is(:has(.fv-legal), .page-gyoumu) .service-card {
  grid-column: span 2;
  min-width: 0;
  border: 1px solid var(--home-line);
  border-radius: 8px;
  box-shadow: none;
}

body:is(:has(.fv-legal), .page-gyoumu) .service-card:nth-child(4):nth-last-child(2) {
  grid-column: 2 / span 2;
}

body:is(:has(.fv-legal), .page-gyoumu) .service-card__image {

  aspect-ratio: 16 / 10;
}

body:is(:has(.fv-legal), .page-gyoumu) .service-card__image::after {
  content: none;
}

body:is(:has(.fv-legal), .page-gyoumu) .service-card__body {
  padding: 24px;
}

body:is(:has(.fv-legal), .page-gyoumu) .service-card__number {
  font-size: 16px;
  margin-bottom: 12px;
}

body:is(:has(.fv-legal), .page-gyoumu) .service-card__title {
  margin-bottom: 14px;
}

body:is(:has(.fv-legal), .page-gyoumu) .service-card__text {
  margin-bottom: 24px;
}

body:is(:has(.fv-legal), .page-gyoumu) .service-card__button {
  min-height: 48px;
  border-radius: 6px;
  align-self: stretch;
  padding: 10px 16px;
  box-shadow: none;
}

body:is(:has(.fv-legal), .page-gyoumu) .service-card:hover {
  transform: none;
  box-shadow: 0 6px 20px rgba(30,55,80,.06);
}

body:is(:has(.fv-legal), .page-gyoumu) .feature-list {
  max-width: none;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 32px;
}

body:is(:has(.fv-legal), .page-gyoumu) .feature-card {
  min-height: 0;
  padding: 0 24px 0 0;
  border: 0;
  border-right: 1px solid var(--home-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

body:is(:has(.fv-legal), .page-gyoumu) .feature-card:last-child {
  border-right: 0;
  padding-right: 0;
}

body:is(:has(.fv-legal), .page-gyoumu) .feature-card:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--home-line);
}

body:is(:has(.fv-legal), .page-gyoumu) .feature-card::before,
body:is(:has(.fv-legal), .page-gyoumu) .feature-card::after {
  content: none;
}

body:is(:has(.fv-legal), .page-gyoumu) .feature-card__number {
  font-size: 26px;
  margin-bottom: 20px;
}

body:is(:has(.fv-legal), .page-gyoumu) .profile-card {
  display: grid;
  grid-template-columns: minmax(0,300px) minmax(0,1fr);
  gap: 12px 56px;
  max-width: none;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

body:is(:has(.fv-legal), .page-gyoumu) .profile-card__body {
  display: contents;
}

body:is(:has(.fv-legal), .page-gyoumu) .profile-card__position {
  display: none;
}

body:is(:has(.fv-legal), .page-gyoumu) .profile-card__image {
  grid-column: 1;
  grid-row: 1 / span 3;
  min-height: 0;
  width: 100%;
  max-width: 300px;
  height: auto;
  aspect-ratio: auto;
  border-radius: 8px;
  box-shadow: none;
  background: transparent;
  align-self: start;
}

body:is(:has(.fv-legal), .page-gyoumu) .profile-card__image img {
  height: auto;
  width: 100%;
  object-fit: contain;
}

body:is(:has(.fv-legal), .page-gyoumu) .profile-card__image::after {
  content: none;
}

body:is(:has(.fv-legal), .page-gyoumu) .profile-card__body > :is( p, .profile-card__name-wrap ) {
  grid-column: 2;
  margin: 0;
}

body:is(:has(.fv-legal), .page-gyoumu) .profile-card__name-wrap {
  padding-bottom: 18px;
}

body:is(:has(.fv-legal), .page-gyoumu) .profile-card__name {
  font-size: 32px;
}

body:is(:has(.fv-legal), .page-gyoumu) .profile-card__info {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  column-gap: 36px;
  margin-top: 32px;
  border-top: 1px solid var(--home-line);
}

body:is(:has(.fv-legal), .page-gyoumu) .profile-card__info-row {
  grid-template-columns: 100px minmax(0,1fr);
  gap: 16px;
  padding: 18px 0;
}

body:is(:has(.fv-legal), .page-gyoumu) .profile-card__info-row:last-child {
  grid-column: 1 / -1;
}

body:is(:has(.fv-legal), .page-gyoumu) .profile-card__info-row a[href="contact.html"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 48px;
  margin-top: 12px;
  padding: 12px 20px;
  border: 1px solid var(--header-a-blue);
  border-radius: 8px;
  background: var(--header-a-blue);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
  text-decoration: none;
  transition: background-color .2s ease,
    border-color .2s ease;
}

@media (hover:hover) {
  body:is(:has(.fv-legal), .page-gyoumu) .profile-card__info-row a[href="contact.html"]:hover {
    background: var(--header-a-blue-dark);
    border-color: var(--header-a-blue-dark);
    text-decoration: none;
  }
}

body:is(:has(.fv-legal), .page-gyoumu) .flow-section {
  border-top: 1px solid var(--home-line);
}

body:is(:has(.fv-legal), .page-gyoumu) .flow-list {
  max-width: 880px;
  margin: 0 auto;
  grid-template-columns: 1fr;
  gap: 0;
}

body:is(:has(.fv-legal), .page-gyoumu) .flow-list::before {
  content: none;
}

body:is(:has(.fv-legal), .page-gyoumu) .flow-card {
  display: grid;
  grid-template-columns: 48px 190px minmax(0,1fr);
  gap: 24px;
  padding: 26px 0;
  align-items: center;
  text-align: left;
  border-bottom: 1px solid var(--home-line);
}

body:is(:has(.fv-legal), .page-gyoumu) .flow-card:first-child {
  border-top: 1px solid var(--home-line);
}

body:is(:has(.fv-legal), .page-gyoumu) .flow-card__number {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  width: 48px;
  height: 48px;
  margin: 0;
  border-radius: 8px;
  color: var(--header-a-blue);
  background: var(--home-soft);
  font-size: 22px;
  box-shadow: none;
}

body:is(:has(.fv-legal), .page-gyoumu) .flow-card__body {
  display: contents;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

body:is(:has(.fv-legal), .page-gyoumu) .flow-card__title {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  font-size: 20px;
  margin: 0;
}

body:is(:has(.fv-legal), .page-gyoumu) .flow-card__text {
  grid-column: 3;
  grid-row: 1;
  margin: 0;
}

body:is(:has(.fv-legal), .page-gyoumu) .faq-list {
  max-width: 880px;
  margin: 0 auto;
}

body:is(:has(.fv-legal), .page-gyoumu) .card-accordion {
  margin: 0 0 14px;
}

body:is(:has(.fv-legal), .page-gyoumu) .card-accordion-btn {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 22px 58px 22px 24px;
  font-size: 16px;
  border-radius: 8px;
  box-shadow: none;
}

body:is(:has(.fv-legal), .page-gyoumu) .card-accordion-btn:hover {
  transform: none;
  box-shadow: none;
}

body:is(:has(.fv-legal), .page-gyoumu) .card-accordion.is-open .card-accordion-btn {
  border-radius: 8px 8px 0 0;
  box-shadow: none;
}

body:is(:has(.fv-legal), .page-gyoumu) .card-accordion-inner {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 20px 24px 24px 60px;
  border-radius: 0 0 8px 8px;
  box-shadow: none;
}

body:is(:has(.fv-legal), .page-gyoumu) .card-accordion-text::before,
body:is(:has(.fv-legal), .page-gyoumu) .card-accordion-inner::before {
  font-size: 14px;
}

body:is(:has(.fv-legal), .page-gyoumu) .qa-more__btn {
  min-height: 48px;
  border-radius: 8px;
  box-shadow: none;
}

body:is(:has(.fv-legal), .page-gyoumu) .contact-section {
  background: #fff;
  border-top: 1px solid var(--home-line);
}

body:is(:has(.fv-legal), .page-gyoumu) .contact-section::before,
body:is(:has(.fv-legal), .page-gyoumu) .contact-section::after {
  content: none;
}

body:is(:has(.fv-legal), .page-gyoumu) .contact-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 960px;
  margin: 0 auto;
  padding: 40px;
  background: #fff;
  border: 1px solid var(--home-line);
  border-radius: 8px;
  box-shadow: none;
  backdrop-filter: none;
}

body:is(:has(.fv-legal), .page-gyoumu) .contact-card__main {
  align-items: center;
  text-align: center;
}

body:is(:has(.fv-legal), .page-gyoumu) .contact-card__label {
  align-self: center;
  border: 0;
  border-radius: 4px;
}

body:is(:has(.fv-legal), .page-gyoumu) .contact-card__title {
  font-size: 28px;
  letter-spacing: .025em;
}

body:is(:has(.fv-legal), .page-gyoumu) .contact-card__text {
  max-width: 720px;
  text-align: left;
}

body:is(:has(.fv-legal), .page-gyoumu) .contact-card__buttons {
  width: 100%;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 16px;
}

body:is(:has(.fv-legal), .page-gyoumu) .contact-card__btn {
  min-height: 56px;
  padding: 12px;
  border-radius: 6px;
  letter-spacing: 0;
  box-shadow: none;
}

body:is(:has(.fv-legal), .page-gyoumu) .contact-card__btn--form {
  background: var(--header-a-blue);
}

body:is(:has(.fv-legal), .page-gyoumu) .contact-card__btn--line {
  background: #087f3c;
  border-color: #087f3c;
}

body:is(:has(.fv-legal), .page-gyoumu) .contact-card__btn--line .contact-card__btn-icon {
  font-size: 14px;
  color: #087f3c;
}

body:is(:has(.fv-legal), .page-gyoumu) .contact-card__btn:hover {
  transform: none;
  box-shadow: none;
}

body:is(:has(.fv-legal), .page-gyoumu) .contact-card__info {
  padding: 28px 0 0;
  border: 0;
  border-top: 1px solid var(--home-line);
  border-radius: 0;
  background: transparent;
}

body:is(:has(.fv-legal), .page-gyoumu) .contact-info-list {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 0 32px;
}

body:is(:has(.fv-legal), .page-gyoumu) .contact-info-list__row {
  grid-template-columns: 1fr;
  gap: 6px;
  padding: 14px 0;
  border-bottom: 1px solid var(--home-line);
}

body:is(:has(.fv-legal), .page-gyoumu) .contact-info-list__row:first-child {
  padding-top: 14px;
}

body:is(:has(.fv-legal), .page-gyoumu) .contact-card__note {
  color: var(--home-muted);
}

.site-footer {
  background: #fff;
}

.site-footer__inner {
  padding-top: 64px;
  padding-bottom: 28px;
}

.site-footer__content {
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: 64px;
}

.site-footer__nav {
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.site-footer__menu-wrap {
  gap: 24px;
}

.site-footer__menu + .site-footer__menu {
  padding-left: 24px;
}

.site-footer__menu a {
  font-weight: 400;
  word-break: normal;
  overflow-wrap: anywhere;
}

@media (min-width:769px) and (max-width:1199px) {
  .header-a__main {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    gap: 12px 24px;
  }

  .header-a__brand {
    min-width: 0;
  }

  .header-a__contact {
    grid-column: 2;
    grid-row: 1;
  }

  .header-a__nav {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
  }

  .header-a__nav-list {
    justify-content: center;
    gap: 32px;
  }
}

@media (min-width:769px) {
  .header-a__nav.is-fully-closed {
    visibility: visible;
  }

  .service-dropdown {
    position: absolute;
    left: 50%;
    max-width: calc(100vw - 64px);
    top: 100%;
  }

  .header-a__nav-item--has-menu {
    position: static;
  }
}

@media (min-width:769px) and (max-width:1024px) {
  body:is(:has(.fv-legal), .page-gyoumu) {
    --home-space: 72px;
  }

  body:is(:has(.fv-legal), .page-gyoumu) .fv-legal__content {
    gap: 28px;
    min-height: 440px;
  }

  body:is(:has(.fv-legal), .page-gyoumu) .fv-legal__title {
    font-size: 30px;
  }

  body:is(:has(.fv-legal), .page-gyoumu) .fv-legal__photo {
    height: 360px;
  }

  body:is(:has(.fv-legal), .page-gyoumu) .service-list {
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 24px;
  }

  body:is(:has(.fv-legal), .page-gyoumu) .service-card:nth-child(4):nth-last-child(2) {
    grid-column: span 2;
  }

  body:is(:has(.fv-legal), .page-gyoumu) .service-card:last-child:nth-child(odd) {
    grid-column: 2 / span 2;
  }

  body:is(:has(.fv-legal), .page-gyoumu) .feature-list {
    gap: 24px;
  }

  body:is(:has(.fv-legal), .page-gyoumu) .feature-card {
    padding-right: 16px;
  }

  body:is(:has(.fv-legal), .page-gyoumu) .profile-card {
    grid-template-columns: minmax(0,.55fr) minmax(0,1.45fr);
    column-gap: 32px;
  }

  body:is(:has(.fv-legal), .page-gyoumu) .profile-card__image {
    max-width: 220px;
  }

  body:is(:has(.fv-legal), .page-gyoumu) .profile-card__info {
    grid-template-columns: 1fr;
  }

  .site-footer__content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width:1024px) {
  body:is(:has(.fv-legal), .page-gyoumu) .flow-card {
    grid-template-columns: 48px minmax(0,1fr);
    gap: 10px 24px;
  }

  body:is(:has(.fv-legal), .page-gyoumu) .flow-card__text {
    grid-column: 2;
    grid-row: 2;
  }
}

@media (max-width:768px) {
  body:is(:has(.fv-legal), .page-gyoumu) {
    --home-gutter: 20px;
    --home-space: 64px;
    padding-top: var(--header-offset);
    padding-bottom: calc(76px + env(safe-area-inset-bottom,0px));
  }

  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
  }

  .header-a__main {
    min-height: 72px;
    padding: 12px 16px;
    gap: 10px;
  }

  .header-a__brand {
    flex: 1 1 auto;
    min-width: 0;
  }

  .header-a__logo {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }

  .header-a__brand-link {
    gap: 8px;
  }

  .header-a__name {
    font-size: 18px;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    letter-spacing: .02em;
  }

  .header-a__sub {
    display: none;
  }

  .header-a__sp-contact {
    display: none;
  }

  .header-a__nav {
    padding: 84px 20px 28px;
    background: var(--home-soft);
  }

  .header-a__nav-list {
    display: block;
  }

  .header-a__nav-list a {
    white-space: normal;
  }

  .header-a__nav-item--sp-contact {
    display: block;
  }

  .header-a__menu {
    width: 44px;
    height: 44px;
    z-index: 1103;
  }

  .service-dropdown__inner {
    padding: 8px;
  }

  .service-dropdown__item {
    padding: 12px;
  }

  body:is(:has(.fv-legal), .page-gyoumu) .section-heading__ja {
    font-size: 25px;
    letter-spacing: .025em;
  }

  body:is(:has(.fv-legal), .page-gyoumu) .section-heading {
    margin-bottom: 32px;
  }

  body:is(:has(.fv-legal), .page-gyoumu) .section-heading__lead {
    margin-top: 18px;
  }

  body:is(:has(.fv-legal), .page-gyoumu) .fv-legal__content {
    display: flex;
    flex-direction: column;
    min-height: 0;
    gap: 28px;
    padding: 28px 0;
  }

  body:is(:has(.fv-legal), .page-gyoumu) .fv-legal__photo {
    order: 1;
    height: auto;
    aspect-ratio: 4 / 3;
  }

  body:is(:has(.fv-legal), .page-gyoumu) .fv-legal__text {
    order: 2;
    width: 100%;
  }

  body:is(:has(.fv-legal), .page-gyoumu) .fv-legal__title {
    font-size: 28px;
    line-height: 1.65;
  }

  body:is(:has(.fv-legal), .page-gyoumu) .fv-legal__label {
    font-size: 16px;
    margin-bottom: 12px;
  }

  body:is(:has(.fv-legal), .page-gyoumu) .fv-legal__lead {
    max-width: none;
  }

  body:is(:has(.fv-legal), .page-gyoumu) .fv-legal__btn {
    width: 100%;
    min-width: 0;
  }

  body:is(:has(.fv-legal), .page-gyoumu) .fv-legal__points {
    grid-template-columns: 1fr;
  }

  body:is(:has(.fv-legal), .page-gyoumu) .fv-legal__point {
    min-height: 72px;
    justify-content: flex-start;
    padding: 16px 4px;
    border-right: 0;
    border-bottom: 1px solid var(--home-line);
  }

  body:is(:has(.fv-legal), .page-gyoumu) .fv-legal__point:last-child {
    border-bottom: 0;
  }

  body:is(:has(.fv-legal), .page-gyoumu) .service-list {
    grid-template-columns: minmax(0,1fr);
    gap: 24px;
    max-width: 520px;
    margin: 0 auto;
  }

  body:is(:has(.fv-legal), .page-gyoumu) .service-card,
  body:is(:has(.fv-legal), .page-gyoumu) .service-card:nth-child(4):nth-last-child(2) {
    grid-column: auto;
  }

  body:is(:has(.fv-legal), .page-gyoumu) .service-card__body {
    padding: 22px;
  }

  body:is(:has(.fv-legal), .page-gyoumu) .feature-list {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  body:is(:has(.fv-legal), .page-gyoumu) .feature-card {
    padding: 0 0 28px;
    border-right: 0;
    border-bottom: 1px solid var(--home-line);
  }

  body:is(:has(.fv-legal), .page-gyoumu) .feature-card:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }

  body:is(:has(.fv-legal), .page-gyoumu) .feature-card__number {
    margin-bottom: 14px;
  }

  body:is(:has(.fv-legal), .page-gyoumu) .profile-card {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  body:is(:has(.fv-legal), .page-gyoumu) .profile-card__image {
    grid-column: auto;
    grid-row: auto;
    width: 85%;
    max-width: 260px;
    margin: 0 auto;
  }

  body:is(:has(.fv-legal), .page-gyoumu) .profile-card__body {
    display: flex;
    padding: 0;
    gap: 16px;
  }

  body:is(:has(.fv-legal), .page-gyoumu) .profile-card__name {
    font-size: 28px;
  }

  body:is(:has(.fv-legal), .page-gyoumu) .profile-card__info {
    grid-template-columns: 1fr;
    margin-top: 8px;
  }

  body:is(:has(.fv-legal), .page-gyoumu) .profile-card__info-row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 16px 0;
  }

  body:is(:has(.fv-legal), .page-gyoumu) .profile-card__info-row a[href="contact.html"] {
    width: 100%;
    padding: 12px 16px;
  }

  body:is(:has(.fv-legal), .page-gyoumu) .flow-card {
    grid-template-columns: 40px minmax(0,1fr);
    gap: 10px 14px;
    padding: 22px 0;
  }

  body:is(:has(.fv-legal), .page-gyoumu) .flow-card__number {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  body:is(:has(.fv-legal), .page-gyoumu) .card-accordion-btn {
    padding: 18px 44px 18px 16px;
  }

  body:is(:has(.fv-legal), .page-gyoumu) .card-accordion-text {
    padding-left: 32px;
    padding-right: 0;
  }

  body:is(:has(.fv-legal), .page-gyoumu) .card-accordion-icon {
    right: 16px;
  }

  body:is(:has(.fv-legal), .page-gyoumu) .card-accordion-inner {
    padding: 18px 16px 22px 48px;
  }

  body:is(:has(.fv-legal), .page-gyoumu) .card-accordion-inner::before {
    left: 16px;
  }

  body:is(:has(.fv-legal), .page-gyoumu) .contact-card {
    padding: 24px 20px;
    gap: 24px;
  }

  body:is(:has(.fv-legal), .page-gyoumu) .contact-card__title {
    font-size: 24px;
  }

  body:is(:has(.fv-legal), .page-gyoumu) .contact-card__buttons {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  body:is(:has(.fv-legal), .page-gyoumu) .contact-info-list {
    grid-template-columns: 1fr;
  }

  .site-footer__inner {
    padding-top: 48px;
  }

  .site-footer__content {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .site-footer__name {
    font-size: 20px;
  }

  .site-footer__menu-wrap {
    gap: 16px;
  }

  .site-footer__menu + .site-footer__menu {
    padding-left: 16px;
  }

  .site-footer__info-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  #sp-fixed-cta {
    display: block !important;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom,0px));
  }

  #sp-fixed-cta .sp-fixed-cta__link {
    min-height: 54px;
    background: var(--header-a-blue);
    border: 0;
    border-radius: 8px;
    box-shadow: none;
  }

  #sp-fixed-cta .sp-fixed-cta__label {
    font-size: 16px;
    white-space: normal;
  }

  #sp-fixed-cta .sp-fixed-cta__link::before {
    content: none;
  }
}

@media (max-width:359px) {
  body:is(:has(.fv-legal), .page-gyoumu) .fv-legal__title {
    font-size: 26px;
  }

  .header-a__name {
    font-size: 17px;
  }

  .site-footer__menu-wrap {
    grid-template-columns: 1fr;
  }

  .site-footer__menu + .site-footer__menu {
    padding: 20px 0 0;
    border-left: 0;
    border-top: 1px solid var(--home-line);
  }
}

@media (prefers-reduced-motion:reduce) {
  body:is(:has(.fv-legal), .page-gyoumu) *,
  body:is(:has(.fv-legal), .page-gyoumu) *::before,
  body:is(:has(.fv-legal), .page-gyoumu) *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* 事務所案内：新しいデザイン */

body:has(.office-page) {
  --office-frame: #c7d1e2;
  --office-shadow: 0 8px 22px rgba(40,61,107,.06);
}

body:has(.office-page) .office-page {
  color: var(--home-text,#293746);
  background: #fff;
}

body:has(.office-page) .office-section {
  padding: 72px 0;
}

body:has(.office-page) .office-inner,
body:has(.office-page) .fee-breadcrumb__inner {
  width: 100%;
  max-width: 1184px;
  margin: 0 auto;
  padding-right: 32px;
  padding-left: 32px;
}

body:has(.office-page) .fee-breadcrumb__inner {
  padding-top: 24px;
  padding-bottom: 0;
}

body:has(.office-page) .fee-breadcrumb__list {
  font-size: 14px;
  line-height: 1.7;
}

body:has(.office-page) .office-overview-section {
  padding-top: 48px;
  background: #fff;
}

body:has(.office-page) .office-heading {
  max-width: 880px;
  margin: 0 auto 36px;
  text-align: center;
}

body:has(.office-page) .office-heading__en {
  font-size: 14px;
  line-height: 1.7;
  color: var(--header-a-blue,#354e85);
}

body:has(.office-page) .office-heading__ja {
  font-size: 32px;
  line-height: 1.6;
  letter-spacing: .04em;
  color: var(--home-text,#293746);
}

body:has(.office-page) .office-heading__line {
  width: 40px;
  height: 2px;
  margin: 16px auto 0;
  background: var(--header-a-blue,#354e85);
}

body:has(.office-page) .office-heading__lead {
  max-width: 800px;
  margin: 20px auto 0;
  text-align: center;
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: .025em;
  color: var(--home-muted,#52606d);
}

body:has(.office-page) .office-overview-box {
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--office-frame);
  border-radius: 8px;
  box-shadow: var(--office-shadow);
}

body:has(.office-page) .office-overview-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

body:has(.office-page) .office-overview-table th,
body:has(.office-page) .office-overview-table td {
  padding: 20px 24px;
  border-bottom: 1px solid var(--home-line,#e3eaf0);
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: .02em;
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}

body:has(.office-page) .office-overview-table th {
  width: 180px;
  border-right: 1px solid var(--office-frame);
  background: var(--home-soft,#fafcfe);
  color: var(--header-a-blue,#354e85);
}

body:has(.office-page) .office-overview-table td {
  background: #fff;
  color: var(--home-text,#293746);
}

body:has(.office-page) .office-overview-table tr:last-child th,
body:has(.office-page) .office-overview-table tr:last-child td {
  border-bottom: 0;
}

body:has(.office-page) .office-consult-section {
  background: var(--home-soft,#fafcfe);
}

body:has(.office-page) .office-consult-list {
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 24px;
}

body:has(.office-page) .office-consult-card {
  min-height: 0;
  padding: 28px 24px;
  border: 1px solid var(--office-frame);
  border-radius: 8px;
  box-shadow: var(--office-shadow);
}

body:has(.office-page) .office-consult-card__icon {
  width: 56px;
  height: 56px;
  background: var(--home-soft,#fafcfe);
  border: 1px solid var(--office-frame);
  box-shadow: none;
}

body:has(.office-page) .office-consult-card__icon svg {
  width: 32px;
  height: 32px;
}

body:has(.office-page) .office-consult-card__title {
  font-family: "Noto Sans JP","Yu Gothic",sans-serif;
  font-size: 21px;
  line-height: 1.6;
  letter-spacing: .025em;
}

body:has(.office-page) .office-consult-card__text {
  font-size: 16px;
  line-height: 1.85;
  color: var(--home-muted,#52606d);
}

@media (max-width:1024px) {
  body:has(.office-page) .office-consult-list {
    grid-template-columns: 1fr;
    max-width: 880px;
    margin: 0 auto;
  }
}

@media (max-width:768px) {
  body:has(.office-page) .office-section {
    padding: 56px 0;
  }

  body:has(.office-page) .office-overview-section {
    padding-top: 32px;
  }

  body:has(.office-page) .office-inner,
  body:has(.office-page) .fee-breadcrumb__inner {
    padding-right: 20px;
    padding-left: 20px;
  }

  body:has(.office-page) .office-heading__ja {
    font-size: 25px;
  }

  body:has(.office-page) .office-heading {
    margin-bottom: 28px;
  }

  body:has(.office-page) .office-overview-table,
  body:has(.office-page) .office-overview-table tbody,
  body:has(.office-page) .office-overview-table tr,
  body:has(.office-page) .office-overview-table th,
  body:has(.office-page) .office-overview-table td {
    display: block;
    width: 100%;
  }

  body:has(.office-page) .office-overview-table {
    border-spacing: 0;
  }

  body:has(.office-page) .office-overview-table tr {
    margin: 0;
    padding: 18px;
    border: 0;
    border-bottom: 1px solid var(--home-line,#e3eaf0);
    border-radius: 0;
    background: #fff;
    box-shadow: none;
  }

  body:has(.office-page) .office-overview-table tr:last-child {
    border-bottom: 0;
  }

  body:has(.office-page) .office-overview-table th,
  body:has(.office-page) .office-overview-table td {
    padding: 0;
    border: 0;
    background: transparent;
  }

  body:has(.office-page) .office-overview-table th {
    margin-bottom: 6px;
  }

  body:has(.office-page) .office-consult-card {
    padding: 24px 20px;
  }
}

/* ご相談の流れ：新しいデザイン */

body:has(.flow-page) .flow-page {
  color: #293746;
  background: #fff;
  font-size: 16px;
  line-height: 1.85;
  --flow-border: #c7d1e2;
}

body:has(.flow-page) .flow-page .flow-inner,
body:has(.flow-page) .fee-breadcrumb__inner {
  width: 100%;
  max-width: 1184px;
  margin: 0 auto;
  padding: 0 32px;
}

body:has(.flow-page) .fee-breadcrumb {
  background: #fff;
}

body:has(.flow-page) .fee-breadcrumb__inner {
  padding-top: 24px;
  padding-bottom: 0;
}

body:has(.flow-page) .fee-breadcrumb__list {
  font-size: 14px;
  flex-wrap: wrap;
}

body:has(.flow-page) .flow-page .flow-section {
  padding: 72px 0;
}

body:has(.flow-page) .flow-page .flow-page-heading {
  padding: 48px 0 0;
  text-align: center;
}

body:has(.flow-page) .flow-page .flow-intro-section {
  padding-top: 40px;
  background: #fff;
}

body:has(.flow-page) .flow-page .flow-heading {
  max-width: 880px;
  margin: 0 auto 36px;
  text-align: center;
}

body:has(.flow-page) .flow-page :is(.flow-heading__en,.flow-small-label) {
  margin: 0 0 8px;
  color: #354e85;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .14em;
}

body:has(.flow-page) .flow-page .flow-heading__ja {
  margin: 0;
  color: #293746;
  font-size: 32px;
  line-height: 1.6;
  letter-spacing: .04em;
}

body:has(.flow-page) .flow-page .flow-heading__line {
  display: block;
  width: 40px;
  height: 2px;
  margin: 16px auto 0;
  background: #354e85;
}

body:has(.flow-page) .flow-page :is(.flow-heading__lead,.section-heading__lead) {
  max-width: 800px;
  margin: 22px auto 0;
  text-align: center;
  color: #52606d;
  font-size: 16px;
  line-height: 1.85;
}

body:has(.flow-page) .flow-page .flow-intro-box {
  display: grid;
  grid-template-columns: minmax(0,340px) minmax(0,1fr);
  align-items: center;
  gap: 40px;
  padding: 32px;
  border: 1px solid var(--flow-border);
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
}

body:has(.flow-page) .flow-page .flow-intro-box__image {
  width: 100%;
  height: auto;
  margin: 0;
  aspect-ratio: 4 / 3;
  border: 0;
  border-radius: 6px;
}

body:has(.flow-page) .flow-page .flow-intro-box__image::after {
  content: none;
}

body:has(.flow-page) .flow-page :is(.flow-intro-box__title,.flow-case-box__title) {
  margin: 0 0 16px;
  color: #293746;
  font-size: 24px;
  line-height: 1.7;
  letter-spacing: .025em;
}

body:has(.flow-page) .flow-page :is(.flow-intro-box__text,.flow-step-card__text,.flow-prepare-card__text,.flow-case-box__text) {
  color: #52606d;
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: .025em;
}

body:has(.flow-page) .flow-page .flow-timeline-section {
  background: #fafcfe;
}

body:has(.flow-page) .flow-page .flow-timeline {
  max-width: 880px;
  margin: 0 auto;
  gap: 20px;
}

body:has(.flow-page) .flow-page .flow-timeline::before {
  content: none;
}

body:has(.flow-page) .flow-page .flow-step-card {
  display: grid;
  grid-template-columns: 64px minmax(0,1fr);
  gap: 12px 24px;
  align-items: center;
  padding: 28px 32px;
  background: #fff;
  border: 1px solid var(--flow-border);
  border-radius: 8px;
}

body:has(.flow-page) .flow-page .flow-step-card__label {
  position: static;
  inset: auto;
  z-index: auto;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  grid-column: 1;
  grid-row: 1;
  width: 64px;
  height: 64px;
  border: 0;
  border-radius: 8px;
  background: #354e85;
  box-shadow: none;
}

body:has(.flow-page) .flow-page .flow-step-card__step {
  font-family: "Noto Sans JP","Yu Gothic",sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: .08em;
}

body:has(.flow-page) .flow-page .flow-step-card__number {
  font-family: "Noto Serif JP","Yu Mincho","Hiragino Mincho ProN",serif;
  font-size: 26px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

body:has(.flow-page) .flow-page .flow-step-card__body {
  display: contents;
}

body:has(.flow-page) .flow-page .flow-step-card::after {
  content: none;
  display: none;
}

body:has(.flow-page) .flow-page .flow-step-card__body::before {
  content: none;
}

body:has(.flow-page) .flow-page .flow-step-card__title {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  display: block;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
  color: #293746;
  font-family: "Noto Sans JP",sans-serif;
  font-size: 22px;
  line-height: 1.6;
  letter-spacing: .025em;
}

body:has(.flow-page) .flow-page .flow-step-card__text {
  grid-column: 2;
  grid-row: 2;
  margin: 0;
}

body:has(.flow-page) .flow-page .flow-prepare-section {
  background: #fff;
}

body:has(.flow-page) .flow-page .flow-prepare-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 24px;
}

body:has(.flow-page) .flow-page .flow-prepare-card {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--flow-border);
  border-radius: 8px;
  box-shadow: none;
}

body:has(.flow-page) .flow-page .flow-prepare-card__title {
  min-height: 3.2em;
  margin: 0 0 16px;
  padding: 0;
  color: #293746;
  font-family: "Noto Sans JP",sans-serif;
  font-size: 20px;
  line-height: 1.6;
  letter-spacing: 0;
}

body:has(.flow-page) .flow-page .flow-prepare-card__title::before {
  content: none;
}

body:has(.flow-page) .flow-page .flow-prepare-card__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  margin: 0 0 20px;
  border: 0;
  border-radius: 6px;
}

body:has(.flow-page) .flow-page .flow-prepare-card__image img {
  transform: none;
}

body:has(.flow-page) .flow-page .flow-prepare-note {
  padding: 16px 20px;
  margin: 24px 0 0;
  background: #fafcfe;
  border-left: 3px solid #354e85;
  color: #52606d;
  font-size: 14px;
  line-height: 1.8;
}

body:has(.flow-page) .flow-page .flow-case-section {
  padding-top: 0;
  background: #fff;
}

body:has(.flow-page) .flow-page .flow-case-box {
  max-width: 880px;
  margin: 0 auto;
  padding: 32px;
  background: #fafcfe;
  border: 1px solid var(--flow-border);
  border-radius: 8px;
  box-shadow: none;
}

body:has(.flow-page) .flow-page .faq-section {
  padding: 72px 0;
  background: #fafcfe;
}

body:has(.flow-page) .flow-page .faq-list {
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
}

@media (max-width:1024px) {
  body:has(.flow-page) .flow-page .flow-intro-box {
    grid-template-columns: minmax(0,30%) minmax(0,1fr);
    gap: 28px;
    padding: 28px;
  }

  body:has(.flow-page) .flow-page .flow-prepare-grid {
    gap: 16px;
  }

  body:has(.flow-page) .flow-page .flow-prepare-card {
    padding: 20px;
  }
}

@media (max-width:768px) {
  body:has(.flow-page) .flow-page .flow-inner,
  body:has(.flow-page) .fee-breadcrumb__inner {
    padding-right: 20px;
    padding-left: 20px;
  }

  body:has(.flow-page) .flow-page :is(.flow-section,.faq-section) {
    padding: 56px 0;
  }

  body:has(.flow-page) .flow-page .flow-page-heading {
    padding-top: 32px;
  }

  body:has(.flow-page) .flow-page .flow-intro-section {
    padding-top: 28px;
  }


  body:has(.flow-page) .flow-page .flow-heading {
    margin-bottom: 28px;
  }

  body:has(.flow-page) .flow-page .flow-heading__ja {
    font-size: 25px;
  }

  body:has(.flow-page) .flow-page .flow-intro-box {
    grid-template-columns: 1fr;
    padding: 24px 20px;
    gap: 24px;
  }

  body:has(.flow-page) .flow-page .flow-intro-box__image {
    max-width: 400px;
    margin: 0 auto;
  }

  body:has(.flow-page) .flow-page :is(.flow-intro-box__title,.flow-case-box__title) {
    font-size: 21px;
  }

  body:has(.flow-page) .flow-page .flow-step-card {
    grid-template-columns: 48px minmax(0,1fr);
    padding: 20px 16px;
    gap: 12px;
  }

  body:has(.flow-page) .flow-page .flow-step-card__label {
    width: 48px;
    height: 48px;
    border-radius: 6px;
  }

  body:has(.flow-page) .flow-page .flow-step-card__step {
    margin: 0 0 2px;
    font-size: 14px;
    line-height: 1.1;
    letter-spacing: 0;
  }

  body:has(.flow-page) .flow-page .flow-step-card__number {
    font-size: 20px;
    line-height: 1;
  }

  body:has(.flow-page) .flow-page .flow-step-card__title {
    font-size: 18px;
    line-height: 1.5;
  }

  body:has(.flow-page) .flow-page .flow-step-card__text {
    grid-column: 1 / -1;
    min-width: 0;
    margin: 0;
    padding: 14px 0 0;
    border-top: 1px solid var(--flow-border);
  }

  body:has(.flow-page) .flow-page .flow-prepare-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  body:has(.flow-page) .flow-page .flow-prepare-card {
    padding: 24px 20px;
  }

  body:has(.flow-page) .flow-page .flow-prepare-card__title {
    min-height: 0;
  }

  body:has(.flow-page) .flow-page .flow-prepare-card__image {
    max-width: 320px;
    margin: 0 auto 20px;
  }

  body:has(.flow-page) .flow-page .flow-case-section {
    padding-top: 0;
  }

  body:has(.flow-page) .flow-page .flow-case-box {
    padding: 24px 20px;
  }
}

body:has(.flow-page) .wrapper,
body:has(.flow-page) .container {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  background: #fff;
}

body:has(.office-page) .wrapper,
body:has(.office-page) .container {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  background: #fff;
}

/* ========================================
   gyoumu.html
   ページタイトル・流れを flow.html と統一
======================================== */

.service-detail-page {
  --flow-border: #c7d1e2;
}

/* ========================================
   共通幅
======================================== */

.service-detail-page .flow-inner,
body:has(.service-detail-page) .fee-breadcrumb__inner {
  width: 100%;
  max-width: 1184px;
  margin: 0 auto;
  padding-right: 32px;
  padding-left: 32px;
}


/* ========================================
   パンくず
======================================== */

body:has(.service-detail-page) .fee-breadcrumb {
  background: #fff;
}

body:has(.service-detail-page) .fee-breadcrumb__inner {
  padding-top: 24px;
  padding-bottom: 0;
}

body:has(.service-detail-page) .fee-breadcrumb__list {
  font-size: 14px;
  flex-wrap: wrap;
}


/* ========================================
   ページタイトル
======================================== */

.service-detail-page .flow-page-heading {
  padding: 48px 0 0;
  text-align: center;
}


/* ========================================
   見出し共通
======================================== */

.service-detail-page .flow-heading {
  max-width: 880px;
  margin: 0 auto 36px;
  text-align: center;
}

.service-detail-page .flow-heading__en {
  margin: 0 0 8px;
  color: #354e85;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.service-detail-page .flow-heading__ja {
  margin: 0;
  color: #293746;
  font-family:
    "Noto Serif JP",
    "Yu Mincho",
    "Hiragino Mincho ProN",
    "MS PMincho",
    serif;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.04em;
}

.service-detail-page .flow-heading__line {
  display: block;
  width: 40px;
  height: 2px;
  margin: 16px auto 0;
  background: #354e85;
  border-radius: 999px;
}

.service-detail-page .flow-heading__lead {
  max-width: 800px;
  margin: 22px auto 0;
  color: #52606d;
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: 0.03em;
  text-align: center;
}


/* ========================================
   流れセクション
======================================== */

.service-detail-page .flow-section {
  padding: 72px 0;
}

.service-detail-page .flow-timeline-section {
  background: #fafcfe;
}


/* ========================================
   STEP一覧
======================================== */

.service-detail-page .flow-timeline {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  display: grid;
  gap: 20px;
}

.service-detail-page .flow-timeline::before {
  content: none;
}


/* ========================================
   STEPカード
======================================== */

.service-detail-page .flow-step-card {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 12px 24px;
  align-items: center;
  padding: 28px 32px;
  background: #fff;
  border: 1px solid var(--flow-border);
  border-radius: 8px;
}

.service-detail-page .flow-step-card::after {
  content: none;
  display: none;
}


/* ========================================
   STEP番号
======================================== */

.service-detail-page .flow-step-card__label {
  position: static;
  inset: auto;
  z-index: auto;

  grid-column: 1;
  grid-row: 1;

  width: 64px;
  height: 64px;

  margin: 0;
  padding: 0;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  color: #fff;
  background: #354e85;

  border: 0;
  border-radius: 8px;
  box-shadow: none;
}

.service-detail-page .flow-step-card__step {
  display: block;
  margin: 0 0 4px;

  font-family:
    "Noto Sans JP",
    "Yu Gothic",
    sans-serif;

  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.08em;
}

.service-detail-page .flow-step-card__number {
  display: block;

  font-family:
    "Noto Serif JP",
    "Yu Mincho",
    "Hiragino Mincho ProN",
    serif;

  font-size: 26px;
  font-weight: 600;
  line-height: 1;

  font-variant-numeric: tabular-nums;
}


/* ========================================
   STEP本文
======================================== */

.service-detail-page .flow-step-card__body {
  display: contents;
}

.service-detail-page .flow-step-card__body::before {
  content: none;
}

.service-detail-page .flow-step-card__title {
  grid-column: 2;
  grid-row: 1;

  align-self: center;

  display: block;

  min-width: 0;
  min-height: 0;

  margin: 0;
  padding: 0;

  color: #293746;

  font-family:
    "Noto Sans JP",
    sans-serif;

  font-size: 22px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.025em;
}

.service-detail-page .flow-step-card__text {
  grid-column: 2;
  grid-row: 2;

  margin: 0;

  color: #52606d;

  font-size: 16px;
  line-height: 1.85;
  letter-spacing: 0.025em;
}


/* ========================================
   スマホ
======================================== */

@media (max-width: 768px) {

  .service-detail-page .flow-inner,
  body:has(.service-detail-page) .fee-breadcrumb__inner {
    padding-right: 20px;
    padding-left: 20px;
  }

  .service-detail-page .flow-page-heading {
    padding-top: 32px;
  }

  .service-detail-page .flow-section {
    padding: 56px 0;
  }

  .service-detail-page .flow-heading {
    margin-bottom: 28px;
  }

  .service-detail-page .flow-heading__ja {
    font-size: 25px;
  }

  .service-detail-page .flow-heading__lead {
    font-size: 16px;
    line-height: 1.8;
  }

  .service-detail-page .flow-step-card {
    grid-template-columns: 48px minmax(0, 1fr);

    padding: 20px 16px;

    gap: 12px;
  }

  .service-detail-page .flow-step-card__label {
    width: 48px;
    height: 48px;

    border-radius: 6px;
  }

  .service-detail-page .flow-step-card__step {
    margin: 0 0 2px;

    font-size: 14px;
    line-height: 1.1;
    letter-spacing: 0.03em;
  }

  .service-detail-page .flow-step-card__number {
    font-size: 20px;
    line-height: 1;
  }

  .service-detail-page .flow-step-card__title {
    font-size: 18px;
    line-height: 1.5;
  }

  .service-detail-page .flow-step-card__text {
    grid-column: 1 / -1;

    min-width: 0;

    margin: 0;
    padding: 14px 0 0;

    border-top: 1px solid var(--flow-border);

    font-size: 16px;
    line-height: 1.8;
  }

}


/* ========================================
   420px以下
======================================== */

@media (max-width: 420px) {

  .service-detail-page .flow-inner,
  body:has(.service-detail-page) .fee-breadcrumb__inner {
    padding-right: 16px;
    padding-left: 16px;
  }

  .service-detail-page .flow-page-heading {
    padding-top: 28px;
  }

  .service-detail-page .flow-heading__en {
    font-size: 14px;
  }

  .service-detail-page .flow-heading__ja {
    font-size: 23px;
    line-height: 1.5;
  }

  .service-detail-page .flow-heading__lead {
    margin-top: 18px;
    font-size: 16px;
  }

  .service-detail-page .flow-step-card {
    padding: 18px 14px;
  }

  .service-detail-page .flow-step-card__title {
    font-size: 17px;
  }

  .service-detail-page .flow-step-card__text {
    font-size: 16px;
  }

}

/* ========================================
   gyoumu.html
   お悩み一覧のアイコンをチェックマークに統一
======================================== */

.service-detail-page .service-detail-icon-list .service-detail-icon {
  position: relative !important;

  flex: 0 0 30px !important;
  width: 30px !important;
  height: 30px !important;

  margin: 0 !important;
  padding: 0 !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  background: #354e85 !important;
  background-image: none !important;

  border: none !important;
  border-radius: 50% !important;

  box-shadow: none !important;

  mask: none !important;
  -webkit-mask: none !important;
}


/* ========================================
   元の各アイコンを完全にリセット
   チェックマークを表示
======================================== */

.service-detail-page
.service-detail-icon-list
.service-detail-icon::before {
  content: "✓" !important;

  position: static !important;

  inset: auto !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;

  width: auto !important;
  height: auto !important;

  margin: 0 !important;
  padding: 0 !important;

  display: block !important;

  background: transparent !important;

  border: none !important;
  border-radius: 0 !important;

  box-shadow: none !important;

  color: #ffffff !important;

  font-family:
    "Noto Sans JP",
    "Yu Gothic",
    "メイリオ",
    sans-serif !important;

  font-size: 17px !important;
  font-weight: 700 !important;
  line-height: 1 !important;

  transform: none !important;
}


/* 元アイコンのafterを完全に消す */

.service-detail-page
.service-detail-icon-list
.service-detail-icon::after {
  content: none !important;

  display: none !important;

  position: static !important;

  width: 0 !important;
  height: 0 !important;

  background: none !important;
  border: none !important;
  box-shadow: none !important;
}


/* ========================================
   スマホ
======================================== */

@media (max-width: 768px) {

  .service-detail-page
  .service-detail-icon-list
  .service-detail-icon {
    flex: 0 0 26px !important;
    width: 26px !important;
    height: 26px !important;
  }

  .service-detail-page
  .service-detail-icon-list
  .service-detail-icon::before {
    font-size: 15px !important;
  }

}

/* ========================================
   gyoumu.html
   お悩み一覧のアイコンを check.png に変更
======================================== */

.service-detail-page .service-detail-icon-list .service-detail-icon {
  flex: 0 0 30px !important;
  width: 30px !important;
  height: 30px !important;

  margin: 0 !important;
  padding: 0 !important;

  background-color: transparent !important;
  background-image: url("../images/check.png") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: contain !important;

  border: none !important;
  border-radius: 0 !important;

  box-shadow: none !important;
}

/* これまでCSSで作っていたアイコンを消す */
.service-detail-page .service-detail-icon-list .service-detail-icon::before,
.service-detail-page .service-detail-icon-list .service-detail-icon::after {
  content: none !important;
  display: none !important;
}


/* ========================================
   スマホ
======================================== */

@media (max-width: 768px) {

  .service-detail-page .service-detail-icon-list .service-detail-icon {
    flex: 0 0 26px !important;
    width: 26px !important;
    height: 26px !important;
  }

}



/* ========================================
   gyoumu.html
   古物商許可 導入セクション
   写真なしデザイン
======================================== */

.service-detail-page .service-detail-intro-section {
  padding: 80px 0;
  background: #f7f9fc;
}


/* ========================================
   全体
======================================== */

.service-detail-page .service-intro-clean {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 58px 64px 0;

  box-sizing: border-box;

  background: #ffffff;

  border: 1px solid #d9e2ec;

  box-shadow:
    0 12px 30px rgba(35, 55, 80, 0.045);
}


/* ========================================
   見出し
======================================== */

.service-detail-page .service-intro-clean__header {
  max-width: 800px;
  margin: 0 auto 32px;

  text-align: center;
}


.service-detail-page .service-intro-clean__en {
  margin: 0 0 10px;

  color: #354e85;

  font-family:
    "Noto Sans JP",
    "Yu Gothic",
    sans-serif;

  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.18em;

  text-transform: uppercase;
}


.service-detail-page .service-intro-clean__title {
  margin: 0;

  color: #293746;

  font-family:
    "Noto Serif JP",
    "Yu Mincho",
    "Hiragino Mincho ProN",
    "MS PMincho",
    serif;

  font-size: 29px;
  font-weight: 600;
  line-height: 1.7;
  letter-spacing: 0.045em;
}


.service-detail-page .service-intro-clean__line {
  display: block;

  width: 42px;
  height: 2px;

  margin: 18px auto 0;

  background: #354e85;
}


/* ========================================
   本文
======================================== */

.service-detail-page .service-intro-clean__body {
  max-width: 760px;
  margin: 0 auto 42px;
}


.service-detail-page .service-intro-clean__body p {
  margin: 0;

  color: #55616e;

  font-family:
    "Noto Sans JP",
    "Yu Gothic",
    sans-serif;

  font-size: 16px;
  font-weight: 400;
  line-height: 2;
  letter-spacing: 0.025em;
}


.service-detail-page
.service-intro-clean__body
p + p {
  margin-top: 15px;
}


/* ========================================
   3つのポイント
======================================== */

.service-detail-page .service-intro-clean__points {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  border-top: 1px solid #d9e2ec;
  border-bottom: 1px solid #d9e2ec;
}


.service-detail-page .service-intro-clean__point {
  position: relative;

  padding: 30px 28px 32px;

  box-sizing: border-box;

  text-align: center;
}


.service-detail-page
.service-intro-clean__point
+ .service-intro-clean__point {
  border-left: 1px solid #d9e2ec;
}


/* 番号 */

.service-detail-page .service-intro-clean__number {
  display: block;

  margin: 0;

  color: #354e85;

  font-family:
    "Noto Serif JP",

    "Yu Mincho",
    "Hiragino Mincho ProN",
    serif;

  font-size: 28px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.04em;
}


/* 番号下のライン */

.service-detail-page .service-intro-clean__point-line {
  display: block;

  width: 26px;
  height: 1px;

  margin: 14px auto 15px;

  background: #8fa4c3;
}


/* ポイントタイトル */

.service-detail-page .service-intro-clean__point-title {
  margin: 0;

  color: #293746;

  font-family:
    "Noto Serif JP",
    "Yu Mincho",
    "Hiragino Mincho ProN",
    serif;

  font-size: 18px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.035em;
}


/* ポイント説明 */

.service-detail-page .service-intro-clean__point-text {
  margin: 10px 0 0;

  color: #687480;

  font-family:
    "Noto Sans JP",
    "Yu Gothic",
    sans-serif;

  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
}


/* ========================================
   下部案内
======================================== */

.service-detail-page .service-intro-clean__note {
  margin: 0 -64px;

  padding: 28px 40px 30px;

  background: #eef4fa;

  text-align: center;
}


.service-detail-page .service-intro-clean__note-label {
  margin: 0 0 7px;

  color: #4c79a7;

  font-family:
    "Noto Sans JP",
    "Yu Gothic",
    sans-serif;

  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.1em;
}


.service-detail-page .service-intro-clean__note-title {
  margin: 0;

  color: #293746;

  font-family:
    "Noto Serif JP",
    "Yu Mincho",
    "Hiragino Mincho ProN",
    serif;

  font-size: 20px;
  font-weight: 600;
  line-height: 1.65;
  letter-spacing: 0.035em;
}


.service-detail-page .service-intro-clean__note-text {
  margin: 8px 0 0;

  color: #5f6c79;

  font-family:
    "Noto Sans JP",
    "Yu Gothic",
    sans-serif;

  font-size: 14px;
  line-height: 1.8;
}


/* ========================================
   900px以下
======================================== */

@media (max-width: 900px) {

  .service-detail-page .service-intro-clean {
    padding-right: 44px;
    padding-left: 44px;
  }


  .service-detail-page .service-intro-clean__note {
    margin-right: -44px;
    margin-left: -44px;
  }


  .service-detail-page .service-intro-clean__point {
    padding-right: 20px;
    padding-left: 20px;
  }

}


/* ========================================
   スマホ
======================================== */

@media (max-width: 768px) {

  .service-detail-page .service-detail-intro-section {
    padding: 52px 0;
  }


  .service-detail-page .service-intro-clean {
    padding:
      36px
      22px
      0;
  }


  /* PC用改行を解除 */
  .service-detail-page
  .service-intro-clean__pc-break {
    display: none;
  }


  .service-detail-page .service-intro-clean__header {
    margin-bottom: 25px;
  }


  .service-detail-page .service-intro-clean__en {
    margin-bottom: 8px;

    font-size: 14px;
  }


  .service-detail-page .service-intro-clean__title {
    font-size: 23px;
    line-height: 1.65;
  }


  .service-detail-page .service-intro-clean__line {
    width: 36px;

    margin-top: 15px;
  }


  .service-detail-page .service-intro-clean__body {
    margin-bottom: 32px;
  }


  .service-detail-page .service-intro-clean__body p {
    font-size: 16px;
    line-height: 1.9;
  }


  /* ポイントを縦並び */
  .service-detail-page .service-intro-clean__points {
    grid-template-columns: 1fr;
  }


  .service-detail-page .service-intro-clean__point {
    display: grid;

    grid-template-columns:
      50px
      minmax(0, 1fr);

    grid-template-rows: auto auto;

    gap: 3px 15px;

    align-items: center;

    padding: 20px 4px;

    text-align: left;
  }


  .service-detail-page
  .service-intro-clean__point
  + .service-intro-clean__point {
    border-left: 0;
    border-top: 1px solid #d9e2ec;
  }


  .service-detail-page .service-intro-clean__number {
    grid-column: 1;
    grid-row: 1 / 3;

    font-size: 24px;

    text-align: center;
  }


  .service-detail-page .service-intro-clean__point-line {
    display: none;
  }


  .service-detail-page .service-intro-clean__point-title {
    grid-column: 2;
    grid-row: 1;

    font-size: 17px;
  }


  .service-detail-page .service-intro-clean__point-text {
    grid-column: 2;
    grid-row: 2;

    margin: 2px 0 0;

    font-size: 16px;
    line-height: 1.65;
  }


  .service-detail-page .service-intro-clean__note {
    margin:
      0
      -22px;

    padding:
      24px
      20px
      26px;
  }


  .service-detail-page .service-intro-clean__note-title {
    font-size: 18px;
    line-height: 1.6;
  }


  .service-detail-page .service-intro-clean__note-text {
    font-size: 14px;
    line-height: 1.75;
  }

}


/* ========================================
   420px以下
======================================== */

@media (max-width: 420px) {

  .service-detail-page .service-intro-clean {
    padding-right: 18px;
    padding-left: 18px;
  }


  .service-detail-page .service-intro-clean__title {
    font-size: 21px;
  }


  .service-detail-page .service-intro-clean__point {
    grid-template-columns:
      43px
      minmax(0, 1fr);

    gap:
      3px
      12px;

    padding-top: 18px;
    padding-bottom: 18px;
  }


  .service-detail-page .service-intro-clean__number {
    font-size: 21px;
  }


  .service-detail-page .service-intro-clean__point-title {
    font-size: 16px;
  }


  .service-detail-page .service-intro-clean__note {
    margin-right: -18px;
    margin-left: -18px;

    padding-right: 16px;
    padding-left: 16px;
  }


  .service-detail-page .service-intro-clean__note-title {
    font-size: 17px;
  }

}


/* ========================================
   gyoumu.html
   古物商許可申請 導入
   既存デザインに統一
======================================== */


/* ========================================
   セクション全体
======================================== */

.service-detail-page .service-detail-intro-section {
  width: 100%;

  padding: 34px 0 78px;

  background: #ffffff;
}


/* ========================================
   導入文章
======================================== */

.service-detail-page .service-intro-clean__body {
  width: 100%;
  max-width: 820px;

  margin: 0 auto;
}


.service-detail-page .service-intro-clean__body p {
  margin: 0;

  color: var(--service-text, #333333);

  font-family:
    "Noto Sans JP",
    "Yu Gothic",
    "メイリオ",
    sans-serif;

  font-size: 16px;
  font-weight: 400;
  line-height: 1.9;

  letter-spacing: 0.03em;
}


.service-detail-page
.service-intro-clean__body
p + p {
  margin-top: 16px;
}


/* ========================================
   3つのサポート内容
======================================== */

.service-detail-page .service-intro-clean__points {
  width: 100%;
  max-width: 960px;

  margin: 42px auto 0;

  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  border-top:
    1px solid var(
      --service-border,
      rgba(117, 174, 221, 0.32)
    );

  border-bottom:
    1px solid var(
      --service-border,
      rgba(117, 174, 221, 0.32)
    );
}


/* 各項目 */

.service-detail-page .service-intro-clean__point {
  min-width: 0;

  padding: 30px 28px;

  display: flex;

  gap: 18px;

  align-items: flex-start;

  box-sizing: border-box;
}


.service-detail-page
.service-intro-clean__point
+ .service-intro-clean__point {
  border-left:
    1px solid var(
      --service-border,
      rgba(117, 174, 221, 0.32)
    );
}


/* ========================================
   番号
======================================== */

.service-detail-page .service-intro-clean__number {
  flex: 0 0 auto;

  display: block;

  margin-top: 2px;

  color: var(--service-blue-dark, #5A99CC);

  font-family:
    "Noto Serif JP",
    "Yu Mincho",
    "Hiragino Mincho ProN",
    "MS PMincho",
    serif;

  font-size: 32px;
  font-weight: 700;
  line-height: 1;

  letter-spacing: 0.04em;
}


/* ========================================
   ポイント本文
======================================== */

.service-detail-page .service-intro-clean__point-body {
  min-width: 0;
}


.service-detail-page .service-intro-clean__point-title {
  margin: 0;

  color: var(--service-heading, #2f4861);

  font-family:
    "Noto Serif JP",
    "Yu Mincho",
    "Hiragino Mincho ProN",
    "MS PMincho",
    serif;

  font-size: 21px;
  font-weight: 700;
  line-height: 1.55;

  letter-spacing: 0.05em;
}


.service-detail-page .service-intro-clean__point-text {
  margin: 10px 0 0;

  color: var(--service-text, #333333);

  font-family:
    "Noto Sans JP",
    "Yu Gothic",
    "メイリオ",
    sans-serif;

  font-size: 16px;
  font-weight: 400;
  line-height: 1.85;

  letter-spacing: 0.04em;
}


/* ========================================
   初めての方への案内
======================================== */

.service-detail-page .service-intro-clean__note {
  width: 100%;
  max-width: 920px;

  margin: 36px auto 0;

  padding: 28px 32px;

  box-sizing: border-box;

  background:
    var(--service-blue-pale, #F7FBFE);

  border-left:
    4px solid var(--service-blue, #75AEDD);
}


/* ラベル */

.service-detail-page
.service-intro-clean__note-label {
  margin: 0 0 8px;

  color:
    var(--service-blue-dark, #5A99CC);

  font-family:
    "Noto Sans JP",
    "Yu Gothic",
    "メイリオ",
    sans-serif;

  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;

  letter-spacing: 0.12em;
}


/* 見出し */

.service-detail-page
.service-intro-clean__note-title {
  margin: 0 0 12px;

  color:
    var(--service-heading, #2f4861);

  font-family:
    "Noto Serif JP",
    "Yu Mincho",
    "Hiragino Mincho ProN",
    "MS PMincho",
    serif;

  font-size: 23px;
  font-weight: 600;
  line-height: 1.6;

  letter-spacing: 0.04em;
}


/* 説明 */

.service-detail-page
.service-intro-clean__note-text {
  margin: 0;

  color:
    var(--service-text, #333333);

  font-family:
    "Noto Sans JP",
    "Yu Gothic",
    "メイリオ",
    sans-serif;

  font-size: 14px;
  font-weight: 400;
  line-height: 1.9;

  letter-spacing: 0.04em;
}


/* ========================================
   タブレット
======================================== */

@media (max-width: 900px) {

  .service-detail-page
  .service-intro-clean__point {
    padding-right: 20px;
    padding-left: 20px;

    gap: 14px;
  }


  .service-detail-page
  .service-intro-clean__number {
    font-size: 28px;
  }


  .service-detail-page
  .service-intro-clean__point-title {
    font-size: 19px;
  }

}


/* ========================================
   スマホ
======================================== */

@media (max-width: 767px) {

  .service-detail-page
  .service-detail-intro-section {
    padding: 26px 0 58px;
  }


  /* 導入文章 */

  .service-detail-page
  .service-intro-clean__body {
    max-width: 100%;
  }


  .service-detail-page
  .service-intro-clean__body p {
    font-size: 16px;
    line-height: 1.85;
  }


  /* ========================================
     3項目
  ======================================== */

  .service-detail-page
  .service-intro-clean__points {
    max-width: 100%;

    margin-top: 32px;

    grid-template-columns: 1fr;
  }


  .service-detail-page
  .service-intro-clean__point {
    padding: 22px 0;

    gap: 14px;
  }


  .service-detail-page
  .service-intro-clean__point
  + .service-intro-clean__point {
    border-left: 0;

    border-top:
      1px solid var(
        --service-border,
        rgba(117, 174, 221, 0.32)
      );
  }


  .service-detail-page
  .service-intro-clean__number {
    flex: 0 0 44px;

    width: 44px;

    font-size: 27px;

    text-align: left;
  }


  .service-detail-page

  .service-intro-clean__point-title {
    font-size: 20px;
    line-height: 1.55;
  }


  .service-detail-page
  .service-intro-clean__point-text {
    margin-top: 7px;

    font-size: 16px;
    line-height: 1.8;
  }


  /* ========================================
     最後の案内
  ======================================== */

  .service-detail-page
  .service-intro-clean__note {
    max-width: 100%;

    margin-top: 28px;

    padding: 22px 20px;
  }


  .service-detail-page
  .service-intro-clean__note-label {
    font-size: 14px;
  }


  .service-detail-page
  .service-intro-clean__note-title {
    font-size: 21px;
    line-height: 1.6;
  }


  .service-detail-page
  .service-intro-clean__note-text {
    font-size: 14px;
    line-height: 1.85;
  }

}


/* ========================================
   420px以下
======================================== */

@media (max-width: 420px) {

  .service-detail-page
  .service-intro-clean__point {
    gap: 10px;
  }


  .service-detail-page
  .service-intro-clean__number {
    flex-basis: 40px;

    width: 40px;

    font-size: 25px;
  }


  .service-detail-page
  .service-intro-clean__point-title {
    font-size: 19px;
  }


  .service-detail-page
  .service-intro-clean__note {
    padding: 20px 18px;
  }


  .service-detail-page
  .service-intro-clean__note-title {
    font-size: 20px;
  }

}


/* =========================================================
   gyoumu.html
   取扱業務詳細ページ
   デザイン・余白・レスポンシブ統一版
========================================================= */


/* =========================================================
   01. ページ全体
========================================================= */

.service-detail-page,
.service-detail-page *,
.service-detail-page *::before,
.service-detail-page *::after {
  box-sizing: border-box;
}


.service-detail-page {
  --service-blue: #75AEDD;
  --service-blue-dark: #5A99CC;
  --service-blue-light: #EEF7FC;
  --service-blue-pale: #F7FBFE;

  --service-navy: #354e85;

  --service-heading: #293746;
  --service-text: #333333;
  --service-muted: #52606d;

  --service-border: rgba(117, 174, 221, 0.32);
  --service-border-strong: #c7d1e2;

  width: 100%;

  background: #ffffff;

  color: var(--service-text);

  font-family:
    "Noto Sans JP",
    "Yu Gothic",
    "メイリオ",
    sans-serif;

  font-size: 16px;
  line-height: 1.85;
}


/* =========================================================
   02. 共通幅
========================================================= */

.service-detail-page .service-detail-inner,
.service-detail-page .flow-inner,
body:has(.service-detail-page) .fee-breadcrumb__inner {
  width: 100%;
  max-width: 1184px;

  margin-right: auto;
  margin-left: auto;

  padding-right: 32px;
  padding-left: 32px;
}


/* =========================================================
   03. パンくず
========================================================= */

body:has(.service-detail-page) .fee-breadcrumb {
  width: 100%;

  background: #ffffff;
}


body:has(.service-detail-page) .fee-breadcrumb__inner {
  padding-top: 24px;
  padding-bottom: 0;
}


body:has(.service-detail-page) .fee-breadcrumb__list {
  flex-wrap: wrap;

  font-size: 14px;
  line-height: 1.7;
}


/* =========================================================
   04. ページタイトル
========================================================= */

.service-detail-page .flow-page-heading {
  width: 100%;

  padding: 48px 0 0;

  background: #ffffff;

  text-align: center;
}


.service-detail-page .flow-page-heading .flow-inner {
  max-width: 1184px;
}


/* 英語 */

.service-detail-page .flow-page-heading .flow-heading__en {
  margin: 0 0 8px;

  color: var(--service-navy);

  font-family:
    "Noto Sans JP",
    "Yu Gothic",
    sans-serif;

  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;

  letter-spacing: 0.14em;

  text-transform: uppercase;
}


/* H1 */

.service-detail-page .flow-page-heading .flow-heading__ja {
  margin: 0;


  color: var(--service-heading);

  font-family:
    "Noto Serif JP",
    "Yu Mincho",
    "Hiragino Mincho ProN",
    "MS PMincho",
    serif;

  font-size: 32px;
  font-weight: 600;
  line-height: 1.6;

  letter-spacing: 0.04em;
}


/* ライン */

.service-detail-page .flow-page-heading .flow-heading__line {
  display: block;

  width: 52px;
  height: 2px;

  margin: 16px auto 0;

  background: linear-gradient(
    90deg,
    rgba(53, 78, 133, 0) 0%,
    var(--service-navy) 18%,
    var(--service-navy) 82%,
    rgba(53, 78, 133, 0) 100%
  );

  border-radius: 999px;
}


/* リード */

.service-detail-page .flow-page-heading .flow-heading__lead {
  width: 100%;
  max-width: 760px;

  margin: 20px auto 0;

  color: var(--service-muted);

  font-size: 16px;
  font-weight: 400;
  line-height: 1.85;

  letter-spacing: 0.03em;

  text-align: center;
}


/* =========================================================
   05. 共通セクション
========================================================= */

.service-detail-page .service-detail-section {
  width: 100%;

  padding: 72px 0;

  background: #ffffff;
}


/* =========================================================
   06. 共通見出し
========================================================= */

.service-detail-page .service-detail-heading {
  width: 100%;
  max-width: 880px;

  margin: 0 auto 36px;

  text-align: center;
}


/* 英語見出し */

.service-detail-page .service-detail-heading__en {
  margin: 0 0 8px;

  color: var(--service-blue-dark);

  font-family:
    "Noto Sans JP",
    "Yu Gothic",
    sans-serif;

  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;

  letter-spacing: 0.18em;

  text-transform: uppercase;
}


/* 日本語見出し */

.service-detail-page .service-detail-heading__ja {
  margin: 0;

  color: var(--service-heading);

  font-family:
    "Noto Serif JP",
    "Yu Mincho",
    "Hiragino Mincho ProN",
    "MS PMincho",
    serif;

  font-size: 28px;
  font-weight: 600;
  line-height: 1.6;

  letter-spacing: 0.045em;
}


/* ライン */

.service-detail-page .service-detail-heading__line {
  display: block;

  width: 52px;
  height: 2px;

  margin: 16px auto 0;

  background: linear-gradient(
    90deg,
    rgba(117, 174, 221, 0) 0%,
    var(--service-blue) 18%,
    var(--service-blue) 82%,
    rgba(117, 174, 221, 0) 100%
  );

  border-radius: 999px;
}


/* 見出し下説明 */

.service-detail-page .service-detail-heading__lead {
  width: 100%;
  max-width: 680px;

  margin: 18px auto 0;

  color: var(--service-muted);

  font-size: 16px;
  font-weight: 400;
  line-height: 1.85;

  letter-spacing: 0.03em;

  text-align: left;
}


/* =========================================================
   07. 導入
========================================================= */

.service-detail-page .service-detail-intro-section {
  width: 100%;

  padding: 36px 0 72px;

  background: #ffffff;
}


/* 導入文章 */

.service-detail-page .service-intro-clean__body {
  width: 100%;
  max-width: 820px;

  margin: 0 auto;
}


.service-detail-page .service-intro-clean__body p {
  margin: 0;

  color: var(--service-text);

  font-family:
    "Noto Sans JP",
    "Yu Gothic",
    "メイリオ",
    sans-serif;

  font-size: 16px;
  font-weight: 400;
  line-height: 1.9;

  letter-spacing: 0.03em;
}


.service-detail-page
.service-intro-clean__body
p + p {
  margin-top: 16px;
}


/* =========================================================
   導入：3つのポイント
========================================================= */

.service-detail-page .service-intro-clean__points {
  width: 100%;
  max-width: 960px;

  margin: 40px auto 0;

  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  border-top: 1px solid var(--service-border);
  border-bottom: 1px solid var(--service-border);
}


.service-detail-page .service-intro-clean__point {
  min-width: 0;

  padding: 28px 26px;

  display: flex;

  gap: 17px;

  align-items: flex-start;
}


.service-detail-page
.service-intro-clean__point
+ .service-intro-clean__point {
  border-left: 1px solid var(--service-border);
}


/* 番号 */

.service-detail-page .service-intro-clean__number {
  flex: 0 0 auto;

  display: block;

  margin-top: 2px;

  color: var(--service-blue-dark);

  font-family:
    "Noto Serif JP",
    "Yu Mincho",
    "Hiragino Mincho ProN",
    "MS PMincho",
    serif;

  font-size: 30px;
  font-weight: 700;
  line-height: 1;

  letter-spacing: 0.04em;
}


.service-detail-page .service-intro-clean__point-body {
  min-width: 0;
}


/* タイトル */

.service-detail-page .service-intro-clean__point-title {
  margin: 0;

  color: var(--service-heading);

  font-family:
    "Noto Serif JP",
    "Yu Mincho",
    "Hiragino Mincho ProN",
    "MS PMincho",
    serif;

  font-size: 20px;
  font-weight: 700;
  line-height: 1.55;

  letter-spacing: 0.04em;
}


/* 本文 */

.service-detail-page .service-intro-clean__point-text {
  margin: 8px 0 0;

  color: var(--service-text);

  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;

  letter-spacing: 0.035em;
}


/* =========================================================
   導入：安心メッセージ
========================================================= */

.service-detail-page .service-intro-clean__note {
  width: 100%;
  max-width: 920px;

  margin: 34px auto 0;

  padding: 26px 30px;

  background: var(--service-blue-pale);

  border-left: 4px solid var(--service-blue);
}


.service-detail-page .service-intro-clean__note-label {
  margin: 0 0 7px;

  color: var(--service-blue-dark);

  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;

  letter-spacing: 0.1em;
}


.service-detail-page .service-intro-clean__note-title {
  margin: 0 0 10px;

  color: var(--service-heading);

  font-family:
    "Noto Serif JP",
    "Yu Mincho",
    "Hiragino Mincho ProN",
    "MS PMincho",
    serif;

  font-size: 22px;
  font-weight: 600;
  line-height: 1.6;

  letter-spacing: 0.04em;
}


.service-detail-page .service-intro-clean__note-text {
  margin: 0;

  color: var(--service-text);

  font-size: 14px;
  font-weight: 400;
  line-height: 1.85;

  letter-spacing: 0.035em;
}


/* =========================================================
   08. お悩み
========================================================= */

.service-detail-page .service-detail-worry-section {
  background: #fafcfe;
}


.service-detail-page .service-detail-icon-list {
  width: 100%;
  max-width: 920px;

  margin: 0 auto;
  padding: 0;

  list-style: none;

  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  column-gap: 34px;

  border-top: 1px solid var(--service-border);
}


.service-detail-page .service-detail-icon-list li {
  min-width: 0;

  padding: 18px 0;

  display: flex;

  align-items: center;

  gap: 13px;

  border-bottom: 1px solid var(--service-border);

  color: var(--service-text);

  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;

  letter-spacing: 0.035em;
}


/* check.png */

.service-detail-page
.service-detail-icon-list
.service-detail-icon {
  flex: 0 0 30px !important;

  width: 30px !important;
  height: 30px !important;

  margin: 0 !important;
  padding: 0 !important;

  background-color: transparent !important;
  background-image: url("../images/check.png") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: contain !important;

  border: 0 !important;
  border-radius: 0 !important;

  box-shadow: none !important;
}


.service-detail-page
.service-detail-icon-list
.service-detail-icon::before,
.service-detail-page
.service-detail-icon-list
.service-detail-icon::after {
  content: none !important;

  display: none !important;
}


/* =========================================================
   お悩み：相談案内
========================================================= */

.service-detail-page .service-detail-worry-consult {
  width: 100%;
  max-width: 920px;

  margin: 32px auto 0;

  padding: 26px 30px;

  background: var(--service-blue-pale);

  border-left: 4px solid var(--service-blue);
}


.service-detail-page
.service-detail-worry-consult__label {
  margin: 0 0 7px;

  color: var(--service-blue-dark);

  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;

  letter-spacing: 0.1em;
}


.service-detail-page
.service-detail-worry-consult__title {
  margin: 0 0 10px;

  color: var(--service-heading);

  font-family:
    "Noto Serif JP",
    "Yu Mincho",
    "Hiragino Mincho ProN",
    "MS PMincho",
    serif;

  font-size: 22px;
  font-weight: 600;
  line-height: 1.6;

  letter-spacing: 0.04em;
}


.service-detail-page
.service-detail-worry-consult__text {
  margin: 0;

  color: var(--service-text);

  font-size: 16px;
  font-weight: 400;
  line-height: 1.85;

  letter-spacing: 0.035em;
}


/* =========================================================
   09. サポート内容
========================================================= */

.service-detail-page .service-detail-support-section {
  background: #ffffff;
}


.service-detail-page .service-detail-support-list {
  width: 100%;
  max-width: 960px;

  margin: 0 auto;

  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  column-gap: 40px;
  row-gap: 0;
}


/* 各項目 */

.service-detail-page .service-detail-support-item {
  min-width: 0;

  padding: 28px 0 30px;

  display: grid;

  grid-template-columns:
    60px minmax(0, 1fr);

  gap: 18px;

  align-items: start;

  border-top: 1px solid var(--service-border);

  background: transparent;
}


.service-detail-page
.service-detail-support-item:nth-last-child(-n + 2) {
  border-bottom: 1px solid var(--service-border);
}


/* 番号 */

.service-detail-page
.service-detail-support-item__num-area {
  min-width: 0;

  text-align: center;
}


.service-detail-page
.service-detail-support-item__num {
  display: block;

  margin: 0;

  color: var(--service-blue-dark);

  font-family:
    "Noto Serif JP",
    "Yu Mincho",
    "Hiragino Mincho ProN",
    "MS PMincho",
    serif;

  font-size: 30px;
  font-weight: 700;
  line-height: 1;

  letter-spacing: 0.04em;
}


.service-detail-page
.service-detail-support-item__num-line {
  display: block;

  width: 26px;
  height: 1px;

  margin: 12px auto 0;

  background: var(--service-blue);
}


/* 本文 */

.service-detail-page
.service-detail-support-item__body {
  min-width: 0;
}


.service-detail-page
.service-detail-support-item__body h3 {
  margin: 0;

  color: var(--service-heading);

  font-family:
    "Noto Serif JP",
    "Yu Mincho",
    "Hiragino Mincho ProN",
    "MS PMincho",
    serif;

  font-size: 21px;
  font-weight: 700;
  line-height: 1.55;

  letter-spacing: 0.045em;
}


.service-detail-page
.service-detail-support-item__body p {
  margin: 11px 0 0;

  color: var(--service-text);

  font-size: 16px;
  font-weight: 400;
  line-height: 1.85;

  letter-spacing: 0.035em;
}


/* =========================================================
   10. 必要になるケース
========================================================= */

.service-detail-page .service-detail-case-section {
  background: #ffffff;
}


.service-detail-page .service-detail-case-list-wrap {
  width: 100%;
  max-width: 920px;

  margin: 0 auto;
}


.service-detail-page .service-detail-check-list {
  margin: 0;
  padding: 0;

  list-style: none;

  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  column-gap: 36px;

  border-top: 1px solid var(--service-border);
}


.service-detail-page
.service-detail-check-list li {
  position: relative;

  min-width: 0;

  padding: 18px 0 18px 32px;


  border-bottom: 1px solid var(--service-border);

  color: var(--service-text);

  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;

  letter-spacing: 0.035em;
}


/* チェック */

.service-detail-page
.service-detail-check-list li::before {
  content: "";

  position: absolute;

  left: 4px;
  top: 25px;

  width: 13px;
  height: 8px;

  border-left: 2px solid var(--service-blue-dark);
  border-bottom: 2px solid var(--service-blue-dark);

  transform: rotate(-45deg);
}


/* =========================================================
   Case Point
========================================================= */

.service-detail-page .service-detail-case-point {
  margin: 30px 0 0;

  padding: 22px 26px;

  background: var(--service-blue-pale);

  border-left: 4px solid var(--service-blue);
}


.service-detail-page
.service-detail-case-point__label {
  margin: 0 0 7px;

  color: var(--service-blue-dark);

  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;

  letter-spacing: 0.1em;

  text-transform: uppercase;
}


.service-detail-page
.service-detail-case-point__text {
  margin: 0;

  color: var(--service-text);

  font-size: 16px;
  line-height: 1.85;

  letter-spacing: 0.035em;
}


/* =========================================================
   11. 必要書類
========================================================= */

.service-detail-page .service-detail-document-section {
  background: #fafcfe;
}


.service-detail-page .service-detail-table-wrap {
  width: 100%;
  max-width: 920px;

  margin: 0 auto;

  overflow-x: auto;
}


.service-detail-page .service-detail-table,
.service-detail-page .service-detail-price-table {
  width: 100%;

  border-collapse: collapse;

  background: #ffffff;

  border: 1px solid var(--service-border);
}


.service-detail-page .service-detail-table th,
.service-detail-page .service-detail-table td,
.service-detail-page .service-detail-price-table th,
.service-detail-page .service-detail-price-table td {
  padding: 17px 20px;

  border: 1px solid var(--service-border);

  font-size: 16px;
  line-height: 1.8;

  letter-spacing: 0.035em;

  vertical-align: top;
}


.service-detail-page
.service-detail-table thead th,
.service-detail-page
.service-detail-price-table thead th {
  background: var(--service-blue-light);

  color: var(--service-heading);

  font-weight: 700;

  text-align: center;
}


.service-detail-page
.service-detail-table tbody th,
.service-detail-page
.service-detail-price-table tbody th {
  width: 28%;

  background: #fafdff;

  color: var(--service-heading);

  font-weight: 700;

  text-align: left;
}


.service-detail-page .service-detail-table td,
.service-detail-page .service-detail-price-table td {
  color: var(--service-text);
}


.service-detail-page
.service-detail-price-table__amount {
  color: var(--service-heading);

  font-weight: 700;

  white-space: nowrap;
}


/* =========================================================
   表下注意書き
========================================================= */

.service-detail-page .service-detail-note {
  width: 100%;
  max-width: 920px;

  margin: 20px auto 0;

  padding: 15px 18px;

  background: var(--service-blue-pale);

  border-left: 4px solid var(--service-blue);

  color: #4b5563;

  font-size: 14px;
  line-height: 1.8;

  letter-spacing: 0.03em;
}


/* =========================================================
   12. ご依頼から申請までの流れ
========================================================= */

.service-detail-page .flow-section {
  width: 100%;

  padding: 72px 0;
}


.service-detail-page .flow-timeline-section {
  background: #f8fbff;
}


/* 見出し */

.service-detail-page .flow-section .flow-heading {
  width: 100%;
  max-width: 880px;

  margin: 0 auto 36px;

  text-align: center;
}


.service-detail-page
.flow-section
.flow-heading__en {
  margin: 0 0 8px;

  color: var(--service-blue-dark);

  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;

  letter-spacing: 0.18em;

  text-transform: uppercase;
}


.service-detail-page
.flow-section
.flow-heading__ja {
  margin: 0;

  color: var(--service-heading);

  font-family:
    "Noto Serif JP",
    "Yu Mincho",
    "Hiragino Mincho ProN",
    "MS PMincho",
    serif;

  font-size: 28px;
  font-weight: 600;
  line-height: 1.6;

  letter-spacing: 0.045em;
}


.service-detail-page
.flow-section
.flow-heading__line {
  display: block;

  width: 52px;
  height: 2px;

  margin: 16px auto 0;

  background: linear-gradient(
    90deg,
    rgba(117, 174, 221, 0) 0%,
    var(--service-blue) 18%,
    var(--service-blue) 82%,
    rgba(117, 174, 221, 0) 100%
  );

  border-radius: 999px;
}


.service-detail-page
.flow-section
.flow-heading__lead {
  width: 100%;
  max-width: 680px;

  margin: 18px auto 0;

  color: var(--service-muted);

  font-size: 16px;
  line-height: 1.85;

  letter-spacing: 0.03em;

  text-align: left;
}


/* =========================================================
   STEP一覧
========================================================= */

.service-detail-page .flow-timeline {
  position: relative;

  width: 100%;
  max-width: 880px;

  margin: 0 auto;

  display: grid;

  gap: 18px;
}


.service-detail-page
.flow-timeline::before {
  content: none;
}


/* =========================================================
   STEPカード
========================================================= */

.service-detail-page .flow-step-card {
  display: grid;

  grid-template-columns:
    62px minmax(0, 1fr);

  grid-template-rows:
    auto auto;

  gap: 8px 22px;

  align-items: center;

  padding: 24px 28px;

  background: #ffffff;

  border: 1px solid var(--service-border-strong);

  border-radius: 8px;
}


.service-detail-page
.flow-step-card::after {
  content: none;

  display: none;
}


/* STEP番号 */

.service-detail-page
.flow-step-card__label {
  position: static;

  grid-column: 1;
  grid-row: 1 / 3;

  width: 62px;
  height: 62px;

  margin: 0;

  display: flex;

  flex-direction: column;

  align-items: center;
  justify-content: center;

  background: var(--service-navy);

  border: 0;
  border-radius: 7px;

  color: #ffffff;

  box-shadow: none;
}


.service-detail-page
.flow-step-card__step {
  display: block;

  margin: 0 0 3px;

  font-size: 14px;
  font-weight: 500;
  line-height: 1.1;

  letter-spacing: 0.06em;
}


.service-detail-page
.flow-step-card__number {
  display: block;

  font-family:
    "Noto Serif JP",
    "Yu Mincho",
    "Hiragino Mincho ProN",
    serif;

  font-size: 24px;
  font-weight: 600;
  line-height: 1;
}


/* body */

.service-detail-page
.flow-step-card__body {
  display: contents;
}


.service-detail-page
.flow-step-card__body::before {
  content: none;
}


.service-detail-page
.flow-step-card__title {
  grid-column: 2;
  grid-row: 1;

  margin: 0;

  color: var(--service-heading);

  font-family:
    "Noto Sans JP",
    "Yu Gothic",
    sans-serif;

  font-size: 20px;
  font-weight: 700;
  line-height: 1.55;

  letter-spacing: 0.025em;
}


.service-detail-page
.flow-step-card__text {
  grid-column: 2;
  grid-row: 2;

  margin: 0;

  color: var(--service-muted);

  font-size: 16px;
  line-height: 1.8;

  letter-spacing: 0.025em;
}


/* =========================================================
   13. 料金
========================================================= */

.service-detail-page .service-detail-price-section {
  background: #ffffff;
}


.service-detail-page
.service-detail-price-section
.service-detail-table-wrap {
  max-width: 920px;
}


/* =========================================================
   14. FAQ
========================================================= */

.service-detail-page .faq-section {
  width: 100%;

  padding: 72px 0;

  background: #ffffff;
}


.service-detail-page
.faq-section__inner {
  width: 100%;
  max-width: 1184px;

  margin: 0 auto;

  padding-right: 32px;
  padding-left: 32px;
}


/* FAQ見出しも他セクションと統一 */

.service-detail-page
.faq-section
.section-heading {
  width: 100%;
  max-width: 880px;

  margin: 0 auto 36px;

  padding: 0;

  text-align: center;
}


.service-detail-page
.faq-section
.section-heading__en {
  margin: 0 0 8px;

  color: var(--service-blue-dark);

  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;

  letter-spacing: 0.18em;
}


.service-detail-page
.faq-section
.section-heading__ja {
  margin: 0;

  color: var(--service-heading);

  font-family:
    "Noto Serif JP",
    "Yu Mincho",
    "Hiragino Mincho ProN",
    "MS PMincho",
    serif;

  font-size: 28px;
  font-weight: 600;
  line-height: 1.6;

  letter-spacing: 0.045em;
}


.service-detail-page
.faq-section
.section-heading__line {
  width: 52px;
  height: 2px;

  margin: 16px auto 0;
}


.service-detail-page
.faq-section
.section-heading__lead {
  width: 100%;
  max-width: 680px;

  margin: 18px auto 0;

  color: var(--service-muted);

  font-size: 16px;
  line-height: 1.85;

  letter-spacing: 0.03em;

  text-align: left;
}


/* FAQ一覧 */

.service-detail-page .faq-list {
  width: 100%;
  max-width: 820px;

  margin: 0 auto;
}


.service-detail-page
.card-accordion {
  margin: 0 0 14px;
}


.service-detail-page
.card-accordion:last-child {
  margin-bottom: 0;
}


.service-detail-page
.card-accordion-btn {
  width: 100%;
  max-width: none;

  margin: 0;

  padding: 17px 58px 17px 22px;

  font-size: 16px;
  line-height: 1.7;
}


/* =========================================================
   15. タブレット
========================================================= */

@media (max-width: 1024px) {

  .service-detail-page
  .service-detail-support-list {
    column-gap: 30px;
  }


  .service-detail-page
  .service-detail-support-item {
    grid-template-columns:
      54px minmax(0, 1fr);

    gap: 15px;
  }


  .service-detail-page
  .service-intro-clean__point {
    padding-right: 20px;
    padding-left: 20px;
  }

}


/* =========================================================
   16. スマホ
========================================================= */

@media (max-width: 768px) {

  /* ----------------------------------------
     共通幅
  ---------------------------------------- */

  .service-detail-page .service-detail-inner,
  .service-detail-page .flow-inner,
  .service-detail-page .faq-section__inner,
  body:has(.service-detail-page) .fee-breadcrumb__inner {
    padding-right: 20px;
    padding-left: 20px;
  }


  /* ----------------------------------------
     パンくず
  ---------------------------------------- */

  body:has(.service-detail-page)
  .fee-breadcrumb__inner {
    padding-top: 18px;
  }


  body:has(.service-detail-page)
  .fee-breadcrumb__list {
    font-size: 14px;
  }


  /* ----------------------------------------
     ページタイトル
  ---------------------------------------- */

  .service-detail-page .flow-page-heading {
    padding-top: 32px;
  }


  .service-detail-page
  .flow-page-heading
  .flow-heading__en {
    font-size: 14px;
  }


  .service-detail-page
  .flow-page-heading
  .flow-heading__ja {
    font-size: 25px;
    line-height: 1.55;
  }


  .service-detail-page
  .flow-page-heading
  .flow-heading__line {
    width: 48px;

    margin-top: 14px;
  }


  .service-detail-page
  .flow-page-heading
  .flow-heading__lead {
    max-width: 100%;

    margin-top: 16px;

    font-size: 16px;
    line-height: 1.8;
  }


  /* ----------------------------------------
     共通セクション
  ---------------------------------------- */

  .service-detail-page
  .service-detail-section {
    padding: 56px 0;
  }


  /* ----------------------------------------
     共通見出し
  ---------------------------------------- */

  .service-detail-page
  .service-detail-heading {
    margin-bottom: 28px;
  }


  .service-detail-page
  .service-detail-heading__en {
    font-size: 14px;
  }


  .service-detail-page
  .service-detail-heading__ja {
    font-size: 23px;
    line-height: 1.6;
  }


  .service-detail-page
  .service-detail-heading__line {
    width: 48px;

    margin-top: 14px;
  }


  .service-detail-page
  .service-detail-heading__lead {
    margin-top: 16px;

    font-size: 16px;
    line-height: 1.85;
  }


  /* ----------------------------------------
     導入
  ---------------------------------------- */

  .service-detail-page
  .service-detail-intro-section {
    padding: 28px 0 56px;
  }


  .service-detail-page
  .service-intro-clean__body {
    max-width: 100%;
  }


  .service-detail-page
  .service-intro-clean__body p {
    font-size: 16px;
    line-height: 1.85;
  }


  /* 3ポイント */

  .service-detail-page
  .service-intro-clean__points {
    max-width: 100%;

    margin-top: 30px;

    grid-template-columns: 1fr;
  }


  .service-detail-page
  .service-intro-clean__point {
    padding: 20px 0;

    gap: 13px;
  }


  .service-detail-page
  .service-intro-clean__point
  + .service-intro-clean__point {
    border-left: 0;

    border-top: 1px solid var(--service-border);
  }


  .service-detail-page
  .service-intro-clean__number {
    flex: 0 0 44px;

    width: 44px;

    font-size: 27px;
  }


  .service-detail-page
  .service-intro-clean__point-title {
    font-size: 19px;
  }


  .service-detail-page
  .service-intro-clean__point-text {
    margin-top: 6px;

    font-size: 16px;
    line-height: 1.8;
  }


  /* 導入note */

  .service-detail-page
  .service-intro-clean__note {
    margin-top: 28px;

    padding: 22px 20px;
  }


  .service-detail-page
  .service-intro-clean__note-title {
    font-size: 20px;
  }


  .service-detail-page
  .service-intro-clean__note-text {
    font-size: 14px;
    line-height: 1.8;
  }


  /* ----------------------------------------
     お悩み
  ---------------------------------------- */

  .service-detail-page
  .service-detail-icon-list {
    max-width: 100%;

    grid-template-columns: 1fr;

    column-gap: 0;
  }


  .service-detail-page
  .service-detail-icon-list li {
    padding: 16px 0;

    align-items: flex-start;

    gap: 11px;

    font-size: 16px;
    line-height: 1.75;
  }


  .service-detail-page
  .service-detail-icon-list
  .service-detail-icon {
    flex-basis: 26px !important;

    width: 26px !important;
    height: 26px !important;
  }


  .service-detail-page
  .service-detail-worry-consult {
    margin-top: 26px;

    padding: 22px 20px;
  }


  .service-detail-page
  .service-detail-worry-consult__title {
    font-size: 20px;
  }


  /* ----------------------------------------
     サポート
  ---------------------------------------- */

  .service-detail-page
  .service-detail-support-list {
    max-width: 100%;

    grid-template-columns: 1fr;

    column-gap: 0;
  }


  .service-detail-page
  .service-detail-support-item {
    grid-template-columns:
      48px minmax(0, 1fr);

    gap: 13px;

    padding: 22px 0;

    border-top: 1px solid var(--service-border);
    border-bottom: 0;
  }


  .service-detail-page
  .service-detail-support-item:nth-last-child(-n + 2) {
    border-bottom: 0;
  }


  .service-detail-page
  .service-detail-support-item:last-child {
    border-bottom: 1px solid var(--service-border);
  }


  .service-detail-page
  .service-detail-support-item__num {
    font-size: 27px;
  }


  .service-detail-page
  .service-detail-support-item__num-line {
    width: 23px;

    margin-top: 10px;
  }


  .service-detail-page
  .service-detail-support-item__body h3 {
    font-size: 19px;
  }


  .service-detail-page
  .service-detail-support-item__body p {
    margin-top: 8px;

    font-size: 16px;
    line-height: 1.8;
  }


  /* ----------------------------------------
     ケース
  ---------------------------------------- */

  .service-detail-page
  .service-detail-check-list {
    grid-template-columns: 1fr;

    column-gap: 0;
  }


  .service-detail-page
  .service-detail-check-list li {
    padding: 16px 0 16px 31px;

    font-size: 16px;
    line-height: 1.8;
  }


  .service-detail-page
  .service-detail-check-list li::before {
    top: 23px;
  }


  .service-detail-page
  .service-detail-case-point {
    margin-top: 26px;

    padding: 20px 18px;
  }


  /* ----------------------------------------
     表
  ---------------------------------------- */

  .service-detail-page
  .service-detail-table-wrap {
    overflow-x: visible;
  }


  .service-detail-page .service-detail-table,
  .service-detail-page .service-detail-price-table {
    display: block;

    width: 100%;

    border: 0;

    background: transparent;
  }


  .service-detail-page .service-detail-table thead,
  .service-detail-page .service-detail-price-table thead {
    display: none;
  }


  .service-detail-page .service-detail-table tbody,
  .service-detail-page .service-detail-price-table tbody {
    display: block;

    width: 100%;
  }


  .service-detail-page .service-detail-table tr,
  .service-detail-page .service-detail-price-table tr {
    display: block;

    width: 100%;

    margin: 0 0 12px;

    background: #ffffff;

    border: 1px solid var(--service-border);
  }


  .service-detail-page .service-detail-table tr:last-child,
  .service-detail-page .service-detail-price-table tr:last-child {
    margin-bottom: 0;
  }


  .service-detail-page .service-detail-table th,
  .service-detail-page .service-detail-table td,
  .service-detail-page .service-detail-price-table th,
  .service-detail-page .service-detail-price-table td {
    display: block;

    width: 100%;

    padding: 13px 15px;

    border: 0;

    font-size: 16px;
    line-height: 1.8;
  }


  .service-detail-page
  .service-detail-table tbody th,
  .service-detail-page
  .service-detail-price-table tbody th {
    width: 100%;

    background: var(--service-blue-light);

    border-bottom: 1px solid var(--service-border);
  }


  .service-detail-page
  .service-detail-price-table__amount {
    white-space: normal;
  }


  .service-detail-page
  .service-detail-note {
    margin-top: 18px;

    font-size: 14px;
    line-height: 1.75;
  }


  /* ----------------------------------------
     Flow
  ---------------------------------------- */

  .service-detail-page
  .flow-section {
    padding: 56px 0;
  }


  .service-detail-page
  .flow-section
  .flow-heading {
    margin-bottom: 28px;
  }


  .service-detail-page
  .flow-section
  .flow-heading__ja {
    font-size: 23px;
  }


  .service-detail-page
  .flow-section
  .flow-heading__lead {
    margin-top: 16px;

    font-size: 16px;
    line-height: 1.85;
  }


  .service-detail-page
  .flow-timeline {
    gap: 14px;
  }


  .service-detail-page
  .flow-step-card {
    grid-template-columns:
      48px minmax(0, 1fr);

    gap: 10px 12px;

    padding: 19px 16px;
  }


  .service-detail-page
  .flow-step-card__label {
    grid-row: 1;

    width: 48px;
    height: 48px;

    border-radius: 6px;
  }


  .service-detail-page
  .flow-step-card__step {
    margin-bottom: 2px;

    font-size: 14px;
  }


  .service-detail-page
  .flow-step-card__number {
    font-size: 19px;
  }


  .service-detail-page
  .flow-step-card__title {
    font-size: 18px;
  }


  .service-detail-page
  .flow-step-card__text {
    grid-column: 1 / -1;

    margin-top: 2px;
    padding-top: 12px;

    border-top: 1px solid var(--service-border-strong);

    font-size: 16px;
    line-height: 1.8;
  }


  /* ----------------------------------------
     FAQ
  ---------------------------------------- */

  .service-detail-page
  .faq-section {
    padding: 56px 0;
  }


  .service-detail-page
  .faq-section
  .section-heading {
    margin-bottom: 28px;
  }


  .service-detail-page
  .faq-section
  .section-heading__en {
    font-size: 14px;
  }


  .service-detail-page
  .faq-section
  .section-heading__ja {
    font-size: 23px;
  }


  .service-detail-page
  .faq-section
  .section-heading__lead {
    margin-top: 16px;

    font-size: 16px;
    line-height: 1.85;
  }


  .service-detail-page
  .card-accordion {
    margin-bottom: 12px;
  }


  .service-detail-page
  .card-accordion-btn {
    padding:
      16px
      50px
      16px
      18px;

    font-size: 16px;
  }

}


/* =========================================================
   17. 420px以下
========================================================= */

@media (max-width: 420px) {

  /* 共通幅 */

  .service-detail-page .service-detail-inner,
  .service-detail-page .flow-inner,
  .service-detail-page .faq-section__inner,
  body:has(.service-detail-page) .fee-breadcrumb__inner {
    padding-right: 16px;
    padding-left: 16px;
  }


  /* ページタイトル */

  .service-detail-page
  .flow-page-heading
  .flow-heading__ja {
    font-size: 23px;
  }


  .service-detail-page
  .flow-page-heading
  .flow-heading__lead {
    font-size: 16px;
  }


  /* 共通見出し */

  .service-detail-page
  .service-detail-heading__ja,
  .service-detail-page
  .flow-section
  .flow-heading__ja,
  .service-detail-page
  .faq-section
  .section-heading__ja {
    font-size: 21px;
  }


  /* 導入 */

  .service-detail-page
  .service-intro-clean__point {
    gap: 10px;
  }


  .service-detail-page
  .service-intro-clean__number {
    flex-basis: 40px;

    width: 40px;

    font-size: 25px;
  }


  .service-detail-page
  .service-intro-clean__point-title {
    font-size: 18px;
  }


  .service-detail-page
  .service-intro-clean__note {
    padding-right: 18px;
    padding-left: 18px;
  }


  .service-detail-page
  .service-intro-clean__note-title {
    font-size: 19px;
  }


  /* お悩み */

  .service-detail-page
  .service-detail-worry-consult {
    padding-right: 18px;
    padding-left: 18px;
  }


  .service-detail-page
  .service-detail-worry-consult__title {
    font-size: 19px;
  }


  /* サポート */

  .service-detail-page
  .service-detail-support-item {
    grid-template-columns:
      42px minmax(0, 1fr);

    gap: 10px;
  }


  .service-detail-page
  .service-detail-support-item__num {
    font-size: 25px;
  }


  .service-detail-page
  .service-detail-support-item__body h3 {
    font-size: 18px;
  }


  /* Point */

  .service-detail-page
  .service-detail-case-point {
    padding-right: 16px;
    padding-left: 16px;
  }


  /* 表 */

  .service-detail-page .service-detail-table th,
  .service-detail-page .service-detail-table td,
  .service-detail-page .service-detail-price-table th,
  .service-detail-page .service-detail-price-table td {
    padding: 12px 14px;
  }


  /* Flow */

  .service-detail-page
  .flow-step-card {
    padding: 17px 14px;
  }


  .service-detail-page
  .flow-step-card__title {
    font-size: 17px;
  }


  .service-detail-page
  .flow-step-card__text {
    font-size: 16px;
  }

}

/* ========================================
   FAQ
   質問と回答の横幅を統一
======================================== */

.service-detail-page .card-accordion {
  width: 100%;
}


.service-detail-page .card-accordion-btn {
  width: 100%;
  max-width: none;
  margin: 0;
}


.service-detail-page .card-accordion-content {
  width: 100%;
  max-width: none;
  margin: 0;
}


.service-detail-page .card-accordion-inner {
  width: 100%;
  max-width: none;

  margin: 0;

  box-sizing: border-box;
}


/* 開いたときに質問と回答を一体化 */
.service-detail-page
.card-accordion.is-open
.card-accordion-btn {
  border-radius: 8px 8px 0 0;
}


.service-detail-page
.card-accordion.is-open
.card-accordion-inner {
  border-radius: 0 0 8px 8px;
}


/* ========================================
   スマホ
======================================== */

@media (max-width: 768px) {

  .service-detail-page .card-accordion-btn,
  .service-detail-page .card-accordion-content,
  .service-detail-page .card-accordion-inner {
    width: 100%;
    max-width: none;
    margin-right: 0;
    margin-left: 0;
  }

}


/* ========================================
   420px以下
======================================== */

@media (max-width: 420px) {

  .service-detail-page .card-accordion-btn,
  .service-detail-page .card-accordion-content,
  .service-detail-page .card-accordion-inner {
    width: 100%;
  }

}

/* gyoumu.html：index.htmlの幅・セクション余白に統一 */
.page-gyoumu .wrapper,
.page-gyoumu .container {
  width: 100%;
  max-width: none;
  margin-inline: auto;
}
.page-gyoumu .service-detail-page .service-detail-inner,
.page-gyoumu .service-detail-page .flow-inner,
.page-gyoumu .service-detail-page .faq-section__inner,
.page-gyoumu .fee-breadcrumb__inner {
  width: 100%;
  max-width: var(--home-width);
  margin-inline: auto;
  padding-inline: var(--home-gutter);
  box-sizing: border-box;
}
.page-gyoumu .service-detail-page > .service-detail-section,
.page-gyoumu .service-detail-page > .flow-section,
.page-gyoumu .service-detail-page > .faq-section {
  margin-block: 0;
  padding: var(--home-space) 0;
}
.page-gyoumu .service-detail-page > .flow-page-heading {
  padding: 64px 0 0;
}
.page-gyoumu .service-detail-page > .service-detail-intro-section {
  padding: 40px 0 var(--home-space);
}
.page-gyoumu .service-detail-page .service-detail-heading,
.page-gyoumu .service-detail-page .flow-heading,
.page-gyoumu .service-detail-page .section-heading {
  margin-bottom: 40px;
}
.page-gyoumu .service-detail-page :is(.service-detail-icon-list,
.service-detail-support-list, .service-detail-check-list,
.service-detail-table-wrap, .flow-timeline) {
  width: 100%;
  max-width: none;
  margin-inline: auto;
}
.page-gyoumu .service-detail-page img {
  max-width: 100%;
}
@media (max-width: 768px) {
  .page-gyoumu .service-detail-page .service-detail-inner,
  .page-gyoumu .service-detail-page .flow-inner,
  .page-gyoumu .service-detail-page .faq-section__inner,
  .page-gyoumu .fee-breadcrumb__inner {
    padding-inline: var(--home-gutter);
  }
  .page-gyoumu .service-detail-page > .service-detail-section,
  .page-gyoumu .service-detail-page > .flow-section,
  .page-gyoumu .service-detail-page > .faq-section {
    padding: var(--home-space) 0;
  }
  .page-gyoumu .service-detail-page > .flow-page-heading {
    padding: 36px 0 0;
  }
  .page-gyoumu .service-detail-page > .service-detail-intro-section {
    padding: 28px 0 var(--home-space);
  }
  .page-gyoumu .service-detail-page .service-detail-heading,
  .page-gyoumu .service-detail-page .flow-heading,
  .page-gyoumu .service-detail-page .section-heading {
    margin-bottom: 32px;
  }
}

/* 導入部分：写真と文章の2カラム */
.page-gyoumu .service-detail-page .service-intro-clean__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(28px, 4vw, 48px);
  width: 100%;
  margin: 0 auto;
}
.page-gyoumu .service-detail-page .service-intro-clean__photo {
  min-width: 0;
  margin: 0;
}
.page-gyoumu .service-detail-page .service-intro-clean__photo img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}
.page-gyoumu .service-detail-page .service-intro-clean__layout .service-intro-clean__body {
  width: 100%;
  min-width: 0;
  max-width: none;
  margin: 0;
  text-align: left;
  overflow-wrap: anywhere;
}
@media (max-width: 768px) {
  .page-gyoumu .service-detail-page .service-intro-clean__layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
}


/* スマホでは非表示：パソコンのみ改行 */
br.sp-br {
  display: none;
}

@media (max-width: 768px) {
  /* パソコン用の改行を非表示 */
  br.pc-br {
    display: none;
  }

  /* スマホ用の改行を表示 */
  br.sp-br {
    display: revert;
  }
}
/* 共通ヘッダー・フッターの文字と内側の幅 */
.site-footer__inner {
  width: 100%;
  max-width: var(--home-width);
  margin: 0 auto;
  padding-right: var(--home-gutter);
  padding-left: var(--home-gutter);
}

.site-footer__lead {
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: .025em;
  color: var(--home-muted);
}

.site-footer__info-row :is(dt,dd) {
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: .02em;
}

.header-a__sub,
.service-dropdown__text,
.site-footer__copy {
  font-size: 14px;
  line-height: 1.7;
}

.header-a__nav-list a,
.header-a__nav-menu-button,
.header-a__cta,
.site-footer__menu a,
.service-dropdown__label {
  font-size: 16px;
}

@media (max-width: 768px) {
  /* 固定CTAがフッターに重ならないよう、全ページで下部余白を確保 */
  body {
    padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
  }

  .site-footer {
    --home-gutter: 20px;
  }
}


/* 注釈本文は、親要素の中央揃えを引き継がない */
.service-detail-page .service-intro-clean__note-text {
  font-size: 14px;
  text-align: left;
}
