@charset "UTF-8";

html {
  font-size: 62.5%;
  /* 16px * 62.5% = 10px */
  width: 100%;
  box-sizing: border-box;
  letter-spacing: 0.1em;
}

body {
  font-size: 1.6rem;
  color: #333;
  text-align: center;
  font-family: 'Shippori Mincho', serif;
  font-weight: 400;
  font-style: normal;
}

body h1 {
  font-size: 3.8rem;
  color: #333;
  font-family: 'Shippori Mincho', serif;
  font-weight: 500;
  font-style: normal;
}

body h2 {
  font-size: 3.2rem;
  color: #333;
  font-family: 'Shippori Mincho', serif;
  font-weight: 500;
  font-style: normal;
}

body h3 {
  font-size: 2.4rem;
  color: #333;
  font-family: 'Shippori Mincho', serif;
  font-weight: 500;
  font-style: normal;
}

body h4 {
  font-size: 2.0rem;
  color: #333;
  font-family: 'Shippori Mincho', serif;
  font-weight: 500;
  font-style: normal;
}

.sp-br {
  display: none;
}

@media(max-width:780px) {
  .pc-br {
    display: none;
  }
}

button {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  vertical-align: middle;
  text-align: inherit;
  font: inherit;
  -webkit-appearance: none;
  appearance: none;
}

::before, ::after {
  box-sizing: inherit;
}

/**header**/
header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  display: flex;
}

header nav {
  display: flex;
  margin: 0 0 0 auto;
}

header ul {
  display: flex;
  padding-top: 33px;
  font-family: ryo-display-plusn, serif;
}

header a {
  text-decoration: none;
  color: #272727;
  position: relative;
  display: inline-block;
  margin: 0 20px;
}

header h3 {
  padding-top: 33px;
  padding-left: 40px;
  color: #1F7C99;
}

header a:last-child {
  margin-right: 0;
}

header li a::after {
  position: absolute;
  bottom: -3px;
  left: 0;
  content: '';
  width: 100%;
  height: 1px;
  background: #1F7C99;
  transform: scale(0, 1);
  transform-origin: center top;
  transition: transform .3s;
}

header li a:hover::after {
  transform: scale(1, 1);
}

.header_wraper {
  display: flex;
  justify-content: space-between;
  padding-top: 33px;
  margin-left: 40%;
}

.cta_btn_b {
  display: none;
}

@media(max-width:780px) {
  header h3 {
    padding-top: 12px;
    padding-left: 15px;
    position: relative;
    z-index: 10000;
  }

  header nav img {
    height: 68px;
    width: 116px;
    position: fixed;
    top: 0px;
    right: 70px;
  }

  header a:last-child {
    margin: 0;
  }

  header a {
    margin: 0;
  }

  .menu {
    position: fixed;
    right: -100%;
    width: 100%;
    height: 100vh;
    margin-left: auto;
    /* メニューを縦に */
    display: flex;
    flex-direction: column;
    color: #efefef;
    background-color: #F0FCFF;
    transition: .3s;
    padding-top: 100px;
  }

  .menu.open {
    right: 0;
  }

  .menu-list {
    width: 100%;
    /*    height: 100%;*/
    /* メニューテキスト位置をリスト内中心に */
    display: flex;
    justify-content: flex-start;
    align-items: center;
  }

  .menu-list a {
    padding: 40px 0 0 40px;
  }

  .menu-list a:before {
    content: '';
    display: inline-block;
    position: relative;
    left: -5px;
    top: -2px;
    width: 8px;
    height: 8px;
    background: #1F7C99;
  }

  .btn {
    /* ボタンの配置位置  */
    position: fixed;
    top: 0px;
    right: 0px;
    /* ボタンの大きさ  */
    width: 70px;
    height: 68px;
    /* 最前面に */
    z-index: 1000;
    background-color: #262424;
    /* わかりやすいように */
  }

  .btn-line {
    display: block;
    position: relative;
    /* バーガー線の位置基準として設定 */
    width: 24px;
    /* 線の長さと高さ */
    height: 1px;
    margin: 10px 0 0 30px;
    background-color: #FCFCFC;
    /* バーガー線の色 */
    transition: .2s;
  }

  .btn-line_title::after {
    content: "MENU";
    display: inline-block;
    color: #fcfcfc;
    margin-top: 18px;
    font-size: 1.4rem;
  }

  .close-none {
    display: none;
  }

  .btn-line::before, .btn-line::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #FCFCFC;
    transition: .5s;
  }

  .btn-line::before {
    /* 上の線の位置 */
    transform: translateY(-9px);
    width: 38px;
    right: 0;
  }

  .btn-line::after {
    /* 下の線の位置 */
    transform: translateY(9px);
    width: 38px;
    right: 0;
  }

  /***** メニューオープン時 *****/
  .btn-line.open {
    background-color: transparent;
    /* 真ん中の線を透明に */
  }

  .btn-line.open::before, .btn-line.open::after {
    content: "";
    background-color: #fcfcfc;
    /* 上下の線の色を変える */
    transition: .2s;
  }

  .btn-line_title.open::after {
    content: "CLOSE";
    margin-top: 18px;
    display: inline-block;
    color: #fcfcfc;
  }

  .btn-line.open::before {
    transform: rotate(45deg);
    /* 上の線を傾ける */
  }

  .btn-line.open::after {
    transform: rotate(-45deg);
    /* 下の線を傾ける */
  }

  .cta_btn_b.open {
    display: block;
  }

}

/*headerここまで*/

/*footer*/
footer {
  background-color: #F4F4F4;
  text-align: left;
  position: relative;
}

footer h3 {
  color: #1F7C99;
  margin-bottom: 30px;
}

.footer_wraper {
  display: flex;
  justify-content: space-between;
  max-width: 920px;
  width: 85%;
  margin: auto;
  padding: 60px 0 138px;
}

.wraper-one h1 {
  margin-bottom: 25px;
}

.wraper-one p {
  font-size: 1.8rem;
  color: #1F7C99;
  margin-bottom: 6px;
}

.wraper-one span {
  line-height: 2.2rem;
}

.wraper-two {
  margin: auto 0 auto auto;
}

.wraper-two nav ul li {
  margin-bottom: 18px;
}

.wraper-two nav ul li a {
  list-style: none;
  text-decoration: none;
  color: #333333;
}

.wraper-two nav ul li:before {
  content: '';
  display: inline-block;
  position: relative;
  left: -5px;
  top: -2px;
  width: 8px;
  height: 8px;
  background: #1F7C99;
}

.top_button {
  background-image: url("../svg/top_button.svg");
  background-repeat: no-repeat;
  height: 194px;
  width: 20px;
  top: 0;
  right: 20px;
  position: absolute;
}

.form_th div {
  margin-right: 5px;
  min-width: 80px;
}

@media(max-width:780px) {
  .footer_wraper {
    display: block;
    /* padding: 118px 70px 101px 30px; こちらは不要  **要確認**/
    width: 85%;
  }

  .wraper-one {
    margin-right: 0;
    margin-bottom: 60px;
  }

  .form_th div {
    margin-right: 5px;
    min-width: unset;
  }
}

/*footerここまで*/
.small {
  background-color: #093E4E;
}

small {
  color: #FCFCFC;
  display: inline-block;
  padding: 17px 0 18px;
  font-size: 1.45rem;
}

@media(max-width:780px) {
  small {
    font-size: 1.4rem;
  }
}