@charset "UTF-8";

/* 基本設定 */

:root {
  --space-top: clamp(6.25rem, 0.6944rem + 11.5741vw, 9.375rem);
  --main-color: #00164B
}

body {
  background-color: var(--main-color);
  color: #fff;
  font-family: fot-tsukuaoldmin-pr6n, sans-serif;
  font-weight: 300;
  font-style: normal;
}

p {
  font-family: hiragino-kaku-gothic-pron, sans-serif;
  font-weight: 300;
  font-style: normal;
  letter-spacing: .1em;
  line-height: 1.8;
}

a {
  text-decoration: none;
  color: #fff;
}

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

article img {
  display: block;
  margin: 0 auto;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.midashi {
  /* font-size: clamp(2rem, 0.2222rem + 3.7037vw, 3rem); */
  font-size: clamp(2rem, -2rem + 8.3333vw, 4.25rem);
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  letter-spacing: .18em;
}

.midashi span {
  display: block;
  font-size: 16px;
  color: #fff;
  letter-spacing: .1em;
  margin-top: 5px;
}

.copy {
  font-family: fot-tsukuaoldmin-pr6n, sans-serif;
  font-weight: 300;
  font-style: normal;
  font-size: 32px;
  line-height: 1.5;
  letter-spacing: 0;
  margin: 2rem 0;
}

.innner-contents {
  max-width: 768px;
  margin: 0 auto;
}

@media screen and (min-width: 1200px) {
  .innner-contents {
    max-width: 1200px;
  }

}

/* アニメーション付き「ご相談はこちら」ボタン */
.ctaBtn {
  display: inline-block;
  text-align: center;
  padding: 1rem 2.5rem;
  background-color: var(--main-color);
  position: relative;
  transition: color 0.5s ease;
}

.ctaBtn:hover {
  color: var(--main-color);
}

.ctaBtn:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.ctaBtn::before {
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: #fff;
  border: #00164B 1px solid;
  transform: scaleX(0);
  transform-origin: right;
  transition: all 0.5s ease;
  transition-property: transform;
}

.text {
  position: relative;
  letter-spacing: .1em;
  font-size: 21px;
}

.ctaBtn-wrapper {
  position: relative;
  padding-right: 45px;
}

.ctaBtn-wrapper::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  display: block;
  width: 65px;
  height: 0.5px;
  background-color: var(--main-color);
}

.ctaBtn-wrapper::before {
  content: "";
  position: absolute;
  top: 40%;
  right: 0;
  transform: rotate(40deg);
  display: block;
  width: 15px;
  height: 0.5px;
  background-color: var(--main-color);
}

.ctaBtn2 {
  display: inline-block;
  text-align: center;
  padding: 1rem 2.5rem;
  background-color: var(--main-color);
  position: relative;
  transition: color 0.5s ease;
  border: #fff 1px solid;

}

.ctaBtn2:hover {
  color: var(--main-color);
}

.ctaBtn2:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.ctaBtn2::before {
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: #fff;
  /* border: #00164B 1px solid; */
  transform: scaleX(0);
  transform-origin: right;
  transition: all 0.5s ease;
  transition-property: transform;
}

.ctaBtn2::after {
  content: "";
  display: block;
  width: 65px;
  height: 20px;
  background-image: url(../images/decoration/arrow-w.png);
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  top: 50%;
  right: -50px;
  transform: translateY(-50%);
}

.ctaBtn-wrapper2 {
  text-align: center;
}


/* フェードイン */

.fade-left {
  opacity: 0;
  transition: opacity 2s ease, transform 2s ease;
  transform: translateX(-30px);
}

.fade-right {
  opacity: 0;
  transition: opacity 2s ease, transform 2s ease;
  transform: translateX(30px);
}

.fade-up {
  opacity: 0;
  transition: opacity 2s ease, transform 2s ease;
  transform: translateY(50px);
}

.fade-left.active,
.fade-right.active,
.fade-up.active {
  opacity: 1;
  transform: translate(0, 0);
}

.delay-1 {
  transition-delay: 0.5s;
}

/* header */

header {
  display: flex;
  justify-content: space-between;
  padding: clamp(1rem, -3.7692rem + 7.6923vw, 2rem);
  position: fixed;
  width: 100%;
  z-index: 100;
}

#logo {
  width: 105px;
}

.sp-header {
  display: flex;
  align-items: center;
  gap: 28px;
}

#menuBtn span {
  display: block;
  width: 25px;
  height: 3px;
  border-radius: 30px;
  background-color: #fff;
  margin: 6px auto;
  transition: all 0.3s ease-in-out;
}

.nav-menu {
  letter-spacing: .1em;
  width: 50vw;
  height: 100vh;
  background-color: var(--main-color);
  position: absolute;
  right: -50vw;
  top: 0;
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 10rem 0 0 2rem;
  transition: right 0.3s ease;
}

.nav-menu.active {
  right: 0;
}

/* オーバーレイ */
#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 50vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease-in-out;
  z-index: 98;
}

/* オーバーレイ表示 */
#overlay.active {
  opacity: 1;
  visibility: visible;
}

.contactBtn a {
  background: linear-gradient(180deg, #AA9765 45.98%, #938256 99.99%);
  color: #000;
  padding: 5px 10px;
  display: inline-block;
  font-size: 14px;
}

@media screen and (min-width: 1200px) {

  #logo {
    width: 58px;
  }

  .nav-menu {
    width: auto;
    height: auto;
    background-color: transparent;
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 3rem;
    padding: 0;
  }

  .nav-menu li {
    position: relative;
    font-size: 12px;
  }

  .nav-menu li::before {
    content: '';
    display: block;
    background-color: #fff;
    width: 1px;
    height: 12px;
    position: absolute;
    left: -1.5rem;
    top: 50%;
    transform: translateY(-50%);
  }

  .contactBtn {
    margin-left: 20px;
  }

  .nav-menu li.contactBtn::before {
    left: -44px;
  }

}

/* footer */

footer {
  background-color: #fff;
}

#footer-menu {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  padding: 2rem 0;
}

#footer-menu li {
  position: relative;
}

#footer-menu li a {
  color: #333;
}

#footer-menu li::before {
  content: '';
  display: block;
  background-color: #aaa;
  width: 1px;
  height: 16px;
  position: absolute;
  left: -1.5rem;
  top: 50%;
  transform: translateY(-50%);
}

#footer-menu li:last-of-type:after {
  content: '';
  display: block;
  background-color: #aaa;
  width: 1px;
  height: 16px;
  position: absolute;
  right: -1.5rem;
  top: 50%;
  transform: translateY(-50%);
}

.footer-contents {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5rem;
  margin-bottom: 3rem;
}

footer small {
  display: block;
  background-color: var(--main-color);
  padding: 12px 0;
  text-align: center;
  color: #fff;
  letter-spacing: .15em;
}

#footer-logo {
  width: 150px;
}

#footer-logo a {
  display: block;
  width: 100%;
  height: 100%;
}

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

  footer nav,
  footer .footer-contents {
    display: none;
  }
}