@charset "UTF-8";
/*
Theme Name: 共栄サポート
Version: 1.0.0
*/

::after,
::before,
* {
  --font-size: calc((var(--fs) / 16) * 1rem);
  font-size: var(--font-size);
}

html {
  scroll-behavior: smooth;
}

body {
  --container: 1100px;
  color: var(--color-body-1);
  font-family: var(--font-family);
  line-height: calc(30 / 16);
  --fs: var(--p);
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--color-body-1);
  text-decoration: none;
}

:where(a, button):hover {
  opacity: 0.7;
}

[id] {
  scroll-margin-top: 100px;
}

@media (max-width: 991px) {
  body.noscroll {
    overflow: hidden;
    touch-action: pinch-zoom;
  }
}

@media (min-width: 768px) {
  a[href^="tel:"] {
    pointer-events: none;
  }
}

@media (max-width: 767px) {
  [id] {
    scroll-margin-top: 75px;
  }
}

.container {
  padding-right: var(--padding);
  padding-left: var(--padding);
  max-width: calc(var(--container) + var(--padding) + var(--padding));
}

.loader {
  background: #fff;
  height: 100vh;
  width: 100vw;
  display: grid;
  place-items: center;
  place-content: center;
  bottom: 0;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 999;
  .logo {
    display: grid;
    grid-template-columns: 70px 1fr;
    align-items: center;
    gap: 8px;
    overflow: hidden;
    width: 70px;
  }
  .logo-text img {
    min-width: 245px;
  }
}

@media (max-width: 575px) {
  .loader {
    .logo {
      grid-template-columns: 45px 1fr;
      width: 45px;
    }
    .logo-text img {
      min-width: 150px;
      width: 150px;
    }
  }
}

/*		ヘッダー		*/

.header {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-height: 87px;
  top: 30px;
  left: 50%;
  max-width: 1390px;
  width: calc(100% - 50px);
  background: #fff;
  border-radius: 15px;
  padding: 5px 35px 5px 40px;
  box-shadow: 0 3px 20px rgba(0, 0, 0, 0.15);
  transform: translateX(-50%);
  z-index: 600;
  transition: 0.3s;
}

.header.show {
  position: fixed;
  top: 0;
  padding-top: 15px;
  padding-bottom: 15px;
  animation: headershow 0.8s ease forwards;
}

@keyframes headershow {
  from {
    top: 0;
    background: #fff;
    transform: translate(-50%, -100%);
  }
  to {
    top: 0;
    background: #fff;
    transform: translateX(-50%);
  }
}

.header-title {
  margin-bottom: 0;
}

.header-menu-list {
  display: flex;
  align-items: center;
  gap: 5px;
  list-style: none;
  padding: 0;
  margin: 0;
  .header-menu-link {
    --fs: 15;
    font-size: var(--font-size);
    font-weight: 500;
    padding: 5px 10px;
    &:hover {
      color: var(--color-theme-1);
      opacity: 1;
    }
  }
  .header-menu-contact {
    margin-left: 15px;
    a {
      position: relative;
      display: flex;
      justify-content: center;
      gap: 0 10px;
      font-family: var(--noto-sans);
      font-weight: bold;
      color: #fff;
      background: var(--color-theme-2);
      border-radius: 40px;
      padding: 5px 30px;
      z-index: 1;
      &::before {
        content: "";
        --mask: url(img/icon-mail.svg) no-repeat center / contain;
        width: 19px;
        aspect-ratio: 19 / 13;
        background: #fff;
        -webkit-mask: var(--mask);
        mask: var(--mask);
      }
      &::after {
        content: "";
        background: var(--color-theme-1);
        border-radius: 40px;
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        opacity: 0;
        transform: scale(0.8);
        transition: all 0.3s;
        z-index: -1;
      }
      &:hover {
        color: #fff;
        opacity: 1;
      }
      &:hover::after {
        opacity: 1;
        transform: scale(1);
      }
    }
  }
}

.global-nav-button {
  position: relative;
  width: 55px;
  aspect-ratio: 1 / 1;
  background: var(--color-theme-1);
  border: none;
  border-radius: 50%;
}

.global-nav-button span {
  width: 25px;
  height: 3px;
  background: #fff;
  border-radius: 3px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: 0.4s;
}

.global-nav-button span:nth-child(1) {
  transform: translate(-50%, calc(-50% - 8px));
}

.global-nav-button span:nth-child(2) {
  transform: translate(-50%, -50%);
}

.global-nav-button span:nth-child(3) {
  transform: translate(-50%, calc(-50% + 8px));
}

body.noscroll .global-nav-button span:nth-child(1) {
  transform: translate(-50%, -50%) rotate(45deg);
}

body.noscroll .global-nav-button span:nth-child(2) {
  display: none;
}

body.noscroll .global-nav-button span:nth-child(3) {
  transform: translate(-50%, -50%) rotate(-45deg);
}

@media (max-width: 1299px) {
  .header {
    width: calc(100% - 30px);
    padding: 5px 25px;
  }
  .header-menu-list {
    .header-menu-link {
      --fs: 14;
      padding: 5px;
    }
  }
}

@media (max-width: 1199px) {
  .header {
    gap: 15px;
    padding: 5px 15px;
  }
  .header-logo img {
    width: 190px;
  }
  .header-menu-list {
    gap: 10px;
    .header-menu-link {
      padding: 5px 0;
    }
    .header-menu-contact {
      margin-left: 5px;
      a {
        padding: 5px 15px;
      }
    }
  }
}

@media (max-width: 991px) {
  .header {
    top: 20px;
    min-height: 80px;
  }
  .header-logo {
    position: relative;
    z-index: 999;
    img {
      width: 200px;
    }
  }
  body.noscroll .header {
    position: fixed;
    .header-logo {
      &::before {
        content: "";
        width: calc(100vw - 30px);
        min-height: 80px;
        background: #fff;
        position: fixed;
        top: 0;
        left: 50%;
        border-radius: 15px;
        transform: translateX(-50%);
        box-shadow: 0 3px 20px rgba(0, 0, 0, 0.15);
        z-index: -1;
      }
    }
  }
  .global-nav-button {
    z-index: 999;
  }
  .header-nav {
    width: 100vw;
    height: 100svh;
    background: #fff;
    position: fixed;
    top: -20px;
    bottom: 0;
    left: 50%;
    padding-top: 115px;
    transform: translateX(-50%);
    opacity: 0;
    visibility: hidden;
    overflow: scroll;
    z-index: -1;
    .header-menu {
      width: calc(100% - 30px);
      margin-inline: auto;
      .header-menu-list {
        display: grid;
        gap: 0;
        .header-menu-item {
          border-bottom: 1px solid #000;
          .header-menu-link {
            display: block;
            --fs: 16;
            width: 100%;
            padding: 20px 50px;
          }
        }
      }
      .cta-parts {
        max-width: 100vw;
        width: 100vw;
        background: transparent;
        border-radius: 0;
        margin-left: calc(var(--padding) * -1);
        > h2,
        > p {
          display: none;
        }
        .cta-parts-content {
          gap: 30px;
        }
      }
    }
  }
  body.noscroll .header-nav {
    opacity: 1;
    visibility: visible;
    z-index: 888;
  }
}

