@charset "utf-8";

*,
::before,
::after {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
}

body {
  font-weight: 400;
  color: #707070;
  font-family: "M PLUS 2", sans-serif;
}

.w-container {
  max-width: 1200px;
  width: 90%;
  margin: auto;
}

img {
  max-width: 100%;
  flex: 1;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  opacity: 0.5;
  text-decoration: underline;
}

a:visited {
  color: #c0c0c0;
}

ul {
  list-style: none;
}

.header-logo {
  font-family: "Zen Old Mincho", serif;
}

header {
  height: 56px;
	box-shadow: 0 0 10px 1px #707070;
	z-index: 100;
	position: fixed;
	background-color: #fff;
	inset: 0;
}

.header-inner {
	font-size: 20px;
	height: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
  padding: 0 50px 0 50px;
}

.header-inner p {
  align-items: center;
}

.site-menu ul {
	display: flex;
	gap: 20px;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 18px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  height: 3px;
  background: #333;
  border-radius: 2px;
  transition: 0.3s;
}

#main-visual {
  height: 585px;
  background-image: url(../img/28671521_m.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  margin-bottom: 80px;
  position: relative;
}

.main-title {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.ripple {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  background: rgba(0, 120, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0.1);
  animation: rippleEffect 3s ease-out forwards;
  z-index: 1;
}

@keyframes rippleEffect {
  0% {
    transform: translate(-50%, -50%) scale(0.1);
    opacity: 0.7;
  }
  100% {
    transform: translate(-50%, -50%) scale(25);
    opacity: 0;
  }
}

.corporate-philosophy {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 2;
}

.float-up {
  opacity: 0;
  transform: translateY(30px);
  animation: floatUp 2.5s ease-out forwards;
  animation-delay: 1s;
}

@keyframes floatUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.float-up.en {
  animation-delay: 1.3s;
}

.corporate-philosophy span {
  font-size: 60px;
  font-weight: 900;
  color: #fff;
  font-family: "Zen Old Mincho", serif;
}

.corporate-philosophy p {
  font-size: 30px;
  color: #fff;
  margin-top: 8px;
  font-family: "Zen Old Mincho", serif;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.25);
  z-index: 0;
}

.section-title {
  position: relative;
  display: inline-block;
  font-size: 2.5rem;
  font-weight: 600;
  color: #707070;
}

.section-title::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 270%;
  height: 1px;
  background-color: #707070;
}

.section-title::after {
  content: 'Business content.';
  position: absolute;
  right: -245px;
  top: 25px;
  color: #7aabf5;
  font-size: 24px;
  font-weight: bold;
  white-space: nowrap;
}

.business-heading {
  position: relative;
  font-size: 2.5rem;
  color: #707070;
}

.business-heading::before {
  position: absolute;
  bottom: 0.2em;
  left: 0;
  z-index: -1;
  color: #7aabf5;
  font-size: 4.5rem;
  line-height: 1;
  content: attr(data-number);
  pointer-events: none;
  opacity: 0.8;
}

.business-container {
  margin-top: 5em;
  margin-bottom: 5em;
}

.plumbing-contents {
  padding: 3.5em;
}

.business-item {
  display: flex;
  align-items: stretch; 
  gap: 5em;
  flex-wrap: wrap;
}

.business-item figure,
.business-item .circle-text {
  flex: 1;
  min-width: 300px;
}

.business-item figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.business-text {
    margin-top: 15px;
}

.business-text h2 {
  margin-bottom: 1em;
  font-size: 2.0em;
  position: relative;
}

.business-text h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background-color: #707070;
}

.business-text p {
  font-size: 16px;
  line-height: 2rem;
}

.button-51 {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 250px;
  margin: 1.5em auto;
  padding: .9em 2em;
  overflow: hidden;
  border: 1px solid #2589d0;
  border-radius: 5px;
  background-color: #fff;
  color: #2589d0;
  font-size: 1em;
}

.button-51:hover {
  background-color: transparent;
  color: #fff;
}

.button-51::before {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 0;
  height: 100%;
  background-color: #2589d0;
  content: '';
  transition: width .3s ease;
}

.button-51:hover::before {
  width: 100%;
}

.air-conditioning-contents {
 padding: 3.5em;
}

.air-conditioning {
  display: flex;
  flex-wrap: nowrap;
  flex-direction: row-reverse;
  align-items: center;
  gap: 5em;
}

.fire-prevention-contents {
  padding: 3.5em;
}

.section-title-r {
  position: relative;
  display: inline-block;
  font-size: 2.5rem;
  font-weight: 600;
  color: #707070;
}

.section-title-r::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 300%;
  height: 1px;
  background-color: #707070;
}

.section-title-r::after {
  content: 'Recruit information.';
  position: absolute;
  right: -300px;
  top: 22px;
  color: #7aabf5;
  font-size: 24px;
  font-weight: bold;
  white-space: nowrap;
}

