/* =============================================================
共通レイアウト
============================================================= */
.body {
  position: relative;
}
.body:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 60px;
  height: 100%;
  background-color: var(--color--primary);
}
.contents-wrapper {
  width: calc(100% - 40px);
  /* max-width: 600px; */
  margin-inline: auto;
}
.contents-wrapper-s {
  width: calc(100% - 100px);
  /* max-width: 600px; */
  margin-inline: auto;
}
/* responsive */

@media screen and (min-width: 1024px) {
  .contents-wrapper {
    width: calc(100% - 100px);
  }
}
.main-content {
  background-color: #fff;
}
.subpage-main-content {
  min-height: 70vh;
}
.layout-bg {
  position: relative;
  position: fixed;
  z-index: -2;
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}
.bg {
  position: absolute;
  left: 0;
  /* bottom: 0px; */
  bottom: 0;
  width: clamp(1000px, 80vw, 1500px);
  display: none;
}
.catch {
  position: absolute;
  right: 8%;
  top: 10px;
  width: clamp(100px, 15vh, 176px);
  display: none;
}
.top-sns {
  position: fixed;
  z-index: 500;
  right: 0;
  top: auto;
  width: 100%;
  bottom: 0;
}
/* responsive */

@media screen and (min-width: 1024px) {
  .layout-container {
    position: relative;
  }
  /* .layout-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    width: 60px;
    height: 100%;
    background-color: var(--color--primary);
  } */
  .main-content {
    width: clamp(400px, 40vw, 600px);
    margin-left: auto;
    margin-right: max(24%, 300px);
    box-shadow: 0px 4px 25px rgba(0, 0, 0, 0.25);
  }
  .top-sns {
    width: auto;
    right: 78px;
    bottom: 3vh;
    transform: translateY(-50%);
  }
  .bg,
  .catch {
    display: block;
  }
}
/* =============================================================
header
============================================================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 500;
  width: 100%;
  max-height: 68px;
  background-color: var(--color--btn);
}
.header-logo {
  width: 176px;
  /* height: 48px; */
}
/* .header-logo img,
.header-logo picture {
  display: inline-block;
  object-fit: contain;
} */
/* responsive */
@media screen and (min-width: 1024px) {
  .header {
    background-color: transparent;
  }
}
@media screen and (min-width: 1366px) {
  .header {
    position: absolute;
    height: 0;
    background-color: transparent;
    max-height: 68px;
  }
  .header-logo {
    width: clamp(556px, 45vw, 600px);
    margin-top: 15px;
    margin-inline: 62px 0;
  }
  .header-logo img,
  .header-logo picture {
    display: block;
  }
  .header-logo._pc-none {
    display: none;
  }
}

/* =============================================================
footer
============================================================= */
.footer {
  position: relative;
  background-color: var(--color--btn);
  color: #fff;
  padding-block: min(18vw, 100px);
}

.footer-list {
  display: flex;
  row-gap: 20px;
  column-gap: clamp(10px, 5vw, 40px);
  flex-wrap: wrap;
}

.footer-copyright {
  display: block;
  text-align: center;
}
/* responsive */
@media screen and (min-width: 1024px) {
  .footer {
    width: clamp(400px, 40vw, 600px);
    margin-left: auto;
    margin-right: max(24%, 300px);
  }
  .footer-list {
    justify-content: space-around;
  }
}

