/*
Theme Name: keieisoudan
*/
/****************************************
General Setting 
*****************************************/
@import url('https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+New:wght@400;700;900&family=Zen+Maru+Gothic:wght@400;700;900&display=swap');
@font-face {
 /* font-family: 'keifont';
  font-weight: normal;
  src: url(fonts/keifont_web.ttf) format('truetype');
  font-display: swap;*/
}
/****************************************
Form
*****************************************/
input[type="submit"] {
  border: 1px solid #ccc;
  padding: 4px 10px;
  color: #666;
  cursor: pointer;
  /* Webkit */
  background: -webkit-gradient(linear, left top, left bottom, from(#eee), to(#ccc));
  /* FF */
  background: -moz-linear-gradient(top, #eee, #ccc);
  /* IE */
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffeeeeee, endColorstr=#ffcccccc);
  zoom: 1;
}
/***********************************************************************************************

　　　　共通

************************************************************************************************/
.clear {
  clear: both;
  line-height: 0
}
.clearfix:after {
  content: " ";
  /* 新しい要素を作る */
  display: block;
  /* ブロックレベル要素に */
  clear: both;
  height: 0;
  visibility: hidden;
}
.clearfix {
  min-height: 1px;
}
* html .clearfix {
  height: 1px;
  /*¥*/
  /*/
  height: auto;
  overflow: hidden;
  /**/
}
.sp_image , .sp_image_inline_block , .sp_image_inline {
  display: none !important;
}
a {
  color: #505050;
  text-decoration: none;
}
a:hover {
  opacity: 0.8;
}
br[style="clear: both;"] {
  height: 0px;
  line-height: 0px;
}
strong {
  font-weight: bold;
}
ul.disc li {
  list-style-type: disc;
  list-style-position: inside;
  text-indent: -1em;
  padding-left: 1em;
}
h1 {
  clear: both;
}
h2 {
  clear: both;
  margin: 0px auto;
  text-align: center;
  font-weight: bold;
}
h3 {
  clear: both;
  margin: 0px auto;
  font-weight: bold;
}
h4 {
  clear: both;
}
h5 {
  clear: both;
}
h6 {
  clear: both;
}
.fl_l {
  float: left;
}
.fl_r {
  float: right;
}
table {
  border-collapse: collapse;
}
.alignright {
  float: right;
  margin-left: 15px;
}
.alignleft {
  float: left;
  margin-right: 15px;
}
img.aligncenter {
  width: auto;
  display: block;
  margin: 0px auto;
}
.inline-block {
  display: inline-block;
}
dt {
  clear: both;
}
figcaption {
  clear: both;
  padding: 0.5em 0px 1em;
}
ul[style="list-style-type: disc;"], ul[style="list-style-type: circle;"], ul[style="list-style-type: square;"] {
  width: 95%;
  margin: 0px auto;
  max-width: 900px;
}
ul[style="list-style-type: disc;"] li {
  list-style-type: disc;
}
ul[style="list-style-type: circle;"] li {
  list-style-type: circle;
}
ul[style="list-style-type: square;"] li {
  list-style-type: square;
}
.red {
  color: #ff0000;
}
.text_center {
  text-align: center;
}
.text_left {
  text-align: left;
}
.text_right {
  text-align: right;
}
.mgb20 {
  margin-bottom: 20px !important;
}
.mgb30 {
  margin-bottom: 30px !important;
}
.mgb60 {
  margin-bottom: 60px !important;
}
.fsize12 {
  font-size: 1.2em;
}
.green {
  color: #00A844;
}
.blue {
  color: #33B3E2;
}
.webfont {
  transform: rotate(0.03deg); /* シャギーを防ぐ指定 */
}
.weight_normal{
  font-weight: normal;
}
img[src*=’.svg’] {
  width: 100%;
  height: auto;
}
/****************************************
function.phpで指定した文字色
*****************************************/
.has-pink-color {
  color: #ff9db9;
}
.has-pink-background-color {
  background: #ff9db9;
}
.has-red-color {
  color: #cf2e2e;
}
.has-red-background-color {
  background: #cf2e2e;
}
.has-orange-color {
 color: #f19975;
}
.has-orange-background-color {
  background: #f19975;
}
.has-yellow-color {
 color: #ffee77;
}
.has-yellow-background-color {
  background: #ffee77;
}
.has-light-green-cyan-color {
 color: #a5d51f;
}
.has-light-green-cyan-background-color {
  background: #a5d51f;
}
.has-amber-color {
 color: #fcb900;
}
.has-amber-background-color {
  background: #fcb900;
}
.has-vivid-green-cyan-color {
 color: #00d084;
}
.has-vivid-green-cyan-background-color {
  background: #00d084;
}
.has-pale-cyan-blue-color {
 color: #8ed1fc;
}
.has-pale-cyan-blue-background-color {
  background: #8ed1fc;
}
.has-vivid-cyan-blue-color {
 color: #0693e3;
}
.has-vivid-cyan-blue-background-color {
  background: #0693e3;
}
.has-light-gray-color {
 color: #eee;
}
.has-light-gray-background-color {
  background: #eee;
}
.has-cyan-blue-gray-color {
 color: #abb8c3;
}
.has-cyan-blue-gray-background-color {
  background: #abb8c3;
}
.has-dark-gray-color {
 color: #313131;
}
.has-dark-gray-background-color {
  background: #313131;
}
/***********************************************************************************************

　　　　全体

************************************************************************************************/
body {
  left: 0;
  font-size: 15px;
  line-height: 24px;
  font-family: "Zen Kaku Gothic New" , "Zen Maru Gothic" , 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'メイリオ', 'Meiryo', '游ゴシック', 'Yu Gothic', 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
  -webkit-text-size-adjust: 100%;
  letter-spacing: 2px;
  text-align: center;
  color: #505050;
  background-image: url(images/header_bg.png) , url(images/footer_bg.png);
  background-repeat: no-repeat , no-repeat;
  background-position: top , bottom;
  background-size: 100% , 100%;
  background-color: #f6efe4;
}
header#pagehead {
  position: relative;
  width: 100%;
  height: 90px;
  margin: 0px auto;
  background-color: #ff9431;
  margin-bottom: 60px;
}
header#pagehead h1{
  font-weight: bold;
  font-size: 34px;
}
#pagehead_left{
  position: absolute;
  left: 60px;
  top: 50px;
}
#pagehead_right{
  position: absolute;
  right: 60px;
  top: 50px;
}
#pagehead_right span{
  margin-left: 1em;
}
#pagehead_right .tel{
  padding-left: 35px;
  margin-left: 30px;
  font-size: 1.4em;
  background: url(images/tel.png) no-repeat;
  background-position: 0px 8px;
  background-size: 30px;
  border-bottom: 3px solid #ff9431;
}
#footer {
  position: relative;
  width: 100%;
  margin: 0px auto;
