* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  color: #647869;
  line-height: 1.7;
  background-color: #fff;
}

html,
body {
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
p {
  margin: 0;
}

section {
  padding: 80px 20px;
}

@media screen and (max-width: 768px) {
  section {
    padding-top: 40px;
    padding-bottom: 56px;
  }
  
  .section-title {
  margin-top: 0;
}
}


.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

:root {
  --header-height: 86px;
}

/* =========================
  ヘッダー
========================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background-color: #fff;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

#logo {
  margin: 0;
  flex-shrink: 0;
}

#logo a {
  display: block;
}

#logo img {
  width: 190px;
  height: auto;
}

.nav {
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

/* ヘッダーの文字指示 */
.nav-list a {
  position: relative;
  display: inline-block;
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: #647859;
  letter-spacing: 0.10em;
  transition: opacity 0.3s;
}

/* アンダーバー */
.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background-color: #5cb431;
  transition: width 0.3s ease;
}

.nav-list a:hover::after {
  width: 100%;
}

.nav-list a:hover {
  opacity: 0.7;
}

.header-contact-btn {
  display: inline-block;
  padding: 8px 20px;
  background-color: #ed7959;
  color: #fff;
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 18px;
  font-weight: 500;
  border-radius: 999px;
  letter-spacing: 0.10em;
  transition: opacity 0.3s;
}

.header-contact-btn:hover {
  opacity: 0.85;
}

/* =========================
  ハンバーガーメニュー
========================= */
.hamburger {
  display: none;
  width: 34px;
  height: 26px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #647869;
  border-radius: 999px;
}

.hamburger span + span {
  margin-top: 7px;
}

/* PCではnav内のお問い合わせを非表示 */
.nav-contact-btn {
  display: none;
}



/* =========================
  ファーストビュー
========================= */
.hero {
  position: relative;
  margin-top: var(--header-height);
  width: 100%;
  height: clamp(550px, calc(100vh - var(--header-height) - 40px), 600px);
  padding: 0;
  background-color: #fbe4de;
  overflow: hidden;
}

