@charset "UTF-8";

/*-------------------------
  watari-suzuran-en - 渡里すずらん苑 のスタイル
-------------------------*/

.side {
  & .header {
    & .phone {
      margin-bottom: 20svh;
    }

    & .link {
      & .btn {
        & .txt {
          font-size: 1rem;
          gap: 0.25rem;
        }
      }

      & .material-symbols-rounded {
        position: static;
        font-size: 1.25rem;
      }
    }

    @media screen and (max-width: 1179px) {
      & .phone {
        margin-bottom: 3rem;
      }
    }

    @media screen and (max-width: 1279px) and (min-width: 768px) {
      & .link {
        display: block;
        max-width: 375px;
        margin: 0 auto;
      }
    }
  }
}

.contents {
  & .main {

    /* メインビジュアル - 画像のみ */
    & .mv {
      height: auto;
      max-height: 100%;

      & .inner {
        position: relative;
        overflow: hidden;
        z-index: 50;

        &::before {
          content: "";
          position: absolute;
          top: 0;
          left: 0;
          display: block;
          width: 441px;
          height: 298px;
          background: url(../img/components/obj_frame_mv_sub-left.png) no-repeat top left;
          background-size: 100%;
          z-index: 100;
        }

        &::after {
          content: "";
          position: absolute;
          bottom: 0;
          right: 0;
          display: block;
          width: 447px;
          height: 258px;
          background: url(../img/components/obj_frame_mv_sub-right.png) no-repeat top left;
          background-size: 100%;
          z-index: 100;
        }

        & .img {
          height: auto;
          max-height: 62.5%;
          line-height: 1;

          & picture,
          img {
            width: 100%;
            height: 100%;
            -o-object-fit: cover;
            object-fit: cover;
          }
        }
      }

      & .anchor-box {
        padding: 1.75rem 6.8%;

        & .link {
          display: grid;
          grid-template-columns: 1fr 1fr 1fr;
          align-items: center;
          justify-content: center;
          gap: 4.875rem;

          & a {
            position: relative;
            display: block;
            text-align: center;
            max-width: 23vw;
            margin: 0 auto;

            &:nth-of-type(1) {
              &::after {
                color: var(--color-primary);
              }
            }

            &:nth-of-type(2) {
              &::after {
                color: var(--color-secondary);
              }
            }

            &:nth-of-type(3) {
              &::after {
                color: var(--color-sub-orange);
              }
            }

            &::after {
              font-family: 'Material Symbols Rounded';
              font-weight: 500;
              font-style: normal;
              content: '\e5db';
              position: absolute;
              display: block;
              bottom: 0;
              left: 50%;
              z-index: 100;
              transform: translate(-50%, 85%);
              font-size: 2.5rem;
            }
          }

          & .btn {
            position: absolute;
            bottom: 0.35rem;
            left: 50%;
            transform: translateX(-50%);
            width: 100%;
            font-size: 1.25rem;
            border-radius: 50px;

            &::before {
              content: none;
            }
          }
        }

        & .scroll-down {
          display: none;
        }
      }
    }

    & .service {
      padding-top: 3.5rem;

      & .service-item {
        display: flex;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 2.375rem;
        padding-top: 1.5rem;
        margin-bottom: 3.125rem;

        &.service_01 {
          & .img {
            &::before {
              background-image: url(../img/components/obj_service01-corner-left.svg);
            }

            &::after {
              background-image: url(../img/components/obj_service01-corner-right.svg);
            }
          }
        }

        &.service_02 {
          & .img {
            &::before {
              background-image: url(../img/components/obj_service02-corner-left.svg);
            }

            &::after {
              background-image: url(../img/components/obj_service02-corner-right.svg);
            }
          }
        }

        &.service_03 {
          & .img {
            &::before {
              background-image: url(../img/components/obj_service03-corner-left.svg);
            }

            &::after {
              background-image: url(../img/components/obj_service03-corner-right.svg);
            }
          }
        }

        & .img {
          position: relative;
          flex-shrink: 0;
          width: 43.75%;
          line-height: 0;
          border-radius: 24px;
          overflow: hidden;
          z-index: 50;

          &::before {
            content: "";
            display: block;
            width: 30.47%;
            height: 25.4%;
            z-index: 75;
            position: absolute;
            top: 0;
            left: 0;
            background-size: 100%;
            background-repeat: no-repeat;
            background-position: left top;
          }

          &::after {
            content: "";
            display: block;
            width: 30.47%;
            height: 25.4%;
            z-index: 75;
            position: absolute;
            bottom: 0;
            right: 0;
            background-size: 100%;
            background-repeat: no-repeat;
            background-position: right bottom;
          }

          & img {
            width: 100%;
            height: 100%;
            -o-object-fit: cover;
            object-fit: cover;
          }
        }

        & .txt {
          flex-grow: 1;

          & .heading2 {
            margin-bottom: 1.75rem;

            & .add {
              font-size: 1.0625rem;
              font-weight: 500;
            }
          }

          & .about {
            & p {
              margin-bottom: 1.75rem;
              font-size: 1rem;
              line-height: 1.65;
            }
          }

          & .discription-list {
            border-top: 2px solid var(--color-white);

            & .item {
              align-items: flex-start;
              justify-content: flex-start;
              gap: 1rem;

              & dt {
                justify-content: flex-start;
                min-width: 100px;
                font-size: 0.9375rem;
              }

              & dd {
                font-size: 0.9375rem;
              }
            }
          }
        }
      }
    }

    & .information {
      width: 100%;
      padding: 3rem 0 3.5rem;
      background: url(../img/watari-suzuran-en/bg_information.jpg) no-repeat center center;
      background-size: cover;

      & .box {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.375rem;
        align-items: stretch;
        padding-left: 6.8%;
        padding-right: 6.8%;

        & .information-item {
          position: relative;
          padding: 1.25rem;
          border-radius: 24px;
          border: 1px solid #FFF;
          background: rgba(255, 255, 255, 0.85);
          font-family: var(--font-family-zenmaru);
          font-weight: var(--font-base-weight);

          & .heading3 {
            display: flex;
            align-items: center;
            justify-content: flex-start;
            gap: 10px;
            margin-bottom: 1.25rem;

            & .icon {
              max-width: 42px;
              height: 42px;
              line-height: 1;
            }
          }

          & ul {
            gap: 0.25rem;

            & li {
              width: 100%;
              display: inline-flex;
              align-items: center;

              &::before {
                font-family: 'Material Symbols Rounded';
                font-weight: 500;
                font-style: normal;
                content: '\e5df';
                display: inline-block;
                color: var(--color-primary);
                font-size: 1.85em;
                line-height: 1;
              }

              &.row2 {
                align-items: flex-start;
                line-height: 1.65;
              }
            }
          }

          & .etc {
            position: absolute;
            right: 1.25rem;
            bottom: 1.25rem;
          }
        }
      }
    }

    & .access {
      & .access-info {
        display: flex;
        gap: 1.65rem;
        margin-bottom: 2.5rem;

        & .img {
          flex-shrink: 0;
          width: 43.75%;
          border-radius: 24px;
          overflow: hidden;
          line-height: 0;

          & img {
            width: 100%;
            height: 100%;
            -o-object-fit: cover;
            object-fit: cover;
          }
        }

        & .txt {
          flex-grow: 1;
          padding: 1.25rem 0;
          font-family: var(--font-family-zenmaru);

          & .heading3 {
            margin-bottom: 1.25rem;
            font-weight: 700;
          }

          & p {
            margin-bottom: 0.5rem;
            font-size: var(--font-base-size);
            font-weight: var(--font-base-weight);
          }

          & .access-link {
            margin-top: 2rem;

            & a {
              width: 100%;
              max-width: 310px;
            }
          }
        }
      }

      & .access-map {
        width: 100%;
        height: auto;
        border-radius: 12px;
        overflow: hidden;
        aspect-ratio: 955 / 366;

        & iframe {
          width: 100%;
          height: 100%;
        }
      }
    }

    @media screen and (max-width: 1512px) {
      & .mv {
        & .inner {
          &::before {
            width: 276px;
            height: 186px;
          }

          &::after {
            width: 312px;
            height: 182px;
          }
        }

        & .anchor-box {
          & .link {
            & .btn {
              font-size: 1.125rem;
            }
          }
        }
      }
    }

    @media screen and (max-width: 1440px) {
      & .mv {
        & .anchor-box {
          padding: 2.5rem 6.8%;
        }
      }
    }

    @media screen and (max-width: 1179px) {
      & .mv {
        & .anchor-box {
          & .link {
            gap: 1.65rem;

            & a {
              max-width: -webkit-max-content;
              max-width: -moz-max-content;
              max-width: max-content;

              & .btn {
                font-size: 1rem;
              }
            }
          }
        }
      }

      & .service {
        & .service-item {
          & .txt {
            & .heading2 {
              font-size: 1.625rem;
              line-height: 1.25;

              & .add {
                display: inline-block;
                width: 100%;
                font-size: 1.125rem;
              }
            }

            & .about {
              font-size: 1.0625rem;
            }

            & .discription-list {
              & .item {
                & dt {
                  font-size: 1rem;
                }

                & dd {
                  font-size: 1rem;

                  & br.is-pc {
                    display: none;
                  }
                }
              }
            }
          }
        }
      }

      & .information {
        & .box {
          & .information-item {
            & .heading3 {
              font-size: 1.375rem;
            }

            & ul {
              & li {
                font-size: 1rem;
              }
            }
          }
        }
      }
    }

    @media screen and (max-width: 768px) {
      & .service {
        & .service-item {
          flex-direction: column;
          align-items: center;
          gap: 1.5rem;
          margin-bottom: 1.75rem;

          & .img {
            width: 100%;
            max-width: 420px;
          }

          & .txt {
            & .heading2 {
              margin-bottom: 1.25rem;
              text-align: center;
            }

            & .discription-list {
              & .item {
                & dd {
                  & br.is-pc {
                    display: block;
                  }
                }
              }
            }
          }
        }
      }
    }

    @media screen and (max-width: 767px) {
      & .mv {
        position: relative;
        height: calc(100svh - 103px);

        & .inner {
          &::before {
            width: 150px;
            height: 105px;
          }

          &::after {
            width: 150px;
            height: 88px;
          }
        }

        & .anchor-box {
          padding-top: 2rem;
          padding-bottom: 0;

          & .link {
            grid-template-columns: 1fr;
            gap: 1rem;

            & a {
              display: inline-block;
              width: 100%;
              max-width: unset;

              &::after {
                content: none;
              }

              & img {
                display: none;
              }

              & .btn {
                position: static;
                width: 100%;
                transform: translateX(0);
                font-size: 1.375rem;
              }
            }
          }

          & .scroll-down {
            display: block;
            width: 100%;
            max-width: 4.5rem;
            text-align: center;
            margin: 0 auto;
            line-height: 1;
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translate(-50%, 0);

            & a {
              display: inline;
              width: 100%;
              height: 100%;
              line-height: 0;
            }
          }
        }
      }

      & .service {
        margin-bottom: 2rem;
        padding-top: 0;

        & .service-item {
          margin-bottom: 1rem;

          & .txt {
            & .discription-list {
              & .item {
                gap: 0.35rem;
              }
            }
          }
        }
      }

      & .information {
        padding-top: 2rem;
        padding-bottom: 2.5rem;
        margin-bottom: 2rem;

        & .box {
          grid-template-columns: 1fr;

          & .information-item {
            & ul {
              & li {
                &.row2 {
                  align-items: flex-start;
                  line-height: 1.65;
                }
              }
            }
          }
        }
      }

      & .access {
        margin-bottom: 2.8125rem;

        & .access-info {
          flex-wrap: wrap;
          align-items: flex-start;
          gap: 0;
          margin-bottom: 1.75rem;

          & .img {
            width: 100%;
            height: 100%;
          }

          & .txt {
            padding-bottom: 0;

            & .heading3 {
              text-align: center;
            }

            & p {
              font-size: 1rem;
            }

            & .access-link {
              margin-top: 1.5rem;

              & a {
                max-width: unset;
              }
            }
          }
        }

        & .access-map {
          height: 240px;
        }
      }
    }

    @media screen and (max-width: 767px) and (min-height: 852px) and (orientation: portrait) {
      & .mv {
        height: auto;

        & .anchor-box {
          & .scroll-down {
            position: static;
            transform: translate(0, 0);
            margin-top: 2.25rem;
          }
        }
      }
    }

    @media screen and (max-width: 767px) and (max-height: 843px) and (orientation: portrait) {
      & .mv {
        height: auto;

        & .anchor-box {
          & .scroll-down {
            position: static;
            transform: translate(0, 0);
            margin-top: 2.25rem;
          }
        }
      }
    }
  }
}