padding-top: 60px;
  padding-bottom: 15px;
}
#footer #soudan , #footer #toiawase{
  display: flex;
  align-items: center;
  width: 840px;
  margin: 0px auto;
}
#footer #soudan{
  margin-bottom: 30px;
}
#footer #toiawase{
  margin-bottom: 65px;
}
#footer #soudan h3 , #footer #toiawase h3{
  width: 100px;
  background: url(images/contact_yajirushi.png) no-repeat;
  background-position: bottom;
  background-size: 100%;
  font-size: 0.9em;
  letter-spacing: 1px;
  text-align: left;
}
#footer #soudan > ul , #footer #toiawase > div{
  width: 700px;
  margin-left: 40px;
}
#footer #soudan > ul{
  display: flex;
}
#footer #soudan > ul li{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  margin-right: 25px;
  background: #fff;
  border-radius: 50%;
}
#footer #toiawase > div > p{
  text-align: left;
}
#footer #toiawase > div > p:first-child{
  margin-bottom: 1em;
}
#footer #toiawase > div > p > .tel{
  padding-left: 1.5em;
  background: url(images/tel.png) no-repeat;
  background-position: 0px 5px;
  background-size: 1.5em;
}
#footer_cont{
	background-color: #ff9431;
	padding: 1.5em 0em;
	}
