#mainimg {
        background-color: #dcecec;
        display: flex;
        justify-content: center;
    }

    #mainimg img {
        width: 100%;
        max-width: 1140px;
        margin: auto;
        display: block;
    }

    #contact_form {
        margin: 0 auto 30px;
        padding: 3.5% 2.5%;
        max-width: 800px;
        box-sizing: border-box;
    }

    #contact_form .formtitle {
        text-align: center;
        padding: 8px;
        border-top: 1px solid;
        border-bottom: 1px solid;
        color: #666;
    }

    @media screen and (min-width:768px) {
        #contact_form .formtitle {
            font-size: 2em;
        }

        .spmain_cvbutton {
            display: none;
        }

        #mainimg .conteiner {
            width: 100%;
            max-width: 1140px;
            display: flex;
            justify-content: space-around;
            align-items: center;
        }
    }

    @media screen and (max-width:767px) {
        #contact_form {
            margin: 30px 1%;
        }

        #contact_form .formtitle {
            font-size: 1.6em;
        }

        .spmain_cvbutton {
            display: flex;
            align-items: center;
            margin: 1%;
            flex-direction: column;
        }

        .spmain_cvbutton div {
            width: 94%;
            margin: 1% 3%;
        }

        .spmain_cvbutton .btncopy {
            color: #9b833b;
            text-align: center;
            font-size: 3.8vw;
            font-weight: bold;
            stroke: #9b833b;
            stroke-width: 1px;
            stroke-linecap: round;
        }
    }
    /* --- Reset & Base Styles --- */
        *, *::before, *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        .breadcump{
            display: none;
        }

        img {
            max-width: 100%;
            height: auto;
        }

        a {
            text-decoration: none;
            color: inherit;
        }

        ul {
            list-style: none;
        }

        /* --- Utilities --- */
        .container {
            width: 100%;
            max-width: 1440px;
            height: 100%;
            margin: 0 auto;
            padding: 0 20px;
        }

        .text-center { text-align: center; }
        .text-accent { color: #d32f2f; font-weight: bold; }
        .text-primary { color: #0056b3; font-weight: bold; }
        
        .section {
            padding: 40px 0;
            margin-bottom: 20px;
        }
        
        .section_F9 {
            padding: 60px 0;
            margin-bottom: 20px;
            background: #F9F6F1;
        }

        .section-title {
            font-size: 3rem;
            margin-bottom: 40px;
            text-align: center;
            position: relative;
            padding-bottom: 15px;
            color: #9B823B;
        }

        .section-title::after {
            content: "";
            display: block;
            width: 60px;
            height: 3px;
            background-color: #D4A900;
            margin: 10px auto 0;
        }

        /* --- Header / Hero --- */
        .header {
            background: linear-gradient(135deg, #fdfbf7 0%, #fff 100%);
            padding: 40px 0;
            border-bottom: 5px solid #D4A900;
        }

        .hero-lead {
            font-size: 2.2rem;
            font-weight: bold;
            color: #D4A900;
            margin-bottom: 10px;
            text-align: center;
            padding-top: 30px;
        }

        .hero-title {
            font-size: 4.2rem;
            color: #222;
            margin-bottom: 30px;
            line-height: 1.4;
            text-align: center;
        }

        .hero-title span {
            color: #D4A900;
    display: inline-block;
    background: #fff;
    margin-bottom: 10px;
    padding: 0 10px;
        }

          .hero-stats img{
    width: 30%;
    margin:0 auto;
    display: block;
  }

        .fmi_bg_top {
            background-image: url("/images/lp/fmi/fmi_top.webp");
            background-repeat: no-repeat;
            background-size: cover;
        }

        /* Stats (Badges) */
        .stats-container {
            display: flex;
            justify-content: center;
            gap: 20px;
            flex-wrap: wrap;
            margin-bottom: 40px;
        }

        .stat-badge {
            background: #fff;
            border: 2px solid #D4A900;
            border-radius: 50%;
            width: 140px;
            height: 140px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
            text-align: center;
            padding: 10px;
        }

        .stat-label {
            font-size: 0.8rem;
            color: #666;
            margin-bottom: 5px;
        }

        .stat-value {
            font-size: 1.6rem;
            font-weight: bold;
            color: #333;
        }

        .cta-button {
            display: inline-block;
            background-color: #d32f2f;
            color: #fff;
            font-size: 1.2rem;
            font-weight: bold;
            padding: 15px 40px;
            border-radius: 50px;
            box-shadow: 0 4px 10px rgba(211, 47, 47, 0.4);
            transition: background-color 0.3s;
        }

        .cta-button:hover {
            background-color: #b71c1c;
        }

        /* --- Strengths Section --- */
        .strengths-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 30px;
        }

        .strength-card {
            background: #fff;
            padding: 25px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.05);
        }

        .strength-card h3 {
            font-size: 1.2rem;
            margin-bottom: 15px;
        }

        /* --- Flow Section --- */
        .flow-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 20px;
        }

        .flow-step {
            background: #fff;
            padding: 20px;
            border: 1px solid #ddd;
            border-radius: 8px;
            position: relative;
        }

        .step-number {
            display: inline-block;
            font-weight: bold;
            padding: 5px 10px;
            border-radius: 4px;
            margin-bottom: 10px;
        }

        .flow-step h3 {
            margin-bottom: 10px;
            font-size: 1.1rem;
        }

        /* --- Data Section --- */
        .data-grid {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-around;
            gap: 40px;
        }

        .data-box {
            flex: 1;
            min-width: 300px;
        }
        
        .data-chart-placeholder {
            background-color: #eee;
            height: 200px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 8px;
            color: #888;
            margin-top: 15px;
        }

        /* --- Timing Section --- */
        .timing-card {
            background: #fff;
            border: 1px solid #eee;
            margin-bottom: 20px;
            padding: 20px;
            border-left: 5px solid #28a745;
        }
        .timing-card h3 {
            color: #28a745;
            margin-bottom: 10px;
        }

        /* --- FAQ Section --- */
        .faq-item {
            margin-bottom: 15px;
            border-bottom: 1px solid #eee;
            padding-bottom: 15px;
        }
        .faq-q { font-weight: bold; color: #0056b3; }
        .faq-a { margin-top: 5px; }

        /* --- Footer/Contact --- */
        .footer-cta {
            background-color: #333;
            color: #fff;
            text-align: center;
            padding: 60px 20px;
        }

        .footer-cta h2 {
            margin-bottom: 20px;
            font-size: 1.8rem;
        }

        .footer-cta p {
            margin-bottom: 30px;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }

        .cta-container{
            display: flex;
            justify-content: center;
        }

        .btn-cta{
            width: 80%;
    display: inline-block;
    font-size: 2.3rem;
    color: #fff;
    background: #930000;
    border-radius: 30px;
    box-sizing: border-box;
    font-weight: bold;
    text-align: center;
    letter-spacing: 2px;
    position: relative;
    -webkit-box-shadow: 0 7px 0 #600;
    box-shadow: 0 7px 0 #600;
    vertical-align: middle;
    padding-top: 15px;
    padding-bottom: 15px;
    line-height: 1.4em;
    margin-top: 25px;
    max-height:60px;
        }

        .btn-cta:hover {
            opacity: 1 !important;
    color: #930000;
    border: 2px solid #930000;
    background-color: #fff;
    box-shadow: 0 0 0 0 white, 0 7px 0 #660000;
        }

        .fmi_link_red {
            margin: 25px;
    font-size: 2rem;
    color: #930000;
        }

        .intro_chunk {
            color: #9B823B;
            text-align: center;
            font-size:1.8rem;
        }

        .h2_f1 {
            color: #000;
            text-align: center;
            font-size:3.5rem;
        }

        .strengths-section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 50px 20px;
}

