@charset "utf-8";
:root {
  /* color */
  --white: #fff;
  --black: #000000;
  --blue-1: #028ee3;
  --blue-2: #39b1ff;
  --blue-3: #6dc5ff;
  --blue-4: #9cd8ff;
  --blue-light-1: #e2f4ff;
  --blue-light-2: #c7eaff;
  --gray-1: #c3c3c3;
  --gray-2: #d9d9d9;
  --gray-3: #f6f6f6;
  --gray-4: #e5e5e5;
  --gray-5: #5c5c5c;
  --gray-6: #f3f3f3;
  --yellow-1: #fbff06;
  --yellow-2: #ffc815;
  --red-1: #c1001a;

  /* font */
  --playfair: "Playfair Display", serif;

  /* gradient */
  --grad-1: linear-gradient(262.69deg, var(--blue-2) 3.69%, var(--blue-1) 101.22%);
  --grad-2: linear-gradient(90deg, var(--blue-3) 0%, var(--blue-1) 100%);
  --grad-3: linear-gradient(258.81deg, var(--blue-1) 0%, var(--blue-2) 100%);
  --grad-4: linear-gradient(89.02deg, var(--yellow-1) 0%, var(--yellow-2) 100%);
  /* content */
  --content-width-large: 1440px;
  --content-width-small: 1024px;

  /* padding */
  --content-padding: calc(clamp(0.875rem, -0.517rem + 4.22vw, 1.75rem));
}

html {
  font-size: 100%;
}

body {
  color: var(--black);
  font-family: "Noto Sans JP", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: initial;
  line-height: 1.2;
  letter-spacing: 10%;
  overflow-x: hidden;
}

a {
  display: block;
}

/* 共通パーツ
------------------------------------------------------- */
.section-title {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 23px;
  font-size: 2.875rem;
  font-family: var(--playfair);
  color: var(--blue-1);
  font-weight: 500;
}

.section-title__dot {
  content: "";
  display: block;
  width: 10px;
  aspect-ratio: 1/1;
  border: solid 1px var(--white);
  position: relative;
  display: grid;
  place-items: center;
}

.section-title__dot::after {
  content: "";
  display: block;
  width: 6px;
  aspect-ratio: 1/1;
  background-color: var(--white);
}

.section-title-ja {
  font-size: 0.75rem;
}

.section-title.white {
  color: var(--white);
}

.no-scroll {
  overflow: hidden;
  width: 100%;
}

.for-sp,
.for-tab {
  display: none;
}

.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s ease-out;
}

.fade-in--visible {
  opacity: 1;
  transform: translateY(0);
}

@media screen and (max-width: 860px) {
  .section-title {
    font-size: calc(clamp(1.75rem, -1.033rem + 8.43vw, 3.5rem));
    gap: calc(clamp(0.75rem, -0.443rem + 3.61vw, 1.5rem));
  }

  .section-title__ja {
    font-size: calc(clamp(1rem, 0.602rem + 1.2vw, 1.25rem));
  }
}

@media screen and (max-width: 528px) {
  .for-pc {
    display: none;
  }

  .for-tab {
    display: none;
  }

  .for-sp {
    display: block;
  }
}

/* --------------------------------------------------
loading
----------------------------------------------------- */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--white);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition:
    opacity 0.5s ease,
    visibility 0.5s ease;
}

.loader.loaded {
  opacity: 0;
  visibility: hidden;
}

.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.loader-logo {
  margin-bottom: 40px;
}

.loader-logo img {
  width: 185px;
  height: auto;
}

.loader-progress {
  width: 300px;
  height: 4px;
  background-color: var(--gray-2);
  border-radius: 2px;
  overflow: hidden;
}

.loader-bar {
  height: 100%;
  background-color: var(--blue-1);
  width: 0;
  transition: width 0.1s linear;
}

/* --------------------------------------------------
header
----------------------------------------------------- */
.header {
  color: var(--white);
  width: 100dvw;
  height: 130px;
  position: fixed;
  top: 0;
  z-index: 100;
  transition: all 0.4s ease-out;
}

.header.is-scrolled {
  background-color: var(--white);
  height: 100px;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
}

.header-inner {
  width: 100%;
  max-width: 2000px;
  height: 100%;
  padding-inline: var(--content-padding);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(max-content, auto) 1fr minmax(max-content, auto);
  gap: 30px;
  align-items: center;
}

.header__logo {
  position: relative;
  z-index: 50;
  margin-block: 0;
  padding-top: 20px;
}

.header__logo a {
  height: 90px;
  aspect-ratio: 167/90;
  width: auto;
}

.header__logo--scrolled {
  display: none;
}

.header.is-scrolled .header__logo img:first-of-type {
  display: none;
}

.header.is-scrolled .header__logo {
  padding-top: 0;
}

.header.is-scrolled .header__logo a {
  height: 70px;
}

.header.is-scrolled .header__logo--scrolled {
  display: block;
  width: 100%;
  height: 100%;
}

.header__nav-list {
  display: grid;
  grid-template-columns: auto auto auto;
  align-items: center;
  justify-content: end;
  gap: 50px;
  /* padding-top: 32px; */
}

.header__nav-item {
  position: relative;
}

.header__nav-link {
  color: var(--white);
  font-size: 1rem;
  transition: all 0.4s ease-out;
}

.header__nav-link:hover {
  color: var(--blue-1);
}

.header.is-scrolled .header__nav-link {
  color: var(--black);
}

.header.is-scrolled .header__nav-link:hover {
  color: var(--blue-1);
}

.header__nav-item.has-dropdown > .header__nav-link::after {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  border-right: 1px solid var(--white);
  border-bottom: 1px solid var(--white);
  transform: rotate(45deg);
  margin-left: 10px;
  margin-bottom: 5px;
}

.header.is-scrolled .header__nav-item.has-dropdown > .header__nav-link::after {
  border-color: var(--black);
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  padding-top: 20px;
  opacity: 0;
  visibility: hidden;
  transition: 0.4s all ease-out;
}

.header__nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
}

.dropdown-list {
  padding: 20px 24px 26px 39px;
  background-color: var(--white);
  border: solid 1px var(--blue-1);
  border-radius: 5px;
}

.dropdown-list__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  color: var(--black);
  font-size: 1rem;
  line-height: 3.25;
  transition: all 0.4s ease-out;
}

.dropdown-list__link:hover {
  color: var(--blue-1);
}

.dropdown-list__link:hover .dropdown-list-arrow {
  translate: 5px 0;
}

.dropdown-list-arrow {
  display: block;
  content: "";
  width: 46px;
  height: 1px;
  background-color: var(--blue-1);
  position: relative;
  transition: all 0.4s ease-out;
}

.dropdown-list-arrow::before {
  position: absolute;
  right: -1px;
  bottom: 3px;
  rotate: 45deg;
  content: "";
  width: 10px;
  height: 1px;
  background-color: var(--blue-1);
}

.header__btn {
  width: 168px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 19px;
  background: var(--grad-1);
  color: var(--white);
  border-radius: 4px;
  text-decoration: none;
  font-size: 1rem;
  position: relative;
  z-index: 50;
  transition: all 0.4s ease-out;
}

.header__btn:hover {
  background: var(--white);
  border: solid 1px var(--blue-1);
  color: var(--blue-1);
}

.header__btn-icon {
  width: 16px;
  height: 16px;
  background-image: url("../img/email-white-logo.webp");
  background-size: contain;
  background-repeat: no-repeat;
  transition: all 0.4s ease-out;
}

.header__btn:hover .header__btn-icon {
  background-image: url("../img/email-blue-logo.webp");
}

.burger {
  display: none;
}

