  #slideArea{
    max-height: 650px;
	}

	#container {
		margin: auto;
	}

	.w-350px {
		width: 350px !important;
	}
	@media (max-width: 640px) {
    .w-350px {
      width: 80% !important;
    }
  }


  .btn {
		white-space: normal;
	}

	@media (max-width: 640px) {
		/*
				body {
					font-size: 2em;
				}
		*/
		#container {
			overflow: hidden;
			margin-bottom: 100px;
    }
    .navbar-right {
        float: right;
        margin-right: -15px;
    }
    div.navbar-header {
        padding-bottom: 0;
    }
    ul.nav {
        margin: 2px;
    }
    ul.nav > li {
        float: left;
    }
    ul.nav > li > a {
         padding: 5px;
    }
    ul.nav > li:first-child {
        max-width: 200px;
    }
    ul.nav > li:last-child {
        width: 50px;
    }
/*    #slideArea{
      max-height: 94%;
    }
 */
    .tab-pane {
      height: 600px;
    }

    .h2, h2 {
      font-size: 16px;
    }
    .fa {
      padding-bottom: 8px;
      padding-left: 4px;
    }
    #breadcrumb {
      margin-bottom: 0;
    }
    .container > .row {
      margin-bottom: 0;
    }
  }

/*  @media (max-width: 1020px) and (min-width: 768px) {
    .slidein {
      height: 640px !important;
    }
  }
  .slidein {
    height: auto !important;
  }
 */
  @media (min-width: 768px) {
    .men_left {
      border-right-style: dashed;
      border-right-width: thin;
    }
    .fa {
      margin-bottom: 10px;
      margin-left: 8px;
    }
    #breadcrumb {
      margin-bottom: 6px;
    }
    .container > .row {
      margin-bottom: 10px;
    }
  }

  @media (min-width: 768px) {
    #container {
      width: 97%;
    }
  }


  .navbar {
    min-height: 0;
    margin-bottom: 0;
    color: #fff;
  }
  .navbar-header {
    padding: 4px;
/*    background-color: #e70012; */
  }
  .navbar-header img {
    max-width: 100%;
    height: auto;
  }

  /* breadcrumb */
  #breadcrumb h2 {
    margin-top: 0px;
    margin-bottom: 0px;
  }
  a.prev.button,
  button.prev {
    position: fixed;
    bottom: 16px;
    left: 16px;
  }
  button.next,
  button[type="submit"],
  div#block5 a.next-top {
    position: fixed;
    bottom: 16px;
    right: 16px;
  }
  button[type="submit"][name="edit"] {
    bottom: 64px;
  }
  span.confirm_code {
    margin-left: 2em;
    font-weight: 700;
    font-size: 2em;
    color: #f00;
  }

  span.view_code {
    margin-left:  .5em;
    margin-right: .5em;
    font-weight: 700;
    font-size: 2em;
    color: #f00;
  }

  /* 各画面共通 */
  /* Transitionコンポーネントのメッセージ */
  #flashMessage {
    display: none;
  }
  .error-message {
    clear: both;
    color: #fff;
    background: #c43c35;
    border: 1px solid rgba(0, 0, 0, 0.5);
    background-repeat: repeat-x;
    background-image: -moz-linear-gradient(top, #ee5f5b, #c43c35);
    background-image: -ms-linear-gradient(top, #ee5f5b, #c43c35);
    background-image: -webkit-gradient(linear, left top, left bottom, from(#ee5f5b), to(#c43c35));
    background-image: -webkit-linear-gradient(top, #ee5f5b, #c43c35);
    background-image: -o-linear-gradient(top, #ee5f5b, #c43c35);
    background-image: linear-gradient(top, #ee5f5b, #c43c35);
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3);

    clear: both;
    color: #fff;
    font-size: 140%;
    font-weight: bold;
    padding: .3em;
    margin: 5px 20px 5px 20px;
    border-radius: 4px;
  }

  /* BootStrap変更 */
  .row {
    margin-top: 10px;
  }
  .form-group {
    margin-bottom: 4px;
  }
  span.required:before {
    content: '*';
    font-size: 1em;
    color: #f00;
  }
  .btn-reset {
    margin-top: 4px;
  }
/*  input[type="radio"]:checked { */
  .btn-default.active {
    background-color: #999 !important;
    color: #fff !important;
    text-shadow: none !important;
  }

  label {
    display: inline-block;
    max-width: 100%;
    margin-bottom: 0px !important;
    font-weight: normal !important;
  }

  /* スライダーコントロール */
  input[type="range"] {
    display: block;
    -webkit-appearance: none;
/*  background-color: #bdc3c7; */
    width: 65% !important;
/*  height: 5px; */
    border-radius: 5px;
    border: 0px solid #000101;
    box-shadow: 0px 0px 0px #000000, 0px 0px 0px #0d0d0d;
    margin: 2%;
    padding: 0 12px;
    outline: 0;
  }
  input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 12.8px;
    cursor: pointer;
    animate: 0.2s;
    box-shadow: 0px 0px 0px #000000, 0px 0px 0px #0d0d0d;
    background: #bdc3c7;
    border-radius: 25px;
    border: 0px solid #000101;
  }
  input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    background-color: #e74c3c;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid white;
    cursor: pointer;
    transition: .3s ease-in-out;
  }​
  input[type="range"]::-webkit-slider-thumb:hover {
    background-color: white;
    border: 2px solid #e74c3c;
  }
  input[type="range"]::-webkit-slider-thumb:active {
    transform: scale(1.6);
  }


  input[type=range]::-ms-track {
    width: 100%;
    height: 125px;
    cursor: pointer;
    animate: 0.2s;
    background: transparent;
    border-color: transparent;
    border-width: 16px 0;
    color: transparent;
  }
  input[type=range]::-ms-thumb {
    box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
    border: 1px solid #000000;
    height: 30px;
    width: 30px;
    border-radius: 50%;
    background: #e74c3c;
    cursor: pointer;
    transition: .3s ease-in-out;
  }
  input[type=range]::-ms-fill-lower {
    background: #bdc3c7;
    border: 0px solid #010101;
    border-radius: 2.6px;
    box-shadow: 0px 0px 0px #000000, 0px 0px 0px #0d0d0d;
  }
  input[type=range]::-ms-fill-upper {
    background: #bdc3c7;
    border: 0px solid #010101;
    border-radius: 2.6px;
    box-shadow: 0px 0px 0px #000000, 0px 0px 0px #0d0d0d;
  }
  input[type=range]:focus::-ms-fill-lower {
    background: #bdc3c7;
  }
  input[type=range]:focus::-ms-fill-upper {
    background: #bdc3c7;
  }

  input[type=range]{
    /* fix for FF unable to apply focus style bug  */
    border: 1px solid white;

    /*required for proper track sizing in FF*/
    width: 300px;
  }

  input[type=range]::-moz-range-track {
/*    width: 300px;
 */
    height: 5px;
    background: #ddd;
    border: none;
    border-radius: 3px;

    animate: 0.2s;
    box-shadow: 0px 0px 0px #000000, 0px 0px 0px #0d0d0d;
    background: #bdc3c7;
    border-radius: 25px;
    border: 0px solid #000101;
  }

  input[type=range]::-moz-range-thumb {
    border: none;
    height: 45px;
    width: 45px;
    border-radius: 50%;
    background: #e74c3c;
  }

  /*hide the outline behind the border*/
  input[type=range]:-moz-focusring{
    outline: 1px solid white;
    outline-offset: -1px;
  }

  input[type=range]:focus::-moz-range-track {
    background: #ccc;
  }


  #ReserveHeightName,
  #ReserveShoeName {
    padding-right: 0;
    font-size: 18px;
  }
  /* 個別設定 */
  /* リセットボタン */
  .btn-init {
    z-index: 9999;
    position: absolute;
    top: 4px;
    right: 4px;
  }
  /* 代理店 */
/**
  .introduce {
    position: fixed;
    z-index: 99;
    pointer-events: auto;
    top: 76px;
    left: 8px;
    color: #fff;
    text-decoration: none;
    text-align: center;
    line-height: 20px;
    display: inline-block;
    padding: 4px;
    border-width: 1px 0;
    border-color: rgba(255, 255, 255, 0.7);
    -webkit-transform: rotate(-30deg);
    -moz-transform: rotate(-30deg);
    -ms-transform: rotate(-30deg);
    -o-transform: rotate(-30deg);
    transform: rotate(-30deg);
  }
 */
 */
  /* 言語選択 */
  #language-wrapper {
    margin-bottom: 16px;
  }
  #language label.active {
    color: #fff;
    background-color: #245580;
    text-decoration: none;
  }
  /* 注意事項等 (frame) */
  #pills-frame {
     position: absolute;
     right: 19px;
     top: 4px;
  }
  .nav-pills li a {
    background-color: #d4d4d4;
    padding: 4px 6px 4px 6px;
  }
  .tab-pane {
    overflow: hidden;
    height: 300px;
    border: 1px solid #aaa;
  }
  .tab-pane iframe {
    width:  100%;
    height: 100%;
  }
  /* 氏名 */
  #kana1,
  #kana2 {
    width: 160px;
  }
  /* 年代 (小人料金) */
  .btn-junior {
    color: #2e6da4;
  }
  .physical-text {
    width: 7em;
    background-color: rgba(0, 0, 0, 0);
    border: none;
  }
