@charset "utf-8";
:root {
  --text-color: #111;
  --primary-color: #063885;
  --primary-background-color: #F2F5F8;
  --line-color: #06C755;
  --facebook-color: #0866FF;
  --swiper-pagination-color: #FFF;
  --swiper-pagination-bullet-inactive-color: transparent;
  --swiper-pagination-bullet-horizontal-gap: 5px;
  --swiper-pagination-bullet-size: 7px;
  --swiper-pagination-bullet-inactive-opacity: 1;
  --block-30px: clamp(20px, 16.08px + 1.09vw, 30px);
  --block-40px: calc(var(--block-30px) * 4 / 3);
  --block-50px: calc(var(--block-30px) * 5 / 3);
  --block-25px: calc(var(--block-50px) / 2);
  --block-60px: calc(var(--block-30px) * 2);
  --block-70px: calc(var(--block-30px) * 7 / 3);
  --block-35px: calc(var(--block-70px) / 2);
  --block-80px: calc(var(--block-30px) * 8 / 3);
  --block-90px: calc(var(--block-30px) * 3);
  --block-45px: calc(var(--block-90px) / 2);
  --block-100px: calc(var(--block-30px) * 10 / 3);
  --block-120px: calc(var(--block-30px) * 4);
  --block-150px: calc(var(--block-30px) * 5);
  --block-180px: clamp(6.25rem, 4.293rem + 8.7vw, 11.25rem);
  --inline-30px: clamp(10px, 2.176px + 2.17vw, 30px);
  --inline-40px: calc(var(--inline-30px) * 4 / 3);
  --inline-50px: calc(var(--inline-30px) * 5 / 3);
  --inline-60px: calc(var(--inline-30px) * 2);
  --inline-70px: calc(var(--inline-30px) * 7 / 3);
  --inline-80px: calc(var(--inline-30px) * 8 / 3);
  --inline-90px: calc(var(--inline-30px) * 3);
  --inline-45px: calc(var(--inline-90px) / 2);
  --font-size-18px: clamp(1rem, 0.951rem + 0.22vw, 1.125rem);
  --font-size-20px: clamp(1.125rem, 1.076rem + 0.22vw, 1.25rem);
  --font-size-30px: clamp(1.5rem, 1.353rem + 0.65vw, 1.875rem);
  --font-size-40px: clamp(1.625rem, 1.283rem + 1.52vw, 2.5rem);
  --font-size-48px: clamp(1.75rem, 1.261rem + 2.17vw, 3rem);
  --font-size-56px: clamp(1.875rem, 1.239rem + 2.83vw, 3.5rem);
  /* clamp => Viewport min:360px max:1280px */
}
html {
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
  -moz-tab-size: 4;
  box-sizing: border-box;
  /* scroll-padding-top: 180px;
  &:has(#globalNavToggle:focus-within) {
    scroll-padding-top: 0;
  } */
}
*, ::before, ::after {
  background-repeat: no-repeat;
  box-sizing: inherit;
}
* {
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  background-color: #FFF;
  color: var(--text-color);
  font-style: normal;
  font-weight: 400;
  font-size: var(--font-size-18px);
  line-height: 1.5;
  font-family: "IBM Plex Sans JP", "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  letter-spacing: 0;
}
a, input[type="submit"] {
  transition: opacity 0.35s;
  &:hover {
    opacity: 0.65;
  }
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  background-color: transparent;
}
img {
  max-width: 100%;
  height: auto;
}
ul, ol {
  >li {
    list-style-type: none;
  }
}
summary {
  list-style: none;
  cursor: pointer;
}
abbr[title] {
  text-decoration: none;
}
code, kbd, pre, samp {
  font-family: monospace, monospace;
}
sub, sup {
  line-height: 0;
}
table {
  border-collapse: collapse;
  table-layout: fixed;
  width: 100%;
}
img, video, audio, iframe, textarea {
  vertical-align: bottom;
}
iframe {
  border: none;
}
address {
  font-style: inherit;
}
fieldset {
  border: none;
}
input, textarea, select, button {
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  border: none;
}
textarea {
  resize: vertical;
}
input[type="checkbox"], input[type="radio"], select {
  appearance: none;
}
input[type="checkbox"], input[type="radio"] {
  display: block;
}
input[type="button"], input[type="submit"], button {
  cursor: pointer;
}
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="password"], input[type="number"], input[type="search"], select, textarea {
  width: 100%;
  padding: 1em;
}
::placeholder {
  color: #AAA;
}
::file-selector-button {
  margin: 0;
  padding: 0;
  cursor: pointer;
  background-color: rgb(255, 255, 255, 0);
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  border: none;
}
html:not(.no-js) {
  @media (prefers-reduced-motion: no-preference) {
    .fadeIn {
      opacity: 0;
      &.show {
        animation: fadeIn 0.65s both;
      }
    }
    .fadeUp {
      scroll-margin-top: 30px;
      opacity: 0;
      translate: 0 30px;
      &.show {
        animation: fadeUp 0.65s both;
      }
    }
  }
}
@keyframes fadeIn {
  to {
    opacity: 1;
  }
}
@keyframes fadeUp {
  to {
    scroll-margin-top: 0;
    opacity: 1;
    translate: none;
  }
}
.logo {
  line-height: 0;
  >a {
    display: inline-block;
  }
}
.sm_break {
  display: inline-block;
}
.break {
  display: block;
}
.medium {
  font-weight: 500;
}
.semibold {
  font-weight: 600;
}
.overflow_wrap {
  overflow-wrap: anywhere;
}
.underline {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.image_rounded>img {
  border-radius: 5px;
}
.textBox {
  line-height: 2;
  p+p {
    margin-top: 1em;
  }
}
.container_l {
  width: min(1600px + var(--inline-60px) * 2, 100%);
  margin-inline: auto;
  padding-inline: var(--inline-60px);
}
.container_m {
  width: min(1300px + var(--inline-60px) * 2, 100%);
  margin-inline: auto;
  padding-inline: var(--inline-60px);
}
.primary_color {
  color: var(--primary-color);
}
.primary_heading {
  font-weight: 300;
  font-size: var(--font-size-56px);
}
.primary_button {
  display: block;
  width: 100%;
  max-width: calc(15.5em + var(--block-50px));
  padding-block: 22px;
  padding-left: var(--block-25px);
  padding-right: calc(var(--block-25px) + 26px + 0.5em);
  background-color: #FFF;
  border: 1px solid var(--primary-color);
  border-radius: 5px;
  color: var(--primary-color);
  font-weight: 500;
  position: relative;
  &::after {
    content: "";
    display: inline-block;
    width: 26px;
    aspect-ratio: 1 / 1;
    background-color: var(--primary-color);
    background-image: url(./img/common/arrow-next-white.svg);
    background-position: center;
    border-radius: 50%;
    position: absolute;
    right: var(--block-25px);
  }
}
.inline_auto {
  margin-inline: auto;
}
.left_auto {
  margin-left: auto;
}
.icon-line {
  display: inline-block;
  padding-left: 30px;
  position: relative;
  &::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url(./img/common/icon-line.svg);
    position: absolute;
    top: calc(50% - 10px);
    left: 0;
  }
}
.swiper-pagination {
  padding-left: 50px;
  line-height: 0;
  &::before, &::after {
    content: "";
    display: inline-block;
    width: 45px;
    height: 7px;
    border-radius: 7px;
    position: absolute;
    top: 0;
    left: 0;
  }
  &::before {
    backdrop-filter: blur(30px) brightness(1.7) saturate(0.5);
  }
  &::after {
    background-image: linear-gradient(to right, #FFF calc(var(--progress) * 45px), rgb(255, 255, 255, 0) calc(var(--progress) * 45px));
    transform-origin: left;
  }
}
.swiper-pagination-bullet {
  backdrop-filter: blur(30px) brightness(1.7) saturate(0.5);
}
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  padding-block: 15px;
  padding-inline: var(--inline-40px);
  background-color: #FFF;
  transition: padding 0.35s, background-color 0.35s;
  &.is-pageTop {
    padding-block: var(--block-30px);
    background-color: transparent;
    .globalNav-list {
      color: #FFF;
    }
    .header-logo {
      scale: 1.1;
      filter: brightness(0) invert(1);
    }
    .globalNav-links-icon {
      filter: brightness(0) invert(1);
    }
  }
}
.header-container {
  container: header-container / inline-size;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0 40px;
}
.header-logo {
  width: fit-content;
  transform-origin: left;
  transition: scale 0.35s, filter 0.35s;
}
.globalNav-toggle, .globalNav-button, .globalNav-overlay {
  display: none;
}
.globalNav {
  flex-grow: 1;
  max-width: 80rem;
}
.globalNav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0 40px;
}
.globalNav-list {
  display: flex;
  align-items: center;
  gap: 0 25px;
  font-weight: 500;
  transition: color 0.35s;
}
.globalNav-item:has(.globalNav-dropdown) {
  position: relative;
  &:hover {
    .globalNav-dropdown {
      visibility: visible;
      opacity: 1;
    }
    .globalNav-dropdownToggle-icon::after {
      rotate: 0deg;
    }
  }
}
.globalNav-dropdownToggle {
  display: inline-block;
  padding-right: 32px;
  position: relative;
}
.globalNav-dropdownToggle-icon {
  display: inline-block;
  width: 22px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background-color: var(--primary-color);
  position: absolute;
  top: calc(50% - 11px);
  right: 0;
  &::before, &::after {
    content: "";
    display: inline-block;
    background-color: #FFF;
    width: 8px;
    height: 2px;
    position: absolute;
    top: calc(50% - 1px);
    left: calc(50% - 4px);
  }
  &::after {
    rotate: 90deg;
    transition: rotate 0.35s;
  }
}
.globalNav-dropdown {
  min-width: 250px;
  padding-top: 10px;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.35s, opacity 0.35s;
  position: absolute;
  left: 50%;
  translate: -50% 0;
}
.globalNav-dropdown-list {
  padding-block: 5px;
  padding-inline: 15px;
  background-color: #FFF;
  border: 2px solid #001E4D;
  border-radius: 5px;
  color: var(--text-color);
  font-size: 1rem;
}
.globalNav-dropdown-item {
  +& {
    border-top: 1px solid #E8EEF3;
  }
  .globalNav-link {
    display: block;
    padding-block: 5px;
    padding-right: 20px;
    background-image: url(./img/common/arrow-next-primary_color.svg);
    background-position: right center;
  }
}
.globalNav-links {
  display: flex;
  align-items: center;
}
.globalNav-links-icon {
  flex-shrink: 0;
  text-align: center;
  line-height: 1;
  transition: filter 0.35s;
  +.globalNav-links-button {
    margin-left: 30px;
  }
}
.globalNav-links-button {
  +& {
    margin-left: 5px;
  }
  .globalNav-link {
    display: block;
    min-width: 10em;
    padding: 15px;
    background-color: var(--primary-color);
    border-radius: 5px;
    text-align: center;
    color: #FFF;
    font-weight: 500;
    font-size: 1rem;
    &:has(.icon-line) {
      background-color: var(--line-color);
    }
  }
}
@container header-container (width < calc(57.5rem + 500px)) {
  .header {
    &.is-pageTop {
      .globalNav-list {
        color: var(--text-color);
      }
      .globalNav-links-icon {
        filter: none;
      }
      #globalNavToggle:not(:checked)~.globalNav-button::after {
        color: #FFF;
      }
    }
  }
  .header-inner {
    display: block;
    position: relative;
  }
  .globalNav-toggle {
    display: inline;
    position: fixed;
  }
  .globalNav-button {
    display: block;
    position: absolute;
    z-index: 11;
    top: -5px;
    right: 0;
    transition: top 0.35s;
    cursor: pointer;
    &::after {
      content: "Menu";
      display: inline-block;
      color: var(--primary-color);
      font-weight: 500;
      font-size: 0.875rem;
      font-family: "Outfit", sans-serif;
      letter-spacing: 0.06em;
      white-space: nowrap;
      text-transform: uppercase;
      transition: color 0.35s;
      position: absolute;
      bottom: -1.7em;
      left: 50%;
      translate: -50%;
    }
  }
  .globalNav-button-bar {
    display: block;
    width: 54px;
    aspect-ratio: 1 / 1;
    background-color: var(--primary-color);
    position: relative;
    transition: background-color 0.35s;
    >span {
      width: 32px;
      height: 3px;
      top: 50%;
      left: 50%;
      translate: -50% -50%;
      transition: background-color 0.35s;
      &, &::before, &::after {
        display: inline-block;
        background-color: #FFF;
        position: absolute;
      }
      &::before, &::after {
        content: "";
        width: 100%;
        height: 100%;
        transition: translate 0.35s, rotate 0.35s;
      }
      &::before {
        translate: 0 -9px;
      }
      &::after {
        translate: 0 9px;
      }
    }
  }
  .globalNav-overlay {
    display: inline;
    position: fixed;
    z-index: 9;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgb(0, 0, 0, 0.4);
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.15s, opacity 0.15s;
  }
  .globalNav {
    display: grid;
    place-items: center;
    min-height: 100vh;
    width: min(560px, 100%);
    padding: 20px;
    background-color: #FFF;
    position: fixed;
    z-index: 10;
    top: 0;
    bottom: 0;
    right: 0;
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    translate: 100%;
    transition: visibility 0.35s, opacity 0.35s, translate 0.35s;
    transition-timing-function: cubic-bezier(0.34, 0.55, 0.41, 0.99);
  }
  .globalNav-inner {
    display: block;
  }
  .globalNav-list {
    display: block;
    border-top: 1px solid #E8EEF3;
    text-align: center;
  }
  .globalNav-item {
    border-bottom: 1px solid #E8EEF3;
    >.globalNav-link {
      display: block;
      padding-block: 1em;
    }
  }
  .globalNav-text {
    display: none;
    /*display: block;*/
    padding-block: 1em 0.5em;
  }
  .globalNav-dropdownToggle-icon::after {
    rotate: 0deg;
  }
  .globalNav-dropdown {
    min-width: 0;
    padding-top: 0;
    visibility: visible;
    opacity: 1;
    position: static;
    translate: none;
  }
  .globalNav-dropdown-list {
    padding-block: 0;
    border: none;
    border-radius: 0;
    text-align: left;
  }
  .globalNav-dropdown-item {
    .globalNav-link {
      padding-block: 0.75em;
    }
  }
  .globalNav-links {
    margin-top: var(--block-40px);
  }
  #globalNavToggle:checked {
    ~.globalNav-button {
      &::after {
        content: "Close";
      }
      >.globalNav-button-bar {
        >span {
          background-color: rgb(255, 255, 255, 0);
          &::before, &::after {
            translate: 0;
          }
          &::before {
            rotate: 45deg;
          }
          &::after {
            rotate: -45deg;
          }
        }
      }
    }
    ~.globalNav-overlay {
      visibility: visible;
      opacity: 1;
    }
    ~.globalNav {
      visibility: visible;
      opacity: 1;
      translate: 0;
    }
  }
}
.footer {
  --background-space: clamp(5px, -5.52px + 2.92vw, 50px);
  /* clamp => Viewport min:360px max:1900px */
  margin-top: var(--block-150px);
  padding-top: var(--block-90px);
  background-image: url(./img/common/footer-bg.jpg), linear-gradient(rgb(15, 72, 161, 0.9));
  background-position: center top var(--block-90px);
  position: relative;
  &::before {
    content: "";
    display: inline-block;
    width: calc(100% - var(--background-space));
    height: calc(var(--block-90px) + 2px);
    background-color: #0F48A1;
    border-radius: 45px 0 0 0;
    position: absolute;
    z-index: -1;
    top: 0;
    right: 0;
  }
}
.footer-inner {
  padding-top: var(--block-60px);
  background-image: linear-gradient(to right, rgb(15, 72, 161, 0) var(--background-space), rgb(15, 72, 161, 0.9) var(--background-space));
  color: #FFF;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 0 var(--inline-60px);
}
.footer-top-heading {
  margin-bottom: 0.6em;
  font-weight: 300;
  font-size: var(--font-size-40px);
}
.footer-top-text {
  font-size: var(--font-size-20px);
  line-height: 2;
}
.footer-top-illust {
  margin-top: var(--block-45px);
}
.footer-contact {
  flex-grow: 1;
  max-width: 620px;
  font-weight: 500;
  font-size: var(--font-size-20px);
}
.footer-contact-list {
  border-top: 1px solid rgb(255, 255, 255, 0.15);
}
.footer-contact-item {
  border-bottom: 1px solid rgb(255, 255, 255, 0.15);
}
.footer-contact-link {
  display: block;
  padding-block: var(--block-30px);
  padding-right: calc(26px + 0.5em);
  position: relative;
  &::after {
    content: "";
    display: inline-block;
    width: 26px;
    aspect-ratio: 1 / 1;
    background-color: #FFF;
    background-image: url(./img/common/arrow-next-primary_color.svg);
    background-position: center;
    border-radius: 50%;
    position: absolute;
    top: calc(50% - 13px);
    right: 0;
  }
  &:has(.footer-contact-link-box) {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
  }
}
.footer-contact-link-box {
  display: inline-block;
  margin-block: -10px;
  padding: 10px 15px;
  background-color: var(--primary-color);
  border-radius: 5px;
  font-size: 0.9375rem;
  line-height: 1.5;
}
.footer-line {
  display: block;
  margin-top: var(--block-30px);
  padding-block: var(--block-30px);
  padding-left: var(--block-35px);
  padding-right: calc(var(--block-25px) + 26px + 0.5em);
  background-color: var(--line-color);
  border-radius: 5px;
  position: relative;
  &::after {
    content: "";
    display: inline-block;
    width: 26px;
    aspect-ratio: 1 / 1;
    background-color: #FFF;
    background-image: url(./img/common/arrow-next-line_color.svg);
    background-position: center;
    border-radius: 50%;
    position: absolute;
    top: calc(50% - 13px);
    right: var(--block-25px);
  }
}
.sitemap {
  display: grid;
  grid-template-columns: repeat(4, auto);
  justify-content: space-between;
  gap: var(--block-80px) var(--inline-80px);
  margin-top: var(--block-80px);
  padding-top: var(--block-80px);
  border-top: 1px solid rgb(255, 255, 255, 0.15);
  font-weight: 500;
}
.sitemap-title {
  margin-bottom: 2em;
  color: #86A9DF;
  font-size: 0.9375rem;
}
.sitemap-item {
  +& {
    margin-top: 1em;
  }
}
.footer-profile {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0 var(--inline-40px);
  margin-top: var(--block-80px);
  padding-top: var(--block-40px);
  border-top: 1px solid rgb(255, 255, 255, 0.15);
}
.footer-profile-top {
  display: flex;
  justify-content: center;
  gap: 0 var(--inline-40px);
}
.footer-logo {
  flex-shrink: 0;
}
.footer-address {
  font-size: 1rem;
}
.footer-address-heading {
  margin-bottom: 0.2em;
  font-weight: 500;
  font-size: var(--font-size-18px);
}
.footer-facebook {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0 12px;
  width: fit-content;
  padding-block: 15px;
  padding-left: 15px;
  padding-right: 22px;
  background-color: #FFF;
  border-radius: 5px;
  color: var(--facebook-color);
  &::before {
    flex-shrink: 0;
    content: "";
    display: inline-block;
    width: 44px;
    aspect-ratio: 1 / 1;
    background-color: var(--facebook-color);
    background-image: url(./img/common/facebook-f-brands-solid-white.svg);
    background-position: center;
    border-radius: 50%;
  }
}
.footer-facebook-ja {
  display: block;
  font-weight: 700;
  font-size: 0.8125rem;
  line-height: 1.2;
}
.footer-facebook-en {
  display: block;
  font-weight: 500;
  font-size: 1.625rem;
  line-height: 0.8;
  font-family: "Outfit", sans-serif;
}
.footer-bottom {
  margin-top: var(--block-45px);
  padding: 30px 0;
  background-image: linear-gradient(to right, rgb(255, 255, 255, 0) var(--background-space), #FFF var(--background-space));
  color: var(--text-color);
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px 25px;
}
.footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 25px;
  font-size: 0.8125rem;
}
.copy {
  margin-left: auto;
  color: #C3C9D4;
  font-size: 0.6875rem;
  >small {
    font-size: 100%;
  }
}
.home-mv {
  position: relative;
  background-color: var(--primary-background-color);
}
.home-mv-slider {
  .swiper-pagination {
    width: fit-content !important;
    left: var(--inline-45px) !important;
    bottom: var(--block-30px) !important;
  }
}
.home-mv-slide {
  position: relative;
  &::before {
    content: "";
    background-image: linear-gradient(to bottom, rgb(0, 0, 0), rgb(0, 0, 0, 0.75) 15%, rgb(0, 0, 0, 0.5));
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    opacity: 0.5;
    pointer-events: none;
  }
}
.home-mv-textBox {
  width: fit-content;
  padding-inline: var(--inline-45px);
  color: #FFF;
  position: absolute;
  z-index: 2;
  left: 0;
  right: 465px;
  bottom: var(--block-80px);
}
.home-mv-heading {
  margin-bottom: 0.2em;
  font-weight: 200;
  font-size: clamp(40px, 19.648px + 5.65vw, 92px);
  line-height: 1.1;
}
.home-mv-text {
  font-weight: 300;
  font-size: var(--font-size-20px);
}
.home-mv-news-link {
  display: flex;
  align-items: center;
  gap: 0 15px;
  width: 100%;
  max-width: 450px;
  padding: var(--block-25px);
  background-color: #FFF;
  border-radius: 5px;
  font-weight: 500;
  font-size: 1rem;
  position: absolute;
  z-index: 2;
  bottom: 20px;
  right: 15px;
}
.home-mv-news-text {
  display: inline-block;
  padding-right: 20px;
  background-image: url(./img/common/arrow-next-text_color.svg);
  background-position: right center;
}
.category {
  flex-shrink: 0;
  display: inline-block;
  padding: 5px 22px;
  color: #FFF;
  border-radius: calc(1em + 22px);
  font-weight: 500;
  font-size: 0.875rem;
  &.important {
    background-color: #D23051;
  }
  /* お知らせのカテゴリー（お知らせ＝紺／税務カレンダー＝青緑／コラム＝紫／イベント＝オレンジ） */
  &.cat-news { background-color: #063885; }
  &.cat-tax { background-color: #38A0AC; }
  &.cat-column { background-color: #7F62AA; }
  &.cat-event { background-color: #E59130; }
}
.home-lead {
  --home-lead-top: clamp(35px, 19.344px + 4.35vw, 75px);
  padding-top: var(--block-180px);
  padding-bottom: var(--block-180px);
  background-color: var(--primary-background-color);
  position: relative;
  z-index: 0;
  &::after {
    content: "";
    display: inline-block;
    width: calc(100% - var(--inline-50px));
    height: var(--home-lead-top);
    background-color: #FFF;
    border-radius: 5px 0 0 0;
    position: absolute;
    bottom: -2px;
    right: 0;
  }
}
.home-lead-inner {
  max-width: 1680px;
  margin-inline: auto;
}
.home-lead-content {
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;
  justify-content: space-between;
  max-width: calc(1480px + var(--inline-60px));
}
.home-lead-textBox {
  max-width: calc(27.8em + var(--inline-60px) * 2);
  padding-inline: var(--inline-60px);
}
.home-lead-heading {
  margin-bottom: 1em;
  font-weight: 300;
  font-size: var(--font-size-48px);
}
.home-lead-gallery {
  position: relative;
}
.home-lead-gallery-inner {
  display: flex;
  justify-content: center;
  gap: 10px;
}
.home-lead-image {
  &:first-child {
    order: 1;
  }
  &:last-child {
    order: 2;
    margin-top: auto;
  }
}
.home-lead-illust {
  position: absolute;
  bottom: -25px;
  left: 7.25%;
}
.home-group {
  margin-top: var(--block-100px);
}
.home-group-content {
  margin-bottom: 50px;
  padding-block: var(--block-100px);
  padding-inline: var(--inline-40px);
  background-color: #E8EEF3;
  border-radius: 5px;
  position: relative;
}
.home-group-figure {
  text-align: center;
}
.home-group-figure-inner {
  position: relative;
}
@keyframes rotation {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.home-group-figure-outside {
  height: 117.8%;
  aspect-ratio: 1 / 1;
  position: absolute;
  top: calc(50% + 1px);
  left: 50%;
  translate: -50% -50%;
  animation: rotation 45s linear infinite;
}
.home-group-figure-inside {
  height: 77.5%;
  aspect-ratio: 1 / 1;
  position: absolute;
  top: calc(50% + 1px);
  left: 50%;
  translate: -50% -50%;
  &::before {
    content: "";
    display: inline-block;
    width: 83.4%;
    aspect-ratio: 1 / 1;
    background-image: url(./img/home/group-circle-inside-dotted.svg);
    background-size: 100%;
    position: absolute;
    z-index: -1;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    animation: rotation 45s linear infinite;
  }
}
.home-group-illust {
  position: absolute;
  bottom: -30px;
  right: 90px;
}
.home-lead-bottom {
  max-width: 100%;
  overflow: hidden;
  text-transform: uppercase;
  color: #FFF;
  font-weight: 100;
  font-size: clamp(60px, 5.216px + 15.22vw, 200px);
  line-height: 0.75;
  font-family: "Outfit", sans-serif;
  letter-spacing: 0.06em;
  position: absolute;
  z-index: -1;
  bottom: calc(var(--home-lead-top) - 0.05em);
}
.home-lead-bottom-text {
  white-space: nowrap;
}
.home-service {
  margin-top: var(--block-100px);
}
.home-service-top {
  display: flex;
  justify-content: space-between;
  gap: 0 var(--inline-60px);
  margin-bottom: var(--block-45px);
}
.home-service-top-text {
  max-width: 32em;
}
.home-service-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-content: center;
  gap: 0 50px;
}
.home-service-item {
  max-width: 500px;
  &:first-child {
    .home-service-illust {
      top: 20px;
      right: 30px;
    }
    .home-service-content {
      margin-top: -45px;
      background-color: #38A0AC;
    }
    .home-service-title-arrow::after {
      background-color: #61C9D5;
    }
    .home-service-detail-item {
      background-image: url(./img/home/service-item01-check.svg);
    }
  }
  &:nth-child(2) {
    margin-top: var(--block-60px);
    .home-service-illust {
      top: 30px;
      right: 35px;
    }
    .home-service-content {
      background-color: #7F62AA;
    }
    .home-service-title-arrow::after {
      background-color: #AF8EDF;
    }
    .home-service-detail-item {
      background-image: url(./img/home/service-item02-check.svg);
    }
  }
  &:last-child {
    margin-top: var(--block-120px);
    .home-service-illust {
      top: 15px;
      right: 23px;
    }
    .home-service-content {
      background-color: #E59130;
    }
    .home-service-title-arrow::after {
      background-color: #FFAE51;
    }
    .home-service-detail-item {
      background-image: url(./img/home/service-item03-check.svg);
    }
  }
}
.home-service-content {
  margin-top: -75px;
  padding-block: 50px var(--block-45px);
  padding-inline: var(--block-40px);
  border-radius: 45px 0 5px 5px;
  color: #FFF;
  position: relative;
}
.home-service-illust {
  position: absolute;
  top: 0;
  translate: 0 -100%;
}
.home-service-title {
  margin-bottom: 0.5em;
  font-weight: 400;
  font-size: var(--font-size-30px);
  letter-spacing: 0.05em;
}
.home-service-title-arrow {
  display: inline-block;
  padding-right: 50px;
  position: relative;
  &::after {
    content: "";
    display: inline-block;
    width: 36px;
    aspect-ratio: 1 / 1;
    background-image: url(./img/common/arrow-next-white.svg);
    background-position: center;
    border-radius: 50%;
    position: absolute;
    top: calc(50% - 18px);
    right: 0;
  }
}
.home-service-detail-container {
  container: home-service-detail / inline-size;
}
.home-service-detail {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 10px;
  margin-top: var(--block-30px);
  font-size: 1rem;
}
.home-service-detail-item {
  padding-block: 10px;
  padding-left: 35px;
  background-position: left 7px top calc(5px + 0.75em);
  border-bottom: 1px solid rgb(255, 255, 255, 0.2);
  &:nth-child(-n+2) {
    border-top: 1px solid rgb(255, 255, 255, 0.2);
  }
}
@container home-service-detail (width < calc(18rem + 80px)) {
  .home-service-detail {
    grid-template-columns: repeat(1, 1fr);
  }
  .home-service-detail-item:nth-child(2) {
    border-top: none;
  }
}
.home-staff {
  display: flex;
  justify-content: center;
  margin-top: var(--block-180px);
}
.home-staff-content {
  flex-grow: 1;
  display: grid;
  place-items: center;
  max-width: 1020px;
  padding: var(--block-90px) var(--inline-60px);
  background-color: var(--primary-background-color);
  position: relative;
}
.home-staff-textBox {
  max-width: 25em;
  .primary_heading {
    margin-bottom: 0.7em;
  }
  .primary_button {
    margin-top: var(--block-60px);
    z-index: 3;
  }
}
.home-staff-illust {
  position: absolute;
  z-index: 2;
  right: -90px;
  bottom: -45px;
}
.home-staff-slider {
  max-width: 900px;
  aspect-ratio: 900 / 871;
  margin: 0;
  .swiper-pagination {
    width: fit-content !important;
    margin-inline: auto;
    bottom: 128px !important;
    right: 0;
  }
}
.home-staff-slide {
  display: grid !important;
  place-items: center;
  background-size: cover;
  background-position: center;
  position: relative !important;
  &::before {
    content: "";
    display: inline-block;
    backdrop-filter: blur(50px) brightness(1.1);
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
  }
  &.slide01 {
    background-image: url(./img/home/staff-slide01-bg.jpg);
  }
  &.slide02 {
    background-image: url(./img/home/staff-slide02-bg.jpg);
  }
}
.home-staff-slide-image {
  position: relative;
  padding: var(--block-50px) 15px 50px;
  z-index: 2;
}
.home-activity {
  margin-top: var(--block-180px);
  .primary_heading {
    margin-bottom: 1em;
  }
}
.home-activity-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  justify-content: center;
  gap: var(--block-50px) var(--inline-45px);
  margin-bottom: var(--block-50px);
}
.home-activity-image {
  text-align: center;
}
.home-activity-title {
  margin-block: 1em 0.8em;
  font-weight: 500;
}
.home-activity-time {
  font-size: 1rem;
  font-family: "Outfit", sans-serif;
}
.home-activity-category {
  display: inline-block;
  margin-left: 35px;
  font-weight: 500;
  font-size: 0.875rem;
}
.fixedLinks {
  position: fixed;
  z-index: 8;
  top: 50%;
  right: 0;
  display: flex;
  padding: 10px;
  padding-left: 0;
  background-color: #001E4D;
  border-radius: 5px 0 0 5px;
  color: #FFF;
  font-size: 1rem;
  translate: calc(100% - (50px + 1.5em)) -50%;
  transition: translate 0.35s;
  &:hover {
    translate: 0 -50%;
    .fixedLinks-toggle::after {
      rotate: 0deg;
    }
  }
}
.fixedLinks-heading {
  writing-mode: vertical-rl;
  padding-block: 25px;
  text-align: center;
  font-weight: 500;
  font-size: 1rem;
}
.fixedLinks-heading-text {
  display: inline-block;
  padding-inline-start: 25px;
  padding-inline-end: 35px;
  background-image: url(./img/common/icon-speech_bubble.svg);
  background-position: center top;
  position: relative;
}
.fixedLinks-toggle {
  display: inline-block;
  width: 22px;
  aspect-ratio: 1 / 1;
  background-color: var(--primary-color);
  border-radius: 50%;
  position: absolute;
  bottom: 0;
  left: calc(50% - 11px);
  &::before, &::after {
    content: "";
    display: inline-block;
    background-color: #FFF;
    width: 8px;
    height: 2px;
    position: absolute;
    top: calc(50% - 1px);
    left: calc(50% - 4px);
  }
  &::after {
    rotate: 90deg;
    transition: rotate 0.35s;
  }
}
.fixedLinks-list {
  padding: 5px 20px;
  background-color: #FFF;
  border-radius: 5px;
  color: var(--text-color);
}
.fixedLinks-item {
  +& {
    border-top: 1px solid #E8EEF3;
  }
  &.color_clinic {
    .fixedLinks-link {
      background-image: url(./img/common/arrow-next-skyblue.svg);
      &::before {
        background-color: #61C9D5;
      }
    }
  }
  &.color_corporation {
    .fixedLinks-link {
      background-image: url(./img/common/arrow-next-purple.svg);
      &::before {
        background-color: #AF8EDF;
      }
    }
  }
}
.fixedLinks-link {
  display: block;
  padding-block: 18px;
  padding-left: 35px;
  padding-right: 30px;
  background-position: right center;
  position: relative;
  &::before {
    content: "";
    display: inline-block;
    width: 26px;
    aspect-ratio: 1 / 1;
    border-radius: 6px;
    background-image: url(./img/common/icon-check-white.svg);
    background-position: center;
    position: absolute;
    top: calc(50% - 13px);
    left: 0;
  }
}
@media screen and (max-width: 1520px) {
  .home-lead-content {
    align-items: stretch;
  }
  .home-service-list {
    gap: var(--block-50px) 30px;
  }
  .home-staff-illust {
    max-width: 50%;
  }
  .home-staff-slider {
    width: 50%;
    aspect-ratio: auto;
    .swiper-pagination {
      bottom: var(--block-30px);
    }
  }
  .fixedLinks {
    translate: calc(100% - (20px + 1.5em)) -50%;
  }
  .fixedLinks-heading {
    padding-block: 10px;
  }
}
@media screen and (max-width: 1120px) {
  .footer-top {
    display: block;
    width: fit-content;
    margin-inline: auto;
  }
  .footer-contact {
    margin-top: var(--block-60px);
  }
  .footer-profile {
    display: block;
  }
  .footer-facebook {
    margin-top: var(--block-30px);
    margin-inline: auto;
  }
  .home-mv-slide {
    aspect-ratio: 1 / 1;
    max-height: 640px;
    min-height: 480px;
  }
  .home-mv-image {
    object-fit: cover;
    height: 100%;
  }
  .home-mv-textBox {
    right: calc(20px + 1.5rem);
  }
  .home-mv-news {
    margin-top: 20px;
    padding-inline: var(--inline-40px);
  }
  .home-mv-news-link {
    position: static;
    margin-inline: auto;
  }
  .home-lead {
    padding-top: var(--block-100px);
  }
  .home-lead-content {
    display: block;
  }
  .home-lead-textBox {
    max-width: none;
    margin-bottom: var(--block-60px);
  }
  .home-lead-gallery {
    width: fit-content;
    margin-inline: auto;
  }
  .home-group-illust {
    bottom: -80px;
    right: -10px;
  }
  .home-service-list {
    grid-template-columns: repeat(1, auto);
  }
  .home-service-item {
    &:nth-child(2), &:last-child {
      margin-top: 0;
    }
  }
  .home-activity-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 880px) {
  .sitemap {
    grid-template-columns: repeat(2, auto);
    justify-content: center;
  }
  .home-group-illust {
    max-width: 35%;
  }
  .home-service-top {
    display: block;
    .primary_heading {
      margin-bottom: 0.5em;
    }
  }
  .home-service-top-text {
    max-width: none;
  }
  .home-staff {
    display: block;
  }
  .home-staff-content {
    padding-bottom: 0;
  }
  .home-staff-illust {
    position: static;
    max-width: none;
    margin-block: 15px 5px;
    padding-inline: 30px;
    text-align: center;
  }
  .home-staff-slider {
    width: auto;
  }
}
@media screen and (max-width: 560px) {
  body:has(#globalNavToggle:checked) {
    overflow: hidden;
  }
  .globalNav {
    width: 100%;
  }
  .globalNav-links {
    display: block;
  }
  .globalNav-links-icon {
    +.globalNav-links-button {
      margin-left: 0;
      margin-top: var(--block-30px);
    }
  }
  .globalNav-links-button {
    +& {
      margin-left: 0;
      margin-top: 5px;
    }
    .globalNav-link {
      min-width: 0;
      max-width: 10em;
      margin-inline: auto;
    }
  }
  .sitemap {
    grid-template-columns: repeat(2, auto);
    justify-content: center;
  }
  .footer-profile-top {
    display: block;
  }
  .footer-address {
    margin-top: var(--block-40px);
  }
  .footer-bottom {
    padding-bottom: calc(50px + 1.5em);
  }
  .home-mv-textBox {
    right: 0;
  }
  .home-lead-gallery-inner {
    flex-wrap: wrap;
  }
  .home-lead-image {
    &:first-child {
      order: 0;
    }
    &:last-child {
      order: 0;
      margin-top: 0;
    }
  }
  .home-lead-illust {
    position: static;
    margin-top: -23%;
    padding-inline: 20px;
    text-align: center;
  }
  .home-group-content {
    padding-bottom: 45%;
  }
  .home-group-illust {
    max-width: 55%;
  }
  .home-activity-list {
    grid-template-columns: repeat(1, 1fr);
  }
  .fixedLinks {
    top: auto;
    bottom: 0;
    left: 50%;
    right: auto;
    display: block;
    width: 100%;
    max-width: 380px;
    padding: 10px;
    padding-top: 0;
    border-radius: 5px 5px 0 0;
    color: #FFF;
    translate: -50% calc(100% - (20px + 1.5em));
    &:hover {
      /*translate: -50% 0;*/
      translate: -50% calc(100% - (20px + 1.5em));
      .fixedLinks-toggle::after {
        rotate: 90deg;
      }
    }
    &.active {
      translate: -50% 0;
      .fixedLinks-toggle::after {
        rotate: 0deg;
      }
    }
  }
  .fixedLinks-heading {
    writing-mode: horizontal-tb;
  }
  .fixedLinks-heading-text {
    padding-inline-start: 35px;
    background-position: left center;
  }
  .fixedLinks-toggle {
    top: calc(50% - 11px);
    bottom: auto;
    left: auto;
    right: 0;
  }
}
