html {
    font-size:16px;
}
body {
    font-family:"Noto Sans JP", 'Lato',sans-serif;
    font-size:16px;
    z-index:0;
    line-height: 1.75em;
}
a,a.active, a:active, a:focus, a:hover {
	outline:none;
	text-decoration:none;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  margin:0;
  padding:0;
  }
p{
  margin:0;
  padding:0;
}
img{
    width:100%;
    height:auto;
}
*{
    box-sizing:border-box;
}
*:focus {
  outline: none;
}
.mx-auto{
    display:block !important;
    margin:0 auto !important;
}
.text-center{
    text-align:center;
}
.animation01{
    opacity:0;
}
.container-fluid{
    padding:0;
}
/*--------------------------------------------------------------
全体
--------------------------------------------------------------*/
section {
    width:100%;
    padding:0; 
    display:block;
    margin:0 auto;
    position:relative;
}
@media screen and (max-width: 991px){
.sp-padding-5{
    padding:0 5px;
}
.sp-padding-10{
    padding:0 10px;
}
.sp-padding-15{
    padding:0 15px;
}
.sp-padding-20{
    padding:0 20px;
}
.sp-padding-25{
    padding:0 25px;
}
.sp-padding-30{
    padding:0 30px;
}
.sp-padding-35{
    padding:0 35px;
}
.sp-padding-40{
    padding:0 40px;
}
.sp-padding-45{
    padding:0 45px;
}
}
/*--------------------------------------------------------------
KV
--------------------------------------------------------------*/
.kv-area {
  display: flex;
  align-items: center;           /* 縦中央揃え */
  justify-content: space-between;/* 両端揃え */
  height: 100vh;                 /* 画面縦幅100vh */
}
.kv-left-area,
.kv-right-area {
  display: flex;
  flex-direction: column;        /* 縦積み */
  gap:0;                        /* 画像間の余白 */
  height: 100vh;                /* 左右エリアも100vh */
  flex: 1;                      /* 残りのスペースを均等に分配 */
  min-width: 0;                 /* flexアイテムの最小幅をリセット */
}
.kv-left-area img,
.kv-right-area img {
  width: 100%;                  /* 親要素の幅いっぱいに */
  height: 50vh;                 /* 各画像の高さを50vh */
  object-fit: cover;            /* 画像比率を保ちながらエリアを埋める */
}
.kv-main {
  flex: 0 0 768px;
  display: flex;
  flex-direction: column;
  align-items: center;
  align-self: center;    /* ← ここを変更：上下中央に配置 */
  padding: 2rem 1.25rem 0;
}
.speech-bubble{
  font-size: 1.5rem;
  position: relative;
  display: block;
  background-color: #000;
  color: #fff;
  padding: 0.4rem 2rem 0.8rem;
  border-radius: 999px;
  font-weight: bold;
  line-height: 1.4;
  text-align: center;
  width: 90%;
  margin-bottom:3.2rem;       /* ← 吹き出しと下の要素のすき間 */
}
.speech-bubble span{
  /* 見出し的な部分だけ少し大きめに */
  font-size: 2rem;
  display:inline-block;
  margin-right:0.15rem;
}
.speech-bubble::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 12px 12px 0;
  border-style: solid;
  border-color: #000 transparent transparent transparent;
}
/* スピードエリアは横並びアイコン＋テキスト */
.kv-speed-area {
  display: flex;
  align-items: center;
  gap: 0rem;                 /* アイコンと文字のすき間 */
  font-size: 1.75rem;             /* お好みで調整 */
  border-bottom:3px solid #D80C18;
  position:relative;
  padding:0 0 1.2rem 4.5rem;
}
.kv-speed-area span{
  font-size: 1.875rem;
  font-weight: bold;
}
/* アイコンサイズ調整例 */
.kv-icon-speed {
  width: 5.5rem;
  height: auto;
  position:absolute;
  left:-1rem;
}
.kv-intro {
  text-align: center;
  margin-top: 0.5rem;    /* 上の要素との間隔 */
}
/* １行ずつ縦に積む */
.kv-intro__line {
  margin: 0;    /* 行間 */
  font-weight: bold;
  line-height: 1.3;
}
/* 赤文字部分 */
.kv-intro__red {
  color: #D80C18;
  font-size: 4.0rem;
}
.kv-intro__red o{
  font-size:5.0rem;
}
/* 黒文字部分 */
.kv-intro__black {
  color: #000;
  font-size: 3.5rem;
}
.kv-intro__black o{
  font-size: 4.0rem;
}
.kv-point {
  display: flex;              /* Flex コンテナに */
  justify-content: center;    /* 子要素を水平中央揃え */
  align-items: center;        /* 垂直方向も中央揃え */
  gap: 25px;                  /* 子要素間のスペースを 30px */
  width: 100%;                /* 親要素いっぱいに広げる */
  margin:1.0rem 0 0;
}
.kv-point img {
  width: 18%;                 /* 画面（またはコンテナ）幅の 20% */
  height: auto;               /* アスペクト比を維持 */
}

/* ─── CTA セクション全体 ─── */
.kv-cta {
  text-align: center;
  margin-top: 1.5rem;          /* 上の要素との間隔 */
}

/* ─── ナビゲーションテキスト ─── */
.kv-cta__text {
  position: relative;      /* 疑似要素の絶対配置基準 */
  display: inline-block;   /* テキスト幅・高さに合わせる */
  margin: 0 0 1.5rem;
  padding: 0 1.0rem;       /* 左右に余白を確保 */
  font-size: 1.25rem;
  line-height: 1.4;
  text-align: center;
  /* ↓もし border で縦線を入れていたら削除してください */
  border: none;
}