.main-title {
  text-align: center;
  color: #bfa55d; /* 金色っぽい色 */
  margin-bottom: 50px;
  font-size: 24px;
}

/* カードの基本設定 */
.strength-card {
  display: flex;
  align-items: center;
  background: #fff;
  margin-bottom: 30px;
  padding: 40px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  position: relative;
  min-height: 300px;
}

.strength-card:nth-child(even){
    margin-right: 150px;
}

.strength-card:nth-child(odd){
    margin-left: 150px;
}

/* 2番目のカードを反転させる */
.row-reverse {
  flex-direction: row-reverse;
}

/* 画像とテキストの幅調整 */
.card-image{
  flex: 1;
  padding: 20px;
}

.card-content {
    flex: 3;
    padding: 20px;
}

.ml_250{
    margin-left:250px;
}

.mr_250 {
    margin-right:250px;
}

.card-image img {
  height: auto;
  display: block;
  margin: 0 auto;
}

.ab_top_left {
    position: absolute;
  top: -60px;  /* 上に少しはみ出させる */
  left: -60px; /* 左に少しはみ出させる */
  width: 350px; /* 必要に応じてサイズを調整 */
  height: auto;
  z-index: 10;  /* テキストより前面に来るように調整 */
}

.ab_top_left_2 {
    position: absolute;
  top: 0px;  /* 上に少しはみ出させる */
  left: -60px; /* 左に少しはみ出させる */
  width: 300px; /* 必要に応じてサイズを調整 */
  height: auto;
  z-index: 10;  /* テキストより前面に来るように調整 */
}

