/* Top-page hospital and psychiatric support links. */
.kv .kv__support-links .btn--corona {
  position: static;
  -webkit-transform: none;
     -moz-transform: none;
      -ms-transform: none;
          transform: none;
}
.kv__support-links .btn--corona a {
  display: flex;
  align-items: center;
  justify-content: center;
}
.kv__support-links .btn--edsupport a {
  background-color: #f8d7e3;
  color: #704458;
}
.kv__support-links .btn--edsupport a:hover {
  background-color: #f3bfd2;
  color: #704458;
}
.kv__support-links .btn--psychiatric-support a {
  background-color: #ccebf7;
  color: #305b70;
}
.kv__support-links .btn--psychiatric-support a:hover {
  background-color: #b4dff1;
  color: #305b70;
}
.kv__support-links a:focus-visible {
  outline: 3px solid #305b70;
  outline-offset: 3px;
}

@media screen and (min-width: 641px), print {
  .kv {
    position: relative;
  }
  .kv__support-links {
    position: absolute;
    top: 40px;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 1045px;
    margin: 0 auto;
  }
  .kv__support-links .btn--corona {
    margin-left: auto;
  }
  .kv__support-links .btn--corona a {
    min-height: 67px;
  }
  .kv {
    background: url("../images/index/kv_bg.jpg") center top no-repeat;
    -moz-background-size: cover;
         background-size: cover;
    padding-top: 290px;
    height: 775px;
    -moz-box-sizing: border-box;
         box-sizing: border-box;
  }
  .kv .inner {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
       -moz-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
       -moz-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
       -moz-box-orient: vertical;
       -moz-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .kv__text {
    text-align: center;
  }
  .kv__link {
    margin-top: 185px;
    -ms-flex-negative: 0;
        flex-shrink: 0;
    width: 100%;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
       -moz-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: justify;
       -moz-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }
  .kv__link-item {
    -ms-flex-negative: 0;
        flex-shrink: 0;
    text-align: center;
    width: -webkit-calc((100% - 4px) / 3);
    width: -moz-calc((100% - 4px) / 3);
    width: calc((100% - 4px) / 3);
  }
  .kv__link-item a {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
       -moz-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
       -moz-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
       -moz-box-orient: vertical;
       -moz-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    line-height: 1;
    position: relative;
    width: 100%;
    height: 110px;
  }
  .kv__link-item a:before, .kv__link-item a:after {
    content: '';
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
       -moz-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
    -ms-flex-negative: 0;
        flex-shrink: 0;
    -moz-box-sizing: border-box;
         box-sizing: border-box;
    -webkit-transition: 0.3s linear;
    -moz-transition: 0.3s linear;
    transition: 0.3s linear;
  }
  .kv__link-item a:before {
    background: rgba(255, 255, 255, 0.9);
    background: -webkit-linear-gradient(315deg, transparent 15px, rgba(255, 255, 255, 0.9) 0);
    background: -moz- oldlinear-gradient(315deg, transparent 15px, rgba(255, 255, 255, 0.9) 0);
    background: linear-gradient(135deg, transparent 15px, rgba(255, 255, 255, 0.9) 0);
    background-position: top left;
    background-repeat: no-repeat;
  }
  .kv__link-item a:after {
    background: rgba(229, 115, 115, 0.9);
    background: -webkit-linear-gradient(315deg, transparent 15px, rgba(229, 115, 115, 0.9) 0);
    background: -moz- oldlinear-gradient(315deg, transparent 15px, rgba(229, 115, 115, 0.9) 0);
    background: linear-gradient(135deg, transparent 15px, rgba(229, 115, 115, 0.9) 0);
    background-position: top left;
    background-repeat: no-repeat;
    opacity: 0;
  }
  .kv__link-item a:hover:before {
    opacity: 0;
  }
  .kv__link-item a:hover:after {
    opacity: 1;
  }
  .kv__link-main {
    font-size: 2.2rem;
  }
  .kv__link-sub {
    font-size: 1.1rem;
    margin-top: 10px;
  }
  .kv .btn--corona {
    width: 346px;
    position: absolute;
    right: 0;
    top: -395px;
  }
  .news {
    padding-top: 35px;
  }
  .news__title {
    position: relative;
    padding-left: 26px;
    color: #e57373;
    font-size: 2rem;
    line-height: 1;
    margin-bottom: 8px;
  }
  .news__title:before {
    content: '';
    display: block;
    width: 9px;
    height: 2px;
    background-color: #a0a0a0;
    position: absolute;
    left: 0;
    top: 50%;
    -webkit-transform: translateY(-50%);
       -moz-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
            transform: translateY(-50%);
  }
  .news-list__item {
    padding: 8px 0;
    line-height: 1.5;
    word-break: break-all;
    position: relative;
  }
  .news-list__item:nth-of-type(n + 2) {
    margin-top: 4px;
  }
  .news-list__item:nth-of-type(n + 2):before {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background: url("../images/utils/dotted_pink.png") left center repeat-x;
    position: absolute;
    left: 0;
    top: -3px;
  }
  .news-list__item a {
    -webkit-transition: 0.3s linear;
    -moz-transition: 0.3s linear;
    transition: 0.3s linear;
  }
  .news-list__item a:hover {
    color: #e57373;
  }
  .news-list__item a:hover img {
    opacity: .6;
  }
  .news-list__inner {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
  }
  .news-list__date {
    padding-left: 27px;
    width: 130px;
    -ms-flex-negative: 0;
        flex-shrink: 0;
  }
  .news-list__img {
    margin: 8px 0;
  }
  .news-list__img img {
    -webkit-transition: 0.3s linear;
    -moz-transition: 0.3s linear;
    transition: 0.3s linear;
  }
  .pager {
    margin-top: 25px;
    font-size: 1.4rem;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
       -moz-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  .pager li a {
    display: block;
    -webkit-transition: 0.3s linear;
    -moz-transition: 0.3s linear;
    transition: 0.3s linear;
  }
  .pager li a:hover {
    opacity: .6;
  }
  .pager__item {
    height: 20px;
    line-height: 20px;
    color: #fff;
  }
  .pager__item:nth-of-type(n + 2) {
    margin-left: 6px;
  }
  .pager__item a {
    background-color: #e57373;
    width: 20px;
    height: 100%;
    text-align: center;
  }
  .pager__prev, .pager__next {
    color: #e57373;
  }
  .pager__prev {
    margin-right: 14px;
  }
  .pager__next {
    margin-left: 14px;
  }
}

@media screen and (max-width: 640px) {
  .kv__support-links {
    width: 69.375vw;
    margin: 0 auto 3.90625vw;
  }
  .kv__support-links .btn--corona a {
    min-height: 48px;
  }
  .kv__support-links .btn--corona__ja small {
    margin-right: 0;
    font-size: max(12px, 2.65625vw);
  }
  .kv {
    background: url("../images/index/kv_bg_sp.jpg") center top no-repeat;
    -moz-background-size: cover;
         background-size: cover;
    padding-top: 6.5625vw;
    padding-bottom: 12.8125vw;
    -moz-box-sizing: border-box;
         box-sizing: border-box;
  }
  .kv__text {
    width: 76.875vw;
    margin-left: 5vw;
  }
  .kv__link {
    margin: 13.125vw auto 0;
    width: 69.375vw;
  }
  .kv__link-item {
    -ms-flex-negative: 0;
        flex-shrink: 0;
    text-align: center;
    width: 100%;
    height: 21.875vw;
  }
  .kv__link-item:nth-of-type(n + 2) {
    margin-top: 3.125vw;
  }
  .kv__link-item a {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
       -moz-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
       -moz-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
       -moz-box-orient: vertical;
       -moz-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    line-height: 1;
    position: relative;
    width: 100%;
    height: 100%;
  }
  .kv__link-item a:before, .kv__link-item a:after {
    content: '';
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
       -moz-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
    -ms-flex-negative: 0;
        flex-shrink: 0;
    -moz-box-sizing: border-box;
         box-sizing: border-box;
    -webkit-transition: 0.3s linear;
    -moz-transition: 0.3s linear;
    transition: 0.3s linear;
  }
  .kv__link-item a:before {
    background: rgba(255, 255, 255, 0.9);
    background: -webkit-linear-gradient(315deg, transparent 1.875vw, rgba(255, 255, 255, 0.9) 0);
    background: -moz- oldlinear-gradient(315deg, transparent 1.875vw, rgba(255, 255, 255, 0.9) 0);
    background: linear-gradient(135deg, transparent 1.875vw, rgba(255, 255, 255, 0.9) 0);
    background-position: top left;
    background-repeat: no-repeat;
  }
  .kv__link-item a:after {
    background: rgba(229, 115, 115, 0.9);
    background: -webkit-linear-gradient(315deg, transparent 1.875vw, rgba(229, 115, 115, 0.9) 0);
    background: -moz- oldlinear-gradient(315deg, transparent 1.875vw, rgba(229, 115, 115, 0.9) 0);
    background: linear-gradient(135deg, transparent 1.875vw, rgba(229, 115, 115, 0.9) 0);
    background-position: top left;
    background-repeat: no-repeat;
    opacity: 0;
  }
  .kv__link-item a:hover:before {
    opacity: 0;
  }
  .kv__link-item a:hover:after {
    opacity: 1;
  }
  .kv__link-main {
    font-size: 4.375vw;
  }
  .kv__link-sub {
    font-size: 2.1875vw;
    margin-top: 2.1875vw;
  }
  .kv .btn--corona {
    width: 69.375vw;
    position: absolute;
    left: 50%;
    -webkit-transform: translateX(-50%);
       -moz-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
            transform: translateX(-50%);
    top: -100.78125vw;
  }
  .news {
    padding-top: 6.25vw;
  }
  .news__title {
    padding-left: 3.4375vw;
    color: #e57373;
    font-size: 5vw;
    line-height: 1;
    margin-bottom: 8px;
  }
  .news-list__item {
    padding: 2.5vw 0;
    word-break: break-all;
    position: relative;
  }
  .news-list__item:nth-of-type(n + 2) {
    margin-top: 2px;
  }
  .news-list__item:nth-of-type(n + 2):before {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background: url("../images/utils/dotted_pink.png") left center repeat-x;
    -moz-background-size: auto 1px;
         background-size: auto 1px;
    position: absolute;
    left: 0;
    top: -2px;
  }
  .news-list__item a {
    display: block;
  }
  .news-list__inner {
    padding: 0 3.4375vw;
  }
  .news-list__img {
    margin: 3.125vw 0;
  }
  .news-list__img img {
    width: 100%;
  }
  .pager {
    margin-top: 4.6875vw;
    font-size: 3.28125vw;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
       -moz-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
       -moz-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  .pager li a {
    display: block;
  }
  .pager__item {
    height: 5vw;
    line-height: 5vw;
    color: #fff;
  }
  .pager__item:nth-of-type(n + 2) {
    margin-left: 1.5625vw;
  }
  .pager__item a {
    background-color: #e57373;
    width: 5vw;
    height: 100%;
    text-align: center;
  }
  .pager__prev, .pager__next {
    color: #e57373;
  }
  .pager__prev {
    margin-right: 3.4375vw;
  }
  .pager__next {
    margin-left: 3.4375vw;
  }
}
