@charset "UTF-8";

/*-------------------------------------------
  Reset
-------------------------------------------*/

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

html {
  scroll-behavior: smooth;
  height: 100%;
  font-size: 100%;
  overflow-x: hidden;
  overflow-y: visible;
}

body {
  height: 100%;
  line-height: 1.5;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #333;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  padding: 0;
}

ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

img {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: #999;
}

button,input,textarea,select,
pre,code,kbd,samp,
legend,table,caption,summary,
optgroup,option,output,
abbr,cite,dfn,var {
  font-family: inherit;
}

address {
  font-style: normal;
}

blockquote,
q {
  quotes: none;
}

table {
  border-spacing: 0;
  border-collapse: collapse;
}

fieldset {
  border: none;
}

summary {
  list-style: none;
  cursor: pointer;
}

video, audio {
  display: block;
}

mark {
  background: transparent;
}

hr {
  border: none;
}

/*-------------------------------------------
  Common
-------------------------------------------*/

.section-title {
  display: block;
  font-size: 1.5rem;
  letter-spacing: 0.5rem;
  margin-bottom: 8px;
}

.wrapper {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0;
}

/*-------------------------------------------
  Header
-------------------------------------------*/

.header-container {
  display: flex;
  justify-content: space-between;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 8vh;
  padding: 0 6.5%;
  background-color: #fff;
  z-index: 100;
}

.site-title {
  font-size: 1rem;
  font-weight: normal;
  margin-top: 1rem;
  cursor: pointer;
}

.header-nav {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.header-nav-item {
  font-size: 1rem;
}

.language-button {
  all: unset;
  font-size: 1rem;
  cursor: pointer;
  padding: 0;
}

.site-title:hover,
.header-nav-item:hover,
.language-button:hover {
  opacity: 0.7;
}

/*-------------------------------------------
  Hero-Section
-------------------------------------------*/

.hero-section-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 100vh;
}

.hero-title:hover {
  opacity: 0.7;
}

.hero-title {
  font-size: 2rem;
  font-weight: normal;
  letter-spacing: 0.25rem;
}

.hero-subtitle {
  display: block;
  font-size: 0.875rem;
  font-weight: normal;
  color: #555;
}

/*-------------------------------------------
  Portfolio
-------------------------------------------*/

.portfolio-content {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: center;
  height: auto;
  gap: 80px;
  padding: 4% 6%;
  background-color: #f5f5f5;
}

.portfolio-item:hover {
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

/*-------------------------------------------
  Modal-Slider
-------------------------------------------*/

.modal-slider {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-slider.show {
  display: flex;
}

.modal-slider-content {
  position: relative;
  width: 90%;
  max-width: 768px;
  background-color: #fff;
  padding: 2rem 1.5rem;
  box-sizing: border-box;
  border-radius: 8px;
  overflow: hidden;
}

.modal-slider-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.modal-slider-slide {
  display: none;
  width: 100%;
  text-align: center;
}

.modal-slider-slide.active {
  display: block;
}

.modal-slider-image img {
  width: 60%;
  max-width: 640px;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
  display: block;
  border-radius: 4px;
}

.modal-slider-title {
  margin-top: 1rem;
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
  text-align: center;
}

.modal-slider-text {
  width: 100%;
  max-width: 640px;
  margin: 1rem auto 0;
  font-size: 1rem;
  color: #333;
  text-align: left;
  line-height: 1.6;
}

.modal-slider-prev,
.modal-slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  border: none;
  padding: 1rem;
  cursor: pointer;
  z-index: 1001;
}

.modal-slider-prev {
  left: 0.5rem;
}

.modal-slider-next {
  right: 0.5rem;
}

.modal-slider-close-btn {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  font-size: 2rem;
  background: none;
  border: none;
  color: #000;
  cursor: pointer;
}

/*-------------------------------------------
  Concept
-------------------------------------------*/

.concept-container {
  height: auto;
  padding: 0 6%;
  letter-spacing: 1.5px;
  margin-top: 4%;
}

/*-------------------------------------------
  Services
-------------------------------------------*/

.services-container {
  padding: 4% 6%;
  margin-top: 4%;
  letter-spacing: 1.5px;
  background-color: #f5f5f5;
}

.services-unit {
  margin-top: 24px;
  border-left: 4px solid #333;
  padding-bottom: 16px;
  max-width: 1024px;
}

.services-title {
  background-color: #333;
  color: #fff;
  font-size: 1rem;
  padding: 0.25rem;
  margin-bottom: 0.25rem;
}

.services-description {
  display: none;
  padding-left: 0.5rem;
  letter-spacing: 1.5px;
}

.services-unit.active .services-description {
  display: block;
}

.services-accordion-toggle {
  font-size: 1.5em;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-left: 0.5rem;
  position: relative;
}

.services-accordion-toggle::before {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 10px solid #fff;
  transition: border-top 0.3s ease, border-bottom 0.3s ease;
}

.services-unit.active .services-accordion-toggle::before {
  border-top: none;
  border-bottom: 10px solid #fff;
}

/*-------------------------------------------
  Flow
-------------------------------------------*/

.flow-container {
  padding: 4% 6%;
  letter-spacing: 1.5px;
  counter-reset: flow-step;
}

.flow-unite {
  position: relative;
  display: flex;
  margin-top: 2rem;
  padding-bottom: 2rem;
  counter-increment: flow-step;
  max-width: 1024px;
}

.flow-step {
  position: relative;
  background-color: #333;
  color: #fff;
  font-weight: bold;
  font-size: 1rem;
  width: 80px;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1.5rem;
  flex-shrink: 0;
}

.flow-step::before {
  content: "Step " counter(flow-step);
}

.flow-step::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 40px solid transparent;
  border-right: 2.5rem solid transparent;
  border-top: 24px solid #333;
  top: 100%;
  pointer-events: none;
}