#footer_cont > p#footer_catch{
  margin-bottom: 32px;
  font-size: 2em;
  line-height: 1.5em;
  font-family: "Zen Maru Gothic";
  font-weight: bold;
}
#footer_cont > .tel{
  display: inline-block;
  padding-left: 70px;
  margin-left: 30px;
  margin-bottom: 30px;
  padding-bottom: 10px;
  font-size: 3em;
  background: url(images/tel.png) no-repeat;
  background-position: 0px 0px;
  background-size: 56px;
  border-bottom: 3px solid #ffcf79;
  font-weight: bold;
  font-family: "Zen Maru Gothic";
  color: #ffffff;
}
#footer_cont img#footer_illust{
  position: absolute;
  bottom: 150px;
  right: calc(50% - 400px);
}
.copy {
  margin-top: 25px;
  font-size: 0.8em;
  text-align: center;
}
/***********************************************************************************************

　　　　TOPページ

************************************************************************************************/
#mainimage {
  position: relative;
  width: 1250px;
  height: 765px;
  margin: 0px auto 160px;
}
#sp_mainphoto{
  display: none;
}
#mainimage #catchcopy{
  position: absolute;
  right: 80px;
  top: 50px;
  width: 11em;
  font-size: 2.3em;
  letter-spacing: 6px;
  text-align: right;
  line-height: 2em;
  font-family: "Zen Maru Gothic";
}
#mainimage #catchcopy strong{
  background: #ff9431;
  color: #fff;
  padding: 3px 7px;
}
#mainimage #pc_mainphoto svg , #mainimage #sp_mainphoto svg{
  filter: drop-shadow(1px 0px 0px #555) drop-shadow(-1px 0px 0px #555) drop-shadow(0px -0.5px 0px #555) drop-shadow(0px 1px 0px #555);
}
#mainimage #mainphoto_lead{
  position: absolute;
  left: 180px;
  bottom: 20px;
  line-height: 2em;
  writing-mode: vertical-rl;
  text-align: start;
}
#mainimage #mainphoto_lead strong{
  writing-mode: horizontal-tb;
}
#mainimage #main_illust{
  position: absolute;
  bottom: 150px;
  right: 100px;
}
#mainimage #mainphoto_tel{
  position: absolute;
  bottom: 100px;
  right: 100px;
}
#mainimage #mainphoto_tel .tel{
  padding-left: 40px;
  margin-left: 30px;
  font-size: 1.6em;
  background: url(images/tel.png) no-repeat;
  background-position: 0px 10px;
  background-size: 33px;
  border-bottom: 3px solid #ff9431;
}
#mainimage #mainphoto_tel .weight_normal{
  display: none;
}
main#topmain{
  position: relative;
  overflow: hidden;
}
main#topmain h2{
  writing-mode: vertical-rl;
  text-align: start;
  font-family: "Zen Maru Gothic";
  font-size: 2.3em;
  line-height: 1.8em;
}
main#topmain #himitsu{
  margin-bottom: 110px;
}
main#topmain #himitsu > div{
  position: relative;
  height: 350px;
}
main#topmain #himitsu > div > h2{
  position: absolute;
  left: calc(50% - 8em);
}
main#topmain #himitsu > div > figure{
  position: absolute;
  left: calc(50% - 120px);
  top: 50px;
}
main#topmain #himitsu > div > p{
  position: absolute;
  left: calc(50% - 120px);
  bottom: 0px;
}
main#topmain #nayami{
  margin-bottom: 110px;
}
main#topmain #nayami > div{
  position: relative;
  height: 505px;
}
main#topmain #nayami > div > h2{
  position: absolute;
  right: calc(50% - 12em);
}
main#topmain #nayami > div > ul{
  position: absolute;
  right: calc(50% - 225px);
  top: 50px;
  width: 450px;
  margin: 0px auto;
  padding: 30px;
  background: #fff;
  box-sizing: border-box;
  border: 2px solid #000;
  text-align: left;
  font-family: "Zen Maru Gothic";
}
main#topmain #nayami > div > ul li{
  margin-bottom: 1em;
}
main#topmain #nayami > div > ul li:before{
  content: "□";
  margin-right: 1em;
}
main#topmain #nayami > div > ul li strong{
  font-weight: normal;
  border-bottom: 2px solid #ff9431;
}
main#topmain #nayami > div > p{
  position: absolute;
  left: calc(50% - 220px);
  bottom: 70px;
}
main#topmain #nayami > div > figure#nayami_illust1{
  position: absolute;
  top: 70px;
  right: calc(50% - 240px);
}
main#topmain #nayami > div > figure#nayami_illust2{
  position: absolute;
  bottom: 120px;
  left: calc(50% - 400px);
}
main#topmain #feature > div{
  position: relative;
  height: 710px;
  margin-bottom: 125px;
}
main#topmain #feature > div > h2{
  position: absolute;
  left: calc(50% - 12em);
  top: 50px;
}
main#topmain #feature > div > p.hukidashi{
  position: absolute;
  right: calc(50% - 430px);
  width: 128px;
  height: 134px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: url(images/hukidashi.png) no-repeat;
  background-size: 128px;
  color: #fff;
  font-size: 0.9em;
}
main#topmain #feature > div > figure{
  position: absolute;
  right: calc(50% - 500px);
  top: 90px;
}
main#topmain #feature > div > ul{
  position: absolute;
  width: 446px;
  display: flex;
  flex-wrap: wrap;
  right: calc(50% - 400px);
  top: 100px;
}
main#topmain #feature > div > ul li{
  display: flex;
  align-items: center;
  flex-flow: column;
  justify-content: center;
  width: 213px;
  height: 137px;
  margin-bottom: 20px;
  background: #fff;
  color: #51353c;
  border:2px solid #555 ;
  border-radius: 5px;
  font-family: "Zen Maru Gothic";
  font-size: 1.2em;
  line-height: 1.5em;
  box-sizing: border-box;
}
main#topmain #feature > div > ul li:nth-child(odd){
  margin-left: 20px;
}
main#topmain #feature > div > ul li:first-child{
  margin-right: 100px;
  margin-left: 0px;
}
main#topmain #feature > div > ul li strong{
  font-size: 1.5em;
}
main#topmain #feature > div > ul li br{
  line-height: 7px;
}
main#topmain #kaiketsu{
  margin-bottom: 60px;
}
main#topmain #kaiketsu > div{
  position: relative;
  height: 1220px;
}
main#topmain #kaiketsu > div h2{
  position: absolute;
  right: calc(50% - 400px);
  top: 80px;
}
main#topmain #kaiketsu > div figure#kaiketsu_image1{
  position: absolute;
  right: calc(50% - 450px);
  top: 350px;
}
main#topmain #kaiketsu > div figure#kaiketsu_image2{
  position: absolute;
  top: 520px;
  left: calc(50% - 380px);
}
main#topmain #kaiketsu > div .kaiketsu_list{
  width: 415px;
  padding: 40px;
  margin: 0px auto;
  color: #51353c;
  border:2px solid #555 ;
  border-radius: 5px;
  text-align: left;
  background: #fff;
  box-sizing: border-box;
  line-height: 2em;
}
main#topmain #kaiketsu > div .kaiketsu_list ul{
  font-family: "Zen Maru Gothic";
}
main#topmain #kaiketsu > div .kaiketsu_list ul li{
  list-style-type: disc;
  margin-left: 1em;
}
main#topmain #kaiketsu > div .kaiketsu_list > div{
  position: relative;
}
main#topmain #kaiketsu > div .kaiketsu_list > div > h3{
  position: absolute;
  top: -55px;
  right: -20px;
  padding: 2px 6px;
  background:#ff9431;
  color: #fff;
}
main#topmain #daihyou{
  align-items: flex-start;
  width: 840px;
  margin: 135px auto 0px;
}
main#topmain #daihyou figure{
  width: 250px;
  height: 250px;
  border-radius: 50%;
  border: 2px solid #000;
}
main#topmain #daihyou figure img{
  object-fit: cover;
  height: 100%;
  border-radius: 50%;
}
main#topmain #daihyou > p{
  margin-left: 50px;
  padding-top: 40px;
  border-top: 2px solid #000;
}
#kaiketsu .wp-block-columns{
	width: 800px;
	margin: 60px auto 0 auto;
}
/***********************************************************************************************

　　　　投稿ページデフォルト

************************************************************************************************/
body.post-template-default header#pagehead {
  position: absolute;
  top: 0px;
  padding-bottom: 0px;
  background-image: url(images/header/page/bg.png);
  background-repeat: repeat-x;
  background-position: top center;
  background-size: cover;
}
body.post-template-default header#pagehead #page_home {
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 474px;
}
.page_single {
width:1000px;
  margin: 140px auto 0 auto;
  background-color: #ffffff;
  padding: 2em;
}
.page_single h1{
    color: #ff9431;
    padding: 0.8em 0.5em;
	font-size: 2em;
	margin: 0.8em 0em;
}
.page_single h2{
	background: #ff9431;
    color: #fff;
    padding: 0.6em 0.5em;
	font-size: 1.2em;
	margin: 1em 0em 0.6em 0em;
}
.page_single h3{
	text-align: left;
	color: #ff9431;
	font-size: 1.1em;
	margin-top: 0.5em;
}
.page_single p{
	
}
#single_cont {
  width: 940px;
  margin: 0 auto;
}
#single_cont h1 {
  margin: 1em auto;
  color: #00a844;
  font-size: 1.9em;
  line-height: 1.4em;
  font-weight: 800;
}
#single_cont h2 {
  background: url(images/page/title_bg.png) no-repeat;
  background-size: auto;
  background-size: 408px 58px;
  width: 408px;
  height: 43px;
  margin: 0em auto 2em auto;
  color: #4f2920;
  font-size: 20px;
  padding: 15px 0px 0px 0px;
}
#singlepage-widget {
  margin: 3em auto 2em auto;
}
/***********************************************************************************************

　　　　カテゴリー

************************************************************************************************/
.more_blog a{
	color: #11af28ed;
	font-weight: bold;
	border-bottom: 1.5px solid;
	width: 120px;
	margin: 1em auto;
	display: block;
}

