@charset "UTF-8";

/* =========================================
   採用メッセージページ 固有スタイル
========================================= */
:root {
  --text-color: #555555;
  --headline-color: #333333;
  --accent-color: #f0b800;
  --background-color: #fdfdfd;
  --white: #ffffff;
  
  /* 追加したカラー変数 */
  --border-light: #eeeeee;
  --border-medium: #cccccc;
  --bg-emphasis: #fffcf0;
  --bg-tag: #eeeeee;
  
  --hint-a: 24px;
  --hint-b: 14px;
}

html { scroll-behavior: smooth; }

body {
  margin: 0; padding: 0;
  font-family: 'Noto Sans JP', sans-serif;
  background: var(--background-color);
  color: var(--text-color);
  line-height: 1.9;
  font-size: 1rem; /* 16px -> 1rem */
  word-break: break-word;
  padding-top: 74px;
}

*, *::before, *::after { box-sizing: border-box; }

/* Breadcrumb (パンくずリスト) */
.breadcrumb-nav { padding: 15px 0; font-size: 0.9rem; background: var(--background-color); }
.breadcrumb-list { list-style: none; padding: 0; margin: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.breadcrumb-list li { color: var(--text-color); }
.breadcrumb-list li a { color: var(--text-color); text-decoration: none; }
.breadcrumb-list li a:hover { text-decoration: underline; }
.breadcrumb-list li:not(:last-child)::after { content: '>'; margin-left: 8px; font-size: 0.8rem; }

/* Layout */
.container { max-width: 800px; margin: 0 auto; padding: 0 20px; }
section { padding: 60px 0; }

/* Typography */
h2 {
  font-size: 1.6rem; /* 1.6em -> 1.6rem */
  font-weight: 700;
  color: var(--headline-color);
  text-align: center;
  margin: 0 0 40px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--accent-color);
  display: inline-block;
}
.section-header { text-align: center; margin-bottom: 40px; }

/* 区切り線 */
hr {
  border: 0;
  border-top: 2px solid var(--border-medium);
  margin: 0 auto;
  width: 90%;
  max-width: 800px;
}

/* ひまわりマーカー */
strong {
  display: inline; 
  font-weight: 700 !important;
  background: linear-gradient(transparent 60%, #fff3b8 60%);
  padding: 0 4px;
  color: var(--headline-color);
  border-bottom: none !important;
  text-decoration: none !important;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #fffcf0 0%, #fef8e0 100%);
  min-height: 80vh;
  padding: 60px 20px;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center; position: relative; overflow: hidden; margin-bottom: 40px;
}
.hero::before {
  content: ''; position: absolute; top: -150px; left: -150px;
  width: 400px; height: 400px; background: var(--accent-color); opacity: .1;
  border-radius: 45% 55% 70% 30% / 30% 60% 40% 70%;
  animation: morph 15s ease-in-out infinite; pointer-events: none;
}
@keyframes morph {
  0% { border-radius: 45% 55% 70% 30% / 30% 60% 40% 70%; }
  50% { border-radius: 30% 70% 30% 70% / 70% 30% 70% 30%; }
  100% { border-radius: 45% 55% 70% 30% / 30% 60% 40% 70%; }
}

.hero-title {
  margin: 0 0 30px;
  font-size: clamp(1.5rem, 5vw, 2.5rem); /* rem化 */
  line-height: 1.4; color: var(--headline-color);
  letter-spacing: .05em; font-weight: 700;
}
.hero-title-sub {
  font-size: 0.6em; display: block; margin-bottom: 15px; font-weight: normal; color: var(--text-color);
}
.hero-desc {
  font-size: clamp(1rem, 4vw, 1.125rem); /* rem化 */
  margin: 0 auto; max-width: 700px; opacity: .9; font-weight: 500;
}

/* Scroll Arrow */
.scroll-down {
  position: fixed;
  left: 50%; transform: translateX(-50%) rotate(45deg);
  width: 24px; height: 24px;
  border-right: 3px solid var(--headline-color);
  border-bottom: 3px solid var(--headline-color);
  opacity: 0.85; animation: hint 1.6s infinite;
  cursor: pointer; z-index: 900; transition: opacity 0.3s;
  bottom: var(--hint-a);
}
.scroll-down.is-hidden { opacity: 0; pointer-events: none; }
@keyframes hint {
  0%, 100% { bottom: var(--hint-a); }
  50% { bottom: var(--hint-b); }
}

/* Cards & Content */
.card {
  background: var(--white); padding: 30px; border-radius: 12px; 
  margin-bottom: 30px; box-shadow: 0 4px 15px rgba(0,0,0,.05);
  border: 1px solid #f0f0f0;
}
.card-heading {
  display: block; font-size: 1.4rem; color: var(--headline-color);
  margin-bottom: 20px; line-height: 1.4; font-weight: bold; text-align: left;
}

/* Profile Layout */
.profile-layout { display: flex; align-items: flex-start; gap: 30px; }
.profile-side { width: 150px; flex-shrink: 0; text-align: center; }
.profile-img {
  width: 140px; height: 140px; object-fit: cover; border-radius: 50%;
  border: 4px solid #f9f9f9; box-shadow: 0 4px 10px rgba(0,0,0,0.1); margin-bottom: 10px;
}
.profile-img-fujino { object-position: 50% 0%; }
.profile-name { font-weight: 700; font-size: 0.9rem; color: var(--headline-color); line-height: 1.4; }
.profile-text { flex: 1; text-align: left; }

/* Lists inside content */
.content-list { list-style: none; padding: 0; text-align: left; }
.content-list li {
  background: var(--white); padding: 25px; border-radius: 8px; margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,.05); border: 1px solid var(--border-light);
}
.list-title {
  display: block; font-size: 1.15rem; color: var(--headline-color);
  margin-bottom: 12px; border-left: 5px solid var(--accent-color);
  padding-left: 15px; line-height: 1.4; font-weight: 700;
}
.list-desc { margin-top: 15px; }

