* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

a {
  color: #323232;
  text-decoration: none;
}

ul {
  list-style: none;
}

input {
  border: none;
}

select {
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
  border: 0;
  margin: 0;
  padding: 0;
  background: none transparent;
  vertical-align: middle;
  font-size: inherit;
  color: inherit;
}

body {
  padding: 0;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  color: #323232;
  min-width: 320px;
  margin: 0 auto;

  h2 {
    font-size: 18px;
  }
  p {
    font-size: 16px;
  }
  small {
    font-size: 14px;
  }

  /* 既存フッター崩れ対応 */
  footer,
  .pc-footer {
    font-size: 13px;
    ul li {
      line-height: 1.8em;
    }
  }
}

.zen-old-mincho-bold {
  font-family: 'Zen Old Mincho', serif;
  font-weight: 700;
  font-style: normal;
}

label.checkbox-gold {
  position: relative;
}
input.checkbox-gold {
  display: none;
}
label.checkbox-gold::after,
label.checkbox-gold::before {
  position: absolute;
  content: '';
  display: block;
  top: 50%;
}
label.checkbox-gold::after {
  left: -17px;
  top: 10px;
  height: 5px;
  width: 100px;
  border-bottom: 4px solid rgba(204, 177, 105, 1);
  border-left: 8px solid rgba(144, 79, 10, 1);
  transform: rotate(-50deg) perspective(50px) rotateY(60deg);
  transform-origin: 0 45%;
  opacity: 0;
}
label.checkbox-gold::before {
  left: -20px;
  margin-top: -6px;
  width: 10px;
  height: 10px;
  border: 2px solid #fff;
}
input.checkbox-gold:checked + label.checkbox-gold:after {
  opacity: 1;
}
input.checkbox-gold:checked + label.checkbox-gold:before {
  background: #fff;
}

@keyframes fall {
  0% {
    background-position-y: 0;
    opacity: 0;
  }
  7% {
    opacity: 1;
  }
  97% {
    opacity: 1;
  }
  99% {
    opacity: 0;
  }
  100% {
    opacity: 0;
    background-position-y: calc(-100vh + 50px);
  }
}

.top-img-container {
  background-image: url(/assets/images/toushi-new/titlebg.webp);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  height: calc(100vh + 70px);
  min-height: 840px;
  width: 100%;
  min-width: 1100px;

  display: flex;
  position: relative;
  overflow: hidden;
  align-items: center;

  .top-img {
    background-repeat: repeat-y;
    background-size: contain;
    background-position: top;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
  }
  .top-img.front {
    background-image: url(/assets/images/toushi-new/titlebg_parallax_02.webp);
    animation: fall 60s infinite linear;
  }

  .top-img.back {
    background-image: url(/assets/images/toushi-new/titlebg_parallax_01.webp);
    animation: fall 60s infinite linear;
  }
}

.top-img-text-img-container {
  position: absolute;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;

  .img-area {
    display: flex;
    justify-content: center;

    &:nth-child(2) {
      margin-top: 50px;
    }
  }

  .text-area {
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
    text-shadow: -1px -1px 0 #dae3e7, 1px -1px 0 #dae3e7, -1px 1px 0 #dae3e7, 1px 1px 0 #dae3e7;

    & > h2 {
      margin: 30px 0;
      font-size: 24px;
      br {
        display: none;
      }
    }
    p:nth-last-of-type(1) br {
      display: none;
    }
  }

  .button-area {
    display: flex;
    gap: 30px;
    min-width: 640px;
    margin-bottom: 30px;

    .sell-button,
    .buy-button {
      color: #fff;
      flex: 1;
      padding: 10px;
      position: relative;
      text-align: center;
      text-decoration: none;
      transition: background 0.3s;

      span {
        border-top: 2px solid;
        border-bottom: 2px solid;
        margin-right: 20px;
      }
    }

    .sell-button {
      background: #c56b00;

      span {
        margin-left: -15px;
      }

      &:hover {
        background: #d18933;
      }
      img {
        position: absolute;
        width: 6px;
        right: 8px;
        top: 19px;
      }
    }

    .buy-button {
      background: #006477;

      &:hover {
        background: #338392;
      }
      img {
        position: absolute;
        width: 6px;
        right: 10px;
        top: 24px;
        transform: translateY(-50%) rotate(90deg);
      }
    }
  }
}

.contact-area {
  text-align: center;

  &.text-shadow {
    text-shadow: -1px -1px 0 #dae3e7, 1px -1px 0 #dae3e7, -1px 1px 0 #dae3e7, 1px 1px 0 #dae3e7;
  }

  p {
    margin: 0;
    font-weight: bold;
  }

  .tel-info {
    color: #0195b2;
    display: flex;
    align-items: center;
    justify-content: center;

    & > div {
      margin-top: 3px;
      text-align-last: justify;
    }
    & > div p {
      font-size: 14px;
      line-height: 1;
    }
    .tel {
      color: #0195b2;
      font-size: 34px;
      font-weight: bold;
      margin-left: 10px;
      pointer-events: none;
    }
  }
  .annotation {
    font-size: 12px;
  }
}

