/* =========================
   Base Settings
========================= */

/* box-sizing */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* body */
body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "BIZ UDPGothic", "Meiryo", sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #3c3c3c;
  line-height: 2;
  letter-spacing: 0.08em;
  font-feature-settings: "palt";
  position: relative;
}

html,
body {
  overflow-x: clip;
  scroll-behavior: smooth;
}

/* media */
img,
video,
svg {
  display: block;
  width: 100%;
  height: auto;
}

/* link */
a {
  text-decoration: none;
  color: #3c3c3c;
}

/* form */
input,
textarea,
select,
button {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

/* focus */
:focus-visible {
  outline: 2px solid #005fcc;
  outline-offset: 2px;
}

/* address */
address a {
  color: inherit;
  text-decoration: none;
  -webkit-text-decoration: none;
}

/* hidden */
.hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

/* =========================
   Fade Animation 
========================= */

/* fade-base */
.fade {
  opacity: 0;
  visibility: hidden;
}

/* fade-up */
.fadeUp {
  opacity: 0;
  visibility: hidden;
  transform: translateY(10%);
}

/* fade-blur */
.fadeBlur {
  opacity: 0;
  visibility: hidden;
  filter: blur(10px);
}

/* fade-flow */
.fadeFlow {
  mask-image: linear-gradient(to right, black 40%, transparent 80%, transparent 100%);
  mask-repeat: no-repeat;
  mask-size: 300% 100%;
  mask-position: var(--fadeFlow-mask-pos) 0;
}

/* =========================
   Visual Effects
========================= */

/* 画像四方ぼかし */
.pic-blur {
  mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent),
    linear-gradient(to bottom, transparent, black 4%, black 96%, transparent);
  mask-composite: intersect;
  -webkit-mask-composite: source-in;
}

/* hover */
.hover-opa7,
.hover-opa9 {
  transition: opacity .5s ease;
}

.hover-opa7:hover {
  opacity: 0.7;
}

.hover-opa9:hover {
  opacity: 0.9;
}

/* =========================
   PC
========================= */

/* ------- common ------- */

main {
  position: relative;
  overflow-x: clip;
}

/* === header / nav === */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 999;
}

.nav {
  position: relative;
  margin: 30px;
  opacity: 0;
  visibility: hidden;
}

.nav__wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 86px;
  padding: 24px;
  gap: 28px;

  /* すりガラス加工 */
  background-color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 10px 1px rgba(124, 137, 159, 0.2);
  border-radius: 8px;
}

.nav__left {
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 32px;
}

.nav__logo {
  width: clamp(12.5rem, 3.238rem + 14.46vw, 16.25rem);
  transform: translateY(6px);
}

.nav__logo img {
  display: block;
  width: 100%;
  height: 100%;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav__list li {
  display: flex;
  align-items: center;
}

.nav__list li a {
  position: relative;
  font-family: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: #40466d;
  letter-spacing: 0.05em;
  line-height: 1.2;
  white-space: nowrap;
  padding: 0.4em 0.1em;
}

.nav__list li a::after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, #a9895e 70%, transparent 100%);
  transform: scale(0, 1);
  transform-origin: left top;
  transition: all .5s ease;
  opacity: 0;
}

@media (hover: hover) and (pointer: fine) {
  .nav__list li a:hover::after {
    transform: scale(1.06, 1);
    opacity: 1;
  }
}

.nav__right {
  display: flex;
  justify-content: end;
  align-items: center;
  gap: 24px;
}

.nav__contact {
  display: flex;
  justify-content: end;
  align-items: center;
  gap: 16px;
}

.nav__contact-tel {
  height: 48px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Inter", "Helvetica Neue", "Arial", "Hiragino Sans", "Meiryo", sans-serif;
  font-size: clamp(0.875rem, 0.258rem + 0.96vw, 1.125rem);
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1;
  gap: 0.3em;
  color: #40466d;
  background-color: #fff;
  padding: 0.8em 1em;
  border: 1px solid #40466d;
  border-radius: 4px;
  white-space: nowrap;
  transition: all .5s ease;
}

.nav__contact-tel::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, #afb1b9 10%, #afb1b9 90%, transparent 100%);
  position: absolute;
  left: 0;
  bottom: 6px;
  transform: scale(0, 1);
  transform-origin: top center;
  transition: all .5s ease;
  opacity: 0;
}

@media (hover: hover) and (pointer: fine) {
  .nav__contact-tel:hover::after {
    transform: scale(0.96, 1);
    opacity: 1;
  }
}

.nav__contact-mail {
  height: 48px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  font-size: clamp(0.813rem, 0.349rem + 0.72vw, 1rem);
  font-weight: 500;
  letter-spacing: 0.05em;
  gap: 0.5em;
  color: #fff;
  background-color: #40466d;
  padding: 0.7em 1em;
  border: 1px solid #40466d;
  border-radius: 4px;
  white-space: nowrap;
  transition: all .5s ease;
}

.nav__contact-mail::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, #a9895e 10%, #a9895e 90%, transparent 100%);
  position: absolute;
  left: 0;
  bottom: 6px;
  transform: scale(0, 1);
  transition: all .5s ease;
  opacity: 0;
}

@media (hover: hover) and (pointer: fine) {
  .nav__contact-mail:hover::after {
    transform: scale(0.96, 1);
    opacity: 1;
  }
}

.nav__contact-icon img {
  display: block;
  width: 100%;
  height: 100%;
}

.nav__contact-icon.tel {
  width: 15px;
}

.nav__contact-icon.mail {
  width: 18px;
  margin-top: 2px;
}

/* === hamburger / menu === */

/* hamburger */
.hamburger {
  position: relative;
  width: 48px;
  height: 16px;
}

.hamburger span {
  position: absolute;
  transform-origin: center;
  display: block;
  width: 100%;
  height: 2px;
  background-color: #40466d;
  transition: all .5s ease;
}

.hamburger span:nth-child(1) {
  transform: translateY(-6px);
}

.hamburger span:nth-child(3) {
  transform: translateY(6px);
}

/* breadcrumb */
.breadcrumb {
  position: absolute;
  display: flex;
  width: 100%;
  margin: 140px 30px 0;
  z-index: 998;
  gap: 8px;
}

.breadcrumb li {
  font-family: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  font-size: 13px;
  font-weight: 500;
}

.breadcrumb li::after {
  content: "-";
  color: #afb1b9;
}

.breadcrumb li:last-child::after {
  content: "";
}

.breadcrumb__current-page {
  color: #40466d;
}

.breadcrumb__parent-page a {
  color: #afb1b9;
  transition: all .5s ease;
}

@media (hover: hover) and (pointer: fine) {
  .breadcrumb__parent-page a:hover {
    color: #40466d;
  }
}

/* menu */
.menu {
  opacity: 0;
  visibility: hidden;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(255, 255, 255);
  z-index: 999;
}

.menu__btn-close {
  position: absolute;
  top: 64px;
  right: 56px;
  width: 48px;
  height: 16px;
  z-index: 999;
}

.menu__btn-close span {
  position: absolute;
  display: block;
  width: 100%;
  height: 2px;
  background-color: #40466d;
  transform-origin: center;
  transition: all .5s ease;
}

.menu__btn-close span:nth-child(1) {
  transform: rotate(14deg);
}

.menu__btn-close span:nth-child(2) {
  transform: rotate(-14deg);
}

.menu__wrap {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.menu__logo {
  display: block;
  width: 120px;
  opacity: 0;
  visibility: hidden;
}

.menu__logo img {
  width: 100%;
}

.menu__list {
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: scroll;
  padding: 40px;
}

.menu__item {
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.5em);
}

.menu__list ul {
  display: flex;
  flex-direction: column;
  gap: 1em;
  margin-top: 32px;
}

.menu__list li a {
  display: block;
  position: relative;
  font-family: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  font-weight: 500;
  font-size: 20px;
  color: #40466d;
  letter-spacing: 0.1em;
  line-height: 1;
  white-space: nowrap;
  padding: 0.4em 0.2em;
}

