/*
Theme Name: Creative Pack
Author: Partner Publicity
*/

/* ----------------------------------------
  General
---------------------------------------- */
img,
svg {
  vertical-align: bottom;
}
img {
  max-width: 100%;
  height: auto;
}
body:not(.home) {
  padding-top: 80px;
}
#contents {
  margin-bottom: 60px;
}
#contents aside {
  border: solid 1px red;
}
#contents article {
  border: solid 1px green;
}
/* Common Class */
.panel-grid {
  margin: 0!important;
}
.wave {
  position: relative;
  margin: 20px 0;
  padding: 90px 0 !important;
}
@media (max-width: 768px) {
.wave {
  padding: 60px 0 !important;
}
}
.wave::before,
.wave::after {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  width: 100%;
  height: 20px;
  -webkit-animation: animeWave 6.5s linear 0s infinite normal;
  animation: animeWave 6.5s linear 0s infinite normal;
}
.wave::before {
  top: 0;
  background: url(./images/wave_before.png) left top repeat-x;
}
.wave::after {
  bottom: 0;
  background: url(./images/wave_after.png) left top repeat-x;
}
.wave_before {
  position: relative;
  margin: 20px 0 40px;
  padding: 60px 0 40px !important;
}
.wave_before::before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  width: 100%;
  height: 20px;
  background: url(./images/wave_before.png) left top repeat-x;
  -webkit-animation: animeWave 6.5s linear 0s infinite normal;
  animation: animeWave 6.5s linear 0s infinite normal;
}
.wave_after {
  position: relative;
  margin: 40px 0 20px;
  padding: 40px 0 60px !important;
}
.wave_after::after {
  content: '';
  display: block;
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 20px;
  background: url(./images/wave_after.png) left top repeat-x;
  -webkit-animation: animeWave 6.5s linear 0s infinite normal;
  animation: animeWave 6.5s linear 0s infinite normal;
}
@-webkit-keyframes animeWave {
 0% {
 background-position: 0 0;
}
 100% {
 background-position: 351px 0;
}
}
 @keyframes animeWave {
 0% {
 background-position: 0 0;
}
 100% {
 background-position: 351px 0;
}
}
/* ----------------------------------------
  SVG Logo 
---------------------------------------- */
#svg_logo {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  padding-right: 100%;
}
/* Red */
#svg_logo svg.red .color_01 {
  fill: #870000;
}
#svg_logo svg.red .color_02 {
  fill: #A40909;
}
#svg_logo svg.red .color_03 {
  fill: #CB1516;
}
/* Green */
#svg_logo svg.green .color_01 {
  fill: #3D7613!important;
}
#svg_logo svg.green .color_02 {
  fill: #4E8E1E;
}
#svg_logo svg.green .color_03 {
  fill: #64AF2B;
}
/* Blue */
#svg_logo svg.blue .color_01 {
  fill: #012767;
}
#svg_logo svg.blue .color_02 {
  fill: #0B357B;
}
#svg_logo svg.blue .color_03 {
  fill: #2855A5;
}
/* ----------------------------------------
  Global Navigation
---------------------------------------- */
#gnavi {
  background: rgba(255, 255, 255, .7);
  border: 0;
  box-shadow: 0;
  transition: all 300ms 0s ease;
}
#gnavi .navbar-brand {
  padding: 10px;
}
#gnavi #sitelogo {
  max-width: 80%;
}
#gnavi #desc {
  opacity: 1;
  font-size: 12px;
}
#gnavi.hide #desc {
  opacity: 0;
  font-size: 0;
}
#gnavi li {
  text-align: center;
}
#gnavi li a {
  line-height: 1.6;
  font-size: 16px;
}
#gnavi li a span {
  opacity: 1;
  font-size: 12px;
}
#gnavi.hide li a span {
  font-size: 0;
  opacity: 0;
}
#gnavi.hide {
  display: block!important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .20);
  top: 0;
  background: #fff;
}
#gnavi .container {
  transition: all 300ms 0s ease;
}
#gnavi.hide .container {
  padding: 0 15px;
}
@media (min-width: 768px) {
#gnavi #sitelogo {
  max-width: 100%;
}
.navbar-nav>li>a {
  padding-top: 10px;
  padding-bottom: 10px;
}
.navbar-nav>li>a:hover,
.navbar-nav>li>a.active {
  padding-bottom: 8px;
}
.navbar>.container .navbar-brand {
  margin-left: 0;
}
#gnavi.hide {
  top: -20px;
}
#gnavi.hide .container {
  padding: 0 40px;
}
}
.navbar-collapse {
  max-height: none;
}
.navbar-toggle {
  margin-right: 10px;
}
.navbar-toggle:focus {
  outline: 0;
}
.navbar-toggle path {
  stroke: #666;
  stroke-width: 3;
}
/* ----------------------------------------
  Footer
---------------------------------------- */
#footer ul {
  list-style: none;
  padding: 0;
}
#ptop {
  text-align: center;
  margin-bottom: -27px;
}
#footer .panel-grid-cell {
  width:33.3333%;
