@charset "UTF-8";

/* ===== safety ===== */
#oncall .content-ttl .content-ttl-ja .ttl-img {
  width: 878px;
  height: auto;
  object-fit: contain;
}

#oncall .safety-txt {
  border: none;
  margin-top: 0;
}
#oncall .safety-txt .oncall-img1 {
  position: absolute;
  right: 16px;
  width: 207px;
  height: auto;
  object-fit: contain;
  top: 0;
  transform: translateY(-30%);
}
#oncall .safety-txt .oncall-img2 {
  position: absolute;
  left: 150px;
  width: 107px;
  height: auto;
  object-fit: contain;
  bottom: 0;
}
#oncall .safety-txt .note {
  margin-bottom: 16px;
  padding-top: 0;
  display: flex;
  gap: 32px;
  justify-content: center;
}
#oncall .safety-txt .note span {
  font-weight: 700;
}
#oncall .safety-txt .note span:first-child {
  position: relative;
}
#oncall .safety-txt .note span:first-child::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  right: -16px;
  width: 2px;
  height: 100%;
  background-color: var(--color-skyblue);
  border-radius: 15px;
}
@media screen and (max-width: 1400px) {
  #oncall .safety-txt .oncall-img1 {
    width: 150px;
  }
  #oncall .safety-txt .oncall-img2 {
    width: 100px;
    left: 100px;
  }
}
@media screen and (max-width: 1200px) {
  #oncall .safety-txt .oncall-img1 {
    width: 120px;
  }
  #oncall .safety-txt .oncall-img2 {
    width: 80px;
    left: 80px;
  }
}
@media screen and (max-width: 1024px) {
  #oncall .safety-txt .oncall-img1 {
    top: auto;
    bottom: 0;
    transform: none;
  }
}
@media screen and (max-width: 768px) {
  #oncall .content-ttl .content-ttl-ja {
    justify-content: center;
  }
  #oncall .content-ttl .content-ttl-ja .ttl-img {
    width: 400px;
  }
  #oncall .safety-txt .oncall-img1 {
    top: 0;
    bottom: auto;
    width: 80px;
    transform: translateY(-50%);
  }
  #oncall .safety-txt .note {
    flex-direction: column;
    gap: 4px;
  }
  #oncall .safety-txt .note span:first-child::after {
    content: none;
  }
  #oncall .safety-txt .oncall-img2 {
    width: 60px;
    left: 16px;
  }
}
@media screen and (max-width: 600px) {
  #oncall .safety-txt .oncall-img1 {
    width: 64px;
  }
  #oncall .safety-txt .oncall-img2 {
    width: 50px;
    left: 8px;
  }
}
/* trouble */
#trouble {
  position: relative;
}
#trouble .hd img {
  width: 582px;
  height: auto;
  object-fit: contain;
  margin-bottom: 16px;
  margin-left: auto;
  margin-right: auto;
}
#trouble .hd p {
  font-family: var(--font-zenmaru);
  letter-spacing: 0.2em;
  font-size: var(--fs-36);
  font-weight: 700;
  color: var(--color-navy);
  padding-bottom: 4px;
  border-bottom: 4.5px solid var(--color-skyblue);
  margin-left: auto;
  margin-right: auto;
  width: fit-content;
}
#trouble .content .ttl {
  position: relative;
  padding: 12px 0;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-bottom: 16px;
}
#trouble .content .ttl::before {
  position: absolute;
  content: "";
  background-color: var(--color-skyblue-light);
  width: 100vw;
  height: 100%;
  z-index: -1;
}
#trouble .content .ttl .case-illust-1 {
  position: absolute;
  bottom: 100%;
  right: calc(50% - 240px);
  width: 120px;
  height: auto;
  object-fit: contain;
  transform: translateX(50%);
}

#trouble .content .ttl img {
  width: 107px;
  height: auto;
  object-fit: contain;
}