.menu__list li a::after {
  display: block;
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.5px;
  background: linear-gradient(to right, #a9895e 70%, transparent 100%);
  transform: scale(0, 1);
  transform-origin: left top;
  transition: all .5s ease;
  opacity: 0;
}

@media (hover: hover) and (pointer: fine) {
  .menu__list li a:hover::after {
    transform: scale(1.06, 1);
    opacity: 1;
  }
}

.menu__contact {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 40px;
}

.menu__bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
  mask-image: linear-gradient(to right, black 20%, transparent 60%, transparent 100%);
  mask-repeat: no-repeat;
  mask-size: 300% 100%;
  mask-position: var(--menuBg-mask-pos) 0;
}

.menu__bg img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: block;
  width: 130vw;
  opacity: 0.5;
}

.menu__bg-sp {
  display: none !important;
}

/* === footer === */
.footer {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: end;
  background-color: #40466d;
  padding: 120px 80px 60px;
  gap: 24px;
}

.footer,
.footer a {
  color: #fff;
}

.footer__wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: end;
  gap: 24px;
}

.footer__inner {
  width: 100%;
  font-family: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  line-height: 1;
  display: flex;
  justify-content: space-between;
  align-items: end;
}

.footer__co {
  display: flex;
  flex-direction: column;

}

.footer__co-name {
  display: flex;
  align-items: end;
  gap: 12px;
}

.footer__co-name-logo {
  width: 128px;
  /* aspect-ratio: 153 / 82; white*/
  aspect-ratio: 51 / 32;
}

.footer__co-name-logo img {
  width: 100%;
  height: 100%;
}

.footer__co-name-text {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 6px;
  padding: 8px;
}

.footer__co-name-text-sub {
  font-size: 14px;
  font-weight: 500;
}

.footer__co-name-text-main {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.15em;
}

.footer__co-add {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 10px;
  margin-top: 24px;
}

.footer__co-add-text {
  display: flex;
  align-items: center;
  letter-spacing: 0.08em;
  gap: 12px;
}

.footer__co-add-tel {
  display: flex;
  align-items: center;
  letter-spacing: 0.08em;
  gap: 16px;
}

.footer__nav {
  display: flex;
  flex-direction: column;
  align-items: end;
  gap: 16px;
}

.footer__nav a {
  display: block;
  position: relative;
  padding: 0.5em 0.1em;
}

.footer__nav a::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  transform: scale(0, 1);
  transform-origin: top left;
  background: linear-gradient(to right, #baa17e 70%, transparent 100%);
  position: absolute;
  left: 0;
  bottom: 0;
  transition: all .5s ease;
  opacity: 0;
}

@media (hover: hover) and (pointer: fine) {
  .footer__nav a:hover::after {
    transform: scale(1.06, 1);
    opacity: 1;
  }
}

.footer__nav-main {
  display: flex;
  align-items: center;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.1em;
  gap: 24px;
}

.footer__nav-sub {
  display: flex;
  align-items: center;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.05em;
  gap: 18px;
}

.footer__copyright {
  font-family: "Inter", "Helvetica Neue", "Arial", "Hiragino Sans", "Meiryo", sans-serif;
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.15em;
}

/* === more-btn === */
.more__btn {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1;
  padding: 1.2em 6em;
  border: 1px solid #353b5c;
  border-radius: 0.5em;
  color: #40466d;
  background-color: #fff;
  margin-top: 56px;
  transition: transform .5s ease, box-shadow .5s ease;
}

.more__btn::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, #afb1b9 10%, #afb1b9 90%, transparent 100%);
  position: absolute;
  left: 0;
  bottom: 6px;
  transform: scale(0, 1);
  transition: transform .5s ease, opacity .5s ease;
  opacity: 0;
}

@media (hover: hover) and (pointer: fine) {
  .more__btn:hover {
    box-shadow: 0px 3px 0px #353b5c;
    transform: translate(0px, -3px);
  }

  .more__btn:hover::after {
    transform: scale(0.96, 1);
    opacity: 1;
  }
}

/* === title-h2 === */
.title {
  display: inline-flex;
  flex-direction: column;
  align-items: start;
  color: #40466d;
}

.title--white {
  color: #fff;
}

.title--center {
  align-items: center;
}

.title__eng {
  font-family: "Inter", "Helvetica Neue", "Arial", "Hiragino Sans", "Meiryo", sans-serif;
  font-size: 62px;
  font-weight: 600;
  letter-spacing: 0.07em;
  line-height: 1;
}

