@charset "UTF-8";

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  font-size: 100%;
  height: 100%;
}
body {
  color: #333;
  font-size: 0.9rem;
  line-height: 1.8;
  font-family:"Montserrat", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  height: 100%;
}
a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}
img {
  max-width: 100%;
}
li {
  list-style: none;
}
.section {
  display: block;
  text-align: center;
}
.section-title {
  color: #250d65;
  font-size: clamp(1.375rem, 1.161rem + 1.07vw, 2.5rem);
  letter-spacing: 0.1em;
  line-height: 1;
}
.ja_title {
  color: #250d65;
  font-weight: 600;
}

/*   View moreボタン   */
.viewmore-btn {
  width: 220px;
  height: 55px;
  background: linear-gradient(90deg,
  #6a3295,
  #0b021f
);
  background-position: 0 50%;
  background-size: 200% auto;
  border-radius: 50px;
  margin: 10px auto;
  padding: 15px 20px;
  text-align: center;
  letter-spacing: 0.2rem;
  font-weight: 600;
  position: relative;
  display: block;
  cursor: pointer;
  margin-inline: auto;
  transition: background-position 0.5s ease-in-out;
}
.viewmore-btn::after {
  content: "▶︎";
  color: #fff;
  position: absolute;
  right: 20px;
  top: 50%;
  font-size: 10px;
  transform: translateY(-50%);
  transition: right 0.3s ease;
}
.viewmore-btn:hover {
  background-position: 0% 100%;
  background: linear-gradient(-90deg,
  #6a3295,
  #0b021f
)}
.viewmore-btn:hover::after {
  right: 15px;
}

/*  タイトル下の文章  */
.container {
  text-align: center;
  margin: 30px auto;
}
.container p {
  margin-bottom: 30px;
}

/*   ヘッダー   */
#header {
  position: relative;
  width: 100%;
  height: 90vh;
  background-image: url(../img/hero.jpg);
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  overflow: hidden;
}
.header-fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0px 30px;
  z-index: 10;
  transition: background-color 0.3s ease;
}

/*  スクロールするとヘッダーの背景色が変わる  */
.header-fixed.scroll-navi {
  background: #21044D;
}

.site-title {
  padding: 10px 0 0 0;
}
.site-title img {
  width: 150px;
  height: 40px;
}
.navi  {
  margin: 10px; 
}
.navi-menu {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0;
  padding: 0;
}
.navi-menu li {
  position: relative;
  font-size: 0.875rem;
  padding: 0;
  white-space: nowrap;
}
.navi-menu li a {
  display: inline-block;
  position: relative;
  font-weight: 600;
  letter-spacing: 0.1rem;
  color: #fff;
}
.navi-menu li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.2px;
  background-color: #fff;
  transition: width 0.3s ease;
}
.navi-menu li a:hover::after {
  width: 100%;
}
.toggle-btn {
  display: none;
  position: fixed;
  width: 30px;
  height: 26px;
  top: 20px;
  right: 10px;
  padding: 30px;
  transition: all 0.5s;
  z-index: 20;
}
.toggle-btn span {
  display: block;
  position: absolute;
  width: 30px;
  height: 2px;
  right: 10px;
  background-color: #fff;
  transition: all 0.5s;
}
.toggle-btn span:nth-child(1) {
  top: 10px;
}
.toggle-btn span:nth-child(2) {
  top: 18px;
}
.toggle-btn span:nth-child(3) {
  top: 26px;
}


@media screen and (max-width:768px) {
  #heder {
    height: 60vh;
  }
  .header-fixed {
    padding: 0 15px;
  }
  .site-title {
    width: 120px;
    height: auto;
  }
  .navi {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(to bottom, #7633a4, #250d65),
    radial-gradient(circle at 80% 80%, rgba(0, 0, 0, 0.3), transparent 50%);
    z-index: 10;
    box-sizing: border-box;
    margin: 0;
  }
  .open .navi {
    display: block;
  }
  .navi-menu {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    gap: 0;
  }
  .navi-menu li a {
    font-size: 1rem;
  }
  .toggle-btn {
    display: block;
  }
  /*  ハンバーガーボタンが×になる動き  */
  .open .toggle-btn span {
    background-color: #d9d9d9;
  }
  .open .toggle-btn span:nth-child(1) {
    transform: rotate(45deg);
    top: 18px;
    right: 6px;
  }

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

  .open .toggle-btn span:nth-child(3) {
    transform: rotate(-45deg);
    top: 18px;
    right: 6px;
  }
}
@media screen and (max-width:1024px) and (max-width:768px) {
  .navi-menu li {
    font-size: 0.75rem;
  }
}

