@charset "UTF-8";

body {
  --col_Background: #ede7db;
  --ff-serif: "shippori-mincho", serif;
}

.wrapper {
  min-width: unset;
}

.block-header,
.block-gnav,
#header-news,
.top-sect-news,
.pane-footer {
  display: none;
}

.msg_sample-wrapper {
  h1 {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    border: 3px solid #c6b87f;
    text-align: center;
    font-family: var(--ff-serif);
    font-weight: normal;
    color: #41366a;
    background: #ffffff;
  }

  ol.msg_sample-flow {
    display: flex;
    justify-content: center;

    li {
      box-sizing: border-box;
      list-style: none;
      border: 3px solid #c6b87f;
      position: relative;
      text-align: center;
      font-family: var(--ff-serif);
      color: #41366a;
      background: #ffffff;

      &::before {
        content: "";
        position: absolute;
        top: -3px;
        display: block;
        color: #ffffff;
        background: #c6b87f;
      }
      &:nth-child(1)::before { content: "1"; }
      &:nth-child(2)::before { content: "2"; }
      &:nth-child(3)::before { content: "3"; }

      & + &::after {
        content: "";
        position: absolute;
        aspect-ratio: 1 / 1;
        background: transparent url("data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2034.49%2038.3%22%3E%0A%3Crect%20x%3D%222.79%22%20y%3D%228.77%22%20width%3D%2215.17%22%20height%3D%2220.76%22%20transform%3D%22translate(-8.77%2029.53)%20rotate(-90)%22%20style%3D%22fill%3A%20%23c6b87f%3B%22%2F%3E%0A%3Cpolygon%20points%3D%2234.49%2019.15%2014.91%200%2014.91%2038.3%2034.49%2019.15%22%20style%3D%22fill%3A%20%23c6b87f%3B%22%2F%3E%0A%3C%2Fsvg%3E") no-repeat 50% 50% /contain;
      }
    }
  }
}