#trouble .content .ttl p {
  font-family: var(--font-zenmaru);
  font-weight: 700;
  font-size: var(--fs-32);
  color: var(--color-skyblue);
  letter-spacing: 0.2em;
}
@media screen and (max-width: 960px) {
  #trouble .content .ttl img {
    width: 77px;
  }
  #trouble .content .ttl p {
    font-size: var(--fs-30);
  }
  #trouble .content .img-wrap .sp-only {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    width: 100%;
  }
  #trouble .content .img-wrap .sp-only img {
    max-width: 580px;
    width: 100%;
    object-fit: contain;
  }
}
@media screen and (max-width: 768px) {
  #trouble .hd p {
    font-size: var(--fs-30);
  }
  #trouble .content .ttl {
    gap: 8px;
  }
  #trouble .content .ttl img {
    width: 57px;
  }
  #trouble .content .ttl .case-illust-1 {
    right: 24px;
    transform: none;
    width: 80px;
  }
}
@media screen and (max-width: 600px) {
  #trouble .content .ttl p {
    font-size: var(--fs-24);
    letter-spacing: 0.14em;
  }
  #trouble .content .ttl .case-illust-1 {
    right: 0;
    transform: none;
    width: 50px;
  }
}
/*===== 水道修理センター =====*/
#repair-link a {
  pointer-events: none;
}
#repair-link a img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
@media screen and (max-width: 600px) {
  #repair-link a {
    pointer-events: auto;
  }
}
/*===== support-list =====*/
#support-list .inr {
  padding-left: 5%;
  padding-right: 5%;
}
#support-list .list-wrap {
  gap: 64px 80px;
}
#support-list .list-item {
  padding-top: 64px;
  position: relative;
  width: calc(50% - 40px);
  border-top: 1px solid var(--color-gray2);
}
#support-list .list-item:nth-child(odd):after {
  content: "";
  position: absolute;
  top: 0;
  right: -40px;
  width: 1px;
  height: 100%;
  background-color: var(--color-gray2);
}
#support-list .list-item .ttl {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-bottom: 8px;
}
#support-list .list-item .ttl p {
  font-weight: 700;
  font-size: var(--fs-22);
  color: var(--color-navy);
  letter-spacing: 0.12em;
}
#support-list .list-item .ttl img {
  height: 24px;
  width: auto;
  object-fit: contain;
}
#support-list .list-item .copy {
  font-weight: 500;
  letter-spacing: 0.12em;
  background-color: var(--color-skyblue);
  color: var(--color-white);
  padding: 14px 8px;
  text-align: center;
  margin-bottom: 20px;
}
#support-list .list-item .desc {
  letter-spacing: 0.08em;
  font-weight: 500;
  line-height: 2;
  padding-bottom: 20px;
  font-weight: 700;
}
#support-list .list-item address {
  font-style: normal;
  padding-bottom: 20px;
  font-weight: 700;
}
#support-list .list-item address p {
  font-size: var(--fs-15);
  letter-spacing: 0.08em;
}
#support-list .list-item address p:first-child {
  padding-bottom: 4px;
}
#support-list .list-item .logo {
  object-fit: contain;
  height: 92px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;
}
#support-list .list-item .tel {
  gap: 8px;
  border-radius: 10px;
  border: 2px solid var(--color-skyblue);
  padding: 14px 0;
  justify-content: center;
  align-items: center;
  font-size: var(--fs-30);
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--color-skyblue);
  pointer-events: none;
}
#support-list .list-item .tel img {
  width: 32px;
  height: auto;
  object-fit: contain;
}
@media screen and (max-width: 960px) {
  #support-list .list-wrap {
    gap: 40px;
  }
  #support-list .list-item {
    width: calc(50% - 20px);
    padding-top: 40px;
  }
  #support-list .list-item:nth-child(odd):after {
    right: -20px;
  }
  #support-list .list-item .ttl img {
    height: 16px;
  }
  #support-list .list-item .logo {
    height: 64px;
  }
  #support-list .list-item .tel {
    padding: 10px 0;
  }
}
@media screen and (max-width: 768px) {
  #support-list .list-wrap {
    flex-direction: column;
    gap: 24px;
  }
  #support-list .list-item {
    width: 100%;
    padding-top: 24px;
  }
  #support-list .list-item:nth-child(odd):after {
    display: none;
  }
  #support-list .list-item .tel {
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    padding: 10px 24px;
  }
}
@media screen and (max-width: 600px) {
  #support-list .list-item .copy,
  #support-list .list-item .logo {
    margin-bottom: 16px;
  }
  #support-list .list-item .copy {
    padding: 12px 8px;
  }
  #support-list .list-item .desc,
  #support-list .list-item address {
    padding-bottom: 16px;
  }
  #support-list .list-item .tel {
    pointer-events: auto;
  }
}