.kv-cta__text::before,
.kv-cta__text::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 2px;              /* ラインの細さ */
  height: 140%;            /* 少し長めにして角度でもはみ出さない */
  background-color: #000;  /* 線の色はお好みで */
  transform-origin: center center;
}

/* 左側の斜め線 */
.kv-cta__text::before {
  left: 0;
  transform: translate(-50%, -50%) rotate(-20deg);
}

/* 右側の斜め線 */
.kv-cta__text::after {
  right: 0;
  transform: translate(50%, -50%) rotate(20deg);
}


/* ─── ボタン ─── */
.kv-cta__button {
  position: relative; 
  /* 既存のグラデーションなどはそのまま */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    to bottom,
    #D80C18 0%,
    #D80C18 50%,
    #BC3A40 50%,
    #BC3A40 100%
  );
  color: #fff;
  text-decoration: none;
  padding: 1.2rem 1rem;
  border-radius: 999px;
  font-weight: bold;
  font-size:1.5rem;
  transition: opacity 0.2s ease;  /* 不透明度の変化を滑らかに */
  width:65%;
  margin:0 0 2rem;
}

.kv-cta__button:hover {
  opacity: 0.7;
  color: #fff;
}
/* ─── ボタン内アイコン ─── */
.kv-cta__icon {
  position: absolute;     /* すでに absolute */
  top: 50%;               /* ボタンの高さの中央 */
  right: 1.5rem;          /* 右端から1.5rem */
  transform: translateY(-50%);  /* 上下オフセットを半分戻す */
  width: 1.25rem;
  height: auto;
}

@media (max-height: 900px) {
.speech-bubble{
  margin-bottom:2.4rem;       /* ← 吹き出しと下の要素のすき間 */
}
/* スピードエリアは横並びアイコン＋テキスト */
.kv-speed-area {
  padding:0 0 1.2rem 4.5rem;
}
.kv-intro {
  text-align: center;
  margin-top: 0.3rem;    /* 上の要素との間隔 */
}
.kv-intro__line {
  line-height: 1.2;
}
.kv-intro__red {
  color: #D80C18;
  font-size: 3.6rem;
}
.kv-intro__red o{
  font-size:4.5rem;
}
/* 黒文字部分 */
.kv-intro__black {
  color: #000;
  font-size: 2.7rem;
}
.kv-intro__black o{
  font-size: 3.6rem;
}
.kv-cta__text {
  margin: 0 0 1.0rem;
}
}
@media (max-width: 991px) {
  .kv-area {
    flex-wrap: wrap;
    height: auto !important;
    align-items: flex-start;
    gap: 0;                    /* 全体のgapを0に */
  }
  /* 2) 左右の画像エリアを幅50%に */
  .kv-left-area,
  .kv-right-area {
    flex: 0 0 50%;
    max-width: 50%;
    margin: 0;                 /* マージンを0に */
    padding: 0;                /* パディングを0に */
    height: auto;              /* 高さを自動に変更 */
    line-height: 0;            /* 行間を0に設定 */
    font-size: 0;              /* フォントサイズを0に設定 */
  }
  .kv-left-area img,
  .kv-right-area img {
    width: 100%;
    height: auto;              /* 高さを自動に変更 */
    object-fit: cover;
    display: block;            /* displayをblockに */
    margin: 0;                 /* マージンを0に */
    padding: 0;                /* パディングを0に */
    vertical-align: top;       /* 垂直配置をtopに */
  }

  .kv-main {
    order: 1;                  /* 画像エリアのあとに表示 */
    flex: 0 0 100%;
    max-width: 100%;
    align-self: flex-start;    /* 上揃え */
    /* ↓すべての余白を完全に削除 */
    padding: 0 1rem 0 !important;
    margin: -36px 0 0 !important;
  }
  
  /* モバイル版での吹き出しの上部マージンを削除 */
  .speech-bubble {
    margin-top: 0 !important;  /* 上部マージンを完全に削除 */
    margin-bottom: 2.4rem;       /* 下部マージンは保持 */
    padding: 0.6rem 1rem 0.9rem;
  }
}

@media (max-width: 767px) {
.kv-left-area img,
.kv-right-area img {
    display: block;          /* img要素の余白をリセット */
    width: 100%;             /* 親幅いっぱいに拡大 */
    aspect-ratio: 180 / 120; /* 縦横比を固定 */
    object-fit: cover;       /* はみ出し部分を中央トリミング */
}
.kv-main {
    margin: -2.3rem 0 0 !important;
}
.speech-bubble{
  font-size: clamp(0.8rem, 4vw, 1.5rem);
    margin-bottom: 1.2rem;       /* 下部マージンは保持 */
}
.speech-bubble span{
  font-size: clamp(1.0rem, 5vw, 1.875rem);
}
.kv-speed-area {
  font-size: clamp(0.6rem, 3.5vw, 1.2rem);
  padding:0 0 0.5rem 2.5rem;
}
.kv-speed-area span{
  font-size: clamp(1.0rem, 5vw, 1.875rem);
}
/* アイコンサイズ調整例 */
.kv-icon-speed {
  width: 2.5rem;
  left:-0.1rem;
}
/* 赤文字部分 */
.kv-intro__red {
  font-size: clamp(2.0rem, 8vw, 3.5rem);
}
.kv-intro__red o{
  font-size: clamp(3.0rem, 12vw, 5.0rem);
}
.speed-support o{
  font-size: clamp(2.2rem, 8.5vw, 3.75rem);
}
/* 黒文字部分 */
.kv-intro__black {
  font-size: clamp(1.5rem, 6.5vw, 3.0rem);
}
.kv-intro__black o{
  font-size: clamp(2.2rem, 8.5vw, 3.75rem);
}
.kv-point img {
  width: 28%;                 /* 画面（またはコンテナ）幅の 20% */
  height: auto;               /* アスペクト比を維持 */
}
.kv-cta__text {
  font-size: clamp(0.8rem, 3vw, 1.5rem);
}
.kv-cta__button {
  padding: 1rem;
  width:85%;
  font-size: clamp(1.0rem, 4vw, 1.5rem);
}
/* ─── ボタン内アイコン ─── */
.kv-cta__icon {
  right: 1rem;          /* 右端から1.5rem */
}
}

