@charset "UTF-8";
@font-face {
  font-family: "Noto Sans JP";
  src: url("../fonts/NotoSansJP-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-VariableFont_opsz,wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
body {
  color: #111;
  font-family: "Noto Sans JP", sans-serif;
  background: #fff;
  font-size: 18px;
  font-weight: 400;
  line-height: 170%; /* 30.6px */
}

.sp-hidden {
  display: block !important;
}
@media screen and (max-width: 900px) {
  .sp-hidden {
    display: none !important;
  }
}

.pc-hidden {
  display: none !important;
}
@media screen and (max-width: 900px) {
  .pc-hidden {
    display: block !important;
  }
}

.inner {
  max-width: calc(1184px + 30px * 2);
  padding-inline: 30px;
  margin-inline: auto;
  width: 100%;
}
@media screen and (max-width: 900px) {
  .inner {
    padding-inline: 20px;
  }
}

.section__heading {
  display: flex;
  gap: 10px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.section__heading-en {
  color: #fff;
  font-family: "Inter", Courgette, cursive;
  font-size: 24px;
  font-weight: 500;
  line-height: 100%; /* 24px */
  padding: 2px 20px;
  border-radius: 10px;
  background: linear-gradient(100deg, #f63738 2.09%, #f53 97.97%);
}
@media screen and (max-width: 900px) {
  .section__heading-en {
    font-size: 18px;
    border-radius: 7px;
  }
}

.section__heading-ja {
  font-size: 52px;
  font-weight: 700;
  line-height: 140%; /* 72.8px */
}
@media screen and (max-width: 900px) {
  .section__heading-ja {
    font-size: 34px;
  }
}

.btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding-block: 14px;
  padding-inline: 19px;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
  color: #fff;
  text-decoration: none;
  border: 2px solid transparent;
  overflow: hidden;
  transition: background-color 0.5s ease, color 0.5s ease, border 0.5s ease;
  position: relative;
}
.btn svg {
  fill: #fff;
  flex-shrink: 0;
  width: 16px;
  height: auto;
  transition: fill 0.5s ease;
}
.btn svg path {
  fill: currentColor;
  transition: fill 0.5s ease;
}
@media screen and (max-width: 900px) {
  .btn {
    justify-content: center;
    gap: 12px;
  }
  .btn svg {
    position: absolute;
    right: 19px;
    top: 50%;
    transform: translateY(-50%);
  }
}

.btn--red {
  padding: 16px 10px 16px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(100deg, #f63738 2.09%, #ff5533 97.97%);
}
.btn--red > * {
  position: relative;
  z-index: 1;
}
.btn--red::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 0;
}
.btn--red:hover {
  color: #f63738;
  border-color: #f63738;
}
.btn--red:hover::before {
  opacity: 1;
}
.btn--red:focus-visible {
  outline: 2px solid #f63738;
  outline-offset: 2px;
}

.btn--green {
  background: #06c755;
}
.btn--green svg {
  fill: #fff;
}
.btn--green:hover {
  border: 2px solid #06c755;
  background: #fff;
  color: #06c755;
}

.return-to-home {
  text-align: center;
}

.btn--home-back {
  background: #fff;
  color: #111;
  border: 1px solid #222;
  padding-block: 6px;
  padding-inline: 32px 22px;
  gap: 10px;
  font-size: 16px;
  font-weight: 500;
  line-height: 170%;
  border-radius: 10px;
}
.btn--home-back:hover {
  background: #f0f3f6;
}
.btn--home-back:focus-visible {
  outline: 2px solid #111;
  outline-offset: 2px;
}
.btn--home-back svg {
  width: 13px;
  height: 10px;
}
@media screen and (max-width: 900px) {
  .btn--home-back {
    width: 287px;
    border-radius: 7px;
  }
}

.btn--primary {
  background: #202831;
  color: #fff;
  border-radius: 10px;
  padding: 16px 18px 13px 54px;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background-color 0.5s ease;
  gap: 23px;
}
.btn--primary:hover {
  background: rgba(32, 40, 49, 0.7);
}
@media screen and (max-width: 900px) {
  .btn--primary {
    border-radius: 7px;
    padding: 16px 20px;
    justify-content: center;
    gap: 0;
    position: relative;
  }
  .btn--primary svg {
    position: absolute;
    right: 19px;
    top: 50%;
    transform: translateY(-50%);
  }
}

.btn.btn--ghost {
  background: #fff;
  color: #111;
  border-radius: 10px;
  border: 1px solid #222;
  padding: 6px 22px 6px 32px;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.7;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 6px 22px 6px 30px;
}
.btn.btn--ghost svg {
  width: 20px;
  height: 20px;
  fill: #111111;
}
.btn.btn--ghost svg,
.btn.btn--ghost svg path {
  fill: currentColor;
}
.btn.btn--ghost:hover {
  background: #f0f3f6;
}
@media screen and (max-width: 900px) {
  .btn.btn--ghost {
    border-radius: 7px;
    gap: 10px;
  }
  .btn.btn--ghost svg {
    position: static;
    transform: none;
  }
}

.pankuzu {
  background: #fff;
  padding: 16px 0;
  margin-top: 85px;
}
@media screen and (max-width: 900px) {
  .pankuzu {
    margin-top: 82px;
    padding: 0;
    margin-top: 82px;
  }
}

.pankuzu__list {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
  overflow: hidden;
}

.pankuzu__link {
  color: #111;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.7;
  flex-shrink: 0;
  white-space: nowrap;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: opacity 0.5s ease, color 0.5s ease;
}
.pankuzu__link:hover {
  opacity: 0.8;
}
@media screen and (max-width: 900px) {
  .pankuzu__link {
    font-size: 13px;
  }
}

.pankuzu__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.pankuzu__current {
  color: #111;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.7;
  min-width: 0;
}
@media screen and (max-width: 900px) {
  .pankuzu__current {
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

.page-return {
  display: flex;
  justify-content: center;
  padding-inline: 36px;
}
@media screen and (max-width: 900px) {
  .page-return {
    width: 100%;
    padding-inline: 0;
  }
  .page-return a {
    width: 100%;
  }
}

a.anchor {
  display: block;
  padding-top: 70px;
  margin-top: -70px;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 10000;
  background: #fff;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transition: box-shadow 0.25s ease;
  height: 100px;
  box-sizing: border-box;
}
@media screen and (max-width: 900px) {
  header {
    height: 66px;
  }
}

header.is-scrolled {
  box-shadow: 0 8px 20px 0 rgba(17, 17, 17, 0.1);
}

.header__inner {
  max-width: calc(1380px + 30px * 2);
  width: 100%;
  margin: 0 auto;
  padding-inline: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: inherit;
}
@media screen and (max-width: 900px) {
  .header__inner {
    max-width: none;
    width: 100%;
    padding-inline: 20px;
  }
}

.header__left {
  display: flex;
  gap: 16px;
}
@media screen and (max-width: 1320px) {
  .header__left {
    gap: 8px;
  }
}

.site__logo {
  flex: 0 0 190px;
  max-width: 190px;
  padding-top: 4px;
}
@media screen and (max-width: 900px) {
  .site__logo {
    flex: 0 0 155px;
    max-width: 155px;
  }
}
.site__logo img {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity 0.5s ease;
}
.site__logo:hover img, .site__logo:focus-within img {
  opacity: 0.8;
}

.header__badges {
  display: flex;
  align-items: center;
  gap: 16px;
}
.header__badges img {
  width: 91px;
  height: 76px;
  aspect-ratio: 91/76;
}
@media screen and (max-width: 1320px) {
  .header__badges {
    gap: 8px;
  }
}
@media screen and (max-width: 1285px) {
  .header__badges {
    display: none;
  }
}

.header__right {
  display: flex;
  align-items: center;
  gap: 16px;
}
@media screen and (max-width: 1320px) {
  .header__right {
    gap: 8px;
  }
}

.header__contact {
  display: inline;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.header__contact a {
  color: #111;
  font-family: "Inter", Courgette, cursive;
  font-size: 28px;
  font-weight: 700;
  line-height: 160%; /* 44.8px */
  text-align: center;
}
@media screen and (max-width: 1285px) {
  .header__contact {
    display: none;
  }
}

.header__contact .tel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: #111;
  font-family: "Inter", Courgette, cursive;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 1.1px;
}

.header__contact .time {
  font-size: 13px;
  border-radius: 10px;
  background: #f0f3f6;
  padding-inline: 42px;
  line-height: 170%;
}

.header__buttons {
  display: flex;
  gap: 16px;
}
@media screen and (max-width: 1320px) {
  .header__buttons {
    gap: 8px;
  }
}

.header__buttons .btn--green {
  height: 61px;
  padding-block: 0;
}
@media screen and (max-width: 900px) {
  .header__buttons .btn--green {
    display: none;
  }
}

.header__buttons .btn--red {
  height: 61px;
  padding-block: 0;
}
@media screen and (max-width: 900px) {
  .header__buttons .btn--red {
    display: none;
  }
}

.header__button-item {
  display: flex;
  align-items: center;
}

.menu__btn {
  display: flex;
  align-items: center;
  background-color: #fff;
  color: #111;
  border: 1px solid #222;
  border-radius: 10px;
  height: 61px;
  padding-block: 0;
  padding-inline: 24px 10px;
  font-family: "Inter", Courgette, cursive;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
  transition: background-color 0.5s ease, color 0.5s ease, border-color 0.5s ease;
  gap: 8px;
}
@media screen and (max-width: 900px) {
  .menu__btn {
    font-size: 15px;
    padding-block: 6px;
    padding-inline: 16px 8px;
    height: 50px;
  }
}

/* 円形背景 */
.icon__circle {
  width: 38px;
  height: 38px;
  background-color: #f0f3f6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
  transition: background-color 0.5s ease;
}

.menu__btn:hover,
.menu__btn:focus-visible {
  background-color: #f0f3f6;
}

.menu__btn:hover .icon__circle,
.menu__btn:focus-visible .icon__circle {
  background-color: #fff;
}

/* ハンバーガーアイコンのコンテナ */
.hamburger-icon {
  width: 16px;
  height: 12px;
  position: relative;
}

/* ハンバーガーの各線 */
.hamburger-icon span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #111;
  transition: all 0.3s ease;
}

.hamburger-icon span:nth-child(1) {
  top: 0;
}

.hamburger-icon span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.hamburger-icon span:nth-child(3) {
  bottom: 0;
}

.hamburger-icon__close span {
  background-color: #111;
}

.hamburger-icon__close span:nth-child(1),
.hamburger-icon__close span:nth-child(3) {
  top: 50%;
  bottom: auto;
  transform-origin: center;
}

.hamburger-icon__close span:nth-child(1) {
  transform: translateY(-50%) rotate(40deg);
}

.hamburger-icon__close span:nth-child(2) {
  opacity: 0;
}

.hamburger-icon__close span:nth-child(3) {
  transform: translateY(-50%) rotate(-40deg);
}

/* ドロワーメニュー */
.drawer {
  position: fixed;
  z-index: 101;
  top: 0;
  right: 0;
  max-width: 584px;
  width: 100%;
  max-height: 100vh;
  height: 706px;
  background: #f6f8f9;
  border-bottom-left-radius: 10px;
  /* 初期は隠す */
  -webkit-transform: translateX(100%);
          transform: translateX(100%);
  visibility: hidden;
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s step-end;
}
@media screen and (max-width: 900px) {
  .drawer {
    max-width: none;
    border-bottom-left-radius: 0;
    max-height: 100dvh;
    height: 900px;
    transform: translateY(-100%);
  }
}

.drawer.is-open {
  transform: translateX(0);
  visibility: visible;
  opacity: 1;
  transition: transform 0.3s ease, opacity 0.3s ease, visibility 0s;
}
@media screen and (max-width: 900px) {
  .drawer.is-open {
    transform: translateY(0);
  }
}

.drawer__body {
  display: flex;
  flex-direction: column;
  width: 100%;
  block-size: 100%;
  overflow: hidden;
}
@media screen and (max-width: 900px) {
  .drawer__body {
    min-width: calc(335px + 20px * 2);
    width: 100%;
  }
}
@media screen and (max-width: 480px) {
  .drawer__body {
    min-width: 0;
  }
}

.drawer__head {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 14px;
  padding-inline: 30px;
  background: #f6f8f9;
}
@media screen and (max-width: 900px) {
  .drawer__head {
    padding-inline: 20px;
    padding-block: 2px 14px;
  }
}

.drawer__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-inline: 30px;
  padding-bottom: 60px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch; /* iOSなめらか */
  /* 【Chrome/Safari/Edge(Chromium)】 */
  /* 【Firefox】 */
  scrollbar-width: none;
  /* 【古い IE/Edge レガシー】 */
  -ms-overflow-style: none;
}
.drawer__content::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}
@media screen and (max-width: 900px) {
  .drawer__content {
    padding-inline: 20px;
  }
}

.close__btn {
  display: flex;
  align-items: center;
  background-color: #fff;
  color: #111;
  border: 1px solid #222;
  border-radius: 10px;
  height: 61px;
  padding-block: 0;
  padding-inline: 24px 10px;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
  transition: background-color 0.5s ease, color 0.5s ease, border-color 0.5s ease;
  gap: 8px;
}
@media screen and (max-width: 900px) {
  .close__btn {
    font-size: 15px;
    padding-block: 6px;
    padding-inline: 16px 8px;
    height: 50px;
  }
}

.close__btn:hover,
.close__btn:focus-visible {
  background-color: #f0f3f6;
}

.close__btn:hover .icon__circle,
.close__btn:focus-visible .icon__circle {
  background-color: #fff;
}

.drawer-cta {
  padding-inline: 28px;
}
@media screen and (max-width: 900px) {
  .drawer-cta {
    padding-inline: 24px;
    margin-top: 16px;
  }
}

.drawer-cta__title {
  text-align: center;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  line-height: 160%; /* 25.6px */
  background: #32333c;
}
@media screen and (max-width: 900px) {
  .drawer-cta__title {
    font-size: 13px;
  }
}

.drawer-cta__content {
  margin-top: 8px;
  display: grid;
  grid-template-columns: max-content 1fr;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
}
@media screen and (max-width: 900px) {
  .drawer-cta__content {
    grid-template-columns: repeat(1, 1fr);
    justify-items: center;
    gap: 14px;
  }
}

.drawer-cta__tel {
  min-width: -moz-max-content;
  min-width: max-content;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-top: 35px;
}
@media screen and (max-width: 900px) {
  .drawer-cta__tel {
    margin-top: 0;
  }
}

.drawer-cta__tel-link {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 4px;
}
@media screen and (max-width: 900px) {
  .drawer-cta__tel-link {
    gap: 11px;
  }
  .drawer-cta__tel-link svg {
    width: 28px;
    height: 28px;
    aspect-ratio: 1/1;
  }
}

.drawer-cta__tel-number {
  color: #111;
  font-family: "Inter", Courgette, cursive;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 1.3px;
}
@media screen and (max-width: 900px) {
  .drawer-cta__tel-number {
    font-size: 32px;
  }
}

.drawer-cta__tel-link,
.drawer-cta__tel-number {
  white-space: nowrap;
}

.drawer-cta__tel-hours {
  width: 100%;
  color: #111;
  text-align: center;
  font-size: 13px;
  font-weight: 400;
  line-height: 170%; /* 22.1px */
  border-radius: 10px;
  background: #d3dce4;
}
@media screen and (max-width: 550px) {
  .drawer-cta__tel-hours {
    border-radius: 7px;
  }
}

.drawer-cta__actions {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.drawer-cta__item {
  flex: 1;
}
.drawer-cta__item .drawer-cta__btn {
  width: 100%;
  padding-inline: 19px 10px;
}
.drawer-cta__item .drawer-cta__btn svg {
  width: 16px;
  height: 12px;
}

@media screen and (max-width: 900px) {
  .drawer-cta__tel,
  .drawer-cta__actions {
    flex: 0 0 calc(50% - 10px);
    max-width: calc(50% - 10px);
  }
}
@media screen and (max-width: 550px) {
  .drawer-cta__tel,
  .drawer-cta__actions {
    flex: initial;
    max-width: none;
  }
}

.drawer__list {
  display: flex;
  flex-direction: column;
  padding-inline: 28px;
}
@media screen and (max-width: 900px) {
  .drawer__list {
    padding-inline: 0;
  }
}
.drawer__list li {
  border-radius: 5px;
  border-bottom: 1px solid #f6f8f9;
  background: #fff;
  padding: 20px 30px 16px 40px;
  transition: background-color 0.5s ease;
}
.drawer__list li:hover, .drawer__list li:focus-within {
  background-color: #f0f3f6;
}
@media screen and (max-width: 900px) {
  .drawer__list li {
    padding: 15px 30px 16px 40px;
  }
}
.drawer__list a {
  color: #111;
  font-size: 16px;
  font-weight: 500;
  line-height: 160%; /* 25.6px */
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.fv {
  position: relative;
  overflow: hidden;
  margin-top: 100px;
  height: 646px;
}
@media screen and (max-width: 950px) {
  .fv {
    margin-top: 66px;
    height: 550px;
  }
}

.fv__background .img-01 {
  background-image: url("../img/bg_first-view1_pc.webp");
}
.fv__background .img-02 {
  background-image: url("../img/bg_first-view2_pc.webp");
}
.fv__background .img-03 {
  background-image: url("../img/bg_first-view3_pc.webp");
}
.fv__background .img-04 {
  background-image: url("../img/bg_first-view4_pc.webp");
}
.fv__background .img-05 {
  background-image: url("../img/bg_first-view5_pc.webp");
}

@media screen and (max-width: 768px) {
  .fv__background .img-01 {
    background-image: url("../img/sp/bg_first-view1_sp.webp");
  }
  .fv__background .img-02 {
    background-image: url("../img/sp/bg_first-view2_sp.webp");
    transform: scale(0.8);
  }
  .fv__background .img-03 {
    background-image: url("../img/sp/bg_first-view3_sp.webp");
    transform: scale(0.8);
  }
  .fv__background .img-04 {
    transform: scale(0.1);
  }
  .fv__background .img-05 {
    background-image: url("../img/sp/bg_first-view5_sp.webp");
    -webkit-transform: scale(0.8);
            transform: scale(0.8);
    background-size: 120% auto;
  }
}
.img-01,
.img-02,
.img-03,
.img-04,
.img-05 {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  animation-fill-mode: both;
}

.img-01 {
  opacity: 1;
  animation: slide-animation-01 20s infinite;
}

.img-02 {
  opacity: 0;
  animation: slide-animation-02 20s infinite;
}

.img-03 {
  opacity: 0;
  animation: slide-animation-03 20s infinite;
}

.img-04 {
  opacity: 0;
  animation: slide-animation-03 20s infinite;
}

.img-05 {
  opacity: 0;
  animation: slide-animation-03 20s infinite;
}

/* 共通のスライド */
@keyframes fv-slide {
  0% {
    opacity: 0;
    transform: scale(1);
  }
  5% {
    opacity: 1;
  }
  35% {
    opacity: 1;
  }
  40% {
    opacity: 0;
    transform: scale(1.1);
  }
  100% {
    opacity: 0;
  }
}
.img-01 {
  animation: fv-slide 20s infinite 0s;
}

.img-02 {
  animation: fv-slide 20s infinite 5s;
}

.img-03 {
  animation: fv-slide 20s infinite 10s;
}

.img-04 {
  animation: fv-slide 20s infinite 15s;
}

.img-05 {
  animation: fv-slide 20s infinite 20s;
}

.fv__inner {
  position: relative;
  z-index: 2;
}

.fv__mark {
  position: absolute;
  left: 0;
  top: 201px;
  z-index: 1;
  pointer-events: none;
  mix-blend-mode: normal;
}
.fv__mark img {
  width: 588px;
  height: auto;
  display: block;
}
@media screen and (max-width: 900px) {
  .fv__mark {
    left: -4px;
    top: 285px;
  }
  .fv__mark img {
    width: 298px;
  }
}

.fv__content {
  position: absolute;
  top: 303px;
  left: 127px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-direction: column;
  gap: 20px;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  z-index: 3;
}
@media screen and (max-width: 950px) {
  .fv__content {
    top: 325px;
    left: 20px;
    gap: 8px;
  }
}

.fv__lead {
  display: block;
  width: -moz-fit-content;
  width: fit-content;
  padding-inline: 10px;
  color: #fff;
  font-size: 21px;
  font-weight: 400;
  line-height: 160%; /* 33.6px */
  background: #32333c;
}
@media screen and (max-width: 900px) {
  .fv__lead {
    font-size: 13px;
  }
}

.fv__catch {
  display: block;
  width: -moz-fit-content;
  width: fit-content;
  padding-inline: 5px;
  font-size: 50px;
  font-weight: 700;
  line-height: 160%; /* 80px */
  letter-spacing: -1px;
  background: #fff;
}
@media screen and (max-width: 900px) {
  .fv__catch {
    font-size: 22px;
    letter-spacing: -0.5px;
  }
}

.fv__sub {
  display: block;
  width: -moz-fit-content;
  width: fit-content;
  padding-inline: 5px 8px;
  font-size: 32px;
  font-weight: 700;
  line-height: 160%; /* 51.2px */
  background: #fff;
}
@media screen and (max-width: 900px) {
  .fv__sub {
    font-size: 15px;
  }
}
.fv__sub span:first-child {
  white-space: nowrap;
  font-size: 32px;
}
@media screen and (max-width: 900px) {
  .fv__sub span:first-child {
    font-size: 15px;
  }
}
.fv__sub .fv__sub--sp-size {
  font-size: 26px;
  padding-left: 10px;
  padding-right: 7px;
}
@media screen and (max-width: 900px) {
  .fv__sub .fv__sub--sp-size {
    font-size: 12px;
    font-weight: 700;
    line-height: 160%; /* 19.2px */
    padding-left: 0;
    padding-right: 0;
  }
}

.fv__badges {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
@media screen and (max-width: 900px) {
  .fv__badges {
    gap: 6px;
  }
}

.fv__badge {
  width: 185px;
  height: auto;
}
.fv__badge img {
  width: 100%;
}
@media screen and (max-width: 900px) {
  .fv__badge {
    width: 84px;
  }
}

.badge__label {
  display: flex;
  align-items: center;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  z-index: 1;
}

.greeting {
  background: #ffffff;
  padding-block: 50px;
}

.greeting p {
  color: #111;
  text-align: center;
  font-size: 20px;
  font-weight: 400;
  line-height: 160%;
}
@media screen and (max-width: 900px) {
  .greeting p {
    font-size: 16px;
    font-weight: 400;
    line-height: 160%;
  }
}

.decorative-lines {
  display: flex;
  flex-direction: column;
  gap: 2px;
  position: relative;
  width: 100%;
  margin: 0 auto;
  margin-top: 46px;
}
@media screen and (max-width: 900px) {
  .decorative-lines {
    margin-top: 39px;
  }
}

.decorative-lines span {
  display: block;
  width: 100%;
  height: 2px;
  background: #e41e1f;
}
@media screen and (max-width: 900px) {
  .decorative-lines span {
    height: 1px;
  }
}

.decorative-lines img {
  position: absolute;
  width: 56px;
  height: 55px;
  left: 50%;
  transform: translateX(-50%);
  top: -23px;
}
@media screen and (max-width: 900px) {
  .decorative-lines img {
    width: 45px;
    height: 44px;
    transform: translateX(-59%);
  }
}

.problem {
  position: relative;
  background: linear-gradient(180deg, #fff 0%, #dbe3e9 10.1%, #d3dce4 22.12%, #d3dce4 70.19%, #f0f3f6 100%);
  padding-top: 110px;
  overflow: visible;
}
.problem::after {
  content: "";
  position: absolute;
  height: 80px;
  width: 100%;
  clip-path: polygon(0 0, 50% 100%, 100% 0);
  background-color: #f0f3f6;
  left: 0;
  bottom: -79px;
}
@media screen and (max-width: 900px) {
  .problem {
    padding-top: 92px;
  }
}

.problem__inner {
  max-width: calc(1198px + 30px * 2);
  width: 100%;
}
@media screen and (max-width: 900px) {
  .problem__inner {
    max-width: 600px;
    padding-inline: 0;
    padding-bottom: 23px;
  }
}

.problem__text {
  text-align: center;
  font-size: 24px;
  font-weight: 500;
  line-height: 170%; /* 40.8px */
}
@media screen and (max-width: 900px) {
  .problem__text {
    margin-inline: auto;
    max-width: 300px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

.problem__text span {
  display: block;
  font-size: 52px;
  font-weight: 700;
  line-height: 140%; /* 72.8px */
  color: var(--text-black, #111);
}
@media screen and (max-width: 900px) {
  .problem__text span {
    font-size: 34px;
    text-align: left;
  }
}

.problem__image {
  margin-top: 44px;
}
@media screen and (max-width: 900px) {
  .problem__image {
    margin-top: 38px;
  }
}
.problem__image img {
  display: block;
  width: 100%;
  height: auto;
}

.problem__text {
  font-size: 24px;
  font-weight: 500;
  line-height: 170%;
}
@media screen and (max-width: 900px) {
  .problem__text {
    font-size: 18px;
  }
}
@media screen and (max-width: 900px) {
  .problem__text .sp-hidden {
    font-size: 34px;
    font-weight: 700;
    line-height: 140%; /* 47.6px */
  }
}
.problem__text .pc-hidden {
  display: inline;
}

.problem__solution-text {
  text-align: center;
  font-size: 24px;
  font-weight: 500;
  line-height: 170%; /* 40.8px */
  margin-top: 29px;
}
@media screen and (max-width: 900px) {
  .problem__solution-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 0;
    font-size: 18px;
  }
}
.problem__solution-text .problem__after {
  display: inline-flex;
  align-items: baseline;
}
@media screen and (max-width: 900px) {
  .problem__solution-text .problem__after {
    margin-top: -4px;
  }
}
.problem__solution-text .problem__after-word:first-child {
  font-size: 32px;
  font-weight: 700;
  line-height: 124%; /* 39.68px */
}
@media screen and (max-width: 900px) {
  .problem__solution-text .problem__after-word:first-child {
    font-size: 24px;
  }
}
.problem__solution-text .problem__after-word:last-child {
  font-size: 52px;
  font-weight: 700;
  line-height: 140%;
}
@media screen and (max-width: 900px) {
  .problem__solution-text .problem__after-word:last-child {
    display: block;
    font-size: 34px;
    font-style: normal;
  }
}

.problem__logo {
  display: inline-block;
  width: 227px;
  height: 73px;
  background: url("../img/logo.svg") no-repeat center/contain;
  text-indent: -9999px;
  vertical-align: middle;
  position: relative;
  top: -8px;
}
@media screen and (max-width: 900px) {
  .problem__logo {
    display: block;
    margin-top: 12px;
  }
}

.strengths {
  margin-top: 100px;
}
@media screen and (max-width: 768px) {
  .strengths {
    margin-top: 93px;
  }
}

@media screen and (max-width: 900px) {
  .strengths__inner {
    max-width: 600px;
    padding-inline: 20px;
  }
}
@media screen and (max-width: 768px) {
  .strengths__inner {
    max-width: 500px;
    width: 100%;
  }
}

.strengths__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
@media screen and (max-width: 1060px) {
  .strengths__list {
    gap: 20px;
  }
}
@media screen and (max-width: 900px) {
  .strengths__list {
    grid-template-columns: repeat(1, 1fr);
    gap: 106px;
  }
}

.strengths__item {
  position: relative;
  border-radius: 5px;
  border: 1px solid #ffe1e1;
  background: #fffafa;
  display: flex;
  flex-direction: column;
  padding: 36px 36px 89px 36px;
}
@media screen and (max-width: 1060px) {
  .strengths__item {
    padding: 24px 24px 89px 24px;
  }
}
@media screen and (max-width: 900px) {
  .strengths__item {
    padding: 23px 22px 102px 24px;
  }
}
.strengths__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 163px;
  height: 163px;
  background: url("../img/deco_strengths-umemusubi1_pc.webp") no-repeat;
  background-size: cover;
}
@media screen and (max-width: 900px) {
  .strengths__item::before {
    left: 0;
    top: auto;
    bottom: 1px;
    width: 111px;
    height: 112px;
    background: url("../img/sp/deco_strengths-umemusubi1_sp.webp") no-repeat;
    background-size: cover;
  }
}
.strengths__item::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 1px;
  width: 216px;
  height: 214px;
  background: url("../img/deco_strengths-umemusubi2_pc.webp") no-repeat;
  background-size: cover;
}
@media screen and (max-width: 900px) {
  .strengths__item::after {
    right: 0;
    bottom: auto;
    top: 1px;
    width: 111px;
    height: 112px;
    background: url("../img/sp/deco_strengths-umemusubi2_sp.webp") no-repeat;
    background-size: cover;
  }
}

.strengths__item-body {
  flex: 1;
  position: relative;
  z-index: 5;
}

.strengths__item-body p {
  font-size: 24px;
  font-weight: 500;
  line-height: 170%;
  position: relative;
  z-index: 5;
}
@media screen and (max-width: 900px) {
  .strengths__item-body p {
    font-size: 18px;
    font-weight: 700;
    font-weight: 500;
  }
}

.strengths__item-body span {
  color: #c01516;
  font-weight: 700;
}

.strengths__item-img {
  position: absolute;
  left: 50%;
  bottom: -88px;
  transform: translateX(-50%);
  width: 163px;
  height: 163px;
  z-index: 5;
}
.strengths__item-img img {
  width: 100%;
  height: auto;
}
@media screen and (max-width: 900px) {
  .strengths__item-img {
    bottom: -79px;
    width: 156px;
    height: 156px;
  }
}

.voice {
  padding-block: 231px 30px;
  overflow: hidden;
}
@media screen and (max-width: 900px) {
  .voice {
    padding-block: 198px 0;
  }
}

@media screen and (max-width: 768px) {
  .voice__inner {
    padding-inline: 17px;
    overflow-x: hidden;
  }
}

.voice__reviews {
  position: relative;
  margin-top: 56px;
  overflow-x: visible;
}

.voice__reviews::before {
  content: "";
  position: absolute;
  top: 260px;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  max-width: 100dvw;
  height: 10px;
  background: #fff1f1;
  box-shadow: 0 19px 0 #fff1f1, 0 38px 0 #fff1f1;
  z-index: 0;
  pointer-events: none;
}

.voice__reviews-inner {
  position: relative;
  z-index: 1;
  overflow: visible !important;
}

/* 口コミカード */
@media screen and (max-width: 900px) {
  .voice__reviews-inner .ti-widget.ti-goog .ti-reviews-container-wrapper {
    padding-top: 0;
  }
}
.voice__reviews-inner .ti-widget.ti-goog .ti-review-item {
  padding: 0 20px;
}
@media screen and (max-width: 900px) {
  .voice__reviews-inner .ti-widget.ti-goog .ti-review-item {
    width: 287px !important;
    height: 335px !important;
    flex: 0 0 287px !important;
    padding: 0 12px;
    box-sizing: border-box !important;
  }
}
.voice__reviews-inner .ti-widget.ti-goog .ti-review-item > .ti-inner {
  border-radius: 5px !important;
  background: #fff !important;
  box-shadow: 0 8px 20px 0 rgba(17, 17, 17, 0.1) !important;
}
@media screen and (max-width: 900px) {
  .voice__reviews-inner .ti-widget.ti-goog .ti-review-item > .ti-inner {
    width: 100% !important;
    height: 100% !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
  }
}

@media screen and (max-width: 900px) {
  .voice__reviews-inner.is-single .ti-widget.ti-goog .ti-review-text-container.ti-review-content {
    height: 110px !important;
    max-height: 110px !important;
    overflow: hidden !important;
  }
}

.ti-widget.ti-goog .ti-read-more {
  margin-top: auto !important;
}

.ti-verified-by,
.ti-verified-by-row {
  display: none !important;
}

.ti-widget.ti-goog {
  /* ナビ位置調整 */
}
@media (max-width: 479px) {
  .ti-widget.ti-goog .ti-controls-line {
    display: none !important;
  }
}
.ti-widget.ti-goog .ti-controls {
  transform: translateY(175px) !important;
}
.ti-widget.ti-goog .ti-controls .ti-prev,
.ti-widget.ti-goog .ti-controls .ti-next {
  position: absolute !important;
  width: 80px !important;
  height: 80px !important;
  display: block !important;
  opacity: 1 !important;
  background-color: #fff !important;
  outline: 2px solid #e2e5e8 !important;
  border-radius: 50% !important;
  transition: all 200ms ease-out !important;
}
@media screen and (max-width: 900px) {
  .ti-widget.ti-goog .ti-controls .ti-prev,
  .ti-widget.ti-goog .ti-controls .ti-next {
    display: none !important;
  }
}
.ti-widget.ti-goog .ti-controls .ti-prev {
  left: -53px !important;
  right: auto !important;
}
.ti-widget.ti-goog .ti-controls .ti-next {
  right: -53px !important;
  left: auto !important;
}
.ti-widget.ti-goog .ti-controls .ti-next::before {
  top: 51% !important;
  left: 43% !important;
  transform: translate(-50%, -50%) rotate(-135deg) !important;
  width: 23px !important;
  height: 23px !important;
  border-color: #202831 !important;
}
.ti-widget.ti-goog .ti-controls .ti-prev::before {
  top: 50% !important;
  left: 56% !important;
  transform: translate(-50%, -50%) rotate(45deg) !important;
  width: 23px !important;
  height: 23px !important;
  border-color: #202831 !important;
}
.ti-widget.ti-goog .ti-controls .ti-prev:hover::before,
.ti-widget.ti-goog .ti-controls .ti-next:hover::before,
.ti-widget.ti-goog .ti-controls .ti-prev:active::before,
.ti-widget.ti-goog .ti-controls .ti-next:active::before {
  border-color: #202831 !important;
}

.message {
  padding-block: 90px;
  overflow: hidden;
}
@media screen and (max-width: 900px) {
  .message {
    padding-block: 94px 90px;
  }
}

.message__inner {
  max-width: 1284px;
  width: 100%;
  padding-inline: 50px;
}
@media screen and (max-width: 900px) {
  .message__inner {
    max-width: 600px;
    padding-inline: 20px;
  }
}

.message__content {
  position: relative;
  margin-top: 56px;
  display: flow-root;
  z-index: 50;
}
@media screen and (max-width: 900px) {
  .message__content {
    margin-top: 36px;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas: "body" "text";
    -moz-column-gap: 0;
         column-gap: 0;
    row-gap: 42px;
  }
}

.message__text,
.message__body {
  min-width: 0;
}

.message__text {
  font-size: 18px;
  font-weight: 400;
  line-height: 170%;
}
@media screen and (max-width: 900px) {
  .message__text {
    font-size: 14px;
  }
}

.message__body {
  float: right;
  max-width: 572px;
  width: 100%;
  margin-left: 42px;
  display: block;
}
@media screen and (max-width: 900px) {
  .message__body {
    float: none;
    max-width: none;
    width: 100%;
    margin-left: 0;
  }
}

.message__image {
  max-width: 572px;
  width: 100%;
  position: relative;
}
@media screen and (max-width: 1060px) {
  .message__image {
    max-width: none;
    width: 100%;
  }
}
.message__image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 5px;
}
.message__image::before {
  content: "";
  position: absolute;
  top: -177px;
  right: -38px;
  transform: translateX(90px);
  width: 396px;
  aspect-ratio: 1/1;
  background: url("../img/deco_umemusubi1.webp") no-repeat center/contain;
  pointer-events: none;
  z-index: -1;
}
@media screen and (max-width: 900px) {
  .message__image::before {
    width: 226px;
    top: -65px;
    right: -11px;
  }
}
.message__image::after {
  content: "";
  position: absolute;
  bottom: -62px;
  left: -78px;
  width: 232px;
  aspect-ratio: 1/1;
  background: url("../img/deco_message_umemusubi2.webp") no-repeat center/contain;
  pointer-events: none;
  z-index: -1;
}
@media screen and (max-width: 900px) {
  .message__image::after {
    width: 199px;
    bottom: -75px;
    left: -82px;
  }
}

.message__introduction {
  font-size: 16px;
  font-weight: 400;
  line-height: 170%; /* 27.2px */
  text-align: center;
  margin-top: 8px;
}
@media screen and (max-width: 900px) {
  .message__introduction {
    font-size: 13px;
    margin-top: 0;
  }
}

.case {
  padding-block: 90px;
  background: #f0f3f6;
}
@media screen and (max-width: 900px) {
  .case {
    padding-block: 80px 85px;
  }
}

.case__inner {
  max-width: calc(1184px + 30px * 2);
  width: 100%;
  margin: 0 auto;
  padding-inline: 30px;
  text-align: center;
}
@media screen and (max-width: 900px) {
  .case__inner {
    max-width: 600px;
    padding-inline: 20px;
  }
}

.case__container {
  margin-top: 56px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}
@media screen and (max-width: 900px) {
  .case__container {
    margin-top: 36px;
    gap: 28px;
  }
}

.card {
  background: #fff;
  border-radius: 5px;
  box-shadow: 0px 8px 20px 0px rgba(17, 17, 17, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
}

/*---  hoverアクション  ---*/
.card:hover .case-card__btn .btn {
  background: #f0f3f6;
}
.card:hover .card__body {
  background: #fff1f1;
}
.card:hover .card__media img {
  transform: scale(1.1);
}

.card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 368/230;
  margin: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card__media img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center center;
     object-position: center center;
  flex-shrink: 0;
  transition: transform 0.5s ease;
  transform: scale(1);
}
@media screen and (max-width: 900px) {
  .card__media {
    aspect-ratio: 368/230;
  }
}

.card__body {
  padding: 20px 36px 36px;
  display: flex;
  flex-direction: column;
  flex: 1;
  position: relative;
  transition: background-color 0.5s ease;
}
@media screen and (max-width: 900px) {
  .card__body {
    padding: 14px 24px 24px;
  }
}

.case-hero {
  background: #fff;
  border-radius: 5px;
  box-shadow: 0px 8px 20px 0px rgba(17, 17, 17, 0.1);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
  max-width: 1184px;
  width: 100%;
}
@media screen and (max-width: 900px) {
  .case-hero {
    padding: 28px 24px;
    gap: 28px;
  }
}

.case-hero__media {
  width: 100%;
}

.before-after {
  display: flex;
  gap: 40px;
  width: 100%;
}
@media screen and (max-width: 900px) {
  .before-after {
    flex-direction: column-reverse;
    gap: 28px;
  }
}

.before-after__item {
  display: flex;
  flex-direction: column;
  position: relative;
  isolate: isolate;
  flex: 1;
}

.before-after__item--after .before-after__label {
  background: #f63738;
  color: #fff;
  font-family: "Inter", Courgette, cursive;
  font-weight: 600;
  font-size: 28px;
  line-height: 1.6;
  letter-spacing: 0.84px;
}
@media screen and (max-width: 768px) {
  .before-after__item--after .before-after__label {
    font-size: 20px;
    letter-spacing: 0.6px;
  }
}

.before-after__item--before .before-after__label {
  background: #d3dce4;
  color: #111111;
  font-family: "Inter", Courgette, cursive;
  font-weight: 600;
  font-size: 28px;
  line-height: 1.6;
  letter-spacing: 0.84px;
}
@media screen and (max-width: 768px) {
  .before-after__item--before .before-after__label {
    font-size: 20px;
    letter-spacing: 0.6px;
  }
}

.before-after__label {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  z-index: 2;
}

.before-after__item img {
  width: 100%;
  aspect-ratio: 537/335;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center center;
     object-position: center center;
  z-index: 1;
  display: block;
}

.case-hero__body {
  width: 100%;
  max-width: 776px;
}

.case-hero__name {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 1.24;
  color: #111111;
  text-align: center;
}
@media screen and (max-width: 900px) {
  .case-hero__name {
    font-size: 24px;
  }
}

.case-hero__info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  width: 100%;
  margin-top: 30px;
}
@media screen and (max-width: 900px) {
  .case-hero__info {
    margin-top: 22px;
    gap: 8px;
  }
}

.case-hero__note {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.7;
  color: #111111;
  width: 100%;
  text-align: center;
}
@media screen and (max-width: 768px) {
  .case-hero__note {
    font-size: 14px;
  }
}

.case-hero__meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}
@media screen and (max-width: 900px) {
  .case-hero__meta {
    gap: 10px;
  }
}

.meta-inline__row {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: flex-start;
  width: 100%;
}
@media screen and (max-width: 768px) {
  .meta-inline__row {
    justify-content: flex-start;
  }
}

.meta-inline__term {
  background: #f0f3f6;
  border-radius: 5px;
  padding: 0 8px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.7;
  color: #111111;
  flex-shrink: 0;
}
@media screen and (max-width: 900px) {
  .meta-inline__term {
    font-size: 13px;
  }
}

.meta-inline__desc {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.7;
  color: #111111;
}
@media screen and (max-width: 900px) {
  .meta-inline__desc {
    font-size: 14px;
  }
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-start;
  width: 100%;
}
@media screen and (max-width: 900px) {
  .chip-list {
    gap: 8px;
  }
}

.chip-list__item {
  display: inline-block;
}

.chip {
  background: #d3dce4;
  border-radius: 5px;
  padding: 0 8px;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.7;
  display: inline-block;
}
@media screen and (max-width: 900px) {
  .chip {
    font-size: 13px;
  }
}

.case-hero__divider {
  width: 100%;
  height: 1px;
  background-color: #e2e5e8;
  border: none;
}

.case-hero__desc {
  width: 100%;
}

.case-hero__desc p {
  font-size: 18px;
  font-weight: 400;
  line-height: 170%; /* 30.6px */
  text-align: left;
}
@media screen and (max-width: 768px) {
  .case-hero__desc p {
    font-size: 14px;
  }
}

.case-hero__btn {
  width: 180px;
  margin-inline: auto;
  margin-top: 40px;
}
@media screen and (max-width: 900px) {
  .case-hero__btn {
    margin-inline: 0;
    margin-top: 28px;
    margin-left: auto;
  }
}

/* ===== 施工事例一覧 ここから ===== */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  width: 100%;
}
@media screen and (max-width: 1255px) {
  .case-grid {
    gap: 20px;
  }
}
@media screen and (max-width: 900px) {
  .case-grid {
    margin-top: 56px;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 28px;
  }
}
@media screen and (max-width: 768px) {
  .case-grid {
    display: flex;
    flex-direction: column;
    gap: 28px;
  }
}

.case-card {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.case-card .card__body {
  padding-bottom: 110px;
}
@media screen and (max-width: 900px) {
  .case-card .card__body {
    padding-bottom: 95px;
  }
}

.case-card__title {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 22px;
  line-height: 1.5;
  color: #111111;
  margin: 0;
}
@media screen and (max-width: 900px) {
  .case-card__title {
    font-size: 18px;
  }
}

.case-card__tags {
  margin-top: 12px;
  margin-bottom: 36px;
}
@media screen and (max-width: 900px) {
  .case-card__tags {
    margin-top: 5px;
    margin-bottom: 24px;
  }
}

.case-card__btn {
  position: absolute;
  bottom: 36px;
  right: 38px;
  width: 180px;
}
@media screen and (max-width: 900px) {
  .case-card__btn {
    bottom: 24px;
    right: 24px;
  }
}

.case-card__btn .btn {
  width: 100%;
  transition: background-color 0.5s ease;
}

.case__more {
  display: flex;
  justify-content: center;
  margin-top: 56px;
}
@media screen and (max-width: 900px) {
  .case__more {
    max-width: 287px;
    width: 100%;
    margin-inline: auto;
    margin-top: 36px;
    display: flex;
    flex-direction: column;
    padding: 0 24px;
  }
}

.case.archive-case {
  background: none !important;
}
@media screen and (max-width: 900px) {
  .case.archive-case {
    padding-block: 63px 85px;
  }
}

.case__filters {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
@media screen and (max-width: 900px) {
  .case__filters {
    gap: 8px;
  }
}

.case__filter-btn {
  background: #d3dce4;
  color: #111111;
  border: none;
  border-radius: 5px;
  padding: 0 6px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.7;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.case__filter-btn--active {
  background: #c01516;
  color: #fff;
}

@media screen and (max-width: 900px) {
  .case.archive-case > .case-grid {
    margin-top: 22px;
  }
  .case.archive-case > .case-card__info {
    margin-top: 15px;
    gap: 9px;
  }
}

.archive-case .case-grid {
  margin-top: 56px;
}

@media screen and (max-width: 900px) {
  .archive-case .card__body {
    padding-bottom: 88px;
  }
}

.archive-case .case__back-to-top {
  margin-top: 60px;
  display: flex;
  justify-content: center;
}
@media screen and (max-width: 900px) {
  .archive-case .case__back-to-top {
    margin-top: 33px;
  }
  .archive-case .case__back-to-top span {
    margin-left: -24px;
  }
  .archive-case .case__back-to-top svg {
    right: 24px;
  }
}

.btn--back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: #111111;
  border: 1px solid #222222;
  border-radius: 10px;
  padding: 6px 22px 6px 32px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.7;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn--back-to-top svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  transition: transform 0.3s ease;
}

.case__pagination {
  margin-top: 60px;
  display: flex;
  justify-content: center;
}
@media screen and (max-width: 768px) {
  .case__pagination {
    margin-top: 40px;
  }
}

.case__pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 48px;
  margin: 0 4px;
  padding: 8px 12px;
  background: #fff;
  color: #111111;
  text-decoration: none;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  transition: all 0.3s ease;
}
@media screen and (max-width: 768px) {
  .case__pagination .page-numbers {
    min-width: 40px;
    height: 40px;
    font-size: 14px;
  }
}

.case__pagination .page-numbers:hover {
  background: #f8f9fa;
  border-color: #dee2e6;
}

.case__pagination .page-numbers.current {
  background: #c01516;
  color: #fff;
  border-color: #c01516;
}

.case__pagination .page-numbers.prev,
.case__pagination .page-numbers.next {
  padding: 8px 16px;
  gap: 8px;
}
@media screen and (max-width: 768px) {
  .case__pagination .page-numbers.prev,
  .case__pagination .page-numbers.next {
    padding: 8px 12px;
    gap: 6px;
  }
}

.case__pagination .page-numbers.prev svg,
.case__pagination .page-numbers.next svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
@media screen and (max-width: 768px) {
  .case__pagination .page-numbers.prev svg,
  .case__pagination .page-numbers.next svg {
    width: 16px;
    height: 16px;
  }
}

.case__pagination .nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
@media screen and (max-width: 768px) {
  .case__pagination .nav-links {
    gap: 4px;
  }
}

.case-grid__empty {
  grid-column: 1/-1;
  text-align: center;
  padding: 60px 20px;
  color: #666;
  font-size: 18px;
}
@media screen and (max-width: 768px) {
  .case-grid__empty {
    padding: 40px 20px;
    font-size: 16px;
  }
}

.service {
  padding-block: 90px;
  background: #f6f8f9;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
@media screen and (max-width: 900px) {
  .service {
    padding-block: 77px;
  }
}

/* 共通 */
.service__deco {
  position: absolute;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: contain;
}

/* 左上 */
.service__deco {
  position: absolute;
  pointer-events: none;
  z-index: -1;
}
.service__deco picture,
.service__deco img {
  display: block;
  width: 100%;
  height: auto;
}

/* 左上 */
.service__deco--1 {
  width: 1048px;
  aspect-ratio: 2258/2279;
  top: 0;
  left: 0;
}
@media screen and (max-width: 900px) {
  .service__deco--1 {
    width: 294px;
  }
}

/* 右下 */
.service__deco--2 {
  width: 986px;
  aspect-ratio: 1990/2074;
  bottom: 0;
  right: 0;
}
@media screen and (max-width: 900px) {
  .service__deco--2 {
    width: 358px;
    bottom: -98px;
  }
}

.service__inner {
  position: relative;
  z-index: 1;
}

.service__header {
  display: flex;
  padding: 36px 13px 3px 80px;
  flex-direction: column;
  justify-content: center;
  max-width: 634px;
  width: 100%;
  margin-inline: auto;
  gap: 28px;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 8px 20px 0 rgba(17, 17, 17, 0.1);
  margin-top: 56px;
}
@media screen and (max-width: 900px) {
  .service__header {
    max-width: 368px;
    width: 100%;
    padding: 24px;
    gap: 22px;
    margin-top: 37px;
  }
}

.service__header-box {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 19px;
}
@media screen and (max-width: 900px) {
  .service__header-box {
    flex-direction: column;
    align-items: center;
    gap: 22px;
  }
}

.service__header-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 124%; /* 39.68px */
}
@media screen and (max-width: 900px) {
  .service__header-title {
    font-size: 24px;
    text-align: center;
  }
}

.service__header-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 49px;
}
@media screen and (max-width: 900px) {
  .service__header-list {
    padding-left: 0;
  }
}

.service__header-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}
@media screen and (max-width: 900px) {
  .service__header-item {
    gap: 8px;
  }
}

.service__header-text {
  font-size: 24px;
  font-weight: 500;
  line-height: 170%; /* 40.8px */
}
@media screen and (max-width: 900px) {
  .service__header-text {
    font-size: 18px;
  }
}

.service__header-image {
  width: 183px;
  height: 172px;
  margin-top: 6px;
}
.service__header-image img {
  width: 100%;
  height: 100%;
  display: block;
  -o-object-fit: contain;
     object-fit: contain;
}
@media screen and (max-width: 900px) {
  .service__header-image {
    display: block;
    width: 138px;
    height: auto;
  }
}

.service__bottom-box {
  margin-top: 55px;
  display: flex;
  flex-direction: row;
  gap: 40px;
}
@media screen and (max-width: 1060px) {
  .service__bottom-box {
    gap: 20px;
  }
}
@media screen and (max-width: 900px) {
  .service__bottom-box {
    margin-top: 36px;
    flex-direction: column;
    align-items: center;
    gap: 28px;
  }
}

.service__card {
  display: flex;
  max-width: 368px;
  width: 100%;
  flex-direction: column;
  align-items: center;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 8px 20px 0 rgba(17, 17, 17, 0.1);
}

.service__card-image {
  height: auto;
}
.service__card-image img {
  border-radius: 5px 5px 0 0;
}
@media screen and (max-width: 900px) {
  .service__card-image {
    height: 230px;
  }
  .service__card-image img {
    height: 100%;
  }
}

.service__card-content {
  width: 100%;
  padding: 36px 36px 20px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}
@media screen and (max-width: 1060px) {
  .service__card-content {
    padding: 24px;
    gap: 18px;
  }
}
@media screen and (max-width: 900px) {
  .service__card-content {
    justify-content: flex-start;
    height: 230px;
    gap: 18px;
  }
}

.service__card-title {
  font-size: 24px;
  font-weight: 500;
  line-height: 170%; /* 40.8px */
  text-align: center;
}
@media screen and (max-width: 1060px) {
  .service__card-title {
    font-size: 18px;
  }
}

.service__card-list {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.service__card-list li {
  font-size: 18px;
  font-weight: 400;
  line-height: 170%; /* 30.6px */
}
@media screen and (max-width: 1060px) {
  .service__card-list li {
    font-size: 14px;
  }
}

.service-area {
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 8px 20px 0 rgba(17, 17, 17, 0.1);
  padding: 36px;
  margin-top: 56px;
}
@media screen and (max-width: 900px) {
  .service-area {
    margin-top: 36px;
    padding: 24px;
  }
}

.service-area__title {
  font-size: 32px;
  font-weight: 700;
  line-height: 124%; /* 39.68px */
  text-align: center;
}
@media screen and (max-width: 900px) {
  .service-area__title {
    font-size: 24px;
  }
}

.service-area__image {
  max-width: 776px;
  width: 100%;
  height: auto;
  margin-inline: auto;
  margin-top: 30px;
}
@media screen and (max-width: 900px) {
  .service-area__image {
    margin-top: 22px;
  }
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 30px;
}
@media screen and (max-width: 900px) {
  .service-list {
    margin-top: 22px;
  }
}

.service-list__prefecture {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
@media screen and (max-width: 900px) {
  .service-list__prefecture {
    gap: 8px;
  }
}

.service-list__prefecture h4 {
  align-self: flex-start;
  display: inline-block;
  font-size: 15px;
  font-weight: 500;
  line-height: 170%;
  padding: 0 8px;
  border-radius: 5px;
  background: #ffc8c8;
}
@media screen and (max-width: 900px) {
  .service-list__prefecture h4 {
    font-size: 13px;
  }
}

.service-list__cities {
  font-size: 16px;
  font-weight: 400;
  line-height: 170%; /* 27.2px */
}
@media screen and (max-width: 900px) {
  .service-list__cities {
    font-size: 13px;
  }
}

.reason {
  padding-block: 90px;
  background: #f0f3f6;
}
@media screen and (max-width: 900px) {
  .reason {
    padding-block: 90px 85px;
  }
}

@media screen and (max-width: 900px) {
  .reason__inner {
    max-width: 600px;
    padding-inline: 20px;
  }
}

.reason__boxes {
  margin-top: 72px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
@media screen and (max-width: 900px) {
  .reason__boxes {
    margin-top: 36px;
    gap: 25px;
  }
}

.reason__box {
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 20px 0 rgba(17, 17, 17, 0.1);
  position: relative;
  overflow: hidden;
}
@media screen and (max-width: 900px) {
  .reason__box {
    border-radius: 7px;
  }
}

.reason__box-num {
  position: absolute;
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
}

.reason__box:nth-child(1) .reason__box-num {
  background-image: url("../img/deco_reason-1.webp");
  right: 36px;
  bottom: -195px;
  width: 79px;
  height: 340px;
}

.reason__box:nth-child(2) .reason__box-num {
  background-image: url("../img/deco_reason-2.webp");
  right: 6px;
  bottom: -196px;
  width: 126px;
  height: 340px;
}

.reason__box:nth-child(3) .reason__box-num {
  background-image: url("../img/deco_reason-3.webp");
  right: 1px;
  bottom: -193px;
  width: 126px;
  height: 340px;
}

.reason__box-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 40px;
  padding: 20px 36px;
  overflow: hidden;
}
@media screen and (max-width: 900px) {
  .reason__box-content {
    align-items: flex-start;
    flex-direction: column;
    padding: 24px;
    gap: 28px;
  }
}

.reason__box-image {
  flex: 0 0 332px;
  max-width: 332px;
  aspect-ratio: 332/149;
  border-radius: 5px;
  overflow: hidden;
}
.reason__box-image picture {
  display: block;
  width: 100%;
  height: 100%;
}
.reason__box-image img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
}
@media screen and (max-width: 900px) {
  .reason__box-image {
    flex: 1 1 auto;
    max-width: none;
    width: 100%;
  }
}
@media screen and (max-width: 480px) {
  .reason__box-image {
    height: 149px;
    aspect-ratio: auto;
  }
}

.reason__box-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  z-index: 5;
}
.reason__box-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}
@media screen and (max-width: 900px) {
  .reason__box-head {
    gap: 6px;
  }
}

