/*--------------------------------------------------------------
# Entry Page Specific Styles
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Entry Hero Section
--------------------------------------------------------------*/
.entry-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  padding: 200px 0 120px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.1;
  background-image: repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255,255,255,.1) 35px, rgba(255,255,255,.1) 70px);
}

.entry-hero .hero-content {
  position: relative;
  z-index: 4;
  text-align: center;
  color: #ffffff;
  width: 100%;
}

.entry-hero .hero-title {
  margin-bottom: 20px;
}

.entry-hero .title-en {
  display: block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(60px, 10vw, 120px);
  font-weight: 400;
  letter-spacing: 8px;
  margin-bottom: -15px;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

.entry-hero .title-jp {
  display: block;
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  letter-spacing: 4px;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.2s forwards;
}

.entry-hero .hero-text {
  font-size: 16px;
  margin-bottom: 0;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.4s forwards;
}

/*--------------------------------------------------------------
# Entry Form Section
--------------------------------------------------------------*/
.entry-content {
  padding: 100px 0;
  background: #f8f9fa;
  position: relative;
}

.entry-wrapper {
  max-width: 1140px; /* Bootstrap5 container-xl */
  margin: 0 auto;
  padding: 0 20px;
}

/*--------------------------------------------------------------
# Entry Form
--------------------------------------------------------------*/
.entry-form-section {
  background: #ffffff;
  border-radius: 20px;
  padding: 50px;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.1);
}

.entry-form-section h2 {
  font-size: 28px;
  font-weight: 700;
  color: #333333;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 2px solid #00a859;
  position: relative;
}

.entry-form-section h2::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background: #28a745;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: #333333;
  margin-bottom: 8px;
}

.form-group .required {
  color: #dc3545;
  margin-left: 4px;
}

.form-control {
  width: 100%;
  padding: 15px 20px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 16px;
  color: #333333;
  background: #ffffff;
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: #00a859;
  box-shadow: 0 0 0 3px rgba(0, 168, 89, 0.1);
}

.form-control.error {
  border-color: #dc3545;
}

.form-control::placeholder {
  color: #999999;
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

select.form-control {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 20px;
  padding-right: 45px;
  padding-top: 7px;
  padding-bottom: 7px;
  height: 38px;
  color: #333333 !important;
  line-height: 1.5;
  font-size: 16px;
  opacity: 1 !important;
  text-indent: 0 !important;
}

select.form-control option {
  color: #333333 !important;
  background: #ffffff;
  padding: 10px;
  font-size: 16px;
}

select.form-control option[value=""] {
  color: #999999 !important;
}

.checkbox-group {
  display: flex;
  align-items: start;
  gap: 10px;
  margin-bottom: 30px;
}

.checkbox-group input[type="checkbox"] {
  margin-top: 2px;
  accent-color: #00a859;
}

.checkbox-group label {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 0;
}

.checkbox-group label a {
  color: #00a859;
  text-decoration: none;
}

.checkbox-group label a:hover {
  text-decoration: underline;
}

.submit-btn {
  background: linear-gradient(135deg, #00a859 0%, #28a745 100%);
  color: #ffffff;
  border: none;
  padding: 18px 50px;
  font-size: 18px;
  font-weight: 700;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 168, 89, 0.3);
}

.submit-btn:active {
  transform: translateY(0);
}

.submit-btn i {
  margin-left: 10px;
}

/*--------------------------------------------------------------
# Form Row Layout
--------------------------------------------------------------*/
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 25px;
}

.form-row .form-group {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Error Messages
--------------------------------------------------------------*/
.error-message {
  color: #dc3545;
  font-size: 14px;
  margin-top: 5px;
  display: block;
}

/*--------------------------------------------------------------
# Success Message
--------------------------------------------------------------*/
.success-message {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  border-radius: 10px;
  padding: 15px 20px;
  margin-bottom: 25px;
  display: none;
}

/*--------------------------------------------------------------
# Responsive Design - Bootstrap5準拠
--------------------------------------------------------------*/
/* Extra large devices (large desktops, 1200px and up) */
@media (max-width: 1399.98px) {
  .entry-wrapper {
    max-width: 1140px; /* container-xl */
  }
}

/* Large devices (desktops, 992px and up) */
@media (max-width: 1199.98px) {
  .entry-wrapper {
    max-width: 960px; /* container-lg */
  }
}

/* Medium devices (tablets, 768px and up) */
@media (max-width: 991.98px) {
  .entry-wrapper {
    max-width: 720px; /* container-md */
  }
  
  .entry-form-section {
    padding: 40px 30px;
  }
  
  .entry-hero .title-en {
    font-size: 80px;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (max-width: 767.98px) {
  .entry-content {
    padding: 60px 0;
  }
  
  .entry-wrapper {
    max-width: 540px; /* container-sm */
    padding: 0 15px;
  }
  
  .entry-form-section {
    padding: 30px 25px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .form-row .form-group {
    margin-bottom: 25px;
  }
  
  .entry-hero .title-en {
    font-size: 60px;
    letter-spacing: 4px;
  }
  
  .entry-hero .title-jp {
    font-size: 18px;
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .entry-wrapper {
    max-width: 100%;
    padding: 0 15px;
  }
  
  .entry-form-section h2 {
    font-size: 24px;
  }
  
  .entry-hero .title-en {
    font-size: 50px;
  }
}