@charset "UTF-8";
.modal_wrap input {
  display: none;
}

.modal_wrap.block {
  display: block !important;
}

.modal_overlay {
  display: flex;
  justify-content: center;
  overflow: auto;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s, transform 0s 0.5s;
  transform: scale(0);
}

.modal_trigger {
  position: absolute;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.modal_content {
  align-self: center;
  width: 60%;
  max-width: 800px;
  padding: 30px 30px 30px;
  box-sizing: border-box;
  background: #fff;
  line-height: 1.4em;
  transform: scale(1.2);
  transition: 0.5s;
}

.modal_content h2 span {
  font-size: 20px;
  color: #c41c1c;
  display: block;
  line-height: 30px;
}

.modal_content p span {
  color: #fff;
  background: #c41c1c;
  display: block;
  padding: 5px 10px;
  border-radius: 4px;
  margin: 12px 0;
  font-weight: bold;
}

.close_button {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 24px;
  cursor: pointer;
}

.modal_wrap.is-show {
  display: block;
}

.modal_wrap.is-show .modal_overlay {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  transition: opacity 0.5s;
}

.modal_wrap.is-show .modal_overlay .modal_content {
  transform: scale(1);
}

#mainimg {
  text-align: center;
  background-size: cover;
  position: relative;
  margin-top: 130px;
  box-sizing: border-box;
  overflow: hidden;
  max-width: 100vw;
}

#mainimg .contact-btn {
  position: absolute;
  right: 2%;
  bottom: 15%;
  z-index: 99;
}

.slideshow1 {
  background: url(../img/top/img-main1.png) no-repeat;
  background-size: cover;
}

.slideshow2 {
  background: url(../img/top/img-main2.png) no-repeat;
  background-size: cover;
}

.slideshow3 {
  background: url(../img/top/img-main3.png) no-repeat;
  background-size: cover;
}

.slideshow4 {
  background: url(../img/top/img-main4.png) no-repeat;
  background-size: cover;
}

.slideshow5 {
  background: url(../img/top/img-main5.png) no-repeat;
  background-size: cover;
}

#mainimg .swiper-slide {
  text-align: center;
  min-height: 70vh;
  padding-top: 10vh;
  box-sizing: border-box;
}

#mainimg .swiper-pagination {
  position: absolute;
  margin: 0;
  display: flex;
  bottom: 0 !important;
}

#mainimg .swiper-pagination-bullet {
  width: 20%;
  height: 60px;
  border-radius: 0;
  margin: 0 !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1%;
  box-sizing: border-box;
  opacity: .9;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
}

#mainimg .swiper-pagination-bullet + #mainimg .swiper-pagination-bullet {
  border-left: 1px solid rgba(255, 255, 255, 0.5);
}

#mainimg .swiper-pagination-bullet img {
  max-width: 55px;
}

#mainimg .swiper-pagination-bullet p {
  width: 50%;
}

#mainimg .swiper-pagination-bullet-active {
  background: #c41c1c;
}

.slide-btn {
  background: #c41c1c;
  color: #fff !important;
  padding: 15px 30px;
  display: inline-block;
  margin: 20px auto;
}

#point {
  padding: 4% 0;
  position: relative;
  background: linear-gradient(#ffffff 70%, #f8f8f8 30%);
  z-index: -2;
}

#point h3 {
  font-size: 30px;
  text-align: center;
  line-height: 57px;
}

#point:before {
  content: '';
  background: #FCEEEE;
  height: 154px;
  width: 154px;
  display: inline-block;
  position: absolute;
  left: 20%;
  z-index: -1;
}

#point:after {
  content: '';
  background: #FCEEEE;
  height: 360px;
  width: 360px;
  display: inline-block;
  position: absolute;
  top: 12%;
  right: 18%;
  z-index: -1;
}

#point ul {
  display: flex;
  justify-content: space-between;
  padding: 4% 0;
}

#point ul li {
  width: 30%;
  max-width: 300px;
  position: relative;
  background: #fff;
  box-shadow: 0 0 6px #bbb;
}