.reason__box-badge {
  color: #fff;
  font-family: "Inter", Courgette, cursive;
  font-size: 16px;
  font-weight: 700;
  line-height: 170%; /* 27.2px */
  padding: 2px 32px;
  border-radius: 10px;
  background: #202831;
  align-self: flex-start;
}
@media screen and (max-width: 900px) {
  .reason__box-badge {
    font-size: 13px;
    padding: 0 24px;
    border-radius: 7px;
  }
}

.reason__box-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 124%; /* 39.68px */
}
@media screen and (max-width: 900px) {
  .reason__box-title {
    font-size: 24px;
  }
}
.reason__box-title span {
  text-decoration: underline;
  text-decoration-color: #ffa1a1;
  text-decoration-thickness: 4px;
  text-underline-offset: 2px;
  -webkit-text-decoration-skip-ink: none;
          text-decoration-skip-ink: none;
}

.reason__box-text {
  font-size: 16px;
  font-weight: 400;
  line-height: 170%; /* 27.2px */
}
@media screen and (max-width: 900px) {
  .reason__box-text {
    font-size: 13px;
  }
}

.flow {
  padding-block: 89px 91px;
}
@media screen and (max-width: 900px) {
  .flow {
    padding-block: 81px 110px;
  }
}

.flow__list {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 56px;
}
@media screen and (max-width: 1165px) {
  .flow__list {
    gap: 5px;
  }
}
@media screen and (max-width: 900px) {
  .flow__list {
    grid-template-columns: repeat(1, 1fr);
    margin-top: 33px;
    max-width: 500px;
    width: 100%;
    margin-inline: auto;
    gap: 9px;
  }
}

