/* =========================================
   担当者紹介ページ専用
   page-staff.php
========================================= */

/* Hero */
.staff-hero{
  background:
    radial-gradient(1200px 500px at 20% -50%, var(--hero-from), transparent 70%),
    radial-gradient(1200px 500px at 100% 0%, var(--hero-to), transparent 60%),
    #fff;
  border-top:1px solid var(--line);
  padding:0 16px;
}
.staff-hero .hero__wrap{
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:48px 0;
}
.staff-hero h1{
  font-size:clamp(28px, 4vw, 36px);
  margin:0 0 12px;
}
.staff-hero .lead{
  max-width:42rem;
  margin:0;
}
.staff-hero__eyebrow{
  display:inline-flex;
  align-items:center;
  width:fit-content;
  padding:6px 12px;
  margin:0 0 14px;
  border-radius:999px;
  background:#eff6ff;
  color:#1d4ed8;
  font-size:12px;
  font-weight:800;
  letter-spacing:.08em;
}

/* section */
.staff-page.section,
.staff-contact.section{
  padding:56px 16px;
}

.section-head{
  max-width:760px;
  margin:0 auto 24px;
  text-align:center;
}
.section-head h2{
  font-size:clamp(24px, 3.4vw, 32px);
  margin:0 0 10px;
}
.section-head p{
  margin:0;
  color:var(--muted);
  line-height:1.85;
}

/* grid */
.staff-grid{
  max-width:1200px;
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:24px;
}

/* card */
.staff-card{
  display:flex;
  flex-direction:column;
  background:#fff;
  border:1px solid var(--line);
  border-radius:20px;
  overflow:hidden;
  box-shadow:0 16px 36px rgba(15,23,42,.06);
  min-width:0;
}
.staff-card__photo{
  aspect-ratio:4 / 3;
  background:#f8fafc;
  border-bottom:1px solid var(--line);
  overflow:hidden;
}
.staff-card__photo img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}

