html {
  font-family: "Noto Sans JP", sans-serif;
}

.pop {
  font-family: "Noto Serif JP", serif;
}

.conteinar {
  width: 90%;
  max-width: 1120px;
  margin: 0 auto;
}

.flex {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
}

/* ヘッダー */
header {
  padding: 27px 0;
  background-color: #ffffff;
}

.logo {
  font-size: 24px;
  font-weight: 700;
}

.logo span {
  color: #5398ff;
}

.header-menu li {
  margin-left: 40px;
  height: 25px;
}

.header-menu li a {
  transition: 0.3s;
}

.header-menu li a:hover {
  color: #5398ff;
}

/* バーガー */
.menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100%;
  background-color: #f5f5f5;
  color: #474747;
  transition: right 0.3s ease;
  padding: 20px;
  box-sizing: border-box;
  z-index: 10;
}

.menu.open {
  right: 0;
}

.hamburger {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 30px;
  cursor: pointer;
  z-index: 20;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: #474747;
  margin: 5px 0;
  transition: 0.4s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.menu ul {
  list-style-type: none;
  padding: 0;
  margin-top: 80px;
  height: 90%;
  overflow-y: scroll;
}

.menu li {
  padding: 20px 0;
  border-bottom: 1px solid #000000;
}

.menu li a {
  color: #000000;
  text-decoration: none;
  display: block;
}

/* メイン */
#hero {
  background-color: #5398ff;
  text-align: center;
  height: 650px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  margin-bottom: 80px;
}

/* 画像ヒーロー（背景差し替え） */
.hero-photo {
  background-image: url("../image/kyuujinntopimage.jpg");
  background-size: cover;
  background-position: center;
}

.hero-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

#hero .conteinar {
  color: #ffffff;
  position: relative;
  margin-top: 130px;
}

#hero h1 {
  font-size: 60px;
  font-weight: 700;
  padding-bottom: 20px;
}

#hero p {
  max-width: 540px;
  margin: 0 auto 50px;
  line-height: 1.7;
}

h2 {
  font-size: 36px;
  font-weight: 500;
  color: #5398ff;
  text-align: center;
  margin-bottom: 40px;
}

/* 職種アコーディオン */
.accordion-003 {
  max-width: 500px;
  margin: 0 auto 7px;
}

.accordion-003 summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  padding: 1em 2em;
  color: #000000;
  border: 2px solid #5398ff;
  font-weight: 600;
  cursor: pointer;
  font-size: 20px;
  background: #ffffff;
  border-radius: 10px;
}

.accordion-003 summary::-webkit-details-marker {
  display: none;
}

.accordion-003 summary::after {
  transform: translateY(-25%) rotate(45deg);
  width: 7px;
  height: 7px;
  border-bottom: 3px solid rgba(0, 0, 0, 0.7);
  border-right: 3px solid rgba(0, 0, 0, 0.7);
  content: "";
  transition: transform 0.3s;
}

.accordion-003[open] summary::after {
  transform: rotate(225deg);
}

.accordion-003 p {
  position: relative;
  transform: translateY(-10px);
  opacity: 0;
  margin-top: 12px;
  margin-bottom: 12px;
  padding: 0.9em 1.2em;
  border: 2px solid #2589d0;
  border-radius: 10px;
  background-color: #fff;
  color: #333333;
  transition: transform 0.5s, opacity 0.5s;
}

.accordion-003[open] p {
  transform: none;
  opacity: 1;
}

/* お仕事の流れ */
#oneday {
  padding: 90px 0 60px;
}

.oneday-wrap {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  justify-content: space-between;
  margin-top: 20px;
}

.oneday-image {
  flex: 0 0 48%;
}

.oneday-image img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.img-note {
  margin-top: 10px;
  color: #666;
  font-size: 14px;
}

.oneday-side {
  flex: 0 0 52%;
}

/* 右：1日の流れ（文章）枠 */
.work-flow-summary {
  background: #ffffff;
  border: 2px solid #d6e6ff;
  border-radius: 16px;
  padding: 20px 24px;
  line-height: 1.8;
}

.work-flow-summary p {
  margin: 0 0 12px;
  font-size: 16px;
}

.work-flow-summary p:last-child {
  margin-bottom: 0;
}

/* 下：説明文（枠） */
.work-description {
  margin-top: 28px;
  background: #ffffff;
  border: 2px solid #d6e6ff;
  border-radius: 16px;
  padding: 22px 24px;
  line-height: 1.85;
}

.work-description h3 {
  font-size: 20px;
  font-weight: 700;
  color: #5398ff;
  margin: 0 0 10px;
}

.work-description p {
  margin: 0 0 16px;
  color: #333;
}

.work-description p:last-of-type {
  margin-bottom: 0;
}

.work-description ul {
  margin: 0;
  padding-left: 1.2em;
  color: #333;
}

.work-description li {
  margin: 0 0 8px;
}

.work-description li:last-child {
  margin-bottom: 0;
}

