@import url('https://fonts.googleapis.com/css?family=Noto+Sans|Noto+Serif+JP:400,600,700|Roboto&display=swap&subset=japanese');
/*
https://fonts.google.com/?selection.family=Noto+Sans|Noto+Serif+JP:400,600,700|Roboto&query=Noto+Serif+JP
Usage:
    font-family: 'Roboto', sans-serif;
    font-family: 'Noto Sans', sans-serif;
    font-family: 'Noto Serif JP', serif;
*/

html,
body {
  height: 100%;
}

html,
body,
div,
p,
li,
dt,
dd,
th,
td {
  font-family: 'Century Gothic', CenturyGothic, sans-serif;
}

.wrap {
  /*min-height: 100%;*/
  height: auto;
  margin: 0 auto -100px;
  padding: 0 0 100px;
  overflow: hidden;
  /* 右余白対策 */
}

.wrap > .container {
  padding: 150px 15px 20px;
}

.wrap > .container-fluid {
  padding: 135px 0 0;
}

@media(max-width:767px) {
  .wrap > .container {
    padding-top: 66px;
  }

  .wrap > .container-fluid {
    padding-top: 51px;
    /* スライダーは隙間なくピッタリくっつける */
  }

  footer {
    margin-bottom: 60px;
    /* .mobile-only-trailing-banner の配置場所 */
  }
}

footer .trailing-navigation {
  /* テキスト折り返し無しなら height: 40px; になる */
  padding-top: 10px;
  padding-bottom: 10px;
  background-color: #E8E8E8;
}

footer .trailing-navigation a {
  font-family: 'Century Gothic', CenturyGothic, sans-serif;
  font-style: normal;
  font-weight: normal;
  font-size: 13px;
  line-height: 13px;
  text-align: center;
  letter-spacing: 1px;
  color: #333333;
}

footer .alert:not(:last-of-type) {
  margin-bottom: 10px;
}

footer .footer {
  height: 60px;
  background-color: #3C382A;
  border-top: 1px solid #ddd;
  padding: 20px 0;
  color: #CFC5A2;
}

@media(max-width:767px) {
  footer .footer {
    height: 120px;
  }
}

.mobile-only-trailing-banner {
  display: flex;
  position: fixed;
  bottom: 0;
  width: 96%;
  left: auto;
  right: 0;
  height: 60px;
  background-color: #CFC5A2;
  padding: 8px 20px;
  font-size: 13px;
  z-index: 10;
  border-radius: 30px;
  margin: 6px 2%;
  box-shadow: 0 0 18px gray;
  justify-content: space-around;
}

.mobile-only-trailing-banner.reserve-banner {
  height: auto;
  width: 76%;
  left: 0;
  right: 0;
  margin: 6px auto;
  font-size: 20px;
  border-radius: 5px;
}

.mobile-only-trailing-banner.tel-banner .text-center {
  color: black;
  margin-bottom: 5px;
  font-family: 'Roboto', sans-serif;
  font-style: normal;
  font-weight: normal;
}

.mobile-only-trailing-banner.tel-banner .banner-left {
  display: inline-block;
  color: black;
  font-size: 12px;
  font-family: 'Roboto', sans-serif;
  font-style: normal;
  font-weight: normal;
  line-height: 20px;
  vertical-align: middle;
}

.mobile-only-trailing-banner.tel-banner .banner-right {
  display: inline-block;
  color: black;
  font-family: 'Roboto', sans-serif;
  font-style: normal;
  font-weight: normal;
  line-height: 20px;
  vertical-align: middle;
}

.shrink-banner.mobile-only-trailing-banner.tel-banner {
  width: 60px;
  transition: .5s ease-out;
}

.shrink-banner.mobile-only-trailing-banner.tel-banner .banner-left {
  position: fixed;
}

.shrink-banner.mobile-only-trailing-banner.tel-banner .banner-right {
  display: none !important;
}

.mobile-only-trailing-banner .phone-icon {
  display: inline-block;
  width: 50px;
  height: 50px;
  border-radius: 16px;
  padding: 4px;
  text-align: center;
  vertical-align: top;
  color: white;
}

.jumbotron {
  text-align: center;
  background-color: transparent;
}

.jumbotron .btn {
  font-size: 21px;
  padding: 14px 24px;
}