@media screen and (min-width: 641px) { /*-- PC --*/
  .msg_sample-wrapper {
    margin: 0 auto 90px;
    width: 960px;

    img {
      display: block;
    }

  .block-page-caption {
    position: relative;
    margin: 0;
    padding: 75px 0 72px;

    &::before,
    &::after {
      content: "";
      display:block;
      aspect-ratio: 1 / 1;
      position: absolute;
      text-align: center;
      background-repeat: no-repeat;
      background-size: contain;
    }
    &::before {
      height: 220px;
      top: 0px;
      right: -32px;
      background-position: 100% 0;
      background-image: url("/img/usr/@brands/osonae/ctop/about-bg01.webp");
    }
    &::after {
      height: 220px;
      bottom: 10px;
      left: -72px;
      background-position: 0 100%;
      background-image: url("/img/usr/@brands/osonae/ctop/about-bg02.webp");
    }

    h1 {
      border-radius: 10px;
      margin: 0 auto;
      height: 180px;
      width: 840px;
      font-size: 4.6rem;

      span {
        line-height: 1.1;
        font-size: 7.5rem;
        margin-top: -8px;
      }
    }
  }

  ol.msg_sample-flow {
    display: flex;
    margin: 0 auto;
    width: 840px;
    gap: 40px;

    li {
      flex-grow: 0;
      display: flex;
      justify-content: flex-start;
      align-items: center;
      flex-direction: column;
      align-items: center;
      min-width: 240px;
      width: 100%;
      border-radius: 10px;
      padding: 64px 0 8px;
      line-height: 1.5;
      letter-spacing: 0.05em;
      font-feature-settings: "palt";
      font-weight: 600;
      font-size: 2.4rem;

      img {
        aspect-ratio: 3 /2;
        height: 135px;
        width: 100%;
        scale: 95%;
        object-fit: contain;

        li:last-child & {
          scale: 100%;
        }
      }

      p {
        letter-spacing: 0.1em;
        margin-top: 24px;

        small {
          margin-top: 8px;
          display: block;
          letter-spacing: 0.05em;
          font-weight: 700;
          font-size: 1.2rem;
          color: var(--cl-br, #433d37);
        }
      }

      &::before {
        border-radius: 0 0 88px 88px;
        width: 88px;
        line-height: 44px;
        font-size: 3.5rem;
      }

      & + &::after {
        top: 50%;
        transform: translateY(-50%);
        left: -43px;
        width:40px;
        background-size: 80%;
      }
    }
  }

    .msg_sample-lead {
      margin: 48px 0 24px;
      text-align: center;
      font-family: var(--ff-serif);
      font-weight: 600;
      font-size: 2.6rem;
    }

    h2 {
      margin-top: 48px;
      border-bottom: 1px solid var(--cl-heading, #444444);
      padding: 0 0 8px;
      text-align: center;
      font-size: 2.8rem;
    }

    textarea {
      box-sizing: border-box;
      display: block;
      margin: 16px auto 8px;
      border-radius: 0;
      position: relative;
      min-width: 400px;
      width: 720px;
      max-width: 100%;
      padding: 16px;
      min-height: 10lh;
      field-sizing: content;
      transition: .3s;
      font-feature-settings: 'palt';

      &::before {
        content: "CLICK";
        position: absolute;
        bottom: 0;
        right: 0;
        display: block;
        height: 24px;
        width: 5em;
        color: #ffffff;
        background: #cccccc;
      }
    }

    p.msg-note {
      margin: 0 auto;
      width: 720px;
      font-size: 1.2rem;
      padding-left: 1.5rem;
      text-indent: -1.2rem;
      color: #666666;
    }
  }
}

@media screen and (max-width: 640px) { /*-- SP --*/
  #header-wrapper {
    display: none;
  }

  .msg_sample-wrapper {
    margin: 0 auto 32px;

    img {
      margin: 8px 0 0;
      display: block;
      max-width: 100%;
    }

    .block-page-caption {
      position: relative;
      margin: 0 -16px 8px;
      padding: 40px 16px;
      overflow: hidden;

      &::before,
      &::after {
        content: "";
        display:block;
        aspect-ratio: 1 / 1;
        position: absolute;
        text-align: center;
        background-repeat: no-repeat;
        background-size: contain;
      }
      &::before {
        height: 100px;
        top: -8px;
        right: -16px;
        background-position: 100% 0;
        background-image: url("/img/usr/@brands/osonae/ctop/about-bg01.webp");
      }
      &::after {
        height: 100px;
        bottom: 0;
        left: -16px;
        background-position: 0 100%;
        background-image: url("/img/usr/@brands/osonae/ctop/about-bg02.webp");
      }

      h1 {
        border-radius: 10px;
        margin: 0 auto;
        padding: 8px;
        font-feature-settings: "palt";
        font-size: 2.2rem;

        span {
          font-size: 3.6rem;
        }
      }
    }

    ol.msg_sample-flow {
      display: flex;
      flex-direction: column;
      margin: 0 auto;
      gap: 40px;

      li {
        flex-grow: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column-reverse;
        align-items: center;
        min-width: 240px;
        border-radius: 10px;
        padding: 48px 8px 16px;
        line-height: 1.5;
        font-feature-settings: "palt";
        font-weight: 600;
        font-size: 1.8rem;

        &::before {
          border-radius: 0 0 72px 72px;
          width: 72px;
          line-height: 36px;
          font-size: 2.6rem;
        }

        & + &::after {
          top: -43px;
          left: 50%;
          transform: translateX(-50%) rotate(90deg);
          width:40px;
          background-size: 80%;
        }

        img {
          aspect-ratio: 3 /2;
          height: 160px;
          width: 100%;
          scale: 100%;
          object-fit: contain;

          &:last-of-type {
            height: 180px;
          }
        }

        p {
          margin-bottom: 24px;
          letter-spacing: 0.05em;
          font-size: 2.6rem;

          small {
            margin-top: 8px;
            display: block;
            font-weight: 700;
            font-size: 1.4rem;
            color: var(--cl-br, #433d37);
          }
        }

        &:nth-child(2) {
          flex-grow: 1;
        }
      }
    }

    .msg_sample-lead {
      margin: 32px 0 24px;
      font-family: var(--ff-serif);
      font-weight: 600;
      font-size: 2.0rem;
    }

    h2 {
      margin-top: 40px;
      border-bottom: 1px solid var(--cl-heading, #444444);
      padding: 0 0 8px;
      font-size: 2rem;
    }

    textarea {
      box-sizing: border-box;
      margin: 16px 0;
      border-radius: 0;
      position: relative;
      width: 100%;
      padding: 16px;
      min-height: 10lh;
      field-sizing: content;
      transition: .3s;

      &:focus {
        height: 100vh;
        border-radius: 5px;
      }
    }

    p.msg-note {
      font-size: 1.2rem;
      padding-left: 1.5rem;
      text-indent: -1.2rem;
      color: #666666;
    }
  }
}