@media (max-width: 767px) {
  .header {
    min-height: 65px;
  }
  .header.show {
    padding-top: 10px;
    padding-bottom: 10px;
  }
  body.noscroll .header {
    .header-logo {
      &::before {
        min-height: 65px;
      }
    }
  }
  .header-logo img {
    width: 160px;
  }
  .header-nav {
    padding-top: 90px;
    .header-menu {
      .header-menu-list {
        .header-menu-item {
          .header-menu-link {
            padding: 20px 30px;
          }
        }
      }
    }
  }
  .global-nav-button {
    width: 45px;
    &hover {
      opacity: 1;
    }
    span {
      width: 19px;
      height: 3px;
      border-radius: 3px;
      &:nth-child(1) {
        transform: translate(-50%, calc(-50% - 7px));
      }
      &:nth-child(2) {
        transform: translate(-50%, -50%);
      }
      &::nth-child(3) {
        transform: translate(-50%, calc(-50% + 7px));
      }
    }
  }
}

@media (max-width: 575px) {
  .header-nav {
    .header-menu {
      .header-menu-list {
        .header-menu-item {
          .header-menu-link {
            padding: 20px;
          }
        }
      }
    }
  }
}

/*		フッター		*/
.footer {
  --container: 1165px;
  background: #302b2a;
  padding-top: 50px;
}

.footer-content {
  /* display: grid; */
  grid-template-columns: 1fr auto;
  gap: 20px;
  margin-bottom: 45px;
  .footer-logo {
    display: inline-block;
    margin-bottom: 20px;
  }
  .footer-address {
    --fs: 15;
    font-weight: 500;
    line-height: calc(23 / 15);
    color: #fff;
    margin-bottom: 0;
  }
  .footer-nav {
    display: flex;
    flex-direction: column;
    margin-left: auto;
    .footer-nav-list {
      display: grid;
      grid-template-columns: auto auto auto;
      gap: 15px 100px;
      list-style: none;
      padding: 0;
      margin-bottom: 35px;
      a {
        --fs: 14;
        color: #fff;
      }
      @media (max-width: 768px) {
        margin-bottom: 30px;
      }
    }
    .page-top {
      margin-top: auto;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      --fs: 12;
      font-family: var(--noto-sans);
      font-weight: 400;
      color: #fff;
      width: 66px;
      aspect-ratio: 1 / 1;
      background: #878789;
      border-radius: 50%;
      margin-left: auto;
      &::before {
        content: "";
        width: 7px;
        aspect-ratio: 7 / 10;
        background: #fff;
        --mask: url(img/icon-top-arrow.svg) no-repeat center / contain;
        -webkit-mask: var(--mask);
        mask: var(--mask);
      }
    }
    @media (max-width: 991px) {
      margin: auto;
    }
  }
}

.footer-bottom {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  padding-top: 25px;
  padding-bottom: 25px;
  &::before {
    content: "";
    width: 100vw;
    height: 1px;
    background: #454140;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
  }
  .footer-link {
    display: flex;
    gap: 40px;
    list-style: none;
    padding: 0;
    margin-bottom: 0;
    a {
      --fs: 12;
      color: #fff;
      text-decoration: underline;
    }
  }
  .copyright {
    --fs: 12;
    color: #fff;
    margin-bottom: 0;
  }
}

@media (max-width: 767px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 25px;
  }
}

.footer-left {
  @media (max-width: 991px) {
    text-align: center;
  }
}

@media (max-width: 575px) {
  .footer-content {
    .footer-left {
      max-inline-size: max-content;
      margin-inline: auto;
    }
    .footer-logo {
      width: 250px;
    }
    .footer-address {
      --fs: 13;
    }
    .footer-nav {
      .footer-nav-list {
        gap: 10px 25px;
        max-inline-size: max-content;
        margin-inline: auto;
        a {
          --fs: 13;
        }
      }
    }
  }
  .footer-bottom {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
    .footer-link {
      justify-content: center;
    }
    .copyright {
      text-align: center;
    }
  }
}

.footer-map {
  display: flex;
  margin-top: 30px;
  gap: 30px;
  @media (max-width: 991px) {
    flex-direction: column;
  }
}

footer {
  .gmap {
    width: 500px;
    max-width: 100%;
    margin-top: 5px;
    @media (max-width: 991px) {
      margin-right: auto;
      margin-left: auto;
    }
  }
}

/*		共通		*/
.delay-text {
  display: block;
  overflow: hidden;
  opacity: 0;
}

.delay-text.is-active {
  opacity: 1;
}

.char {
  display: inline-block;
  opacity: 0;
  transition: opacity 0.7s cubic-bezier(0.25, 0.45, 0.45, 0.95), transform 0.7s cubic-bezier(0.25, 0.45, 0.45, 0.95);
  transform: translate(0, 100%);
}

.is-active .char {
  opacity: 1;
  transform: translate(0, 0%) skewX(0deg);
}

.top-section h2 {
  --fs: 38;
  font-size: var(--font-size);
  letter-spacing: 0.05em;
  line-height: calc(45 / 38);
}

.top-body {
  position: sticky;
  top: 0;
  background: url(img/body-bg.png) no-repeat bottom left / max(2060px, 100%), #fff;
  padding-bottom: 200px;
}

@media (max-width: 767px) {
  .top-section h2 {
    --fs: 28;
    margin-bottom: 100px;
  }
  .top-body {
    background: url(img/body-bg.png) no-repeat bottom left / max(1000px, 100%), #fff;
    padding-bottom: 120px;
  }
}

/*		トップページ		*/
.hero {
  position: sticky;
  top: 0;
  background: radial-gradient(circle at 70% 0%, #8fd1ff, #0057b8 70%);
  padding-top: 160px;
  min-height: 400px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}

@media (max-height: 810px) {
  .hero {
    max-height: 100svh;
    overflow: auto;
  }
}

.hero::before {
  content: "";
  display: block;
  background: url(img/hero-bg.jpg) top center / cover;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
}

.hero::after {
  content: "";
  width: 144.2vw;
  aspect-ratio: 2077 / 1193;
  background: url(img/hero-deco.svg) center / cover;
  position: fixed;
  top: 50%;
  left: 50%;
  opacity: 1;
  mix-blend-mode: overlay;
  transform: translate(-64.79%, -56.2%);
  z-index: -1;
}

.hero-content {
  position: relative;
  display: grid;
  grid-template-columns: 70% 1fr;
  align-items: flex-end;
}

.hero-title {
  position: relative;
  display: inline-grid;
  --fs: 61;
  font-size: var(--font-size);
  line-height: calc(83 / 61);
  letter-spacing: 0.05em;
  font-weight: 500;
  color: #fff;
  margin-bottom: 30px;
  img {
    content: "";
    width: 318px;
    aspect-ratio: 318 / 66;
    position: absolute;
    right: 0;
    bottom: 0;
    transform: translateX(35%) rotate(-8deg);
  }
  > span {
    display: inline-block;
    &:first-child {
      --fs: 35;
      font-size: var(--font-size);
      color: var(--color-theme-2);
    }
  }
}

.hero-text .is-style-button-1 .wp-block-button__link {
  transition: 0.4s;
  transform: translateY(5px);
}

.hero-text .is-style-button-1 .wp-block-button__link::before {
  content: none;
}

.hero-text .is-style-button-1 .wp-block-button__link:hover {
  transform: none;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.15);
}

.hero-text p {
  --fs: 18;
  font-weight: 600;
  color: #fff;
  &.hero-sub-text {
    --fs: 22;
    line-height: 1.5;
  }
}

.hero-point {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 420px;
  width: 100%;
  background: #fff;
  border-radius: 10px;
  padding-top: 25px;
  padding-bottom: 25px;
  margin-top: 75px;
  margin-bottom: 20px;
}

