@charset "UTF-8";

.page-mv {
    background-image: url(../../img/message/mv-img.png);
    min-height: 80rem;
    /* margin-top: 3rem; */
    padding-top: 32rem;

    @media screen and (max-width: 767px) {
      min-height: 28rem;
      background-image: url(../../img/message/mv-img-sp.png);
      background-size: cover;
      background-position: center;
      margin-top: 6rem;
      padding-top: 0;
    }

    .mv-text-box {
      @media screen and (max-width: 767px) {
        margin-top: -2rem;
      }
    }
}

.top-desc {
    position: relative;
    padding: 14.6rem 0;
    padding-bottom: 7rem;
    z-index: 0;
    line-height: 2.5;
    font-size: 2rem;
    font-weight: bold;
    text-align: center;

    @media screen and (max-width: 767px) {
      font-size: 1.6rem;
      padding-bottom: 6rem;
      text-align: left;
      padding-top: 4rem;
      text-align: center;
      letter-spacing: 1px;
    }
}

.sec-message {
  padding-bottom: 20rem;

    @media screen and (max-width: 767px) {
        background: linear-gradient(to bottom, #7A5B3A, #DDCEBF);
        padding-top: 6rem;
        padding-bottom: 8rem;
      
    }
    
    .common-page-title {

        @media screen and (max-width: 767px) {
          color: #fff;
          font-size: 2.4rem;
        }
    }
    
    .content-box {
        background: linear-gradient(to bottom, #7A5B3A, #DDCEBF);
        padding: 25rem 0;
        transform: translateX(-10vw) rotate(-15deg);
        border-radius: 50%;
        width: 120vw;
        margin-top: -20rem;
    
        @media screen and (max-width: 767px) {
          width: 100%;
          margin-top: 0;
          border-radius: 0;
          transform: translateX(0) rotate(0deg);
          background: none;
          padding: 10rem 0;
          padding-bottom: 0;
          padding-top: 4rem;
        }

        .inner {
            display: flex;
            gap: 10rem;
            color: #fff;
            transform: rotate(15deg) translateY(2rem);
            padding-left: 10rem;
            
            @media screen and (max-width: 767px) {
                flex-direction: column;
                gap: 5rem;
                padding-left: 0;
                transform: rotate(0deg) translateY(0);
            }

        }

        .img-box {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 4.5rem;

            & img {

            }

            .desc {
                font-size: 2rem;

                @media screen and (max-width: 767px) {
                  font-size: 1.6rem;
                }

                & span {
                    font-size: 2.2rem;

                    @media screen and (max-width: 767px) {
                      /* font-size: 2.2rem; */
                    }
                }


            }

        }

        .text-box {
            flex: 1;
            max-width: 75rem;
            width: 75rem;

            @media screen and (max-width: 767px) {
              max-width: 100%;
              width: 100%;
            }

            .title {
                font-size: 3.6rem;
                font-weight: bold;
                margin-bottom: 6rem;
                line-height: 1.5;
                letter-spacing: 5px;

                @media screen and (max-width: 767px) {
                  font-size: 2.6rem;
                  letter-spacing: 2px;
                  margin-bottom: 2rem;
                }

            }

            .main-text {
                font-size: 1.6rem;
                font-weight: 500;
                line-height: 2;

            }
        }
    }
    

}

.sec-msg-sub {
    padding: 0;
    padding-bottom: 18rem;

    @media screen and (max-width: 767px) {
        padding-bottom: 8rem;
      &:nth-child(3) {
        padding-top: 6rem;
      }
    }
    
    .inner {
        display: flex;
        justify-content: space-between;

        @media screen and (max-width: 1025px) {
          gap: 3rem;
        }

        @media screen and (max-width: 767px) {
          flex-direction: column;
          gap: 3rem;
        }
    }

    .common-page-title {
      @media screen and (max-width: 376px) {
              font-size: 2.5rem;
            }

        & span {
            color: #7A5B3A;
            border: 4px solid currentColor;
            display: inline-block;
            line-height: 1;
            margin-top: 1rem;
            padding-top: 8px;
            width: 70px;
            display: inline-flex;
            justify-content: center;
            align-items: center;
            font-family: "Zen Kaku Gothic New", sans-serif;

            @media screen and (max-width: 767px) {
              display: inline;
              margin-top: 0;
              margin-left: 0;
              font-size: 2.2rem;
              padding: 5px 10px;
            }

            
        }
    }

    .content-box {
        display: flex;
        gap: 7.5rem;

        @media screen and (max-width: 767px) {
          flex-direction: column;
          gap: 3rem;    
        }

        .text-box {
            flex: 0 0 58rem;
            text-align: justify;
            font-size: 1.4rem;
            line-height: 2;

            @media screen and (max-width: 767px) {
              flex: 0 0 auto;
              order: 1;
            }
        }

        .img-box {
          @media screen and (max-width: 767px) {
            order: 0;
          }
        }
    }
}