:root {
  --section-max-width: 1000px;
  --section-padding-x: 24px;
}

/* 背景画像：全画面サイズで余白が出ないよう cover で統一 */
.bg-yellow {
  background-image: url("assets/bg-yellow.png");
  background-image: image-set(
    url("assets/bg-yellow.webp") type("image/webp"),
    url("assets/bg-yellow.png") type("image/png")
  );
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.bg-yellow-02 {
  background-image: url("assets/bg-yellow-02.png");
  background-image: image-set(
    url("assets/bg-yellow-02.webp") type("image/webp"),
    url("assets/bg-yellow-02.png") type("image/png")
  );
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.bg-yellow-bottom {
  background-image: url("assets/bg-yellow-bottom.png");
  background-image: image-set(
    url("assets/bg-yellow-bottom.webp") type("image/webp"),
    url("assets/bg-yellow-bottom.png") type("image/png")
  );
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
}

* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
               "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  background: #fff;
  color: #333;
  line-height: 1.6;
}

/* Header */
.header {
  padding: 20px var(--section-padding-x);
}
.header-inner {
  max-width: var(--section-max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.logo-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  min-width: 0;
}
.logo-link {
  display: block;
  line-height: 0;
  min-width: 0;
}
.logo-link picture {
  display: block;
  line-height: 0;
}
.logo-img {
  display: block;
  height: 40px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
.nav {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-shrink: 0;
}
.nav a {
  font-size: 14px;
  font-weight: 600;
  color: #4b5563;
  text-decoration: none;
  padding: 4px 8px;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
}
.nav a:hover {
  background: rgba(201, 162, 39, 0.08);
  color: #92400e;
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.nav-cta-primary {
  background: #c9a227;
  color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}
.nav-cta-primary:hover {
  background: #b8921f;
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}
.nav-cta-secondary {
  color: #c9a227;
  border: 2px solid #c9a227;
  background: transparent;
}
.nav-cta-secondary:hover {
  background: #fef9c7;
  color: #92400e;
}
@media (max-width: 768px) {
  .header-inner {
    justify-content: center;
  }
  .nav {
    display: none;
  }
}

/* スマホ用：下固定のLINE CTA */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px var(--section-padding-x);
  padding-bottom: max(12px, env(safe-area-inset-bottom));
  background: transparent;
  z-index: 100;
}
.sticky-cta-btn {
  display: block;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  text-align: center;
  background: #06c755;
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  padding: 14px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(6, 199, 85, 0.35);
  transition: background 0.2s, box-shadow 0.2s;
}
.sticky-cta-btn:hover {
  background: #05b34a;
  color: #fff;
  box-shadow: 0 6px 18px rgba(6, 199, 85, 0.4);
}
@media (min-width: 769px) {
  .sticky-cta {
    display: none !important;
  }
}
@media (max-width: 768px) {
  .sticky-cta {
    display: block;
  }
  .footer-cta {
    padding-bottom: 88px; /* セクション背景を固定ボタン手前まで伸ばす */
  }
}

/* Hero：スマホは640px幅・PCは1280px幅の画像を WebP 優先で表示 */
.hero {
  position: relative;
  background-image: url("assets/hero-bg.png");
  background-image: image-set(
    url("assets/hero-bg-1280.webp") type("image/webp"),
    url("assets/hero-bg.png") type("image/png")
  );
  background-size: cover;
  background-position: top;
  background-repeat: no-repeat;
  padding: 48px var(--section-padding-x) 100px;
}
@media (max-width: 768px) {
  .hero {
    background-image: url("assets/hero-bg-640.png");
    background-image: image-set(
      url("assets/hero-bg-640.webp") type("image/webp"),
      url("assets/hero-bg-640.png") type("image/png")
    );
  }
}
.hero-inner {
  max-width: var(--section-max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
}
.hero-content h1 {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 16px;
  color: #333;
}
.hero-content h1 .quote {
  font-weight: 700;
  color: #c9a227;
}
.hero-content .sub {
  font-size: 14px;
  color: #666;
  margin-bottom: 24px;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #c9a227;
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 24px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12), 0 2px 6px rgba(0,0,0,0.06);
  transition: background 0.2s, box-shadow 0.2s;
}
.btn-primary:hover {
  background: #b8921f;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15), 0 3px 8px rgba(0,0,0,0.08);
}
.btn-primary .chevron {
  width: 18px;
  height: 18px;
  opacity: 0.9;
}
.btn-primary.btn-right .chevron {
  transform: rotate(-90deg);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  color: #c9a227;
  background: transparent;
  border: 2px solid #c9a227;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.btn-secondary:hover {
  background: #fef9c7;
  color: #92400e;
}

/* Hero画像の上に浮かぶCTA（背景透過） */
.hero-cta-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 24px var(--section-padding-x) 32px;
  background: transparent;
  pointer-events: none;
}
.hero-cta-overlay .hero-cta-inner {
  pointer-events: auto;
  max-width: var(--section-max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.hero-cta-main {
  flex-shrink: 0;
}
.hero-cta-sub {
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .hero {
    padding-bottom: 180px; /* オーバーレイ（ボタン2つ）分の余白で文言と被らないように */
  }
  .hero-content {
    padding-bottom: 16px; /* 文言とオーバーレイの間を確保 */
  }
  .hero-cta-overlay {
    padding: 20px var(--section-padding-x) 28px;
  }
  .hero-cta-overlay .hero-cta-inner {
    flex-direction: column;
    gap: 10px;
  }
  .hero-cta-main,
  .hero-cta-sub {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }
}

/* Skills */
.section {
  padding: 56px var(--section-padding-x);
}
.section.skills {
  /* background via .bg-yellow */
}
.section-inner {
  max-width: var(--section-max-width);
  margin: 0 auto;
}
.section-title {
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 32px;
  color: #333;
  letter-spacing: 0.02em;
  line-height: 1.4;
  position: relative;
  padding-bottom: 16px;
}
.section-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 56px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, #c9a227 25%, #c9a227 75%, transparent);
  opacity: 0.9;
}
.section-lead {
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  color: #6b7280;
  line-height: 1.65;
  margin: 0 auto 32px;
  max-width: 520px;
  letter-spacing: 0.02em;
}
.skill-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.skill-card {
  display: flex;
  flex-direction: column;
}
.skill-card-border {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
}
.skill-card-head {
  background: #fef9c7;
  padding: 16px 18px;
  border-radius: 12px 12px 0 0;
}
.skill-card-head h3 {
  font-size: 15px;
  font-weight: 700;
  margin: 0;
  color: #333;
  line-height: 1.4;
}
.skill-card-body {
  background: #fffde7;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 0 0 12px 12px;
}
.skill-card-body p {
  font-size: 13px;
  color: #5c5c5c;
  margin: 0;
  line-height: 1.5;
  flex: 1;
  min-width: 0;
}
.skill-card-body .arrow {
  width: 22px;
  height: 22px;
  color: #c9a227;
  flex-shrink: 0;
}
.skill-card-example {
  display: block;
  font-size: 12px;
  color: #78716c;
  margin-top: 6px;
}

/* こんな人におすすめ */
.recommend-section {
  padding: 48px var(--section-padding-x) 56px;
}
.recommend-section .section-title {
  margin-bottom: 12px;
}
.recommend-lead {
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  color: #6b7280;
  line-height: 1.65;
  margin: 0 auto 28px;
  max-width: 400px;
  letter-spacing: 0.02em;
}
.recommend-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: var(--section-max-width);
  margin-left: auto;
  margin-right: auto;
  display: grid;
  gap: 16px;
}
.recommend-list li {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 72px;
  padding: 18px 20px 18px 56px;
  font-size: 15px;
  font-weight: 500;
  color: #333;
  line-height: 1.55;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06), 0 1px 4px rgba(0,0,0,0.04);
  border-left: 4px solid #c9a227;
  transition: box-shadow 0.2s, transform 0.2s;
}
.recommend-list li:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.05);
  transform: translateY(-2px);
}
.recommend-list li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fef9c7;
  border: 2px solid #c9a227;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b45309' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 14px 14px;
  background-position: center;
  background-repeat: no-repeat;
  flex-shrink: 0;
}
@media (min-width: 769px) {
  .recommend-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .recommend-list li {
    min-height: 80px;
    padding: 22px 24px 22px 60px;
    font-size: 15px;
  }
  .recommend-list li::before {
    left: 20px;
    width: 32px;
    height: 32px;
    background-size: 16px 16px;
  }
}

