@charset "UTF-8";
/* CSS Document */
html {
  font-size: 62.5%;
  width: 100%;
}
* {
  box-sizing: border-box;
}
img {
  max-width: 100%;
  height: auto;
  -o-object-fit: cover;
  object-fit: cover;
}
body {
  color: #333;
  margin: 0;
  padding: 0;
  font-family: "Noto sans", sans-serif;
  font-weight: 500;
  font-size: 1.8rem;
  line-height: 2.4rem;
  text-align: center;
}
.zen-maru-gothic-regular {
  font-family: "Zen Maru Gothic", serif;
  font-weight: 400;
  font-style: normal;
}
.zen-maru-gothic-medium {
  font-family: "Zen Maru Gothic", serif;
  font-weight: 500;
  font-style: normal;
}
.zen-maru-gothic-bold {
  font-family: "Zen Maru Gothic", serif;
  font-weight: 700;
  font-style: normal;
}
.space-for-sp {
  display: none;
}
.space-for-pc {
  display: block;
}
/* header */
body {
  background-color: #fff;
  margin: 0;
  padding: 0;
}
#main {
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
}
#body-header {
  display: flex;
  justify-content: space-between;
  max-width: 1500px;
  max-height: 160px;
  margin: 0 auto;
  padding-top: 30px;
  padding-left: 50px;
  padding-right: 50px;
}
#body-header .header_logo {
  max-width: 17%;
}
nav {
  max-width: 85%;
  margin-top: auto;
  margin-bottom: auto;
}
.nav-menu li {
  margin-left: 22px;
}
#body-header .nav-menu li a {
  font-family: "Zen Maru Gothic", serif;
  font-weight: 500;
  font-size: 1.6rem;
  color: #0068b7;
}
/* main */
section {
  max-width: 1100px;
  margin: 0 auto;
  margin-bottom: 100px;
}
h1 {
  font-family: 'Zen Maru Gothic';
  font-weight: 700;
  vertical-align: middle;
  color: #0068b7;
  font-size: 4rem;
  height: 75px;
  width: 420px;
  align-content: center;
  position: relative;
  margin: 0 auto;
  margin-bottom: 60px;
}
h1::before {
  content: url(../img/deco_title_left.png);
  position: absolute;
  top: 34px;
  left: 0;
}
h1::after {
  content: url(../img/deco_title_right.png);
  position: absolute;
  top: 34px;
  left: 90%;
}
ul {
  display: flex;
  list-style: none;
}
li {
  margin-left: 35px;
}
a {
  text-decoration: none;
  color: #333;
  font-size: 1.8rem;
}
/* nav {
  margin-left: auto;
} */
/* .nav-menu a {
  font-size: 1.4rem;
} */
.nav-menu a:hover {
  opacity: 0.5;
}
.hamburger-menu {
  display: none;
}
/* footer */
.footer-detail {
  width: 100%;
  background-color: #e5f0f8;
  border-top: 3px dotted #80b3db;
  padding-top: 90px;
  padding-bottom: 40px;
}
.footer-linklist {
  max-width: 1250px;
  margin: 0 auto;
  /* padding-left: 30px; */
}
.footer-linklist ul li {
  display: inline-block;
  text-align: center;
  margin-right: 30px;
  margin-bottom: 40px;
  margin-left: 24px;
}
.footer-linklist ul li a {
  text-decoration: none;
  color: #0068b7;
  font-size: 1.4rem;
  letter-spacing: 1px;
}
.footer-detail img {
  width: 25%;
  margin-top: 40px;
}
.footer-text {
  width: 100%;
  background-color: #e5f0f8;
  padding-bottom: 40px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}
