@charset "UTF-8";

@media screen and (max-width:768px) {

  /* ===================================================================

	Setting

=================================================================== */
  html {
    color: #333;
    background: #FFF;
    line-height: 1.6;
    text-align: left;
    font-size: 65.5%;
  }

  body {
    font-size: 1.5rem;
    font-family: 'メイリオ', Meiryo, 'ＭＳ Ｐゴシック', 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro';
    overflow-x: hidden;
  }

  img {
    max-width: 100%;
    height: auto;
  }

  .containar {
    width: 100%;
    height: 100%;
    margin: 0 auto;
    position: relative;
  }

  .containar:after {
    content: "";
    display: block;
    clear: both;
  }

  .pc {
    display: none;
  }

  .sp {
    display: block;
  }

  /* link set
	------------------------------------------------------------------- */
  a {
    color: #5B463F;
    text-decoration: none;
    transition: 0.3s ease-in-out;
  }

  a img {
    transition: 0.3s ease-in-out;
  }

  a:hover {
    color: #47676F;
  }

  /* float対策：背景色表示用
	------------------------------------------------------------------- */
  .clearfix:after {
    display: block;
    clear: both;
    height: 0px;
    line-height: 0px;
    visibility: hidden;
    content: ".";
  }

  .clearfix {
    display: block;
    /* for IE8 */
  }

  .both {
    clear: both;
  }

  .hidden {
    display: none;
  }

  /* 	imgホバーアクション
	------------------------------------------------------------------- */
  .imgWrap {
    overflow: hidden;
    width: 100%;
    height: auto;
    cursor: pointer;
    background-color: #ffffff;
  }

  .imgWrap img {
    display: block;
    transition-duration: 0.3s;
    margin-top: -1px;
  }

  /*.imgWrap img:hover{ opacity: 0.6; transform: scale(1.1); transition-duration: 0.3s; }*/
  /* 	背景画像＆テキスト使用時スマホ用
	------------------------------------------------------------------- */
  .bg.spTxt {
    text-indent: 0;
    width: auto !important;
    height: auto !important;
    background-image: none !important;
  }

  /* ===================================================================

	Header

=================================================================== */
  body>header {
    width: 100%;
    height: 70px;
    z-index: 1;
    background-color: #590059;
  }

  body>header .logo {
    margin-left: 2%;
    width: 80%;
    padding-top: 2%;
  }

  body>header h1 {
    float: left;
    max-width: 60%;
    margin-left: 4%;
    margin-top: 0px;
  }

  body>header .h_tel {
    position: absolute;
    top: 0;
    right: 1%;
  }

  body>header .h_tel img {
    width: 55%;
  }

  body>header .head {
    margin: 0 auto 2%;
  }

  .header_inner>img {
    padding-top: 9px;
  }

  /* h_r
		  ------------------------------------------------------------------- */
  body>header .h_r {
    display: none;
  }

  /* nav
		  ------------------------------------------------------------------- */
  body>header nav {
    display: none;
  }

  @media screen and (min-width:480px) and (max-width: 768px){
		body>header .logo img {
			width: 50%;
    	padding-top: 0;
		}
		.main_image h1 img {
			width: 50%;
			margin: auto;
	  }
		.main_image h2 {
    	font-size: 3.5vw;
		}
	}

  /* ===================================================================
	/
	/	smh_menu　トグルメニュー
	/
	=================================================================== */
  #smh_menu {
    display: block;
    position: relative;
    z-index: 9999;
  }

  .drawer-nav ul li {
    margin-right: 0px;
    float: none;
    font-size: 1.1rem;
    display: block;
    padding: .75rem;
    text-decoration: none;
    color: #fff;
  }

  .drawer-nav ul ul.drawer_sub li a {
    color: #fff;
  }

  /* ===================================================================
	/
	/	共通
	/
	=================================================================== */
  .main_image h1 {
    padding: 5% 0 0;
    font-size: 7vw;
    letter-spacing: 3px;
    text-shadow: 2px 2px 3px #fff;
  }

  .main_image h2 {
    padding: 5% 0;
    font-size: 3vw;
    line-height: unset;
    text-shadow: 1px 1px 1px #fff;
  }

  .line {
    height: 5px;
  }
  @media screen and (min-width:480px) and (max-width: 768px){

	}

  /* ===================================================================
	/
	/	flow（葬儀までの流れ）
	/
	=================================================================== */
  .flow .main_image {
    background-image: url(../images/flow_mainimg_sp.jpg);
    margin-top: 45px;
    position: relative;
    padding: 0 4%;
    height: 150px;
    background-position: center;
  }

  .flow .s1, .flow .s2 {
    padding: 20px 0;
  }

  .flow .s1 h1, .flow .s2 h1 {
    color: #FFF;
    font-weight: bold;
    padding: 10px 0 10px 20px;
    margin-bottom: 30px;
  }

  .flow .flow_box {
    margin-bottom: 20px;
  }

  .flow .flow_box .triangle {
    margin: 0 auto;
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-top: 30px solid #D7C8A8;
  }

  .flow .flow_box .flow_box_l, .flow .flow_box .flow_box_r {
    float: none;
    width: 100%;
  }

  .flow .flow_box .flow_box_l .flow_title {
    margin: 0 auto;
    text-align: center;
    color: #FFF;
    background-color: #B89D63;
    width: 65%;
    padding: 10px;
    margin-bottom: 5px;
  }

  .flow .flow_box .flow_box_r p {
    width: 90%;
    margin: 0 auto;
    padding-top: 5px;
    padding-right: 0;
    font-size: 0.8em;
    margin-bottom: 10px;
    text-align: center;
  }

  .flow .waku {
    padding: 20px;
    width: 90%;
    margin: 0 auto 20px;
    text-align: center;
    font-size: 0.9em;
  }

  /* ===================================================================
	/
	/	plan（葬儀プラン）
	/
	=================================================================== */
  .plan .main_image {
    background-image: url(../images/plan_mainimg_sp.jpg);
    margin-top: 70px;
    position: relative;
    padding: 0 4%;
    height: 150px;
    background-position: center;
  }

  .plan .plan_box .plan_box_l, .plan .plan_box .plan_box_r {
    float: none;
    width: 100%;
  }

  .plan .plan_box .plan_box_l p.plan_title {
    font-size: 1.4em;
    font-weight: bold;
    line-height: 20px;
    letter-spacing: 3px;
    margin-bottom: 20px;
  }

  .plan .plan_box .plan_box_l p.plan_scale {
    margin-bottom: 5px;
  }

  .plan .plan_box .plan_box_l p.plan_price {
    text-align: left;
    font-size: 14px;
    color: #000;
  }

  .plan .plan_box .plan_box_l p.plan_price span {
    font-size: 1.4em;
  }

  .plan .plan_box .plan_box_l .scale_box {
    overflow: hidden;
    margin-bottom: 20px;
  }

  .plan .plan_box .plan_box_r img {
    padding: 2%;
  }

  .plan p.plan_point {
    font-size: 16px;
  }

  .plan p.plan_point_c {
    padding: 0 2%;
    font-size: 0.9em;
  }

  .plan .plan_contents {
    margin: 30px auto;
  }

  .plan .plan_contents h2 {
    font-size: 1.4em;
    letter-spacing: 3px;
  }

  .plan .plan_contents .item {
    margin: 30px 0;
    height: auto;
  }

  .plan .plan_contents .item .item_l {
    margin-bottom: 10px;
  }

  .plan .plan_contents .item .item_l p {
    font-size: 0.9em;
    line-height: 25px;
    text-align: center;
  }

  .plan .plan_contents .item .item_l, .plan .plan_contents .item .item_r {
    float: none;
    width: 100%;
    height: unset;
  }

  .plan .plan_contents .item .item_r {
    padding: 0;
  }

  .plan .plan_contents .item .item_r ul {
    margin: 0 auto;
    text-align: center;
  }

  .plan .plan_contents .item .item_r ul li {
    width: 32%;
    margin: 2% 0.5%;
  }

  .plan #tab-area {
    margin-top: 30px;
  }

  .plan #tab-area label {
    font-size: 15px;
    padding: 5px 10px;
    margin: 0 2px;
    letter-spacing: 0;
  }

  .plan #tab-content1, #tab-content2, #tab-content3 {
    width: 100%;
  }

  @media screen and (min-width:480px) and (max-width: 768px){
    .plan .main_image h1 {
        padding: 0;
        font-size: 5vw;
        height: 100%;
        line-height: 150px;
    }

    .plan .containar h1 {
      font-size: 1.5em;
      letter-spacing: 3px;
      margin: 10px 0 20px;
    }

    .plan .containar p {
      width: 90%;
      margin: 0 auto;
      margin-bottom: 10px;
      font-size: 0.9em;
    }

    .plan #tab-area label {
      font-size: 24px;
    }
	}

  /* ===================================================================
	/
	/	question（よくあるご質問）
	/
	=================================================================== */
  .question .main_image {
    background-image: url(../images/question_mainimg_sp.jpg);
    margin-top: 45px;
    position: relative;
    padding: 0 4%;
    height: 150px;
    background-position: center;
  }

  .question .s1 {
    padding: 20px 0;
  }

  .question .s1 h1 {
    font-size: 1em;
    width: 95%;
    margin: 0 auto;
  }

  .question .s1 ul.category {
    width: 95%;
    margin: 0 auto;
  }

  .question .s1 ul.category li {
    float: left;
    width: 50%;
    margin-bottom: 5px;
  }

  .question .s1 ul.category li a {
    font-size: 0.8em;
  }

  .question .s1 h2 {
    margin: 10px 0;
  }

  #category01, #category02, #category03, #category04, #category05, #category06, #category07, #category08, #category09, #category10 {
    padding-top: 70px;
    margin-top: -70px;
  }

  .category_box {
    padding: 0 10px;
  }

  .category_box label {
    font-size: 0.8em;
    line-height: 25px;
    padding: 10px 0 10px 40px;
  }

  .category_box .a p {
    font-size: 0.8em;
    padding-top: 40px;
    padding-left: 0;
    margin: 10px 0;
    line-height: 25px;
  }

  .category_box label:after, .category_box input:checked~label::after {
    display: none;
  }

  /* ===================================================================
	/
	/	voice（お客様の声）
	/
	=================================================================== */
  .voice .main_image {
    background-image: url(../images/voice_mainimg_sp.jpg);
    margin-top: 70px;
    position: relative;
    padding: 0 4%;
    height: 150px;
    background-position: right;
  }
  .voice .main_image h1 {
    padding: 0;
    line-height: 150px;
  }

  .voice .s1 {
    padding: 0;
  }

  .voice .s1 h1 {
    font-size: 1.5em;
    letter-spacing: 3px;
    margin: 10px 0 20px;
  }
	.voice .s1 p.clubtext {
    width: 90%;
    margin: 0 auto;
    margin-bottom: 20px;
    font-size: 0.9em;
    padding: 0;
  }

  .voice .voice_box_01, .voice .voice_box_02 {
    padding: 10px;
    border: solid 1px #AE749A;
    margin: 10px;
		-webkit-box-orient: vertical;
  	-webkit-box-direction: normal;
  	-ms-flex-direction: column;
  	flex-direction: column;

  }

  .voice .voice_box_l {
    float: none;
    width: 100%;
    margin-bottom: 10px;
  }

  .voice .voice_box_r {
    width: 100%;
    margin-bottom: 10px;
		border-left: none;
		padding-left: unset;
  }

  .voice .voice_box_l img {
    display: none;
  }

  .voice .voice_box_r p.voice_title {
    font-size: 1em;
    margin-bottom: 10px;
    border-bottom: solid 1px #AE749A;
    text-align: center;
  }

  .voice .voice_box_r p.voice_message {
    line-height: 20px;
    width: 100%;
    font-size: 0.8em;
    text-align: justify;
  }

  .voice .voice_box_l p.voice_date, .voice .voice_box_l p.voice_plan, .voice .voice_box_l p.voice_name {
    font-size: 1.1em;
    text-align: center;
		color: #590059;
		font-weight: bold;
  }

  @media screen and (max-width: 768px) and (min-width: 480px){
    .voice .main_image h1 {
      padding: 0;
      font-size: 5vw;
      height: 100%;
      line-height: 150px;
    }
    .voice .s1 {
      padding: 0;
    }
    .voice .s1 h1 {
      font-size: 1.5em;
      letter-spacing: 3px;
      margin: 10px 0 20px;
    }
  }

  /*.voice .voice_box_l p.voice_plan { font-size:0.9em; text-align:left; }
	.voice .voice_box_l p.voice_name { font-size:0.9em; text-align:left; }*/
  /* ===================================================================
	/
	/	place（斎場のご案内）
	/
	=================================================================== */
  .place .main_image {
    background-image: url(../images/place_mainimg_sp.jpg);
    margin-top: 70px;
    position: relative;
    padding: 0 4%;
    height: 150px;
    background-position: center;
  }
  .place .main_image h1 {
    padding: 0;
    line-height: 150px;
  }

  .place .pc {
    display: none;
  }

  .place #tab-area {
    margin-top: 30px;
  }

  .place #tab-area label {
    margin: 0;
  }

  .place #tab-area label p {
    border: solid 1px #590059;
    border-radius: 5px;
    padding: 3px 15px;
    display: inline-block;
  }

  .place #tab-area input:checked+label p {
    background-color: #A575A5;
    color: #fff;
  }

  .place .place_box h1 {
    font-size: 1.5em;
    letter-spacing: 3px;
    margin: 10px 0 20px;
  }

  .place .place_box>p {
    width: 90%;
    margin: 0 auto;
    margin-bottom: 10px;
    font-size: 0.9em;
  }

  .place .place_box h2 {
    font-size: 16px;
    padding: 10px
  }

  .place .place_box table tr td {
    padding: 5px 10px;
    line-height: 25px;
    display: block;
    font-size: 0.9em;
  }

  .place .place_box table tr td.table_title {
    width: 100%;
  }

  .place .place_box iframe {
    margin: 20px 0;
    height: 300px;
  }

  .place #tab-content1, #tab-content2, #tab-content3 {
    width: 100%;
    margin: 0 auto;
  }

  @media screen and (min-width:480px) and (max-width: 768px){
    .place .main_image h1 {
      padding: 0;
      font-size: 5vw;
      height: 100%;
      line-height: 150px;
    }
  }

  /* ===================================================================
	/
	/	contact（お問い合わせ）
	/
	=================================================================== */
  .contact .main_image {
    background-image: url(../images/plan_mainimg_sp.jpg);
    margin-top: 70px;
    position: relative;
    padding: 0 4%;
    height: 150px;
    background-position: center;
  }

  .contact main .s1 .containar p {
    font-size: 0.9em;
  }
  form#mail_form{
    width: 90%;
  }
  @media screen and (max-width: 768px) and (min-width: 480px){
    .contact .main_image h1 {
      padding: 0;
      font-size: 5vw;
      height: 100%;
      line-height: 150px;
    }
  }


  /* ===================================================================
	/
	/	company（会社案内）
	/
	=================================================================== */
  .company .main_image {
    background-image: url(../images/question_mainimg_sp.jpg);
    margin-top: 70px;
    position: relative;
    padding: 0 4%;
    height: 150px;
    background-position: center;
  }

  .company .main_image h1 {
    padding: 0;
    height: 100%;
    line-height: 150px;
  }

  .company .s1 h1 {
    font-size: 1.5em;
    letter-spacing: 3px;
    margin: 10px 0 20px;
  }

  .company .s1 table {
    width: 95%;
  }

  .company .s1 table tr td {
    padding: 5px 10px;
    line-height: 25px;
    display: block;
    font-size: 0.9em;
  }

  .company .s1 table tr td.table_title {
    width: 100%;
  }

  .company .s1 iframe {
    margin: 20px 0;
    height: 300px;
  }
  @media screen and (min-width:480px) and (max-width: 768px){
    .company .main_image h1 {
      padding: 0;
      font-size: 5vw;
      height: 100%;
      line-height: 150px;
    }
    .company .s1 h1 {
      font-size: 1.5em;
      letter-spacing: 3px;
      margin: 10px 0 20px;
    }
  }

  /* ===================================================================
	/
	/	footer
	/
	=================================================================== */
  footer .magokoro {
    background-color: #FFF;
    padding: 30px 0;
    margin-top: 20px;
  }

  footer .footer_jizen {
    margin: 0 auto;
    width: 100%;
  }

  footer .footer_jizen h1 {
    font-size: 7vw;
    margin-bottom: 30px;
    letter-spacing: 3px;
  }

  footer .footer_jizen .jizen_l {
    float: none;
    width: 100%;
  }

  footer .footer_jizen .jizen_l p {
    width: 90%;
    margin: 30px auto;
    line-height: 25px;
    font-size: 0.9em;
  }

  footer .footer_jizen .jizen_l .jizen_btn {
    width: 100%;
    margin: 50px auto;
    text-align: center;
  }

  footer .footer_jizen .jizen_l .jizen_btn a {
    padding: 15px 35px;
  }

  footer .footer_jizen .jizen_r {
    float: none;
    width: 100%;
  }

  footer .footer_jizen .jizen_r img {
    width: 100%;
  }

  footer .footer_menu {
    background-size: cover;
    padding: 20px 0;
  }

  footer .footer_menu ul {
    width: 100%;
  }

  footer .footer_menu ul li {
    width: 90%;
    float: none;
    margin: 0 auto;
    padding: 1%;
  }
  footer .footer_jizen .flex{
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
    -ms-flex-direction: column-reverse;
    flex-direction: column-reverse;
  }

  @media screen and (max-width: 768px) and (min-width: 480px){
    footer .footer_jizen{
      display:-webkit-box;
    	display:-ms-flexbox;
    	display:flex;
      -ms-flex-wrap: wrap;
  	  flex-wrap: wrap;
      -ms-flex-pack: distribute;
    	justify-content: space-around;
      -webkit-box-align: center;
    	-ms-flex-align: center;
    	align-items: center;
    }
    footer .footer_jizen h1{
      width: 100%;
      font-size: 5vw;
      margin: 0;
    }
    footer .footer_jizen .jizen_r {
      width: 45%;
    }
    footer .footer_jizen .jizen_l {
      width: 45%;
    }
  }

  横1列 */

  /*footer .footer_menu ul li { width:50%; float:left; margin:0 auto; padding:1%; } 横2列の場合 */
  footer .footer_nav {
    margin: 30px auto;
  }

  footer .footer_nav ul {
    font-size: 1rem;
    margin: 15px auto;
  }

  footer .footer_contact {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
  }

  footer .footer_contact .box {
    width: 100%;
    height: 65px;
  }

  footer .footer_contact .box .box_l {
    width: 55%;
    margin: 0 auto;
  }

  footer .footer_contact .box .box_l img {
    width: 80%;
    margin: 7%;
    display: block;
  }

  footer .footer_contact .box .box_l img.bottom {
    display: none;
  }

  footer .footer_contact .box .box_r {
    width: 45%;
    text-align: center;
  }

  footer .footer_contact .box .box_r img {
    margin: 2.5% auto 1%;
    width: 75%;
  }

  body>footer>.containar {
    margin: 0 0 10px;
    padding: 0px 0 70px;
  }

  small {
    display: block;
    margin-right: 0;
  }
  @media screen and (max-width: 768px) and (min-width: 480px){
    footer .footer_menu ul {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
    footer .footer_menu ul li {
    width: 50%;
    }
  }

}