.staff-card__photo-placeholder{
  width:100%;
  height:100%;
  min-height:220px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:8px;
  background:
    linear-gradient(135deg, #eff6ff, #f8fafc);
  color:#475569;
}
.staff-card__photo-placeholder-main{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:8px 16px;
  border-radius:999px;
  background:#fff;
  border:1px solid #dbeafe;
  color:#1d4ed8;
  font-weight:800;
  font-size:14px;
}
.staff-card__photo-placeholder-sub{
  font-size:12px;
  color:#64748b;
}

.staff-card__body{
  display:flex;
  flex-direction:column;
  gap:16px;
  padding:22px 20px 20px;
}
.staff-card__area{
  margin:0;
  font-size:12px;
  font-weight:800;
  letter-spacing:.08em;
  color:#2563eb;
}
.staff-card__name{
  margin:-6px 0 0;
  font-size:24px;
  line-height:1.5;
  color:#0f172a;
}

/* message */
.staff-message{
  display:flex;
  flex-direction:column;
  gap:8px;
}
.staff-message__label{
  display:inline-flex;
  align-items:center;
  width:fit-content;
  padding:4px 10px;
  border-radius:999px;
  background:#fff7ed;
  color:#c2410c;
  font-size:12px;
  font-weight:800;
  border:1px solid #fed7aa;
  margin:0;
}
.staff-card__message{
  margin:0;
  color:#475569;
  line-height:1.95;
  font-size:14.5px;
}

/* service */
.staff-service{
  display:flex;
  flex-direction:column;
  gap:8px;
}
.staff-service__label{
  display:inline-flex;
  align-items:center;
  width:fit-content;
  padding:4px 10px;
  border-radius:999px;
  background:#eff6ff;
  color:#1d4ed8;
  font-size:12px;
  font-weight:800;
}
.staff-service__chips{
  display:flex;
  flex-wrap:nowrap;
  gap:6px;
}
.staff-card .chip{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:6px 10px;
  border-radius:999px;
  background:#eef2ff;
  border:1px solid #e5e7eb;
  font-size:11.5px;
  line-height:1.2;
  white-space:nowrap;
  color:#334155;
}

/* area accordion */
.staff-area{
  position:relative;
  display:flex;
  flex-direction:column;
  padding:12px 14px;
  border-radius:16px;
  border:1px solid var(--line);
  background:#f8fafc;
  cursor:pointer;
  transition:box-shadow .15s ease, border-color .15s ease, transform .1s ease;
}
.staff-area:hover{
  box-shadow:0 10px 24px rgba(15,23,42,.06);
  transform:translateY(-1px);
}
.staff-area .area-header{
  margin-bottom:2px;
}
.staff-area .area-pref{
  font-weight:700;
  margin-bottom:4px;
  color:#0f172a;
}
.staff-area .area-cities{
  font-size:14px;
  color:var(--muted);
}
.staff-area.pref--open .area-cities{
  display:none;
}

.staff-area .cities-wrap{
  overflow:hidden;
  max-height:0;
  opacity:0;
  transition:max-height .35s ease, opacity .25s ease;
  margin-top:0;
}
.staff-area.pref--open .cities-wrap{
  max-height:1200px;
  opacity:1;
  margin-top:10px;
}

.staff-area-groups{
  display:flex;
  flex-direction:column;
  gap:14px;
}
.staff-area-group{
  padding-top:2px;
}
.staff-area-group + .staff-area-group{
  border-top:1px dashed #dbe3ef;
  padding-top:12px;
}
.staff-area-group__title{
  margin:0 0 8px;
  font-size:13px;
  font-weight:800;
  color:#1d4ed8;
}
.staff-area .cities{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.staff-area .cities .chip{
  opacity:0;
  transform:translateY(3px);
  transition:opacity .2s ease, transform .2s ease;
}
.staff-area.pref--open .cities .chip{
  opacity:1;
  transform:translateY(0);
}
.staff-area.pref--open .cities .chip:nth-child(1){ transition-delay:.02s; }
.staff-area.pref--open .cities .chip:nth-child(2){ transition-delay:.04s; }
.staff-area.pref--open .cities .chip:nth-child(3){ transition-delay:.06s; }
.staff-area.pref--open .cities .chip:nth-child(4){ transition-delay:.08s; }
.staff-area.pref--open .cities .chip:nth-child(5){ transition-delay:.10s; }
.staff-area.pref--open .cities .chip:nth-child(6){ transition-delay:.12s; }
.staff-area.pref--open .cities .chip:nth-child(7){ transition-delay:.14s; }
.staff-area.pref--open .cities .chip:nth-child(8){ transition-delay:.16s; }
.staff-area.pref--open .cities .chip:nth-child(9){ transition-delay:.18s; }
.staff-area.pref--open .cities .chip:nth-child(10){ transition-delay:.20s; }
.staff-area.pref--open .cities .chip:nth-child(11){ transition-delay:.22s; }
.staff-area.pref--open .cities .chip:nth-child(12){ transition-delay:.24s; }

.staff-area .area-toggle{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  border:1px solid var(--brand-soft, var(--brand));
  color:var(--brand);
  background:#fff;
  padding:8px 14px;
  border-radius:12px;
  font-weight:700;
  font-size:13px;
  cursor:pointer;
  transition:background-color .15s ease, color .15s ease, border-color .15s ease, transform .1s ease;
}
.staff-area .area-toggle:hover{
  background:rgba(37,99,235,0.04);
}
.staff-area .area-toggle:active{
  transform:translateY(1px);
}
.staff-area .area-header .area-toggle{
  margin-top:8px;
}
.staff-area.pref--open .area-toggle{
  background:var(--brand);
  color:#fff;
  border-color:var(--brand);
}
.staff-area.pref--open .area-toggle:hover{
  background:var(--brand-dark, #1d4ed8);
}

/* CTA area */
.staff-contact{
  background:
    radial-gradient(600px 260px at 0% 0%, rgba(37,99,235,.06), transparent 70%),
    radial-gradient(600px 260px at 100% 100%, rgba(245,158,11,.08), transparent 70%),
    #fff;
  border-top:1px solid var(--line);
}

/* heading */
.company-heading{
  position:relative;
  text-align:center;
  font-size:clamp(22px, 2.4vw, 26px);
  margin:0 0 24px;
  font-weight:800;
}
.company-heading::after{
  content:"";
  display:block;
  width:120px;
  max-width:60%;
  height:2px;
  background:#0f172a;
  margin:10px auto 0;
  opacity:.18;
}

/* reserve CTA
   共通CSSの .home-reserve-cta { display:flex; } を強く打ち消す */
.staff-contact .home-reserve-cta{
  display:block !important;
  margin-top:12px;
  padding:0;
  overflow:hidden;
  background:#2563eb;
  border:1px solid #1d4ed8;
  border-radius:18px;
  box-shadow:var(--shadow);
  color:#fff;
}
.staff-contact .reserve-head{
  text-align:center;
  padding:12px 16px 8px;
}
.staff-contact .reserve-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:4px 10px;
  border-radius:999px;
  background:#fff;
  color:#1d4ed8;
  font-weight:800;
  font-size:11px;
}
.staff-contact .reserve-head-title{
  margin:6px 0 0;
  font-size:20px;
  font-weight:900;
}
.staff-contact .reserve-body{
  display:block;
  padding:16px;
  text-align:center;
}
.staff-contact .reserve-text{
  margin:0 0 12px;
  font-size:14px;
  line-height:1.8;
}
.staff-contact .reserve-btn-wrap{
  margin-top:4px;
  text-align:center;
}
.staff-contact .btn--reserve{
  display:inline-flex;
  justify-content:center;
  align-items:center;
  width:100%;
  max-width:320px;
  background:#fff;
  color:#2563eb;
  border-radius:999px;
  border:1px solid #bfdbfe;
  font-size:16px;
  padding:12px 16px;
  font-weight:800;
  text-decoration:none;
}
.staff-contact .btn--reserve:hover{
  opacity:.95;
}

/* line CTA */
.staff-contact .line-card{
  padding:0;
  overflow:hidden;
  margin-top:16px;
}
.staff-contact .line-head{
  background:#06C755;
  color:#fff;
  padding:12px 16px 14px;
  text-align:center;
}
.staff-contact .line-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:4px 10px;
  border-radius:999px;
  background:#fff;
  color:#16a34a;
  font-weight:800;
  font-size:11px;
}
.staff-contact .line-head-title{
  margin:6px 0 0;
  font-size:20px;
  font-weight:900;
}
.staff-contact .line-body{
  padding:16px;
  background:#fff;
}
.staff-contact .line-body-inner{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:12px;
}
.staff-contact .line-qr a{
  display:inline-block;
}
.staff-contact .line-qr img{
  display:block;
  width:150px;
  max-width:45vw;
  height:auto;
  border-radius:12px;
}
.staff-contact .line-text{
  width:100%;
}
.staff-contact .line-text h2{
  font-size:18px;
  margin:0 0 8px;
}
.staff-contact .line-desc-box{
  background:#f9fafb;
  border-radius:12px;
  border:1px solid var(--line);
  padding:10px 12px;
}
.staff-contact .line-desc-box .lead{
  margin:0;
  padding-left:18px;
  font-size:14px;
}
.staff-contact .line-btn-wrap{
  margin-top:14px;
  text-align:center;
}
.staff-contact .btn--line{
  background:#06C755;
  border-color:#06C755;
  color:#fff;
}
.staff-contact .btn--line:hover{
  opacity:.9;
}
.staff-contact .btn--line-wide{
  display:inline-flex;
  justify-content:center;
  align-items:center;
  width:100%;
  max-width:320px;
  border-radius:999px;
  font-size:16px;
  padding:12px 16px;
  font-weight:800;
  text-decoration:none;
}

/* PC layout for line block */
@media (min-width:769px){
  .staff-contact .line-body{
    padding:24px 32px;
  }
  .staff-contact .line-body-inner{
    display:grid;
    grid-template-columns:1fr 1fr;
    grid-template-areas:"text qr";
    align-items:center;
    gap:32px;
  }
  .staff-contact .line-text{
    grid-area:text;
    max-width:480px;
    justify-self:center;
  }
  .staff-contact .line-text h2{
    font-size:22px;
  }
  .staff-contact .line-desc-box{
    padding:14px 18px;
  }
  .staff-contact .line-desc-box .lead{
    font-size:15px;
  }
  .staff-contact .line-qr{
    grid-area:qr;
    justify-self:center;
  }
  .staff-contact .line-qr img{
    width:260px;
    max-width:260px;
  }
  .staff-contact .line-btn-wrap{
    margin-top:20px;
    text-align:center;
  }
}

/* responsive */
@media (max-width: 1100px){
  .staff-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px){
  .staff-hero{
    background:#fff;
    padding:0 16px;
  }
  .staff-hero .hero__wrap{
    padding:40px 0;
  }

  .staff-page.section,
  .staff-contact.section{
    padding:40px 16px;
  }

  .section-head{
    margin-bottom:20px;
  }
  .section-head h2{
    font-size:24px;
  }

  .staff-grid{
    grid-template-columns:1fr;
    gap:18px;
  }

  .staff-card{
    border-radius:18px;
  }
  .staff-card__body{
    padding:18px 16px 16px;
    gap:14px;
  }
  .staff-card__name{
    font-size:22px;
  }
  .staff-card__message{
    font-size:14px;
  }

  .staff-service__chips{
    flex-wrap:wrap;
  }

  .staff-area{
    padding:10px 12px;
    border-radius:14px;
  }
  .staff-area .area-header{
    display:flex;
    align-items:center;
  }
  .staff-area .area-pref{
    margin-bottom:0;
    flex-shrink:0;
    position:relative;
  }
  .staff-area .area-pref::after{
    content:"｜";
    margin:0 4px;
    color:var(--muted);
  }
  .staff-area .area-cities{
    flex:1 1 auto;
    min-width:0;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }
  .staff-area .area-header .area-toggle{
    margin-top:0;
    margin-left:8px;
    flex-shrink:0;
    white-space:nowrap;
  }

  .staff-contact .reserve-head-title,
  .staff-contact .line-head-title{
    font-size:18px;
  }
  .staff-contact .reserve-text{
    font-size:13px;
  }
}

@media (max-width: 480px){
  .staff-hero__eyebrow{
    font-size:11px;
    padding:5px 10px;
  }
  .staff-card__area{
    font-size:11px;
  }
  .staff-card__name{
    font-size:20px;
  }
  .staff-card .chip{
    font-size:11px;
    padding:5px 9px;
  }
}
/* =========================================
   Hero：対応エリアページ寄せ
========================================= */

.staff-hero{
  background:
    radial-gradient(1200px 500px at 20% -50%, var(--hero-from), transparent 70%),
    radial-gradient(1200px 500px at 100% 0%, var(--hero-to), transparent 60%),
    #fff;
  border-top:1px solid var(--line);
  padding:0 16px;
}

.staff-hero .hero__wrap{
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:48px 0;
}

.staff-hero h1{
  font-size:clamp(28px, 4vw, 36px);
  margin:0 0 12px;
}

.staff-hero .lead{
  max-width:42rem;
  margin:0;
}

/* STAFFピルは消す */
.staff-hero__eyebrow{
  display:none;
}

@media (max-width: 768px){
  .staff-hero{
    background:#fff;
    padding:0 16px;
  }

  .staff-hero .hero__wrap{
    padding:40px 0;
  }
}
/* =========================================
   CTA：スマホではみ出さないよう修正
========================================= */

/* 予約CTA */
.staff-contact .home-reserve-cta{
  display:block !important;
  margin-top:12px;
  padding:0;
  overflow:hidden;
  background:#2563eb;
  border:1px solid #1d4ed8;
  border-radius:18px;
  box-shadow:var(--shadow);
  color:#fff;
}

.staff-contact .reserve-head{
  text-align:center;
  padding:12px 16px 8px;
}

.staff-contact .reserve-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:4px 10px;
  border-radius:999px;
  background:#fff;
  color:#1d4ed8;
  font-weight:800;
  font-size:11px;
  max-width:100%;
}