.footer-text p {
  color: #0068b7;
  font-size: 1.1rem;
  letter-spacing: 1.65px;
}
.footer-text p:first-child {
  color: #0068b7;
  font-size: 2rem;
}
/* トップに戻るボタン */
html {
  scroll-behavior: smooth;
}
.pagetop {
  height: 64px;
  width: 64px;
  position: fixed;
  right: 65px;
  background: #0068b7;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  z-index: 2;
  display: block;
  text-decoration: none;
  bottom: 50px;
}
.pagetop-arrow {
  height: 14px;
  width: 14px;
  border-top: 3px solid #fff;
  border-right: 3px solid #fff;
  margin-bottom: 54px;
  transform: translate(24px, 28px) rotate(-45deg);
}
.pagetop-text {
  font-family: 'Zen Maru Gothic';
  color: #333;
  font-weight: 600;
  letter-spacing: 1.5px;
}
@media (max-width : 768px) {
  /*--------- S追記↓↓↓↓↓----------- */
  body {
    margin: 0;
    overflow-x: hidden;
  }
/* 
  #sp_overflow {
    overflow: hidden;
  } */
  .header, .main, .footer, img {
    width: 100%;
  }
  .space-for-sp {
    display: block;
  }
  .space-for-pc {
    display: none;
  }
  header {
    display: none;
  }
  header#body-header {
    width: 768px;
    max-width: 100%;
    overflow: hidden;
    background-color: #fff;
    border-bottom: 2px dotted #80b3db;
  }
  .hamburger-menu {
    display: block;
  }
  .header-nav {
    display: none;
  }
  header img {
    display: block;
    /* width: auto;
    height: 45px; */
  }
  .menu-btn {
    position: fixed;
    top: 30px;
    right: 30px;
    display: flex;
    height: 40px;
    width: 40px;
    justify-content: center;
    align-items: center;
    z-index: 90;
    border: solid 1px #A2C789;
    border-radius: 5px;
    transition-duration: 0.5s;
  }
  /* 三本線 */
  .menu-btn span, .menu-btn span:before, .menu-btn span:after {
    content: "";
    display: block;
    height: 3px;
    width: 25px;
    border-radius: 3px;
    background-color: #0068b7;
    position: absolute;
  }
  .menu-btn span:before {
    bottom: 8px;
  }
  .menu-btn span:after {
    top: 8px;
  }
  /* チェックボックスを非表示 */
  #menu-btn-check {
    display: none;
  }
  .hamburger-contents {
    background-color: #e5f0f8;
    color: #333;
    position: fixed;
    width: 100%;
    height: 100%;
    max-width: 340px;
    top: 0;
    right: 0;
    margin: 0;
    padding: 0 10px;
    transition-duration: 0.5s;
    z-index: 1;
    overflow: auto;
    transform: translateX(110%);
  }
  #menu_btn_check:checked + .menu-btn {
    transform: translateX(340px);
    transition-duration: 0.5s;
  }
  .menu-close {
    display: block;
    background: #e5f0f8;
    text-align: right;
    margin-top: 30px;
    margin-bottom: 30px;
    margin-right: 30px;
  }
  #menu_btn_check:checked ~ label.menu-mask {
    display: block;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, .5);
    position: fixed;
    top: 0;
    left: 0;
  }
  .hamburger-menu input[type="checkbox"] {
    transform: translateX(-50vw);
    display: none;
  }
  .burger-wrap nav ul li a {
    text-decoration: none;
    list-style: none;
    color: #333;
    font-size: 1.8rem;
  }
  .burger-wrap {
    display: block;
    list-style: none;
  }
  /* メニューバー装飾 */
  .menu-btn {
    border: #f5a21b solid 2px;
    background-color: #fff;
  }
  .burger-wrap li {
    width: 300px;
    line-height: 25px;
    text-align: center;
    margin-left: 0;
    margin-bottom: 20px;
    font-size: 2rem;
    font-weight: 600;
    border-bottom: #80b3db 2px dotted;
  }
  .burger-wrap li a {
    text-decoration: none;
    color: #0068b7;
    font-family: "Zen Maru Gothic", sans-serif;
  }
  /* メニューバーXボタンの装飾 */
  .menu-close span {
    color: #0068b7;
    font-weight: bold;
    font-size: 24px;
  }
  /* メニューバーの配置 */
  #menu_btn_check:checked ~ .hamburger-contents {
    transform: translateX(0px);
  }
  /* メニューバーのサイズ */
  .hamburger-contents {
    height: auto;
    width: auto;
    padding-bottom: 5px;
  }
  /* グロナビ表示なし */
  .nav-menu {
    display: none;
  }
  /* h1 見出し部分装飾位置 */
  h1::before {
    top: 30px;
    left: 10%;
  }
  h1::after {
    top: 30px;
    left: 80%;
  }
  /* 各項目幅 */
  section {
    width: 700px;
    max-width: 100%;
    /* margin: 0 auto; */
    margin-bottom: 100px;
  }
  /* Sコーディング↑↑↑↑↑ */
  header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 2% 6%;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
    max-height: 160px;
  }
  #body-header .header_logo {
    max-width: 35%;
  }
  /* footer */
  .footer-detail {
    width: 100%;
    background-color: #e5f0f8;
    padding-top: 50px;
    padding-bottom: 30px;
  }
  .footer-linklist {
    display: block;
    width: 80%;
    border-bottom: dotted 1.5px #80b3db;
    padding-left: 0;
  }
  .footer-linklist ul {
    display: block;
  }
  .footer-linklist ul li {
    display: block;
    text-align: center;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 30px;
  }
  .footer-linklist ul li a {
    text-decoration: none;
    color: #0068b7;
    font-size: 1.3rem;
    letter-spacing: 1px;
  }
  .footer-detail img {
    width: auto;
    height: 50px;
    margin-top: 40px;
  }
  .footer-text {
    width: 100%;
    background-color: #e5f0f8;
    padding-bottom: 40px;
  }
  .footer-text p {
    color: #0068b7;
    font-size: 9px;
    letter-spacing: 1.5px;
  }
  .footer-detail {
    border-top: 2px dotted #80b3db;
  }
  /* トップに戻るボタン */
  html {
    scroll-behavior: smooth;
  }
  .pagetop {
    height: 40px;
    width: 40px;
    position: fixed;
    right: 40px;
    justify-content: center;
    align-items: center;
    z-index: 2;
    display: block;
    text-decoration: none;
    bottom: 30px;
  }
  .pagetop-arrow {
    height: 11px;
    width: 11px;
    margin-bottom: 25px;
    transform: translate(14px, 18px) rotate(-45deg);
  }
  .pagetop-text {
    color: #333;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1.1px;
  }
  .footer-linklist {
    display: none;
  }
}
@media (max-width : 480px) {
  .space-for-sp {
    display: block;
  }
  /* ヘッダー部分サイズ調整 */
  #body-header {
    padding: 20px;
  }
  #body-header .header_logo {
    max-width: 60%;
  }
  /* ハンバーガーメニュー */
  .menu-btn {
    top: 20px;
    right: 20px;
  }
  /* 幅 */
  section {
    width: 95%;
    max-width: 360px;
    /* margin: 0 auto; */
    margin-bottom: 100px;
  }
  /* h1 */
  .wrapper section h1 {
    width: 100%;
    font-size: 2.5rem;
    margin-bottom: 30px;
  }
  h1::before {
    left: 13%;
  }
  h1::after {
    left: 76%;
  }
  .footer-linklist {
    display: none;
  }
}

