body {
  margin: 0;
  font-family: 'Noto Sans JP', sans-serif;
  background: #e0e1e2;
  color: #333;
}

main {
  overflow: hidden;
}

.paragraph {
  display: inline-block;
}

.fw-bold {
  font-weight: 700;
}

/* ヘッダー */
.header {
  background-color: #ffffff;
  padding: 10px 20px;
  color: #000000;
  position: fixed; /* 固定 */
  top: 0; /* 上からの位置 */
  left: 0;
  right: 0;
  transition: top .5s; /* アニメーション効果を追加 */
  box-shadow: 0 0 38px 0 rgba(0,0,0,0.05);
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1080px;
  max-width: 1340px;
  margin: 0 auto;
}

.header-logo {
  display: flex;
  align-items: center;
}

.header-logo-txt {
  font-size: 14px;
}
 
.logo {
  height: 40px;
}

/*gnavi*/
.nav ul {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
  height: auto;
  align-items: center;
}

.nav a {
  color: #000000;
  text-decoration: none;
  font-size: 14px;
}

.cta-nav{
  background: #E63200;
}
.cta-nav-info{
  background: #555555;
}
.nav .cta-nav, .nav .cta-nav-info {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  text-align: center;
  text-decoration: none;
  width: 130px;
  margin: auto;
  padding: 0.7rem 2rem 0.7rem 1.85rem;
  font-weight: bold;
/*  background: #E63200;*/
  color: #fff;
  border-radius: 1vh;
  position: relative;
  transition: 0.5s;
  position: relative;
}
.cta-nav::after, .cta-nav-info::after {
  content: '';
  width: 7px;
  height: 7px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
  position: absolute;
  right: 21px;
}
.cta-nav:hover {
  background: #E63200;
  color: #fff;
  opacity: 0.8;
}

.cta-nav-info:hover {
  background: #555555;
  color: #fff;
  opacity: 0.8;
}

.cta-nav-info {
  background-color: #555555;
}

/* ハンバーガーアイコン */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  width: 25px;
  height: 21px;
  position: relative;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: #000;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
  position: absolute;

    &:nth-of-type(1) {
    position: absolute;
    top: 0;
  }
    &:nth-of-type(2) {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
  }
    &:nth-of-type(3) {
    position: absolute;
    bottom: 0;
  }
}

