#mmtitle {
  max-width: 450px;
  margin: auto;
}

#mmtitle img {
  display: inline-block;
  width: 80px;
  height: 80px;
}

#mmtitle .titlesubbox {
  display: inline-block;
  width: 300px;
  height: 100px;
  vertical-align: top;
}

#mmtitle p {
  display: inline-block;
  width: 100%;
  margin: 8px auto 0 auto;
  font-size: 15px;
  line-height: 23px;
  letter-spacing: .07em;
  text-align: center;
}

#mmtitle h1 {
  display: inline-block;
  width: 100%;
  margin: 10px auto 0 auto;
  font-size: 28px;
  line-height: 28px;
  font-weight: 700;
  text-align: center;
}

@media(max-width:780px) {
  #mmtitle {
    max-width: 400px;
    margin: auto;
  }

  #mmtitle img {
    margin-left: 30px;
  }

  #mmtitle .titlesubbox {
    width: 275px;
  }
}

@media(max-width:580px) {
  #mmtitle {
    max-width: 360px;
    margin: auto;
  }

  #mmtitle img {
    width: 70px;
    height: 70px;
    margin-left: 0;
  }

  #mmtitle .titlesubbox {
    width: 245px;
    height: 85px;
  }

  #mmtitle p {
    margin: 5px auto 0 auto;
    font-size: 14.5px;
    letter-spacing: .05em;
  }

  #mmtitle h1 {
    margin: 8px auto 0 auto;
    font-size: 24px;
  }
}

@media(max-width:420px) {
  #mmtitle p {
    font-size: 14px;
    letter-spacing: .03em;
  }

  #mmtitle .titlesubbox {
    width: 215px;
  }
}

@media(max-width:400px) {
  #mmtitle img {
    margin-left: 15px;
  }
}

@media(max-width:350px) {
  #mmtitle img {
    width: 65px;
    height: 65px;
    margin-left: 10px;
  }

  #mmtitle .titlesubbox {
    width: 210px;
  }
}

#mainwrap {
  position: relative;
  z-index: 1;
  padding-top: 45px;
  padding-bottom: 50px;
  margin-bottom: 15px;
  position: relative;
  height: auto;
  background-color: #a0d5fa;
  border-top: 10px solid #d9eefd;
  border-bottom: 10px solid #d9eefd;
  -webkit-box-shadow: rgba(33, 35, 38, 0.10) 0px 5px 6px -6px, rgba(33, 35, 38, 0.1) 0px -5px 6px -6px;
  box-shadow: rgba(33, 35, 38, 0.10) 0px 5px 6px -6px, rgba(33, 35, 38, 0.1) 0px -5px 6px -6px;
}

#ill-turilamp {
  display: block;
  position: absolute;
  top: 0;
  left: calc(50% - 37.5px);
  width: 75px;
  height: 150px;
}

@media(max-width:680px) {
  #mainwrap {
    padding-top: 40px;
    padding-bottom: 25px;
  }

  #ill-turilamp {
    left: calc(50% - 31.9px);
    width: 63.75px;
    height: 127.5px;
  }
}

@media(max-width:500px) {
  #mainwrap {
    padding-top: 35px;
  }

  #ill-turilamp {
    left: calc(50% - 26.3px);
    width: 52.5px;
    height: 105px;
  }
}

#mainmenu-wrap {
  max-width: 900px;
  width: 96%;
  height: auto;
  margin: 0 auto;
  padding: 140px 0 30px 0;
  background: #ecf7fe;
  border-top-left-radius: 50% 300px;
  border-top-right-radius: 50% 300px;
  border-bottom-left-radius: 35px;
  border-bottom-right-radius: 35px;
}

@media(max-width: 940px) {
  #mainmenu-wrap {
    border-top-left-radius: 50% 250px;
    border-top-right-radius: 50% 250px;
  }
}

@media(max-width: 840px) {
  #mainmenu-wrap {
    border-top-left-radius: 50% 200px;
    border-top-right-radius: 50% 200px;
  }
}

@media(max-width: 740px) {
  #mainmenu-wrap {
    border-top-left-radius: 50% 180px;
    border-top-right-radius: 50% 180px;
  }
}

@media(max-width:680px) {
  #mainmenu-wrap {
    padding: 115px 0 1px 0;
    background: #ecf7fe;
    border-top-left-radius: 50% 155px;
    border-top-right-radius: 50% 155px;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
  }
}

@media(max-width:500px) {
  #mainmenu-wrap {
    padding: 85px 0 1px 0;
    background: #ecf7fe;
    border-top-left-radius: 50% 120px;
    border-top-right-radius: 50% 120px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
  }
}

.mm-navibox {
  max-width: 550px;
  width: 96%;
  margin: 15px auto;
  height: 125px;
  border-radius: 10px;
  overflow: hidden;
  -webkit-transition: 0.5s;
  transition: 0.5s;
  cursor: pointer;
}