/* Experience */
.experience {
  padding: 56px var(--section-padding-x);
}
.experience-wrap {
  max-width: var(--section-max-width);
  margin: 0 auto;
}
.experience-nav {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
  padding: 0 8px;
}
.experience-nav.experience-nav--visible {
  display: flex;
}
.experience-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 2px solid #c9a227;
  border-radius: 50%;
  background: #fefce8;
  color: #b45309;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.experience-nav-btn:hover {
  background: #fef9c7;
  color: #92400e;
}
.experience-nav-btn:focus-visible {
  outline: 2px solid #c9a227;
  outline-offset: 2px;
}
.experience-slider {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  gap: 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.experience-slider::-webkit-scrollbar {
  display: none;
}
.experience-slider .experience-inner {
  flex: 0 0 100%;
  min-width: 100%;
  max-width: var(--section-max-width);
  margin: 0 auto;
  box-sizing: border-box;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
}
@media (max-width: 768px) {
  .experience-slider .experience-inner {
    grid-template-columns: 1fr;
  }
  .experience-slider .experience-inner .text-block { order: 1; }
  .experience-slider .experience-inner .video-wrap { order: 2; }
}
.experience .section-tag {
  font-size: 18px;
  font-weight: 700;
  color: #c9a227;
  margin-bottom: 12px;
}
.experience h2 {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.45;
  margin: 0 0 24px;
  color: #333;
}
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: #5c5346;
  margin-bottom: 12px;
}
.check-list li span {
  border-bottom: 1px solid #d4c4a8;
  padding-bottom: 2px;
}
.check-list li::before {
  content: "";
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border: 1.5px solid #c9a227;
  border-radius: 50%;
  background: #fef9c7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23b8921f'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center/12px 10px no-repeat;
}
.video-placeholder {
  aspect-ratio: 16/9;
  background: #e8e4dc;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}
.video-placeholder--embed iframe,
.video-placeholder video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 12px;
}
.video-placeholder video {
  object-fit: contain;
  background: #000;
}
.video-placeholder picture {
  display: block;
  width: 100%;
  height: 100%;
}
.video-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-placeholder .play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.2);
}
.video-placeholder .play-btn::after {
  content: "";
  width: 64px;
  height: 64px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  clip-path: polygon(36% 26%, 36% 74%, 72% 50%);
  margin-left: 6px;
}

