@charset "UTF-8";

/*==========================
common
==========================*/
html {
  font-size: 62.5%;
}
body {
  font-family: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  font-style: normal;
  color: #323232;
  background: #fff;
  line-height: 1.5;
  letter-spacing: 0.2rem;
}
img {
  max-width: 100%;
  height: auto;
}
p {
  font-size: 1.6rem;
  line-height: 1.7;
}
main {
  background: url(../images/background03.png) top center / contain no-repeat fixed;
}
h2 {
  font-size: 2.6rem;
  font-weight: bold;
  font-family: "Noto Sans";
  position: relative;
  padding: 1rem 2rem;
  border-bottom: 6px solid #588BAE;
  width: 400px;
  margin-bottom: 40px;
}

h2:before {
position: absolute;
bottom: -6px;
left: 0;
width: 20%;
height: 6px;
content: '';
background: #2E5773;
}
.spOnly {
  display: none;
}
.pcOnly {
  display: block;
}

/* header */
.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 35px 50px;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 1;
}
.header__logo {
  width: 35px;
  margin-right: 10px;
}
.header__topic {
  font-size: 2.5rem;
}
.header__topic a {
  display: flex;
  align-items: center;
}
.nav__list {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav__item {
  margin: 0 15px;
  font-size: 1.6rem;
}
.nav__item:not(.contact):hover {
  opacity: .7;
}
.nav__menu-sp,
.nav__hum {
  display: none;
}

/* フッター */
.footer {
  background: #2E5773;
}
.footer__content {
  padding: 30px 10px 20px;
  color: #fff;
}
.footerNav__list {
  display: flex;
  justify-content: center;
}
.footerNav__item {
  padding: 5px 15px;
  font-size: 1.4rem;
}
.copy {
  text-align: center;
  padding: 10px 0;
  color: #fff;
}
.copy small {
  font-size: 1.2rem;
}
@media screen and (max-width:769px) {
  main {
    background: none;
  }
  p {
    font-size: 1.4rem;
  }
  h2 {
    font-size: 2.3rem;
    font-weight: bold;
    font-family: "Noto Sans";
    position: relative;
    padding: 1rem 2rem;
    border-bottom: 6px solid #588BAE;
    width: 290px;
    margin-bottom: 15px;
  }
  h2:before {
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 20%;
    height: 6px;
    content: '';
    background: #2E5773;
    }
  .spOnly {
    display: block;
  }
  .pcOnly {
    display: none;
  }
  .subheading {
    text-align: center;
  }

  /* header */
  .header-flex {
    padding: 15px 0px 15px 15px;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1;
    align-items: center;
  }
  .header__logo {
    width: 25px;
    margin-right: 10px;
  }
  .nav__menu {
    display: none;
  }
  .nav__menu-sp,
  .nav__menu-sp > .nav__menu {
    display: block;
  }
  .nav__menu-sp {
    background: #fff;
    transform: translateX(-100%);
    transition: transform 0.4s;
    padding: 75px 10px;
    display: inline-block;
    width: 100%;
    margin-top: 70px;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2;
    color: #1a1a1a;
  }
  .nav__list {
    display: block;
  }
  .nav__item {
    padding: 20px 10px;
    border-top: 1px solid #1a1a1a;
    font-size: 1.5rem;
    position: relative;
    margin: 0;
  }
  .nav__item a {
    width: 100%;
    display: block;
  }
  .nav__item::before {
    content: "";
    width: 8px;
    height: 2px;
    background: #1a1a1a;
    position: absolute;
    top: 45%;
    right: 5%;
    transform: translateY(-50%) rotate(45deg);
  }
  .nav__item::after {
    content: "";
    width: 8px;
    height: 2px;
    background: #1a1a1a;
    position: absolute;
    top: 55%;
    right: 5%;
    transform: translateY(-50%) rotate(-45deg);
  }
  .nav__item:last-of-type {
    border-bottom: 1px solid #1a1a1a;
  }
  .nav__hum {
    /*ボタン内側の基点となるためrelativeを指定。
  追従するナビゲーションの場合はfixed＋top、rightといった位置をセットで指定*/
    display: block;
    position: relative;
    cursor: pointer;
    width: 50px;
    height: 50px;
  }
  /*ボタン内側*/
  .nav__hum span {
    display: inline-block;
    transition: all .4s;
    /*アニメーションの設定*/
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
    background: #fff;
    width: 45%;
  }
  .nav__hum span:nth-of-type(1) {
    top: 15px;
  }
  .nav__hum span:nth-of-type(2) {
    top: 23px;
  }
  .nav__hum span:nth-of-type(3) {
    top: 31px;
  }
  .header__topic {
    font-size: 1.8rem;
  }
  /*activeクラスが付与されると線が回転して×に*/
  .nav__hum.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
  }
  .nav__hum.active span:nth-of-type(2) {
    opacity: 0;
    /*真ん中の線は透過*/
  }
  .nav__hum.active span:nth-of-type(3) {
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
  }
  .nav__menu-sp.active {
    transform: translateX(0);
  }
  .nav__menu-sp  .contactBtn {
    margin-top: 75px;
  }
  .footer__content {
    padding: 25px 5px 25px;
    text-align: center;
  }
  .footerNav__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .footerNav__item {
    padding: 5px 10px;
    font-size: 1.4rem;
  }
  .copy {
    padding: 5px 0;
  }
  .copy small {
    font-size: 1rem;
  }
}
/* contactBtn */
.contactBtn {
  text-align: center;
  padding-bottom: 100px;
}
.contactBtn a {
  padding: 20px 30px;
  color: #fff;
  font-size: 1.6rem;
  border-radius: 100vh;
  background: linear-gradient(270deg, #d78045, #d2a02c, #d78045);
  background-size: 200% 200%;
  animation: GradientMove 3s ease infinite;
  --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
  overflow: hidden;
  position: relative;
  z-index: 1;
  transition: box-shadow 0.5s ease;
}
@keyframes GradientMove {
  0% { background-position: 0% 50% }
  50% { background-position: 100% 50% }
  100% { background-position: 0% 50% }
}
.contactBtn a:hover {
  --tw-shadow-color: rgba(246, 168, 59, 0.5);
  --tw-shadow: var(--tw-shadow-colored);
}
.contactBtn a span {
  position: relative;
  z-index: 2;
  color: #fff;
}

/* リキャプチャ */
.grecaptcha-badge { visibility: hidden; }