@media screen and (max-width: 860px) {
  .header {
    height: 120px;
  }

  .header__inner {
    padding-inline: calc(clamp(0.438rem, -0.258rem + 2.11vw, 0.875rem));
    grid-template-columns: auto 1fr auto;
  }

  .header__btn {
    background: var(--white);
    color: var(--blue-1);
    width: 90px;
    height: auto;
    aspect-ratio: 1/1;
    margin-left: auto;
    border-radius: 5px;
    flex-direction: column;
    gap: calc(clamp(0.625rem, 0.426rem + 0.6vw, 0.75rem));
    font-size: calc(clamp(0.625rem, 0.426rem + 0.6vw, 0.75rem));
  }

  .header.is-scrolled .header__btn {
    border: solid 1px var(--blue-1);
  }

  .header__btn-icon {
    background-image: url(../img/email-blue-logo.webp);
    width: calc(clamp(0.875rem, -0.517rem + 4.22vw, 1.75rem));
    height: auto;
    aspect-ratio: 1/1;
  }

  .burger {
    width: 90px;
    aspect-ratio: 1/1;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 13px;
    z-index: 99;
    background: var(--grad-1);
    color: var(--white);
    border-radius: 5px;
    transition: all 0.4s ease-out;
  }

  .burger__line {
    display: block;
    width: 50px;
    height: 1px;
    background-color: var(--white);
    transition: all 0.4s ease-out;
  }

  .is-active .burger {
    align-items: center;
  }

  .is-active .burger__line:nth-of-type(1) {
    transform: translateY(15px) rotate(45deg);
  }

  .is-active .burger__line:nth-of-type(2) {
    opacity: 0;
  }

  .is-active .burger__line:nth-of-type(3) {
    transform: translateY(-13px) rotate(-45deg);
  }

  .header__nav {
    background-color: var(--blue-1);
    position: fixed;
    top: 0;
    left: 0;
    display: grid;
    align-items: start;
    width: 100%;
    height: 100svh;
    padding-top: 156px;
    padding-inline: 67px;
    translate: 100% 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s;
  }

  .header__nav-list {
    grid-template-columns: 1fr;
    justify-content: space-between;
    gap: 60px;
  }

  .header__nav-item.has-dropdown > .header__nav-link::after {
    display: none;
  }

  .dropdown {
    position: relative;
    left: initial;
    top: initial;
    opacity: 1;
    visibility: visible;
    transform: initial;
  }

  .dropdown-list {
    padding: 0;
    background-color: transparent;
  }

  .dropdown-list__link {
    font-size: calc(clamp(0.875rem, -0.119rem + 3.01vw, 1.5rem));
    color: var(--white);
    padding-left: 2em;
  }

  .dropdown-list__link:hover {
    color: var(--white);
  }

  .dropdown-list-arrow {
    background-color: var(--white);
  }

  .dropdown-list-arrow::before {
    background-color: var(--white);
  }

  .header__nav-link {
    font-size: calc(clamp(1rem, -0.59rem + 4.82vw, 2rem));
  }

  .header.is-scrolled .header__nav-link {
    color: var(--white);
  }

  .header__nav-link:hover {
    color: var(--white);
    opacity: 0.6;
  }

  .is-active .header__nav {
    visibility: visible;
    opacity: 1;
    translate: 0 0;
    overflow: auto;
  }
}

@media screen and (max-width: 528px) {
  .header {
    height: 70px;
  }

  .header-inner {
    padding-block: 7px;
    gap: 12px;
  }

  .header__logo {
    padding-top: 10px;
  }

  .header__logo a {
    height: 60px;
  }

  .header__btn {
    width: 50px;
    gap: 6px;
  }

  .header__nav {
    padding-top: 116px;
    padding-inline: 14px;
    gap: 78px 0;
  }

  .header__nav-list {
    gap: 40px;
  }

  .burger {
    width: 50px;
    gap: 7px;
  }

  .burger__line {
    width: 30px;
  }

  .is-active .burger__line:nth-of-type(1) {
    transform: translateY(9px) rotate(45deg);
  }

  .is-active .burger__line:nth-of-type(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

/* ----------------------------------------------------------
 MV
----------------------------------------------------------*/
.mv {
  position: relative;
  height: 800px;
  z-index: 2;
  container-type: inline-size;
}

.mv-inner {
  position: relative;
  height: 100%;
}

.mv-visual {
  display: flex;
  height: 100%;
}

.mv-visual-left,
.mv-visual-right {
  width: 60%;
  height: calc(100% - 42px);
}

.mv-visual-left {
  clip-path: polygon(0 0, 100% 0, 75% 100%, 0% 100%);
  height: 100%;
}

.mv-visual-right {
  width: 70%;
  margin-left: -20%;
}

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

.mv-content {
  position: absolute;
  bottom: 53px;
  left: 10%;
  width: max-content;
  z-index: 10;
}

.mv-copy {
  max-width: 100%;
}

.mv-copy-line {
  display: inline-block;
  clip-path: polygon(30px 0%, 100% 0%, calc(100% - 30px) 100%, 0% 100%);
  background: var(--grad-2);
  color: var(--white);
  padding-inline: 36px 12px;
  font-size: 2.875rem;
  font-weight: 600;
  margin-bottom: 18px;
  line-height: calc(66 / 46);
  letter-spacing: 0.4em;
}

.circleText {
  position: absolute;
  right: 5%;
  bottom: -50px;
  width: 240px;
  overflow: visible;
  animation: rotation 30s linear infinite;
}

.circleText__text {
  fill: var(--blue-1);
  font-family: var(--playfair);
  font-size: 0.4rem;
  font-weight: 600;
  text-transform: uppercase;
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@media screen and (max-width: 860px) {
  .mv {
    height: calc(clamp(28.125rem, -16.604rem + 135.54vw, 56.25rem));
  }

  .mv-visual {
    flex-direction: column;
  }

  .mv-visual-left,
  .mv-visual-right {
    width: 100%;
    height: 50%;
  }

  .mv-visual-left {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 75%);
    height: 60%;
  }

  .mv-visual-right {
    height: 60%;
    --mv-height: calc(clamp(28.125rem, -16.604rem + 135.54vw, 56.25rem));
    margin-left: initial;
    margin-top: calc(var(--mv-height) * 0.2 * (-1));
  }

  .mv-content {
    left: 0;
    right: 0;
    top: 40%;
    bottom: initial;
    margin-inline: auto;
  }

  .mv-copy-line {
    font-size: calc(clamp(1.625rem, -0.959rem + 7.83vw, 3.25rem));
    letter-spacing: 0.4em;
    padding-block: 3px;
    padding-inline: calc(clamp(1.125rem, -0.664rem + 5.42vw, 2.25rem)) calc(clamp(0.375rem, -0.221rem + 1.81vw, 0.75rem));
    clip-path: polygon(20px 0%, 100% 0%, calc(100% - 20px) 100%, 0% 100%);
  }

  .circleText {
    bottom: -50px;
    width: calc(clamp(5.625rem, 1.633rem + 17.89vw, 11.25rem));
  }
}

/* ----------------------------------------------------------
 SERVICE
----------------------------------------------------------*/
.service {
  margin-top: -42px;
  position: relative;
  z-index: 1;
  background-color: var(--white);
  container-type: inline-size;
}

.service-visual-bg {
  position: absolute;
  width: 60%;
  height: 100%;
  background-color: var(--blue-1);
  clip-path: polygon(0 0, 100% 0, 75% 100%, 0 100%);
  translate: -20% 0;
  z-index: -1;
}

.service-inner {
  max-width: 1187px;
  padding-inline: var(--content-padding);
  margin-inline: auto;
  padding-block: 143px 80px;
}

.service-content {
  display: grid;
  grid-template-columns: 512px 1fr;
  align-items: flex-start;
  gap: 80px;
}

.service-image-wrapper {
  height: 736px;
  position: relative;
  z-index: 2;
  box-shadow: -20px 20px 30px 0px #00000040;
}

.service-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-image.is-active {
  opacity: 1;
  z-index: 2;
}

.service-item {
  border-bottom: 1px solid var(--gray-2);
  transition: all 0.4s ease-out;
  position: relative;
}

.service-item::before {
  position: absolute;
  content: "";
  width: 14%;
  height: 100%;
  border-bottom: 1px solid var(--blue-1);
  transition: all 0.4s ease-out;
}

.service-item-content {
  padding: 38px 57px 27px 40px;
}

.service-item-title {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--black);
}

.service-item-text {
  font-size: 0.75rem;
  line-height: calc(20 / 12);
  font-weight: 400;
  margin-bottom: 16px;
  color: var(--black);
}

.service-more {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: max-content;
  margin-left: auto;
  gap: 20px;
  font-size: 1rem;
  color: var(--blue-1);
  font-weight: 500;
  font-family: var(--playfair);
}

.service-more__arrow {
  content: "";
  width: 46px;
  height: 1px;
  background-color: currentColor;
  position: relative;
  transition: all 0.4s ease-out;
}

.service-more__arrow::after {
  position: absolute;
  right: -1px;
  bottom: 3px;
  rotate: 45deg;
  content: "";
  width: 10px;
  height: 1.2px;
  background-color: currentColor;
}

.service-item.is-active {
  background-color: var(--blue-1);
  border-bottom-color: var(--blue-1);
}

.service-item.is-active .service-item-title,
.service-item.is-active .service-item-text,
.service-item.is-active .service-more {
  color: var(--white);
}

.service-more:hover .service-more__arrow {
  translate: 10px 0;
}

.service-item-sp-image {
  display: none;
}

@media screen and (max-width: 860px) {
  .service {
    margin-top: 0;
  }
}

@container (1187px <= width <= 1800px) {
  .service-inner {
    margin-left: calc((100vw - 1187px) * 0.75);
    margin-right: calc((100vw - 1187px) * 0.25);
  }
}

@container (width <= 1187px) {
  .service-content {
    grid-template-columns: 50% 1fr;
    gap: 5%;
  }
}

@container (width <= 860px) {
  .service .section-title {
    color: var(--blue-1);
  }

  .service .section-title__dot {
    border-color: var(--blue-1);
  }
  .service .section-title__dot::after {
    background-color: var(--blue-1);
  }

  .service-inner {
    padding-block: calc(clamp(1.938rem, -1.144rem + 9.34vw, 3.875rem)) calc(clamp(2.813rem, -1.66rem + 13.55vw, 5.625rem));
  }

  .service-visual {
    display: none;
  }

  .service-visual-bg {
    display: none;
  }

  .service-content {
    display: block;
  }

  .service-item {
    background-color: var(--white);
    margin-bottom: calc(clamp(1.5rem, -0.886rem + 7.23vw, 3rem));
    border: none;
  }

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

  .service-item.is-active {
    background-color: transparent;
    border: none;
  }

  .service-item.is-active .service-item-title,
  .service-item.is-active .service-item-text {
    color: inherit;
  }

  .service-item.is-active .service-more {
    color: var(--blue-1);
  }

  .service-item-content {
    padding: 0;
  }

  .service-item-sp-image {
    display: block;
    width: 100%;
    height: calc(clamp(21.875rem, 15.221rem + 29.82vw, 31.25rem));
    box-shadow: -20px 20px 30px 0px #00000040;
    margin-bottom: calc(clamp(1.5rem, 0.307rem + 3.61vw, 2.25rem));
  }

  .service-item-sp-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
  }

  .service-item-title {
    color: var(--black);
    font-size: calc(clamp(1.125rem, -0.664rem + 5.42vw, 2.25rem));
  }

  .service-item-text {
    font-size: calc(clamp(0.813rem, -0.48rem + 3.92vw, 1.625rem));
  }

  .service-more {
    font-size: calc(clamp(0.813rem, -0.48rem + 3.92vw, 1.625rem));
    color: var(--blue-1);
  }

  .service-more__arrow {
    background-color: var(--blue-1);
  }
}

