@charset "utf-8";
/* CSS Document */

/*
Theme Name: AMATERASU
Description: Easy,SimpleDesign
Version: simple 1.1
Base Color: red
Author: AMATERASU
Author URI: http://www.seo-amaterasu.com/
*/

@media screen and (max-width: 768px){

/* layout */
body {
  margin: 0; 
  padding: 0;
  background-color: #fafaf0;
}

#header {
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  background-color: #ffffff;
}

#header_in {
  width: 100%;
  height: auto;
  margin: 0;
  padding-top: 2.604166666%;
  position: relative;
  z-index: 2;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  display: table;
}

#main_visual {
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  background-image: url("http://sakura0721.xsrv.jp/sakuramedical-seikotsuin-group/wp-content/uploads/2024/08/sp_main_visual_bg.png");
  background-position: center top;
  background-repeat: no-repeat;
  background-size: 100%;
}

#main_visual_in {
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0 2.604166666%;
  display: table;
}

.home #wrapper {
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  display: table;
}

.page-template-one_column_page #wrapper,
.post-type-archive-voices #wrapper {
  width: 100%;
  height: auto;
  margin: 0;
  padding: 5.208333333% 0;
  display: table;
}

.single-cases #wrapper {
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0 0 5.208333333% 0;
  display: table;
}

.single-voices #wrapper {
  width: 100%;
  height: auto;
  margin: 0;
  padding: 7.8125% 2.604166666%;
  display: table;
}

.single-shops #wrapper,
.single-treatments #wrapper {
  width: 100%;
  height: auto;
  margin: 0;
  padding: 7.8125% 2.604166666% 5.208333333% 2.604166666%;
  display: table;
}

#wrapper {
  width: 100%;
  height: auto;
  margin: 0;
  padding: 5.208333333% 2.604166666%;
  display: table;
}

#content {
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
}

.home #sidebar,
.page-template-one_column_page #sidebar,
.post-type-archive-voices #sidebar,
.single-voices #sidebar,
.single-cases #sidebar {
  display: none;
}

#sidebar {
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
}

#footer {
  width: 100%;
  height: auto;
  margin: 0;
  padding-bottom: 7.8125%;
  display: table;
}

#footer_in {
  width: 100%;
  height: auto;
  margin: 0;
  padding: 7.8125% 0;
  background-image: url("http://sakura0721.xsrv.jp/sakuramedical-seikotsuin-group/wp-content/uploads/2024/08/sp_footer_bg_top.png"),
                    url("http://sakura0721.xsrv.jp/sakuramedical-seikotsuin-group/wp-content/uploads/2024/08/sp_footer_bg_bottom.png");
  background-position: center top,
                       center bottom;
  background-repeat: no-repeat;
  background-size: 100%;
  display: table;
}
}