.hamburger.open span {
  &:nth-of-type(1) {
    transform: translateY(9px) rotate(45deg);
  }
  &:nth-of-type(2) {
    opacity: 0;
  }
  &:nth-of-type(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
}

/* モバイルメニュー非表示状態 */
.nav {
  transition: max-height 0.3s ease;
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav {
    max-height: 0;
    overflow: hidden;
    background: #ffffff;
    width: 100%;
    position: absolute;
    top: 60px;
    left: 0;
    z-index: 1000;
  }

  .nav.open {
    max-height: 300px; /* 展開時の高さ（メニュー数に応じて調整） */
  }

  .nav ul {
    flex-direction: column;
    gap: 0;
    padding: 0;
  }

  .nav li {
    width: 200px;
    border-top: 1px solid #e0e1e2;
    text-align: center;
    padding: 12px 0;
  }

  .cta-nav {
  /*display: inline-block;*/
    /*margin-top: 10px;*/
  }
}
/*gnavi end*/

.slider {
  position: relative;
  display: flex;
  justify-content: center;
  overflow-x: hidden;
}
.slider img {
  position: absolute;
  top: -120px;
}

h2 {text-align: center;}
.bkgd-gray { background: #e0e1e2;}
.bkgd-white {background: #fff;}
h2.pd-reset {padding:0;}

/* PC・スマホそれぞれの時だけ改行させるクラス */
/*.br-sp {
    display: none;
}*/

.pc_view{
  display: block;
}
.sp_view{
  display: none;
}
@media (max-width: 600px){
    .pc_view{
      display: none;
    }
    .sp_view{
      display: block;
    }

}


/*sec onayami*/
.onayami {
}

.lead {
  width: 100%;
  margin: 2% auto;
  text-align: center;
  font-size: 120%;
  font-weight: 700;
}

.onayami-box {
  background-color: #fff;
  max-width: 1237px;
  width: 80%;
  text-align: center;
  margin: 0 auto;
  padding: 2.5% 3% 3%;
  position: relative;
  border-radius: 12px;
}


.onayami-contens-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
  color: #e63200;
}

/*
.onayami-contens-box-btm img {
  max-width: 1340px;
  width: 86%;
  display: block;
  margin: auto;
} 
*/

.onayami-contens {
  background-color: #e0e1e2;
  width: calc(25% - 20px); /* 4列並べてgapを考慮 */
  min-width: 200px;         /* 小さすぎる崩れを防止 */
  height: 80px;
  text-align: center;
  padding: 10px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  border-radius: 8px;
}

/* モバイル対応 */
/*@media (max-width: 1074px) {
  .onayami-contens {
    width: calc(40% - 20px);
  }
}*/
@media (max-width: 1074px) {
  .onayami-contens {
    width: calc(40% - 20px);
  }
}

@media (max-width: 600px) {
  .onayami-contens {
    width: 100%;
  }
}

.onayami-img {
  position: absolute;
  width: 350px;
  top: -180px;     /* ← ボックスの上に出したい距離（調整OK） */
  right: 0;        /* ← BOXの右端に固定（marginなどで調整もOK） */
  z-index: 2;
}

/* PC表示 */
.onayami-men-img {
  position: absolute;
  top: -205px;      /* ← BOXの上に少し出す */
  right: 0px;   /* ← BOXの右端から少し外に出す */
  width: 260px;
  z-index: 2;
}

/* モバイル表示時 */
@media (max-width: 768px) {
  .onayami-men-img {
    position: static;       /* 通常フローに戻す */
    display: block;
    margin: 20px auto 0;    /* 上に余白をあけつつ中央寄せ */
    width: 200px;           /* モバイル向けサイズ */
  }
}.ba-box {
  flex: 1 1 460px;
  max-width: 480px;
  padding: 20px 20px 30px;
  margin: 0 auto;
  padding: 2.5% 3% 0%;
  border-radius: 12px;
  box-sizing: border-box;
}

.ba-comparison {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 960px;
  margin: 0 auto;
}
@media (max-width: 1024px) {
  .ba-comparison {
    gap: 24px;
  }
}

.ba-label {
  font-weight: bold;
  margin-bottom: 15px;
  font-size: 16px;
}

.ba-label.step1 {
  color: #ff6600;
}

.ba-label.step2 {
  color: #0078d4;
}

.ba-placeholder {
  /*background: #fff;*/
  width: 100%;
  height: 80px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e63200;
  font-size: 22px;
  font-weight: bold;
}
@media (max-width: 500px) {
  .ba-placeholder {
    font-size: 18px;
  }
}

/* Before / After 画像 */
.ba-image-row {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 50px;
}

.ba-img-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* ← 左寄せ配置 */
  gap: 8px;                /* ボタンと画像の間に余白を追加（任意） */
}

.ba-wrapper-box {
  text-align: center; /* これがないとボタンが左寄りに */
  border-radius: 12px;
  max-width: 965px;
  margin: auto;
  padding: 30px 0 70px;
}

@media (max-width: 1024px) {
  .ba-wrapper-box {
    width: 85%;
    margin: 0 auto;
    padding: 30px 0;
  }
}

.ba-wrapper-box02 {
  text-align: center; /* これがないとボタンが左寄りに */
  border-radius: 12px;
  max-width: 965px;
  margin: auto;
  padding: 30px 0;
}
@media (max-width: 1024px) {
  .ba-wrapper-box02 {
    width: 80%;
    margin: 0 auto;
    padding: 2.5% 3% 2.5%;
  }
}


/* ヒーローエリアの全体構成 */

.hero {
  position: relative;
  background: url('../img/document-create/TOP.png') no-repeat center center / cover;
  color: #fff;
  padding: min(calc(77 / 1400* 100vw + 60px), 137px) 20px min(calc(80 / 1400* 100vw), 80px);
  overflow: hidden;
}

.hero * {
  box-sizing: border-box;
}

.hero-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  max-width: 1130px;
  margin: 0 auto;
}

.hero-top img {
  width: 100%;
  height: auto;
}

.hero-overlay {
  max-width: fit-content;
  display: flex;
  flex-direction: column;
  gap: clamp(16px, calc(32 / 1130* 100vw), 32px);
}

/* 白背景×赤文字バナー */
.hero-banner {
  width: 100%;
  background: #fff;
  color: #e63200;
  font-weight: bold;
  font-size: clamp(16px, calc(24 / 1130* 100vw), 24px);
  text-align: center;
  padding: 12px 12px;
/*  margin-left: auto; */  /* ← 左寄せ→右寄せ*/
/*  margin-left: 7.5%;*/  /* 帯の位置 */
  margin: 0;
  border-radius: 4px;
}

/* レイアウト：左テキスト・右バッジ */
.hero-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start; 
  margin: 0 auto;
  position: relative;
  flex-wrap: wrap;
}

/* タイトルテキスト */
.hero-title {
  font-size: clamp(36px, calc(56 / 1130* 100vw), 56px);
  font-weight: 400;
  line-height: 1.1;
  color: #fff;
  margin: 0;
  word-break: keep-all;
  display: block;
}

.hero-title-1 {
  display: flex;
  align-items: center;
  gap: clamp(13px, calc(21 / 1130* 100vw), 21px);
}

.hero-title-2 {
  margin-left: clamp(40px, calc(72 / 1130* 100vw), 72px);
  display: block;
}

.hero-title .middle {
  font-size: clamp(36px, calc(64 / 1130* 100vw), 64px);
}

.hero-title .small {
  font-size: clamp(20px, calc(32 / 1130* 100vw), 32px);
}

.hero-title .highlight {
  font-size: clamp(72px, calc(96 / 1130* 100vw), 96px);
}
  
.ppt-icon {
  width: clamp(52px, calc(97 / 1130* 100vw), 97px);
}