.hero-point-item {
  position: relative;
  display: grid;
  justify-content: center;
  align-items: center;
  gap: 5px;
  text-align: center;
  &:not(:first-child)::before {
    content: "";
    width: 1px;
    height: 100%;
    background-image: repeating-linear-gradient(180deg, #707070, #707070 4px, transparent 4px, transparent 8px);
    background-position: left top;
    background-repeat: repeat-y;
    background-size: 1px 100%;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(-50%, -50%);
  }
  img {
    margin-inline: auto;
  }
  p {
    line-height: 1.4;
    font-family: var(--noto-sans);
    font-weight: 500;
    color: var(--color-body-1);
    margin-bottom: 0;
    span {
      --fs: 22;
      font-weight: 600;
      padding-right: 3px;
      padding-left: 3px;
    }
  }
}

.hero-image {
  margin-left: -20%;
}

.hero-tel {
  display: grid;
  gap: 5px;
  justify-content: end;
  max-width: 1390px;
  width: calc(100vw - 50px);
  position: absolute;
  top: -30px;
  left: 50%;
  padding: 0 35px;
  transform: translateX(-50%);
  a {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 15px;
    --fs: 34;
    letter-spacing: 0.1em;
    line-height: 1;
    font-family: var(--shippori-mincho);
    font-weight: bold;
    color: #fff;
    &::before {
      content: "";
      display: inline-block;
      --mask: url(img/icon-tel.svg) no-repeat center / contain;
      width: 19px;
      aspect-ratio: 19 / 25;
      background: #fff;
      -webkit-mask: var(--mask);
      mask: var(--mask);
    }
  }
  span {
    --fs: 13;
    font-weight: 400;
    font-family: var(--noto-sans);
    letter-spacing: 0;
  }
}

@media (max-width: 991px) {
  .hero {
    padding-top: 120px;
  }
  .hero-content {
    grid-template-columns: 1fr 250px;
  }
  .hero-text {
    display: contents;
  }
  .hero-content .is-style-button-1,
  .hero-point,
  .hero-text > p {
    grid-column: 1 / 2;
  }
  .hero-title,
  .hero-content .hero-sub-text {
    grid-column: span 2;
  }
  .hero-title {
    max-width: max-content;
  }
  .hero-image {
    grid-column: 2 / 3;
    grid-row: 3 / 6;
    margin-left: 0;
  }
  .hero-tel {
    display: none;
  }
}

@media (max-width: 767px) {
  .hero-content {
    grid-template-columns: 1fr 210px;
  }
  .hero-point {
    margin-top: 40px;
  }
  .hero-title {
    --fs: 28;
    & > span {
      &:first-child {
        --fs: 20;
      }
    }
    img {
      width: 200px;
      transform: translateX(55%) rotate(-8deg);
    }
  }
  .hero-text p {
    --fs: 15;
    &.hero-sub-text {
      --fs: 16;
    }
  }
}

@media (max-width: 575px) {
  .hero {
    overflow-x: clip;
    padding-top: 100px;
    padding-bottom: 20px;
  }
  .hero-content {
    grid-template-columns: 1fr 170px;
    gap: 0 10px;
  }
  .hero-title {
    margin-bottom: 15px;
    img {
      width: 180px;
      transform: translateX(50%) rotate(-8deg);
    }
  }
  .hero-content .is-style-button-1,
  .hero-text > p {
    grid-column: span 2;
  }
  .hero-content .is-style-button-1 {
    order: 1;
  }
  .hero-image {
    grid-row: 3 / 4;
  }
  .hero-point {
    grid-template-columns: 1fr;
    max-inline-size: max-content;
    padding: 0 20px;
    margin-top: 0;
    margin-bottom: 0;
  }
  .hero-point-item {
    grid-template-columns: 40px 1fr;
    max-width: 140px;
    width: 100%;
    padding: 18px 0;
    margin-inline: auto;
    &:not(:first-child)::before {
      width: 100%;
      height: 1px;
      background: repeating-linear-gradient(90deg, #707070, #707070 4px, transparent 4px, transparent 8px);
      top: 0;
      left: 50%;
      transform: translate(-50%, -50%);
    }
  }
}

.top-fixed-bg {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
  padding-top: 120px;
  padding-bottom: 170px;
}

.top-fixed-bg::before {
  content: "";
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(to bottom, #3c82f6 0%, #1f5fb4 50%, #0b3b78 100%);
  opacity: 0;
  z-index: -5;
  transition: all 0.7s ease-out;
}

.top-fixed-bg.change::before {
  opacity: 1;
}

.top-fixed-bg::after {
  content: "";
  width: 144.2vw;
  aspect-ratio: 2077 / 1193;
  background: url(img/hero-deco.svg) center / cover;
  position: fixed;
  top: 50%;
  left: 50%;
  opacity: 0.05;
  mix-blend-mode: soft-light;
  transform: translate(-64.79%, -56.2%);
  transition: all 0.7s ease-out;
  z-index: -1;
}

.top-fixed-bg.change::after {
  opacity: 1;
}

/*		トップ ミッション		*/
.top-mission {
  margin-bottom: 200px;
}

.top-mission h2 {
  --fs: 33;
  font-size: var(--font-size);
  font-weight: 500;
  text-align: center;
  letter-spacing: 0.05em;
  margin-bottom: 80px;
  span {
    --fs: 40;
    font-family: var(--shippori-mincho);
    &.text-theme-2 {
      --fs: 77;
      display: inline-block;
      line-height: 1;
      vertical-align: sub;
    }
  }
}

.top-mission-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 55px;
}

.top-mission-item {
  background: #fff;
  border: 1px solid #707070;
  border-radius: 10px;
  padding: 35px 15px 25px;
  box-shadow: 5px 5px 6px rgba(0, 0, 0, 0.15);
  > * {
    max-width: 240px;
    margin-inline: auto;
  }
  .number {
    display: grid;
    justify-content: center;
    gap: 5px;
    --fs: 25;
    font-family: var(--cinzel);
    font-weight: 500;
    line-height: 1;
    color: var(--color-theme-1);
    text-align: center;
    margin-bottom: 15px;
    span {
      display: inline-block;
      --fs: 40;
      font-family: var(--shippori-mincho);
      font-size: var(--font-size);
      line-height: 1;
      color: var(--color-theme-2);
    }
  }
  h3 {
    display: grid;
    gap: 15px;
    --fs: 18;
    font-size: var(--font-size);
    line-height: calc(26 / 18);
    text-align: center;
    font-weight: bold;
    color: var(--color-theme-1);
    margin-bottom: 15px;
    &::after {
      content: "";
      width: 22px;
      height: 3px;
      background: var(--color-theme-2);
      margin-inline: auto;
    }
  }
  p {
    --fs: 15;
    font-size: var(--font-size);
    line-height: calc(23 / 15);
  }
}

@media (max-width: 991px) {
  .top-mission-content {
    gap: 15px;
  }
}

@media (max-width: 767px) {
  .top-mission {
    margin-bottom: 150px;
  }
  .top-mission h2 {
    --fs: 23;
    margin-bottom: 50px;
    span {
      --fs: 30;
      &.text-theme-2 {
        --fs: 65;
      }
    }
  }
  .top-mission-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .top-mission-item {
    padding: 35px 20px 25px;
    > * {
      max-width: 100%;
    }
  }
}

/*		トップ 特徴		*/
.top-feature {
  --container: 1165px;
  h2 {
    --fs: 33;
    font-size: var(--font-size);
    font-weight: 500;
    text-align: center;
    letter-spacing: 0.05em;
    margin-bottom: 60px;
    span {
      --fs: 40;
      font-family: var(--shippori-mincho);
      &.text-theme-2 {
        --fs: 77;
        display: inline-block;
        line-height: 1;
        vertical-align: sub;
      }
    }
  }
}

.top-fixed-bg.change .top-feature h2 {
  color: #fff;
}

@media (max-width: 767px) {
  .top-fixed-bg {
    padding-bottom: 120px;
  }
}

.top-feature-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  --column: 4;
  --column-gap: 35px;
  gap: 50px var(--column-gap);
  .top-feature-item {
    display: grid;
    grid-template-rows: auto 1fr;
    align-items: center;
    gap: 25px;
    width: calc((100% - (var(--column-gap) * (var(--column) - 1))) / var(--column));
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.15);
    opacity: 0;
    &:nth-child(1) {
      animation-delay: 0.2s;
    }
    &:nth-child(2) {
      animation-delay: 0.5s;
    }
    &:nth-child(3) {
      animation-delay: 0.8s;
    }
    &:nth-child(4) {
      animation-delay: 1.1s;
    }
    &:nth-child(5) {
      animation-delay: 1.4s;
    }
    &:nth-child(6) {
      animation-delay: 1.7s;
    }
    &:nth-child(7) {
      animation-delay: 2s;
    }
    &:nth-child(8) {
      animation-delay: 2.3s;
    }
    &:nth-child(9) {
      animation-delay: 2.6s;
    }
    &:nth-child(10) {
      animation-delay: 2.9s;
    }
    > img {
      border-radius: 10px;
    }
    .top-feature-text {
      position: relative;
      .number {
        position: absolute;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        width: 104px;
        height: 100px;
        border-radius: 100px;
        --fs: 35;
        font-size: var(--font-size);
        font-family: var(--shippori-mincho);
        font-weight: bold;
        letter-spacing: 0.05em;
        line-height: 1;
        color: var(--color-theme-2);
        background: #fff;
        padding: 10px 15px;
        top: -25px;
        left: 50%;
        transform: translate(-50%, -45%);
        span {
          margin-top: -5px;
        }
      }
      p {
        position: relative;
        font-family: var(--noto-sans);
        font-weight: 500;
        line-height: calc(25 / 16);
        text-align: center;
        margin-bottom: 0;
        z-index: 5;
      }
      @media (max-width: 575px) {
        .number {
          width: 80px;
          height: 80px;
          transform: translate(-50%, -45%);
        }
        p {
          --fs: 13;
        }
      }
    }
  }
  &.is-active {
    .top-feature-item {
      -webkit-animation-name: fadeInDown;
      animation-name: fadeInDown;
      -webkit-animation-duration: 2s;
      animation-duration: 2s;
      -webkit-animation-fill-mode: both;
      animation-fill-mode: both;
    }
  }
}

