@charset "utf-8";
/*==================================================

Global Default
==================================================*/
body {
  font-family: "Noto Sans Japanese", YuGothic, 'Yu Gothic Medium', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
  line-height: 1.5;
  font-size: 16px;
  font-size: calc(12px + (16 - 12) * ((100vw - 320px) / (1920 - 320)));
  color: rgba(0, 0, 0, .78);
  min-width: 1280px;
}
body * {
  box-sizing: border-box;
}
h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
}
main, section {
  position: relative;
}
a, a:hover, a:visited, a:active {
  color: inherit;
}
.center {
  text-align: center;
}
.caution {
  color: #D50000;
}
.flexbox:after {
  display: none;
}
[class*="viewport"] {
  width: 100%;
  padding: 0 2%;
  margin: 0 auto;
  box-sizing: border-box;
  position: relative;
}
.viewport-l {
  max-width: 1280px;
}
.viewport-m {
  max-width: 1024px;
}
.viewport-s {
  max-width: 768px;
}
.section-spacing {
  padding-top: 11vmin;
  padding-bottom: 11vmin;
}
.pc-only {
  display: initial;
}
.sp-only {
  display: none;
}
@media only screen and (max-width: 768px) {
  body {
    min-width: 0;
    margin-top: 60px;
  }
  .pc-only {
    display: none;
  }
  .sp-only {
    display: block;
  }
}
/*==================================================

Main Header
==================================================*/
#main-header {
  background: #FFF;
  box-sizing: border-box;
}
#main-header > .flexbox {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px 2%;
  position: static;
}
#main-header h1 {
  max-width: 400px;
}
#main-header .second-navi {
  position: absolute;
  left: 2%;
  top: 35px;
  width: 150px;
}
#main-header .second-navi.sp-only {
  height: inherit;
}
#global-navi {
  background: #40c4b7;
  color: #FFF;
}
#global-navi ul {
  display: flex;
  justify-content: space-around;
}
#global-navi li {
  width: 100%;
  text-align: center;
  border-left: 1px solid rgba(255, 255, 255, .3);
}
#global-navi li:last-child {
  border: none;
}
#global-navi a {
  display: block;
  padding: 18px 6px;
}
#global-navi li:last-child a {
  background: #fda000;
}
@media only screen and (max-width: 768px) {
  #main-header {
    width: 100%;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 7;
  }
  #main-header > .flexbox {
    padding: 0;
    height: 60px;
    justify-content: space-between;
    position: relative;
  }
  #main-header .second-navi{
    position:relative;
    top: auto;
    width: 80px;
  }
  #main-header h1 {
    min-width: 150px;
    width: 40%;
  }
  #menu {
    width: 50px;
    height: 100%;
    float: right;
    cursor: pointer;
    position: relative;
    z-index: 10;
  }
  #menu:after {
    content: "MENU";
    color: #40c4b7;
    text-align: center;
    margin-top: 32px;
    font-size: 12px;
    font-weight: bold;
  }
  #menu span {
    height: 3px;
    width: 26px;
    background: #40c4b7;
    display: block;
    margin: 0 auto;
    position: relative;
    top: 40%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    -webkit-transition: all .5s;
    transition: all .5s;
  }
  #menu span:before, #menu span:after {
    content: '';
    height: 3px;
    width: 26px;
    background: #40c4b7;
    display: block;
    position: absolute;
    -webkit-transition: all .5s;
    transition: all .5s;
  }
  #menu span:before {
    top: -8px;
  }
  #menu span:after {
    top: 8px;
  }
  body.menu-visible #menu:after {
    color: #FFF;
  }
  body.menu-visible #menu span {
    background: transparent;
  }
  body.menu-visible #menu span:before {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    top: 0;
    background: #FFF;
  }
  body.menu-visible #menu span:after {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    top: 0;
    background: #FFF;
  }
  #global-navi {
    width: 100%;
    height: 100%;
    max-height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .14), 0 3px 1px -2px rgba(0, 0, 0, .2), 0 1px 5px 0 rgba(0, 0, 0, .12);
    box-sizing: border-box;
    background: rgba(64, 196, 183, .95);
    transform: translateY(110%);
    transition: all .2s cubic-bezier(.4, 0, .2, 1);
    overflow: hidden;
    overflow-y: auto;
    z-index: 9;
    margin: 0;
    font-size: 1.5em;
    opacity: 0;
  }
  body.menu-visible #global-navi {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
  }
  #global-navi .flexbox {
    display: block;
    margin-top: 60px;
  }
  #global-navi li {
    border: none;
  }
  #global-navi li:last-child a {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    border-radius: 100px;
    padding: 0 20px;
    height: 50px;
    line-height: 50px;
  }
  #global-navi li:last-child a i {
    float: right;
    line-height: inherit;
  }
}
/*==================================================

Main visual
==================================================*/
#mainvisual h2 {
  padding: 1.2em 0;
  background: #45c5b8;
  color: #FFF;
  text-align: center;
  font-size: 1.2em;
  font-weight: 500;
}
#mainvisual .flexbox {
  display: flex;
}
#mainvisual .flexbox > figure {
  width: 50%;
  background: url("../img/img-mainvisual.jpg") no-repeat left top/cover;
}
#mainvisual .flexbox .block {
  order: -1;
  width: 50%;
  padding: 6.5em 3em;
  text-align: center;
}
#mainvisual .block p {
  font-weight: 500;
  font-size: 1.5em;
}
#mainvisual .block figure {
  margin: 2em auto;
  width: 90%;
  min-width: 240px;
  max-width: 550px;
}
#mainvisual .block figure + p {
  color: #76e9de;
  font-weight: 500;
  margin-bottom: 1em;
}
#mainvisual a {
  display: block;
  width: 100%;
  max-width: 400px;
  height: 50px;
  line-height: 50px;
  padding: 0 20px;
  margin: 5px auto;
  border-radius: 1000px;
  font-weight: bold;
}
#mainvisual a i {
  float: right;
  line-height: inherit;
}
#mainvisual li:first-child a {
  display: block;
  background: #fda000;
  color: #FFF;
}
@media only screen and (max-width: 768px) {
  #mainvisual .flexbox {
    flex-direction: column;
  }
  #mainvisual .flexbox > figure {
    width: 100%;
    padding-bottom: 60vmin;
  }
  #mainvisual .flexbox .block {
    width: 100%;
    order: 1;
    padding: 5% 2%;
  }
  #mainvisual .block p {
    font-size: 1.5em;
  }
  #mainvisual .block figure {
    margin: 1.5em auto;
  }
  #mainvisual a {
    width: 85%;
  }
}
/*==================================================

Separator
==================================================*/
#separator {
  background: url("../img/txt-zeroyen.png") #e1fefb no-repeat center center/ 150px auto;
  font-size: 2em;
  text-align: center;
  padding: 11% 2%;
}
@media only screen and (max-width: 768px) {
  #separator {
    background: url("../img/txt-zeroyen.png") #e1fefb no-repeat center center/ auto 100px;
    padding: 80px 2%;
  }
}
/*==================================================

About
==================================================*/