@media (max-width: 349px) {
.kv-intro__red {
  font-size: clamp(1.8rem, 7.2vw, 3.15rem);
}
.kv-intro__red o{
  font-size: clamp(2.7rem, 10.8vw, 4.5rem);
}
.speed-support o{
  font-size: clamp(1.98rem, 7.75vw, 3.38rem);
}
/* 黒文字部分 */
.kv-intro__black {
  font-size: clamp(1.8rem, 7.2vw, 3.15rem);
}
.kv-intro__black o{
  font-size: clamp(1.98rem, 7.75vw, 3.38rem);
}
}


/*--------------------------------------------------------------
こんなお悩みありませんか？
--------------------------------------------------------------*/
.worries-section {
  -webkit-clip-path: polygon(
    0% 0%,
    100% 0%,
    100% 80%,
    50% 100%,
    0% 80%
  );
  clip-path: polygon(
    0% 0%,
    100% 0%,
    100% 80%,
    50% 100%,
    0% 80%
  );
  background: linear-gradient(180deg, #BC3A40 0%, #D80C18 50%, #BC3A40 100%);
  padding: 2rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: visible;
  
  /* box-shadowをfilter: drop-shadowに変更 */
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
}

.worries-section-text{
  font-size: clamp(1.0rem, 5vw, 1.875rem);
  color: #fff;
  line-height:1.3em;
  font-weight:500;
}
.worries-section-text span{
  display:inline-block;
  background:#fff;
  padding:1px 10px;
  margin:10px;
  color:#D80C18;
}


@media (min-width: 992px) {
#yourace_02 {
  background-image: url("../img/worries_bg_pc.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  padding:0 0 50px;
}
}
@media (max-width: 991px) {
#yourace_02 {
  background-image: url("../img/worries_bg_sp.png");
}
}
.worries-title {
  text-align: center;
  margin:5rem 0 1.5rem;
}

.worries-title h2 {
  font-size: clamp(1.4rem, 6vw, 2.4rem);
  margin: 0;
  font-weight: 600;
  letter-spacing:0.1em;
  position:relative;
}
.worries-title .highlight {
  color: #d80c18;
  font-size: clamp(2.0rem, 8vw, 3.5rem);
}
.icon-worries{
  width:85px;
  height:auto;
  position:relative;
  bottom:25px;
  right:10px;
  font-size: clamp(2.0rem, 8vw, 3.5rem);
}
.worries-characters {
    text-align: center;
    margin-bottom: 2.5rem;
}
.worries-characters img {
    width: 300px;
    height: auto;
}
.worries-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}
.worry-card {
    display: grid;
    place-items: center; /* 縦横センター */
    background: #F2F2F2;
    border: 4px solid #BC3A40;
    border-radius: 8px;
    border-radius:0.5rem;
    padding: 4rem 1.5rem;
    text-align: center;
    position: relative;
}
.worry-card::before {
    content: '';
    position: absolute;
    top: -28px;
    left: 50%;
    transform: translateX(-50%);
    width: 56px;
    height: 56px;
    background: #BC3A40;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: white;
    font-family:'Lato', sans-serif;
    font-size:1.5rem;
}
.worry-card:nth-child(1)::before {
    content: '01';
}
.worry-card:nth-child(2)::before {
    content: '02';
}
.worry-card:nth-child(3)::before {
    content: '03';
}
.worry-card p {
    margin: 0;
    font-size: clamp(0.8rem, 4vw, 1.4rem);
    font-weight: 500;
    line-height: 1.4;
}
@media (min-width: 992px) and (max-width: 1199px)  {
.worry-card {
    padding: 4rem 1.0rem;
}
.worry-card p {
    font-size: clamp(0.7rem, 3.5vw, 1.2rem);
}
}
@media (max-width: 991px) {
.worries-section {
  padding: 1rem 0 2rem;
}
.worries-title h2 {
    font-size: clamp(1.0rem, 5.5vw, 1.875rem);
    position:relative;
    left:0;
}
.worries-title .highlight {
    font-size: clamp(1.25rem, 8.0vw, 2.5rem);
}
.icon-worries{
    width:70px;
    position:absolute;
    top:-50px;
    bottom:none;
    right:0.25rem;
}
.worries-characters {
    margin-bottom: 1.5rem;
}
.worries-characters img {
    max-width: 250px;
}
.worries-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
    padding:0 0.5rem;
}
.worry-card {
    padding: 2.5rem 1rem;
    margin-top: 1.5rem;
}
.worry-card::before {
    top: -20px;
    width: 40px;
    height: 40px;
    font-size:1.25rem;
}
.worry-card p {
    font-size: clamp(1.0rem, 5vw, 1.5rem);
}
}
@media (max-width: 399px) {
.worries-title h2 {
    font-size: clamp(1.0rem, 5vw, 1.875rem);
}
.worries-title .highlight {
    font-size: clamp(1.25rem, 7.5vw, 2.5rem);
}
.icon-worries{
    width:55px;
    position:absolute;
    top:-40px;
    bottom:none;
    right:0;
}
}