.flow__item {
  position: relative;
  background: #f0f3f6;
  border-radius: 0 0 5px 5px;
  text-align: center;
}
.flow__label {
  --label-bg: #d3dce4;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 57px;
  padding-inline: 35px;
  font-family: "Inter", Courgette, cursive;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  background: var(--label-bg);
  /* 右矢印 */
}
.flow__label::after {
  content: "";
  position: absolute;
  top: 0;
  right: -28px;
  width: 0;
  height: 0;
  border-top: 29px solid transparent;
  border-bottom: 29px solid transparent;
  border-left: 29px solid var(--label-bg);
  z-index: 10;
}
@media screen and (max-width: 900px) {
  .flow__label {
    line-height: 1;
  }
}

@media screen and (max-width: 900px) {
  .flow__item {
    display: flex; /* 横並びにする */
    align-items: stretch;
  }
  .flow__label {
    font-size: 16px;
    flex: 0 0 69px;
    width: 69px;
    height: auto;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    padding: 10px 0;
    justify-content: center;
    align-items: center;
    writing-mode: horizontal-tb !important;
    text-orientation: mixed;
    flex-direction: column;
    /* 下向きの三角▽に変更 */
  }
  .flow__label span {
    font-size: 24px;
  }
  .flow__label::after {
    content: "";
    position: absolute;
    top: 309px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 34.5px solid transparent;
    border-right: 34.5px solid transparent;
    border-top: 27px solid var(--label-bg);
  }
}
@media screen and (max-width: 900px) and (max-width: 480px) {
  .flow__label::after {
    top: 332px;
  }
}
@media screen and (max-width: 900px) {
  .flow__item-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 35px 24px;
    gap: 10px;
  }
}
/* 2つ目以降の左側の食い込み（三角形の白抜き部分） */
.flow__item:not(:first-child) .flow__label::before {
  content: none;
}
@media screen and (max-width: 1165px) {
  .flow__item:not(:first-child) .flow__label::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    border-top: 29px solid transparent;
    border-bottom: 29px solid transparent;
    border-left: 29px solid #fff;
  }
}
@media screen and (max-width: 900px) {
  .flow__item:not(:first-child) .flow__label::before {
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 34.5px solid transparent;
    border-right: 34.5px solid transparent;
    border-top: 27px solid #fff;
  }
}