/***********************************************************************************************

　　　　固定ページ

************************************************************************************************/
.page_deforuto{
	width:1000px;
	margin: 0 auto 6em auto;
}
.page_deforuto h1{
    color: #ff9431;
    padding: 0.8em 0.5em;
	font-size: 2em;
	margin: 0.8em 0em;
}
.page_deforuto h2{
	background: #ff9431;
    color: #fff;
    padding: 0.6em 0.5em;
	font-size: 1.2em;
	margin: 1em 0em 0.6em 0em;
}
#style01 table{
	text-align: left;
	width: 800px;
	margin: 0 auto;
	}
#style01 table th{
	color: #ff9431;
	width:120px;
	border: none;
	vertical-align: top;
	}
#style01 table td{
	border: none;
	}
.wp-block-details p{
	padding-bottom: 1em;
}

/***********************************************************************************************

　　　　フォーム

************************************************************************************************/
.wpcf7-form{
	  width: 800px;
	margin: 4em auto 2em auto;
} 
.form-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding: 10px 7px;
  margin: 0.5em;
}
.form-row .form-label {
  font-size: 1.1em;
  width: 260px;
  color:#ff9431;
 font-weight: bold;
text-align: left;
}
.form-row.required .form-label p::after {
  color: #e83828;
  content: "（必須）";
  display: inline-block;
  font-size: 0.8em;
}
.form-row button, .form-row input[type="date"], .form-row input[type="email"], .form-row input[type="tel"], .form-row input[type="text"], .form-row input[type="url"], .form-row select, .form-row textarea {
  background: #fff;
  border: none;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  outline: none;
  padding: 1em 1em;
  width: 100%;
}
.form-row textarea {
  width: 150%;
}
.form-submit button, .form-submit input[type="submit"] {
  background: #3db166;
  border: none;
  border-radius: 40px;
  color: #fff;
  display: flex;
  font-size: 1.2rem;
  font-weight: 700;
  height: 48px;
  line-height: 1;
  margin: 2em auto;
  outline: none;
  width: 280px;
  align-items: center;
  justify-content: center;
}
.wpcf7-checkbox span {
  display: block;
}
.wpcf7-checkbox span label {
  display: flex;
  align-items: center;
  gap: 0 10px;
}
/***********************************************************************************************

　　　　カテゴリー・アーカイブデフォルト

************************************************************************************************/