/* 正円バッジ */
.hero-badge {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.hero-badge-text {
  width: 7em;
  padding: 16px;
  border-radius: 16px;
  font-size: clamp(14px, calc(40 / 1400* 100vw), 40px);
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #fff;
  color: #E63200;
}
.hero-badge-text .highlight {
  font-size: clamp(20px, calc(56 / 1400* 100vw), 56px);
}
.hero-badge-img {
  flex-shrink: 0;
  width: min(calc(320 / 1280 * 100vw),340px);
  height: auto;
}

.hero-badge-img img {
  width: 100%;
  height: auto;
  display: block;
}
/* @media (max-width: 1280px) {
  .hero-badge-img {
    max-width: 250px;
  }
} */

.hero-top-lead {
  width: 100%;
}

.badge-title {
  font-size: 24px;        /* 少し小さく */
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 4px;
  white-space: nowrap;    /* 折り返し防止 */
}

.badge-price {
  font-size: 32px;        /* 「円」の大きさ */
  font-weight: bold;
  line-height: 1;
}

.badge-price span {
  font-size: 160px;       /* ← 180px → 160px に調整（高さ確保） */
  line-height: 1;
  display: inline-block;
  vertical-align: middle;
}

.hero-ba {
  margin: 0 auto;
  max-width: 472px;
}

.hero-under-lead {
  margin: 0 auto;
  margin-top: min(calc(110 / 1130* 100vw), 110px);
  width: fit-content;
  padding: 8px 32px;
  font-size: 24px;
  position: relative;
}
.hero-under-lead::before {
  content: '';
  display: block;
  width: clamp(95px, calc(172 / 800* 100vw), 172px);
  height: clamp(69px, calc(125 / 800* 100vw), 125px);
  background: url(../img/document-create/hanamaru.png);
  background-size: contain;
  position: absolute;
  top: max(calc(-50 / 800* 100vw), -50px);
  left: max(calc(-136 / 800* 100vw), -136px);;
  z-index: 2;
}
.hero-under-lead::after {
  content: '';
  display: block;
  width: 100%;
  height: 1px;
  background-color: #fff;
  position: absolute;
  bottom: 0;
  left: 0;
}
.hero-conts {
  margin: 0 auto;
  margin-top: 40px;
  max-width: 1130px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 0;
  overflow: hidden;
  list-style: none;
}
.hero-conts-item {
  max-width: 320px;
  animation: hero-conts 1.5s;
}
.hero-conts-item img {
  width: 100%;
  height: auto;
  vertical-align: bottom;
}
@keyframes hero-conts {
  0% { transform: translateY(100%); }
  100% { transform: translateY(0); }
}

/* CTA中央配置 */
.hero-cta-container {
  margin-top: 40px;
  text-align: center;
}

.cta-main {
  display: inline-block;
  width: 400px;
  padding: 16px 16px 16px 48px;
  font-weight: bold;
  font-size: 28px;
  border-radius: 12px;
  text-decoration: none;
}

a.btn-info {
  background: #e63200;
  color: white;
}
a.btn-info::after {
  content: '▶';
  transform: scale(0.8, 1);
  margin-left: 10%;
  font-size: 90%;
}
a.btn-info:hover {
  background-position: right center;
  background-size: 200% auto;
  -webkit-animation: pulse 2s infinite;
  animation: shad-btn-info 1.5s infinite;
  color: #fff;
}
@supports (-webkit-touch-callout: none) {
  @media screen and (max-device-width: 768px) and (hover: none) and (pointer: coarse) {
    a.btn-info {
      background: #e63200;
      color: white;
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }
  }
}

@supports (-webkit-touch-callout: none) {
  @media screen and (max-device-width: 768px) and (hover: none) and (pointer: coarse) {
    a.btn-info::after {
      content: '▸';
      font-family: 'Arial', 'Helvetica', sans-serif;
      margin-left: 5%;
      font-size: 220%;
      line-height: 1;
      margin-bottom: 2%;
    }
  }
}
@keyframes shad-btn-info {
  0% {box-shadow: 0 0 0 0 #e63200;}
  70% {box-shadow: 0 0 0 10px rgb(39 172 217 / 0%);}
  100% {box-shadow: 0 0 0 0 rgb(39 172 217 / 0%);}
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {

  .hero-badge {
    width: 180px;
    height: 180px;
    padding-top: 30px;
  }

  .cta-main {
    font-size: 18px;
    padding: 14px 40px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: calc(24 / 375* 100vw + 60px) calc(16 / 375* 100vw) calc(24 / 375* 100vw);
  }
  .hero-top {
    flex-direction: column;
  }
  .hero-overlay {
    width: 100%;
  }
  .hero-banner {
    padding: calc(8 / 375* 100vw);
    font-size: calc(16 / 375* 100vw);
  }

  .hero-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-title {
    font-size: calc(36 / 375* 100vw);
  }

  .hero-title-1 {
    gap: calc(10 / 375* 100vw);
  }

  .hero-title-2 {
    margin-left: calc(39 / 375* 100vw);
  }
  
  .ppt-icon {
    width: calc(52 / 375* 100vw);
  }

  .hero-title .middle {
    font-size: calc(36 / 375* 100vw);
  }

  .hero-title .small {
    font-size: calc(20 / 375* 100vw);
  }

  .hero-title .highlight {
    font-size: calc(68 / 375* 100vw);
  }

  .hero-ba {
    margin-top: calc(8 / 375* 100vw);
    width: 74.4%;
  }

  .hero-under-lead {
    margin-top: calc(50 / 375* 100vw);
    margin-right: 0;
    padding: calc(4 / 375* 100vw);
    font-size: calc(16 / 375* 100vw);
  }

  .hero-under-lead::before {
    width: calc(95 / 375* 100vw);
    height: calc(69 / 375* 100vw);
    transform: translate(-100%, -50%);
    top: 32%;
    left: calc(16 / 375* 100vw);
  }

  .hero-conts {
    margin-top: calc(23 / 375* 100vw);
    flex-direction: column;
    gap: calc(8 / 375* 100vw);
  }

  .hero-conts-item {
    max-width: 100%;
    animation: none;
  }

  .hero-badge-img {
    width: max(180px,calc(320 / 680 * 100vw));
    margin: 20px auto 0;
    align-self: center;
  }

  .hero-badge {
    align-self: center;
    margin-top: 30px;
  }
  .cta-main {
    width: 70%;
    padding: 14px 20px;
  }
}

/* セクション：課題訴求 */

.point {
  /*background: #ffffff;*/
  /*padding: 50px;*/
}

.point-box {
  padding: 40px;
}
@media (max-width: 1024px) {
  .point-box {
    padding-bottom : 80px;
  }
}
@media (max-width: 600px) {
  .point-box {
    padding-left: 0;
    padding-right: 0;
  }
}

.BA {
  padding-bottom: 80px;
  /*background: #ffffff;*/
  /*padding: 30px 80px;*/
}

.problems {
  /*background: #fff;*/
  padding: 120px 120px;
  text-align: center;
}

.problems-subtitle {
  font-size: 23px;
  font-weight: bold;
  margin-bottom: 10px;
  line-height: 1.6;
}

.problems-title {
  font-size: 22px;
  font-weight: bold;
  color: #000000;
  margin-bottom: 30px;
}

.problems-title .red {
  color: #e63200;
}

.problems-boxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 700px;
  margin: 0 auto;
}

.problem-box {
  background: #e63200;
  padding: 20px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: bold;
  color: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}


/* スマホ対応 */
@media (max-width: 600px) {
  .problems-boxes {
    grid-template-columns: 1fr;
  }
}

/* Before / After セクション調整(保存用）*/
 /*.ba-wrapper-box {
  background: #ffffff;
  padding: 30px 20px;
  border-radius: 12px;
  max-width: 960px;
  margin: 0 auto 30px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}*/





/* STEP ブロック */

.visual {
  background: #fff;
}
.visual-box {
  border-radius: 12px;
  border: 3px solid #E63200;
  overflow: hidden;
}
.visual-bkgd-tri {
  margin: auto;
  background-image: url('../img/visual-bkgd-tri.png');
  height: 200px;
  background-size: contain;
  background-repeat: no-repeat;
}

.step3 {
  padding : 60px;
}
@media (max-width: 768px) {
  .step3 {
padding : 60px 20px 20px;
  }
}

.before-img-caption {
  background-color: #555555;
  color: #fff;
  padding: 8px 20px;
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: bold;
  border-radius: 25px;
  display: inline-block;
  position: static;
  z-index: auto;
  min-width: 140px; /* ← 追加：横幅を強制的に広く */
  text-align: center; /* ← テキスト中央揃え */
}

.after-img-caption {
  background-color: #ff3300;
  color: #fff;
  padding: 8px 20px;
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: bold;
  border-radius: 25px;
  display: inline-block;
  position: static;
  z-index: auto;
  min-width: 140px; /* ← 同様に追加 */
  text-align: center;
}


.ba-img-temp {
  width: 400px;
  height: auto;
  border-radius: 6px;
  border: 1px solid #ccc;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.ba-img-temp--small {
  max-width: 300px;
}

.feature-icon {
  width: 100px;
  height: auto;
  border-radius: 6px;
}
/* 説明テキスト */

.before-after-inner {
  position: relative; /* 子要素のabsolute位置決めのため追加 */
  margin-top: 60px;
}

.before-after-title {
  position: relative;
}

.before-after-title::after {
  content: "";
  display: block;
  background-image: url(../document-create/../img/);
}

.before-after-title.large {
/*  padding: 20px;*/
  font-size: 32px;
  font-weight: bold;
  color: #000;
  line-height: 1.6;
  text-align: center;
}
@media (max-width: 1024px) {
  .before-after-title.large {
    font-size: 24px;
    margin-bottom: 20px;
  }
}

.before-after-title.middle {
  font-size: 250%;
  font-weight: bold;
  color: #000000;
  margin-bottom: 26px;
  line-height: 1.6;
  text-align: center;
}
@media (max-width: 1024px) {
  .before-after-title.middle {
    font-size: 24px;
  }
}

.before-after-title.small {
  font-size: 26px;
  font-weight: bold;
  color: #000000;
  margin-bottom: 26px;
  line-height: 1.6;
  text-align: center;
}
.bf-title {
  font-size: 130%;
  font-weight: bold;
  line-height: 1.6;
  text-align: center;
  /*padding: 60px 20px;*/
}
.bf-title-line {
  color: #e63200;
}

.bf-title-color {
  color: #e63200;
}

span.marker {
  background: linear-gradient(transparent 75%, #FFCCA5 75%);
  padding-bottom: 0em;
}
/* 文字の上に点 */
.dots {
  background-image: radial-gradient(circle at center, #e63200 20%, transparent 20%); /* 点の色とサイズ調整 */
  background-position: top right; /* 点の位置 */
  background-repeat: repeat-x; /* 横方向に繰り返し */
  background-size: 1em 0.3em; /* 点の間隔とサイズ調整 */
  padding-top: 0.15em; /* 縦方向の位置調整 */
  font-style: normal;
}

/* モバイル */
@media (max-width: 768px) {
  .bf-title-line {
    font-size: 24px;       /* 少し小さく */
    padding: 40px 16px;    /* スマホ用に余白も小さく */
  }
}

span.bf-title-line {
    display: inline-block;
    position: relative;
    padding: 0 .4em 0;
    color: #000000;
    text-align: center;
}

span.bf-title-line::before {
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: #e63200;
    content: '';
}

.ba-note {
  font-size: 15px;
  color: #333;
}

.accent {
  color: #e63200;
  font-size: 120%;
  font-weight: bold;
}

/* モバイル対応 */
@media (max-width: 1024px) {
  .ba-image-row {
    flex-direction: column; /* ← これで縦並び */
    align-items: center;  
    gap: 0;
    padding: 0 16px;
    margin-bottom: 20px;
  }

  .ba-img-block {
    width: 100%;             /* 幅いっぱいに表示 */
    margin-bottom: 24px;     /* 各項目の間に余白 */
    text-align: center;
  }

  .ba-img-temp {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
  }
  
  .ba-img-temp--small {
    width: 300px;
    max-width: 80%;
  }
}

.reconsideration-title {
  margin-inline: auto;
  width: calc(100% - 240px);
}

.reconsideration-image {
  margin: 0 40px;
  margin-bottom: 40px;
  position: relative;
}

.reconsideration-women {
  width: 122px;
  position: absolute;
  top: -158px;
  right: 9px;
}

.reconsideration-image img {
  max-width: 100%;
  height: auto;
}

@media screen and (max-width:1024px) {
  .reconsideration-image {
    margin: 0;
    margin-bottom: 40px;
  }
}

@media screen and (max-width:768px) {
  .reconsideration-title {
    width: 100%;
  }
  .reconsideration-women {
    width: min(calc(122 / 600 * 100vw), 122px);
    top: auto;
    bottom: max(calc(-6 / 600 * 100vw), -6px);
  }
}


/* 業務改善メッセージ */
.business-message {
  background: #fff;
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px dashed #ccc;
}

.business-title {
  font-size: 22px;
  font-weight: bold;
  color: #000;
  margin-bottom: 10px;
  text-align: center;
}


.business-subtitle {
  position: relative;
  font-size: 26px;
  max-width: 965px;
  color: #333;
  margin-top: 0;
  margin-bottom: 10px;
  text-align: center;
  background-color: #e63200;
  color: #fff;
  /* border-radius: 12px 12px 0 0; */
  padding: 30px 0;
}
@media (max-width: 768px) {
  .business-subtitle {
    font-size: 18px;       /* 少し小さく */
  }
}


.business-subtitle:before {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -15px;
  border: 30px solid transparent;
  border-top: 25px solid #e63200;
}

/* セクション：研修の特長と内容 */

.naiyou {
   padding : 32px 120px 16px;
}
@media (max-width: 768px) {
  .naiyou {
    padding : 20px;
  }
}
.training-content {
  position: relative;
  margin: 2em auto;
  padding: 0.5em 1em;
  border: solid 3px #e0e1e2;
  border-radius: 12px;
  max-width: 930px;
}
.training-content .box-title {
    position: absolute;
    display: inline-block;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0 10px;
    line-height: 0.7;
    font-size: 28px;
    background: #FFF;
    color: #000;
    font-weight: bold;
}
@media (max-width: 768px) {
  .training-content .box-title {
    left: 41%;
  }
}
@media (max-width: 500px) {
  .training-content .box-title {
    left: 31%;
  }
}


.training-content p {
    margin: 0; 
    padding: 0;
}
.training-content-box {
  padding: 20px 20px 10px;
}
.training-content-box b {
  font-size: 120%;
  line-height: 1.8;
}


.features-title {
  padding : 30px 30px 0;
  font-size: 28px;
  font-weight: bold;
  color: #000000;
  text-align: center;
  margin-top: 10px;
  margin-bottom: 30px;
}

/* モバイルサイズの調整 */
@media (max-width: 768px) {
  .features-title {
    font-size: 24px;       /* 少し小さく */
    margin: 0px;
    padding: 20px 16px;    /* スマホ用に余白も小さく */
  }
}

@media (max-width: 500px) {
  .features-title {
    font-size: 24px;       /* 少し小さく */
    padding: 10px 16px;    /* スマホ用に余白も小さく */
    margin-bottom: 0px;
  }
}

.features-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.feature-item {
  text-align: center;
  max-width: 300px;
}

.feature-icon {
  font-size: 36px;
  margin-bottom: 10px;
}

.feature-icon-2 {
  margin-bottom: 0;
}

.feature-tit {
  font-size: 16px;
  margin-top: 0;
}

.feature-text {
  font-size: 16px;
  color: #333;
  margin-bottom: 0px;
}
.feature-tit, .feature-tit-deco {
  height: 60px;
}

.features-subtitle {
  font-size: 18px;
  font-weight: bold;
  color: #002b63;
  margin-bottom: 15px;
  text-align: center;
}

.features-detail-list {
  list-style: none;
  padding: 0;
  max-width: 400px;
  margin: 0 auto;
}

.features-detail-list li {
  background: #eef3fb;
  border-left: 5px solid #66c3ff;
  padding: 10px 15px;
  margin-bottom: 10px;
  font-size: 14px;
  color: #333;
  border-radius: 4px;
}

.features-description-block {
  max-width: 700px;       /* .features-content-grid と横幅を揃え */
  margin: 0 auto 30px;    /* 内容左揃え */
  text-align: left;
}

.features-description-text {
  font-size: 14px;
  color: #333;
  line-height: 1.8;
  margin-top: 12px;
}

.feature-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 15px;
    height: 93%;
}

.feature-tit-deco-l {
  font-size: 22px;
  font-weight: bold;
  color: #e63200;
  margin: 0;
  margin-bottom: 5px;
  letter-spacing: 0.1em;
}

.feature-tit-deco {
  font-size: 18px;
  font-weight: bold;
  color: #e63200;
  margin-top: 0;
}

.strikethrough {
  font-size: 16px;
  color: #999;
}

.features-content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.features-content-grid div:first-of-type, .features-content-grid div:nth-of-type(4) {
  margin-left: 0;
}
@media (max-width: 768px) {
  .features-content-grid div:first-of-type, .features-content-grid div:nth-of-type(4)  {
    margin-left: 10px;
  }
}

.features-content-grid div:nth-of-type(3), .features-content-grid div:nth-of-type(6) {
  margin-right: 0;
}
@media (max-width: 768px) {
  .features-content-grid div:nth-of-type(3), .features-content-grid div:nth-of-type(6) {
    margin-right: 10px;
  }
}


.sampleRadius {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 2em;
  margin: 10px;
  text-decoration: none;
  border-radius: 80vmax;
  padding: 12px;
  text-align: center;
  color: #e63200;
  font-size: 14px;
  font-weight: bold;
  border: 1px solid #e63200;
}

.feature-content-item {
  background: #eef3fb;
  border-left: 5px solid #66c3ff;
  padding: 15px 20px;
  border-radius: 8px;
  font-size: 14px;
  color: #333;
  text-align: left;
}


/* タイトル行を枠の内側上部に入れる 
.features-content-wrapper {
  border: 3px solid #e0e1e2;
  border-radius: 10px;
  background: #fff;
  max-width: 960px;
  margin: 40px auto;
  overflow: hidden;
}*/

/* タイトル行を枠の内側上部に入れる */
.features-content-heading {
  font-size: 25px;
  font-weight: bold;
  color: #000;
  text-align: center;
  padding: 10px 0;
}


/* グリッド：3列レイアウト */
.features-content-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0px;
  padding: 10px 0px;
}

.feature-content-item {
  background: #eef3fb;
  border-left: 5px solid #66c3ff;
  padding: 15px 20px;
  border-radius: 8px;
  font-size: 14px;
  color: #333;
  text-align: left;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

/* モバイル対応 */
@media (max-width: 768px) {
  .sampleRadius {
    min-height: calc(2em + 24px);
  }
  .features-content-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .features-content-grid {
    grid-template-columns: 1fr;
  }
}

.zero-large {
  font-family: 'Montserrat', sans-serif;
  font-size: 200%;
  font-weight: bold;
  line-height: 1;
  color: #e63200; /* 文字色はそのまま強調カラーを維持 */
  vertical-align: baseline;
  margin: 0 0.1em;
}

.highlight-room {
  font-size: 130%;           /* または具体的に 20px など */
  font-weight: bold;
  color: #e63200;            /* 強調カラーを合わせるなら */
}

.highlight-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 150%;
  font-weight: bold;
  color: #e63200; /* 必要に応じて他の色に変更可 */
}

.testimonials-title {
  font-size: 22px;
  font-weight: bold;
  color: #002b63;
  text-align: center;
  margin-bottom: 30px;
}

.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.testimonial-item {
  background: #f5f9ff;
  border: 1px solid #d0d7e1;
  border-radius: 10px;
  padding: 20px;
  width: 250px;
  text-align: left;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.testimonial-text {
  font-size: 14px;
  color: #333;
  margin-bottom: 10px;
  line-height: 1.6;
}

.testimonial-name {
  font-size: 12px;
  color: #666;
  text-align: right;
}

/* お客様の声セクション全体 */
.testimonials-section {
  background: #ffffff;
  padding: 120px 120px;
  text-align: center;
  margin: 0 auto;
}
@media (max-width: 1024px) {
  .testimonials-section{
    padding: 60px 30px 30px;
  }
}

/* タイトルに線（BOX幅合わせ） */
.section-heading-with-lines {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
  gap: 15px;
  max-width: 960px;
  margin: auto;
}

.section-heading-with-lines::before,
.section-heading-with-lines::after {
  content: '';
  flex: 1;
  height: 3px;
  background: #e0e1e2;
}

.section-heading-with-lines span {
  font-size: 28px;
  font-weight: bold;
  color: #000000;
  white-space: nowrap;
}

/* グラフ＋コメント横並び */
.testimonial-graph-area.horizontal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}
@media (max-width: 1024px) {
  .testimonial-graph-area.horizontal{
    margin-bottom: 10px;
    gap: 0px;
  }
}

.donut-image {
  width: 340px;
  height: auto;
}

@media (max-width: 768px) {
  .donut-image {
    width: 100%;
    max-width: 340px;
  }
}

.graph-comment {
  font-size: 28px;
  font-weight: bold;
  color: #e63200;
  max-width: 500px;
  text-align: left;
  line-height: 1.6;
}

@media (max-width: 600px) {
  .graph-comment {
    font-size: 26px;
    white-space: nowrap;
    display: flex;
    justify-content: center;
  }
}

/* 吹き出しリスト */
.testimonial-balloons {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
}

/* 左右交互 */
.balloon {
  display: flex;
  max-width: 100%;
  align-items: flex-start;
}

.balloon.left {
  flex-direction: row;
}

.balloon.right {
  flex-direction: row-reverse;
}

/* アイコン */
.testimonial-icon {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin: 0 10px;
}

/* 吹き出しの中身 */
.balloon-text {
  background: #e0e1e2;
  border-radius: 10px;
  padding: 24px;
  font-size: 16px;
  /*line-height: 1.9;*/
  color: #000000;
  text-align: left;
  position: relative;
  width:860px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

/* 吹き出し矢印 */
.balloon.left .balloon-text::before {
  content: "";
  position: absolute;
  top: 15px;
  left: -10px;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-right: 10px solid #e0e1e2;
}

.balloon.right .balloon-text::before {
  content: "";
  position: absolute;
  top: 15px;
  right: -10px;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 10px solid #e0e1e2;
}

.balloon-text ul {
  font-weight: 500;
}
.balloon-text ul,.balloon-text ul li:last-child {
  padding-left:20px;
}
.balloon-text ul li:first-of-type {
  list-style-type: "Q.";
  margin-bottom: 20px;
  color: #e63200;
  font-size: 110%;
}
.balloon-text ul li:last-child {
  list-style: none;
  margin-block-start: 0.1em;
  margin-block-end: 0.1em;
  padding-inline-start: 0;
}
.balloon-text ul li:last-child em {
  color: #e63200;
  font-size: 110%;
  font-weight: 700;
  font-style:normal;
}


/* モバイル対応 */
@media (max-width: 600px) {
  .testimonials-section {
    padding: 60px 10% 10%;
  }
  .testimonial-graph-area.horizontal {
    flex-direction: column;
    text-align: center;
  }

  .balloon {
    flex-direction: column !important;
    align-items: center;
    text-align: center;
  }

  .balloon-text {
    text-align: center;
    width: 100%;
  }

  .balloon.left .balloon-text::before,
  .balloon.right .balloon-text::before {
    display: none;
  }
}


.cta-tyukan {
  text-align: center;
  background: #e63200;
  padding: 120px; /* ← コンパクトに */
}

.cta-tyukan-wide {
  display: inline-block;
  border-radius: 25px;
  text-decoration: none;
  width: 100%;
  max-width: 960px; /* ← 横幅制限 */
}

.cta-tyukan-wide img {
  width: 100%;
  height: auto;
  display: block;
}

/* モバイル対応 */
@media (max-width: 768px) {
  .cta-tyukan {
    padding: 60px 20px; /* 上下は保持しつつ、左右を狭める */
  }
}

/* 最後のCTAセクション */
.cta-final {
  text-align: center;
  background: #e63200;
  padding: 120px 60px;
}

.cta-footer {
  display: inline-block;
  padding: 16px 48px;
  font-weight: bold;
  font-size: 28px;
  border-radius: 12px;
  text-decoration: none;
}
a.btn-info-footer {
  background: white;
  color: #e63200;
}
a.btn-info-footer:hover {
  background-position: right center;
  background-size: 200% auto;
  -webkit-animation: pulse 2s infinite;
  animation: shad-btn-footer 1.5s infinite;
  color: #e63200;
}
@keyframes shad-btn-footer {
  0% {box-shadow: 0 0 0 0 white;}
  70% {box-shadow: 0 0 0 10px rgb(39 172 217 / 0%);}
  100% {box-shadow: 0 0 0 0 rgb(39 172 217 / 0%);}
}


/* フッター部分 */
.footer {
  background: #fff;
  padding: 20px 10px;
  text-align: center;
  font-size: 12px;
  /*color: #999;*/
  border-top: 1px solid #eee;
}

/* モバイル対応 */
@media (max-width: 768px) {
  .cta-final {
    padding: 60px 20px; /* 上下は保持しつつ、左右を狭める */
  }

  .cta-footer {
    font-size: 20px;
    padding: 14px 24px;
    width: 100%;
    max-width: 300px; /* 幅制限で中央揃え */
    box-sizing: border-box;
  }

  .footer {
    padding-bottom: 75px;
  }
}

/*スライダー設定*/
.hero .swiper {
  margin-top: 100px;
  width: 100dvw;
  margin-left: calc(50% - 50dvw);
}
.swiper{
  margin: 0 40px;
}
@media (max-width: 1024px) {
  .swiper{
    margin: 0;
  }
}
.swiper-wrapper {
  height: 346px;
  transition-timing-function: linear !important;
  align-items: center;
}
.swiper-slide{
  width: 350px!important;
  height: auto;
  aspect-ratio: 175 / 121;
  max-width: 100%;
  overflow: hidden;
  margin: 0  min(calc(25 / 1130 * 100%), 50px); 
  transition: scale .5s;
  opacity: 0.5;
  /*@media screen and (max-width: 768px) {
      max-width: 390px;
  } */
}
.swiper-slide img {
  width: 100%;
  height: auto;
}
.swiper-button-next,
.swiper-button-prev{
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    border-radius: 50%;
    color: #e63200;
    border: 1px solid #e0e1e2;
}
.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 24px;
  font-weight: bold;
}

.swiper-button-prev:after {
  padding-right: 4px;
}

.swiper-button-next:after {
  padding-left: 4px;
}

.swiper-slide-active {
  scale: 142%;
  position: relative;
  z-index: 100;
  opacity: 1;
}

@media screen and (max-width: 768px) { /* ブレイクポイントを指定 */
  .swiper-slide-active {
    scale: 105%;
  }
}

/*追従バナー（SP時のみ表示）*/
.floating-banner {
  position: fixed; /* バナーを追従させる */
  z-index: 99999; /* 他の要素の下に隠れないように */
  bottom: 0; /* バナーの上下の位置 */
  right: 0; /* バナーの左右の位置 */
  width: 300px; /* バナーの横幅 */
  display: none; /* 通常は非表示に */
}

@media screen and (max-width: 768px) { /* ブレイクポイントを指定 */
  .floating-banner {
    display: flex;/* 消していたバナーを表示させる */
    width: 100%; /* スマホの画面幅いっぱいにバナーを表示 */
  }
}

.floating-banner a {
    text-decoration: none;/* リンクに下線が入らないように */
}

/* グレー背景×白文字バナー */
.floating-documents {
  width: 50%;
  background: #e63200;
  color: #fff;
  font-weight: bold;
  margin:0px;
  font-size: 18px;
  padding: min(2.45vw ,12px) 0;
  max-width: 100%;
  text-align: center;
}

.floating-contact {
  width: 50%;
  background: #555555;
  color: #fff;
  font-weight: bold;
  margin:0px;
  font-size: 18px;
  padding: min(2.45vw ,12px) 0;
  max-width: 100%;
  text-align: center;
}

.floating-cta-button {
  margin: 0;
  font-size: min(3.67vw,18px);
}

.floating-cta-button::after {
  content: '▶';
  transform: scale(0.8, 1);
  margin-left: 3%;
  font-size: 90%;
}

@supports (-webkit-touch-callout: none) {
  @media screen and (max-device-width: 768px) and (hover: none) and (pointer: coarse) {
    .floating-cta-button {
      margin: 0;
      font-size: min(3.67vw,18px);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      white-space: nowrap;
    }
  }
}

@supports (-webkit-touch-callout: none) {
  @media screen and (max-device-width: 768px) and (hover: none) and (pointer: coarse) {
    .floating-cta-button::after {
      content: '▸';
      font-family: 'Arial', 'Helvetica', sans-serif;
      margin-left: 3%;
      font-size: 200%;
      line-height: 1;
      margin-bottom: 3%;
    }
  }
}

.footer-pagetop {
    position: fixed;
    right: 36px;
    bottom: 36px;
    z-index: 1000;
    width: 76.2px;
    height: 76.2px;
}

.footer-pagetop * {
  box-sizing: border-box;
}

.footer-pagetop__link {
    display: block;
    background-color: #fff;
    border-radius: 100px;
    height: 100%;
    padding-top: 17px;
    transition: 0.3s;
}

.footer-pagetop__link:hover {
    opacity: 0.7;
}

.footer-pagetop__triangle {
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 23.1px 31.2px 23.1px;
    border-color: transparent transparent #e63200 transparent;
    margin: 0 auto;
}

.copyright {
  font-family: 'Montserrat', sans-serif;
}

@media screen and (max-width: 768px) {
    .footer-pagetop {
        right: 20px;
        bottom: 60px;
        width: 63.5px;
        height: 63.5px;
    }
    .footer-pagetop__link {
        padding-top: 15px;
        transition: none;
    }
    .footer-pagetop__link:hover {
        opacity: 1;
    }
    .footer-pagetop__triangle {
        border-width: 0 19.25px 26px 19.25px;
    }
}