.mm-imgwrap {
  display: inline-block;
  float: left;
  width: 28%;
  height: 125px;
}

.mm-imgwrap div {
  display: inline-block;
  float: left;
  width: 100%;
  height: 100%;
  background: #abdafa;
}

.mm-description {
  display: inline-block;
  float: left;
  width: 72%;
  height: 125px;
  padding: 0 25px;
  background: #ffffff;
}

#mainmenu-wrap h2 {
  margin: 16px 0 0 0;
  color: #777777;
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.07em;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

.mm-description p {
  margin: 11px 0 0 0;
  color: #666666;
  font-size: 14px;
  letter-spacing: 0.07em;
  line-height: 1.7em;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

@media (hover: hover) and (pointer: fine) {
  .mm-navibox:hover {
    opacity: .9;
    -webkit-box-shadow: 0px 0px 15px rgba(54, 122, 189, 0.3);
    box-shadow: 0px 0px 15px rgba(54, 122, 189, 0.3);
    -webkit-transition: 0.2s;
    transition: 0.2s;
  }

  .mm-navibox:hover #mainmenu-wrap h2 {
    color: #367ABD;
    -webkit-transition: 0.5s;
    transition: 0.5s;
  }

  .mm-navibox:hover .mm-description p {
    color: #333333;
    -webkit-transition: 0.5s;
    transition: 0.5s;
  }
}

@media(max-width:680px) {
  #mainmenu-wrap h2 {
    margin: 14px 0 0 0;
    font-size: 20px;
  }

  .mm-description p {
    margin: 10px 0 0 0;
    font-size: 14px;
    line-height: 1.6em;
  }

  .mm-imgwrap {
    width: 26%;
  }

  .mm-description {
    width: 74%;
    padding: 0 20px;
  }
}

@media(max-width:500px) {
  #mainmenu-wrap h2 {
    font-size: 19px;
    letter-spacing: 0.05em;
  }

  .mm-description p {
    font-size: 14px;
    letter-spacing: 0.04em;
  }
}

@media(max-width:420px) {
  .mm-imgwrap div {
    background-size: 80%;
  }

  #mainmenu-wrap h2 {
    margin: 10px 0 0 0;
    font-size: 17.5px;
    letter-spacing: 0.05em;
  }

  .mm-description {
    padding: 0 10px;
  }

  .mm-description p {
    margin: 6px 0 0 0;
    font-size: 13.5px;
    letter-spacing: 0em;
    line-height: 1.6em;
  }
}

@media(max-width:360px) {
  .mm-description p {
    line-height: 1.48em;
  }
}

#mm-img-yousi {
  background-image: url('../../common-whole/2105image/logo-yousi.png');
  background-repeat: no-repeat;
  background-position: center;
}

#mm-img-hougansi {
  background-image: url('../../common-whole/2105image/logo-hougansi.png');
  background-repeat: no-repeat;
  background-position: center;
}

#mm-img-hakutizu-japan {
  background-image: url('../../common-whole/2105image/logo-hakutizu-japan.png');
  background-repeat: no-repeat;
  background-position: center;
}

#mm-img-tdfk-japan {
  background-image: url('../../common-whole/2105image/logo-tdfk-japan.png');
  background-repeat: no-repeat;
  background-position: center;
}

#mm-img-tokei {
  background-image: url('../../common-whole/2105image/logo-tokei.png');
  background-repeat: no-repeat;
  background-position: center;
}

#mm-img-music {
  background-image: url('../../common-whole/2105image/logo-music.png');
  background-repeat: no-repeat;
  background-position: center;
}

#mm-img-keido {
  background-image: url('../../common-whole/2105image/logo-keido.png');
  background-repeat: no-repeat;
  background-position: center;
}

#mm-img-masu {
  background-image: url('../../common-whole/2105image/logo-masu.png');
  background-repeat: no-repeat;
  background-position: center;
}

#mm-img-syou-kanji {
  background-image: url('../../common-whole/2105image/logo-syou-kanji.png');
  background-repeat: no-repeat;
  background-position: center;
}

#mm-img-tyuu-kanji {
  background-image: url('../../common-whole/2105image/logo-tyuu-kanji.png');
  background-repeat: no-repeat;
  background-position: center;
}

#mm-img-data {
  background-image: url('../../common-whole/2105image/logo-data.png');
  background-repeat: no-repeat;
  background-position: center;
}

#mm-img-calendar {
  background-image: url('../../common-whole/2105image/logo-calendar.png');
  background-repeat: no-repeat;
  background-position: center;
}

footer {
  width: 100%;
  text-align: center;
}

footer a {
  color: #666666;
}

@media (hover: hover) and (pointer: fine) {
  footer a:hover {
    color: orange;
  }
}

footer p {
  font-size: 12.5px;
  margin-bottom: 0.5em;
}
