@charset "UTF-8";

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

html {
  overscroll-behavior-y: none;
}

body {
  height: 100%;
  margin: 0;
  overscroll-behavior-y: none;

  .loading-div {
    position: fixed;
    inset: 0;
    z-index: 999;
    background-color: rgba(0, 0, 0, 0.25);
    display: grid;
    place-content: center;

    .loading {
      display: inline-block;
      color: #666;
      line-height: 1;
      width: 3em;
      height: 3em;
      border: 0.3em solid currentColor;
      border-top-color: rgba(102, 102, 102, 0.3);
      border-radius: 50%;
      box-sizing: border-box;
      animation: rotate 1s linear infinite;
    }
  }

  /* 背景画像を含むヘッダー */
  header {
    position: sticky;
    top: 0;
    z-index: 1;
    height: 60px;
    background-image: url(../assets/images/background_img.png);

    /* ヘッダー */
    div {
      display: flex;
      justify-content: space-between;
      align-items: center;
      height: 55px;
      background-color: #fff4e6;

      /* ホームボタン */
      a {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        row-gap: 5px;
        min-width: 60px;
        height: 55px;
        text-decoration: none;

        span {
          font-size: 9px;
          font-weight: 700;
          color: #a91f24;
        }
      }

      .title-logo {
        max-width: 220px;
        width: 100%;
      }

      /* ドロワー開閉ボタン */
      .header-buttons {
        button {
          display: flex;
          flex-direction: column;
          align-items: center;
          justify-content: center;
          row-gap: 5px;
          width: 60px;
          height: 55px;
          border: none;
          font-size: 9px;
          font-weight: 700;
          color: #a91f24;
          background-color: #fff4e6;
          cursor: pointer;
        }

        /* 初期状態は隠れている */
        .drawer-close-button {
          display: none;
        }

        /* ドロワーが開いているときにdrawer-open-buttonを非表示 */
        .hidden {
          display: none;
        }

        /* ドロワーが開いているときにdrawer-close-buttonを表示 */
        .flex {
          display: flex;
        }
      }
    }
  }

  /* メインコンテンツ */
  .main-contents {
    display: flex;
    height: calc(100dvh - 60px);

    /* @media (width < 768px) {
      flex-direction: column-reverse;
    } */

    @media (width < 1100px) {
      flex-direction: column-reverse;
      height: initial !important;

      .map {
        height: 500px !important;
      }

      .sidebar {
        height: 700px !important;
        flex: initial !important;
        max-width: 100% !important;
      }
    }

    @media (width <=375px) {
      height: initial !important;

      .map {
        height: 400px !important;
      }

      .sidebar {
        height: 500px !important;
        flex: initial !important;
      }
    }

    /* サイドバー */
    .sidebar {
      min-width: 390px;
      max-width: 390px;
      overflow: auto;
      -ms-overflow-style: auto;
      scrollbar-width: auto;

      @media (width < 768px) {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        flex: 1;
      }

      .sidebar-null {
        margin: 30px;
      }

      .sidebar-item {
        display: flex;
        flex-direction: column;
        row-gap: 10px;
        padding: 10px;
        border-bottom: 1px solid #c8c8cb;

        .item-title {
          font-size: 16px;
          font-weight: 700;
          margin-top: 0;
        }

        .item-areas {
          display: flex;
          column-gap: 6px;
        }

        .item-categories {
          display: flex;
          column-gap: 6px;
        }

        .item-facility {
          display: flex;
          flex-wrap: wrap;
          align-content: space-between;
          /* 最後の要素を下端に配置するために使用 */
          gap: 6px;
          width: 100%;
        }

        .item-buttons {
          display: flex;
          column-gap: 10px;
          flex-direction: row-reverse;
          height: 40px;
          align-items: flex-end;
          margin-left: auto;
          /* 最後の要素を右端に配置 */

          a,
          button {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 53px;
            height: 30px;
            font-size: 14px;
            font-weight: 700;
            border-radius: 4px;
            box-shadow: 0px 3px 0px rgba(0, 0, 0, 0.3);
            cursor: pointer;
            white-space: nowrap;
          }

          button {
            color: #fff;
            background-color: #a91f24;
            border: none;

            &:last-child {
              color: #a91f24;
              background-color: #fff;
              border: 2px solid #a91f24;
            }
          }
        }
      }
    }

    /* 
    .sidebar::-webkit-scrollbar {
      display: none;
    } */
  }

  /* マップ */
  .map {
    width: 100%;
    position: relative;

    @media (width < 768px) {
      height: 400px;
    }

    .main-map {
      width: 100%;
      height: 100%;
      background-color: #d9d9d9;
    }

    .center {
      position: absolute;
      left: 10px;
      bottom: 30px;
      width: 42px;
      height: 42px;
      background-color: #fff;
      border: 1px solid #d9d9d9;
      border-radius: 2px;
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 100;
      padding: 0;
      box-shadow: 1px, 1px, 1px, 0 rgba(0, 0, 0, 0.25);

      img {
        width: 19px;
        height: 19px;
      }
    }
  }

  /* 検索ドロワー */
  .drawer {
    min-width: 390px;
    max-width: 390px;
    background-color: #fff;
    padding: 20px;
    overflow: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
    transform: translateX(390px);
    display: none;


    @media (width <=1024px) {
      position: fixed;
      z-index: 100;
      top: 60px;
      width: 100%;
      height: calc(100dvh - 60px);
      min-width: 0;
      max-width: initial;
    }


    @media (width <=1100px) {
      position: fixed;
      z-index: 100;
      top: 60px;
      width: 100%;
      height: calc(100dvh - 60px);
      min-width: 0;
      max-width: initial;
    }

    /* 検索フィールドタイトル */
    h4 {
      margin-top: 0;
      margin-bottom: 15px;
      font-size: 14px;
      font-weight: 700;
    }

    /* 施設名・住所検索 */
    .search-container {
      display: flex;
      align-items: center;
      column-gap: 6px;
      margin-bottom: 20px;

      /* 検索フィールド */
      #search-field {
        font-size: 14px;
        font-weight: 400;
        width: 100%;
        height: 48px;
        border: 1px solid #c8c8cb;
        border-radius: 4px;
        padding: 0 20px;
        background-color: #fff;

        &:focus {
          outline-color: #a91f24;
        }
      }

      #search-field::placeholder {
        color: #84919e;
      }

      /* 検索ボタン */
      button {
        min-width: 50px;
        height: 45px;
        border-radius: 4px;
        border-color: transparent;
        box-shadow: 0px 3px 0px rgba(0, 0, 0, 0.3);
        font-size: 14px;
        font-weight: 700;
        text-align: center;
        font-size: 14px;
        font-weight: 700;
        color: #ffffff;
        background-color: #a91f24;
        transform: translateY(-2px);
        cursor: pointer;
        white-space: nowrap;
        display: grid;
        place-content: center;
        padding: 0;
      }
    }

    /* エリア検索、施設カテゴリ検索 */
    select {
      width: 100%;
      height: 48px;
      font-size: 14px;
      font-weight: 400;
      margin-bottom: 20px;
      padding: 0 20px;
      border: 1px solid #c8c8cb;
      border-radius: 4px;
      background-image: url("../assets/icons/redCaret.svg");
      background-repeat: no-repeat;
      background-position: right 10px center;
      appearance: none;
      color: #84919e;
      background-color: #fff;
      outline: none !important;

      &:focus {
        outline-color: #a91f24;
      }
    }

    /* selectの値が空でない場合 */
    .selected {
      color: #000;
    }

    /*設備検索*/
    .facility-header {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;

      .header-pict-description {
        display: flex;
        justify-content: center;
        align-items: center;
        column-gap: 10px;
        font-size: 14px;
        font-weight: 400;
        white-space: nowrap;

        img {
          width: 16px;
          height: 16px;
        }
      }
    }

    /* 設備アコーディオン */
    details {
      margin-bottom: 15px;
    }

    details summary {
      display: flex;
      justify-content: space-between;
      align-items: center;
      min-height: 40px;
      padding-left: 20px;
      border: 2px solid #a91f24;
      border-radius: 4px;
      box-shadow: 0px 3px 0px rgba(0, 0, 0, 0.3);
      font-size: 14px;
      font-weight: 700;
      color: #a91f24;
      list-style: none;
      cursor: pointer;
    }

    /* 閉じた状態のアイコン */
    details summary::after {
      content: url("../assets/icons/redCaret.svg");
      transform: translateY(3px);
    }

    /* 開いた状態のアイコン */
    details[open] summary::after {
      content: url("../assets/icons/whiteCaret.svg");
      transform: translateY(3px);
    }

    /* 開いた状態の色 */
    details[open]>summary {
      border-bottom-left-radius: 0px;
      border-bottom-right-radius: 0px;
      color: #ffffff;
      background-color: #a91f24;
    }

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

    .facility-icons {
      padding: 20px;
      border: 2px solid #a91f24;
      border-bottom-left-radius: 4px;
      border-bottom-right-radius: 4px;
      display: flex;
      flex-wrap: wrap;
      column-gap: 10px;
      row-gap: 20px;

      label {
        span {
          width: fit-content;
          width: 52px;
          overflow: hidden;
          text-align: center;
          display: inline-block;
          text-overflow: ellipsis;
          white-space: nowrap;
          font-size: 9px;
          font-weight: 400;
        }
      }

      input {
        display: none;
      }
    }
  }

  .drawer::-webkit-scrollbar {
    display: none;
  }

  /* 検索ドロワーを表示する */
  .is-show {
    transform: translateX(0);
    display: block;
  }

  /* 詳細モーダル */
  #dialog {
    /* position: relative; */
    padding: 0;
    max-width: 800px;
    width: 100%;
    /* height: 700px; */
    border: 3px solid #a91f24;
    border-radius: 10px;
    background-color: #fff;
    /* -ms-overflow-style: none;
    scrollbar-width: none; */

    .dialog-header-close-button {
      position: absolute;
      /* position: fixed; */
      /* position: sticky;
      top: 600px;
      left: 700px; */
      right: 30px;
      bottom: 30px;
      width: 60px;
      height: 55px;
      padding: 0;
      border: none;
      background-color: transparent;
      appearance: none;
      cursor: pointer;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      background-color: #a91f24;
      border-color: transparent;
      border-radius: 4px;
      font-size: 9px;
      font-weight: 700;
      color: #ffffff;
      z-index: 999;
    }

    header {
      button {
        border: none;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        row-gap: 5px;
        width: 60px;
        height: 55px;
        font-size: 9px;
        font-weight: 700;
        color: #a91f24;
        background-color: #fff4e6;
      }
    }

    .dialog-header {
      display: none;
    }

    @media (width < 768px) {
      border: none;
      margin-top: 0px;
      min-height: 100dvh;
      border-radius: 0;
      height: auto;
      /* overflow: hidden; */
      overscroll-behavior: contain;

      .dialog-header {
        display: block;
      }

      .dialog-header-close-button {
        display: none;
      }

      &::backdrop {
        display: none;
      }

      .dialog-header-title {
        text-align: center;
        font-size: 16px;
        font-weight: 400;
        margin-bottom: 20px;
      }
    }

    /*dialog-エリア*/

    .dialog-container {
      height: 100%;

      /* -ms-overflow-style: none;
      scrollbar-width: none; */
      overflow-y: auto !important;
      padding: 20px;

      @media (width < 768px) {
        height: inherit;
        /* padding-bottom: 50px; */
        overscroll-behavior: contain;
      }

      .dialog-areaDiv {
        .dialog-area {
          display: flex;
          gap: 10px;
          width: auto;

          .aera0 {
            color: #ffffff;
            background-color: #03af7a;
          }

          .aera1 {
            color: #ffffff;
            background-color: #990099;
          }

          .aera2 {
            color: #ffffff;
            background-color: #ff8082;
          }

          .aera3 {
            color: #ffffff;
            background-color: #d1c600;
          }

          .aera4 {
            color: #ffffff;
            background-color: #2a65d0;
          }

          .aera5 {
            color: #ffffff;
            background-color: #f6aa00;
          }

          .aera6 {
            color: #ffffff;
            background-color: #4dc4ff;
          }

          .aera7 {
            color: #ffffff;
            background-color: #89a500;
          }

          .aera8 {
            color: #ffffff;
            background-color: #804000;
          }

          .aera9 {
            color: #ffffff;
            background-color: #f2b968;
          }

          .aera10 {
            color: #ffffff;
            background-color: #ee9683;
          }

          .aera11 {
            color: #ffffff;
            background-color: #45d08a;
          }

          .aera12 {
            color: #ffffff;
            background-color: #ff4b00;
          }

          .aera13 {
            color: #ffffff;
            background-color: #c18bf7;
          }

          div {
            width: auto;
            height: 24px;
            padding: 4px 6px;
            font-size: 13px;
            font-weight: 700;
            background-color: #000;
            color: #fff;
            text-decoration: none;
          }
        }

        .dialog-category {
          border-bottom: 2px solid #a91f24;
          padding-bottom: 10px;

          display: flex;
          justify-content: space-between;

          div {
            width: auto;
            height: 20px;
            padding: 2px 6px;
            border: 1px solid black;
            border-radius: 20px;
            font-size: 9px;
            font-weight: 700;
            text-decoration: none;
          }

          .category {
            border: none;
            padding: 0 6px;
            display: flex;
            width: fit-content;
            column-gap: 6px;
          }

          .category0 {
            background-color: #ff8082;
            border: 1px solid #ff8082;
            color: #ffffff;
          }

          .category1 {
            background-color: #45d08a;
            border: 1px solid #45d08a;
            color: #ffffff;
          }

          .category2 {
            background-color: #2a65d0;
            border: 1px solid #2a65d0;
            color: #ffffff;
          }

          .category3 {
            background-color: #990099;
            border: 1px solid #990099;
            color: #ffffff;
          }

          .category4 {
            background-color: #804000;
            border: 1px solid #804000;
            color: #ffffff;
          }

          .category5 {
            background-color: #f2b968;
            border: 1px solid #f2b968;
            color: #ffffff;
          }

          .category6 {
            background-color: #4dc4ff;
            border: 1px solid #4dc4ff;
            color: #ffffff;
          }

          .category7 {
            background-color: #03af7a;
            border: 1px solid #03af7a;
            color: #ffffff;
          }

          .category8 {
            background-color: #9767c7;
            border: 1px solid #9767c7;
            color: #ffffff;
          }

          .category9 {
            background-color: #faad00;
            border: 1px solid #faad00;
            color: #ffffff;
          }

          .category10 {
            background-color: #ff4b00;
            border: 1px solid #ff4b00;
            color: #ffffff;
          }

          .category11 {
            background-color: #84919e;
            border: 1px solid #84919e;
            color: #ffffff;
          }

          .ymd {
            border: none;
            font-size: 10px;
            font-weight: 400;
          }
        }

        p {
          font-size: 12px;
          font-weight: 700;
        }

        span {
          font-size: 18px;
          font-weight: 700;
        }
      }

      #facility-furigana {
        font-size: 12px !important;
        font-weight: 700;
      }

      .dialog-category {
        margin-top: 8px;
        display: flex;
        gap: 6px;
      }

      /*dialog-施設写真*/
      .dialog-photoDiv {
        h5 {
          margin: 8px 0;
          font-size: 14px;
          font-weight: 700;
        }

        .dialog-photo-container {
          display: flex;
          flex-wrap: wrap;
          gap: 10px;

          .dialog-photo-card {
            width: 110px;
            appearance: none;
            border: none;
            background-color: #fff;
            padding: 0;
            cursor: pointer;

            .dialog-photo-card-image {
              width: 100%;
              height: 75px;
              object-fit: cover;
            }

            .dialog-photo-card-title {
              margin-top: 4px;
              font-size: 10px;
              white-space: nowrap;
              overflow: hidden;
              text-overflow: ellipsis;
            }
          }
        }
      }

      /*dialog-住所*/
      .dialog-address {
        h5 {
          margin-top: 20px;
          margin-bottom: 4px;
          font-size: 14px;
          font-weight: 700;
        }

        p {
          margin-top: 0;
          font-size: 16px;
          font-weight: 400;
        }
      }

      /*dialog-電話番号*/
      .dialog-tel {
        h5 {
          margin-top: 20px;
          margin-bottom: 4px;
          font-size: 14px;
          font-weight: 700;
        }

        p {
          margin-top: 0;
          font-size: 16px;
          font-weight: 400;
        }
      }

      /*dialog-対応している設備*/
      .dialog-facility {
        .dialog-facility-header {
          display: flex;
          /* justify-content: space-between; */
          flex-wrap: nowrap;

          .dialog-pict-description {
            display: flex;
            justify-content: center;
            margin-left: auto;
            align-items: center;
            column-gap: 10px;
            font-size: 14px;
            font-weight: 400;
            white-space: nowrap;

            img {
              width: 16px;
              height: 16px;
            }

            a {
              font-size: 14px;
              font-weight: 700;
              color: #a91f24;
              text-decoration: underline;
            }
          }

          h5 {
            margin-top: 20px;
            margin-bottom: 4px;
            font-size: 14px;
            font-weight: 700;
          }

          .dialog-facility-headerIcon {
            display: flex;
            justify-content: center;
            align-items: center;
            white-space: nowrap;
            column-gap: 10px;
            font-size: 14px;
            font-weight: 400;

            img {
              width: 16px;
              height: 16px;
            }

            p {
              margin: 0;
              text-decoration: underline;
            }
          }
        }

        /*dialog  アイコン*/
        .dialog-icon {
          .dialog-blackQuadrangles {
            display: flex;
            font-size: 16px;
            font-weight: 700;
          }

          .dialog-icon-items1 {
            .photo-size {
              width: 52px;
              height: 52px;
              margin-top: 15px;
            }

            .group-div {
              max-width: 600px;
              display: flex;
              flex-wrap: wrap;
            }
          }
        }

        /*dialog-その他施設情報*/
        .dialog-facility-otherInformation {
          .wheelchair-p {
            margin: 0 15px;
          }

          ul {
            padding: 0;

            li {
              list-style: none;
              font-size: 16px;
            }
          }
        }

        /*dialog-地図*/
        .dialog-facility-map {
          h5 {
            margin: 10px 0;
          }

          p {
            width: fit-content;
            display: flex;
            justify-content: center;
            align-items: center;
            height: 30px;
            padding: 0 12px;
            border: 2px solid #a91f24;
            border-radius: 4px;
            box-shadow: 0px 3px 0px rgba(0, 0, 0, 0.3);
            font-size: 14px;
            font-weight: 700;
            color: #a91f24;

            a {
              text-decoration: none;
            }
          }
        }
      }
    }
  }

  Ødialog::backdrop {
    background: rgba(0, 0, 0, 0.5);
  }

  /*地図上の情報ウィンドウ*/
  .gm-style-iw-c:has(.window-title) {
    padding: 10px !important;
    width: 300px !important;
    max-width: 275px !important;
    max-height: initial !important;
  }

  .gm-style-iw-d:has(.window-title) {
    max-height: initial !important;
  }

  /*google 自動生成のclass*/
  .gm-style-iw-chr:has(+ .gm-style-iw-d .window-title) {
    position: absolute;
    top: 0;
    right: 0;

    button {
      background-image: url("../assets/icons/redx.svg") !important;
      background-repeat: no-repeat !important;
      background-position: center !important;
      opacity: 1;

      &:hover {
        opacity: 0.6;
      }

      span {
        display: none !important;
      }
    }
  }

  /*window-title*/
  .window-title {
    font-size: 14px;
    font-weight: 700;
    width: calc(100% - 48px);
    margin-bottom: 10px;
  }

  .gird-map-window {
    display: flex;
    flex-wrap: wrap;
    gap: 4px !important;

    div {
      width: 30px;
      height: 30px;
    }
  }

  .window-buttons {
    display: flex;
    column-gap: 10px;
    flex-direction: row-reverse;
    margin-top: 10px;
    margin-bottom: 10px;

    a,
    button {
      display: flex;
      justify-content: center;
      align-items: center;
      width: 53px;
      height: 30px;
      font-size: 14px;
      font-weight: 700;
      border-radius: 4px;
      box-shadow: 0px 3px 0px rgba(0, 0, 0, 0.3);
      white-space: nowrap;

      &:focus {
        outline: none;
      }
    }

    button {
      color: #fff;
      background-color: #a91f24;
      border: none;
    }

    a {
      color: #a91f24;
      border: 2px solid #a91f24;
      text-decoration: none;
    }
  }
}

