/*=====================================
　　　　　　スマホ
=====================================*/

.switch img:nth-child(2) {
	display: none;
}

img.image-small-sp,
img.image-medium-sp,
img.image-large-sp {
	display: block;
	margin: auto;
        overflow:hidden;
}

img.image-small-sp {
	width: 45%;
}

img.image-medium-sp {
	width: 65%;
}

img.image-large-sp {
	width: 85%;
}

.hide-sp {
	display: none;
}

.fr-sp {
	float: right;
	margin: 0 0 3% 3%;
}

.fl-sp {
	float: left;
	margin: 0 3% 3% 0;
}

.anchor {
	padding-top: 66px !important;
	margin-top: -66px !important;
}


#nav_global {
	margin: 0 !important;
	padding: 0 !important;
	width: 100%;
	clear: both;
	font-size: 12px;
}

#nav_global ul {
	overflow: hidden;
	background-color: #F5EDD2;
}

#nav_global ul li {
	border-bottom: 1px dotted #333;
}

#nav_global ul li.half {
	width: 50%;
	float: left;
	box-sizing: border-box;
}

#nav_global ul li.half:nth-of-type(2n+1) {
	border-right: 1px dotted #333;
}

#nav_global ul li a {
	display: block;
	color: #333333;
	text-decoration: none;
	padding: 8px 10px;
}

#nav_global ul li ul {
	background-color: #f0ddf1;
	overflow: hidden;
	*zoom: 1;
	padding: 10px;
}


#nav_global ul li ul li img {
	vertical-align: bottom;
}

#nav_global ul li ul li a {
	padding: 10px;
    color: #8f4292;
    padding: 62px 0px 0px;
    text-align: center;
}
#nav_global ul li ul li:last-child a {
	padding: 10px;
}
#nav_global ul li ul li {
	border: none;
	width: 33%;
	float: left;
    border: 3px solid #8f4292;
    border-radius: 5px;
    background-color: #FFF !important;
    display: inline-blok;
    width: 32%;
	height: 98px;
    box-sizing: border-box;
    margin-left: 2%;
    margin-bottom: 10px;
	font-size: 17px;
}
#nav_global ul li ul li:nth-child(1) {
	margin-left: 0;
	background: url(//memorialkazokuso.sakura.ne.jp/kizuna-sora/img/top/icon-kazoku.png) no-repeat center top;
}
#nav_global ul li ul li:nth-child(2) {
	background: url(//memorialkazokuso.sakura.ne.jp/kizuna-sora/img/top/icon-oneday.png) no-repeat center top;
}
#nav_global ul li ul li:nth-child(3) {
	background: url(//memorialkazokuso.sakura.ne.jp/kizuna-sora/img/top/icon-cyokuso.png) no-repeat center top;
}
#nav_global ul li ul li:last-child {
    border: 3px solid #8f4292;
    border-radius: 5px;
    background-color: #FFF;
    display: block;
    width: 100%;
    height: 50px;
    box-sizing: border-box;
    margin-left: 0;
    margin-bottom: 0;
    text-align: center;
    font-size: 17px;
}

#totop a {
	bottom: 95px;
}

/*=====================================
改良版お問い合わせフォーム
=====================================*/

.msg{
  color: #B20000;
}

input[type="text"],
textarea{
	font-size: 5vw;
}

input[type="submit"],
input[type="button"] {
    -webkit-appearance: none;
    font-size: 1.3em;
    background-color: #f39a0e;
    width: 46%;
    border-radius: 5px;
    border: none;
    height: 2em;
    color: #fff;
}

select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  width: 100%;
  padding: 8px;
  font-size: 16px;
  position: relative;
  background-image: url(images/icon.png) !important;
  background-repeat: no-repeat !important;
  background-position: 98% 50% !important;
  background-color: #fff;
  border: 1px solid #999;
}
select::-ms-expand {
  display: none;
}

#v-form-workflow {
  margin: 25px 0;
  width: 100%;
}
#v-form-workflow .v-title-workflow {
  margin: 0.8em 0;
}
#v-form-workflow .v-workflow {
  margin: 0.5em 0;
  overflow: hidden;
}
#v-form-workflow .v-workflow li {
  display: table;
  position: relative;
  float: left;
  box-sizing: border-box;
  white-space: nowrap;
}
#v-form-workflow .v-workflow li.active {
  background-color: #f39a0e;
  color: #FFF;
}
#v-form-workflow .v-workflow li.active:after {
  background-color: inherit;
}
#v-form-workflow .v-workflow li:not(:last-child):after {
  content: "";
  position: absolute;
  right: -10px;
  top: 50%;
  margin-top: -28px;
  width: 55px;
  height: 55px;
  -webkit-transform: rotate(45deg);
      -ms-transform: rotate(45deg);
          transform: rotate(45deg);
  border-right: 2px solid #FFF;
  border-top: 2px solid #FFF;
  box-sizing: border-box;
  z-index: 10;
}
#v-form-workflow .v-workflow li:nth-child(n+2) {
  padding-left: 45px;
}
#v-form-workflow .v-workflow .v-cell {
  display: table-cell;
  vertical-align: middle;
}
#v-form-workflow .v-workflow .v-text {
  position: relative;
  z-index: 20;
  display: block;
  font-size: 1.5em;
}

.input-required {
  -moz-box-shadow: inset 1px 4px 9px -6px rgba(0,0,0,0.5);
  -webkit-box-shadow: inset 1px 4px 9px -6px rgba(0, 0, 0, 0.5);
  box-shadow: inset 1px 4px 9px -6px rgba(0,0,0,0.5);
}

.list-inline-form li {
  box-sizing: border-box;
}

