main {
  .h1_ttl {
    span {
      display: block;
    }
  }
  .btn {
    &.btn_anchor {
      & > a {
        &::after {
          -webkit-mask-image: url(../../img/icon/icon_scrolldown.svg);
          mask-image: url(../../img/icon/icon_scrolldown.svg);
        }
      }
    }
  }
  .label {
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    border-radius: 12px;
    padding: 4px 16px;
    background: var(--Blue-BL1);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    &::before {
      display: block;
      content: "";
      width: 16px;
      height: 16px;
      background-size: contain;
    }
    &.label_soji::before {
      background-image: url(../../img/toilet/toto/icon_souji.png);
    }
    &.label_senjo::before {
      background-image: url(../../img/toilet/toto/icon_senjo.png);
    }
    &.label_shoene::before {
      background-image: url(../../img/toilet/toto/icon_shoene.png);
    }
    &.label_etc::before {
      background-image: url(../../img/toilet/toto/icon_etc.png);
    }
  }
  .mv {
    margin-bottom: 16px;
  }
  .link_anchor_function {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
    a {
      border-radius: 4px;
      border: 1px solid var(--Black-BK3);
      padding: 16px;
      padding-right: 39px;
      display: flex;
      gap: 16px;
      position: relative;
      &::after {
        content: "";
        display: block;
        position: absolute;
        right: 16px;
        top: 0;
        bottom: 0;
        margin: auto;
        width: 16px;
        height: 16px;
        background-color: var(--Black-BK1); /* 色を指定 */
        -webkit-mask-image: url(../../img/icon/icon_scrolldown.svg);
        mask-image: url(../../img/icon/icon_scrolldown.svg);
        -webkit-mask-repeat: no-repeat;
        mask-repeat: no-repeat;
        -webkit-mask-size: contain;
        mask-size: contain;
      }
      .thumb {
        flex: 0 0 80px;
      }
      .txt {
        flex: 1;
        padding: 7px 0 7px;
        p {
          margin-top: 6px;
        }
      }
      .label {
      }
    }
  }
  .maker_series {
    .item {
      margin-top: 48px;
      display: flex;
      flex-direction: column;
      gap: 16px;
      .pict {
        order: 1;
        img {
          border-radius: 4px;
        }
      }
      h3 {
        order: 0;
      }
      .price {
        order: 2;
        dt {
          font-size: 13px;
        }
        .robot {
          font-size: 30px;
        }
        dd {
          .en {
            font-size: 13px;
          }
        }
      }
      .txt {
        order: 3;
        flex: 1 0 0;
        ul.list {
          margin-top: 0;
          margin-bottom: 0;
          font-size: 16px;
          li::before {
            bottom: auto;
          }
        }
      }
      .btn {
        margin-top: 8px;
        order: 4;
      }
    }
  }

  #function {
    > .inner > .function_title:not(:first-of-type) {
      margin-top: 80px;
    }
    .function_title {
      margin-bottom: 40px;
      text-align: center;
      .label {
        > * {
        }
      }
      .title {
        p {
          margin-top: 8px;
          margin-bottom: 0;
        }
        h3 {
          margin-top: 0;
          color: var(--Blue-BL1);
        }
      }
      > p {
        text-align: left;
      }
    }
    .function_column {
      margin-bottom: 80px;
      display: flex;
      flex-direction: column;
      gap: 40px;
      > * {
        flex: 1;
      }
      .item {
        .pict {
          margin-bottom: 16px;
          img {
            border-radius: 4px;
          }
        }
        .txt {
          h4 {
          }
          p {
            margin-top: 8px;
          }
        }
      }
    }
  }
  .link_maker {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    font-weight: 700;
    gap: 16px 24px;
    > * {
      width: calc((100% - 24px) / 2);
    }
    > * > a {
      display: flex;
      align-items: center;
      gap: 12px;
      align-self: stretch;
      position: relative;
      padding: 8px 44px 8px 0;
      border-bottom: 1px solid var(--Black-BK3);
      transition: 0.2s;
      &::after {
        content: "";
        display: block;
        position: absolute;
        right: 16px;
        top: 0;
        bottom: 0;
        margin: auto;
        width: 16px;
        height: 16px;
        background-color: var(--Black-BK1); /* 色を指定 */
        -webkit-mask-image: url(../../img/icon/icon_arrow.svg);
        mask-image: url(../../img/icon/icon_arrow.svg);
        -webkit-mask-repeat: no-repeat;
        mask-repeat: no-repeat;
        -webkit-mask-size: contain;
        mask-size: contain;
      }
      &:hover {
        border-bottom: 1px solid var(--Black-BK1);
      }
      p {
        flex: 1 0 0;
        margin: 0;
      }
      .thumb {
        width: 48px;
        height: 48px;
      }
      .logo {
        height: 50px;
        flex: 1 0 0;
      }
    }
  }
  #lineup {
    .slider-szL {
      margin-left: 0;
      visibility: visible;
      .splide__list {
        gap: 24px 15px;
        flex-wrap: wrap;
      }
      .splide__slide {
        width: calc((100% - 15px) / 2);
        .wrap {
          margin: 0;
        }
        .price {
          display: none;
        }
        .feature {
          ul.list {
            font-weight: normal;
          }
        }
        .btn {
          & > a {
            font-size: 12px;
            padding: 8px 10px;
          }
        }
        .favo {
          font-size: 13px;
        }
      }
    }
  }
}