.dialog-span {
  width: 53px;
  position: relative;
  display: inline-block;
  text-align: center;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  transition: width 0.2s;
  font-size: 9px;
}

/* リストまたは詳細モーダルのエリア要素とカテゴリー要素 */

.item-category0,
.item-category1,
.item-category2,
.item-category3,
.item-category4,
.item-category5,
.item-category6,
.item-category7,
.item-category8,
.item-category9,
.item-category10,
.item-category11 {
  width: fit-content;
  padding: 4px 6px;
  border: 1px solid;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  font-size: 12px;
}

.item-category0 {
  background-color: #ff8082;
  color: #ffffff;
  border-color: #ff8082;
}

.item-category1 {
  background-color: #45d08a;
  color: #ffffff;
  border-color: #45d08a;
}

.item-category2 {
  background-color: #2a65d0;
  color: #ffffff;
  border-color: #2a65d0;
}

.item-category3 {
  background-color: #990099;
  color: #ffffff;
  border-color: #990099;
}

.item-category4 {
  background-color: #804000;
  color: #ffffff;
  border-color: #804000;
}

.item-category5 {
  background-color: #f2b968;
  color: #ffffff;
  border-color: #f2b968;
}

.item-category6 {
  background-color: #4dc4ff;
  color: #ffffff;
  border-color: #4dc4ff;
}

