html {
  overflow-y: auto;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", serif;
  font-size: 16px;
  overflow-x: hidden;
}

.wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  width: 100%;
  box-sizing: border-box;
}

header {
  width: 100%;
  height: auto;
  padding: 10px 15px;
  background-color: #fff;
  z-index: 1000;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.header-light {
  display: flex;
  align-items: center;
  margin-bottom: 10px;

  flex-shrink: 0;
}

.logo a {
  display: block;
}

.logo img {
  width: 100px;
  height: auto;
}

.header-company {
  margin-left: 10px;
  line-height: 1.4;
}

.header-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-shrink: 0;
}

.header-phone {
  color: #5f6368;
  margin-right: 15px;
  text-align: right;

  /* 問い合わせボタンのエフェクトの影響を受けないように */
  z-index: 3;
}

.phone-icon {
  width: 36px;
  height: 36px;
  margin-right: 5px;
  vertical-align: middle;
}

.phone-number {
  display: flex;
  align-items: center;
  font-size: 38px;
  text-decoration: none;
  color: #5f6368;
  line-height: 1.2;
}

.header-phone p {
  margin: 0;
}

.header-mail {
  width: auto;
  height: auto;
  margin-left: 10px;
  position: relative;
  transition: all 0.4s ease;
  background-color: #5ac0e2;
}

.mail-button {
  display: flex;
  align-items: center;
  padding: 8px 15px;
  text-decoration: none;
  color: #fff;
}

.header-mail::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s;
}

.header-mail:hover {
  background-color:#0E8C66;
}

.header-mail:hover::before {
  left: 100%;
}

.mail-icon {
  width: 30px;
  height: 30px;
  margin-right: 5px;
}

.header-mail span {
  color: #fff;
  margin: 5px;
}

.movie {
  overflow: hidden;
  padding-top: 100px;
  margin-top: 0;
  height: auto;
  z-index: 1;
  width: 100%;
  background-color: #f1f6f4;
}

.movie video {
  width: 100%;
  height: auto;
  object-fit: cover;
  outline: none;
  border: none;
  filter: drop-shadow(0px 0px rgba(0,0,0,0));
}

.bg-pale-blue {
  background-color: #f1f6f4;
  padding: 0;
}

.bg-white {
  background-color: #fff;
  margin: 0 auto;
  width: 60%;
  max-width: 1000px;
  align-items: center;
  box-sizing: border-box;
}

.sales {
  background-color: #f1f6f4;
}

.sales-explain {
  margin: 0;
  padding: 4vw;
  text-align: center;
  letter-spacing: 0.1rem;
  font-weight: 550;
}

.text-float {
  opacity:0;
  transform: translateY(5px);
  transition: opacity 1s, transform 2s;
}

.text-float.visible {
  opacity: 1;
  transform: translateY(0);
}

.sales-p1, .sales-p2 {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
}

.sales-p3 {
  font-size: clamp(1.3rem, 2.8vw, 2.3rem);
}

.img-store {
  width: 100%;
  height: auto;
  max-width: 100%;
}

.ig-url {
  color: black;
  font-size: clamp(1rem, 2vw, 1.6rem);
  display: block;
  padding-top: 3vw;
  text-align: center;
}

.img-ecofill {
  padding: 5vw 0 3vw 0;
  max-width: 100%;
}

.info-branch {
  padding-top: 3vw;
  display: inline-block;
  margin: 4vw 5vw;
  text-align: center;
  width: calc(100% - 10vw);
}

