@charset "utf-8";

/* ----------------------------------------
* 横幅
---------------------------------------- */

@media screen and (max-width: 896px) {
  .container {
    max-width: 72%;
  }
  #area-fv .container {
    max-width: 90%;
  }
  #area-1st .container {
    max-width: 72%;
  }
  #area-2nd .container {
    max-width: 72%;
  }
  #area-3rd-swiper .container {
    max-width: 72%;
  }
  #area-3rd-important .container {
    max-width: 72%;
  }
  #area-3rd-swiper .text li span {
    margin: 10px 0 0;
  }
}

@media screen and (max-width: 768px) {
  .container {
    max-width: 72%;
  }

  #area-1st .container {
    max-width: 72%;
  }
  #area-2nd .container {
    max-width: 72%;
  }
  #area-3rd-swiper .container {
    max-width: 72%;
  }
}
@media screen and (max-width: 640px) {
  .container {
    max-width: 82%;
  }
  #area-fv .container {
    max-width: 90%;
  }
  #area-1st .container {
    max-width: 82%;
  }
  #area-2nd .container {
    max-width: 82%;
  }
  #area-3rd-swiper .container {
    max-width: 82%;
  }
}
@media screen and (max-width: 400px) {
  .container {
    max-width: 88%;
  }
  #area-fv .container {
    max-width: 90%;
  }
  #area-1st .container {
    max-width: 88%;
  }
  #area-2nd .container {
    max-width: 88%;
  }
  #area-3rd-swiper .container {
    max-width: 88%;
  }
}

/* レイアウト
/************************************************************/

@media screen and (max-width: 896px) {
  header {
    min-width: 360px;
  }
  footer {
    min-width: 360px;
  }
  .action {
    min-width: 360px;
  }
  #area-fv {
    min-width: 360px;
  }
  #subsidy {
    min-width: 360px;
  }
  #area-1st {
    min-width: 360px;
  }
  #area-2nd {
    min-width: 360px;
  }
  #area-3rd {
    min-width: 360px;
  }
  #area-3rd-swiper {
    min-width: 360px;
  }
  #area-3rd-merit {
    min-width: 360px;
  }
  #area-3rd-important {
    min-width: 360px;
    padding: 40px 0;
  }
  #area-4th {
    min-width: 360px;
  }
  #area-5th {
    min-width: 360px;
  }
  #area-6th {
    min-width: 360px;
  }
  .action,
  .action-2 {
    min-width: 360px;
  }
  .action-2 .cta {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 17px;
  }
}

/* ベース
/************************************************************/

@media screen and (max-width: 640px) {
  p {
    line-height: 175%;
  }
}

/* 共通要素
/************************************************************/

@media screen and (max-width: 896px) {
  .hide-sp {
    display: none;
  }
  .hide-pc {
    display: block;
  }
}

@media screen and (max-width: 640px) {
  .heading {
    font-size: 25px;
    margin-bottom: 26px;
  }
  .heading span {
    font-size: 15px;
    margin-bottom: -4px;
  }
}

/* ヘッダー
/************************************************************/

@media screen and (max-width: 896px) {
  header .text,
  header .tel {
    display: none;
  }
}
@media screen and (max-width: 640px) {
  header {
    height: 64px;
  }
  header .logo {
    top: 14px;
    left: 14px;
  }
  header .logo img {
    width: 81px;
  }
  header .text {
    top: 14px;
    right: 16px;
    font-size: 15px;
    line-height: 36px;
  }
  header .tel {
    display: none;
  }
}
@media screen and (max-width: 460px) {
  header .download {
    top: 15px;
    right: 134px;
  }
  header .download a {
    font-size: 14px;
    width: 120px;
    line-height: 20px;
    padding: 6px;
  }
  header .contact {
    top: 16px;
    right: 12px;
  }
  header .contact a {
    font-size: 14px;
    width: 102px;
    line-height: 20px;
    padding: 5px;
  }
}

/* フッター
/************************************************************/
@media screen and (max-width: 640px) {
  footer {
    padding: 32px 0px 32px;
    font-size: 15px;
  }
}

/* FVエリア
/************************************************************/

