@charset "UTF-8";

.layout-content *,
.layout-content *::before,
.layout-content *::after {
  box-sizing: border-box;
}
.layout-content * {
  margin: 0;
}
.layout-content img,
.layout-content picture,
.layout-content video,
.layout-content canvas,
.layout-content svg {
  display: block;
  max-width: 100%;
}
.layout-content input,
.layout-content button,
.layout-content textarea,
.layout-content select {
  font: inherit;
  color: inherit;
}
.layout-content img,
.layout-content picture,
.layout-content video,
.layout-content canvas,
.layout-content svg {
  height: auto;
}
.layout-content table {
  border-collapse: collapse;
  width: 100%;
}

.layout-content {
  background: #fff;
  color: #333333;
  font-family: Yakuhanjp, "Noto Sans JP", sans-serif;
  font-feature-settings: "palt" 1;
  font-optical-sizing: auto;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.06em;
  text-align: justify;
  word-break: normal;
  overflow-wrap: anywhere;
  line-break: strict;
  white-space: normal;
}
@media screen and (max-width: 768px) {
  .layout-content {
    font-size: 1.2rem;
  }
}
.layout-content.is-fixed {
  position: fixed;
  left: 0;
  width: 100%;
}
.layout-content img {
  width: 100%;
  height: auto;
}

.icon-arrow {
  position: absolute;
  z-index: 1;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 50%;
}
@media screen and (max-width: 768px) {
  .icon-arrow {
    width: 2.8rem;
    height: 2.8rem;
    background-size: 0.8rem 0.7rem;
  }
}
.icon-arrow i {
  position: relative;
  z-index: 1;
  line-height: 0;
  font-size: 0;
  display: inline-block;
  width: 0.85rem;
  height: 0.85rem;
  background: url("../images/icn_arrow.svg") no-repeat center center;
  background-size: contain;
}
.icon-arrow:before, .icon-arrow:after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  transition: opacity 0.05s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.05s, scale 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.icon-arrow:before {
  background: #0078BE;
  scale: 0;
  opacity: 0;
}
.icon-arrow:after {
  z-index: -1;
  background: #fff;
  border: 1px solid #E8E8E8;
  scale: 1;
}
.icon-arrow--visual {
  background-color: transparent;
  width: 1.8rem;
  height: 1.8rem;
}
.icon-arrow--navy i {
  background-image: url("../images/icn_arrow.svg");
}
.icon-arrow--navy:before {
  background: #0E3E6A;
  border: 1px solid #fff;
}
@media (hover: hover) {
  *:hover > .icon-arrow:before {
    scale: 1.3;
    opacity: 1;
  }
  *:hover > .icon-arrow:after {
    scale: 0;
  }
  *:hover > .icon-arrow i {
    filter: brightness(0) invert(1);
  }
  *:hover > .icon-arrow.icon-arrow--visual:before {
    scale: 1.23;
  }
}
@media (hover: none) {
  *:active > .icon-arrow:before {
    scale: 1.3;
    opacity: 1;
  }
  *:active > .icon-arrow:after {
    scale: 0;
  }
  *:active > .icon-arrow i {
    filter: brightness(0) invert(1);
  }
  *:active > .icon-arrow.icon-arrow--visual:before {
    scale: 1.23;
  }
}
@media (hover: hover) {
  .media-home-carousel__inner:hover .icon-arrow:before {
    scale: 1.3;
    opacity: 1;
  }
  .media-home-carousel__inner:hover .icon-arrow:after {
    scale: 0;
  }
  .media-home-carousel__inner:hover .icon-arrow i {
    filter: brightness(0) invert(1);
  }
}
@media (hover: none) {
  .media-home-carousel__inner:active .icon-arrow:before {
    scale: 1.3;
    opacity: 1;
  }
  .media-home-carousel__inner:active .icon-arrow:after {
    scale: 0;
  }
  .media-home-carousel__inner:active .icon-arrow i {
    filter: brightness(0) invert(1);
  }
}


.emergency {
  width: 100%;
	max-width:1200px;
  /*max-width: 120rem;*/
  margin: 6rem auto 4.5rem;
}
@media screen and (max-width: 768px) {
  .emergency {
    	width: 28.5rem;
	  	margin-top: 15vw;
  }
}
.emergency__inner {
  position: relative;
  display: block;
  padding: 1.8rem 7rem 1.8rem 0;
  border-radius: .4rem;
  background-color: #fff;
  font-size: 15px;
  letter-spacing: .036em;
}
@media screen and (max-width: 768px) {
  .emergency__inner {
    padding: 1.6rem;
  		font-size: 13px!important;
    background-color: #f6f6f6;
  }
  a.emergency__inner {
    padding-bottom: 4.8rem;
  }
}
.emergency__inner + .emergency__inner {
  margin-top: 20px;
}
.emergency__box {
  display: grid;
  grid-template-columns: 15rem 1fr;
  align-items: center;    line-height: 1.8;
}
@media screen and (max-width: 768px) {
  .emergency__box {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}
.emergency__title {
  text-align: center;
}
@media screen and (max-width: 768px) {
  .emergency__title {
    padding-bottom: .9rem;
    border-bottom: 1px solid #0078BE;
    text-align: left;
  }
}
.emergency__title span {
  position: relative;
}
.emergency__title span::after {
  content: "";
  position: absolute;
  bottom: -.4rem;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #0078BE;
}
@media screen and (max-width: 768px) {
  .emergency__title span::after {
    display: none;
  }
}
.emergency__inner .icon-arrow {
  right: 2.6rem;
}
@media screen and (max-width: 768px) {
  .emergency__inner .icon-arrow {
    top: auto;
    right: 1.6rem;
    bottom: 0;
  }
}
.emergency__text {
  transition: color .3s;
}
@media screen and (max-width: 768px) {
  .emergency__text {
  		font-size: 14px;
	    margin-left: 0;
  }
}
a.emergency__inner:hover .emergency__text strong {
  color: #0078BE;
}

@media screen and (max-width: 768px) {
	.emergency {
    	width: 88%;
    	margin-top: 22vw;
  	}
	.aichigifu .emergency { 
		margin-bottom: -40VW;
  	}
	.mietop .emergency{
		margin-top: -35vw;
	}
	.aichigifutop #main {
    	height: 84VH !important;
  	}
}
@media screen and (min-width: 768px) {
	/*.aichigifu .emergency,*/
	.emergency {
      width: 90%;
      max-width: 900px;
      margin: 9rem auto 4.5rem;
    }
	.aichigifutop .emergency,
	.mietop .emergency{
		margin-top: -6rem;
	}
	.aichigifutop .emergency__inner,
	.mietop .emergency__inner{
    	background-color: #f6f6f6;
	}
}