.info-branch h5 {
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.info-branch p {
  text-align: left;
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
}

.branch-content {
  margin-top: 2vw;
  align-items: center;
}

.branch-address {
  padding-top: 2rem;
  margin-bottom: 3rem;
  text-align: left;
}

.branch-address p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.access-info {
  font-size: 0.95rem;
}

.branch-map {
  flex: 1;
  min-width: 250px;
  height: 250px;
}

.branch-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.how-we-work {
  padding-top: 6vw;
}

.how-we-work-title {
  margin: 0 0 1.5vw 0;
  padding-left: 5vw;
}

.how-we-work-title h3 {
  font-size: clamp(1.5rem, 3vw, 2.7rem);
  font-weight: 550;
  letter-spacing: 0.1rem;
}

.how-we-work-title p {
  font-size: clamp(1rem, 2vw, 1.7rem);
}

.how-we-work-text {
  background-image: url(../images/auto_refill_station/contents/water.png);
  background-size: cover;
  padding: 0.8rem 5vw 8vw 5vw;
}

.how-we-work-text span {
  font-size: clamp(1rem, 1.8vw, 1.45rem);
  letter-spacing: 0.1rem;
  line-height: 1.6;
  font-weight: 500;
}

.how-we-work-text ul {
  list-style: none;
  margin-top: 1.45rem;
  font-size: clamp(1rem, 1.8vw, 1.45rem);
  line-height: 1.6;
  font-weight: 500;
  padding-left: 1.2rem;
}

.how-we-work-text li {
  position: relative;
}

.how-we-work-text li::before {
  content: "";
  display: block;
  width: 1rem;
  height: 0.5rem;
  border-left: 3px solid;
  border-bottom: 3px solid;
  position: absolute;
  top: 0.8rem;
  left: -1.2rem;
  transform: rotate(-45deg);
}

.how-we-work-text p {
  padding-top: 1.45rem;
  font-size: clamp(1rem, 1.8vw, 1.45rem);
  line-height: 1.6;
  font-weight: 500;
}

.how-to-use {
  padding-top: 6vw;
}

.how-to-use-title {
  margin: 0 0 1.5vw 0;
  padding-left: 5vw;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.img-efexvalve {
  display: block;
  max-width: 100%;
  height: auto;
}

.how-to-use-title h3 {
  font-size: clamp(1.5rem, 3vw, 2.7rem);
  font-weight: 550;
  letter-spacing: 0.1rem;
}

.how-to-use-title p {
  font-size: clamp(1rem, 2vw, 1.7rem);
}

.how-to-use-text {
  padding: 0.8rem 5vw 7vw 5vw;
}

.how-to-use-text span {
  display: block;
  font-size: clamp(1rem, 1.8vw, 1.54rem);
  letter-spacing: 0.1rem;
  line-height: 1.6;
  font-weight: 500;
  margin-bottom: 1.45rem;
}

.how-to-use-text p {
  padding-top: 1.45rem;
  font-size: clamp(1rem, 1.8vw, 1.45rem);
  line-height: 1.6;
  font-weight: 500;
}

.img-how-to-use {
  width: 100%;
  height: auto;
  display: block;
  padding-bottom: 1vw;
  margin: 0 auto;
  max-width: 100%;
}

.how-to-use-text-img {
  display: flex;
  gap: 5px;
  align-items: flex-start;
}

.how-to-use-text-img p {
  margin: 0;
  padding: 0;
  font-size: clamp(1rem, 1.8vw, 1.45rem);
  line-height: 1.6;
  font-weight: 500;
}

.how-to-use-text-img img {
  margin: 1vw 0 0 0.2rem;
  height: 1rem;
  width: auto;
}

.compare {
  padding: 4vw 0 1vw 0;
  margin: 0 auto;
  width: 80%;
  align-items: center;
  box-sizing: border-box;
  text-align: center;
}

.compare-title {
  margin: 0 0 1.5vw 0;
}

.compare-title h3 {
  font-size: clamp(1.5rem, 3vw, 2.7rem);
  font-weight: 550;
  letter-spacing: 0.1rem;
}

.compare-title p {
  font-size: clamp(1rem, 2vw, 1.7rem);
}

.compare-process {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding-bottom: 2vw;
  margin-bottom: 2vw;
  text-align: left;
}

.compare-process p {
  margin: 0;
  padding: 0.5vw 0 1vw 0;
  font-size: clamp(1.2rem, 1.5vw, 1.2rem);
  font-weight: bold;
}

.img-compare-process {
  width: 100%;
  height: auto;
  align-items: left;
}

.img-compare-process-cost {
  width: 90%;
  height: auto;
  margin: 0 auto;
  align-items: center;
}

.evo-reuse {
  border: solid 5px #0E8C66;
  padding: 10px;
}

.evo-reuse p {
  padding-left: 5px;
  padding-top: 5px;
}

.how-to-use-text-green {
  color: #0E8C66;
  font-size: clamp(1.1rem, 2vw, 1.65rem);
  letter-spacing: 0.1rem;
  line-height: 1.6;
  font-weight: 500;
  display: inline-block;
  padding-left: 5vw;
  text-align: left;
  align-items: left;
}

.how-to-use-text-efex {
  font-size: clamp(1rem, 1.8vw, 1.45rem);
}

.rfid-images {
  margin: 7vw 1vw;
}

.rfid-images img {
  max-width: 100%;
  height: auto;
}

.cap-images {
  margin: 3vw 2vw 0 0;
  align-items: flex-end;
}

.img-cap-single {
  max-width: 14vw;
  height: auto;
  padding-left: 1vw;
}

.img-cap-multiple {
  max-width: 29vw;
  height: auto;
}

.nozzle-sample {
  text-align: center;
  align-items: center;
  width: 60%;
  margin: 0 auto;
  max-width: 1000px;
}

.nozzle-sample h3 {
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  font-weight: bold;
  letter-spacing: 0.1rem;
  margin: 3.5vw 0 2vw 0;
}

.nozzle-sample-text {
  display: inline-block;
  text-align: left;
  font-size: clamp(1rem, 1.8vw, 1.5rem);
  margin-bottom: 3vw;
}

.nozzle-sample-top, .nozzle-sample-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}

.nozzle-sample-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.nozzle-circle {
  width: 8vw;
  height: 8vw;
  min-width: 60px;
  min-height: 60px;
  border-radius: 50%;
  background-color: #9EC5F8;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .4s ease;
}

.nozzle-circle:hover {
  transform: scale(1.1);
}

.nozzle-sample-item p {
  margin-top: 0.25rem;
  width: 100%;
  font-size: clamp(0.8rem, 1.2vw, 1rem);
  line-height: 1.1;
}

.nozzle-circle img {
  max-width: 70%;
  height: auto;
}

.nozzle-sample-bottom .col:nth-child(1) {
  margin-left: 16.7%;
}

.nozzle-sample-bottom .col:nth-child(4) {
  margin-right: 16.7%;
}

.nozzle-sample-bottom .img-valve-sample07 {
  max-width: 48%;
  height: auto;
}

.nozzle-sample-bottom .img-valve-sample08 {
  max-width: 80%;
  padding-top: .5vw;
  height: auto;
}

.nozzle-sample-bottom .img-valve-sample09 {
  max-width: 50%;
  height: auto;
}

.img-valve-sample10 {
  max-width: 50%;
  height: auto;
}

.contact {
  text-align: center;
  padding: 3vw 0;
}

.contact p {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: bold;
}

.contact-tool {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

/* 会社情報セクション改善 */
.company-information-title {
  margin: 0;
  padding-left: 5vw;
}

.company-information-title h2 {
  font-size: clamp(1.5rem, 3vw, 2.7rem);
  font-weight: 550;
  letter-spacing: 0.1rem;
}

.company-information-title p {
  font-size: clamp(0.8rem, 1.2vw, 1rem);
}

.company-information-text {
  padding: 0.8rem 5vw 3vw 5vw;
}

.company-information-text p {
  font-size: clamp(0.8rem, 1.2vw, 1rem);
  line-height: 1.6;
}

footer {
  background-color: #5ac0e2;
  color: #fff;
  text-align: center;
  padding: 1vw 0;
}

footer p {
  font-size: 0.8rem;
  margin: 0;
}

@media screen and (max-width: 1000px) {
  .header-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .movie {
    padding-top: 178px;
  }

  .how-we-work-text li::before {
    top: 0.5rem;
    left: -1.2rem;
  }
}

@media screen and (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .header-light {
    margin-bottom: 5px;
  }

  .logo img {
    width: 80px;
  }

  .header-company {
    font-size: 12px;
    margin-left: 0;
  }

  .header-right {
    flex-direction: column;
    align-items: center;
    margin-top: 3px;
  }

  .header-phone {
    margin : 5px 15px 10px 0;
  }
  .header-phone p {
    font-size: 14px;
  }

  .phone-icon {
    width: 30px;
    height: 30px;
  }

  .phone-number {
    font-size: 30px;
    justify-content: center;
  }

  .header-mail {
    margin-left: 0;
  }

  .movie {
    padding-top: 208px;
  }

  .bg-white {
    width: 80%;
  }

  .branch-content {
    flex-direction: column;
  }

  .branch-info, .branch-map {
    width: 100%;
  }

  .branch-map {
    min-height: 250px;
  }

  .info-branch h5 {
    font-size: 1.4rem;
  }

  .how-to-use-text-green {
    padding-left: 5vw;
    display: block;
    text-align: left;
  }

  .compare {
  width: 100%;
  }

  .compare-process {
    flex-direction: column;
    text-align: center;
  }

  .img-compare-process {
  width: 80%;
  margin: 0 auto;
  }

  .img-compare-process-cost {
    width: 40%;
    margin: 2vw auto;
  }

  .compare-process p {
    text-align: center;
    margin: 0 2vw;
  }

  .img-evolution-reuse {
    padding-left: 0;
  }

  .evo-reuse {
    margin: 0 1vw;
  }

  .img-efexvalve {
    max-width: 70%;
    margin: 0 auto 20px auto;
  }

  .img-cap-single {
    max-width: 80%;
    height: auto;
  }

  .img-cap-multiple {
    max-width: 100%;
    height: auto;
  }

  .nozzle-sample {
    width: 80%;
    padding: 10px;
  }
}

@media screen and (max-width: 576px) {

  .header-phone p {
    font-size: 10px;
  }

  .mail-button {
    padding: 6px 10px;
  }

  .mail-icon {
    width: 16px;
    height: 16px;
  }

  .header-mail span {
    font-size: 12px;
  }

  .movie {
    padding-top: 189px;
  }

  .bg-white {
    width: 90%;
    margin: 0 auto;
    padding: 0;
  }

  .info-branch {
    margin: 2vw;
    width: calc(100% - 4vw);
    padding-top: 2vw;
  }

  .info-branch h5 {
    font-size: 1.2rem;
    line-height: 1.5;
  }

  .branch-address p {
    font-size: 0.9rem;
  }

  .access-info {
    font-size: 0.85rem;
  }

  .branch-map {
    min-height: 200px;
  }

  .how-we-work-text li::before {
    top: 0.4rem;
    left: -1.2rem;
  }

  .how-to-use-text-img img {
    height: 18px;
    margin: 4px 0 0 2px;
  }

  .img-compare-process-cost {
    width: 50%;
  }

  .nozzle-sample {
  width: 90%;
  }

  .nozzle-sample-top, .nozzle-sample-bottom {
    flex-direction: column;
    width: 100%;
  }

  .nozzle-sample-bottom .col:nth-child(1),
  .nozzle-sample-bottom .col:nth-child(4) {
    margin-left: 0;
    margin-right: 0;
  }

  .nozzle-sample h3 {
    font-size: 1.6rem;
    margin: 7vw 0 4vw 0;
  }

  .nozzle-sample-text {
    max-width: 100%;
  }

  .nozzle-sample-item {
    flex: 0 0 100%;
    margin-bottom: 20px;
  }

  .nozzle-circle {
    width: 25vw;
    height: 25vw;
  }
  .company-information-text p {
    font-size: 0.9rem;
  }
}