@media screen and (max-width: 896px) {
  #area-fv {
    height: auto;
    background-size: 350%;
  }
  #area-fv .container {
    padding: 0;
  }
  #area-fv .copy {
    position: static;
    padding: 64px 0;
    width: 100%;
  }
  #area-fv .copy h1 .small {
    font-size: 5.8vw;
  }
  #area-fv .copy h1 {
    font-size: 7.9vw;
  }

  #area-fv .copy h1 strong {
    font-size: 8.8vw;
  }
  #area-fv .copy h1 strong i {
    font-size: 10vw;
    bottom: -2px;
  }

  #area-fv .copy ul {
    margin-bottom: 48px;
    padding: 0 96px;
  }
  #area-fv .copy li {
    font-size: 18px;
    width: 100%;
    margin: 16px 0 0;
  }
  #area-fv .copy dt {
    display: block;
    margin-right: 0px;
    margin-bottom: 8px;
  }

  #area-fv .copy .btn.contact {
    margin-right: 0;
    margin-bottom: 24px;
  }

  #subsidy section {
    padding: 28px 0;
    width: 440px;
  }
  #subsidy section h2 {
    margin-bottom: 0px;
  }
  /* .slide-in-left__sinki {
    position: absolute;
    top: -64px;
    right: -30px;
    width: 90px;
    height: 90px;
  } */
}

@media screen and (max-width: 640px) {
  #area-fv {
    height: auto;
    background-size: 420%;
  }
  #area-fv .copy {
    padding: 40px 0 48px;
  }
  #area-fv .copy h1 {
    font-size: 9.8vw;
  }
  #area-fv .copy h1 strong {
    font-size: 9.8vw;
  }
  #area-fv .copy h1 strong i {
    font-size: 10.8vw;
    bottom: -2px;
  }
  #area-fv .copy ul {
    margin-bottom: 32px;
    padding: 0 48px;
  }
  #area-fv .copy li {
    font-size: 16px;
    margin: 8px 0 0;
    line-height: 40px;
  }
  #area-fv .img-pc-sp {
    margin-bottom: 24px;
  }
  #area-fv .copy dl {
    margin-bottom: 32px;
  }
  #area-fv .copy dt {
    font-size: 24px;
  }
  #area-fv .copy .btn.contact {
    margin-bottom: 16px;
  }
  #area-fv .copy .btn.contact a {
    font-size: 16px;
  }
  #area-fv .copy .btn.download a {
    font-size: 16px;
  }
  #area-fv .contact {
    margin-bottom: 50px;
  }

  #subsidy .container {
    padding: 24px 0;
  }
  #subsidy section {
    padding: 28px 0;
    width: 280px;
  }
  #subsidy section::before {
    width: 48px;
    height: 105px;
  }
  #subsidy section::after {
    width: 48px;
    height: 105px;
  }
  #subsidy section h2 {
    font-size: 20px;
  }
  /* .slide-in-left__sinki {
    top: -45px;
    right: -45px;
    width: 60px;
    height: 60px;
    font-size: 14px;
  } */
}
/* 0エリア
/************************************************************/

@media screen and (max-width: 896px) {
  #area-0.container {
    max-width: 94%;
  }
  #area-0 section {
    width: 100%;
    padding: 0;
  }
}

@media screen and (max-width: 690px) {
  #area-0 section span {
    display: block;
  }
}
@media screen and (max-width: 500px) {
  #area-0 section h2 {
    font-size: 26px;
  }
  #area-0 section p {
    font-size: 16px;
  }
}
@media screen and (max-width: 375px) {
  #area-0 section h2 {
    font-size: 22px;
  }
  #area-0 section p {
    font-size: 14px;
  }
}

/* 1stエリア
/************************************************************/

@media screen and (max-width: 896px) {
  #area-1st section {
    padding: 40px;
  }
  #area-1st section:nth-child(1) .text {
    width: 100%;
  }
  #area-1st section:nth-child(2) .text {
    width: 100%;
  }
  #area-1st section .text h2 {
    font-size: 32px;
    margin-bottom: 32px;
  }
  #area-1st .area-1st--content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: column-reverse;
  }
  .circle {
    display: none;
  }
  img.assist-pc {
    max-width: 70%;
    margin-bottom: 16px;
  }
  #area-1st h2 {
    font-size: 4.5vw;
  }
}

