/* Main Content Styles */

/* Hero Section */
.hero {
  position: relative;
  width: 100%;
  height: 100dvh; /* Device height full */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--color-white);
  text-align: center;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  background-color: var(--color-primary);
  padding: 40px;
  border-radius: 8px;

  /* Animation */
  opacity: 0;
  animation: fade-in-up 1s ease-out 0.5s forwards;
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll Animation Class */
.js-fade {
  opacity: 0;
}

.js-fade.in-view {
  animation: fade-in-up 1s ease-out forwards;
}

.hero-catch {
  font-size: 3rem;
  font-weight: bold;
  line-height: 1.4;
  letter-spacing: 0.1em;
}

/* About Section */
.about-content {
  text-align: center;
  max-width: 800px;
  margin-inline: auto;
  > p:last-of-type {
    font-size: clamp(0.875rem, 0.85rem + 0.13vw, 1rem);
  }
}

.lead-text {
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.25rem);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.about-image {
  margin-top: 40px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Service Section */
.service-section {
  background-color: var(--color-gray-light);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.service-card {
  background: var(--color-white);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-icon {
  font-size: 4rem;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.5rem;
  color: var(--color-primary);
  margin-bottom: 20px;
}

.service-list {
  text-align: left;
  display: inline-block;
}

.service-list li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 1.5em;
}

.service-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--color-primary);
}

.service-note {
  text-align: center;
  background-color: var(--color-white);
  padding: 30px;
  border-radius: 8px;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  font-weight: bold;
}

/* Strength Section */
.strength-container {
  display: flex;
  align-items: center;
  gap: 60px;
  .section-title {
    display: flex;
    align-items: center;
    gap: 0 2%;
    > img {
      width: 10%;
      aspect-ratio: 1/1;
    }
  }
}

.strength-text {
  flex: 1;
}

.strength-image {
  flex: 1;
}

.strength-image img {
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.strength-list {
  margin-bottom: 30px;
}

.strength-list li {
  font-size: 1.25rem;
  margin-bottom: 15px;
  padding: 10px 40px;
  position: relative;
  font-weight: bold;
  border-bottom: 1px dashed oklch(0.9 0 0);
}

.strength-list li::before {
  content: "★";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-size: 1.2rem;
}

/* Message Section */
.message-section {
  background-color: oklch(0.99 0.01 27); /* Very light red tint */
}

.message-content {
  display: flex;
  align-items: flex-start;
  gap: 50px;
}

.message-image img {
  border-radius: 50%;
  width: 250px;
  height: 250px;
  object-fit: cover;
  border: 5px solid var(--color-white);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.message-text {
  flex: 1;
}

.message-lead {
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--color-primary);
  margin-bottom: 20px;
}

.message-text p {
  margin-bottom: 20px;
}

.signer {
  text-align: right;
  font-weight: bold;
  margin-top: 30px;
}

/* Company Section */
.company-table-wrapper {
  max-width: 800px;
  margin-inline: auto;
  border: 1px solid oklch(0.9 0 0);
}

.company-item {
  display: flex;
  border-bottom: 1px solid oklch(0.9 0 0);
}

.company-item:last-child {
  border-bottom: none;
}

.company-item dt {
  background-color: var(--color-gray-light);
  width: 30%;
  padding: 15px;
  font-weight: bold;
}

.company-item dd {
  width: 70%;
  padding: 15px;
  background-color: var(--color-white);
}

/* Contact Section */
.contact-section {
  background-color: var(--color-primary);
  color: var(--color-white);
  text-align: center;
}

.contact-section .section-title {
  color: var(--color-white);
}

.contact-box {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.contact-text {
  margin-bottom: 30px;
  font-size: 1.1rem;
}

.phone-area {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  .phone-icon {
    width: 5%;
    aspect-ratio: 1/1;
  }
}

.tel-link {
  font-size: 3rem;
  font-weight: bold;
  line-height: 1;
}

.tel-link:hover {
  text-decoration: underline;
  opacity: 1;
}

/* Mobile Media Query */
@media (width < 768px) {
  .hero-catch {
    font-size: 1.8rem;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    padding: 1rem;
  }

  .service-note {
    padding: 1rem;
  }

  .strength-container {
    flex-direction: column-reverse;
  }

  .strength-text {
    > .section-title {
      margin-bottom: 1rem;
    }
  }

  .strength-list {
    li {
      font-size: 1rem;
      margin-bottom: 8px;
      &::before {
        font-size: 1rem;
      }
    }
  }

  .strength-image img {
    width: 100%;
  }

  .message-content {
    flex-direction: column;
    align-items: center;
  }

  .message-image img {
    width: 200px;
    height: 200px;
  }

  .company-item {
    flex-direction: column;
  }

  .company-item dt,
  .company-item dd {
    width: 100%;
  }

  .phone-area {
    .phone-icon {
      width: 10%;
    }
  }

  .tel-link {
    font-size: 2rem;
  }
}
