* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-size: 100%;
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
}
/*各セクションの共通タイトル*/
.title {
  font-size: 3.5rem;
  font-family: "Roboto Slab", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  text-align: center;
  margin-bottom: 60px;
  color: #5c5c5b;
}
.titles {
  font-size: 3.5rem;
  font-family: "Roboto Slab", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  text-align: center;
  margin-bottom: 30px;
  color: #5c5c5b;
}
/*LiveLife合同会社ロゴ*/
.logo-icon {
  width: 100%;
  display: flex;
  top: 0;
  left: 0;
  position: fixed;
  background-color: aliceblue;
  opacity: 0.8;
  z-index: 10;
}
.logo-img img {
  width: 300px;
  object-fit: cover;
}
/*トップのキャッチコピー*/
#slogan {
  top: 60%;
  left: 15%;
  text-align: center;
  position: absolute;
  margin: 15px 0;
  font-size: 1.3rem;
  opacity: 0;
  z-index: 3;
  transform: translateY(20px);
  box-shadow: 0px 4px 20px rgba(27, 24, 24, 0.15);
}

.slogan-p {
  font-size: 1.3rem;
  font-family: "Edu AU VIC WA NT Guides", cursive;
  font-optical-sizing: auto;
  font-style: normal;
  text-align: center;
  margin: 50px auto;
  color: #f5efef;
  text-shadow: 2px 2px 4px rgb(64, 63, 63);
  /* 背景の色（必要に応じて変更） */
}
#slogan.active {
  opacity: 1;
  transform: translateY(0);
  transition: all 2.5s;
}

/*ハンバーガーメニュー*/
#hmb-img {
  width: 100%;
  text-align: right;
  margin-top: 10px;
  margin-right: 30px;
  cursor: pointer;
  z-index: 10;
}
#hmb-img img {
  width: 50px;
  height: 50px;
}
#hmb-menu {
  width: 220px;
  height: 100vh;
  background-color: rgb(111, 108, 108);
  position: fixed;
  top: 0;
  right: 0;
  transform: translateX(100%);
  transition-property: all;
  transition-duration: 0.8s;
  opacity: 0.9;
  z-index: 10;
}
#hmb-menu ul {
  list-style: none;
  padding: 0 15px 0 10px;
  margin: 25px 0;
}

#hmb-menu ul li {
  border-bottom: solid 1px #7b7b79;
  color: aliceblue;
  padding: 5px 15px;
}
#hmb-menu ul li a {
  font-size: 1.3rem;
}
#close {
  text-align: right;
  color: white;
  cursor: pointer;
  font-size: 25px;
  margin: 5px 25px;
  padding: 10px;
}
#hmb-menu.active {
  transform: translateX(0);
  overflow-y: auto;
}
/*トップページのスライドショー*/
.slideshow-container {
  width: 100%;
  height: 600px;
  margin-top: 40px;
  margin-bottom: 80px;
  overflow: hidden;
  position: relative;
  z-index: -1;
}

.slide {
  width: 100%;
  position: absolute;
  transition: opacity 1.5s ease-in-out;
}
.slide img {
  object-fit: cover;
  height: 600px;
}
.fade {
  animation: fadeEffect 2s ease-in-out;
}

@keyframes fadeEffect {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}
/*ビジョン*/
#vision {
  width: 100%;
  margin: 50px 0;
  overflow: hidden;
}
.vision-img {
  width: 100%;
  overflow: hidden;
}
.vision-img img {
  width: 100%;
  object-fit: cover;
}

/*事業内容*/
#business {
  width: 100%;
  margin-bottom: 40px;
}

.business-item {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 30px;
  opacity: 0;
}

.business-item img {
  width: 100%;
  height: auto;
  margin: 10px 0;
  border-radius: 15px;
  object-fit: cover;
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
  cursor: pointer;
}
.business-item img:hover {
  transform: scale(1.05);
  opacity: 0.7;
}
.live-streaming {
  font-size: 1.2rem;
  margin-bottom: 8px;
  font-weight: 500;
}
.live-streaming,
.live-streaming-p {
  text-align: center;
}

.business-item.animated,
.show-more.animated {
  animation: slideIn 1s ease-in-out forwards;
  opacity: 1;
}
@keyframes slideIn {
  from {
    transform: translateY(50%);
    opacity: 0;
  }
  to {
    transform: translateY(0%);
    opacity: 1;
  }
}

/*会社概要*/
#company {
  position: relative;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  margin-bottom: 180px;
}

.company-image {
  width: 100%;
  height: 100%;
}