@media screen and (max-width: 640px) {
  #area-1st h2 {
    font-size: 22px;
    margin-bottom: 26px;
  }
  #area-1st .container {
    padding: 40px 0;
  }
  #area-1st section {
    padding: 24px;
    margin-bottom: 24px;
  }
  #area-1st section .text h2 {
    font-size: 24px;
    margin-bottom: 24px;
  }
  #area-1st section .text p {
    font-size: 15px;
  }
  #area-1st section:nth-child(1) .img-sp img {
    width: 200px;
  }
  #area-1st section:nth-child(2) .img-sp img {
    width: 280px;
  }
}

/* 2ndエリア
/************************************************************/

@media screen and (max-width: 896px) {
  #area-2nd h2 {
    font-size: 4.5vw;
  }
  #area-2nd li {
    width: auto;
    margin: 0px 0px 32px 0px;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
  }
  #area-2nd ul img {
    max-width: 70%;
  }

  #area-2nd li h3 {
    font-size: 24px;
  }
  #area-2nd .attention p {
    font-size: 6vw;
  }
  #area-2nd .attention p span {
    margin: 8px 0px 12px;
    padding: 12px 16px;
    bottom: 0px;
  }
  #area-2nd .attention p span img {
    width: 280px;
  }
}

@media screen and (max-width: 640px) {
  #area-2nd .container {
    padding: 40px 0 32px;
  }
  #area-2nd h2 {
    font-size: 22px;
    margin-bottom: 26px;
  }

  #area-2nd li {
    margin: 0px 0px 24px 0px;
  }
  #area-2nd li h3 {
    font-size: 18px;
  }
  #area-2nd .attention {
    margin-top: 24px;
  }
  #area-2nd .attention p {
    font-size: 28px;
  }
  #area-2nd .attention p span {
    padding: 8px 12px;
  }
  #area-2nd .attention p span img {
    width: 200px;
  }
  #area-2nd .attention::after {
    width: 64px;
    height: 32px;
    margin: 24px auto 0;
  }
}

/* アクションエリア
/************************************************************/

