/* Reset and Google Fonts */
@import url('https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.min.css');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700&display=swap');

:root {
  --base-font-size: 16px; /* desktop base */
  --base-line-height: 1.6; /* paragraph line-height */
  --heading-line-height: 1.25; /* headings */
  --text-color: #222222;
}

html {
  font-size: var(--base-font-size);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  z-index: 0;
}

body {
  min-height: 100vh;
  display: flex;
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text-color);
  font-size: 1rem; /* equals --base-font-size */
  line-height: var(--base-line-height);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Prevent scrolling when menu is open */
body.menu-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
  height: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  line-height: var(--heading-line-height);
  color: inherit;
  font-weight: 500;
}

h1 {
  font-size: 2.5rem;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.5rem;
}
h4 {
  font-size: 1.25rem;
}
h5 {
  font-size: 1rem;
}
h6 {
  font-size: 0.9rem;
}

a {
  line-height: 1;
}

.all {
  /* border: red 1px solid; */
  width: 100%;
}

/*////////////////////// header /////////////////////*/
.header {
  background-color: #fbf7ee6d;
}

/*////////////////////// nav /////////////////////*/

.nav {
  /* border: red 1px solid; */
  width: 40%;
  margin: 0 auto;
  display: block;
}

.nav h1 {
  display: grid;
  place-items: center;
}

.nav ul {
  padding: 0.3rem 0 0.2rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;

  list-style-type: none;
}

.nav-all li a {
  /* border: red solid 1px; */
  text-decoration: none;
  color: #222222;
  display: block;
  transition: 0.2s;
}

.nav-all li a:hover {
  color: #ecc331;
}

.nav-content {
  padding-left: 8%;
}

.nav-all li + .nav-content {
  border-left: 1.5px solid #ecc331;
}

/*////////////////////// nav-sp /////////////////////*/

.navigation-all {
  width: 100%;
  display: none;
  justify-content: space-between;
  text-align: center;
}

.navigation-all a img {
  width: 40px;
  border-radius: 20px;
  margin: 0.5rem 0 0 0.5rem;
}

.menu-sp {
  /* border: red 1px solid; */
  width: 30px;
  margin-right: 1rem;

  border: none;
  outline: none;
  background: none;
}