/*===== support =====*/
#support .inr {
  padding-left: 5%;
  padding-right: 5%;
}
#support .content .item {
  gap: 8px;
}
#support .content .item .ttl {
  position: relative;
  display: block;
  color: var(--color-skyblue);
  font-weight: 700;
  font-size: var(--fs-18);
  padding-left: 24px;
  border-bottom: 1px solid var(--color-gray2);
  padding-top: 16px;
  padding-bottom: 16px;
}
#support .content .item .ttl::before {
  content: "▶";
  font-size: var(--fs-12);
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}
#support .content .item .desc {
  padding-top: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-gray2);
  font-weight: 500;
  flex: 1;
}
@media screen and (max-width: 768px) {
  #support .content .item {
    flex-direction: column;
    padding-bottom: 16px;
  }
  #support .content .item .ttl {
    border-bottom: none;
    padding-bottom: 0;
    padding-top: 0;
    padding-left: 14px;
  }
  #support .content .item .desc {
    padding-top: 0;
  }
}

/*===== 404 Error Page =====*/
#error-404 .error-content {
  max-width: 800px;
  margin: 0 auto;
}

#error-404 .error-code {
  margin-bottom: 60px;
}

#error-404 .error-number {
  font-size: 120px;
  font-weight: 900;
  color: var(--color-skyblue);
  line-height: 1;
  margin-bottom: 16px;
  font-family: var(--font-zenmaru);
}

#error-404 .error-message {
  font-size: var(--fs-24);
  font-weight: 700;
  color: var(--color-navy);
  letter-spacing: 0.2em;
}

#error-404 .error-description {
  margin-bottom: 80px;
}

#error-404 .error-description p {
  font-size: var(--fs-18);
  line-height: 1.8;
  color: var(--color-navy);
}

#error-404 .suggestion-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-bottom: 80px;
}

#error-404 .suggestion-item {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 32px;
  background-color: var(--color-white);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

#error-404 .suggestion-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-skyblue-light);
  border-radius: 50%;
}

#error-404 .suggestion-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

#error-404 .suggestion-content h3 {
  font-size: var(--fs-20);
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 8px;
}

#error-404 .suggestion-content p {
  font-size: var(--fs-16);
  line-height: 1.6;
  color: var(--color-gray);
  margin-bottom: 16px;
}

#error-404 .search-form {
  display: flex;
  gap: 12px;
  max-width: 400px;
}

#error-404 .search-form input {
  flex: 1;
  padding: 12px 16px;
  border: 2px solid var(--color-gray2);
  border-radius: 8px;
  font-size: var(--fs-16);
}

#error-404 .search-form input:focus {
  outline: none;
  border-color: var(--color-skyblue);
}

#error-404 .search-form button {
  padding: 12px 24px;
  background-color: var(--color-skyblue);
  color: var(--color-white);
  border: none;
  border-radius: 8px;
  font-size: var(--fs-16);
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#error-404 .search-form button:hover {
  background-color: var(--color-navy);
}

#error-404 .btn-home,
#error-404 .btn-contact {
  display: inline-block;
}

#error-404 .btn-home a,
#error-404 .btn-contact a {
  display: inline-block;
  padding: 12px 24px;
  background-color: var(--color-skyblue);
  color: var(--color-white);
  text-decoration: none;
  border-radius: 8px;
  font-size: var(--fs-16);
  font-weight: 600;
  transition: background-color 0.3s ease;
}

#error-404 .btn-home a:hover,
#error-404 .btn-contact a:hover {
  background-color: var(--color-navy);
}

#error-404 .quick-links {
  margin-top: 60px;
}

#error-404 .quick-links h3 {
  font-size: var(--fs-24);
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 32px;
  text-align: center;
}

#error-404 .link-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

#error-404 .quick-link {
  display: block;
  padding: 24px;
  background-color: var(--color-white);
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

#error-404 .quick-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

#error-404 .link-title {
  display: block;
  font-size: var(--fs-18);
  font-weight: 700;
  color: var(--color-skyblue);
  margin-bottom: 8px;
}

#error-404 .link-desc {
  display: block;
  font-size: var(--fs-14);
  color: var(--color-gray);
  line-height: 1.5;
}

@media screen and (max-width: 768px) {
  #error-404 .error-number {
    font-size: 80px;
  }

  #error-404 .error-message {
    font-size: var(--fs-20);
  }

  #error-404 .error-description p {
    font-size: var(--fs-16);
  }

  #error-404 .suggestion-item {
    flex-direction: column;
    text-align: center;
    padding: 24px;
  }

  #error-404 .suggestion-icon {
    margin: 0 auto;
  }

  #error-404 .search-form {
    flex-direction: column;
    max-width: 100%;
  }

  #error-404 .link-grid {
    grid-template-columns: 1fr;
  }

  #error-404 .quick-links h3 {
    font-size: var(--fs-20);
  }
}
