﻿/*
Theme Name: hepocoder
*/

@charset "utf-8";

/* base
--------------------------------------------*/
* {
  font-family: 'Noto Sans Japanese','HiraKakuProN-W3','Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3';
}
html { font-size: 62.5%; }

/* layout
--------------------------------------------*/
#container {
  width: 850px;
  margin: 0 auto;
}

/* body
--------------------------------------------*/
body {
  font-size: 1.4rem;
  line-height: 1.6;
  color: #000;
}
a {
  text-decoration: none;
  color: #000;
}

/* header
--------------------------------------------*/
/*
header {
  position: relative;
  margin-bottom: 30px;
}
header #headerUpper {
  padding: 15px calc((100vw - 1200px) / 2);
}
header #siteTitle {
  box-sizing: border-box;
}
header #siteTitle h1,
header #siteTitle .siteTitle {
  margin-bottom: 8px;
  font-size: 25px;
}
header #siteTitle a {
  text-decoration: none;
  color: #000;
}
header .search {

}
header .search input[type="text"] {
  width: 180px;
  border: solid 1px #000;
  border-radius: 0;
  -webkit-appearance: none;
}
header .search input[type="submit"] {
  line-height: 25px;
  border: none;
  background: none;
  background-color: #000;
  border-radius: 0;
  -webkit-appearance: none;
  cursor: pointer;
  color: #FFF;
}
header nav {

}*/


/* type1*/
header.type1 {
  margin-bottom: 20px;
  padding: 30px;
}
header.type1 #headerInner {
  position: relative;
  width: 1200px;
  margin: 0 auto;
}
header.type1 #headerInner h1 {
  text-align: center;
}
header.type1 #headerInner h1 a {
  display: inline-block;
  padding: 23px 95px;
  background-image: url("../images/header/ic_logo_l.png"), url("../images/header/ic_logo_r.png");
  background-image: image-set(url("../images/header/ic_logo_l.png") 1x, url("../images/header/ic_logo_lx2.png") 2x), image-set(url("../images/header/ic_logo_r.png") 1x, url("../images/header/ic_logo_rx2.png") 2x);
  background-image: -webkit-image-set(url("../images/header/ic_logo_l.png") 1x, url("../images/header/ic_logo_lx2.png") 2x), -webkit-image-set(url("../images/header/ic_logo_r.png") 1x, url("../images/header/ic_logo_rx2.png") 2x);
  background-position: left center, right center; 
  background-repeat: no-repeat no-repeat;
  background-size: 38px auto, 45px auto;
  letter-spacing: 2px;
  font-weight: 500;
  font-size: 3.4rem;
  font-family: "Jun 501", sans-serif;
  color: #6d3d0b;
}
header.type1 #headerInner .disc {
  margin-top: 10px;
}
header.type1 #headerContent {
  display: flex;
  flex-flow: row-reverse;
}
header.type1 nav ul {
  display: flex;
  margin-right: 20px;
}
header.type1 nav ul li:not(:first-child) {
  margin-left: 20px;
}
header.type1 .headerMenu {
  display: flex;
}
header.type1 .headerMenu ul {
  display: flex;
  margin-right: 20px;
}
header.type1 .headerMenu ul li:not(:last-child) {
  margin-right: 10px;
}


/* main
--------------------------------------------*/
#main {

}
#contents {
  box-sizing: border-box;
}

/* side
--------------------------------------------*/
#side > div{
  margin-bottom: 30px;
  padding: 20px;
  border: solid 1px #000;
  box-sizing: border-box;
}
#side > div .head {
  margin-bottom: 8px;
  padding: 2px 0 5px;
  font-size: 18px;
}

/* footer
--------------------------------------------*/
footer #page-top {
  position: fixed;
  right: 10px;
  bottom: 20px;
  display: none;
  width: 54px;
}