/* インタビュー */
#interview {
  background-color: #ffffff;
  padding: 120px 0;
}

.heading {
  font-size: 36px;
  font-weight: 500;
  color: #5398ff;
  text-align: center;
  margin-bottom: 14px;
}

#interview h2 {
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  color: #474747;
  margin-bottom: 48px;
}

/* 3人をPCで3列、タブレットで2列、スマホで1列 */
.row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
}

.col {
  text-align: center;
}

.box {
  background-color: #5398ff;
  border-radius: 100%;
  width: 173px;
  height: 173px;
  margin: 0 auto 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 6px 8px 18px -6px rgba(0, 0, 0, 0.6);
}

.icon {
  width: 100px;
}

#interview h3 {
  font-size: 20px;
  font-weight: 700;
  color: #5398ff;
  margin-bottom: 10px;
}

.text {
  text-align: left;
  line-height: 1.6;
  color: #474747;
  padding: 0 10%;
}

/* 事業所概要 */
#gaiyou {
  padding: 60px 0;
  background-color: #89c3eb;
  color: #ffffff;
}

#gaiyou h2 {
  font-size: 36px;
  font-weight: 500;
  text-align: center;
  margin-bottom: 14px;
  color: #ffffff;
}

#gaiyou li {
  border-bottom: solid 1px;
  padding: 20px 0;
}

#gaiyou li span {
  font-weight: 600;
  display: block;
  margin-bottom: 10px;
}

.facility-link {
  color: #ffffff;
  text-decoration: underline;
}

.facility-link:hover {
  opacity: 0.85;
}

/* 地図 */
.map-wrap iframe {
  width: 100%;
  height: 450px;
  border: 0;
  margin-top: 28px;
  border-radius: 14px;
}

/* 応募フォーム */
#oubo {
  padding: 80px 0;
}

.form-wrap {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #e6e6e6;
}

.form-wrap iframe {
  width: 100%;
  height: 1200px;
  border: 0;
  margin-top: 0;
}

/* レスポンシブ */
@media screen and (max-width: 1024px) {
  .row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #hero h1 {
    font-size: 48px;
  }
}


@media screen and (max-width: 768px) {
  .header-menu {
    display: none;
  }

  #hero {
    height: 520px;
  }

  #hero .conteinar {
    margin-top: 0;
  }

  #hero h1 {
    font-size: 38px;
  }

  .oneday-wrap {
    flex-direction: column;
  }

  .oneday-image,
  .oneday-side {
    flex: 0 0 auto;
  }

  .map-wrap iframe {
    height: 320px;
  }

  .row {
    grid-template-columns: 1fr;
  }

  .text {
    padding: 0 6%;
  }
}

.work-cta-btn {
  margin-top: 20px;
  text-align: center;
}

.work-cta-btn a {
  display: inline-block;
  padding: 14px 28px;
  background-color: #5398ff;
  color: #fff;
  border-radius: 30px;
  font-weight: 700;
}

/* =========================
   スタッフインタビュー（カード型）
========================= */

/* グリッド：PC3列 → タブレット2列 → スマホ1列 */
#interview .staff-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

/* タブレット */
@media screen and (max-width: 1024px) {
  #interview .staff-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* スマホ */
@media screen and (max-width: 768px) {
  #interview .staff-grid {
    grid-template-columns: 1fr;
  }
}

/* カード本体 */
#interview .staff-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 22px 22px 26px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
  border: 2px solid rgba(83,152,255,0.25);
}

/* 上部（写真＋名前） */
#interview .staff-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}

/* 丸い写真枠 */
#interview .staff-avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background-color: #5398ff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 6px 8px 18px -8px rgba(0,0,0,0.6);
  flex-shrink: 0;
}

#interview .staff-icon {
  width: 52px;
  height: auto;
}

/* 職種・名前 */
#interview .staff-role {
  font-size: 14px;
  font-weight: 700;
  color: #5398ff;
  margin: 0;
}

#interview .staff-name {
  font-size: 18px;
  font-weight: 700;
  margin: 4px 0 6px;
  color: #222;
}

#interview .staff-catch {
  font-size: 14px;
  color: #555;
  margin: 0;
}

/* Q&A */
#interview .staff-qa {
  margin-top: 12px;
}

#interview .staff-qa > div {
  padding: 12px 0;
  border-top: 1px solid rgba(0,0,0,0.08);
}

#interview .staff-qa dt {
  font-weight: 700;
  margin-bottom: 6px;
  color: #222;
}

#interview .staff-qa dd {
  margin: 0;
  line-height: 1.7;
  color: #555;
}

/* 応募者への一言（強調） */
#interview .staff-message {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(83,152,255,0.12);
  border: 1px solid rgba(83,152,255,0.35);
  line-height: 1.7;
  color: #222;
}

#interview .staff-message span {
  display: block;
  font-weight: 700;
  color: #5398ff;
  margin-bottom: 6px;
}