@media (max-width: 991px) {
  .top-feature-content {
    --column: 2;
    --column-gap: 15px;
    gap: calc(var(--column-gap) * 2) var(--column-gap);
    .top-feature-item {
      padding: 10px;
    }
  }
}

@media (max-width: 767px) {
  .top-feature h2 {
    --fs: 23;
    margin-bottom: 50px;
    span {
      --fs: 30;
      &.text-theme-2 {
        --fs: 65;
      }
    }
  }
}

/*		ご利用の流れ		*/
.top-flow {
  --container: 1165px;
  background: #fcf9f2;
  padding-top: 120px;
  padding-bottom: 120px;
  margin-bottom: 120px;
  h2 {
    margin-bottom: 120px;
  }
  .is-style-button-1 .wp-block-button__link {
    min-width: 302px;
  }
}

.top-flow-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 80px;
  max-width: 800px;
  margin-bottom: 120px;
  margin-inline: auto;
  .top-flow-item {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 15px;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    background: #fff;
    border-radius: 50%;
    &:not(:last-child)::after {
      content: "";
      width: 9px;
      height: 22px;
      --mask: url(img/icon-flow-arrow.svg) no-repeat center / contain;
      background: var(--color-theme-1);
      -webkit-mask: var(--mask);
      mask: var(--mask);
      position: absolute;
      top: 50%;
      right: calc(80px / -2);
      transform: translate(50%, -50%);
    }
    .step {
      display: grid;
      text-align: center;
      --fs: 14;
      font-size: var(--font-size);
      font-family: var(--cinzel);
      font-weight: bold;
      line-height: 1;
      color: var(--color-theme-1);
      position: absolute;
      top: 0;
      left: 0;
      transform: translate(25%, -35%);
      span {
        --fs: 40;
        font-family: var(--shippori-mincho);
        color: var(--color-theme-2);
        letter-spacing: 0.045em;
        line-height: 1;
      }
    }
    p {
      --fs: 18;
      font-size: var(--font-size);
      font-family: var(--noto-sans);
      text-align: center;
      font-weight: 500;
      line-height: calc(25 / 18);
      color: var(--color-theme-1);
      margin-bottom: 0;
    }
  }
  @media (max-width: 768px) {
    gap: 40px;
  }
}

@media (max-width: 767px) {
  .top-flow {
    padding-top: 80px;
    padding-bottom: 80px;
    margin-bottom: 80px;
    h2 {
      margin-bottom: 60px;
    }
  }
  .top-flow-content {
    max-width: 500px;
    grid-template-columns: 1fr;
    .top-flow-item {
      display: grid;
      grid-template-columns: 45px 130px;
      aspect-ratio: auto;
      border-radius: 100px;
      padding: 25px 0;
      .step {
        grid-column: 1 / 2;
        grid-row: 1 / 3;
        position: initial;
        transform: none;
      }
      img {
        margin-inline: auto;
      }
      &:not(:last-child)::after {
        top: 100%;
        right: auto;
        left: 50%;
        transform: translate(50%, 10px) rotate(90deg);
      }
    }
  }
}

@media (max-width: 575px) {
  .top-flow-content {
    margin-bottom: 60px;
    .top-flow-item {
      grid-template-columns: 40px 125px;
      gap: 10px 15px;
      padding: 15px 0;
      p {
        --fs: 14;
      }
      img {
        width: 50px;
      }
      &:nth-child(1) img {
        width: 54px;
      }
      &:nth-child(2) img {
        width: 40px;
      }
      &:nth-child(3) img {
        width: 40px;
      }
    }
  }
}

/*		よくあるご質問		*/