/***********************************************************************************************

　　　　レスポンシブ

************************************************************************************************/
@media (min-width: 481px) and (max-width: 1250px) {
  header#pagehead{
    width: 100%;
  }
  #pagehead_right{
    text-align: right;
  }
  #pagehead_right > span{
    display: block;
  }
  #mainimage{
    width: 100%;
    margin-bottom: 10vw;
  }
  #mainimage #pc_mainphoto svg{
    width: 80%;
  }
  #mainimage #mainphoto_lead{
    left: 8%;
    bottom: unset;
    line-height: 1.5em;
    font-size: 1.5vw;
    top: min(470px, 75vw);
  }
  main#topmain h2{
    font-size: 1.8em;
  }
  main#topmain #himitsu > div > h2{
    left:max(50% - 8em, 50% - 50vw);
  }
  main#topmain #nayami > div > h2{
    right: calc(50% - 50vw);
  }
  main#topmain #nayami > div > ul{
    right: calc(50% - 30vw);
    width: 72%;
    max-width: 450px;
    padding: 15px;
  }
  main#topmain #nayami > div > figure#nayami_illust2{
    bottom: 70px;
    left: 0px;
    width: 27vw;
  }
  main#topmain #nayami > div > figure#nayami_illust1{
    right: calc(50% - 30vw);
  }
  main#topmain #nayami > div > p{
    left: unset;
    width: 75%;
    right: 0px;
  }
  main#topmain #nayami > div > p > br{
    display: none;
  }
  main#topmain #feature > div{
    margin-bottom: 0px;
  }
  main#topmain #feature > div > h2{
    left: 20%;
  }
  main#topmain #feature > div > ul{
    right: 0px;
    width: 50%;
  }
  main#topmain #feature > div > ul li{
    width: 47%;
    height: auto;
  }
  main#topmain #feature > div > ul li:nth-child(odd) {
    margin-left: 2vw;
  }
  main#topmain #feature > div > ul li:first-child{
    margin-right: 100px;
    margin-left: 0px;
  }
  main#topmain #feature > div > figure{
    right: 0px;
    width: 25vw;
  }
  main#topmain #feature > div > p.hukidashi{
    right: 0px;
  }
  main#topmain #kaiketsu{
    margin-bottom: 150px;
  }
  main#topmain #kaiketsu > div{
    height: auto;
  }
  main#topmain #kaiketsu > div .kaiketsu_list{
    width: 50%;
    padding: 20px;
  }
  main#topmain #kaiketsu > div .kaiketsu_list > div > h3{
    top: -45px;
  }
  main#topmain #kaiketsu > div h2{
    right: 6vw;
  }
  main#topmain #kaiketsu > div figure#kaiketsu_image1{
    top: 300px;
    right: 0px;
  }
  main#topmain #kaiketsu > div figure#kaiketsu_image2{
    left: 5vw;
  }
  main#topmain #daihyou{
    width: 95%;
  }
  main#topmain #daihyou figure{
    width: 30vw;
    height: 30vw;
  }
  main#topmain #daihyou > p{
    margin-left: 5vw;
  }
