:root {
  --font-primary: "Noto Sans", sans-serif;
  --font-secondary: "Noto Sans", sans-serif;
  --padding-side: 50px;
    --color-text: #333333;
  --color-dark: #141414;
  --color-dark2: ##39342C;
  --color-light-gray: #f7f7f7;
  --color-gray: #707070;
  --color-accent: #3d3a5c;
  --color-white: #ffffff;
}


body {
  margin: 0;
  font-family: "Noto Sans", sans-serif;
  background-color: #0a1e1a;
  color: #333;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
    box-sizing: border-box;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px var(--padding-side);
  box-sizing: border-box;
  z-index: 1000;
  color: white;
}
.site-header.active {
  background-color: rgba(57, 52, 44, 0.5); /* 半透明の黒背景 */
  transition: background-color 0.3s ease;
  backdrop-filter: blur(5px);
}
.logo {
  border: none;
  padding: 0;
}

.logo img {
  height: 28px;
  display: block;
}

.menu-icon {
  width: 30px;
  height: 20px; /* ちょっと高さを広めに */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  z-index: 1001; /* メニューより前に */
}

.menu-icon span {
  width: 100%;
  height: 2px;
  background-color: white;
  transition: all 0.3s ease;
}

/* ========== 開いた時（×に変形） ========== */
.menu-icon.is-active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.menu-icon.is-active span:nth-child(2) {
  opacity: 0;
}
.menu-icon.is-active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}
/* メニュー初期状態 */
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100vh;
  background-color: #39342C;
  color: white;
  transition: left 0.3s ease-in-out;
  z-index: 999;
  gap: 20px;
}

/* 開いたとき */
.mobile-nav.is-open {
  left: 0;
}

/* メニュータイトル */
.menuhead {
  font-size: 30px;
  margin-bottom: 20px;
  color: white;
}



.header-nav {
  display: flex;
  gap: 30px;
    flex-direction: column;

}

.header-nav a {
  font-family: var(--font-primary);
  font-size: 20px;
    font-weight: bold;
    color: #fff;
}


main{
  background: #fff;
}

#hero-section {
  height: 400vh; /* アニメーションのためのスクロール領域を確保 */
  position: relative;
  color: #fff;
}

.sticky-container {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

.background-image,
.background-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.background-image {
  background-image: url('../img/fvbg.jpg');
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.background-overlay {
  background-color: #000;
  opacity: 0;
  z-index: 2;
}

.content-wrapper {
  position: relative;
  z-index: 4;
  display: flex;
  height: 100%;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--padding-side);
  box-sizing: border-box;
  align-items: center;
}

.catchphrase-wrapper {
  flex: 1;
}

.catchphrase {
  font-size: 3.5rem;
  font-weight: 300;
  line-height: 1.5;
  color: white;
}

.mission-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2.5rem;
  font-size: 1rem;
  line-height: 2;
  color: white;
  padding-left: 5%;
}

