[hidden] {
  display: none !important;
}
.policylinks {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 12px;
  line-height: 1.8;
}
.policylinks a {
  text-decoration: underline;
  text-underline-offset: 4px;
}
footer {
  flex-wrap: wrap;
}
.newslist {
  background: white;
  padding: 0 30px;
}
.newslist article {
  display: grid;
  grid-template-columns: 85px 1fr;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid #dfe8e2;
}
.newslist article:last-child {
  border-bottom: 0;
}
.newslist h3 {
  font-size: 17px;
}
.newslist p {
  font-size: 14px;
  margin: 6px 0 0;
  color: #607469;
}
.newslist time {
  font-size: 14px;
}
.policybody {
  max-width: 1000px;
  padding: 70px 7%;
  margin: auto;
}
.policybody h1 {
  font-size: 34px;
  margin-bottom: 45px;
}
.policybody section {
  margin: 30px 0;
}
.policybody h2 {
  font-size: 21px;
  margin-bottom: 14px;
}
.policybody p {
  font-size: 16px;
  color: #54685d;
  line-height: 2;
}
.privacyconsent {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  margin: 25px 0;
}
.privacyconsent input {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 4px;
}
.privacyconsent span {
  color: #e1efe7 !important;
  font-size: 14px !important;
  margin: 0 !important;
}
.policybody p a,
.privacyconsent a {
  text-decoration: underline;
}
.formpanel {
  max-width: 820px;
  margin: 40px auto 0;
  background: #174c3d;
  padding: 38px;
  text-align: left;
  color: white;
}
.formpanel h3 {
  font-size: 25px;
  margin-bottom: 20px;
}
.formpanel p {
  font-size: 14px;
  color: #e3eee7;
}
.formpanel dl > div {
  grid-template-columns: 150px 1fr;
  border-color: #52816a;
}
.formpanel dd {
  color: #e3eee7;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.formpanel .btn:not(.white) {
  border-color: #a1b9ab;
  color: white;
  background: transparent;
}
.formpanel .btn:disabled {
  opacity: 0.5;
  cursor: wait;
}
.formstep {
  font: 12px Arial;
  letter-spacing: 0.1em;
}
.preview-notice {
  padding: 15px;
  border: 1px solid #a6c3af;
}
.frame-lp .productgrid article {
  display: flex;
  flex-direction: column;
}
.frame-lp .productgrid .product-image-wrap {
  margin-top: auto;
}
.frame-lp .framevisit .visitimage {
  padding: 0;
  overflow: hidden;
}
.frame-lp .framevisit .visitimage img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}
.frame-lp .framevisit .visitimage img[src$="gdrplus.webp"] {
  object-fit: contain;
  padding: 25px;
}
.frame-lp .contact > form .small {
  color: #d1e3d8;
}
@media (max-width: 700px) {
  .newslist {
    padding: 0 20px;
  }
  .newslist article {
    grid-template-columns: 55px 1fr;
    gap: 12px;
  }
  .newslist h3 {
    font-size: 16px;
  }
  .formpanel {
    padding: 25px 20px;
  }
  .formpanel dl > div {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .policybody h1 {
    font-size: 28px;
  }
  .frame-lp .framevisit .visitimage img {
    min-height: 300px;
    height: 300px;
  }
  .policylinks {
    gap: 12px;
  }
}

/* Real installation photographs: gentle display-only color correction. */
.frame-lp #cases .casegrid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px 26px;
}
.frame-lp #cases .casephoto img {
  height: 235px;
  aspect-ratio: auto;
  object-fit: cover;
}
.frame-lp #cases .works-fukuoka-z {
  filter: brightness(1.035) saturate(0.92);
}
.frame-lp #cases .works-fukuoka-p {
  filter: brightness(1.13) saturate(0.94) contrast(1.02);
}
.frame-lp #cases .works-miyazaki-n {
  filter: brightness(1.035) saturate(0.9);
}
.frame-lp #cases .works-nagasaki-h {
  filter: brightness(1.035) saturate(0.9);
}
.frame-lp #cases .case-spec-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #758279;
  margin-bottom: 5px;
}
.frame-lp #cases .casegrid p {
  margin-top: 12px;
  line-height: 1.9;
}
@media (max-width: 700px) {
  .frame-lp #cases .casegrid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.frame-lp #cases .works-fukuoka-n {
  filter: brightness(1.04) saturate(0.94);
}
@media (min-width: 701px) and (max-width: 1100px) {
  .frame-lp #cases .casephoto img {
    height: 200px;
  }
}
@media (max-width: 700px) {
  .frame-lp #cases .casephoto img {
    height: 240px;
  }
}

