/* ========================================
   tb.css - Tablet Styles
   ======================================== */

@media screen and (max-width: 1200px) {
  .inner {
    padding-left: 5%;
    padding-right: 5%;
  }

  .section-heading__en::before,
  .section-heading__en::after {
    width: 80px;
  }

  .section-heading__title {
    font-size: 32px;
  }

  .header__inner {
  }

  .header__logo img {
    height: 46px;
  }

  .header__action {
    width: 110px;
  }

  .header__action-sub {
    padding: 4px 10px;
    font-size: 12px;
  }

  .header__menu-button {
    width: 80px;
    min-width: 80px;
  }

  .header__menu-lines {
    width: 36px;
  }

  .mv {
    background-color: #ecf2fe;
  }

  .mv__content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 420px;
    overflow: visible;
    background-color: #fff;
  }

  .mv__text {
    position: relative;
    z-index: 1;
    flex: 0 0 48%;
    width: auto;
    max-width: none;
    min-height: 0;
    padding: 32px 12px 48px 5%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    box-sizing: border-box;
  }

  .mv__title-row {
    gap: 12px;
    margin-left: 0;
    margin-bottom: 2px;
    justify-content: flex-start;
  }

  .mv__badge {
    width: 140px;
  }

  .mv__title-line {
    font-size: 36px;
    margin-bottom: 0;
  }

  .mv__title {
    font-size: 40px;
    white-space: nowrap;
    margin-top: -10px;
    margin-bottom: 12px;
  }

  .mv__band {
    font-size: 17px;
    padding: 8px 16px;
    margin-bottom: 12px;
    width: fit-content;
    max-width: 100%;
  }

  .mv__lead {
    font-size: 16px;
    text-align: left;
    white-space: nowrap;
  }

  .mv__photo {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    z-index: 0;
    width: auto;
    height: auto;
    flex: 1 1 52%;
    min-height: 400px;
    align-self: stretch;
    pointer-events: auto;
    overflow: hidden;
  }

  .mv__photo::before {
    width: 40%;
  }

  .mv__photo img {
    width: 100%;
    height: 100%;
    min-height: 400px;
    object-fit: cover;
    object-position: center 18%;
    display: block;
  }

  .mv::after {
    content: none;
    display: none;
  }

  .mv__features {
    position: relative;
    z-index: 2;
    grid-template-columns: repeat(2, 1fr);
    width: 90%;
    max-width: 900px;
    margin: 40px auto 0;
  }

  .mv__feature {
    padding: 18px 12px 22px;
  }

  .mv__feature:not(:last-child)::after {
    display: block;
  }

  .mv__feature:nth-child(2)::after {
    display: none;
  }

  .mv__feature:nth-child(1)::after,
  .mv__feature:nth-child(3)::after {
    display: block;
  }

  .mv__feature-icon {
    width: 76px;
    height: 76px;
    margin-bottom: 8px;
  }

  .mv__feature-title {
    font-size: 17px;
  }

  .mv__feature-text {
    font-size: 14px;
  }

  .section-heading {
    margin-bottom: 30px;
  }

  .problem {
    padding: 50px 0;
  }

  .problem .section-heading--left {
    text-align: center;
  }

  .problem .section-heading__en--plain {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    text-align: center;
  }

  .problem .section-heading__en--plain::before,
  .problem .section-heading__en--plain::after {
    content: "";
    display: block;
    width: 80px;
    height: 1px;
    background-color: var(--color-sky-blue);
    flex-shrink: 1;
    min-width: 24px;
    max-width: 80px;
  }

  .problem .section-heading__title {
    text-align: center;
  }

  .problem__content {
    gap: 24px;
  }

  .problem__card {
    width: 100%;
  }

  .problem__photo {
    display: none;
  }

  .service {
    padding: 50px 0;
  }

  .service__list {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .service__card-title {
    font-size: 18px;
  }

  .service__cta {
    flex-wrap: wrap;
    justify-content: center;
  }

  .service__cta-btn {
    width: 380px;
    max-width: 100%;
  }

  .disposal {
    padding: 50px 0;
  }

  .disposal__content {
    flex-direction: column;
    gap: 32px;
  }

  .disposal__text {
    width: 100%;
    order: 1;
  }

  .disposal__photo {
    flex: none;
    width: 100%;
    order: 2;
  }

  .disposal__photo img {
    width: 100%;
    height: auto;
  }

  .disposal__title {
    font-size: 28px;
  }

  .price {
    padding: 50px 0;
  }

  .price__factors {
    grid-template-columns: 1fr;
  }

  .price__factor {
    width: 350px;
    max-width: 100%;
    margin: 0 auto;
    padding: 15px 16px;
  }

  .price__factor-title {
    margin-bottom: 0;
  }

  .price__notice {
    flex-wrap: wrap;
    padding: 20px 25px;
    gap: 0 10px;
    margin-bottom: 30px;
  }

  .price__note {
    padding: 20px;
    margin: 30px auto 0;
    width: 100%;
    max-width: 100%;
  }

  .price__note-text {
    font-size: 16px;
  }

  .price__note-emphasis {
    font-size: 16px;
  }

  .price__notice-title {
    white-space: normal;
  }

  .check-icon--lg {
    width: 30px;
    height: 30px;
  }

  .check-icon--lg::after {
    width: 8px;
    height: 16px;
  }

  .btn-cta--price {
    width: 380px;
    max-width: 100%;
  }

  .reason {
    padding: 50px 0;
  }

  .reason__list {
    gap: 16px;
  }

  .reason__card {
    width: 75%;
    margin-left: auto;
    margin-right: auto;
    padding: 24px 16px;
  }

  .reason__icon {
    width: 72px;
  }

  .case {
    padding: 50px 0;
  }

  .case__list {
    gap: 24px;
  }

  .case__item {
    padding: 20px;
  }

  .flow {
    padding: 50px 0;
  }

  .flow__list {
    grid-template-columns: repeat(4, 1fr);
    column-gap: 32px;
    row-gap: 40px;
  }

  .flow__card {
    grid-column: span 2;
  }

  .flow__card:nth-child(4),
  .flow__card:nth-child(5) {
    grid-column: span 2;
  }

  .flow__card:not(:last-child)::after {
    width: 36px;
    height: 36px;
    right: -25px;
  }

  .flow__card:nth-child(2)::after,
  .flow__card:nth-child(4)::after,
  .flow__card:nth-child(5)::after {
    display: none;
  }

  .flow__card:nth-child(1)::after,
  .flow__card:nth-child(3)::after {
    display: block;
    right: -25px;
  }

  .area {
    padding: 50px 0;
  }

  .area__content {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .area__text {
    width: 100%;
    order: 1;
    margin-bottom: 32px;
  }

  .area__map {
    flex: none;
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    order: 2;
    grid-column: auto;
    grid-row: auto;
  }

  .area__map img {
    width: 100%;
    height: auto;
  }

  .area__prefectures {
    grid-template-columns: repeat(2, 1fr);
  }

  .area__time-parts {
    right: -12px;
  }

  .area__content > .btn-cta--area {
    order: 3;
    grid-column: auto;
    grid-row: auto;
    justify-self: auto;
    display: flex;
    width: fit-content;
    max-width: 100%;
    margin-top: 25px;
    margin-left: auto;
    margin-right: auto;
  }

  .faq {
    padding: 50px 0;
  }

  .contact {
    padding: 50px 0;
  }

  .contact__lead-free {
    font-size: 20px;
  }

  .drawer-nav__inner {
    width: 50%;
  }

  .contact__cta-inner {
    flex-direction: column;
  }

  .contact__cta-tel {
    font-size: 24px;
    white-space: nowrap;
  }

  .contact__form-box {
    padding: 36px 28px;
  }

  .company {
    padding: 50px 0;
  }

  .company__row {
    padding: 18px 24px;
  }
}

@media screen and (max-width: 1024px) {
  :root {
    --header-height: 70px;
  }

  .is-pc-only {
    display: none !important;
  }

  .is-sp-tel {
    display: inline !important;
  }

  a.header__action.header__action--tel.is-sp-tel {
    display: flex !important;
  }

  span.header__action.header__action--tel.is-pc-only {
    display: none !important;
  }

  a.contact__cta-tel-link.is-sp-tel {
    display: block !important;
  }

  .header__action {
    width: 90px;
    height: 70px;
    font-size: 12px;
  }

  .header__action-icon {
    width: 22px;
    height: 22px;
  }

  .header__action-sub {
    padding: 2px 10px;
    font-size: 11px;
  }

  .header__menu-button {
    width: 70px;
    height: 70px;
    min-width: 70px;
    min-height: 70px;
  }

  .header__menu-lines {
    width: 32px;
    height: 18px;
  }

  .header__menu-button[aria-expanded="true"] .header__menu-lines span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
  }

  .header__menu-button[aria-expanded="true"] .header__menu-lines span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
  }

  .header__menu-text {
    font-size: 14px;
  }

  .header__logo img {
    height: 40px;
  }

  .mv__content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 380px;
    background-color: #fff;
  }

  .mv__text {
    position: relative;
    z-index: 1;
    flex: 0 0 48%;
    width: auto;
    max-width: none;
    min-height: 0;
    padding: 24px 12px 40px 4%;
    text-align: left;
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
  }

  .mv__title-row {
    justify-content: flex-start;
    margin-left: 0;
    gap: 10px;
  }

  .mv__badge {
    width: 110px;
  }

  .mv__title-line {
    font-size: 30px;
  }

  .mv__title {
    font-size: 34px;
    white-space: nowrap;
    margin-top: -8px;
    margin-bottom: 12px;
  }

  .mv__band {
    font-size: 15px;
    padding: 8px 14px;
    width: fit-content;
    max-width: 100%;
  }

  .mv__lead {
    font-size: 13px;
    text-align: left;
    white-space: nowrap;
  }

  .mv__photo {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    z-index: 0;
    flex: 1 1 52%;
    width: auto;
    height: auto;
    min-height: 380px;
    align-self: stretch;
    pointer-events: auto;
    overflow: hidden;
  }

  .mv__photo::before {
    width: 36%;
  }

  .mv__photo img {
    width: 100%;
    height: 100%;
    min-height: 380px;
    max-height: none;
    object-fit: cover;
    object-position: center 16%;
    display: block;
  }

  .mv::after {
    content: none;
    display: none;
  }

  .mv__features {
    position: relative;
    z-index: 2;
    grid-template-columns: repeat(2, 1fr);
    width: 90%;
    max-width: 860px;
  }

  .mv__feature {
    padding: 18px 12px 20px;
  }

  .mv__feature:not(:last-child)::after {
    display: block;
  }

  .mv__feature:nth-child(2)::after {
    display: none;
  }

  .mv__feature:nth-child(1)::after,
  .mv__feature:nth-child(3)::after {
    display: block;
  }

  .mv__feature-icon {
    width: 72px;
    height: 72px;
  }

  .mv__feature-title {
    font-size: 17px;
  }

  .mv__feature-text {
    font-size: 14px;
  }

  .problem__content {
    flex-direction: column;
  }

  .problem__photo {
    width: 100%;
    max-height: 480px;
  }

  .problem__photo img {
    max-height: 480px;
    height: auto;
  }

  .disposal__content {
    flex-direction: column;
  }

  .disposal__photo {
    flex: none;
    width: 100%;
  }

  .case__list {
    gap: 24px;
  }

  .reason__list {
    grid-template-columns: 1fr;
  }

  .area__content {
    display: flex;
    flex-direction: column;
  }

  .area__map {
    flex: none;
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
  }

  .area__text {
    width: 100%;
    margin-bottom: 0;
  }

  .contact__cta-inner {
    flex-direction: column;
  }

  .contact__form-box {
    padding: 32px 24px;
  }

  .company__row {
    padding: 16px 20px;
  }

}

@media screen and (max-width: 768px) {
  .section-heading__title {
    font-size: 28px;
  }

  .mv__title {
    font-size: 36px;
  }

  .mv__band {
    font-size: 16px;
  }

  .mv__lead {
    font-size: 16px;
    white-space: nowrap;
  }

  .service__card-title {
    font-size: 18px;
  }

  .price__notice {
    flex-wrap: wrap;
  }

  .price__table th,
  .price__table td {
    font-size: 18px;
  }

  .price__table th {
    width: 55%;
  }

  .reason__list {
    grid-template-columns: 1fr;
  }

  .case__list {
    grid-template-columns: 1fr;
  }

  .flow__list {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .flow__card {
    grid-column: auto !important;
  }

  .flow__card:not(:last-child)::after {
    top: auto;
    bottom: -20px;
    left: 50%;
    right: auto;
    transform: translateX(-50%) rotate(90deg);
    display: block;
  }

  .company__row {
    flex-direction: column;
    gap: 8px;
    padding: 16px;
  }

  .company__row dt {
    width: 100%;
    border-right: none;
    border-bottom: 2px solid var(--color-sky-blue);
    padding-right: 0;
    padding-bottom: 8px;
  }

  .company__row dd {
    padding-left: 0;
  }
}
