*, *:before, *:after {
  box-sizing: border-box;
}

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video, button {
  font: inherit;
  margin: 0;
  padding: 0;
  border: 0;
}

article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section {
  display: block;
}

ol, ul, li {
  list-style: none;
}

img, svg {
  max-width: 100%;
  height: auto;
  vertical-align: top;
}

a , button {
  color: inherit;
  transition: all .3s;
  cursor: pointer;
}
a {
  text-decoration: none;
}

button {
  border: none;
  background: none;
}

h1, h2, h3, h4 {
  font-weight: bold;
}

html {
  text-size-adjust: 100%;
}

body {
  font-family: sans-serif;
  color: #363636;
  letter-spacing: .05em;
  line-height: 1.75;
  padding-top: 64px;
  background-color: #f1f6f4;
  background-image: url('../img/bg-body.png');
  background-size: 200px 200px;
}

@media (max-width: 768px) {
  body {
    font-size: 14px;
  }
  body:has(.hamburger-btn[aria-expanded="true"]) {
    overflow: hidden;
  }
}

@media screen and (max-width:768px) {
  .sp {
    display: block !important;
  }

  .pc {
    display: none !important;
  }
}

@media not all and (max-width:768px) {
  .sp {
    display: none !important;
  }

  .pc {
    display: block !important;
  }
}

@media screen and (max-width:1000px) {
  .middle {
    display: block !important;
  }

  .middle-none {
    display: none !important;
  }
}

@media not all and (max-width:1000px) {
  .middle {
    display: none !important
  }
}

/* ====== ヘッダー ====== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(241, 246, 244, .5);
  z-index: 1000;
  transition: all .3s ease;
}

.header a:hover {
  opacity: .8;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1920px;
  height: 64px;
  margin: 0 auto;
  padding: 0 1.68%;
}

@media (max-width: 1000px) {
  .header-inner {
    flex-wrap: wrap;
    gap: 0 20px;
    padding: 0 1%;
  }
}
@media (max-width: 768px) {
  .header-inner {
    flex-wrap: nowrap;
    gap: 0;
    padding-inline:1% 2%;
  }
}
/* ====== ロゴ ====== */
.header-logo img {
  position: relative;
  top: -2px;
  width: 206px;
}


@media (max-width: 1000px) {
  .header-logo img {
    height: 34px;
  }
}
@media (max-width: 768px) {
  .header-logo{
    flex-shrink: 0;
    z-index: 1001;
  }
  .header-logo img {
    max-width: 160px;
    width: calc(100vw / 375 * 160);
  }
}
/* ====== ナビ ====== */
.right-group {
  display: flex;
  align-items: center;
  gap: 30px;
}

@media (max-width: 1000px) {
  .right-group {
    justify-content: right;
    gap: 20px;
    width: 100%;
  }
}
@media (max-width: 768px) {
  .right-group{
    gap: 4vw;
    flex-direction: row-reverse;
    position: relative;
    width: auto;
  }
}
.nav {
  display: flex;
  gap: 20px;
  font-weight: 600;
}

@media (max-width: 1000px) {
  .nav a {
    font-size: 15px;
  }
}
@media (max-width: 768px) {
  .nav{
    gap: 0;
    position: fixed;
    justify-content: flex-start;
    align-items: center;
    top: 0;
    left: 0;
    flex-direction: column;
    padding-top: 70px;
    background: rgba(241, 246, 244, 1);
    width: 100vw;
    height: 100vh;
    opacity: 1;
    transition: visibility 0s linear 0s, opacity .3s ease;
  }
  .nav[hidden]{
    opacity: 0;
    visibility: hidden;
    transition: visibility 0s linear .3s, opacity .3s ease;
  }
  .nav a{
    padding: 20px 0 20px 30px;
    width: 100%;
    border-bottom: 1px solid #363636;
  }
  .nav a:first-child{
    border-top: 1px solid #363636;
  }
  .nav.is-resizing {
    transition: none !important;
  }
}
@media (max-width: 768px) {
  .hamburger-btn{
    position: relative;
    width: min(48px, calc(100vw/375*48));
    height: 48px;
    z-index: 1001;
    cursor: pointer;
  }
  .hamburger-btn span{
    display: block;
    width: 100%;
    height: 2px;
    background: #363636;
    transition: rotate 0.3s ease;
  }
  .hamburger-btn span::before,
  .hamburger-btn span::after {
    position: relative;
    content: "";
    display: block;
    background: #363636;
    width: 100%;
    height: 2px;
    transition: rotate 0.3s ease;
  }
  .hamburger-btn span::before{
    top: -12px;
  }
  .hamburger-btn span::after {
    bottom: -10px;
  }
  .hamburger-btn[aria-expanded="true"] span{
    position: absolute;
    right: 0;
    rotate: -45deg;
  }
  .hamburger-btn[aria-expanded="true"] span::before {
    top: 0;
    right: 0;
  }
  .hamburger-btn[aria-expanded="true"] span::after {
    top: 0;
    right: 0;
    rotate: 90deg;
  }
}
/* ====== ナビ横ボタン ====== */
.actions-btn {
  flex-shrink: 0;
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #3e6aac 0%, #2c5fb8 50%, #1a4aa5 100%);
  z-index: 0;
}