/* STEPごとの色 */
.flow__item:nth-child(1) .flow__label {
  --label-bg: #d3dce4;
  color: #111;
}

.flow__item:nth-child(2) .flow__label {
  --label-bg: #7e9db2;
}

.flow__item:nth-child(3) .flow__label {
  --label-bg: #3d5467;
}

.flow__item:nth-child(4) .flow__label {
  --label-bg: #303d4a;
}

/* 最後は矢印なし */
.flow__item:last-child .flow__label::after {
  content: none;
}

@media screen and (max-width: 900px) {
  .flow__label span {
    display: block;
    font-family: "Inter", Courgette, cursive;
    font-size: 24px;
    font-weight: 700;
    line-height: 100%; /* 24px */
  }
}

.flow__item-body {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 35px;
  gap: 12px;
}
@media screen and (max-width: 900px) {
  .flow__item-body {
    padding: 34px 24px 32px 24px;
    gap: 10px;
  }
}

.flow__heading {
  font-size: 24px;
  font-weight: 500;
  line-height: 170%; /* 40.8px */
}
@media screen and (max-width: 900px) {
  .flow__heading {
    font-size: 18px;
  }
}

.flow__image {
  max-width: 170px;
}
.flow__image img {
  width: 100%;
  height: auto;
}

.flow__text {
  font-size: 16px;
  font-weight: 400;
  line-height: 170%; /* 27.2px */
  text-align: left;
}
@media screen and (max-width: 900px) {
  .flow__text {
    font-size: 14px;
    padding-inline: 10px;
  }
}