.recruit-container {
  position: relative;
  z-index: 1;
}

#recruit-information {
  position: relative;
  overflow: hidden; 
}

.footer_wave {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
}
.parallax > use {
  animation: move-forever 20s linear infinite;
}
.parallax > use:nth-child(1) {
  animation-delay: -2s;
}
.parallax > use:nth-child(2) {
  animation-delay: -3s;
  animation-duration: 15s;
}
.parallax > use:nth-child(3) {
  animation-delay: -4s;
  animation-duration: 10s;
}

@keyframes move-forever {
  0% {
    transform: translate(-90px, 0%);
  }
  100% {
    transform: translate(85px, 0%);
  }
}

.recruit-flex {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  padding: 30px;
}

.recruit-flex img {
  max-width: 500px;
  height: auto;
}

.heading-26 {
  position: relative;
  padding-top: .75em;
  color: #707070;
  font-size: 32px;
}

.heading-26:first-letter {
  color: #7aabf5;
  font-size: 1.5em;
}

.heading-26::before {
  position: absolute;
  bottom: .15em;
  left: 0.10em;
  z-index: -1;
  color: #a9cbff;
  font-size: 4em;
  line-height: 1;
  content: attr(data-word);
  pointer-events: none;
  opacity: 0.8;
}

.recruit-text h3 {
  background: linear-gradient(transparent 60%, #d0eafc 60%);
  display: inline-block;
  font-size: 1.2em;
  font-weight: bold;
  color: #707070;
  margin: 1em 0;
}

.recruit-text p {
  text-align: left;
  line-height: 1.6rem;
  font-size: 15px;
}

.recruit-button {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 250px;
  margin:25px 0 25px 130px;
  padding: .9em 2em;
  border: 1px solid #2589d0;
  border-radius: 5px;
  background-color: #fff;
  color: #2589d0;
  text-decoration: none;
  font-size: 1em;
}

.recruit-button:hover {
  animation: anima-button-30 1s;
  cursor: pointer;
}

@keyframes anima-button-30 {
  0% {
    box-shadow: 0 0 0 0 rgb(37 137 208 / 50%);
  }
  100% {
    box-shadow: 0 0 0 1.2em rgb(0 0 0 / 0%);
  }
}

.section-title-c {
  position: relative;
  display: inline-block;
  font-size: 2.5rem;
  font-weight: 600;
  color: #707070;
}

.section-title-c::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 270%;
  height: 1px;
  background-color: #707070;
}
.section-title-c::after {
  content: 'Company profile.';
  position: absolute;
  right: -245px;
  top: 20px;
  color: #7aabf5;
  font-size: 24px;
  font-weight: bold;
  white-space: nowrap;
}

.company-profile-container {
  padding-top: 80px;
  padding-bottom: 80px;   
}

.company-profile-container p {
  padding-left: 2.5em;
  font-size: 20px;
}

.heading-1 {
  padding: .3em .4em;
  margin: .3em .4em;
  border-left: 5px solid #2589d0;
  color: #707070;
  font-size: 24px;
}

.solid {
  position: relative;
  display: inline-block;
}

.solid::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100vw;
  max-width: 1200px;
  height: 1px;
  background-color: #707070;
}

.company-name,.company-ceo,
.company-access,.company-founded,
.Date-of-company-establishment,
.capital,.Official-recognition,
.Official-recognition-second,
.number,.staff,.Corresponding-bang {
  padding-top: 30px;
  padding-bottom: 30px;
}

.company-access {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #707070;
  flex-wrap: wrap;
}

.company-access h2 {
  padding-left: 8px;
  margin-bottom: 16px;
  width: 100%;
}

.access-text {
  flex: 1;
}

.access-text p {
  margin: 4px 0;
  line-height: 1.6;
}

.map iframe {
  width: 500px;
  height: 250px;
  border: 1px solid #ccc;
}

#contact {
  margin-top: 56px;
  margin-bottom: 80px;
}

form[action="contact.php"] {
  padding: 40px 20px;
  border-radius: 8px;
  box-sizing: border-box;
}

.section-title-con {
  position: relative;
  display: inline-block;
  font-size: 2.5rem;
  font-weight: 600;
  color: #707070;
}

.section-title-con::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 190%;
  height: 1px;
  background-color: #707070;
}

.section-title-con::after {
  content: 'Contact.';
  position: absolute;
  right: -150px;
  top: 20px;
  color: #7aabf5;
  font-size: 24px;
  font-weight: bold;
  white-space: nowrap;
}

.form-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.form-label {
  font-weight: bold;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
}

.form-label span {
  background-color: #d33;
  color: #fff;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
}