.top-faq {
  --container: 865px;
  margin-bottom: 120px;
  h2 {
    margin-bottom: 60px;
  }
  .top-faq-item {
    position: relative;
    padding: 35px 0;
    &:not(:last-child)::before {
      content: "";
      width: 100%;
      height: 1px;
      background-image: repeating-linear-gradient(90deg, #707070, #707070 4px, transparent 4px, transparent 8px);
      background-position: left bottom;
      background-repeat: repeat-x;
      background-size: 100% 1px;
      position: absolute;
      right: 0;
      bottom: 0;
      left: 0;
    }
    .top-faq-question {
      position: relative;
      display: grid;
      grid-template-columns: 55px 1fr;
      align-items: baseline;
      --fs: 18;
      font-size: var(--font-size);
      font-family: var(--noto-sans);
      font-weight: bold;
      margin-bottom: 0;
      &::before {
        content: "Q.";
        --fs: 35;
        font-weight: bold;
        font-family: var(--shippori-mincho);
        color: var(--color-theme-1);
      }
    }
    .top-faq-answer {
      position: relative;
      display: grid;
      grid-template-columns: 55px 1fr;
      align-items: baseline;
      --fs: 18;
      font-size: var(--font-size);
      font-family: var(--noto-sans);
      line-height: calc(30 / 18);
      margin-bottom: 0;
      &::before {
        content: "A.";
        --fs: 35;
        font-weight: bold;
        font-family: var(--shippori-mincho);
        color: var(--color-theme-2);
      }
    }
  }
}

@media (max-width: 767px) {
  .top-faq {
    margin-bottom: 80px;
    h2 {
    }
    .top-faq-item {
      padding: 30px 0;
      &:not(:last-child)::before {
      }
      .top-faq-question {
        grid-template-columns: 35px 1fr;
        --fs: 15;
        &::before {
          --fs: 28;
        }
      }
      .top-faq-answer {
        grid-template-columns: 35px 1fr;
        --fs: 15;
        &::before {
          --fs: 28;
        }
      }
    }
  }
}

/*		トップ おすすめ記事		*/
.top-blog {
  margin-bottom: 65px;
  h2 {
    margin-bottom: 60px;
  }
  .is-style-button-1 .wp-block-button__link {
    min-width: 302px;
  }
}

.top-blog-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px 35px;
  list-style: none;
  padding-left: 0;
  margin-bottom: 90px;
  .top-blog-item {
    .blog-item-image {
      position: relative;
      overflow: hidden;
      margin-bottom: 25px;
      img {
        width: 100%;
        aspect-ratio: 365 / 257;
        object-fit: cover;
        transition: transform 0.2s ease-out;
      }
    }
    .blog-item-info {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 5px 8px;
      margin-bottom: 10px;
      .blog-item-date {
        --fs: 13;
        line-height: 1;
        font-weight: 500;
        font-family: var(--noto-sans);
        color: #939393;
      }
      .blog-item-category {
        display: grid;
        place-items: center;
        min-width: 95px;
        min-height: 23px;
        --fs: 12;
        line-height: 1;
        letter-spacing: 0.1em;
        font-family: var(--noto-sans);
        background: var(--color-theme-1);
        color: #fff;
        padding: 5px 15px;
        border-radius: 20px;
      }
    }
    .blog-item-title {
      --fs: 18;
      font-size: var(--font-size);
      line-height: 1.4;
      font-weight: 500;
      color: var(--color-theme-1);
      margin-bottom: 10px;
      font-family: var(--font-family);
    }
    .blog-item-text {
      display: -webkit-box;
      overflow: hidden;
      text-overflow: ellipsis;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      margin-bottom: 0;
    }
    a:hover {
      .blog-item-image img {
        transform: scale(1.2);
      }
    }
    &:nth-child(4) {
      display: none;
    }
  }
}

.single-blog-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 8px;
  margin-bottom: 20px;
  .blog-item-date {
    --fs: 13;
    line-height: 1;
    font-weight: 500;
    font-family: var(--noto-sans);
    color: #939393;
    display: flex;
    align-items: center;
    gap: 5px;
    &::before {
      content: "";
      background-image: url(./img/icon_postdate.svg);
      display: block;
      width: 15px;
      height: 15px;
    }
  }
  .blog-item-update {
    display: flex;
    align-items: center;
    margin-left: 25px;
    gap: 5px;
    &::before {
      content: "";
      background-image: url(./img/icon_modified_date.svg);
      background-repeat: no-repeat;
      display: block;
      width: 15px;
      height: 14px;
    }
  }
  .blog-item-category {
    display: grid;
    place-items: center;
    min-width: 95px;
    min-height: 23px;
    --fs: 12;
    line-height: 1;
    letter-spacing: 0.1em;
    font-family: var(--noto-sans);
    background: var(--color-theme-1);
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    margin-left: 15px;
    @media (max-width: 768px) {
      margin-left: 0;
      margin-top: 10px;
    }
  }
  @media (max-width: 768px) {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 10px;
  }
}

.single-blog-date {
  display: flex;
}

@media (max-width: 991px) {
  .top-blog-list {
    gap: 50px 15px;
  }
}

@media (max-width: 767px) {
  .top-blog {
    margin-bottom: 120px;
  }
  .top-blog-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 50px 15px;
    .top-blog-item:nth-child(4) {
      display: block;
    }
  }
}

@media (max-width: 575px) {
  .top-blog-list {
    grid-template-columns: 1fr;
    gap: 50px 15px;
    .top-blog-item:nth-child(4) {
      display: none;
    }
  }
}

/*		CTA パーツ		*/
.cta-parts {
  max-width: 890px;
  width: 100%;
  background: linear-gradient(to bottom, #347ce3, #0d2b56);
  border-radius: 10px;
  padding: 35px 15px;
  margin-inline: auto;
  > h2 {
    --fs: 30;
    font-size: var(--font-size);
    letter-spacing: 0.05em;
    text-align: center;
    color: #fff;
    margin-bottom: 5px;
  }
  > p {
    color: #fff;
  }
  .cta-parts-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    background: #fff;
    max-width: 775px;
    border-radius: 10px;
    padding: 25px 15px;
    margin-inline: auto;
    .cta-parts-tel {
      display: grid;
      justify-content: center;
      gap: 5px;
      a {
        display: flex;
        align-items: baseline;
        justify-content: center;
        gap: 15px;
        --fs: 34;
        line-height: 1;
        letter-spacing: 0.1em;
        font-family: var(--shippori-mincho);
        font-weight: bold;
        color: var(--color-theme-2);
        &::before {
          content: "";
          display: inline-block;
          --mask: url(img/icon-tel.svg) no-repeat center / contain;
          width: 19px;
          aspect-ratio: 19 / 25;
          background: var(--color-theme-2);
          -webkit-mask: var(--mask);
          mask: var(--mask);
        }
      }
      span {
        --fs: 13;
        font-weight: 400;
        font-family: var(--noto-sans);
        letter-spacing: 0;
      }
    }
    .cta-btn {
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      --fs: 18;
      font-size: var(--font-size);
      font-family: var(--noto-sans);
      font-weight: 500;
      color: #fff;
      gap: 10px;
      max-width: 355px;
      width: 100%;
      min-height: 65px;
      background: var(--color-theme-2);
      border-radius: 60px;
      padding: 5px 40px;
      overflow: hidden;
      z-index: 1;
      &::before {
        content: "";
        width: 0;
        height: 100%;
        background: var(--color-theme-1);
        border-radius: 60px;
        position: absolute;
        top: 0;
        left: 0;
        opacity: 0;
        z-index: -1;
        transition: width 0.5s cubic-bezier(0.35, 1, 0.7, 1), opacity 0.3s;
      }
      &::after {
        content: "";
        display: block;
        --mask: url(img/icon-arrow-right.svg) no-repeat center / contain;
        width: 7px;
        height: auto;
        aspect-ratio: 7 / 12;
        background: #fff;
        -webkit-mask: var(--mask);
        mask: var(--mask);
        position: absolute;
        top: 50%;
        right: 20px;
        transform: translateY(-50%);
      }
      &:hover {
        opacity: 1;
      }
      &:hover::before {
        width: 100%;
        opacity: 1;
      }
    }
  }
}

@media (max-width: 767px) {
  .cta-parts {
    padding: 25px 15px;
    > h2 {
      --fs: 22;
      letter-spacing: 0;
    }
    .cta-parts-content {
      grid-template-columns: 1fr;
      gap: 25px;
      padding: 20px 15px;
      .cta-btn {
        --fs: 16;
        padding: 5px 30px;
        margin-inline: auto;
        &::after {
          right: 15px;
        }
      }
    }
  }
}

/*		下層共通		*/

