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

  a{
    color: white !important;
    text-decoration: none !important;
  }
  
  body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
  }
  
  header {
    background-image: url(../img/business.jpg);
    background-size: cover;
    background-position: center;
    padding: 20px;
    height: 600px;
  }

  .header-content {
    position: relative;
    font-family: "Shippori Mincho B1", serif;
  }
  
  .header-text {
    position: absolute;
    top: 300px;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 55px;
    font-weight: bold;
    color: #fff;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  }

  .header-text span{
    font-size: 30px;
  }

  

  
  .navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    position: fixed;  /* 追従させるためにfixedに変更 */
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 2, 0.7); /* 濃いめの青 + 透明度 */
    z-index: 100;
    font-family: "Shippori Mincho B1", serif;
    font-weight: 400;
    font-style: normal;
  }
  
  .navigation.scroll .logo-link,.navigation.scroll .menu-link{
    color: black;
  }


  .navigation.scroll .menu-toggle .hamburger {
    background-color: #000; /* スクロール時にハンバーガーメニューアイコンの色を黒に変更 */
  }


  .logo-link {
    color: white;
    font-size: 20px;
    text-decoration: none;
    font-family: "Shippori Mincho B1", serif !important;
    font-weight: 400;
    font-style: normal;
  }

  .menu-item {
    margin: 0 10px;
  }
  .menu-link {
    color: white;
    text-decoration: none;
  }
  
  .logo {
    flex-grow: 1;
  }
  
  .logo-link {
    font-family: 'Your Font Name', sans-serif;
    font-size:40px;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
  }
  
  .menu {
    list-style-type: none;
    display: flex;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 2;
    justify-content: space-between;
    align-items: center;
  }
  
  .menu-item {
    margin-left: 80px;
  }
  
  .menu-link {
    font-size: 20px;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
  }
  
  .menu-link:hover {
    color: white;
  }
  
  /* 追加のホバーエフェクト */
  
  .menu-item-hover {
    position: relative;
  }
  
  .menu-item-hover::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 0;
    background-color: #ffc506;
    transition: width 0.5s ease;
    z-index: 1;
  }
  
  .menu-item-hover:hover::before {
    width: 100%;
  }
  
  .menu-item-hover::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 100%;
    background-color: #ffc506;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
    z-index: -1;
  }
  
  .menu-item-hover:hover::after {
    transform: scaleX(1);
    background-color: transparent; /* 覆いかぶさる部分の背景を透明にする */
  }
  
  
  
  
/* ハンバーガーメニューのスタイル */
.menu-toggle {
  display: none;
  cursor: pointer;
  position: relative;
  z-index: 3;
}

.hamburger {
  display: block;
  width: 30px;
  height: 4px;
  background-color: #fff;
  margin-bottom: 5px;
  transition: background-color 0.3s;
}

.menu-toggle .hamburger {
  display: block;
  width: 30px;
  height: 4px;
  background-color: #fff;
  margin-bottom: 5px;
  transition: transform 0.3s, opacity 0.3s;
}

/* バツアイコンのスタイル */
.menu-toggle .close-icon {
  display: none;
  position: relative;
  width: 30px;
  height: 30px;
}


.menu-toggle .close-icon::before,
.menu-toggle .close-icon::after {
content: '';
position: absolute;
top: 50%;
left: 0;
width: 100%;
height: 4px;
background-color: #fff;
transition: transform 0.3s;
}

.menu-toggle .close-icon::before {
transform: translateY(-50%) rotate(45deg);
}

.menu-toggle .close-icon::after {
transform: translateY(-50%) rotate(-45deg);
}


.menu-toggle span {
  display: block;
  width: 30px;
  height: 4px;
  background-color: #fff;
  margin-bottom: 5px;
  transition: background-color 0.3s;
}

.menu-toggle.active .hamburger:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active .hamburger:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active .hamburger:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

