/* ========================================
   sp.css - Smartphone Styles
   ======================================== */

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

  .inner {
    padding-left: 5%;
    padding-right: 5%;
  }

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

  .section-heading__en {
    font-size: 16px;
    margin-bottom: 5px;
    gap: 12px;
  }

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

  .section-heading__title {
    font-size: 23px;
    font-size: 6vw;
  }

  .section-heading__lead {
    font-size: 16px;
  }

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

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

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

  /* Header */
  .header__inner {
    padding: 0;
  }

  .header__logo {
    padding-left: 10px;
  }
  .header__logo img {
    height: 30px;
  }

  .header__action--form,
  .header__action--tel {
    display: none !important;
  }

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

  .header__menu-button {
    width: 56px;
    height: 56px;
    min-width: 56px;
    min-height: 56px;
    border-left: none;
    gap: 4px;
  }

  .header__menu-lines {
    width: 28px;
    height: 16px;
  }

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

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

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

  .drawer-nav__inner {
    width: 90%;
    max-width: none;
    padding: 80px 24px 32px;
  }

  /* MV */
  .mv {
    background-color: #ecf2fe;
  }

  .mv::after {
    content: "";
    display: block;
    z-index: 2;
    height: 220px;
    left: 0;
    right: 0;
    background-color: #ecf2fe;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .mv__content {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    background-color: #fff;
  }

  .mv__text {
    position: relative;
    z-index: 1;
    flex: none;
    width: 100%;
    min-height: 0;
    padding: 0 5% 16px;
    text-align: center;
    align-items: center;
  }

  .mv__title-row {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-left: 0;
  }

  .mv__badge {
    width: 280px;
  }

  .mv__title-line {
    font-size: 36px;
    margin-top: -25px;
  }

  .mv__title {
    font-size: 36px;
    white-space: normal;
    word-break: keep-all;
    line-break: strict;
    margin-top: 0;
    margin-bottom: 12px;
  }

  .mv__band {
    font-size: 15px;
    padding: 8px 16px;
    width: fit-content;
    max-width: calc(100% - 24px);
    margin-left: auto;
    margin-right: auto;
  }

  .mv__lead {
    font-size: 18px;
    line-height: 1.8;
    text-align: center;
    white-space: normal;
  }

  .mv__photo {
    position: relative;
    z-index: 0;
    flex: none;
    width: 100%;
    height: auto;
    min-height: 0;
  }

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

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

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

  .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 {
    border-bottom: none;
    padding: 16px 10px 18px;
    text-align: center;
  }

  .mv__feature:last-child {
    border-bottom: none;
  }

  .mv__feature-icon {
    width: 68px;
    height: 68px;
    margin: 0 auto 8px;
  }

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

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

  /* Problem */
  .problem {
    padding: 30px 0 50px;
  }

  .problem .section-heading__en--plain::before,
  .problem .section-heading__en--plain::after {
    width: 40px;
    max-width: 40px;
  }

  .problem__card {
    padding: 24px 16px;
  }

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

  .problem__item {
    font-size: 16px;
  }

  .problem__message-main {
    font-size: 18px;
    margin-left: 10px;
  }

  .problem__message-sub {
    font-size: 16px;
  }

  .problem__parts {
    left: -20px;
    top: -14px;
    width: 28px;
  }

  /* Service */
  .service {
    padding: 48px 0;
  }

  .service__list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service__cta {
    flex-direction: column;
    padding: 20px;
    text-align: center;
    gap: 15px;
  }

  .service__cta-left {
    flex-direction: column;
  }

  /* Disposal */
  .disposal {
    padding: 48px 0;
  }

  .disposal__title {
    font-size: 24px;
  }

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

  /* Price */
  .price {
    padding: 48px 0;
  }

  .price__factors {
    grid-template-columns: 1fr;
    margin-bottom: 30px;
  }

  .price__factor {
    width: 100%;
  }
  .price__table-wrap {
      margin: 0 auto 30px;
  }

  .price__table th,
  .price__table td {
    display: block;
    width: 100%;
    padding: 12px 8px;
    text-align: left;
    font-size: 18px;
  }

  .price__table th {
    border-bottom: none;
    padding-bottom: 4px;
  }

  .price__table td {
    padding-top: 0;
    padding-bottom: 16px;
    text-align: right;
  }

  .price__notice {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 16px;
  }

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

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

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

  /* Reason */
  .reason {
    padding: 48px 0;
  }

  .reason__num-accent {
    font-size: 40px;
  }

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

  .reason__card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    column-gap: 10px;
    row-gap: 0;
    flex-wrap: wrap;
    padding: 20px 15px;
    width: 100%;
    box-sizing: border-box;
  }

  .reason__number {
    grid-column: 1;
    grid-row: 1;
    font-size: 40px;
    min-width: 48px;
  }

  .reason__body {
    display: contents;
  }

  .reason__title {
    grid-column: 2;
    grid-row: 1;
    margin-bottom: 0;
    text-align: left;
    word-break: keep-all;
    line-break: strict;
  }

  .reason__text {
    grid-column: 1 / -1;
    grid-row: 2;
    text-align: left;
  }

  .reason__icon {
    grid-column: 3;
    grid-row: 1;
    width: 72px;
    margin-left: auto;
  }

  /* Case */
  .case {
    padding: 48px 0;
  }

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

  .case__compare {
    flex-direction: column;
    gap: 12px;
  }

  .case__arrow {
    transform: rotate(90deg);
  }

  .case__item-title {
    font-size: 20px;
  }

  /* Flow */
  .flow {
    padding: 48px 0;
  }

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

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

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

  .flow__title {
    font-size: 20px;
  }

  /* Area */
  .area {
    padding: 48px 0;
  }

  .area__title {
    font-size: 26px;
  }

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

  .area__lead {
    font-size: 16px;
  }

  .area__time-parts {
      right: -19px;
      top: -20px;
  }

  .area__time-badge {
    left: 10px;
  }

  .area__content > .btn-cta--area {
    width: 100%;
  }

  /* FAQ */
  .faq {
    padding: 48px 0;
  }

  .faq__question {
    padding: 16px;
    gap: 10px;
  }

  .faq__answer-inner {
    margin: 0 10px 12px;
    padding: 12px;
  }

  /* Contact */
  .contact {
    padding: 48px 0;
  }

  .contact__lead-box {
    padding: 24px 16px 16px;
  }

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

  .contact__lead-deco {
    display: none;
  }

  .contact__cta-inner {
    padding: 12px;
  }

  .contact__cta {
    padding: 20px 12px;
  }

  .contact__cta--form {
    flex-direction: row;
    text-align: left;
  }

  .contact__cta-label {
    font-size: 18px;
  }

  .contact__cta--form .contact__cta-label {
    font-size: 18px;
  }

  .contact__cta-tel {
    font-size: 22px;
  }

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

  .contact__form-title {
    font-size: 24px;
  }

  .contact__form-lead {
    font-size: 16px;
  }

  .form-checkboxes {
    flex-direction: column;
  }

  .btn-submit {
    max-width: 100%;
    font-size: 16px;
  }

  /* Company */
  .company {
    padding: 48px 0;
  }

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

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

  .company__row dd {
    padding-left: 0;
  }

  /* Footer */
  .footer {
    padding: 32px 5% 24px;
  }

  .footer__logo img {
    height: 33px;
  }

  .page-top {
    bottom: 20px;
    right: 16px;
    width: 44px;
    height: 44px;
  }
}
