/* Bright waterfront theme, based on the supplied Minato company profile. */
:root {
  --blue: #00a9a5;
  --blue-deep: #008b88;
  --blue-soft: #effcf9;
  --blue-section: #e8f9f3;
  --ink: #172b2b;
  --muted: #526d69;
  --gold: #d9df00;
  --ivory: #fffef7;
}

body { background: #fff; }
a:focus-visible, button:focus-visible { outline-color: #b8d900; }
.loading-curtain { background: linear-gradient(135deg, #00b6ad, #85d74a 68%, #e0e600); }
.site-header.is-scrolled { background: rgba(255,255,255,.97); }
.brand-copy strong { color: #078e8b; }
.brand-copy small { color: #52736b; }
.header-nav-contact, .contact-phone, .form-submit button, .result-button {
  background: linear-gradient(110deg, #00a9a5, #00c7b5);
  box-shadow: 0 10px 24px rgba(0,150,145,.2);
}
.contact-phone b {
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: .04em;
}
.menu-button { background: #008f8b; box-shadow: 0 8px 24px rgba(0,105,102,.19); }
.menu-button-art img {
  top: 42%;
  width: 62%;
  height: auto;
  object-fit: contain;
  filter: none;
}
.menu-button:hover .menu-button-art img { filter: none; }
.menu-button-label {
  position: absolute;
  right: 0;
  bottom: 18%;
  left: 0;
  color: #fff;
  font-family: var(--display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1;
  text-align: center;
  text-shadow: 0 0 1px #fff;
}
.site-header.is-scrolled .menu-button-label { font-size: 10px; bottom: 15%; }
.site-menu { background: linear-gradient(140deg, #008f90, #00b8ab 72%, #73c941); }
.header-brush-main { fill: rgba(255,255,255,.98); }
.header-brush-stroke { stroke: #06bcb3; filter: none; stroke-width: 3; }
.header-brush-stroke-soft { stroke: #b6d827; stroke-width: 2; }

/* Keep the existing hero photograph and headline, changing only its treatment. */
.hero { background: #c2f3e6; }
.hero-image { filter: saturate(1.1) brightness(1.09); }
.hero-wash {
  background: linear-gradient(90deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.9) 34%, rgba(255,255,255,.22) 65%, transparent 100%);
}
.hero::before {
  content: "";
  position: absolute;
  z-index: 4;
  pointer-events: none;
}
.hero::before {
  right: -8%; top: -23%; width: 56%; height: 48%;
  border-radius: 0 0 45% 75%;
  background: linear-gradient(125deg, rgba(0,188,174,.86), rgba(31,195,116,.82) 58%, rgba(225,230,0,.9));
  transform: rotate(-7deg);
}
.hero-content { top: 46%; left: var(--side); width: min(680px, 52vw); text-align: left; text-shadow: none; transform: translateY(-32%); }
.hero h1 {
  color: #008e89; font-size: clamp(38px, 4.8vw, 70px); font-weight: 600;
  line-height: 1.5; letter-spacing: .07em; white-space: normal;
  background: linear-gradient(100deg, #008e8e 12%, #00acaa 55%, #bbd800 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero h1 span { display: block; white-space: nowrap; }
.section-wave.hero-wave { top: -85px; height: 100px; }
.hero-wave .wave-fill { fill: #f0fcfa; filter: none; }
.hero-wave-stroke-main { stroke: #3abeb4; stroke-width: 2; opacity: .38; filter: none; }
.hero-wave-stroke-soft { stroke: #3abeb4; stroke-width: 1; opacity: .16; filter: none; }
.section-wave .wave-fill { filter: none; }
.section-wave .wave-stroke { stroke: #00beb5; stroke-width: 2; stroke-dasharray: none; filter: none; }

/* Let the existing wave and gallery cover the lower edge of the video. */
.awards { --section-bg: #f0fcfa; margin-top: -100px; padding: 38px 0 132px; }
.awards > .section-wave-bottom { bottom: 0; }
.award-main-laurel {
  position: absolute;
  top: 50%;
  z-index: 1;
  width: 150px;
  height: auto;
  transform: translateY(-50%);
  pointer-events: none;
}
.award-main-laurel-left { left: 11%; }
.award-main-laurel-right { right: 11%; }
@media (min-width: 1181px) {
  .award-main > div { min-width: 520px; }
}
.award-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; max-width: 1000px; margin-inline: auto; }
.award-badge { min-height: 190px; isolation: isolate; }
.award-badge::before, .award-badge::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 63px;
  height: 88.2px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  transform: translateY(-50%);
  pointer-events: none;
}
.award-badge::before { left: 0; background-image: url("./images/award-laurel-left.webp"); }
.award-badge::after { right: 0; background-image: url("./images/award-laurel-right.webp"); }
.award-badge > div { width: 100%; padding-inline: 30px; text-align: center; }
.award-badge h3 { font-size: 20px; font-weight: 700; letter-spacing: .045em; }
.award-badge h3 small { font-size: 14px; font-weight: 600; }
.award-badge p { font-size: 20px; font-weight: 600; letter-spacing: .04em; }
.award-badge strong { color: #a87b1c; font-size: 40px; font-weight: 700; }
.strength { --section-bg: #eaf9f0; background-image: radial-gradient(circle at 90% 12%, #d7f8dc 0, transparent 25%); }
.services, .works { background: radial-gradient(circle at 2% 20%, #e7fbf7, transparent 24%), #fffef8; }
.voices { background: #fff; }
.about {
  align-items: center;
  grid-template-columns: minmax(0, 1.08fr) minmax(400px, .92fr);
  gap: clamp(56px, 7.2vw, 108px);
  width: min(1160px, calc(100% - 2 * var(--side)));
  min-height: 0;
  margin-inline: auto;
  padding: 116px 0 150px;
  background: #fff;
}
.about-copy { align-self: auto; padding: 0; }
.about-copy h2, .section-heading h2, .works-header h2, .contact-copy h2,
.company-hero h1, .company-message-section h2, .company-section-heading h2,
.contact-form-hero h1, .policy-hero h1 { color: #073d3b; }
.about-copy h2 span, .strength-number { color: #00a9a5; }
.about-photo {
  position: relative;
  min-height: 0;
  margin: 0;
  padding: 14px;
  overflow: visible;
  clip-path: none;
  background: #f4f7f8;
  border: 1px solid rgba(65, 105, 138, .12);
  border-radius: 18px 18px 8px 8px;
  box-shadow: 0 22px 48px rgba(45, 79, 99, .12);
  transform: rotate(.5deg);
}
.about-photo::before {
  position: absolute;
  top: -9px;
  left: 50%;
  width: 82px;
  height: 21px;
  content: "";
  background: rgba(210, 181, 104, .25);
  border: 1px solid rgba(190, 157, 73, .1);
  transform: translateX(-50%) rotate(-1deg);
}
.about-photo::after { content: none; }
.about-photo img {
  position: static;
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
}
.about-photo img, .strength-grid img { filter: saturate(1.08) brightness(1.04); }
.outline-button { color: #008d89; border-color: #00b4ac; background: #fff; box-shadow: 0 5px 0 #dff5ef; }
.outline-button:hover { background: #effffb; }
.service-card { padding: 20px; border: 1px solid #d7eee6; border-radius: 22px; background: #fff; box-shadow: 0 15px 34px rgba(0,110,106,.07); }
.service-card > img { border-radius: 15px; }
.strength-grid img, .work-card img { border-radius: 18px; }
.work-card img { box-shadow: 0 14px 25px rgba(0,105,102,.12); }
.strength-number {
  position: static;
  display: block;
  margin: 0 0 12px 2px;
  font-size: clamp(32px, 3vw, 42px);
  font-style: normal;
  line-height: 1;
  text-align: left;
}
.strength-number::after { content: none; }
.strength-grid img { display: block; }
.contact { --section-bg: #e4fbf5; }
.contact-overlay { background: linear-gradient(90deg, rgba(230,252,246,.99) 0%, rgba(230,252,246,.95) 48%, rgba(230,252,246,.58) 72%, transparent 100%); }
.contact-mail { color: #008e89; }
.contact-copy h2 { color: #073d3b; }
.contact-copy strong span { border-color: rgba(0,145,138,.28); }
.contact-pill { border-radius: 24px; }
.site-footer { border-top: 3px solid #00bcb4; background: #f8fffb; }
.footer-address { display: grid; gap: 8px; min-width: 0; font-size: 11px; line-height: 1.6; }
.footer-office { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px; min-width: 0; }
.footer-office strong { color: #008e89; font-weight: 700; white-space: nowrap; }
.footer-office span { white-space: normal; overflow-wrap: anywhere; }
@media (min-width: 1100px) {
  .site-footer { gap: clamp(18px, 2vw, 34px); padding-inline: clamp(22px, 3vw, 48px); }
}
@media (max-width: 620px) {
  .site-footer .footer-address { justify-self: center; width: min(100%, 400px); text-align: left; }
  .footer-office { grid-template-columns: 1fr; gap: 1px; }
}

@media (min-width: 1200px) {
  .contact-inner {
    grid-template-columns: minmax(240px, 340px) minmax(0, 900px);
    justify-content: center;
    gap: clamp(36px, 3.4vw, 64px);
    width: min(1460px, calc(100% - 2 * var(--side)));
  }
  .contact-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: clamp(18px, 1.6vw, 26px);
  }
  .contact-pill { min-width: 0; min-height: 170px; padding: clamp(20px, 1.7vw, 30px); }
  .contact-pill-icon { width: clamp(62px, 4.2vw, 82px); height: clamp(62px, 4.2vw, 82px); flex-basis: clamp(62px, 4.2vw, 82px); }
  .contact-phone b { font-size: clamp(25px, 1.8vw, 32px); }
  .contact-mail b { font-size: clamp(18px, 1.25vw, 22px); }
}

@media (max-width: 1199px) {
  .contact-inner { width: min(900px, calc(100% - 2 * var(--side))); }
  .contact-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; max-width: 900px; }
  .contact-pill { min-width: 0; min-height: 160px; padding: 24px; }
  .contact-overlay { background: linear-gradient(180deg, rgba(230,252,246,.99) 0%, rgba(230,252,246,.96) 58%, rgba(230,252,246,.5) 82%, rgba(230,252,246,.08)); }
}

@media (max-width: 900px) {
  .about {
    grid-template-columns: 1fr;
    gap: 70px;
    width: min(720px, calc(100% - 2 * var(--side)));
    padding: 104px 0 132px;
  }
  .about-photo {
    width: min(510px, 88%);
    height: auto;
    margin-inline: auto;
  }
}

@media (max-width: 620px) {
  .about {
    gap: 55px;
    width: calc(100% - 40px);
    padding: 74px 0 108px;
  }
  .about-photo {
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 9px;
    border-radius: 13px 13px 7px 7px;
  }
  .about-photo img {
    min-height: 0;
    border-radius: 8px;
  }
}

/* Secondary pages share the same clear white, aqua, leaf-green and citron palette. */
.company-hero, .contact-form-hero, .policy-hero {
  background: radial-gradient(circle at 88% 12%, rgba(203,235,37,.25), transparent 24%),
              radial-gradient(circle at 6% 45%, rgba(0,195,183,.13), transparent 29%),
              linear-gradient(115deg, #fff 25%, #e9fbf6 100%);
}
.company-hero::before {
  background: repeating-radial-gradient(ellipse at 100% 100%, transparent 0 25px, rgba(0,181,170,.13) 26px 28px, transparent 29px 47px);
}
.company-hero-photo, .company-message-section img, .company-location-section img { border-radius: 24px; }
.company-profile-section { --section-bg: #ebfaf3; }
.company-addresses, .company-location-addresses { display: grid; gap: 20px; }
.company-address-block { min-width: 0; font-style: normal; overflow-wrap: anywhere; }
.company-address-block strong { display: block; margin-bottom: 3px; color: #008e89; font-family: var(--sans); font-size: .85em; font-weight: 700; letter-spacing: .06em; line-height: 1.6; }
.company-address-block strong,
.footer-office strong { color: #172b2b; font-weight: 600; }
.company-address-block span { display: block; }
.company-address-block .company-address-note { font-size: .82em; line-height: 1.7; }
.company-location-copy .company-address-block { color: #3e4d56; font-family: var(--display); font-size: 18px; line-height: 1.8; letter-spacing: .05em; }
@media (max-width: 620px) {
  .company-location-copy .company-address-block { font-size: 15.5px; }
}
.company-contact-cta { background: linear-gradient(110deg, #e2fbf4, #fbffdd); }
.company-contact-cta .company-section-en { color: #087c78; }
.company-contact-cta .company-section-en::before { background: rgba(0, 142, 137, .55); }
.company-contact-cta h2 { color: #073d3b; }
.company-contact-cta-inner > div > p:last-child { color: #405f5b; }
.manufacturer-logo img[src*="lixil.svg"] {
  width: 86px !important;
  max-width: 86px;
  height: auto !important;
}
.contact-form, .result-panel { border-color: #c5ede5; border-radius: 24px; box-shadow: 0 20px 45px rgba(0,132,126,.09); }
.form-row { border-bottom-color: #dbf0eb; }
.form-control-wrap input:focus, .form-control-wrap select:focus, .form-control-wrap textarea:focus { box-shadow: 0 0 0 3px rgba(0,180,170,.17); }
.policy-toc { border-top-color: #00b7ad; }
.policy-section { border-top-color: #bce5da; }
.policy-section h2, .policy-section h3 { color: #087c78; }

@media (max-width: 760px) {
  .hero-wash { background: linear-gradient(180deg, rgba(255,255,255,.94) 0%, rgba(255,255,255,.7) 54%, transparent 85%); }
  .hero::before { top: -8%; right: -30%; width: 95%; height: 24%; }
  .section-wave.hero-wave { top: -78px; height: 90px; }
  .awards { margin-top: -80px; padding-bottom: 96px; }
  .hero-content { top: 43%; left: var(--side); width: calc(100% - 2 * var(--side)); transform: translateY(-40%); }
  .hero h1 { font-size: clamp(32px, 8vw, 48px); line-height: 1.55; }
  .menu-button-label { font-size: 11px; bottom: 16%; }
  .service-card { padding: 14px; }
  .contact-actions { grid-template-columns: 1fr; width: min(480px, 100%); }
  .contact-pill { min-height: 140px; padding: 22px; }
  .contact-phone b { font-size: clamp(24px, 6vw, 31px); }
}

@media (max-width: 1500px) {
  .award-main-laurel { width: 108px; }
  .award-main-laurel-left { left: 15%; }
  .award-main-laurel-right { right: 15%; }
  .award-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 26px; max-width: 650px; }
  .award-badge::before { left: 26px; }
  .award-badge::after { right: 26px; }
  .award-badge > div { padding-inline: 38px; }
}

@media (min-width: 1181px) and (max-width: 1300px) {
  .award-main-laurel { width: 78px; }
  .award-main-laurel-left { left: 18%; }
  .award-main-laurel-right { right: 18%; }
}

@media (min-width: 901px) and (max-width: 1180px) {
  .award-main-laurel { width: 126px; }
  .award-main-laurel-left { left: 14%; }
  .award-main-laurel-right { right: 14%; }
}

@media (max-width: 1140px) {
  .award-main-laurel { display: none; }
}

@media (max-width: 760px) {
  .award-badge { min-height: 168px; }
  .award-badge > div { padding-inline: 27px; }
  .award-badge h3 { font-size: 18px; }
  .award-badge h3 small { font-size: 13px; }
  .award-badge p { font-size: 18px; }
  .award-badge strong { font-size: 34px; }
}

@media (max-width: 700px) {
  .award-grid { grid-template-columns: 1fr; max-width: 320px; gap: 12px; }
}

@media (max-width: 520px) {
  .award-badge { min-height: 176px; }
  .award-badge::before { left: 16px; }
  .award-badge::after { right: 16px; }
  .award-badge > div { padding-inline: 42px; }
  .award-badge strong { font-size: 38px; }
}

@media (max-width: 600px) {
  .menu-button-label,
  .site-header.is-scrolled .menu-button-label { font-size: 9px; bottom: 14%; }
}

@media (max-width: 420px) {
  .contact-pill { gap: 12px; padding-inline: 16px; }
  .contact-pill-icon { width: 52px; height: 52px; flex-basis: 52px; }
  .contact-phone b { font-size: 23px; }
}

/* SP layout refinements requested for the awards and lower page sections. */
@media (max-width: 760px) {
  .awards-thanks {
    position: relative;
    z-index: 3;
    margin-bottom: 8px;
    transform: none;
  }

  .award-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 54% minmax(0, 1fr);
    align-items: start;
    column-gap: 0;
    height: clamp(370px, 82vw, 400px);
  }

  .award-main-laurel {
    position: absolute;
    top: -10px;
    display: block;
    width: clamp(62px, 17vw, 104px);
    transform: none;
  }

  .award-main-laurel-left { left: clamp(22px, 7vw, 48px); }
  .award-main-laurel-right { right: clamp(22px, 7vw, 48px); }

  .award-main > div {
    grid-row: 1;
    grid-column: 1 / -1;
    align-self: start;
    width: 100%;
    min-width: 0;
  }

  .award-person {
    display: block;
    bottom: clamp(18px, 5vw, 30px);
    z-index: 1;
    height: clamp(210px, 56vw, 295px);
  }

  .award-person-woman {
    left: clamp(6px, 3vw, 18px);
    width: clamp(145px, 43vw, 260px);
  }

  .award-person-man {
    right: clamp(4px, 2vw, 14px);
    width: clamp(165px, 49vw, 295px);
  }

  .award-main .award-ribbon {
    width: calc(100% - 32px);
    min-width: 0;
    max-width: 278px;
  }

  .award-main p {
    font-size: clamp(12px, 3vw, 15px);
    white-space: nowrap;
  }

  .award-grid {
    gap: 6px;
    margin-top: -28px;
  }

  .award-badge {
    min-height: 156px;
  }

  .award-badge::before { left: clamp(20px, 7vw, 32px); }
  .award-badge::after { right: clamp(20px, 7vw, 32px); }

  .manufacturer-logo img[src*="lixil.svg"] {
    width: 82px !important;
    max-width: 82px;
    height: auto !important;
  }

  .strength > .section-wave-bottom,
  .voices > .section-wave-bottom,
  .contact > .section-wave-top {
    display: none;
  }

  .strength { padding-bottom: 56px; }
  .voices { padding-top: 64px; padding-bottom: 78px; }
  .works { padding-top: 54px; padding-bottom: 52px; }
  .contact-inner { padding-top: 62px; }
}

@media (max-width: 420px) {
  .award-main {
    grid-template-columns: minmax(0, 1fr) 54% minmax(0, 1fr);
    column-gap: 0;
  }

  .award-main h2 { font-size: 32px; }
  .award-main h2 strong { font-size: 49px; }
  .award-main p { font-size: 11px; letter-spacing: .01em; }
  .award-main .award-ribbon { max-width: 230px; padding-inline: 20px; }
}
