@charset "UTF-8";

/* ==========================================================================
  1. ホーム・キービジュアル
   ========================================================================== */

.home-section {
  padding: 30px 0;
  margin-bottom: 40px;
}

.home-section h2 {
  font-size: 3.5rem;
  color: #111827;
  margin-bottom: 16px;
  font-weight: 800;
  line-height: 1.2;
}

.home-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.home-text {
  flex: 1;
  text-align: left;
}

.home-lead-first {
  font-size: 1.8rem;
  color: #4b5563;
  margin-bottom: 24px;
}

.home-lead-second {
  font-size: 1.125rem;
  color: #4b5563;
  margin-bottom: 16px;
  margin-bottom: 24px;
  line-height: 1.85; 
  letter-spacing: 0.02em;
  word-break: break-all
}

.home-image {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: fit-content;
  margin: 0 auto;
}

.home-image img {
  width: 100%;
  max-width: 450px;
  height: auto;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
  margin-bottom: 8px; 
}

.kv-credit {
  display: block;     
  font-size: 1rem;  
  color: #6b7280;      
  font-weight: 500;
  letter-spacing: 0.03em;
  padding-right: 0;
}

@media (max-width: 767px) {
  .home-content {
    flex-direction: column;
    gap: 24px; 
  }

  .home-text {
    display: contents; 
  }

  .home-section h2 {
    order: 1;          
    text-align: center;
    font-size: 3.5rem;
    margin-bottom: 0;
  }

  .home-lead-first {
    order: 2;           
    text-align: center;
    margin-bottom: 15px;
  }

  .home-image {
    order: 3;             
    justify-content: center;
  }

  .home-lead-second {
    order: 4;             
    margin-bottom: 0;
  }

  .home-lead-third {
    order: 5;             
    margin-bottom: 0;
  }
}

/* ==========================================================================
  2. インフォメーション
   ========================================================================== */

.information-section {
  margin-bottom: 40px;
}

.information-section h3 {
  font-size: 1.5rem;
  color: #111827;
  margin-bottom: 24px;
  text-align: center;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.card {
  text-align: center;
  background-color: #ffffff;
  padding: 24px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.card h4 {
  font-size: 1.25rem;
  color: #111827;
  margin-bottom: 12px;
}

.card p {
  color: #6b7280;
  font-size: 2.0rem;
}

.card p.information-detail {
  display: inline-block;    
  text-align: left;     
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.6;
  flex: 1;
}

.information-detail {
  padding-left: 5%;
}

.information-detail-title {
  font-weight: 500;
  color: #333333;
}

@media (max-width: 390px) {
  .card p.information-detail {
    font-size: 0.95rem;
  }
}

@media (min-width: 768px) {
  .card-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;                   
  }

  .card-fullwidth {
    grid-column: 1 / -1;
    width: 100%;           
    margin: 0 auto !important; 
    box-sizing: border-box;  
  }

  .information-detail {
    padding-left: 0;
  }
}

/* ==========================================================================
  3. ヒストリー
   ========================================================================== */

.history-section {
  margin-bottom: 40px;
}

.history-section h3 {
  font-size: 1.5rem;
  color: #111827;
  margin-top: 24px;
  margin-bottom: 24px;
  text-align: center;
}

.history-timeline {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.history-item {
  display: flex;
  align-items: baseline; 
  gap: 32px;
  padding-left: 5%;
  padding-bottom: 20px;
  border-bottom: 1px dashed #e5e7eb;
}

.history-item:last-child {
  border-bottom: none; 
  padding-bottom: 0;
}

.history-year {
  font-size: 1.125rem;
  font-weight: 700;
  min-width: 130px; 
  letter-spacing: 0.01em;
}

.history-detail {
  margin: 0;
  font-size: 1.1rem;
  color: #4b5563;
  line-height: 1.6;
  flex: 1;
}

.history-detail h4 {
  font-size: 1.3rem;
}

.history-detail-title {
  font-weight: 500;
  color: #333333;
}

@media (max-width: 767px) {
  .history-item {
    padding-left: 0;
    flex-direction: column;
    gap: 8px;
  }
  
  .history-year {
    min-width: auto;
    font-size: 1.25rem;
  }

  .history-detail {
    padding-left: 5px;
    line-height: 1.7;
  }
}

@media (max-width: 390px) {
  .history-detail {
    font-size: 0.95rem;
  }

  .history-year {
    min-width: auto;
    font-size: 1.175rem;
  }

  .history-detail h4 {
    font-size: 1.125rem;
  }
}

@media (max-width: 375px) {
  .history-detail {
    font-size: 0.95rem;
  }

  .history-year {
    min-width: auto;
    font-size: 1.1rem;
  }

  .history-detail h4 {
    font-size: 1.0rem;
  }
}

/* ==========================================================================
  4. コンタクト
   ========================================================================== */

.contact-section {
  display: flex;
  flex-flow: column;
  align-items: center;
  max-width: 500px;    
  margin: 0 auto 0; 
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  word-break: break-all;
}

.contact-section h3 {
  font-size: 1.5rem;
  color: #111827;
  margin-top: 24px;
  margin-bottom: 24px;
  text-align: center;
}

.contact-section h4 {
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.contact-section p {
  color: #4b5563;
  font-size: 1rem;
  margin-bottom: 15px;
}

.contact-content {
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 20px 10px;
  display: flex;
  flex-flow: column;
  align-items: center;
}

.contact-content-title {
  font-weight: 500;
  color: #333333;
}

.contact-annotation {
  display: block;
  max-width: 450px; 
  width: 100%;
  margin: 8px auto 0 auto; 
  padding: 0 20px;
  text-align: left;       
  font-size: 0.8rem;      
  color: #6b7280;        
  line-height: 1.5;
  letter-spacing: 0.01em;
}