/* Reset and base styles */

:root {
  --color-primary: #3AB700;
  --color-secondary: #004fc5;
  --color-text: #1D1F24;
  --color-background: #ffffff;
  --color-gray1:#E3E3E3;
  --color-gray2:#e7e7e7;
  --color-gray3:#C8C8C8;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Noto Sans JP', 'Jost', 'Josefin sans',sans-serif;
  font-weight: 500;
 
  text-align: justify;
  color: var(--color-text);
  line-height: 1.6;
  background-color: var(--color-background);
}

a {
  text-decoration: none;
  color: inherit;
}

h2 {
  font-family: 'Josefin sans', sans-serif;
}

.text-center{
  text-align: center;
}
.text-nowrap{
  white-space: nowrap;
}
.text-accent{
  color: var(--color-primary);
}
.text-underline{
    text-decoration-line: underline;
}

.wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cmn-contents{
  margin: 80px auto;
  width: calc(100% - 160px);
}
.full-contents{
  width: 100%;
}
.triangle-icon {
  width: 100px;
  height: 100px;
  position: relative;
}
.rotate90{
  transform: rotate(90deg);
}
.triangle-icon::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  border-left: 50px solid transparent;
  border-right: 50px solid transparent;
  border-bottom: 100px solid var(--color-gray1);
}

.triangle-icon::after {
  content: "";
  position: absolute;
  top: 5px;
  left: 5px;
  width: 0;
  height: 0;
  border-left: 45px solid transparent;
  border-right: 45px solid transparent;
  border-bottom: 90px solid var(--color-background);
}

/* アニメーション */

.floating-y {
  animation: key-floating-y 0.8s ease-in-out infinite alternate-reverse;
}
@keyframes key-floating-y {
  0% {
    transform: translatey(-30%);
  }
  100% {
    transform: translatey(30%);
  }
}

.scroll-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-up.show {
  opacity: 1;
  transform: translateY(0);
}

/* スプラッシュ画面の全体 */
#splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 100vw;
  height: 100vh;
  background-color: var(--color-background);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  pointer-events: none;
  transition: opacity 1s ease;
}

.splash-content{
  width: 100%;
  padding: 10vw;
}

/* ロゴアニメーション */
.splash-content img {
  opacity: 0;
  transform: translateY(20px);
  animation: logoFadeIn 1s ease forwards;
  animation-delay: 0.3s;
  width: 300px;
}

@keyframes logoFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* フェードアウト後に非表示に */
#splash-screen.fade-out {
  opacity: 0;
  transition: opacity 1s ease;
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 80px;
  height: 80px;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.9);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

.header-left {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 120px;
}
.logo-container a{
  display: flex;
}
.logo-container img{
  width: 100%;
}
.menu {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.menu-item {
  font-weight: 900;
 
}

.contact-button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 140px;
  height: 40px;
  background-color: var(--color-primary);
  color: var(--color-background);
}
.section-title-simple {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  gap: 10px;
  padding: 0 0 5rem 0;
}

.section-title-simple h2 {
  font-size: 48px;
  font-weight: 700;
  text-align: center;
}

/* Hero Section */
.hero {
  position: relative;
  width: 100%;
  height: calc(100vh - 240px);
  margin-top: 80px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero-image {
  position: absolute;
  top: 0;
  width: calc(100% - 160px);
  height: 100%;
  z-index: -1;
  overflow: hidden;
}
.hero-image video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-tagline {
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  width:100%;
  height: 100%;
  padding-bottom: 5rem;

}
.hero-tagline p{
  background-color: var(--color-background);
  width: fit-content;
  padding: 2rem 5rem;
  font-family: "Jost", sans-serif;
  font-size: 3rem;
  letter-spacing: 1.2px;
  font-weight: 500;
  text-align: left;
}

/* News Section */
.news {
  width: 100%;
  padding: 0 80px;
  margin-top: 0px;
  margin-bottom: 0px;
}

.news-content {
  display: flex;
  padding: 40px 0;
  width: 100%;
  gap: 6rem;
}

.news-header {
  display: flex;
  flex-basis: 50%;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.news-date {
 
  font-weight: 500;
  color: var(--color-text);
}

.news-title {
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.96px;
  color: var(--color-text);
}

.news-body {
  flex-basis: 50%;
  color: var(--color-text);
 
  line-height: 1.8125;
  letter-spacing: 0.64px;
  text-align: justify;
}

.news-body p {
  margin-bottom: 20px;
}

/* Mission Section */
.section-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
  padding: 50px 0;
  width: 100%;
}

.title-line {
  width: 100%;
  height: 2px;
  background-color: var(--color-primary);
}

.title-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.section-title h2 {
  font-size: 4rem;
  font-weight: 300;
  text-align: center;
}

.mission-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-evenly;
  gap: 3rem;
  max-width: 1300px;
  margin: 0 auto;
  padding: 2.5rem 0;
}

