@charset "UTF-8";
/*   
Theme Name: hipotama
Theme URI: https://hipotama.jp/
Description: hipotamaテーマ
Author: hipotama
Author URI: https://hipotama.jp/
Version: 0.2
*/
/* ----------------------------------------
* index.php
---------------------------------------- */
/*.box_inner {
	margin: -110px auto 0;
}*/
/* main_visual */
.m_img {
  width: 100%;
  height: 100% !important;
  text-align: left;
}
.m_logo {
  position: absolute;
  top: 55%;
  left: 90px;
  width: 45%;
  max-width: 600px;
  -ms-transform: translateY(-55%);
  -webkit-transform: translateY(-55%);
  transform: translateY(-55%);
}
.m_logo .m_ttl {
  display: inline-block;
  margin-top: 7%;
  padding: 20px 30px;
  color: #fff;
  font-style: italic;
  text-shadow: 0 0 5px rgba(0, 0, 0, .3);
  background: url(./lib/images/bg_mttl.png);
}
.m_logo img {
  max-width: 100%;
  height: auto;
}
.main_slide {
  position: fixed;
  top: 0;
  z-index: -999;
  width: 100%;
  height: 100vh;
  padding: 64px 35px 35px;
  box-sizing: border-box;
}
/* intro */
#intro {
  margin-top: 100vh;
  padding: 50px 0 80px;
  text-align: center;
  background: #f2f0e8;
}
#intro h2.udr:before, #intro h2.udr:after {
  background: #222;
}
#intro h2.udr span:after {
  color: #222;
  background: #f2f0e8;
}
#intro p {
  line-height: 2;
  color: #333;
}
#service li, #works article, #blog article {
  box-sizing: border-box;
  text-align: center;
}
#service li:nth-child(3n+3), #works article:nth-child(3n+3), #blog article:nth-child(4n+4) {
  margin-right: 0;
}
/* service */
.bg_ttl {
  position: relative;
  width: 100%;
  /*padding: 40px 0 100px;*/
  padding: 40px 0 50px;
  overflow: hidden;
  text-align: center;
  color: #fff;
  text-shadow: 0 0 5px rgba(0, 0, 0, .3);
}
.bg_ttl p, #contact p {
  font-size: 15px;
}
#service .bg_ttl {
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 40px 0 120px;
}
#service .box_inner {
  margin: -110px auto 0;
}
#service li {
  width: 33.3333%;
  padding: 0 20px;
  margin-bottom: 20px;
}
#service li img {
  display: block;
  width: 180px;
  height: auto;
  margin: 0 auto 15px;
}
#service h3 {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: bold;
  margin-top: .8em;
  letter-spacing: .1em;
}
#service h3:after {
  content: "";
  width: 35px;
  height: 2px;
  display: block;
  margin: 20px auto;
  background: #aaa;
}
#service h3 span {
  display: block;
  font-size: 12px;
  font-weight: normal;
  letter-spacing: normal;
}
#service li:nth-child(1) h3:after {
  background: #fd4765;
}
#service li:nth-child(2) h3:after {
  background: #e8f409;
}
#service li:nth-child(3) h3:after {
  background: #33bad2;
}
#service li:nth-child(4) h3:after {
  background: #9447fd;
}
#service li:nth-child(5) h3:after {
  background: #f48809;
}
#service li:nth-child(6) h3:after {
  background: #51d233;
}
#service li p {
  margin: 15px 0;
  color: #333;
  text-align: left;
  word-break: break-all;
}
#service .rotBtn {
  width: 90%;
  height: 46px;
  line-height: 46px;
  margin: 0 auto;
}
#service .rotBtn span {
  width: 90%;
  max-width: 360px;
}
@media screen and (max-width: 1400px) {
  /* main_visual */
  .m_logo {
    left: 60px;
    width: 40%;
    max-width: 500px;
  }
  .m_logo .m_ttl {
    margin-top: 5%;
    padding: 15px 20px;
    font-size: 16px;
  }
  .main_slide {
    padding: 56px 25px 35px;
  }
  /* intro */
  #intro {
    padding: 40px 0 60px;
  }
  /* service */
  .bg_ttl {
    /*padding: 30px 0 90px;*/
    padding: 30px 0 40px;
  }
  .bg_ttl p, #contact p {
    font-size: 14px;
  }
  #service .bg_ttl {
    padding: 30px 0 100px;
  }
  #service li {
    width: 33.3333%;
    padding: 0 20px;
    margin-bottom: 10px;
  }
  #service h3 {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: bold;
    margin-top: .6em;
  }
  #service h3:after {
    margin: 15px auto;
  }
}
@media screen and (max-width: 1200px) {
  /*.box_inner {
	margin: -100px auto 0;
}*/
  .bg_ttl {
    background-attachment: scroll !important;
  }
  /* main_visual */
  .main_slide {
    height: 90vh;
    padding: 56px 20px 0;
  }
  .m_logo {
    width: 50%;
    max-width: 500px;
  }
  #intro {
    margin-top: 90vh;
  }
  /* intro */
  #intro {
    padding: 30px 0 50px;
  }
  /* service */
  #service .box_inner {
    margin: -100px auto 0;
  }
  #service li {
    padding: 0 15px;
  }
  #service li img {
    width: 150px;
    margin: 0 auto 10px;
  }
  #service h3 {
    margin-top: .4em;
  }
  #service h3 span {
    font-size: 11px;
  }
}
@media screen and (max-width: 991px) {
  /* main_visual */
  .m_logo {
    width: 75%;
    max-width: 650px;
  }
  .m_logo img {
    width: 75%;
  }
  /* intro */
  #intro p {
    padding: 0 30px;
  }
  /* service */
  #service h3 {
    letter-spacing: normal;
  }
}
@media screen and (max-width: 767px) {
  /* タイトル装飾 */
  /* main_visual */
  .m_logo {
    transform: none;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-width: inherit;
    padding: 30px;
  }
  .m_logo img {
    position: absolute;
    top: 30%;
    width: 70%;
    max-width: 250px;
    -ms-transform: translateY(-30%);
    -webkit-transform: translateY(-30%);
    transform: translateY(-30%);
  }
  .m_logo .m_ttl {
    position: absolute;
    bottom: 15px;
    left: 0;
    margin: 0 30px;
    padding: 10px;
    font-size: 13px;
  }
  .m_logo .m_ttl br {
    display: none;
  }
  /* intro */
  #intro {
    padding: 20px 30px 40px;
  }
  #intro p {
    text-align: left;
    padding: 0;
  }
  #intro p br {
    display: none;
  }
  #intro p span {
    display: inline;
  }
  /* service */
  .bg_ttl {
    padding-top: 10px;
  }
  .bg_ttl p, #contact p {
    padding: 0 30px;
    text-align: left;
  }
  .bg_ttl p br {
    display: none;
  }
  #service .bg_ttl {
    padding: 10px 0 5px;
  }
  #service .box_inner {
    margin-top: 0;
    padding-top: 10px;
  }
  #service ul {
    margin-bottom: 10px;
  }
  #service li {
    clear: both;
    float: none;
    width: 100%;
    margin: 20px 0;
    padding: 0;
    border-bottom: 1px solid #eee;
  }
  #service li:last-child {
    border: none;
  }
  #service li img {
    float: left;
    width: 20%;
    margin-bottom: 10px;
  }
  #service h3 {
    margin-left: 25%;
    text-align: left;
  }
  #service h3:after {
    margin: 10px 0 9px;
    text-align: left;
  }
  #service .mHeight {
    margin: 7px 0 20px 25%;
  }
  /* contact */
  #contact p br {
    display: none;
  }
}
@media screen and (max-width:640px) {
  /* main_visual */
  .main_slide {
    height: 80vh;
  }
  /* intro */
  #intro {
    margin-top: 80vh;
  }
  /* service */
  .bg_ttl p, #contact p {
    font-size: 13px;
  }
}
@media screen and (max-width:480px) {
  .f15 {
    font-size: 13px;
  }
  /* main_visual */
  .m_logo .m_ttl {
    bottom: 30px;
  }
  /* intro*/
  #intro {
    padding: 10px 30px 30px;
  }
  /* service */
  #service .box_inner {
    margin-bottom: 0;
    padding-top: 0;
  }
  #service li {
    width: 95%;
    margin: 20px auto;
  }
  #service li img {
    float: none;
    width: 150px;
    margin-bottom: 10px;
  }
  #service h3 {
    margin-left: 0;
    text-align: center;
  }
  #service h3:after {
    margin: 12px auto 15px;
  }
  #service .mHeight {
    margin: 7px 0 20px 0;
  }
}