@charset "UTF-8";

/*-------------------------------------------
common
-------------------------------------------*/
:root {
  --red: #FF3301;
  --green: #129459;
}
body {
  line-height: 1.5;
}

.function-container {
  max-width: 920px;
  padding-inline: 20px;
  margin-inline: auto;
}

/*-------------------------------------------
Index
-------------------------------------------*/
.index-area {
  background-color: #EDFFF2;
  margin-bottom: 40px;
}
.index-area .inner {
  max-width: 640px;
  padding: 70px 0 45px;
  margin: 0 auto;
}
.index-area .index-title {
  color: var(--green);
  font-size: 32px;
  margin-bottom: 40px;
  text-align: center;
}
.index-area .index-list-item {
  margin-bottom: 30px;
}
.index-area .index-list-item dt {
  font-size: min(2.6vw, 23px);
  color: var(--green);
  padding-right: 50px;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
}
.index-area .index-list-item dt::before,
.index-area .index-list-item dt::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--green);
  position: absolute;
  top: calc(50% - 1px);
  right: 10px;
  transition: transform 0.3s ease;
}
.index-area .index-list-item dt::after {
  transform: rotate(-90deg);
}
.index-area .index-list-item.open dt::after {
  transform: initial;
}
.index-area .index-list-item dd {
  font-size: min(2vw, 18px);
  font-weight: 600;
  line-height: 2;
  margin-left: 50px;
  text-align: justify;
  display: none;
}
.index-area .index-list-item.open dd {
  display: block;
}
.index-area .index-list-item dd a {
  color: var(--green);
  display: block;
  font-weight: normal;
}

/*-------------------------------------------
mv
-------------------------------------------*/
.page-mv {
  background-image: url(../img/function/function-mv.jpg);
}

/*-------------------------------------------
機能
-------------------------------------------*/
section {
  padding-top: 70px;
  margin-bottom: 160px;
}
.function-inner {
  margin-bottom: 120px;
}
.page-section-title {
  margin-bottom: 80px;
}

/* h3 */
.function-section-title {
  font-size: clamp(24px, 3.1vw, 30px);
  font-weight: bold;
  color: var(--green);
  text-align: center;
  margin-bottom: 15px;
}

/* h3の次の説明文 */
.function-section-title + p {
  font-size: clamp(20px, 2.5vw, 24px);
  font-weight: 600;
  line-height: 1.75;
  text-align: center;
  margin-bottom: 35px;
}

/* h4 */
.function-heading {
  font-size: clamp(22px, 2.6vw, 26px);
  font-weight: bold;
  color: var(--green);
  margin-bottom: 15px;
}

/* 本文 */
.function-text {
  font-size: clamp(16px, 1.8vw, 18px);
  font-weight: 600;
  line-height: 1.75;
  text-align: justify;
  margin-bottom: 35px;
}

/* 本文中のリンク */
.function-text a {
  color: var(--green);
}
.function-text span {
  font-size: 0.8em;
  margin-right: 0.5em;
}

.function-img {
  max-width: 100%;
}
.function-img img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.function-img img[src$="func19-3.jpg"] {
  width: 69.3%;
}
.function-img img[src$="func20.jpg"] {
  width: 50%;
}
.function-img + .function-img {
  margin-top: 30px;
}


/*-------------------------------------------
SP
-------------------------------------------*/
@media screen and (max-width: 767px) {
  .page-section-title {
    margin-bottom: 40px;
  }

  /*-------------------------------------------
  Index
  -------------------------------------------*/
  .index-area {
    margin-bottom: 40px;
  }
  .index-area .inner {
    padding: 40px 0 30px;
  }
  .index-area .index-list-item {
    margin-bottom: 20px;
  }
  .index-area .index-list-item dt {
    font-size: max(2.5vw, 18px);
    padding-right: 30px;
  }
  .index-area .index-list-item dt::before,
  .index-area .index-list-item dt::after {
    width: 14px;
    top: 0.7em;
    right: 0;
  }
  .index-area .index-list-item dd {
    font-size: max(2.3vw, 16px);
  }

  /* mv
  -------------------------------------------*/
  .page-mv {
    background-image: url(../img/function/function-mv-sp.jpg);
  }

    /* 機能
  -------------------------------------------*/
  section {
    padding-top: 40px;
    margin-bottom: 40px;
  }
  section:first-of-type {
    padding-top: 20px;
  }
  .function-inner {
    margin-bottom: 70px;
  }
  .function-section-title {
    font-size: clamp(22px, 4.5vw, 24px);
  }
  .function-section-title + p {
    font-size: clamp(16px, 3.4vw, 20px);
  }
  .function-heading {
    font-size: 20px;
    padding-top: 50px;
    margin-top: -50px;
  }
  .function-text {
    font-size: 15px;
    margin-bottom: 30px;
  }
}