.staff-contact .reserve-head-title{
  margin:6px 0 0;
  font-size:20px;
  font-weight:900;
}

.staff-contact .reserve-body{
  display:block;
  padding:16px;
  text-align:center;
}

.staff-contact .reserve-text{
  margin:0 0 12px;
  font-size:14px;
  line-height:1.8;
}

.staff-contact .reserve-btn-wrap{
  margin-top:4px;
  text-align:center;
}

.staff-contact .btn--reserve{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:100%;
  max-width:320px;
  min-width:0;
  box-sizing:border-box;
  margin:0 auto;
  padding:12px 16px;
  border-radius:999px;
  background:#fff;
  color:#2563eb;
  border:1px solid #bfdbfe;
  font-size:16px;
  font-weight:800;
  text-decoration:none;
  white-space:normal;
  line-height:1.5;
}

.staff-contact .btn--reserve:hover{
  opacity:.95;
}

/* LINE CTA */
.staff-contact .line-card{
  padding:0;
  overflow:hidden;
  margin-top:16px;
}

.staff-contact .line-btn-wrap{
  margin-top:14px;
  text-align:center;
}

.staff-contact .btn--line-wide{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:100%;
  max-width:320px;
  min-width:0;
  box-sizing:border-box;
  margin:0 auto;
  padding:12px 16px;
  border-radius:999px;
  font-size:16px;
  font-weight:800;
  text-decoration:none;
  white-space:normal;
  line-height:1.5;
}

