/**
* user_data/about/○○の対応可能エリアのCSS
*/
/* 対応可能エリアの親ブロック（背景色の付いている枠） */
.service-area-container-box .service-area-box {
  width: 100%;
  text-align: left; /* 中の文字・コンテンツは左揃えにする */

  /* --- 枠線とデザイン設定 --- */
  background-color: #fff;
  border: 1px solid #ccc; /* 薄いグレーの枠線（色の変更は #ccc を調整） */
  border-radius: 8px;
  padding: 24px; /* 枠線の内側に余白を作る */
  margin-top: 20px;
}

.service-area-container-box {
  margin-left: auto; /* ブロック自体を中央配置 */
  margin-right: auto; /* ブロック自体を中央配置 */
}

.service-area-box span {
  font-weight: bold;
}

/*pc表示*/
@media screen and (min-width: 768px) {
  .service-area-box {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .service-area-box > span {
    grid-column: 1 / -1;
  }
  .service-area-box-sp {
    display: none;
  }

  .service-area-box span {
    font-weight: bold;
    font-size: 100%;
  }

  .service-area-box .service-area-pref,
  .service-area-pref {
    padding-left: 1em;
    font-size: 90%;
    font-weight: normal;
  }
}

/*sp表示*/
@media screen and (max-width: 767px) {
  .service-area-box {
    display: none;
  }
  .service-area-box-sp {
    display: block;
    background-color: #fff;
    margin-top: 10px;
  }
  .service-area-box span {
    font-weight: bold;
    font-size: 110%;
  }

  .service-area-name {
    font-weight: bold;
    font-size: 3.47vw;
  }

  .service-area-box .service-area-pref,
  .service-area-pref {
    padding-left: 1em;
    font-size: 3.47vw;
    font-weight: normal;
  }
}

.service-area-box {
  margin: 0 auto;
  padding: 1em;
}
.service-area-box p {
  font-size: 100%;
  padding-top: 10px;
}

.service-area-name,
.service-area-pref {
  display: block;
}

/*対応エリア　アコーディオン*/

.details {
  border-top: 2px solid gray;
  border-left: 2px solid gray;
  border-right: 2px solid gray;
  &:last-of-type {
    border-bottom: 2px solid gray;
  }
}
.details-summary {
  position: relative;
  display: block;
  padding: 0.8em;
  color: #000;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  background-image: repeating-linear-gradient(
    -45deg,
    #f2f3f7 0,
    #f2f3f7 3px,
    transparent 3px,
    transparent 6px
  );
  &:hover {
    cursor: pointer;
    opacity: 0.8;
  }
  .btn {
    position: absolute;
    top: 37%;
    left: 10%;
    width: 18px;
    height: 18px;
    transform-origin: center center;
    transition-duration: 0.2s;

    &:before,
    &:after {
      content: "";
      background-color: gray;
      border-radius: 10px;
      width: 18px;
      height: 4px;
      position: absolute;
      top: 7px;
      left: 0;
      transform-origin: center center;
    }
    &:before {
      width: 4px;
      height: 18px;
      top: 0;
      left: 7px;
    }
  }
  &.is-active {
    .btn {
      -webkit-transform: rotate(-180deg);
      transform: rotate(-180deg);
      &:before {
        content: none;
      }
    }
  }
}

.details-summary::-webkit-details-marker {
  display: none;
}

.details-content {
  padding: 16px;
  p {
    margin: 0 0 20px;
    color: #000;
    font-size: 12px;
    text-align: left;
    &:last-of-type {
      margin: 0 0 0;
    }
  }
}
