/* ---- source: 6/styles/main.css ---- */
/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Yu Mincho Pr6N', serif;
  line-height: 1.6;
  color: #251D03;
  background-color: #ffffff;
}

/* Main Content */
.main-content {
  min-height: 100vh;
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/t6M89rUeFa.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: left;
  max-width: 1200px;
  width: 100%;
  padding: 0 20px;
  margin-left: 220px;
}

.page-title {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.title-en {
  font-size: 14px;
  font-weight: 600;
  color: #251D03;
  letter-spacing: 0;
  line-height: 14px;
}

.title-ja {
  font-size: 32px;
  font-weight: 600;
  color: #251D03;
  letter-spacing: 0;
  line-height: 32px;
}

.title-decoration {
  width: 99px;
  height: 7px;
  background-image: url('../images/ZFOu0UZZSp.svg');
  background-size: contain;
  background-repeat: no-repeat;
}

/* Breadcrumb styling lives in hero.css (shared, loaded after this file) */

/* CTA Section */
.cta-section {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.cta-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/ioiMyM25so.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

.cta-background::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.58);
  z-index: 2;
}

.cta-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  padding: 40px 20px;
}

.cta-title {
  font-size: 32px;
  font-weight: 600;
  line-height: 48px;
  text-align: center;
  filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
}

.cta-decoration {
    display: flex;
    align-items: center;
    gap: 20.91px;
}

.cta-decoration::before,
.cta-decoration::after {
  content: '';
  width: 12.54px;
  height: 10.32px;
  background-image: url('../images/q98ODrn1JG.svg');
  background-size: contain;
  background-repeat: no-repeat;
}

.cta-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 26px;
  border-radius: 80px;
  text-decoration: none;
  font-weight: 600;
  font-size: 21px;
  line-height: 21px;
  text-align: center;
  width: 320px;
  height: 49px;
  transition: all 0.3s ease;
}

.cta-button-primary {
  background: transparent;
  color: white;
  border: 1px solid white;
}

.cta-button-primary:hover {
  background: white;
  color: #B33D31;
}

.cta-button-secondary {
  background: white;
  color: #B90B1D;
}

.cta-button-secondary:hover {
  background: #f0f0f0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-content {
    margin-left: 0;
    text-align: center;
  }
  
  .cta-buttons {
    flex-direction: column;
    gap: 12px;
  }
  
  .cta-button {
    width: 100%;
    max-width: 320px;
  }
}

/* ---- source: 6/styles/form.css ---- */
/* Form Section */
.form-section {
  padding: 40px 0;
  background-color: #ffffff;
}

.form-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.form-intro {
  text-align: center;
  margin-bottom: 40px;
}

.form-intro p {
  font-size: 16px;
  font-weight: 500;
  line-height: 25.6px;
  color: #251D03;
}

/* Contact Form */
.contact-form {
  background: rgba(255, 255, 255, 0.6);
  border-radius: 8px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 39px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 16px;
  font-weight: 500;
  line-height: 25.6px;
  color: #251D03;
  display: flex;
  align-items: center;
}

/* Only add the asterisk if it does NOT have the .is-optional class */
.form-label:not(.is-optional)::after {
  content: '*';
  color: #B33D31;
  margin-left: 2px;
}

.form-input,
.form-select,
.form-textarea {
  background: #FAFAFA;
  border: 1px solid #CCCCCC;
  border-radius: 4px;
  padding: 16px 24px;
  font-size: 14px;
  font-weight: 400;
  line-height: 22.4px;
  color: #251D03;
  transition: border-color 0.3s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: #B33D31;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #888888;
}

.form-textarea {
  min-height: 132px;
  resize: vertical;
}

/* Date Group */
.date-group {
  display: flex;
  gap: 16px;
  align-items: center;
}

.form-select {
  background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23B33D31"><path d="M7 10l5 5 5-5z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  appearance: none;
  cursor: pointer;
  width: 240px;
}

.form-select-small {
  width: 120px;
}

/* Checkbox Group */
.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.checkbox-item input[type="checkbox"] {
  width: 17px;
  height: 17px;
  border: 1px solid #CCCCCC;
  border-radius: 3px;
  background: #FFFFFF;
  cursor: pointer;
  position: relative;
  appearance: none;
}

.checkbox-item input[type="checkbox"]:checked {
  background: #B33D31;
  border-color: #B33D31;
}

.checkbox-item input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 3px;
  top: 0px;
  width: 11.72px;
  height: 12.62px;
  background-image: url('../images/GxCYAmCmG0.svg');
  background-size: contain;
  background-repeat: no-repeat;
}

.checkbox-label {
  font-size: 14px;
  font-weight: 400;
  line-height: 22.4px;
  color: #251D03;
  cursor: pointer;
}

/* Radio Group */
.radio-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.radio-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}

.radio-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.radio-item input[type="radio"] {
  width: 17px;
  height: 17px;
  border: 1px solid #CCCCCC;
  border-radius: 50%;
  background: #FFFFFF;
  cursor: pointer;
  position: relative;
  appearance: none;
}

.radio-item input[type="radio"]:checked {
  background: #B33D31;
  border-color: #B33D31;
}

.radio-item input[type="radio"]:checked::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
}

.radio-label {
  font-size: 16px;
  font-weight: 400;
  line-height: 25.6px;
  color: #251D03;
  cursor: pointer;
}

/* Form Notice */
.form-notice {
  text-align: center;
  margin-top: 20px;
}

.form-notice p {
  font-size: 14px;
  font-weight: 400;
  line-height: 22.4px;
  color: #251D03;
}

/* Form Submit */
.form-submit {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.submit-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 44px;
  background: linear-gradient(135deg, #B33D31 0%, #9a2f25 100%);
  color: white;
  border: none;
  border-radius: 80px;
  font-size: 16px;
  font-weight: 600;
  line-height: 28.8px;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 232px;
  height: 53px;
}

.submit-button:hover {
  background: linear-gradient(135deg, #9a2f25 0%, #7a241d 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(179, 61, 49, 0.3);
}

.submit-button:active {
  transform: translateY(0);
}

.submit-button svg {
  width: 24px;
  height: 24px;
}

/* Form Validation Styles */
.form-input.error,
.form-select.error,
.form-textarea.error {
  border-color: #e74c3c;
  background-color: #fdf2f2;
}

.error-message {
  color: #e74c3c;
  font-size: 12px;
  margin-top: 4px;
}

.form-group.success .form-input,
.form-group.success .form-select,
.form-group.success .form-textarea {
  border-color: #27ae60;
  background-color: #f2fdf2;
}

/* Responsive Form */
@media (max-width: 768px) {
  .form-container {
    margin-left: 0;
    padding: 0 10px;
  }

  .contact-form {
    padding: 20px;
    gap: 24px;
  }

  .date-group {
    flex-direction: column;
    align-items: stretch;
  }

  .form-select,
  .form-select-small {
    width: 100%;
  }

  .radio-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .checkbox-group {
    gap: 12px;
  }

  .submit-button {
    width: 100%;
    max-width: 320px;
  }
}

@media (max-width: 480px) {
  .form-intro p {
    font-size: 14px;
    line-height: 22px;
  }

  .form-label {
    font-size: 14px;
  }

  .radio-label,
  .checkbox-label {
    font-size: 14px;
  }
}

/* Group and field names read by Netlify Forms for the notification email. Never shown. */
.netlify-field-label {
  display: none !important;
}