/* Minus section */
.minus-section {
  padding: 56px var(--section-padding-x);
  /* background via .bg-yellow */
}
.minus-inner {
  max-width: var(--section-max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
}
.minus-section .img-wrap {
  position: relative;
  overflow: hidden;
}
.minus-section .img-wrap::before,
.minus-section .img-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 10%;
  max-width: 48px;
  z-index: 1;
  pointer-events: none;
}
.minus-section .img-wrap::before {
  left: 0;
  background: linear-gradient(to right, #f5f0e8 0%, transparent 100%);
}
.minus-section .img-wrap::after {
  right: 0;
  background: linear-gradient(to left, #f5f0e8 0%, transparent 100%);
}
.minus-section .img-wrap picture {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
}
.minus-section .minus-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 8%, black 100%);
  -webkit-mask-size: 100% 100%;
  mask-image: linear-gradient(to bottom, transparent 0%, black 8%, black 100%);
  mask-size: 100% 100%;
}
.minus-section h2 {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  margin: 0 0 20px;
  color: #333;
}
.minus-section h2 .quote {
  color: #c9a227;
  font-weight: 700;
}
.minus-section .desc {
  font-size: 15px;
  color: #555;
  line-height: 1.85;
  margin: 0;
}
.minus-section .ceo-name {
  display: block;
  margin-left: auto;
  margin-top: 24px;
  height: 48px;
  width: auto;
  object-fit: contain;
}