@media (max-width: 1000px) {
  .actions-btn {
    font-size: 14px;
    margin-top: -16px;
    padding: 5px 15px;
  }
}
@media (max-width: 768px) {
  .actions-btn {
    margin-top: 0;
    font-size: min(14px,calc(100vw/375*14));
    padding-inline: min(15px,100vw/375*15);
  }
}

/* ====== ヒーロー ====== */
.hero {
  position: relative;
  padding: 0 2%;
  overflow: hidden;
}

@media (max-width: 768px) {
  .hero {
      padding: 0 4%;
  }
}

/* 青アクセント */
.hero::before {
  position: absolute;
  top: 0;
  left: 0;
  content: '';
  width: 60%;
  min-width: 775px;
  height: 100%;
  background:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, .15), rgba(255, 255, 255, .15) 2px, transparent 2px, transparent 10px),
    linear-gradient(135deg, rgba(44, 75, 121, .8), rgba(62, 106, 172, .8));
  clip-path: polygon(0 0, 100% 0, 70% 100%, 0 100%);
  z-index: 1;
}

@media (max-width: 768px) {
  .hero::before {
    width: 97%;
    min-width: auto;
  }
}

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

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  color: #fff;
  max-width: 1520px;
  margin: 0 auto;
  padding: 30px 0;
  z-index: 4;
}

.hero-sub {
  display: grid;
  place-items: start;
}

.hero-sub span {
  color: #fff;
  font-size: 16px;
  padding: 6px 1.2em;
  border: 1px solid #fff;
  border-radius: 999px;
}

.hero h1 {
  font-size: 52px;
  font-weight: bold;
  line-height: 1.5;
  margin-top: 25px;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 5.7vw;
  }
}

.hero-text {
  color: #eee;
  font-size: 14px;
  line-height: 1.8;
  margin-top: 20px;
}

@media (max-width: 768px) {
  .hero-text {
    padding-right: 24%;
  }
}

.hero-content .cta {
  margin-top: 30px;
}

/* ====== タイトルブロック ====== */
/* 小さい文字 */
.mini {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  color: rgba(26, 74, 165, .3);
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
}

/* 文頭のドット */
.mini::before {
  flex-shrink: 0;
  content: '';
  width: 10px;
  height: 10px;
  background: #ef7c1b;
  border-radius: 50%;
}

/* 大きい文字 */
.big {
  color: #3e6aac;
  font-size: 48px;
  line-height: 1.3;
  font-weight: 800;
}

@media (max-width: 1000px) {
  .big {
    font-size: 42px;
  }
}

@media (max-width: 768px) {
  .big {
    font-size: 22px;
  }
}
/* ====== 文字装飾 ====== */
/* 縁取り */
.txt_outline {
  color: #fff;
  font-size: 1.52em;
  text-shadow:
    -1px -1px 0 #444,
    1px -1px 0 #444,
    -1px 1px 0 #444,
    1px 1px 0 #444;
}

.marker {
  font-size: 1.3em;
  font-weight: bold;
  padding: 4px 10px;
  background: linear-gradient(transparent 65%, rgba(254, 196, 1, .8) 65%);
}