.flow__badge {
  position: absolute;
  top: 11px;
  left: -21px;
  width: 94px;
  height: 94px;
  pointer-events: none;
  z-index: 15;
  overflow: hidden;
}
@media screen and (max-width: 1165px) {
  .flow__badge {
    top: 38px;
    left: -25px;
  }
}
@media screen and (max-width: 900px) {
  .flow__badge {
    width: 84px;
    height: 84px;
    top: -8px;
    right: -12px;
    left: auto;
    overflow: visible;
  }
}
.flow__badge img {
  width: 100%;
  height: auto;
  display: block;
}

/* スタンプアニメーション */
.stamp {
  opacity: 0;
  transform: scale(1.5);
}
@media screen and (max-width: 768px) {
  .stamp {
    transform: scale(1);
    z-index: 20;
  }
}

.flow__item.is-inview .stamp {
  animation: stamp-in 0.7s ease-out forwards;
  animation-delay: var(--delay);
}

.flow__item:nth-child(1) .stamp {
  animation-delay: 0.2s;
}

.flow__item:nth-child(2) .stamp {
  animation-delay: 0.5s;
}

@keyframes stamp-in {
  0% {
    opacity: 0;
    transform: scale(1.5);
  }
  60% {
    opacity: 1;
    transform: scale(0.95);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
@media screen and (max-width: 900px) {
  @keyframes stamp-in {
    0% {
      opacity: 0;
      transform: scale(1);
    }
    60% {
      opacity: 1;
      transform: scale(0.85);
    }
    100% {
      opacity: 1;
      transform: scale(1);
    }
  }
}
.cta {
  padding-block: 60px 70px;
  background: #fff1f1;
  position: relative;
  overflow: hidden;
}
@media screen and (max-width: 1060px) {
  .cta {
    padding-block: 60px 66px;
  }
}

.cta__deco {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

/* 左上 */
.cta__deco--1 {
  width: 611px;
  aspect-ratio: 611/426;
  top: 0;
  right: 0;
}
@media screen and (max-width: 900px) {
  .cta__deco--1 {
    width: 300px;
    top: auto;
    bottom: 0;
    right: auto;
    left: 0;
  }
}

/* 右下 */
.cta__deco--2 {
  width: 427px;
  aspect-ratio: 427/188;
  bottom: 0;
  left: 0;
}
@media screen and (max-width: 900px) {
  .cta__deco--2 {
    width: 233px;
    bottom: auto;
    top: 0;
    right: 2px;
    left: auto;
  }
}

.cta__inner {
  position: relative;
}
@media screen and (max-width: 1220px) {
  .cta__inner {
    max-width: 1015px;
  }
}
@media screen and (max-width: 1060px) {
  .cta__inner {
    max-width: 600px;
  }
}

.cta__content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  width: 100%;
  margin-inline: auto;
  align-items: start;
  position: relative;
  z-index: 10;
}
@media screen and (max-width: 1220px) {
  .cta__content {
    gap: 30px;
  }
}
@media screen and (max-width: 1060px) {
  .cta__content {
    grid-template-columns: 1fr;
    gap: 27px;
  }
}
@media screen and (max-width: 900px) {
  .cta__content {
    gap: 5px;
  }
}

.cta__left,
.cta__right {
  min-width: 0;
}

.cta__left {
  max-width: 572px;
  width: 100%;
  padding-top: 7px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
@media screen and (max-width: 900px) {
  .cta__left {
    gap: 40px;
    padding-top: 0;
  }
}

.cta__heading {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
@media screen and (max-width: 900px) {
  .cta__heading {
    gap: 0;
  }
}

.cta__subtitle {
  background: #ffc8c8;
  font-size: 18px;
  font-weight: 400;
  line-height: 170%; /* 30.6px */
  padding: 0 10px;
  text-align: center;
  width: 100%;
}
@media screen and (max-width: 900px) {
  .cta__subtitle {
    font-size: 14px;
  }
}

.cta__heading-group {
  text-align: center;
  display: flex;
  flex-direction: column;
}

.cta__heading-sub {
  font-size: 24px;
  font-weight: 500;
  line-height: 170%; /* 40.8px */
}
@media screen and (max-width: 900px) {
  .cta__heading-sub {
    font-size: 18px;
  }
}

.cta__heading-main {
  font-size: 40px;
  font-weight: 700;
  line-height: 140%; /* 56px */
}
@media screen and (max-width: 900px) {
  .cta__heading-main {
    font-size: 28px;
  }
}

.cta__info {
  display: flex;
  gap: 26px;
  align-items: flex-end;
  justify-content: center;
  padding-right: 5px;
}
@media screen and (max-width: 900px) {
  .cta__info {
    font-size: 18px;
    flex-direction: row-reverse;
    align-items: flex-start;
    gap: 0;
  }
}

.cta__image {
  max-width: 243px;
  width: 100%;
}
@media screen and (max-width: 1220px) {
  .cta__image {
    max-width: 194px;
  }
}
@media screen and (max-width: 900px) {
  .cta__image {
    position: relative;
    left: 27px;
    top: -21px;
  }
}
.cta__image img {
  height: auto;
  -o-object-fit: cover;
     object-fit: cover;
}

.cta__list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  justify-content: center;
  padding-bottom: 33px;
}
@media screen and (max-width: 900px) {
  .cta__list {
    gap: 2px;
    position: relative;
    top: 4px;
    left: 4px;
  }
}

.cta__item {
  display: flex;
  gap: 8px;
  align-items: center;
}
@media screen and (max-width: 900px) {
  .cta__item {
    gap: 13px;
  }
}
.cta__item svg {
  width: 19px;
  height: 26px;
  flex-shrink: 0;
}
@media screen and (max-width: 900px) {
  .cta__item svg {
    width: 13px;
    height: 11px;
  }
}
.cta__item span {
  color: #111;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.7;
}
@media screen and (max-width: 900px) {
  .cta__item span {
    font-size: 18px;
  }
}

.cta__right {
  max-width: 572px;
  width: 100%;
  background: #fff;
  border-radius: 10px;
  padding: 51px 42px 33px 37px;
}
@media screen and (max-width: 1220px) {
  .cta__right {
    display: flex;
    justify-content: center;
    padding: 30px 22px 30px 22px;
  }
}
@media screen and (max-width: 900px) {
  .cta__right {
    padding: 13px 22px 27px 22px;
  }
}

.cta__contact-card {
  display: flex;
  flex-direction: column;
  gap: 33px;
}
@media screen and (max-width: 900px) {
  .cta__contact-card {
    width: 100%;
    gap: 27px;
  }
}

.cta__contact-head {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 11px;
}
@media screen and (max-width: 1220px) {
  .cta__contact-head {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
}

.cta__contact-label {
  color: #111;
  font-size: 22px;
  font-weight: 700;
  margin: 0;
  padding-top: 11px;
}

.cta__contact-tel {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.cta__contact-tel .tel {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.cta__contact-tel .tel__num {
  color: #111;
  font-family: "Inter", Courgette, cursive;
  font-size: 38px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 1.8px;
}
@media screen and (max-width: 900px) {
  .cta__contact-tel .tel__num {
    font-size: 32px;
    letter-spacing: 1.2px;
  }
}

.cta__contact-tel .time {
  border-radius: 10px;
  background: #f0f3f6;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.7;
}
@media screen and (max-width: 900px) {
  .cta__contact-tel .time {
    font-size: 13px;
  }
}

.cta__phone-hours {
  background: #f0f3f6;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  line-height: 170%; /* 27.2px */
  padding-inline: 10px;
  text-align: center;
}

.cta__contact-actions {
  max-width: 400px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
@media screen and (max-width: 1220px) {
  .cta__contact-actions {
    justify-content: center;
    align-self: center;
  }
}

.cta__contact-action-button .btn {
  width: 100%;
  padding: 24px 40px 23px 32px;
  justify-content: space-between;
}
.cta__contact-action-button .btn span {
  font-size: 24px;
}
.cta__contact-action-button .btn svg {
  width: 23px;
  height: 17px;
}
@media screen and (max-width: 900px) {
  .cta__contact-action-button .btn {
    justify-content: center;
    padding: 22px 51px 18px 31px;
    position: relative;
  }
  .cta__contact-action-button .btn span {
    font-size: 18px;
    text-align: center;
  }
  .cta__contact-action-button .btn svg {
    width: 16px;
    position: absolute;
    right: 28px;
    top: 50%;
    transform: translateY(-50%);
  }
}

.cta__run-image {
  position: absolute;
  bottom: -30px;
  right: 0;
  width: 192px;
  height: 244px;
  z-index: 2;
}
@media (min-width: 1221px) {
  .cta__run-image {
    right: -58px;
  }
}
@media (max-width: 1220px) {
  .cta__run-image {
    width: 154px;
    height: 195px;
    right: -65px;
  }
}
@media screen and (max-width: 1060px) {
  .cta__run-image {
    display: none;
  }
}
.cta__run-image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

@media screen and (max-width: 1060px) {
  .cta__run-image.swing {
    display: none;
  }
}

.cta__run-image--sp {
  display: none;
}
@media screen and (max-width: 1060px) {
  .cta__run-image--sp {
    display: block;
  }
}

.cta__run-image-item {
  position: absolute;
  z-index: 2;
}
@media screen and (max-width: 1060px) {
  .cta__run-image-item:first-child {
    width: 173px;
    height: auto;
    bottom: -151px;
    left: -21px;
  }
}
@media screen and (max-width: 900px) {
  .cta__run-image-item:first-child {
    width: 133px;
    bottom: -149px;
    left: -16px;
  }
}
@media screen and (max-width: 1060px) {
  .cta__run-image-item:last-child {
    width: 152px;
    height: auto;
    bottom: -149px;
    right: -16px;
  }
}
@media screen and (max-width: 900px) {
  .cta__run-image-item:last-child {
    width: 117px;
    bottom: -149px;
    right: -16px;
  }
}

.swing {
  display: inline-block;
  animation: katakata 1.2s infinite step-start;
}

@keyframes katakata {
  0% {
    transform: rotate(-8deg); /* 左カタッ */
  }
  50% {
    transform: rotate(8deg); /* 右カタッ */
  }
  100% {
    transform: rotate(-8deg); /* 左カタッ */
  }
}
.cta__message {
  display: none;
}
@media screen and (max-width: 1060px) {
  .cta__message {
    padding-left: 15px;
    display: block;
    margin-top: 16px;
    text-align: center;
  }
  .cta__message img {
    width: 183px;
    height: auto;
  }
}

.qa {
  padding-block: 92px;
}
@media screen and (max-width: 900px) {
  .qa {
    padding-block: 42px 85px;
  }
}

.qa__inner {
  max-width: calc(777px + 30px * 2);
  width: 100%;
  margin: 0 auto;
  padding-inline: 30px;
}
@media screen and (max-width: 900px) {
  .qa__inner {
    max-width: 600px;
    padding-inline: 20px;
    margin-top: 36px;
  }
}

.qa__boxes {
  margin-top: 56px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
@media screen and (max-width: 900px) {
  .qa__boxes {
    margin-top: 36px;
    gap: 20px;
  }
}

.qa-box {
  border-radius: 5px;
}

.qa-box__heading {
  -webkit-appearance: none;
  -moz-appearance: none;
       appearance: none;
  position: relative;
  z-index: 2;
  border-radius: 5px;
  background: #d3dce4;
  width: 100%;
  padding: 16px 36px;
  display: flex;
  align-items: center;
  gap: 20px;
  text-align: left;
  color: #111;
}
@media screen and (max-width: 900px) {
  .qa-box__heading {
    padding: 12px 27px 12px 21px;
    gap: 14px;
  }
}

.qa-box__heading-icon {
  color: #202831;
  font-family: "Inter", Courgette, cursive;
  font-size: 24px;
  font-weight: 500;
  line-height: 140%;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  aspect-ratio: 1/1;
  background: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
@media screen and (max-width: 900px) {
  .qa-box__heading-icon {
    font-size: 18px;
    line-height: 145%;
    width: 24px;
    height: 24px;
  }
}

.qa-box__heading-text {
  color: #111;
  font-size: 18px;
  font-weight: 700;
  line-height: 170%;
  flex-grow: 1;
}
@media screen and (max-width: 900px) {
  .qa-box__heading-text {
    font-size: 14px;
  }
}

.qa-box__heading-toggle {
  position: relative;
  display: block;
  background-color: #fff;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}
@media screen and (max-width: 900px) {
  .qa-box__heading-toggle {
    width: 24px;
    height: 24px;
  }
}

.qa-box__heading-toggle::before,
.qa-box__heading-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #111;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
}

.qa-box__heading-toggle::before {
  /* 縦棒 */
  width: 15px;
  height: 2px;
  transform: translate(-50%, -50%) rotate(90deg);
}

.qa-box__heading-toggle::after {
  /* 横棒 */
  width: 15px;
  height: 2px;
}

.js-accordion[aria-expanded=true] .qa-box__heading-toggle::before {
  transform: translate(-50%, -50%) rotate(180deg);
}

.js-accordion[aria-expanded=true] .qa-box__heading-toggle::after {
  opacity: 0;
}

.qa-box__body {
  display: none;
  padding: 21px 80px 16px 43px;
  background: #fff;
  border-radius: 0 0 5px 5px;
  border: 0.5px solid #d3dce4;
  position: relative;
  z-index: 1;
  overflow: hidden;
}
@media screen and (max-width: 900px) {
  .qa-box__body {
    padding: 24px 24px 12px 26px;
  }
}

.qa-box.is-open .qa-box__body {
  margin-top: -9px;
  border-top: none;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.qa-box__answer {
  display: flex;
  gap: 26px;
  align-items: center;
}
@media screen and (max-width: 900px) {
  .qa-box__answer {
    gap: 19px;
  }
}

.qa-box__answer-icon {
  color: #fe6b6c;
  font-family: "Inter", Courgette, cursive;
  font-size: 24px;
  font-weight: 600;
  line-height: 170%;
}
@media screen and (max-width: 900px) {
  .qa-box__answer-icon {
    font-size: 19.2px;
  }
}

.qa-box__answer-text {
  color: #111;
  font-size: 18px;
  font-weight: 400;
  line-height: 170%;
}
@media screen and (max-width: 900px) {
  .qa-box__answer-text {
    font-size: 14px;
  }
}

.sns {
  padding-block: 90px 256px;
  position: relative;
  overflow: hidden;
}
@media screen and (max-width: 900px) {
  .sns {
    padding-block: 80px 115px;
  }
}

.sns__deco {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}
.sns__deco img {
  display: block;
  max-width: 100%;
  height: auto;
}

.sns__deco:nth-of-type(1) {
  width: 580px;
  height: auto;
  top: 0;
  right: 0;
}
@media screen and (max-width: 900px) {
  .sns__deco:nth-of-type(1) {
    width: 199px;
  }
}

.sns__deco:nth-of-type(2) {
  width: 614px;
  height: auto;
  bottom: 4px;
  left: 0;
}
@media screen and (max-width: 900px) {
  .sns__deco:nth-of-type(2) {
    width: 267px;
    bottom: 8px;
    left: 4px;
  }
}

.sns__deco:nth-of-type(3) {
  max-width: 1382px;
  width: 100%;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
}

.sns__inner {
  max-width: calc(836px + 30px * 2);
  width: 100%;
  margin: 0 auto;
  padding-inline: 30px;
  position: relative;
  z-index: 1;
}
@media screen and (max-width: 900px) {
  .sns__inner {
    max-width: 600px;
    padding-inline: 44px;
  }
}

.sns__title {
  text-align: center;
}

.sns__wrapper {
  max-width: 836px;
  width: 100%;
  margin-inline: auto;
  text-align: center;
}

.section__heading-main {
  font-family: "Inter", Courgette, cursive;
  font-size: 52px;
  font-weight: 700;
  line-height: 140%; /* 72.8px */
}
@media screen and (max-width: 900px) {
  .section__heading-main {
    font-size: 34px;
    letter-spacing: 1.1px;
  }
}

.sns__lead {
  font-size: 24px;
  font-weight: 500;
  line-height: 170%; /* 40.8px */
}
@media screen and (max-width: 900px) {
  .sns__lead {
    font-size: 18px;
  }
}

.sns__more {
  margin-top: 43px;
  border-radius: 10px;
  display: inline-block;
}
@media screen and (max-width: 900px) {
  .sns__more {
    margin-top: 35px;
    max-width: 287px;
    width: 100%;
  }
  .sns__more span {
    margin-left: -17px;
  }
}

.sbi_btn_text {
  color: #fff;
  display: flex;
  align-items: center;
  gap: 23px;
}

#sb_instagram {
  margin-top: 56px;
  padding-bottom: 0 !important;
  /* ヘッダー削除 */
}
#sb_instagram #sbi_images {
  padding-block: 0;
}
@media screen and (max-width: 900px) {
  #sb_instagram {
    margin-top: 36px;
  }
  #sb_instagram .sbi_item:nth-child(n+2) {
    display: none !important;
  }
  #sb_instagram #sbi_images {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
  }
  #sb_instagram .sbi_item {
    width: 248px !important;
  }
  #sb_instagram .sbi_photo_wrap {
    width: 248px !important;
    height: 310px !important;
    overflow: hidden;
  }
  #sb_instagram .sbi_photo {
    display: block;
    width: 100%;
    height: 100% !important;
  }
  #sb_instagram .sbi_photo img {
    width: 100% !important;
    height: 100% !important;
    -o-object-fit: cover;
       object-fit: cover;
    -o-object-position: center;
       object-position: center;
    display: block;
  }
  #sb_instagram #sb_instagram.sbi_col_3 #sbi_images {
    grid-template-columns: 1fr !important;
  }
  #sb_instagram .voice__reviews-inner .ti-widget.ti-goog .ti-review-item .ti-inner .ti-review-text-container.ti-review-content {
    min-height: 155px !important;
  }
}
#sb_instagram .sb_instagram_header.sbi_medium {
  display: none !important;
}
#sb_instagram .sbi_btn_text {
  display: flex;
  align-items: center;
  gap: 23px;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 160%; /* 28.8px */
}
#sb_instagram .sbi_btn_text svg {
  width: 24px;
  height: 24px;
}
#sb_instagram #sbi_load {
  margin-top: 56px;
}
#sb_instagram #sbi_load .sbi_load_btn {
  padding-block: 16px;
  padding-inline: 54px 20px;
  border-radius: 10px;
  background: #202831;
  margin-top: 0;
}