/*--------------------------------------------------------------
ユア・エースが選ばれる理由
--------------------------------------------------------------*/
.reason-section{
  background-image: url("../img/reason_title_bg.jpg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover; /* ←変更点 */
  padding:6rem 0;
}
.reason-title{
    text-align:center;
    font-size: clamp(1.5rem, 5.0vw, 2.5rem);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}
.color-white{
    color:#fff;
}
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin:4rem 0 2rem;
}
.feature-card {
    background: #D91C27;
    color: white;
    padding: 50px 30px;
    position: relative;
}
.feature-card h3 {
    font-size: clamp(1.0rem, 5vw, 1.45rem);
    font-weight: bold;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    /* 固定の高さを指定 */
    height: 3.75rem; /* 2行分の高さ */
    line-height: 1.5;
    display: flex;
    align-items: center;
}
.feature-card p {
    font-size: 16px;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}
.feature-card:nth-child(1)::after {
    content: '1';
    position: absolute;
    bottom: 6.5rem;
    right: 0rem;
    font-size: 18rem;
    font-weight: bold;
    color: #EA484F;
    font-family:'Lato', sans-serif;
    font-weight:700;
}
.feature-card:nth-child(2)::after {
    content: '2';
    position: absolute;
    bottom: 6.5rem;
    right: 0rem;
    font-size: 18rem;
    font-weight: bold;
    color: #EA484F;
    font-family:'Lato', sans-serif;
    font-weight:700;
}
.feature-card:nth-child(3)::after {
    content: '3';
    position: absolute;
    bottom: 6.5rem;
    right: 0rem;
    font-size: 18rem;
    font-weight: bold;
    color: #EA484F;
    font-family:'Lato', sans-serif;
    font-weight:700;
}
/* 被害者相談セクション */
.victim-consultation {
    text-align: center;
    padding: 40px 0 80px;
}
.victim-consultation p {
    font-size: clamp(1.0rem, 6vw, 1.875rem);
    font-weight: 500;
    line-height:1.6em;
}
.victim-consultation span {
    color: #D80C18;
}
/* スマートフォン対応 (991px以下) */
@media (max-width: 991px) {
.reason-section{
  padding:3.5rem 0;
}
.reason-title{
    font-size: clamp(1.3rem, 5.0vw, 2.5rem);
}
.features {
    flex-direction: column;
    grid-template-columns: 1fr;
    gap: 20px;
    padding:0 0.5rem;
    margin:2.5rem 0 2rem;
}
.feature-card {
    padding: 40px 25px;
}
.feature-card h3 {
    font-size: clamp(1.0rem, 5vw, 1.5rem);
    margin-bottom: 15px;
    min-height: auto;
    height: auto;
}
.feature-card p {
    font-size: clamp(0.8rem, 4vw, 1.2rem);
    line-height: 1.7;
}
.feature-card:nth-child(1)::after,
.feature-card:nth-child(2)::after,
.feature-card:nth-child(3)::after {
    bottom: 5.05rem;
    right: 0rem;
    font-size: 15rem;
}
.victim-consultation {
    padding: 10px 0 60px;
}
}

/*--------------------------------------------------------------
サービス内容
--------------------------------------------------------------*/
#yourace_05{
    position:relative;
    padding-bottom:100px;
}
#yourace_05 .container,
#yourace_05 .container .col-12 {
    position: static !important;
}
.service-section{
  background: linear-gradient(180deg, #BC3A40 0%, #D80C18 50%, #BC3A40 100%);
  padding: 5rem 0;
  text-align:center;
}
.service-section .service-title {
  display: inline-block;
  position: relative;
  font-size: clamp(1.25rem, 4.5vw, 2.5rem);
}

/* 左側の画像 */
.service-section .service-title::before {
  content: url("../img/icon_service_before.svg");
  display: inline-block;
  vertical-align: middle;
  margin-right: 1.25em;
}

/* 右側の画像 */
.service-section .service-title::after {
  content: url("../img/icon_service_after.svg");
  display: inline-block;
  vertical-align: middle;
  margin-left: 1.25em;  /* テキストとの隙間 */
  /* width: 1em; height: auto; */
}

/* 説明文 */
.service-description {
    text-align: center;
    font-size: clamp(0.8rem, 4vw, 1.2rem);
    line-height: 1.8;
    margin: 60px 0;
}

/* サービスボタンエリア */
.service-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 60px;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

.service-button {
    background-color: #D80C18;
    color: #fff;
    border: none;
    border-radius: 15px;
    padding: 30px 20px;
    font-size: 1.3rem;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    position: relative;
}

.service-button::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    right: 4px;
    bottom: 4px;
    border: 1px solid white;
    border-radius: 12px;
    pointer-events: none;
}