#point ul li span {
  font-size: 50px;
  font-weight: bold;
  font-style: italic;
  color: #c41c1c;
  position: absolute;
  top: -7%;
  right: 8px;
}

#point ul li span:before {
  content: '0';
  color: #323940;
}

#point ul li div {
  padding: 0 16px 20px;
}

#point h4 {
  color: #fff;
  background: #d50000;
  padding: 10px 15px;
  position: relative;
  z-index: 10;
  font-size: 17px;
  left: -10px;
  top: -15px;
}

#point ul li div p {
  font-size: 14px;
}

#point h5 {
  display: inline-block;
  border-bottom: 3px solid #222;
  padding-bottom: 2px;
  margin-bottom: 10px;
}

#point h4:after {
  border-bottom: 10px solid transparent;
  border-right: 10px solid #a60f0f;
  content: '';
  position: absolute;
  z-index: -1;
  left: 0;
  bottom: -10px;
}

#service ul {
  display: flex;
}

#service ul li {
  width: 50%;
  position: relative;
}

#service ul li div i {
  display: inline-block;
  line-height: 90px;
  width: 90px;
  position: absolute;
  left: 0;
  top: 0;
}

#service ul li div h3 {
  font-size: 18px;
}

#service ul li div div {
  padding: 7% 20% 3%;
  width: 56%;
  background: none !important;
}

#service ul li div div p {
  padding: 3% 0 0;
}

#service ul li div h3 span {
  display: block;
  letter-spacing: 1px;
  font-size: 16px;
  padding: 10px 0;
  font-weight: bolder;
}

#service ul li:nth-child(1) {
  background: #F5CDCD;
}

#service ul li:nth-child(1) div {
  background: #F5CDCD url(../img/top/ico-service1.png) 90% center no-repeat;
  background-size: 135px;
}

#service ul li:nth-child(1) div i {
  background: #C41C1C;
}

#service ul li:nth-child(2) div {
  background: #ACE9D3 url(../img/top/ico-service2.png) 98% center no-repeat;
  background-size: 150px;
}

#service ul li:nth-child(2) div i {
  background: #0CA26C;
  width: 90px;
  text-align: center;
}

#service ul li:nth-child(2) div i img {
  max-width: 70px;
}

#service ul li:nth-child(1) div h3 span {
  color: #C41C1C;
}

#service ul li:nth-child(1) div p:after {
  background: #C41C1C;
}

#service ul li:nth-child(2) div h3 span {
  color: #0CA26C;
}

#service ul li:nth-child(2) div p:after {
  background: #0CA26C;
}

#service ul li div p:after {
  width: 80px;
  height: 4px;
  content: '';
  display: block;
  margin: 5% 0;
}

#service ul li figure {
  width: 100%;
  height: 23vh;
}

#service ul li:nth-child(1) figure {
  background: url(../img/top/img-service1.png) no-repeat center center;
  background-size: cover;
}

#service ul li:nth-child(2) figure {
  background: url(../img/top/img-service2.png) no-repeat center center;
  background-size: cover;
}

#option {
  position: relative;
  padding: 80px 0 0;
}

#option .swiper-container2 {
  background: #FFE9E9;
  padding: 3% 0 2%;
  overflow: hidden;
}

#option .swiper-container2 .slick-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 20px 0;
}

#option .swiper-container2 .slick-dots li {
  width: 14px;
  height: 14px;
  background: #b5b5b5;
  border-radius: 1000px;
  margin: 4px;
  transition: all .3s;
}

#option .swiper-container2 .slick-dots li.slick-active {
  background: #c41c1c;
}

#option .swiper-container2 .slick-dots li button {
  display: none;
}

#option .swiper-slide {
  background: #fff;
  max-width: 400px;
  margin: 0 8px;
}

#option .swiper-slide h5 {
  display: flex;
  align-items: center;
  font-size: 18px;
  padding: 5%;
  justify-content: space-between;
}