.not-set {
  color: #c55;
  font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after,
a.desc:after {
  position: relative;
  top: 1px;
  display: inline-block;
  font-family: 'Glyphicons Halflings';
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  padding-left: 5px;
}

a.asc:after {
  content: "\e151";
}

a.desc:after {
  content: "\e152";
}

.sort-numerical a.asc:after {
  content: "\e153";
}

.sort-numerical a.desc:after {
  content: "\e154";
}

.sort-ordinal a.asc:after {
  content: "\e155";
}

.sort-ordinal a.desc:after {
  content: "\e156";
}

.grid-view td {
  white-space: nowrap;
}

.grid-view .filters input,
.grid-view .filters select {
  min-width: 50px;
}

.hint-block {
  display: block;
  margin-top: 5px;
  color: #999;
}

.error-summary {
  color: #a94442;
  background: #fdf7f7;
  border-left: 3px solid #eed3d7;
  padding: 10px 20px;
  margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
  padding: 15px;
  border: none;
}

@media(max-width:767px) {
  .nav li > form > button.logout {
    display: block;
    text-align: left;
    width: 100%;
    padding: 10px 15px;
  }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
  text-decoration: none;
}

.nav > li > form > button.logout:focus {
  outline: none;
}

/*==================================== custom style ====================================*/

.navbar {
  font-family: 'Noto Sans', sans-serif;
  font-style: normal;
  font-weight: normal;
}

.navbar-default {
  border-bottom-color: #CFC5A2;
}

.navbar-headpiece {
  padding: 8px 0;
  background-color: #3C382A;
  color: #CFC5A2;
}

.headpiece-brand {
  position: absolute;
  width: 223px;
  height: 119px;
  left: 16px;
  top: 0;
  background-image: url("/img/headpiece-brand.svg");
  background-size: contain;
  background-repeat: no-repeat;
  padding: 20px;
}

.headpiece-brand img {
  width: 100%;
}

.headpiece-item {
  display: inline-block;
  vertical-align: top;
  margin-left: 8px;
}

.headpiece-item .phone {
  font-family: 'Century Gothic', CenturyGothic, sans-serif;
  font-size: 28px;
}

.headpiece-item .email {
  font-family: 'Century Gothic', CenturyGothic, sans-serif;
  font-size: 13px;
}

.headpiece-item .line-icon {
  width: 55px;
  height: 55px;
}

.headpiece-item .navbar-icon {
  display: inline-block;
  width: 55px;
  height: 55px;
  background: #CFC5A2;
  border-radius: 6px;

  text-align: center;
  font-size: 35px;
  color: #3C382A;
}

.headpiece-item .btn-login {
  display: block;
  width: 167px;
  height: 24px;
  line-height: 100%;
  color: #FFFFFF;
  background-color: #CA462C;
  border-color: #CA462C;
}

.headpiece-item .btn-login:not(:last-child) {
  margin-bottom: 8px;
}

.headpiece-item .btn-login:hover {
  color: #FFFFFF;
  background-color: #C04020;
}

@media(max-width:767px) {
  .navbar-header {
    background-color: #CFC5A2;
  }

  .navbar-header .navbar-brand {
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .navbar-header .navbar-brand img {
    max-height: 100%;
  }

  .navbar-header .navbar-toggle {
    border-color: white;
  }

  .navbar-header .navbar-toggle .icon-bar {
    background-color: white;
  }

  .navbar-icons {
    margin: 7px;
    font-size: 20px;
  }

  .navbar-icons .navbar-icon,
  .navbar-icons .phone-icon {
    display: inline-block;
    width: 36px;
    height: 36px;
    border: 1px solid white;
    border-radius: 18px;
    padding: 2px;
    text-align: center;
    vertical-align: top;
    color: white;
  }

  .navbar-toggle {
    padding: 9px 8px;
  }

  .navbar-toggle .icon-bar {
    width: 20px;
  }
}

.navbar .navbar-nav > li > a {
  font-family: 'Noto Sans', sans-serif;
  font-style: normal;
  font-weight: bold;
  font-size: 14px;
  line-height: 14px;
  letter-spacing: 1px;
  color: #333333;
}

@media (min-width: 768px) {
  .navbar-nav {
    margin-top: 8px;
    margin-bottom: 8px;
    margin-left: 225px;
    float: right;
  }

  .navbar .navbar-nav > li > a {
    padding-left: .6em;
    padding-right: .6em;
  }
}

@media (min-width: 768px) and (max-width: 1082px) {
  .headpiece-brand {
    width: 180px;
    height: 96px;
    padding: 10px;
    z-index: 1;
  }

  .navbar-nav {
    margin-left: 0;
  }

  .navbar .navbar-nav > li > a {
    font-size: 13px;
  }
}

@media (min-width: 768px) and (max-width: 832px) {
  .navbar .navbar-nav > li > a {
    font-size: 12px;
  }
}

.navbar-fixed-top .navbar-collapse,
.navbar-fixed-bottom .navbar-collapse {
  max-height: 390px;
  /* 340px では不足 */
}

h1 {
  margin: 40px 0;
  font-family: 'Noto Serif JP', serif;
  font-style: normal;
  font-weight: bold;
  font-size: 28px;
  line-height: 28px;
  letter-spacing: 1px;
  color: #3C382A;
}

h2 {
  margin: 30px 0 15px;
  font-family: 'Century Gothic', CenturyGothic, sans-serif;
  font-style: normal;
  font-weight: normal;
  font-size: 18px;
  line-height: 25px;
  letter-spacing: 1px;
  color: #333333;
}

h3 {
  font-family: 'Noto Sans', sans-serif;
  font-style: normal;
  font-weight: bold;
  font-size: 18px;
  line-height: 22px;
  letter-spacing: 1px;
  color: #3C382A;
}

@media(max-width:767px) {
  h1 {
    font-size: 18px;
    line-height: 18px;
  }

  h2 {
    font-size: 16px;
    line-height: 22px;
  }

  h3 {
    font-size: 14px;
    line-height: 20px;
  }
}

.breadcrumb a {
  color: #333333;
}

.alert-primary {
  border-color: #3C382A;
  background-color: #E8E8E8;
  color: #3C382A;
}

.container-fluid > .alert {
  margin: 0;
  padding: 5px 20px;
  border-radius: 0;
}

.label-secondary {
  background-color: #EF6205;
  border-color: #EF6205;
}

.label-primary {
  background-color: #3C382A;
  border-color: #3C382A;
}

.btn-primary,
.btn-primary:active,
.btn-primary:active:hover,
.btn-primary.active,
.btn-primary.active:focus,
.btn-primary.active.focus,
.btn-primary.active:hover,
.btn-primary:hover,
.btn-primary:focus,
.btn-primary.focus {
  background-color: #EF7215;
  border-color: #EF7215;
}

.label-default,
.btn-default,
.btn-default:active,
.btn-default:active:hover,
.btn-default.active,
.btn-default.active:focus,
.btn-default.active.focus,
.btn-default.active:hover,
.btn-default:hover,
.btn-default:focus,
.btn-default.focus {
  background-color: #CEC29B;
  border-color: #CEC29B;
}

.text-primary {
  color: #333333;
}

.well > p:last-child {
  margin-bottom: initial;
}

.form-control,
a.btn {
  font-family: 'Noto Sans', sans-serif;
}

.pagination > li > a,
.pagination > li > span,
.pagination > li > a:focus,
.pagination > li > span:focus {
  color: #3C382A;
}

.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus {
  background-color: #3C382A;
  border-color: #3C382A;
}

/*==================================== custom class ====================================*/

.container .search-bar {
  border: 2px solid #B7A97E;
}

.search-bar .search-form {
  margin: 20px;
  font-size: 16px;
}

.label.label-lg {
  font-size: 85%;
}

a.prior-transportation-modal-button {
  border: 1px solid #337ab7;
  border-radius: .25em;
  padding: 0 .4em;
  font-size: 90%;
}

.member-index .member-sort-links a,
.member-index .member-sort-links span {
  white-space: nowrap;
}

.member-index .member-search-form .checkbox-inline {
  margin-left: 0;
  margin-right: 10px;
}

.member-index.area-index .title {
  margin-bottom: 15px;
}

@media screen and (max-width: 480px) {
  .lum-lightbox-inner img {
    width: 100%;
  }
}

.login_hr {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.login_hr:before,
.login_hr:after {
  content: "";
  flex-grow: 1;
  height: 1px;
  background: #ddd;
}

.line-login-image-input {
  height: 34px;
}

div.lum-lightbox.lum-open {
  z-index: 1500;
}

.fixed-top-notice .notice-header a {
  text-decoration: none;
}

.fixed-top-notice .notice-header .notice-header-content {
  margin-right: -15px;
  margin-left: -15px;
  height: 50px;
}

.wrap.fixed-top-notice .main-content {
  padding-top: 116px;
}

@media screen and (min-width: 768px) {
  .wrap.fixed-top-notice .main-content {
    padding-top: 200px;
  }
}

.wrap.fixed-top-notice .container-fluid.main-content {
  padding-top: 101px;
}

@media screen and (min-width: 768px) {
  .wrap.fixed-top-notice .container-fluid.main-content {
    padding-top: 185px;
  }
}

#askModal .modal-body td {
  vertical-align: middle;
}

#askModal .modal-body .line-icon {
  margin-right: 2px;
  margin-left: 3px;
}

.visible-xs .navbar-content {
  display: flex;
  width: 114px;
  justify-content: space-between;
}

.visible-xs .lang-select {
  margin: -9px 0;
}

.visible-xs .lang-select .lang-select-content {
  background-color: #CFC5A2;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.6);
}

.visible-xs .lang-select-content a {
  color: #3C382A;
}

.lang-select {
  text-decoration: none;
  position: relative;
  display: inline-block;
  font-size: 32px;
  margin: -14px -7px;
}

.lang-select .lang-select-content {
  display: none;
  position: absolute;
  right: 0;
  font-size: 14px;
  padding: 5px;
  background-color: rgb(207, 197, 162);
  background-color: #3C382A;
  box-shadow: 0px 4px 8px 0px rgba(255, 255, 255);
  z-index: 1;
}

.lang-select-content a {
  color: #CFC5A2;
  padding: 5px;
}

.lang-select:hover .lang-select-content {
  display: flex;
  flex-flow: column;
}

.order-panel-notice {
  display: flex;
  flex-direction: column;
  font-size: 18px;
  text-align: center;
}

.order-panel-notice a {
  margin-top: 10px;
  padding: 3px 12px;
}

@media screen and (min-width: 991px) {
  .order-panel {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}