/* 装飾画像：画面全体基準 */
.hero-decorations {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.decor {
  position: absolute;
  width: clamp(160px, 20vw, 320px);
  height: auto;
}

/* メイン画像：中央1200pxの箱基準 */
.hero-inner {
  position: relative;
  width: min(100%, 1200px);
  height: 100%;
  margin: 0 auto;
  z-index: 2;
}

.hero-images {
  position: absolute;
  inset: 0;
}

.hero-image {
  position: absolute;
  display: block;
  height: auto;
}

/* 左メイン画像 */
.image-left {
  top: 34%;
  left: 20%;
  width: clamp(300px, 28vw, 480px);
  transform: translate(-50%, -50%);
  z-index: 3;

  opacity: 0;
  animation: heroFadeLeft 1.6s ease-out 1.0s forwards;
}

/* 右メイン画像 */
.image-right {
  top: 50%;
  left: 58%;
  width: clamp(650px, 52vw, 1000px);
  transform: translate(-50%, -50%);
  z-index: 2;

  opacity: 0;
  animation: heroFadeRight 1.4s ease-out 0.6s forwards;
}

.image-right-sp {
  display: none;
}

/* 装飾の配置 */
.center-top {
  top: -70px;
  left: 50%;
  transform: translateX(-50%);
}

.center-bottom {
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
}

.left-bottom {
  bottom: -50px;
  left: -30px;
}

.right-top {
  top: 60px;
  right: -30px;
}

.right-bottom {
  bottom: -60px;
  right: -50px;
}

@media screen and (max-width: 768px) {
  .hero {
    margin-top: 64px;
    height: 520px;
  }

  .image-right {
    width: 95vw;
    top: 50%;
    left: 50%;
    z-index: 2;
  }

  .image-right-pc {
    display: none;
  }

  .image-right-sp {
    display: block;
  }

  .image-left {
    width: 50vw;
    top: 22%;
    left: 25%;
    z-index: 3;
  }

  .decor {
    width: 180px;
  }

  .left-bottom {
    bottom: -5%;
    left: -10%;
  }

  .right-top {
    bottom: 60px;
    right: -30px;
  }

  .right-bottom {
    bottom: -60px;
    right: 50px;
  }

  .center-bottom {
  bottom: 80px;
  left: auto;
  right: -20px;
  transform: none;
}
}

/* =========================
  共通見出し
========================= */
.section-title {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  position: relative;
  margin-bottom: 40px;
}

/* テキスト ,下のバー*/
.title-text {
  display: inline-block;
  padding-bottom: 6px;
  border-bottom:4px solid #5cb431;
}

/* 横の装飾画像 */
.title-deco {
  width: 40px; /* サイズは調整OK */
  height: auto;
}

@media screen and (max-width: 768px) {
  .section-title {
    justify-content: center;
    text-align: center;
    gap: 6px;
  }

  .title-deco {
    position: static;
    transform: none;
    width: 32px;
  }

  .title-text {
    margin: 0;
  }
}

/* =========================
  特徴
========================= */
.features .section-title {
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 26px;
  font-weight: 500;
  color: #647859;
  letter-spacing: 0.05em;
  transition: opacity 0.3s;
  margin-bottom: 40px;
}

/* 特徴全体 */
.features-list {
  display: flex;
  justify-content: center; /* 中央寄せ */
  gap: 30px; /* カード同士の間隔 */
}

/* カード共通 */
.feature-card {
  width: 320px;
  padding: 30px;
  border-radius: 20px; /* 角丸 */
  text-align: center;
}

/* 個別カラー */
.feature-card:nth-child(1) {
  background-color: #f9c9bd;
}

.feature-card:nth-child(2) {
  background-color: #fcebea;
}

.feature-card:nth-child(3) {
  background-color: #fce3ba;
}

/* 特徴番号 */
.feature-number {
  margin: 0 0 20px;
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 28px;
  font-weight: 500;
  text-align: center;
  letter-spacing: 0.2em;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

/* 特徴1 */
.feature-card:nth-child(1) .feature-number {
  color: #ed7959;
}
.feature-card:nth-child(1) .feature-line {
  background-color: #ed7959;
}

/* 特徴2 */
.feature-card:nth-child(2) .feature-number {
  color: #f19a95;
}

.feature-card:nth-child(2) .feature-line {
  background-color: #f19a95;
}

/* 特徴3 */
.feature-card:nth-child(3) .feature-number {
  color: #f4a019;
}

.feature-card:nth-child(3) .feature-line {
  background-color: #f4a019;
}

.small-number {
  font-family: "Jost", sans-serif;
  font-weight: 600;
  font-size: 1.6em;
  letter-spacing: 0.05em;
}

.feature-illust-box {
  height: 100px; /* 3つ共通の画像エリア */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

/* イラスト */
.feature-illustration {
  display: block;
  width: 120px;
  height: auto;
  margin: 0 auto 20px;
}

.feature-illustration--pain {
  width: auto;
  height: 112px;
}

.feature-card:nth-child(2) .feature-illustration {
  width: auto;
  height: 100px;
}

.feature-catch {
  margin: 0 0 20px;
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 26px;
  font-weight: 500;
  line-height: 1.5;
  color: #647869;
  text-align: center;
}

.feature-card:nth-child(1) .feature-catch {
  letter-spacing: 0.1em;
}

.feature-catch-line {
  display: block;
}

.small-text {
  font-size: 16px;
}

/* 横線 */
.feature-line {
  width: 100%;
  height: 2px;
  margin: 24px 0;
}

/* 説明文 */
.feature-description {
  margin: 0;
  font-size: 16px;
  line-height: 1.9;
  text-align: left;
  font-weight: 400;
  color: #647869;
}

@media screen and (max-width: 768px) {
  .features-list {
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }

  .feature-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) 88px;
    grid-template-areas:
      "number catch catch"
      "line line line"
      "description description illust";
    column-gap: 12px;
    row-gap: 16px;
    width: 100%;
    max-width: 98%;
    padding: 20px 17px;
    border-radius: 20px;
    text-align: left;
  }

  /* 特徴番号バッジ */
  .feature-number {
    grid-area: number;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    margin: 0;
    padding: 8px 11px;
    border-radius: 999px;
    color: #fff;
    font-size: 16px;
    line-height: 1;
    letter-spacing: 0;
    align-self: center;
  }

  .small-number {
    font-size: 24px;
    line-height: 1;
    letter-spacing: 0;
  }

  .feature-card:nth-child(1) .feature-number {
    color: #fff;
    background-color: #ed7959;
  }

  .feature-card:nth-child(2) .feature-number {
    color: #fff;
    background-color: #f19a95;
  }

  .feature-card:nth-child(3) .feature-number {
    color: #fff;
    background-color: #f4a019;
  }

  /* タイトル */
  .feature-catch {
    grid-area: catch;
    margin: 0;
    font-size: clamp(16px, 5.2vw, 20px);
    line-height: 1.45;
    text-align: left;
    height: auto;
    transform: none;
    align-self: center;
  }

  .feature-card:nth-child(1) .feature-catch {
    font-size: clamp(15px, 4.9vw, 19px);
    letter-spacing: 0.065em;
  }

  .feature-catch-line {
    display: block;
    white-space: nowrap;
  }

  .small-text {
    font-size: 14px;
  }

  /* 区切り線 */
  .feature-line {
    grid-area: line;
    display: block;
    width: 100%;
    height: 2px;
    margin: 0;
  }

  /* イラスト */
  .feature-illust-box {
    grid-area: illust;
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
    margin: 0;
  }

  .feature-illustration {
    width: 82px;
    margin: 0;
    transform: none;
  }

  .feature-illustration--pain {
    width: auto;
    height: 88px;
  }

  .feature-card:nth-child(2) .feature-illustration {
    width: 82px;
    height: auto;
  }

  /* 説明文 */
  .feature-description {
    grid-area: description;
    width: 100%;
    font-size: 13px;
    line-height: 1.8;
    margin: 0;
    align-self: center;
  }
}

/* =========================
  ご利用の流れ
========================= */
.flow .section-title {
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 26px;
  font-weight: 500;
  color: #647859;
  letter-spacing: 0.05em;
  transition: opacity 0.3s;
  margin-bottom: 40px;
}

.flow {
  background-color: #fad7cd;
  padding: 80px 20px;
}

.flow-card {
  background-color: #fff;
  border-radius: 24px;
  padding: 60px;

  max-width: 1000px;
  margin: 0 auto; /* ← 中央寄せ */
}

/* nagareイラスト */
.area-main-image {
  display: block;
  max-width: 100%;
  width: 750px;
  height: auto;
  margin: 0 auto 30px;
}

.area-main-image-sp {
  display: none;
}

.area-title {
  display: block;
  width: 100%;

  padding: 7px 30px; /* ← 高さ＆横幅を調整 */
  margin: 0 auto 32px;

  background-color: #4f5f57; /* ← #647869より濃いグレー */
  color: #fff;

  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 20px;
  font-weight: 500;
  text-align: center;

  border-radius: 999px; /* ← 両端丸のキモ */
}

/* 下段全体 */
.area-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

/* 左側 */
.area-left {
  flex: 1;
  display: flex;
  justify-content: center;
}

.area-map-image {
  width: 380px;
  height: auto;
}

/* 右側 */
.area-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

/* 区のリスト */
.area-list {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 12px 24px;
  padding: 0;
  margin: 0 0 0 70px;
  list-style: none;

  font-size: 20px;
  font-weight: 500;
  color: #647869;
}
.maru {
  color: #f4a116;
}

/* 下の画像 */
.area-sub-image {
  width: 400px;
  height: auto;
  align-self: flex-end;
  margin-right: 20px;
}

.flow-list {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.flow-item {
  min-width: 180px;
  padding: 24px 20px;
  background-color: #fdeee8;
  border-radius: 16px;
  text-align: center;
  font-weight: 700;
}

@media screen and (max-width: 768px) {
  .flow-card {
    padding: 28px 18px;
    border-radius: 20px;
  }

  .area-main-image-pc {
    display: none;
  }

  .area-main-image-sp {
    display: block;
    width: 100%;
    max-width: 280px;
    margin: 0 auto 24px;
  }

  /* 対象エリア */
  .area-title {
    width: 100%;
    max-width: 320px;
    margin: 0 auto 24px;
    padding: 8px 30px;
    font-size: 18px;
  }

  /* 横並び解除 */
  .area-content {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .area-left,
  .area-right {
    width: 100%;
    display: flex;
    align-items: center;
  }

  .area-left {
    justify-content: center;
  }

  .area-right {
    flex-direction: column;
    justify-content: center;
    gap: 20px;
  }

  /* 2枚目画像 area.png */
  .area-map-image {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  /* エリアリスト：2行に収める */
  .area-list {
    width: 100%;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(4, auto);
    justify-content: center;
    gap: 8px 14px;
    font-size: 15px;
  }

  /* 3枚目画像 area_sub.png */
  .area-sub-image {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    align-self: center;
  }
}

/* =========================
  スタッフ紹介
========================= */
.staff .section-title {
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 26px;
  font-weight: 500;
  color: #647859;
  letter-spacing: 0.05em;
  transition: opacity 0.3s;
  margin-bottom: 40px;
}
.staff {
  background-color: #fcebea;
  padding: 80px 20px;
}

.staff-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* カード1枚 */
.staff-card {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 48px;
  background-color: #fff;
  border-radius: 24px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

/* 2枚目だけ反転 */
.staff-card.reverse {
  flex-direction: row-reverse;
}

.staff-text {
  flex: 1;
}

.staff-top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 24px;
}

.staff-profile {
  display: flex;
  min-width: 140px;
  align-items: center;
  gap: 12px;
}

.staff-profile-text {
  display: flex;
  flex-direction: column;
}

.staff-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  top: 2px;

  width: 55px;
  height: 55px;

  background-color: #ed7959;
  color: #fff;

  font-size: 14px;
  font-weight: 500;

  border-radius: 50%; /* ← 丸にする */
}

.staff-name {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 700;
  color: #647869;
  line-height: 1.4;
  letter-spacing: 0.05em;
}

.staff-career {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  color: #647869;
  line-height: 1.5;
  letter-spacing: 0.05em;
}

.staff-history {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  color: #647869;
  line-height: 1.8;
  flex: 1;

  border-left: 1px solid #647869;
  padding-left: 20px;
  letter-spacing: 0.05em;
}

.staff-history-detail-compact {
  font-size: 16px;
  letter-spacing: 0;
  white-space: nowrap;
}

.staff-message {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  color: #647869;
  line-height: 1.8;
  letter-spacing: 0.05em;
}

.staff-image-wrap {
  width: 240px;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
}

.staff-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
}

.staff-image-placeholder {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f6f1ed;
  border: 2px dashed #d8c5ba;
  color: #8a7a70;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

@media screen and (max-width: 768px) {
  .staff-card {
    display: grid;
    grid-template-columns: 1fr 110px;
    grid-template-areas:
      "top image"
      "message message";
    column-gap: 16px;
    row-gap: 16px;
    padding: 24px 18px;
    align-items: start;
  }

  /* 2枚目の左右反転を解除 */
  .staff-card.reverse {
    flex-direction: row;
  }

  /* HTMLを変えずに中身をgridに参加させる */
  .staff-text {
    display: contents;
  }

  /* 名前・経歴・職歴ブロック */
  .staff-top {
    grid-area: top;
    display: block;
    margin-bottom: 0;
    min-width: 0;
  }

  /* バッジ＋名前経歴を横並び */
  .staff-profile {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 8px;
    min-width: 0;
    margin-bottom: 10px;
  }

  /* 名前＋経歴は縦並び */
  .staff-profile-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
  }

  .staff-badge {
    width: 42px;
    height: 42px;
    font-size: 12px;
    flex-shrink: 0;
    margin-bottom: 0;
  }

  .staff-name {
    font-size: 20px;
    line-height: 1.4;
    margin: 0 0 4px;
  }

  .staff-career {
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
  }

  .staff-history {
    font-size: 12px;
    line-height: 1.7;
    border-left: none;
    border-top: 1px solid #647869;
    padding-left: 0;
    padding-top: 10px;
    margin: 0;
  }

  .staff-history-detail-compact {
    font-size: inherit;
    letter-spacing: inherit;
    white-space: normal;
  }

  /* 右側画像 */
  .staff-image-wrap {
    grid-area: image;
    width: 110px;
  }

  .staff-image {
    width: 100%;
  }

  .staff-image-placeholder {
    font-size: 12px;
    text-align: center;
  }

  /* メッセージはカード幅いっぱい */
  .staff-message {
    grid-area: message;
    width: 100%;
    font-size: 14px;
    line-height: 1.8;
    margin: 0;
  }
}

/* =========================
  お問い合わせ
========================= */
.contact h2 {
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 32px;
  font-weight: 500;
  color: #647859;
  letter-spacing: 0.05em;
  transition: opacity 0.3s;
  margin-bottom: 40px;
}
.contact {
  background-color: #fce3ba;
  text-align: center;
  padding: 80px 20px 20px;
}

.contact p {
  margin-bottom: 12px;
}

.phone-number-image {
  width: 90%;
  margin: 0 auto;
  text-align: center;
}

.phone-image-sp {
  display: none;
}

.sp-only {
  display: none;
}

@media screen and (max-width: 768px) {
  .contact h2 {
    font-size: 24px;
    line-height: 1.5;
  }

  .sp-only {
    display: inline;
  }

  .phone-image-pc {
    display: none;
  }

  .phone-image-sp {
    display: block;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }
}

/* =========================
  FAQ
========================= */
.faq {
  background-color: #fce3ba;
  padding: 20px 20px 80px;
}

.faq h2 {
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 28px;
  font-weight: 500;
  text-align: center;
  margin-bottom: 40px;
  letter-spacing: 0.1em;
}

.faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background-color: #fff;
  border-radius: 0;
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
  font-size: 18px;
  font-weight: 500;
  color: #647869;
  cursor: pointer;
}

.faq-text {
  flex: 1;
  letter-spacing: 0.05em;
}

.faq-image {
  width: 44px;
  height: auto;
  flex-shrink: 0;
  position: relative;
  top: -3px;
}

.faq-icon {
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.5s ease;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
  background-color: #fffaf7;
}

.faq-answer p {
  letter-spacing: 0.05em;
  padding: 20px 28px 24px;
  font-size: 16px;
  line-height: 1.8;
  color: #647869;
  border-top: 1px solid #f3d9b8;
}

/* 開いたとき */
.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-icon::before {
  content: "＋";
}

.faq-item.active .faq-icon::before {
  content: "ー";
}

.faq-link {
  color: #ed7959;
  text-decoration: underline;
  font-weight: 500;
}

@media screen and (max-width: 768px) {
  .faq-item.active .faq-answer {
    max-height: 700px;
  }

  /* 質問全体の余白を縮める */
  .faq-question {
    padding: 18px 16px;
    gap: 10px;
  }

  /* テキストを1行に収める */
  .faq-text {
    font-size: 13px;          /* ← 少し小さく */
    white-space: normal;
    overflow: hidden;         /* ← はみ出し隠す */
    text-overflow: ellipsis;  /* ← … にする */
  }

  /* アイコン少し詰める */
  .faq-icon {
    margin-left: 8px;
    font-size: 24px;
  }

  .faq-image {
    width: 36px;
  }
}
/* =========================
  フッター
========================= */
.footer {
  background-color: #fffaf7;
  padding: 80px 20px 24px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
}

.footer-info {
  flex: 1;
  max-width: 520px;
}

.footer-top {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-logo img {
  width: 300px;
  height: auto;
}

.footer-instagram-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-instagram img {
  width: 42px;
  height: auto;
}

.instagram-text {
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 16px;
  color: #647869;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.instagram-text:hover {
  opacity: 0.7;
}

.footer-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 24px;
  row-gap: 18px;
}

.footer-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  height: 34px;
  padding: 0 16px;
  border-radius: 999px;
  background-color: #ed7959;
  color: #fff;
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
}