.ab_top_right {
    position: absolute;
    top: 10px;
    right: -60px;
    width: 270px;
    height: auto;
    z-index: 10;
}

.card-content h3 {
  font-size: 2.5rem;
  text-align: center;
  line-height: 1.5;
  margin-bottom: 20px;
  border-bottom: 2px solid #333; /* 見出しの下線 */
  padding-bottom: 10px;
}

.card-content p {
  font-size: 14px;
  line-height: 1.8;
}

.mw_1000 {
    max-width:1000px;
    margin:0 auto;
}

.flow-section {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0px 20px 40px 0;
  background-color: #fff;
}

.flow-title {
  text-align: center;
  color: #bfa55d;
  margin-bottom: 40px;
}

/* 3カラムのグリッド設定 */
.flow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3列均等 */
  gap: 40px 30px; /* 縦と横の隙間 */
}

.flow-grid:nth-child(even){
    margin-top: 30px;
}

.flow-item h3 {
  color: #bfa55d;
  font-size: 2rem;
  margin: 15px 0;
  text-align: center;
}

.flow-item p {
  font-size: 1.4rem;
  line-height: 1.6;
  color: #333;
}

/* 画像と数字の重なり部分 */
.image-wrapper {
  position: relative;
  padding-top: 20px; /* 数字が上にはみ出すための余白 */
}

.image-wrapper img {
  width: 100%;
  height: auto;
  max-height: 220px;
  border-radius: 15px; /* 角丸 */
}

.step-number {
    position: absolute;
    top: -10px;
    left: -15px;
    font-family: 'Arial', sans-serif;
    font-size: 5rem;
    font-weight: bold;
    color: #bfa55d;
    line-height: 1;
    z-index: 1;
}

/* レスポンシブ対応 */
@media (max-width: 900px) {
  .flow-grid {
    grid-template-columns: repeat(2, 1fr); /* タブレットは2列 */
  }
}

@media (max-width: 600px) {
  .flow-grid {
    grid-template-columns: 1fr; /* スマホは1列 */
  }
}

/* スマホ対応: 画面が狭くなったら縦並びにする */
@media (max-width: 768px) {
  .strength-card, .row-reverse {
    flex-direction: column;
    padding: 20px;
  }
  .card-content h3 {
    font-size: 18px;
  }

  .btn-cta{
    width:90%;
    font-size:1.3rem;
  }

  .ml_250{
    margin-left:0px;
}
.mr_250{
  margin-right:0;
}

.ab_top_left{
  display:none;
}

.ab_top_left_2{
  display:none;
}


.ab_top_right{
  display:none;
}

.strength-card:nth-child(even){
    margin-right: 0px;
}

.strength-card:nth-child(odd){
    margin-left: 0px;
}

.fmi_bg_top {
  background: none;
}

.fmi_link_red{
  font-size: 1.4rem;
}

img.graph-img{
  max-width: 100% !important;
}
}