.item-category7 {
  background-color: #03af7a;
  color: #ffffff;
  border-color: #03af7a;
}

.item-category8 {
  background-color: #9767c7;
  color: #ffffff;
  border-color: #9767c7;
}

.item-category9 {
  background-color: #faad00;
  color: #ffffff;
  border-color: #faad00;
}

.item-category10 {
  background-color: #ff4b00;
  color: #ffffff;
  border-color: #ff4b00;
}

.item-category11 {
  background-color: #84919e;
  color: #ffffff;
  border-color: #84919e;
}

.item-area0,
.item-area1,
.item-area2,
.item-area3,
.item-area4,
.item-area5,
.item-area6,
.item-area7,
.item-area8,
.item-area9,
.item-area10,
.item-area11,
.item-area12,
.item-area13 {
  font-size: 13px;
  font-weight: 700;
  padding: 4px 6px;
  width: fit-content;
  color: #ffffff;
}

.item-area0 {
  background-color: #03af7a;
}

.item-area1 {
  background-color: #990099;
}

.item-area2 {
  background-color: #ff8082;
}

.item-area3 {
  background-color: #d1c600;
}

.item-area4 {
  background-color: #2a65d0;
}

.item-area5 {
  background-color: #f6aa00;
}

.item-area6 {
  background-color: #4dc4ff;
}