/*#option .swiper-slide h5:after{
	background: url(../img/ico-link2.png) no-repeat;
	background-size: cover;
	width: 16px;
	height: 16px;
	content: 'MORE';
	display: inline-block;
	margin-left: 8px;
}*/
#option .swiper-slide h5.more:after {
  content: '→MORE';
  font-size: 13px;
  color: #c41c1c;
}

#option .swiper-pagination {
  font-size: 25px;
  font-weight: bolder;
  position: inherit;
}

#option .swiper-pagination-current {
  color: #c41c1c;
}

#option .swiper-button-prev, #option .swiper-button-next {
  background-image: none;
  position: inherit;
  margin: 0;
  width: inherit;
  height: inherit;
}

#option .swiper-button-prev:before {
  content: '\e314';
  font-family: 'Material Icons';
  color: #333;
  font-size: 50px;
}

#option .swiper-button-next:before {
  content: '\e315';
  font-family: 'Material Icons';
  color: #333;
  font-size: 50px;
}

#option-control {
  display: flex;
  width: 20%;
  margin: 2% auto 0;
  min-width: 300px;
}

#banner {
  padding: 3% 0;
}

#banner ul {
  display: flex;
  justify-content: center;
}

#banner ul li {
  margin: 0 1%;
}

#banner ul li img {
  max-width: 300px;
}

#mid-nav {
  display: flex;
  color: #fff;
  text-align: center;
}

#mid-nav ul {
  background: url(../img/top/img-nav1.png) no-repeat center center;
  background-size: cover;
  display: flex;
  flex-wrap: wrap;
  width: 50%;
}

#mid-nav ul li {
  width: 25%;
}

#mid-nav ul li a {
  width: 100%;
  display: block;
  padding: 18% 0;
}

#mid-nav ul li:nth-child(2), #mid-nav ul li:nth-child(4), #mid-nav ul li:nth-child(5), #mid-nav ul li:nth-child(7) {
  background: rgba(131, 16, 16, 0.4);
}

#mid-nav ul li img, #mid-nav div img {
  max-width: 60px;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px transparent;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
}

#mid-nav a:hover img {
  -webkit-animation-name: hvr-icon-bob;
  animation-name: hvr-icon-bob;
  -webkit-animation-duration: .5s;
  animation-duration: .5s;
  -webkit-animation-delay: .3s;
  animation-delay: .3s;
  -webkit-animation-timing-function: ease-in-out;
  animation-timing-function: ease-in-out;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
  -webkit-animation-direction: alternate;
  animation-direction: alternate;
}

#mid-nav p {
  font-weight: bold;
  font-size: 16px;
  width: 100%;
  padding: 10px 0;
}

#mid-nav span {
  font-size: 14px;
}

#mid-nav div a {
  height: 100%;
  width: 100%;
  padding: 10% 0;
  box-sizing: border-box;
}

#mid-nav div {
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: url(../img/top/img-nav2.png) no-repeat center center;
  background-size: cover;
}

/* Icon Bob */
@-webkit-keyframes hvr-icon-bob {
  0% {
    -webkit-transform: translateY(-2px);
    transform: translateY(-2px);
  }
  50% {
    -webkit-transform: translateY(-6px);
    transform: translateY(-6px);
  }
  100% {
    -webkit-transform: translateY(-2px);
    transform: translateY(-2px);
  }
}
@keyframes hvr-icon-bob {
  0% {
    -webkit-transform: translateY(-2px);
    transform: translateY(-2px);
  }
  50% {
    -webkit-transform: translateY(-6px);
    transform: translateY(-6px);
  }
  100% {
    -webkit-transform: translateY(-2px);
    transform: translateY(-2px);
  }
}
#area > p {
  text-align: center;
  margin: 2% 0;
}

#map {
  display: flex;
  border-radius: 8px;
  border: 4px solid #c41c1c;
  padding: 0;
}

#map > div {
  background: url(../img/top/img-map.png) center center no-repeat;
  width: 50%;
  position: relative;
  background-size: cover;
}