footer.type1 {

}
footer.type1 #footerInner {
  display: flex;
  justify-content: space-between;
  flex-flow: row-reverse;
  width: 1200px;
  margin: 0 auto 50px;
}
footer.type1 #footerInfo {
  padding-right: 100px;
  border-right: solid 1px #000;
}
footer.type1 .footerSiteLogo {
  margin-bottom: 10px;
}
footer.type1 .footerSiteTitle {
  margin-bottom: 15px;
}
footer.type1 .footerText {
  margin-bottom: 10px;
}
footer.type1 .footerText p:not(:last-child) {
  margin-bottom: 5px;
}
footer.type1 .link {

}
footer.type1 .link a {
  display: inline-block;
  padding: 10px 20px;
  border: solid 1px #000;
  text-align: center;
}
footer.type1 #footerMenu {
  display: flex;
}
footer.type1 #footerMenu > ul {
  margin-left: 50px;
}
footer.type1 #footerMenu h2 {
  margin-bottom: 5px;
}
footer.type1 #footerMenu li {
  margin-bottom: 5px;
}

footer.type1 #copyright {
  padding: 15px 0;
  background-color: #8b7a22;
  text-align: center;
  color: #FFF;
}


/* main
------------------------------------------------------------------*/

/* contents
-----------------------------------*/
.content {
  padding: 100px 0;
}
.content.bg {
  background-color: #efefef;
}
.content .contentInner {
  width: 1200px;
  margin: 0 auto;
}
.content .contentInner h2 {
  margin-bottom: 30px;
  font-size: 2.6rem;
}
.content .contentInner h3 {
  margin-bottom: 20px;
  font-size: 2.2rem;
}
.content .contentInner .block:not(:last-child) {
  margin-bottom: 80px;
}

/* button
-----------------------------------*/
.more.type1 a {
  position: relative;
  display: inline-block;
  width: 200px;
  padding: 20px;
  border-radius: 30px;
  background-color: #3b3b3b;
  text-align: center;
  color: #FFF;
}
.more.type1 a:after {
  position: absolute;
  top: calc(50% - 2px);
  right: 30px;
  display: block;
  content: "";
  width: 4px;
  height: 4px;
  border-top: 2px solid #FFF;
  border-right: 2px solid #FFF;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

/* TOP
-----------------------------------------*/
.home #contents #intro {
  /*background-color: #FEFCE8;*/
  background-image: url("../images/common/bg2.png");
  background-repeat: repeat;
  background-position: 0 0;
  background-size: 2%;
}
.home #contents #intro p {
  line-height: 2.4;
  text-align: center;
  font-size: 1.6rem;
}
.home #contents #content1 ul {
  display: flex;
  justify-content: space-between;
}
.home #contents #content1 ul li {
  text-align: center;
  width: calc((100% - 50px) / 3);
  margin-right: 50px;
}
.home #contents #content1 ul li:nth-child(3n) {
  margin-right: 0;
}
.home #contents #content1 ul .image {
  margin-bottom: 20px;
}
.home #contents #content1 ul .image img {
  border-radius: 200px;
  width: 100%;
}
.home #contents #content1 ul li .text img {
  max-width: 100%;
  height: 48px;
}




