/* コンタクトページ ヒーローセクション */
.p-contact-hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.p-contact-hero__title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.p-contact-hero__lead {
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

/* コンタクトフォームセクション */
.p-contact-form {
  padding: 4rem 0;
  background: #f8f9fa;
}

.p-contact-form__inner {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  max-width: 1200px;
}

.p-contact-form__content {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.p-contact-form__title {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: #333;
}

.p-contact-form__text {
  color: #666;
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* コンタクトフォーム コンポーネント */
.c-contact-form__row {
  margin-bottom: 1.5rem;
}

.c-contact-form__item {
  width: 100%;
}

.c-contact-form__label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: #333;
}

.c-contact-form__required {
  color: #e74c3c;
  font-weight: bold;
}

.c-contact-form__input,
.c-contact-form__select,
.c-contact-form__textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #e1e5e9;
  border-radius: 4px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  background: white;
}

.c-contact-form__input:focus,
.c-contact-form__select:focus,
.c-contact-form__textarea:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.c-contact-form__textarea {
  resize: vertical;
  min-height: 120px;
}

.c-contact-form__radio-group {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.c-contact-form__radio-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-weight: normal;
}

.c-contact-form__radio {
  margin-right: 0.5rem;
  transform: scale(1.2);
}

.c-contact-form__radio-text {
  color: #333;
}

.c-contact-form__checkbox-label {
  display: flex;
  align-items: flex-start;
  cursor: pointer;
  font-weight: normal;
}

.c-contact-form__checkbox {
  margin-right: 0.5rem;
  margin-top: 0.2rem;
  transform: scale(1.2);
}

.c-contact-form__checkbox-text {
  color: #333;
  line-height: 1.4;
}

.c-contact-form__link {
  color: #667eea;
  text-decoration: underline;
}

.c-contact-form__link:hover {
  color: #5a6fd8;
}

.c-contact-form__submit {
  margin-top: 2rem;
  text-align: center;
}

.c-contact-form__button {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 1rem 3rem;
  font-size: 1.1rem;
  font-weight: bold;
  border-radius: 50px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.c-contact-form__button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.c-contact-form__button:active {
  transform: translateY(0);
}

/* コンタクト情報 */
.p-contact-info {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  height: fit-content;
}

.p-contact-info__title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  color: #333;
}

.p-contact-info__items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.p-contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

.p-contact-info__item:hover {
  background: #e9ecef;
}

.p-contact-info__icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.p-contact-info__content {
  flex: 1;
}

.p-contact-info__subtitle {
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: #333;
}

.p-contact-info__text {
  color: #666;
  line-height: 1.4;
  margin: 0;
}

.p-contact-info__tel,
.p-contact-info__email {
  color: #667eea;
  text-decoration: none;
  font-weight: bold;
}

.p-contact-info__tel:hover,
.p-contact-info__email:hover {
  color: #5a6fd8;
  text-decoration: underline;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .p-contact-hero__title {
    font-size: 2rem;
  }
  
  .p-contact-hero__lead {
    font-size: 1rem;
  }
  
  .p-contact-form__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .p-contact-form__content,
  .p-contact-info {
    padding: 1.5rem;
  }
  
  .c-contact-form__radio-group {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .c-contact-form__button {
    width: 100%;
    padding: 1rem 2rem;
  }
}

@media (max-width: 480px) {
  .p-contact-hero {
    padding: 3rem 0;
  }
  
  .p-contact-hero__title {
    font-size: 1.8rem;
  }
  
  .p-contact-form {
    padding: 2rem 0;
  }
  
  .p-contact-form__content,
  .p-contact-info {
    padding: 1rem;
  }
} 