.mission .section-title{
  padding: 0;
}
.mission-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  min-width: 300px;
}

.mission-header h3 {
  font-family: serif;
  font-size: 48px;
  font-weight: 500;
  line-height: 1.4;
  text-align: justify;
  color: var(--color-text);
}

.mission-header img{
  width: 100%;
  max-width: 500px;
}

.mission-description {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-evenly;
  align-items: flex-start;
  gap: 3rem;
  width: 50%;
}

.mission-description p {
  line-height: 2;
  letter-spacing: 0.64px;
  font-size: 1.5rem;
  letter-spacing: 0.64px;
}

.triangle-icon-small {
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-bottom: 25px solid var(--color-text);
}


/* Service Section */
.service {
  display: flex;
  justify-content: center;
  width: 100%;
  background-color: var(--color-gray2);
}

.service-inner{
  border-left: 1px solid var(--color-background);
  border-right: 1px solid var(--color-background);
  width: fit-content;
}
.service-inner .section-title-simple{
  padding: 80px 0;
}


.section-description {
 
  font-weight: 700;
  text-align: center;
}

.service-cards {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 160px auto;
  border-top: 1px solid var(--color-background);
  border-bottom: 1px solid var(--color-background);
}
.service-cards a{
  display: block;
  padding: 0 2rem;
  background-color: transparent;
  transition: background-color 0.3s ease;
}
.service-cards a:hover{
   background-color: var(--color-background);
   transition: background-color 0.3s ease;
}

.service-card {
  display: flex;
  flex-direction: column;
}
.vertical-divider::before{
  content: '';
  width: 1px;
  height: 100%;
  display: block;
  background-color: var(--color-background);
}

.service-image {
  width: 100%;
  text-align: center;
  background-size: cover;
  background-position: center;
}
.service-image img{
  width: 100%;
  max-width: 350px;
}

.service-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 2rem;
  padding-top: 0;
}

.service-info h3 {
  font-weight: 900;
 
}


/* Company Section */

.company-info {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 1280px;
  margin: 0 auto;
}

.info-row {
  display: flex;
  gap: 20px;
  margin: 0 auto;
  width: 768px;
}

.info-label {
  font-weight: 900;
  letter-spacing: 0.8px;
  width: 150px;
}

.info-value {
 
  font-weight: 400;
  letter-spacing: 0.8px;
 
}

.info-divider {
  width: 100%;
  height: 1px;
  background-color: var(--color-gray3);
}

.recruit-section{
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  justify-content: space-between;
}
.recruit-section .section-title-simple{
  width: 50%;
  align-items: flex-start;
}
.recruit-section-discription{
  display: flex;
  flex-wrap: row wrap;
  justify-content: center;
  gap:3rem;
  width: calc(50% - 3rem);
}
.recruit-section a{
  display: block;
  width: 100%;
}
.recruit-section-btn{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.5rem;
  width: 100%;
  background-color: var(--color-primary);
  color: var(--color-background);
}
.recruit-section-btn i{
  font-size:2rem;
  vertical-align: middle;
}
.recruit-section-btn p{
  display: inline-block;
  letter-spacing: clamp(0.13rem, 0.105rem + 0.13vw, 0.2rem);
}

.note-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 10px;
}

.note-section h3 {
  font-weight: 900;
}