@media screen and (max-width: 896px) {
  .action section {
    padding: 40px;
  }
  .action h2 {
    font-size: 3.5vh;
    margin-bottom: 2vh;
  }

  .action section .btn {
    width: 100%;
  }
  .action section .btn.contact {
    margin-right: 0;
    margin-bottom: 24px;
  }
  .action section .shinki {
    display: none;
  }
  .action section .shinki-sp {
    display: block;
  }
  .action section .it_text {
    color: #d14646;
    border: none;
  }
  .action-inner {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2%;
    position: relative;
  }
  .action--wrap,
  .action-2 .action--wrap {
    width: 90%;
  }

  .medal-flex.hide-pc {
    margin: 10px 0 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .medal-flex img {
    width: 160px;
  }

  .medal-flex.hide-pc p {
    width: 100%;
    text-align: center;
  }
  .action-2 p {
    font-size: 1rem;
  }
  .download-monitor {
    position: absolute;
    top: -1.5rem;
    display: block;
    background-color: #fff;
    color: #0070c1;
    line-height: 33px;
    padding: 0 6px;
    border-radius: 45px;
    font-size: 0.8rem;
    font-weight: 600;
    left: 30%;
    transform: translateX(-22%);
  }
  .cta .btn {
    width: 300px;
  }
  .download-muryou {
    width: 3rem;
    font-size: 1rem;
    left: 1.2rem;
  }
  .btn.download a::after {
    background-size: unset;
    width: 18px;
    height: 18px;
    display: inline-block;
    top: 28px;
    right: 1rem;
  }
  .action-2 h2 {
    font-size: 4.5vw;
  }
}

@media screen and (max-width: 640px) {
  .action .container {
    padding: 40px 0 48px;
  }

  .action h2 span {
    border-bottom: 3px solid #fff;
  }
  .action section {
    padding: 24px;
  }
  .action section .btn.contact {
    margin-bottom: 16px;
  }
  .action section .btn.contact a {
    font-size: 16px;
    line-height: 64px;
    border-radius: 12px;
  }
  .action section .btn.download a {
    font-size: 16px;
    line-height: 56px;
    border-radius: 12px;
  }
  .action section .shinki-sp {
    font-size: 16px;
    padding: 8px;
    margin-top: 32px;
  }
  .action section .subsidy {
    font-size: 16px;
    padding: 8px;
    margin-bottom: 8px;
  }
  .action-2 h2 {
    font-size: 22px;
    margin-bottom: 26px;
  }
}

/* 3rdエリア
/************************************************************/

@media screen and (max-width: 896px) {
  #area-3rd h2 {
    font-size: 4.5vw;
    margin-bottom: 80px;
  }
  #area-3rd section {
    padding: 56px 40px 40px;
  }
  #area-3rd section .nth {
    left: 50%;
    transform: translateX(-50%);
  }
  #area-3rd section h3 {
    font-size: 28px;
    margin-bottom: 24px;
  }
  #area-3rd section p {
    text-align: left;
  }
  #area-3rd section .img li {
    width: 100%;
    margin-right: 0;
  }
  #area-3rd section .img li:last-child {
    margin-top: 32px;
  }
  #area-3rd-swiper .container {
    padding: 96px 0 96px;
  }
  #area-3rd-swiper .box .img img {
    width: 90px;
  }
  #area-3rd-swiper .box h3 {
    font-size: 28px;
    display: block;
    height: auto;
  }
  #area-3rd-swiper .box p {
    font-size: 17px;
  }
  #area-3rd-swiper h2 {
    font-size: 4.5vw;
  }
  .important--flex {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 38px;
  }
  #area-3rd-important .important--wrap {
    width: 100%;
  }
  #area-3rd-important .nth {
    left: 50%;
    transform: translateX(-50%);
  }
  #area-3rd-important .nth {
    font-size: 16px;
    line-height: 36px;
    top: -18px;
  }
  #area-3rd-important .hand {
    margin: 1.5rem 0;
  }
  #area-3rd-important img {
    margin: 1rem 0;
  }
  #area-3rd-important h2 {
    font-size: 4.5vw;
  }
  /* swiperカスタマイズ
  .swiper {
    padding-bottom: 0px;
  }
  .swiper-wrapper {
    flex-direction: column;
    row-gap: 40px;
  } */
  .swiper-button-prev,
  .swiper-button-next {
    display: none;
  }

  #area-3rd-merit ul {
    padding: 0;
  }

  #area-3rd-merit li {
    line-height: 150%;
    padding: 24px 24px;
    margin-bottom: 24px;
    border-radius: 12px;
    text-align: center;
  }

  #area-3rd-merit li::before {
    display: none;
  }
}

@media screen and (max-width: 640px) {
  #area-3rd .container {
    padding: 40px 0 48px;
  }
  #area-3rd h2 {
    font-size: 25px;
    margin-bottom: 46px;
  }
  #area-3rd h2 span {
    margin-bottom: -6px;
  }
  #area-3rd section {
    padding: 48px 24px 24px;
    margin-bottom: 52px;
  }
  #area-3rd section .nth {
    font-size: 16px;
    line-height: 36px;
    top: -18px;
  }
  #area-3rd section .nth i {
    font-size: 20px;
  }
  #area-3rd section h3 {
    font-size: 22px;
    margin-bottom: 16px;
  }
  #area-3rd section p {
    font-size: 15px;
  }
  #area-3rd section .img {
    margin-top: 32px;
  }
  #area-3rd section .img li:last-child {
    margin-top: 24px;
  }
  #area-3rd section .img li a::before {
    width: 32px;
    height: 32px;
    bottom: -8px;
    right: -8px;
    border-radius: 16px;
  }

  #area-3rd-swiper .container {
    padding: 48px 0 48px;
  }
  #area-3rd-swiper .box {
    padding: 24px 24px 38px;
    height: 410px;
  }
  #area-3rd-swiper .box .nth {
    font-size: 16px;
    line-height: 36px;
    top: -18px;
  }
  #area-3rd-swiper .box .nth i {
    font-size: 20px;
  }
  #area-3rd-swiper .box .img img {
    width: 78px;
  }
  #area-3rd-swiper .text .name {
    margin-bottom: 0;
  }
  #area-3rd-swiper .box h3 {
    font-size: 22px;
    margin-bottom: 16px;
  }
  #area-3rd-swiper .box p {
    font-size: 15px;
  }
  #area-3rd-important h2 {
    font-size: 25px;
    margin-bottom: 26px;
  }
  /* swiperカスタマイズ */
  .swiper-wrapper {
    row-gap: 32px;
  }

  #area-3rd-swiper::after {
    width: 64px;
    height: 32px;
    bottom: -32px;
  }
  #area-3rd-swiper h2 {
    font-size: 25px;
    margin-bottom: 10px;
  }
  #area-3rd-merit .container {
    padding: 64px 0 48px;
  }

  #area-3rd-merit h2 {
    font-size: 28px;
    margin-bottom: 24px;
  }
  #area-3rd-merit li {
    font-size: 18px;
    padding: 16px;
    margin-bottom: 16px;
  }
  .important--flex {
    margin-top: 2.5rem;
  }
}

