@charset "UTF-8";
@import url("global.css");
.pagettl {
  font-size: 28px;
  font-weight: bold;
  text-align: center;
}

.bgarea {
  position: relative;
  padding-bottom: 80px;
}
.bgarea::before {
  background-color: #eee;
  content: "";
  width: 100%;
  height: calc(100% - 80px);
  position: absolute;
  top: 80px;
  left: 0;
  z-index: -1;
}

#lead {
  text-align: center;
}
#lead figure {
  width: 100%;
  margin-bottom: 80px;
  position: relative;
}
#lead figure figcaption {
  text-align: left;
  position: absolute;
  left: -30px;
  top: 50px;
  color: #fff;
  line-height: 1.6;
  text-shadow: 0 0 3px #1F1F1F, 0 0 6px #1F1F1F, 0 0 9px #1F1F1F;
  transform: rotate(-5deg);
  font-size: 32px;
  font-weight: bold;
}
#lead .common-title {
  line-height: 1.6;
  font-size: 34px;
  font-weight: bold;
  margin-bottom: 50px;
  text-align: center;
}
#lead .common-title span {
  display: block;
  font-size: 20px;
  margin-bottom: 15px;
}
#lead p {
  width: 800px;
  margin: 0 auto 50px;
}

#detail ol {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
#detail ol li {
  flex-basis: 48%;
  box-sizing: border-box;
}
#detail ol li:nth-of-type(1), #detail ol li:nth-of-type(2) {
  margin-bottom: 60px;
}
#detail ol li div {
  background: #fff;
  border: 1px solid #002F68;
  padding: 30px;
  box-sizing: border-box;
  position: relative;
}
#detail ol li div span {
  position: absolute;
  left: 30px;
  top: 30px;
  color: #eee;
  line-height: 0.5;
  font-size: 60px;
  font-weight: bold;
  font-family: "Barlow Condensed", "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "游ゴシック Medium", "Yu Gothic Medium", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro", "Meiryo", "メイリオ", Helvetica, sans-serif;
}
#detail ol li div h3 {
  padding-left: 80px;
  margin-bottom: 30px;
  line-height: 1.2;
  font-size: 22px;
  font-weight: bold;
}
#detail ol li div figure {
  width: 220px;
  height: 180px;
  float: right;
  margin: 0 0 0 20px;
}

#placemap {
  margin: 120px 0;
  width: 100%;
}
#placemap .box {
  margin-top: 40px;
  padding: 20px 0;
  position: relative;
}
#placemap .box figure {
  position: absolute;
  left: 0;
  bottom: 0;
  top: 0;
  right: 50%;
}
#placemap .box dl {
  width: 55%;
  background-color: #eee;
  margin-left: 45%;
  padding: 20px 30px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  position: relative;
  z-index: 10;
}
#placemap .box dl dt {
  font-weight: bold;
  font-size: 20px;
  line-height: 1.4;
  margin-bottom: 5px;
}
#placemap .box dl dd .maplink {
  margin: 10px 0 15px;
}
#placemap .box dl dd .maplink a {
  display: block;
  background-color: #002F68;
  color: #FFF;
  padding: 15px 20px;
  line-height: 1;
  font-weight: bold;
  overflow: hidden;
  position: relative;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
#placemap .box dl dd .maplink a:hover {
  padding-left: 30px;
}
#placemap .box dl dd .maplink a::after {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 10px;
  height: 10px;
  margin-bottom: 2px;
  border-top: 2px solid #FFF;
  border-right: 2px solid #FFF;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
  transition: all 0.5s cubic-bezier(0.52, 0.08, 0.18, 1);
  -webkit-transition: all 0.5s cubic-bezier(0.52, 0.08, 0.18, 1);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
#placemap .box #googlemap .googlemap {
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 50%;
  overflow: hidden;
}
#placemap .box #googlemap .googlemap iframe {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

#formarea .pagettl {
  margin-bottom: 80px;
  position: relative;
}
#formarea .pagettl::after {
  content: "";
  position: absolute;
  bottom: -30px;
  width: 80px;
  height: 1px;
  background-color: #1F1F1F;
  left: 0;
  right: 0;
  margin: 0 auto;
}
#formarea .form_intro {
  text-align: center;
}
#formarea .form_intro p {
  margin-bottom: 20px;
}
#formarea .form_intro .caution {
  font-size: 14px;
  font-weight: bold;
}
#formarea .form_intro .caution .domain {
  display: inline-block;
  margin: 0 7px;
  line-height: 1.6;
  color: #002F68;
}