.item-area7 {
  background-color: #89a500;
}

.item-area8 {
  background-color: #804000;
}

.item-area9 {
  background-color: #f2b968;
}

.item-area10 {
  background-color: #ee9683;
}

.item-area11 {
  background-color: #45d08a;
}

.item-area12 {
  background-color: #ff4b00;
}

.item-area13 {
  background-color: #c18bf7;
}

.ok {
  color: #990099;
}

/*詳細モーダルとドロワの共通：絵文字（ピクトグラム）説明*/
.pictogram-button {
  font-size: 14px;
  font-weight: 700;
  color: #a91f24;
  border: none;
  text-decoration-line: underline;
  background-color: transparent;
  cursor: pointer;
}

#full-photo-dialog {
  position: relative;
  width: 700px;
  max-width: 100%;
  height: initial !important;
  max-height: initial !important;

  aspect-ratio: 3/2;

  @media (width < 768px) {
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
  }

  .full-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .full-photo-dialog-close {
    position: absolute;
    background-color: transparent;
    display: grid;
    place-content: center;
    width: 48px;
    height: 48px;
    top: 10px;
    right: 10px;
    border: 0;
    cursor: pointer;
  }
}

/*SimpleBar*/
.simplebar-scrollbar::before {
  background: #c8c8cb !important;
  border-radius: 0;
  width: 5px;
  margin-left: 3px;
  margin-top: 2px;
}