.search-form {
  width: 1100px;
  padding: 0 50px;
  margin: 0 auto;
}

.search-form-container {
  background: #006376;
  color: #fff;
  padding: 30px;
  margin: -50px 0 0;
  position: relative;

  & > h2,
  & > p {
    text-align: center;
    margin: 20px 0 40px;
  }

  .search-button {
    background: #904f0a;
    background: linear-gradient(90deg, rgba(144, 79, 10, 1) 8%, rgba(204, 177, 105, 1) 51%, rgba(161, 122, 87, 1) 100%);
    box-shadow: 0 0 5px #904f0a;
    border-radius: 50px;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 12px;
    padding: 16px 140px;
    position: relative;
    transition: filter 0.3s;

    &:hover {
      filter: brightness(1.1);
    }
  }

  .search-icon {
    width: 20px;
    position: absolute;
    right: 18px;
    top: 19px;
  }

  .search-form-keyword {
    background: #00778e;
    padding: 30px 0;
    

    p {
      text-align: center;
      margin: 20px 0 0 0;
    }

    & > div {
      display: flex;
      align-items: center;
      justify-content: center;

      label {
        font-weight: bold;
        font-size: 18px;
      }
      form{
		display: flex;
        align-items: center;
        justify-content: center;
        
        .keyword {
          margin-left: 20px;
          height: 43px;
          width: 280px;
        }
        .search-button-keyword {
          background: #00778e;
          border: 1px solid;
          border-radius: 50px;
          color: #fff;
          font-size: 18px;
          font-weight: bold;
          letter-spacing: 12px;
          padding: 8px 40px;
          position: relative;
          margin-left: 20px;
          transition: filter 0.3s;
          vertical-align: text-top;

          &:hover {
            filter: brightness(1.1);
          }
        }
        .search-icon {
          width: 20px;
          position: absolute;
          right: 12px;
          top: 11px;
        }
      }
    }
  }
}

.recommended {
  margin: 80px auto;
  padding: 0 50px;
  width: 1100px;

  & > h2 {
    color: #0195b2;
    text-align: center;
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 20px;
  }

  .recommended-slider {
	  display: none;
    .slick-list {
      margin: 0 -18px;
    }
    .slick-track {
      display: flex;
      justify-content: space-between;
      margin: 0;
    }
    .slick-slide {
      height: auto !important;
      margin: 0 12px;
    }

    .item {
      border: 1px solid rgb(242 242 242);
      transform: scale(0.98); /* box-shadow を見せる */

      &:hover {
        box-shadow: rgba(0, 0, 0, 0.3) 0px 0px 5px;
      }

      .img-wrap {
        width: 100%;
        aspect-ratio: 1 / 1;
        overflow: hidden;

        img {
          width: 100%;
          height: 100%;
          object-fit: cover;
        }
      }

      p {
        margin: 4px 10px;
        color: #323232;

        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        overflow: hidden;
        text-overflow: ellipsis;
      }
      .name {
        color: #0195b2;
        font-size: 18px;
        font-weight: bold;
        text-decoration: underline;
      }
      .price {
        font-weight: bold;
        font-size: 18px;
      }
    }
  }
}

.feature {
  margin: 80px auto 0;
  padding: 0 50px;
  width: 1100px;

  .feature-panel-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px 30px;

    .panel {
      color: #323232;
      transition: box-shadow 0.2s ease;
      display: grid;
      grid-row: span 2;

      &:hover {
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
      }

      img {
        display: block;
        width: 100%;
        height: 200px;
        object-fit: cover;
      }
      p {
        font-size: 15px;
        font-weight: bold;
        margin: 0;
        padding: 10px;
        text-align: center;
        letter-spacing: -1px;
      }
    }
  }

  .panel-4fr {
    grid-template-columns: repeat(4, 1fr);

    & .panel {
      p {
        padding: 10px 4px;
      }
    }
  }
}