/* Align point numbers with heading baselines. */
.frame-lp .strength article {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  column-gap: 15px;
  padding: 22px 0;
  align-items: baseline;
}
.frame-lp .strength article > span {
  position: static;
  font:
    14px/1.8 Arial,
    sans-serif;
  grid-column: 1;
  grid-row: 1;
}
.frame-lp .strength article > h3 {
  grid-column: 2;
  grid-row: 1;
  margin: 0 0 10px;
  line-height: 1.8;
}
.frame-lp .strength article > p {
  grid-column: 2;
  grid-row: 2;
  margin: 0;
}
.newslist p {
  line-height: 1.95;
  max-width: 74em;
}
@media (max-width: 700px) {
  .moviesection .movie-desktop-break {
    display: initial;
  }
}

.frame-lp .productgrid .product-image-wrap {
  margin-top: 16px;
  margin-bottom: 18px;
}

/* Compact product headings and edge-to-edge photography. */
.frame-lp .productgrid h3 {
  margin-bottom: 6px;
}
.frame-lp .productgrid .product-image-wrap {
  margin-top: 0;
  margin-bottom: 18px;
  aspect-ratio: 1;
  flex: none;
}
.frame-lp .productgrid .product-image-wrap img {
  width: 100%;
  height: 100%;
  padding: 0;
  object-fit: cover;
  display: block;
}

.frame-lp .productgrid .product-image-wrap {
  margin-top: auto;
  margin-bottom: 0;
}
.frame-lp .productgrid article > p {
  margin-bottom: 16px;
}

.frame-lp .movie-trigger {
  width: 100%;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(#061c1599, #061c15b3),
    url("https://i.ytimg.com/vi/i3Kmg8zcg6I/hqdefault.jpg") center/cover;
  color: #fff;
}
.movie-trigger:hover .playmark {
  transform: scale(1.08);
}
.movie-trigger:focus-visible,
.movie-close:focus-visible {
  outline: 3px solid #56b799;
  outline-offset: 5px;
}
.movie-modal {
  border: 0;
  padding: 0;
  width: min(960px, 92vw);
  max-width: 960px;
  max-height: 92dvh;
  background: #0b1914;
  color: #fff;
  box-shadow: 0 24px 100px #0008;
  border-radius: 8px;
  overflow: auto;
}
.movie-modal::backdrop {
  background: #000c;
}
.movie-modal-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 20px;
}
.movie-modal-bar h2 {
  font-size: 16px;
  margin: 0;
  line-height: 1.5;
  color: #fff;
}
.movie-close {
  background: transparent;
  color: #fff;
  border: 1px solid #ffffff66;
  padding: 8px 14px;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  border-radius: 4px;
}
.movie-player {
  aspect-ratio: 16/9;
  background: #000;
}
.movie-player iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.movie-external {
  display: block;
  text-align: right;
  padding: 12px 20px;
  color: #fff;
  font-size: 12px;
  text-decoration: underline;
}
@media (max-width: 700px) {
  .movie-modal {
    width: 94vw;
  }
  .movie-modal-bar {
    padding: 12px;
  }
  .movie-modal-bar h2 {
    font-size: 14px;
  }
}

.movie-teaser {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: #09251b url("https://i.ytimg.com/vi/i3Kmg8zcg6I/hqdefault.jpg")
    center/cover;
}
.movie-background-player {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
}
.frame-lp .movie-teaser .movie-trigger {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
  background: linear-gradient(#031a1133, #031a1177);
  z-index: 1;
}

.google-form-contact {
  margin-top: 32px;
}
.google-form-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 20px 32px;
}
.frame-lp #contact .google-form-note {
  font-size: 12px;
  margin-top: 14px;
  color: #d1e3d8;
}
@media (max-width: 700px) {
  .google-form-button {
    width: 100%;
    padding: 18px 16px;
    gap: 16px;
  }
}

/* Mobile-only case carousel; desktop stays as a grid. */
.case-carousel-controls {
  display: none;
}
@media (max-width: 700px) {
  .frame-lp .hero-desktop-break {
    display: none;
  }
  .frame-lp #cases .casegrid {
    display: grid;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 86%;
    gap: 16px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    touch-action: pan-x pan-y;
    scroll-behavior: smooth;
  }
  .frame-lp #cases .casegrid::-webkit-scrollbar {
    display: none;
  }
  .frame-lp #cases .casegrid article {
    min-width: 0;
    scroll-snap-align: start;
  }
  .frame-lp #cases .case-carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 24px;
  }
  .case-carousel-controls button {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid #afc6b9;
    border-radius: 50%;
    background: white;
    color: #174c3d;
    font-size: 20px;
    cursor: pointer;
  }
  .case-carousel-controls button:disabled {
    opacity: 0.35;
    cursor: default;
  }
  .case-carousel-controls button:focus-visible,
  .casegrid:focus-visible {
    outline: 3px solid #2d8c6f;
    outline-offset: 3px;
  }
  .case-count {
    font-size: 13px;
    letter-spacing: 0.08em;
    color: #356954;
    min-width: 40px;
    text-align: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  .frame-lp #cases .casegrid {
    scroll-behavior: auto;
  }
}