#kaiketsu .wp-block-columns{
	width: 100%;
	margin: 30px auto 0 auto;
}
  #footer #soudan, #footer #toiawase{
    width: 100%;
  }
  #footer #soudan > ul, #footer #toiawase > div{
    width: 80%;
    margin-left: 4%;
  }
  #footer #soudan > ul li{
    width: 15vw;
    height: 15vw;
    margin-right: 1vw;
    font-size: 0.8em;
    line-height: 1.2em;
  }
  #footer_cont > p#footer_catch{
    font-size: 1.5em;
  }
  #footer_cont img#footer_illust{
    bottom: 180px;
    right: 5vw;
    width: 15vw;
  }
  }
  @media (min-width: 481px) and (max-width: 600px) {
    main#topmain #feature > div > figure {
      top: 25vw;
    }
  }
  @media (min-width: 481px) and (max-width: 820px) {
    main#topmain #feature > div > h2{
    left: 2%;
  }
  }
  @media (min-width: 601px) and (max-width: 1250px) {
    main#topmain #feature > div > figure {
      top: 90px;
    }
  }
/***********************************************************************************************

　　　　sp

************************************************************************************************/
@media screen and (max-width:480px) {
  /***********************************************************************************************

　　　　全体:sp

************************************************************************************************/
  html{
    overflow-x: hidden;
  }
  body {
    font-size: 15px;
    line-height: 30px;
    transform: none;
    background-image: url(images/header_bg_sp.png), url(images/footer_bg_sp.png);
  }
  /*
  span , p , li{
    transform: rotate(0.03deg);
  }
  */
.wp-block-image .alignright {
  float: none !important;
  margin: .5em auto .5em auto !important;
}
.wp-block-image .alignleft {
  float: none !important;
  margin: .5em auto .5em auto !important;
}
header#pagehead{
  position: relative;
  width: 100%;
  height: 52px;
}
#pagehead_left{
  left: 20px;
  top: 10px;
}
#pagehead_right{
  display: none;
}
header#pagehead h1{
  font-size: 1em;
}
#footer {
	padding-top: 0px;
	}