.mission-text .text-block {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.mission-title {
  font-size: 0.8rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
  font-weight: 400;
  font-family: var(--font-secondary);
  color: #009b4a;
}

.content-after {
  height: 100vh;
  padding: var(--padding-side);
  box-sizing: border-box;
  background-color: #0a1e1a;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}




/* General Section Styles */
.section-container {
  display: flex;
  gap: 50px;
  padding-top: 100px;
}

.section-container.ssc {
  padding-top: 50px;
}


.section-container.reverse {
  flex-direction: row-reverse;
}

.section-text {
  flex: 1;
}

.section-image {
  flex: 1;
}

.section-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.section-title {
  font-family: var(--font-primary);
  font-size: 14px;
  letter-spacing: 0.08em;
  margin-bottom: 30px;
  position: relative;
  padding-left: 15px;
}


.section-text h3 {
  font-size: 40px;
  line-height: 1.5;
  margin-bottom: 30px;
}

.section-text p {
  font-size: 16px;
  line-height: 2;
  margin-bottom: 40px;
}

.details-btn {
  display: inline-block;
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 500;
  padding: 15px 30px;
  border: 1px solid var(--color-dark);
  border-radius: 30px;
  transition: all 0.3s;
}

.details-btn:hover {
  background-color: var(--color-dark);
  color: var(--color-white);
}

/* Cases Section */
.message-section {
  padding-top: 90px;
  padding-bottom: 50px;
  background: url(../img/bg.jpg) top center/cover;
}

#company-profile .section-title {
  font-size: 25px;
  width: 30%;
}
.company-profile-section {
  padding-top: 80px;
  padding-bottom: 50px;
}

.company-info {
  border-top: 1px solid #eee;
  width: 100%;
}

.info-item {
  display: flex;
  align-items: flex-start;
  padding: 25px 10px;
  border-bottom: 1px solid #eee;
  gap: 2em;
}

.info-title {
  font-size: 16px;
  font-weight: 500;
  width: 120px;
  flex-shrink: 0;
}

.info-item p {
  line-height: 1.8;
}

/* News Section */
.contact-section {
  background: #39342C;
  color: var(--color-white);
  padding: 100px 0;
  text-align: center;
}

.contact-section .section-title{
  margin-bottom: 10px;
  padding-left: 0;
}

.contact-section h3 {
  font-size: 50px;
  font-weight: 300;
  margin-bottom: 20px;
}

.contact-section p {
  font-size: 16px;
  line-height: 1.8;
  opacity: 0.8;
  margin-bottom: 20px;
}

.contact-btn-large {
  display: inline-block;
  font-family: var(--font-primary);
  font-size: 18px;
  padding: 20px 80px;
  border: 1px solid var(--color-white);
  border-radius: 35px;
  transition: all 0.3s;
    color: #fff;
}

.contact-btn-large:hover {
  background-color: var(--color-white);
  color: var(--color-dark);
}

/* Footer */
.footer {
  padding: 60px 0 30px;
  background: #fff;
}


.footer-container {
  display: flex;
  flex-direction: column;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 50px;
}

.footer-nav {
  display: flex;
  gap: 30px;
}

.footer-nav a {
  font-family: var(--font-primary);
  font-size: 14px;
    font-weight: bold;
    color: #333;
}

.footer-bottom {
  text-align: center;
  font-size: 12px;
  color: var(--color-gray);
}


/* Responsive Styles */
@media (max-width: 840px) {
  .desktop-nav {
    display: none;
  }

  .hamburger-menu {
    display: block;
  }

  .hamburger-menu.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .hamburger-menu.is-active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger-menu.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    transition: left 0.3s ease-in-out;
    z-index: 999;
    gap: 20px;
  }

  .mobile-nav.is-open {
    left: 0;
  }

  .mobile-nav a {
    font-size: 20px;
  }

  .hero h1 {
    font-size: 10vw;
  }

  .section-container {
    flex-direction: column;
    padding: 60px 20px 0;
  }

  .section-text p {
    margin-bottom: 0px;
}

  .section-container.reverse {
    flex-direction: column;
  }

  .section-text h3 {
    font-size: 32px;
  }

  .slide {
    flex: 0 0 100%;
    padding: 0;
  }

  .slider-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
  }

  .slider-controls button {
    background-color: var(--color-dark);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }

 .company-info {
    width: 100%;
}

#company-profile .section-title{
  padding-left: 0;
    width: 100%;
}

#company-profile .container {
  flex-direction: column;
}

  .footer-top,
  .footer-nav {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

.footer-nav {
  flex-direction: row !important;
justify-content: center;
}

  .info-item {
    gap: 40px;
    padding: 20px 10px;
  }

  .info-title {
    width: 70px;
    font-weight: 700;
  }
}



@media (max-width: 768px) {
  :root {
    --padding-side: 20px;
  }
  .content-wrapper {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 0;
  }
  .catchphrase {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    padding: 100vw 0 0;
  }

  .message-section {
    padding-bottom: 90px;
  }
  .mission-text {
    padding-left: 0;
    align-items: center;
  }
}
