@media screen and (max-width: 768px) {
  /* header.active {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
  } */

  .header-top {
    padding: 11px 20px;
    background-color: #FFFFFF;
  }

  .header-top__left {
    max-width: 296px;
    width: 100%;
  }

  .header-top__left img {
    width: 100%;
    height: auto;
  }

  .header-top__info {
    display: none;
  }

  .header-top__info {
    display: none;
  }

  .header-top__buttons {
    display: none;
  }

  .mobile-menu {
    display: none;
    background-color: #FEFDF0;
    height: 100vh;
  }

  .mobile-menu-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
  }

  .mobile-menu.active {
    display: flex;
    flex-direction: column;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 100;
    width: 100%;
  }

  .mobile-menu-links {
    margin: 0 auto;
    padding: 16px 0 0 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    row-gap: 24px;
  }

  .mobile-menu-link {
    font-size: 24px;
    font-weight: 500;
    color: rgb(0, 0, 0);
    text-underline-offset: 12px;
    line-height: 1.5;
    margin-bottom: 16px;
    text-decoration: underline 2px dotted;
  }

  .mobile-menu-link.active {
    color: #EAAA08;
    text-decoration-color: #EAAA08;
  }

  .mobile-menu-contact {
    margin: 0 auto 64px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .mobile-menu-contact-button {
    display: flex;
    align-items: center;
    column-gap: 8px;
    text-decoration: none;
    padding: 10px 8px;
    width: fit-content;
    border-radius: 8px;
    max-width: 280px;
    width: 100%;
  }

  .mobile-menu-contact-button--mail {
    background-color: #1570EF;
    margin-bottom: 12px;
  }

  .mobile-menu-contact-button--line {
    background-color: #16B364;
  }

  .mobile-menu-contact-button--phone {
    margin: 40px auto 0 auto;
  }

  .mobile-menu-contact-button-text {
    display: flex;
    flex-direction: column;
  }

  .mobile-menu-contact-button-text-number {
    font-size: 32px;
    font-weight: 700;
    color: #EAAA08;
    line-height: 1.2;
  }

  .mobile-menu-contact-button-text-time {
    font-size: 12px;
    font-weight: 400;
    color: #000000;
  }

  .mobile-menu-contact-button-icon {
    display: flex;
    align-items: center;
  }

  .mobile-menu-contact-button-text {
    display: flex;
    font-size: 18px;
    font-weight: 500;
    color: #FFFFFF;
  }

  .nav-container {
    display: none;
  }

  .carousel {
    display: flex;
    aspect-ratio: 430 / 677;
    min-height: 677px;
  }

  .carousel__content-bg {
    min-height: 677px;
  }

  .carousel-dots {
    column-gap: 16px;
  }

  .carousel-dot {
    width: 16px;
    height: 16px;
    position: relative;
  }

  .carousel-dot::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 36px;  /* larger touch target on mobile */
    height: 36px;
    border-radius: 50%;
    background: transparent;
  }

  .carousel-1__content {
    width: 100%;
    left: unset;
    transform: unset;
  }

  .carousel-1__content-left-icon img {
    width: 23px;
    height: 33px;
  }

  .carousel-1__content-left-content-text-1 {
    font-size: 28px;
    font-weight: 900;
  }

  .carousel-1__content-left-content-text-2 {
    font-size: 20px;
    font-weight: 600;
  }

  .carousel-1__content-top {
    width: 100%;
    justify-content: center;
  }

  .carousel-1__content-left-content {
    width: calc(100% - 23px - 20px - 20px);
  }

  .carousel-1__content-left-content-image img {
    width: 100%;
  }

  .carousel-1__content-left-content-items {
    column-gap: 6px;
    margin: 16px auto 0 auto;
    padding: 0 8px;
    justify-content: center;
  }

  .carousel-1__content-left-content-item {
    padding: 8px 12px;
    max-width: 100px;
  }

  .carousel-1__content-left-content-item-text {
    font-size: 9px;
    font-weight: 700;
  }

  .carousel-1__content-left-content-item-icon img {
    width: 21px;
    height: auto;
  }

  .youtube-title {
    column-gap: 10px;
    margin-bottom: 16px;
    padding: 0 20px;
  }

  .youtube-description {
    padding: 0 20px;
    font-size: 16px;
    margin-bottom: 0;
  }

  .youtube-content {
    display: flex;
    flex-direction: column;
    padding: 32px 20px 24px 20px;
    margin-bottom: 0;
    row-gap: 24px;
  }

  .youtube-more-container {
    margin-bottom: 64px;
  }

  .youtube-item::before,
  .youtube-item::after {
    height: 120px;
  }

  .youtube-item-title {
    height: 76px;
    padding: 12px 12px 16px 12px;
    font-size: 18px;
    font-weight: 600;
    width: 100%;

    /* limit 2 lines */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .youtube-item {
    height: 462px;
  }

  .title__logo {
    width: 40px;
  }

  .title-text {
    font-size: 32px;
    /* color: #A15C07; */
  }

  .youtube-container {
    padding: 32px 0 0 0;
  }

  .youtube-more-button {
    font-size: 18px;
    font-weight: 600;
  }

  /* Reviews */
  .customer-reviews {
    padding: 32px 0 0 0;
  }

  .customer-reviews-title .title-text {
    font-weight: 900;
  }

  .customer-reviews-title {
    margin-bottom: 24px;
  }

  .customer-reviews-select-platform {
    padding: 0 20px;
    flex-wrap: wrap;
    row-gap: 12px;
    column-gap: 12px;
  }

  .customer-reviews-select-platform-button {
    padding: 12px 14px;
    width: fit-content;
    column-gap: 10px;
  }

  .customer-reviews-select-platform-button-text--google {
    font-size: 18px;
    font-weight: 700;
  }

  .customer-reviews-select-platform-button__icon {
    width: 32px;
    height: 32px;
  }

  .customer-reviews-select-platform-button__icon img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .customer-reviews-select-platform-button-text--line {
    font-size: 18px;
    font-weight: 500;
  }

  .total-reviews {
    margin: 24px auto 32px auto;
    font-size: 20px;
    font-weight: 600;
  }

  .customer-reviews-content {
    padding: 0 20px 32px 20px;
  }

  .review-quote {
    min-height: 64px;
  }

  .review-user-quote {
    font-size: 20px;
    font-weight: 500;
  }

  .review-card {
    padding: 22px;
  }

  .review-more-button__link {
    font-size: 18px;
    font-weight: 600;
    font-family: "Noto Sans JP", sans-serif;
  }

  .review-more-button__icon {
    width: 32px;
    height: 32px;
  }

  .review-more-button__icon img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .reviews-dots {
    margin-bottom: 32px;
    column-gap: unset;
  }

  .reviews-dots .reviews-dot {
    position: relative;
    margin: 0 8px; /* Increase spacing between dots */
  }

  .reviews-dots .reviews-dot::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 36px; /* Larger touch area */
    height: 36px;
    border-radius: 50%;
    background: transparent; /* Invisible but clickable */
  }

  /* Services */
  .service-content-description-content-container {
    display: flex;
    flex-direction: column;
  }
  
  .location-detective-office {
    background-image: url('../images/location-section-bg-mobile.png');
  }

  .location-detective-office-title {
    font-size: 32px;
  }

  .location-detective-office {
    padding: 32px 0 32px 0;
  }

  .location-detective-office-content {
    margin: 24px auto 0 auto;
    flex-direction: column;
  }

  .location-detective-office-content-left-content-title {
    font-size: 24px;
    font-weight: 600;
  }

  .location-detective-office-content-left-content-text {
    font-size: 16px;
    font-weight: 400;
    margin: 16px 0 0 0;
  }

  .location-detective-office-content-left-content {
    padding: 0 20px;
  }

  .location-detective-office-content-right {
    margin-top: 26px;
  }

  .location-detective-office-content-bottom {
    margin: 24px auto 0 auto;
    display: flex;
    justify-content: center;
  }

  .location-detective-office-content-left-content-button-link-text {
    font-size: 18px;
    font-weight: 600;
    font-family: "Noto Sans JP", sans-serif;
  }

  .service-content {
    padding: 32px 0 0 0;
  }

  .service-content-title {
    max-width: 231px;
    margin: 0 auto;
  }

  .service-content-title img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .service-content-description-image {
    width: 40px;
    height: 40px;
    margin: 0 auto;
  }

  .service-content-description-content-title {
    margin: 16px auto 24px auto;
    font-size: 16px;
    font-weight: 500;
    color: #262626;
    padding: 0 20px;
  }

  .service-content-description-content-container {
    padding: 0 20px;
  }

  .service-content-description-content-container-item img {
    width: 100%;
  }

  #service-content-description-content-container-item-1-container {
    margin: 0;
  }

  .service-content-description-content-container-item-title {
    font-size: 22px;
    font-weight: 700;
    font-family: "Noto Sans JP", sans-serif;
  }

  #service-content-description-content-container-item-1 {
    right: 12%;
    bottom: 5%;
  }

  #service-content-description-content-container-item-2 {
    right: 0%;
    bottom: 6%;
  }

  .qa-title .title__logo {
    display: none;
  }

  .qa-container {
    padding: 32px 20px;
  }

  .qa-description-image-container {
    width: 40px;
    height: 40px;
  }

  .qa-description-image-container img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .qa-description-image-total-reviews {
    font-size: 24px;
    font-weight: 400;
    margin: 24px auto 0 auto;
  }

  .qa-description-content-container {
    margin: 16px auto 0 auto;
  }

  .qa-card-header-left-icon {
    border-radius: 50%;
    border: 3px solid #FAC515;
    overflow: hidden;
    width: 84px;
    height: 84px;
  }

  .qa-card-name {
    font-size: 32px;
    font-weight: 700;
  }

  .qa-card-office {
    font-size: 16px;
    font-weight: 350;
  }

  .qa-card-date {
    font-size: 16px;
    font-weight: 350;
  }

  .qa-card-question {
    display: flex;
    justify-content: space-between;
    padding: 16px;
  }

  .qa-card-highlight-text {
    font-size: 20px;
    font-weight: 500;
  }

  .qa-card-answer {
    font-size: 16px;
  }

  .qa-card-highlight-text {
    font-size: 20px;
    font-weight: 500;
  }

  .qa-more-button__link {
    font-size: 18px;
    font-weight: 600;
    font-family: "Noto Sans JP", sans-serif;
  }

  .qa-dots {
    margin: 24px auto 20px auto;
  }

  .qa-dot {
    width: 16px;
    height: 16px;
  }

  .qa-more-button-containter {
    margin: 0 auto;
  }

  /* Case container */
  .case-container {
    padding: 32px 20px;
  }

  .case-title {
    font-size: 32px;
  }

  .case-description-text {
    font-size: 20px;
    font-weight: 500;
  }

  .case-content {
    flex-direction: column;
  }

  .case-content {
    margin: 24px auto 0 auto;
  }

  .case-content-title {
    order: 1;
    font-size: 16px;
    font-weight: 600;
    color: #262626;
  }

  .case-content-image {
    order: 2;
  }

  .case-content-title-number {
    font-size: 24px;
    font-weight: 700;
    color: #A15C07;
  }

  .case-content-item:nth-child(n+2) {
    display: none;
  }

  .case-more-button-container {
    margin: 24px auto 0 auto;
  }

  .case-more-button__link {
    font-size: 20px;
    font-weight: 600;
    color: #000000;
  }

  /* Reason Container */
  .reason-container {
    padding: 32px 20px;
  }

  .reason-title-text {
    font-size: 32px;
    font-weight: 900;
  }

  .reason-description {
    margin: 32px auto 0 auto;
  }

  .reason-description-text {
    font-size: 20px;
    font-weight: 500;
  }

  .reason-content {
    flex-direction: column;
    margin: 24px auto 0 auto;
  }

  .reason-content-right-title {
    font-size: 24px;
    font-weight: 600;
    color: #EAAA08;
  }

  .reason-content-right-content {
    margin: 16px 0 0 0;
    row-gap: 16px;
  }

  .reason-content-right-content p {
    font-size: 16px;
    font-weight: 400;
    font-family: "Noto Sans JP", sans-serif;
    color: #262626;
  }

  .reason-content-right-button {
    margin: 24px auto 0 auto;
    padding: 10px 24px;
  }

  .reason-content-right-button-link {
    font-size: 18px;
    font-weight: 600;
    font-family: "Noto Sans JP", sans-serif;
  }

  .reason-content-right-icon {
    display: flex;
    align-items: center;
    width: 28px;
    height: 28px;
  }

  .reason-content-right-icon img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  /* FAQ */

  .faq-container {
    padding: 32px 20px;
  }

  .faq-header {
    padding: 0;
    border-radius: 12px;
  }

  .faq-header-title {
    font-size: 32px;
    padding-left: 4px;
  }

  .faq-header-image {
    max-width: 170px;
  }

  .faq-content {
    margin: 24px auto 0 auto;
  }

  /* FAQ content */
  .faq-content-item-question {
    padding: 16px 12px;
  }

  .faq-content-item-question-content {
    column-gap: 8px;
  }

  .faq-content-item-question-text {
    font-size: 18px;
    font-weight: 700;
    font-family: "Noto Sans JP", sans-serif;
    color: #FFFFFF;
    border-radius: 8px;
  }

  .faq-content-item-question-icon {
    max-width: 25px;
    display: flex;
    align-items: center;
  }

  .faq-content-item-question-icon img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .faq-content-item-question {
    background-color: #FAC515;
  }

  .faq-content-item-question-icon-open {
    max-width: 24px;
    display: flex;
    align-items: center;
  }

  .faq-content-item-question-icon-open img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .faq-content-item-answer {
    padding: 16px 12px;
  }

  .faq-content-items {
    row-gap: 16px;
  }

  .faq-content-item-answer-text {
    font-size: 16px;
    font-weight: 400;
    font-family: "Noto Sans JP", sans-serif;
    color: #000000;
  }

  /* Location Information */
  .location-information-container {
    padding: 32px 20px;
  }

  .location-information-title {
    font-size: 32px;
  }

  .location-information-embed-map {
    margin: 24px auto 0 auto;
    padding: 8px;
  }

  .location-information-link-location {
    flex-direction: column;
    margin: 24px auto 0 auto;
    row-gap: 12px;
  }

  .location-information-more-link-location {
    margin: 24px auto 0 auto;
  }

  .location-information-more-link-location-item-text {
    font-size: 20px;
    font-weight: 500;
    font-family: "Noto Sans JP", sans-serif;
  }

  /* Knowledge */

  .knowledge-title {
    padding: 0 20px;
  }

  .knowledge-description {
    padding: 0 20px;
    margin: 32px auto 0 auto;
  }

  .knowledge-title-text {
    font-size: 32px;
    font-weight: 900;
  }

  .knowledge-description-text {
    font-size: 20px;
    font-weight: 500;
  }

  .knowledge-content {
    margin: 24px auto 0 auto;
    padding: 20px;
    background-image: url('../images/Group-99630-1-mobile.png');
    background-size: cover;
    min-height: 495px;
    padding-top: 65px;
  }

  .knowledge-content-items {
    display: flex;
    flex-direction: column;
    row-gap: 8px;
  }

  .knowledge-content-item {
    padding: 8px 8px 16px 8px;
    border-bottom: 1px solid #262626;
  }

  .knowledge-content-item:last-child {
    border-bottom: none;
  }

  .knowledge-content-item-button {
    display: none;
  }

  .knowledge-content-item-content {
    margin: 20px 0 0 0;
  }

  .knowledge-content-item-title {
    font-size: 14px;
    font-weight: 700;
  }

  .knowledge-content-item-content-text {
    font-size: 16px;
    font-weight: 700;
    color: #262626;
  }

  .knowledge-more-button-container {
    margin: 24px auto 0 auto;
  }

  /* Location Contact */
  .location-contact {
    padding: 27px 20px 24px 20px;
  }

  .location-contact-title {
    padding: 0 20px;
  }

  .location-contact-title-text {
    font-size: 24px;
    font-weight: 800;
    font-family: "Shippori Mincho", serif;
  }

  .location-contact-container {
    padding: 16px 0;
  }

  .location-contact-content-text {
    margin: 16px auto 0 auto;
    font-size: 16px;
    font-weight: 500;
  }

  .location-contact-button {
    margin: 16px auto 0 auto;
    flex-direction: column;
    align-items: center;
    row-gap: 16px;
  }

  .location-contact-button-link {
    width: fit-content;
    padding: 10px;
  }

  .location-contact-button-link-text {
    font-size: 16px;
    font-weight: 700;
    font-family: "Noto Sans JP", sans-serif;
  }

  /* Footer */
  footer {
    padding: 16px 20px 24px 20px;
  }

  .footer-top {
    flex-wrap: wrap;
    gap: 24px;
  }

  .footer-top__logo {
    flex-basis: calc(50% - 12px);
  }

  .footer-top__links {
    flex-basis: calc(50% - 12px);
  }

  .footer-top__link {
    font-size: 20px;
    font-weight: 700;
    font-family: "Noto Sans JP", sans-serif;
  }

  .footer-top__phone {
    flex-basis: 100%;
  }

  .footer-top__phone-button {
    padding: 12px 16px;
  }

  .footer-top__phone-button-text {
    row-gap: 6px;
  }

  .footer-top__phone-button-text-number {
    font-size: 32px;
    font-weight: 700;
  }

  .footer-top__phone-button-text-time {
    font-size: 16px;
    font-weight: 400;
  }

  .footer-top__phone-button-icon {
    max-width: 64px;
  }

  .footer-top__phone-button-icon img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .footer-top__phone-address {
    column-gap: 12px;
    padding-bottom: 6px;
    border-bottom: 2px solid #FFFFFF;
  }

  .footer-top__phone-button-container {
    display: flex;
    padding-bottom: 16px;
    border-bottom: 2px solid #FFFFFF;
  }

  .footer-top__phone-address-icon {
    max-width: 50px;
    display: flex;
  }

  .footer-top__phone-email {
    padding-bottom: 16px;
    border-bottom: 2px solid #FFFFFF;
  }

  .footer-top__phone-email {
    column-gap: 12px;
  }

  .footer-top__phone-email-icon {
    display: flex;
    max-width: 50px;
  }

  .footer-top__phone-line {
    display: none;
  }

  .footer-top__phone-address-text-number {
    font-size: 18px;
    font-weight: 500;
  }

  .footer-top__phone-address-text-address {
    font-size: 18px;
    font-weight: 500;
  }

  .footer-top__phone-address-text-address {
    font-size: 18px;
    font-weight: 500;
  }

  .footer-top__phone-email-text-title {
    font-size: 24px;
    font-weight: 500;
  }

  .footer-top__phone-email-text-time {
    font-size: 20px;
    font-weight: 500;
  }

  .footer-middle__title {
    font-size: 18px;
    font-weight: 700;
    font-family: "Noto Sans JP", sans-serif;
  }

  .footer-middle__link {
    font-size: 14px;
    font-weight: 400;
    font-family: "Noto Sans JP", sans-serif;
  }

  .desktop-only {
    display: none;
  }

  .mobile-only {
    display: flex;
  }

  .carousel-content-container-2 {
    top: 55px;
    padding: 0 20px;
  }

  .carousel-content-container-4 {
    top: 29px;
    padding: 0 20px;
  }

  .carousel-2__subtitle {
    font-size: 28px;
    font-weight: 700;
    margin-top: 20px;
  }

  .carousel-4__subtitle {
    font-size: 28px;
    font-weight: 700;
    margin-top: 20px;
  }

  .carousel-2__title-highlight-text {
    font-size: 24px;
    font-weight: 700;
  }

  .carousel-2__title-icon img {
    width: 23px;
    height: auto;
  }
  
  .carousel-2__title-icon {
    margin-right: 8px;
    margin-left: 4px;
  }

  .carousel-2__title {
    font-size: 22px;
  }

  .carousel-2__content-number {
    margin-top: 20px;
    font-size: 20px;
    font-weight: 900;
    padding: 10px 14px;
    border-radius: 47.82px;
  }

  .carousel-2__content-text {
    font-size: 16px;
    font-weight: 500;
    margin-top: 20px;
    padding: 8px 16px;
    border-radius: 12px;
    border: 2px solid #3ACD02;
  }

  .carousel-3__content-text {
    font-size: 16px;
    font-weight: 500;
    margin-top: 20px;
    padding: 8px 16px;
    border-radius: 12px;
    border: 2px solid #3ACD02;
  }

  .carousel-4__content-text {
    font-size: 16px;
    font-weight: 500;
    margin-top: 20px;
    padding: 8px 16px;
    border-radius: 12px;
    border: 2px solid #3ACD02;
  }
}