/*   FV  */
.main-title {
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
  padding: 0 30px;
  width: 100%;
  height: auto;
}
.main-title h2 {
  max-width: 85vw;
  font-size: 4.5rem;
  padding: 20px 0;
  line-height: 1;
  margin: 0 auto;
  display: inline-block;
}
.main-title p {
  font-size: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}
.contact-btn {
  margin-top: 50px;
  width: 220px;
  height: 55px;
  border: solid 1px #fff;
  border-radius: 50px;
  margin: 50px auto;
  padding: 15px 20px;
  font-weight: 600;
  position: relative;
  overflow: hidden;
}
.contact-btn::after {
  content: "▶︎";
  color: #fff;
  position: absolute;
  right: 20px;
  top: 50%;
  font-size: 10px;
  transform: translateY(-50%);
  transition: right 0.3s ease;
}
.contact-btn:hover::after {
  right: 15px;
}
@media screen and (max-width:768px) {
  .main-title {
    text-align: left;
    top: 50%;
    left: 60%;
  }
  .main-title {
    padding-left: 0;
  }
  .main-title h2 {
    font-size: 2.5rem;
    max-width: 75vw;
  }
  .main-title p {
    max-width: 200px;
    font-size: 1.2rem;
    margin-left: 0;
  }
}

.scroll-btn {
  position: absolute;
  color: #fff;
  right: 0;
  bottom: 0px;
  letter-spacing: 0.2em;
}
.scroll-text {
  transform: rotate(90deg);
  margin-bottom: 10px;
}
.scroll-border {
  position: relative;
  width: 1px;
  height: 100px;
  margin: 0 auto;
  overflow: hidden;
}
.scroll-border::before {
  content: "";
  display: block;
  position: absolute;
  width: 1px;
  height: 80px;
  bottom: 0;
  background: #fff;
  animation: scroll-line 1.5s ease-in-out infinite;
}

@keyframes scroll-line {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }
  50% {
    transform: scaleY(1);
    transform-origin: top;
  }
  50.1% {
    transform: scaleY(1);
    transform-origin: bottom;
  }
  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}


/* トップへ戻るボタン */
#page-top {
  position: fixed;
  right: 40px;
  bottom: 40px;
  z-index: 50;
  width: 50px;
  height: 50px;
  background-color: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  display: none;
}
#page-top a {
  display: block;
  width: 100%;
  height: 100%;
}

/*  NEWS  */
#news {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 20px;
  margin: 40px 0;
}
#news .section {
  flex: 0 0 auto;
}
#news .section-title,
#news .ja_title {
  display: block;
  text-align: left;
}
.news-wrapper {
  flex: 1;
  max-width: 800px;
  padding-left: 60px;
}
.news-item {
  display: flex;
  gap: 40px;
  font-size: 14px;
}
.news-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.news-list dd {
  text-align: left;
  flex: 1;
}
.news-list dd a {
  color: #333;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-bottom 0.3s ease;
}
.news-list dd a:hover {
  border-bottom: 1px solid #333;
}
.label {
  display: inline-block;
  font-size: 12px;
  padding: 4px 8px;border-radius: 20px;
  background-color: #ddd;
  width: 85px;
  height: 25px;
  text-align: center;
  font-weight: bold;
  margin-right: 10px;
  padding: 0;
}
@media screen and (max-width:768px){
  #news {
    flex-direction: column;
  }
  #news .section-title,
  #news .ja_title {
    text-align: center;
  }
  #news .section {
    margin-bottom: 30px;
  }
  .news-wrapper {
    padding-left: 0;
  }
  .news-item {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
  }
  .news-item dt {
    flex: 0 0 auto;
  }
  .news-item .label {
    flex: 0 0 auto;
    margin-right: 0;
  }
  .news-item dd {
    flex: 1 1 100%;
    margin-bottom: 30px;
  }
}

