/* === Reset & Base === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  color: #333;
  line-height: 1.7;
  background: #f0f2f5;
}

a {
  text-decoration: none;
  color: inherit;
}

/* === Scroll Animations === */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* === Header === */
.header {
  background: linear-gradient(135deg, #ffffff 0%, #e8edf5 50%, #dce4f0 100%);
  text-align: left;
  padding: 14px 24px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.1);
}

.header__title {
  margin: 0;
  line-height: 1;
}

.header__logo {
  height: 56px;
  width: auto;
  transition: transform 0.3s ease;
}

.header__logo:hover {
  transform: scale(1.05);
}

/* === Main Visual === */
.main-visual {
  text-align: center;
  position: relative;
  overflow: hidden;
}

.main-visual img {
  width: 100%;
  height: auto;
  display: block;
}

.main-visual__cta {
  background: linear-gradient(135deg, #0f1b3d 0%, #1a2a6c 50%, #2e4ea0 100%);
  padding: 28px 16px;
  text-align: center;
}

.cta-btn {
  display: inline-block;
  background: linear-gradient(135deg, #ff9800, #ff6d00);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  padding: 18px 52px;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(255, 152, 0, 0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  z-index: 1;
  animation: pulse 2.5s infinite;
}

.cta-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 28px rgba(255, 152, 0, 0.5);
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(255, 152, 0, 0.4); }
  50% { box-shadow: 0 4px 32px rgba(255, 152, 0, 0.7); }
}

/* === Content Area === */
.content {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 16px 48px;
}

/* === Accordion === */
.accordion {
  margin-bottom: 20px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s ease;
}

.accordion:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.13);
}

.accordion__header {
  background: linear-gradient(135deg, #1a2a6c 0%, #2e4ea0 100%);
  color: #fff;
  padding: 18px 48px 18px 20px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  position: relative;
  user-select: none;
  transition: background 0.3s ease;
}

.accordion__header:hover {
  background: linear-gradient(135deg, #1e3278 0%, #3a5cb8 100%);
}

.accordion__header::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 300;
  transition: transform 0.3s ease;
}

.accordion__header.is-open::after {
  content: "−";
  transform: translateY(-50%) rotate(180deg);
}

.accordion__body {
  background: #fff;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.accordion__inner {
  padding: 22px 20px;
}

/* === Recommend List === */
.recommend-list {
  list-style: none;
}

.recommend-list li {
  padding: 12px 0 12px 32px;
  position: relative;
  border-bottom: 1px solid #eee;
  font-size: 15px;
  transition: background 0.2s ease, padding-left 0.2s ease;
}

.recommend-list li:hover {
  background: #f5f8ff;
  padding-left: 36px;
}

.recommend-list li:last-child {
  border-bottom: none;
}

.recommend-list li::before {
  content: "✔";
  position: absolute;
  left: 4px;
  color: #2e4ea0;
  font-weight: 700;
}

/* === Q&A === */
.qa-item {
  margin-bottom: 20px;
  padding: 16px;
  border-radius: 8px;
  background: #f8f9fc;
  transition: box-shadow 0.3s ease;
}

.qa-item:hover {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.qa-item:last-child {
  margin-bottom: 0;
}

.qa-q {
  font-weight: 700;
  font-size: 15px;
  padding: 0 0 8px 32px;
  position: relative;
  color: #1a2a6c;
}

.qa-q::before {
  content: "Q.";
  position: absolute;
  left: 0;
  font-weight: 800;
  color: #ff6d00;
  font-size: 16px;
}

.qa-a {
  font-size: 14px;
  padding: 0 0 0 32px;
  position: relative;
  color: #555;
  line-height: 1.8;
}

.qa-a::before {
  content: "A.";
  position: absolute;
  left: 0;
  font-weight: 800;
  color: #2e4ea0;
  font-size: 16px;
}

/* === Notes === */
.notes-text {
  font-size: 13px;
  color: #666;
  line-height: 1.9;
}

/* === Apply Form === */
.apply-form {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
  padding: 32px 28px 36px;
  margin-top: 20px;
  position: relative;
  overflow: hidden;
}

.apply-form::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ff9800, #ff6d00, #ff9800);
}

.apply-form__title {
  font-size: 22px;
  font-weight: 700;
  color: #1a2a6c;
  text-align: center;
  margin-bottom: 8px;
}

.apply-form__desc {
  font-size: 13px;
  color: #666;
  text-align: center;
  margin-bottom: 28px;
}

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

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #333;
  margin-bottom: 4px;
}

.form-note {
  font-size: 12px;
  color: #888;
  margin-bottom: 6px;
}

.birthday-selects {
  display: flex;
  gap: 8px;
}

.birthday-selects .form-select {
  flex: 1;
}

.required {
  background: linear-gradient(135deg, #e53935, #c62828);
  color: #fff;
  font-size: 11px;
  font-weight: 400;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 6px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 15px;
  border: 2px solid #e0e3ea;
  border-radius: 8px;
  background: #fafbfc;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  font-family: inherit;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: #2e4ea0;
  box-shadow: 0 0 0 4px rgba(46, 78, 160, 0.1);
  background: #fff;
}

.form-input.is-error,
.form-select.is-error {
  border-color: #e53935;
  box-shadow: 0 0 0 4px rgba(229, 57, 53, 0.1);
}

.form-textarea {
  resize: vertical;
}

.form-agree {
  margin-top: 28px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: #2e4ea0;
}

.form-link {
  color: #2e4ea0;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.form-link:hover {
  color: #ff6d00;
}

.submit-btn {
  display: block;
  width: 100%;
  padding: 18px;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #ff9800, #ff6d00);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  margin-top: 28px;
  box-shadow: 0 4px 20px rgba(255, 152, 0, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.submit-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 28px rgba(255, 152, 0, 0.5);
}

.form-result {
  text-align: center;
  padding: 28px;
  font-size: 16px;
  font-weight: 700;
  color: #2e7d32;
  background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
  border-radius: 12px;
  margin-top: 16px;
}

/* === Footer === */
.footer {
  background: linear-gradient(180deg, #0f1b3d, #0a1128);
  color: #ccc;
  padding: 36px 16px;
  font-size: 12px;
  line-height: 2;
}

.footer__inner {
  max-width: 720px;
  margin: 0 auto;
}

.footer__company {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.footer__info p {
  margin-bottom: 2px;
}

.footer__links {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__links a {
  color: #8ab4f8;
  margin-right: 18px;
  transition: color 0.2s ease;
}

.footer__links a:hover {
  color: #ff9800;
}

.footer__copy {
  margin-top: 18px;
  color: #666;
}

/* === Responsive === */
@media (max-width: 600px) {
  .header__logo {
    height: 40px;
  }

  .main-visual {
    padding: 0;
  }

  .apply-form {
    padding: 24px 16px 28px;
    border-radius: 8px;
  }

  .cta-btn {
    font-size: 16px;
    padding: 16px 36px;
  }
}
