/* Client polish — 2026-08-28
   Mobile layout cleanup, stronger Le tiroir palette, and alignment fixes. */

:root {
  --lt-blue-deep: #39779d; --text-v37-lt-blue-deep: #28566f;
  --lt-blue: #39779d; --text-v37-lt-blue: #5f95bd;
  --lt-blue-pale: #eef4f7; --text-v37-lt-blue-pale: #edf4f8;
  --lt-ink: #263a47; --text-v37-lt-ink: #263a47;
  --lt-line: rgba(57, 119, 157, 0.2); --text-v37-lt-line: rgba(40, 86, 111, 0.2);
}

/* The copy must remain legible on the dark brand panel at every breakpoint. */
.page-about .estimate__desc {
  color: #fff !important;
  opacity: 0.9;
}

@media (max-width: 768px) {
  /* ---------- TOP ---------- */
  .page-home .hero__script {
    left: auto !important;
    right: -8px !important;
    width: min(70vw, 276px) !important;
    height: auto !important;
  }

  .page-home .concept {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 12px !important;
    min-height: 0 !important;
    padding: 76px 16px 88px !important;
    background: #fff !important;
    overflow: hidden;
  }

  .page-home .concept::before {
    content: "OUR PHILOSOPHY";
    grid-column: 1 / -1;
    color: var(--text-v37-lt-blue-deep);
    font-family: Arial, sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.22em;
    margin: 0 0 2px 4px;
  }

  .page-home .concept__main,
  .page-home .concept__sub,
  .page-home .concept__tall,
  .page-home .concept__copy {
    position: relative !important;
    inset: auto !important;
    transform: none !important;
  }

  .page-home .concept__main {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1.28 / 1;
    object-fit: cover;
    margin: 0 !important;
    border-radius: 0 34px 0 0;
  }

  .page-home .concept__copy {
    grid-column: 1 / -1;
    grid-row: 3;
    width: 100% !important;
    margin: 24px 0 18px !important;
    padding: 0 4px !important;
    background: #fff !important;
    z-index: 2;
  }

  .page-home .concept__title {
    color: var(--text-v37-lt-ink);
    font-size: clamp(24px, 7vw, 30px) !important;
    line-height: 1.65 !important;
    letter-spacing: 0.08em !important;
    margin-bottom: 18px !important;
  }

  .page-home .concept__text {
    color: #536672;
    font-size: 13px !important;
    line-height: 2 !important;
  }

  .page-home .concept__text br {
    display: none;
  }

  .page-home .concept__sub,
  .page-home .concept__tall {
    grid-row: 4;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1.08;
    object-fit: cover;
    margin: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  .page-home .concept__sub { grid-column: 1; }
  .page-home .concept__tall { grid-column: 2; }

  .page-home .concept__pendant,
  .page-home .concept__leaf,
  .page-home .concept__chair {
    display: none !important;
  }

  .page-home .works {
    background: var(--lt-blue-pale) !important;
  }

  .page-home .news,
  .page-home .contact {
    background: #fff !important;
  }

  .page-home .contact {
    padding-top: 72px !important;
    padding-bottom: 88px !important;
  }

  .page-home .contact__background,
  .page-home .contact__corner {
    display: none !important;
  }

  .page-home .contact__flower,
  .page-home .contact__bird,
  .page-home .contact__house {
    opacity: 0.42;
  }

  .page-home .contact__eyebrow {
    color: var(--text-v37-lt-blue-deep) !important;
  }

  .page-home .contact__title {
    color: var(--text-v37-lt-ink) !important;
    line-height: 1.62 !important;
  }

  .page-home .contact__lead {
    color: var(--text-v37-lt-blue-deep) !important;
  }

  .page-home .contact__options {
    gap: 14px 10px !important;
    padding-inline: 14px;
  }

  .page-home .contact-option {
    min-width: 0;
    padding: 14px 8px 18px;
    background: #f8fafb;
    border: 1px solid var(--lt-line);
    border-radius: 18px;
  }

  .page-home .contact-option__image {
    width: 100% !important;
    max-width: 154px;
    height: auto !important;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    margin-inline: auto;
  }

  .page-home .contact-option__label {
    color: var(--text-v37-lt-ink) !important;
    line-height: 1.65 !important;
  }

  .page-home .contact__button {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: calc(100% - 44px) !important;
    max-width: 360px;
    min-height: 68px;
    margin: 34px auto 0 !important;
    background: var(--lt-blue-deep) !important;
    border-radius: 999px !important;
    box-shadow: 0 12px 28px rgba(57, 119, 157, 0.2);
    color: #fff !important;
    text-align: center;
  }

  /* ---------- ルティロワの家づくり ---------- */
  .page-about .works-sec {
    padding: 72px 0 80px !important;
    background: var(--lt-blue-deep) !important;
  }

  .page-about .works-sec__inner {
    width: 100% !important;
    padding: 0 16px !important;
    gap: 30px !important;
  }

  .page-about .works-intro,
  .page-about .works-intro__title {
    color: #fff !important;
  }

  .page-about .works-intro__en,
  .page-about .works-intro__desc {
    color: rgba(255, 255, 255, 0.78) !important;
  }

  .page-about .works-intro__desc {
    line-height: 2 !important;
  }

  .page-about .works-intro__btn {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    width: 100% !important;
    min-height: 60px;
    padding: 0 22px !important;
    background: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.65) !important;
    color: var(--text-v37-lt-blue-deep) !important;
  }

  .page-about .works-slider {
    width: 100% !important;
    padding: 16px !important;
    background: #fff;
    border-radius: 0 28px 0 0;
  }

  .page-about .works-slider__track {
    gap: 28px !important;
  }

  .page-about .works-slider .work-card {
    overflow: hidden;
    background: #fff;
    border: 0 !important;
    border-bottom: 1px solid var(--lt-line) !important;
    box-shadow: none !important;
  }

  .page-about .works-slider .work-card__image {
    aspect-ratio: 1.45 / 1;
  }

  .page-about .works-slider .work-card__body {
    padding: 18px 4px 22px !important;
  }

  .page-about .estimate__panel {
    background: var(--lt-blue-deep) !important;
  }

  .page-about .estimate__title,
  .page-about .estimate__desc {
    color: #fff !important;
  }

  .page-about .estimate__buttons {
    width: 100%;
  }

  .page-about .estimate__btn {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    color: #fff !important;
  }

  /* ---------- 価格・費用 ---------- */
  .page-price .funding {
    padding: 76px 0 84px !important;
    background: #fff !important;
  }

  .page-price .funding .container {
    width: 100% !important;
    padding: 0 16px !important;
  }

  .page-price .funding__intro {
    max-width: 32em;
    margin: 20px auto 30px !important;
    text-align: center;
    line-height: 1.9;
  }

  .page-price .funding__calc {
    display: block !important;
    padding: 0 !important;
    overflow: hidden;
    background: #fff !important;
    border: 1px solid var(--lt-line) !important;
    border-radius: 0 28px 0 0;
  }

  .page-price .funding__total-left {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 286px;
    padding: 44px 20px !important;
    background: var(--lt-blue-deep) !important;
    color: #fff !important;
    text-align: center !important;
  }

  .page-price .funding__total-kicker,
  .page-price .funding__total-label,
  .page-price .funding__total-caption {
    color: rgba(255, 255, 255, 0.78) !important;
    text-align: center !important;
  }

  .page-price .funding__total-price {
    color: #fff !important;
    font-size: clamp(31px, 9vw, 42px) !important;
    text-align: center !important;
  }

  .page-price .funding__breakdown {
    padding: 40px 22px 22px !important;
    background: #fff !important;
  }

  .page-price .funding__breakdown-title {
    margin: 0 0 22px !important;
    color: var(--text-v37-lt-ink) !important;
    font-size: 26px !important;
    line-height: 1.55;
    text-align: center !important;
  }

  .page-price .funding__items {
    width: 100% !important;
  }

  .page-price .funding__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 28px 10px !important;
    text-align: center !important;
    border-bottom: 1px solid var(--lt-line);
  }

  .page-price .funding__item-num,
  .page-price .funding__item-label,
  .page-price .funding__item-price,
  .page-price .funding__item-desc {
    display: block;
    width: 100%;
    margin-left: 0 !important;
    text-align: center !important;
  }

  .page-price .funding__item-num {
    margin-bottom: 12px !important;
    color: var(--text-v37-lt-blue-deep) !important;
    font-weight: 700;
  }

  .page-price .funding__item-label {
    margin-bottom: 12px !important;
  }

  .page-price .funding__item-price {
    margin-bottom: 8px !important;
    font-size: clamp(28px, 8vw, 36px) !important;
  }

  .page-price .funding__op {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin: 0 auto -21px !important;
    position: relative;
    z-index: 2;
    background: #fff;
    color: var(--text-v37-lt-blue-deep) !important;
    font-size: 30px !important;
  }

  .page-price .funding__note {
    max-width: 34em;
    margin: 24px auto 0 !important;
    text-align: center !important;
    line-height: 1.8;
  }

  .page-price .estimate {
    background: #fff !important;
  }

  .page-price .estimate__panel {
    background: var(--lt-blue-deep) !important;
  }

  .page-price .estimate__copy {
    width: 100% !important;
  }

  .page-price .estimate__btn {
    display: flex !important;
    align-items: center;
    justify-content: center !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 66px;
    padding: 12px 20px !important;
    text-align: center !important;
  }

  .page-price .estimate__btn .arrow {
    margin-left: 22px;
  }

  .page-price .plans { background: #fff !important; }
  .page-price .options,
  .page-price .included { background: var(--lt-blue-pale) !important; }

  /* ---------- 施工事例 ---------- */
  .page-works .recommend {
    padding: 0 0 84px !important;
    background: #fff !important;
  }

  .page-works .recommend .container {
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
  }

  .page-works .recommend .center-head {
    margin: 0 !important;
    padding: 46px 22px 40px !important;
    background: var(--lt-blue-deep);
  }

  .page-works .recommend .center-head__title {
    color: #fff !important;
    font-size: clamp(25px, 7vw, 30px) !important;
    line-height: 1.6 !important;
    text-align: center;
  }

  .page-works .recommend__grid {
    display: block !important;
    border: 0 !important;
  }

  .page-works .rec-card {
    display: grid !important;
    grid-template-columns: 112px minmax(0, 1fr);
    grid-template-areas:
      "image title"
      "image desc";
    column-gap: 18px;
    row-gap: 6px;
    min-height: 176px;
    padding: 28px 20px !important;
    background: #fff !important;
    border: 0 !important;
    border-bottom: 1px solid var(--lt-line) !important;
    box-shadow: none !important;
    text-align: left !important;
  }

  .page-works .rec-card:nth-child(even) {
    background: var(--lt-blue-pale) !important;
  }

  .page-works .rec-card__icon {
    grid-area: image;
    align-self: center;
    width: 112px !important;
    height: 112px !important;
    margin: 0 !important;
  }

  .page-works .rec-card__title {
    grid-area: title;
    align-self: end;
    margin: 0 !important;
    color: var(--text-v37-lt-ink) !important;
    font-size: 18px !important;
    line-height: 1.55 !important;
  }

  .page-works .rec-card__desc {
    grid-area: desc;
    align-self: start;
    margin: 0 !important;
    color: #5c6f7a !important;
    font-size: 13px !important;
    line-height: 1.8 !important;
  }

  .page-works .rec-card__desc br {
    display: none;
  }
}

@media (max-width: 430px) {
  .page-home .hero__script {
    right: -14px !important;
    width: min(69vw, 270px) !important;
  }

  .page-works .rec-card {
    grid-template-columns: 96px minmax(0, 1fr);
    column-gap: 15px;
    min-height: 156px;
    padding: 24px 16px !important;
  }

  .page-works .rec-card__icon {
    width: 96px !important;
    height: 96px !important;
  }
}