.flow-title {
  font-weight: bold;
  color: #333;
  margin-bottom: 0.5rem;
  text-align: left;
  border-bottom: solid 2px #999;
}

.flow-description {
  background-color: #f5f5f5;
  font-size: 1rem;
  color: #333;
  margin: 0;
  padding: 1rem;
  text-align: left;
  line-height: 1.5;
  width: 100%;
}

/*-------------------------------------------
  Profile
-------------------------------------------*/

.profile-container {
  height: auto;
  padding: 4% 6%;
  letter-spacing: 1.5px;
  margin-top: 4%;
  background-color: #f5f5f5;
}

.profile-title {
  font-weight: bold;
  border-bottom: solid 2px #eee;
  margin-top: 24px;
  margin-bottom: 8px;
}

.profile-border {
  border: 1px solid #eee;
  width: 100%;
  margin-bottom: 8px;
}

/*----------------------------------------
  Contact
----------------------------------------*/

.contact-container {
  height: auto;
  padding: 4% 6%;
  letter-spacing: 1.5px;
  margin-top: 4%;
}

.contact-label {
  display: block;
  font-size: 1.085rem;
  font-weight: bold;
  color: #555;
  letter-spacing: 1.2px;
  margin-top: 2rem;
}

.required {
  font-size: 0.875rem;
  color: rgb(222, 65, 65);
  letter-spacing: 4px;
  margin-left: 0.5rem;
}

.contact-container input,
.contact-container textarea,
.contact-container select {
  display: block;
  width: 100%;
  font-size: 1rem;
  padding: 0.75rem;
  border: 1px solid #dcdcdc;
  border-radius: 8px;
  margin: 0.7rem 0 1.5rem 0;
}

.contact-container textarea {
  min-height: 160px;
  resize: vertical;
}

.label-text {
  display: block;
  font-size: 1.085rem;
  font-weight: bold;
  color: #555;
  margin-bottom: 0.5rem;
}

.datetime-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.contact-container input[type="submit"],
.contact-container button {
  display: block;
  width: 20%;
  margin: 2rem auto 1.15rem;
  padding: 0.75rem 2rem;
  background-color: #444;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  font-size: 1.1rem;
  border: 1.5px solid #ffffff;
  cursor: pointer;
}

.contact-container input[type="submit"]:hover,
.contact-container button:hover {
  background-color: #666;
  border-color: #666;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
  transform: translateY(-2px);
}


.lang-ja, .lang-en {
  display: none;
  color: #666;
}

html[lang="ja"] .lang-ja {
  display: inline;
  color: #666;
}
html[lang="ja"] .lang-en {
  display: none;
  color: #666;
}

html[lang="en"] .lang-en {
  display: inline;
  color: #666;
}
html[lang="en"] .lang-ja {
  display: none;
  color: #666;
}

/*-------------------------------------------
  Footer
-------------------------------------------*/

.footer-container {
  height: auto;
  padding: 0 6%;
}