#sb_instagram #sbi_load {
  display: none !important;
}

.company {
  padding-block: 86px 90px;
}
@media screen and (max-width: 900px) {
  .company {
    padding-block: 77px 85px;
  }
}

.company__inner {
  max-width: calc(760px + 30px * 2);
  width: 100%;
  margin: 0 auto;
  padding-inline: 30px;
}
@media screen and (max-width: 900px) {
  .company__inner {
    max-width: 600px;
    padding-inline: 20px;
  }
}

.company__table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  margin-top: 56px;
}
@media screen and (max-width: 900px) {
  .company__table {
    margin-top: 36px;
  }
}

.company__table tr {
  border-top: 1px solid #e2e5e8;
  border-bottom: 1px solid #e2e5e8;
}

.company__table th,
.company__table td {
  font-size: 16px;
  font-weight: 400;
  line-height: 160%;
  text-align: left;
  vertical-align: middle;
}
@media screen and (max-width: 900px) {
  .company__table th,
  .company__table td {
    font-size: 13px;
  }
}

.company__table th {
  padding-block: 32px;
  padding-inline: 8px 0;
  width: 188px;
  text-align: left;
  white-space: nowrap;
}
@media screen and (max-width: 900px) {
  .company__table th {
    width: 81px;
    padding-block: 16px;
  }
}

.company__table td {
  padding-block: 32px;
  padding-inline: 8px 0;
}
@media screen and (max-width: 900px) {
  .company__table td {
    padding-block: 16px;
    padding-inline: 9px 5px;
  }
}

footer {
  background: #222;
  color: #fff;
  display: block;
}

.footer__inner {
  max-width: 1244px;
  width: 100%;
  box-sizing: border-box;
  padding: 37px 30px 40px 30px;
  margin-inline: auto;
}
@media screen and (max-width: 900px) {
  .footer__inner {
    padding: 28px 20px 100px 20px;
  }
}

.footer__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
@media screen and (max-width: 900px) {
  .footer__nav {
    flex-direction: column-reverse;
  }
}

.footer__nav-company-name {
  padding-top: 2px;
}
@media screen and (max-width: 900px) {
  .footer__nav-company-name {
    margin-top: 36px;
    font-size: 14px;
    align-self: flex-start;
    text-align: left;
  }
}
.footer__nav-company-name a {
  color: #fff;
  font-size: 18px;
  font-weight: 400;
  line-height: 170%; /* 30.6px */
  transition: transform 0.3s;
}
.footer__nav-company-name a:hover {
  color: #f0f3f6;
}
@media screen and (max-width: 900px) {
  .footer__nav-company-name a {
    font-size: 14px;
  }
}

.footer__nav-list {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
@media screen and (max-width: 900px) {
  .footer__nav-list {
    flex-direction: column;
  }
}

.footer__nav-item {
  padding-right: 20px;
  padding-left: 20px;
}
@media screen and (max-width: 900px) {
  .footer__nav-item {
    padding-right: 16px;
    padding-left: 16px;
    padding-top: 20px;
    padding-bottom: 15px;
  }
}
@media screen and (max-width: 900px) {
  .footer__nav-item:first-child {
    padding-top: 0;
  }
}
.footer__nav-item:nth-last-child(2) {
  padding-right: 0;
}
@media screen and (max-width: 900px) {
  .footer__nav-item:nth-last-child(2) {
    padding-right: 16px;
  }
}

.footer__nav-link {
  display: inline-block;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  line-height: 160%; /* 25.6px */
  position: relative;
}
.footer__nav-link::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 50%;
  height: 2px;
  width: calc(100% + 8px);
  background: #fff;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform 0.3s;
}

.footer__nav-item:hover .footer__nav-link::after,
.footer__nav-link:focus-visible::after {
  transform: translateX(-50%) scaleX(1);
}

.footer__nav-item--privacy {
  display: none;
}
@media screen and (max-width: 900px) {
  .footer__nav-item--privacy {
    display: block;
  }
}
@media screen and (max-width: 900px) {
  .footer__nav-item--privacy .footer__nav-link {
    font-size: 12px;
    font-weight: 400;
    line-height: 170%; /* 20.4px */
  }
}

.footer__company {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 22px;
}
@media screen and (max-width: 900px) {
  .footer__company {
    margin-top: 20px;
  }
}

.footer__company-block {
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  line-height: 170%; /* 23.8px */
  text-align: left;
}
@media screen and (max-width: 900px) {
  .footer__company-block {
    font-size: 12px;
  }
}

.footer__bottom {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  font-size: 13px;
  font-weight: 400;
  line-height: 170%; /* 22.1px */
}
@media screen and (max-width: 900px) {
  .footer__bottom {
    font-size: 12px;
    margin-top: 27px;
  }
}

.footer__copy {
  grid-column: 2;
  justify-self: center;
  text-align: center;
}
.footer__copy a {
  font-size: 13px;
  font-weight: 400;
  line-height: 170%; /* 22.1px */
  color: #fff;
  transition: transform 0.3s;
}
.footer__copy a:hover {
  color: #f0f3f6;
}

.footer__privacy {
  grid-column: 3;
  justify-self: end;
}
@media screen and (max-width: 900px) {
  .footer__privacy {
    display: none;
  }
}

.footer__privacy-link {
  color: #fff;
  position: relative;
}
.footer__privacy-link::after {
  content: "";
  position: absolute;
  width: calc(100% + 12px);
  height: 2px;
  bottom: -1px;
  left: -6px;
  background: #fff;
  bottom: -1px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s;
}

.footer__privacy-link:hover::after {
  transform: scale(1, 1);
}

.footer__pagetop {
  position: fixed;
  right: 30px;
  bottom: 65px;
  z-index: 1000001;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.5s, transform 0.5s, visibility 0.5s;
}
@media screen and (max-width: 900px) {
  .footer__pagetop {
    display: none;
  }
}

.footer__pagetop.is-show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.page-top {
  background: transparent;
  border: none;
  padding: 0;
  width: 92px;
  cursor: pointer;
  transition: filter 0.5s;
  -webkit-appearance: none;
  -moz-appearance: none;
       appearance: none;
  line-height: 0;
}
.page-top img {
  display: block;
  width: 92px;
  height: 92px;
}

.title-kasou {
  padding: 0;
}

.title-kasou__container {
  position: relative;
  background: #202831;
  border-radius: 10px;
  overflow: hidden;
  padding: 56px 50px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
@media screen and (max-width: 768px) {
  .title-kasou__container {
    height: 130px;
    padding: 33px 20px;
    border-radius: 7px;
    margin-top: 16px;
  }
}

.title-kasou__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  z-index: 1;
}

.title-kasou__bg,
.title-kasou__bg img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.title-kasou__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  justify-content: center;
}

.title-kasou__title {
  color: #fff;
  font-size: 52px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0;
}
@media screen and (max-width: 768px) {
  .title-kasou__title {
    font-size: 26px;
  }
}

.title-kasou__subtitle {
  color: #fff;
  font-family: "Inter", Courgette, cursive;
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
  margin: 0;
}
@media screen and (max-width: 768px) {
  .title-kasou__subtitle {
    font-size: 14px;
  }
}

.works-body {
  padding: 80px 0;
}

@media screen and (max-width: 768px) {
  .works-body {
    padding: 40px 0;
  }
}
.cases-container {
  display: flex;
  flex-direction: column;
  gap: 120px;
}

