/* ===================================
   home.css - TOPページ専用スタイル
   top-about / top-faq / top-menu / top-mv /
   top-news / top-portal / top-seminar
   =================================== */

/* top-about */
.top-about .title span {
  color: #00695E;
  background: url(../images/common/title-icon.png) no-repeat left top 6px/30px;
  background: url(../images/common/title-icon.png) no-repeat left top 0.375rem/1.875rem;
  padding-left: 40px;
  padding-left: 2.5rem;
}
@media screen and (max-width: 767px) {
  .top-about .title span {
    font-size: 2rem;
  }
}

.top-about__inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
      -ms-flex-direction: row-reverse;
          flex-direction: row-reverse;
}
@media screen and (max-width: 767px) {
  .top-about__inner {
    display: block;
  }
}

.top-about__body {
  width: 50%;
}
@media screen and (max-width: 767px) {
  .top-about__body {
    width: 100%;
    margin-top: 1.875rem;
  }
}

.top-about__text {
  margin-top: 35px;
  margin-top: 2.1875rem;
}
@media screen and (max-width: 767px) {
  .top-about__text {
    margin-top: 1.875rem;
  }
}

.top-about__img {
  width: 46vw;
  margin-right: calc(50% - 50vw);
}
@media screen and (max-width: 767px) {
  .top-about__img {
    width: 100%;
    margin: 0;
  }
}
.top-about__img img {
  border-radius: 0.625rem 0 0 0.625rem;
}
@media screen and (max-width: 767px) {
  .top-about__img img {
    border-radius: 0.625rem;
  }
}

/* top-faq */
.top-faq {
  padding: 120px 0 160px;
  padding: 7.5rem 0 10rem;
}
@media screen and (max-width: 767px) {
  .top-faq {
    padding: 3.75rem 0 7.5rem;
  }
}
.top-faq .title span {
  color: #00695E;
  background: url(../images/common/title-icon05.png) no-repeat center left/27px;
  background: url(../images/common/title-icon05.png) no-repeat center left/1.6875rem;
  padding-left: 35px;
  padding-left: 2.1875rem;
}
@media screen and (max-width: 767px) {
  .top-faq .title span {
    font-size: 2rem;
  }
}

.top-faq__qa {
  width: 880px;
  width: 55rem;
  max-width: 100%;
  margin: 60px auto 0;
  margin: 3.75rem auto 0;
}
@media screen and (max-width: 767px) {
  .top-faq__qa {
    margin-top: 1.875rem;
  }
}
.top-faq__qa .qa__item {
  background: #F7F7F7;
}

.top-faq__btn {
  width: 400px;
  width: 25rem;
  background: #2CB521;
  margin: 60px auto 0;
  margin: 3.75rem auto 0;
}
@media screen and (max-width: 767px) {
  .top-faq__btn {
    margin-top: 1.875rem;
  }
}

/* top-menu */
.top-menu {
  padding: 160px 0 140px;
  padding: 10rem 0 8.75rem;
}
@media screen and (max-width: 767px) {
  .top-menu {
    padding: 3.75rem 0;
  }
}

.top-menu__items {
  border-bottom: 1px solid #BFBFBF;
  border-bottom: 0.0625rem solid #BFBFBF;
}

.top-menu__item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
      -ms-flex-direction: row-reverse;
          flex-direction: row-reverse;
  border-top: 1px solid #BFBFBF;
  border-top: 0.0625rem solid #BFBFBF;
  padding: 20px 0;
  padding: 1.25rem 0;
}
@media screen and (max-width: 767px) {
  .top-menu__item {
    display: block;
  }
}

@media screen and (max-width: 767px) {
  .top-menu__item-body {
    margin-top: 1.25rem;
  }
}

.top-menu__item-title {
  font-size: 26px;
  font-size: 1.625rem;
  color: #00695E;
}

.top-menu__item-text {
  margin-top: 20px;
  margin-top: 1.25rem;
}
@media screen and (max-width: 767px) {
  .top-menu__item-text {
    margin-top: 0.9375rem;
  }
}

.top-menu__item-img {
  width: 300px;
  width: 18.75rem;
  max-width: 100%;
}
@media screen and (max-width: 767px) {
  .top-menu__item-img {
    width: 100%;
  }
}
.top-menu__item-img img {
  border-radius: 0.625rem;
}

/* top-mv */
.top-mv {
  margin: 110px 20px 0;
  margin: 6.875rem 1.25rem 0;
  position: relative;
}
@media screen and (max-width: 767px) {
  .top-mv {
    margin: 3.125rem 0 0;
  }
}

