@charset "utf-8";
/* CSS Document */
/*header*/
header {
  width: 100%;
  height: 85px;
  background: #fff;
  box-sizing: border-box;
  box-shadow: 0px 0px 8px -1px rgba(0, 0, 0, 0.25);
}
header .wrapper {
  position: relative;
  height: 100%;
}
header p {
  margin: 0;
}
#header_logo, #header_items {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  -webkit- transform: translateY(-50%);
}
#header_logo {
  left: 0;
}
#header_items {
  right: 0;
}
#header_items p {
  display: inline-block;
  vertical-align: middle;
}
#header_items #header_contact {
  padding-left: 20px;
  margin-left: 20px;
  border-left: 2px solid #ccc;
}
@media only screen and (min-width : 800px) {
  #main_img h1 {
    white-space: nowrap;
  }
}
body {
  padding-top: 0;
}
/* main_img */
#main_img {
  background: url(img/main_img_bg.jpg) center no-repeat;
  height: 629px;
  position: relative;
}
#main_img .wrapper {
  position: relative;
  height: 100%;
}
#main_img #main_img_txt {
  font-size: 20px;
  width: 50%;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  -webkit- transform: translateY(-50%);
  text-shadow: 0px 0px 3px #fff, 0px 0px 3px #fff;
}
#main_img h1 {
  font-size: 43px;
  font-weight: bold;
  margin-bottom: 25px;
}
#main_img strong {
  color: #d73030;
  font-weight: bold;
  display: inline-block;
  border-bottom: 1px solid #d73030;
  margin-left: 3px;
}
/* gray_bg */
#gray_bg {
  padding: 30px 0;
  background: #f1f1f1;
}
#gray_bg li {
  background: #fff;
  position: relative;
  width: 25%;
  margin: 0;
  border-right: 1px solid #ccc;
}
#gray_bg li:last-child {
  border-right: none;
}
#gray_bg img {
  display: block;
  margin: 0 auto;
  max-width: 120px;
  height: auto;
}
@media only screen and (max-width : 1200px) {
  #arrow_area {
    font-size: 22px;
  }
  #main_img #main_img_txt {
    left: 30px;
  }
}
@media only screen and (max-width : 800px) {
  #header_logo {
    left: 15px;
  }
  #header_items {
    right: 15px;
  }
  header {
    position: relative;
    height: 75px;
  }
  #header_items {
    width: 300px;
    right: 15px;
  }
  header img {
    width: 100%;
    height: auto;
  }
  #header_items img {
    width: 137px;
  }
  #header_logo {
    width: 100px;
  }
  #header_items #header_contact {
    padding-left: 10px;
    margin-left: 10px;
    border-left: 1px solid #ccc;
  }
  #main_img #main_img_txt {
    width: 85%;
    font-size: 16px;
    transform: none;
    top: 30px;
    box-sizing: border-box;
    word-break: break-all;
  }
  #main_img h1 {
    font-size: 30px;
    margin-bottom: 20px;
  }
  #main_img {
    background: url(img/main_img_bg_sp.jpg) center no-repeat;
    height: 100vh;
    position: relative;
    background-size: cover;
  }
  #gray_bg {
    padding: 15px 0;
  }
  #gray_bg li {
    width: 49%;
    margin: 0;
    border-right: none;
  }
  .gray_bg_title {
    font-size: 16px;
  }
  .gray_bg .wrapper, .content_wrapper {
    padding: 0 10px !important;
  }
}
@media only screen and (max-width : 600px) {
  header {
    position: relative;
    height: 55px;
  }
  #header_items #header_contact {
    display: none;
  }
  #header_items {
    width: 170px;
    margin-top: 2px;
  }
  #header_items img {
    width: 170px;
  }
  .gray_bg_title {
    font-size: 16px;
  }
}
@media only screen and (max-width : 400px) {
  #main_img h1 {
    font-size: 22px;
    margin-bottom: 20px;
  }
  #main_img #main_img_txt {
    font-size: 14px;
  }
}
.inside {
  list-style: inside !important;
}
.mfp_col2 {
  display: inline-block;
}
@media only screen and (max-width : 800px) {
  .mfp_col2 {
    display: block;
  }
}
.bold {
  font-weight: bold;
}
.address {
  border-top: dotted;
  padding: 5px 10px;
}
a {
  color: #0645AD;
}
h3 {
  border-bottom: none;
  background-color: white;
  padding-left: 20px;
  padding-top: 10px;
}
.border {
  border-bottom: solid 2px #696969;
  color: #696969;
}
h1 {
  text-align: center;
  font-size: 1.5em;
  margin: 0 0 0;
  z-index: 1;
  position: relative;
  margin-top: 0px;
  text-align: left;
}
.thanks {
  text-align: center !important;
  margin-top: 60px !important;
  padding: 1rem 2rem;
  color: #fff;
  background: #696969;
  background-size: 50px 50px;
  background-position: 0 0, 25px 25px;
}
h2 {
  padding: 1rem 2rem;
  color: #fff;
  background: #696969;
  background-size: 50px 50px;
  background-position: 0 0, 25px 25px;
  margin-top: 0px;
  text-align: left !important;
}
h3 {
  background-color: white !important;
  text-align: left !important;
  padding: 30px 5px 10px 20px !important;
  margin-top: 0px !important;
  font-size: 1.2em !important;
}
h4 {
  background-color: white;
  text-align: left;
  padding: 30px 10px 10px 20px;
}
.scroll-box {
  padding-left: 10px;
  width: 100%; /* 横幅を200pxに指定 */
  height: 200px; /* 横幅を200pxに指定 */
  border: 1px solid #000; /* わかりやすくボーダーを引く */
  overflow-y: scroll; /* 縦方向にスクロール可能にする */
  border: solid 1px #CCC;
  border-radius: 3px;
  box-shadow: 0px 0px 5px #ccc inset;
  padding: 3px 8px;
  margin: 2px;
  vertical-align: middle;
}
.white-space {
  background-color: white;
  padding-bottom: 30px;
}
footer small {
  display: block;
  text-align: center;
  background: #000000;
  color: #fff;
  font-size: 13px;
  margin-top: 100px;
  padding: 55px 0 55px !important;
}
@media only screen and (max-width: 800px) table th, table td {
  white-space: normal !important;
}
p {
  margin-bottom: 0px !important;
}
table th {
  background: none !important;
  text-align: center;
  white-space: nowrap;
}
/* Turnstile */
.cf-turnstile {
    padding-top: 25px;
    margin-bottom: -45px;
    text-align: center;
}