/* 相談無料エリア */
.consultation-section {
    text-align: center;
    padding: 40px 0 60px;
    margin: 0 20px;
    font-size: clamp(1.0rem, 5vw, 1.75rem);
    font-weight:500;
}
.consultation-message {
    font-weight:500;
    line-height: 1.7;
}
.consultation-message .highlight {
    color: #D80C18;
    border-bottom:2px solid #D80C18;
    padding: 0 4px;
    font-size: clamp(1.2rem, 6vw, 2.0rem);
}
.service-img-wrapper img{
  border-radius:5px;
}
@media (min-width: 992px) {
.service-img-01{
    width:14%;
    position:absolute;
    top:10%;
    left:8%;
}
.service-img-02{
    width:16.6%;
    position:absolute;
    top:43%;
    left:4%;
}
.service-img-03{
    width:16.7%;
    position:absolute;
    top:16%;
    right:5%;
}
.service-img-04{
    width:14.2%;
    position:absolute;
    top:50%;
    right:4%;
}
.service-img-wrapper {
  width: 100%;
  max-width: 960px;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}
}
@media (min-width: 1200px) {
  .service-img-wrapper {
    max-width: 1140px;
  }
}
@media (max-width: 991px) {
#yourace_05{
    overflow-x:hidden;
    padding-bottom:150px;
}
.service-section {
    padding: 2rem 0;
    margin-bottom: 40px;
}
.service-section .service-title {
  display: inline-block;
  position: relative;
  font-size: clamp(1.5rem, 5.0vw, 2.5rem);
}
/* 左側の画像 */
.service-section .service-title::before {
  margin-right: 0.25em;
}
/* 右側の画像 */
.service-section .service-title::after {
  margin-left: 0.35em;
}
.service-description {
    margin: 0 0 30px;
    padding: 0 10px;
    text-align:left;
}
.service-buttons {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 20px;
    padding:0 0.5rem;
}
.service-button {
    padding: 25px 15px;
    height: 95px;
    font-size: 1.1rem;
}
.consultation-section {
    margin: 0;
    padding: 30px 0;
}
.consultation-free {
    margin-bottom: 15px;
}
.service-img-wrapper {
  width: 100%;
  padding-right:0;
  padding-left:0;
  margin-right: auto;
  margin-left: auto;
}
.service-img-area{
    position:relative;
}
.service-img-01{
    width:48%;
    position:absolute;
    top:12%;
    left:-10%;
    z-index:2;
}
.service-img-02{
    width:44.8%;
    position:absolute;
    bottom:-18%;
    left:5%;
    z-index:2;
}
.service-img-03{
    width:41.3%;
    float:right;
    position:relative;
    top:43%;
    left:10%;
    z-index:2;
}
.service-img-05{
    width:100%;
    position:relative;
    padding:40px 0 0;
    z-index:1;
}
}
@media (min-width: 576px) and (max-width: 991px) {
.service-img-wrapper {
  width: 500px;
  padding-right:0;
  padding-left:0;
  margin-right: auto;
  margin-left: auto;
}
}

/*--------------------------------------------------------------
解決までの流れ
--------------------------------------------------------------*/
.flow-section{
  position: relative;
  background-image: url("../img/flow_bg.jpg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  padding: 5rem 0 3rem;
  text-align:center;
}
.flow-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(137, 137, 137, 0.18);
  pointer-events: none;
  z-index: 1;
}
.flow-section .flow-title {
  display: inline-block;
  position: relative;
  font-size: clamp(1.25rem, 4.5vw, 2.5rem);
}

/* 左側の画像 */
.flow-section .flow-title::before {
  content: url("../img/icon_service_before.svg");
  display: inline-block;
  vertical-align: middle;
  margin-right: 1.25em;
  position:relative;
  z-index:1;
}

/* 右側の画像 */
.flow-section .flow-title::after {
  content: url("../img/icon_service_after.svg");
  display: inline-block;
  vertical-align: middle;
  margin-left: 1.25em;
  position:relative;
  z-index:1;
}

.flow-content {
    padding: 80px 0 0;
}
.flow-item {
    position:relative;
    z-index:1;
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: nowrap; /* 横並びを強制 */
    background:#fff !important;
    padding:30px;
    margin:0 0 3rem;
    border-radius:5px;
}
.flow-item:has(+ .flow-item)::after {
  content: "";
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 36px solid transparent;
  border-right: 36px solid transparent;
  border-top: 30px solid #D80C18;
  z-index: 2;
}

.flow-detail {
    flex: 1 1 70%;
    order: 1; /* PC表示での順序 */
    max-width: 70%; /* 最大幅制限 */
    text-align: left; /* flow-detail全体も左寄せ */
}
.flow-item-title {
  font-size: clamp(0.8rem, 4.0vw, 1.8rem);
  font-weight: bold;
  margin-bottom: 3rem;
  font-weight:500;
  line-height:1.3;
}
.flow-item-title .color-red{
    font-size: clamp(1.2rem, 6.0vw, 3.0rem);
    color:#D80C18;
    font-family:'Lato', sans-serif;
    font-weight:600;
    margin:0 1.5rem 0 0;
    position:relative;
    top:5px;
}
.flow-item-title span.step{
  display:inline-block;
  font-size: clamp(0.9rem, 3.6vw, 1.6rem);
  position:relative;
  bottom:0.7rem;
  padding-right:1.8rem;
}
/* 右側の斜め線 */
.flow-item-title span.step::after {
  content: "";
  position: absolute;
  top: 90%;
  width: 2px;              /* ラインの細さ */
  height: 180%;            /* 少し長めにして角度でもはみ出さない */
  background-color: #000;  /* 線の色はお好みで */
  transform-origin: center center;
  right: 1.2rem;
  transform: translate(50%, -50%) rotate(30deg);
}
.flow-description {
    font-size: clamp(0.8rem, 4vw, 1.2rem);
    line-height: 1.8;
    padding-left:3rem;
}
.flow-img {
    flex: 1 1 30%;
    order: 2; /* PC表示での順序 */
    max-width: 30%; /* 最大幅制限 */
}
.flow-img img {
    display: block;          /* img要素の余白をリセット */
    width: 100%;             /* 親幅いっぱいに拡大 */
    border-radius: 5px;
}


    
@media (min-width: 768px) and (max-width: 991px)  {
.flow-item::after {
  bottom: -20px;
  border-left: 24px solid transparent;
  border-right: 24px solid transparent;
  border-top: 20px solid #D80C18;
}
.flow-item-title {
  font-size: clamp(0.5rem, 3.0vw, 1.2rem);
  margin-bottom: 1.5rem;
}
.flow-item-title .color-red{
    font-size: clamp(0.8rem, 4.0vw, 2.0rem);
    margin:0 1.0rem 0 0;
    position:relative;
    top:5px;
}
.flow-item-title span.step{
  font-size: clamp(0.6rem, 2.4vw, 1.2rem);
  bottom:0.5rem;
  padding-right:1.2rem;
}
/* 右側の斜め線 */
.flow-item-title span.step::after {
  content: "";
  position: absolute;
  top: 80%;
  height:160%;
  right: 0.8rem;
}
.flow-description {
    font-size: clamp(0.5rem, 2.5vw, 0.8rem);
    padding-left:1.5rem;
}
}