/* ----------------------------------------------------------
 REASON
----------------------------------------------------------*/
.reason {
  background-color: var(--blue-1);
  color: var(--white);
  container-type: inline-size;
  padding-block: 200px 102px;
}

.reason .section-title {
  position: sticky;
  inset-block-start: 170px;
  z-index: 3;
  max-width: 1024px;
  margin-inline: auto;
  padding-inline: var(--content-padding);
}

.reason .section-title__dot::after {
  background-color: var(--blue-1);
  border: solid 1px var(--white);
}

.reason-item {
  max-width: 1187px;
  padding-inline: var(--content-padding);
  margin-inline: auto;
}

.reason-item {
  position: sticky;
  inset-block-start: 180px; /* タイトルとの重なりを防ぐ固定位置 */
  height: 750px; /* 各カードの固定高（スタッキングを発生させるために必要） */
  display: flex;
  align-items: flex-end; /* 要素最下部を基準に配置 */
  padding-bottom: 102px;
  background-color: var(--blue-1); /* 重なった際に下の要素を隠すための背景 */
  margin-bottom: 0;
}

.reason-item:nth-of-type(1) {
  z-index: 1;
}
.reason-item:nth-of-type(2) {
  z-index: 2;
}
.reason-item:nth-of-type(3) {
  z-index: 4;
}

.reason-item-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: repeat(3, auto);
  position: relative;
  gap: 0 50px;
}

.reason-item-content {
  padding-top: 55px;
}

.reason-num {
  display: inline-block;
  font-size: 1.625rem;
  font-family: var(--playfair);
  font-weight: 500;
  padding-bottom: 10px;
  border-bottom: solid 1px var(--white);
  margin-bottom: 20px;
}

.reason-item-title {
  font-size: 2.25rem;
  /* font-family: var(--playfair); */
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 27px;
}

.reason-item-text {
  font-size: 1.25rem;
  font-weight: 300;
  line-height: calc(36 / 20);
}

.reason-item-image {
  grid-column: 1/2;
  grid-row: 1/4;
  max-width: 500px;
  aspect-ratio: 1/1;
  position: relative;
}

.reason-item-image__main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
}

.reason-item-image__bg {
  max-width: 650px;
  aspect-ratio: 1/1;
  position: absolute;
  top: -50px;
  right: -500px;
  z-index: 0;
}

.reason-pagination {
  position: absolute;
  bottom: -60px;
  right: 0;
  font-size: 1.25rem;
  font-family: var(--playfair);
  font-weight: 500;
}

@media screen and (max-width: 860px) {
  .reason {
    padding-block: calc(clamp(2.75rem, -1.623rem + 13.25vw, 5.5rem)) 0;
  }

  .reason .section-title {
    position: initial;
  }

  .reason-item {
    position: initial;
    height: auto;
    padding-bottom: 0;
  }
}

@container (1187px <= width <= 1800px) {
  .reason-item {
    margin-left: calc((100vw - 1187px) * 0.75);
    margin-right: calc((100vw - 1187px) * 0.25);
  }
}

@container (width <= 1187px) {
  .reason-item-inner {
    grid-template-columns: 40% 1fr;
    align-items: center;
    gap: 0 5%;
    padding-bottom: calc(clamp(5.75rem, -3.395rem + 27.71vw, 11.5rem));
  }

  .reason-item-content {
    padding-top: 0;
  }

  .reason-item-image__bg {
    width: 120%;
    right: -80%;
    top: -10%;
  }
}

