/* MA consulting style-seet 2017.05 */

/* # =================================================================
   # =================================================================

     PC

   # =================================================================
   # ================================================================= */

body , html {
  font-size: 12px;
  font-family: 'Hiragino Kaku Gothic ProN', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'Segoe UI', 'Yu Gothic', sans-serif;
  letter-spacing: 0.15em;
  line-height: 1.8;
  background: url(../image/ptn_bg.png) top left;
  background-size: 12.5px;
}
.min-w {
  min-width: 980px;
}
.max-w {
  max-width: 980px;
  margin-right: auto !important;
  margin-left: auto !important;
}

.sec-box {
  margin: 40px 0;
}
@media (min-width: 415px) {
.up-btn {
  transition: transform 0.2s , box-shadow 0.21s;
}
.up-btn:hover {
  transform: scale(1.02);
  box-shadow: 0px 6px 6px 0px rgba(0, 0, 0, 0.15);
}
}
img {
  max-width: 100%;
}

/* # =================================================================
   # header
   # ================================================================= */

header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  display: block;
  width: 100%;
  z-index: 10;
}
.box-logo {
  position: relative;
  display: block;
  float: left;
  width: 180px;
  height: 160px;
  border-right: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
  border-left: 1px solid #e5e5e5;
  background-color: #fff;
  transition: all 0.5s;
}
.logo {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  width: 85%;
  height: auto;
}
.g-nav {
  width: calc( 100% - 180px );
  display: flex;
  border-bottom: 1px solid #e5e5e5;
}
.g-nav li {
  display: block;
  width: calc( 100% / 6 );
  justify-content: space-around;
  border-right: 1px solid #e5e5e5;
}
.g-nav li a {
  display: block;
  text-align: center;
  text-decoration: none;
  line-height: 80px;
  color: #000;
  background-color: #fff;
  transition: background-color 0.2s;
}
.g-nav li a:hover {
  background-color: #e5e5e5;
}





/* # =================================================================
   # Main View
   # ================================================================= */

.main-view {
  position: relative;
  margin-top: 80px;
  padding: 160px 80px 0;
  height: 590px;
  z-index: 0;
}
.main-view::before {
  content: "";
  position: absolute;
  width: calc( 100% - 80px );
  height: 2px;
  bottom: 40px;
  left: 80px;
  background-color: #000;
}
.main-view::after {
  content: "";
  position: absolute;
  width: calc( 35% - 80px );
  height: 2px;
  bottom: 46px;
  left: 80px;
  background-color: #ff0008;
}
.main-view h2 {
  font-weight: bold;
  margin-bottom: 3rem;
}
.main-view h2 img {
  width: 552px;
}
.main-view_image {
  position: absolute;
  top: 0;
  right: 0;
  left: 180px;
  margin-left: auto;
  width: 60%;
  height: 590px;
  z-index: -1;
  background: url(../image/img_mv.jpg) center left;
  background-size: cover;
}
.main-view p {
  width: calc( 100% / 7 * 2 );
}



/* # =================================================================
   # Menu
   # ================================================================= */

.menu {
  margin: 0;
  padding: 0 0 3% 0;
  overflow: hidden;
}
.menu li {
  display: block;
  width: 45%;
  margin: 5% 5% 0 0;
  float: left;
}
.menu li a {
  display: block;
  position: relative;
  color: #000;
  transition: transform 0.2s;
  overflow: hidden;
}
.menu img {
  display: block;
  width: 100%;
}

.menu .box {
  display: block;
  position: absolute;
  top: -1px;
  left: -1px;
  padding: 2em;
  width: 238px;
  background: #fff;
}
.menu .en {
  display: block;
  font-size: 1.4em;
  line-height: 1em;
  margin-bottom: 8px;
}
.menu .ja {
  display: block;
  font-size: 0.8em;
  line-height: 1em;
  letter-spacing: 0.4em;
}



/* # =================================================================
   # philosophy
   # ================================================================= */

