@charset "UTF-8";
/*@import url("button.css");*/
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css");

/**
* ベース
-------------------------------------------------- */
html{
  font-size: calc(100vw * 10 / 1920);
  scroll-snap-type: y proximity;
  scroll-padding-top: 100px;
}

body {
  font-family: "Noto Sans JP", "メイリオ", "Meiryo", "ＭＳ ゴシック", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN", sans-serif;
  font-size: 1.6rem;
  line-height: 1.5;
  color: #333;
  margin: 0;
  padding-top: 8rem;
}

* {
  box-sizing: border-box;
}

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

ul {
  margin: 0;
  padding: 0;
}

ul li {
  list-style: none;
}

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

ol li {
  margin-bottom: 1.5rem;
}

dl,
dt,
dd {
  margin: 0;
}

img {
  max-width: 100%;
  vertical-align: middle;
}

p {
  margin: 0 0 1.5rem;
  line-height: 1.8;
}

a {
  text-decoration: none;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.pc-only {
  display: none;
}

.sp-menu-btn {
  display: none;
}


/**
* ヘッダー
-------------------------------------------------- */
.top-header {
  width: 100%;
  height: 80px;
  position: fixed;
  top: 0;
  background-color: #fff;
  border-bottom:  0.1rem solid #555;
  z-index: 999;
}

.header-nav-wrapper .primary-nav-wrapper {
  float:right;
  top: -5px;
  -webkit-transition:all 300ms;
  transition:all 300ms;
 }

 .primary-nav-wrapper {
  height: 8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
 }

.header-nav-wrapper {
  position:relative;
  display: flex;
  justify-content: space-between;
 }

 #toplogo img {
  max-width: 90%;
  height: auto;
  max-height: 8rem;
  padding: 1rem 0 0;
 }

/* #toplogo {
  max-width: 100%;
  height: auto;
  display: inline-block;
} */

#menu-wrap {
  float: right;
}

.header-nav-wrapper nav {
  display:inline-block;
}

.header-nav-wrapper nav ul li {
  display: flex;
  align-items: center;
  font-size: 12px;
  letter-spacing:1px;
  margin-right: 3rem;
}

/* .header-nav-wrapper a {
  display: block;
  text-decoration: none;
  color: white;
  margin: auto;
} */

.c-gnav {
  display: flex;
  height: 100%;
  text-align: center;
}

.c-gnav > .menu-item > a {
  color: inherit;
  display: flex;
  height: 64px;
  width: 100%;
  justify-content: center;
  /*padding: 0 12px;*/
  position: relative;
  white-space: nowrap;
  align-items: center;
  gap: 0.5rem;
}

/* ContactとRecruitのリンクは下線を表示しない */
.c-gnav .main-link-button a::before {
  display: none;
}

@media screen and (max-width: 1680px) {
  #toplogo img {
  max-height: 11rem;
 }
}

@media screen and (max-width: 768px) {
  #toplogo img {
  max-height: 8rem;
 }
}


/*-------- underbar ----------------*/
.c-gnav a{
  position: relative;
  text-decoration: none;
  color: #1075ff;
  transition: 0.3s;
}

.c-gnav a:hover{
  color: #aaa;
}

.c-gnav a::before{
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 0;
  height: 4px;
  background: #91c31e;
  transition: 0.3s;
}

.c-gnav a:hover::before{
  left: 0;
  width: 100%;
}

/* 追加：active クラスが付与されたリンクに常時下線を表示 */
.c-gnav a.active::before{
  left: 0;
  width: 100%;
}

/*-------------- textchg ---------------*/
ul li a .secs {
  display: none;
}

ul li a:hover .fasts {
  display: none;
}

ul li a:hover .secs {
  display: inline;
}

/*------------- navibutton ---------------------*/

.header-nav-wrapper button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 1rem 4rem;
  border-radius: 100vh;
  color: #fff;
  border: none;
  transition: all 0.5s ease;
}

.header-nav-wrapper button:hover {
  background: #003c41;
}

.contact {
  background-color: #91c31e;
}

.recruit {
  background-color: #00a99d;
}

button span:nth-child(2) {
  position: absolute;
  display: none;
  font-size: 1.2rem;
}

button:hover span:nth-child(2) {
  display: inline-block;
}

button:hover span:nth-child(1) {
  opacity: 0;
}

.header-nav-wrapper button:hover {
  background: #003c41;
}

a img {
  border:none
}

.center-block {
  margin-right: auto;
  margin-left: auto;
}


/*---------------------------
  プルダウンメニュー
----------------------------*/
/* 2段階メニュー（プルダウン）用の基本スタイル */
.c-gnav .menu-item.has-submenu {
  position: relative;
}