/* 色 + マーカー */
.txt_line {
  color: #3e6aac;
  font-size: 1.4em;
  font-weight: bold;
  white-space: normal;
  overflow-wrap: break-word;
  background: linear-gradient(transparent 60%, #FEC401 60%);
}

/* 色 + サイズ */
.txt-big {
  color: #3e6aac;
  font-size: 1.4em;
  font-weight: bold;
}

/* 色 */
.txt-bluecolor {
  color: #3e6aac;
  font-weight: 600;
}

/* 色 */
.txt_yellowcolor {
  font-size: 1.8em;
  color: #ef7c1b;
  font-weight: 600;
}

/* ===== 吹出し ===== */
.bubble-box {
  display: grid;
  place-items: center;
  margin-bottom: 30px;
}

.bubble {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  position: relative;
  color: #fff;
  font-size: 22px;
  text-align: center;
  font-weight: bold;
  line-height: 1;
  padding: .79em 1.36em;
  border-radius: 30px;
  background: linear-gradient(135deg, #fec401, #ef7c1b);
}

/* ▼三角 */
.bubble::after {
  position: absolute;
  bottom: -.45em;
  left: 50%;
  translate: -50% 0;
  content: '';
  width: 1em;
  height: .5em;
  background: #f59a50;
  clip-path: polygon(0 0, 50% 100%, 100% 0);
}

/* ドット */
.dot-text {
  display: flex;
  align-items: center;
  gap: .4em;
}
.dot-text span {
  position: relative;
}

/* ▼それぞれの文字の上に1個ずつ丸 */
.dot-text span::before {
  position: absolute;
  top: -.43em;
  left: 50%;
  translate: -50% 0;
  content: '';
  width: .2em;
  height: .2em;
  border-radius: 50%;
  background: #fff;
}

/* ====== ボタン ====== */
.cta {
  display: flex;
}

.cta-button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  min-width: 260px;
  height: 64px;
  padding: 0 4em 0 1.875em;
  border-radius: 999px;
  background: linear-gradient(135deg, #3e6aac 0%, #2c5fb8 50%, #1a4aa5 100%);
}

.cta-button::before,
.cta-button::after {
  position: absolute;
  top: 50%;
  right: 30px;
  translate: 0 -50%;
  content: '';
  transition: .3s;
}

.cta-button::before {
  width: .5em;
  height: .5em;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  rotate: 45deg;
}

.cta-button::after {
  width: 1.125em;
  aspect-ratio: 9 / 1;
  box-shadow: inset 0 0 0 1em currentColor;
}
.cta-button:hover::before,
.cta-button:hover::after {
  translate: .25em -50%;
}

.cta-button.blue {
  color: #fff;
  background: #3e6aac;
}

.cta-button.yellow {
  color: #333;
  background: #f5b400;
}
/* ===== コンテナ ===== */
.container {
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 30px;
}

@media (max-width: 768px) {
  .container {
    padding: 0 4%;
  }
}

/* ===== タイトル ===== */
.section-title {
  text-align: center;
  margin-bottom: 60px;
}

/* ===== 上（テキスト） ===== */
.lead {
  font-size: 34px;
  text-align: center;
  font-weight: bold;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .lead {
    font-size: 6vw;
  }
}

/* ====== 課題 ====== */
.challenges {
  padding: 100px 0 20px;
  background: #e8f0f2;
}

.challenges-row {
  display: flex;
  align-items: center;
}

@media (max-width: 1000px) {
  .challenges-row {
    flex-direction: column-reverse;
    gap: 40px;
  }
}
@media (max-width: 768px) {
  .challenges {
    overflow: hidden;
  }
}
.challenges-row .row-img {
  width: 100%;
  max-width: 703px;
}

@media (max-width: 1000px) {
  .challenges-row .row-img {
    max-width: 500px;
  }
}

@media (max-width: 768px) {
  .challenges-row .row-img {
    width: 80%;
  }
}

.challenges-row .row-text {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0 .5em;
  min-width: 460px;
}

@media (max-width: 1250px) {
  .challenges-row .row-text {
    flex-wrap: wrap;
  }
}

/* ===== 課題（吹き出し） ===== */
.challenges-list {
  display: flex;
  gap: 12px;
  margin: 80px auto 0;
}

@media (max-width: 1250px) {
  .challenges-list {
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px 2%;
    max-width: 780px;
  }
}

@media (max-width: 768px) {
  .challenges-list {
    gap: 20px 3%;
  }
}

.challenges-card {
  position: relative;
  flex: 1;
  display: grid;
  place-items: center;
  font-size: 16px;
  line-height: 1.6;
  text-align: center;
  padding: 20px 5px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, .08);
  border-radius: 20px;
  background: #fff;
}

@media (max-width: 1250px) {
  .challenges-card {
    flex: none;
    width: 32%;
  }
}

@media (max-width: 768px) {
  .challenges-card {
    font-size: 2.8vw;
    width: 48%;
  }
}

/* 三角ベース */
.challenges-card::after {
  content: '';
  position: absolute;
  bottom: -14px;
  height: 15px;
  background: inherit;
}

/* 左の人物に向ける */
.challenges-card:nth-of-type(1)::after,
.challenges-card:nth-of-type(2)::after,
.challenges-card:nth-of-type(4)::after {
  left: 70%;
  width: 15px;
  clip-path: polygon(100% 0, 0 0, 100% 100%);
}

/* 真ん中 */
.challenges-card:nth-of-type(3)::after {
  left: 50%;
  translate: -50% 0;
  width: 25px;
  clip-path: polygon(0 0, 50% 100%, 100% 0);
}

/* 右の人物に向ける */
.challenges-card:nth-of-type(4)::after,
.challenges-card:nth-of-type(5)::after {
  left: 30%;
  width: 15px;
  clip-path: polygon(0 0, 0 100%, 100% 0);
}

@media (max-width: 1250px) {
  /* 左の人物に向ける */
  .challenges-card:nth-of-type(4)::after {
    left: 70%;
    width: 15px;
    clip-path: polygon(100% 0, 0 0, 100% 100%);
  }

  /* 真ん中 */
  .challenges-card:nth-of-type(2)::after {
    left: 50%;
    translate: -50% 0;
    width: 25px;
    clip-path: polygon(0 0, 50% 100%, 100% 0);
  }

  /* 右の人物に向ける */
  .challenges-card:nth-of-type(3)::after {
    left: 30%;
    width: 15px;
    clip-path: polygon(0 0, 0 100%, 100% 0);
  }
}

@media (max-width: 768px) {
  /* 左の人物に向ける */
  .challenges-card:nth-of-type(3)::after {
    left: 70%;
    width: 15px;
    clip-path: polygon(100% 0, 0 0, 100% 100%);
  }

  /* 真ん中 */
  .challenges-card:nth-of-type(5)::after {
    left: 50%;
    translate: -50% 0;
    width: 25px;
    clip-path: polygon(0 0, 50% 100%, 100% 0);
  }

  /* 右の人物に向ける */
  .challenges-card:nth-of-type(2)::after,
  .challenges-card:nth-of-type(4)::after {
    left: 30%;
    width: 15px;
    clip-path: polygon(0 0, 0 100%, 100% 0);
  }
}

/* ===== 人物 ===== */
.challenges-person {
  width: 460px;
  margin: 40px auto 0;
}

@media (max-width: 768px) {
  .challenges-person {
    width: 70%;
  }
}

.challenges-summary {
  position: relative;
  font-size: 22px;
  text-align: center;
  margin: 30px 0 130px;
}

@media (max-width: 768px) {
  .challenges-summary {
    font-size: 18px;
  }
}

/* 矢印 */
.challenges-summary::before,
.challenges-summary::after,
.challenges-summary .txt-big::before {
  position: absolute;
  top: calc(100% + 40px);
  left: 50%;
  translate: -50% 0;
  content: '';
  width: 24px;
  height: 16px;
  box-shadow: inset 0 0 0 24px #3e6aac;
  clip-path: polygon(0 0, 50% 100%, 100% 0);
  opacity: .4;
}

.challenges-summary::after {
  margin-top: 8px;
  translate: -50% 100%;
  opacity: .7;
}
.challenges-summary .txt-big::before {
  margin-top: 16px;
  translate: -50% 200%;
  opacity: 1;
}

.challenges-summary .txt-big {
  font-size: 30px;
  font-weight: bold;
}

/* ====== 結論 ====== */
.problem-conclusion {
  position: relative;
  padding-bottom: 150px;
  overflow: hidden;
}

.problem-conclusion::after {
  position: absolute;
  bottom: 0;
  left: 50%;
  translate: -50% 0;
  content: '';
  width: 100%;
  min-width: 1920px;
  height: 100%;
  pointer-events: none;
  background: radial-gradient(ellipse at center 70%, #a6dcf3 0%, #e8f0f2 70%);
  clip-path: polygon(0 0, 100% 0, 100% 80%, 50% 100%, 0 80%);
  z-index: -1;
}

.problem-conclusion h2 {
  font-size: 48px;
  font-weight: 600;
  line-height: 1.4;
  width: 93%;
  max-width: 966px;
  margin-left: auto;
  margin-right: auto;
  padding: 17px 0;
  border-radius: 999px;
  border: 1.5px solid #3e6aac;
  box-shadow: 0 10px 25px rgba(0, 0, 0, .08);
  background: #fff;
}

@media (max-width: 1000px) {
  .problem-conclusion h2 {
    font-size: 44px;
    max-width: 620px;
  }
}

@media (max-width: 768px) {
  .problem-conclusion h2 {
    font-size: 25px;
  }
}

.problem-row {
  display: flex;
  justify-content: right;
  gap: 10px;
  margin-bottom: 80px;
}

@media (max-width: 1000px) {
  .problem-row {
    flex-direction: column-reverse;
    align-items: center;
    gap: 50px;
  }
}

.problem-summary-list {
  max-width: 456px;
}


@media (max-width: 1000px) {
  .problem-summary-list {
    max-width: 700px;
  }
}

.problem-summary-list li {
  display: flex;
  gap: .5em;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 12px;
}

.problem-summary-list li::before {
  content: '\2714';
  color: #3e6aac;
  font-weight: bold;
}

.problem-summary p {
  font-size: 22px;
  font-weight: 500;
  line-height: 1.6;
  margin-top: 30px;
}


@media (max-width: 1000px) {
  .problem-summary p {
    text-align: center;
    margin-top: 50px;
  }
}

.problem-img {
  width: 54.38%;
  min-width: 500px;
}

@media (max-width: 1000px) {
  .problem-img {
    width: 90%;
    max-width: 650px;
  }
}

@media (max-width: 768px) {
  .problem-img {
    width: 100%;
    min-width: auto;
  }
}

.problem-desc {
  line-height: 1.8;
}

/* ====== 概要 ====== */
.overview {
  position: relative;
  text-align: center;
  margin-top: 120px;
}

.overview h2 img {
  height: 82px;
  width: auto;
  vertical-align: middle;
}

.overview-image {
  text-align: center;
  max-width: 650px;
  margin: 30px auto;
}

.overview-sub {
  color: #3e6aac;
  font-weight: bold;
  font-size: 1.4em;
  text-align: center;
  margin-bottom: 18px;
}

/* カード */
.points-list {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-top: 60px;
}

@media (max-width: 1250px) {
  .points-list {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 50px;
  }
}

.point-card {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 410px;
  padding: 65px 5px 30px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, .08);
  background: #fff;
}

@media (max-width: 1250px) {
    .point-card {
      flex-direction: row-reverse;
      width: 700px;
      max-width: none;
      padding: 0 1% 0 20px;
  }
}

@media (max-width: 768px) {
  .point-card {
    flex-direction: column;
    width: unset;
    padding: 40px 5% 10px;
  }
}

.point-num {
  position: absolute;
  top: 0;
  left: 50%;
  translate: -50% -50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: .4em;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  line-height: 1;
  width: 70px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(135deg, #FEC401, #ef7c1b);
}

@media (max-width: 768px) {
  .point-num {
    font-size: 16px;
      width: 60px;
  }
}

.point-num span {
  font-size: .8em;
}

.point-img {
  flex-shrink: 0;
  width: 40%;
}

.point-inner {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  text-align: center;
  margin-top: 20px;
}

@media (max-width: 1250px) {
  .point-inner {
    display: block;
    margin: 60px 0 50px;
  }
}

@media (max-width: 768px) {
  .point-inner {
    display: flex;
    margin-top: 15px;
  }
}

@media (max-width: 1250px) {
  .br-none {
    display: none;
  }
}

@media not all and (max-width: 1250px) {
  .br-plus {
    display: none;
  }
}

.point-name {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: center;
  color: #ef7c1b;
  text-align: center;
  font-size: 1.5em;
  font-weight: 600;
  line-height: 1.5;
}

.point-text {
  position: relative;
  display: grid;
  place-items: center;
  font-size: 1.1em;
  margin: 8px -.7em 0;
  padding-top: 45px;
}

@media (max-width: 1250px) {
  .point-text {
    margin-top: 20px;
    padding-top: 0;
  }
}

.point-end {
  position: relative;
  letter-spacing: -.03em;
}

.point-end span {
  position: absolute;
  top: 0;
  left: 100%;
  height: 100%;
}

.point-notes {
  position: absolute;
  top: 0;
  left: 0;
  line-height: 1;
  font-size: 14px;
  color: #777;
  width: 100%;
  margin: 0;
}

@media (max-width: 1250px) {
  .point-notes {
    position: static;
    margin-bottom: 1.5em;
  }
}

/* ====== 選ばれる理由 ====== */
.function {
  margin-top: 160px;
  padding-bottom: 80px;
}

/* 上の帯 */
.reason-head {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  font-size: 1.3em;
  font-weight: 600;
  margin-bottom: 10px;
  padding: 10px 0;
}

.reason-head img {
  height: 48px;
}

/* 中央ラベル */
.title-box {
  display: flex;
  justify-content: center;
  gap: 14px;
  font-size: 34px;
}

@media (max-width: 768px) {
  .title-box {
    gap: .411em;
    font-size: 4vw;
  }
}

/* 上の白本体 */
.title-box span {
  position: relative;
  display: grid;
  place-items: center;
  color: #3e6aac;
  line-height: 1;
  font-weight: bold;
  border: .08em solid #3e6aac;
  aspect-ratio: 1;
  width: 2.53em;
  border-radius: .235em;
  padding: 0 .1em .1em 0;
  background: linear-gradient(135deg, #3e6aac 0%, #2c5fb8 50%, #1a4aa5 100%);
  z-index: 2;
}

@media (max-width: 768px) {
  .title-box span {
    font-size: 5vw;
  }
}

/* 下（外に出す） */
.title-box span::after {
  position: absolute;
  top: -.1em;
  left: -.1em;
  content: '';
  width: 100%;
  height: 100%;
  border: .08em solid #3e6aac;
  border-radius: .235em;
  background: #fff;
  z-index: -1;
}

/* ====== ★ ====== */
/* コンテナ */
.reason-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5.45%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 0;
}

/* 1つ目のブロックは左右反転 */
.reason-row.reverse {
  flex-direction: row-reverse;
}

@media (max-width: 1000px) {
  .reason-row {
    flex-direction: column-reverse !important;
  }
}

/* 画像エリア */
.reason-img {
  flex: 1;
  padding: 16px;
  border-radius: 24px;
  background: linear-gradient(135deg, #ffffff, #fbfeff);
  box-shadow: 0 5px 15px rgba(0, 0, 0, .08);
}

@media (max-width: 1000px) {
  .reason-img {
    max-width: 600px;
    margin: 0 auto;
  }
}

/* テキスト */
.reason-text {
  flex: 1;
  min-width: 450px;
}

@media (max-width: 1000px) {
  .reason-text {
    text-align: center;
    width: 100%;
    max-width: none;
  }
}

@media (max-width: 768px) {
  .reason-text {
    min-width: unset;
  }
}

/* アイコン */
.reason-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  background-color: #e5e5e5;
  border-radius: 50%;
  background: linear-gradient(135deg, #39b0e5, #2b9dce);
}


@media (max-width: 1000px) {
  .reason-icon {
    margin: 0 auto;
  }
}

.reason-icon img {
  width: 30px;
  height: 30px;
}

.reason-name {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.5;
  margin: 10px 0;
}

@media (max-width: 1000px) {
  .reason-name {
    font-size: 25px;
  }
}

.reason-sub {
  font-size: 18px;
  font-weight: bold;
  line-height: 1.5;
  margin-bottom: 15px;
  border-top: 1px solid #ddd;
  padding-top: 15px;
}


@media (max-width: 1000px) {
  .reason-sub {
    width: 95%;
    padding-top: 25px;
    margin: 0 auto 25px;
  }
}

.summary-list {
  padding-bottom: 30px;
}

@media (max-width: 1000px) {
  .summary-list {
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
  }
}

.summary-list li {
  display: flex;
  gap: .6em;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 12px;
}

.summary-list li::before {
  content: '\2714';
  color: #3e6aac;
  font-weight: bold;
}

/* ====== オプション ====== */
.optional {
  margin-top: 80px;
  padding-bottom: 80px;
}

/* 外枠 */
.optional-box {
  width: 95%;
  max-width: 1200px;
  margin: 40px auto;
  padding: 60px 3.5% 60px;
  background: #fff3cd;
  border-radius: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, .08);
}

/* 上段 */
.optional-top-area {
  display: flex;
  justify-content: space-between;
  gap: 30px 3px;
  max-width: 1040px;
  margin: 0 auto;
}


@media (max-width: 1000px) {
  .optional-top-area {
    flex-direction: column;
  }
}

/* 左テキスト */
.optional-text {
  width: 550px;
}

@media (max-width: 1000px) {
  .optional-text {
    width: 100%;
  }
}

.optional-name {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  font-size: 48px;
  line-height: 1.3;
  margin-bottom: 30px;
}

@media (max-width: 1000px) {
  .optional-name {
    text-align: center;
    margin: 20px auto 40px;
  }
}

@media (max-width: 768px) {
  .optional-name {
    font-size: 24px;
  }
}

.optional-name:after {
  display: block;
  content: '';
  width: 100%;
  height: 6px;
  margin-top: 3px;
  border-radius: 3px;
  background-image: linear-gradient(to left, #fff3cd 0%, #39b0e5 100%);
}

.optional-name img {
  width: 100%;
}
/* 右画像 */
.optional-illust {
  width: 40%;
  min-width: 350px;
  max-width: 420px;
  margin-top: auto;
  translate: 0 -40px;
}

@media (max-width: 1000px) {
  .optional-illust {
    position: static;
    width: 250px;
    margin: 0 auto;
    translate: 0;
  }
}

@media (max-width: 768px) {
  .optional-illust {
    width: 70%;
    min-width: unset
  }
}

.optional-notes {
  display: flex;
  flex-wrap: wrap;justify-content: center;
  color: #5f5f5f;
  font-size: 12px;
  text-align: center;
}

/* 下の白カード */
.optional-panel {
  position: relative;
  width: 96.5%;
  max-width: 1000px;
  margin: 60px auto 0;
  background: #fff;
  border-radius: 20px;
  padding: 3.85%;
  background-image: radial-gradient(circle, #e0e0e0 1px, transparent 1px);
  background-size: 20px 20px;
}

@media screen and (max-width:768px) {
  .optional-panel {
    width: 100%;
  }
}

/* 下の白カード 動画ボックス */
.video-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1%;
  width: 96.5%;
  max-width: 680px;
  margin: 60px auto 20px;
  padding: 50px 30px 50px 45px;
  border-radius: 20px;
  background-color: #fff;
  background-image: radial-gradient(circle, #e0e0e0 1px, transparent 1px);
  background-size: 20px 20px;
}

@media screen and (max-width:768px) {
  .video-panel {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    padding: 30px 5% 50px;
  }
}

.video-text {
  flex-shrink: 0;
  color: #1f3f5b;
  font-size: 22px;
  font-weight: bold;
  line-height: 1.5;
  width: 210px;
}

@media screen and (max-width:768px) {
  .video-text {
    font-size: 18px;
    width: 100%;
  }
}

.video-label {
  color: #ef7c1b;
  font-size: 17px;
  line-height: 1;
  margin: 0 0 15px -23px;
}

.video-label::before {
  content: '\25B6';
  margin-right: 5px;
}

.video-thumb {
  position: relative;
  max-width: 343px;
  border-radius: 10px;
  border: 2px solid #ef7c1b;
  overflow: hidden;
}

@media screen and (max-width:768px) {
  .video-thumb {
    width: 100%;
    margin-top: 10px;
  }
}

.video-thumb:hover::before,
.video-thumb:hover::after {
  scale: 1.1 1.1;
}

/* 再生ボタン */
.video-thumb::before ,
.video-thumb::after {
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  content: '';
  transition: .3s;
}

.video-thumb::before {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, .3);
  background: rgba(239, 124, 27, .9);
}
/* 三角 */
.video-thumb::after {
  content: '';
  width: 20px;
  height: 24px;
  margin-left: 4px;
  box-shadow: inset 0 0 0 20px #fff;
  clip-path: polygon(0 0, 0 100%, 100% 50%);
}

/* モーダル全体 */
.video-modal {
  /* 初期非表示 */
  display: none;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, .7);
  z-index: 9999;
}

@media (max-width: 768px) {
  .video-modal {
    z-index: 9997;
  }
}
/* 中の箱 */
.video-content {
  position: relative;
}

.video-content iframe {
  border: none;
}

/* 閉じるボタン */
.video-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: #fff;
  font-size: 30px;
}

/* ====== benefit ====== */
.benefit {
  margin-top: 80px;
  padding-bottom: 120px;
}

.compare {
  width: 100%;
  margin-top: 100px;
  border-collapse: collapse;
  border-spacing: 0;
}

@media (max-width: 768px) {
  .compare {
    width: 104%;
    margin: 80px -2% 0;
  }

}

/* 左右カード */
th:first-of-type,
th:last-of-type {
  width: 41.41%;
  padding: 0 30px;
  border-radius: 20px 20px 0 0;
  background: #fff;
}

@media (max-width: 1000px) {
  th:first-of-type,
  th:last-of-type {
    width: auto;
  }
}

@media (max-width: 768px) {
  th:first-of-type,
  th:last-of-type {
    width: calc(50% - 0px);
    padding: 0;
  }
}

.compare-col td {
  position: relative;
  padding: 0 30px;
}

@media (max-width: 1000px) {
  .compare-col td {
    padding: 0 20px;
  }
}

@media (max-width: 768px) {
  .compare-col td {
    padding: 0 8px;
  }
}

.compare-col td:not(:nth-of-type(2)) {
  background: #fff;
}

.compare-col td:after {
  position: absolute;
  bottom: 0;
  left: 50%;
  translate: -50% 0;
  content: '';
  width: calc(100% - 60px);
  border-bottom: 1px solid #ddd;
}

.compare-col tr:last-of-type td {
  padding-bottom: 30px;
  border-radius: 0 0 20px 20px;
}

.compare-col tr:last-of-type td::after {
  border: none;
}

/* タイトル */
.compare-title {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2em;
  color: #fff;
  font-size: 1.17em;
  text-align: center;
  /* line-height: 1.2; */
  padding: 10px;
  border-radius: 20px;
  background: #3e6aac;
}

@media screen and (max-width:1000px) {
  .compare-title {
    gap: 1em;
  }
}

.compare-title::before,
.compare-title::after {
  content: '';
  width: 24px;
  height: 3px;
  background: #fff;
  rotate: 45deg;
}

.compare-title::after {
  rotate: -45deg;
}

/* 画像 */
.compare-img {
  width: 140px;
  margin: -60px 0 10px;
}

/* 各項目 */
.compare-col ul {
  max-width: 350px;
  margin: 0 auto;
  padding: 30px 0;
}

@media (max-width: 768px) {
  .compare-col ul {
    padding-top: 60px;
  }
}

.compare-col li {
  display: flex;
  align-items: flex-start;
  gap: .5em;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.5;
  margin: .88em 0;
}

.compare-col li::before {
  flex-shrink: 0;
  content: '';
  width: .3em;
  aspect-ratio: 1;
  margin-top: .55em;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1em currentColor;
}


@media (max-width: 1000px) {
  .compare-col li {
    font-size: 17px;
  }
}

@media (max-width: 768px) {
  .compare-col li {
    font-size: 15px;
  }
}

/* 白い円 */
.compare-circle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  font-weight: 600;
  max-width: 120px;
  aspect-ratio: 1;
  margin: 0 auto;
  border-radius: 50%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, .08);
  background: #fff;
}