@media (min-width: 576px) and (max-width: 1023px) {
  /* タブレット用（必要に応じて） */
}
@media (min-width: 576px) {
  main {
    .h1_ttl {
      span {
        display: inline;
        margin-left: 0.5em;
      }
    }
    .mv {
      max-width: 1120px;
      width: 100%;
      padding-left: 0;
      padding-right: 0;
      margin-left: auto;
      margin-right: auto;
      margin-bottom: 24px;
    }
    .link_anchor_function {
      flex-direction: row;
      flex-wrap: wrap;
      > * {
        width: calc((100% - 48px) / 3);
      }
    }
    .maker_series {
      display: flex;
      justify-content: center;
      gap: 24px;
      .item {
        margin-top: 0;
        max-width: 262px;
        .pict {
          order: 0;
        }
        h3 {
          order: 1;
          margin-top: 0;
        }
        .price {
          order: 2;
          dt {
          }
          .robot {
            font-size: 22px;
          }
          dd {
            .en {
              font-size: 10px;
            }
          }
        }
        .txt {
          order: 3;
          flex: 1 0 0;
          ul.list {
            font-size: 13px;
          }
        }
        .btn {
          order: 4;
          margin-top: 16px;
          a {
            width: 100%;
          }
        }
      }
    }

    #function {
      .function_title {
        display: flex;
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 12px 16px;
        text-align: left;
        margin-bottom: 24px;
        .label {
          border-radius: 4px;
          padding: 8px 16px 8px 8px;
          font-size: 16px;
          > * {
          }
        }
        .title {
          p {
            margin-top: 0;
            margin-bottom: 0;
          }
          h3 {
            margin-top: 0;
            color: var(--Blue-BL1);
          }
        }
        > p {
          text-align: left;
          margin-bottom: 12px;
        }
      }
      .function_column {
        margin-bottom: 80px;
        flex-direction: row;
        gap: 40px 24px;
        &.column3 {
          > * {
            width: calc((100% - 48px) / 3);
          }
        }
        &.column2 {
          flex-wrap: wrap;
          > * {
            max-width: calc((100% - 24px) / 2);
            flex: auto;
          }
        }
      }
    }
    #lineup {
      .slider-szL {
        .splide__list {
          gap: 16px;
          .splide__slide {
            width: calc((100% - 48px) / 4);
            .wrap {
              margin: 0;
            }
            .price {
              display: flex;
            }
            .feature {
              ul.list {
                font-weight: 700;
              }
            }
            .btn {
              & > a {
                font-size: 16px;
                padding: 8px 24px;
              }
            }
            .favo {
              font-size: 16px;
            }
          }
        }
      }
    }
    .link_maker {
      flex-wrap: nowrap;
    }
  }
}