/* How to use experience */
.how-section {
  padding: 56px 24px;
}
.how-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: var(--section-max-width);
  margin: 0 auto;
}
.how-card {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.2s;
}
.how-card:hover {
  transform: translateY(-4px);
}
.how-card-border {
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
}
.how-card picture {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
}
.how-card .thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.how-card .label {
  padding: 16px;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.how-card .label .arrow {
  width: 18px;
  height: 18px;
  color: #c9a227;
}

/* 相談の流れ */
.flow-section {
  padding: 56px var(--section-padding-x) 64px;
}
.flow-section .section-title {
  margin-bottom: 36px;
}
.flow-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: var(--section-max-width);
  margin-left: auto;
  margin-right: auto;
}
.flow-step {
  position: relative;
  text-align: center;
  padding: 28px 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06), 0 1px 4px rgba(0,0,0,0.04);
  border-top: 4px solid #c9a227;
  transition: box-shadow 0.2s, transform 0.2s;
}
.flow-step:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.05);
  transform: translateY(-2px);
}
.flow-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(145deg, #d4af37 0%, #b8921f 100%);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 14px;
  box-shadow: 0 2px 8px rgba(201, 162, 39, 0.35);
}
.flow-step-label {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
  line-height: 1.35;
}
.flow-step-desc {
  font-size: 13px;
  color: #5c5346;
  line-height: 1.55;
  margin: 0;
}
@media (max-width: 768px) {
  .flow-steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .flow-step {
    padding: 22px 20px;
    text-align: left;
    display: grid;
    grid-template-columns: 44px 1fr;
    grid-template-rows: auto auto;
    gap: 0 16px;
  }
  .flow-step-num {
    grid-row: 1 / 3;
    margin-bottom: 0;
    margin-right: 0;
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
  .flow-step-label {
    margin-bottom: 6px;
  }
}

/* 最終CTA（ページ末尾） */
.final-cta {
  max-width: var(--section-max-width);
  margin: 0 auto;
  padding: 40px 0 0;
  text-align: center;
}
.final-cta-text {
  font-size: 18px;
  font-weight: 700;
  color: #333;
  margin: 0 0 8px;
}
.final-cta-sub {
  font-size: 14px;
  font-weight: 500;
  color: #6b7280;
  line-height: 1.65;
  letter-spacing: 0.02em;
  margin: 0 0 20px;
}
.final-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.final-cta-buttons .btn-primary,
.final-cta-buttons .btn-secondary {
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .final-cta {
    padding-top: 32px;
  }
  .final-cta-text {
    font-size: 16px;
    margin-bottom: 16px;
  }
  .final-cta-buttons {
    flex-direction: column;
    gap: 10px;
  }
  .final-cta-buttons .btn-primary,
.final-cta-buttons .btn-secondary {
  width: 100%;
  max-width: 320px;
  justify-content: center;
  }
}

/* 運営者・得意領域（LP内要約） */
.company-summary {
  max-width: var(--section-max-width);
  margin: 0 auto;
  padding: 28px 0 0;
}
.company-summary-inner {
  background: #fff;
  border-radius: 12px;
  padding: 24px 28px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06), 0 1px 4px rgba(0,0,0,0.04);
  border-left: 4px solid #c9a227;
}
.company-summary-title {
  font-size: 15px;
  font-weight: 700;
  color: #333;
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f0ebe0;
}
.company-summary-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  font-size: 14px;
  color: #5c5346;
  line-height: 1.65;
}
.company-summary-list li {
  position: relative;
  padding-left: 1.35em;
  margin-bottom: 6px;
}
.company-summary-list li:last-child {
  margin-bottom: 0;
}
.company-summary-note {
  font-size: 12px;
  color: #666;
  line-height: 1.6;
  margin: 0 0 16px;
  padding: 10px 0 0;
  border-top: 1px solid #eee;
}
.company-summary-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #c9a227;
}
.company-summary-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #c9a227;
  font-weight: 600;
  text-decoration: none;
  padding: 8px 14px;
  border: 2px solid #c9a227;
  border-radius: 8px;
  background: transparent;
  transition: background 0.2s, color 0.2s;
}
.company-summary-link:hover {
  background: #fef9c7;
  color: #92400e;
}