@media (max-width: 1000px) {
  .compare-circle {
    font-size: 15px;
    letter-spacing: 0;
    width: 95px;
  }
}

@media (max-width: 768px) {
  .compare-circle {
    position: absolute;
    top: -10px;
    left: 50%;
    translate: -50% 0;
    font-size: 14px;
    width: 85px;
    z-index: 1;
  }
}

/* アイコン */
.compare-circle img {
  width: 40%;
  margin-bottom: 4px;
}

/* ====== 提供サービス ====== */
.service {
  color: #444;
  text-align: center;
  padding: 80px 0 120px;
  background: center / cover no-repeat;
  background-image: linear-gradient(rgba(241, 246, 244, .6), rgba(241, 246, 244, .6)), url('../img/service-bg.jpg');
}

/* 中の文字やカード */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1000px;
  margin: 40px auto 0;
}

@media (max-width: 768px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

.feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  text-align: center;
  padding: 30px 0 0;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, .08);
}

/* テキスト用の長方形（前） */
.feature-option {
  position: absolute;
  top: 11px;
  left: -16px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  height: 33px;
  padding: 0 14px;
  border-radius: 4px;
  background: #39b0e5;
}

/* 後ろに回る三角形 */
.feature-option::after {
  content: '';
  position: absolute;
  top: 33px;
  left: 3px;
  width: 12px;
  height: 12px;
  background: #2e92bd;
  clip-path: polygon(100% 0, 0 0, 100% 100%);
}