#footer #soudan, #footer #toiawase{
  display: block;
  width: 95%;
}
#footer #soudan h3, #footer #toiawase h3{
  margin-left: 10px;
  margin-bottom: 30px;
}
#footer #soudan > ul{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  margin-left:0;
}
#footer #soudan > ul li{
  width: 110px;
  height: 110px;
  margin: 0px 2px;
  font-size: 0.9em;
}
#footer #toiawase{
  margin-bottom: 40px;
}
#footer #toiawase > div{
  width: 95%;
  margin: 0px auto;
}
#footer_cont > p#footer_catch{
  font-size: 1.4em;
}
#footer_cont img#footer_illust{
  position: static;
  display: block;
  width: 100px;
  margin: 0px auto 15px;
}
#footer_cont > .tel{
  margin-left: 0px;
  margin-bottom: 10px;
  font-size: 2.2em;
}
#footer_cont > .tel a{
	color: #ffffff;
}
  .copy {
    margin-top: 10px;
    font-size: 0.7em;
    line-height: 1.5em;
  }
  /***********************************************************************************************

　　　　共通:sp

************************************************************************************************/
  .pc_image , .pc_image_inline_block , .pc_image_inline {
    display: none !important;
  }
  .sp_image {
    display: block !important;
  }
  .sp_image_inline_block {
    display: inline-block !important;
  }
  .sp_image_inline {
    display: inline !important;
  }
  br.sp_image {
    line-height: 0px;
  }
  .fl_l, .fl_r {
    float: none;
  }
  .fl_l_sp {
    float: left;
  }
  .fl_r_sp {
    float: right;
  }
  img.fl_l, img.fl_r {
    padding: 0px;
  }
  main img {
    max-width: 100%;
    height: auto;
  }
  h1 {
    max-width: 100%;
    box-sizing: border-box;
  }
  main#topmain h2{
    font-size: 1.5em;
  }
  img.alignleft {
    float: none;
    display: block;
    width: auto;
    margin: 0px auto;
    margin-bottom: 1em;
    padding: 0px;
  }
  img.alignright {
    float: none;
    display: block;
    width: auto;
    margin: 0px auto;
    margin-bottom: 1em;
    padding: 0px;
  }
  img.vertical {
    width: 50%;
  }
  /***********************************************************************************************

　　　　top:sp

************************************************************************************************/
#pc_mainphoto{
  display: none;
}
#sp_mainphoto{
  display: block;
  position: absolute;
  top: 65px;
  left: 9%;
}
#mainimage{
  width: 100%;
  height: 600px;
  margin: 0px auto 130px;
}
#mainimage #catchcopy{
  top: 0px;
  right: 5%;
  width: 95%;
  font-size: 1.5em;
  letter-spacing: 5px;
  font-weight: 500;
  }