width:calc(33.3333% - ( 0.66666666666667 * 30px ) );
}
#pl-109 .so-panel {
  margin-bottom:30px
}
#pl-109 .so-panel:last-child {
  margin-bottom:0px
}
#pg-109-0.panel-no-style,
#pg-109-0.panel-has-style > .panel-row-style {
  -webkit-align-items:flex-start;
  align-items:flex-start
}
#pgc-109-0-0 {
  align-self:auto
}
#panel-109-0-1-1> .panel-widget-style {
  padding:0px 0px 0px 0px
}
@media (max-width:1024px) and (min-width:781px) {
#pg-109-0.panel-no-style,
#pg-109-0.panel-has-style > .panel-row-style {
  -ms-flex-wrap:wrap;
  -webkit-flex-wrap:wrap;
  flex-wrap:wrap
}
#pg-109-0 .panel-grid-cell {
  -ms-flex:0 1 50%;
  -webkit-flex:0 1 50%;
  flex:0 1 50%;
  margin-right:0;
  margin-bottom:30px
}
#pg-109-0 .panel-grid-cell:nth-last-child(1) {
  margin-bottom:0
}
#pg-109-0 .panel-grid-cell:nth-child(even) {
  padding-left:15px
}
#pg-109-0 .panel-grid-cell:nth-child(odd) {
  padding-right:15px
}
}
@media (max-width:780px) {
#footer .panel-grid {
  display: block;
}
#footer .panel-grid-cell {
  -webkit-flex-direction:column;
  -ms-flex-direction:column;
  flex-direction:column
}
#footer .panel-grid-cell {
  margin-right:0;
  width:100%
}
#pgc-109-0-0,
#pgc-109-0-1 {
  margin-bottom:30px
}
#pl-109 .panel-grid-cell {
  padding:0
}
#pl-109 .panel-grid .panel-grid-cell-empty {
  display:none
}
#pl-109 .panel-grid .panel-grid-cell-mobile-last {
  margin-bottom:0px
}
}
/* ----------------------------------------
  Page link
---------------------------------------- */
#page_link ul {
  position: fixed;
  top: 50%;
  right: 22px;
  z-index: 100;
  padding: 0;
  list-style: none;
}
#page_link ul li {
  display: block;
  margin: 17px 0;
  line-height: 1;
}
#page_link ul li a {
  content: '';
  position: relative;
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 100%;
}
#page_link ul li a::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -4px;
  margin-left: -4px;
  display: block;
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 100%;
}
#page_link ul li a:hover,
#page_link ul li a.active {
  border: solid 1px #fff;
}
#page_link ul.sec li a::after {
  background: #6bbc3f;
}
#page_link ul.sec li a:hover,
#page_link ul.sec li a.active {
  border: solid 1px #6bbc3f;
}
/* ----------------------------------------
  Contact_form
---------------------------------------- */
.contact_text dt {
  margin: 10px 0;
  padding: 7px 20px 2px 5px;
  text-align: right;
  width: 30%;
  float: left;
  clear: left;
}
.contact_text dd #contact-name,
.contact_text dd #contact-company,
.contact_text dd #contact-tel,
.contact_text dd #contact-mail,
.contact_text dd #contact-url,
.contact_text dd #contact-message {
  width: 70%;
  margin: 10px 0;
  padding: 5px;
}
.red_required {
  color: #6bbc3f;
  font-size: 10px;
}
.contact_text #contact-sub {
  text-align: center;
  padding: 5px 50px;
}
@media (max-width:768px) {
.contact_text dt {
  text-align: left;
  margin: 0;
  padding: 0 7px;
  width: 100%;
}
.contact_text dd #contact-name,
.contact_text dd #contact-company,
.contact_text dd #contact-tel,
.contact_text dd #contact-mail,
.contact_text dd #contact-url,
.contact_text dd #contact-message {
  padding: 5px;
  width: 100%;
  margin: 0 0 16px;
}
}
#btn-topcontact {
  position: fixed;
  top: 200px;
  right: 0;
  z-index: 200;
}
/* ----------------------------------------
  Recent Posts
---------------------------------------- */
.rpwe-ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 40px 0;
}
.rpwe-block li {
  width: 32%;
  margin: 0!important;
  padding: 15px;
  position: relative;
}
.rpwe-default-thumb {
  box-sizing: content-box;
}
.rpwe-block a.more-link {
  display: block!important;
  position: absolute;
  right: 0;
  bottom: 0;
}
@media (max-width: 768px) {
.rpwe-ul li {
  width: 100%;
}
}
/* ----------------------------------------
  privacy policy 
---------------------------------------- */
.pri-text dt {
  font-size: 18px;
  color: #6bbc3f;
}
 @media (max-width: 768px) {
.or_inner_container {
  width: 100%;
  padding: 15px;
}
.sp-none {
  display: none;
}
}
/* ----------------------------------------
  Estimation
---------------------------------------- */
.est_ttl {
  font-size: 2em;
  border-bottom: solid 2px #999;
  margin: 60px 0 12px;
  padding-bottom: 4px;
}
.cat {
  margin-bottom: 1.6em;
  padding: 20px;
  overflow: hidden;
  border: solid 1px #f4f4f4;
}
.cat h2 {
  font-size: 2em;
  margin: 0 0 .8em;
}
.cat h2 .txt_small {
  font-weight: normal;
  margin-left: 1em;
}
.item {
  padding: 1em 0;
  border-bottom:  dashed 1px #ccc;
}
form#mailformpro * {
  box-shadow: none!important;
}
.item h3 {
  margin: .5em .5em .1em;
  font-size: 1.6em;
  font-weight: normal;
}
.item ol {
  font-size: 0;
  padding: 0;
}
.item li {
  display: inline-block;
}
.item label {
  cursor: pointer;
  padding:  20px 0!important;
  width:  205px!important;
  text-align:  center;
  font-size: 18px;
}
.item label:hover {
  background: #f4f4f4;
}
.item label input {
	display: none;
}
#price {
  width: 300px;
  position: fixed;
  right: 20px;
  bottom: 70px;
  z-index: 10;
      background: #fff;

}
@media screen and (max-width: 1562px) {
  #price {
    width: 100%;
    right: 0;
    bottom: 0;
    border-top: solid 1px #ccc;
  }
}

form#mailformpro dl#price dt,
form#mailformpro dl#price dd {
  padding: 10px 5px;
  background: transparent;
  text-align: right;
  text-shadow: 0 0 4px #fff, 0 0 4px #fff, 0 0 4px #fff, 0 0 4px #fff;
  border-top: 0;
}
form#mailformpro dl#price dt {
  width: 100px;
  float:  left;
}
form#mailformpro dl#price dd {
  clear: none;
}
form#mailformpro .item label {
  margin: .5em;
}