/* ------------------------------------------------------------------------------------------------------------------------

 Responsive-Breakpoint-1 (1400px)
 
------------------------------------------------------------------------------------------------------------------------ */
@media only screen and (max-width: 1400px) {
  #detail ol li div figure {
    width: 100%;
    height: 240px;
    float: none;
    margin: 0 auto 20px;
  }
}
/* ------------------------------------------------------------------------------------------------------------------------

 Responsive-Breakpoint-2 ( 960px )
 
------------------------------------------------------------------------------------------------------------------------ */
@media only screen and (max-width: 959px) {
  #lead .common-title {
    margin-bottom: 50px;
  }
  #lead .common-title span {
    font-size: 18px;
  }
  #lead p {
    width: auto;
    margin: 0 0 50px;
  }
  #lead figure figcaption {
    top: 20px;
    left: -10px;
    font-size: 24px;
  }

  #detail ol li:nth-of-type(1), #detail ol li:nth-of-type(2) {
    margin-bottom: 40px;
  }
  #detail ol li div figure {
    height: 160px;
  }

  #placemap {
    margin: 100px 0;
  }
  #placemap .pagettl {
    font-size: 27px;
  }
  #placemap .box {
    margin-top: 40px;
    padding: 15px 0;
  }
  #placemap .box dl {
    width: 65%;
    margin-left: 35%;
    padding: 20px;
  }
  #placemap .box dl dt {
    font-size: 18px;
  }
  #placemap .box dl dd .maplink {
    margin: 10px 0 15px;
  }
  #placemap .box dl dd .maplink a {
    padding: 15px 10px;
  }
  #placemap .box dl dd .maplink a:hover {
    padding-left: 10px;
  }
}
/* ------------------------------------------------------------------------------------------------------------------------

 Responsive-Breakpoint-3 ( 644px )
 
------------------------------------------------------------------------------------------------------------------------ */
@media only screen and (max-width: 644px) {
  .pagettl {
    font-size: 21px;
  }

  .bgarea::before {
    top: 40px;
    height: calc(100% - 40px);
  }

  #lead .common-title {
    font-size: 21px;
    margin-bottom: 30px;
  }
  #lead .common-title span {
    margin-bottom: 10px;
    font-size: 12px;
  }
  #lead p {
    margin: 0 0 30px;
  }
  #lead figure {
    margin-bottom: 40px;
  }
  #lead figure figcaption {
    top: -5px;
    line-height: 1.4;
    font-size: 16px;
  }

  #detail ol {
    display: block;
    margin: 0;
  }
  #detail ol li {
    width: 100%;
    padding: 0;
    margin-bottom: 20px;
  }
  #detail ol li:nth-of-type(1), #detail ol li:nth-of-type(2) {
    margin-bottom: 20px;
  }
  #detail ol li div {
    padding: 20px;
  }
  #detail ol li div span {
    left: 20px;
    top: 25px;
  }
  #detail ol li div h3 {
    padding-left: 70px;
    margin-bottom: 20px;
    font-size: 20px;
  }
  #detail ol li div figure {
    height: 150px;
  }

  #placemap {
    margin: 60px 0;
  }
  #placemap .pagettl {
    font-size: 20px;
  }
  #placemap .box {
    margin-top: 20px;
    padding: 0;
    position: static;
  }
  #placemap .box figure {
    position: static;
    left: auto;
    bottom: auto;
    top: auto;
    right: auto;
  }
  #placemap .box dl {
    position: relative;
    width: auto;
    margin: -25% 0 0;
    padding: 20px 15px;
  }
  #placemap .box dl dt {
    font-size: 16px;
    margin-bottom: 0;
  }
  #placemap .box dl dd .maplink a {
    padding: 10px;
    font-size: 15px;
  }
  #placemap .box dl dd .maplink a:hover {
    padding-left: 10px;
  }
  #placemap .box dl dd .maplink a::after {
    width: 7px;
    height: 7px;
  }

  #formarea .pagettl {
    margin-bottom: 50px;
  }
  #formarea .pagettl::after {
    bottom: -20px;
    width: 50px;
  }
  #formarea .form_intro .caution {
    font-size: 13px;
    text-align: left;
  }
}