.top-mv__imgs {
  display: none;
}
.top-mv__imgs.slick-initialized {
  display: block;
}
.top-mv__imgs .slider-dot {
  text-align: center;
  position: absolute;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  bottom: -30px;
  bottom: -1.875rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 16px;
  gap: 1rem;
}
@media screen and (max-width: 767px) {
  .top-mv__imgs .slider-dot {
    bottom: -1.25rem;
  }
}
.top-mv__imgs .slider-dot li {
  display: inline-block;
  background: #CFE3E1;
  width: 10px;
  width: 0.625rem;
  height: 10px;
  height: 0.625rem;
  border-radius: 50%;
  cursor: pointer;
}
.top-mv__imgs .slider-dot li button {
  text-indent: -9999px;
}
.top-mv__imgs .slider-dot li.slick-active {
  background: #00695E;
}

.top-mv__img img {
  border-radius: 1.25rem;
}
@media screen and (max-width: 767px) {
  .top-mv__img img {
    border-radius: 0;
    height: 15.625rem;
    -o-object-fit: cover;
       object-fit: cover;
  }
}

.top-mv__title {
  position: absolute;
  top: 50%;
  left: 52%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
  font-size: 60px;
  font-size: 3.75rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.4;
  z-index: 1;
}
@media screen and (max-width: 767px) {
  .top-mv__title {
    font-size: 1.625rem;
    line-height: 1.7;
  }
}

/* top-news */
.top-news {
  padding: 80px 0;
  padding: 5rem 0;
}
@media screen and (max-width: 767px) {
  .top-news {
    padding: 3.75rem 0;
  }
}
.top-news .title span {
  color: #00695E;
  background: url(../images/common/title-icon03.png) no-repeat center left/27px;
  background: url(../images/common/title-icon03.png) no-repeat center left/1.6875rem;
  padding-left: 37px;
  padding-left: 2.3125rem;
}
@media screen and (max-width: 767px) {
  .top-news .title span {
    font-size: 2rem;
  }
}

.top-news__wrapper {
  margin-top: 60px;
  margin-top: 3.75rem;
  padding: 0 30px;
  padding: 0 1.875rem;
}
@media screen and (max-width: 767px) {
  .top-news__wrapper {
    margin-top: 1.875rem;
    padding: 0;
  }
}

.top-news__category {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 10px;
  gap: 0.625rem;
}
@media screen and (max-width: 767px) {
  .top-news__category {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5625rem;
  }
}
.top-news__category button {
  display: inline-block;
  font-size: 18px;
  font-size: 1.125rem;
  font-weight: 700;
  background: #fff;
  color: #00695E;
  border-radius: 0.625rem;
  border: 1px solid #00695E;
  border: 0.0625rem solid #00695E;
  padding: 11px 30px;
  padding: 0.6875rem 1.875rem;
  -webkit-transition: color 0.3s, background 0.3s;
  transition: color 0.3s, background 0.3s;
}
@media screen and (max-width: 767px) {
  .top-news__category button {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    min-height: 3.125rem;
    line-height: 1.1;
    padding: 0;
  }
}
.top-news__category button.current {
  background: #00695E;
  color: #fff;
}
.top-news__category button:hover {
  opacity: 1;
  background: #00695E;
  color: #fff;
}

.top-news__content {
  display: none;
  margin-top: 10px;
  margin-top: 0.625rem;
}
@media screen and (max-width: 767px) {
  .top-news__content {
    margin-top: 0.9375rem;
  }
}
.top-news__content.active {
  display: block;
  -webkit-animation-name: displayAnime;
          animation-name: displayAnime;
  -webkit-animation-duration: 0.5s;
          animation-duration: 0.5s;
  -webkit-animation-fill-mode: forwards;
          animation-fill-mode: forwards;
}
.top-news__content .news__item-inner {
  display: block;
}
.top-news__content .news__item-title {
  margin-top: 20px;
  margin-top: 1.25rem;
}
@media screen and (max-width: 767px) {
  .top-news__content .news__item-title {
    margin-top: 0.75rem;
  }
}