.footer-row p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: #647869;
  letter-spacing: 0.05em;
}

.footer-row a {
  color: inherit;
  text-decoration: none;
}

.footer-row a[href^="tel:"] {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-row a:hover {
  opacity: 0.7;
}

.footer-map {
  flex: 1;
  max-width: 520px;
}

.footer-map iframe {
  width: 100%;
  height: 300px;
  display: block;
  border: 0;
}

.footer-video {
  width: min(100%, 960px);
  aspect-ratio: 16 / 9;
  margin: 48px auto 0;
}

.footer-video iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.footer-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
  font-size: 12px;
}

.footer-link {
  color: #647869;
  text-decoration: underline;
  font-size: 12px;
}

.footer-link::after {
  content: "|";
  margin-left: 12px;
  color: #aaa;
}

.footer-copy {
  margin: 0;
  font-size: 12px;
  color: #647869;
}

.sp-only {
    display: inline;
}

@media screen and (max-width: 768px) {

  /* 全体余白 */
  .footer {
    padding: 56px 20px 24px;
  }

  /* 親を縦並び */
  .footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  /* グループを解体して並び替え可能に */
  .footer-info {
    display: contents;
  }

  .footer-top {
    display: contents;
  }

  /* ===== 順番制御 ===== */
  .footer-logo {
    order: 1;
    text-align: center;
  }

  .footer-map {
    order: 2;
    width: 100%;
  }

  .footer-details {
    order: 3;
    width: 100%;
  }

  .footer-instagram-wrap {
    order: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
  }

  /* ===== ロゴ ===== */
  .footer-logo img {
    width: 220px;
  }

  /* ===== 地図 ===== */
  .footer-map iframe {
    width: 100%;
    height: 220px;
  }

  .footer-video {
    margin-top: 32px;
  }

  /* ===== 詳細（住所など） ===== */
  .footer-details {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .footer-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
  }

  .footer-badge {
    min-width: 80px;
    height: 30px;
    font-size: 13px;
  }

  .footer-row p {
    font-size: 14px;
    line-height: 1.6;
  }

  /* ===== Instagram ===== */
  .footer-instagram img {
    width: 36px;
  }

  .instagram-text {
    font-size: 13px;
    text-align: center;
  }

  /* ===== 下部 ===== */
  .footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-top: 20px;
  }

  .footer-link {
    font-size: 14px;
  }

  .footer-link::after {
    display: none;
  }

  .footer-copy {
    font-size: 12px;
  }

  .sp-only {
    display: none;
  }
}