@media screen and (max-width: 768px) {
  .cases-container {
    gap: 60px;
  }
}
.tags {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.tag {
  background: #d3dce4;
  border-radius: 5px;
  color: #111;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 170%; /* 27.2px */
  padding-inline: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tag--active {
  background: #202831;
  color: #fff;
}

.tag:hover {
  background: #f0f3f6;
  color: #111;
}

/* ===== 施工事例カードグリッド ここから ===== */
.cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 83px;
}

@media screen and (max-width: 1060px) {
  .cases {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}
@media screen and (max-width: 768px) {
  .cases {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
.card-case {
  border-radius: 5px;
  border: 1px solid #e2e5e8;
  background: var(--white, #fff);
  box-shadow: 0 8px 20px 0 rgba(17, 17, 17, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.card-case:hover {
  transform: translateY(-5px);
  background: #fff1f1;
}

.card-case__image {
  position: relative;
  width: 100%;
  aspect-ratio: 8/5;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-case__image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center center;
     object-position: center center;
  display: block;
  flex-shrink: 0;
}

.card-case__content {
  padding: 20px 36px 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-case__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 36px;
}

.card-case__title a {
  color: #111;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.7;
  margin: 0;
}

.card-case__subtitle {
  color: #111;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.7;
  margin: 0;
}

.card-case__period {
  display: flex;
  gap: 8px;
  align-items: center;
}

.card-case__period-label {
  background: #f0f3f6;
  border-radius: 5px;
  color: #111;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.7;
  padding: 0 8px;
}

.card-case__period-value {
  color: #111;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.7;
}

.card-case__tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.card-case__tag {
  background: #d3dce4;
  border-radius: 5px;
  color: #111;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.7;
  padding: 0 6px;
}

.card-case__button {
  display: flex;
  justify-content: flex-end;
}

.card-case__button .btn {
  display: inline-flex;
  align-items: center;
  padding-block: 6px;
  padding-inline: 32px 22px;
  gap: 10px;
  border-radius: 10px;
  border: 1px solid #222;
  background: #fff;
  color: #111;
  font-size: 16px;
  font-weight: 500;
  line-height: 170%; /* 27.2px */
  transition: border-color 0.2s, background-color 0.2s, color 0.2s, transform 0.2s;
}

.card-case__button .btn svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  transform: translateX(0);
  transition: transform 0.2s;
}

/* キーボードフォーカス */
.card-case__button .btn:focus-visible {
  outline: 2px solid #111;
  outline-offset: 2px;
}

.case-card__header {
  text-align: left;
}
.case-card__name {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 23px;
  line-height: 1.7;
  color: #111111;
  margin: 0;
}
@media screen and (max-width: 900px) {
  .case-card__name {
    font-size: 18px;
  }
}

.case-card__info {
  margin-top: 25px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
@media screen and (max-width: 900px) {
  .case-card__info {
    margin-top: 21px;
    gap: 8px;
  }
}

.case-card__info-row {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.case-card__info-label {
  background: #f0f3f6;
  border-radius: 5px;
  padding: 0 8px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.7;
  color: #111111;
  flex-shrink: 0;
}
@media screen and (max-width: 900px) {
  .case-card__info-label {
    font-size: 13px;
  }
}

.case-card__info-value {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: #111111;
}
@media screen and (max-width: 900px) {
  .case-card__info-value {
    font-size: 16px;
  }
}

.case-detail {
  padding-top: 0;
}

.case-detail-body {
  background: #ffffff;
  padding-block: 129px 170px;
}
@media screen and (max-width: 768px) {
  .case-detail-body {
    padding-block: 83px 84px;
  }
}

.case-detail__container {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
  width: 100%;
}

.case-detail-body__inner .inner {
  max-width: none;
  padding: 0;
}
.case-detail-body__inner .case-detail__container {
  gap: 40px;
}

.case-detail__title-sp {
  display: none;
}
@media screen and (max-width: 900px) {
  .case-detail__title-sp {
    display: flex;
    width: 100%;
  }
}
.case-detail__title-sp h1 {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.24;
  color: #111111;
  flex-shrink: 1;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.case-detail__title-pc {
  display: block;
}
@media screen and (max-width: 900px) {
  .case-detail__title-pc {
    display: none;
  }
}
.case-detail__title-pc h1 {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 1.24;
  color: #111111;
  text-align: center;
}

.case-detail__beforeafter {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  border-radius: 5px 5px 0 0;
  width: 100%;
}
@media screen and (max-width: 768px) {
  .case-detail__beforeafter {
    flex-direction: column;
    gap: 40px;
  }
}

.case-detail__pc-layout {
  display: flex;
  gap: 40px;
  width: 100%;
}
@media screen and (max-width: 900px) {
  .case-detail__pc-layout {
    gap: 20px;
  }
}
@media screen and (max-width: 768px) {
  .case-detail__pc-layout {
    display: none;
  }
}

.case-detail__sp-layout {
  display: none;
}
@media screen and (max-width: 900px) {
  .case-detail__sp-layout {
    display: flex;
    flex-direction: column;
    gap: 28px;
    width: 100%;
  }
}

.case-detail__before,
.case-detail__after {
  display: flex;
  flex-direction: column;
  isolate: isolate;
  align-items: center;
  flex: 1;
  position: relative;
  width: 100%;
}

.case-detail__image-tag {
  background: #d3dce4;
  width: 100%;
  display: flex;
  gap: 3px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  font-family: "Inter", Courgette, cursive;
  font-weight: 600;
  font-size: 28px;
  line-height: 1.6;
  letter-spacing: 0.84px;
  color: #111111;
  position: relative;
  z-index: 2;
}
@media screen and (max-width: 768px) {
  .case-detail__image-tag {
    font-size: 20px;
    letter-spacing: 0.6px;
  }
}

.case-detail__image-tag--after {
  background: #f63738;
  color: #ffffff;
}

.case-detail__before img,
.case-detail__after img {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 1;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center center;
     object-position: center center;
  margin: 0 auto;
  max-width: 100%;
}

.case-detail__info-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
  width: 100%;
}

.case-detail__info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  width: 100%;
  max-width: 776px;
}
@media screen and (max-width: 900px) {
  .case-detail__info {
    max-width: 100%;
    gap: 8px;
  }
}

.case-detail__info-row {
  display: flex;
  gap: 12px;
  align-items: center;
  width: 100%;
}

.case-detail__info-label {
  background: #f0f3f6;
  border-radius: 5px;
  padding: 0 8px;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.7;
  color: #111111;
  flex-shrink: 0;
}
@media screen and (max-width: 768px) {
  .case-detail__info-label {
    font-size: 13px;
  }
}

.case-detail__info-value {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.7;
  color: #111111;
  flex-shrink: 0;
}
@media screen and (max-width: 768px) {
  .case-detail__info-value {
    font-size: 14px;
  }
}

.case-detail__info-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-start;
  width: 100%;
}

.case-detail__tag {
  background: #d3dce4;
  border-radius: 5px;
  padding: 0 6px;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.7;
  color: #111111;
  flex-shrink: 0;
}
@media screen and (max-width: 768px) {
  .case-detail__tag {
    font-size: 13px;
  }
}

.case-detail__divider {
  height: 1px;
  background: #e5e5e5;
  width: 777px;
}
@media screen and (max-width: 768px) {
  .case-detail__divider {
    width: 100%;
  }
}

.case-detail__description {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.7;
  color: #111111;
  width: 777px;
}
@media screen and (max-width: 768px) {
  .case-detail__description {
    font-size: 14px;
    width: 100%;
  }
}
.case-detail__description p {
  margin-bottom: 0;
}

.case-detail__gallery {
  display: flex;
  flex-direction: column;
  gap: 56px;
  align-items: flex-start;
  width: 100%;
}

.case-detail__gallery-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  width: 100%;
}

.case-detail__gallery-tag {
  background: #f63738;
  width: 100%;
  display: flex;
  gap: 3px;
  align-items: center;
  padding: 0 20px;
  font-family: "Inter", Courgette, cursive;
  font-weight: 600;
  font-size: 28px;
  line-height: 1.6;
  letter-spacing: 0.84px;
  color: #ffffff;
}
@media screen and (max-width: 900px) {
  .case-detail__gallery-tag {
    font-size: 20px;
    letter-spacing: 0.6px;
    justify-content: center;
  }
}

.case-detail__gallery-tag--before {
  background: #d3dce4;
  color: #111111;
}

.case-detail__gallery-item {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
  row-gap: 12px;
  -moz-column-gap: 40px;
       column-gap: 40px;
}
@media screen and (max-width: 1060px) {
  .case-detail__gallery-item {
    -moz-column-gap: 20px;
         column-gap: 20px;
  }
}
@media screen and (max-width: 900px) {
  .case-detail__gallery-item {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 768px) {
  .case-detail__gallery-item {
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 8px;
  }
}

.case-detail__gallery-item img {
  width: 100%;
  height: auto;
  aspect-ratio: 368/230;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}

.case-detail__buttons {
  display: flex;
  flex-direction: column;
  margin-top: 120px;
  gap: 40px;
}
@media screen and (max-width: 900px) {
  .case-detail__buttons {
    margin-top: 74px;
    gap: 24px;
  }
}

@media screen and (max-width: 900px) {
  .case-detail__buttons .btn--primary span {
    margin-left: -9px;
  }
}

.case-detail__buttons .btn--back-list,
.btn--to-top {
  display: flex;
  justify-content: center;
}
@media screen and (max-width: 900px) {
  .case-detail__buttons .btn--back-list,
  .btn--to-top {
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 0 24px;
  }
}

@media screen and (max-width: 900px) {
  .case-detail__buttons .btn--home-back {
    width: 100% !important;
  }
  .case-detail__buttons .btn--home-back span {
    margin-left: -9px;
  }
}

.contact {
  padding-block: 120px 170px;
}
@media screen and (max-width: 900px) {
  .contact {
    padding-block: 32px 40px;
  }
}

.contact__inner {
  max-width: 836px;
  width: 100%;
  padding-inline: 30px;
}
@media screen and (max-width: 900px) {
  .contact__inner {
    padding-block: 32px 42px;
    max-width: none;
    padding-inline: 20px;
  }
}

.contact__intro {
  margin-inline: auto;
}

.contact__lead {
  max-width: 410px;
  margin-inline: auto;
  font-size: 16px;
  font-weight: 400;
  line-height: 170%; /* 27.2px */
}
@media screen and (max-width: 900px) {
  .contact__lead {
    font-size: 13px;
  }
}

.contact__cta {
  margin-top: 56px;
  padding-block: 20px 13px;
  padding-inline: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  border-radius: 5px;
  background: #f0f3f6;
}
@media screen and (max-width: 900px) {
  .contact__cta {
    margin-top: 36px;
    max-width: 500px;
    width: 100%;
    margin-inline: auto;
    gap: 28px;
    padding-block: 40px;
    padding-inline: 24px;
  }
}

.contact__cta-title {
  font-size: 24px;
  font-weight: 500;
  line-height: 170%; /* 40.8px */
}
@media screen and (max-width: 900px) {
  .contact__cta-title {
    font-size: 15px;
    font-weight: 700;
    text-align: center;
  }
}

.contact__cta-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 71px;
  justify-items: stretch;
  align-items: center;
  padding-inline: 40px;
}
@media screen and (max-width: 900px) {
  .contact__cta-body {
    grid-template-columns: 1fr;
    max-width: 287px;
    width: 100%;
    padding-inline: 0;
    gap: 28px;
  }
}

.contact__cta-tel {
  width: 100%;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.contact__tel-text {
  width: 100%;
  font-size: 18px;
  font-weight: 400;
  line-height: 170%; /* 30.6px */
}
@media screen and (max-width: 900px) {
  .contact__tel-text {
    font-size: 14px;
    font-weight: 700;
  }
}

.contact__tel-link {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-left: 5px;
  padding-top: 8px;
}
.contact__tel-link svg {
  width: 20px;
  height: 20px;
}
@media screen and (max-width: 900px) {
  .contact__tel-link {
    padding-top: 4px;
  }
}

.contact__tel-num {
  color: #111;
  font-family: "Inter", Courgette, cursive;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 1.3px;
}

.contact__tel-time {
  width: 100%;
  text-align: center;
  font-size: 13px;
  font-weight: 400;
  border-radius: 10px;
  background: #fff;
  line-height: 1.7;
}

.contact__cta-actions {
  margin-inline-start: 33px;
}
@media screen and (max-width: 900px) {
  .contact__cta-actions {
    margin-inline-start: 0;
  }
}

.contact__cta-actions .btn.btn--green {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 19px 10px 16px 20px;
}
@media screen and (max-width: 900px) {
  .contact__cta-actions .btn.btn--green {
    padding-block: 18px;
  }
}

.contact__form {
  margin-top: 63px;
  display: flex;
  flex-direction: column;
}
@media screen and (max-width: 900px) {
  .contact__form {
    margin-top: 27px;
  }
}

.form {
  display: flex;
  flex-direction: column;
  gap: 34px;
  align-items: center;
  justify-content: center;
}
@media screen and (max-width: 900px) {
  .form {
    gap: 21px;
  }
}

.form__fields {
  display: flex;
  flex-direction: column;
  gap: 41px;
  width: 100%;
}
@media screen and (max-width: 900px) {
  .form__fields {
    gap: 9px;
  }
}

.form-field {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 115px;
  margin-bottom: 0;
}
@media screen and (max-width: 900px) {
  .form-field {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 9px;
  }
}

.form-field:has(.validation-error) {
  margin-bottom: 25px;
}
@media screen and (max-width: 900px) {
  .form-field:has(.validation-error) {
    margin-bottom: 33px;
  }
}

.wpcf7 form .form-field__head {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  max-width: 190px;
  width: 100%;
  margin-top: 12px;
}
@media screen and (max-width: 900px) {
  .wpcf7 form .form-field__head {
    max-width: none;
    gap: 8px;
  }
}

.wpcf7 form .form-field__head > p {
  width: 266px;
  display: flex;
  gap: 11px;
  align-items: center;
}
@media screen and (max-width: 900px) {
  .wpcf7 form .form-field__head > p {
    font-size: 14px;
  }
}

.form-field__label {
  font-size: 18px;
  font-weight: 400;
  line-height: 170%; /* 30.6px */
}
@media screen and (max-width: 900px) {
  .form-field__label {
    font-size: 14px;
  }
}

.form-field__tag {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 170%; /* 25.5px */
  padding-inline: 8px;
  border-radius: 5px;
  background: #f63738;
}
@media screen and (max-width: 900px) {
  .form-field__tag {
    font-size: 13px;
  }
}

.form-field__item {
  flex-grow: 1;
}
@media screen and (max-width: 900px) {
  .form-field__item {
    width: 100%;
  }
}

.form-field__item input {
  padding-block: 12px;
  padding-inline: 24px 26px;
  color: #111;
  font-size: 18px;
  font-weight: 400;
  line-height: 170%;
  background: #fff;
  border-radius: 5px;
  border: 1px solid #111;
}

.wpcf7 .form-text::-moz-placeholder, .wpcf7 .form-textarea::-moz-placeholder {
  color: #a6aaae;
  font-size: 18px;
  font-weight: 400;
  line-height: 170%; /* 30.6px */
}

.wpcf7 .form-text::placeholder,
.wpcf7 .form-textarea::placeholder {
  color: #a6aaae;
  font-size: 18px;
  font-weight: 400;
  line-height: 170%; /* 30.6px */
}

.wpcf7 .form-field__item .form-select {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding-block: 12px;
  padding-inline: 26px;
  color: #111;
  font-size: 18px;
  font-weight: 400;
  line-height: 170%;
  border-radius: 5px;
  border: 1px solid #111;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  cursor: pointer;
  background: url(../img/arrow_black.png) no-repeat right 19px center/16px 16px, linear-gradient(#000, #000) no-repeat right 55px center/1px 100%, linear-gradient(to left, #f0f3f6 55px, #fff 55px);
  transition: background 0.3s ease;
}
@media screen and (max-width: 900px) {
  .wpcf7 .form-field__item .form-select {
    padding-inline: 24px;
    background: url(../img/arrow_black.png) no-repeat right 19px center/16px 16px, linear-gradient(#000, #000) no-repeat right 52px center/1px 100%, linear-gradient(to left, #f0f3f6 52px, #fff 52px);
  }
}

.wpcf7 .form-field__item .form-select:focus {
  background: url(../img/arrow_white.png) no-repeat right 19px center/16px 16px, linear-gradient(#000, #000) no-repeat right 55px center/1px 100%, linear-gradient(to left, #5e8199 55px, #fff 55px);
}
@media screen and (max-width: 900px) {
  .wpcf7 .form-field__item .form-select:focus {
    background: url(../img/arrow_white.png) no-repeat right 19px center/16px 16px, linear-gradient(#000, #000) no-repeat right 52px center/1px 100%, linear-gradient(to left, #5e8199 52px, #fff 52px);
  }
}

.wpcf7 .form-field__item,
.wpcf7 .wpcf7-form-control-wrap {
  position: relative;
}

.validation-error {
  position: absolute;
  left: 0;
  bottom: -25px;
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  color: #f63738;
  width: 470px;
}
@media screen and (max-width: 900px) {
  .validation-error {
    width: 335px;
  }
}
@-moz-document url-prefix() {
  .validation-error {
    bottom: auto;
  }
}

.form-field:has(.wpcf7-not-valid-tip:not([aria-hidden=true])) {
  margin-bottom: 25px;
}

/* 送信ボタン */
.contact__submit-wrapper {
  margin-top: 37px;
  text-align: center;
}
@media screen and (max-width: 900px) {
  .contact__submit-wrapper {
    margin-top: 22px;
    max-width: 287px;
    width: 100%;
    margin-inline: auto;
  }
}

.custom-submit-btn {
  padding: 16px 20px 16px 66px;
  width: 211px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-radius: 10px;
  border: 2px solid transparent;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
  color: #fff;
  cursor: pointer;
  transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease;
  background: linear-gradient(100deg, #f63738 2.09%, #ff5533 97.97%);
}
.custom-submit-btn > * {
  position: relative;
  z-index: 1;
}
.custom-submit-btn svg {
  fill: currentColor;
  width: 16px;
  flex-shrink: 0;
}
.custom-submit-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 8px;
  background: #fff;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 0;
}
.custom-submit-btn:hover {
  color: #f63738;
  border-color: #f63738;
}
.custom-submit-btn:hover::before {
  opacity: 1;
}
.custom-submit-btn:disabled {
  background: #d3d3d3;
  color: #888;
  cursor: not-allowed;
  border-color: transparent;
}
.custom-submit-btn:disabled::before {
  display: none;
}
@media screen and (max-width: 900px) {
  .custom-submit-btn {
    width: 100%;
    position: relative;
    justify-content: center;
    padding: 16px 56px;
  }
  .custom-submit-btn svg {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
  }
}

/* Contact Form 7 のデフォルト送信ボタン非表示 */
.wpcf7-form .wpcf7-submit {
  display: none;
}

/* テキスト / メール / TEL / セレクト / テキストエリア */
.form-field__item .form-text,
.form-field__item .form-select,
.form-field__item .form-textarea {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding-block: 12px;
  padding-inline: 26px;
  color: #111;
  font-size: 18px;
  font-weight: 400;
  line-height: 170%;
  background: #fff;
  border-radius: 5px;
  border: 1px solid #111;
  transition: background 0.3s ease;
}

.form-field--flex-start {
  align-items: flex-start;
}

/* 現地調査の並び */
.form-field__checkbox-list .wpcf7-checkbox {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 40px;
}
@media screen and (max-width: 900px) {
  .form-field__checkbox-list .wpcf7-checkbox {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 8px;
  }
}

.form-field--checkbox {
  align-items: flex-start;
}
.form-field--checkbox .form-field__label {
  margin-top: 3px;
}

#your-message {
  height: 283px;
  box-sizing: border-box;
  resize: vertical;
}

/* wpcf7-list-item を相対位置に */
.wpcf7 span.wpcf7-list-item {
  position: relative;
  display: inline-block;
}

/* 元のチェックボックスを非表示（クリック可能な状態で維持） */
.wpcf7 input[type=checkbox] {
  position: absolute;
  opacity: 0;
  width: 24px;
  height: 24px;
  top: 50%;
  left: -16px;
  transform: translateY(-50%);
  cursor: pointer;
  z-index: 2;
  margin: 0;
}

/* チェックボックスのラベル */
.wpcf7 input[type=checkbox] + span.wpcf7-list-item-label {
  position: relative;
  padding-left: 14px;
  line-height: 1.7;
  cursor: pointer;
  display: inline-block;
}
@media screen and (max-width: 900px) {
  .wpcf7 input[type=checkbox] + span.wpcf7-list-item-label {
    padding-left: 16px;
  }
}

/* チェックボックス本体 */
.wpcf7 input[type=checkbox] + span.wpcf7-list-item-label::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -16px;
  width: 24px;
  height: 24px;
  transform: translateY(-50%);
  border: 1px solid #111;
  background: #fff;
}

/* チェック時の背景 */
.wpcf7 input[type=checkbox]:checked + span.wpcf7-list-item-label::before {
  background: #000;
  border-color: #000;
}

/* チェックマーク */
.wpcf7 input[type=checkbox] + span.wpcf7-list-item-label::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -12px;
  width: 16px;
  height: 12px;
  transform: translateY(-50%);
  background: url(../img/deco_check-mark.png) no-repeat center/contain;
  opacity: 0;
}

/* チェック時にチェックマーク表示 */
.wpcf7 input[type=checkbox]:checked + span.wpcf7-list-item-label::after {
  opacity: 1;
}

.form__privacy span.wpcf7-list-item {
  margin: 0 !important;
}

@media screen and (max-width: 900px) {
  .wpcf7 .form__privacy label > input[type=checkbox] + span.wpcf7-list-item-label {
    font-size: 14px;
    padding-left: 5px;
  }
}
.wpcf7 .form__privacy label > input[type=checkbox] + span.wpcf7-list-item-label::before {
  left: -27px !important;
}
.wpcf7 .form__privacy label > input[type=checkbox] + span.wpcf7-list-item-label::after {
  left: -23px !important;
}

.form__privacy .wpcf7-list-item-label a {
  text-decoration: underline;
  text-underline-offset: 2px;
  color: inherit;
}

/* ラベル内のリンクをクリック可能に */
.wpcf7-list-item-label a {
  position: relative;
  z-index: 2;
  pointer-events: auto;
}

.wpcf7-form.sent {
  display: none !important;
}

.wpcf7-response-output {
  display: none !important;
}

.wpcf7-not-valid-tip {
  display: none !important;
}

.wpcf7-spinner {
  display: none !important;
}

/* 共通：フォーカス時の見た目を統一 */
.wpcf7 .form-field__item .form-text:focus,
.wpcf7 .form-field__item .form-textarea:focus,
.wpcf7 .form-field__item .form-select:focus {
  border-radius: var(--radius-frame, 5px);
  border: 1px solid var(--text-black, #111);
  background-color: var(--bkgr-gray, #f0f3f6);
  outline: none;
  -webkit-box-shadow: none;
          box-shadow: none;
}

.contact .page-return {
  margin-top: 117px;
}
@media screen and (max-width: 900px) {
  .contact .page-return {
    margin-top: 71px;
    width: 100%;
    max-width: 287px;
    margin-inline: auto;
  }
  .contact .page-return span {
    margin-left: -14px;
  }
}

.thanks {
  padding-block: 120px 329px;
  position: relative;
}
@media screen and (max-width: 900px) {
  .thanks {
    padding-block: 63px 194px;
  }
}

.thanks__inner {
  max-width: 632px;
  width: 100%;
  padding-inline: 30px;
}
@media screen and (max-width: 900px) {
  .thanks__inner {
    padding-inline: 20px;
  }
}

.thanks__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-block: 40px 70px;
  gap: 12px;
  border-radius: 10px;
  background: #f0f3f6;
}
@media screen and (max-width: 900px) {
  .thanks__card {
    padding-block: 28px 60px;
    padding-inline: 19px;
  }
}

.thanks__badge {
  display: inline-block;
  color: #fff;
  font-family: "Inter", Courgette, cursive;
  font-size: 24px;
  font-weight: 500;
  line-height: 100%; /* 24px */
  padding: 2px 20px;
  border-radius: 10px;
  background: linear-gradient(100deg, #f63738 2.09%, #f53 97.97%);
}
@media screen and (max-width: 900px) {
  .thanks__badge {
    font-size: 18px;
  }
}

.thanks__text {
  font-size: 16px;
  font-weight: 400;
  line-height: 170%; /* 27.2px */
}
@media screen and (max-width: 900px) {
  .thanks__text {
    font-size: 13px;
  }
}

.thanks__return {
  position: absolute;
  top: 322px;
  left: 50%;
  transform: translateX(-50%);
}
@media screen and (max-width: 900px) {
  .thanks__return {
    top: 205px;
  }
  .thanks__return .btn--home-back span {
    margin-left: -20px;
  }
  .thanks__return .btn--home-back svg {
    right: 25px;
  }
}

.thanks__figure {
  position: relative;
  width: 200px;
  height: 166px;
  left: 50%;
  transform: translateX(-50%);
  overflow: hidden;
}
@media screen and (max-width: 900px) {
  .thanks__figure {
    width: 140px;
    height: 116px;
  }
}

.thanks__img {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: top center;
     object-position: top center;
  opacity: 0;
  animation-duration: 4s;
  animation-timing-function: steps(1, end);
  animation-iteration-count: infinite;
  animation-fill-mode: both;
}
.thanks__img:first-child {
  height: 166px;
  aspect-ratio: 100/83;
  animation-name: swapA;
}
@media screen and (max-width: 900px) {
  .thanks__img:first-child {
    width: 140px;
    height: 116px;
    aspect-ratio: 35/29;
  }
}
.thanks__img:last-child {
  height: 131px;
  aspect-ratio: 200/131;
  top: 36px;
  animation-name: swapB;
}
@media screen and (max-width: 900px) {
  .thanks__img:last-child {
    width: 140px;
    height: 92px;
    aspect-ratio: 35/23;
  }
}

@keyframes swapA {
  0%, 49.99% {
    opacity: 1;
  }
  50%, 100% {
    opacity: 0;
  }
}
@keyframes swapB {
  0%, 49.99% {
    opacity: 0;
  }
  50%, 100% {
    opacity: 1;
  }
}
.notfound {
  padding-block: 120px 170px;
}
@media screen and (max-width: 900px) {
  .notfound {
    padding-block: 64px 84px;
  }
}

.notfound__inner {
  max-width: 632px;
  width: 100%;
  padding-inline: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
}
@media screen and (max-width: 900px) {
  .notfound__inner {
    padding-inline: 20px;
    gap: 36px;
  }
}

.notfound__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 24px;
  gap: 12px;
  border-radius: 10px;
  background: #f0f3f6;
  width: 100%;
}
@media screen and (max-width: 900px) {
  .notfound__card {
    padding: 28px 24px;
    gap: 8px;
    border-radius: 7px;
  }
}

.notfound__badge {
  display: inline-block;
  color: #fff;
  font-family: "Inter", Courgette, cursive;
  font-size: 24px;
  font-weight: 500;
  line-height: 100%;
  padding: 2px 20px;
  border-radius: 10px;
  background: linear-gradient(100deg, #f63738 2.09%, #f53 97.97%);
}
@media screen and (max-width: 900px) {
  .notfound__badge {
    font-size: 18px;
    border-radius: 7px;
  }
}

.notfound__text {
  font-size: 16px;
  font-weight: 400;
  line-height: 170%;
}
@media screen and (max-width: 900px) {
  .notfound__text {
    font-size: 13px;
  }
}

.notfound__picture {
  width: 100%;
}

.notfound__picture-container {
  background: #fff;
  border: 1px solid #e2e5e8;
  padding: 20px 4px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  max-width: 368px;
  margin: 0 auto;
  overflow: hidden;
}
@media screen and (max-width: 900px) {
  .notfound__picture-container {
    padding: 14px 4px;
    gap: 14px;
  }
}

.notfound__img {
  width: 100%;
  height: auto;
  display: block;
}
@media screen and (max-width: 900px) {
  .notfound__img {
    height: 207px;
    -o-object-fit: cover;
       object-fit: cover;
    -o-object-position: center;
       object-position: center;
  }
}

.notfound__caption {
  font-size: 16px;
  font-weight: 400;
  line-height: 170%;
  padding: 0 16px;
}
@media screen and (max-width: 900px) {
  .notfound__caption {
    font-size: 13px;
    padding: 0 12px;
  }
}

.notfound__return {
  width: 100%;
  display: flex;
  justify-content: center;
}
@media screen and (max-width: 900px) {
  .notfound__return {
    padding-inline: 24px;
  }
  .notfound__return .return-to-home {
    margin-top: 32px;
  }
  .notfound__return .btn--home-back span {
    margin-left: -20px;
  }
}

.privacy-policy {
  padding-block: 120px 165px;
}
@media screen and (max-width: 900px) {
  .privacy-policy {
    padding-block: 64px 84px;
  }
}

.privacy-policy__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 120px;
}
@media screen and (max-width: 900px) {
  .privacy-policy__content {
    gap: 20px;
    margin-bottom: 74px;
  }
}

.privacy-policy__intro {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.privacy-policy__section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.privacy-policy__heading {
  color: #111111;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.7;
  margin: 0;
}
@media screen and (max-width: 900px) {
  .privacy-policy__heading {
    font-size: 18px;
  }
}

.privacy-policy__number {
  margin-right: 8px;
}

.privacy-policy__title {
  font-weight: 700;
}

.privacy-policy__text {
  color: #111111;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  margin: 0;
}
@media screen and (max-width: 900px) {
  .privacy-policy__text {
    font-size: 13px;
  }
}

.privacy-policy__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.privacy-policy__list li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 4px;
}

.privacy-policy__list li::before {
  content: "・";
  position: absolute;
  left: 0;
  top: 0;
}

.privacy-policy__contact {
  margin-top: 16px;
}

.privacy-policy__contact p {
  margin: 0 0 4px 0;
}

.privacy-policy__return {
  display: flex;
  justify-content: center;
  align-items: center;
}
@media screen and (max-width: 900px) {
  .privacy-policy__return {
    padding: 0 24px;
  }
}

.grecaptcha-badge {
  display: none !important;
}

body.is-page-contact .grecaptcha-badge {
  display: block !important;
  z-index: 1000002 !important;
}
@media screen and (max-width: 900px) {
  body.is-page-contact .grecaptcha-badge {
    bottom: 80px !important;
  }
}

.maintenance {
  overflow-x: hidden;
  padding-block: 100px 170px;
}

.maintenance__inner {
  max-width: 800px;
  width: 100%;
  margin-inline: auto;
}

.maintenance__logo {
  max-width: 225px;
  width: 100%;
  margin-inline: auto;
}
.maintenance__logo img {
  width: 100%;
}

.maintenance__content {
  margin-top: 70px;
}
.maintenance__content h1 {
  font-family: "Inter", Courgette, cursive;
  font-size: 52px;
  font-weight: 700;
  text-align: center;
}
@media screen and (max-width: 900px) {
  .maintenance__content h1 {
    font-size: 34px;
  }
}
.maintenance__content p {
  font-size: 24px;
  font-weight: 500;
  line-height: 160%;
  text-align: center;
  margin-block: 30px;
}
@media screen and (max-width: 900px) {
  .maintenance__content p {
    font-size: 17px;
    margin-block: 20px;
  }
}

.maintenance__img {
  width: 100%;
  height: 280px;
  overflow: hidden;
}
.maintenance__img img {
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
  height: 100%;
  display: block;
}

.maintenance__greeting {
  width: 100vw;
  margin-inline: calc(50% - 50vw);
}

.maintenance__contact {
  display: flex;
  flex-direction: column;
}
.maintenance__contact a.tel {
  text-decoration: none;
  border-bottom: none;
}
.maintenance__contact a.tel span {
  color: #111;
  font-family: "Inter", Courgette, cursive;
  font-size: 28px;
  font-weight: 700;
  line-height: 160%; /* 44.8px */
}
.maintenance__contact .time {
  font-size: 13px;
  font-weight: 400;
  line-height: 170%; /* 22.1px */
  border-radius: 10px;
  background: #f0f3f6;
  text-align: center;
}

@media screen and (max-width: 900px) {
  .maintenance__line {
    width: 100%;
  }
}

.maintenance__schedule {
  margin-top: 55px !important;
}

.maintenance__actions {
  display: flex;
  justify-content: center;
  margin-top: 40px;
  align-items: center;
  gap: 20px;
}
@media screen and (max-width: 900px) {
  .maintenance__actions {
    flex-direction: column;
    max-width: 245px;
    width: 100%;
    margin-inline: auto;
  }
}

@media screen and (max-width: 900px) {
  .maintenance__button {
    width: 100%;
  }
}

.floating-contact {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000003;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease-out;
}

@media screen and (max-width: 900px) {
  .floating-contact {
    display: block;
  }
}
.floating-contact.is-visible {
  opacity: 1;
  transform: translateY(0);
  left: 0;
  bottom: 0;
}

.floating-contact__inner {
  display: flex;
  width: 100%;
}

.floating-contact__item {
  flex: 1 1 0;
  display: flex;
  justify-content: center;
}

.floating-contact__btn {
  flex: 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center; /* ← アイコン+テキストを中央に */
  gap: 8px;
  padding: 12px 16px;
  border-radius: 5px;
  border: 2px solid;
  min-height: 56px;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
  text-decoration: none;
  transition: all 0.2s ease;
}

.floating-contact__btn--phone {
  background-color: #f0f3f6;
  border-color: #202831;
  color: #222222;
  gap: 12px;
  padding: 16px 16px;
}

.floating-contact__btn--phone .floating-contact__icon {
  color: #222222;
}

.floating-contact__btn--line {
  background-color: #ffffff;
  border-color: #06c755;
  color: #06c755;
  gap: 15px;
}
.floating-contact__btn--line img {
  width: 40px;
  height: 40px;
}

.floating-contact__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.floating-contact__icon img {
  display: block;
}

.floating-contact__text {
  font-family: "Noto Sans JP", sans-serif;
  white-space: nowrap;
  text-align: center;
}

.fade-in-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1s, transform 1s;
}

.fade-in-up.is-in-view {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-down {
  opacity: 0;
  transform: translateY(-24px);
  transition: opacity 1s, transform 1s;
}

.fade-in-down.is-in-view {
  opacity: 1;
  transform: translateY(0);
}

.fade-in {
  opacity: 0;
  transition: opacity 1s;
}

.fade-in.is-in-view {
  opacity: 1;
}/*# sourceMappingURL=style.css.map */