@keyframes displayAnime {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
/* top-portal */
.top-portal {
  padding-top: 100px;
  padding-top: 6.25rem;
}
@media screen and (max-width: 767px) {
  .top-portal {
    padding-top: 2.5rem;
  }
}

.top-portal__units {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  gap: 2.5rem;
}
@media screen and (max-width: 767px) {
  .top-portal__units {
    grid-template-columns: repeat(1, 1fr);
    gap: 1.25rem;
  }
}

.top-portal__unit {
  text-align: center;
  border-radius: 1.25rem;
}
.top-portal__unit:first-child {
  background: #EFFFE6;
  padding: 50px 60px 60px;
  padding: 3.125rem 3.75rem 3.75rem;
}
@media screen and (max-width: 767px) {
  .top-portal__unit:first-child {
    padding: 1.875rem 1.25rem;
  }
}
.top-portal__unit:first-child .title span {
  background: url(../images/top/top-portal-icon01.png) no-repeat center left/50px;
  background: url(../images/top/top-portal-icon01.png) no-repeat center left/3.125rem;
}
@media screen and (max-width: 767px) {
  .top-portal__unit:first-child .title span {
    background-size: 2.375rem;
  }
}
.top-portal__unit:first-child .top-portal__unit-btn {
  padding-right: 0;
  margin-top: 10px;
  margin-top: 0.625rem;
}
@media screen and (max-width: 767px) {
  .top-portal__unit:first-child .top-portal__unit-btn {
    padding-right: 3.75rem;
  }
}
.top-portal__unit:nth-child(2) {
  background: #FFF8E5;
  padding: 50px 35px 60px;
  padding: 3.125rem 2.1875rem 3.75rem;
}
@media screen and (max-width: 767px) {
  .top-portal__unit:nth-child(2) {
    padding: 1.875rem 1.25rem;
  }
}
.top-portal__unit:nth-child(2) .title span {
  background: url(../images/top/top-portal-icon02.png) no-repeat center left/50px;
  background: url(../images/top/top-portal-icon02.png) no-repeat center left/3.125rem;
}
@media screen and (max-width: 767px) {
  .top-portal__unit:nth-child(2) .title span {
    background-size: 2.375rem;
  }
}
.top-portal__unit:nth-child(2) .top-portal__unit-btn {
  margin-top: 45px;
  margin-top: 2.8125rem;
  padding-right: 40px;
  padding-right: 2.5rem;
}
@media screen and (max-width: 767px) {
  .top-portal__unit:nth-child(2) .top-portal__unit-btn {
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
    padding-left: 1.25rem;
    margin-top: 1.25rem;
  }
}
.top-portal__unit .title span {
  color: #00695E;
  line-height: 1.6;
  padding-left: 60px;
  padding-left: 3.75rem;
}
@media screen and (max-width: 767px) {
  .top-portal__unit .title span {
    padding-left: 3rem;
  }
}

.top-portal__unit-text {
  line-height: 1.45;
  margin-top: 40px;
  margin-top: 2.5rem;
}
@media screen and (max-width: 767px) {
  .top-portal__unit-text {
    margin: 0.9375rem -0.625rem 0;
  }
}

.top-portal__unit-btn {
  width: 100%;
}

.top-portal__unit-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  gap: 0.625rem;
  margin-top: 20px;
  margin-top: 1.25rem;
}
@media screen and (max-width: 767px) {
  .top-portal__unit-links {
    grid-template-columns: repeat(1, 1fr);
    gap: 0.625rem;
    margin-top: 0.625rem;
  }
}

.top-portal__unit-link a {
  text-align: left;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  min-height: 60px;
  min-height: 3.75rem;
  font-size: 18px;
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.4;
  color: #00695E;
  border-radius: 0.625rem;
  border: 1px solid #00695E;
  border: 0.0625rem solid #00695E;
  background: #fff;
  padding: 3px 15px;
  padding: 0.1875rem 0.9375rem;
  position: relative;
}
@media screen and (max-width: 767px) {
  .top-portal__unit-link a {
    padding: 0.1875rem 1.25rem;
  }
}
.top-portal__unit-link a::after {
  position: absolute;
  content: "";
  width: 7px;
  width: 0.4375rem;
  height: 14px;
  height: 0.875rem;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  right: 15px;
  right: 0.9375rem;
  background: url(../images/common/arrow-icon.png) no-repeat center/contain;
}
.top-portal__unit-link a span {
  font-size: 16px;
  font-size: 1rem;
  display: inline-block;
  margin-left: -10px;
  margin-left: -0.625rem;
}

.top-portal__search {
  margin-top: 20px;
  margin-top: 1.25rem;
}
.top-portal__search input[type=text] {
  width: 100%;
  height: 60px;
  height: 3.75rem;
  font-size: 18px;
  font-size: 1.125rem;
  font-weight: 500;
  background: #fff;
  border: 1px solid #00695E;
  border: 0.0625rem solid #00695E;
  border-radius: 0.625rem;
  padding: 15px 30px;
  padding: 0.9375rem 1.875rem;
}
.top-portal__search input[type=text]::-webkit-input-placeholder {
  color: #B4B4B4;
}
.top-portal__search input[type=text]::-moz-placeholder {
  color: #B4B4B4;
}
.top-portal__search input[type=text]::-ms-input-placeholder {
  color: #B4B4B4;
}
.top-portal__search input[type=text]::placeholder {
  color: #B4B4B4;
}
.top-portal__search button {
  width: 100%;
  padding-right: 0;
  margin-top: 10px;
  margin-top: 0.625rem;
}
@media screen and (max-width: 767px) {
  .top-portal__search button {
    padding-right: 3.125rem;
  }
}