.list-checkbox label, .list-radio label {
  position: relative;
  display: inline-block;
  padding: 8px 12px;
  padding-left: 35px;
  box-sizing: border-box;
  cursor: pointer;
  background-color: #EFEFEF;
}
.list-checkbox label:before, .list-radio label:before, .list-checkbox label:after, .list-radio label:after {
  transition: all 0.2s linear;
  position: absolute;
  left: 10px;
  top: 50%;
  content: "";
}
.list-checkbox label:before, .list-radio label:before {
  background-color: #FFF;
}
.list-checkbox input[type="checkbox"]:checked + label, .list-radio input[type="checkbox"]:checked + label,
.list-checkbox input[type="radio"]:checked + label,
.list-radio input[type="radio"]:checked + label {
  background-color: #F0F0E1;
}
.list-checkbox input[type="checkbox"]:checked + label:after, .list-radio input[type="checkbox"]:checked + label:after,
.list-checkbox input[type="radio"]:checked + label:after,
.list-radio input[type="radio"]:checked + label:after {
  box-sizing: border-box;
}

.list-checkbox label:before {
  height: 16px;
  width: 16px;
  margin-top: -10px;
  border: 2px solid #BBB;
}
.list-checkbox label:after {
  box-sizing: border-box;
  height: 10px;
  width: 17px;
  opacity: 0;
  filter: alpha(opacity=0);
  margin-top: -7px;
  border-left: 4px solid #ff6d00;
  border-bottom: 4px solid #ff6d00;
}
.list-checkbox input[type="checkbox"] {
  position: absolute;
  left: -9999px;
}
.list-checkbox input[type="checkbox"]:checked + label:after {
  height: 10px;
  width: 17px;
  border-bottom: 4px solid #ff6d00;
  border-left: 4px solid #ff6d00;
  -webkit-transform: rotate(-45deg);
      -ms-transform: rotate(-45deg);
          transform: rotate(-45deg);
  opacity: 1;
  filter: alpha(opacity=100);
}

.list-radio label:before {
  box-sizing: border-box;
  height: 20px;
  width: 20px;
  margin-top: -10px;
  border: 2px solid #BBB;
  border-radius: 50%;
}
.list-radio label:after {
  box-sizing: border-box;
  height: 12px;
  width: 12px;
  left: 14px;
  opacity: 0;
  filter: alpha(opacity=0);
  border-radius: 50%;
  opacity: 0;
  background-color: #ff6d00;
  margin-top: -6px;
}
.list-radio input[type="radio"] {
  position: absolute;
  left: -9999px;
}
.list-radio input[type="radio"]:checked + label {
  background-color: #F0F0E1;
}
.list-radio input[type="radio"]:checked + label:after {
  box-sizing: border-box;
  opacity: 1;
  filter: alpha(opacity=100);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
  background-color: #fff9e8;
  box-shadow: 0 0 3px rgba(115, 185, 255, 0.8);
}

.input-zip{
	width: 12em!important;
}

.button-zip {
  display: inline-block;
    background-color:#f39a0e;
    color: #FFF;
    width: 100%;
    font-size: 1.2em;
    border-radius: 5px;
    text-align: center;
    padding: 5px 25px;
    cursor: pointer;
}


@media print, screen and (min-width: 741px){
  #v-form-workflow .v-title-workflow{
    font-size: 25px;
  }
  #v-form-workflow .v-workflow{
    font-size: 22px;
  }
  #v-form-workflow .v-workflow li{
    height: 63px;
    padding: 15px;
  }
  .list-inline-form li{
    margin-top: 3px;
    margin-bottom: 3px;
    display: inline-block;
  }
  .list-block-form li{
    margin-top: 3px;
    margin-bottom: 3px;
    display: block;
  }
  .button-zip:hover{
  	opacity: 0.9;
  }
}

@media only screen and (max-width: 740px){
  #v-form-workflow .v-title-workflow{
    font-size: 22px;
  }
  #v-form-workflow .v-workflow li{
    padding: 6px;
    font-size: 11px;
    height: 30px;
  }
  #v-form-workflow .v-workflow li:first-child{
    width: 30%;
    margin-left: 5px;
  }
  .list-inline-form {
    margin-bottom: 12px;
    overflow: hidden;
    zoom: 1;
  }
  .list-inline-form li {
    margin: 5px 0;
  }
  .list-block-form {
    margin-bottom: 12px;
    overflow: hidden;
    zoom: 1;
  }
  .list-block-form li {
    margin: 5px 0;
  }
  .list-checkbox label, .list-radio label {
    display: block;
    padding: 18px 12px;
    border-radius: 5px;
    padding-left: 35px;
    font-size: 1em;
  }
  .list-checkbox input[type="checkbox"]:checked + label, .list-radio input[type="checkbox"]:checked + label,
  .list-checkbox input[type="radio"]:checked + label,
  .list-radio input[type="radio"]:checked + label {
    background-color: #F0F0E1;
  }
  .label-full {
    width: 100%;
    clear: both;
  }
  .label-half {
    width: 50%;
    padding: 0 5px;
    float: left;
  }
  .label-half label {
    margin-left: -5px;
    margin-top: -5px;
  }
  .label-half:nth-child(2n) {
    padding-right: 0;
  }
  .label-half:nth-child(2n+1) {
    clear: both;
  }
  .list-radio input[type="radio"]:checked + label {
    background-color: #F0F0E1;
  }
  .button-submit{
    width: 100%;
  }
  .button-zip {
    margin-top: 12px;
    margin-bottom: 12px;
  }
}

.input-required.valid {
  background-color: #FFF!important;
}

.group-required.valid label {
  background-color: #EEE!important;
}

.wrapper {
    padding: 0 3%;
    overflow: hidden;
}