.feature-name {
  order: 1;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 8px;
}

.feature-text {
  order: 3;
  flex-grow: 1;
  display: grid;
  place-items: center;
  color: #666;
  font-size: 14px;
}

.feature-image {
  order: 0;
  width: 40%;
  max-width: 100px;
  margin: 0 auto 15px;
}

.feature-tag {
  order: 4;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  align-content: center;
  gap: 8px 10px;
  min-height: 90px;
  padding: 0 3%;
}

.feature-tag p {
  color: #3e6aac;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  padding: 6px 12px;
  border-radius: 999px;
  background: #eef3fb;
}

/* ====== 利用までの流れ ====== */
.flow {
  padding: 80px 0 120px;
  background-color: #f1f6f4;
  background-image: url('../img/bg-blue.png');
  background-size: 200px 200px;
}

/* 横並び */
.flow-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5%;
  margin-top: 80px;
}

@media (max-width: 1000px) {
  .flow-list {
    gap: 3.5%;
    margin: 0 -1%;
  }
}

@media (max-width: 768px) {
  .flow-list {
    grid-template-columns: repeat(1, 1fr);
    gap: 80px;
    margin: 0;
  }
}

/* 各STEP */
.flow-item {
  position: relative;
  padding: 50px 9.1% 15%;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .1);
  background: #fff;
}