.page-header {
  --container: 1080px;
  position: sticky;
  top: 0;
  display: grid;
  align-items: center;
  min-height: 360px;
  background: radial-gradient(circle at 70% 0%, #8fd1ff, #0057b8 70%);
  padding-top: 140px;
  padding-bottom: 20px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
  &::before {
    content: "";
    display: block;
    background: url(img/hero-bg.jpg) top center / cover;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
  }
  &::after {
    content: "";
    width: 144.2vw;
    aspect-ratio: 2077 / 1193;
    background: url(img/hero-deco.svg) center / cover;
    position: fixed;
    top: 50%;
    left: 50%;
    opacity: 1;
    mix-blend-mode: overlay;
    transform: translate(-64.79%, -74%);
    z-index: -1;
  }
  .page-header-title {
    --fs: 40;
    font-size: var(--font-size);
    font-weight: 600;
    color: #fff;
    margin-bottom: 0;
  }
}

.breadcrumbs {
  --container: 1080px;
  span {
    --fs: 12;
    font-size: var(--font-size);
    font-family: var(--noto-sans);
  }
  a {
    text-decoration: underline;
  }
  .breadcrumbs-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px 10px;
    margin-bottom: 90px;
    @media (max-width: 768px) {
      margin-bottom: 50px;
    }
  }
}

.page-body {
  background: #fff;
  background: url(img/body-bg.png) no-repeat bottom left / max(2060px, 100%), #fff;
  position: sticky;
  top: 0;
  padding-top: 30px;
  padding-bottom: 200px;
  p {
    --fs: 15;
  }
}

.page-content {
  --container: 965px;
  overflow: hidden;
  padding-bottom: 150px;
  font-family: var(--noto-sans);
  @media (max-width: 768px) {
    padding-bottom: 100px;
  }
}

@media (max-width: 991px) {
  .page-header {
    padding-top: 120px;
  }
}

@media (max-width: 767px) {
  .page-header {
    min-height: 240px;
    padding-top: 100px;
    padding-bottom: 15px;
    .page-header-title {
      --fs: 26;
    }
  }
  .page-body {
    background: url(img/body-bg.png) no-repeat bottom left / max(1000px, 100%), #fff;
    padding-bottom: 120px;
  }
}

.wow[class*="animate__"]:not(.animate__animated) {
  animation-name: none;
  visibility: hidden;
}

.animate__fadeInDown {
  transition: all 2s ease-out;
}

@keyframes fadeInDown {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, -25px, 0);
    transform: translate3d(0, -25px, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
  }
}

.title-h2 {
  --fs: 28;
  font-size: var(--font-size);
  font-family: var(--font-family);
  font-weight: 600;
  padding-bottom: 40px;
  margin-bottom: 48px;
  position: relative;
  line-height: calc(45 / 28);
  &::after {
    content: "";
    display: block;
    background-image: url(./img/titleh2-border.svg);
    width: 44px;
    height: 3px;
    background-repeat: no-repeat;
    position: absolute;
    left: 0;
    bottom: 0;
  }
  @media (max-width: 768px) {
    --fs: 20;
    padding-bottom: 20px;
    margin-bottom: 20px;
  }
}

.page-content-block {
  margin-bottom: 140px;
  p {
    font-size: 15px;
    font-family: var(--noto-sans);
  }
  @media (max-width: 768px) {
    margin-bottom: 70px;
  }
}

.about-column {
  display: flex;
  gap: 35px;
  margin-top: 85px;
  @media (max-width: 768px) {
    flex-direction: column;
    gap: 60px;
    margin-top: 50px;
  }
}

.about-column-item {
  border-radius: 10px;
  background-color: #fcf9f2;
  padding: 60px 42px;
  width: 50%;
  position: relative;
  p {
    &:last-child {
      margin-bottom: 0;
    }
  }
  @media (max-width: 768px) {
    width: 100%;
    padding: 30px 20px;
  }
}

.about-column-title {
  text-align: center;
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  font-size: var(--font-size);
  --fs: 23;
  color: #fff;
  border-radius: 50px;
  width: 300px;
  margin-right: auto;
  margin-left: auto;
  background: linear-gradient(to bottom, #347ce3, #0d2b56);
  height: 44px;
  line-height: 44px;
  font-weight: 400;
  font-family: var(--font-family);
  @media (max-width: 768px) {
    top: -20px;
    --fs: 18;
    height: 35px;
    line-height: 35px;
  }
  @media (max-width: 575px) {
    width: 250px;
  }
}

.about-column-image {
  margin-bottom: 30px;
}

.about-column-check {
  margin-bottom: 30px;
  --fs: 18;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 55px;
  justify-content: center;
  font-family: var(--font-family);
  &::before {
    content: "";
    background-image: url(./img/icon-check.svg);
    display: block;
    display: block;
    width: 31px;
    height: 30px;
    background-repeat: no-repeat;
    flex-shrink: 0;
  }
  span {
    display: block;
    max-width: 280px;
    line-height: calc(27 / 18);
    @media (max-width: 768px) {
      max-width: 100%;
    }
  }
  @media (max-width: 768px) {
    min-height: auto;
    --fs: 17;
  }
}

.step-flow {
  background-color: #fcf9f2;
  border-radius: 10px;
  padding: 40px 55px;
  .step-head {
    .step {
      display: grid;
      text-align: center;
      --fs: 16;
      font-size: var(--font-size);
      font-family: var(--cinzel);
      font-weight: bold;
      line-height: 1;
      color: var(--color-theme-1);
      span {
        --fs: 40;
        font-family: var(--shippori-mincho);
        color: var(--color-theme-2);
        letter-spacing: 0.045em;
        line-height: 1;
        @media (max-width: 768px) {
          --fs: 30;
        }
      }
    }
  }
  .cta-parts {
    background: none;
    padding: 0;
    max-width: 100%;
    .cta-parts-content {
      max-width: 100%;
      .cta-parts-tel {
        position: relative;
        a {
          color: var(--color-theme-1);
          &::before {
            background: var(--color-theme-1);
          }
        }
        &::after {
          content: "";
          display: block;
          width: 1px;
          height: 100%;
          background-color: #707070;
          position: absolute;
          right: 8%;
          top: 0;
          @media (max-width: 991px) {
            content: none;
          }
        }
      }
    }
    @media (max-width: 768px) {
      padding-right: 0;
      padding-left: 0;
    }
  }
  p {
    line-height: calc(28 / 15);
    &:last-child {
      margin-bottom: 0;
    }
  }
  @media (max-width: 768px) {
    padding: 40px 15px;
  }
}

.step-head {
  display: flex;
  align-items: flex-end;
  margin-bottom: 20px;
}

.step-head .step-head-text {
  font-size: var(--font-size);
  --fs: 25;
  font-family: var(--font-family);
  display: flex;
  align-items: center;
  line-height: 1;
  font-weight: 500;
  margin-bottom: 0;
  &::before {
    content: "";
    margin: 0 25px;
    display: block;
    width: 1px;
    height: 30px;
    background-color: #707070;
    @media (max-width: 768px) {
      margin: 0 10px;
    }
  }
  @media (max-width: 768px) {
    --fs: 18;
  }
}

.step-flow-icon {
  margin-top: 25px;
  text-align: center;
  margin-bottom: 25px;
  line-height: 1;
}
.example {
  display: flex;
  gap: 65px 35px;
  flex-wrap: wrap;
  @media (max-width: 768px) {
    flex-direction: column;
    margin-bottom: 70px;
    gap: 35px;
  }
}

.example-card {
  padding: 40px 55px 50px 55px;
  border: 1px solid #707070;
  border-radius: 10px;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);
  position: relative;
  width: calc((100% - 35px) / 2);
  &::after {
    content: "";
    display: block;
    background-image: url(./img/example-card-logo.svg);
    background-repeat: no-repeat;
    width: 160px;
    height: 180px;
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: -1;
  }
  @media (max-width: 768px) {
    width: 100%;
    padding: 30px;
  }
}