@container (width <= 860px) {
  .reason-item-inner {
    grid-template-columns: 1fr;
  }

  .reason-item-image {
    width: 80%;
    margin-bottom: calc(clamp(2.5rem, -1.476rem + 12.05vw, 5rem));
  }

  .reason-item-image__main-image {
    max-width: 100%;
  }

  .reason-item-image__bg {
    width: 100%;
    top: 15%;
    right: -15%;
  }

  .reason-num {
    font-size: calc(clamp(1.438rem, -0.849rem + 6.93vw, 2.875rem));
    margin-bottom: calc(clamp(0.75rem, -0.443rem + 3.61vw, 1.5rem));
  }

  .reason-item-title {
    font-size: calc(clamp(1.125rem, -0.664rem + 5.42vw, 2.25rem));
    margin-bottom: calc(clamp(0.875rem, -0.517rem + 4.22vw, 1.75rem));
  }

  .reason-item-text {
    font-size: calc(clamp(0.813rem, -0.48rem + 3.92vw, 1.625rem));
  }

  .reason-pagination {
    font-size: calc(clamp(1.125rem, -0.664rem + 5.42vw, 2.25rem));
    bottom: calc(clamp(1.313rem, -0.775rem + 6.33vw, 2.625rem));
  }
}

/* ----------------------------------------------------------
 greeting
----------------------------------------------------------*/
.greeting {
  padding-block: 82px;
  container-type: inline-size;
}

.greeting-inner {
  max-width: var(--content-width-small);
  margin-inline: auto;
  padding-inline: var(--content-padding);
}

.greeting .section-title__dot {
  border: solid 1px var(--blue-1);
}
.greeting .section-title__dot::after {
  background-color: var(--blue-1);
}

.greeting-visual {
  position: relative;
  height: 408px;
  margin-bottom: 40px;
}

.greeting-visual-image {
  position: absolute;
  right: 0;
  width: auto;
  height: 100%;
  object-fit: cover;
}

.greeting-overlay {
  width: 55%;
  height: 100%;
  background-color: var(--blue-1);
  clip-path: polygon(0 0, 80% 0, 100% 100%, 0% 100%);
  color: var(--white);
}

.greeting-overlay-content {
  position: relative;
  padding-left: 31px;
  height: 100%;
  display: flex;
  align-items: center;
}

.greeting-copy {
  font-size: 2.25rem;
  font-weight: 500;
  line-height: 1.5;
}

.greeting-author {
  display: grid;
  grid-template-columns: repeat(2, auto);
  align-items: center;
  gap: 20px;
  position: absolute;
  bottom: 30px;
  right: 30px;
}

.greeting-author__autograph {
  height: 36px;
  width: auto;
  object-fit: contain;
}

.greeting-text p {
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 2rem;
}

@media screen and (max-width: 860px) {
  .greeting {
    padding-block: calc(clamp(2.625rem, -1.55rem + 12.65vw, 5.25rem));
  }
}

@container (width <= 780px) {
  .greeting-visual {
    height: calc(clamp(32rem, -18.892rem + 154.22vw, 64rem));
    margin-bottom: calc(clamp(1.375rem, -0.812rem + 6.63vw, 2.75rem));
  }

  .greeting-visual-image {
    position: relative;
    width: 100%;
    height: 70%;
    top: 0;
  }

  .greeting-overlay {
    height: 45%;
    width: 100%;
    --greeting-visual-height: calc(clamp(32rem, -18.892rem + 154.22vw, 64rem));
    margin-top: calc(var(--greeting-visual-height) * 0.15 * (-1));
    clip-path: polygon(0 40%, 100% 0, 100% 100%, 0% 100%);
  }

  .greeting-overlay-content {
    padding-left: initial;
    justify-content: center;
    padding-top: 10%;
  }

  .greeting-copy {
    font-size: calc(clamp(1.75rem, -1.033rem + 8.43vw, 3.5rem));
  }

  .greeting-author {
    font-size: calc(clamp(0.625rem, -0.369rem + 3.01vw, 1.25rem));
    bottom: calc(clamp(0.938rem, -0.553rem + 4.52vw, 1.875rem));
    right: calc(clamp(0.938rem, -0.553rem + 4.52vw, 1.875rem));
  }

  .greeting-author__autograph {
    height: calc(clamp(1.125rem, -0.664rem + 5.42vw, 2.25rem));
  }

  .greeting-text {
    font-size: calc(clamp(0.813rem, -0.48rem + 3.92vw, 1.625rem));
    line-height: calc(36 / 26);
  }

  .greeting-text p {
    margin-bottom: 1em;
  }
}

/* ----------------------------------------------------------
 philosophy
----------------------------------------------------------*/
.philosophy-item {
  padding-block: 100px;
  position: relative;
}

.philosophy-inner {
  max-width: var(--content-width-small);
  margin-inline: auto;
  padding: var(--content-padding);
  position: relative;
}

.philosophy .section-title__dot {
  border-color: var(--blue-1);
}

.philosophy-item {
  position: sticky;
  inset-block-start: calc(100dvh - 800px);
  height: 600px;
}

.philosophy-item:nth-of-type(1) {
  z-index: 1;
}
.philosophy-item:nth-of-type(2) {
  z-index: 2;
}
.philosophy-item:nth-of-type(3) {
  z-index: 3;
}

.philosophy .section-title__dot::after {
  background-color: var(--blue-1);
}

.philosophy-item--white {
  background-color: var(--gray-3);
}

.philosophy-item--light-blue {
  background-color: var(--blue-light-1);
}

.philosophy-item--blue {
  background-color: var(--blue-light-2);
}

.philosophy-content {
  position: relative;
  margin-top: 40px;
}

.philosophy-copy {
  font-weight: 500;
  font-size: 2.375rem;
  line-height: 1.5;
}

.philosophy-list li {
  position: relative;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.9;
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 1.5em;
}

.philosophy-list li::before {
  content: "";
  display: block;
  transform: translateY(-50%);
  border-radius: 50%;
  width: 6px;
  aspect-ratio: 1/1;
  background-color: var(--blue-1);
}

.philosophy-number {
  position: absolute;
  bottom: -30px;
  right: 6px;
  font-size: 1.125rem;
  font-family: var(--playfair);
  font-weight: bold;
  color: var(--blue-1);
}

@media screen and (max-width: 860px) {
  .philosophy-item {
    padding-block: calc(clamp(3.125rem, -1.845rem + 15.06vw, 6.25rem)) 0;
    height: auto;
    position: initial;
  }

  .philosophy-inner {
    padding-bottom: calc(clamp(10rem, -5.904rem + 48.19vw, 20rem));
  }

  .philosophy-copy {
    font-size: calc(clamp(1.438rem, -0.849rem + 6.93vw, 2.875rem));
  }

  .philosophy-number {
    font-size: calc(clamp(1.125rem, -0.664rem + 5.42vw, 2.25rem));
    bottom: calc(clamp(0.938rem, -0.553rem + 4.52vw, 1.875rem));
    right: calc(clamp(0.938rem, -0.553rem + 4.52vw, 1.875rem));
  }

  .philosophy-list li {
    font-size: calc(clamp(1rem, -0.59rem + 4.82vw, 2rem));
  }
}

/* ----------------------------------------------------------
 company
----------------------------------------------------------*/
.company {
  padding-block: 60px 104px;
}

.company .section-title {
  margin-bottom: 32px;
}

.company .section-title__dot {
  border-color: var(--blue-1);
}
.company .section-title__dot::after {
  background-color: var(--blue-1);
}

.company-inner {
  max-width: var(--content-width-small);
  margin-inline: auto;
  padding-inline: var(--content-padding);
}

.company-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid var(--gray-2);
}

.company-table tr {
  display: grid;
  grid-template-columns: 170px 1fr;
}

.company-table th,
.company-table td {
  padding-block: 25px;
  border-top: 1px solid var(--gray-2);
  text-align: left;
  font-size: 1rem;
  font-weight: 400;
}

.company-map {
  width: 100%;
  height: 412px;
  background-color: #ddd;
  margin-top: 24px;
}

.company-map iframe {
  width: 100%;
  height: 100%;
}

.business-item {
  margin-bottom: 2em;
}

.business-item:last-child {
  margin-bottom: 0;
}

.business-item-title {
  font-weight: bold;
  line-height: 1.5;
}