/* 念のため、CTAブロック内で横にはみ出す要素を抑止 */
.staff-contact .reserve-body,
.staff-contact .line-body,
.staff-contact .line-text,
.staff-contact .line-desc-box,
.staff-contact .reserve-btn-wrap,
.staff-contact .line-btn-wrap{
  min-width:0;
}

@media (max-width: 768px){
  .staff-contact .home-reserve-cta,
  .staff-contact .line-card{
    border-radius:16px;
  }

  .staff-contact .reserve-head,
  .staff-contact .line-head{
    padding-left:12px;
    padding-right:12px;
  }

  .staff-contact .reserve-body,
  .staff-contact .line-body{
    padding:14px 12px;
  }

  .staff-contact .reserve-head-title,
  .staff-contact .line-head-title{
    font-size:18px;
  }

  .staff-contact .reserve-text{
    font-size:13px;
  }

  .staff-contact .btn--reserve,
  .staff-contact .btn--line-wide{
    width:100%;
    max-width:100%;
    font-size:15px;
    padding:12px 14px;
  }
}

@media (max-width: 480px){
  .staff-contact .reserve-body,
  .staff-contact .line-body{
    padding:12px 10px;
  }

  .staff-contact .btn--reserve,
  .staff-contact .btn--line-wide{
    font-size:14px;
    padding:11px 12px;
  }
}