.simplebar-scrollbar.simplebar-visible::before {
  opacity: 1;
}

.simplebar-track {
  background: transparent;
  width: 15px !important;
}

/*詳細モーダル絵文字説明(ピクトグラム)*/
/*dialog 共通の背景*/
dialog::backdrop {
  background: rgba(0, 0, 0, 0.3);
}

/*dialog pc共通の閉じるボタン*/
.indexDialog-header-close-button {
  position: absolute;
  z-index: 999;
  right: 40px;
  bottom: 20px;
  width: 60px;
  height: 55px;
  padding: 0;
  border: none;
  appearance: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #a91f24;
  border-color: transparent;
  border-radius: 4px;
  font-size: 9px;
  font-weight: 700;
  color: #ffffff;

  @media (width<768px) {
    display: none;
  }
}

/*dialog 共通のヘッダー*/
dialog {
  width: 100%;
  height: 100%;
  max-width: 800px;
  max-height: 700px !important;
  padding: 0;
  border: none;
  background-color: #fff4e6;

  @media (width < 768px) {
    width: 100%;
    height: 100%;
    max-width: initial;
    max-height: initial !important;
    margin: 0;
  }

  header {
    display: none;
    position: sticky;
    top: 0;
    height: 60px;
    background-image: url(../assets/images/background_img.png);

    @media (width<768px) {
      display: block;
    }

    .index-dialog-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      height: 55px;
      background-color: #fff4e6;

      /* ホームボタン */
      a {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        row-gap: 5px;
        width: 60px;
        height: 55px;
        text-decoration: none;

        span {
          font-size: 9px;
          font-weight: 700;
          color: #a91f24;
        }
      }

      /*閉じるボタン*/
      button {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        row-gap: 5px;
        width: 60px;
        height: 55px;
        border: none;
        font-size: 9px;
        font-weight: 700;
        color: #a91f24;
        background-color: #fff4e6;
        cursor: pointer;
      }
    }
  }

  /* タイトル */
  h3 {
    height: 45px;
    margin-top: 20px;
    align-content: center;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    color: #ffffff;
    background-color: #a91f24;
  }

  /* タイトルを除くコンテンツ */
  .index-dialog-contents {
    padding: 0 15px;
    height: calc(100% - 65px);
    -ms-overflow-style: none;
    scrollbar-width: none;
    overflow-y: auto !important;

    @media (width < 768px) {
      height: calc(100% - 125px);
    }

    /* 内容物白い部分 */
    .index-dialog-contents-div {
      padding: 20px 22px;
      background-color: #ffffff;
    }
  }

  .index-dialog-contents-div1 {
    padding: 20px 22px;
    background-color: #ffffff;

    .div-space {
      display: flex;
    }

    .div-space span {
      display: flex;
      flex: 1;
    }

    /* .first-inner-div {
      margin-top: -35px;
      border-bottom: 2px solid #a91f24;
    } */

    .first-div {
      margin-top: -15px;
      border-bottom: 2px solid #a91f24;

      h4 {
        font-size: 16px;
        font-weight: 700;
      }
    }

    div {
      /* display: flex; */
      padding: 10px;
      border-bottom: 1px solid #c8c8cb;

      span {
        align-content: center;
        margin: 10px;
        font-size: 14px;
        font-weight: 700;
      }
    }

    /*ページ内のリンク*/
    .within-link {
      display: flex;
      flex-direction: column;
      border-bottom: 1px solid transparent !important;

      h4 {
        border-bottom: 2px solid #a91f24;
        padding: 10px;
      }

      .within-button {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;

        button {
          padding: 8px;
          background-color: #ffffff;
          border-radius: 4px;
          border: 2px solid #a91f24;
          color: #a91f24;
          font-weight: 700;
          box-shadow: 0px 3px 0px rgba(0, 0, 0, 0.3);
        }

        border-bottom: 1px solid transparent;
      }
    }

    #within-link1,
    #within-link2,
    #within-link3,
    #within-link4,
    #within-link5 {
      border-bottom: none;
    }
  }
}

/*施設写真スライドショーのボタン*/
.prev,
.next {
  position: absolute;
  top: 50%;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  border: none;
  background-color: rgba(0, 0, 0, 0.5);
}

.prev {
  left: 0;
}

.next {
  right: 0;
}

.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}