/* ドロップダウンリストを絶対配置して幅を内部コンテンツに合わせる */
.c-gnav .menu-item.has-submenu .dropDown-list {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: auto !important;      /* 幅を自動に */
  min-width: 0;                /* 必要なら min-width を解除 */
  white-space: nowrap;         /* 改行せず、内部コンテンツの幅に合わせる */
  padding: 2rem;        /* 内側の余白を統一 */
  background-color: #00373E;   /* 背景色 */
  box-sizing: border-box;
  z-index: 999;
}

/* サブメニューの各項目 */
.c-gnav .dropDown-list li {
  display: block !important;
  text-align: left!important;           /* 左揃え */
  border-left: 1px solid #fff; /* 左側に白い縦線 */
  list-style: none;
  margin: 0;
  padding: 0.5rem 2rem;
}

/* サブメニュー内のリンク */
.c-gnav .dropDown-list li a {
  color: #fff;        /* 文字色：白 */
  text-decoration: none;
  display: block!important;
  text-align: left !important;
}

/* ホバー時の背景色変更など */
.c-gnav .dropDown-list li:hover {
  background-color: #004a54; /* 少し明るい色を付ける例 */
}

/* 親メニューにホバーしたらサブメニューを表示 */
.c-gnav .has-submenu:hover > .dropDown-list {
  display: block;
}


/*---------------------------
  ハンバーガーメニュー（.hamburger-wrapper, .hamburger）
  ※常に表示
----------------------------*/
.hamburger-wrapper {
  position: fixed;
  top: 0;
  right: 0;
  width: 80px;
  height: 80px;
  background-color: #fff;
  border-left: 1px solid #000;
  border-bottom: 1px solid #000;
  z-index: 11000;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ※.hamburger は今回ID指定で操作 */
.hamburger {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
}

/* ハンバーガーの三本線 */
.hamburger span {
  display: block;
  width: 30px;
  height: 2px;
  background-color: #000;
  margin: 3px 0;
  transition: all 0.3s ease;
}

/* ボタン下のテキスト */
.menu-text {
  font-size: 1.4rem;
  margin-top: 5px;
}

/* ハンバーガーメニューが active になったときの×印変化 */
.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
  background-color: #fff;
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
  background-color: #fff;
}

/*---------------------------
  オーバーレイメニュー（.mobile-nav）
  ※初期状態は非表示（高さ0）、クリックで全画面展開
----------------------------*/
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;             /* 初期は非表示 */
  background-color: #00373E;
  overflow: hidden;
  transition: height 0.3s ease;
  z-index: 10500;
}

.mobile-nav img{
  width: 25rem;
  margin: 4rem;
}

.mobile-nav.active {
  height: 100vh;
}

.mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 100px 0 0; /* ヘッダー部分のスペース（必要に応じて調整） */
}

.mobile-nav ul li a {
  display: block;
  padding: 1rem;
  text-decoration: none;
  color: #91c31e;
  font-size: 3rem;
}

.mobile-nav ul li a:hover {
  opacity: 0.7;
}

.hamburger-wrapper.active {
  background-color: #00373E;
  border-left: none;
  border-bottom: none;
}

.hamburger.active .menu-text {
  color: #fff;
}

.m-nav-flex{
  display: flex;
  gap: 8rem;
  width: 70%;
  margin: auto;
}

.ul-left,
.ul-center,
.ul-right{
  width: 33%;
}

.ul-under{
  width: 80%;
  padding-top: 0!important;
  padding-left: 2rem!important;
  border-left: 1px solid #fff;
  margin-top: 2rem!important;
  margin-left: 1rem!important;
}

.ul-under a{
  color: #fff!important;
  font-size: 1.5rem!important;
  padding: 0!important;
  margin-bottom: 2rem;
}

.li-white a{
  color: #fff!important;
  font-size: 1.5rem!important;
}

.mobile-nav p{
  position: absolute;
  left: 6rem;
  bottom: 3rem;
  color: #fff;
}

@media (max-width: 767px) {
  .m-nav-flex{
    display: block;
    gap: 0;
    width: 45%;
    margin: auto;
  }

  .mobile-nav ul{
    padding: 0;
  }


  .mobile-nav ul li a {
    color: #91c31e;
    font-size: 2rem;
    padding: 1rem;
  }

  .ul-left,
  .ul-center,
  .ul-right{
    width: 100%;
  }

  .ul-under{
    display: none;
  }

  .mobile-nav p{
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
  }
}

/*---------------------------
  ナビメニュー（.desktop-nav）
  ※1180px未満は非表示
----------------------------*/
@media (max-width: 1179px) {
  .desktop-nav {
    display: none!important;
  }
}
@media (min-width: 1180px) {
  .desktop-nav {
    display: block;
  }
}



/**
* フッター
-------------------------------------------------- */
/*--------------- business.css から---------------------*/
/**
* フッター
-------------------------------------------------- */
/*---------- footer ----------------*/
.foot-row{
  display: flex;
}

.foot-col{
  width: 50%;
}

.top-contact,
.top-recruit{
  padding: 4rem 8rem;
}

.ft-background {
  padding: 2.5rem 1.5rem 1rem 1.5rem;
  height: 14rem;
  background-color: #FFFFFF;
}