/* 4thエリア
/************************************************************/

@media screen and (max-width: 896px) {
  #area-4th section {
    display: block;
    padding: 40px;
  }
  #area-4th section .img {
    display: block;
    width: auto;
    padding-right: 0;
    margin-bottom: 40px;
  }
  #area-4th section .img img {
    width: 240px;
  }
  #area-4th section .text {
    display: block;
    width: auto;
    padding-right: 0;
  }
  #area-4th section .text h3 {
    text-align: center;
  }
  #area-4th section .text .name {
    text-align: center;
  }
}

@media screen and (max-width: 640px) {
  #area-4th .container {
    padding: 40px 0 48px;
  }
  #area-4th section {
    padding: 24px;
    margin-bottom: 24px;
  }
  #area-4th section .img {
    margin-bottom: 24px;
  }
  #area-4th section .img img {
    width: 160px;
  }
  #area-4th section .text h3 {
    font-size: 22px;
    margin-bottom: 16px;
  }
  #area-4th section .text h3 span {
    font-size: 14px;
    line-height: 27px;
    padding: 1px 6px 0px;
    margin-left: 12px;
    bottom: 3px;
  }
  #area-4th section .text .name {
    font-size: 15px;
    margin-bottom: 16px;
  }
  #area-4th section .text p {
    font-size: 15px;
  }
}

/* 5thエリア
/************************************************************/

@media screen and (max-width: 896px) {
  #area-5th section {
    padding: 40px 40px 32px;
    margin-bottom: 48px;
  }
  #area-5th section .nth {
    left: 32px;
    top: -20px;
    background-color: #ffffff;
    padding: 0 8px;
  }
  #area-5th h2 {
    font-size: 4.5vw;
  }
}

@media screen and (max-width: 640px) {
  #area-5th .container {
    padding: 40px 0 48px;
  }
  #area-5th section {
    padding: 28px 24px 24px;
    margin-bottom: 32px;
  }
  #area-5th section .nth {
    font-size: 22px;
    top: -13px;
    left: 20px;
  }
  #area-5th section h3 {
    font-size: 18px;
    margin-bottom: 12px;
  }
  #area-5th section p {
    font-size: 15px;
  }
  #area-5th h2 {
    font-size: 25px;
    margin-bottom: 26px;
  }
}

/* 6thエリア
/************************************************************/

@media screen and (max-width: 896px) {
  #area-6th .table dl {
    display: block;
  }

  #area-6th .table dt {
    display: block;
    width: auto;
    border-right: none;
    border-bottom: 1px solid #ccc;
    padding: 20px 32px;
    text-align: center;
  }
  #area-6th .table dd {
    display: block;
  }
}

@media screen and (max-width: 640px) {
  #area-6th .container {
    padding: 40px 0 0px;
  }
  #area-6th .table dt {
    padding: 12px 16px;
    font-size: 14px;
  }
  #area-6th .table dd {
    padding: 16px 16px;
    font-size: 14px;
  }
}
