@charset "UTF-8";

/* 特大デバイス（ワイド・デスクトップ, 1200px 以上）
============================================== */
@media (min-width: 1200px) {}
/* END */

/* 大デバイス（デスクトップ, 1200px 未満）
============================================== */
@media screen and (max-width: 1199.98px) {
  .header .jumbotron {
    background-size: contain;
    background-position: center top;
    position: relative;
    height: 100%;
    margin-bottom: 0;
  }
}

/* END */

/* 大デバイス（デスクトップ, 992px 以上）
==============================================*/
@media (min-width: 992px) {

  .header .jumbotron div.container-fluid {
    margin-top: 15em;
  }
  .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: 1em !important;
        padding-left: 1em !important;
  }

  .main-img {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
  }

  .flow > li {
    -ms-flex-preferred-size: 18%;
    flex-basis: 18%;
  }

  .flow > li dl {
    padding: 1rem;
    margin: 0;
    border: 3px solid #6b90db;
    position: relative;
  }
/*
  .flow > li:not(:last-child) dl::before {
    content: "";
    width: 14px;
    height: 14px;
    margin-right: 10px;
    display: inline-block;
    border-top: 4px solid #6b90db;
    border-right: 4px solid #6b90db;
    position: absolute;
    top: calc(50% - 14px);
    left: 104%;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
  }
*/
  .flow > li dl dt {
    font-size: 20px;
    font-weight: 600;
    color: #6b90db;
    -ms-flex-preferred-size: 20%;
    flex-basis: 20%;
    margin-bottom: 1vh;
    text-align: center;
  }

  .step li:before {
    top: -12px;
    right: -1em;
    border-style: solid;
    border-color: transparent transparent transparent #fff;
    border-width: 40px 0 40px 1rem;
    z-index: 10;
  }

  .step li:after {
    top: -12px;
    right: -.8em;
    border-style: solid;
    border-color: transparent transparent transparent #DBB96B;
    border-width: 40px 0 40px 1rem;
    z-index: 10;
  }
  
  .footer_h_img {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-width: 0;
  }
  
  #footer-img-1 {
    width: 50% !important;
  }
  
}

/* END */

/* 中デバイス（タブレット, 992px 未満）
============================================== */
@media screen and (max-width: 991.98px) {

  .header {
    height: auto;
  }
  
  .header .jumbotron .container-fluid {
    margin-top: 10em;
  }
  
  .flow > li {
    -ms-flex-preferred-size: 100%;
    flex-basis: 100% !important;
  }

  .flow > li dl {
    padding: 1rem;
    margin: 0;
    border: 3px solid #6b90db;
    position: relative;
  }

  .flow > li dl dt {
    font-size: 20px;
    font-weight: 600;
    color: #6b90db;
    -ms-flex-preferred-size: 20%;
    flex-basis: 20%;
    margin-bottom: 1vh;
    text-align: center;
  }

}

/* END */

/* 中デバイス（タブレット, 768px 以上 992px 未満）
============================================== */
@media (min-width: 768px) and (max-width: 991.98px) {
  .step li:before {
    top: -.6rem;
    right: -1rem;
    border-style: solid;
    border-color: transparent transparent transparent #fff;
    border-width: 50px 0 50px 1rem;
    z-index: 10;
  }

  .step li:after {
    top: -.6rem;
    right: -.9rem;
    border-style: solid;
    border-color: transparent transparent transparent #DBB96B;
    border-width: 50px 0 50px 1rem;
    z-index: 10;
  }
}

/* END */

/* 中デバイス（タブレット, 768px 以上）
============================================== */
@media (min-width: 768px) {

  .step {
    list-style-type: none;
    display: table;
    width: 100%;
    padding: 0;
    margin: 0;
    overflow: hidden;
  }

  .step li {
    display: table-cell;
    position: relative;
    background: #DBB96B;
    padding: 1em 0.5em 1em 2em;
    color: #fff;
  }

  .step li:last-child {
    padding-right: 1em;
  }

  .step li:last-child:before,
  .step li:last-child:after {
    display: none;
  }

  .step li:before,
  .step li:after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    margin: auto;
  }

  .step li.is-current {
    background-color: #8F6F29;
    font-weight: bold;
  }

  .step li.is-current:after {
    border-color: transparent transparent transparent #8F6F29;
  }
  
  ul#newsList li {
    display: block;
  }
  
  footer table td.sm_disp {display: none;}
}

/* END */


/* 小デバイス（横向きモバイル, 768px 未満）
============================================== */
@media (max-width: 767.98px) {

  .w-50 {width: 80% !important}

  .sm_br {display: block;}

  .navbar {
    padding: .5em 0;
  }
  .navbar-nav li.nav-item {
    padding: .5em 1em;
  }
  li.nav-item:hover {
    background-color: rgba(0,183,206,0.5);
  }
  li.nav-item a:hover {
    color: #fff !important;
  }
  .navbar-nav .nav-link:focus, .navbar-nav .nav-link:hover {
    color: #fff;
  }
  .step {
    list-style-type: none;
    padding: 0;
    margin: 0;
  }

  .step li {
    position: relative;
    width: 100%;
    background-color: #DBB96B;
    padding: 1em;
    margin-bottom: 1.5rem;
    text-align: center;
    color: #fff;
  }

  .step li::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    bottom: -20px;
    left: 0;
    border-style: solid;
    border-color: #DBB96B transparent transparent transparent;
    border-width: 20px 170px 0 170px;
    z-index: 1;
  }

  .step li.is-current {
    background: #8F6F29;
    font-weight: bold;
  }

  .step li.is-current:after {
    border-color: #8F6F29 transparent transparent transparent;
  }
  
  footer table thead {display: none;}
  
  footer table td{
    display: block;
    border: 1px solid #fff;
  }
  footer table td:before {
    content: attr(data-label);
    float: left;
    margin-right: 10px;
  }
  
  footer table td.sm_none {display: none;}
  footer #footer-map {
      padding-top: 100%;
  }
  footer iframe {
    width: 100%;
    height: calc(100% + 85px);
    margin-top: -85px;
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%,-50%);
  }
  table.formTable th, table.formTable td {
  	width:auto;
  	display:block;
  }
  table.formTable th {
  	margin-top:5px;
  	border-bottom:0;
  }

}

/* END */