.title__line {
  display: block;
  width: 100%;
  height: 5px;
  background: linear-gradient(to right, #a9895e 0%, #a9895e 10%, transparent 100%);
  margin-top: 8px;
}

.title__jpn {
  font-family: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.4;
  margin-top: 0.5em;
}

/* title-tate */
.title-tate {
  display: flex;
  align-items: start;
  color: #40466d;
}

.title-tate__eng {
  font-family: "Inter", "Helvetica Neue", "Arial", "Hiragino Sans", "Meiryo", sans-serif;
  font-size: 52px;
  font-weight: 600;
  letter-spacing: 0.07em;
  line-height: 1;
  writing-mode: vertical-rl;
}

.title-tate__line {
  display: block;
  width: 5px;
  height: 164px;
  background: linear-gradient(to bottom, #a9895e 0%, #a9895e 10%, transparent 100%);
  margin-left: 0.6vw;
}

.title-tate__jpn {
  font-family: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.4;
  margin-left: 0.5em;
  writing-mode: vertical-rl;
}


/* ------- TOP-PAGE ------- */

/* === opening === */
.opening {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
}

.opening__logo-wrap {
  width: 100%;
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  bottom: 50%;
  left: 50%;
  transform: translate(-50%, 100%);
  opacity: 0;
  visibility: hidden;
}

.opening__logo {
  width: 120px;
}

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

.opening__shadow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

.opening__shadow-wrap {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 0);
  width: 100%;
  height: 50%;
  overflow: hidden;
  mask-image: linear-gradient(to top, black 50%, transparent 80%, transparent 100%);
  mask-repeat: no-repeat;
  mask-size: 100% 300%;
  mask-position: 0 var(--mask-pos);
}

.opening__shadow-inner {
  position: absolute;
  top: 0;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translateX(-50%);
}

.opening__shadow-inner .square {
  width: 100%;
  height: 100%;
}

.opening__shadow-inner .square path {
  fill: #e2eaf3;
}

/* === mv === */
.mv {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 0;
}

.mv__wrap {
  position: relative;
  display: flex;
  align-items: center;
  max-width: clamp(90rem, 30rem + 66.67vw, 112.5rem);
  width: 100%;
  height: 100dvh;
}

.mv__title {
  position: absolute;
  top: 50%;
  left: 90px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  z-index: 3;
}

.mv__title-bg {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 60%;
  height: 100%;
  background: linear-gradient(to right, #fff 50%, transparent 100%);
  mask-image: linear-gradient(to top, transparent, #000 10%);
  z-index: 2;
  opacity: 0;
  visibility: hidden;
}

.mv__logo {
  width: clamp(12.5rem, 5.833rem + 7.41vw, 15rem);
  /* opacity: 0;
  visibility: hidden; */
}

.mv__logo-anim {
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
}

.mv__logo img {
  display: block;
  width: 100%;
  height: 100%;
}

.mv__copy {
  display: flex;
  flex-direction: column;
  justify-content: start;
  font-family: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  font-size: clamp(3.25rem, 1.25rem + 2.22vw, 4rem);
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1;
  color: #40466d;
  white-space: nowrap;
  gap: 0.3em;
  margin-top: 0.8em;
  opacity: 0;
  visibility: hidden;
}

.mv__copy-text {
  clip-path: inset(0);
}

.mv__copy-text .char {
  transform: translateY(100%);
  opacity: 0;
  visibility: hidden;
}

.mv__copy-sub {
  clip-path: inset(0);
  font-size: clamp(1.625rem, 0.792rem + 0.93vw, 1.938rem);
  margin-top: 0.2em;
  opacity: 0;
  visibility: hidden;
}

.mv__copy-eng {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start;
  font-family: "Inter", "Helvetica Neue", "Arial", "Hiragino Sans", "Meiryo", sans-serif;
  font-size: clamp(1rem, 0.667rem + 0.37vw, 1.125rem);
  font-weight: 300;
  letter-spacing: 0.1em;
  line-height: 1.4;
  color: #afb1b9;
  white-space: nowrap;
  gap: 0.25em;
  margin-top: 2em;
  opacity: 0;
  visibility: hidden;
}

.mv__pics {
  position: absolute;
  top: 50%;
  right: 90px;
  transform: translateY(-50%);
  margin-top: 20px;
  width: clamp(42.5rem, 9.167rem + 37.04vw, 55rem);
  display: flex;
  flex-direction: column;
  gap: 40px;
  z-index: 1;
}

.mv__pic-img {
  display: block;
  width: 100%;
  height: 100%;
}

.mv__pic--top {
  width: 67%;
  aspect-ratio: 456 / 274;
  opacity: 0;
  visibility: hidden;
  /* filter: blur(10px); */
}

.mv__pic-bottom {
  width: 100%;
  display: flex;
  gap: 40px;
  justify-content: space-between;
  align-items: end;
}

.mv__pic--middle {
  width: 60%;
  aspect-ratio: 380 / 232;
  margin-bottom: 48px;
  opacity: 0;
  visibility: hidden;
  /* filter: blur(10px); */
}

.mv__pic--bottom {
  width: 40%;
  aspect-ratio: 253 / 168;
  opacity: 0;
  visibility: hidden;
  /* filter: blur(10px); */
}

.mv__bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  aspect-ratio: 16 / 15;
  z-index: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
}

.mv__bg::after {
  content: "";
  display: block;
  width: 100%;
  height: 50%;
  background: linear-gradient(to top, #ffffff 40%, transparent 100%);
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
}

.mv__bg-anim {
  width: 100%;
  height: 100%;
  opacity: 1;
}

.mv__bg-anim-sp {
  display: none;
}

/* === about us === */
.about {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  mix-blend-mode: multiply;
}

.about__wrap {
  max-width: 1560px;
  width: 100%;
  display: flex;
  align-items: center;
  padding: 100px 100px 140px;
  gap: 8%;
}

.about__pics {
  width: 52%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 56px;
}

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

.about__pic--top {
  width: 91.2%;
  margin-left: 8.8%;
  opacity: 0;
  visibility: hidden;
}

.about__pic--btm {
  width: 57.6%;
  opacity: 0;
  visibility: hidden;
}

.about__content {
  width: 40%;
  mask-image: linear-gradient(to right, black 40%, transparent 80%, transparent 100%);
  mask-repeat: no-repeat;
  mask-size: 300% 100%;
  mask-position: var(--fadeFlow-mask-pos) 0;
  /* margin-top: 80px; */
}

.about__heading {
  font-family: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.8;
  color: #40466d;
  margin-top: 1.2em;
}

.about__category {
  font-family: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1;
  color: #40466d;
  display: flex;
  align-items: center;
  margin-top: 2em;
  border-bottom: 1px solid #afb1b9;
  padding: 0.7em 0.25em;
}

.about__number {
  font-family: "Inter", "Helvetica Neue", "Arial", "Hiragino Sans", "Meiryo", sans-serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.2em;
  margin-right: 0.2em;
  color: #40466d;
  line-height: 1;
  transform: translateY(1.5px);
}

.about__title {
  font-family: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.6;
  color: #40466d;
  margin-top: 1em;
}

.about__text {
  letter-spacing: 0.08em;
  line-height: 2;
  text-align: justify;
  color: #3c3c3c;
  margin-top: 0.75em;
}

.about__bg {
  position: absolute;
  bottom: -16%;
  right: -16%;
  width: 100%;
  aspect-ratio: 8 / 5;
  transform: scale(0.9);
  transform-origin: bottom right;
  z-index: -1;
}

.about__bg-anim {
  width: 100%;
  height: 100%;
  opacity: 0.5;
}

.about__bg-anim-sp {
  display: none;
}

/* === our service === */
.service {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 100px 100px 80px;
  background-color: #40466d;
  clip-path: inset(0);
  z-index: 0;
}

.service__bg {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.service__bg-anim {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service__wrap {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
}

.service__inner {
  max-width: 1360px;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-content: start;
  gap: 32px;
  margin-top: 72px;
}

.title__eng--service {
  font-weight: 520;
}

.service__item {
  position: relative;
  display: flex;
  width: 100%;
  align-items: center;
  gap: 32px;
  background-color: #353b5c;
  padding: 40px 60px 40px 40px;
}

.service__item::before {
  display: block;
  position: absolute;
  top: -20px;
  left: 28px;
  font-family: "Inter", "Helvetica Neue", "Arial", "Hiragino Sans", "Meiryo", sans-serif;
  font-size: 64px;
  font-weight: 320;
  letter-spacing: 0.08em;
  line-height: 1;
  color: #a9895e;
  font-style: italic;
  padding: 0 0.1em 0.16em;
  border-bottom: 1px solid;
  border-image: linear-gradient(to right, #d9dbdf 50%, transparent 100%)1;
  z-index: 2;
}

.service__item--01::before {
  content: "01";
}

.service__item--02::before {
  content: "02";
}

.service__item::after {
  display: block;
  position: absolute;
  top: 18px;
  right: 16px;
  font-family: "Inter", "Helvetica Neue", "Arial", "Hiragino Sans", "Meiryo", sans-serif;
  font-size: 14px;
  font-weight: 360;
  letter-spacing: 0.16em;
  line-height: 1;
  color: #4d5274;
  writing-mode: vertical-rl;
}

.service__item--01::after {
  content: "Air Conditioning";
}

.service__item--02::after {
  content: "Plumbing System";
}

.service__image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46%;
  overflow: hidden;
}

.service__image--01 {
  aspect-ratio: 59 / 47;
}

.service__image--02 {
  aspect-ratio: 256 / 195;
}

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

.service__textbox {
  width: 54%;
}

.service__subtitle {
  font-family: "Inter", "Helvetica Neue", "Arial", "Hiragino Sans", "Meiryo", sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: #afb1b9;
}

.service__subtitle::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background-color: #616983;
  margin-top: 4px;
}

.service__title {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.1em;
  color: #fff;
  margin-top: 1em;
}

.service__text {
  text-align: justify;
  font-weight: 300;
  color: #fff;
  margin-top: 0.75em;
  letter-spacing: 0.1em;
}

.more__btn--service {
  margin-top: 64px;
}

/* === cases === */
.cases {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1;
}

.cases__wrap {
  max-width: 1560px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 100px 0;
  margin-top: 120px;
}

.cases__inner {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 80px 80px 64px;
  border: 1px solid #40466d;
  background-color: #fff;
}

.cases__content {
  width: 100%;
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 32px;
}

.cases__list {
  width: 100%;
  display: flex;
  flex-direction: column;
  background-color: #fff;
}

.cases__item {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 40%;
  padding: 16px;
  gap: 32px;
  border-top: 1px solid #dde0ea;
  border-bottom: 1px solid #dde0ea;
}

.cases__item:not(:last-child) {
  border-bottom: none;
}

.cases__item-border {
  width: 100%;
  height: 1px;
  background-color: #dde0ea;
}

.cases__title {
  display: grid;
  grid-template-columns: 80px 1fr;
  align-items: center;
  gap: 16px;
}

.cases__title-tag {
  font-size: 12px;
  font-weight: 400;
  color: #fff;
  line-height: 1;
  text-align: center;
  padding: 0.4em 0.8em;
  border-radius: 0.4em;
  background-color: #40466d;
  white-space: nowrap;
}

.cases__title-text {
  line-height: 1.4;
}

.cases__category {
  display: grid;
  grid-template-columns: 80px 1fr;
  align-items: center;
  gap: 16px;
  border-left: 1px solid #dde0ea;
  padding-left: 24px;
}

.cases__category-tag {
  font-size: 12px;
  font-weight: 500;
  color: #40466d;
  line-height: 1;
  text-align: center;
  padding: 0.4em 0.8em;
  border-radius: 0.4em;
  border: 1px solid #40466d;
  background-color: #fff;
  white-space: nowrap;
}

.cases__category-text {
  line-height: 1.4;
  text-align: left;
}

/* === contact === */
.contact {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 80px 0;
  margin-top: 140px;
  margin-bottom: 120px;
}

.contact__wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1;
}

.contact__inner {
  position: relative;
  max-width: 960px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  padding: 64px;
  gap: 32px;
  margin-top: 32px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, .0.2);
  box-shadow: 0 0 32px 1px rgba(124, 137, 159, 0.2);
}

.contact__item {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
  z-index: 2;
}

.contact__item-title {
  font-family: "Inter", "Helvetica Neue", "Arial", "Hiragino Sans", "Meiryo", sans-serif;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  letter-spacing: 0.2em;
  color: #40466d;
}

.contact__item a {
  position: relative;
  display: flex;
  width: 100%;
  height: 86px;
  background-color: #fff;
  border: 1px solid #40466d;
  border-radius: 8px;
  padding: 24px 32px;
  margin-top: 12px;
  transition: all .5s ease;
}

.contact__item a::after {
  display: block;
  content: "";
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, #afb1b9 10%, #afb1b9 90%, transparent 100%);
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  transform: scale(0, 1);
  transform-origin: center top;
  opacity: 0;
  transition: all 0.8s ease;
}

@media (hover: hover) and (pointer: fine) {
  .contact__item a:hover {
    box-shadow: 0px 3px 0 #353b5c;
    transform: translate(0, -3px);
  }

  .contact__item a:hover::after {
    opacity: 1;
    transform: scale(0.96, 1);
  }
}

.contact__tel {
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.contact__tel-num {
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact__tel-num-text {
  font-family: "Inter", "Helvetica Neue", "Arial", "Hiragino Sans", "Meiryo", sans-serif;
  font-size: 28px;
  font-weight: 600;
  color: #40466d;
  text-align: center;
  letter-spacing: 0.1em;
  line-height: 1;
  white-space: nowrap;
}

.contact__tel-time {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

.contact__tel-time-head {
  font-family: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.05em;
  color: #40466d;
}

.contact__tel-time-text {
  font-family: "Inter", "Helvetica Neue", "Arial", "Hiragino Sans", "Meiryo", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.05em;
  color: #40466d;
}

.contact__mail {
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.contact__mail-text {
  font-family: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.06em;
  color: #40466d;
  white-space: nowrap;
}

.contact__icon img {
  display: block;
  width: 100%;
  height: 100%;
}

.contact__icon--tel {
  width: 20px;
  aspect-ratio: 20/23;
}

.contact__icon--mail {
  width: 24px;
  aspect-ratio: 24/17;
}

.contact__bg {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  width: 100%;
  aspect-ratio: 2560 / 1100;
  z-index: 0;
}

.contact__bg-anim {
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0.5;
}

.contact__bg-anim-sp {
  display: none;
}


/* ------- 下層ページ共通 ------- */

.page {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-mv {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  z-index: 1;
}

.page-mv__title {
  position: absolute;
  max-width: 1440px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: start;
  z-index: 2;
  gap: 8px;
  padding: 0 100px 0;
  margin-top: 320px;
  opacity: 0;
  visibility: hidden;
}

.page-mv__title-eng {
  font-family: "Inter", "Helvetica Neue", "Arial", "Hiragino Sans", "Meiryo", sans-serif;
  font-weight: 600;
  font-size: 72px;
  line-height: 1;
  color: #40466d;
  letter-spacing: 0.05em;
  clip-path: inset(0);
}

.page-mv__title-eng .word {
  display: inline-flex !important;
  align-items: center;
}

.page-mv__title-eng .char {
  transform: translateY(30%);
  opacity: 0;
  overflow: hidden;
}

.page-mv__title-jpn {
  font-family: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 1;
  letter-spacing: 0.1em;
  color: #a9895e;

}

.page-mv__bg {
  position: absolute;
  width: clamp(90rem, 100vw, 160rem);
  aspect-ratio: 2560/1260;
  margin-top: -120px;
  /* aspect-ratio: 1440 / 527; */
  mask-image: linear-gradient(to right, black 40%, transparent 80%, transparent 100%);
  mask-repeat: no-repeat;
  mask-size: 300% 100%;
  mask-position: var(--fadeFlow-mask-pos) 0;
  opacity: 0;
  visibility: hidden;
  z-index: 1;
}

.page-mv__bg video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

.page-content {
  position: relative;
  margin-top: 560px;
  z-index: 1;
}

/* ------- CASES-PAGE ------- */
.page-cases {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1440px;
  width: 100%;
  padding: 0 100px 0;
}

/* ページネーション */
.cases-pagenation {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 96px;
}

.cases-pagenation__list {
  display: flex;
  align-items: stretch;
  gap: 16px;
}

.cases-pagenation__item {
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.cases-pagenation__item>a {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Inter", "Helvetica Neue", "Arial", "Hiragino Sans", "Meiryo", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  color: #40466d;
  padding: 1.1em 0.9em;
  background-color: #fff;
  border: 1px solid #dde0ea;
  transition: all .5s ease;
}

.cases-pagenation__item.is-current {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Inter", "Helvetica Neue", "Arial", "Hiragino Sans", "Meiryo", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  color: #40466d;
  border: 1px solid #40466d;
  padding: 1.1em 0.9em;
}

@media (hover: hover) and (pointer: fine) {
  .cases-pagenation__item a:hover {
    border: 1px solid #40466d;
  }
}

.cases-pagenation__item a img {
  width: 8px;
  height: 10px;
  flex-shrink: 0;
}

.cases-pagenation__item .dots {
  display: flex;
  align-items: center;
  color: #40466d;
}

/* 施工実績リンクバナーボタン */
.btn-cases {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 0 100px 0;
  margin-top: 160px;
  margin-bottom: 40px;
  z-index: 2;
}

.btn-cases__wrap {
  display: block;
  max-width: 1160px;
  width: 100%;
  padding: 12px;
  background-color: #40466d;
}

.btn-cases__inner {
  padding: 40px;
  border-top: 1px solid #a9895e;
  border-bottom: 1px solid #a9895e;
}

.btn-cases__title {
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-cases__title-img01 {
  width: 59px;
  margin-right: 40px;
}

.btn-cases__title-img02 {
  width: 112px;
  margin-left: 26px;
  margin-top: -8px;
}

.btn-cases__title-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.btn-cases__title-eng {
  font-family: "Inter", "Helvetica Neue", "Arial", "Hiragino Sans", "Meiryo", sans-serif;
  font-size: 40px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.1em;
  color: #fff;
}

.btn-cases__title-jpn {
  font-family: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.1em;
  color: #fff;
}

/* ------- CONTACT-PAGE ------- */
.page-contact {
  max-width: 860px;
  width: 100%;
  padding: 0 100px 0;
}

.page-contact__text {
  margin-bottom: 64px;
  text-align: justify;
}

/* ------- THANKS-PAGE ------- */
.page-thanks {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 860px;
  width: 100%;
  padding: 40px 100px 100px;
}

.page-thanks__title-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

.page-thanks__title-box h2 {
  font-family: "Inter", "Helvetica Neue", "Arial", "Hiragino Sans", "Meiryo", sans-serif;
  font-size: 52px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.1em;
  color: #40466d;
  font-style: italic;
}

.page-thanks__title-box p {
  line-height: 2;
  letter-spacing: 0.08em;
  text-align: center;
}

.page-thanks a {
  display: block;
  font-size: 16px;
  letter-spacing: 0.08em;
  line-height: 1;
  white-space: nowrap;
  color: #40466d;
  margin-top: 48px;
  padding: 1.2em 3.6em;
  background-color: #fff;
  border: 1px solid #40466d;
  border-radius: 6px;
  transition: all .5s ease;
}

@media (hover: hover) and (pointer: fine) {
  .page-thanks a:hover {
    background-color: #40466d;
    color: #fff;
  }
}

/* ------- SERVICE-PAGE ------- */
.page-service {
  max-width: 1440px;
  width: 100%;
  padding: 0 100px 0;
}

.page-service__btns {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-service__btn {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 12px;
  max-width: 400px;
  width: 100%;
  transition: all .5s ease;
}

.page-service__btn-sub {
  font-family: "Inter", "Helvetica Neue", "Arial", "Hiragino Sans", "Meiryo", sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.08em;
  color: #afb1b9;
  display: flex;
  align-items: center;
  gap: 4px;
}

.page-service__btn-sub::before {
  content: "";
  display: block;
  background-image: url(../images/service/tri.svg);
  width: 7px;
  height: 7px;
}

.page-service__btn-main {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  padding: 24px 40px;
  width: 100%;
  border-top: 1px solid #afb1b9;
  border-bottom: 1px solid #afb1b9;
}

.page-service__btn-main-text {
  font-family: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.1em;
  color: #40466d;
}

.page-service__btn-main-arrow {
  display: block;
  width: 33px;
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  transition: all .5s ease;
}

@media (hover: hover) and (pointer: fine) {
  .page-service__btn:hover .page-service__btn-main-arrow {
    transform: translateY(-40%);
  }
}

/* 事業内容 - タイトル */
.page-service__wrap {
  width: 100%;
  padding-top: 160px;
}

.page-service__title {
  display: flex;
  align-items: end;
  justify-content: left;
  padding: 24px 0;
  border-bottom: 1px solid #afb1b9;
  gap: 16px;
}

.page-service__title-sub {
  font-family: "Inter", "Helvetica Neue", "Arial", "Hiragino Sans", "Meiryo", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.1em;
  color: #40466d;
  writing-mode: vertical-rl;
}

.page-service__title-num-wrap {
  clip-path: inset(0);
}

.page-service__title-num {
  display: block;
  font-family: "Inter", "Helvetica Neue", "Arial", "Hiragino Sans", "Meiryo", sans-serif;
  font-size: 96px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.1em;
  color: #a9895e;
  transform: translateY(10%);
}

.page-service__title-text {
  font-family: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  font-size: 27px;
  font-weight: 400;
  line-height: 1.2;
  color: #afb1b9;
  border-left: 1px solid #afb1b9;
  padding: 0 16px;
}

/* 事業内容 - メイン */
.page-service__main {
  display: flex;
  width: 100%;
  margin-top: 88px;
  padding: 0 24px;
  gap: 56px;
}

.page-service__main-text {
  width: 54%;
}

.page-service__main-text>h2 {
  font-family: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  font-size: 48px;
  font-weight: 600;
  color: #40466d;
  letter-spacing: 0.05em;
  line-height: 1.4;
}

.page-service__main-text>p {
  font-size: 16px;
  line-height: 2;
  text-align: justify;
  margin-top: 48px;
}

.page-service__main-img {
  width: 46%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.page-service__main-img-anim {
  opacity: 0;
  visibility: hidden;
}

.page-service__main-img-anim--01 {
  width: 500px;
}

.page-service__main-img-anim--02 {
  width: 520px;
}

/* 事業内容 - 詳細 */
.page-service__detail {
  display: flex;
  flex-direction: column;
  gap: 56px;
  margin-top: 56px;
}

.page-service__detail-item {
  width: 100%;
  display: flex;
  gap: 24px;
}

.page-service__detail-img {
  width: 53%;
  position: relative;
}

.page-service__detail-img img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-service__detail-text {
  width: 47%;
  padding: 40px 40px 56px;
  border-top: 1px solid #afb1b9;
  border-bottom: 1px solid #afb1b9;
}

.page-service__detail-sub {
  font-family: "Inter", "Helvetica Neue", "Arial", "Hiragino Sans", "Meiryo", sans-serif;
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.08em;
  line-height: 1;
  color: #afb1b9;
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-service__detail-sub::before {
  content: "";
  display: block;
  background-image: url(../images/service/tri-line.svg);
  width: 8px;
  height: 8px;
}

.page-service__detail-text>h3 {
  font-family: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  font-size: 26px;
  font-weight: 600;
  color: #40466d;
  letter-spacing: 0.1em;
  line-height: 1.4;
  margin-top: 8px;
}

.page-service__detail-text>p {
  font-size: 16px;
  line-height: 2;
  text-align: justify;
  margin-top: 24px;
}

/* ------- COMPANY-PAGE ------- */
.page-company {
  max-width: 1440px;
  width: 100%;
  padding: 0 100px 0;
}

.page-company__list {
  display: grid;
  grid-template-columns: 200px 1fr;
  column-gap: 24px;
}

.page-company__list-term,
.page-company__list-detail {
  border-bottom: 1px solid #d7d9e1;
  padding: 2em 1em;
}

.page-company__list-term {
  font-weight: 600;
}

.page-company__list-detail {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
}

.page-company__list-detail-item {
  display: flex;
  align-items: start;
  gap: 0.5em;
}

.page-company__list-detail-item::before {
  content: "・";
  display: block;
}

.page-company__map {
  width: 100%;
  height: 490px;
  margin-top: 96px;
}

/* ------- PRIVACY-PAGE ------- */
.page-privacy {
  max-width: 1440px;
  padding: 0 100px 0;
}

.page-privacy p,
.page-privacy h2,
.page-privacy ul li {
  text-align: justify;
}

.page-privacy h2 {
  font-weight: 600;
  margin-top: 2.5em;
  margin-bottom: 1em;
  border-bottom: 1px solid #d7d9e1;
  padding: 0.5em 0;
}

.page-privacy ul {
  margin-top: 16px;
}

.page-privacy ul li {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 4px;
}

.page-privacy ul li::before {
  content: "・";
  display: block;
}

.page-privacy a {
  color: #005fcc;
  border-bottom: 1px solid #005fcc;
}

/* ------- 404-PAGE ------- */
.page-404 {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 140px;
  max-width: 1440px;
  width: 100%;
  padding: 0 100px 0;
}

.page-404__title {
  margin-top: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: "Inter", "Helvetica Neue", "Arial", "Hiragino Sans", "Meiryo", sans-serif;
  font-weight: 600;
  line-height: 1;
}

.page-404__title-main {
  font-size: 72px;
  letter-spacing: 0.08em;
  color: #40466d;
}

.page-404__title-sub {
  font-size: 22px;
  letter-spacing: 0.1em;
  color: #a9895e;
}

.page-404__text {
  text-align: center;
  margin-top: 40px;
}

/* =========================
   Tablet
========================= */

@media screen and (max-width: 1024px) {

  /* === header / nav === */
  .nav__list {
    display: none;
  }

  .menu__bg-sp {
    display: none;
  }

  /* === footer === */
  .footer {
    align-items: start;
    padding: 80px 80px 60px;
    gap: 24px;
  }

  .footer__wrap {
    align-items: start;
    gap: 24px;
  }

  .footer__inner {
    flex-direction: column-reverse;
    align-items: start;
  }

  .footer__co {
    margin-top: 56px;
  }

  .footer__co-name {
    gap: 16px;
  }

  .footer__co-name-logo {
    width: 153px;
  }

  .footer__co-name-text {
    gap: 6px;
  }

  .footer__co-name-text-sub {
    font-size: 14px;
  }

  .footer__co-name-text-main {
    font-size: 22px;
  }

  .footer__co-add {
    gap: 10px;
    margin-top: 24px;
  }

  .footer__co-add-text {
    flex-direction: column;
    align-items: start;
    gap: 10px;
  }

  .footer__co-add-tel {
    gap: 16px;
  }

  .footer__nav {
    align-items: start;
    gap: 32px;
  }

  .footer__nav-main {
    flex-direction: column;
    align-items: start;
    font-size: 18px;
    gap: 24px;
  }

  .footer__nav-sub {
    flex-direction: column;
    align-items: start;
    font-size: 16px;
    gap: 18px;
  }

  /* === mv === */
  .mv__wrap {
    height: auto;
    flex-direction: column-reverse;
    justify-content: start;
    padding: 160px 40px 40px;
    gap: 60px;
  }

  .mv__title {
    position: static;
    width: 100%;
    transform: translateY(0);
  }

  .mv__logo {
    width: 26vw;
  }

  .mv__copy {
    font-size: 4.6vw;
  }

  .mv__copy-sub {
    font-size: 2.3vw;
  }

  .mv__copy-eng {
    font-size: 1.6vw;
  }

  .mv__pics {
    position: static;
    width: 100%;
    transform: translateY(0);
    gap: 36px;
    margin-top: 0;
  }

  .mv__pic-bottom {
    gap: 36px;
  }

  .nav__contact {
    display: none;
  }

  .mv__bg {
    transform: translateX(10%);
    width: 160%;
  }

  /* === about us === */
  .about {
    height: auto;
    margin-top: 40px;
  }

  .about__wrap {
    flex-direction: column-reverse;
    padding: 0 40px 120px;
    gap: 10vw;
  }

  .about__pics {
    width: 100%;
    height: 88vw;
  }

  .about__pic--top {
    width: 80vw;
  }

  .about__pic--btm {
    width: 50vw;
  }

  .about__content {
    width: 100%;
    margin-top: 5.5vw;
  }

  .about__heading {
    font-size: 3.2vw;
    white-space: nowrap;
  }

  .about__category {
    font-size: 2.3vw;
  }

  .about__number {
    font-size: 2.3vw;
  }

  .about__title {
    font-size: 2.6vw;
  }

  .about__text {
    width: 100%;
    font-size: 2vw;
  }

  .about__bg {
    width: 160%;
  }

  /* === service === */
  .service {
    padding: 12vw 6.9vw;
  }

  .service__inner {
    grid-template-columns: repeat(1, 1fr);
    gap: 4.4vw;
    margin-top: 8vw;
  }

  .service__item {
    gap: 4vw;
  }

  .service__image {
    width: 50%;
  }

  .service__textbox {
    width: calc(100% - 22.2vw);
  }

  .service__subtitle {
    font-size: 2vw;
  }

  .service__subtitle::after {
    margin-top: 0.6vw;
  }

  .service__title {
    font-size: 3vw;
  }

  .service__text {
    font-size: 2vw;
  }

  .service__btn-detail {
    font-size: 2vw;
    margin-top: 8vw;
  }

  /* === cases === */
  .cases__wrap {
    padding: 0 60px 0;
    margin-top: 60px;
  }

  .cases__inner {
    padding: 64px 40px;
  }

  .cases__content {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }

  .cases__item {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .cases__title {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 16px;
  }

  .cases__title-tag {
    font-size: 12px;
  }

  .cases__title-text {
    font-size: 16px;
  }

  .cases__category {
    border-left: none;
    padding-left: 0;
  }

  .cases__category-tag {
    font-size: 12px;
  }

  .cases__category-text {
    font-size: 16px;
  }

  .cases__btn-more {
    font-size: 16px;
    margin-top: 48px;
  }

  /* === contact === */
  .contact__inner {
    align-content: start;
    grid-template-columns: 1fr;
    padding: 64px;
    gap: 32px;
    margin-top: 32px;
    border-radius: 20px;
  }

  .contact__mail {
    padding: 36px !important;
  }

  /* === title-h2 === */
  .title__eng {
    font-size: 7.2vw;
  }

  .title__line {
    height: 0.72vw;
  }

  .title__jpn {
    font-size: 2.4vw;
  }

  .title-tate {
    flex-direction: column;
    align-items: center;
    color: #40466d;
    margin: 0 auto;
  }

  .title-tate__eng {
    font-size: 7.2vw;
    writing-mode: horizontal-tb;
  }

  .title-tate__line {
    width: 100%;
    height: 0.72vw;
    background: linear-gradient(to right, #a9895e 0%, #a9895e 10%, transparent 100%);
    margin-top: 8px;
    margin-left: 0;
  }

  .title-tate__jpn {
    font-size: 2.4vw;
    writing-mode: horizontal-tb;
    margin-top: 0.5em;
    margin-left: 0;
  }

  /* ------- 下層ページ共通 ------- */

  .page-mv__title {
    gap: 8px;
    padding: 0 40px 0;
    margin-top: 260px;
  }

  .page-mv__title-eng {
    font-size: 56px;
  }

  .page-mv__title-jpn {
    font-size: 20px;
  }

  .page-mv__bg {
    margin-top: -180px;
  }

  .page-content {
    margin-top: 440px;
  }

  /* ------- CASES-PAGE ------- */

  .page-cases {
    padding: 0 40px 0;

  }

  /* ページネーション */
  .cases-pagenation {
    margin-top: 64px;
  }

  .cases-pagenation__list {
    gap: 16px;
  }

  .cases-pagenation__item a img {
    width: 8px;
    height: 10px;
  }

  /* 施工実績リンクバナーボタン */
  .btn-cases {
    padding: 0 40px 0;
    margin-top: 100px;
    margin-bottom: 0;
  }

  .btn-cases__wrap {
    padding: 12px;
  }

  .btn-cases__inner {
    padding: 40px;
  }

  .btn-cases__title-img01 {
    width: 59px;
    margin-right: 40px;
  }

  .btn-cases__title-img02 {
    width: 112px;
    margin-left: 26px;
    margin-top: -8px;
  }

  .btn-cases__title-box {
    gap: 8px;
  }

  .btn-cases__title-eng {
    font-size: 40px;
  }

  .btn-cases__title-jpn {
    font-size: 20px;
  }


  /* ------- THANKS-PAGE ------- */

  .page-thanks {
    padding: 40px 100px 100px;
  }

  .page-thanks__title-box {
    gap: 48px;
  }

  .page-thanks__title-box h2 {
    font-size: 52px;
  }

  .page-thanks__title-box p {
    text-align: justify;
    font-size: 16px;
  }

  .page-thanks a {
    font-size: 16px;
    margin-top: 48px;
    padding: 1.2em 3.6em;
  }

  /* ------- SERVICE-PAGE ------- */
  .page-service {
    padding: 0 40px 0;
  }

  .page-service__btns {
    gap: 24px;
  }

  .page-service__btn {
    gap: 12px;
  }

  .page-service__btn-sub {
    gap: 4px;
  }

  .page-service__btn-sub::before {
    content: "";
    display: block;
    background-image: url(../images/service/tri.svg);
    width: 7px;
    height: 7px;
  }

  .page-service__btn-main {
    padding: 24px 40px;
  }

  .page-service__btn-main-text {
    font-size: 18px;
  }

  .page-service__btn-main-arrow {
    width: 33px;
  }

  /* 事業内容 - タイトル */
  .page-service__wrap {
    padding-top: 80px;
  }

  .page-service__title {
    padding: 24px 0;
    gap: 16px;
  }

  .page-service__title-sub {
    font-size: 16px;
  }

  .page-service__title-num {
    font-size: 96px;
    transform: translateY(10%);
  }

  .page-service__title-text {
    font-size: 27px;
    padding: 0 16px;
  }

  /* 事業内容 - メイン */
  .page-service__main {
    margin-top: 56px;
    gap: 24px;
  }

  .page-service__main-text {
    width: 40%;
  }

  .page-service__main-text>h2 {
    font-size: 40px;
  }

  .page-service__main-text>p {
    font-size: 16px;
    margin-top: 40px;
  }

  .page-service__main-img {
    width: 60%;
    padding: 16px;
  }

  .page-service__main-img-anim--01 {
    width: 500px;
  }

  .page-service__main-img-anim--02 {
    width: 520px;
  }

  /* 事業内容 - 詳細 */
  .page-service__detail {
    gap: 56px;
    margin-top: 56px;
  }

  .page-service__detail-item {
    width: 100%;
    display: flex;
    gap: 24px;
  }

  .page-service__detail-img {
    width: 40%;
    position: relative;
  }

  .page-service__detail-text {
    width: 60%;
    padding: 40px;
    border-top: 1px solid #afb1b9;
    border-bottom: 1px solid #afb1b9;
  }

  .page-service__detail-sub {
    font-size: 16px;
    gap: 8px;
  }

  .page-service__detail-sub::before {
    width: 8px;
    height: 8px;
  }

  .page-service__detail-text>h3 {
    font-size: 28px;
    margin-top: 16px;
  }

  .page-service__detail-text>p {
    font-size: 16px;
    margin-top: 16px;
  }

  /* ------- COMPANY-PAGE ------- */
  .page-company {
    padding: 0 40px 0;
  }

  .page-company__map {
    margin-top: 80px;
  }

  /* ------- PRIVACY-PAGE ------- */
  .page-privacy {
    padding: 0 40px 0;
  }

  /* ------- 404-PAGE ------- */
  .page-404 {
    margin-top: 80px;
    padding: 0 40px 0;
  }

}

/* =========================
   Mobile
========================= */

@media screen and (max-width: 590px) {

  /* === opening === */
  .opening__logo {
    width: 86px;
  }

  /* === header / nav === */
  .nav {
    margin: 16px;
  }

  .nav__wrap {
    height: auto;
    padding: 8px 16px;
    gap: 42px;
  }

  .nav__logo {
    width: 200px;
    transform: translateY(2px);
  }

  .nav__contact-tel {
    font-size: 18px;
  }

  .nav__contact-mail {
    font-size: 16px;
  }

  /* === breadcrumb === */
  .breadcrumb {
    margin: 96px 16px 0;
    gap: 4px;
  }

  .breadcrumb li {
    font-size: 12px;
  }

  /* === footer === */
  .footer {
    padding: 64px 32px 48px;
    gap: 24px;
  }

  .footer__co {
    margin-top: 48px;
  }

  .footer__co-name {
    gap: 6px;
  }

  .footer__co-name-logo {
    width: 25.6vw;
  }

  .footer__co-name-text {
    gap: 1.6vw;
  }

  .footer__co-name-text-sub {
    font-size: 3.2vw;
  }

  .footer__co-name-text-main {
    font-size: 4.8vw;
  }

  .footer__co-add {
    gap: 10px;
    margin-top: 24px;
  }

  .footer__co-add-text {
    font-size: 3.7vw;
    gap: 2.6vw;
  }

  .footer__co-add-tel {
    font-size: 3.7vw;
    gap: 4.2vw;
  }

  .footer__nav {
    gap: 16px;
  }

  .footer__nav-main {
    font-size: 18px;
    gap: 12px;
  }

  .footer__nav-sub {
    font-size: 14px;
    gap: 8px;
  }

  /* === hamburger / menu === */
  .hamburger {
    width: 28px;
    gap: 4px;
  }

  .menu__btn-close {
    top: 44px;
    right: 34px;
    width: 28px;
    height: 4px;
  }

  .menu__btn-close span:nth-child(1) {
    transform: rotate(20deg);
  }

  .menu__btn-close span:nth-child(2) {
    transform: rotate(-20deg);
  }

  .menu__bg-pc {
    display: none !important;
  }

  .menu__bg-sp {
    display: block !important;
    width: 100% !important;
    opacity: 1 !important;
  }

  /* === more-btn === */
  .more__btn {
    height: 44px;
    font-size: 14px;
    padding: 0.8em 4em;
    margin-top: 32px;
  }

  /* === mv === */
  .mv__wrap {
    height: 100dvh;
    justify-content: center;
    padding: 88px 7vw 7vw;
    gap: 5.4vh;
  }

  .mv__logo {
    width: 40vw;
  }

  .mv__copy {
    font-size: 6.6vw;
  }

  .mv__copy-sub {
    font-size: 3.3vw;
  }

  .mv__copy-eng {
    font-size: 2.6vw;
  }

  .mv__pics {
    gap: 24px;
  }

  .mv__pic-bottom {
    gap: 16px;
  }

  .mv__pic--top {
    width: 38vh;
  }

  .mv__pic--middle {
    margin-bottom: 8px;
  }

  .mv__bg {
    aspect-ratio: 750 / 1800;
    transform: translateX(0%);
    width: 100%;
  }

  .mv__bg-anim {
    display: none;
  }

  .mv__bg-anim-sp {
    display: block;
    width: 100%;
    height: 100%;
    transform: scale(1.05);
    opacity: 1;
  }

  /* === about us === */
  .about__wrap {
    flex-direction: column-reverse;
    padding: 0 32px 64px;
    gap: 56px;
  }

  .about__pics {
    width: 100%;
    height: 82vw;
    gap: 6.4vw;
  }

  .about__pic--top {
    width: 70vw;
  }

  .about__pic--btm {
    width: 50vw;
  }

  .about__content {
    width: 100%;
    margin-top: 5.5vw;
  }

  .about__heading {
    font-size: 5.3vw;
  }

  .about__category {
    font-size: 14px;
    margin-top: 1.5em;
  }

  .about__number {
    font-size: 14px;
  }

  .about__title {
    font-size: 17px;
    margin-top: 0.8em;
  }

  .about__text {
    width: 100%;
    font-size: 14px;
    margin-top: 0.6em;
  }

  .about__bg {
    width: 100%;
    aspect-ratio: 750 / 1260;
    transform: scale(1);
    bottom: 0;
    right: 0;
  }

  .about__bg-anim {
    display: none;
  }

  .about__bg-anim-sp {
    display: block;
    width: 100%;
    height: 100%;
  }

  /* === service === */
  .service {
    padding: 56px 32px;
  }

  .service__inner {
    margin-top: 40px;
    gap: 32px;
  }

  .service__item {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 32px 24px;
  }

  .service__item::before {
    top: -16px;
    left: 14px;
    font-size: 44px;
  }

  .service__item::after {
    top: 16px;
    right: 12px;
    font-size: 12px;
  }

  .service__image {
    width: 60%;
  }

  .service__textbox {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .service__subtitle {
    width: 100%;
    text-align: center;
    font-size: 12px;
  }

  .service__subtitle::after {
    margin-top: 8px;
  }

  .service__title {
    font-size: 18px;
  }

  .service__text {
    font-size: 14px;
  }

  .service__btn-detail {
    font-size: 16px;
    margin-top: 40px;
    border-radius: 6px;
    padding: 0.8em 3.2em;
  }

  /* === cases === */
  .cases__wrap {
    padding: 0 24px 0;
    margin-top: 40px;
  }

  .cases__inner {
    padding: 40px 16px;
  }

  .cases__content {
    gap: 24px;
  }

  .cases__item {
    padding: 16px 8px;
    gap: 12px;
  }

  .cases__title {
    grid-template-columns: 80px 1fr;
    gap: 16px;
  }

  .cases__title-tag {
    font-size: 12px;
  }

  .cases__title-text {
    font-size: 14px;
  }

  .cases__category-tag {
    font-size: 12px;
  }

  .cases__category-text {
    font-size: 14px;
  }

  .cases__btn-more {
    font-size: 16px;
    margin-top: 32px;
  }

  /* === contact === */
  .contact {
    padding: 0 24px 0;
    margin-top: 64px;
    margin-bottom: 64px;
  }

  .contact__inner {
    grid-template-columns: 1fr;
    padding: 32px 24px 40px;
    gap: 24px;
    margin-top: 24px;
    border-radius: 8px;
  }

  .contact__item a {
    height: auto;
    border-radius: 6px;
    padding: 18px 24px;
    margin-top: 8px;
  }

  .contact__tel-num {
    gap: 8px;
  }

  .contact__tel-num-text {
    font-size: 5.8vw;
  }

  .contact__tel-time {
    gap: 8px;
    margin-top: 4px;
  }

  .contact__tel-time-head {
    font-size: 2.9vw;
  }

  .contact__tel-time-text {
    font-size: 3.2vw;
  }

  .contact__mail {
    padding: 28px !important;
  }

  .contact__mail-text {
    font-size: 4.4vw;
  }

  .contact__icon--tel {
    width: 4.2vw;
  }

  .contact__icon--mail {
    width: 4.8vw;
  }

  .contact__bg {
    aspect-ratio: 1 / 1;
  }

  .contact__bg-anim {
    display: none;
  }

  .contact__bg-anim-sp {
    display: block;
    width: 100%;
    height: 100%;
  }

  /* === title-h2 === */
  .title__eng {
    font-size: 36px;
  }

  .title__line {
    height: 4px;
  }

  .title__jpn {
    font-size: 16px;
  }

  .title-tate__eng {
    font-size: 36px;
  }

  .title-tate__line {
    height: 4px;
    margin-top: 8px;
  }

  .title-tate__jpn {
    font-size: 18px;
  }

  /* ------- 下層ページ共通 ------- */

  .page-mv__title {
    gap: 8px;
    padding: 0 24px 0;
    margin-top: 164px;
  }

  .page-mv__title-eng {
    font-size: 36px;
  }

  .page-mv__title-jpn {
    font-size: 16px;
  }

  .page-mv__bg {
    width: 760px;
    margin-top: -72px;
  }

  .page-mv__bg video {
    opacity: 0.7;
  }

  .page-content {
    margin-top: 272px;
  }

  /* ------- CASES-PAGE ------- */

  .page-cases {
    padding: 0 24px 0;
  }

  /* ページネーション */
  .cases-pagenation {
    margin-top: 32px;
  }

  .cases-pagenation__list {
    gap: 6px;
  }

  .cases-pagenation__item a {
    font-size: 14px;
    padding: 0.7em 0.6em;
  }

  .cases-pagenation__item.is-current {
    font-size: 14px;
    padding: 0.7em 0.6em;
  }

  .cases-pagenation__item a img {
    width: 8px;
    height: 10px;
  }

  .cases-pagenation__item .dots {
    font-size: 14px;
  }

  /* 施工実績リンクバナーボタン */
  .btn-cases {
    padding: 0 24px 0;
    margin-top: 64px;
    margin-bottom: 0;
  }

  .btn-cases__wrap {
    padding: 6px;
  }

  .btn-cases__inner {
    padding: 28px;
  }

  .btn-cases__title-img01 {
    width: 32px;
    margin-right: 20px;
  }

  .btn-cases__title-img02 {
    width: 60px;
    margin-left: 12px;
    margin-top: -4px;
  }

  .btn-cases__title-box {
    gap: 6px;
  }

  .btn-cases__title-eng {
    font-size: 26px;
  }

  .btn-cases__title-jpn {
    font-size: 14px;
  }

  /* ------- CONTACT-PAGE ------- */
  .page-contact {
    padding: 0 24px 0;
  }

  .page-contact__text {
    font-size: 14px;
    margin-bottom: 40px;
  }

  /* ------- THANKS-PAGE ------- */

  .page-thanks {
    padding: 40px 40px 40px;
  }

  .page-thanks__title-box {
    gap: 28px;
  }

  .page-thanks__title-box h2 {
    font-size: 36px;
  }

  .page-thanks__title-box p {
    font-size: 14px;
  }

  .page-thanks a {
    font-size: 14px;
    margin-top: 28px;
  }

  /* ------- SERVICE-PAGE ------- */
  .page-service {
    padding: 0 24px 0;
  }

  .page-service__btns {
    gap: 16px;
  }

  .page-service__btn {
    gap: 12px;
  }

  .page-service__btn-sub {
    font-size: 10px;
    gap: 2px;
  }

  .page-service__btn-sub::before {
    width: 7px;
    height: 7px;
  }

  .page-service__btn-main {
    padding: 16px 4px;
    justify-content: left;
  }

  .page-service__btn-main-text {
    font-size: 3.2vw;
  }

  .page-service__btn-main-arrow {
    width: 6vw;
    right: 4px;
  }

  /* 事業内容 - タイトル */
  .page-service__wrap {
    padding-top: 64px;
  }

  .page-service__title {
    padding: 16px 0;
    gap: 8px;
  }

  .page-service__title-sub {
    font-size: 50%;
    transform-origin: center bottom;
  }

  .page-service__title-num {
    font-size: 48px;
    transform: translateY(10%);
  }

  .page-service__title-text {
    font-size: 14px;
    padding: 0 8px;
  }

  /* 事業内容 - メイン */
  .page-service__main {
    margin-top: 24px;
    padding: 0;
    gap: 16px;
    flex-direction: column-reverse;
  }

  .page-service__main-text {
    width: 100%;
  }

  .page-service__main-text>h2 {
    font-size: 24px;
  }

  .page-service__main-text>p {
    font-size: 14px;
    margin-top: 16px;
  }

  .page-service__main-img {
    width: 100%;
    padding: 14px;
  }

  .page-service__main-img-anim--01 {
    width: 250px;
  }

  .page-service__main-img-anim--02 {
    width: 260px;
  }

  /* 事業内容 - 詳細 */
  .page-service__detail {
    gap: 40px;
    margin-top: 48px;
  }

  .page-service__detail-item {
    width: 100%;
    gap: 24px;
    flex-direction: column;
    padding: 0 16px;
  }

  .page-service__detail-img {
    width: 100%;
    height: 217px;
  }

  .page-service__detail-text {
    width: 100%;
    padding: 0 0 32px;
    border-top: none;
    border-bottom: 1px solid #afb1b9;
  }

  .page-service__detail>.page-service__detail-item:last-child>.page-service__detail-text:last-child {
    border-bottom: none;
  }

  .page-service__detail-sub {
    font-size: 12px;
    gap: 6px;
  }

  .page-service__detail-sub::before {
    width: 8px;
    height: 8px;
  }

  .page-service__detail-text>h3 {
    font-size: 20px;
    margin-top: 8px;
  }

  .page-service__detail-text>p {
    font-size: 14px;
    margin-top: 8px;
  }

  /* ------- COMPANY-PAGE ------- */
  .page-company {
    padding: 0 24px 0;
  }

  .page-company__list {
    grid-template-columns: 1fr;
    column-gap: 0;
  }

  .page-company__list-term,
  .page-company__list-detail {
    font-size: 14px;
    padding: 0.5em 0.5em;
  }

  .page-company__list-detail {
    display: flex;
    flex-direction: column;
    gap: 0.25em;
  }

  .page-company__list-detail-item {
    gap: 0.25em;
  }

  .page-company__map {
    height: 272px;
    margin-top: 40px;
  }

  /* ------- PRIVACY-PAGE ------- */
  .page-privacy {
    padding: 0 24px 0;
    font-size: 14px;
  }

  .page-privacy h2 {
    margin-top: 1em;
    margin-bottom: 0.6em;

  }

  /* ------- 404-PAGE ------- */
  .page-404 {
    margin-top: 80px;
    padding: 0 24px 0;
  }

  .page-404__title {
    margin-top: 100px;
    ;
  }

  .page-404__title-main {
    font-size: 56px;
  }

  .page-404__title-sub {
    font-size: 18px;
  }

  .page-404__text {
    text-align: justify;
    font-size: 14px;
    margin-top: 24px;
  }

  /* Wordpress管理バー位置調整 */
  #wpadminbar {
    top: -46px !important;
  }

}


/* =========================
   Responsive Settings
========================= */

/* --- デフォルト（PC） --- */
.tb-only,
.sp-only,
.tb-sp-only {
  display: none;
}

/* --- タブレットサイズ（1024px以下） --- */
@media screen and (max-width: 1024px) {
  .pc-only {
    display: none;
  }

  .tb-only,
  .tb-sp-only {
    display: block;
    /* もしspan等に使うなら contents や initial も検討 */
  }
}

/* --- スマホサイズ（590px以下） --- */
@media screen and (max-width: 590px) {

  .tb-only,
  .pc-tb-only {
    display: none;
  }

  .sp-only {
    display: block;
  }

  .tb-sp-only {
    display: block;
  }
}