@media screen and (max-width:640px) {
  html {
    font-size: 58%;
  }

  /* header */
  header.type1 {
    margin-bottom: 0;
    padding: 30px 10px;
  }
  header #siteTitle {
    width: 100%;
    margin-bottom: 10px;
  }
  header.type1 #headerInner {
    width: 100%;
  }
  header.type1 #headerInner h1 a {
    width: 100%;
    padding: 23px 0px;
    box-sizing: border-box;
    background-size: 38px auto, 45px auto;
    font-size: 2.3rem;
  }
  header .search {
    width: 100%;
    text-align: center;
  }
  #contents {
    width: 100%;
    margin: 0;
    box-sizing: border-box;
  }
  .content .contentInner {
    width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
  }
  .article {
    margin: 0 10px 30px;
  }
  #side {
    width: calc(100% - 20px);
    margin: 0 10px 30px;
  }

  /* menu */
  header nav {
    position: fixed;
    top: 0;
    right: -100vw;
    display: none;
    width: 100%;
    height: 100%;
    background-color: rgba(255,255,255,0.9);
    z-index: 100;
  }
  header nav ul {
    width: 100%;
    margin: 100px 0;
  }
  header nav ul li {

  }
  header nav ul li a {
    display: block;
    padding: 10px 10px;
    border-bottom: dashed 1px #000;
  }
  #menuButton {
    position: absolute;
    right: 15px;
    top: 20px;
    display: block;
    z-index: 100000;
  }
  #memberButton {
    position: absolute;
    left: 0px;
    top: 0px;
    display: block;
    z-index: 100000;
  }
  .menu-trigger,
  .menu-trigger span {
    display: inline-block;
    transition: all .4s;
    box-sizing: border-box;
  }
  .menu-trigger {
    display: block;
    color: #FFF;
    font-size: 14px;
    font-size: 12px; /*add UDW 20161212*/
    height: 21px;
    overflow: hidden;
    position: relative;
    padding: 0;
    text-align: center;
    cursor: pointer;
  }
  .menu-trigger {
    position: relative;
    width: 40px;
    height: 32px;
  }
  .menu-trigger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #000;
  }
  .underSpHeader .menu-trigger span {
    background-color: #222;
  }
  .menu-trigger span:nth-of-type(1) {
    top: 0;
  }
  .menu-trigger span:nth-of-type(2) {
    top: 15px;
  }
  .menu-trigger span:nth-of-type(3) {
    bottom: 0;
  }
  .menu-trigger.active span {
    background-color: #000;
    color: #000;
  }
  .menu-trigger.active span:nth-of-type(1) {
    -webkit-transform: translateY(14px) rotate(-45deg);
    transform: translateY(14px) rotate(-45deg);
  }
  .menu-trigger.active span:nth-of-type(2) {
    opacity: 0;
  }
  .menu-trigger.active span:nth-of-type(3) {
    -webkit-transform: translateY(-17px) rotate(45deg);
    transform: translateY(-17px) rotate(45deg);
  }

  /* slider */
  .slider .slick-dots button::before {
    width: 5px;
    height: 5px;
  }
  .slider .slick-dots {
    bottom: 10px;
  }
  .carousel .slick-prev {
    left: 25px;
  }
  .carousel .slick-next {
    right: 25px;
  }
  .carousel .slick-list {
    margin: 0;
  }
  .carousel .slick-slide a {
    width: 100% !important;
    padding: 0 5px;
    box-sizing: border-box;
  }
  .carousel .slick-list li a img {
    max-width: 100%;
    height: auto;
  }

  /* main */
  .content .contentInner h2 {
    margin-bottom: 20px;
  }

  /* TOP */
  .home #contents #content1 ul {
    display: block;
  }
  .home #contents #content1 ul li {
    width: 100%;
    margin-right: 0;
  }
  .home #contents #content1 ul li:not(:last-child) {
    margin-bottom: 60px;
  }
  .home #contents #content1 ul li img {
    max-width: 100%;
    height: auto;
  }

  /* common */
  .pc {
    display: none!important;
  }
}

@media screen and (min-width:641px) {
  header {
    min-width: 1200px;
    box-sizing: border-box;
  }
  header #siteTitle {

  }
  header #headerLeft {
    margin-bottom: 20px;
  }
  #main {

  }
  #contents {
    min-width: 1200px;
  }
  #side {

  }
  footer {
    min-width: 1200px;
  }

  /* menu */
  header nav {
    clear: both;
    display: block!important;
    opacity: 1!important;
  }
  header nav ul {

  }
  header nav ul li {
    text-align: center;
  }
  #menuButton {
    display: none;
  }

  /* common */
  .sp {
    display: none!important;
  }
}