/* =========================
  採用情報
========================= */
.recruit {
  background-color: #fffaf7;
  padding: 80px 20px;
  letter-spacing: 0.05em;
}

.recruit-title {
  font-family: "Zen Maru Gothic", sans-serif;
}

.recruit h2 {
  font-size: 28px;
  font-weight: 500;
  color: #647869;
  text-align: center;
  margin-bottom: 20px;
}

.recruit-intro {
  font-size: 16px;
  line-height: 1.9;
  color: #647869;
  text-align: center;
  margin-bottom: 32px;
}

.recruit-nav {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.recruit-nav a {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 999px;
  background-color: #fce3ba;
  color: #647869;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.recruit-nav a:hover {
  opacity: 0.8;
}

.recruit-section {
  margin-bottom: 56px;
}

.recruit-section-title {
  font-size: 24px;
  font-weight: 600;
  color: #647869;
  margin-bottom: 24px;
  padding-left: 14px;
  border-left: 6px solid #ed7959;
}

.recruit-card {
  background-color: #ffffff;
  border-radius: 20px;
  padding: 28px 32px;
  margin-bottom: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.recruit-card h4 {
  font-size: 22px;
  font-weight: 600;
  color: #647869;
  margin-bottom: 24px;
  letter-spacing: 0.05em;
}

/* 募集要項・待遇ブロック */
.recruit-block {
  padding-top: 24px;
  border-top: 1px solid #f0d8d2;
}

.recruit-block:first-of-type {
  padding-top: 0;
  border-top: none;
}

.recruit-block + .recruit-block {
  margin-top: 28px;
}

.recruit-label {
  display: inline-block;
  background-color: #ed7959;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 14px;
  letter-spacing: 0.05em;
}

.recruit-card ul {
  margin: 0;
  padding-left: 1.2em;
}

.recruit-card li {
  color: #647869;
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 8px;
}

/* 補足 note */
.recruit-note {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.8;
  color: #647869;
  background-color: #fdeee8;
  padding: 14px 16px;
  border-radius: 12px;
}

/* サブボックス */
.recruit-subbox {
  margin-top: 20px;
  padding: 18px 20px;
  background-color: #fdeee8;
  border-radius: 14px;
}

.recruit-subtitle {
  font-size: 15px;
  font-weight: 700;
  color: #647869;
  margin-bottom: 10px;
}

.recruit-subbox ul {
  margin: 0;
  padding-left: 1.2em;
}

.recruit-subbox li {
  margin-bottom: 8px;
  line-height: 1.8;
}

/* 応募方法 */
.recruit-contact-text {
  color: #647869;
  font-size: 16px;
  line-height: 1.9;
  margin: 0;
}

.recruit-contact-lead {
  font-size: 16px;
  color: #647869;
  line-height: 1.9;
  margin-bottom: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.contact-label {
  background-color: #ed7959;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 999px;
  min-width: 90px;
  text-align: center;
}

.contact-item p {
  margin: 0;
  font-size: 15px;
  color: #647869;
  letter-spacing: 0.05em;
}

.contact-item a {
  color: inherit;
  text-decoration: none;
}

.contact-item a:hover {
  opacity: 0.7;
}

.contact-note {
  margin-top: 16px;
  font-size: 14px;
  color: #7b8b80;
  line-height: 1.8;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
  .recruit {
    padding: 64px 20px;
  }

  .recruit h2 {
    font-size: 26px;
  }

  .recruit-intro {
    text-align: center;
    font-size: 13px;
  }

  .recruit-section-title {
    font-size: 22px;
  }

  .recruit-card {
    padding: 24px 20px;
  }

  .recruit-card h4 {
    font-size: 20px;
  }

  .contact-item {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .contact-label {
    min-width: auto;
  }
}

/* =========================
  レスポンシブ
========================= */
/* =========================
  スマホ版ヘッダー
========================= */
@media screen and (max-width: 768px) {
  .header-inner {
    padding: 12px 20px;
    justify-content: space-between;
    flex-direction: row;
    align-items: center;
  }

  #logo img {
    width: 140px;
  }

  .hamburger {
    display: block;
  }

  .nav {
    display: none;
  }

  .header-contact-btn {
    display: none;
  }
}


/* 動き */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1.0s ease;
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0s;
}

.delay-2 {
  transition-delay: 0.5s;
}

.delay-3 {
  transition-delay: 1.0s;
}

/* ファーストビュー 動き */

@keyframes heroFadeLeft {
  0% {
    opacity: 0;
    transform: translate(-50%, calc(-50% + 30px)) scale(0.96);
  }
  60% {
    opacity: 1;
    transform: translate(-50%, calc(-50% - 6px)) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes heroFadeRight {
  0% {
    opacity: 0;
    transform: translate(-50%, calc(-50% + 20px)) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

/* ローディング画面 */
#loading {
  position: fixed;
  inset: 0;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  transition: opacity 0.8s ease;
}

/* ロゴ */
.loading-logo {
  width: 300px;
  opacity: 0;
  animation: logoFade 1.2s ease forwards;
}

/* ロゴふわっと表示 */
@keyframes logoFade {
  0% {
    opacity: 0;
    transform: translateY(10px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* フェードアウト用 */
#loading.fade-out {
  opacity: 0;
  pointer-events: none;
}

@media screen and (max-width: 768px) {
  .features,
  .flow,
  .staff,
  .contact,
  .faq {
    padding-top: 55px;
    padding-bottom: 56px;
  }

  .contact {
    padding-bottom: 20px;
  }

  .faq {
    padding-top: 20px;
  }
}

@media screen and (max-width: 768px) {
  .nav {
    display: block;
    position: fixed;
    top: 56px;
    left: 0;
    width: 100%;
    background-color: #fff;
    padding: 24px 20px;
    transform: translateY(-120%);
    transition: transform 0.3s ease;
    z-index: 9998;
  }

  .nav.open {
    transform: translateY(0);
  }

  .nav-list {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .nav-list a {
    font-size: 18px;
  }

  .hamburger.open span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
  }

  .hamburger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }

  .hamburger.open span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
  }

  .hamburger span {
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
}

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

  .nav-contact-btn {
    display: block;
    width: fit-content;
    margin: 24px auto 0;
    padding: 10px 24px;
    background-color: #ed7959;
    color: #fff;
    font-family: "Zen Maru Gothic", sans-serif;
    font-size: 16px;
    font-weight: 500;
    border-radius: 999px;
    letter-spacing: 0.1em;
  }
}

.hamburger span:nth-child(1) {
  background-color: #ed7959; /* 上 */
}

.hamburger span:nth-child(2) {
  background-color: #f19a95; /* 真ん中 */
}

.hamburger span:nth-child(3) {
  background-color: #f4a019; /* 下 */
}

.scroll-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 10;
  margin: 15px auto 20px;
}

.scroll-icon img {
  width: 25px;
  height: auto;
}

.page-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9999;
  width: 52px;
}

.page-top img {
  display: block;
  width: 90%;
  height: auto;
}
