/* ============================================
   Guide (選考について) Page
   ============================================ */

.btn--entry { background-color: #e53935; color: #fff; }
.btn--entry:hover { background-color: #c62828; }

/* Buttons */
.gd-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.7em 1.8em; font-size: var(--font-size-sm); font-weight: 500;
  border-radius: var(--border-radius-sm); transition: all 0.2s;
  white-space: nowrap;
}
.gd-btn--outline {
  border: 1px solid var(--color-primary-dark); color: var(--color-primary-dark); background: transparent;
}
.gd-btn--outline:hover { background: var(--color-primary-dark); color: #fff; }
.gd-btn--red {
  background: #e53935; color: #fff; border: 1px solid #e53935; font-weight: 700;
}
.gd-btn--red:hover { background: #c62828; border-color: #c62828; }

/* Layout */
.gd-layout { padding: var(--space-xl) 0 var(--space-3xl); }
.gd-layout__grid {
  display: grid; grid-template-columns: 1fr;
  gap: var(--space-xl); align-items: start;
}
@media (min-width: 1024px) {
  .gd-layout__grid { grid-template-columns: 1fr 240px; }
}

/* ============================================
   Header
   ============================================ */

.gd-header {
  margin-bottom: var(--space-3xl);
}

.gd-header__title {
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 700; color: var(--color-primary-dark);
  margin-bottom: var(--space-lg); line-height: 1.3;
}

.gd-header__lead {
  font-size: var(--font-size-sm); color: var(--color-text-secondary);
  line-height: 2; margin-bottom: var(--space-xl); max-width: 640px;
}

.gd-header__actions {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--space-md); max-width: 360px;
}

.gd-header__actions .gd-btn {
  width: 100%; justify-content: center;
}

/* ============================================
   Section
   ============================================ */

.gd-section {
  margin-bottom: var(--space-3xl);
}

.gd-section__heading {
  font-size: clamp(1.25rem, 3vw, 1.625rem);
  font-weight: 700; color: var(--color-primary-dark);
  margin-bottom: var(--space-2xl); line-height: 1.4;
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--color-primary-dark);
}

/* ============================================
   Values List (縦型)
   ============================================ */

.gd-values-list {
  display: flex; flex-direction: column; gap: 0;
}

.gd-values-item {
  display: flex; align-items: flex-start; gap: var(--space-lg);
  padding: var(--space-xl) 0;
  border-bottom: 1px solid var(--color-border);
}

.gd-values-item:last-child { border-bottom: none; }

.gd-values-item__icon {
  flex-shrink: 0; width: 40px; height: 40px;
  color: var(--color-accent-green); margin-top: 2px;
}
.gd-values-item__icon svg { width: 100%; height: 100%; }

.gd-values-item__body { flex: 1; min-width: 0; }

.gd-values-item__body h3 {
  font-size: var(--font-size-base); font-weight: 700;
  color: var(--color-text-primary); margin-bottom: var(--space-sm);
}

.gd-values-item__body p {
  font-size: var(--font-size-sm); color: var(--color-text-secondary);
  line-height: 1.9;
}

/* ============================================
   Flow (選考フロー)
   ============================================ */

.gd-flow {
  display: flex; flex-direction: column;
  gap: 0; position: relative;
  padding-left: var(--space-3xl);
}

/* Vertical line */
.gd-flow::before {
  content: ''; position: absolute;
  left: 20px; top: 12px; bottom: 12px;
  width: 2px; background: var(--color-border);
}

.gd-flow__step {
  display: flex; align-items: flex-start;
  gap: var(--space-lg); padding: var(--space-lg) 0;
  position: relative;
}

/* Dot on line */
.gd-flow__step::before {
  content: ''; position: absolute;
  left: calc(-1 * var(--space-3xl) + 14px); top: calc(var(--space-lg) + 6px);
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--color-accent-green);
  border: 3px solid var(--color-bg-white);
  z-index: 1;
}

.gd-flow__num {
  font-family: 'Inter', sans-serif;
  font-size: var(--font-size-2xl); font-weight: 900;
  color: var(--color-accent-green); opacity: 0.25;
  line-height: 1; flex-shrink: 0; min-width: 44px;
}

.gd-flow__body { flex: 1; }

.gd-flow__body h3 {
  font-size: var(--font-size-base); font-weight: 700;
  color: var(--color-text-primary); margin-bottom: var(--space-xs);
}

.gd-flow__body p {
  font-size: var(--font-size-sm); color: var(--color-text-secondary);
  line-height: 1.7;
}

/* ============================================
   Steps Detail
   ============================================ */

.gd-steps-detail {
  display: flex; flex-direction: column;
  gap: var(--space-xl);
}

.gd-step-detail {
  padding: var(--space-xl);
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-card);
}

.gd-step-detail__title {
  font-size: var(--font-size-base); font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: var(--space-md);
  padding-left: var(--space-md);
  border-left: 3px solid var(--color-accent-green);
}

.gd-step-detail p {
  font-size: var(--font-size-sm); color: var(--color-text-secondary);
  line-height: 1.8; margin-bottom: var(--space-md);
}

