/*
 * P-SIX Theme — association.css
 * SUPウェルネス・キャリア協会ページ群の固有スタイル
 */

/* Intro / Method (two-column) */
.intro, .concept { background: var(--warm); }
.method { background: var(--ink); color: var(--white); text-align: center; }
.method h2 { font-family: 'Playfair Display', serif; font-size: clamp(28px, 4vw, 44px); font-weight: 400; margin-bottom: 20px; }
.method h2 em { font-style: italic; color: var(--accent-glow); }
.method p { font-size: 14px; color: var(--cloud); line-height: 2.2; font-weight: 300; max-width: 600px; margin: 0 auto; }
.method-features { display: flex; gap: 40px; justify-content: center; margin-top: 48px; }
.method-feat { text-align: center; }
.method-feat-icon { font-size: 28px; margin-bottom: 8px; }
.method-feat-text { font-size: 13px; color: var(--cloud); }

/* Services grid */
.services { background: var(--white); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 48px; }
.service-card { padding: 40px 32px; border: 1px solid var(--pearl); border-radius: 2px; transition: all .4s; text-decoration: none; color: inherit; display: block; position: relative; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 2px; background: var(--accent); transform: scaleX(0); transition: transform .5s; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,.05); }
.service-card:hover::before { transform: scaleX(1); }
.service-card h3 { font-size: 16px; font-weight: 600; color: var(--ink); margin-bottom: 12px; }
.service-card p { font-size: 13px; color: var(--steel); line-height: 2; font-weight: 300; }

/* Case study */
.case { background: var(--snow); }
.case-card { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-top: 48px; }
.case-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 2px; box-shadow: 0 16px 48px rgba(0,0,0,.08); }
.case-card h3 { font-size: 20px; font-weight: 600; color: var(--ink); line-height: 1.6; margin-bottom: 16px; }
.case-card p { font-size: 14px; color: var(--steel); line-height: 2.2; font-weight: 300; }

/* Benefits grid */
.benefits { background: var(--white); }
.benefits-grid-assoc { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; }
.benefit-card { padding: 36px 24px; background: var(--snow); border: 1px solid var(--pearl); border-radius: 2px; text-align: center; transition: all .4s; }
.benefit-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,.04); }
.benefit-card .b-icon { font-size: 28px; margin-bottom: 12px; }
.benefit-card h4 { font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.benefit-card p { font-size: 11px; color: var(--mist); line-height: 1.9; }

/* Curriculum */
.curriculum { background: var(--snow); }
.curriculum-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 48px; }
.curr-card { padding: 32px; background: var(--white); border: 1px solid var(--pearl); border-radius: 2px; }
.curr-day { font-family: 'DM Sans', sans-serif; font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.curr-card h4 { font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 12px; }
.curr-card p { font-size: 13px; color: var(--steel); line-height: 2; font-weight: 300; }

/* Career */
.career { background: var(--white); }
.career-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.career-card { padding: 32px; border: 1px solid var(--pearl); border-radius: 2px; transition: all .3s; }
.career-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.career-card h4 { font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.career-card p { font-size: 12px; color: var(--steel); line-height: 2; }

/* Challenges */
.challenges { background: var(--snow); }
.challenge-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 40px; }
.challenge-item { padding: 20px 24px; background: var(--white); border: 1px solid var(--pearl); border-radius: 2px; font-size: 14px; color: var(--steel); }

/* Program cards (健康経営) */
.program-card { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 80px 60px; }
.program-card:nth-child(even) { background: var(--snow); direction: rtl; }
.program-card:nth-child(even) > * { direction: ltr; }
.program-card h3 { font-family: 'Playfair Display', serif; font-size: clamp(22px, 2.5vw, 30px); font-weight: 400; color: var(--ink); line-height: 1.7; margin-bottom: 16px; }
.program-card h3 em { font-style: italic; color: var(--accent); }
.program-card p { font-size: 14px; color: var(--steel); line-height: 2.2; font-weight: 300; }
.program-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 2px; box-shadow: 0 16px 48px rgba(0,0,0,.08); }

/* Targets (施設向け) */
.targets { background: var(--white); }
.target-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.target-card { padding: 36px 28px; border: 1px solid var(--pearl); border-radius: 2px; text-align: center; transition: all .3s; }
.target-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.target-card .t-icon { font-size: 32px; margin-bottom: 12px; }
.target-card h4 { font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.target-card p { font-size: 12px; color: var(--steel); line-height: 2; }

/* Flow */
.flow-assoc { background: var(--snow); }
.flow-steps { display: flex; gap: 0; justify-content: center; margin-top: 48px; }
.flow-s { flex: 1; max-width: 200px; text-align: center; padding: 40px 16px; border-top: 2px solid var(--pearl); transition: border-color .3s; }
.flow-s:hover { border-color: var(--accent); }
.flow-s-num { font-family: 'Playfair Display', serif; font-size: 28px; color: var(--accent); margin-bottom: 10px; margin-top: -22px; background: var(--snow); display: inline-block; padding: 0 8px; }
.flow-s h4 { font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.flow-s p { font-size: 11px; color: var(--mist); line-height: 1.8; }

/* Contact section */
.contact-assoc { background: var(--white); }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1024px) {
  .services-grid, .career-grid, .target-grid { grid-template-columns: 1fr; }
  .case-card, .program-card { grid-template-columns: 1fr; gap: 40px; }
  .program-card:nth-child(even) { direction: ltr; }
  .benefits-grid-assoc { grid-template-columns: repeat(2, 1fr); }
  .method-features { flex-direction: column; gap: 20px; align-items: center; }
}

@media (max-width: 768px) {
  .program-card { padding: 60px 24px; }
  .flow-steps { flex-direction: column; align-items: center; }
  .flow-s { border-top: none; border-left: 2px solid var(--pearl); text-align: left; padding: 14px 24px; max-width: 100%; width: 100%; }
  .flow-s:hover { border-left-color: var(--accent); }
  .flow-s-num { margin-top: 0; background: transparent; display: inline; margin-right: 10px; }
  .benefits-grid-assoc { grid-template-columns: 1fr; }
}