.business-item-list li {
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 0.5em;
}

.business-item-list li::before {
  content: "";
  display: block;
  width: 3px;
  aspect-ratio: 1/1;
  background-color: currentColor;
  border-radius: 50%;
}

@media screen and (max-width: 860px) {
  .company {
    padding-block: calc(clamp(2.75rem, -1.623rem + 13.25vw, 5.5rem));
  }

  .company-table {
    border: none;
  }

  .company-table tr {
    grid-template-columns: 1fr;
  }

  .company-table th,
  .company-table td {
    border: none;
    padding: calc(clamp(1rem, -0.59rem + 4.82vw, 2rem)) calc(clamp(1.625rem, -0.959rem + 7.83vw, 3.25rem));
    font-size: calc(clamp(0.813rem, -0.48rem + 3.92vw, 1.625rem));
  }

  .company-table th {
    background-color: var(--gray-3);
  }

  .company-map {
    height: calc(clamp(12.875rem, -7.601rem + 62.05vw, 25.75rem));
  }
}

/* ----------------------------------------------------------
 Contact Banner
----------------------------------------------------------*/
.contact-form + .contact-banner {
  display: none;
}
.contact-banner {
  max-width: 1381px;
  margin-inline: auto;
  position: relative;
  container-type: inline-size;
}

.contact-banner-inner {
  height: 442px;
}

.contact-banner__image {
  position: absolute;
  top: 0;
  right: 0;
  width: auto;
  height: 100%;
  object-fit: cover;
  object-position: 30px;
}

.contact-banner-overlay {
  width: 68%;
  height: 100%;
  background: var(--grad-3);
  clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);
  display: grid;
  place-content: center;
  padding-inline: 10px 40px;
}

.contact-banner .section-title {
  font-size: 1.5rem;
}
.contact-banner .section-title__dot {
  border-color: var(--white);
}
.contact-banner .section-title__dot::after {
  background-color: var(--blue-1);
  border: solid 1px var(--white);
}

.contact-banner-copy {
  color: var(--white);
  margin-bottom: 24px;
}

.contact-banner-copy__line {
  display: inline-block;
  clip-path: polygon(30px 0%, 100% 0%, calc(100% - 30px) 100%, 0% 100%);
  background-color: var(--white);
  color: var(--blue-1);
  padding-inline: 36px 12px;
  font-size: calc(clamp(2rem, -0.213rem + 4.12vw, 2.875rem));
  font-weight: 600;
  margin-bottom: 23px;
  line-height: calc(66 / 46);
  letter-spacing: 0.4em;
}

.contact-banner-text {
  color: var(--white);
  font-weight: 500;
  font-size: calc(clamp(1rem, 0.684rem + 0.59vw, 1.125rem));
  line-height: 1.5;
}

.contact-banner__btn-wrap {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.contact-banner__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 61px;
  background: var(--grad-4);
  color: var(--blue-1);
  font-size: 1.25rem;
  font-weight: 500;
  width: 543px;
  height: 71px;
  border-radius: 5px;
  transition: all 0.4s ease-out;
}

.contact-banner__btn-icon {
  display: block;
  width: 16px;
  height: 16px;
  background-image: url("../img/email-blue-logo.webp");
  background-size: contain;
  background-repeat: no-repeat;
}

.contact-banner__btn:hover {
  background: var(--blue-1);
  color: var(--yellow-1);
}

.contact-banner__btn:hover .contact-banner__btn-icon {
  background-image: url("../img/email-white-logo.webp");
}

@container (width <= 860px) {
  .contact-banner-inner {
    height: calc(clamp(32rem, -18.892rem + 154.22vw, 64rem));
  }

  .contact-banner__image {
    top: initial;
    bottom: 0;
    width: 100%;
    height: 50%;
    object-position: right top;
  }

  .contact-banner-overlay {
    width: 100%;
    height: 70%;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 80%);
    place-content: initial;
    padding-top: calc(clamp(2.5rem, -1.476rem + 12.05vw, 5rem));
    padding-inline: var(--content-padding);
  }

  .contact-banner .section-title {
    display: none;
  }

  .contact-banner-copy {
    margin-bottom: 0;
  }

  .contact-banner-copy__line {
    font-size: calc(clamp(1.75rem, -1.033rem + 8.43vw, 3.5rem));
    letter-spacing: 0.2em;
    padding-inline: calc(clamp(1.125rem, -0.664rem + 5.42vw, 2.25rem)) calc(clamp(0.375rem, -0.221rem + 1.81vw, 0.75rem));
    clip-path: polygon(20px 0%, 100% 0%, calc(100% - 20px) 100%, 0% 100%);
  }

  .contact-banner-text {
    font-size: calc(clamp(0.938rem, -0.553rem + 4.52vw, 1.875rem));
  }

  .contact-banner__btn-wrap {
    left: 0;
    right: 0;
    transform: initial;
    margin-inline: auto;
    --banner-height: calc(clamp(3.75rem, -2.214rem + 18.07vw, 7.5rem));
    bottom: calc(var(--banner-height) * 0.5 * (-1));
  }

  .contact-banner__btn {
    max-width: 674px;
    width: 90%;
    margin-inline: auto;
    gap: 5%;
    height: calc(clamp(3.75rem, -2.214rem + 18.07vw, 7.5rem));
    font-size: calc(clamp(0.875rem, -0.517rem + 4.22vw, 1.75rem));
  }

  .contact-banner__btn-icon {
    width: calc(clamp(1.25rem, -0.738rem + 6.02vw, 2.5rem));
    height: calc(clamp(1.25rem, -0.738rem + 6.02vw, 2.5rem));
  }
}

/* =========================================
   Footer
   ========================================= */
.footer {
  background-color: var(--white);
  padding-top: 136px;
}

.footer-container {
  max-width: var(--content-width-small);
  margin-inline: auto;
  padding-inline: var(--content-padding);
  display: grid;
  grid-template-columns: 1fr auto;
  padding-bottom: 80px;
}

.footer-logo {
  margin-bottom: 32px;
}

.footer-logo-img {
  width: 185px;
  height: auto;
}

.footer-address,
.footer-tel,
.footer-fax {
  font-size: 1rem;
  line-height: 1.75;
}

.footer-nav {
  display: flex;
  gap: calc(clamp(2.5rem, -3.824rem + 11.76vw, 5rem));
}

.footer-nav-item:not(:last-of-type) {
  margin-bottom: 32px;
}

.footer-nav-item a,
.footer-nav-sub-item a {
  transition: all 0.4s ease-out;
}

.footer-nav-item a:hover,
.footer-nav-sub-item a:hover {
  color: var(--blue-1);
}

.footer-nav-heading {
  font-size: 1rem;
  margin-bottom: 24px;
  display: block;
}

.footer-nav-sub-item {
  position: relative;
  padding-left: 20px;
  margin-bottom: 16px;
}

.footer-nav-sub-item::before {
  content: "";
  position: absolute;
  top: 0.6em;
  left: 0;
  width: 6px;
  height: 6px;
  background-color: var(--blue-1);
}

.footer-copyright {
  border-top: 1px solid var(--gray-2);
  padding-block: 46px;
}

.footer-copyright-text {
  max-width: 1381px;
  margin-inline: auto;
  font-size: 0.75rem;
  text-align: right;
}