@media (max-width: 767px) {
.flow-section {
    padding: 4rem 0 0;
}
.flow-section .flow-title {
  display: inline-block;
  position: relative;
  font-size: clamp(1.5rem, 5.0vw, 2.5rem);
}
/* 左側の画像 */
.flow-section .flow-title::before {
  margin-right: 0.25em;
}
/* 右側の画像 */
.flow-section .flow-title::after {
  margin-left: 0.35em;
}
.flow-content {
    padding: 40px 0.5rem;
}
.flow-item {
    display: flex;
    flex-direction: column;
    gap: 0px;
    padding:40px 20px;
    margin:0 0 3rem;
}
.flow-item::after {
  bottom: -16px;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-top: 16px solid #D80C18;
}
.flow-detail {
    flex: none;
    display: contents;  
    order: 2; /* スマホ表示での順序（下に配置） */
    width: 100%;
}
.flow-img {
    flex: none;
    order: 2; /* スマホ表示での順序（上に配置） */
    width: 100%;
    max-width: 100%;
    margin: 0.5rem 0;    /* タイトルとの間の余白 */
}
.flow-item-title {
    order: 1;
    font-size: clamp(1.4rem, 4.8vw, 3.6rem);
    margin-bottom: 0.5rem;
    text-align: center;
    line-height:1.2;
}
.flow-item-title .color-red{
    font-size: clamp(1.8rem, 5.0vw, 4.8rem);
    margin:0;
    position:relative;
    top:-0.4rem;
}
.flow-item-title span.step{
  display:inline-block;
  font-size: clamp(1.2rem, 3.5vw, 2.4rem);
}
/* 右側の斜め線 */
.flow-item-title span.step::after {
  top: 60%;
  height: 100%;            /* 少し長めにして角度でもはみ出さない */
  right: 1.0rem;
}
.flow-item-title-name{
    display:block;
}
.flow-description {
    font-size: clamp(0.6rem, 3.5vw, 1.0rem);
    line-height: 1.8;
    text-align: left;
    order: 3;
    padding:5px 0 0;
    font-weight:400;
}
.flow-img img {
    display: block;          /* img要素の余白をリセット */
    width: 100%;             /* 親幅いっぱいに拡大 */
    aspect-ratio: 303 / 134; /* 縦横比を固定 */
    object-fit: cover;       /* はみ出し部分を中央トリミング */
    border-radius: 5px;
}
}
@media (min-width: 576px) and (max-width: 767px) {
.flow-item {
    padding:40px 30px;
}
}


/*--------------------------------------------------------------
よくある質問
--------------------------------------------------------------*/
#yourace_07{
  padding:5rem 0 0;
  background:#F5F5F5;
}
.qa-title {
  display: block;
  position: relative;
  font-size: clamp(1.25rem, 4.5vw, 2.5rem);
  text-align:center;
}
/* 左側の画像 */
.qa-title::before {
  content: url("../img/icon_qa_before.svg");
  display: inline-block;
  vertical-align: middle;
  margin-right: 1.25em;
  position:relative;
  z-index:1;
}

/* 右側の画像 */
.qa-title::after {
  content: url("../img/icon_qa_after.svg");
  display: inline-block;
  vertical-align: middle;
  margin-left: 1.25em;
  position:relative;
  z-index:1;
}

.qa-content{
    margin:5rem 0;
}
/* アコーディオン全体 */
.accordion {
  margin: 0 auto;
}

/* 各項目 */
.accordion-item {
  background: #fff;
  border-radius: 6px;
  margin-bottom: 1rem;
  overflow: hidden;
  font-family:'Lato', sans-serif;
}

/* ヘッダー部分（クリック領域） */
.accordion-header {
  width: 100%;
  display: flex;
  gap: 1.5rem;
  align-items: center;
  padding: 1.5rem;
  border: none;
  background: none;
  cursor: pointer;
  position: relative;
  font-size: clamp(0.8rem, 4.0vw, 1.2rem);
}
.accordion-header .icon {
  display: inline-block;
  width: 64px;
  height: 64px;
  line-height: 64px;
  text-align: center;
  background: #797979;
  color: #fff;
  flex-shrink: 0;
  font-size:2.5rem;
  font-family:'Lato', sans-serif;
}
.accordion-header .title {
  flex-grow: 1;
  text-align: left;
  color:#000 !important;
}
/* 矢印アイコン */
.accordion-header .arrow {
  width: 16px;
  height: 16px;
  border-right: 3px solid #000;
  border-bottom: 3px solid #000;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
  padding-left: 0.5rem;
}