/* Utility Classes (DRY解消用) */
.section-lead { margin-bottom: 20px; text-align: center; }
.section-lead-large { margin-bottom: 30px; text-align: center; }

/* Values List */
.values-list dt { font-weight: bold; color: var(--accent-color); margin-top: 20px; font-size: 1.1rem; }
.values-list dt:first-child { margin-top: 0; }
.values-list dd { margin: 5px 0 0 0; padding-left: 1em; border-left: 3px solid var(--border-light); color: var(--text-color); }

/* Q&A */
.qa-q { font-weight: 700; color: var(--headline-color); margin-bottom: 15px; display: flex; align-items: baseline; font-size: 1.1rem; }
.qa-q::before { content: "Q."; color: var(--accent-color); font-size: 1.3rem; font-weight: 900; margin-right: 10px; }
.qa-a { margin: 0; padding-left: 1.5em; border-left: 3px solid var(--border-light); }

/* Welcome Tags */
.welcome-list { list-style: none; padding: 0; }
.welcome-list li { display: flex; align-items: baseline; margin-bottom: 15px; }
.welcome-tag {
  flex-shrink: 0; background: var(--bg-tag); padding: 4px 10px; border-radius: 4px;
  font-size: 0.85rem; font-weight: bold; margin-right: 15px; color: #333;
  min-width: 80px; text-align: center;
}

/* Emphasis Box */
.emphasis-box {
  display: flex; align-items: center; background: var(--bg-emphasis);
  border: 2px dashed var(--accent-color); border-radius: 12px;
  padding: 30px; margin-top: 30px;
}
.emphasis-icon {
  flex-shrink: 0; margin-right: 20px; background: var(--accent-color); border-radius: 50%;
  width: 60px; height: 60px; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.875rem; font-weight: bold;
}
.emphasis-text { text-align: center; font-weight: bold; margin: 0; }

/* CTA Button */
.cta-section { text-align: center; padding: 40px 20px 80px; }
.btn-action {
  display: inline-block; background: var(--accent-color); color: #333;
  padding: 20px 60px; border-radius: 50px; font-weight: 800; font-size: 1.2rem;
  text-decoration: none; border: 2px solid #fff;
  box-shadow: 0 4px 15px rgba(240, 184, 0, 0.4);
  transition: transform .3s, box-shadow .3s;
}
.btn-action:hover { transform: translateY(-3px); opacity: 0.9; }

/* Mobile Sticky CTA */
.mobile-sticky-cta { display: none; }
.sticky-sub-label { font-size: 0.8rem; font-weight: normal; }
.sticky-sub-label-main { font-size: 0.85rem; font-weight: normal; }

/* =========================================
   Media Queries (分散を末尾に集約)
========================================= */
@media (max-width: 600px) {
  :root {
    --hint-a: 90px;
    --hint-b: 80px;
  }
  .hero { min-height: 70vh; padding-top: 80px; }
  
  .profile-layout { flex-direction: column; align-items: center; }
  .profile-side { width: 100%; margin-bottom: 20px; } 
  .profile-text { text-align: left; width: 100%; }
  
  .welcome-list li { flex-direction: column; }
  .welcome-tag { margin-bottom: 5px; }
  .emphasis-box { flex-direction: column; text-align: center; }
  .emphasis-icon { margin-right: 0; margin-bottom: 15px; }

  body { padding-bottom: 70px; }
  .mobile-sticky-cta {
    position: fixed; bottom: 10px; left: 10px; right: 10px;
    z-index: 950; display: flex; gap: 8px; height: 60px;
  }
  .cta-item {
    border-radius: 8px; text-decoration: none; display: flex; flex-direction: column;
    justify-content: center; align-items: center; line-height: 1.1; font-size: 12px;
    font-weight: bold; box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: transform 0.1s; position: relative; overflow: hidden;
  }
  .cta-item:active { transform: scale(0.98); }
  .cta-sub { flex: 0 0 35%; background: #06c755; color: #fff; border: 1px solid #05b54d; }
  .cta-sub .icon { font-size: 1.2em; margin-bottom: 2px; }
  .cta-main { flex: 1; background: #f0b800; color: #333; border: 2px solid #fff; font-size: 13px; }
  .cta-main .icon { display: none; }
  .badge-recruit {
    position: absolute; top: 0; left: 0; background: #ff3b30; color: #fff;
    font-size: 9px; padding: 2px 6px; border-bottom-right-radius: 6px; font-weight: 800;
  }
  .arrow { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); opacity: 0.6; font-size: 1.2em; }
}