.sub-layout {
  width: 70%;
}

.main-margin-top01{
  margin-top: 2rem;
}

.footer {
  background: #fff;
  color: #333;
}

.footer-inner {
  padding: 5rem 6rem 3rem;
}

.footer-logo img {
  max-width: 20%;
  height: auto;
  float: left;
}

.footer-nav {
  display: flex;
  width: 80rem;
  margin-left: auto;
  padding: 0 0 3rem;
}

.footer-nav-list {
  width: 50%;
}

.text-weight {
  margin-bottom: 1rem;
}

.text-weight a {
  font-size: 1.8rem;
  font-weight: 600;
  color: #003c41;
}

.text-weight a:hover {
  text-decoration: none;
  color: #91c31e;
}

.footer-column li a {
  margin-bottom: 0.5rem;
  font-size: 1.4rem;
  color: #666;
}

.footer-column li a:hover {
  color: #999;
}

.footer-column a:hover {
  text-decoration: none;
}

.footer-column-layout {
  padding: 3rem 0 0 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  font-size: 1.2rem;
  color: #666;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.footer-links a {
  color: #666;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-certifications {
  display: flex;
  gap: 1rem;
}

.footer-certifications img {
  height: 4rem;
}

.footer-bottom > p {
  margin: 0;
}


@media screen and (max-width: 768px) {
  .foot-row {
    display: block;
  }

  .foot-col {
    width: 100%;
  }

  .footer-nav {
    width: 100% !important;
    display: block;
  }

  .main-margin-bottom02 {
    margin-bottom: 6rem;
  }

  .footer-inner {
    padding: 5rem 3rem;
  }

  .footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-logo {
    margin-bottom: 4rem;
  }

  .footer-logo img {
    max-width: 100%;
  }

  .footer-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-nav-list {
    margin: 0 auto;
    width: 25rem;
  }

  .footer-bottom {
    text-align: center;
  }

  .footer-certifications {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-certifications ul.footer-links {
    display: flex;
    flex-direction: column;
    padding: 0;
    margin: 10px 0;
    list-style: none;
  }

  .footer-certifications ul.footer-links li {
    margin: 5px 0;
  }

  .footer-column ul {
    padding-left: 2rem;
  }

  .footer-column li {
    margin-bottom: 1rem;
  }

  .footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-certifications {
    order: 1;
    display: block;
    text-align: center;
  }

  .footer-certifications img {
    display: inline-block;
    margin: 0 5px;
  }

  .footer-bottom p {
    order: 2;
    margin-top: 20px;
  }
}


.top-contact {
  background-color: #003c41;
}
.top-recruit {
  background-color: #c1f0ec;
}

.top-contact h2 {
  color: #FFFFFF;
}

.back-to-top {
  position: fixed;
  bottom: 8rem;
  right: 8rem;
  width: 6rem;
  height: 6rem;
  background-color: rgba(0, 0, 0, 0.3);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 12000;
}

@media (max-width: 768px) {
  .back-to-top {
    display: none!important;
  }
}


/*---------------------------
  アニメーション効果
----------------------------*/

/*左からゆっくりふわっとフェードイン*/
@keyframes fadeInFromLeft {
  0% {
    opacity: 0;
    transform: translateX(-30px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* 初期状態：非表示 */
.left-fade {
  opacity: 0;
}

/* in-viewクラスが付与されたらアニメーション実行 */
.left-fade.in-view {
  animation: fadeInFromLeft 2s ease-out forwards;
}

/* ディレイ用のクラス */
.delay-1 { animation-delay: 0.5s!important; }
.delay-2 { animation-delay: 0.8s!important; }
.delay-3 { animation-delay: 1.1s!important; }
.delay-4 { animation-delay: 1.4s!important; }
.delay-5 { animation-delay: 1.7s!important; }
.delay-6 { animation-delay: 2s!important; }

/*下からゆっくりふわっとフェードイン*/
@keyframes fadeInFromBottom {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 初期状態：非表示 */
.bottom-fade {
  opacity: 0;
}

.bottom-fade.in-view {
  animation: fadeInFromBottom 2s ease-out forwards;
}

/* 円柱6つが下からシュッとフェードイン */
@keyframes fadeInFromBottomSwift {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 初期状態：非表示 */
.bottom-fast-fade {
  opacity: 0;
}

/* in-viewクラスが付与されたらシュッとフェードイン（0.8秒） */
.bottom-fast-fade.in-view {
  animation: fadeInFromBottomSwift 0.8s cubic-bezier(0.4, 0, 1, 1) forwards;
}




/**
* ▼▼▼ ここからSP表示 ▼▼▼
-------------------------------------------------- */
@media screen and (max-width: 768px) {
  html {
    font-size: 62.5%;
  }

  body {
    font-size: 1.4rem;
  }

  a {
    text-decoration: none;
  }

  .sp-only {
    display: none;
  }
}