.top-portal__btn {
  background: #2CB521;
  margin: 65px auto 0;
  margin: 4.0625rem auto 0;
}
@media screen and (max-width: 767px) {
  .top-portal__btn {
    margin-top: 1.25rem;
  }
}
.top-portal__btn span {
  display: inline-block;
  line-height: 1.7;
  background: url(../images/top/top-portal-icon03.png) no-repeat center left/32px;
  background: url(../images/top/top-portal-icon03.png) no-repeat center left/2rem;
  padding-left: 40px;
  padding-left: 2.5rem;
}

/* top-semianr */
@media screen and (max-width: 767px) {
  .top-seminar .l-content {
    padding: 1.875rem 0;
  }
}
.top-seminar .l-inner {
  max-width: 760px;
  max-width: 47.5rem;
}
.top-seminar .title {
  text-align: center;
}
.top-seminar .title span {
  color: #00695E;
  background: url(../images/common/title-icon04.png) no-repeat center left/30px;
  background: url(../images/common/title-icon04.png) no-repeat center left/1.875rem;
  padding-left: 40px;
  padding-left: 2.5rem;
}
@media screen and (max-width: 767px) {
  .top-seminar .title span {
    font-size: 2rem;
  }
}

.top-seminar__content {
  text-align: center;
  background: #fff;
  border-radius: 1.25rem;
  margin-top: 40px;
  margin-top: 2.5rem;
  padding: 40px;
  padding: 2.5rem;
  position: relative;
}
@media screen and (max-width: 767px) {
  .top-seminar__content {
    margin-top: 1.25rem;
    padding: 1.25rem 1.25rem 4.375rem;
  }
}
.top-seminar__content::after {
  position: absolute;
  content: "";
  width: 243px;
  width: 15.1875rem;
  height: 156px;
  height: 9.75rem;
  bottom: -14px;
  bottom: -0.875rem;
  right: -85px;
  right: -5.3125rem;
  background: url(../images/top/top-seminar-img.png) no-repeat center/contain;
}
@media screen and (max-width: 767px) {
  .top-seminar__content::after {
    width: 10.5rem;
    height: 6.75rem;
    right: unset;
    bottom: -3.125rem;
    left: 50%;
    -webkit-transform: translateX(-50%);
            transform: translateX(-50%);
  }
}

.top-seminar__subtitle {
  display: inline-block;
  width: 250px;
  width: 15.625rem;
  max-width: 100%;
  font-size: 26px;
  font-size: 1.625rem;
  font-weight: 500;
  color: #00695E;
  border-radius: 0.625rem;
  background: #F7F7F7;
  padding: 5px 10px;
  padding: 0.3125rem 0.625rem;
}

.top-seminar__date {
  font-size: 32px;
  font-size: 2rem;
  color: #00695E;
  font-weight: 700;
  margin-top: 20px;
  margin-top: 1.25rem;
}
@media screen and (max-width: 767px) {
  .top-seminar__date {
    margin-top: 0.625rem;
  }
}
.top-seminar__date span {
  font-size: 50px;
  font-size: 3.125rem;
}

.top-seminar__subtext {
  line-height: 1.45;
  font-weight: 500;
  margin-top: 25px;
  margin-top: 1.5625rem;
}
@media screen and (max-width: 767px) {
  .top-seminar__subtext {
    margin-top: 0.4375rem;
  }
}

.top-seminar__text {
  margin-top: 40px;
  margin-top: 2.5rem;
}
@media screen and (max-width: 767px) {
  .top-seminar__text {
    margin-top: 4.375rem;
  }
}

.top-seminar__btn {
  margin: 35px auto 0;
  margin: 2.1875rem auto 0;
  padding-right: 0;
}
@media screen and (max-width: 767px) {
  .top-seminar__btn {
    margin-top: 0.9375rem;
    padding-right: 3.125rem;
  }
}


/* ===================================
   お知らせカテゴリーを横並びに
   =================================== */
.top-news__category {
  display: flex !important;
  flex-direction: row !important;
  gap: 8px;
  margin-bottom: 24px;
}
.top-news__category .js-tab-item {
  flex: 1;
  white-space: nowrap;
  padding: 10px 16px;
  font-size: 0.875rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  transition: all 0.3s;
  text-align: center;
}
.top-news__category .js-tab-item.current {
  background: #2d6a4f;
  color: #fff;
  border-color: #2d6a4f;
}
@media screen and (max-width: 767px) {
  .top-news__category {
    flex-wrap: wrap;
  }
  .top-news__category .js-tab-item {
    flex: 1 1 calc(50% - 4px);
    font-size: 0.8125rem;
    padding: 8px 10px;
  }
}