/* Footer */
.footer-cta {
  /* background via .bg-yellow */
  padding: 56px var(--section-padding-x);
}
.footer-inner {
  max-width: var(--section-max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 48px;
}
.footer-cta .main-text {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #333;
}
.footer-cta .check-list {
  margin-bottom: 0;
}
.footer-links {
  max-width: var(--section-max-width);
  margin: 0 auto;
  display: flex;
  gap: 24px;
  padding: 24px var(--section-padding-x);
  justify-content: center;
  font-size: 13px;
  color: #8a7f6d;
  border-top: 1px solid #e8e4dc;
}
.footer-links a {
  color: #8a7f6d;
  text-decoration: none;
}
.footer-links a:hover {
  color: #c9a227;
}

@media (max-width: 768px) {
  .hero-inner,
  .experience-inner,
  .minus-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content {
    order: 2;
    text-align: left;
  }
  .hero-image-wrap { order: 1; }
  .skill-cards {
    grid-template-columns: 1fr;
  }
  .how-cards {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .experience-inner .text-block,
  .minus-inner .text-block {
    order: 1;
    text-align: left;
  }
  .experience-inner .video-wrap,
  .minus-inner .img-wrap {
    order: 2;
  }
  .footer-cta .main-text,
  .footer-cta .check-list {
    text-align: left;
  }
}

/* メイドキャリア診断 */
.diagnosis-section {
  padding: 56px var(--section-padding-x);
}
.diagnosis-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  align-items: flex-start;
}
.diagnosis-layout.has-result {
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
}
.diagnosis-form {
  background: #fff;
  border-radius: 12px;
  padding: 24px 20px 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}
.diagnosis-progress {
  margin-bottom: 16px;
}
.diagnosis-progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 6px;
}
.diagnosis-progress-bar {
  width: 100%;
  height: 6px;
  background: #f3f4f6;
  border-radius: 999px;
  overflow: hidden;
}
.diagnosis-progress-bar-inner {
  height: 100%;
  background: linear-gradient(90deg, #facc15, #c9a227);
  border-radius: inherit;
  transition: width 0.25s ease;
}
.diagnosis-card {
  margin-bottom: 8px;
}
.diagnosis-q {
  font-size: 15px;
  font-weight: 600;
  color: #333;
  margin: 0 0 12px;
}
.diagnosis-options {
  display: grid;
  gap: 8px;
}
.diagnosis-options label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  font-size: 14px;
  color: #374151;
  background: #f9fafb;
  cursor: pointer;
}
.diagnosis-options label:hover {
  border-color: #c9a227;
  background: #fffbeb;
}
.diagnosis-options input[type="radio"] {
  width: 16px;
  height: 16px;
  accent-color: #c9a227;
  flex-shrink: 0;
}
.diagnosis-actions {
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.diagnosis-actions .btn-primary,
.diagnosis-actions .btn-secondary {
  flex: 1;
  justify-content: center;
}
.diagnosis-actions .btn-secondary[disabled] {
  opacity: 0.6;
  cursor: default;
}
.diagnosis-error {
  margin: 8px 2px 0;
  font-size: 13px;
  color: #b91c1c;
}
.diagnosis-result {
  background: #fffbeb;
  border-radius: 12px;
  padding: 20px 20px 22px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}
.diagnosis-result-label {
  font-size: 13px;
  font-weight: 600;
  color: #92400e;
  margin: 0 0 4px;
}
.diagnosis-result-type {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 8px;
  color: #78350f;
}
.diagnosis-result-body p {
  margin: 0 0 4px;
  font-size: 14px;
  color: #78350f;
}
.diagnosis-result-body p:last-child {
  margin-bottom: 0;
}
.diagnosis-detail-block {
  margin-top: 12px;
}
.diagnosis-detail-label {
  font-size: 13px;
  font-weight: 600;
  color: #92400e;
  margin: 0 0 4px;
}
.diagnosis-detail-list {
  list-style: none;
  padding: 0;
  margin: 0 0 4px;
}
.diagnosis-detail-list li {
  font-size: 13px;
  color: #78350f;
  line-height: 1.6;
}
.diagnosis-line-block {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px dashed rgba(148, 92, 14, 0.35);
}
.diagnosis-line-lead {
  font-size: 13px;
  color: #92400e;
  line-height: 1.7;
  margin: 0 0 10px;
}
.diagnosis-line-lead span {
  font-weight: 700;
}
.diagnosis-line-btn {
  width: 100%;
  justify-content: center;
  background: #06c755;
  box-shadow: 0 4px 14px rgba(6, 199, 85, 0.35);
}
.diagnosis-line-btn:hover {
  background: #05b34a;
}

.diagnosis-oc-block {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px dashed rgba(148, 92, 14, 0.2);
}
.diagnosis-oc-lead {
  font-size: 13px;
  color: #78350f;
  margin: 0 0 4px;
}
.diagnosis-oc-text {
  font-size: 12px;
  color: #92400e;
  margin: 0 0 10px;
  line-height: 1.6;
}
.diagnosis-oc-btn {
  width: 100%;
  justify-content: center;
  border-color: #06c755;
  color: #047857;
}
.diagnosis-oc-btn:hover {
  background: rgba(6, 199, 85, 0.06);
}

@media (max-width: 1024px) {
  .diagnosis-layout,
  .diagnosis-layout.has-result {
    grid-template-columns: minmax(0, 1fr);
  }
  .diagnosis-result {
    margin-top: 16px;
  }
}
@media (max-width: 768px) {
  .diagnosis-section {
    padding: 40px var(--section-padding-x);
  }
}

/* 診断結果モーダル用（スマホ時のみ） */
.diagnosis-modal-close {
  display: none;
  position: absolute;
  top: 10px;
  right: 10px;
  border: none;
  background: transparent;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  color: #9a3412;
}

@media (max-width: 768px) {
  body.show-diagnosis-modal {
    overflow: hidden;
  }
  body.show-diagnosis-modal::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    z-index: 190;
  }
  body.show-diagnosis-modal .diagnosis-result {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 40px);
    max-width: 420px;
    max-height: calc(100% - 80px);
    overflow-y: auto;
    z-index: 200;
    background: #ffffff;
    border: 2px solid rgba(201, 162, 39, 0.85);
    box-shadow:
      0 18px 45px rgba(0, 0, 0, 0.35),
      0 0 0 1px rgba(254, 243, 199, 0.9);
  }
  body.show-diagnosis-modal .diagnosis-modal-close {
    display: block;
  }
}
