.page-terms-conditions {
  color: #333333;
  background-color: #ffffff;
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  max-width: 100%;
  overflow-x: hidden;
}

.page-terms-conditions__hero-section {
  display: flex;
  flex-direction: column;
  padding-top: 10px;
  margin: 0 auto;
  max-width: 1400px;
  width: 100%;
  align-items: center;
}

.page-terms-conditions__hero-image {
  width: 100%;
  max-width: 1200px;
}

.page-terms-conditions__hero-image img {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 12px;
}

.page-terms-conditions__hero-content {
  text-align: center;
  padding: 24px 20px 8px;
  max-width: 1100px;
  width: 100;
  box-sizing: border-box;
}

.page-terms-conditions__main-title {
  color: #0477db;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin: 0 0 12px;
}

.page-terms-conditions__hero-description {
  color: #555555;
  line-height: 1.7;
  font-size: 1.05rem;
  margin: 0 auto 24px;
  max-width: 850px;
}

.page-terms-conditions__hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.page-terms-conditions__btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
  cursor: pointer;
  border: none;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-terms-conditions__btn--primary {
  background: #EA7C07;
  color: #ffffff;
}

.page-terms-conditions__btn--secondary {
  background: #26A9E0;
  color: #ffffff;
  border: 1px solid #26A9E0;
}

.page-terms-conditions__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,.12);
}

.page-terms-conditions__logo-section {
  padding: 40px 20px 48px;
  background: #f0fbff;
}

.page-terms-conditions__section-title {
  text-align: center;
  color: #0477db;
  font-weight: 700;
  font-size: 1.8rem;
  margin: 0 0 8px;
}

.page-terms-conditions__section-subtitle {
  text-align: center;
  color: #555;
  margin-bottom: 24px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-terms-conditions__logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px 20px;
  max-width: 1200px;
  margin: 0 auto;
  justify-items: center;
}

.page-terms-conditions__logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  max-width: 260px;
  text-align: center;
  background: #fff;
  padding: 16px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
  width: 100%;
  box-sizing: border-box;
}

.page-terms-conditions__logo-image {
  width: 100%;
  aspect-ratio: 2/1;
  object-fit: contain;
}

.page-terms-conditions__logo-text {
  margin: 0;
  font-weight: 600;
  color: #0477db;
}

.page-terms-conditions__logo-item:nth-child(5) {
  grid-column: 2;
}

.page-terms-conditions__logo-item:nth-child(6) {
  grid-column: 3;
}

.page-terms-conditions__guide-section {
  padding: 40px 20px;
  background: #ffffff;
}

.page-terms-conditions__guide-inner {
  max-width: 980px;
  margin: 0 auto;
}

.page-terms-conditions__guide-item {
  margin: 40px 0;
}

.page-terms-conditions__guide-title {
  color: #0477db;
  font-size: 1.4rem;
  font-weight: 700;
  padding-left: 16px;
  border-left: 4px solid #26A9E0;
  margin-bottom: 16px;
}

.page-terms-conditions__guide-figure {
  margin: 0 0 16px;
}

.page-terms-conditions__guide-figure img {
  width: 100%;
  max-width: 800px;
  aspect-ratio: 2/1;
  object-fit: cover;
  border-radius: 10px;
}

.page-terms-conditions__guide-content {
  line-height: 1.8;
  color: #333;
}

.page-terms-conditions__guide-content p {
  margin: 0 0 16px;
}

.page-terms-conditions__guide-content a {
  color: #0477db;
  word-break: break-word;
}

.page-terms-conditions__update-date {
  text-align: center;
  font-style: italic;
  color: #888;
  margin-top: 48px;
  font-size: 0.9rem;
  border-top: 1px solid #e0e0e0;
  padding-top: 16px;
}

@media (max-width: 1024px) {
  .page-terms-conditions__hero { 
    max-width: 900px;
    width: 100%;
  }
  .page-terms-conditions__logo-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px 16px;
  }
}

@media (max-width: 768px) {
  .page-terms-conditions__hero-section {
    padding-top: 10px;
  }
  
  .page-terms-conditions__hero-image img {
    aspect-ratio: 2/1;
  }
  
  .page-terms-conditions__hero-content {
    padding: 16px 12px;
  }
  
  .page-terms-conditions__main-title {
    font-size: 1.1rem;
  }
  
  .page-terms-conditions__hero-description,
  .page-terms-conditions__section-subtitle {
    font-size: 1rem;
    line-height: 1.6;
  }
  
  .page-terms-conditions__btn {
    display: block;
    width: 100%;
    max-width: 100%;
    text-align: center;
    padding: 12px 16px;
    white-space: normal;
    word-wrap: break-word;
  }
  
  .page-terms-conditions__logo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 0;
  }
  
  .page-terms-conditions__logo-item {
    padding: 8px;
    box-shadow: none;
    background: transparent;
  }
  
  .page-terms-conditions__logo-item:nth-child(5) {
    grid-column: auto;
  }
  
  .page-terms-conditions__logo-item:nth-child(6) {
    grid-column: auto;
  }
  
  .page-terms-conditions__guide-section {
    padding: 24px 12px;
  }
  
  .page-terms-conditions__guide-item {
    margin: 30px 0;
  }
  
  .page-terms-conditions__guide-title {
    font-size: 1.1rem;
    padding-left: 12px;
    margin-bottom: 8px;
  }
  
  .page-terms-conditions__guide-figure img {
    max-width: 100%;
    height: auto;
    width: auto;
  }
  
  .page-terms-conditions img {
    max-width: 100% !important;
    height: auto !important;
  }

  .page-terms-conditions__guide-content {
    font-size: 0.95rem;
  }
  
  .page-terms-conditions__guide-inner {
    padding: 0;
  }
}

@media (max-width: 1024px) {
  .page-terms-conditions img {
    max-width: 100%;
    height: auto;
  }
}