.menu-sp span {
  width: 100%;
  height: 3.5px;
  background-color: #e1b30d;
  display: block;
  border-radius: 5px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.menu-sp span:nth-child(1) {
  top: 0;
}

.menu-sp span:nth-child(2) {
  margin: 6.5px 0;
}

.menu-sp span:nth-child(3) {
  top: 0;
}

/* Hamburger menu active state (X animation) */
.menu-sp.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.menu-sp.active span:nth-child(2) {
  opacity: 0;
}

.menu-sp.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.nav-sp-container {
  position: fixed;
  width: 100%;
  display: flex;
  justify-content: space-between;
  z-index: 9999;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.nav-sp-container.active {
  opacity: 1;
  visibility: visible;
}

.nav-bg {
  background-color: #3333332c;
  width: 20%;
}

.nav-sp {
  background-color: #fafafa;
  width: 80%;
  padding: 3rem 0 0 4rem;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.nav-sp-container.active .nav-sp {
  transform: translateX(0);
}

.menu-sp.active {
  z-index: 10000;
}

.nav-sp ul {
  list-style-type: none;
}

.nav-sp li a {
  text-decoration: none;
  color: #e1b30d;
  font-weight: 500;
  line-height: 3rem;
}

/*////////////////////// maiinVisual /////////////////////*/

.mainVisual {
  /* border: red 1px solid; */
  position: relative;
}

.mv-txt {
  /* border: blue 1px solid; */
  border-radius: 30px;

  backdrop-filter: blur(15px);
  z-index: 999;
  position: absolute;
  padding: 2rem 3rem;
  bottom: 2.5rem;
  left: 3.5rem;
  background: #22222236;
}

.mv-txt h2 {
  font-size: 3rem;
  color: #f0f0f0;
  line-height: 1.2;
  text-shadow: 2px 2px 6px #2211114c;
}

.mv-txt h3 {
  color: #f0f0f0;
  font-weight: 500;
  margin-top: 0.5rem;
  text-shadow: 2px 2px 4px #22111147;
}

.slider {
  width: 100vw;
  overflow: hidden;
  position: relative;
  max-width: 100%;
  aspect-ratio: 3 / 1;
}

.slider div {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 10;
  opacity: 0;
  animation-name: slide-fade;
  animation-duration: 15s;
  animation-iteration-count: infinite;
}

@keyframes slide-fade {
  0% {
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  80% {
    opacity: 0;
  }
  100% {
    opacity: 0;
    z-index: 0;
  }
}
.slider div:first-of-type {
  background-image: url(../img/header/mainVisual01.png);
}
.slider div:nth-of-type(2) {
  background-image: url(../img/header/mainVisual02.png);
  animation-delay: 5s;
}
.slider div:last-of-type {
  background-image: url(../img/header/mainVisual03.png);
  animation-delay: 10s;
}

/*////////////////////// main /////////////////////*/

.main {
  width: 100%;
  /* max-width: 1280px; */
  margin: 0 auto;
}

/* ================= Privacy Policy page styles ================= */
.privacy-policy-main {
  padding: 4rem 1rem;
}

.privacy-policy-container {
  max-width: 960px;
  margin: 0 auto;
}

.privacy-policy-content {
  background: #ffffff;
  padding: 2.4rem 2.2rem;
  border-radius: 12px;
  color: #333333;
}

.privacy-policy-content h1 {
  font-size: 2rem;
  margin-bottom: 0.8rem;
  color: #111111;
}

.policy-intro {
  font-size: 1.05rem;
  color: #444444;
  margin-bottom: 1rem;
}

.policy-section {
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.policy-section h2 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
  color: #222222;
}

.policy-section p {
  color: #444444;
  line-height: 1.7;
}

.policy-section ul {
  margin: 0.5rem 0 0.6rem 1.2rem;
  list-style: disc;
}

.policy-section ul li {
  margin-bottom: 0.45rem;
}

.contact-info p {
  margin: 0.2rem 0;
}

.policy-date {
  display: block;
  color: #777777;
  font-size: 0.95rem;
  margin-top: 0.35rem;
}

.back-to-home {
  text-align: center;
  margin-top: 1.6rem;
}

.back-btn {
  display: inline-block;
  background: #e1b30d;
  color: #fafafa;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
  box-shadow: 0 6px 18px rgba(225, 179, 13, 0.12);
}

.back-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(225, 179, 13, 0.16);
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .privacy-policy-content {
    padding: 1.6rem;
  }
  .privacy-policy-main {
    padding: 2.4rem 0.8rem;
  }
  .privacy-policy-content h1 {
    font-size: 1.5rem;
  }
  .policy-section h2 {
    font-size: 1.05rem;
  }
}

/* End privacy policy styles */

.frame {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

/*////////////////////// about /////////////////////*/

.about-container {
  /* border: red 1px solid; */
  width: 100%;
  margin: 3.5rem auto;
}

.about-title {
  /* border: blue 1px solid; */
  display: block;
  margin: 0 0 3rem 5rem;

  position: relative;
}

.about-title h2 {
  font-size: 3.5rem;
  color: #f7f1e3;
}

.about-title::before {
  content: 'About us';
  font-size: 2rem;
  font-weight: 500;
  color: #ecc331;
  position: absolute;
  top: 2.3rem;
  left: 4rem;
}

.about-content {
  /* border: blue 1px solid; */
  width: 100%;
  display: grid;
  place-items: center;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  background-color: #ecc331;
}

.about-txt {
  /* background-color: #ECC331; */
  display: inline-block;
}

.about-txt div {
  max-width: 60%;
  margin: 1rem auto 0;
}

.about-txt p {
  color: #ffffff;
  margin-bottom: 0.5rem;
  line-height: 1.8rem;
}

/*////////////////////// intro /////////////////////*/

.intro-all {
  /* border: blue 1px solid; */
  width: 100%;
  margin: 2.5rem auto;
  padding: 6rem 0 4rem 0;
  background-color: #fbf7ee6d;
}

.intro-content {
  width: 70%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}

.intro-content h3 {
  font-size: 1.8rem;
  color: #e1b30d;
  display: inline-block;
}

.intro-txt {
  width: 70%;
}

.intro-txt p {
  margin-bottom: 1.3rem;
  line-height: 2.2rem;
}

.intro-name {
  margin-top: 2rem;
  display: flex;
  justify-content: flex-end;
  align-items: end;
}

.intro-name-content {
  display: flex;
  justify-content: flex-end;
  margin-left: 2rem;
}

.intro-name-content p {
  font-size: 1.2rem;
  margin-left: 0.5rem;
}

/*////////////////////// profile /////////////////////*/

.profile-all {
  /* border: red 1px solid; */
  margin: 7rem auto 6rem;
  width: 70%;
}

.profile-all h3 {
  font-size: 1.8rem;
  font-weight: 400;
}

.profile-table {
  /* border: blue 1px solid; */
  margin: 2rem 0;
}

.table-title {
  font-weight: 500;
}

.table-content {
  border-top: #e1d2af 1px solid;
  display: flex;
  justify-content: flex-start;
  padding: 1.5rem 0;
}

.table-content.tr-bottom {
  border-bottom: #e1d2af 1px solid;
}

.table-tr {
  /* border: red 1px solid; */
  width: 35%;
  font-weight: 500;
}

.profile-all iframe {
  border-radius: 10px;
  width: 100%;
  margin-top: 3rem;
}

/*////////////////////// buildings /////////////////////*/
.buildings-container {
  /* border: red 1px solid; */
  width: 100%;
  margin: 18rem auto 10rem;

  position: relative;
}

.build-photo-all {
  width: 100%;
  background-color: #fbf7ee6d;
  padding: 4rem 0;
}

.build-title-all {
  width: 40%;
  position: absolute;
  top: -6rem;
}

.build-title-content {
  color: #fafafa5e;
  font-size: 2.8rem;
  background-color: #ecc331;
  padding: 2rem 4rem 3rem 4rem;
  position: relative;
}

.build-title-content h2 {
  font-size: 3.5rem;
  color: #fafafa78;
}

.build-title-content::before {
  content: 'Buildings';
  font-size: 2rem;
  font-weight: 500;
  color: #272727;
  position: absolute;
  top: 4rem;
  left: 8rem;
}

.build-title-txt {
  width: 60%;
  display: flex;
  justify-content: space-between;
  margin: 0.5rem 0 0 4rem;
}

.build-title-txt h3 {
  color: #fafafa;
  font-size: 0.95rem;
}

.arrow-right {
  display: inline-block;
  vertical-align: middle;
  color: #f3f2f0;
  line-height: 1;
  position: relative;
  width: 0.5em;
  height: 0.1em;
  background: currentColor;
}

.arrow-right::before {
  content: '';
  width: 0.4em;
  height: 0.4em;
  border: 0.1em solid currentColor;
  border-left: 0;
  border-bottom: 0;
  transform: rotate(45deg);
  transform-origin: top right;
  position: absolute;
  top: 50%;
  right: -0.05em;
  box-sizing: border-box;
}

.build-photo {
  /* border: green 1px solid; */
  width: 74%;
  margin: 5rem auto;
}

.photo-group01 {
  /* border: red 1px solid; */
  width: 100%;
  margin-bottom: 7rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
}

.photo-group01 img {
  max-width: 49%;
}

.group01-part img {
  max-width: 100%;
}

.group01-part {
  margin-top: 3.5rem;
}

.group01-part p {
  margin-top: 0.5rem;
  display: flex;
  justify-content: flex-end;
}

.photo-group02 {
  /* border: red 1px solid; */
  width: 100%;
  margin-bottom: 6rem;
}

.photo-group02 p {
  margin-bottom: 0.5rem;
}

.buildings-detail {
  margin: 1rem auto;
  text-align: right;
  transition: 0.1s;
}

.buildings-detail a {
  font-size: 0.9rem;
  color: #333333;
  text-underline-offset: 0.3rem;
  transition: 0.2s;
}

.buildings-detail a:hover {
  color: #e1b30d;
}

.group02-part01 {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
}

.group02-part01 img {
  max-width: 49%;
}

.group02-part02 {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.5rem;
}

.group02-part02 img {
  max-width: 100%;
}

.photo-group03 {
  /* border: red 1px solid; */
  margin: 12rem auto 2rem;
  width: 100%;
  display: flex;
  justify-content: flex-end;

  position: relative;
}

.photo-background {
  width: 30%;
  height: 85%;
  background-color: #e1b30d;

  position: absolute;
  top: -2rem;
  left: 5.5rem;
}

.group03-part {
  width: 90%;
  display: flex;
  justify-content: flex-end;
  gap: 0.4rem;
}

.group03-part img {
  max-width: 32%;
}

.group03-part img:first-child {
  box-shadow: #e1b30d -30px -30px;
}

.photo-group04 {
  width: 100%;
}

.photo-group04 img {
  max-width: 100%;
}

.photo-group05 {
  width: 100%;
  margin-top: 6rem;
}

.photo-group05 p {
  margin-bottom: 0.5rem;
}

.group05-part01 {
  /* border: red 1px solid; */
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
}

/* .group05-part01 img {
  max-width: 32%;
} */

.group05-part02 {
  position: relative;
  display: flex;
  gap: 1rem;
}

.group05-part02 img:last-child {
  box-shadow: #e1b30d 20px 20px;
}

/*////////////////////// buildings-portfolio /////////////////////*/
.portfolio-container {
  text-align: center;
}

.portfolio-all h2 {
  display: block;
  margin: 4rem auto;
  padding-bottom: 0.4rem;
}

.portfolio-all h2 span {
  border-bottom: #ecc331 3px solid;
}

.portfolio {
  width: 80%;
  margin: 0 auto 7rem;
}

.portfolio h3 {
  font-size: 1.2rem;
}

.pf-photo-all {
  width: 100%;
  margin-top: 2rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pf-photo {
  width: 32%;
  height: 250px;
  object-fit: cover;
  overflow: hidden;
  margin-bottom: 2rem;
}

.portfolio div img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: all 0.3s ease;
}

.portfolio div img:hover {
  transform: scale(1.1);
}

/*////////////////////// contact /////////////////////*/
.contact-container {
  /* border: red 1px solid; */
  width: 100%;
  padding: 5rem 0 18rem 0;
  background-color: #fbf7ee6d;
}

.contact-all {
  /* border: blue 1px solid; */
  border-radius: 10px;
  width: 60%;
  margin: 0 auto;
}

.contact-txt {
  margin-bottom: 2rem;
}

.contact-txt h2 {
  font-size: 1.5rem;
  font-weight: 500;
  text-align: center;
  color: #e1b30d;
}

.contact-content {
  width: 75%;
  margin: 1rem auto 2rem;
  font-size: 1rem;
}

.contact-content p {
  line-height: 1.8rem;
}

.contact-form {
  width: 100%;
  margin: 0 auto;

  /* background-color: #fafafa; */
  border-radius: 10px;
}

.from-content {
  width: 75%;
  margin: 0 auto;
}

.from-txt {
  margin: 1rem auto 2rem;
  display: flex;
  flex-direction: column;
}

.from-txt label {
  font-size: 14px;
  margin-bottom: 0.2rem;
}

.from-txt input {
  padding: 1rem;
  border: none;
  border-radius: 7px;
  background-color: #eeeeee;
}

.from-txt textarea {
  padding: 1rem 0 5rem 1rem;
  border: none;
  border-radius: 7px;
  background-color: #eeeeee;
  resize: none;
}

.from-btn {
  margin: 0 auto 1rem;
  padding: 0.8rem 6rem;
  display: block;
  border: #e1b30d 1.5px solid;
  border-radius: 10px;
  background-color: #e1b30d;
  color: #fafafa;
  font-size: 1.1rem;
  transition: 0.2s;
}

.from-btn:hover {
  color: #e1b30d;
  background-color: #fafafa;
}

.form-detail {
  font-size: 0.7rem;
  color: #555555;
}

.button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.button div {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.button a {
  color: #222222;
  font-size: 0.9rem;
}

.checkbox {
  width: 22px;
  height: 22px;
  appearance: none;
  border: 2px solid #e1b30d;
  border-radius: 3px;
  background-color: #ffffff;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}

.checkbox:checked {
  background-color: #e1b30d;
  border-color: #e1b30d;
}

.checkbox:checked::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #ffffff;
  font-size: 14px;
  font-weight: bold;
}

.checkbox:hover {
  border-color: #c19b0b;
}

.button label {
  font-size: 0.9rem;
  cursor: pointer;
  line-height: 1.4;
}

.submit-btn {
  margin: 0.6rem auto 1.2rem;
  padding: 0.9rem 6rem;
  background-color: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  appearance: none;

  background-color: #e1b30d;
  color: #fafafa;
  border-radius: 10px;
  font-size: 1.1rem;
  transition: 0.2s;
  cursor: pointer;
}

.submit-btn[disabled] {
  background-color: #ccc;
  cursor: not-allowed;
}

/*////////////////////// footer /////////////////////*/
.footer {
  background-color: #31302f;
  padding: 2rem 0 1.5rem 0;
  color: #fafafa;
}

.footer-all {
  width: 80%;
  max-width: 1280px;
  margin: 0 auto;
}

.footer-sp {
  display: none;
}

.footer-ab {
  border-bottom: #9d979d44 1px solid;
  display: flex;
  justify-content: space-between;
}

.footer-detail h2 {
  font-weight: 400;
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
}

.footer-detail-bottom {
  margin-top: 3rem;
}

.footer-map {
  width: 5rem;
  border: #fafafa 1px solid;
  border-radius: 20px;
  padding: 0.3rem 0.5rem 0.5rem 0.5rem;
  margin: 0.6rem 0;
  transition: 0.2s;
}

.footer-map:hover {
  background-color: #fafafa;
}

.footer-map:hover a {
  color: #31302f;
}

.circle {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e1b30d;
  margin: 0.3rem 0 0 0.4rem;
}

.footer-map a {
  color: #fafafa;
  text-decoration: none;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.footer-map a p {
  font-size: 0.8rem;
}

.footer-nav ul {
  display: flex;
  justify-content: flex-end;
  list-style-type: none;
}

.footer-nav ul a {
  color: #fafafa;
  font-size: 0.9rem;
  text-decoration: none;
  padding: 0.5rem 1rem;
  transition: 0.2s;
}

.footer-nav ul a:hover {
  color: #ecc331;
}

.footer-all small {
  display: flex;
  justify-content: flex-end;
  color: #9d979db7;
  font-size: 0.7rem;
}

.hanhouse-icon {
  margin: 0.5rem auto 0;
  border-radius: 999999px;
  width: 64px;
  height: 64px;
  aspect-ratio: 1;
}

/*////////////////////// privacy policy /////////////////////*/
.privacy-policy-container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.privacy-policy-header {
  text-align: center;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid #ecc331;
}

.privacy-policy-header h1 {
  font-size: 2.5rem;
  color: #e1b30d;
  margin-bottom: 1rem;
}

.privacy-policy-header p {
  color: #666;
  font-size: 1rem;
}

.privacy-section {
  margin-bottom: 3rem;
  padding: 2rem;
  background-color: #ffffff;
  border-radius: 10px;
}

.privacy-section h2 {
  font-size: 1.5rem;
  color: #e1b30d;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e1d2af;
}

.privacy-section h3 {
  font-size: 1.2rem;
  color: #333;
  margin: 1.5rem 0 1rem 0;
}

.privacy-section p {
  margin-bottom: 1rem;
  line-height: 1.8;
  color: #444;
}

.privacy-section ul {
  margin: 1rem 0;
  padding-left: 2rem;
}

.privacy-section li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
  color: #444;
}

.contact-info {
  background-color: #faf5e8;
  padding: 1.5rem;
  border-radius: 8px;
  margin-top: 1rem;
}

.contact-info p {
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.privacy-nav {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #e1d2af;
}

.privacy-nav a {
  display: inline-block;
  padding: 1rem 2rem;
  background-color: #e1b30d;
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.privacy-nav a:hover {
  background-color: #c19b0b;
}

/* Smooth scrolling for anchor links */
html {
  scroll-behavior: smooth;
}

/* Fade-in Animation */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered animation delays for multiple elements */
.fade-in:nth-child(1) {
  transition-delay: 0.1s;
}
.fade-in:nth-child(2) {
  transition-delay: 0.2s;
}
.fade-in:nth-child(3) {
  transition-delay: 0.3s;
}
.fade-in:nth-child(4) {
  transition-delay: 0.4s;
}
.fade-in:nth-child(5) {
  transition-delay: 0.5s;
}

/* Specific animation classes for different elements */
.fade-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

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

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  /* Navigation */
  .nav {
    display: none;
  }

  .navigation-all {
    display: flex;
  }

  .nav ul {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .nav-all li h1 img {
    width: 30px;
    height: 30px;
  }

  /* Main Visual */
  .mv-txt {
    padding: 1.5rem 2rem;
    bottom: 1rem;
    left: 1rem;
  }

  .mv-txt h2 {
    font-size: 2rem;
  }

  .mv-txt h3 {
    font-size: 1rem;
  }

  .slider {
    height: 50vh;
  }

  /* About Section */
  .about-title {
    margin: 0 0 2rem 2rem;
  }

  .about-title h2 {
    font-size: 2.5rem;
  }

  .about-title::before {
    font-size: 1.5rem;
    top: 0.8rem;
    left: 2rem;
  }

  .about-content {
    grid: 1fr / 1fr;
    padding: 4rem 3rem;
  }

  .about-content img {
    width: 100%;
    height: auto;
  }

  .about-txt div {
    width: 100%;
    max-width: 100%;
  }

  .intro-content {
    width: 90%;
    flex-direction: column;
    gap: 2rem;
  }

  .intro-txt {
    width: 100%;
  }

  .profile-all {
    width: 90%;
  }

  .profile-table {
    width: 100%;
  }

  .table-content {
    flex-direction: column;
    gap: 0.5rem;
  }

  .table-tr {
    width: 100%;
    font-weight: 600;
  }

  /* Buildings Section */
  .build-title-all {
    width: 75%;
  }

  .build-title-content {
    padding: 1rem 4rem 1.5rem 2rem;
  }

  .build-title-content h2 {
    font-size: 2.5rem;
  }

  .build-title-content::before {
    font-size: 1.5rem;
    top: 2.5rem;
    left: 5rem;
  }

  .build-title-txt {
    width: 80%;
    margin: 0.5rem 0 0 3rem;
  }

  .arrow-right {
    width: 0.4em;
    height: 0.1em;
  }

  .arrow-right::before {
    width: 0.3em;
    height: 0.3em;
  }

  .build-photo {
    width: 90%;
  }

  .photo-group01 {
    flex-direction: column;
  }

  .photo-group01 img {
    max-width: 100%;
  }

  .group02-part01 {
    flex-direction: column;
  }

  .group02-part01 img {
    max-width: 100%;
  }

  .group03-part {
    width: 100%;
    flex-direction: column;
  }

  .group03-part img {
    max-width: 100%;
  }

  .group05-part01 {
    flex-direction: column;
  }

  .group05-part02 {
    flex-direction: column;
  }

  .group05-part01 img {
    max-width: 100%;
  }

  /* Buildings-portfolio Section */

  .pf-photo-all {
    justify-content: center;
    flex-direction: column;
  }

  .pf-photo {
    width: 100%;
    height: 220px;
  }

  .portfolio div img {
    width: 100%;
    height: 220px;
    margin-bottom: 1rem;
  }

  /* Contact Section */
  .contact-all {
    width: 90%;
  }

  .contact-content {
    width: 100%;
  }

  .from-content {
    width: 90%;
  }

  /* Footer */
  .footer-all {
    display: none;
  }

  .footer-sp {
    display: block;
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
  }

  .footer-ab {
    flex-direction: column;
    gap: 2rem;
  }

  .footer-nav ul {
    margin-bottom: 1.5rem;
    flex-direction: column;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .footer-nav ul a {
    padding: 0 0;
  }

  .footer-detail {
    max-width: 80%;
  }

  .footer-sp small {
    justify-content: center;
    margin-top: 1rem;
    color: #9d979db7;
  }
}

@media screen and (max-width: 480px) {
  /* Even smaller screens */
  .nav {
    width: 95%;
  }

  .mv-txt h2 {
    font-size: 1.5rem;
  }

  .about-title h2 {
    font-size: 2rem;
  }

  .about-title p {
    font-size: 1.5rem;
    top: 1.8rem;
    left: 3rem;
  }

  .submit-btn {
    padding: 0.9rem 4rem;
  }
}