.note-cards {
  display: flex;
  justify-content: space-between;
  width: 100%;
  gap: 50px;
}

.note-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 30%;
}

iframe.note-embed{
    width: 33%;
    max-width: 400px;
    min-width: 250px;
}


/* Contact Section */
.contact {
  width: 100%;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-info p {
  font-weight: 900;
 
  text-align: center;
}

/* Footer */
.footer {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  gap: 32px;
  padding: 32px 0;
  background-color: var(--color-primary);
}

.footer-links a {
  font-weight: 900;
 
  color: var(--color-background);
}

.footer-copyright {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  gap: 32px;
  padding: 1rem 0;
  background-color: var(--color-text);
}

.footer-copyright p {
  font-weight: 900;
 
  color: var(--color-background);
}

@media (max-width: 1024px) {
  .mission-description p{
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .cmn-contents{
    width: calc(100% - 2rem);
  }
  .header {
      padding: 0 1rem;
  }
  .hamburger {
    display: block;
  }
  .menu {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background-color: var(--color-background);
    flex-direction: column;
    padding: 1rem 2rem;
    gap: 1rem;
    z-index: 999;
  }
  .menu.open {
    display: flex;
  }

  .hero {
      height: 50vh;
  }
  .hero-image{
    width: calc(100% - 2rem);
  }
  .hero-tagline {
      font-size: 2rem;
      line-height: 1.4;
  }
  .hero-tagline p{
    padding: 2rem;
    width: min-content;
    font-size: 2rem;
  }
  .news {
      padding: 0 1.5rem;
  }
  .news-title{
    font-size: 1.3rem;
  }
  .news-content{
    flex-flow: column;
    gap: 0rem;
  }
  .news-body{
    font-size: 13px;
  }

  .mission-content{
    flex-flow: column;
    gap: 2rem;
    width: 100%;
    padding: 0 2rem;
  }
  .mission-header h3 {
    font-size: 32px;
  }
  .mission-description{
    flex-flow: column;
    align-items: center;
    gap: 2rem;
    width: 100%;
  }
  .mission-description p{
    width: 100%;
    max-width: 28rem;
  }
  .mission-header img{
    width: 70%;
    min-width: 250px;
    margin: 0 auto;
  }

  .triangle-icon-small{
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 1rem solid var(--color-text);
  }

  .mission .rotate90{
      transform: rotate(180deg);
    }


  .service-cards {
      flex-direction: column;
      max-width: 500px;
  }
  .service-cards a {
    border-bottom: 1px solid var(--color-background);
  }

  .service-card {
      width: 100%;
  }

  .company-info{
    gap: 2rem;
  }

  .info-row {
      width: 80%;
      padding: 0;
      flex-direction: column;
      gap: 8px;
  }

  .recruit-section{
    flex-flow: column;
  }

  .recruit-section-btn{
    width: 300px;
  }

  .recruit-section .section-title-simple{
    width: 100%;
    padding-bottom: 2rem;
  }
  .note-section{
    margin-top: 5rem;
  }
  .note-cards {
      flex-direction: column;
      gap: 0rem;
      align-items: center;
  }

  .note-card {
      width: 100%;
  }

  .footer-links {
      flex-direction: column;
      gap: 1rem;
  }
}

@media (max-width: 480px) {
  .header-left {
      gap: 1rem;
  }

  .logo-container {
      width: 119px;
      height: 34px;
  }

  .menu {
      display: none;
  }

  .contact-button {
      width: 100px;
      height: 34px;
  }

  .hero-tagline {
      position: relative;
      top: auto;
      right: auto;
      margin: 1.5rem;
  }

  .section-title h2 {
      font-size: 36px;
  }

  .recruit-section-discription{
    width: 100%;
  }
  .recruit-section-btn{
    width: 100%;
  }
}



/* TOP以降 */
.cmn-section{
  margin: 80px 0;
}
.cmn-section-header{
  margin: 100px 0;
}
.cmn-section-title{
  font-size: 2rem;
}
.s-date{
  font-size: 13px;
}
.section-text{
  display: flex;
  flex-flow: column;
  gap: 40px;
}

.pp-contents{
  margin-top: 80px;
}