#map > div .hyougo {
  top: 42%;
  left: 34%;
}

#map > div .osaka {
  bottom: 32%;
  right: 27%;
}

#map > div a {
  border-radius: 8px;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.16);
  border: #626B74 solid 2px;
  background: #fff;
  position: absolute;
  padding: 12px 46px;
  font-weight: bold;
  font-size: 18px;
  transition: .3s ease;
}

#map > div a:hover {
  background: #fceeee;
}

#map ul {
  width: 50%;
}

#map ul li {
  padding: 8% 10% 10%;
  background: #fff;
}

#map ul li + li {
  border-top: 1px solid #eee;
}

#map ul li h5 {
  font-size: 20px;
  padding: 0 0 4% 0;
}

#map ul li .flexWrap {
  line-height: 30px;
}

#map ul li .flexWrap .trigger {
  margin: 0 1px;
  text-decoration: underline;
  cursor: pointer;
}

.anshin {
  padding: 0 2%;
}

.anshin figure {
  width: 40%;
  text-align: center;
}

.anshin article {
  display: flex;
}

.anshin article h3 {
  max-width: 425px;
}

.anshin article > div {
  width: 70%;
  padding-top: 2%;
}

.anshin article > div p {
  padding: 5% 0 4% 10%;
  line-height: 30px;
}

