@charset "UTF-8";

/*-------------------------
  suzuran-hoikuen - すずらん保育園 のスタイル
-------------------------*/

.side {
  & .header {
    & .nav {
      & ul {
        & li.select {
          & a {
            width: 100%;
            margin-bottom: 0.5rem;

            &:nth-of-type(1) {
              & .material-symbols-rounded {
                color: var(--color-primary);
              }
            }

            &:nth-of-type(2) {
              & .material-symbols-rounded {
                color: var(--color-secondary-dark);
              }
            }
          }

          & .en {
            margin-bottom: 0.25rem;
          }

          & .jp {
            display: flex;
            align-items: center;
            gap: 0.25rem;

            & .material-symbols-rounded {
              font-size: 1em;
            }
          }
        }
      }
    }

    & .phone {
      margin-bottom: 4.5rem;

      & .phone-item {
        margin-bottom: 1.25rem;

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

        &:nth-of-type(2) {
          & .num {
            color: var(--color-secondary-dark);
          }
        }
      }
    }

    & .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;

        & .name {
          width: 50%;
        }
      }
    }

    @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;
          align-items: center;
          justify-content: center;
          gap: 3.85vw;

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

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

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

            &:nth-of-type(3) {
              display: none;

              &::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;
        }
      }
    }

    & .about {
      padding-top: 3.5rem;

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

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

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

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

            &::after {
              background-image: url(../img/components/obj_service02-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: 1rem;
            display: inline-flex;
            align-items: center;
            justify-content: flex-start;
            gap: 8px;

            &::before {
              content: "";
              display: inline-block;
              width: 45px;
              height: 45px;
              background: url(../img/components/icon-suzuran.png) no-repeat center center;
              background-size: contain;
            }
          }

          & .address {
            margin-bottom: 1.625rem;
            font-family: var(--font-family-zenmaru);
            font-weight: var(--font-base-weight);
            font-size: var(--font-base-size);

            & .post-code {
              margin-right: 0.5rem;
            }

            & a {
              color: var(--color-primary);
              -webkit-text-decoration: underline;
              text-decoration: underline;
            }
          }

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

            & .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;
              }
            }
          }

          & .link-hoicil {
            & .btn {
              width: 100%;
              max-width: 275px;

              & img {
                width: 100%;
                max-width: 78px;
                height: auto;
              }
            }
          }
        }
      }
    }

    & .inquiry {
      & .box {
        &::before {
          content: "";
          display: block;
          width: 4.1875rem;
          height: 6.25rem;
          position: absolute;
          bottom: 1.25rem;
          left: 1.25rem;
          background: url(../img/components/obj_clover-left.png) no-repeat center center;
          background-size: contain;
        }

        &::after {
          content: "";
          display: block;
          width: 4.1875rem;
          height: 6.25rem;
          position: absolute;
          top: 1.25rem;
          right: 1.25rem;
          background: url(../img/components/obj_clover-right.png) no-repeat center center;
          background-size: contain;
        }

        & .heading2 {
          margin-bottom: 2rem;

          & br {
            display: none;
          }
        }

        & .select {
          display: grid;
          grid-template-columns: 1fr 1fr;
          gap: 2rem;
          padding: 0 5rem;

          & .item {
            max-width: -webkit-fit-content;
            max-width: -moz-fit-content;
            max-width: fit-content;

            &:nth-child(1) {
              & .num {
                color: var(--color-primary);
              }
            }

            &:nth-child(2) {
              & .num {
                color: var(--color-secondary-dark);
              }
            }

            & .name {
              position: relative;
              display: inline-flex;
              align-items: center;
              justify-content: center;
              -moz-column-gap: 1rem;
              column-gap: 1rem;
              width: 100%;
              margin-bottom: 0.35rem;
              color: var(--color-txt);
              font-size: 1.375rem;
              font-weight: 700;
              line-height: 1;
              vertical-align: baseline;

              &::before,
              &::after {
                content: "";
                display: inline-block;
                flex-grow: 1;
                height: 1px;
                background-color: var(--color-txt);
                width: 100%;
              }

              & em {
                flex-shrink: 0;
              }
            }

            & .num {
              width: 100%;
              display: inline-flex;
              align-items: center;
              justify-content: center;
              -moz-column-gap: 0.5rem;
              column-gap: 0.5rem;
              margin-bottom: 0.25rem;
              font-size: 2.375rem;
              font-weight: 700;
              letter-spacing: var(--font-base-letter-spacing);

              & .material-symbols-rounded {
                font-size: 0.9375em;
                transform: translateY(2.5px);
              }
            }

            & .hours {
              font-size: 1.125rem;
              font-weight: var(--font-base-weight);
              letter-spacing: var(--font-base-letter-spacing);
            }
          }
        }
      }
    }

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

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

        & .anchor-box {
          & .link {
            & a {
              max-width: 430px;

              & .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;
              }
            }
          }
        }
      }

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

                & dd {
                  font-size: 1rem;

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

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

    @media screen and (min-width: 768px) and (max-width: 1023px) {
      & .inquiry {
        & .box {
          & .select {
            gap: 1.65rem;

            & .item {
              & .name {
                font-size: 1.125rem;
              }

              & .num {
                font-size: 2rem;
              }

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

    @media screen and (max-width: 820px) {
      & .mv {
        & .inner {
          &::before {
            width: 190px;
            height: 135px;
          }

          &::after {
            width: 200px;
            height: 117px;
          }
        }
      }
    }

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

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

          & .txt {
            & .heading2 {
              padding-left: 1rem;
              padding-right: 1rem;
              margin-bottom: 1rem;
              text-align: center;
            }

            & .address {
              padding-left: 1rem;
              padding-right: 1rem;
            }

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

            & .link-hoicil {
              text-align: center;
            }
          }
        }
      }
    }

    @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;
              }

              &:nth-of-type(3) {
                display: block;
              }

              & 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;
            }
          }
        }
      }

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

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

          & .img {
            max-width: unset;
          }

          & .txt {
            & .address {
              & .post-code {
                display: inline-block;
                width: 100%;
                margin-right: 0;
              }
            }

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

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

            & .link-hoicil {
              text-align: center;
            }
          }
        }
      }

      & .inquiry {
        & .box {
          padding-bottom: 5rem;

          &::before,
          &::after {
            width: 50px;
            height: 73px;
          }

          & .heading2 {
            line-height: 1.5;

            & br {
              display: block;
            }
          }

          & .select {
            grid-template-columns: 1fr;
            gap: 2.15rem;
            padding: 0;

            & .item {
              /* & .name {}

              & .num {}

              & .hours {} */
            }
          }
        }
      }
    }

    @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;
          }
        }
      }
    }
  }
}