@media screen and (min-width: 768px) {
  .top .btn--secondary {
    border-color: #0064B2;
    background-color: #0064B2;
    height: 64px;
  }
  .top .kv {
    width: 100%;
    background-color: #C0E0ED;
  }
  .top .kv img {
    width: 100%;
  }
  .top .kv__contents {
    background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.3));
  }
  .top .kv__lead {
    text-align: center;
  }
  .top .kv__lead > img {
    margin-inline: auto;
    width: 510px;
    height: auto;
  }
  .top .message {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -30px;
    margin-inline: auto;
    width: 90%;
    max-width: 920px;
  }
  .top .message__balloon {
    position: relative;
    padding: 30px;
    border-radius: 18px;
    background-color: #fff;
  }
  .top .message__balloon::before {
    content: "";
    position: absolute;
    top: 23px;
    right: -31px;
    width: 60px;
    height: 50px;
    background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDEiIGhlaWdodD0iMzkiIHZpZXdCb3g9IjAgMCA0MSAzOSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4gPHBhdGggZD0iTTM4LjEwOTkgMTUuNzIxNkM0MS4xNjE5IDE3LjE2NiA0MS4xNjE5IDIxLjUwODUgMzguMTA5OSAyMi45NTI4TDUuNzExMDMgMzguMjg1MkMzLjA1NzM2IDM5LjU0MSAxLjkyMzM4ZS0wNiAzNy42MDU0IDIuMDUxNzFlLTA2IDM0LjY2OTZMMy4zOTIxMWUtMDYgNC4wMDQ4M0MzLjUyMDQ0ZS0wNiAxLjA2OTAxIDMuMDU3MzYgLTAuODY2NTYgNS43MTEwMyAwLjM4OTI1OEwzOC4xMDk5IDE1LjcyMTZaIiBmaWxsPSJ3aGl0ZSIvPiA8L3N2Zz4=");
    background-size: contain;
    background-repeat: no-repeat;
  }
  .top .message__text {
    font-weight: 700;
    font-size: 1.125rem;
    line-height: 1.8;
    letter-spacing: 0.06em;
  }
  .top .message__imgbox {
    flex-shrink: 0;
    width: 294px;
  }
  .top .message__imgbox img {
    width: 100%;
    height: auto;
  }
  .top .contents {
    background-color: #CADFE9;
  }
  .top .content__inner {
    max-width: 920px;
  }
  .top .lead {
    position: relative;
  }
  .top .lead::before {
    content: "";
    position: absolute;
    left: -99px;
    bottom: 20px;
    width: 278px;
    height: 277px;
    background-image: url(../../images/top/img_about_01.png);
    background-size: contain;
    background-repeat: no-repeat;
  }
  .top .lead::after {
    content: "";
    position: absolute;
    right: -68px;
    bottom: 15px;
    width: 236px;
    height: 258px;
    background-image: url(../../images/top/img_about_02.png);
    background-size: contain;
    background-repeat: no-repeat;
  }
  .top .lead__text {
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.8;
  }
  .top .lead__text .red {
    font-size: 1.5rem;
    color: #D01A1A;
  }
  .top .lead .btnbox {
    margin-top: 32px;
    width: 406px;
  }
  .top .lead .btn__text {
    font-size: 1rem;
  }
  .top .about {
    padding-block: 70px;
  }
  .top .about .cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 78px;
  }
  .top .about .card {
    grid-template-rows: 1fr;
  }
  .top .about .card__contents {
    padding: 24px;
  }
  .top .about .card__textbox {
    margin-top: 16px;
  }
  .top .about .card__ttl {
    font-weight: 600;
    font-size: 1.375rem;
    line-height: 1.4;
    letter-spacing: 0.04em;
    color: #0064B2;
  }
  .top .about .card__text {
    margin-top: 8px;
    font-size: 1rem;
    letter-spacing: 0.03em;
  }
  .top .about .card__text .red {
    font-weight: 700;
    font-size: 1.25rem;
    color: #D01A1A;
  }
  .top .about .card .btnbox {
    margin-top: 25px;
    width: 100%;
  }
  .top .details {
    display: flex;
    gap: 32px;
    margin-top: 60px;
    padding-top: 60px;
    padding-inline: 22px;
    border-top: 1px solid rgba(0, 100, 178, 0.2);
  }
  .top .detail {
    display: grid;
    row-gap: 24px;
    position: relative;
    width: 50%;
    text-align: center;
  }
  .top .detail__imgbox {
    margin-inline: auto;
    width: 61px;
  }
  .top .detail__imgbox img {
    width: 100%;
    height: auto;
  }
  .top .detail__ttl {
    font-weight: 700;
    font-size: 1.375rem;
    line-height: 1.4;
    letter-spacing: 0.06em;
    color: #0064B2;
  }
  .top .detail__text {
    font-size: 1rem;
    line-height: 1.6;
    letter-spacing: 0.03em;
  }
  .top .detail .btnbox {
    width: 100%;
  }
  .top .detail .btn__text {
    font-size: 1rem;
  }
  .top .detail:not(:last-of-type)::after {
    content: "";
    position: absolute;
    top: 0;
    right: -16px;
    height: 100%;
    border-right: 1px dashed rgba(0, 100, 178, 0.2);
  }
  .top .contact {
    padding-block: 48px 80px;
    background-color: rgba(255, 255, 255, 0.5);
    text-align: center;
  }
  .top .contact__icon {
    margin-inline: auto;
    width: 61px;
  }
  .top .contact__icon img {
    width: 100%;
    height: auto;
  }
  .top .contact__link {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    column-gap: 12px;
    margin-top: 31px;
    padding-bottom: 22px;
    border-bottom: 1px solid #0064B2;
    font-weight: 500;
    font-size: 1.375rem;
    line-height: 1;
    letter-spacing: 0.06em;
    color: #0064B2;
    transition: opacity 0.3s;
  }
  .top .contact__link:hover {
    opacity: 0.7;
  }
  .top .contact__link-icon {
    position: relative;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #FFF622;
  }
  .top .contact__link-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 57%;
    translate: -50% -50%;
    width: 7px;
    height: 9px;
    background-color: #0064B2;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
  }
}
@media screen and (max-width: 767px) {
  .top .btn--secondary {
    border-color: #0064B2;
    background-color: #0064B2;
    height: 64px;
  }
  .top .kv {
    width: 100%;
    background-color: #C0E0ED;
  }
  .top .kv img {
    width: 100%;
  }
  .top .kv__contents {
    background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.3));
  }
  .top .kv__lead {
    padding-inline: 20px;
    text-align: center;
  }
  .top .kv__lead > img {
    margin-inline: auto;
    width: 100%;
    height: auto;
  }
  .top .message {
    display: grid;
    justify-items: center;
    margin-top: 30px;
    padding-inline: 20px;
  }
  .top .message__balloon {
    position: relative;
    margin-bottom: -30px;
    padding: 30px 24px;
    border-radius: 18px;
    width: 100%;
    background-color: #fff;
  }
  .top .message__balloon::before {
    content: "";
    position: absolute;
    bottom: -33px;
    left: calc(50% - 80px);
    translate: -50% 0;
    rotate: 90deg;
    width: 61px;
    height: 50px;
    background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDEiIGhlaWdodD0iMzkiIHZpZXdCb3g9IjAgMCA0MSAzOSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4gPHBhdGggZD0iTTM4LjEwOTkgMTUuNzIxNkM0MS4xNjE5IDE3LjE2NiA0MS4xNjE5IDIxLjUwODUgMzguMTA5OSAyMi45NTI4TDUuNzExMDMgMzguMjg1MkMzLjA1NzM2IDM5LjU0MSAxLjkyMzM4ZS0wNiAzNy42MDU0IDIuMDUxNzFlLTA2IDM0LjY2OTZMMy4zOTIxMWUtMDYgNC4wMDQ4M0MzLjUyMDQ0ZS0wNiAxLjA2OTAxIDMuMDU3MzYgLTAuODY2NTYgNS43MTEwMyAwLjM4OTI1OEwzOC4xMDk5IDE1LjcyMTZaIiBmaWxsPSJ3aGl0ZSIvPiA8L3N2Zz4=");
    background-size: contain;
    background-repeat: no-repeat;
  }
  .top .message__text {
    font-weight: 700;
    font-size: 1.125rem;
    line-height: 1.8;
    letter-spacing: 0.05em;
  }
  .top .message__imgbox {
    position: relative;
    width: 294px;
  }
  .top .message__imgbox img {
    width: 100%;
    height: auto;
  }
  .top .contents {
    padding-top: 0;
    background-color: #CADFE9;
  }
  .top .lead__text {
    margin-top: 32px;
    font-weight: 700;
    font-size: 1.125rem;
    line-height: 1.8;
    letter-spacing: 0.1em;
  }
  .top .lead__text::before {
    content: "";
    display: block;
    margin-bottom: 32px;
    border-radius: 12px;
    width: 100%;
    aspect-ratio: 854/480;
    background-image: url(../../images/top/img_about_sp.png);
    background-size: cover;
    background-repeat: no-repeat;
  }
  .top .lead__text .red {
    font-size: 1.5rem;
    color: #D01A1A;
  }
  .top .lead .btnbox {
    margin-top: 32px;
    width: 100%;
  }
  .top .about {
    padding-block: 40px;
  }
  .top .about .cards {
    gap: 20px;
    margin-top: 38px;
  }
  .top .about .card {
    border-radius: 26px;
  }
  .top .about .card__contents {
    padding: 20px;
  }
  .top .about .card__textbox {
    margin-top: 16px;
  }
  .top .about .card__ttl {
    font-weight: 600;
    font-size: 1.375rem;
    line-height: 1.4;
    letter-spacing: 0.04em;
    color: #0064B2;
  }
  .top .about .card__text {
    margin-top: 8px;
    font-size: 1rem;
    letter-spacing: 0.03em;
  }
  .top .about .card__text .red {
    font-weight: 700;
    font-size: 1.25rem;
    color: #D01A1A;
  }
  .top .about .card .btnbox {
    margin-top: 20px;
    width: 100%;
  }
  .top .details {
    display: grid;
    row-gap: 40px;
    margin-top: 50px;
    padding-top: 50px;
    border-top: 1px solid rgba(0, 100, 178, 0.2);
  }
  .top .detail {
    display: grid;
    row-gap: 24px;
    text-align: center;
  }
  .top .detail__imgbox {
    margin-inline: auto;
    width: 61px;
  }
  .top .detail__imgbox img {
    width: 100%;
    height: auto;
  }
  .top .detail__ttl {
    font-weight: 700;
    font-size: 1.375rem;
    line-height: 1.4;
    letter-spacing: 0.06em;
    color: #0064B2;
  }
  .top .detail__text {
    font-size: 1rem;
    line-height: 1.6;
    letter-spacing: 0.03em;
  }
  .top .detail:not(:last-of-type)::after {
    content: "";
    margin-top: 16px;
    margin-inline: auto;
    width: calc(100% - 30px);
    border-top: 1px dashed rgba(0, 100, 178, 0.2);
  }
  .top .detail .btnbox {
    width: 100%;
  }
  .top .btn {
    column-gap: 6px;
    padding: 8px 26px 10px;
    height: 64px;
  }
  .top .btn__text {
    font-size: 1rem;
  }
  .top .btn__icon {
    width: 23px;
    height: 23px;
  }
  .top .contact {
    padding-block: 48px 80px;
    background-color: rgba(255, 255, 255, 0.5);
    text-align: center;
  }
  .top .contact__icon {
    margin-inline: auto;
    width: 61px;
  }
  .top .contact__icon img {
    width: 100%;
    height: auto;
  }
  .top .contact__link {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    column-gap: 12px;
    margin-top: 31px;
    padding-bottom: 22px;
    border-bottom: 1px solid #0064B2;
    font-weight: 500;
    font-size: 1.375rem;
    line-height: 1;
    letter-spacing: 0.06em;
    color: #0064B2;
  }
  .top .contact__link-icon {
    position: relative;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #FFF622;
  }
  .top .contact__link-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 57%;
    translate: -50% -50%;
    width: 7px;
    height: 9px;
    background-color: #0064B2;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
  }
}/*# sourceMappingURL=style.css.map */