/**
  #height,
  #foot {
    margin-left: 16px;
    margin-right: 16px;
  }
 **/

  /* カテゴリチェックボックス */
  .form-group input[type="checkbox"] {
    display: none;
  }
  .form-group input[type="checkbox"] + .btn-group > label span {
    width: 16px;
  }
  .form-group input[type="checkbox"] + .btn-group > label span:first-child {
    display: none;
  }
  .form-group input[type="checkbox"] + .btn-group > label span:last-child {
    display: inline-block;
  }
  .form-group input[type="checkbox"]:checked + .btn-group > label span:first-child {
    display: inline-block;
  }
  .form-group input[type="checkbox"]:checked + .btn-group > label span:last-child {
    display: none;
  }

  /* リフト券 */
  .ticket {
    margin-top: 0;
  }
  .ticket > label {
    font-weight: 400 !important;
  }
  .item_tkt {
    width: 60px !important;
    font-size: .9em;
  }
  /* 数量変更ボタン */
  .btn-count {
    display: inline-block;
    text-decoration: none;
    color: #337ab7;
    width:  18px;
    height: 34px;
/*
    line-height: 24px;
    border-radius: 50%;
    border: solid 2px #000;
*/
    text-align: center;
    vertical-align: middle;
    overflow: hidden;
    font-weight: bold;
    transition: .4s;
  }
  .btn-count:hover {
    color: #70a8d8;
  }
  /* 確認画面 */
  .confirm-customer {
    height: 520px;
    overflow-y: scroll;
    border-style: solid;
    border-width: 2px;
    border-color: #aaa;
  }
  .confirm-customer .row {
    margin-top: 0px;
  }
  #ReserveConfirmForm input {
    background-color: rgba(0, 0, 0, 0);
    border: none;
  }
  .confirm-reserve {
    margin-bottom: 32px;
  }
  .confirm-customer {
    padding-bottom: 32px;
  }

  /* 各ユーザ毎の設定 */
/*
  nav.tkssp {
    background-color: #e70012;
  }
  nav.dyna {
    background-color: #2b25c3;
  }
  nav.hills {
    background-color: #397ee0;
  }
*/
  nav.pia {
    background-color: #2d9243;
  }
  nav.washi {
    color: #000;
    background-color: #f7f6c5;
  }
  nav.hrgn {
	  background-color: #009FE0;
  }
  .navbar {
    margin-bottom: 16px;
  }
  .popover-title,
  .popover-content {
    color: #000;
  }
  .en {
    font-style: italic;
    font-size: .7em;
  }
  .navbar-header i {
    position: absolute;
    bottom: 8px;
    right: 8px;
  }
  .introduce {
    margin-bottom: 8px;
  }
  .privacy_agreement {
    background-color: #FFFF00;
    width: 80%;
    padding: 16px;
    margin: 8px auto 8px auto;
    border-style: dotted;
  }