.anshin article > div p span {
  font-weight: bold;
  font-size: 18px;
  background: linear-gradient(rgba(0, 0, 0, 0) 70%, #ffbe31 30%);
}

@media only screen and (max-width: 1550px) {
  #mainimg .swiper-pagination-bullet p {
    width: 90%;
    font-size: 11px;
  }
}
@media only screen and (max-width: 1366px) {
  #option-control {
    align-items: center;
  }
}
@media only screen and (max-width: 1142px) {
  #mainimg {
    margin-top: 50px;
  }

  #mainimg .swiper-slide {
    min-height: calc(100vh - 100px);
    padding-top: 15vh;
  }
}
@media only screen and (max-width: 1024px) {
  .slideshow1 {
    background: url(../img/top/img-main1s.png) no-repeat;
    background-size: cover;
  }

  .slideshow2 {
    background: url(../img/top/img-main2s.png) no-repeat;
    background-size: cover;
  }

  .slideshow3 {
    background: url(../img/top/img-main3s.png) no-repeat;
    background-size: cover;
  }

  .slideshow4 {
    background: url(../img/top/img-main4s.png) no-repeat;
    background-size: cover;
  }

  .slideshow5 {
    background: url(../img/top/img-main5s.png) no-repeat;
    background-size: cover;
  }

  #mainimg .contact-btn {
    position: absolute;
    right: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    bottom: 7%;
  }

  #mainimg .swiper-pagination-bullet p, #mainimg .swiper-pagination-bullet i {
    display: none;
  }

  #mainimg .swiper-pagination-bullet {
    justify-content: center;
  }

  .anshin article {
    flex-wrap: wrap;
    justify-content: center;
    flex-direction: column-reverse;
  }

  .anshin article h3 {
    max-width: inherit;
  }

  .anshin article {
    text-align: center;
  }

  .anshin article > div {
    width: 100%;
    margin-left: 0;
  }

  #point h3 {
    font-size: 18px;
    line-height: 20px;
    padding: 5% 0;
  }

  #point h3 br {
    display: none;
  }

  #point ul {
    flex-wrap: wrap;
    justify-content: center;
  }

  #point ul li {
    width: 100%;
    margin: 5% 1%;
  }

  #point ul li span {
    top: -13%;
    right: 8px;
  }

  #point:before {
    height: 150px;
    width: 150px;
    left: 10%;
  }

  #point:after {
    height: 150px;
    width: 150px;
    top: 12%;
    right: 5%;
  }

  #service ul {
    flex-wrap: wrap;
  }

  #service ul li {
    width: 100%;
  }

  #service ul li:nth-child(1) div {
    background: #F5CDCD url(../img/top/ico-service1.png) 97% 20% no-repeat;
    background-size: 80px;
  }

  #service ul li:nth-child(2) div {
    background: #ACE9D3 url(../img/top/ico-service2.png) 98% 27% no-repeat;
    background-size: 80px;
  }

  #service ul li div div {
    padding: 7% 1% 3% 23%;
    width: 70%;
  }

  #service ul li div i {
    line-height: 60px;
    width: 60px !important;
  }

  #service ul li:nth-child(2) div i img {
    max-width: 50px;
  }

  #mid-nav {
    flex-wrap: wrap;
  }

  #mid-nav div {
    width: 100%;
  }

  #mid-nav ul {
    width: 100%;
    flex-wrap: wrap;
  }

  #mid-nav ul li {
    width: 50%;
  }

  #mid-nav ul li:nth-child(3), #mid-nav ul li:nth-child(6) {
    background: rgba(131, 16, 16, 0.4);
  }

  #mid-nav ul li:nth-child(4), #mid-nav ul li:nth-child(5) {
    background: none;
  }

  #mid-nav ul li a {
    padding: 10% 0;
  }

  #map {
    flex-wrap: wrap;
  }

  #map > div {
    width: 100%;
    height: 290px;
  }

  #map ul {
    width: 100%;
  }

  #map > div .hyougo {
    top: 37%;
    left: 36%;
  }

  #map > div .osaka {
    bottom: 26%;
    right: 23%;
  }

  #map > div a {
    padding: 5px 20px;
    font-size: 14px;
  }

  .anshin figure {
    width: 100%;
    text-align: center;
  }

  .anshin figure img {
    max-width: 250px;
  }

  .anshin article > div p {
    padding: 5% 2% 0;
  }

  .swiper-slide h2 {
    margin: 0 auto;
  }

  .slideshow1 h2 {
    width: 60%;
  }

  .slideshow2 h2 {
    width: 70%;
  }

  .slideshow3 h2 {
    width: 45%;
  }

  .slideshow4 h2 {
    width: 45%;
  }

  .slideshow5 h2 {
    width: 60%;
  }
}
@media only screen and (max-width: 550px) {
  #banner ul {
    flex-wrap: wrap;
  }

  #banner ul li {
    width: 100%;
    text-align: center;
    margin: 1%;
  }

  #banner ul li img {
    max-width: 250px;
  }

  .slideshow1 h2 {
    width: 100%;
  }

  .slideshow2 h2 {
    width: 100%;
  }

  .slideshow3 h2 {
    width: 80%;
  }

  .slideshow4 h2 {
    width: 100%;
  }

  .slideshow5 h2 {
    width: 100%;
  }

  .modal_content {
    width: 85%;
  }
}
.anshin-mark-logo {
  -moz-transition: all 0.15s linear;
  -o-transition: all 0.15s linear;
  -webkit-transition: all 0.15s linear;
  transition: all 0.15s linear;
  display: none;
  position: fixed;
  z-index: 100;
  right: 0;
  bottom: 80px;
  border: 4px solid #C41C1C;
  cursor: pointer;
}
.anshin-mark-logo:hover {
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=75);
  opacity: 0.75;
}

@media only screen and (max-width: 768px) {
  .anshin-mark-logo {
    width: 70px;
    height: 70px;
    border-width: 2px;
  }
}
.anshin-mark-box {
  display: none;
  position: fixed;
  z-index: 20000;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 568px;
  height: 800px;
  margin: auto;
}

@media only screen and (max-width: 768px) {
  .anshin-mark-box {
    width: 80%;
    height: 65%;
  }
}
.anshin-mark-close {
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
  border-radius: 50%;
  -moz-box-shadow: 0 0 4px rgba(0, 0, 0, 0.8);
  -webkit-box-shadow: 0 0 4px rgba(0, 0, 0, 0.8);
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  right: -10px;
  top: -10px;
  width: 30px;
  height: 30px;
  background: #FFF;
  color: #d62143;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
}

.anshin-mark-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10000;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
}

/*# sourceMappingURL=top.css.map */