.company-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.5);
}
/*見出し*/
.company-h1 {
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 25px;
}
table {
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.8);
}
tr {
  display: flex;
  flex-direction: column;
}
.table-td {
  width: 100%;
  font-size: 1.3rem;
  padding: 15px 40px;
  background-color: #f0f0f0ec;
  border-top: 1px solid #e2e2dfdc;
  border-bottom: 1px solid #e2e2dfdc;
}
td {
  font-size: 1rem;
  padding: 12px 40px;
}
#slide1 {
  overflow: hidden; /* 親要素に隠し設定 */
}

#company {
  opacity: 0; /* 初期状態は透明 */
}

#company,
#show-more.animated {
  animation: slideIn2 1s ease-in-out forwards;
  opacity: 1;
}
@keyframes slideIn2 {
  from {
    transform: translateY(50%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/*food*/
#food {
  position: relative;
  background-color: #fafaf9;
  overflow: hidden;
}
.food-p {
  flex-wrap: wrap;
  position: absolute;
  font-size: 15rem;
  font-weight: 700;
  opacity: 0.08;
  color: #a9a9a4;
  pointer-events: none;
  width: 100%;

  letter-spacing: 25px;
}
.nav-ul {
  margin: 10px 30px;
  list-style: none;
}
.nav-ul li {
  font-size: 1.7rem;
  padding: 20px 30px;
}
.nav-ul li a {
  transition: color 0.4s;
  cursor: pointer;
}
.nav-ul li a:hover {
  color: #7b7b79;
}

.copyright {
  display: flex;
  flex-direction: column;
  text-align: center;
  margin: 20px 0;
}
@media (min-width: 344px) and (max-width: 480px) {
  .title,
  .titles {
    font-size: 2.2rem;
  }
  #hmb-menu {
    width: 180px;
  }
  #hmb-menu ul li a {
    font-size: 1rem;
  }
  .slideshow-container {
    height: 300px;
  }

  .slide img {
    height: 300px;
  }

  .slogan-p {
    font-size: 0.8rem;
  }
  .live-streaming {
    font-size: 1rem;
  }
  .live-streaming-text {
    font-size: 0.8rem;
    line-height: 1.2;
  }
  #company {
    height: 600px;
  }
}
.nav-ul li {
  font-size: 1.3rem;
}
@media (min-width: 481px) and (max-width: 820px) {
  .slideshow-container {
    height: 500px;
  }

  .slide img {
    height: 500px;
  }

  .slogan-p {
    font-size: 1.4rem;
  }

  #company {
    position: relative;
    width: 100%;
    height: 500px;
    box-sizing: border-box;
  }
  .company-image img {
    object-fit: cover;
  }
}
@media (min-width: 821px) and (max-width: 2500px) {
  .slideshow-container {
    height: 600px;
  }
  .title {
    margin-bottom: 90px;
  }
  .logo-icon {
    z-index: 11;
    height: auto;
    pointer-events: none;
    background-color: transparent;
  }

  #hmb-menu {
    width: 100%;
    height: 63px;
    position: fixed;
    transform: translateX(0);
    display: flex;
    justify-content: end;
    align-items: center;
    background-color: aliceblue;
    opacity: 0.8;
    z-index: 10;
  }

  #hmb-menu ul li {
    color: #6c6c6a;
    display: inline;
    padding: 10px 15px;
    border-bottom: none;
  }

  #close,
  #hmb-img {
    display: none;
  }
  .slideshow-container {
    margin-top: 63px;
    height: 800px;
    display: flex;
    align-items: center;
  }

  .slogan-p {
    font-size: 1.7rem;
  }

  #business {
    width: 90%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 50px auto;
  }
  .business-item {
    width: 32%;
  }
  .business-item img {
    width: 90%;
    height: 350px;
  }
  #company {
    height: 650px;
    margin-bottom: 100px;
  }
  .company-text {
    height: 100%;
  }
  table {
    display: flex;
    align-items: center;
    text-align: center;
  }
  tr {
    flex-direction: row;
    align-items: center;
    border-bottom: 1px solid #e2e2dfdc;
  }

  .table-td {
    width: 35%;
    border-top: none;
    border-bottom: none;
    background-color: transparent;
    padding: 20px;
    font-size: 2.1rem;
  }
  td {
    padding: 20px;
    font-size: 1.8rem;
  }

  /* コンテンツセル */
  td:not(.table-td) {
    width: 65%;
    font-size: 1.1rem;
  }
  .nav-ul li {
    font-size: 1.7rem;
  }
}