/* "開く" 状態 */
.accordion-header[aria-expanded="true"] .arrow {
  transform: rotate(-135deg);
}

/* 回答部分 */
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  /* 上下左右パディングを揃えて余白確保 */
  box-sizing: border-box;
  padding: 0 5.5rem 0 1.5rem;
  /* アイコンを上端揃えに */
  display: flex;
  align-items: flex-start;
  box-sizing: border-box;
  font-size: clamp(0.7rem, 3.5vw, 1.0rem);
  font-weight:300;
}
.accordion-body-detail{
    padding:0 0 1.5rem;
}
.accordion-body .icon {
  display: inline-block;
  width: 64px;
  height: 64px;
  line-height: 64px;
  text-align: center;
  background: #D80C18;
  color: #fff;
  margin-right: 1.5rem;
  flex-shrink: 0;
  font-size:2.5rem;
  font-weight:500;
  font-family:'Lato', sans-serif;
}
.text-indent01{
  display:block;
  padding:0 0 0 1em;
  text-indent:-1em;
}
.qa-bottom-text{
  margin:3.5rem 0 0;
  font-size: clamp(1.0rem, 4.0vw, 1.5rem);
  font-weight:600;
  line-height:1.5;
}
@media (max-width: 767px) {
.qa-title {
  position: relative;
  font-size: clamp(1.5rem, 5.0vw, 2.5rem);
}
/* 左側の画像 */
.qa-title::before {
  margin-right: 0.25em;
}
/* 右側の画像 */
.qa-title::after {
  margin-left: 0.35em;
}
.qa-content{
    margin:3rem 0;
    padding:0 0.5rem;
}
.accordion-header {
  padding: 1.0rem;
  gap: 0.75rem;
  font-size: clamp(0.9rem, 3.3vw, 1.4rem);
  line-height:1.6;
}
.accordion-header .icon {
  display: inline-block;
  width: 32px;
  height: 32px;
  line-height: 32px;
  font-size:1.25rem;
  align-self: flex-start;  /* この行を追加 */
}
.accordion-header .arrow {
  width: 10px;
  height: 10px;
  border-right: 2px solid #000;
  border-bottom: 2px solid #000;
}
.accordion-body {
  padding: 0 2.5rem 0 1.0rem;
  font-size: clamp(0.8rem, 3.0vw, 1.2rem);
  line-height:1.8;
}
.accordion-body .icon {
  width: 32px;
  height: 32px;
  line-height: 32px;
  font-size:1.25rem;
}
.qa-bottom-text{
  margin:2.0rem 0 0;
  font-size: clamp(1.3rem, 5.0vw, 1.9rem);
}
}

/*--------------------------------------------------------------
CTA
--------------------------------------------------------------*/
#yourace_08{
    padding:4rem 0 2rem;
}
.cta-title{
  display: block;
  font-size: clamp(0.75rem, 2.7vw, 1.5rem);
  text-align:center;
  position:relative;
  z-index:1;
  line-height:1.6;
}
.cta-title span {
  clear:both;
  display:inline-block;
  position: relative;
  font-size: clamp(1.25rem, 4.5vw, 2.5rem);
  text-align:center;
  border-bottom:2px solid #fff;
}
.cta-content{
  position: relative;
  background-image: url("../img/cta_bg.jpg");
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
  padding: 2.5rem 6rem;
  border-radius:5px;
}
.cta-content::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(203, 16, 24, 0.8);
  pointer-events: none;
  z-index: 1;
  border-radius:10px;
}
.cta-inner{
  position:relative;
  z-index:1;
  margin:2rem 0;
  padding:3rem 4rem;
  background:#fff;
  border-radius:10px;
}
.tel-number{
  margin:3rem 0 0;
  font-size: 4.5rem;
  font-weight:600;
}
.tel-number a{
  color:#000;
}
.icon-tel{
  width: 3.5rem;
  height:auto;
  margin-right:1.0rem;
  position:relative;
  bottom:5px;
}
.cta-btn-area {
  display: flex;
  width: 100%;        /* 親要素の幅いっぱい */
  gap: 30px;          /* ボタン間のスペース */
  box-sizing: border-box;
  margin:2.5rem 0 0;
}
.cta-btn{
  position:relative;
　width: calc((100% - 30px) / 2);
  padding:1rem;
  color:#fff;
  font-size: clamp(0.72rem, 2.4vw, 1.2rem);
  font-weight:700;
  border-radius:8px;
  flex: 1 1 0;
  box-sizing: border-box;
  text-align: center;
  display: inline-flex;     /* または display: flex; */
  align-items: center;      /* 垂直方向中央揃え */
  justify-content: flex-start;
  padding: 1rem 1rem 1rem 1.6rem; 
}
.cta-btn::after {
  content: "";                                        /* 空コンテンツ */
  position: absolute;                                
  top: 50%;                                           /* 親の高さの中央 */
  right: 15px;                                        /* 親の右端から15px */
  transform: translateY(-50%);                        /* 自分の高さの中央に持ってくる */
  width: 20px;                                        /* アイコンの幅 */
  height: 20px;                                       /* アイコンの高さ（縦横比を保つならautoでも可） */
  background-image: url("../img/icon_btn_arrow.svg"); /* 実際のアイコンパスに書き換え */
  background-size: contain;                           /* アイコン全体を収める */
  background-repeat: no-repeat;
}
.cta-btn-mail{
  background:#797979;
}
.icon-mail{
  width:40px;
  margin-right:1rem;
}
.cta-btn-line{
  background:#06C755;
}
.icon-line{
  width:40px;
  margin-right:1rem;
}
.cta-point img {
  width: 15%;                 /* 画面（またはコンテナ）幅の 20% */
  height: auto;               /* アスペクト比を維持 */
}
.copyright{
    margin:4rem 0 0;
    font-family:'Lato', sans-serif;
    font-size: clamp(0.75rem, 1.5vw, 0.8rem);
}
@media (min-width: 992px) and (max-width: 1199px) {
.cta-content{
  padding:2rem 4rem;
}
.cta-inner{
  padding:2rem;
}
.cta-btn{
  padding: 1rem 1rem 1rem 1rem; 
}
}
@media (min-width: 992px){
.cta-point {
  position: absolute;
  top: -3rem;                   /* 親の上端にぴったり */
  right: 1rem;              /* 親の右端から1rem内側 */
  display: flex;
  justify-content: flex-end;/* 子要素を右寄せ */
  align-items: center;      /* 垂直方向中央揃え */
  gap: 10px;
  width: auto;              /* 必要な分だけ幅を確保 */
  margin: 0;                /* 余分なマージンはリセット */
}
}
@media (min-width: 992px)and (max-width: 1199px){
.cta-point {
  top: -4rem;                   /* 親の上端にぴったり */
}
}
@media screen and (max-width: 991px) {
.cta-point{
  margin:1.5rem 0 0;
  position:relative;
  top: 0;
  right: 0;             /* ← 要素幅いっぱいに広げた上で */
  left: 0;              /* ← 左端と右端を両方 0 にして */
  display: flex;
  justify-content: center;  /* ← 子要素を中央寄せ */
  align-items: center;
  gap: 15px;
}
.cta-point img {
  width: 35%;                 /* 画面（またはコンテナ）幅の 20% */
  height: auto;               /* アスペクト比を維持 */
}
.cta-btn-area {
  margin:1.0rem 0 0;
  flex-direction: column;
  gap: 15px;
}
.tel-number{
  margin:1.5rem 0 0;
  font-size: clamp(2.6rem, 3.8vw, 3.25rem);
}
.icon-tel{
  width: clamp(2.3rem, 3.3vw, 2.8rem);
  margin-right:0.25rem;
  bottom:3px;
}
.cta-btn {
  width: 100%;
  padding: 1rem 1rem 1rem 1.6rem; 
  font-size: clamp(1.0rem, 2.0vw, 1.25rem);
}
.copyright{
  margin:4rem 0 0;
  font-size: clamp(0.75rem, 1.5vw, 1rem);
}
}