@media screen and (max-width: 860px) {
  .footer {
    padding-top: calc(clamp(4.063rem, -2.398rem + 19.58vw, 8.125rem));
  }

  .footer-container {
    grid-template-columns: auto;
    justify-content: center;
    gap: calc(clamp(1.625rem, -0.959rem + 7.83vw, 3.25rem));
    padding-bottom: calc(clamp(4.063rem, -2.398rem + 19.58vw, 8.125rem));
  }

  .footer-logo-img {
    width: calc(clamp(8rem, 0.843rem + 21.69vw, 12.5rem));
  }

  .footer-address,
  .footer-tel,
  .footer-fax {
    font-size: calc(clamp(0.75rem, -0.443rem + 3.61vw, 1.5rem));
  }

  .footer-nav {
    flex-direction: column;
    gap: calc(clamp(1.438rem, -0.849rem + 6.93vw, 2.875rem));
  }

  .footer-nav-heading,
  .footer-nav-item a,
  .footer-nav-sub-item a {
    font-size: calc(clamp(0.938rem, -0.553rem + 4.52vw, 1.875rem));
  }

  .footer-copyright {
    width: 90%;
    padding-inline: var(--content-padding);
    margin-inline: auto;
  }
}

/* =================================================================
固定ページ
================================================================= */
.page-mainvisual {
  height: 540px;
  z-index: 50;
  position: relative;
}

.page-mainvisual::before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
  width: 50%;
  height: 580px;
  background-color: var(--blue-1);
  clip-path: polygon(0 0, 100% 0, 80% 100%, 0% 100%);
}

.page-mainvisual-right {
  content: "";
  display: block;
  width: 60%;
  height: 100%;
  background: url(../img/service-page-mainvisual.webp) no-repeat right bottom/cover;
  position: absolute;
  right: 0;
  top: 0;
  z-index: -2;
}

.page-mainvisual__inner {
  width: 100%;
  max-width: var(--content-width-small);
  height: 100%;
  padding-inline: var(--content-padding);
  margin-inline: auto;
  display: flex;
  align-items: center;
  position: relative;
}

.page__title-ja {
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 500;
}

.page__title-en {
  color: var(--white);
  font-size: 4.125rem;
  font-weight: 500;
  font-family: var(--playfair);
}

.breadcrumbs {
  position: absolute;
  z-index: 60;
  bottom: -16px;
  left: var(--content-padding);
  color: var(--white);
  font-size: 0.75rem;
  display: flex;
  justify-content: start;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.breadcrumbs > a,
.breadcrumbs > li {
  color: currentColor;
}

.breadcrumbs > .white {
  color: var(--white);
}

.page-container {
  max-width: var(--content-width-small);
  margin-inline: auto;
  padding-inline: var(--content-padding);
}

@media screen and (max-width: 860px) {
  .page__title-ja {
    font-size: calc(clamp(1rem, 0.823rem + 0.8vw, 1.25rem));
  }

  .page__title-en {
    font-size: calc(clamp(2.063rem, 0.599rem + 6.56vw, 4.125rem));
  }
}

@media screen and (max-width: 528px) {
  .page-mainvisual::before {
    left: 0;
    top: 0;
    z-index: -1;
    width: 100%;
    height: 350px;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 80%);
  }

  .page-mainvisual-right {
    width: 100%;
    height: 300px;
    background: url(../img/service-page-mainvisual.webp) no-repeat right top/cover;
    top: auto;
    bottom: 0;
    z-index: -2;
  }

  .page-mainvisual-right::after {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.2) 100%);
  }

  .breadcrumbs {
    bottom: 10px;
  }

  .page-mainvisual__inner {
    /* height: 300px; */
    padding-bottom: 100px;
  }
}

/* =================================================================
service
================================================================= */
.service-page-content {
  padding-block: 105px 114px;
}

.service-tabs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 22px;
  margin-bottom: 76px;
}

.service-tab-btn {
  height: 98px;
  border: 1px solid var(--blue-1);
  border-radius: 5px;
  background-color: var(--white);
  font-size: 1.5rem;
  font-weight: 400;
  text-align: center;
  position: relative;
  cursor: pointer;
  transition: all 0.4s ease-out;
}

.service-tab-btn--small {
  font-size: 1.25rem;
}

.service-tab-btn::after {
  content: "";
  display: block;
  width: 16px;
  aspect-ratio: 1/1;
  border-bottom: solid 1px var(--blue-1);
  border-right: solid 1px var(--blue-1);
  rotate: 45deg;
  position: absolute;
  bottom: 10px;
  right: 0;
  left: 0;
  margin-inline: auto;
  transition: all 0.4s ease-out;
}

.service-tab-btn.is-active {
  background-color: var(--blue-1);
  color: var(--white);
}

.service-tab-btn.is-active::after {
  border-color: var(--white);
}

.service-tab-btn:hover {
  background-color: var(--blue-1);
  color: var(--white);
}

.service-tab-btn:hover::after {
  border-color: var(--white);
}

.service-detail {
  display: none;
  animation: fadeIn 0.5s ease forwards;
}

.service-detail.is-active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.service-detail-title {
  font-size: 1.875rem;
  font-weight: 400;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.service-detail-title::before {
  content: "";
  width: 13px;
  aspect-ratio: 1/1;
  background-color: var(--blue-1);
}

.service-detail-lead {
  font-size: 1.5rem;
  line-height: calc(38 / 24);
  font-weight: 400;
  margin-bottom: 80px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 5% 6%;
}

.service-grid-img {
  margin-bottom: 26px;
  aspect-ratio: 477/341;
}

.service-grid-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-grid-title {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 29px;
}

.service-grid-text {
  font-size: 1.125rem;
  line-height: calc(28 / 18);
  margin-bottom: 28px;
}

#service-partnership .service-grid-item:first-of-type .service-grid-text {
  margin-bottom: 0;
}

.service-grid-list {
  margin-bottom: 16px;
}

.service-grid-list li {
  font-size: 1.125rem;
  line-height: calc(28 / 18);
}

.service-grid-note {
  font-size: 1.125rem;
  line-height: calc(28 / 18);
}

.service-value-banner {
  width: 100vw;
  margin-left: calc((100vw - 100%) / 2 * (-1));
  background-color: var(--blue-1);
  padding-block: 97px 68px;
  padding-inline: 40px;
  margin-top: 120px;
  color: var(--white);
  position: relative;
}

.service-value-inner {
  max-width: var(--content-width-small);
  margin-inline: auto;
  padding-inline: var(--content-padding);
  position: relative;
  z-index: 2;
}

.service-value-inner__bg {
  content: "";
  background: url(../img/reason-bg-logo.webp) no-repeat center top/contain;
  width: 600px;
  aspect-ratio: 1/1;
  position: absolute;
  right: 0;
  top: 0;
}

.service-value-title {
  font-size: 2.25rem;
  font-weight: 500;
  margin-bottom: 45px;
}

.service-value-list {
  margin-bottom: 36px;
}

.service-value-list li {
  margin-bottom: 36px;
  font-size: 1.625rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 13px;
}

.service-value-list__dot {
  content: "";
  display: block;
  width: 18px;
  aspect-ratio: 1/1;
  border: solid 1px var(--white);
  position: relative;
  display: grid;
  place-items: center;
}

.service-value-list__dot::after {
  content: "";
  display: block;
  width: 12px;
  aspect-ratio: 1/1;
  border: solid 1px var(--white);
}

.service-value-quote {
  background-color: var(--white);
  color: var(--blue-1);
  padding: 42px 35px;
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.4;
}

#service-support .service-value-inner__bg {
  top: 8%;
}

#service-support .service-value-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  gap: 0px 16px;
}

#service-support .service-value-list__number {
  grid-column: 1/2;
  grid-row: 1/3;
  color: var(--blue-4);
  font-size: 6rem;
  font-weight: 500;
}

#service-support .service-value-list__title {
  grid-column: 2/3;
  grid-row: 1/2;
  font-size: 1.625rem;
  font-weight: 500;
}

#service-support .service-value-list__text {
  grid-column: 2/3;
  grid-row: 2/3;
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.2;
}

.service-value-banner.service-value-banner--gray {
  background-color: var(--gray-6);
  color: var(--black);
  margin-top: 0px;
}

.service-value-banner.service-value-banner--gray .service-value-inner__bg {
  background: url(../img/support-bg-logo.webp) no-repeat center top/contain;
}

