:root {
  --green: #64d57a;
  --green-deep: #42b862;
  --green-soft: #eaf8ed;
  --blue: #5f8fb4;
  --blue-deep: #49799f;
  --gray-bg: #f5f5f3;
  --text: #3f3740;
  --subtext: #5f6b74;
  --line: #d8ddd8;
  --white: #ffffff;
  --shadow: 0 18px 40px rgba(35, 53, 42, 0.08);
  --radius-lg: 28px;
  --radius-md: 18px;
  --container: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  color: var(--text);
  background: var(--gray-bg);
  line-height: 1.7;
  background-image:url(../img/bg_mitsuba2.png);
}
/* ===== 見出しだけ丸ゴシックに変更 ===== */
h1, h2, h3, .section-title, .hero-main, .hero-subtitle, .intro-badge, .reason-title, .step-card h3 {
  font-family: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", "Yu Gothic", sans-serif;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}
.section { padding: 88px 0; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 22px 5px 22px;
  margin-bottom: 1em;
  border-radius: 999px;
  font-size: clamp(18px, 2.6vw, 32px);
  font-weight: 700;
  background: rgba(255,255,255,0.22);
  color: var(--white);
}
.section-title {
  margin: 0 0 18px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.4;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.section-title.small {
  font-size: clamp(23px, 3vw, 40px);
  text-align: center;
}
.section-lead {
  margin: 0;
  font-size: clamp(16px, 1.8vw, 20px);
}
.hero {
  position: relative;
  overflow: hidden;
  padding: 28px 0 120px;
  background:
    radial-gradient(circle at 20% 10%, rgba(255,255,255,0.18), transparent 28%),
    radial-gradient(circle at 85% 15%, rgba(255,255,255,0.12), transparent 24%),
    linear-gradient(180deg, #6cda80 0%, var(--green) 100%);
  color: var(--white);
}
.hero::after {
  content: "";
  position: absolute;
  left: -5%;
  right: -5%;
  bottom: -75px;
  height: 170px;
  background: var(--gray-bg);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 42px;
  color: #333;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(16px, 2.6vw, 22px);
  font-weight: 800;
}
.brand-mark {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.14);
  font-size: 20px;
}
.header-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform .2s ease, background-color .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--white);
  color: var(--green-deep);
  box-shadow: var(--shadow);
}
.btn-secondary {
  border: 1.5px solid rgba(255,255,255,0.48);
  color: var(--white);
  background: transparent;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-copy { max-width: 760px; }
.hero-subtitle {
  margin: 22px 0 10px;
  font-size: clamp(20px, 2.6vw, 36px);
  font-weight: 800;
  letter-spacing: 0.02em;
}
.hero-main {
  margin: 0;
  font-size: clamp(44px, 7vw, 76px);
  line-height: 1.02;
  font-weight: 900;
}
.hero-main .small {
  display: block;
  margin-bottom: 10px;
  font-size: clamp(28px, 3.7vw, 48px);
}
.hero-main .small.xs{
  margin: 20px auto 20px;
  font-size: clamp(28px, 3.7vw, 32px);
  font-weight: normal;
}
.hero-lead {
  margin: 20px 0 28px;
  font-size: clamp(17px, 2vw, 24px);
  font-weight: 700;
}
.tag-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3列にして2段に収める */
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tag-list li {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 8px;
  border-radius: 999px;
  background: var(--blue);
  color: var(--white);
  font-weight: 700;
  font-size: clamp(18px, 1.4vw, 18px);
  box-shadow: 0 10px 24px rgba(43, 78, 110, 0.14);
  text-align: center;
  white-space: nowrap; /* ←改行させない */
}
br.sp{
  display: none;
}
br.pc{
  display: inline;
}
.footer-actions{
  display: none;
}
@media (max-width: 767px) {
  .tag-list {
    grid-template-columns: repeat(2, 1fr);
  }
  br.sp{
    display: inline;
  }
  br.pc{
    display: none;
  }
  .eyebrow {
    display: block;
    text-align: center;
    font-size: clamp(18px, 2.6vw, 32px);
  }
  .header-actions{
    display: none;
  }
  .footer-actions {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    gap: 10px;
    z-index: 9999;
    padding: 10px;
    background: rgba(255, 255, 255, 1);
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    opacity: 0;
    transform: translateY(16px);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .footer-actions.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .footer-actions .btn {
    flex: 1;
    min-height: 52px;
    padding: 0 12px;
    font-size: 14px;
    line-height: 1.3;
    text-align: center;
    border-radius: 999px;
  }

  .footer-actions .btn-secondary {
    background: #eef5fa;
    color: var(--blue-deep);
    border: 1px solid #c9dcea;
  }

  .footer-actions .btn-primary {
    background: linear-gradient(180deg, #ffe678 0%, #f4d94f 100%);
    color: #3f3740;
    font-weight: 800;
    box-shadow: 0 6px 16px rgba(244, 217, 79, 0.35);
  }

  body {
    padding-bottom: 92px;
  }
}
.hero-card {
  position: relative;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.26);
  border-radius: 34px;
  padding: 28px;
  backdrop-filter: blur(4px);
  box-shadow: var(--shadow);
}
.hero-card-inner {
  padding: 26px;
  border-radius: 28px;
  background: rgba(255,255,255,0.95);
  color: var(--text);
}
.hero-card h2 {
  margin: 0 0 14px;
  font-size: clamp(20px, 2.5vw, 29px);
  line-height: 1.25;
  color: var(--text);
}
.hero-card p {
  margin: 0 0 18px;
  color: var(--subtext);
}
.hero-points {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.hero-points li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: 16px;
  background: var(--green-soft);
  font-weight: 700;
  font-size: clamp(16px, 1.4vw, 18px);
}
.hero-points li span.txt{
  line-height: 2;
}
.hero-points .icon,
.reason-icon,
.contact-icon {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 18px;
  background: var(--white);
}
.intro {
  position: relative;
  z-index: 1;
  margin-top: -24px;
}
.intro-card {
  background: var(--white);
  border-radius: 36px;
  padding: 48px;
  box-shadow: var(--shadow);
  text-align: center;
}
.intro-badge {
  display: inline-block;
  margin-bottom: 16px;
  color: #2ea9aa;
  font-size: clamp(28px, 3vw, 46px);
  font-weight: 900;
  letter-spacing: 0.03em;
}
.intro-card p {
  max-width: 860px;
  margin: 0 auto;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
}
.seo-intro {
  padding-top: 40px;
  padding-bottom: 24px;
}
.seo-intro-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.seo-note {
  margin-top: 18px;
  font-size: clamp(16px, 1.8vw, 20px);
}
.reasons { padding-top: 40px; }
.reason-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.reason-card {
  background: var(--white);
  border-radius: 32px 32px 24px 24px;
  padding: 32px 28px 28px;
  box-shadow: var(--shadow);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.reason-card > * { position: relative; z-index: 1; }
.reason-icon {
  width: 100%;
  height: auto;
  margin: 0 auto 18px;
  font-size: 42px;
}
.reason-title {
  margin: 0 0 12px;
  color: var(--blue-deep);
  font-size: clamp(19px, 2vw, 30px);
  font-weight: 800;
  line-height: 1.35;
}
.reason-text {
  margin: 0;
  color: var(--subtext);
  font-size: 16px;
}
.support-box {
  margin-top: 34px;
  padding: 30px 34px;
  border-radius: 28px;
  background: #fffdfc;
  border: 1px solid #ece5dc;
  box-shadow: var(--shadow);
  text-align: center;
}
.support-box p {
  margin: 0;
  font-size: clamp(19px, 2vw, 25px);
  font-weight: 800;
  line-height: 1.7;
}
@media (max-width: 767px) {
  .support-box p{
    text-align: left;
  }

}
.support-subtext {
  margin-top: 18px;
  text-align: center;
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 700;
  color: var(--text);
}
.assurance {
  background: linear-gradient(180deg, #f9fcfa 0%, #eef8f0 100%);
}
.assurance-banner {
  margin: 0 auto 32px;
  max-width: 980px;
  padding: 22px 28px;
  border-radius: 999px;
  text-align: center;
  background: var(--green);
  color: var(--white);
  font-size: clamp(20px, 2.2vw, 36px);
  font-weight: 900;
  box-shadow: var(--shadow);
}
.flow-head {
  text-align: center;
  margin-bottom: 36px;
}
.flow-head p {
  margin: 12px 0 0;
  font-size: clamp(18px, 1.8vw, 24px);
  font-weight: 700;
  color: #2ea9aa;
}
.step-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}
.step-card {
  position: relative;
  background: var(--white);
  border: 2px solid #5b5356;
  border-radius: 18px;
  padding: 26px 22px 22px;
  text-align: center;
  box-shadow: var(--shadow);
}
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: #2ea9aa;
  color: var(--white);
  font-size: 38px;
  font-weight: 800;
}
.step-card h3 {
  margin: 0 0 10px;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.4;
}
.step-card p {
  margin: 0;
  color: var(--subtext);
}
.step-arrow { display: none; }
.contact {
  background: var(--blue);
  color: var(--white);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}
.contact-card,
.info-card {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 30px;
  padding: 32px;
  box-shadow: var(--shadow);
}
.contact-card h2,
.info-card h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.2;
}
.contact-card p,
.info-card p,
.info-card li {
  margin: 0;
  color: rgba(255,255,255,0.92);
}
.contact-list {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.contact-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 18px;
  background: #134166;
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 800;
}
.contact-icon {
  width: 44px;
  height: 44px;
  font-size: 22px;
  background: rgba(255,255,255,0.18);
}
.mini-note {
  margin-top: 20px;
  font-size: 14px;
  color: rgba(255,255,255,0.82);
}
.info-list {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.info-list li {
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.18);
}
.info-label {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
  font-weight: 700;
  color: rgba(255,255,255,0.72);
  letter-spacing: 0.05em;
}
.footer {
  padding: 18px 0 28px;
  background: #4f7a9d;
  color: rgba(255,255,255,0.9);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-brand {
  font-weight: 800;
  font-size: 20px;
}
.footer-seo {
  margin-top: 8px;
  font-size: 14px;
  color: rgba(255,255,255,0.82);
}
@media (max-width: 1080px) {
  .hero-grid,
  .contact-grid,
  .reason-grid,
  .step-grid {
    grid-template-columns: 1fr;
  }
  .hero { padding-bottom: 96px; }
  .hero-card { max-width: 760px; }
  .reason-grid { gap: 18px; }
}
@media (max-width: 767px) {
  .section { padding: 64px 0; }
  .site-header {
    margin-bottom: 26px;
    align-items: flex-start;
    flex-direction: column;
  }
  .header-actions { width: 100%; }
  .header-actions .btn { flex: 1 1 100%; }
  .hero {
    padding-top: 20px;
    padding-bottom: 76px;
  }
  .hero::after {
    bottom: -50px;
    height: 120px;
  }
  .hero-main .small { margin-bottom: 8px; }
  .hero-lead { margin-bottom: 22px; }
  .tag-list { gap: 10px; }
  .tag-list li {
    width: 100%;
    text-align: center;
  }
  .hero-card,
  .intro-card,
  .reason-card,
  .support-box,
  .contact-card,
  .info-card {
    padding: 24px;
  }
  .intro { margin-top: -10px; }
  .intro-badge { line-height: 1.3; }
  .assurance-banner {
    border-radius: 24px;
    padding: 18px 20px;
  }
  .step-grid { gap: 14px; }
  .step-arrow {
    display: block;
    text-align: center;
    font-size: 28px;
    color: var(--blue);
    font-weight: 900;
  }
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