.example-image {
  max-width: 200px;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 30px;
  @media (max-width: 768px) {
    margin-bottom: 25px;
  }
}

.example-status {
  text-align: center;
  margin-bottom: 25px;
  --fs: 18;
  font-family: var(--noto-sans);
  font-weight: 500;
  line-height: calc(27 / 18);
  font-weight: 400;
  @media (max-width: 768px) {
    --fs: 16;
  }
}

.example-name {
  margin-bottom: 35px;
  padding-bottom: 15px;
  position: relative;
  color: var(--color-theme-1);
  text-align: center;
  font-family: var(--font-family);
  font-size: var(--font-size);
  --fs: 22;
  &::after {
    content: "";
    display: block;
    background-image: url(./img/titleh2-border.svg);
    width: 24px;
    height: 3px;
    background-repeat: no-repeat;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
  }
  @media (max-width: 768px) {
    --fs: 20;
    margin-bottom: 25px;
  }
}

.example-text {
  margin-bottom: 0;
  font-family: var(--noto-sans);
  line-height: calc(25 / 15);
  font-weight: 400;
}

.top-comment {
  position: relative;
  &::after {
    content: "";
    background-image: url(./img/company-bg-logo.svg);
    background-repeat: no-repeat;
    aspect-ratio: 700 / 700;
    width: 700px;
    height: 700px;
    display: block;
    position: absolute;
    right: -450px;
    top: -50px;
    z-index: -1;
    @media (max-width: 768px) {
      background-size: cover;
      height: 300px;
      width: 300px;
      right: -150px;
      top: -50px;
    }
  }
  p {
    &:not(:last-child) {
      @media (min-width: 992px) {
        margin-bottom: 2em;
      }
    }
  }
}

p.rinen-subtitle {
  --fs: 22;
  font-family: var(--font-family);
}

.top-image {
  margin-bottom: 40px;
  @media (max-width: 768px) {
    margin-bottom: 20px;
  }
}

.top-name {
  --fs: 15;
  text-align: right;
  margin-top: 50px;
  font-family: var(--font-family);
  font-weight: 500;
  span {
    --fs: 24;
    display: inline-block;
    margin-left: 20px;
    @media (max-width: 768px) {
      --fs: 20;
    }
  }
  @media (max-width: 768px) {
    margin-top: 25px;
  }
}

.sidebar-container {
  display: flex;
  gap: 75px;
  @media (max-width: 768px) {
    flex-direction: column;
  }
}

.blog-list-item {
  display: flex;
  gap: 40px;
}

.sidebar-container {
  aside {
    flex-shrink: 0;
    font-family: var(--noto-sans);
    @media (max-width: 768px) {
      order: 2;
    }
  }
  .posts-right {
    width: 100%;
  }
  .aside-title {
    color: var(--color-theme-1);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 6px;
    line-height: 1;
    &::before {
      content: "";
      display: block;
      background-image: url(./img/titleh2-border-vertical.svg);
      width: 3px;
      height: 19px;
      background-repeat: no-repeat;
    }
  }
  .sidebar-category {
    margin-left: 0;
    padding-left: 0;
    li {
      list-style: none;
      line-height: 1;
      &:not(:last-child) {
        margin-bottom: 15px;
      }
      a {
        --fs: 12;
        &.current {
          color: #a0a0a0;
        }
        @media (max-width: 768px) {
          --fs: 14;
        }
      }
    }
    @media (max-width: 768px) {
      display: flex;
      flex-wrap: wrap;
      gap: 10px 30px;
    }
  }
}

.archive-blog-list {
  margin-bottom: 0;
  display: block;
  li {
    a {
      display: flex;
      gap: 40px;
      align-items: flex-start;
      @media (max-width: 768px) {
        flex-direction: column;
        gap: 20px;
      }
    }
  }
  .blog-item-content {
    margin-top: 15px;
    width: 100%;
  }
  .top-blog-item {
    .blog-item-image {
      margin-bottom: 0;
      width: 300px;
      flex-shrink: 0;
      @media (max-width: 991px) {
        width: 200px;
      }
      @media (max-width: 768px) {
        order: 2;
        width: auto;
      }
    }
  }
  .top-blog-item {
    border-bottom: 1px solid #d1d1d1;
    padding-bottom: 35px;
    &:not(:last-child) {
      margin-bottom: 35px;
    }
    .blog-item-text {
      display: flex;
      gap: 44px;
      font-family: var(--noto-sans);
      &::after {
        content: "";
        background-image: url(./img/icon-yellow-arrow-right.svg);
        display: block;
        background-repeat: no-repeat;
        width: 24px;
        height: 24px;
        background-size: cover;
        flex-shrink: 0;
        margin-left: auto;
        @media (max-width: 575px) {
          content: none;
        }
      }
      p {
        margin-bottom: 0;
      }
      @media (max-width: 991px) {
        gap: 20px;
      }
      p {
        --fs: 16;
        display: -webkit-box;
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
      }
    }
    .blog-item-info {
      gap: 20px;
    }
  }
}

.archive-pagenation {
  margin-top: 100px;
  @media (max-width: 768px) {
    margin-top: 50px;
  }
  font-family: var(--noto-sans);
  .navigation {
    justify-content: center;
  }
  .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    @media (max-width: 768px) {
      gap: 15px;
    }
  }
  .page-numbers {
    display: block;
    --fs: 14;
  }
  .page-numbers.current {
    background-color: var(--color-theme-2);
    display: block;
    text-align: center;
    color: #fff;
    width: 34px;
    line-height: 34px;
    height: 34px;
    border-radius: 50%;
    @media (max-width: 768px) {
      width: 30px;
      height: 30px;
      line-height: 30px;
    }
  }
  .page-numbers.next {
    span {
      display: inline-block;
      margin-left: 10px;
      color: #9a9a9a;
    }
  }
  .page-numbers.prev {
    span {
      display: inline-block;
      margin-right: 10px;
      color: #9a9a9a;
    }
  }
}

.single-post-body {
  padding-top: 170px;
  @media (max-width: 768px) {
    padding-top: 130px;
  }
  .single-post-content {
    p {
      --fs: 16;
    }
    a {
      text-decoration: underline;
      color: #0d6efd;
    }
  }
}

.single-post-title {
  --fs: 32;
  font-size: var(--font-size);
  color: var(--color-theme-1);
  position: relative;
  padding-bottom: 33px;
  font-family: var(--font-family);
  margin-bottom: 50px;
  &::before {
    content: "";
    display: block;
    width: 100%;
    height: 3px;
    background: #ededed;
    position: absolute;
    left: 0;
    bottom: 0;
  }
  &::after {
    content: "";
    display: block;
    background-image: url(./img/titleh2-border.svg);
    width: 44px;
    height: 3px;
    background-repeat: no-repeat;
    position: absolute;
    left: 0;
    bottom: 0;
  }
  @media (max-width: 768px) {
    --fs: 22;
    padding-bottom: 15px;
    margin-bottom: 30px;
  }
}

.writer {
  display: flex;
  align-items: center;
  gap: 50px;
  border: 1px solid #707070;
  border-radius: 10px;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
  padding: 25px 50px;
  font-family: var(--font-family);
  margin-bottom: 55px;
  @media (max-width: 768px) {
    padding: 20px 15px;
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start;
  }
}

.writer-image {
  width: 120px;
  height: 120px;
  flex-shrink: 0;
  img {
    border: 1px solid #707070;
    border-radius: 50%;
    object-fit: cover;
    aspect-ratio: 120 / 120;
  }
  @media (max-width: 768px) {
    width: 70px;
    height: 70px;
  }
}

