/* TOP Page (index.html) */
/* Main Visual Section */
.main-visual {
  position: relative;
  width: 100%;
  height: 750px;
  max-height: 90vh;
  overflow: hidden;
}

.mv-content {
  position: relative;
  width: 100%;
  height: 100%;
}

.mv-content::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 25%;
  height: 60%;
  background: rgba(0,168,89,0.5);
  clip-path: polygon(0 100%, 100% 100%, 0 0);
  z-index: 2;
}

.mv-content::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 25%;
  height: 60%;
  background: rgba(0,168,89,0.5);
  clip-path: polygon(0 0, 100% 0, 0 100%);
  z-index: 2;
}

.mv-img {
  width: 105%;
  height: 100%;
  object-fit: cover;
  object-position: 73% 25%;
  display: block;
}

.mv-title {
  position: absolute;
  top: 50%;
  left: 16%;
  transform: translateY(-50%);
  color: white;
  font-size: 100px;
  font-weight: bold;
  z-index: 2;
  text-shadow: 0 0 20px var(--color-bg-dark); /* 視認性向上のための軽い影 */
  letter-spacing: 0.1em;
}

.mv-news-ticker {
  position: absolute;
  bottom: 0;
  right: 0;
  background: rgba(40, 40, 40, 0.95);
  color: white;
  padding: 15px 30px;
  display: flex;
  align-items: center;
  gap: 25px;
  z-index: 3;
  min-width: 25%;
  text-decoration: none;
}

.mv-news-ticker::before {
  content: "";
  position: absolute;
  left: 0px;
  bottom: 0;
  width: 0;
  height: 0;
  border-left: 20px solid var(--color-green);
  border-top: 20px solid transparent;
}

/* News Ticker */
.mv-news-ticker .label {
  font-size: 20px;
  font-weight: bold;
}

.mv-news-ticker .news-info {
  display: flex;
  flex-direction: column;
  padding-left: 25px;
  border-left: 1px solid white;
}

.mv-news-ticker .date {
  font-size: 14px;
  color: var(--color-dark-gray);
}

.mv-news-ticker .content {
  font-size: 15px;
}

/* News Section */
.news-section {
  text-align: center;
}

.news-section-title {
  font-size: 40px;
  color: var(--color-green);
  margin-bottom: 40px;
}

.news-section .news-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--color-gray);
  border-bottom: 1px solid var(--color-gray);
  padding: 20px;
  text-decoration: none;
  color: inherit;
  margin: 0 auto 30px;
}

.news-section .news-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.news-section .date {
  font-size: 14px;
  color: var(--color-dark-gray);
  margin-bottom: 5px;
}

.news-section .content {
  font-weight: bold;
}

.news-section .news-arrow {
  font-size: 18px;
  color: var(--color-green);
}

.news-section .btn-more {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
  background: var(--color-green);
  color: white;
  padding: 15px 0;
  border-radius: 5px;
  text-decoration: none;
}

.news-section .btn-more i {
  position: absolute;
  right: 20px;
}

/* Group Company Section */
.group-company { 
    color: white;
    background-image: url("../images/groupbackground.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.group-company-section-title {
  font-size: 40px;
  color: white;
  margin-bottom: 40px;
  text-align: center;
}

.business-category h3 {
  font-size: 16px;
  margin-bottom: 30px;
  border-left: solid 10px;
  padding-left: 15px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card-body {
  background: white;
  height: 140px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: bold;
  color: var(--color-green);
  border-radius: 12px;
  margin-bottom: 15px;
}

.yoshino-img {
  max-height: 80px;
  width: auto;
}

.card-link {
  position: relative;
  display: block;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  text-align: center;
  padding: 10px;
  text-decoration: none;
  border-radius: 30px;
}

.card-link i {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
}

/* Responsive (Mobile) */
@media (max-width: 768px) {
  .mv-content::before,
  .mv-content::after {
    width: 50%;
  }
  .mv-title {
    font-size: 76px;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
  }

  .mv-news-ticker {
    width: 80%;
    font-size: 12px;
    padding: 20px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    gap: 20px;
    margin-bottom: 20px;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .business-category-row {
    display: block;
  }

  .footer .container {
    padding-top: 40px;
  }
}

/* 2K以上 */
@media (min-width: 1920px) {
  .mv-title {
    left: 20%;
    font-size: 140px;
  }
}