/*
Theme Name: AMATERASU
Description: Easy,SimpleDesign
Version: simple 1.1
Base Color: red
Author: AMATERASU
Author URI: http://www.seo-amaterasu.com/
*/

@charset "utf-8";
/* CSS Document */



@media screen and (max-width: 768px){

/* layout */
body {
  margin-top: 73px;
  padding: 0;
}

p{
  margin: 1em 0px;
}

#header {
  width: 100%;
  margin: 0;
  padding: 0;
  position: fixed;
  top: 0;
  left: 0;
  height: 65px;
  z-index: 10;
}

.page-template-landing_page-php #header {
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  background: none;
}

#header_in {
  background: #fff;
  border-bottom: 3px solid #2468b5;
  width: 100%;
  height: auto;
  margin: 0 auto;
  padding-bottom: 10px;
  display: table;
}

.page-template-landing_page-php #header_in {
  width: 100%;
  height: auto;
  margin: 0 auto;
  padding: 0 2.604166666%;
  display: table;
}

#nav_header {
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  float: none;
}

#nav {
  width: 100%;
  height: auto;
  margin: 0;
  padding: 2.604166666% 0 0 0;
  float: none;
}

div#header ul.menu li {
  background-color: #3fbcf1;
  width: 100%;
  border-right: unset;
  border-bottom: 2px dotted #ffffff;
}

div#header ul.menu li:nth-child(1) {
  border-left: unset;
}

.banner-3 p{
  font-size: 3.2vw;
}

#wrapper {
  width: 100%;
  height: auto;
  margin: 0 auto;
  padding: 30px 2.604166666% 0 2.604166666%;
}

#content_out {
  width: 100%;
  height: auto;
  margin: 0 auto;
  padding: 0;
  float: none;
}

#onecolumn_content_out,
#landing_content_out {
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
}

#main_visual {
  width: 100%;
  height: auto;
  margin: 0 auto;
  padding: 0;
  background: none;
}

#main_visual .bxslider {
  width: 94.79166666%;
  height: auto;
}

#content {
  width: 100%;
  height: auto;
  margin: 0;
  background-color: #ffffff;
  box-shadow: none;
}

#onecolumn_content {
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  background-color: #ffffff;
  box-shadow: none;
}

#landing_content {
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0 60px;
  background-color: #ffffff;
  box-shadow: none;
}

#content .f_box figure{
  width: 40%;
  float: none;
  margin: 0 auto 15px;
}

#content .f_box ul {
  float: none; 
}

#content .f_box p {
  width: 100%;
  float: none;
}

#sidebar {
  width: 100%;
  height: auto;
  margin-bottom: 30px;
  padding: 2.604166666%;
  float: none;
  background-color: #ffffff;
}

#footer {
  width: 100%;
  height: auto;
  display: table;
  margin-bottom: 90px;
  clear: both;
  background: linear-gradient(white,#dcecc2);
}

#footer_in {
  width: 100%;
  height: auto;
  margin: 0 auto;
  padding: 40px 2.604166666%;
  display: table;
}

#copyright_out {
  width: 100%;
  height: auto;
  padding: 25px 0 20px 0;
  border-top: 1px solid #6a6f78;
  display: table;
  background-color: #2a86ad;
}

#copyright_in {
  width: 100%;
  height: auto;
  margin: 0 auto;
  padding: 0 2.604166666%;
}

#footer_nav {
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  float: none;
}
figure.sp_head_btn.sp {
    display: flex;
    padding: 10px 0 0;
    float: right;
}

figure.sp_head_btn.sp a {
    float: left;
    margin-right: 3px;
}

figure.sp_head_btn.sp img {
    /* height: auto; */
    width: 50px;
    height: 50px;
}
#footer_in div#footer_left,
#footer_in div#footer_right {
  float: none;
  width: 100%;
}
#footer_in div#footer_left .foot_logo {
    margin-bottom: 20px;
}
#footer_in div#footer_right .business_hours{
  margin-top: 10px;
}

#footer_in div#footer_left img,
#footer_in div#footer_right img{
  margin: 0 auto;
}

/* コンタクトフォーム */
.contact .table tr th,
.contact .table tr td{
  display: block;
  width: 100%;
}

.copyright a{
  color: #fff;
}

/* footer 固定 */
.popup-block {
  display: flex !important;
  justify-content: space-between;
  width: 100%;
  height: 90px;
  position: fixed !important;
  bottom: 0px !important;
  left: 0px !important;
  z-index: 3 !important;
}

.popup-block .icon_tel {
  background: #ff8400;
  height: 200px;
}

.popup-block a {
  display: block;
  width: 33.333%;
  text-align: center;
}

.popup-block a img{
  margin: 0 auto;
}

.popup-block .icon_send {
  background: #ff4b64;
  height: 200px;
}

.popup-block .icon_mail {
  background: #92bfe0;
  height: 200px;
}
a.icon_tel {
  animation: buruburu 0.7s infinite; 
}
@keyframes buruburu {
   0% {transform: rotate(0deg)}
    25% {transform: rotate(-2deg)}
    50% {transform: rotate(0deg)}
    75% {transform: rotate(2deg)}
    100% {transform: rotate(0deg)}
}

  @media screen and (min-width: 340px){
    figure.sp_head_btn.sp {
      margin-right: 3px;
    }
  }

}


@media screen and (max-width: 500px){
  .sect-A .nayami_sent p {
      font-size: 17px;
  }
  .sect-C .pimg li{
    width: 100%;
    margin: 0 auto 15px;
    float: none;
    text-align: center;
  }
  .sect-C .pimg li img{
    margin: 0 auto;
  }
}

@media screen and (max-width: 360px){
  body {
    margin-top: 63px;
    padding: 0;
  }
  figure.sp_head_btn.sp{
    padding: 5px 0 0;
  }
  figure.sp_head_btn.sp img{
    width: 45px;
    height: 45px;
  }
}