@charset "utf-8";

body {
  font-family: "Roboto", sans-serif, "Noto Sans JP", sans-serif;
  color: #333;
  font-size: 16px;
}
a {
  text-decoration: none;
}
a:hover {
  opacity: 0.8;
}
img {
  max-width: 100%;
}
p {
  letter-spacing: 0.1em;
}
.section-heading {
  font-size: 2.25rem;
  letter-spacing: 0.3em;
  text-align: center;
  line-height: 1.8rem;
  position: relative;
}
.section-subheading {
  font-size: 1.3rem;
  letter-spacing: 0.3rem;
}

@media screen and (max-width: 767px) {
  body {
    font-size: 14px;
  }
  .section-heading {
    font-size: 1.5rem;
    line-height: 1.3rem;
  }
  .section-subheading {
    font-size: 1rem;
  }
  .section-heading::after {
    top: -10px;
  }
}
/*================================================
    ↓↓↓　header　↓↓↓
=================================================*/
.header {
  width: 100%;
  height: 100vh;
  background-image: url(../images/header-bg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
.header-wrapper {
  width: 100%;
  height: 80px;
  color: #000;
  background-color: rgba(251, 250, 247, 0.5);
  position: fixed;
  transition: 1s;
  z-index: 999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 50px;
}
.header-logo {
  width: 300px;
}

.ham-btn {
  display: none;
}
.header-nav_menu {
  display: flex;
  gap: 30px;
}
/*スクロールしたときのheaderデザイン jQueryでclass付与*/
.change-color {
  color: #333;
  background-color: rgba(246, 241, 229, 0.9);
  transition: 1s;
}
/* page-title */
.page-title {
  color: #000e7f;
  font-size: clamp(2.6rem, 7vw + 3rem, 6.25rem);
  font-weight: bold;
  letter-spacing: 0.2em;
  text-align: center;
  padding-top: 190px;
}
.page-subtitle {
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
}
.page-comment {
  font-size: 1.5rem;
  font-weight: bold;
  line-height: 1.8em;
  text-align: center;
  padding-top: 100px;
}
.sp-br {
  display: none;
}

@media screen and (max-width: 767px) {
  .header-wrapper {
    padding: 0 20px;
  }
  .header-logo {
    width: 170px;
  }

  /*ハンバーガーメニュー*/
  .ham-btn {
    width: 39px;
    height: 39px;
    display: block;
    position: absolute;
    right: 20px;
  }
  /*メニュー閉じたときの3本線*/
  .bar {
    width: 20px;
    height: 2px;
    display: block;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333333;
    z-index: 99;
  }
  .bar-top {
    top: 10px;
    transition: 0.5s;
  }
  .bar-middle {
    top: 50%;
    transition: 0.5s;
  }
  .bar-bottom {
    bottom: 10px;
    transition: 0.5s;
  }
  /*メニュー開いた時の3本線*/
  .ham-btn.close .bar {
    background-color: #fff;
  }
  .ham-btn.close .bar-top {
    transform: translate(-50%, 10px) rotate(45deg);
    transition: 0.5s;
  }
  .ham-btn.close .bar-middle {
    opacity: 0;
    transition: 0.5s;
  }
  .ham-btn.close .bar-bottom {
    transform: translate(-50%, -7px) rotate(-45deg);
    transition: 0.5s;
  }
  .header-nav {
    visibility: hidden;
    opacity: 0;
  }
  /*開いたメニュー*/
  .header-nav.fade {
    visibility: visible;
    opacity: 1;
    width: 50vw;
    height: 100vh;
    background-color: rgba(52, 57, 46, 0.8);
    position: fixed;
    top: 0;
    right: 0;
    z-index: 2;
    transition: all 1s;
  }
  .header-nav_menu {
    color: #fff;
    display: block;
    position: absolute;
    top: 20%;
    left: 30%;
    transform: translateX(-50%);
  }
  .header-nav-menu_list {
    margin-bottom: 40px;
  }
  /* page-title */
  .page-title {
    letter-spacing: 0;
  }
  .page-subtitle {
    font-size: 17px;
  }
  .page-comment {
    font-size: 17px;
    font-weight: bold;
    line-height: 1.5;
    text-align: center;
    padding: 100px 20px 0 20px;
  }
  .sp-br {
    display: block;
  }
}

/*================================================
    ↓↓↓　contact-cta　↓↓↓
=================================================*/
.contact-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 186px;
}
.contact-cta-left,
.contact-cta-right {
  width: 30%;
}
.cta1,
.cta2 {
  width: 100%;
  height: 270px;
  object-fit: cover;
  object-position: center;
  overflow: hidden;
}
.contact-cta-inner {
  width: 40%;
  text-align: center;
  background-color: #9fbcce;
  padding: 50px 20px;
}
.contact-cta_heading {
  font-size: clamp(3rem, 4vw + 1rem, 5rem);
  color: #fff;
  line-height: 0.8em;
  margin-bottom: 30px;
}
.contact-cta-heading-sub {
  font-size: clamp(1.375rem, 2vw + 1rem, 2.25rem);
}
.contact-cta-text {
  font-size: 14px;
  line-height: 1.7em;
  margin-bottom: 30px;
}
.to-contact-btn {
  width: 250px;
  height: 63px;
  line-height: 63px;
  font-size: 1.25rem;
  color: #fff;
  text-align: center;
  display: block;
  background: linear-gradient(125deg, #fdcb04 0%, #fde998 100%);
  border-radius: 0 10px;
  position: relative;
  overflow: hidden;
  margin: 0 auto;
}
.to-contact-btn::after {
  width: 100%;
  height: 100%;
  position: absolute;
  content: "";
  top: 0;
  left: -100%;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0) 28%,
    rgba(255, 255, 255, 0.75) 32%,
    rgba(255, 255, 255, 0.75) 78%,
    rgba(255, 255, 255, 0) 82%
  );
  animation: shine-loop 3s linear infinite;
}
@keyframes shine-loop {
  0% {
    transform: translateX(0);
  }
  10% {
    transform: translateX(200%);
  }
  100% {
    transform: translateX(200%);
  }
}

