@media (max-width: 1180px) {
  .first-view__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    max-width: 720px;
  }

  .first-view__copy {
    min-height: auto;
    margin: auto;
  }

  .first-view__image {
    width: 100%;
    height: auto;
    aspect-ratio: 650 / 489;
  }

  .first-view__title {
    width: 398px;
  }

  .implant-problem__inner {
    padding-right: 32px;
    padding-left: 32px;
  }

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

  .access-content {
    grid-template-columns: 1fr;
    gap: 30px;
    width: min(640px, 100%);
    margin-right: auto;
    margin-left: auto;
  }

  .access-map {
    width: 100%;
  }

  .case-card-lp__photos {
    flex-direction: row;
    gap: 28px;
    align-items: center;
    padding: 20px;
  }

  .case-card-lp__photos figure:first-child img {
    height: auto;
    aspect-ratio: 2 / 1;
  }

  .case-card-lp__photos figure:last-child img {
    width: min(360px, 42vw);
    height: auto;
    aspect-ratio: 40 / 21;
  }

  .case-card-lp__photos .case-card-lp__arrow {
    width: 42px;
    height: 42px;
    margin-top: 38px;
  }
}

@media (max-width: 768px) {
  .br-pc {
    display: none;
  }

  .br-sp {
    display: initial;
  }

  body {
    padding-bottom: 0;
  }

  .first-view__copy p {
    text-align: center;
  }

  .fv-message-bar {
    display: flex;
    min-height: 96px;
    padding: 15px 15px 14px;
    flex-direction: column;
    gap: 9px;
    justify-content: flex-start;
  }

  .fv-message-bar::before {
    content: "南浦和駅 徒歩1分";
    display: grid;
    place-items: center;
    width: min(345px, 100%);
    min-height: 36px;
    color: var(--color-navy);
    background: var(--color-white);
    border: 2px solid var(--color-gold);
    border-radius: 999px;
    font-family: var(--font-serif);
    font-size: 21px;
    font-weight: 600;
    line-height: 1;
  }

  .fv-message-bar p {
    font-size: 19px;
    line-height: 1.05;
    letter-spacing: 1px;
  }

  .fv-background-wrap {
    background-position: center top;
    background-size: 100% auto;
  }

  .first-view__inner {
    gap: 0;
    max-width: 400px;
  }

  .first-view {
    padding: 10px 0 0;
  }

  .station-badge {
    display: none;
  }

  .first-view__title {
    width: 100%;
    max-width: 100%;
    margin: 0;
  }

  .first-view__promise {
    width: calc(100% - 30px);
    font-size: 16px;
    text-align: center;
  }

  .first-view__promise {
    margin: 3px auto 0;
    line-height: 1.65;
  }

  .first-view__promise span {
    display: inline;
    font-size: 18px;
  }

  .first-view__cta {
    display: none;
  }

  .first-view__image {
    width: 100%;
    height: 237px;
    margin-top: -3px;
    border-radius: 0;
  }

  .first-view__image picture {
    display: block;
    width: 100%;
    height: 100%;
  }

  .first-view__image img {
    width: 100%;
    height: 100%;
    object-position: center;
    margin-top: -10px;
  }

  .floating-cta-sp {
    position: fixed;
    right: calc(10px + env(safe-area-inset-right, 0px));
    bottom: 66px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 104px;
    pointer-events: none;
  }

  .floating-cta-sp__button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 104px;
    height: 67px;
    padding: 5px 0 10px;
    border-radius: 5px;
    color: var(--color-text);
    box-shadow: 0 4px 2px rgb(0 0 0 / 25%);
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 600;
    line-height: 20px;
    white-space: nowrap;
    pointer-events: auto;
  }

  .floating-cta-sp__button--tel {
    background: var(--color-yellow);
  }

  .floating-cta-sp__button--web {
    background: var(--color-orange);
  }

  .floating-cta-sp__button:focus-visible {
    outline: 2px solid var(--color-navy);
    outline-offset: 2px;
  }

  .floating-cta-sp__icon {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
  }

  .floating-cta-sp__icon img {
    object-fit: contain;
  }

  .floating-cta-sp__web-label {
    font-size: 20px;
  }

  .implant-problem {
    padding: 20px 16px 28px;
  }

  .implant-problem__inner {
    gap: 28px;
    padding: 28px 18px 30px;
  }

  .section-title {
    font-size: 24px;
    line-height: 1.55;
  }

  .check-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .check-grid li {
    min-height: 54px;
    padding: 10px;
  }

  .check-grid--white li,
  .check-grid--gold li {
    font-size: 16px;
  }

  .check-grid--gold li:nth-child(5) {
    grid-column: auto;
    width: 100%;
  }

  .solution-box {
    min-height: 0;
    padding: 36px 16px 24px;
  }

  .solution-box::before {
    width: 160px;
    height: 30px;
  }

  .solution-box__note {
    font-size: 18px;
  }

  .consult-cta {
    padding: 44px 16px;
  }

  .consult-cta__station {
    width: min(320px, 100%);
    font-size: 18px;
  }

  .consult-cta h2 {
    font-size: 26px;
    line-height: 1.5;
  }

  .consult-cta__text {
    font-size: 16px;
    letter-spacing: 1px;
  }

  .consult-cta__buttons {
    width: 100%;
    flex-wrap: wrap
  }

  .consult-cta__hours {
    margin-top: 0px;
    font-size: 14px;
    line-height: 1.5;
    align-items: center;
  }

  .cta-button {
    width: min(320px, 100%);
  }

  .cta-button--tel {
    font-size: 30px;
  }

  .cta-button--web {
    font-size: 24px;
  }

  .comparison-panel {
    gap: 22px;
    padding: 30px 0px 30px 20px;
  }

  .comparison-heading {
    font-size: 22px;
    line-height: 1.45;
  }

  .comparison-table {
    width: 880px;
    font-size: 15px;
  }

  .table-scroll {
    overflow-x: scroll;
    scrollbar-color: var(--color-gold) #eee9df;
    scrollbar-width: thin;
  }

  .table-scroll::-webkit-scrollbar {
    display: block;
    height: 8px;
  }

  .table-scroll::-webkit-scrollbar-track {
    background: #eee9df;
    border-radius: 999px;
  }

  .table-scroll::-webkit-scrollbar-thumb {
    background: var(--color-gold);
    border-radius: 999px;
  }

  .comparison-table thead th:nth-child(2) {
    font-size: 18px;
  }

  .process-section {
    padding: 44px 16px;
  }

  .process-section__lead {
    margin: 22px 0;
    font-size: 16px;
  }

  .process-step {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .process-step__label {
    gap: 10px;
    min-height: 0;
  }

  .process-step__label span {
    font-size: 14px;
  }

  .process-step__label strong {
    font-size: 30px;
  }

  .process-step__label img {
    width: 40px;
    height: 40px;
  }

  .process-step__body {
    min-height: 0;
    padding: 18px;
  }

  .process-step__body h3 {
    font-size: 20px;
    text-align: center;
  }

  .process-step__body p {
    font-size: 16px;
  }

  .doctor-section {
    padding: 44px 16px 56px;
  }

  .doctor-profile {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .doctor-profile__content h3 {
    text-align: center;
  }

  .doctor-profile__image {
    width: 270px;
    margin: 0 auto;
  }

  .doctor-profile__badges {
    gap: 10px;
    justify-content: center;
  }

  .doctor-profile__badges span {
    padding: 9px 8px;
    font-size: 15px
  }

  .doctor-profile__message {
    margin-top: 30px;
  }

  .doctor-profile__message-bg {
    top: -11px;
    right: 9px;
  }

  .doctor-profile__message p {
    font-size: 16px;
  }

  .doctor-profile__qualifications {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .doctor-profile__qualifications ul {
    grid-template-columns: 1fr;
  }

  .reason-section__heading p {
    font-size: 18px;
    text-align: center;
  }

  .reason-section__heading h2 {
    font-size: 27px;
  }

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

  .reason-grid h3 {
    min-height: 0;
    font-size: 20px;
  }

  .reason-grid p {
    font-size: 16px;
  }

  .case-card-lp__header {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
    min-height: 0;
  }

  .case-card-lp__header > strong {
    flex: 0 0 auto;
    min-height: 70px;
  }

  .case-card-lp__summary {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    padding: 0 10px 10px;
  }

  .case-card-lp__summary p,
  .case-card-lp__summary p:first-child,
  .case-card-lp__summary p:last-child {
    flex: 0 1 auto;
    width: 100%;
  }

  .case-card-lp__summary p {
    flex-wrap: wrap;
  }

  .case-card-lp__summary b,
  .case-card-lp__summary p:first-child b {
    font-size: 18px;
  }

  .case-card-lp__photos {
    flex-direction: column;
    gap: 0px;
    align-items: center;
    padding: 18px;
  }

  .case-card-lp__photos figure {
    width: min(400px, 100%);
    margin-right: auto;
    margin-left: auto;
    text-align: center;
  }

  .case-card-lp__photos figcaption {
    width: 100%;
    text-align: center;
  }

  .case-card-lp__arrow {
    width: 40px;
    height: 40px;
    margin-top: 0;
    transform: rotate(90deg);
  }

  .case-card-lp__photos .case-card-lp__arrow {
    margin-top: 0px;
  }

  .case-card-lp__detail-action {
    gap: 0px;
  }

  .case-card-lp__photos figure img,
  .case-card-lp__photos figure:last-child img {
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 1;
  }
  

  .case-card-lp__facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0 18px 8px;
  }

  .case-card-lp__facts > div {
    min-height: 138px;
    padding: 16px 12px;
  }

  .case-card-lp__facts strong em {
    font-size: 34px;
  }

  .case-card-lp__facts strong span,
  .case-card-lp__facts .case-card-lp__treatment span {
    font-size: 16px;
  }

  .case-card-lp__note {
    margin: 0;
  }

  .case-card-lp__details {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 10px;
  }

  .case-card-lp__detail-head {
    min-height: 56px;
    padding: 14px;
  }

  .case-card-lp__detail-title {
    font-size: 16px;
  }

  .case-card-lp__detail-action {
    font-size: 16px;
  }

  .case-card-lp__comment {
    flex-direction: column;
    align-items: stretch;
    margin: 0 18px 18px;
    padding: 0 14px 14px;
    font-size: 16px;
  }

  .case-card-lp__comment span {
    margin: 0 -14px;
    text-align: center;
  }

  .price-section,
  .faq-section,
  .access-section {
    padding: 44px 16px;
  }

  .price-section__box {
    padding: 20px 16px;
  }

  .price-section__lead {
    flex-direction: column;
    gap: 24px;
  }

  .price-section__image {
    flex-basis: auto;
    width: min(350px, 100%);
  }

  .price-section__intro {
    width: 100%;
  }

  .price-section__closing {
    text-align: left;
  }

  .price-section__intro p,
  .price-section__closing p,
  .price-section__box p,
  .price-estimate p {
    font-size: 16px;
  }

  .price-estimate {
    padding: 24px 20px 28px;
  }

  .price-estimate h3 {
    font-size: 22px;
  }

  .price-estimate p {
    line-height: 1.8;
  }

  .price-estimate strong {
    flex-wrap: wrap;
    line-height: 1.4;
  }

  .price-estimate strong em {
    font-size: 30px;
  }

  .faq-list {
    gap: 20px;
    margin-top: 28px;
  }

  .faq-item h3 {
    gap: 12px;
    padding: 8px 14px;
    font-size: 18px;
    white-space: normal;
  }

  .faq-item p {
    padding: 16px;
    font-size: 16px;
  }

  .faq-item span {
    font-size: 28px;
  }

  .consult-cta--final .consult-cta__heading h2 {
    font-size: 24px;
  }

  .access-content {
    margin-top: 28px;
  }

  .access-info address,
  .access-info__corp,
  .access-hours div {
    font-size: 16px;
  }

  .access-info__brand {
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
  }

  .access-info__phone {
    font-size: 32px;
  }

  main p:not(.cta-sp__label):not(.first-view__cta-label):not(.consult-cta__station,.reason-section__heading p,.first-view__copy p),
  main li,
  main dd,
  main td {
    text-align: left;
  }
}

@media (max-width: 420px) {
  .fv-message-bar p {
    font-size: 18px;
  }

  .first-view__copy p {
    text-align: center;
  }

  .first-view__title {
    width: 100%;
  }

  .first-view__title img {
    padding: 10px 20px;
  }

  .first-view__promise {
    font-size: 15px;
  }

  .first-view__inner {
  max-width: 100%;
  }

  .fv-button--tel {
    font-size: 21px;
  }

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

  .check-grid li {
    align-items: center;
  }

  .solution-box__note {
    font-size: 16px;
  }

  .consult-cta h2 {
    font-size: 24px;
  }

  .comparison-heading {
    font-size: 20px;
    text-align: left;
  }

  .process-step {
    grid-template-columns: 1fr;
  }

  .process-step__label {
    flex-direction: row;
    gap: 10px;
    min-height: 54px;
    border-radius: 5px 5px 0 0;
  }

  .process-step__label img {
    width: 34px;
    height: 34px;
  }

  .process-step__body {
    border-radius: 0 0 5px 5px;
  }

  .process-step:not(:last-child)::after {
    width: 120px;
    height: 24px;
    bottom: -24px;
  }

  .price-estimate strong {
    font-size: 28px;
  }

  .price-estimate strong em {
    font-size: 28px;
  }

  .price-estimate strong span,
  .price-estimate small {
    font-size: 16px;
  }

  .cases-section {
    padding: 66px 20px 40px;
  }

  .case-card-lp__summary p {
    gap: 8px;
  }

  .faq-item h3,
  .faq-item p {
    grid-template-columns: none;
  }

  .faq-item span {
    margin-bottom: 2px;
  }

  .access-hours div {
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 12px;
  }

  .access-info__phone {
    font-size: 28px;
  }
}

/* LP2 responsive overrides */
@media (max-width: 1180px) {
  .first-view__inner--lp2 {
    grid-template-columns: minmax(0, 1fr);
  }

  .first-view--lp2 .first-view__copy,
  .first-view__image--lp2 {
    order: initial;
  }

  .first-view--lp2 .first-view__copy {
    order: 0;
  }

  .first-view__image--lp2 {
    order: 1;
  }

  .first-view__image--lp2 {
    max-width: 650px;
    margin: 0 auto;
  }

  .first-view--lp2 .first-view__title {
    margin-left: 150px;
  }

  .first-view--lp2 .first-view__title {
    width: min(554px, calc(100% - 150px));
  }

  .first-view--lp2 .first-view__cta {
    margin-right: auto;
    margin-left: auto;
  }

  .implant-problem__content-lp2 {
    grid-template-columns: minmax(0, 1fr);
    max-width: 760px;
    margin-right: auto;
    margin-left: auto;
  }

  .implant-problem__image-lp2 {
    max-width: 400px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .first-view--lp2 {
    padding-top: 0;
  }

  .first-view--lp2 .station-badge {
    left: 0;
    top: -10px;
    width: 96px;
  }

  .first-view--lp2 .first-view__copy {
    width: 100%;
    padding-top: 0;
  }

  .first-view--lp2 .first-view__title {
    margin-left: auto;
  }

  .first-view__image--lp2 {
    width: 100%;
    height: 237px;
    aspect-ratio: 375 / 237;
  }

  .first-view--lp2 .first-view__title {
    width: calc(100% - 30px);
    margin: 30px auto 0;
  }

  .first-view--lp2 .first-view__title img {
    display: block;
    width: 100%;
    height: auto;
  }

  .first-view__promise--lp2 {
    display: block;
    width: calc(100% - 30px);
    margin: 14px auto 0;
    padding-top: 15px;
    border-top: 1px solid #c0cad9;
    font-size: 20px;
    line-height: 1.5;
  }

  .first-view__promise--lp2 span {
    font-size: 20px;
  }

  .check-grid--lp2 {
    grid-template-columns: minmax(0, 1fr);
  }

  .denture-cause-section,
  .insurance-comparison,
  .immediate-denture-section {
    padding: 44px 16px;
  }

  .denture-cause-section__intro p,
  .insurance-comparison__lead {
    font-size: 16px;
    text-align: left;
  }

  .denture-cause-section__intro p span,
  .insurance-comparison__lead span {
    font-size: 17px;
  }

  .denture-cause-section__message {
    padding: 40px 16px 24px;
  }

  .denture-cause-section__message::before {
    width: 160px;
    height: 30px;
  }

  .denture-cause-section__message p {
    font-size: 22px;
  }

  .comparison-panel--cause {
    gap: 16px;
    padding: 20px 0px 20px 20px;
  }

  .comparison-panel--cause .comparison-heading {
    font-size: 20px;
    line-height: 1.6;
    text-align: left;
  }

  .comparison-panel--cause .comparison-table {
    min-width: 780px;
  }

  .comparison-panel--cause .comparison-table th,
  .comparison-panel--cause .comparison-table td {
    padding: 14px 16px;
  }

  .reason-lead-section h2 {
    font-size: 26px;
    line-height: 1.55;
  }

  .reason-lead-section {
    width: 100%;
    padding: 18px 5px 22px;
  }

  .reason-lead-section .br-sp {
    display: block;
  }

  .reason-lead-section::before,
  .reason-lead-section::after {
    width: 68px;
    height: 22px;
  }

  main .reason-lead-section p {
    width: 100%;
    font-size: 16px;
    text-align: center !important;
  }

  .reason-lead-section p span {
    margin: 3px 0;
  }

  .reason-lead-section::after {
    bottom: -21px;
  }

  .reason-lead-section + .process-section::before {
    width: 120px;
    height: 24px;
  }

  .process-step-add {
    margin: 0 0 42px;
    padding: 20px;
  }

  .process-step-add::after {
    width: 120px;
    height: 24px;
    bottom: -24px;
  }

  .process-step-add__head {
    grid-template-columns: minmax(0, 1fr);
  }

  .process-step-add__image {
    width: min(374px, 100%);
    margin: 0 auto;
  }

  .process-step-add__head h3 {
    font-size: 20px;
    text-align: left;
  }

  .process-step-add__body {
    font-size: 16px;
  }

  .immediate-denture-section .section-title {
    text-align: center;
  }

  .immediate-denture-section__text {
    font-size: 16px;
    text-align: left;
  }

  .immediate-denture-section__text em {
    font-size: 16px;
  }
}

@media (max-width: 420px) {
  .first-view--lp2 .first-view__title img {
    padding: 0;
  }

  .first-view__promise--lp2 {
    font-size: 18px;
  }

  .denture-cause-section__message {
    padding-right: 12px;
    padding-left: 12px;
  }

  .denture-cause-section__message p {
    font-size: 22px;
  }
}

@media (max-width: 1100px) {
  .doctor-profile__publications { flex-direction: column; padding: 24px; }
  .doctor-profile__publications p { font-size: 22px; text-align: center; }
}

@media (max-width: 768px) {
  .consult-cta { padding-bottom: 44px; }
  .consult-cta__text { font-size: 16px; line-height: 1.8; }
  .consult-cta__hours { margin-top: -10px; }
  .doctor-profile__publications { padding: 24px 16px; }
  .doctor-profile__publications p { font-size: 18px; }
  .doctor-profile__books { width: auto; justify-content: center; }
  .doctor-profile__books img {
    flex: 0 0 auto;
    width: auto;
    height: clamp(140px, 45vw, 188px);
    object-fit: contain;
  }
  .natural-smile-section { padding: 44px 16px; }
  .natural-smile-section .section-title { font-size: 22px; }
  .natural-smile-section__text { font-size: 16px; text-align: left; }
  .natural-smile-section__text em { font-size: 16px; }
  .natural-smile-section__text p + p { margin-top: 24px; }
  .case-card-lp__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0 18px; }
  .case-card-lp__facts > .case-card-lp__cost { grid-column: 1 / -1; }
  .case-card-lp__cost-lines { font-size: 16px; }
  .price-section__box h3 { font-size: 20px; }
  .price-section__box em { font-size: 16px; }
}

@media (max-width: 420px) {
  .case-card-lp__facts { grid-template-columns: minmax(0, 1fr); }
  .natural-smile-section .section-title { font-size: 20px; }
}

@media (max-width: 768px) {
  .first-view__promise--lp2 {
    font-size: 16px;
  }

  .first-view__promise--lp2 .first-view__promise-highlight {
    font-size: clamp(16px, 5.333333vw, 20px);
    white-space: nowrap;
    letter-spacing: 0;
  }

  .first-view__promise--lp2 .first-view__promise-parenthesis {
    font-size: inherit;
  }
}