@media (max-width: 1024px) {
  .header-text {
    font-size: 45px;
    width: 80%;
    top: 290px;
  }

  .navigation {
    flex-direction: row;
    justify-content: space-between;
  }

  .menu {
    margin-top: 0;
  }

  .menu-item {
    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 0;
  }

  .menu-link {
    font-size: 16px;
  }


.navigation.scroll .menu-link {
  color: black;
}

  header {
    padding: 20px 40px;
    height: 600px;
  }
}



/* レスポンシブデザインにおけるメニューの表示スタイル */
@media screen and (max-width: 768px) {

  header {
      padding: 10px;
      height: 400px;
  }

  .header-text {
    font-size: 30px;
    width: 90%;
    top: 200px;
  }

  .logo-link{
    font-size: 25px;
  }

  .menu {
      list-style-type: none;
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      width: 100%;
      background-color: #333;
      padding: 20px;
      transition: top 5s; /* トランジション時間を0.5秒に設定 */
      z-index: 2;
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.5s ease; /* メニューの開閉のアニメーション */
    }


  .menu.active {
    top: 0;
    display: flex;
    flex-direction: column;
    max-height: 500px; /* メニューの最大の高さ */
    transition: max-height 0.5s ease; /* メニューの開く際のアニメーション */
  }


  .menu.closing {
      max-height: 500px; /* メニューの最大の高さ */
      transition: max-height 0.5s ease; /* メニューの閉じる際のアニメーション */
    }


.menu.closing.active {
  max-height: 0;
}

  /* メニューの表示スタイル */


.menu.active .menu-item {
  margin: 10px 0;
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.menu-toggle {
  display: block;
  cursor: pointer;
  position: relative;
  z-index: 3;
}


.menu.active .menu-item:nth-child(1) {
  transition-delay: 0.1s;
}

.menu.active .menu-item:nth-child(2) {
  transition-delay: 0.2s;
}

.menu.active .menu-item:nth-child(3) {
  transition-delay: 0.3s;
}

.menu.active .menu-item:nth-child(4) {
  transition-delay: 0.4s;
}

.menu.active .menu-item:last-child {
  transition-delay: 0.5s;
}

.menu.active .menu-item {
  opacity: 1;
  transform: translateY(0);
}
}  


  
  
/*事業についてーーーーーーーーーーーーーーーーーーーーーーーーーーー*/

  .section-header {
    text-align: center;
    margin: 0 auto;
    padding: 40px 0;
    font: 300 60px 'Oswald', sans-serif;
    color: black;
    text-transform: uppercase;
    letter-spacing: 6px;
    font-size: 40px;
  }



  .br-1{
    display: none;
  }

  .business-top p{
    text-align: center;
    padding-bottom: 70px;
    font-size: 20px;
    line-height: 50px;
  }


  @media screen and (max-width: 768px) {
    .section-header {
      text-align: center;
      margin: 0 auto;
      padding: 40px 0;
      font: 300 60px 'Oswald', sans-serif;
      color: black;
      text-transform: uppercase;
      letter-spacing: 6px;
      font-size: 25px;
    }
    .business-top p{
      text-align: center;
      padding-bottom: 0px;
      font-size: 14px;
    }


  }



  /*事業内容ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー*/
  @media (max-width: 1024px) {
    .business-detail p{
      font-size: 12px;
    }
  }




  @media (max-width: 768px) {
    .max-width-p {
      width: 100%;
    }
  }



/*フッターーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー*/


  .footer {
    background-color: #333;
    color: #fff;
    padding: 20px 0;
    margin-top: 30px;
    text-align: center;
  }
  
  .footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
  }
  
  .footer p {
    flex: 1 0 100%;
    margin-top: 30px;
  }
  
  .footer-links {
    flex: 1 0 100%;
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
  }
  
  .footer-links li {
    margin: 0 10px;
  }
  
  .footer-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
  }
  
  .footer-links a:hover {
    color: #aaa;
  }