@charset "utf-8";


/* ===============================================
header
=============================================== */

header {
  width: 97%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  position: fixed;
  top: 35px;
  left: 0;
  right: 0;
  z-index: 100;
  gap: 15px;
  font-weight: 400;
}

/* ロゴ */
.l_hd_logo {
  width: 16%;
  height: 65px;
  min-width: 180px;
  display: flex;
  align-items: center;
  letter-spacing: 1pt;
}

.l_hd_logo a {
  display: block;
  width: 100%;
}

.l_header_left {
  width: 100%;
  padding: 0 40px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--cl_wh);
  border-radius: 10px;
  box-shadow: 0px 0px 20px 5px #64afff15;
}

.l_header_left a {
  display: inline-block;
  height: 100%;
  display: flex;
  align-items: center;
}

header ul {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 40px;
}

header ul li {
  height: 100%;
  list-style: none;
}

header ul li a {
  transition: all .3s;
}

header ul li a:hover {
  color: var(--cl_blue);
}

/* お問い合わせボタン */
.l_contact_btn {
  height: 70px;
  background: #FFE66E;
  border-radius: 10px;
  min-width: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0px 0px 20px 5px rgba(200, 235, 255, 0.28);
  transition: all .3s;
}

.l_contact_btn:hover {
  background: var(--cl_main);
  color: var(--cl_wh);
}

/* ===============================================
SPメニュー
=============================================== */

/* SPロゴ */
.sp_logo {
  display: none;
  position: absolute;
  top: 35px;
  left: 20px;
  width: 280px;
  z-index: 100;
}

.sp_logo a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

@media screen and (max-width: 450px) {
  .sp_logo img {
    width: 165px;
  }

  .sp_logo {
    top: 24px;
  }
}

/* ハンバーガーボタン */
.sp_btn {
  position: fixed;
  top: 15px;
  right: 15px;
  z-index: 333;
  width: 70px;
  height: 70px;
  cursor: pointer;
  background: var(--cl_wh);
  border-radius: 10px;
  box-shadow: 0px 0px 20px 5px #64afff15;
}

.sp_btn span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--cl_main);
  border-radius: 5px;
}

.sp_btn, .sp_btn span {
  display: inline-block;
  transition: all .5s;
  box-sizing: border-box;
}

.sp_btn span:nth-of-type(1) {
  top: 0;
}

.sp_btn span:nth-of-type(2) {
  top: 13px;
}

.sp_btn span:nth-of-type(3) {
  bottom: 0;
}

.sp_btn.active span:nth-of-type(1) {
  transform: translateY(14px) rotate(-45deg);
}

.sp_btn.active span:nth-of-type(2) {
  opacity: 0;
}

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

.sp_btn_wrap {
  width: 60%;
  height: 30px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@media screen and (max-width: 500px) {
  .sp_btn {
    width: 60px;
    height: 60px;
  }
}

/* 中身 */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--cl_bg_blue);
  visibility: hidden;
  opacity: 0;
  /* ふわっと表示 */
  transition: 0.3s ease-in-out;
  pointer-events: none;
  z-index: 200;
}

nav.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

nav ul {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
}

nav ul li {
  margin-bottom: 20px;
  list-style: none;
}

nav ul li a {
  font-size: clamp(28px, 5vw, 32px);
  letter-spacing: .1em;
}

nav ul .l_contact_btn {
  width: 35%;
  margin: 45px auto;
  min-width: 230px;
}

nav ul .l_contact_btn:hover {
  background: #FFE66E;
  color: #3B4B6C;
}

nav ul .l_contact_btn p {
  font-size: clamp(20px, 4vw, 23px);
}

.sp_btn {
  display: none;
}

@media screen and (max-width: 970px) {
  header {
    display: none;
  }

  .sp_btn {
    display: block;
  }

  .sp_logo {
    display: block;
  }

}

/* ===============================================
フッター
=============================================== */

footer {
  background: var(--cl_bg_blue);
  padding: 90px 0;
  position: relative;
}

#top footer {
  background: var(--cl_wh);
}

.footer_wrap {
  width: min(90%, 1200px);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}

.footer_logo {
  font-family: var(--ff_zenmaru);
}

.footer_logo p {
  font-size: clamp(13px, 1.8vw, 14px);
}

footer img {
  margin-bottom: 75px;
}

.footer_list ul {
  display: flex;
  align-items: center;
}

.footer_list ul li {
  font-size: 16px;
  list-style: none;
}

.footer_list ul li a {
  padding: 20px 25px;
  transition: all .3s;
}

.footer_list ul li a:hover {
  color: var(--cl_blue);
}

/* topに戻る */

.topback a {
  position: absolute;
  top: -55px;
  right: 1%;
  background-image: url(../image/icon/topback.png);
  background-size: contain;
  width: 120px;
  height: 120px;
  display: block;
  transition: all .3s;
}

.topback:hover a {
  top: -70px;
}

@media screen and (max-width: 890px) {
  .footer_wrap {
    flex-direction: column;
  }

  .footer_logo {
    display: contents;
  }

  footer img {
    width: 157px;
    margin-bottom: 25px;
  }

  .footer_logo p {
    order: 3;
    margin-top: 45px;
  }

  .footer_list ul li:first-child a {
    padding-left: 0;
  }
}

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

  footer {
    padding: 40px 0;
  }

  .footer_wrap {
    align-items: center;
    padding-top: 45px;
    padding-bottom: 15px;
  }

  .footer_list ul {
    flex-direction: column;
    gap: 10px;
  }

  .footer_list ul li:first-child a {
    padding-left: 25px;
  }
}