#about .flexbox {
  display: flex;
}
#about .flexbox figure{
  background: url("../img/img-about.jpg") no-repeat left top/cover;
  flex: 1 0 50%;
  order: 1;
}
#about .flexbox .block {
  width: 50%;
  padding: 20vmin 6em;
}
#about .flexbox h2 {
  font-size: 1.5em;
  margin-bottom: 1.5em;
}
@media only screen and (max-width: 768px) {
  #about {}
  #about .flexbox {
    flex-wrap: wrap;
}
#about .flexbox figure{
  
order: -1;
  
height: 65vmin;
  
width: 100%;
}
  #about .flexbox .block {
    width: auto;
    padding: 30px 8%;
  }
  #about .flexbox h2 {
    text-align: center;
  }
}
/*==================================================

Staff
==================================================*/
#staff {
  background: #d9fefa;
}
#staff h2 {
  color: #78d8cf;
  text-align: center;
  font-size: 1.5em;
  margin-bottom: 1em;
}
#staff ul {
  display: flex;
  justify-content: space-around;
  text-align: center;
}
#staff li {
  margin: 9px;
  max-width: 200px;
  font-size: 13px;
}
#staff li figure {
  margin-bottom: 2em;
}
@media only screen and (max-width: 768px) {
  #staff li {
    margin: 5px;
  }
  #staff li:nth-child(n+4) {
    display: none;
  }
}
/*==================================================

Catchy
==================================================*/
#catchy h2 {
  text-align: center;
  font-size: 1.5em;
  margin-bottom: 3em;
}
#catchy p {
  color: #78d8cf;
  font-size: 1.2em;
  font-weight: bold;
}
/*==================================================

Number
==================================================*/
#number {}
#number h2 {
  text-align: center;
  font-size: 1.5em;
  margin-bottom: 2em;
}
#number ul {
  display: flex;
  justify-content: space-around;
}
#number ul li {
  margin: 15px;
  flex: 0 1 33.3%;
}
#number ul li figure {
  margin-bottom: 2em;
}
#number ul li h3{
  font-size: 1.2em;
  color: #78d8cf;
  margin-bottom: 6px;
}
@media only screen and (max-width: 768px) {
  #number ul {
    flex-wrap: wrap;
  }
  #number ul h3{
    text-align: center;
  }
  #number ul p {
    width: 85%;
    margin: 0 auto;
  }
  #number ul li {
    flex: 0 0 90%;
    margin: 0 2%;
  }
  #number ul li + li {
    margin-top: 3em;
  }
}
/*==================================================

Popular Post
==================================================*/
#popular {
  background: #d2f2fd;
}
#popular h2 {
  text-align: center;
  font-size: 1.5em;
  margin-bottom: 2em;
}
#popular .flexbox {
  display: flex;
  justify-content: center;
}
#popular .flexbox article {
  margin: 20px;
  max-width: 300px;
}
#popular .flexbox article a {
  display: block;
}
#popular .flexbox article figure {
  padding-bottom: 65%;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}