#service-support .service-value-banner--gray .service-value-list__number {
  color: var(--gray-4);
}

@media (max-width: 768px) {
  .service-tabs {
    gap: 10px;
  }
  .service-value-quote {
    font-size: 1.125rem;
    padding-inline: 20px;
  }

  .service-grid {
    gap: 20px;
  }

  .service-detail-lead {
    font-size: 1.25rem;
  }

  .service-value-banner {
    margin-top: 30px;
    padding: 50px 12px 30px;
  }

  .service-value-inner__bg {
    width: 100%;
  }

  .service-value-title {
    font-size: calc(clamp(1.25rem, 0.54rem + 3.18vw, 2.25rem));
    margin-bottom: 20px;
  }

  .service-value-list {
    margin-bottom: 20px;
  }

  .service-value-list li {
    font-size: calc(clamp(1.125rem, 0.77rem + 1.59vw, 1.625rem));
  }

  .service-value-quote {
    padding: calc(clamp(1.25rem, 0.274rem + 4.37vw, 2.625rem)) calc(clamp(0.625rem, -0.528rem + 5.17vw, 2.25rem));
    font-size: calc(clamp(1rem, 0.29rem + 3.18vw, 2rem));
  }

  #service-support .service-value-list li {
    gap: 8px;
  }

  #service-support .service-value-list__number {
    font-size: calc(clamp(4rem, 2.581rem + 6.36vw, 6rem));
  }

  #service-support .service-value-list__title {
    font-size: calc(clamp(1rem, 0.556rem + 1.99vw, 1.625rem));
  }

  #service-support .service-value-list__text {
    font-size: calc(clamp(0.75rem, 0.484rem + 1.19vw, 1.125rem));
  }
}

@media screen and (max-width: 528px) {
  .service-page-content {
    padding-block: 50px;
  }

  .service-tabs {
    margin-bottom: 30px;
  }

  .service-tab-btn {
    height: 60px;
    font-size: 1rem;
  }

  .service-tab-btn::after {
    width: 10px;
  }

  .service-detail-title {
    font-size: 1.25rem;
    gap: 8px;
  }

  .service-detail-title::before {
    width: 8px;
  }

  .service-detail-lead {
    font-size: 1rem;
  }

  .service-grid {
    gap: 20px;
  }

  .service-grid-title {
    font-size: 1rem;
  }

  .service-grid-text,
  .service-grid-note {
    font-size: 0.75rem;
  }

  .service-grid-list li {
    font-size: 0.75rem;
  }

  .service-value-banner {
    padding-inline: 0px;
  }
}

/* =================================================================
voice
================================================================= */
.voice-page-content {
  padding-block: 115px 124px;
}

.voice-page-mainvisual .page-mainvisual-right {
  background: url(../img/voice-page-mainvisual.webp) center top/cover;
}

.voice-archive {
  width: 100%;
  max-width: 1000px;
  margin-inline: auto;
  padding-block: 60px;
}

.voice-section {
  margin-bottom: 100px;
}

.voice-section-title {
  font-size: 1.875rem;
  font-weight: 400;
  /* font-family: var(--playfair); */
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.voice-section-title::before {
  content: "";
  width: 13px;
  aspect-ratio: 1/1;
  background-color: var(--blue-1);
}

.voice-card {
  display: grid;
  grid-template-columns: 260px 1fr;
  grid-template-rows: repeat(2, auto);
  gap: 0 36px;
  margin-bottom: 100px;
}

.voice-card__figure {
  aspect-ratio: 260/340;
  grid-column: 1/2;
  grid-row: 1/3;
}

.voice-card__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.voice-card__information {
  grid-column: 2/3;
  grid-row: 1/2;
}

.voice-card__name {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 9px;
}

.voice-salary {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 30px;
}

.voice-salary__label {
  font-size: 1.125rem;
  background-color: var(--blue-light-1);
  display: grid;
  place-items: center;
  width: 140px;
  padding-inline: 20px;
  height: 40px;
}

.voice-salary__value {
  font-size: 1.25rem;
  letter-spacing: 0;
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 23px;
}

.voice-salary__value strong {
  font-size: 1.8em;
  font-weight: 500;
}

.voice-detail {
  grid-column: 2/3;
  grid-row: 2/3;
}

.voice-detail__title {
  color: var(--blue-1);
  font-size: 1.125rem;
  font-weight: 500;
  border-bottom: 1px solid var(--blue-2);
  margin-top: 38px;
  padding-bottom: 12px;
}

.voice-detail__text {
  font-size: 1rem;
  line-height: calc(26 / 16);
  margin-top: 15px;
}

@media screen and (max-width: 768px) {
  .voice-page-content {
    padding-block: 90px 50px;
  }
  .voice-section-title {
    font-size: calc(clamp(1.25rem, 0.806rem + 1.99vw, 1.875rem));
    gap: 8px;
  }

  .voice-section-title::before {
    width: 8px;
  }

  .voice-card {
    grid-template-columns: 30% 1fr;
    margin-bottom: 50px;
    gap: 0 5%;
  }

  .voice-card__figure {
    grid-row: 1/2;
  }

  .voice-card__information {
    display: grid;
    grid-template-columns: 1fr;
    place-content: center;
  }

  .voice-card__name {
    font-size: calc(clamp(1.125rem, 0.859rem + 1.19vw, 1.5rem));
  }

  .voice-salary {
    gap: calc(clamp(0.938rem, 0.272rem + 2.98vw, 1.875rem));
  }

  .voice-salary__label {
    width: 100px;
    font-size: calc(clamp(0.75rem, 0.484rem + 1.19vw, 1.125rem));
  }

  .voice-salary__value {
    font-size: calc(clamp(0.875rem, 0.609rem + 1.19vw, 1.25rem));
  }

  .voice-detail {
    grid-column: 1/3;
  }

  .voice-detail__title {
    font-size: calc(clamp(0.75rem, 0.484rem + 1.19vw, 1.125rem));
    margin-top: calc(clamp(1.188rem, 0.345rem + 3.78vw, 2.375rem));
  }

  .voice-detail__text {
    font-size: calc(clamp(0.75rem, 0.484rem + 1.19vw, 1.125rem));
  }
}

@media screen and (max-width: 528px) {
  .voice-page-content {
    padding-block: 40px 0;
  }
  .voice-salary {
    grid-template-columns: auto;
    gap: 10px;
  }

  .voice-salary__label {
    max-width: 100px;
    height: 30px;
  }
}

/* =================================================================
contact
================================================================= */
.contact-page-mainvisual .page-mainvisual-right {
  background: url(../img/mainvisual-right.webp) no-repeat center center/cover;
}

.contact-intro {
  padding-block: 102px 35px;
  max-width: var(--content-width-small);
  margin-inline: auto;
  padding-inline: var(--content-padding);
}

.contact-heading {
  font-size: 1.875rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.contact-heading::before {
  content: "";
  width: 13px;
  aspect-ratio: 1/1;
  background-color: var(--blue-1);
}

.contact-problem {
  margin-bottom: 35px;
}

.contact-problem-list {
}

.contact-problem-list li {
  font-size: 1.25rem;
  font-weight: 500;
  line-height: calc(46 / 20);
  display: flex;
  align-items: center;
  gap: 15px;
}

.contact-problem-list li::before {
  content: "";
  background: url(../img/check-box.webp) no-repeat center top/contain;
  width: 24px;
  aspect-ratio: 1/1;
}

/* サポートグリッド */
.contact-support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 17px;
}

.contact-support-item {
  background-color: var(--blue-light-1);
  height: 127px;
  padding-block: 8px;
  text-align: center;
  display: grid;
  place-content: center;
}

.contact-support-item p {
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.5;
}

.contact-note {
  font-size: 0.75rem;
  font-family: var(--playfair);
  text-align: right;
}

.contact-form {
  /* padding-top: 56px; */
}

.contact-form__inner {
  max-width: var(--content-width-small);
  box-sizing: content-box;
  margin-inline: auto;
  padding-inline: var(--content-padding);
}

.contact-form__content form {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 0px 30px;
}

/* トラッカー */
.smf-progress-tracker {
  grid-column: 1/2;
  grid-row: 1/3;
  flex-direction: column;
  gap: 32px;
  height: 140px;
  position: relative;
  padding-top: 30px;
}

.smf-progress-tracker__item {
  font-size: 1rem;
  width: 100% !important;
  flex-direction: row !important;
}

.contact-form .smf-progress-tracker__item__text {
  margin-top: 0;
  color: var(--black);
  font-size: 1rem;
  letter-spacing: 0.05em;
  font-weight: 400;
  padding-left: 30px;
  position: relative;
}

.contact-form .smf-progress-tracker__item::after {
  content: "";
  display: block;
  width: 1px;
  height: 33px;
  background-color: var(--gray-4);
  border-radius: 50%;
  position: absolute;
  left: 3px;
  top: auto;
  bottom: -30px;
}

.contact-form .smf-progress-tracker__item:last-of-type::after {
  display: none;
}

.contact-form .smf-progress-tracker__item::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  background-color: var(--gray-4);
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: calc(50% - 4px);
}

