

header {
  display: flex;
  padding: 16px 16px 40px 16px;

  border-bottom: solid 4px #31b7ab;
  background-image: url(../img/common/bg_header_left.png), url(../img/common/bg_header_right.png), none, url(../img/common/bg_header.png);
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat;
  background-position: left bottom, right 50px bottom,center center;
  justify-content: flex-end;
}

main {
  background-image: url(../img/bg_top.png),url(../img/common/bg_nav.png);
  background-repeat: no-repeat,repeat-x;
  background-position: center top , center top;
  min-height: 560px;
}

.contents {
  display: flex;
  width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.title-top {
  max-width: 350px;
  margin-top: 120px;
}

.topsubtitle {
  font-size: 1.2rem;
  color: #ffdf56;
  background-color: #08193a;
  padding: 4px;
  margin-bottom: 2px;
  display: inline-block;
}

.topsubtitlesub {
  color: #ffec9b;
  padding: 4px;
  margin-bottom: 2px;
  display: inline-block;
  font-size: 1.2rem;
  text-shadow: 1px 1px #000;
}

.title-top img {
  padding-top: 2.6rem;
}

.menulist-item {
  font-size: 1.6rem;
  font-weight: 700;
}

.topfooternav {
  background-color: #ffcc66;
  padding: 10px 0 10px;
}

.topnav-inner {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
}

.linkwataru {
  padding: 50px 0 0 130px;
  margin-top: 60px;
  margin-left: 32px;
  position: relative;
  z-index: 1;
}
.wataruimage {
  display: block;
  width: 220px;
  position: absolute;
  top: -16px;
  left: 0;
  z-index: 1;
}



.menulist {
  position: relative;
  margin-left: 40px;
}

.menulist-item {
  font-size: 2.0rem;
  position: relative;
  display: block;
  height: 120px;
}

.circle {
  background-color: #fff;
  border-radius: 50%;
  width: 170px;
  height: 130px;
  padding: 5px;
  margin-left: 0px;
  position: absolute;
  top: -40px;
  left: 30px;
}
.circle a {
  font-weight: bold;
  text-align: center;
  border: solid 1px rgba(210, 57, 108, 0.2);
  width: 160px;
  height: 120px;
  padding: 5px;
  display: block;
  border-radius: 50%;
  background-image: url(../img/common/icon_arrow01.png);
  background-repeat: no-repeat;
  background-position: center bottom 8px;
  background-size: 16px;
}

.en-circle {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 12px;
  height: 120px;
}

.menulist-item small {
  font-size: 1.6rem;
  font-weight: normal;
}

.menulist-item:not(.circle) small {
  position: absolute;
  margin-top: -10px;
  margin-left: -20px;
}

.menulist-item:not(.circle) span {
  font-weight: bold;
  display: flex;
  align-items: center;
  width: 150px;
  height: 72px;
  background-color: #ffcc66;
  border-radius: 8px;
  border : solid 2px #fff;
  padding-left: 70px;
  background-image: url(../img/common/icon_arrow01.png);
  background-repeat: no-repeat;
  background-position: left 50px center;
  background-size: 16px;
  margin-top: 20px;
}

.booklink {
  width: 71px;
  height: 58px;
  background-image: url(../img/common/icon_book.png);
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
}
.chapter1 {
  position: absolute;
  top: 80px;
  left: 180px;
}
.chapter2 {

  position: absolute;
  top: 180px;
  left: 40px;
}
.chapter3 {

  position: absolute;
  top: 295px;
  left: 140px;
}


.linkumi {
  text-align: right;
  width: 120px;
  margin-top: -16px;
  margin-right: 20px;
}

.topnavlist {
  display: flex;
  justify-content: center;
}

.topnavlist-item {
  margin: 0 16px 16px 16px;
}

.buttonlinklist {
  max-width: 470px;
  display: flex;
  justify-content: center;
}

.buttonlinklist-item{
  width: 100%;
  margin-left: 6px;
  margin-right: 6px;
}

.buttonlink {
  line-height: 1.4;
  color: #08193a;
  font-size: 1.4rem;
  text-align: center;
  display: block;
  width: 100%;
  background-color: #fff;
  border:solid 2px #ffaa00;
  border-radius: 8px;
  padding: 8px;
}

.buttonlink span {
  font-size: 1.8rem;
  font-weight: bold;
  display: block;
  margin-top: 4px;
  margin-bottom: 8px;
}

.buttonlink span::before {
  content: "★";
}

.topfooternavlist {
  display: flex;
  justify-content: center;
}

footer {
  border-top: none;
}

@media only screen and (max-width:750px) {

  main {
    background-color: #31b7ab;
    background-image: url(../img/bg_top.png),url(../img/common/bg_nav.png);
    background-repeat: no-repeat,repeat-x;
    background-position: center bottom , center bottom;
    min-height: 0;
  }

  .contents {
    display: flex;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .contents {
    flex-flow: column;
    align-items: center;
  }
  .buttonlinklist {
    flex-flow: column;
    margin-right: 8px;
  }

  .title-top {
    margin-top: 0;
  }

  .topsubtitle {
    font-size: 1.1rem;
  }


  .linkwataru,
  .menulist {
    margin-left: -128px;
  }

  .linkwataru {
    margin-top: 112px;
  } 

  .circle {
    position: relative;
    top: -50px;
    left: 30px;
    margin-bottom: -50px;
  }

  .chapter1 {
    position: relative;
    top: 0;
    left: 32px;
    height: 60px;
    width: 160px;
  }
  .chapter2 {
    position: relative;
    top: 0;
    left: 8px;
    height: 60px;
    width: 160px;
  }
  .chapter3 {
    position: relative;
    top: 0;
    left: 60px;
    height: 60px;
    width: 160px;
    margin-bottom: 40px;
  }

  .menulist-item:not(.circle) span {
    width: 240px;
    height: 64px;
    margin-bottom: 32px;
    margin-top: 40px;
    padding-left: 48px;
    background-position: left 28px center;
  }

  .menulist-item:not(.circle) small { 
    margin-left: -38px;
  }
    
  .linkumi {
    text-align: right;
    width: 80px;
    margin-top: -16px;
    margin-right: 8px;
    margin-left: 16px;
  }
  .stretch {
    flex: 1;
  }

  .topnavlist {
    justify-content: flex-start;
    margin-bottom: 4px;
  }
  .topnavlist-item {
    font-size: 1.4rem;
    margin: 4px 8px 6px 0;
  }

  .buttonlinklist {
    display: flex;
    justify-content: center;
  }

  .buttonlinklist-item{
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 4px;
    }

  .buttonlink {
    font-size: 1.2rem;
    width: auto;
    max-width: 400px;
    padding: 8px;
  }

  .buttonlink span {
    font-size: 1.6rem;
    font-weight: bold;
    display: block;
    margin-top: 4px;
  }
  .icon-arrow1 {
    padding: 2px 4px 2px 20px;
    background-position: left center;
  }

  .sp-chapter2 {
    width: 208px !important;
  }

  .sp-chapter3 {
    width: 192px !important;
  }
}