/* ============================================
   島に灯り shimaniakari - スタッフ募集ページ
   ============================================ */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #37352f;
  background-color: #ffffff;
  line-height: 1.8;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #37352f;
  text-decoration: underline;
}

a:hover {
  opacity: 0.7;
}

ul {
  margin: 8px 0;
  padding-left: 24px;
}

li {
  margin-bottom: 4px;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  position: relative;
  width: 100%;
  height: 56vw;
  max-height: 80vh;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: url('images/photo1-low.jpg') center center / cover no-repeat;
  background-color: #1a1a1a;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.15);
  z-index: 1;
}

.hero-content {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  text-align: center;
  color: #ffffff;
  padding: 0 20px;
}

.hero-logo {
  margin-bottom: 20px;
}

.logo-img {
  max-width: 320px;
  margin: 0 auto;
}

/* ロゴ画像がない場合のテキストフォールバック */
.logo-text {
  font-family: 'Noto Serif JP', serif;
  font-size: 42px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.logo-text-sub {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 4px;
}

.hero-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.1em;
  opacity: 0.95;
  margin-bottom: 6px;
}

.hero-date {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
  opacity: 0.8;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-6px);
  }
  60% {
    transform: translateX(-50%) translateY(-3px);
  }
}

/* ============================================
   Main Content
   ============================================ */
.content {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 20px 40px;
}

/* ============================================
   Sections
   ============================================ */
.section {
  margin-bottom: 48px;
}

.section--center {
  text-align: center;
}

.section-heading {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #37352f;
  margin-bottom: 4px;
  letter-spacing: 0.04em;
}

.section-heading--bold {
  font-weight: 700;
}

.section-sub-heading {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #37352f;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}

.section-divider {
  border: none;
  border-top: 1px solid #e0dfdb;
  margin-bottom: 16px;
}

.content-divider {
  border: none;
  border-top: 1px solid #e0dfdb;
  margin: 4px 0;
}

.section p {
  margin-bottom: 3.5ex;
  color: #37352f;
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: 0.02em;
}

.section p:last-child {
  margin-bottom: 0;
}

/* ============================================
   Photos
   ============================================ */
.photo-container {
  margin: 20px 0;
  border-radius: 1px;
  overflow: hidden;
}

.section-photo {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 1px;
}

/* ============================================
   Recruit Info (雇用条件)
   ============================================ */
.recruit-info {
  margin-top: 16px;
}

.recruit-list {
  display: grid;
  gap: 0;
}

.recruit-list dt {
  font-weight: 700;
  font-size: 14px;
  color: #37352f;
  margin-top: 20px;
  margin-bottom: 4px;
  letter-spacing: 0.04em;
}

.recruit-list dt:first-child {
  margin-top: 0;
}

.recruit-list dd {
  font-size: 14px;
  line-height: 1.8;
  color: #37352f;
  margin-bottom: 4px;
}

.recruit-list dd strong {
  display: block;
  margin-top: 8px;
  margin-bottom: 0;
  font-size: 14px;
}

.recruit-list dd strong:first-child {
  margin-top: 0;
}

/* ============================================
   Apply Form
   ============================================ */
/* Tabs */
.form-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 24px;
  background: #f0efec;
  border-radius: 6px;
  padding: 4px;
}

.form-tab {
  flex: 1;
  padding: 10px 0;
  font-size: 15px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  color: #999;
  background: transparent;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: color 0.2s, background 0.2s, box-shadow 0.2s;
  letter-spacing: 0.04em;
}

.form-tab:hover {
  color: #55534e;
}

.form-tab--active {
  color: #37352f;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.tab-content {
  display: none;
}

.tab-content--active {
  display: block;
}

/* Honeypot (hidden from users, visible to bots) */
.form-honeypot {
  position: absolute;
  left: -9999px;
  top: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
  pointer-events: none;
}

.form-description {
  margin-bottom: 24px;
  font-size: 14px;
  color: #55534e;
}

.apply-form {
  margin-top: 8px;
}

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

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #37352f;
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.form-label--required::after {
  content: ' *';
  color: #d44;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 10px 12px;
  font-size: 15px;
  font-family: 'Noto Sans JP', sans-serif;
  color: #37352f;
  background: #ffffff;
  border: 1px solid #d6d4d0;
  border-radius: 4px;
  outline: none;
  transition: border-color 0.2s;
}

.form-input:focus,
.form-textarea:focus {
  border-color: #37352f;
}

.form-textarea {
  resize: vertical;
}

.form-radio-group,
.form-checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 4px;
}

.form-checkbox-group--vertical {
  flex-direction: column;
  gap: 10px;
}

.form-radio,
.form-checkbox {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #37352f;
  cursor: pointer;
}

.form-radio input,
.form-checkbox input {
  accent-color: #37352f;
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.form-submit {
  margin-top: 32px;
  text-align: center;
}

.form-button {
  display: inline-block;
  padding: 12px 48px;
  font-size: 15px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  color: #ffffff;
  background: #37352f;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  letter-spacing: 0.08em;
  transition: opacity 0.2s;
}

.form-button:hover {
  opacity: 0.8;
}

.form-success {
  text-align: center;
  padding: 40px 20px;
  background: #f9f8f6;
  border-radius: 4px;
  margin-top: 16px;
}

.form-success p {
  font-size: 16px;
  font-weight: 700;
  color: #37352f;
}

.apply-url {
  margin-bottom: 8px;
  font-size: 14px;
}

.apply-url a {
  color: #37352f;
}

/* ============================================
   QR Code
   ============================================ */
.qr-container {
  text-align: center;
  margin-top: 32px;
  padding: 10px 0;
}

.qr-note {
  font-size: 13px;
  color: #888;
  margin-bottom: 8px;
}

.qr-code {
  width: 140px;
  height: 140px;
  margin: 0 auto 8px;
}

/* ============================================
   Credits
   ============================================ */
.credits {
  text-align: center;
  font-size: 12px;
  color: #999;
  margin-top: 24px;
  letter-spacing: 0.04em;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  text-align: center;
  padding: 40px 20px;
  font-size: 12px;
  color: #aaa;
  letter-spacing: 0.04em;
}

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

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

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 768px) {
  .hero {
    height: 35vh;
    min-height: 260px;
  }

  .hero-title {
    font-size: 20px;
  }

  .logo-img {
    max-width: 240px;
  }

  .logo-text {
    font-size: 32px;
  }

  .content {
    padding: 30px 16px 30px;
  }

  .section {
    margin-bottom: 40px;
  }
}

@media (max-width: 480px) {
  .hero {
    height: 100vh;
    max-height: none;
    min-height: 400px;
    padding: 40px 0;
  }

  .hero-content {
    width: 100%;
    padding: 0 16px;
  }

  .hero-title {
    font-size: 16px;
    white-space: nowrap;
  }

  .hero-subtitle {
    font-size: 11px;
    white-space: nowrap;
  }

  .hero-date {
    font-size: 11px;
  }

  .logo-img {
    max-width: 180px;
  }

  .hero-logo {
    margin-bottom: 14px;
  }

  .logo-text {
    font-size: 26px;
  }

  .content {
    padding: 24px 14px 20px;
  }

  .section p {
    font-size: 14px;
  }
}