.contact-form .smf-progress-tracker__item[aria-current="true"]::before {
  background-color: var(--blue-1);
}

.smf-progress-tracker__item__number {
  display: none !important;
}

/* トラッカー終了 */

/* form入力欄 */
.smf-form {
  grid-column: 2/3;
  grid-row: 1/2;
}

.contact-form .smf-form--letter .smf-item {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(200px, 30%) 1fr;
  align-items: center;
  gap: 70px;
  padding-block: 20px;
  border-top: solid 1px var(--gray6);
}

.contact-form .smf-form--letter.smf-item:first-of-type {
  border-top: none;
  padding-bottom: 40px;
}

.contact-form .has-inline-color {
  background-color: transparent !important;
  border: solid 1px var(--red-1);
  border-radius: 3px;
  color: var(--red-1) !important;
  font-size: 0.8em;
  font-weight: 500;
  font-style: normal;
  line-height: 1;
  padding: 6px 10px;
}

.contact-form .smf-item__col--label {
  max-width: 100%;
  padding: 0;
  flex-basis: auto;
}

.smf-item__label__text {
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--black1);
}

.smf-item__col--controls {
  width: 100%;
}

.smf-select-control {
  width: 100%;
}

.contact-form .smf-form .smf-text-control__control,
.contact-form .smf-form .smf-select-control__control,
.contact-form .smf-form .smf-textarea-control__control {
  display: block;
  width: 100%;
  padding: 12px 12px 12px 42px;
  box-sizing: border-box;
  color: var(--black);
  background-color: transparent;
  border: solid 1px var(--gray-5);
  border-radius: 0px;
  font-size: 1rem;
}

.contact-form .smf-form .smf-text-control__control::placeholder,
.contact-form .smf-form .smf-select-control__control::placeholder,
.contact-form .smf-form .smf-textarea-control__control::placeholder {
  color: var(--gray-1);
}

/* check box */
.smf-checkboxes-control .smf-label {
  padding-block: 6px;
}
.contact-form .smf-form .smf-checkbox-control {
  gap: 12px;
}
.contact-form .smf-form .smf-checkbox-control__control {
  border: solid 1px var(--gray-5);
  border-radius: 0px;
}

.contact-form .smf-textarea-control > textarea {
  height: 332px;
  resize: none;
  overflow-y: auto;
}

.smf-action {
  grid-column: 1/3;
  grid-row: 2/3;
}

.smf-system-error-content-ready {
  grid-column: 1/3;
  grid-row: 3/4;
}

.smf-button-control {
  position: relative;
}

.contact-form .smf-action .smf-button-control__control {
  width: 90%;
  max-width: 543px;
  height: 70px;
  background-image: none;
  background: var(--grad-4);
  color: var(--blue-1);
  border: 0px;
  border-radius: 5px;
  place-items: center;
  font-size: 1.25rem;
  font-weight: 500;
  margin-top: 70px;
  transition: all 0.4s ease-out;
  position: relative;
  z-index: 10;
}

.contact-form .smf-button-control__control[data-action="back"] {
  background: var(--gray-1);
  color: var(--gray-5);
}

.smf-button-control__control:hover {
  opacity: 0.6;
}

.contact-form .smf-action .smf-button-control + .smf-button-control {
  margin-left: 0;
  margin-top: 20px;
}

.smf-complete-content {
  width: 100%;
  color: var(--black);
  font-size: 1rem;
  line-height: 1.8;
}

@media screen and (max-width: 860px) {
  .contact-page-mainvisual .page-mainvisual-right {
    background: url(../img/mainvisual-right.webp) no-repeat center top/cover;
  }

  .contact-intro {
    padding-block: 90px 0px;
  }

  .contact-heading {
    font-size: calc(clamp(1.25rem, 0.806rem + 1.99vw, 1.875rem));
    gap: 7px;
  }

  .contact-heading::before {
    width: 8px;
  }

  .contact-problem {
    margin-bottom: 20px;
  }

  .contact-problem-list li {
    font-size: calc(clamp(0.875rem, 0.609rem + 1.19vw, 1.25rem));
    gap: 8px;
    align-items: start;
  }

  .contact-problem-list li::before {
    width: 20px;
    margin-top: 8px;
  }

  .contact-support-grid {
    grid-template-columns: 1fr;
  }

  .contact-support-item p {
    font-size: calc(clamp(0.875rem, 0.609rem + 1.19vw, 1.25rem));
  }

  .contact-support-item {
    height: calc(clamp(3.75rem, 2.863rem + 3.98vw, 5rem));
  }

  .contact-form__content form {
    grid-template-columns: 1fr;
    margin-top: 36px;
  }

  .smf-progress-tracker {
    display: inline-block;
    grid-column: 1/2;
    grid-row: 1/2;
    padding-top: 0px;
  }

  .smf-form {
    grid-column: 1/2;
    grid-row: 2/3;
  }

  .contact-form .smf-item {
    grid-template-columns: 190px 1fr;
    gap: 20px;
  }

  .smf-action {
    grid-column: 1/2;
    grid-row: 3/4;
  }
}

@media screen and (max-width: 624px) {
  .contact-form .smf-form--letter .smf-item {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    padding-block: 10px;
  }

  .contact-form .smf-form--letter .smf-item:first-of-type {
    padding-bottom: 10px;
  }

  .smf-item__col--controls {
    width: 100%;
  }

  .smf-item,
  .smf-item__col--label {
    width: 100%;
  }

  .smf-item,
  .smf-item__label__text {
    display: block;
  }

  .smf-item__label .has-inline-color {
    margin-left: 22px;
  }

  .smf-complete-content,
  .contact-form__description-text {
    font-size: 1rem;
  }

  .contact-form__description-small {
    font-size: 0.75rem;
  }

  .contact-form__description-tell {
    font-size: 2rem;
  }

  .contact-form__description-mail {
    font-size: 1rem;
  }

  .smf-button-control__control {
    width: 90%;
    max-width: 400px;
  }

  .wp-block-group .smf-item__col--label {
    width: 100%;
  }
}

/* =================================================================
  404ページ
================================================================= */
.error__wrapper {
  max-width: var(--content-width-small);
  padding: 100px 20px 100px;
  margin-inline: auto;
}

.error__title {
  font-size: 2rem;
  text-align: center;
}

.error__content {
  color: var(--black);
  font-size: 1.25rem;
  line-height: 1.2;
  margin-top: 36px;
}

.error__content-link {
  display: inline-block;
  font-weight: bold;
  color: var(--red1);
  border-bottom: solid 1px var(--blue-1);
}

.error__content-link:hover {
  opacity: 0.6;
}