@media (max-width: 1000px) {
  .flow-item {
    padding: 45px 9.1% 20px;
  }
}

@media (max-width: 768px) {
  .flow-item {
    text-align: left;
    padding: 40px 8% 30px;
  }
}

/* 矢印 */
.flow-item:not(:last-of-type)::after {
  position: absolute;
  top: 65px;
  left: 100%;
  content: '›';
  font-size: 34px;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  width: 23%;
  color: #3e6aac;
  z-index: 1;
}

@media (max-width: 1000px) {
  .flow-item:not(:last-of-type)::after {
    top: 55px;
    font-size: 32px;
    width: 15.7%;
  }
}

@media (max-width: 768px) {
  .flow-item:not(:last-of-type)::after {
    top: 100%;
    left: 50%;
    translate: -50% 30%;
    font-size: 32px;
    width: auto;
    rotate: 90deg;
  }
}

/* STEP丸 */
.flow-badge {
  position: absolute;
  top: 0;
  left: 50%;
  translate: -50% -50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 12px;
  line-height: 1.2;
  font-weight: bold;
  width: 70px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(135deg, #39b0e5, #3e6aac);
}

@media (max-width: 1000px) {
  .flow-badge  {
    width: 60px;
  }
}

.flow-badge span {
  font-size: 20px;
}

@media (max-width: 1000px) {
  .flow-badge span {
    font-size: 18px;
  }
}

/* アイコン */
.flow-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 16px;
}