.performance-reason-service {
  background-image: url(/assets/images/toushi-new/bg_01.webp), url(/assets/images/toushi-new/bg_02.webp);
  background-repeat: no-repeat, no-repeat;
  background-position: left top, right bottom;
  margin-top: 50px;
  min-width: 1100px;

  .performance-container {
    width: 1100px;
    margin: auto;
    padding: 0 50px;

    & > h2 {
      font-size: 28px;
      line-height: 120%;
      text-align: center;
      padding: 100px 0 50px;

      &.font-xl {
        font-size: 34px;
      }
    }
  }

  .performance-heading-text {
    color: #0195b2;
    font-size: 24px;
  }

  .performance-panel-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    row-gap: 20px;

    .panel {
      color: #323232;
      display: grid;
      grid-template-rows: subgrid;
      grid-row: span 2;

      img {
        display: block;
        object-fit: contain;
        margin: auto;

        &.img-1 {
          width: 320px;
        }
        &.img-2 {
          width: 300px;
        }
      }
      p {
        font-weight: bold;
        margin: 0 0 0 80px;
        line-height: 2;
      }
    }
  }

  .reason-heading-text {
    font-size: 30px;

    br {
      display: none;
    }
  }

  .reason-panel-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    column-gap: 40px;
    row-gap: 60px;

    .panel {
      color: #323232;
      display: grid;
      grid-template-rows: subgrid;
      grid-row: span 2;

      &.panel-pc {
        display: block;
      }

      img {
        width: 100%;
        height: 250px;
        object-fit: contain;
      }
      img.img-sp {
        display: none;
      }

      p {
        font-weight: bold;
        margin: 0;
        line-height: 1.8;

        &.text-body {
          letter-spacing: -1.3px;
        }
      }
      .title {
        color: #0195b2;
        font-size: 22px;
        display: flex;
        justify-content: left;

        span {
          font-size: 26px;
          line-height: 1.5;
        }
      }
      .sub {
        color: #0195b2;
        margin-top: 20px;
        padding-left: 10px;
        position: relative;

        &::before {
          content: '';
          position: absolute;
          top: 2px;
          bottom: 0;
          left: 0;
          border-left: 4px solid #0195b2;
        }
      }
      .separator {
        width: 100%;
        height: 1px;
        background: #000;
        margin: 20px 0;
      }
      small {
        margin-top: 20px;
      }
    }
  }

  .service-heading-text {
    font-size: 28px;
    letter-spacing: -2px;
    margin: 0;

    br {
      display: none;
    }
  }

  .service-heading-sub-text {
    text-align: center;
    margin: 0;
  }
  .service-panel-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 50px;
    gap: 1px;
    background: #ccc;
    padding: 1px 1px 0 1px;

    .panel {
      background: #fff;
      color: #323232;
      display: grid;
      grid-template-rows: subgrid;
      grid-row: span 3;
      padding: 10px;

      &:nth-of-type(2n) {
        background: #f1f1f1;
      }
      &:nth-of-type(n + 4) {
        border-bottom: 1px solid #ccc;
      }

      img {
        display: block;
        width: 100%;
        height: 170px;
        object-fit: contain;
        padding: 30px;
      }

      p {
        text-align: center;

        &:not(.title) {
          font-size: 14px;
          letter-spacing: -1px;
        }
        &.title {
          color: #0195b2;
          font-size: 18px;
          font-weight: bold;
        }
      }
    }
  }
}

.useful {
  & > h2 {
    font-size: 36px;
    text-align: center;
    padding-top: 100px;
  }

  .useful-panel-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    margin-top: 50px;

    & > .panel {
      background-image: url(/assets/images/toushi-new/boxbg_01.webp);
      background-repeat: no-repeat;
      background-position: left top;
      background-size: cover;
      justify-content: end;
      & ~ .panel {
        background-image: url(/assets/images/toushi-new/boxbg_02.webp);
        background-repeat: no-repeat;
        background-position: left top;
        background-size: cover;
        justify-content: start;
      }
    }

    .panel {
      color: #fff;
      display: grid;
      grid-template-rows: subgrid;
      grid-row: span 4;
      padding: 40px 60px;

      p {
        margin: 0;
        text-align: center;

        br {
          display: none;
        }
      }
      a {
        color: #fff;
      }
      .title {
        font-size: 20px;
        font-weight: bold;
        margin-bottom: 10px;
      }
      ul {
        padding: 50px;
        margin: auto;

        li {
          background: #ffffff33;
          text-align: center;
          margin-bottom: 10px;

          &:last-child {
            margin-bottom: 0;
          }

          &:hover {
            background: #ffffff55;
          }

          a {
            display: block;
            padding: 10px 25px;
            transition: background 0.3s;
            position: relative;

            img {
              position: absolute;
              width: 6px;
              top: 20px;
              right: 10px;
            }
          }
        }
      }
      .more {
        display: flex;
        justify-content: center;

        a {
          border-bottom: 2px solid #ffffff99;
          padding-bottom: 3px;
          position: relative;

          img {
            position: absolute;
            width: 6px;
            top: 10px;
            right: -14px;
          }
        }
      }
    }
  }
}