.footer-copyright {
  font-size: 0.875rem;
  text-align: center;
  margin-top: 2%;
}

/*-------------------------------------------
  Responsive Common
-------------------------------------------*/

@media (max-width: 768px) {
  .wrapper {
    max-width: 768px;
  }

  .section-title {
    font-size: 1rem;
  }

  p {
    font-size: 0.875rem;
  }

  .concept-container,
  .services-container,
  .flow-container,
  .profile-container {
    padding: 0 11%;
  }
}

/*-------------------------------------------
  Hamburger-Menu
-------------------------------------------*/

.hamburger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  border: none;
  cursor: pointer;
  margin-left: auto;
  margin-top: 16px;
  background-color: transparent;
  z-index: 1004;
  position: relative;
}

.hamburger-line {
  width: 100%;
  height: 0.25rem;
  background-color: #333;
  transition: transform 0.3s, opacity 0.3s;
  border-radius: 2px;
  transform-origin: center;
}

.hamburger-menu.open {
  justify-content: center;
}
.hamburger-menu.open .hamburger-line-top {
  transform: rotate(45deg) translateY(5px);
}

.hamburger-menu.open .hamburger-line-middle {
  opacity: 0;
}

.hamburger-menu.open .hamburger-line-bottom {
  transform: rotate(-45deg) translateY(-6px);
}

.hamburger-menu-overlay {
  position: fixed;
  top: 1rem;
  left: 0;
  right: 0;
  bottom: 0;
  display: none;
  z-index: 1002;
}

.hamburger-menu-overlay.active {
  display: block;
  pointer-events: all;
}

@media (max-width: 768px) {
  .hamburger-menu {
    display: flex;
    position: absolute;
    right: 1rem;
  }

  .header-nav {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 160px;
    height: 100vh;
    flex-direction: column;
    background-color: #fff;
    opacity: 0.9;
    z-index: 1003;
    padding-left: 1rem;
  }

  .header-nav.active {
    display: flex;
  }
}

/*-------------------------------------------
  Responsive Modal-Slider
-------------------------------------------*/
@media screen and (max-width: 768px) {
  .modal-slider-content {
    width: 95%;
    padding: 1.5rem 1rem;
  }

  .modal-slider-title {
    font-size: 1.25rem;
  }

  .modal-slider-text {
    font-size: 0.95rem;
    padding: 0 0.5rem;
  }

  .modal-slider-prev,
  .modal-slider-next {
    font-size: 1.5rem;
    padding: 0.75rem;
  }

  .modal-slider-close-btn {
    font-size: 1.75rem;
  }
}

/*-------------------------------------------
  Responsive Services
-------------------------------------------*/

@media (min-width: 769px) {
  .services-description {
    display: block;
  }

  .services-accordion-toggle {
    display: none;
  }
}

@media (max-width: 768px) {
  .services-description {
    display: none;
  }

  .services-unit {
    position: relative;
    border-left: none;
  }

  .services-title {
    font-size: 0.875rem;
    padding-right: 2.5rem;
    background-color: rgb(0, 0, 0);
    color: rgb(255, 255, 255);
  }

  .services-unit.active .services-description {
    display: block;
  }

  .services-accordion-toggle {
    position: absolute;
    top: 0.3rem;
    right: 1rem;
    transform: none;
    background: none;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    z-index: 2;
  }
}

/*-------------------------------------------
  Responsive Flow
-------------------------------------------*/

@media screen and (max-width: 768px) {
  .flow-unite {
    flex-direction: column;
    align-items: flex-start;
  }

  .flow-step {
    width: 80px;
    height: 80px;
    margin: 0 0 40px 0;
    flex-shrink: 0;
  }

  .flow-step::after {
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-top: 24px solid #333;
  }

  .flow-description {
    width: 100%;
  }
}

/*----------------------------------------
  Responsive Contact
----------------------------------------*/
@media (max-width: 768px) {
  .contact-container {
    padding: 1rem;
    margin: 0 auto 3rem;
  }

  .contact-label {
    font-size: 1rem;
  }

  .required {
    font-size: 0.75rem;
  }

  .contact-container input,
  .contact-container textarea,
  .contact-container select {
    font-size: 0.95rem;
    padding: 0.65rem;
  }

  .contact-container input[type="submit"],
  .contact-container button {
    font-size: 1rem;
    padding: 0.9rem;
    width: 80%;
  }
}