.flow-icon img {
  width: auto;
  height: 60px;
}

@media (max-width: 1000px) {
  .flow-icon img {
    height: 50px;
  }
}

.flow-name {
  font-size: 1.5em;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  margin-bottom: 10px;
}

@media (max-width: 1000px) {
  .flow-name {
    font-size: 1.3em;
  }
}

.flow-name br {
  display: none;
}

@media (max-width: 1000px) {
  .flow-name br {
    display: block;
  }
}

@media (max-width: 768px) {
  .flow-name br {
    display: none;
  }
}

.flow-text {
  color: #555;
  font-size: 13px;
  line-height: 1.6;
}

/* ====== お問い合わせ ====== */
.contact {
  padding: 100px 0 80px;
  /* ドット背景 */
  background-color: #fff3cd;
  background-image: radial-gradient(#f7e8b6 1px, transparent 1px);
  background-size: 8px 8px;
}

/* ボタンエリア */
.contact .cta {
  display: grid;
  place-items: center;
}

.cta-bubble-orange {
  position: relative;
  color: #fff;
  font-size: 13px;
  font-weight: bold;
  line-height: 1;
  text-align: center;
  margin-bottom: .8em;
  padding: .7em 1.07em;
  box-shadow: 0 .31em .62em rgba(0, 0, 0, .1);
  border-radius: 999px;
  background: #ef7c1b;
}

.cta-bubble-orange::after {
  position: absolute;
  top: calc(100% - 1px);
  left: 50%;
  translate: -50% 0;
  content: '';
  width: 1em;
  aspect-ratio: 11 / 6;
  background: inherit;
  clip-path: polygon(0 0, 50% 100%, 100% 0);
}

/* ====== フッター ====== */
.footer {
  color: #fff;
  padding: 40px 0;
  background: #444;
}

/* 横並び */
.footer .container {
  display: flex;
  justify-content: space-between;
}

@media (max-width: 768px) {
  .footer .container {
    flex-direction: column;
    gap: 30px;
  }
}

/* 左 */
.footer-left {
  width: 30%;
}

.footer-logo {
  max-width: 200px;
  margin-bottom: 6px;
}

.footer-copy {
  color: #f5f7fa;
  font-size: 10px;
  margin-left: 4px;
}

/* 右 */
.footer-right {
  width: 60%;
}

@media (max-width: 768px) {
  .footer-right {
    width: 100%;
  }
}

.footer-right a:hover {
  text-decoration: underline;
}

/* メニュー */
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 40px;
  font-size: 14px;
  margin-bottom: 16px;
}

/* 下リンク */
.footer-sub {
  display: flex;
  gap: 30px;
  color: #ddd;
  font-size: 13px;
  margin-top: 20px;
}

/* ====== back-top ====== */
.fixed-top {
  position: fixed;
  right: 20px;
  bottom: 30px;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  color: #fff;
  font-size: 20px;
  border-radius: 50%;
  background: #3e6aac;
  transition: .3s;
  z-index: 9999;
}
@media (max-width: 768px) {
  .fixed-top {
    z-index: 999;
  }
}

.fixed-top:hover {
  background: #8BA5CD;
}