@charset "utf-8";

html {
  scroll-behavior: smooth;
}

/* header */
header {
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  width: 100%;
  position: sticky;
  box-sizing: border-box;
}

.navbar {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  padding: 5px;
}

/*==================================================
  　5-3-3 左から右に線が伸びる（下部）
  ===================================*/
.nav_border li a {
  /*線の基点とするためrelativeを指定*/
  position: relative;
}

.nav_border li.current a,
.nav_border li a:hover {
  color: #d1b86c;
}

.nav_border li a::after {
  content: '';
  /*絶対配置で線の位置を決める*/
  position: absolute;
  bottom: 15px;
  left: 10%;
  /*線の形状*/
  width: 80%;
  height: 2px;
  background: #d1b86c;
  /*アニメーションの指定*/
  transition: all .3s;
  transform: scale(0, 1);
  /*X方向0、Y方向1*/
  transform-origin: left top;
  /*左上基点*/
}

/*現在地とhoverの設定*/
.nav_border li.current a::after,
.nav_border li a:hover::after {
  transform: scale(1, 1);
  /*X方向にスケール拡大*/
}


.nav-link {
  font-size: 1.3rem;
  margin: 0 1rem;
  padding: 1rem 0;
}

.active {
  color: #505c5f !important;
}

/* header */

/* title */
.title {
  text-align: center;
  margin: 130px 0 80px 0;
  font-size: 3rem;
  color: #d1b86c;
  font-weight: bold;
  font-family: "Times New Roman", "游明朝", "Yu Mincho", "游明朝体", "YuMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "HiraMinProN-W3", "HGS明朝E", "ＭＳ Ｐ明朝", "MS PMincho", serif;
}

.text-link {
  padding-top: 20px;
  color: #505c5f;
}

.text-link strong {
  color: #505c5f;
}


.text-contents {
  padding-top: 20px;
  color: #505c5f;
}

.text-contents-text {
  padding-top: 20px;
  color: #505c5f;
  text-align: left;
}

.text-contents_title {
  color: #505c5f;
  margin-top: 30px;
  text-align: center;
  font-size: 2rem;
}



@media (max-width: 768px) {
  .title {
    font-size: 2rem;
    margin: 130px 0 80px 0;
  }
}

/* title */


/* /contents */
.button a {
  background: #d1b86c;
  border-radius: 9999px;
  position: relative;
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 20px auto;
  max-width: 400px;
  padding: 10px 25px;
  color: #fff;
  line-height: 1.8;
  text-decoration: none;
  transition: 0.3s ease-in-out;
  font-weight: 500;
  font-size: 1.5rem;
}

.button a:hover {
  background: #7a818c;
  color: #FFF;
}

.button a:after {
  content: '';
  width: 10px;
  height: 10px;
  border-top: 3px solid #fff;
  border-right: 3px solid #fff;
  transform: rotate(45deg) translateY(-50%);
  position: absolute;
  top: 50%;
  right: 30px;
  border-radius: 1px;
  transition: 0.3s ease-in-out;
}

.button a:hover:after {
  border-color: #FFF;
}

a.btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  text-decoration: none;
  max-width: 400px;
  margin: auto;
  padding: 1rem 4rem;
  font-weight: bold;
  background: #2b4a75;
  color: #fff;
  border-radius: 100vh;
  position: relative;
  transition: 0.5s;
  font-size: 1.3rem;
}

a.btn::before {
  content: '';
  position: absolute;
  top: calc(50% - 2px);
  right: 1em;
  transform: translateY(calc(-50% - 2px)) rotate(45deg);
  width: 10px;
  height: 1px;
  background: #fff;
}

a.btn::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 1em;
  transform: translateY(-50%);
  width: 50px;
  height: 1px;
  background-color: #fff;
}

a.btn:hover {
  background: #505c5f;
  color: #fff;
}

.w-pc {
  margin:0 auto;
  text-align: center;
  width: 500px;
  display: block;
}

.img-center {
  text-align: center;
}

.p-page {
  width: 700px;
  color: #333333;
  box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.22);
}

@media (max-width: 480px) {
  .p-page {
    width: 100%;
  }
}

/* /contents */

/* footer */

.footer {
  padding: 1rem;
  font-size: 15px;
  background: #505c5f;
  margin: 30px 0 0 0;
  /* margin: 5rem 0; */
}

.copyright {
  color: #fff;
  text-align: center;
  padding-top: 10px;
}

/* footer */