.philosophy {
  background: #fff;
  box-shadow: 0px 8px 8px 0px rgba(0, 0, 0, 0.05);
  position: relative;
  padding: 75px;
  width: calc( 100% - 60px );
  display: table;
}
.philosophy::before , .philosophy::after {
  content: "";
  display: block;
  position: absolute;
  width: 160px;
  height: 100px;
  background: url(../image/img_bdr.png) center center;
  background-size: cover;
}
.philosophy::before {
  top: -25px;
  left: -30px;
}
.philosophy::after {
  bottom: -25px;
  right: -30px;
}
.philosophy h3 {
  display: table-cell;
  font-weight: normal;
  padding-right: 6em;
  font-size: 1.5rem;
}
.philosophy h3 span {
  display: block;
}
.philosophy h3 .en {
  font-size: 1.4em;
  line-height: 1em;
  margin-bottom: 8px;
}
.philosophy h3 .ja {
  font-size: 0.7em;
  line-height: 1em;
  letter-spacing: 0.4em;
}
.philosophy h3 .logo-mini {
  width: 120px;
  margin-top: 2em;
}
.philosophy p {
  line-height: 2.4;
}



/* # =================================================================
   # News
   # ================================================================= */

.news {
  padding-left: 40px;
}
.news h3 {
  font-weight: normal;
  font-size: 1.5rem;
  margin: 4em 0 2em;
}
.news h3 .en {
  display: block;
  font-size: 1.4em;
  line-height: 1em;
  margin-bottom: 8px;
}
.news h3 .ja {
  display: block;
  font-size: 0.5em;
  line-height: 1em;
  letter-spacing: 0.4em;
}
.news li {
  border: 1px solid #ccc;
  background: #fff;
  width: 20%;
  min-width: 230px;
  max-width: 320px;
  list-style-type: none;
  display: inline-block;
  vertical-align: top;
  margin: 0 20px 20px 0;
  padding: 20px;
}
.news .date {
  font-size: 0.8em;
  font-weight: normal;
  color: #808080;
  margin-bottom: 0.2em;
}
.news li:first-child .date {
  color: #ff0008;
}
.news .navi {
  overflow: hidden;
  margin-top: 1.5em;
}
.navi .btn-width {
  float: left;
  font-size: 1.4em;
}
.navi .prev {
  margin-right: 1em;
}
.navi .btn-news {
  display: block;
  float: right;
  padding: 0 80px 0 3em;
  text-decoration: none;
  color: #fff;
  background: #000;
  position: relative;
  line-height: 2em;
}
.navi .btn-news::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: -2em;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 2em 2em 0;
  border-color: transparent #000 transparent transparent;
}
.navi .btn-news:hover {
  background-color: #ff0008;
}
.navi .btn-news:hover::before{
  border-color: transparent #ff0008 transparent transparent;
}

/* # =================================================================
   # footer
   # ================================================================= */

footer {
  border-top: solid 40px #e5e5e5;
  background: #fff;
  font-size: 0.8rem;
}
footer p {
  margin: 4em 0;
  text-align: center;
}
.backtop {
  display: block;
  width: 182px;
  margin: auto;
  cursor: pointer;
}
.backtop:hover {
  opacity: 0.6;
}
.backtop img {
  display: block;
  width: 100%;
}



/* # =================================================================
   # =================================================================

     SP

   # =================================================================
   # ================================================================= */