p.writer-name {
  --fs: 18;
  @media (max-width: 768px) {
    margin-bottom: 0;
  }
}

p.writer-detail {
  margin-bottom: 0;
  @media (max-width: 768px) {
    --fs: 13;
  }
}

p.lead-text {
  font-size: var(--font-size);
  --fs: 30;
  line-height: calc(50 / 30);
  margin-bottom: 140px;
  font-family: var(--font-family);
  @media (max-width: 768px) {
    --fs: 18;
    margin-bottom: 70px;
  }
}

div#ez-toc-container {
  background: #f8f8f8;
  border-radius: 10px;
  padding: 40px 80px;
  border: none;
  width: 100%;
  margin-bottom: 120px;
  p.ez-toc-title {
    --fs: 20;
    color: #000;
  }
  @media (max-width: 768px) {
    padding: 20px 30px;
    margin-bottom: 70px;
  }
}

.ez-toc-title-container {
  display: flex;
  align-items: center;
}

#ez-toc-container .ez-toc-js-icon-con {
  width: auto;
  height: auto;
}

.ez-toc-js-icon-con {
  &::before {
    content: "開く";
  }
}

.toc_close .ez-toc-js-icon-con {
  &::before {
    content: "閉じる";
  }
}

#ez-toc-container .ez-toc-js-icon-con {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 5px;
  border-color: #707070;
  svg {
    display: none;
  }
  &::before {
    --fs: 14;
    color: #707070;
    display: block;
  }
}

.ez-toc-icon-toggle-span {
  display: none;
}

div#ez-toc-container ul.ez-toc-list a {
  text-decoration: underline;
  gap: 5px;
  align-items: center;
}

div#ez-toc-container ul.ez-toc-list a,
div#ez-toc-container ul.ez-toc-list a:visited,
.ez-toc-counter nav ul li a::before {
  color: #000;
}

div#ez-toc-container ul li.ez-toc-heading-level-2 {
  &:not(:last-child) {
    margin-bottom: 18px;
  }
}

#ez-toc-container ul.ez-toc-list-level-1 {
  margin-top: 30px;
  @media (max-width: 768px) {
    margin-top: 15px;
  }
}

.single-post-pagenation {
  display: flex;
  align-items: center;
  gap: 60px;
  justify-content: center;
  margin-top: 110px;
  .single-post-pagenation-prev {
    min-width: 110px;
    a {
      display: flex;
      align-items: center;
      gap: 15px;
      &::before {
        content: "";
        background-image: url(./img/icon-blue-arrow.svg);
        display: block;
        background-repeat: no-repeat;
        width: 24px;
        height: 24px;
        background-size: cover;
        flex-shrink: 0;
        transform: rotate(-180deg);
      }
      @media (max-width: 768px) {
        gap: 5px;
      }
    }
    &:empty {
      visibility: hidden;
      pointer-events: none;
    }
    @media (max-width: 768px) {
      min-width: 100px;
    }
  }
  .single-post-pagenation-next {
    min-width: 110px;
    a {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 15px;
      &::after {
        content: "";
        background-image: url(./img/icon-blue-arrow.svg);
        display: block;
        background-repeat: no-repeat;
        width: 24px;
        height: 24px;
        background-size: cover;
        flex-shrink: 0;
      }
      @media (max-width: 768px) {
        gap: 5px;
      }
    }
    &:empty {
      visibility: hidden;
      pointer-events: none;
    }
    @media (max-width: 768px) {
      min-width: 90px;
    }
  }
  @media (max-width: 768px) {
    gap: 15px;
  }
  a {
    min-width: 110px;
    @media (max-width: 768px) {
      min-width: 100px;
    }
  }
}

.archive-back {
  display: inline-block;
  border: 1px solid #707070;
  display: flex;
  gap: 10px;
  border-radius: 50px;
  padding: 3px 25px;
  @media (max-width: 768px) {
    padding: 3px 15px;
  }
}

.related-posts {
  margin-top: 140px;
  @media (max-width: 768px) {
    margin-top: 70px;
  }
}

.supervision {
  border: 1px solid #707070;
  border-radius: 10px;
  padding: 40px 50px;
  position: relative;
  margin-top: 120px;
  @media (max-width: 768px) {
    padding: 20px 15px;
    padding-top: 30px;
  }
}

.supervision-title {
  display: inline-block;
  padding: 5px 30px;
  background-color: #fff;
  position: absolute;
  left: 50px;
  top: -20px;
  @media (max-width: 768px) {
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 20px;
  }
}

.supervision-profile {
  display: flex;
  align-items: center;
  gap: 50px;
  --fs: 15;
  @media (max-width: 768px) {
    gap: 20px;
    --fs: 13;
    align-items: flex-start;
  }
}

.supervision-image {
  width: 174px;
  height: 174px;
  flex-shrink: 0;
  img {
    border-radius: 50%;
    object-fit: cover;
    width: 100%;
    height: 100%;
    aspect-ratio: 174 / 174;
  }
  @media (max-width: 768px) {
    width: 70px;
    height: 70px;
  }
}

.supervision-text {
  line-height: calc(30 / 15);
  p {
    @media (max-width: 768px) {
      --fs: 13;
    }
  }
}

p.supervision-name {
  --fs: 18;
  @media (max-width: 768px) {
    margin-bottom: 0;
    --fs: 14;
  }
}

.post-thumbnail {
  margin-bottom: 100px;
  img {
    border-radius: 10px;
  }
  @media (max-width: 768px) {
    margin-bottom: 30px;
  }
}

.sitemap-lists {
  li {
    &::marker {
      color: var(--color-theme-2);
    }
  }
}

.sitemap {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 16px;
}

.sitemap li {
  border-bottom: 1px solid #eee;
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.sitemap a {
  text-decoration: none;
  color: #333;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.sitemap a:hover {
  padding-left: 4px;
}

.sitemap li:last-child {
  border-bottom: none;
}
div#ez-toc-container ul li a {
  --fs: 15;
  font-size: var(--font-size);
}

.ez-toc-counter nav ul li a::before {
  content: counters(item, ".", decimal);
  color: var(--color-theme-2);
  --fs: 18;
}

.gmap {
  margin-top: 30px;
  iframe {
    aspect-ratio: 16/9;
    width: 100%;
  }
}

.kyoei-reason {
  h4 {
    margin-top: 15px;
  }
  h3 {
    &:not(:first-of-type) {
      @media (max-width: 768px) {
        margin-top: 50px;
      }
    }
  }
}

.footer-sns {
  display: flex;
  align-items: center;
  gap: 20px;
  .sns-list {
    display: flex;
    padding-left: 0;
    gap: 10px;
    margin-bottom: 0;
    li {
      list-style: none;
      width: 48px;
      height: 48px;
      border-radius: 50%;
      overflow: hidden;
      a {
        background: rgba(255, 255, 255, 0.1);
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
        img {
          width: 24px;
          height: 24px;
          /* @media (max-width: 768px) {
            width: 20px;
            height: 20px;
          } */
        }
      }
      /* @media (max-width: 768px) {
        width: 40px;
        height: 40px;
      } */
    }
  }
  @media (max-width: 768px) {
    gap: 10px;
    justify-content: center;
    flex-direction: column;
  }
}
.text-follow {
  color: #fff;
  --fs: 13;
  margin-bottom: 0;
}

.footer-nav-bottom {
  display: flex;
  gap: 10px;
  margin-top: auto;
  @media (max-width: 768px) {
    flex-direction: column;
  }
}

.wp-block-image figure.aligncenter {
  margin-bottom: 1rem;
}