form[action="contact.php"] input[type="text"],
form[action="contact.php"] input[type="email"],
form[action="contact.php"] input[type="tel"],
form[action="contact.php"] textarea {
  width: 75%;
  padding: 14px 12px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-sizing: border-box;
  transition: border-color 0.2s ease;
}

input:focus,textarea:focus {
  border-color: #0077cc;
  outline: none;
}

textarea {
  resize: vertical;
  min-height: 120px;
}

.policy-check {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  gap: 8px;
  margin: 20px 0;
  font-size: 14px;
}

button[type="submit"] {
  width: 20%;
  height: 50px;
  display: block;
  margin: 0 auto;
  font-size: 16px;
  background-color: #0077cc;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
  background-color: #005fa3;
}

.policy-check input[type="checkbox"] {
  transform: scale(1.2);
  cursor: pointer;
}

footer {
  height: 520px;
  background-color: #7aabf5;
  color: white;
}

.footer-container {
  padding-top: 25px;
}

.footer-name {
  margin: 30px;
}

.nameJa {
  font-family: "Zen Old Mincho", serif;
  font-size: 40px;
}

.nameEn {
  font-family: "Zen Old Mincho", serif;
  font-size: 24px;
}

.access {
  padding: 24px;
  font-size: 24px;
  line-height: 1.6;
}

.footer-inner ul {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  gap: 30px;
  padding: 25px;
}

.privacy,.copy {
  text-align: center;
}

.fade-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s ease-out;
}

.fade-left.show {
  opacity: 1;
  transform: translateX(0);
}

.business-heading {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

@media screen and (max-width: 780px) {

.w-container {
  width: 90%;
  margin: 0 auto;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  padding: 0 30px;
}

.header-logo {
  font-size: 16px;
}

.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 18px;
  cursor: pointer;
}

.site-menu {
  max-height: 0;
  overflow: hidden;
  position: absolute;
  top: 54px;
  left: 0;
  width: 100%;
  background: #fff;
  border-top: 1px solid #ddd;
  text-align: center;
  z-index: 999;
  transition: max-height 0.4s ease;
}

.site-menu ul {
  flex-direction: column;
  gap: 0;
}

.site-menu li {
  padding: 12px 0;
}

.hamburger span {
  display: block;
  height: 3px;
  background: #333;
  border-radius: 2px;
  transition: 0.3s;
}

.site-menu.active {
  max-height: 300px; 
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

#main-visual {
  position: relative;
  width: 100%;
  height: 300px;
  margin: 0 auto;
  overflow: hidden;
}

.main-title {
  position: relative;
  width: 100%;
  overflow: hidden;
  text-align: center;
}

.business-container {
  margin-top: 45px;
  margin-bottom: 60px;
}
.corporate-philosophy span {
  font-size: 30px;
  white-space: nowrap;
}

.corporate-philosophy p {
  font-size: 16px;
}

.section-title,.section-title-r,
.section-title-c,.section-title-con {
  font-size: 1.9rem;
  position: relative;
  display: inline-block;
}
  
.section-title::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 150%;
  height: 1px;
  background-color: #707070;
}

.section-title::after {
  content: 'Business content.';
  position: absolute;
  left: 0.5rem;
  top: 100%;
  color: #7aabf5;
  font-size: 1.2rem;
  font-weight: bold;
  white-space: nowrap;
}

#business-content {
  align-items: center;
}

.business-heading {
  position: relative;
  font-size: 2.5rem;
  color: #707070;
}

.business-heading::before {
  position: absolute;
  bottom: 0.2em;
  left: 0;
  z-index: -1;
  color: #7aabf5;
  font-size: 3.5rem;
  line-height: 1;
  content: attr(data-number);
  pointer-events: none;
  opacity: 0.8;
}

.business-text h2 {
  margin-bottom: 1em;
  font-size: 1.5rem;
  position: relative;
}

.business-text h2::after {
 content: '';
 position: absolute;
 left: 0;
 bottom: 0;
 width: 80%;
 height: 1px;
 background-color: #707070;
}

.business-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  width: 100%;
}