.support {
  .support-container {
    width: 1100px;
    padding: 0 50px;
    margin: auto;
  }

  .support-panel-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 50px;

    .panel {
      background: #f1f1f1;
      display: grid;
      grid-template-rows: subgrid;
      grid-row: span 3;
      padding: 40px 20px;

      p {
        margin: 0;
        text-align: center;
      }
      .title {
        font-size: 20px;
        font-weight: bold;
        margin-bottom: 10px;
      }
      &:nth-child(2) {
        letter-spacing: -1px;
      }

      .link-container {
        display: flex;
        justify-content: center;

        a {
          background: #0195b2;
          border-bottom: 4px solid #017a91;
          color: #fff;
          padding: 14px 40px 10px;
          transition: filter 0.3s;
          position: relative;

          &:hover {
            filter: brightness(1.1);
          }
          img {
            position: absolute;
            width: 6px;
            top: 24px;
            right: 8px;
          }
        }
      }
    }
  }
  .support-tel-container {
    border: 2px solid #f1f1f1;
    border-radius: 5px;
    margin: 20px 0 80px 0;
    padding: 30px 0;

    & > p {
      font-size: 18px;
      font-weight: bold;
      margin: 0;
      text-align: center;
    }
  }
}

/* 追従ボタン */
.fixed-buttons {
  position: fixed;
  right: 0;
  bottom: 20%;
  display: flex;
  flex-direction: column;
  gap: 2px;
  z-index: 10;

  /* 各ボタンスタイル */
  .sell-button,
  .buy-button {
    color: #fff;
    position: relative;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    padding: 14px 10px 32px;
    text-align: center;
    font-size: 14px;
    text-decoration: none;
    border-radius: 2px;
    transition: background 0.3s;

    img {
      position: absolute;
      bottom: 9px;
      right: 15px;
      width: 16px;
    }
  }

  .sell-button {
    background: #c56b00;

    &:hover {
      background: #d18933;
    }
  }

  .buy-button {
    background: #006477;

    &:hover {
      background: #338392;
    }
  }
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border: 1px solid #dae3e7;
  border-radius: 50px;
  padding: 14px 40px;
  position: absolute;
  left: 0;
  right: 0;
  margin: 20px auto;
  width: 1100px;
  white-space: nowrap;
  z-index: 10;

  .header-img-menu-container .logo-wrapper {
    display: flex;

    img {
      width: 270px;
    }
  }

  .nav-menu-box-inner-1 {
    font-size: 13px;

    ul li {
      position: relative;

      a:before {
        content: '';
        position: absolute;
        left: -8px;
        top: 15px;
        border: solid #666;
        border-width: 0 2px 2px 0;
        padding: 2px;
        transform: translateY(-50%) rotate(-45deg);
      }
    }
  }

  .nav-menu-box-inner-2 {
    display: flex;
    font-weight: bold;
    margin: 5px 66px 0 0;

    & > ul li.active a {
      color: #0196b2;
      border-bottom: 3px solid #0196b2;
    }

    & > ul li:last-child {
      display: flex;
      align-items: center;
      font-size: 11px;
      margin-right: 5px;
    }
  }
}

.hamburger {
  width: 30px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  height: 20px;
}

.hamburger span {
  display: block;
  height: 3px;
  background: #0195b2;
  border-radius: 2px;
  transition: 0.3s;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* PC用 */
@media (min-width: 769px) {
  .hamburger {
    display: none;
  }

  .nav-menu {
    display: flex !important;
    justify-content: end;
    margin-right: 18px;

    div > ul {
      display: flex;
      gap: 24px;
      justify-content: end;
    }
    .nav-menu-box-inner-2 > ul {
      gap: 20px;
    }
  }

  .nav-menu a,
  .nav-menu small {
    padding: 4px;
  }

  .nav-menu .submenu {
    display: block;
    background: #000;
    position: absolute;
    cursor: pointer;
    text-align: center;
  }

  .submenu {
    background: #555;
    border-radius: 30px;
    padding: 0px 18px 0px 8px;
    position: relative;
    width: 82px;

    &::after {
      content: '';
      position: absolute;
      right: 8px;
      top: 13px;
      border: solid #fff;
      border-width: 0 2px 2px 0;
      padding: 2px;
      transform: translateY(-50%) rotate(45deg);
    }
    &.open::after {
      top: 15px;
      transform: translateY(-50%) rotate(-135deg);
    }
  }
  .submenu.open {
    border-radius: 15px;
    padding: 0;

    li {
      display: block;
      padding: 0px 18px 0px 8px;

      &:nth-of-type(1) {
        border-radius: 15px 15px 0 0;
      }
      &:nth-last-of-type(1) {
        border-radius: 0 0 15px 15px;
      }

      &:hover {
        background: #0196b2;
      }
    }
  }
  .submenu li {
	color: #fff;
    display: none;
    flex: 0 0 auto;
  }
  .submenu li.active {
    display: block !important;
    position: relative;
  }
  .submenu li.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    cursor: pointer;
  }
  /* 閉じている時はactiveなリンクを無効化 */
  .submenu:not(.open) li.active a {
    pointer-events: none;
  }

  /* 開いている時はactiveなリンクを有効化 */
  .submenu.open li.active a {
    pointer-events: auto;
  }
}