@media screen and (max-width: 767px) {
  .contact-cta {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 86px;
  }
  .contact-cta-left,
  .contact-cta-right {
    width: 100%;
  }
  .sp-cta1 {
    width: 100%;
    height: 120px;
    object-fit: cover;
    object-position: center;
  }
  .sp-cta2 {
    width: 100%;
    height: 120px;
    object-fit: cover;
    object-position: top;
  }
  .contact-cta-inner {
    width: 100%;
  }
  .contact-cta-text {
    letter-spacing: 0;
  }
  .to-contact-btn {
    width: 200px;
    height: 40px;
    line-height: 40px;
  }
}

/*================================================
    ↓↓↓　footer　↓↓↓
=================================================*/

.footer {
  position: relative;
}
.footer-illust {
  width: 100%;
  height: 91px;
  object-fit: cover;
  position: absolute;
  top: -90px;
}
.footer-wrapper {
  background-color: #a1b8c7;
  padding: 20px 20px 10px 20px;
}
.footer-logo {
  height: 40px;
  margin-bottom: 20px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-nav-menu {
  font-size: 0.8rem;
  color: #fff;
  display: flex;
  gap: 30px;
  justify-content: left;
}
.copyright {
  font-size: 0.75rem;
  color: #dbdbdb;
  text-align: right;
  margin: 7px 0;
}
.pageTop {
  width: 50px;
  position: fixed;
  right: 30px;
  bottom: 40px;
}

@media screen and (max-width: 767px) {
  .footer-illust {
    height: 77px;
    top: -73px;
  }

  .footer-wrapper {
    padding: 10px 20px 10px 20px;
  }
  .footer-logo {
    margin-bottom: 10px;
  }
  .footer-nav-menu {
    font-size: 0.6rem;
    column-gap: 15px;
    row-gap: 10px;
    flex-wrap: wrap;
    justify-content: left;
  }
  .copyright {
    font-size: 0.6rem;
  }
  .pageTop {
    width: 40px;
    right: 20px;
    bottom: 60px;
  }
}
