@charset "UTF-8";

:root{
  --text-color: #003A63;
  --bg-color: #B8D7E7;
  --point-color: #EC8785;
}
html{
  font-size: 62.5%;
}
body{
  font-family: "Segoe UI", "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 1.6em;
  font-weight: 500;
  color: var(--text-color);
  background: var(--bg-color);
  line-height: 1.8;
  letter-spacing: .05rem;
}
h1,h2,h3,h4,h5,h6{
  font-family: "Zen Maru Gothic", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-weight: 700;
}
::selection{
  background: var(--text-color);
  color: #fff;
}
a{
  text-decoration: none;
}
a:active, a:hover{
  color: var(--text-color);
  text-decoration: none;
  transition: all ease .3s;
}
img{
  max-width: 100%;
  height: auto;
  /*pointer-events: none;
  image-rendering: -webkit-optimize-contrast;
*/  -webkit-user-drag: none;
  user-drag: none;
}
a:hover img{
  transition: all ease .3s;
}
button:focus{
  outline: none;
}
.container{
  max-width: 1110px;
}

@media screen and (min-width: 768px) {
  body{
    font-size: 2em;
  }
}
header{
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media screen and (min-width: 992px) {
  header{
    margin-bottom: 20rem;
  }
}

/* 二本線ハンバーガーメニューボタン */
.hamburger-menu {
  width: 70px;
  height: 70px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  background: none;
  border: none;
  padding: 8px;
  transition: all 0.3s ease;
  position: fixed;
  top: 20px;
  z-index: 2000;
}

.hamburger-menu:hover {
  transform: scale(1.1);
}

.hamburger-line {
  width: 100%;
  height: 3px;
  background: var(--text-color);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* メニューが開いているときのアニメーション */
.hamburger-menu.active .hamburger-line:first-child {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-menu.active .hamburger-line:last-child {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ナビゲーションメニュー */
.nav-menu {
  text-align: center;
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  background: var(--bg-color);
  transition: right 0.3s ease;
  overflow-y: auto;
  z-index: 1500;
}

.nav-menu.active {
  right: 0;
}

.nav-menu ul {
  list-style: none;
  padding: 100px 0;
}

.nav-menu a {
  display: block;
  padding: 20px 30px;
  color: var(--text-color);
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
  transition: all 0.3s ease;
}

.nav-menu a:hover {
  color: #fff;
  padding-left: 40px;
}
@media screen and (min-width: 768px) {
  .nav-menu {
    right: -100%;
    width: 80vw;
  }
  .nav-menu a{
    font-size: 2.4rem;
  }
}
@media screen and (min-width: 992px) {
  .nav-menu {
    right: -100%;
    width: 60vw;
    height: 100vh;
  }
  .nav-menu a{
    font-size: 2.6rem;
  }
}

/* オーバーレイ */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 58, 99, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1400;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}


/* -------- 見出し共通 -------- */
.head{
  margin-bottom: 3rem;
}
.head h2{
  font-size: 4.6rem;
  color: var(--text-color);
}
.head-icon{
  background-size: 100%;
  display: inline-block;
  margin-left: 1.5rem;
}
@media screen and (min-width: 992px) {
  .head{
    margin-bottom: 4rem;
  }
  .head h2{
    font-size: 6rem;
  }
}

/* ---------- about ---------- */
.about{
  background: url(../img/bg-about-sp.png) no-repeat center top;
  background-size: 100%;
  padding: 10rem 0 15rem;
}
.about h2{
  font-size: 2.4rem;
  line-height: 1.8;
}

@media screen and (min-width: 768px) {
  .about{
    background: url(../img/bg-about.png) no-repeat center top;
    background-size: 95%;
    padding: 8rem 0;
  }
  .about h2{
    font-size: 3.8rem;
  }
}

@media screen and (min-width: 992px) {
  .about{
    background: url(../img/bg-about.png) no-repeat center top;
    background-size: 90%;
    padding: 12rem 0;
  }
  .about h2{
    font-size: 4.6rem;
  }
  .about__illust{
    margin-top: 1rem;
  }
}
@media screen and (min-width: 1200px) {
  .about{
    background-size: 80%;
  }
}
@media screen and (min-width: 1400px) {
  .about{
    background-size: 60%;
  }
}

/* ---------- topics ---------- */
.topics{
  padding: 6rem 0 0;
}
.topics .head-icon{
  background: url(../img/illust-03.png) no-repeat center center;
  background-size: 100%;
  width: 35px;
  height: 40px;
}
.topics dl{
  background: #fff;
  border-radius: 20px;
  padding: 2rem 2.5rem;
  margin-bottom: 2rem;
}
.topics dt{
  margin-bottom: 1rem;
}
.new-icon{
  display: inline-block;
  background: var(--point-color);
  color: #fff;
  font-size: 1.3rem;
  border-radius: 5px;
  padding: .1rem .8rem;
  margin-left: 1rem;
}
.topics__illust{
  text-align: right;
  margin-top: -28px;
}
.topics dd a{
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
@media screen and (min-width: 992px) {
  .topics .head{
    margin-top: 8rem;
  }
  .topics dl{
    padding: 2.5rem 3.5rem;
    margin-bottom: 3rem;
  }
  .topics dt{
    display: inline-block;
    width: 18%;
    vertical-align: middle;
    margin-bottom: 0;
  }
  .topics dd{
    display: inline-block;
    width: 80%;
    vertical-align: middle;
    margin-bottom: 0;
  }
  .topics__illust{
    margin-top: -50px;
  }
}

/*------ item ------*/
.item{
  padding: 4rem 0 10rem;
}
.item .head-icon{
  background: url(../img/illust-05.png) no-repeat center center;
  background-size: 100%;
  width: 90px;
  height: 75px;
}
.item h3{
  background: var(--text-color);
  color: #fff;
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 15px;
  width: 80%;
  font-size: 2rem;
  font-weight: 500;
  text-align: center;
  line-height: 1.5;
  margin-top: 4rem;
  margin-bottom: 0;
}
.item__wrap{
  text-align: center;
  margin-bottom: 2rem;
}
.item__bg{
  background: url(../img/bg-item.png) no-repeat center center;
  background-size: 100%;
  width: 90%;
  height: 430px;
  padding: 3rem;
  margin: 0 auto;
}
.item-title{
  font-size: 1.8rem;
  margin-bottom: 0;
}
.item-size{
  margin-top: 1rem;
}
.item__btn{
  position: relative;
  display: inline-block;
}
.item__btn::before{
  content: "";
  display: block;
  width: 40px;
  height: 55px;
  background: url(../img/illust-03.png) no-repeat center center;
  background-size: 100%;
  position: absolute;
  top: 0;
  left: -40px;
}
.item__btn::after{
  content: "";
  display: block;
  width: 20px;
  height: 30px;
  background: url(../img/illust-06.png) no-repeat center center;
  background-size: 100%;
  position: absolute;
  bottom: 10px;
  right: -20px;
}
.item__btn a{
  display: inline-block;
  background: url(../img/bg-btn.png) no-repeat center center;
  background-size: 100%;
  color: #fff;
  font-size: 1.8rem;
  font-weight: 700;
  padding: 5rem 3rem;
  transition: all ease .2s;
}
.btn-arrow{
  display: inline-block;
  width: 12px;
  margin-left: 1rem;
}

@media screen and (min-width: 768px) {
  .item{
    padding: 0 0 12rem;
  }
  .item h3{
    margin-top: 6rem;
    margin-bottom: 2.5rem;
  }
  .item__wrap{
    margin-bottom: .5rem;
  }
  .item__bg{
    background: url(../img/bg-item.png) no-repeat center center;
    background-size: 100%;
    width: 365px;
    height: 370px;
    padding: 3rem;
  }
  .item-title{
    font-size: 2rem;
    margin-top: 1.5rem;
    margin-bottom: 0;
  }
  .item-size{
    margin-top: 2.5rem;
  }
  .item__btn{
    margin-top: 6rem;
  }
}

@media screen and (min-width: 992px) {
  .item{
    padding: 0 0 12rem;
  }
  .item h3{
    width: 45%;
    font-size: 2.6rem;
    margin-top: 8rem;
    margin-bottom: 6rem;
  }
  .item__wrap{
    margin-bottom: 4rem;
  }
  .item__bg{
    background: url(../img/bg-item.png) no-repeat center center;
    background-size: 100%;
    width: 345px;
    height: 350px;
    padding: 3rem;
  }
  .item__btn{
    margin-top: 10rem;
  }
  .item__btn a:hover{
    transform: scale(1.1);
  }
}

/* ---------- story ---------- */
.story{
  padding: 10rem 0;
}
.story h2{
  font-size: 3rem;
  text-align: center;
  position: relative;
}
.story .head-icon::before{
  content: "";
  background: url(../img/illust-07.png) no-repeat center center;
  display: inline-block;
  background-size: 100%;
  width: 60px;
  height: 70px;
  position: absolute;
  top: -30px;
  left: 0;
}
.story .head-icon::after{
  content: "";
  background: url(../img/illust-08.png) no-repeat center center;
  display: inline-block;
  background-size: 100%;
  width: 52px;
  height: 85px;
  position: absolute;
  top: -40px;
  right: 0;
}

@media screen and (min-width: 768px) {
  .story{
    padding: 12rem 0;
  }
  .story h2{
    font-size: 4.5rem;
    width: 80%;
    margin: 0 auto;
  }
  .story .head-icon::before{
    content: "";
    width: 95px;
    height: 115px;
    position: absolute;
    top: -40px;
    left: 0;
  }
  .story .head-icon::after{
    content: "";
    width: 80px;
    height: 130px;
    position: absolute;
    top: -60px;
    right: 0;
  }
}

@media screen and (min-width: 992px) {
  .story h2{
    font-size: 4.5rem;
    width: 60%;
  }
}


.contents__img img{
  margin-bottom: 3rem;
  border-radius: 20px;
}
@media screen and (min-width: 992px) {
  .contents__img img{
    margin-bottom: 4rem;
  }
}


/*------ author ------*/
.author{
  padding: 6rem 0 4rem;
}
.author h2{
  font-size: 3rem;
  text-align: center;
  position: relative;
}
.author .head-icon::before{
  content: "";
  background: url(../img/illust-09.png) no-repeat center center;
  display: inline-block;
  background-size: 100%;
  width: 90px;
  height: 80px;
  position: absolute;
  top: -30px;
  left: 0;
}
.author .head-icon::after{
  content: "";
  background: url(../img/illust-10.png) no-repeat center center;
  display: inline-block;
  background-size: 100%;
  width: 80px;
  height: 50px;
  position: absolute;
  top: -30px;
  right: 30px;
}
@media screen and (min-width: 768px) {
  .author{
    padding: 12rem 0;
  }
  .author h2{
    font-size: 4.5rem;
    width: 80%;
    margin: 0 auto;
  }
  .author .head-icon::before{
    content: "";
    width: 120px;
    height: 115px;
    position: absolute;
    top: -50px;
    left: 40px;
  }
  .author .head-icon::after{
    content: "";
    width: 100px;
    height: 65px;
    position: absolute;
    top: -30px;
    right: 80px;
  }
}

@media screen and (min-width: 992px) {
  .author{
    padding: 12rem 0 20rem;
  }
  .author h2{
    font-size: 4.5rem;
    width: 95%;
  }
}


/*------ to top ------*/
.to-top a{
  position: fixed;
  right: 0;
  bottom: 0;
  display: block;
  width: 70px;
  z-index: 1;
  padding: 15px;
  transition: all ease .3s;
}
.to-top a:hover{
  transform: scale(1.1);
  transition: all ease .3s;
}
@media screen and (min-width: 992px) {
  .to-top a{
    width: 80px;
  }
  .to-top a{
    right: 2%;
  }
}

/*------ footer ------*/
footer{
  background: #fff;
  position: relative;
  padding: 5rem 0 6rem;
  margin-top: 8rem;
}
footer::before{
  content: "";
  display: block;
  width: 100%;
  height: 80px;
  background:  url(../img/bg-footer.png) no-repeat center top;
  background-size: 200%;
  position: absolute;
  top: -18%;
  left: 0;
}
.footer__contact{
  font-size: 1.7rem;
  text-align: center;
  margin-bottom: 2rem;
}
.footer__contact--middle{
  font-size: 2.8rem;
  font-weight: 700;
}

@media screen and (min-width: 768px) {
  footer{
    padding: 8rem 0 6rem;
    margin-top: 10rem;
  }
  footer::before{
    content: "";
    display: block;
    width: 100%;
    height: 120px;
    background:  url(../img/bg-footer.png) no-repeat center top;
    background-size: 150%;
    position: absolute;
    top: -20%;
    left: 0;
  }
  .footer__contact{
    font-size: 2rem;
  }
  .footer__contact--middle{
    font-size: 3rem;
  }
  .footer__bottom{
    font-size: 1.8rem;
    padding-top: 3rem;
  }
}

@media screen and (min-width: 992px) {
  footer{
    padding: 12rem 0 5rem;
  }
  footer::before{
    content: "";
    display: block;
    width: 100%;
    height: 200px;
    background:  url(../img/bg-footer.png) no-repeat center top;
    background-size: 120%;
    position: absolute;
    top: -160px;
    left: 0;
  }
  .footer__bottom{
    padding-top: 4rem;
  }
}