.nav-menu-box-area {
  display: flex;
}

.area-container {
  display: flex;
  position: relative;
}

/* +の形を疑似要素で作る */
.toggle-icon::after,
.toggle-icon::before {
  content: '';
  background: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: background-color 0.3s;
}

/* 縦線 */
.toggle-icon::before {
  width: 2px;
  height: 14px;
}

/* 横線 */
.toggle-icon::after {
  width: 14px;
  height: 2px;
}

/* 開いた状態（マイナス）では縦線を消す */
.form-group.active .toggle-icon::before {
  background-color: transparent;
}

/* フォーム */
.form-toggle-button {
  display: none;
  background: #006477;
  border: 2px solid #006477;
  border-radius: 22px;
  color: #fff;
  padding: 10px;
  width: 100%;
  font-size: 16px;
  cursor: pointer;
  margin-bottom: 10px;
  position: relative;
  transition: background 0.3s, color 0.3s;

  .toggle-icon {
    position: absolute;
    right: 12px;
    top: 12px;
  }

  &.open {
    background: #fff;
    color: #006477;

    .toggle-icon {
      /* 開いた状態（マイナス）では縦線を消す */
      &::before {
        background-color: transparent;
      }
      &::after {
        background-color: #006477;
      }
    }
  }
}

.form-container {
  width: 880px;
  margin: 0 auto;

  & > p {
    text-align: center;
    margin: 24px 0;

    & ~ p {
      margin: 40px 0;
    }
  }
  .search-button-wrap{
	  margin: 40px 0 41px 0;
  }
  select,
  input {
    font-size: 16px;
    padding: 0 25px 0 10px;
    height: 50px;
  }
  select {
    background: #fff;
    color: #323232;
    width: 100%;
  }
  .form-select {
    height: 100%;
    width: 100%;
    position: relative;

    &::before {
      content: '';
      position: absolute;
      right: 10px;
      top: 23px;
      border: solid #333;
      border-width: 0 2px 2px 0;
      padding: 2.2px;
      pointer-events: none;
      transform: translateY(-50%) rotate(45deg);
    }
  }

  .form-multiple-checkbox {
    height: 100%;
    position: relative;

    .input-area {
      height: 100%;
      position: relative;

      &::before {
        content: '';
        position: absolute;
        right: 10px;
        top: 23px;
        border: solid #333;
        border-width: 0 2px 2px 0;
        padding: 2.2px;
        pointer-events: none;
        transform: translateY(-50%) rotate(45deg);
      }

      input {
        cursor: initial;
        width: 100%;
        height: 50px;
        background: #fff;
        color: #323232;

        &::placeholder {
          color: #323232;
        }
        &::-ms-input-placeholder {
          color: #323232;
        }
        &:-ms-input-placeholder {
          color: #323232;
        }
      }
    }

    .checkbox-area {
      display: none;
      position: absolute;
      background: #fff;
      color: #323232;
      border: 1px solid #767676;
      padding: 10px 20px;
      width: 100%;
      z-index: 1;

      &.checkbox-area-area {
        width: 500px;
        max-height: 500px;
      }

      .checkbox-wrap {
        flex: 1;

        li,
        li input {
          height: 1.8em;
        }
      }

      .level2 {
        text-indent: 1em;
      }
      .level3 {
        text-indent: 2em;
      }
    }
  }

  .checkbox-gold-wrap {
    grid-column: 1 / -1;
    text-align: center;
    margin: 24px 0 0px 0;
    justify-items: center;
  }

  .error-msg-wrap {
    display: none;

    &.is-error {
      background: #fff;
      color: #f00;
      font-weight: bold;
      display: flex;
      justify-content: center;
      white-space: pre-wrap;
      width: 64%;
      padding: 0.5em;
      margin: 0 auto;
      margin-top: 24px;
      padding: 0.5em;
    }
  }
  .search-form-keyword .error-msg-keyword-wrap {
    display: none;
  }

  .search-form-keyword .is-error {
      background: #fff;
      color: #f00;
      font-weight: bold;
      display: flex;
      justify-content: center;
      white-space: pre-wrap;
      width: 64%;
      margin: 20px auto 0 auto;
      padding: 0.5em;
  }
}

.form-group {
  display: block;
  padding: 10px;
  justify-content: space-between;
  align-items: center;

  h3 {
    margin: 5px 0 5px;
    font-size: 13px;
    padding: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    flex: 1;
    max-height: 23px;
  }
  &.group-1 h3,
  &.group-2 h3 {
    justify-content: left;
  }
}