@media (max-width: 414px) {

  /* # =================================================================
     # header
     # ================================================================= */

  .box-logo {
    width: 90px;
    height: 80px;
  }
  .g-nav {
    width: 100vw;
    height: 100vh;
    padding-top: 80px;
    display: none;
    background-color: rgba(255, 255, 255, 0.98);
    position: fixed;
    text-align: center;
    overflow: auto;
  }
  .g-nav li {
    display: inline-block;
    width: 40%;
    border-right: none;
    border-bottom: 1px solid #e5e5e5;
  }
  .g-nav li a {
    background-color: rgba(255, 255, 255, 0);
  }
  #toggle-menu {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    cursor: pointer;
    width: 80px;
    height: 80px;
    z-index: 999;
  }
  #toggle-menu::before , #toggle-menu::after , #toggle-menu span {
    content: "";
    display: block;
    width: 50%;
    height: 1px;
    position: absolute;
    right: 0;
    left: 0;
    margin: auto;
    background-color: #000;
    transition: all 0.4s;
    transform: rotate(0deg);
  }
  #toggle-menu span {
    top: 50%;
    bottom: 50%;
  }
  #toggle-menu::before {
    top: 40%;
  }
  #toggle-menu::after {
    bottom: 40%;
  }
  #toggle-menu.open span {
    top: 50%;
    bottom: 50%;
    right: -25%;
    opacity: 0;
  }
  #toggle-menu.open::before {
    transform: rotate(225deg);
    top: 50%;
  }
  #toggle-menu.open::after {
    transform: rotate(-225deg);
    bottom: 50%;
  }

  /* # =================================================================
     # Main View
     # ================================================================= */

  .main-view {
    position: relative;
    margin-top: 80px;
    padding: 40px 40px 0;
    height: calc( 90vh - 80px );
    z-index: 0;
  }
  .main-view::before {
    content: "";
    position: absolute;
    width: calc( 100% - 40px );
    height: 2px;
    bottom: 40px;
    left: 40px;
    background-color: #000;
  }
  .main-view::after {
    content: "";
    position: absolute;
    width: calc( 50% - 40px );
    height: 2px;
    bottom: 46px;
    left: 40px;
    background-color: #ff0008;
  }
  .main-view h2 {
    background-color: #fff;
    padding: 10px 10px 0 0;
  }
  .main-view_image {
    position: absolute;
    top: 0;
    right: 0;
    left: 180px;
    margin-left: auto;
    width: 65%;
    height: calc( 90vh - 80px );
    z-index: -1;
    background: url(../image/img_mv.jpg) center left;
    background-size: cover;
  }
  .main-view p {
    width: 80%;
    background-color: #fff;
    padding: 0.1em;
  }


  /* # =================================================================
     # Menu
     # ================================================================= */

  .menu li {
    width: 100%;
    margin: 10px 0 0;
  }
  .menu .box {
    padding: 1.4em;
    width: 180px;
  }


  /* # =================================================================
     # philosophy
     # ================================================================= */

  .philosophy {
    background: #fff;
    box-shadow: 0px 8px 8px 0px rgba(0, 0, 0, 0.05);
    position: relative;
    padding: 40px;
    width: 100%;
    display: block;
  }
  .philosophy::before , .philosophy::after {
    width: 120px;
    height: 75px;
  }
  .philosophy::before {
    top: -20px;
    left: -0px;
  }
  .philosophy::after {
    bottom: -20px;
    right: -0px;
  }
  .philosophy h3 {
    display: block;
    padding-right: 0;
    text-align: center;
  }
  .philosophy h3 .logo-mini {
    width: 120px;
    margin: 1.5em auto 0.5em;
  }


  /* # =================================================================
     # News
     # ================================================================= */

  .news {
    padding-left: 40px;
  }
  .news h3 {
    font-weight: normal;
    font-size: 1.5rem;
    margin: 2.5em 0 2em;
  }
  .news li {
    margin-bottom: 10px;
  }


  /* # =================================================================
     # footer
     # ================================================================= */

  footer {
    border-top: solid 20px #e5e5e5;
    background: #fff;
    font-size: 0.8rem;
  }
  footer p {
    margin: 4em 40px;
    text-align: center;
  }
  .backtop {
    display: block;
    width: 182px;
    margin: auto;
    cursor: pointer;
  }
  .backtop:hover {
    opacity: 0.6;
  }
  .backtop img {
    display: block;
    width: 100%;
  }

}
