/* style.css */

/*----------------------
base
----------------------*/
*, *::before, *::after {
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
}

html {
    font-size: 62.5%;
    line-height: 1.75;
    width: 100%;
    height: 100%;
}

body {
    width: 100%;
    margin: 0 auto;
    height: 100%;
    color: #333;
    background-color:#eaeef9;
    background: url(./img/body.gif);
    font-size: 1.6rem;
    font-family: "Noto Sans JP";
    font-weight: 400;
    position: relative;
    font-family:"Century Gothic", sans-serif;
}

html, body {
    margin: 0;
    padding: 0;
}

li {
    list-style: none;
}

img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 100%;
}

.inner {
    max-width: 1000px;
    margin: 0 auto;
}


.bg-White,.bg-Winered,.bg-Gray,.bg-Gray2,.bg-Brue,.bg-Brue2 {
    position: relative;
}

.bg-White::before,
.bg-Winered::before,
.bg-Gray::before,
.bg-Gray2::before,
.bg-Brue::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    transform: skewY(-3.5deg);
    z-index: -1;
  }
.bg-Brue2::before,
.bg-Gray2::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    transform: skewY(3.5deg);
    z-index: -1;
  }

.bg-Gray::before { background-color: #f0f0f0; }
.bg-Gray2::before { background-color: #f9f9f9; }
.bg-Winered::before { background-color: #932a4b; }
.bg-Brue::before { background-color: #133239; }
.bg-Brue2::before { background-color: #133239; }
.bg-Brue2::before { background: linear-gradient(120deg, #133239 50%, #9573cb 100%)}
.bg-White::before { background-color: #FFF; }

@media all and (-ms-high-contrast: none) {
    *::-ms-backdrop, .btn {
      padding: 環境に合わせ調整
    }
}


a { transition: .3s all; }
a:hover { transition: .3s all; }


a.btn {
    display: block;
    background-color: #932a4b;
    font-size: 1.4rem;
    color: #FFF;
    border-radius: 40px;
    padding: 5px 20px;
}
a.btn:hover {
    background-color: #87704c;
}


i {
    padding: 0 5px 0 0;
    font-size: 110%;
}

p {
    text-align: justify;
}

section {
    padding: 100px 0;
}

section + section {
    padding: 80px 0;
}

.flex-clm2,
.flex-clm3,
.flex-clm4,
.flex-clm5 {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
}

.flex-clm2 > .flex-Box { width: 48%;}
.flex-clm3 > .flex-Box { width: 33%;}
.flex-clm4 > .flex-Box { width: 23%;}
.flex-clm5 > .flex-Box { width: 19%;}


.PC {
    display: block !important;
}
.SP {
    display: none !important;
}

.fadeIn {
    transform: translate3d(0, 100px, 0);
    transition: 2s;
    opacity: 0;
  }
  .fadeIn.animated {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }

/*----------------------
header
----------------------*/

header {
    position: fixed;
    top: -62px;  
    width: 100%;
    height: 60px;
    line-height: 60px;
    font-size: 1.4rem;
    text-align: center;
    background-color: #FFF;
    box-sizing: border-box;
    transition: .5s;
    z-index: 99999999;
    border-bottom: 1px solid #eee;
  }

header.is-show {
    top: 0;
  }

  nav{
    max-width: 1000px;
    display:flex;
    align-items:center;
    width:100%;
    margin:0 auto;
  }
  nav a {
    font-size: 100%;
    display: block;
    text-decoration:none;
    letter-spacing:.1em;
  }

  nav a:hover {
    color: #487e8a;
  }

  nav a:nth-child(2):after,
  nav a:nth-child(3):after,
  nav a:nth-child(4):after,
  nav a:nth-child(5):after {
    content: "｜";
    color: #CCC;
    margin: 0 5px;
  }

 .navtitle{
    width:auto;
    margin-right:auto;
    margin-left:0;
  }

  .navtitle img {
    width: 100px;
    margin-bottom: 20px;
    margin-right: 10px;
  }

  .modal-open {
   margin-left: 30px;
   padding:0 30px;
   font-size:1.4rem;
   background-color: #133239;
   color: #FFF;
   font-weight: 700;
   cursor: pointer;
   transition: .3s all;
 }

 .modal-open:hover {
    background-color: #87704c;
    transition: .3s all;
  }

/**** hamburger ******/

nav.PCnav a:nth-child(2),
nav.PCnav a:nth-child(3),
nav.PCnav a:nth-child(4),
nav.PCnav a:nth-child(5),
nav.PCnav a:nth-child(6) {
    display: block;
}

nav.hamburger-menu {
    display: none;
}

.menu-btn {
    position: absolute;
    top: 0;
    right: 130px;
    display: flex;
    height: 60px;
    width: 60px;
    justify-content: center;
    align-items: center;
    z-index: 90;
}
.menu-btn span,
.menu-btn span:before,
.menu-btn span:after {
    content: '';
    display: block;
    height: 3px;
    width: 25px;
    border-radius: 3px;
    background-color: #133239;
    position: absolute;
}
.menu-btn span:before {
    bottom: 8px;
}
.menu-btn span:after {
    top: 8px;
}

#menu-btn-check:checked ~ .menu-btn span {
    background-color: rgba(255, 255, 255, 0);/*メニューオープン時は真ん中の線を透明にする*/
}
#menu-btn-check:checked ~ .menu-btn span::before {
    bottom: 0;
    transform: rotate(45deg);
    background-color: #FFF;
}
#menu-btn-check:checked ~ .menu-btn span::after {
    top: 0;
    transform: rotate(-45deg);
    background-color: #FFF;
}

#menu-btn-check {
    display: none;
}

.menu-content {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 80;
    background-color: rgba(19, 50, 57, 0.9);
}
.menu-content ul {
    padding: 70px 10px 0;
}
.menu-content ul li {
    border-bottom: solid 1px #ffffff;
    list-style: none;
}
.menu-content ul li a {
    display: block;
    width: 100%;
    font-size: 15px;
    box-sizing: border-box;
    color:#ffffff;
    text-decoration: none;
    padding: 9px 15px 10px 0;
    position: relative;
}
.menu-content ul li a::before {
    content: "";
    width: 7px;
    height: 7px;
    border-top: solid 2px #ffffff;
    border-right: solid 2px #ffffff;
    transform: rotate(45deg);
    position: absolute;
    right: 11px;
    top: 16px;
}
.menu-content {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 100%;/*leftの値を変更してメニューを画面外へ*/
    z-index: 80;
    background-color: rgba(19, 50, 57, 0.9);
    transition: all 0.5s;/*アニメーション設定*/
}
#menu-btn-check:checked ~ .menu-content {
    left: 0;/*メニューを画面内へ*/
}


@media screen and ( max-width:768px) {
    
    nav.PCnav a:nth-child(2),
    nav.PCnav a:nth-child(3),
    nav.PCnav a:nth-child(4),
    nav.PCnav a:nth-child(5),
    nav.PCnav a:nth-child(6) {
        display: none;
    }   

    nav.hamburger-menu {
        display: block;
    }
}


/*----------------------
hero
----------------------*/

#hero {
    max-width: 1200px;
    margin: 0 auto -100px auto;
}

#hero .heroImg {
    padding-top: 0;
    height: auto;
    padding-top: 65%;
    background: url(./img/heroIMG.jpg) top center / contain no-repeat;
}

@media screen and ( max-width:768px) {
#hero {
    max-width: 1200px;
    margin: 0px auto -100px auto;
}
    #hero .heroImg {
        padding-top: 0;
        height: auto;
        padding-top: 95%;
        background: url(./img/heroIMG_SP.jpg) top center / contain no-repeat;
    }
    

}






/*----------------------
内容
----------------------*/

#main {
    width: 100%;
    margin: 0 auto;
}

.inner {
    max-width: 1000px;
}

footer {
    margin-top: 50px;
    padding: 10px;
    text-align: center;
}

footer img {
    width: 100px;
}


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

    #main {
        margin: 0 auto;
    }
       
    .inner {
        width: 97%;
        margin: 0 auto;
    }

}

  
@media screen and ( max-width:768px) {
    body {
        font-size: 1.4rem;
        line-height: 1.5;
    }

    #main {
        margin: 0 auto;
    }

    .inner {
        width: 90%;
        margin: 0 auto;
    }

    section + section {
        padding: 60px 0;
    }

    footer {
        margin-top: 20px;
        padding: 10px;
        text-align: center;
        border-top: 1px solid #CCC;
    }
    
}
    


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

     .modal-open:hover {
        background-color: #87704c;
      }
}