/* トグルアイコンのspanは空にしておく */
.toggle-icon {
  display: none;
  width: 20px;
  height: 20px;
  position: relative;
  flex-shrink: 0;
}

/* SPでのみ表示、PCは非表示 */
@media (max-width: 768px) {
  .toggle-icon {
    display: inline-block;
  }
}

/* フォーム内容 */
.form-content {
  display: block;
  flex: 3;
  height: 100%;
}

/* 項目5の入力欄を横並びに */
.item3-inputs {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 10px;

  span {
    text-align: end;
    white-space: nowrap;

    &:first-child {
      margin: 0 8px;
    }
  }
}

/* フッター表示切替 */
footer {
  display: none;
}

/* PC用 */
@media (min-width: 769px) {
  form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 50px;
  }
  .form-group {
    display: flex;
  }
  .form-group.group-1 {
    grid-column: 1;
    grid-row: 1;
  }
  .form-group.group-2 {
    grid-column: 1;
    grid-row: 2;
  }
  .form-group.group-3 {
    grid-column: 1;
    grid-row: 3;
  }
  .form-group.group-4 {
    grid-column: 1;
    grid-row: 4;
  }

  .form-group.group-5 {
    grid-column: 2;
    grid-row: 1;
  }
  .form-group.group-6 {
    grid-column: 2;
    grid-row: 2;
  }
  .form-group.group-7 {
    grid-column: 2;
    grid-row: 3;
  }
  .form-group.group-8 {
    grid-column: 2;
    grid-row: 4;
  }
}

