@charset "UTF-8";

body {
  font-size: 100%;
  font-family: 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro', 'Meiryo',
    'メイリオ', sans-serif;
}

img {
  max-width: 100%;
}

.font-oswald {
  font-family: 'Oswald', sans-serif;
}

.header-inner {
  max-width: 1600px;
  font-weight: bolder;
}

.container {
  max-width: 1080px;
  margin: 0 auto 50px auto;
}

.company-green {
  color: #1b5e20;
}
.company-green-bg {
  background-color: #1b5e20;
}
.company-green-bg:hover {
  opacity: 0.8;
}

.company-blue {
  color: #1976d2;
}

.company-blue-bg {
  background-color: #1976d2;
}

.company-blue-bg:hover {
  opacity: 0.8;
}

.company-black {
  color: #1a1a1a;
}
.company-black-bg {
  background-color: #1a1a1a;
}

.hamburger-line {
  width: 25px;
  height: 3px;
  background-color: #1a1a1a;
  margin: 4px 0;
  transition: 0.3s;
}
.hamburger.active .hamburger-line:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 5px);
}
.hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
}
.hamburger.active .hamburger-line:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -5px);
}

.mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}
.mobile-menu.active {
  max-height: 500px;
}

.gradient-bg {
  background: linear-gradient(135deg, #1a1a1a 0%, #1b5e20 100%);
}

.card-shadow {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.br-sp {
  display: none;
}
@media (max-width: 600px) {
  .br-sp {
    display: block;
  }
}

.shine-button {
  position: relative;
  display: inline-block;
  padding: 12px 32px;
  border-radius: 8px;
  font-weight: bold;
  overflow: hidden;
  transition: background-color 0.3s ease;
  text-align: center;
}

.green-button {
  background-color: #1b5e20;
  color: #fff;
}
.green-button:hover {
  opacity: 0.8;
}

.white-button {
  background-color: #fff;
  color: #1b5e20;
}
.white-button:hover {
  background-color: #f0fff4;
}

.shine-button::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -100%;
  width: 60%;
  height: 200%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.9) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(25deg);
  pointer-events: none;
  opacity: 0;
  animation: shineEffect 5s ease-in-out infinite;
}

.delay-0::before {
  animation-delay: 0s;
}

.delay-1::before {
  animation-delay: 0.8s;
}

@keyframes shineEffect {
  0% {
    left: -100%;
    opacity: 0;
  }
  2% {
    opacity: 1;
  }
  10% {
    left: 150%;
    opacity: 0;
  }
  100% {
    left: 150%;
    opacity: 0;
  }
}

.mainvisual {
  background-image: url(../img/mainvisual.png);
  background-color: rgba(41, 41, 41, 0.7);
  background-blend-mode: darken;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  animation: overlayFade 6s ease-in-out infinite;
}

@keyframes overlayFade {
  0% {
    background-color: rgba(41, 41, 41, 0.7);
  }
  50% {
    background-color: rgba(41, 41, 41, 0.4);
  }
  100% {
    background-color: rgba(41, 41, 41, 0.7);
  }
}

.main-text {
  line-height: 4rem;
}

.stripe {
  width: 100%;
  height: 10px;
  background: repeating-linear-gradient(
    -45deg,
    #1b5e20 0px,
    #1b5e20 4px,
    white 4px,
    white 8px
  );
}

.case-img {
  width: 50%;
  margin: 10px 5px;
}

.detail-btn {
  display: block;
  margin: 50px auto;
  text-align: center;
  width: 40%;
}

/* 緑に合わせたカスタムクラス追加 */
.hover\:bg-green-700:hover {
  opacity: 0.8;
}
.focus\:ring-green-500:focus {
  --tw-ring-color: #43a047;
}
.text-green {
  color: #1b5e20;
}