.gd-step-detail__point {
  padding: var(--space-md) var(--space-lg);
  background: var(--color-bg-light);
  border-radius: var(--border-radius-sm);
}

.gd-step-detail__point-label {
  display: inline-block;
  font-size: var(--font-size-xs); font-weight: 700;
  color: var(--color-accent-green);
  margin-bottom: var(--space-xs);
}

.gd-step-detail__point p {
  font-size: var(--font-size-xs); color: var(--color-text-secondary);
  line-height: 1.6; margin-bottom: 0;
}

/* ============================================
   Hints List (縦型)
   ============================================ */

.gd-hints-list {
  display: flex; flex-direction: column; gap: 0;
}

.gd-hint-item {
  display: flex; align-items: flex-start; gap: var(--space-lg);
  padding: var(--space-xl) 0;
  border-bottom: 1px solid var(--color-border);
}

.gd-hint-item:last-child { border-bottom: none; }

.gd-hint-item__icon {
  flex-shrink: 0; width: 36px; height: 36px;
  color: var(--color-accent-green); margin-top: 2px;
}
.gd-hint-item__icon svg { width: 100%; height: 100%; }

.gd-hint-item__body { flex: 1; min-width: 0; }

.gd-hint-item__body h3 {
  font-size: var(--font-size-base); font-weight: 700;
  color: var(--color-text-primary); margin-bottom: var(--space-sm);
}

.gd-hint-item__body p {
  font-size: var(--font-size-sm); color: var(--color-text-secondary);
  line-height: 1.9;
}

/* ============================================
   FAQ (抜粋)
   ============================================ */

.gd-faq {
  display: flex; flex-direction: column; gap: 0;
  margin-bottom: var(--space-lg);
}

.gd-faq__item {
  border-bottom: 1px solid var(--color-border);
}

.gd-faq__item summary {
  display: flex; align-items: center;
  padding: var(--space-lg) 0;
  font-size: var(--font-size-sm); font-weight: 700;
  color: var(--color-primary-dark); cursor: pointer;
  list-style: none; transition: color 0.2s;
}

.gd-faq__item summary:hover { color: var(--color-accent-green); }
.gd-faq__item summary::-webkit-details-marker { display: none; }

.gd-faq__item summary::after {
  content: '+'; margin-left: auto; flex-shrink: 0;
  font-size: var(--font-size-xl); font-weight: 300;
  color: var(--color-accent-green);
}
.gd-faq__item[open] summary::after { content: '−'; }

.gd-faq__item p {
  padding: 0 0 var(--space-lg);
  font-size: var(--font-size-sm); color: var(--color-text-secondary);
  line-height: 1.8;
}

.gd-faq__more {
  text-align: center;
}
.gd-faq__more a {
  font-size: var(--font-size-sm); font-weight: 500;
  color: var(--color-accent-green); transition: opacity 0.2s;
}
.gd-faq__more a:hover { opacity: 0.7; }

/* ============================================
   CTA
   ============================================ */

.gd-cta {
  text-align: center;
  padding: var(--space-2xl);
  background: var(--color-bg-light);
  border-radius: var(--border-radius-md);
}

.gd-cta__title {
  font-size: var(--font-size-xl); font-weight: 700;
  color: var(--color-primary-dark); margin-bottom: var(--space-xl);
}

.gd-cta__actions {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md); max-width: 560px; margin: 0 auto;
}

.gd-cta__actions .gd-btn {
  width: 100%; justify-content: center;
}

/* ============================================
   Sidebar
   ============================================ */

.gd-sidebar { display: none; flex-direction: column; gap: var(--space-lg); }
@media (min-width: 1024px) {
  .gd-sidebar {
    display: flex; position: sticky;
    top: calc(var(--header-height) + var(--space-xl));
  }
}

.gd-sidebar__box {
  background: var(--color-bg-white); border: 1px solid var(--color-border);
  border-radius: var(--border-radius-md); padding: var(--space-lg); box-shadow: var(--shadow-card);
}

.gd-sidebar__heading {
  font-family: 'Inter', sans-serif; font-size: var(--font-size-sm); font-weight: 700;
  margin-bottom: var(--space-md); padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--color-accent-green);
}

.gd-sidebar__nav { list-style: none; display: flex; flex-direction: column; }
.gd-sidebar__nav li { border-bottom: 1px solid var(--color-border); }
.gd-sidebar__nav li:last-child { border-bottom: none; }
.gd-sidebar__nav a {
  display: block; padding: var(--space-sm) 0; font-size: var(--font-size-xs);
  color: var(--color-text-secondary); transition: color 0.2s;
}
.gd-sidebar__nav a:hover { color: var(--color-accent-green); }

.gd-sidebar__box--cta {
  background: var(--color-accent-green); border-color: var(--color-accent-green); text-align: center;
}
.gd-sidebar__cta-text { font-size: var(--font-size-sm); font-weight: 700; color: #fff; margin-bottom: var(--space-md); }
.gd-sidebar__cta-btn { width: 100%; justify-content: center; background: #fff; color: #e53935; font-weight: 700; }
.gd-sidebar__cta-btn:hover { background: #fce4ec; }