#mainimage #main_illust{
  position: absolute;
  bottom: 80px;
  right: 20px;
  width: 50%;
}
#mainimage #mainphoto_lead{
  left: 5%;
  bottom: 0px;
  line-height: 1.5em;
}
#mainimage #mainphoto_tel{
  bottom: 0px;
  right: 5%;
  text-align: right;
  font-weight: bold;
  line-height: 1.5em;
}
#mainimage #mainphoto_tel .tel{
  padding-bottom: 5px;
  background-position: 0px 2px;
}
#mainimage #mainphoto_tel .tel , #mainimage #mainphoto_tel .weight_normal{
  display: block;
}
main#topmain #himitsu > div{
  height: auto;
}
main#topmain #himitsu > div > figure{
  position: absolute;
  left: unset;
  top: 10px;
  right: 10%;
  width: 60%;
}
main#topmain #himitsu > div > p{
  position: static;
  width: 95%;
  padding-top: 45vw;
  margin: 0px auto;
}
main#topmain #nayami{
  margin-bottom: 50px;
}
main#topmain #nayami > div{
  height: auto;
}
main#topmain #nayami > div > h2{
  position: static;
  margin-bottom: 1em;
}
main#topmain #nayami > div > ul{
  position: static;
  width: 90%;
  padding: 20px 10px;
}
main#topmain #nayami > div > ul li{
  margin-bottom: 0.5em;
}
main#topmain #nayami > div > ul li:before{
  margin-right: 3px;
}
main#topmain #nayami > div > p{
  position: static;
  width: 95%;
  margin: 0px auto;
}
main#topmain #nayami > div > figure#nayami_illust1{
  top: 170px;
  right: calc(50% - 10em);
}
main#topmain #nayami > div > figure#nayami_illust2{
  position: static;
  margin-top: -20px;
  text-align: left;
}
main#topmain #nayami > div > figure#nayami_illust2 img{
  position: relative;
  left: 2em;
}
main#topmain #feature > div{
  height: auto;
}
main#topmain #feature > div > h2{
  position: static;
  margin-bottom: 45px;
}
main#topmain #feature > div > ul{
  position: static;
  width: 95%;
  margin: 0px auto;
}
main#topmain #feature > div > ul li{
  width: 47%;
  height: auto;
  aspect-ratio: 3 / 2;
  font-size: 0.9em;
}
main#topmain #feature > div > figure{
  position: absolute;
  right: 10px;
  top: 500px;
  width: 45%;
}
main#topmain #feature > div > p.hukidashi{
  position: absolute;
  right: 40px;
  top: 420px;
  width: 80px;
  height: auto;
  aspect-ratio: 257 / 267;
  font-size: 0.6em;
  letter-spacing: 1px;
  background-size: 80px;
  line-height: 13px;
}
main#topmain #kaiketsu{
  margin-bottom: 150px;
}
main#topmain #kaiketsu > div{
  height: auto;
}
main#topmain #kaiketsu > div > h2{
  position: static;
}
main#topmain #kaiketsu > div figure#kaiketsu_image1{
  position: relative;
  right: unset;
  top: unset;
  left: 50px;
  margin-top: -70px;
  margin-bottom: 50px;
}
main#topmain #kaiketsu > div .kaiketsu_list{
  width: 85%;
  padding: 20px 15px;
}
main#topmain #kaiketsu > div .kaiketsu_list > div > h3{
  top: -40px;
  right: 0px;
}
main#topmain #kaiketsu > div figure#kaiketsu_image2 {
  position: relative;
  top: unset;
  left: unset;
  right: 50px;
  margin-top: 30px;
}
#kaiketsu .wp-block-columns{
	width: 100%;
	margin: 30px auto 0 auto;
}
main#topmain #daihyou{
  flex-flow: column-reverse;
  width: 100%;
  margin-top: 35px;
}
main#topmain #daihyou > p{
  width: 90%;
  margin: 0px auto;
}
main#topmain #daihyou > div{
  margin: 0px auto;
} 
  /***********************************************************************************************

　　　　固定ページ:sp

************************************************************************************************/
.page_deforuto{
	width:96%;
	margin: 0 auto 3em auto;
}
#style01 table{
width:96%;
	margin: 0 auto;
	}
.wpcf7-form{
width:96%;
	margin: 2em auto 1em auto;
}
.form-row {
  display: block;
  padding: 4px 2px;
}
.form-row .form-label {
  width: 100%;
}
.page_single{
	width:88%;
	margin: 0 auto 3em auto;
	padding: 5% 4%;
}
}