.business-item figure {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.business-item figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.business-text {
  width: 100%;
  margin: 1.7rem 0 auto;
}

.business-text p {
  font-size: 0.9rem;
  line-height: 1.6;
}

.business-item:last-child {
  margin-bottom: 0;
}

.plumbing-contents,.air-conditioning-contents,
.fire-prevention-contents {
  padding: 90px 0 0 10px;
}

.recruit-container {
  margin-top: 30px;
}

.recruit-flex {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 0 24px 0;
}

.recruit-flex img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.recruit-text {
  width: 100%;
  text-align: center;
}

.recruit-text h2 {
  font-size: 1.6rem;
  margin-bottom: 0.5em;
}

.heading-26::before {
  position: absolute;
  bottom: 0em;
  right: 2.3em;
  z-index: -1;
  color: #a9cbff;
  font-size: 4em;
  line-height: 1;
  content: attr(data-word);
  pointer-events: none;
  opacity: 0.8;
}

.recruit-text h3 {
  font-size: 0.9rem;
  margin-bottom: 0.8em;
  line-height: 1.4;
}

.recruit-text p {
  font-size: 0.8rem;
  line-height: 1.6;
  margin-bottom: 1.5em;
  padding: 0 10px;
}

.recruit-button {
  display: block;
  width: 80%;
  max-width: 300px;
  margin: 0 auto 20px;
  padding: 10px 0;
  font-size: 1rem;
}

.section-title-r {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.section-title-r::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 150%;
  height: 1px;
  background-color: #707070;
}

.section-title-r::after {
  content: 'Recruit information.';
  position: absolute;
  left: 0.5rem;
  top: 100%;
  color: #7aabf5;
  font-size: 0.7rem;
  font-weight: bold;
  white-space: nowrap;
}

.footer_wave svg {
  width: 100%;
  height: auto;
}

.section-title-c {
  font-size: 1.8rem;
  margin-bottom: 1.5em;
}

.section-title-c::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 150%;
  height: 1px;
  background-color: #707070;
}

.section-title-c::after {
  content: 'Company profile.';
  position: absolute;
  left: 0.5rem;
  top: 100%;
  color: #7aabf5;
  font-size: 0.7rem;
  font-weight: bold;
  white-space: nowrap;
}

.company-profile-container {
    padding-top: 80px;
    padding-bottom: 20px;
}

.heading-1 {
  padding: .1em .3em;
  margin: .1em .3em;
  border-left: 5px solid #2589d0;
  color: #707070;
  font-size: 20px;
}

.solid {
  position: relative;
  padding-bottom: 0.8em;
  margin: 1em auto;
  width: 90vw;
  max-width: 600px;
}

.solid::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 90vw;
  height: 1px;
  background-color: #707070;
}

.company-name,.company-ceo,.company-access,.company-founded,
.Date-of-company-establishment,.capital,.Official-recognition,
.Official-recognition-second,.number,.staff,
.Corresponding-bang {
  padding-top: 20px;
  padding-bottom: 20px;
}

.company-access {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
}

.company-access > * {
  max-width: 600px;
  width: 90%;
  box-sizing: border-box;
}

.access-text {
  text-align: left;
}

.map iframe {
  width: 90%;
  max-width: 600px;
  height: 250px;
  display: block;
  margin: 0 auto;
}

.company-profile-container p {
    padding-left: .5em;
    font-size: 20px;
}

.company-profile-container > div:last-child {
  margin-bottom: 0;
}

.section-title-con {
  font-size: 1.8rem;
  margin-bottom: 1.5em;
}

.section-title-con::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 150%;
  height: 1px;
  background-color: #707070;
}

.section-title-con::after {
  content: 'Contact.';
  position: absolute;
  left: 0.5rem;
  top: 100%;
  color: #7aabf5;
  font-size: 0.7rem;
  font-weight: bold;
  white-space: nowrap;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-label {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  font-size: 0.95rem;
}

.form-label span {
  background-color: red;
  color: #fff;
  font-size: 0.8rem;
  padding: 2px 6px;
  border-radius: 3px;
}

form[action="contact.php"] input[type="text"],
form[action="contact.php"] input[type="email"],
form[action="contact.php"] input[type="tel"],
form[action="contact.php"] textarea {
  width: 100%;
  padding: 14px 12px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-sizing: border-box;
  transition: border-color 0.2s 
ease;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  width: 100%;
  padding: 10px 12px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

textarea {
  resize: vertical;
}

.policy-check {
  flex-direction: row;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  line-height: 1.4;
}

.policy-check a {
  color: #2589d0;
  text-decoration: underline;
}

button[type="submit"] {
  width: 100%;
  background-color: #7aabf5;
  color: #fff;
  padding: 12px 0;
  font-size: 1.1rem;
  border: none;
  border-radius: 6px;
  transition: background-color 0.3s;
}

button[type="submit"]:hover {
  background-color: #5c93e0;
}

button[type="submit"] {
  width: 60%;
}

footer {
  height: auto;
}

.nameJa {
  font-size: 24px;
  text-align: center;
  padding-bottom: 16px;
}

.nameEn {
  font-size: 13px;
  text-align: center;
}

.access {
  padding: 24px;
  font-size: 16px;
  line-height: 1.6;
}

.footer-inner ul {
  flex-direction: column;
  gap: 15px;
}
}

.confirm-box {
  background: #f7f7f7;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 30px;
  line-height: 1.8;
}

.confirm-box p {
  margin-bottom: 12px;
}

.confirm-buttons {
  display: flex;
  gap: 15px;
}

.submit-btn, .back-btn {
  padding: 10px 20px;
  background: #004699;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
}

.back-btn {
  background: #666;
}