@media (max-width: 767px) {
#yourace_08{
    padding:1.5rem 0 1rem;
}
.cta-content{
    margin:1.5rem 0 2rem;
    padding:2rem 1.25rem;
}
.cta-title{
  font-size: clamp(0.9rem, 3.0vw, 1.5rem);
}
.cta-title span {
  position: relative;
  font-size: clamp(1.5rem, 5.0vw, 2.5rem);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}
.cta-inner{
  margin:1.5rem 0;
  padding:1.5rem 1rem 2rem;
}
.cta-text{
  font-size: clamp(0.9rem, 1.65vw, 1.1rem);
  line-height:1.6;
}
.cta-point{
  margin:1.5rem 0 0;
  position:relative;
  top: 0;
  right: 0;             /* ← 要素幅いっぱいに広げた上で */
  left: 0;              /* ← 左端と右端を両方 0 にして */
  display: flex;
  justify-content: center;  /* ← 子要素を中央寄せ */
  align-items: center;
  gap: 15px;
}
.cta-point img {
  width: 35%;                 /* 画面（またはコンテナ）幅の 20% */
  height: auto;               /* アスペクト比を維持 */
}
.tel-number{
  margin:1.5rem 0 0;
  font-size: clamp(2.2rem, 3.9vw, 3.3rem);
}
.icon-tel{
  width: clamp(2.0rem, 3.0vw, 2.5rem);
  margin-right:0.2rem;
  bottom:3px;
}
.cta-btn {
  width: 100%;
  padding:1rem; 
  font-size: clamp(0.8rem, 4.0vw, 1.5rem);
}
.cta-btn::after{
  width: 24px;
  height: 24px;   
  right: 15px;
}
.icon-mail{
  width:40px;
  margin-right:0.5rem;
}
.icon-line{
  width:40px;
  margin-right:0.5rem;
}
.copyright{
  margin:4rem 0 0;
  font-size: clamp(0.75rem, 1.5vw, 1rem);
}
}

@media (max-width: 399px) {
.cta-btn::after{
  width: 15px;
  height: 15px;   
}
.tel-number{
  margin:1.5rem 0 0;
  font-size: clamp(1.8rem, 3.5vw, 3.0rem);
}
.icon-tel{
  width: clamp(1.8rem, 3.0vw, 2.5rem);
}
.icon-mail{
  width:30px;
}
.icon-line{
  width:30px;
}
.cta-btn {

}
}

@media (max-width: 359px) {
.cta-text{
  font-size: clamp(0.85rem, 1.65vw, 1.1rem);
  line-height:1.6;
}
.icon-mail{
  width:24px;
  margin-right:0.3rem;
}
.icon-line{
  width:24px;
  margin-right:0.3rem;
}
}
@media (max-width: 339px) {
.cta-text{
  font-size: clamp(0.75rem, 1.65vw, 1.1rem);
  line-height:1.6;
}
.cta-btn {
  font-size: clamp(0.6rem, 3.6vw, 1.25rem);
}
}