/*  SERVICE  */
#service {
  padding: 70px 0;
}
.service-wrapper {
  display: flex;
  margin: 10px auto;
  max-width: 1150px;
}
.service-item {
  padding: 20px;
}
.service-item h3 {
  text-align: center;
  margin-bottom: 15px;
}
.service-item p {
  line-height: 2.2;
}
@media screen and (max-width:768px) {
  #service .section {
    padding-bottom: 20px;
  }
  .service-wrapper {
    flex-direction: column;
    text-align: center;
  }
  .service-item h3 {
    margin-bottom: 0px;
  }
}

/*  works  */
#works {
  margin: 0 auto;
  max-width: 1300px;
  position: relative;
}
.works-wrapper {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: center;
  padding: 80px 20px;
  width: 100%;
  position: relative;
}
.works-wrapper::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  max-width: 1300px;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, #fff 40%, #F0F0F0 40%);
  z-index: -1;
}
#works .section {
  width: 100%;
  display: flex;
  flex-direction: column;
  transform: translateX(10%);
  z-index: 1;
  margin: 0 20px;
}
#works .description {
  padding: 20px 0;
}
.slider {
  display: flex;
  width: 65%;
  gap: 10px;
}
.slider img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
@media screen and (max-width:768px) {
  .works-wrapper::before {
    background: linear-gradient(to bottom, #fff 40%, #F0F0F0 40%);
  }
  .works-wrapper {
    flex-direction: column-reverse;
    justify-content: center;
    padding: 20px;
    margin: 0 auto;
  }
  #works .section {
    width: 100%;
    margin: 20px 0;
    padding: 0px;
    align-items: center;
    text-align: center;
    transform: translateX(0%);
  }
  .slider {
    padding: 20px;
    margin: 0 auto;
    left: 0px;
    width: 100%;
  }
}


/*  company  */
#company {
  width: 100%;
  max-width: 1300px;
  height: auto;
  margin: 80px auto;
  background-image: url(../img/bg-face.png),url(../img/bg-circle.png);
  background-size: contain;
  background-repeat:  no-repeat;
  background-position:center center; 
  align-items: center;
}
.sp {
  display: none;
}
.under {
  background: linear-gradient(transparent 60%, yellow 60%);
  line-height: 1;
  font-weight: bold;
  font-size: 40px;
  margin-top: 30px;
  display: inline-block;
} 
#company .description {
  padding: 30px;
}
@media screen and (max-width:768px) {
  #company {
    background-image: url(../img/bg-circle.png);
    background-position: center center;
    width: 100%;
    height: auto;
    margin: 0px auto;
    padding: 60px 0;
  }
  .sp {
    display: block;
  }
  .under {
    font-size: 36px;
    overflow-wrap: break-word;
    word-wrap: break-word;
    background: linear-gradient(transparent 60%, yellow 60%);
  }
}


/*  RECRUIT  */
#recruit {
  display: flex;
  padding: 30px;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  height: auto;
  align-items: stretch;
}
#recruit .description {
  padding: 20px 0 10px 0;
}
.recruit-left {
  width: 40%;
  height: auto;
  background-color: #F0F0F0;
  padding: 80px 0;
}
.recruit-right {
  width: 60%;
  height: auto;
}
.recruit-right img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  display: block;
}
@media screen and (max-width:768px) {
  #recruit {
    padding: 0px 20px;
    display: flex;
    flex-direction: column;
  }
  .recruit-right {
    width: 100%;
    height: 200px;
    order: 1;
  }
  .recruit-left {
    width: 100%;
    order: 2;
  }
}



/*  CONTACT  */
#contact {
  background-color: #F0F0F0;
  width: 100%;
  height: 350px;
  align-items: center;
  margin-top: 80px;
}
#contact .section {
  padding-top: 80px;
}
#contact .description {
  padding: 20px 0 10px 0;
}
@media screen and (max-width:768px) {
  #contact {
    margin-top: 40px;
  }
}


/*  FOOTER  */
#footer {
  width: 100%;
  height: 200px;
  background-color: #120E19;
  text-align: center;
}
.footer-menu {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 80px 0 40px 0;
  font-size: 14px;
  letter-spacing: 0.1em;
}
.copyright a {
  color: #897C98;
  font-size: 0.75em;
}
@media screen and (max-width:768px) {
  .footer-menu {
    justify-content: left;
    padding-left: 30px;
    font-size: 12px;
    flex-wrap: wrap;
  }
}