#popular .flexbox article .cat {
  font-size: 12px;
  color: #FFF;
  margin: 15px 0;
}
#popular .flexbox article .cat span {
  padding: 0 16px;
  background: #40c4b7;
}
#popular .flexbox article h1{
  font-size: 1.2em;
}
@media only screen and (max-width: 768px) {
  #popular .flexbox {
    flex-wrap: wrap;
  }
  #popular .flexbox article {
    width: 100%;
    max-width: 100%;
    margin: 15px 2%;
  }
  #popular .flexbox article a {
    display: flex;
  }
  #popular .flexbox article figure {
    max-width: 150px;
    flex: 0 0 35%;
    height: 100px;
    padding-bottom: 0;
  }
  #popular .flexbox article figure + div {
    padding: 0 10px;
}
  #popular .flexbox article .cat {
    margin: 0 0 10px;
}
#popular .flexbox article .cat span {
  padding: 0 8px;
}
}
/*==================================================

Contact
==================================================*/
#contact {
  text-align: center;
}
#contact h2 {
  font-size: 2em;
  color: #76e9de;
  margin-bottom: 2rem;
}
#contact a {
  display: block;
  width: 100%;
  max-width: 400px;
  height: 50px;
  line-height: 50px;
  padding: 0 20px;
  margin: 5px auto;
  border-radius: 1000px;
  font-weight: bold;
}
#contact a i {
  float: right;
  line-height: inherit;
}
#contact li:first-child a {
  display: block;
  background: #fda000;
  color: #FFF;
}
@media only screen and (max-width: 768px) {
  #contact h2 {
    font-size: 1.5em;
  }
  #contact a {
    width: 85%;
  }
}
/*==================================================

Main Footer
==================================================*/
#main-footer {
  position: relative;
  background: #f3f5f5;
  padding: 50px 0 0;
}
#main-footer .backtop-btn {
  position: fixed;
  right: 2%;
  bottom: 60px;
  background: #40c4b7;
  height: 50px;
  width: 50px;
  line-height: 50px;
  text-align: center;
  font-size: 24px;
  color: #FFF;
}
#main-footer .flexbox {
  display: flex;
  justify-content: space-around;
}
#main-footer .sitemap p {
  font-size: 1.1em;
  font-weight: bold;
  color: #000;
  margin-bottom: .8em;
}
#main-footer .sitemap li {
  font-size: 12px;
  margin-top: 6px;
}
#main-footer .info {
  text-align: center;
}
#main-footer .info figure {
  max-width: 350px;
  margin: 0 auto
}
#main-footer .info a {
  display: inline-block;
  width: 100%;
  max-width: 300px;
  height: 50px;
  line-height: 50px;
  background: #FFF;
  padding: 0 20px;
  margin: 30px auto 0;
  border-radius: 1000px;
  font-weight: bold;
}
#main-footer .info i {
  float: right;
  line-height: inherit;
}
#main-footer #copyright {
  margin-top: 50px;
  background: #40c4b7;
  text-align: center;
  padding: 16px 0;
  color: #FFF;
  font-size: 12px;
}
@media only screen and (max-width: 768px) {
  #main-footer {
    padding-top: 30px;
  }
  #main-footer .sitemap {
    display: none;
  }
  #main-footer .info figure {
    width: 60%;
    max-width: 400px;
    min-width: 240px;
  }
  #main-footer .info a {
    margin-top: 2em;
  }
  #main-footer #copyright {
    margin-top: 30px;
  }
}