/* セクション全体の背景 */
.data-section {
  background-color: #f9f7f2;
  padding: 60px 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.data-title {
  text-align: center;
  color: #bfa55d;
  margin-bottom: 40px;
  font-size: 24px;
}

/* 上段のレイアウト（横並び） */
.data-row-upper {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

/* 各ボックスの装飾 */
.data-box {
  position: relative;
  background: #fff;
  padding: 40px 20px;
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.03);
  overflow: hidden; /* 背景文字のはみ出し防止 */
}

/* 画像の設定 */
.graph-img {
  position: relative;
  z-index: 1; /* 背景文字より前に出す */
  max-width: 100%;
  height: auto;
}

.graph-img.gi_01 {
  max-width: 485px;
}

.graph-img.gi_02 {
  max-width: 500px;
}

.graph-img.gi_03 {
  max-width: 1040px;
}

.post-period-section {
  max-width: 900px;
  margin: 0px auto;
  padding: 20px;
  text-align: center;
}

.post-header h2 {
  font-size: 1.5rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

.post-header span { color: #c00; font-size: 1.8rem; } /* 最短3日の部分 */
.red-text { color: #c00; font-weight: bold; }

/* テーブル外枠 */
.post-table-container {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  overflow: hidden;
  margin-top: 40px;
}

.post-table-title {
  background: #a58f4d; /* カーキっぽい金色 */
  color: #fff;
  padding: 15px;
  font-weight: bold;
  font-size:2.2rem;
}

/* 各行のレイアウト */
.post-row {
  display: flex;
  border-bottom: 1px solid #eee;
  padding: 30px 20px;
  align-items: center;
}

.post-row:last-child { border-bottom: none; }

/* 左側ラベル */
.post-label {
  flex: 0 0 200px; /* 幅を200pxで固定 */
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid #eee;
  font-size: 2.2rem;
}

.bar {
  width: 6px;
  height: 40px;
  margin-right: 15px;
}
.pink { background: #ff8fb1; }
.orange { background: #ffaa66; }

/* 右側詳細 */
.post-detail {
  flex: 1;
  padding-left: 30px;
  text-align: center;
}

.post-detail h4 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  font-weight: bold;
}

.post-detail p {
  font-size: 1.4rem;
  color: #666;
  line-height: 1.5;
}

.post-footer {
  margin-top: 30px;
  font-weight: bold;
  font-size: 2.2rem;
}

.message-container {
  display: flex;
  align-items: center; /* 上下中央揃え */
  justify-content: center; /* 左右中央揃え */
  max-width: 1000px;
  margin: 40px auto;
  padding: 20px;
  gap: 40px; /* 画像とテキストの間隔 */
}

.circle-box {
  flex-shrink: 0; /* 画像が潰れないように固定 */
  width: 200px;
  height: 200px;
  background-color: #f9f7f2; /* 画像がない時の背景色 */
  border-radius: 50%; /* 正円にする */
  overflow: hidden;
}

.circle-box img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 枠に合わせて切り抜き */
}

.text-content p {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  margin: 0;
}

/* スマホ表示 */
@media (max-width: 600px) {
  .message-container {
    flex-direction: column; /* 縦並びに変更 */
    text-align: center;
    gap: 20px;
  }
}

/* スマホ対応 */
@media (max-width: 768px) {
  .data-row-upper {
    flex-direction: column;
  }
  .data-box::before {
    font-size: 50px;
  }

  .hero-stats img{
    width: 100%;
  }
}

        /* --- Responsive Adjustments --- */
        @media (max-width: 768px) {
            .hero-title { font-size: 2.5rem; }
            .section-title { font-size: 2.5rem; }
            .stats-container { gap: 10px; }
            .stat-badge { width: 100px; height: 100px; padding: 5px; }
            .stat-label { font-size: 0.6rem; }
            .stat-value { font-size: 1.1rem; }
            .post-label{
  flex:0 0 120px;
}
        }

.list-container {
  max-width: 900px; /* 画像のイメージに合わせた幅 */
  margin: 20px auto;
  font-family: sans-serif;
}

.list-item {
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  margin-bottom: 20px;
  overflow: hidden;
}

/* 上段：茶色のヘッダー */
.item-header {
  background-color: #a08a4d; /* 画像の茶色に近い色 */
  padding: 10px 15px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.header-dots {
  color: #fff;
  font-size: 1.8rem;
  font-weight: bold;
  letter-spacing: 2px;
  overflow: hidden;
  white-space: wrap;
}

/* 下段：白いコンテンツ */
.item-content {
  padding: 15px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

/* 左側の円形アイコン */
.circle-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background-color: #a08a4d;
  border-radius: 50%;
  font-size: 24px;
  color:#fff;
  font-weight: bold;
  text-align: center;
}

.circle-icon.gray {
  background-color: #fff;
    font-size: 24px;
  color:#555;
  font-weight: bold;
  text-align: center;
}

.text-group h4 {
  margin: 0 0 5px 0;
  color: #555;
  font-size: 1.6rem;
  line-height: 1.5;
  font-weight: bold;
}

.text-group p {
  margin: 0;
  color: #666;
  font-size: 1.4rem;
  line-height: 1.5;
}

.floating-btn {
  position: fixed;
  bottom: 30px; 
  right: 30px;
  width: 180px;
  height: 180px;
  background-color: #9e0000; 
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center; 
  justify-content: center;
  text-decoration: none; 
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); 
  z-index: 999; 
  transition: transform 0.3s ease; 
}

.floating-btn:hover {
  background-color: #fff; 
  box-sizing: border-box;
  border:2px solid #9e0000;
}

.floating-btn:hover .floating-text {
  color: #9e0000;
}

.floating-text {
  color: #fff;
  font-size: 2.3em;
  font-weight: bold;
  text-align: center;
  line-height: 1.3;
  margin-bottom: 8px;
}

.floating-icon {
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 16px solid #f9c000; 
}

@media (max-width: 768px) {
  .floating-btn {
    width: 100px;
    height: 100px;
    bottom: 20px;
    right: 20px;
  }
  .floating-text {
    font-size: 1.5em;
    margin-bottom: 5px;
  }
  .floating-icon {
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 10px solid #f9c000;
  }
}