/* SP用 */
@media (max-width: 768px) {
  body {
    margin-bottom: 65px; /* 追従ボタン */

    h2 {
      font-size: 4.2vw;
    }
    p {
      font-size: 3.5vw;
    }
    small {
      font-size: 3vw;
    }
  }

  header {
    border-radius: 24px;
    width: calc(100% - 5.2vw);
    margin: 10px auto;
    display: block;
    align-items: initial;
    padding: 12px 4.8vw;

    .header-img-menu-container {
      display: flex;
      align-items: center;
      justify-content: space-between;

      .logo-wrapper {
        img {
          width: 250px;
        }
      }
    }

    .nav-menu {
      display: none;
    }
    .nav-menu.show {
      display: block;
    }
    .nav-menu-box {
      display: flex;
      flex-direction: column-reverse;
    }

    .nav-menu-box-inner-1 {
      margin: 24px 0;

      ul li {
        background: #0196b2;
        border-bottom: 4px solid #017a91;
        border-radius: 10px;
        height: 50px;
        width: 100%;

        &:not(:first-of-type) {
          display: none;
        }

        a {
          color: #fff;
          display: flex;
          justify-content: center;
          text-align: center;
          height: 100%;
          width: 100%;

          &:before {
            border: solid #fff;
            border-width: 0 2px 2px 0;
            left: initial;
            right: 16px;
            top: 24px;
            padding: 4px;
          }

          span {
            display: flex;
            align-items: center;
          }
        }
      }
    }

    .nav-menu-box-inner-2 {
      flex-direction: column-reverse;
      font-weight: normal;
      margin: 10px 0;

      & > ul {
        li {
          border-top: 1px solid #eee;
          border-bottom: 1px solid #eee;
          display: flex;

          a {
            padding: 16px 2px;
            width: 100%;
            position: relative;

            &:before {
              content: '';
              position: absolute;
              right: 6px;
              top: 26px;
              border: solid #666;
              border-width: 0 2px 2px 0;
              padding: 2px;
              transform: translateY(-50%) rotate(-45deg);
            }
          }
          &.active a {
            border-bottom: 0;
            color: initial;
          }

          &:first-of-type {
            border-top: 0;
          }
          &:last-of-type {
            display: none;
          }
        }
      }
    }
    .area-container {
      display: block;
      margin: 16px 0;
    }
    .submenu {
      display: grid;
      grid-template-columns: repeat(6, 1fr);
      gap: 2px;
      height: 50px;

      li {
        background: #eee;
        display: flex;
        font-size: 14px;
        justify-content: center;
        align-items: center;

        &.active {
          background: #0196b2;
          color: #fff;
        }
        &:first-of-type {
          border-radius: 8px 0 0 8px;
        }
        &:last-of-type {
          border-radius: 0 8px 8px 0;
        }
      }
    }
  }
  .top-img-text-img-container {
    & > div {
      width: 85vw;
      margin-top: -50px;

      .img-area {
        &:nth-child(2) {
          margin-top: 20px;
          .text-img-2 {
            width: 90vw;
          }
        }
      }
    }

    .button-area {
      align-items: center;
      flex-direction: column;
      min-width: initial;
      gap: 16px;
      margin-bottom: 10px;

      .sell-button,
      .buy-button {
        padding: 16px 10px;
        width: 66.6vw;
        min-width: 300px;
      }
      .sell-button img {
        top: 22px;
      }
      .buy-button img {
        top: 27px;
      }
    }

    .text-area {
      h2 {
        margin: 10px 0;

        br {
          display: block;
        }
      }

      p {
        margin: 0;

        &:nth-last-of-type(1) br {
          display: block;
        }
      }
    }
  }

  main {
    margin-top: -70px;
    position: relative;
  }

  .top-img-container {
    background-image: url(/assets/images/toushi-new/titlebg_sp.webp);
    background-repeat: no-repeat;
    min-width: initial;

    .top-img {
      background-size: cover;
    }
    .top-img.front {
      background-image: url(/assets/images/toushi-new/titlebg_sp_parallax_02.webp);
    }
    .top-img.back {
      background-image: url(/assets/images/toushi-new/titlebg_sp_parallax_01.webp);
    }
  }

  .contact-area {
    & .tel-info {
      .from-to {
        font-size: 14px;
        letter-spacing: -1px;
      }

      .tel {
        font-weight: initial;
        line-height: initial;
        pointer-events: auto;
      }
    }
  }

  .form-container {
    display: none;
    padding: 0 20px;
    width: initial;

    .form-select {
      &::before {
        top: 24px;
      }
    }

    & > p ~ p {
      margin: 20px 0 40px 0;
    }

    .form-multiple-checkbox {
		height: initial;
		
      .input-area {
        &::before {
          top: 22px;
        }
        &.open::before {
          top: 27px;
        }
      }

      .checkbox-area {
        font-size: 16px;
        flex-direction: column;
        position: initial;

        &.checkbox-area-area {
          width: 100%;
          max-height: initial;
        }

        .level2 {
          text-indent: 1.5em;
        }
        .level3 {
          text-indent: 3em;
        }
      }
    }
    .checkbox-gold-wrap {
		font-size: 3.5vw;
	}
    .error-msg-wrap {
      &.is-error {
        width: 100%;
      }
      .error-msg {
        font-size: 3.3vw;
      }
    }
    .search-button-wrap{
	  margin: 24px 0 40px 0;
    }
    .error-msg-keyword-wrap {
      &.is-error {
        width: calc(100% - 20px);
        margin: 0 auto 16px auto;
      }
      .error-msg-keyword {
        font-size: 3.3vw;
      }
    }
  }

  .search-form {
    width: initial;
    padding: 0;
  }

  .search-form-container {
    border-radius: 22px;
    padding: 0;
    width: 90vw;
    margin: 0 auto;

    &.open {
      border-radius: 22px 22px 0 0;
    }

    & > h2 {
      display: none;
    }

    & .search-form-keyword {
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 6px 4px 18px 4px;
      
      p {
        margin: 0;
      }

      & > div {
        display: inline-block;
        &:nth-of-type(1) {
          padding: 10px 10px 20px 10px;
        }
        
        label {
          font-size: 3.5vw;
        }
        form {
			
          label {
            font-size: 3.5vw;
          }
          .keyword {
            margin-left: 0;
            margin-top: 10px;
            width: 60vw;
          }
          div {
            display: flex;
          }
          .search-button-keyword {
            background: linear-gradient(
				90deg,
				 rgba(144, 79, 10, 1) 8%,
				 rgba(204, 177, 105, 1) 51%,
				 rgba(161, 122, 87, 1) 100%
			);
            border: 0;
            border-radius: 0;
            margin-left: 0;
            margin-top: 10px;
            padding: 8px 26px;

            /* 文字を消す */
            text-indent: -9999px;
            overflow: hidden;
            white-space: nowrap;
          }
          .search-icon {
            right: 16px;
          }
        }
      }
    }
  }

  .form-toggle-button {
    display: block;
  }

  form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
  }

  form.active {
    display: block;
  }

  .form-content {
    display: none;
  }

  .form-group.active .form-content {
    display: block;
  }
  .form-group {
    padding: 0;

    &:nth-of-type(n + 4) {
      border-top: 1px solid #00778e;
    }
    &.group-8 {
      border-bottom: 1px solid #00778e;
    }

    h3 {
      padding: 20px 0;
      font-size: 3.5vw;
    }

    &.group-8 h3 br {
      display: none;
    }
    .form-content {
      margin-bottom: 16px;
      
      &:not(:has(.input-area-area, .input-area-kinds)) {
        height: 50px;
      }
    }
  }

  .recommended {
    width: 90vw;
    padding: 0;

    & > h2 {
      font-size: 5.3vw;
    }
  }
  .recommended .recommended-slider {
    .item {
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);

      img {
        height: 400px;
      }
    }
  }

  .feature {
    padding: 0 10px;
    width: 90vw;

    .feature-panel-container {
      grid-template-columns: repeat(2, 1fr);
      gap: 20px;

      .panel {
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
        gap: 0;
        grid-template-rows: subgrid;

        p {
          margin: auto;
          text-align: left;
        }
        img {
          height: 25vw;
        }
        br {
          display: none;
        }
      }
    }

    .panel-4fr {
      & .panel {
        p {
          padding: 10px;
        }
      }
    }
  }

  .performance-reason-service {
    min-width: initial;

    .performance-panel-container {
      grid-template-columns: repeat(1, 1fr);
      gap: 0;
      padding: 0;

      .panel {
        margin: 0 auto 20px;

        p {
          margin-top: 20px;
          margin-left: 0;
        }
      }
    }

    .performance-container {
      padding: 0;
      width: 90vw;

      & > h2 {
        padding-bottom: 0;
        font-size: 5.3vw;
        margin-bottom: 30px;

        &.font-xl {
          font-size: 6.4vw;
        }
        &.service-heading-text {
          font-size: 6.1vw;
          letter-spacing: -3px;
        }
      }
      .service-heading-text {
        letter-spacing: -3px;
      }
      .service-heading-sub-text {
        margin-bottom: 14px;
        text-align: left;
      }
    }

    .reason-heading-text br {
      display: block;
    }

    .reason-panel-container {
      grid-template-columns: 1fr;
      row-gap: 36px;

      .panel {
        img.img-sp {
          display: block;
          height: 45vw;
        }
        &.panel-pc {
          display: none;
        }

        .title {
          font-size: 4.9vw;

          span {
            font-size: 4.9vw;
            line-height: inherit;
          }
          br {
            display: none;
          }
        }
        .text-body {
          letter-spacing: 0;

          br {
            display: none;
          }
        }
        .sub-text {
          br {
            display: none;
          }
        }
      }
    }

    .service-heading-text {
      font-size: 24px;
      margin-bottom: 20px;

      br {
        display: block;
      }
    }

    .service-panel-container {
      margin: 0;
      grid-template-columns: 1fr;

      .panel {
        display: grid;
        grid-template-columns: 1fr 2fr;
        grid-row: span 1;
        padding: 10px;

        &:nth-of-type(n + 4) {
          border-width: 0;
        }
        &:nth-last-of-type(1) {
          border-bottom: 1px solid #ccc;
        }

        & > div {
          margin: auto 0 auto 10px;
          padding: 8px 0;
        }
        img {
          margin: auto 4%;
          padding: 0;
          width: 25vw;
          height: 25vw;

          &.small-sp {
            padding: 8px;
          }
        }
        p {
          font-size: 16px;
          margin: 0;
          text-align: left;

          br {
            display: none;
          }
        }
      }
    }
  }

  .useful {
    & > h2 {
      font-size: 6.4vw;
    }

    .useful-panel-container {
      grid-template-columns: 1fr;

      & .panel {
        padding: 40px;
        justify-content: center;

        & ~ .panel {
          justify-content: center;
        }

        p br {
          display: block;
        }

        ul {
          padding: 50px 0;
          margin: auto;

          li {
            height: 13vw;
            display: flex;
            justify-content: center;
            align-items: center;
            position: relative;

            a {
              position: initial;

              &::after {
                content: '';
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
              }

              img {
                top: 50%;
                transform: translateY(-50%);
              }
            }
          }
        }

        .more a img {
          top: 8px;
        }
      }
    }
  }

  .support {
    .support-container {
      padding: 0;
      width: 90vw;
    }

    .support-panel-container {
      grid-template-columns: 1fr;

      & .panel {
        p {
          font-size: 3.3vw;
        }
        & .link-container {
          & a {
            img {
              top: 22px;
            }
          }
        }
      }

      .only-pc {
        display: none;
      }
    }
  }

  .fixed-buttons {
    display: none;
    bottom: 0;
    height: 65px;
    width: 100%;
    flex-direction: row;
    justify-content: center;
    background: #fff;
    padding: 8px 4px;
    gap: 4px;

    .sell-button,
    .buy-button {
      writing-mode: initial;
      text-orientation: initial;
      padding: 16px 30px 16px 8px;
      font-size: 12px;
      width: 100%;
      min-width: 170px;

      img {
        position: absolute;
        bottom: 16px;
        right: 7px;
        width: 15px;
      }
    }
  }

  /* フッター表示切替 */
  .pc-footer {
    display: none;
  }
  footer {
    display: block;
  }
}

/* SP用 より狭い幅  */
@media (max-width: 460px) {
  .contact-area {
    white-space: nowrap;
  }

  .search-form-container {
    .search-icon {
      top: 13px;
    }

    .search-button-wrap {
      display: flex;
      margin: 24px 0 40px 0;

      .search-button {
        width: 100%;
        padding: 16px 60px;
        margin: 0 0 -1px 0;

        img {
          top: 19px;
        }
      }
    }
  }
}
