:root {
  --main-color: #007ACC;
  --base-color: #FFFFFF;
  --sub-color: #F5F7FA;
  --text-color: #1A2E45;
  --accent1-color: #00A886;
  --accent2-color: #D94F3A;
}

/* 以降、各要素のスタイルでこれらの変数を使用できます */

html, body {
  overflow-x: hidden;
}

body {
  font-family: 'Noto Sans JP', 'Yu Gothic', 'Meiryo', sans-serif;
  color: var(--text-color);
  background: var(--base-color);
  margin: 0;
  padding: 0;
}

.lp-header {
  background: #fff;
  padding: 12px 0 8px 0;
  text-align: left;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.lp-header__logo {
  margin-right: auto;
  width: 900px;
}
.lp-header__logo img {
  height: 40px;

}
.lp-header__catch img {
  margin-top: 12px;
  max-width: 90vw;
  height: auto;
}

.lp-cta-section {
  padding: 0;
  margin: 0;
}
.lp-cta-bg {
  width: 100%;
  height: 100px;
  background: var(--main-color);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  margin: 0;
}
.lp-cta-bg {
  width: 100%;
  height: 100px;
  background: var(--main-color);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  margin: 0;
}

.lp-btn.lp-btn--cta {
  width: 420px;
  height: 75px;
  border-radius: 50px;
  background: linear-gradient(90deg, #FFB347 0%, #FF7F00 100%);
  color: #fff;
  font-size: 25px;
  font-weight: bold;
  text-align: center;
  line-height: 75px;
  box-shadow: 0 2px 2px rgba(0,0,0,0.25);
  text-shadow: 0 2px 2px rgba(0,0,0,0.25);
  border: none;
  display: inline-block;
  transition: transform 0.15s cubic-bezier(.4,1.3,.7,1), opacity 0.2s;
  cursor: pointer;
  padding: 0;
  position: relative;
  overflow: hidden;
}

.lp-btn.lp-btn--cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -30%;
  width: 30%;
  height: 200%;
  background: rgba(255,255,255,0.6);
  transform: rotate(25deg);
  pointer-events: none;
  animation: cta-shine 2.5s infinite;
}

@keyframes cta-shine {
  0% {
    left: -30%;
    opacity: 0;
  }
  60% {
    left: 110%;
    opacity: 0.7;
  }
  100% {
    left: 110%;
    opacity: 0;
  }
}

.lp-btn.lp-btn--cta:hover {
  transform: scale(0.95);
  opacity: 0.85;
}

.lp-btn {
  display: inline-block;
  font-size: 1.1rem;
  font-weight: bold;
  padding: 16px 36px;
  border-radius: 32px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
}
.lp-btn--main {
  background: var(--main-color);
  color: #fff;
}
.lp-btn--main:hover {
  background: var(--accent1-color);
}
.lp-btn--accent {
  background: var(--accent2-color);
  color: #fff;
  border: none;
}
.lp-btn--accent:hover {
  background: var(--main-color);
}

.lp-section,
.lp-full-bg,
.lp-block {
  margin: 0;
  padding: 40px 0;
}

.lp-section h2 {
  color: #1A2E45;
  font-size: 2.5rem;
  margin-bottom: 20px;
  text-align: center;
}

.lp-section--checklist {
  background: var(--base-color);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  margin-top: 0;
}
.lp-illust {
  display: block;
  margin: 0 auto 16px auto;
  max-width: 180px;
}
.lp-checklist {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 350px;
}
.lp-checklist li {
  background: var(--sub-color);
  border-left: 6px solid var(--main-color);
  margin-bottom: 10px;
  padding: 10px 16px;
  border-radius: 6px;
  font-size: 1rem;
}

.lp-reasons {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
}
.lp-reason {
  background: var(--main-color);
  color: #fff;
  border-radius: 12px;
  padding: 18px 20px;
  font-weight: bold;
  text-align: center;
  min-width: 120px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.lp-service-points {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}
.lp-service-point {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  padding: 18px 12px 10px 12px;
  text-align: center;
  width: 800px;
  max-width: 90vw;
}
.lp-service-point img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin-bottom: 8px;
}

.lp-flow {
  display: flex;
  justify-content: center;
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.lp-flow li {
  background: var(--main-color);
  color: #fff;
  border-radius: 50%;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.lp-voices {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}
.lp-voice {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  padding: 16px 10px 10px 10px;
  text-align: center;
  width: 180px;
}
.lp-voice img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 8px;
}



.lp-footer {
  background: var(--main-color);
  color: #fff;
  text-align: center;
  padding: 18px 0 18px 0;
}

.lp-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.lp-block {
  background: var(--sub-color);
  margin-bottom: 32px;
  padding: 32px 0 24px 0;
}
.lp-block h3 {
  color: var(--main-color);
  text-align: center;
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.lp-block--support {
  background: var(--sub-color);
}
.lp-block--voice {
  background: #fff;
}
.lp-block--flow {
  background: var(--sub-color);
}

.lp-note {
  background: var(--accent1-color);
  color: #fff;
  border-radius: 10px;
  padding: 18px 16px;
  margin: 28px auto 0 auto;
  max-width: 500px;
  text-align: center;
  font-weight: bold;
  font-size: 1.05rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.lp-hero {
  position: relative;
  overflow: hidden;
  min-height: unset;
  padding: 0;
}
.lp-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.lp-hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.lp-hero > .lp-inner {
  position: relative;
  z-index: 1;
  padding-top: 32px;
  padding-bottom: 32px;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lp-checklist-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.05;
  z-index: 0;
  pointer-events: none;
}
.lp-checklist-flex {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lp-checklist-title {
  font-size: 40px;
  color: #1A2E45;
  text-align: center;
  margin-bottom: 32px;
  font-weight: bold;
}
.lp-checklist-title-accent {
  color: var(--accent2-color);
}
.lp-checklist-content {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 40px;
  width: 100%;
  max-width: 1100px;
}
.lp-checklist-illust img {
  height: 80%;
  width: auto;
  max-height: 320px;
  min-height: 60px;
  display: block;
}
.lp-checklist-listbox {
  background: var(--sub-color);
  border: 1px solid #E0E4EA;
  border-radius: 17px;
  padding: 32px 32px 32px 40px;
  box-sizing: border-box;
  min-width: 440px;
  max-width: 600px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.lp-checklist-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.lp-checklist-list li {
  position: relative;
  font-size: 20px;
  color: var(--text-color);
  margin-bottom: 15px;
  letter-spacing: 0.05em;
  padding-left: 2.2em;
  line-height: 1.4;
}
.lp-checklist-list li::before {
  content: "✓";
  color: var(--accent2-color);
  font-size: 28px;
  position: absolute;
  left: 0.2em;
  top: 0;
  font-weight: bold;
}

.lp-solution-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.14;
  z-index: 0;
  pointer-events: none;
}
.lp-solution-flex {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lp-solution-reasons {
  display: flex;
  flex-direction: row;
  gap: 50px;
  justify-content: center;
  align-items: flex-end;
  flex-wrap: wrap;
}
.lp-solution-reason {
  display: flex;
  align-items: flex-end;
}
.lp-solution-title {
  font-size: 2rem;
  color: #1A2E45;
  text-align: center;
  margin-bottom: 60px !important;
  font-weight: bold;
  line-height: 1.4;
}
.lp-solution-marker {
  position: relative;
  color: inherit;
  background: none;
  white-space: nowrap;
}
.lp-solution-marker::after {
  content: '';
  display: block;
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 0.6em;
  background: rgba(239,220,60,0.7);
  z-index: -1;
  border-radius: 0.2em;
  width: 0;
  transition: width 0.2s;
}
.lp-solution-pentagon {
  width: 270px;
  height: 240px;
  background: #007ACC;
  color: #fff;
  position: relative;
  clip-path: polygon(50% 0%, 100% 45%, 82% 100%, 18% 100%, 0% 45%);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  box-sizing: border-box;
  border: none;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px 18px 12px 18px;
  transform: scale(0);
  opacity: 0;
}
.lp-solution-reason-title {
  color: #fff;
  font-size: 1.5rem;
  font-weight: bold;
  text-align: center;
  min-height: 2.5em;
  margin-bottom: 12px;
  margin-top: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
}
.lp-solution-reason-text {
  color: #fff;
  font-size: 1.1rem;
  text-align: center;
  line-height: 1.6;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 85%;
}

.maste-box {
  position: relative;
  /* background-color: #fff;  この行は下のbackgroundで上書きされるため削除するか調整 */
  background: #efdc3c;
  padding: 0rem 1.5rem 0rem 2rem; /* 内側の余白を少し増やす */
  margin: 50px auto 0px auto;
  width: 680px; /* ボックスの幅を広げて画像とテキストを並べやすくする */
  max-width: 90%; /* 狭い画面でもはみ出さないように */
  border-radius: 8px; /* 角を少し丸める */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* 影を追加 */

  /* maste-boxを中央に配置する設定 (bodyのflexと連携) */
  /* bodyにflexを適用したので、ここでは個別にmargin: auto;は不要だが、
     bodyにflexを適用しない場合は `margin: 0 auto;` を使用する */
}

.maste-tape {
  position: absolute;
  top: -0.75em;
  left: 10px; /* 少し左にずらすか、中央に配置するなど調整 */
  background-color: #d94f3afa; /* 赤系の色 */
  padding: 0.25em 1em; /* パディングを調整 */
  color: #fff;
  font-weight: bold;
  font-size: 20px;
  transform: rotate(-3deg);
  border-radius: 3px;
  white-space: nowrap; /* テキストが改行されないように */
}

/* テキストと画像を横並びにするためのFlexboxコンテナ */
.content-wrapper {
  display: flex;
  align-items: center; /* 垂直方向中央揃え */
  gap: 20px; /* テキストと画像の間隔 */
  flex-wrap: wrap; /* 画面が狭いときに折り返す */
}

/* テキストコンテンツ部分 */
.text-content {
  flex: 1; /* 利用可能なスペースを占める */
  min-width: 250px; /* 最小幅を設定して小さくなりすぎないように */
}

.maste-box h3 {
  color: #1A2E45;
  padding: 0; /* paddingをリセット */
  margin: 0px 0px 20px 10px;
  font-size: 25px;
  font-weight: bold;
}

.maste-box p {
  color: #1A2E45;
  padding: 0; /* paddingをリセット */
  margin: 0; /* マージンをリセット */
  font-size: 18px;
  font-weight: bold;
}

/* 画像コンテンツ部分 */
.image-content {
  flex-shrink: 0; /* 画像が縮小されないように */
  display: flex; /* 画像を中央揃えにするため */
  justify-content: center;
  align-items: center;
}

.image-content img {
  max-width: 210px; /* 画像の最大幅 */
  width: 60vw;
  height: auto; /* アスペクト比を維持 */
  border-radius: 50%; /* 必要であれば画像を丸くする */
}

.lp-arrow-bridge {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: -20px 0 0 0;
  position: relative;
  z-index: 2;
}
.lp-arrow-down {
  width: 200px;
  height: 90px;
  background: transparent;
  clip-path: polygon(50% 100%, 0 0, 100% 0);
  background-color: #007ACC;
  margin: 10px auto;
}

h2.lp-matching-title {
  line-height: 1.5;
  margin-bottom: 80px;
}

.lp-matching-title-accent {
  color: var(--accent1-color);
}

.lp-matching-title-sub {
  font-size: 1.5rem;
  font-weight: 500;
}

.lp-section--support {
  background: var(--sub-color);
}

.lp-service-point--horizontal {
  position: relative;
  background: #fff;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.lp-service-point-shape {
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  background: var(--main-color);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  z-index: 1;
}

.lp-service-point--horizontal > img,
.lp-service-point--horizontal > .lp-service-text-content {
  position: relative;
  z-index: 2;
}

.lp-service-text-title {
  font-size: 28px;
  color: var(--main-color);
  font-weight: bold;
  margin: 0 0 12px 0;
}
.lp-service-text-body {
  font-size: 18px;
  color: var(--text-color);
  margin: 0 0 12px 0;
  line-height: 1.6;
}
.lp-service-text-note {
  font-size: 14px;
  color: var(--text-color);
  margin: 0;
  line-height: 1.6;
}

/* --- 新しいサービスブロックのスタイル --- */

/* レイヤー1: 最背面 (白い母体) */
.service-block {
  position: relative;
  width: 100%;
  height: 300px;  /* 固定高（例） */
  margin: 0 auto 40px auto;
  background: transparent;
  overflow: visible;
}

/* レイヤー2: 中間 (青い三角形) */
.service-block__shape {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-color: var(--main-color);
  clip-path: polygon(80% 0, 0 100%, 100% 100%);
  z-index: 1;
}

/* is-reverseクラスが付与された場合の三角形の向き */
.service-block.is-reverse .service-block__shape {
  clip-path: polygon(20% 0, 0 100%, 100% 100%);
}

/* レイヤー3: 最前面 (コンテンツ) */
.service-block__content {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  /* 三角形の頂点が見えるようにpaddingを調整 */
  padding: 30px 40px 24px 40px;
  box-sizing: border-box;
}

.service-block__text, .service-block__image {
  flex-basis: 52%;
  min-width: 0;
  max-width: 100%;
}

.service-block__text {
  background-color: #fff; /* テキストブロックに白背景 */
  padding: 15px;
  border-radius: 8px;
}

.service-block__image {
  flex-basis: 45%;
}

.service-block__text h3 {
  font-size: 23px;
  color: var(--main-color);
  font-weight: bold;
  margin: 0 0 15px 0;
  text-align: center;
}
.service-block__text p {
  font-size: 17px;
  color: var(--text-color);
  line-height: 1.7;
  margin: 0 0 15px 0;
}
.service-block__text .note {
  font-size: 10px;
  color: #555;
  margin: 0;
}

.service-block__image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

/* --- サポート内容セクション --- */

.lp-section--support-memo {
  background: #e0f2f7;
  position: relative;
  overflow: hidden;
  min-height: 750px;
  padding: 0;
}
.lp-support-memo-inner {
  position: relative;
  max-width: 1100px;
  margin: 0 auto 40px;
  height: 580px;
  padding-bottom: 60px;
}
.lp-support-memo-heading {
  margin-top: 48px;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60vw;
  max-width: 700px;
  min-width: 320px;
  height: 64px;
  font-size: 2rem;
  font-weight: bold;
  color: #00A886;
  background: #fff;
  border: 4px solid #00A886;
  box-sizing: border-box;
  clip-path: polygon(6% 0, 94% 0, 100% 50%, 94% 100%, 6% 100%, 0 50%);
  box-shadow: 0 2px 8px rgba(0,168,134,0.04);
  z-index: 2;
  position: relative;
}
.lp-support-memo-board {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 32px;
  justify-content: left;
  align-items: flex-start;
  position: relative;
  width: 70%;
  height: auto;
  margin-top: 70px;
  margin-bottom: 50px;
}
.lp-support-memo-box {
  position: relative;
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.13);
  font-size: 1.08rem;
  font-weight: 500;
  gap: 10px;
  padding: 10px 15px 10px 10px;
  min-width: 200px;
  max-width: 540px;
  display: flex;
  align-items: center;
  z-index: 1;
  transform: none;
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.6s, transform 0.6s;
}
.lp-support-memo-box i {
  color: #28a745;
  font-size: 1.2em;
  margin-right: 8px;
}
.memo1, .memo2, .memo3, .memo4, .memo5, .memo6, .memo7, .memo8, .memo9 {
  top: unset;
  left: unset;
  transform: none;
}
.lp-support-memo-illust {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 0;
}
.lp-support-memo-illust img {
  width: 320px;
  height: auto;
  opacity: 0.95;
}
.lp-support-memo-note {
  position: static;
  left: unset;
  bottom: unset;
  font-size: 0.92rem;
  color: #555;
  z-index: 2;
  margin-left: 0;
  text-align: left;
}


.lp-support-memo-heading-hex {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.lp-support-memo-heading-hex-outer {
  background: #00A886;
  clip-path: polygon(7% 0, 93% 0, 100% 50%, 93% 100%, 7% 100%, 0 50%);
  width: 60vw;
  max-width: 700px;
  min-width: 320px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 50px;
}

.lp-support-memo-heading-hex-inner {
  background: #fff;
  color: #00A886;
  font-size: 1.5rem;
  font-weight: bold;
  width: 97%;
  height: 85%;
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: polygon(6% 0, 94% 0, 100% 50%, 94% 100%, 6% 100%, 0 50%);
}

/* --- ご利用者様の声セクション --- */
.lp-section--voice {
  background: #fff;
  padding: 40px 0 0 0;
}
.lp-voice-inner {
  max-width: 950px;
  margin: 0 auto;
  padding: 35px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lp-voice-list {
  display: flex;
  flex-direction: column;
  gap: 48px;
  margin-top: 48px;
  align-items: center;
}
.lp-voice-row {
  display: flex;
  align-items: stretch;
  gap: 30px;
  justify-content: center;
}
.lp-voice-row.is-reverse {
  flex-direction: row;
  gap: 30px;
}
.lp-voice-row.is-reverse .lp-voice-balloon::before {
  left: unset;
  right: -24px;
  border-left: 24px solid #007ACC;
  border-right: none;
}
.lp-voice-iconblock {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 160px;
  max-width: 160px;
  justify-content: center;
}
.lp-voice-icon {
  width: 100%;
  height: 100%;
  min-height: 90px;
  max-height: 100%;
  object-fit: cover;
  background: #fff;
  margin-bottom: 10px;
  display: block;
}
.lp-voice-label {
  font-size: 1.05rem;
  color: #1A2E45;
  text-align: center;
  margin-top: 2px;
  font-weight: 500;
}
.lp-voice-balloon {
  min-width: 570px;
  max-width: 570px;
  background: #fff;
  border: 3px solid #007ACC;
  border-radius: 18px;
  padding: 22px 28px;
  font-size: 1.13rem;
  color: #1A2E45;
  line-height: 1.7;
  position: relative;
  box-shadow: 0 4px 16px rgba(0,168,134,0.07);
  text-align: left;
  word-break: break-word;
  display: flex;
  align-items: center;
  height: 100%;
}
.lp-voice-row.is-reverse .lp-voice-balloon {
  border-radius: 18px;
}
/* 吹き出し三角 */
.lp-voice-balloon::before {
  content: '';
  position: absolute;
  left: -24px;
  top: 32px;
  width: 0;
  height: 0;
  border-top: 16px solid transparent;
  border-bottom: 16px solid transparent;
  border-right: 24px solid #007ACC;
}
.lp-voice-row.is-reverse .lp-voice-balloon::before {
  left: unset;
  right: -24px;
  border-left: 24px solid #007ACC;
  border-right: none;
}

/* --- ご相談の流れセクション --- */
.lp-section--flow {
  position: relative;
  background: #fff;
  padding: 0 0 60px 0;
  overflow: hidden;
}
.lp-flow-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.2;
  z-index: 0;
  pointer-events: none;
}
.lp-flow-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
  padding: 60px 0 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lp-flow-steps {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  margin: 40px 0 0 0;
}
.lp-flow-step {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  width: 100%;
  min-height: 110px;
  position: relative;
  background: none;
}
.lp-flow-step-left {
  background: #F5F7FA;
  flex: 1 1 0;
  padding: 24px 24px 24px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 8px 0 0 8px;
  min-width: 0;
}
.lp-flow-step-title {
  font-size: 1.25rem;
  font-weight: bold;
  color: #007ACC;
  margin-bottom: 8px;
}
.lp-flow-step-desc {
  font-size: 1rem;
  color: #1A2E45;
  line-height: 1.7;
}
.lp-flow-step-note {
  font-size: 0.92rem;
  color: #888;
}
.lp-flow-step-right {
  width: 120px;
  min-width: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.lp-flow-pentagon {
  width: 100px;
  height: 100px;
  background: #007ACC;
  color: #fff;
  font-size: 1.15rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: polygon(0 0, 80% 0, 100% 50%, 80% 100%, 0 100%, 20% 50%);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  border-radius: 0 12px 12px 0;
  position: relative;
  z-index: 2;
}
.lp-flow-pentagon::before {
  content: '';
  position: absolute;
  top: 0; left: -14px;
  width: 100px;
  height: 100px;
  background: #E0E4EA;
  clip-path: polygon(0 0, 80% 0, 100% 50%, 80% 100%, 0 100%, 20% 50%);
  z-index: 1;
}
/* ボックス間の縦線 */
/* .lp-flow-step:not(:last-child)::after { 削除済み */
.lp-flow-note-box {
  background: #00A886;
  color: #fff;
  border-radius: 10px;
  padding: 22px 28px;
  margin: 0 auto 0 auto;
  max-width: 600px;
  text-align: center;
  font-size: 1.2rem;
  box-shadow: 0 2px 8px rgba(0,168,134,0.08);
}


.in-flow-cta {
  color: #007ACC;
  text-decoration:underline;
}

.lp-flow-arrowbox {
  display: flex;
  max-width: 700px;
  margin: 0 auto 24px auto;
  box-shadow: 0 4px 18px rgba(0,0,0,0.13);
  background: #F5F7FA;
  overflow: hidden;
}
.lp-flow-arrowbox-left {
  background: #007bff;
  color: #fff;
  width: 180px;
  min-width: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 24px 0 16px 36px;
  position: relative;
  clip-path: polygon(0 0, 75% 0%, 100% 50%, 75% 100%, 0 100%, 0% 50%);
}

.svg-inline--fa{
  font-size: 1rem;
  margin: 0px 5px;
  }

.lp-flow-arrowbox-left i {
  font-size: 3rem;
  padding-left: 1rem;
}

.lp-flow-step-circle {
  background: #fff;
  color: #007bff;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 6px;
}
.lp-flow-step-label {
  font-size: 1.5rem;
  font-weight: bold;
  letter-spacing: 0.1em;
}
.lp-flow-arrowbox-right {
  flex: 1;
  background: #F5F7FA;
  padding: 24px 32px 18px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.lp-flow-arrowbox-title {
  font-size: 1.3rem;
  font-weight: bold;
  color: #1A2E45;
  margin-bottom: 10px;
}
.lp-flow-arrowbox-desc {
  font-size: 1rem;
  color: #1A2E45;
  margin-bottom: 8px;
}
.lp-flow-arrowbox-note {
  font-size: 0.6rem;
  color: #1A2E45;
}

.lp-section--form {
  background: #F5F7FA;
}

/* --- フォーム --- */
.form-item{
  margin-top: 30px;
  font-size: 100%;
  font-weight: bold;
}

.form-item p{
min-height: 2rem;
}

.boxArea-title{
  font-weight: bold;
}

.wpcf7-form input[type=submit] {
  background-color: #d94f3afa;
}

.form-memo{
  font-size: 12px;
}

.form-regulations{
  font-size: 12px;
  padding-top:35px;
  padding-bottom:35px;
}

.rink {
  color: #007ACC;
  border-bottom: 1px solid #000;
}

.rink:hover{
  color: #005B9A;
}

/* --- レスポンシブ対応 --- */

/* --- レスポンシブ980px --- */
@media (max-width: 980px) {
  .lp-hero__catch img {
    width: 100vw; 
    max-width: 780px;
    height: auto;
  }
}

/* --- レスポンシブ900px --- */
@media (max-width: 900px) {
  .lp-checklist-content {
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }
  .lp-checklist-illust img {
    width: 140px;
  }
  .lp-checklist-listbox {
    min-width: 0;
    max-width: 98vw;
    padding: 18px 8vw 18px 8vw;
  }
  .lp-checklist-list li {
    font-size: 20px;
    padding-left: 2em;
  }
}

@media (max-width: 900px) {
  .lp-solution-reasons {
    flex-direction: column;
    gap: 18px;
    align-items: center;
  }
  .lp-solution-pentagon {
    width: 90vw;
    min-width: 0;
    max-width: 320px;
    height: 250px;
    padding: 18px 8vw 18px 8vw;
  }
  .lp-solution-reason-text {
    width: 100%;
  }
}

@media (max-width: 900px) {
  .lp-support-memo-inner {
    height: 900px;
    padding: 0;
  }
  .lp-support-memo-board {
    height: 600px;
  }
  .lp-support-memo-box {
    min-width: 60vw;
    max-width: 60vw;
    font-size: 1rem;
    padding: 12px;
  }
  .lp-support-memo-illust img {
    width: 250px;
  }
}

@media (max-width: 900px) {
  .lp-voice-balloon {
    min-width: 450px;
    max-width: 98vw;
  }
}

/* --- レスポンシブ800px --- */
@media (max-width: 800px) {
  .service-block__shape {
    display: none;
  }
  .service-block,
  .service-block.is-reverse {
    border: 2px solid var(--main-color);
    border-radius: 12px;
    background: #fff;
    height: auto;
    overflow: visible;
  }
  .service-block__content {
    flex-direction: column !important;
    align-items: center;
    gap: 0;
    padding: 18px 18px 18px 18px;
    position: static;
    width: 100%;
    height: auto;
    box-sizing: border-box;
  }
  .service-block__image {
    order: 1;
    width: 100%;
    max-width: 320px;
    margin: 0 auto 0 auto;
    border-radius: 8px 8px 0 0;
    flex-basis: unset;
  }
  .service-block__text {
    order: 2;
    width: 100%;
    max-width: 98vw;
    margin: 0;
    border-radius: 0 0 8px 8px;
    background: #fff;
    padding: 18px 10px 10px 10px;
    flex-basis: unset;
  }
}

@media (max-width: 800px) {
  .lp-flow-inner {
    max-width: 98vw;
    padding: 24px 0 0 0;
  }
  .lp-flow-step-right {
    width: 80px;
    min-width: 80px;
  }
  .lp-flow-pentagon {
    width: 70px;
    height: 70px;
    font-size: 1rem;
  }
  .maste-tape {
    font-size: 15px;
  }
  .maste-box h3 {
    font-size: 3vw;
    margin: 0px 0px 10px 0px;
  }
  .maste-box p {
    font-size: 2.5vw;
  }
  .image-content img{
    width: 32vw;
  }
}

/* --- レスポンシブ700px --- */
@media (max-width: 700px) {
  .lp-fv-image-pc {
    display: none !important;
  }
  .lp-fv-image-sp {
    display: block !important;
    width: 90vw;
    max-width: 480px;
    height: auto;
    margin: 0 auto;
  }
  .lp-voice-balloon {
    min-width: 320px;
    max-width: 98vw;
  }
}

@media (min-width: 701px) {
  .lp-fv-image-pc {
    display: block !important;
  }
  .lp-fv-image-sp {
    display: none !important;
  }
}

/* --- レスポンシブ650px --- */
@media (max-width: 650px) {
  .lp-support-memo-board {
    height: 600px;
    margin-bottom: 100px;
  }
  .lp-support-memo-heading-hex-inner {
    font-size: 1.2rem;
  }
}

/* --- レスポンシブ600px --- */
@media (max-width: 600px) {
  .content-wrapper{
    gap: 0px;
  }
  .maste-box {
      width: 95%; /* 狭い画面では幅をさらに広げる */
      padding: 0.8em;
  }
  .content-wrapper {
      flex-direction: column; /* 縦並びにする */
      text-align: center; /* テキストを中央揃え */
  }
  .text-content {
      min-width: unset; /* 最小幅を解除 */
  }
  .maste-box h3 {
    font-size: 6vw;
    margin-top: 1em;
    margin-bottom: 1em;
  }
  .maste-tape {
      left: 50%; /* モバイルでは中央に寄せる */
      transform: translateX(-50%) rotate(-3deg);
      font-size: 4vw;
  }
}


@media (max-width: 600px) {
  .lp-flow-inner {
    padding: 12px 0 0 0;
  }
  .lp-flow-step {
    min-height: 80px;
  }
  .lp-flow-step-left {
    padding: 12px 8px 12px 12px;
  }
  .lp-flow-step-right {
    width: 48px;
    min-width: 48px;
  }
  .lp-flow-pentagon {
    width: 38px;
    height: 38px;
    font-size: 0.8rem;
  }
  .lp-flow-note-box {
    font-size: 0.95rem;
    padding: 12px 6vw;
  }
  .lp-section h2 {
    font-size: 1.5rem;
  }
  .lp-matching-title-sub{
    font-size: 1.2rem;
  }
  .lp-support-memo-inner {
    height: 550px;
    padding: 45px 0 0 0;
  }
  .lp-support-memo-heading-hex-outer {
    border: 4px solid #00A886;
    min-width: 0;
    width: 96vw;
    height: 38px;
    clip-path: polygon(7% 0, 93% 0, 100% 50%, 93% 100%, 7% 100%, 0 50%);
    box-sizing: border-box;
  }
  .lp-support-memo-heading-hex-inner {
    clip-path: polygon(7% 8%, 93% 8%, 99% 50%, 93% 91%, 7% 91%, 1% 50%);
  }
  .lp-support-memo-board {
    width: 98vw;
    margin-top: 24px;
    margin-bottm: 24px;
    gap: 10px 6px;
    height: 400px;
  }
  .lp-support-memo-box {
    min-width: 0;
    max-width: 98vw;
    font-size: 0.95rem;
    padding: 8px 4vw;
  }
  .lp-support-memo-illust img {
    width: 9rem;
  }
  .support-female {
    position: absolute;
    right: 0;
  }
  .lp-voice-balloon {
    min-width: 0;
    max-width: 57vw;
    font-size: 0.75rem;
    padding: 10px 4vw;
  }
  .lp-voice-iconblock {
    min-width: 0;
    max-width: 100vw;
    height: auto;
    justify-content: flex-start;
  }
  .lp-voice-icon {
    min-height: 110px;
    max-height: 156px;
  }
  .lp-form {
    padding: 8px 2vw;
    max-width: 98vw;
  }
  .lp-btn.lp-btn--cta {
    width: 20rem;
    font-size: 1rem;
    height: 55px;
    line-height: 58px;
    border-radius: 35px;
  }
  .lp-support-memo-note {
    margin-top: 0;
  }
  .lp-voice-label {
    font-size: 0.8rem;
  }
  .lp-checklist-illust img {
    width: 120px;
  }
  .lp-checklist-list li {
    font-size: 17px;
  }
  .lp-checklist-list li::before {
    font-size: 22px;
  }
  .lp-flow-arrowbox-left {
    clip-path: none;
  }
}

@media (max-width: 600px) {
  .lp-flow-arrowbox {
    flex-direction: column;
    border-radius: 12px;
    clip-path: none;
    margin: 7px 16px;
  }
  .lp-flow-arrowbox-left, .lp-flow-arrowbox-right {
    width: 100%;
    min-width: 0;
    padding: 14px;
    text-align: center;
    align-items: center;
  }
.lp-flow-arrowbox-left {
  display: block;
  }
  .lp-flow-arrowbox-left i {
    font-size: 3rem;
    margin-left: 0;
  }
  .lp-flow-step-label {
    font-size: 1.1rem;
  }
  .lp-flow-arrowbox-title {
    font-size: 1.1rem;
  }
  .lp-flow-arrowbox-desc {
    font-size: 0.95rem;
  }
  .lp-flow-arrowbox-note {
    font-size: 0.6rem;
  }
  .lp-support-memo-heading-hex-outer,
  .lp-support-memo-heading-hex-inner {
    min-width: 0;
    width: 96vw;
    font-size: 1rem;
    height: 38px;
  }
  .lp-support-memo-board {
    width: 98vw;
    margin-top: 24px;
    gap: 10px 6px;
  }
  .lp-support-memo-box {
    min-width: 0;
    max-width: 98vw;
    font-size: 0.95rem;
    padding: 8px 4vw;
  }
  .lp-support-memo-illust img {
    width: 8rem;
    margin-bottom: -160px;
  }
  .support-female {
    position: absolute;
    right: 0;
    bottom: -30px;
  }
  .lp-voice-balloon {
    min-width: 0;
    max-width: 57vw;
    font-size: 0.75rem;
    padding: 10px 4vw;
  }
  .lp-voice-iconblock {
    min-width: 0;
    max-width: 100vw;
    height: auto;
    justify-content: flex-start;
  }
  .lp-voice-balloon {
    min-width: 0;
    max-width: 57vw;
    font-size: 0.75rem;
    padding: 10px 4vw;
  }
  .lp-voice-row {
    gap: 15px;
  }
  .lp-btn.lp-btn--cta {
    width: 20rem;
    font-size: 1rem;
    height: 55px;
    line-height: 58px;
    border-radius: 35px;
  }
  .lp-support-memo-note {
    margin-top: 0;
    font-size: 0.8rem;
  }
}

/* --- レスポンシブ520px --- */
@media (max-width: 520px) {
.lp-support-memo-board {
  margin-bottom: 55px;
}
.lp-support-memo-illust img {
  width: 6.5rem;
}
}

/* --- レスポンシブ460px --- */
@media (max-width: 460px) {
  .maste-box p {
      font-size: 5vw;
  }
  .lp-support-memo-board {
    margin-bottom: 100px;
  }
  .lp-support-memo-illust img {
    width: 4.5rem;
}
}

/* --- レスポンシブ400px --- */
@media (max-width: 400px) {
  .lp-header__logo {
    height: 30px;
  }
  .lp-section h2 {
    font-size: 6vw;
  }
.lp-matching-title-sub{
  font-size: 5vw;
}
.maste-tape{
    font-size: 6vw;
  }
}


@keyframes shrink {
  0% { transform: scale(1);}
  40% { transform: scale(0.92);}
  100% { transform: scale(1);}
}
.animate-shrink {
  animation: shrink 0.7s cubic-bezier(.4,0,.2,1);
}

@keyframes marker-draw {
  0% { width: 0; }
  100% { width: 100%; }
}
.animate-marker {
  position: relative;
}
.animate-marker::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  height: 0.6em;
  background: rgba(239,220,60,0.7);
  z-index: -1;
  border-radius: 0.2em;
  animation: marker-draw 2s ease-out forwards;
}

@keyframes slide-in-left {
  0% { transform: translateX(-100%); opacity: 0;}
  100% { transform: translateX(0); opacity: 1;}
}
.slide-in-left {
  animation: slide-in-left 0.8s ease-out forwards;
}

@keyframes slide-in-bottom {
  0% { transform: translateY(40px); opacity: 0;}
  100% { transform: translateY(0); opacity: 1;}
}
.slide-in-bottom {
  animation: slide-in-bottom 0.8s cubic-bezier(.4,0,.2,1) forwards;
}

@keyframes pentagon-expand {
  0% { transform: scale(0); opacity: 0; }
  60% { opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}
.lp-solution-pentagon {
  transform: scale(0);
  opacity: 0;
}
.pentagon-expand {
  animation: pentagon-expand 0.7s cubic-bezier(.4,0,.2,1) forwards;
}