/* =============================================================
nav
============================================================= */
.nav {
  position: relative;
  height: 100%;
  background-color: #fff;
  padding-inline: 2rem;
  padding-block: 15% 40px;
}
.g-nav {
  display: flex;
  flex-direction: column;
  row-gap: 20px;
  column-gap: 30px;
  margin-bottom: 20px;
}
.g-nav-link {
  color: var(--color--primary);
  letter-spacing: -0.08em;
}
.message-link {
  max-width: 194px;
}
/* @media screen and (min-width: 1024px) {
  .g-nav {
    flex-direction: row;
    flex-wrap: wrap;
  }
} */
/* =============================================================
drawer menu
============================================================= */
.drawer {
  position: fixed;
  top: 0;
  right: -120%;
  transition: right 0.5s ease-in-out;
  z-index: 999;
  display: block;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
}
.drawer.is-open {
  right: 0;
}
.drawer-close {
  display: none;
}
@media screen and (min-width: 1024px) {
  .drawer {
    top: 0;
    right: 0;
    width: 20vw;
    /* height: 100vh; */
    /* max-height: 30vh; */
    border-radius: 16px;

    /* 初期：右斜め下に隠す */
    transform: translate(120%, 120%) scale(0.95);
    opacity: 0;

    transition:
      transform 0.45s cubic-bezier(0.4, 0, 0.2, 1),
      opacity 0.3s ease;

    will-change: transform;
  }
  .drawer.is-open {
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }
  .drawer-close {
    display: block;
    position: absolute;
    right: 20px;
    top: 0;
    width: 3rem;
    color: var(--color--primary);
    font-size: 3rem;
  }
}
/* @media screen and (min-width: 1366px) {
  .drawer {
    width: auto;
    position: static;
  }
} */
/* SP */
.menu-btn-img {
  display: none;
}
.hamburger-btn {
  display: flex;
  position: fixed;
  top: 15px;
  right: 15px;
  z-index: 9999;
  height: 38px;
  width: 38px;
  align-items: center;
}
.hamburger-btn .bar,
.hamburger-btn .bar:before,
.hamburger-btn .bar:after {
  content: "";
  display: block;
  height: 4px;
  width: 100%;
  background-color: #fff;
  position: absolute;
  transition: 0.5s;
  box-shadow: 0px 2px 5px rgba(85, 85, 85, 0.5);
}
.hamburger-btn .bar {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.hamburger-btn .bar:before {
  bottom: 10px;
}
.hamburger-btn .bar:after {
  top: 10px;
}

.hamburger-btn.is-active .bar {
  background-color: rgba(255, 255, 255, 0);
  box-shadow: 0px 0px 0px rgba(255, 255, 255, 0);
}

.hamburger-btn.is-active .bar::before {
  bottom: 0;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  background-color: var(--color--btn);
  box-shadow: 0px 2px 5px rgba(157, 0, 0, 0);
}

.hamburger-btn.is-active .bar::after {
  top: 0;
  transform: rotate(-45deg);
  background-color: var(--color--btn);
  box-shadow: 0px 2px 5px rgba(157, 0, 0, 0);
}
.drawer-overlay {
  position: fixed;
  z-index: 0;
  top: 0;
  left: 0;
  display: none;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}
.drawer-overlay.is-active {
  display: block;
}
/* PC */
@media (min-width: 1024px) {
  .hamburger-btn {
    display: none;
  }
  .menu-btn-img {
    position: fixed;
    z-index: 500;
    right: 110px;
    bottom: 30vh;
    display: block;
    cursor: pointer;
    width: 156px;
    height: 156px;
  }
}
/* =============================================================
SNS conponent
============================================================= */

.sns-list {
  display: flex;
  /* flex-direction: column; */
  justify-content: center;
  align-items: center;
  column-gap: 20px;
  row-gap: 15px;
  background-color: #fff;
  padding: 6px;
}
.sns-item {
  max-width: 40px;
  aspect-ratio: 1/1;
}
.sns-item a {
  display: inline;
}
@media screen and (min-width: 1024px) {
  .sns-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-radius: 20px;
    padding: 17px 30px;
  }
  .sns-item {
    max-width: 38px;
  }
}
/* =============================================================
button
============================================================= */
.more-btn {
  position: relative;
  display: block;
  width: clamp(278px, 80%, 383px);
  color: #fff;
  background-color: var(--color--btn);
  text-align: center;
  text-transform: capitalize;
  font-size: clamp(0.875rem, 0.9rem + 0.8vw, 1.25rem);
  letter-spacing: 0.1em;
  padding-inline: max(15px, 0.93vw);
  padding-block: 0.8rem;
  margin-inline: auto;
  border: 2px solid var(--color--btn);
}
.more-btn::after {
  content: "";
  display: inline-block;
  position: absolute;
  top: 50%;
  right: 18px;
  transform: translateY(-50%);
  width: clamp(15px, 5vw, 25px);
  height: clamp(15px, 5vw, 25px);
  background-image: url("../img/common/icon-arrow.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  vertical-align: middle;
  transition: right 0.3s ease;
}
.more-btn:hover::after {
  right: 10px;
  transition: right 0.3s ease;
  background-image: url("../img/common/icon-arrow-hover.svg");
}
.more-btn:hover {
  background-color: #fff;
  color: var(--color--btn);
  opacity: 1;
}
/* =============================================================
title
============================================================= */
.section-title {
  color: var(--color--secondry);
  text-align: center;
}
.section-title._left {
  text-align: left;
}
.section-title span {
  display: block;
  line-height: 1.5;
  letter-spacing: 0.1em;
}
.section-subtitle {
  color: var(--color--secondry);
  text-align: center;
}
.section-title._white {
  color: #fff;
}
