@charset "UTF-8";

/* ========================================================================== */
/* SUB_PAGE_HEADER */
/* ========================================================================== */
.sub_page_header { background-image: url("../images/renewal/sub_header_bg.jpg"); }



/* ========================================================================== */
/* 共通項目 */
/* ========================================================================== */
main .main_container section { padding: 0 80px; }

main .main_container section:not(:nth-last-of-type(1)) { margin-bottom: 80px; }

main .main_container section:not(:nth-last-of-type(1)) .inner {
   padding-bottom: 80px;
   border-bottom: 1px solid #DCDDDD;
}

main .main_container section .title {
   display: flex;
   align-items: center;
   padding: 7px 0;
   padding-left: 12px;
   border-left: 6px solid #FA5B22;
}

main .main_container section .title .jp {
   font-size: 28px;
   font-weight: 700;
   line-height: 1;
}

main .main_container section .title .en {
   margin-left: 1em;
   color: #A9AFB3;
   font-family: 'Roboto', sans-serif;
   font-size: 23px;
   font-weight: 700;
   line-height: 1;
}

main .main_container section .description {
   margin-top: 40px;
   font-size: 16px;
   line-height: 1.8;
}

.pc_only { display: block; }



/* ========================================================================== */
/* INTRO SECTION（イントロセクション）*/
/* ========================================================================== */
main .main_container section.intro { text-align: center; }

main .main_container section.intro .intro_title {
   font-size: 30px;
   font-weight: 700;
}

main .main_container section.intro .intro_title br { display: none; }

main .main_container section.intro .description { margin-top: 15px; }



/* ========================================================================== */
/* ACHIEVEMENT SECTION（製作実績）*/
/* ========================================================================== */
main .main_container section.achieve .graph_box {
   max-width: 1100px;
   margin: 60px auto 0;
   text-align: center;
}

main .main_container section.achieve .graph_box img { width: 100%; height: auto; }



/* ========================================================================== */
/* ORIGINAL ORDER SECTION（特注デザイン）*/
/* ========================================================================== */
main .main_container section.original .design_grid {
   display: flex;
   justify-content: space-between;
   width: 100%;
   max-width: 1340px;
   margin-top: 60px;
}

main .main_container section.original .design_grid li {
   background-color: #987;
   width: calc((256 / 1340) * 100%); /* 約19.1% */
   flex-shrink: 1;
}

main .main_container section.original .design_grid li.item_167 {
   width: calc((167 / 1340) * 100%); /* 約12.4% */
   flex-shrink: 1;
}

main .main_container section.original .design_grid li img {
   width: 100%;
   height: auto;
   object-fit: cover;
}


/* -------------------------------------------------------------------------- */
/* POINTS（満点商会が選ばれるポイント）*/
/* -------------------------------------------------------------------------- */
main .main_container section.original .points {
   margin-top: 80px;
}

main .main_container section.original .points .trouble_intro {
   font-size: clamp(20px, 2.5vw, 26px);
   font-weight: 700;
   font-feature-settings: normal;
   text-align: center;
   letter-spacing: 0.03em;
}

main .main_container section.original .points .trouble_intro span {
   font-feature-settings: "palt";
}


main .main_container section.original .points .solution_lead {
   font-size: clamp(20px, 2.5vw, 26px);
   font-weight: 700;
   font-feature-settings: normal;
   text-align: center;
   letter-spacing: 0.03em;
}

main .main_container section.original .points .solution_lead span {
   display: inline-block;
   position: relative;
   padding: 0 0.25em;
}

main .main_container section.original .points .solution_lead span::after {
   content: "";
   position: absolute;
   left: 0;
   bottom: 4px;
   width: 100%;
   height: 10px;
   background-color: #FFF000;
   mix-blend-mode: multiply;
}

/* trouble_box */
main .main_container section.original .points .trouble_box {
   display: flex;
   justify-content: space-between;
   align-items: flex-start;
   gap: 2.5%; /* gapを固定pxではなく、画面幅に連動する % にすることで、要素の縮小を邪魔しないようにする */
   max-width: 1000px;
   width: 100%;
   margin: 40px auto 30px;
}

/* 各trouble_item共通 */
main .main_container section.original .points .trouble_box .trouble_item {
   background-repeat: no-repeat;
   background-position: left top;
   background-size: contain; /* 背景画像を枠にぴったり追従させる */
   height: auto;
}

/* 
   合計幅（390 + 246 + 310 = 946px）に対する、
   それぞれの「純粋な横幅のパーцент比率」を算出して width に直接指定します。
   max-width も同じ比率の px でロックすることで、縮小スピードが1ミリもズレなくなります。
*/
/* 1番目（比率: 41.2%） */
main .main_container section.original .points .trouble_box .trouble_item:nth-child(1) {
   width: 41.2%;
   max-width: 390px;
   aspect-ratio: 390 / 194;
   margin-top: clamp(0px, 3.5vw, 30px); 
   background-image: url("../images/renewal/trouble_bg_01.svg");
}

/* 2番目（比率: 26.0%） */
main .main_container section.original .points .trouble_box .trouble_item:nth-child(2) {
   width: 26.0%;
   max-width: 246px;
   aspect-ratio: 246 / 194; 
   background-image: url("../images/renewal/trouble_bg_02.svg");
}

/* 3番目（比率: 32.8%） */
main .main_container section.original .points .trouble_box .trouble_item:nth-child(3) {
   width: 32.8%;
   max-width: 310px;
   aspect-ratio: 310 / 194;
   margin-top: clamp(0px, 3.5vw, 30px);
   background-image: url("../images/renewal/trouble_bg_03.svg");
}

main .main_container section.original .points .trouble_box .trouble_item p {
   display: flex;
   justify-content: center;
   align-items: center;
   width: 100%;
   height: 70%;
   padding: 0 10px;
   box-sizing: border-box;

   color: #FA5B22;
   font-size: clamp(15px, 2.2vw, 28px);
   font-weight: 700;
   line-height: 1.4;
   text-align: center;
   letter-spacing: 0.06em;
}

/* points_box */
main .main_container section.original .points .points_box {
   position: relative;
   width: 100%;
   max-width: 1050px;
   margin: 60px auto 40px;
   padding: 0 25px;
   background-color: #FFF000;
   box-sizing: border-box;
   display: flex;
   flex-direction: column;
}

main .main_container section.original .points .points_box h2.headline {
   display: inline-block;
   margin: -25px auto 0;
   padding: 8px 8px 9px;
   background-color: #FA5B22;
   color: #FFF000;
   font-size: 31px;
   line-height: 1.1;
   letter-spacing: 0.145em;
   text-align: center;
}

main .main_container section.original .points .points_grid {
   display: flex;
   justify-content: space-between;
   align-items: flex-start;
   /*gap: 26px;*/
   gap: clamp(20px, 1.94vw, 26px);
   width: 100%;
   max-width: 1000px;
   margin: 50px auto 60px;
}

main .main_container section.original .points .points_grid .points_card {
   width: 100%;
   max-width: 316px;
   min-height: 316px;
}

main .main_container section.original .points .points_grid .points_card .bg_circle { 
   position: relative;
   /*
   width: 260px; 
   height: 260px;
   */
   width: clamp(200px, 19.52vw, 260px);
   height: clamp(200px, 19.52vw, 260px);
   margin: 0 auto;
   background-color: #FFF; 
   border-radius: 50%; 
}

main .main_container section.original .points .points_grid .points_card .num { 
   display: block;
   /*padding-top: 27px;*/
   padding-top: clamp(22px, 1.60vw, 27px);
   color: #FA5B22; 
   font-family: 'Lato', sans-serif; 
   /*font-size: 25px;*/
   font-size: clamp(20px, 1.47vw, 25px);
   font-style: italic; 
   font-weight: 400; 
   text-align: center;
   letter-spacing: 0.04em;
}

main .main_container section.original .points .points_grid .points_card h3 {
   /* 文字が円の上に重なってはみ出るように、配置を強制固定 */
   position: absolute;
   top: 54%;
   left: 50%;
   transform: translateX(-50%) translateY(-50%);
   /*font-size: 52px;*/
   font-size: clamp(42px, 3.8vw, 52px);
   font-weight: 700; 
   font-feature-settings: normal;
   line-height: 1.2; 
   text-align: center;
   white-space: nowrap;
}

main .main_container section.original .points .points_grid .condensed {
   display: inline-block; 
   transform: scaleX(76%); /* 横幅だけを76%に潰して長体にする */
   transform-origin: center center; /* 中央を起点にして縮小させることで、中央揃えの軸を崩さない */
   /* 中央起点で縮めたことで、左右に生まれる不要な空きスペースを自動で詰め、
      隣の文字（「が出来る」など）が綺麗に中央へ寄るように相殺します */
   margin: 0 -0.12em; 
   letter-spacing: -0.03em;
}

main .main_container section.original .points .points_grid .custom-skew {
   display: inline-block; 
   transform: rotate(15deg); 
   vertical-align: text-bottom;
   font-size: 110%; 
}

main .main_container section.original .points .points_grid .points_card .text {
   position: relative;
   /*width: 250px;*/
   width: clamp(225px, 19.01vw, 250px);
   /*margin: -30px auto 0;*/
   margin: clamp(-24px, -2.19vw, -32px) auto 0;
   /*font-size: 20px;*/
   font-size: clamp(17px, 1.22vw, 20px);
   font-weight: 500;
   line-height: 1.35;
   letter-spacing: 0.035em;
}



/* ========================================================================== */
/* CASE STUDY SECTION（リニューアル事例）*/
/* ========================================================================== */
.case_box { margin-top: 50px; }

.case_box + .case_box { margin-top: 80px; }

/* 見出し全体のスタイル */
.case_title {
   display: flex;
   align-items: center;
   gap: 15px; /* ラベルとテキストの間隔 */
}

/* 左側のラベル部分（幅と高さを固定） */
.label {
   display: inline-flex;
   align-items: center; 
   width: 135px;  /* 全体の幅を135pxに固定 */
   height: 50px;  /* 高さを50pxに固定 */
   border: 1px solid #FA5B22;
   box-sizing: border-box;
}

/* 「事例」テキスト部分（135px - 65px = 残りの70pxになる） */
.label_text {
   flex: 1; /* 残りの幅（70px）をすべて占有する */
   background-color: #FFF;
   font-size: 20px;
   font-weight: 500;
   text-align: center;
}

/* 数字部分（65pxに固定） */
.label_num {
   display: flex;
   align-items: center;
   justify-content: center;
   flex-shrink: 0; /* 幅65pxを絶対に縮ませない指定 */
   width: 65px; /* 幅を65pxに固定 */
   height: 100%;
   background-color: #FA5B22;
   color: #FFF;
   font-family: 'Roboto', sans-serif;
   font-size: 33px;
   font-weight: 700;
}

.case_title h3 {
   font-size: 24px;
   font-weight: 700;
   margin: 0;
}


/* 3ステップ配置 */
.case_item {
   margin-top: 50px;
   margin-left: 94px; /* 左端の位置を固定 */
}

.case_flow {
   display: flex;
   align-items: center;
   justify-content: space-between;
   width: 100%;
   max-width: 1246px; /* 350px + 98px + 350px + 98px + 350px = 1246px */
}

.case_flow .flow_step {
   position: relative;
   /* 3つの画像枠の幅を「全体の28.09%」に固定（350px / 1246px）し、完全等幅を維持 */
   width: 28.089%; 
}

.case_flow .flow_step::after {
   content: ""; 
   position: absolute;
   /* 1枚目・2枚目の画像のすぐ右端（100%の位置）に完全固定。画像にぴったり密着します */
   left: 100%; 
   top: 45%;
   transform: translateY(-50%);

   /* 矢印の幅を全体の「6.42%（80px / 1246px）」に設定し、左画像（28.089%）に対して「22.85%」の幅にします（最大80px） */
   width: 22.857%; 
   max-width: 80px;
   aspect-ratio: 80 / 52;
   box-sizing: border-box;

   mask-image: url("../images/icon_arrow_flow.svg");
   mask-repeat: no-repeat;
   mask-position: center;
   mask-size: contain;
   background-color: #232D3B;
}

/* 3枚目の画像（完了）の後ろには矢印を出さない */
.case_flow .flow_step:last-child::after { display: none; }

.case_flow .flow_step h5 {
   position: absolute;
   top: -20px;
   /* 画像縮小に合わせて配置位置も滑らかに連動（-25px / 350px ≒ -7.1%） */
   left: -7.142%; 
   display: flex;
   justify-content: center;
   align-items: center;
   
   /* 2ステップで成功したロジックを適用：縦横サイズを画面幅（vw）ベースにし、最大値を制限（110px / 40px） */
   width: 9.3vw;
   max-width: 110px;
   height: 3.4vw;
   max-height: 40px;
   margin: 0;
   background-color: #232D3B;
   color: #FFF;
   
   /* フォントサイズも最大24pxから画面幅に合わせて滑らかに縮小 */
   font-size: clamp(14px, 2vw, 24px);
   line-height: 1.2;
   letter-spacing: 0.07em;
   white-space: nowrap;
}

.case_flow .flow_step:last-child h5 { 
   color: #FFF000; 
}

.case_flow .flow_step img {
   display: block;
   width: 100%; /* 親要素（等幅%）に連動して、3枚とも完全に同じ比率で縮小 */
   height: auto;
   aspect-ratio: 4 / 5;
   object-fit: cover;
}


/* 2ステップ配置（画像・gap・矢印・h5がすべて完全比例して縮小する最終完成版） */
.case_flex {
   display: flex;
   justify-content: space-between;
   align-items: flex-start;
   margin-top: 46px;
   margin-left: 94px; /* 左端の位置はデザイン通り固定 */
   gap: clamp(48px, 5vw, 94px); /* 隣 of 事例（大きな塊）同士の間隔 */
}

.case_flow02 {
   display: flex;
   align-items: center;
   justify-content: space-between;
   width: 46%;
   max-width: 570px; /* 250px + 70px + 250px = 570px */
}

.case_flow02 .flow_step {
   position: relative;
   /* 左右の画像枠の幅を「全体の43.859%」に固定し、完全等幅を維持 */
   width: 43.859%; 
}

.case_flow02 .flow_step::after {
   content: ""; 
   position: absolute;
   /* 1枚目の画像のすぐ右端（100%の位置）に完全固定。画像と完全に密着します */
   left: 100%; 
   top: 45%;
   transform: translateY(-50%);

   /* 左画像（43.859%）に対して「24%」の幅に設定（最大60px） */
   width: 24%; 
   max-width: 60px;
   aspect-ratio: 60 / 39;
   box-sizing: border-box;

   mask-image: url("../images/icon_arrow_flow.svg");
   mask-repeat: no-repeat;
   mask-position: center;
   mask-size: contain;
   background-color: #232D3B;
}

/* 2枚目の画像（施工後）の後ろには矢印を出さない */
.case_flow02 .flow_step:last-child::after { display: none; }

.case_flow02 .flow_step h5 {
   position: absolute;
   top: -16px;
   /* 縮小に合わせて配置位置も滑らかに連動 */
   left: -10%; 
   display: flex;
   justify-content: center;
   align-items: center;
   
   /* 縦横のサイズも画面幅（vw）ベースに変更し、最大値を制限 */
   width: 7.5vw;
   max-width: 88px;
   height: 2.7vw;
   max-height: 32px;
   margin: 0;
   background-color: #232D3B;
   color: #FFF;
   
   /* ブラウザの干渉を受けないよう計算式を最適化（確実に20pxから縮小します） */
   font-size: clamp(10px, 1.5vw, 20px);
   line-height: 1.2;
   letter-spacing: 0.07em;
   white-space: nowrap;

   transform-origin: left top;
   transform: scale(clamp(0.7, calc(100vw / 1300), 1));
}

.case_flow02 .flow_step:last-child h5 { 
   color: #FFF000; 
}

.case_flow02 .flow_step img {
   display: block;
   width: 100%; /* 親要素（等幅%）に連動して、2枚とも完全に同じ比率で縮小 */
   height: auto;
   aspect-ratio: 4 / 5;
   object-fit: cover;
}









/* ========================================================================== */
/* RESPONSIVE DESIGN（レスポンシブ対応） */
/* ========================================================================== */

/* タブレットサイズ用の調整（1024px以下） */
/* -------------------------------------------------------------------------- */
@media screen and (max-width: 1024px) {
   main .main_container section { padding: 0 20px; }
   
   main .main_container section:not(:nth-last-of-type(1)) { margin-bottom: 60px; }
   
   main .main_container section:not(:nth-last-of-type(1)) .inner { padding-bottom: 60px; }
   
   /* セクションタイトル */
   main .main_container section .title .jp { font-size: 24px; }
   main .main_container section .title .en { font-size: 19px; }
   
   /* イントロ */
   main .main_container section.intro .intro_title { font-size: 24px; }
   main .main_container section.intro .description { font-size: 15px; }
   
   /* 特注デザイン（グリッド） */
   main .main_container section.original .design_grid { margin-top: 40px; }
   
   /* 選ばれるポイント（3カラム） */
   main .main_container section.original .points .points_box h2.headline {
      margin-top: clamp(-25px, -0.703rem - 1.34vw, -19px);
      padding-top: clamp(6px, 0.215rem + 0.45vw, 8px);
      padding-bottom: clamp(7px, 0.278rem + 0.45vw, 9px);
      padding-left: clamp(6px, 0.215rem + 0.45vw, 8px);
      padding-right: clamp(6px, 0.215rem + 0.45vw, 8px);
      font-size: clamp(24px, -0.938rem + 4.92vw, 31px);
   }

   main .main_container section.original .points .points_box { padding: 0 20px; }
   main .main_container section.original .points .points_grid {
      gap: clamp(20px, 0.765rem + 1.34vw, 26px);
      margin: clamp(30px, 1.071rem + 2.24vw, 40px) auto;
   }
   main .main_container section.original .points .points_grid .points_card {
      max-width: clamp(145px, -2.152rem + 31.1vw, 284px);
      min-height: auto;
   }
   main .main_container section.original .points .points_grid .points_card .bg_circle {
      width: clamp(100px, 21.36vw, 228px);
      height: clamp(100px, 21.36vw, 228px);
   }
   main .main_container section.original .points .points_grid .points_card .num {
      padding-top: clamp(12px, 0.054rem + 2.14vw, 22px);
      font-size: clamp(14px, 2.39vw, 24px);
   }
   main .main_container section.original .points .points_grid .points_card h3 {
      font-size: clamp(22px, -0.56rem + 5.37vw, 46px);
   }
   main .main_container section.original .points .points_grid .points_card .text {
      width: clamp(140px, -0.762rem + 26.4vw, 258px);
      margin-top: 15px;
      font-size: clamp(14px, 0.632rem + 0.67vw, 17px);
   }

   /* 事例セクション */
   .case_item, .case_flex {
      margin-left: 16px; 
      width: calc(100% - 16px);
      box-sizing: border-box;
   }
   
   .case_flow, .case_flow02 { margin: 0; }
}



/* スマートフォンサイズ用の調整（768px以下） */
/* -------------------------------------------------------------------------- */
@media screen and (max-width: 768px) {
   .pc_only { display: none !important; }
   .sp_only { display: block; }
   
   main .main_container section { padding: 0 15px; }
   main .main_container section:not(:nth-last-of-type(1)) { margin-bottom: 40px; }
   main .main_container section:not(:nth-last-of-type(1)) .inner { padding-bottom: 40px; }
   
   /* セクションタイトル */
   main .main_container section .title { padding: 4px 0 4px 10px; border-left-width: 4px; }
   main .main_container section .title .jp { font-size: 18px; }
   main .main_container section .title .en { font-size: 16px; }
   
   main .main_container section .description { margin-top: 20px; font-size: 14px; line-height: 1.6; }
   main .main_container section .description br.hide { display: none;}
   
   /* イントロ */
   main .main_container section.intro .intro_title { font-size: 18px; line-height: 1.4; }
   main .main_container section.intro .description { margin-top: 10px; text-align: left; }
   
   /* 製作実績 */
   main .main_container section.achieve .graph_box { margin-top: 30px; }
   
   /* 特注デザイン（グリッドを2行3列・アスペクト比4:5に変更） */
   main .main_container section.original .design_grid {
      display: flex;
      flex-wrap: wrap;
      gap: 5px; /* 画像同士の隙間 */
      margin-top: 30px;
   }
   
   main .main_container section.original .design_grid li,
   main .main_container section.original .design_grid li.item_167 {
      width: calc((100% - 10px) / 3); /* 横3等分 */
   }

   main .main_container section.original .design_grid li img {
      display: block;
      width: 100%;
      height: auto;
      /* アスペクト比を縦長（1:1.618）に指定 */
      aspect-ratio: 1 / 1.618; 
      /* 画像が引き伸ばされて歪まないよう、枠線に合わせて綺麗に切り抜く設定 */
      object-fit: cover; 
   }
   
   /* お悩み・解決導入 */
   main .main_container section.original .points { margin-top: 40px; }

   main .main_container section.original .points .trouble_intro,
   main .main_container section.original .points .solution_lead {
      font-size: clamp(15px, 1.3vw + 10px, 20px);
      line-height: 1.6;
      word-break: break-word;
      overflow-wrap: anywhere;
   }

   /* 事例セクション（見出し）大見出しとのサイズ階層を美しく最適化 */
   .case_box { margin-top: 30px; }
   .case_box + .case_box { margin-top: 40px; }
   
   /* ケースタイトル：16pxから、576px手前の15pxまでなだらかに変化 */
   .case_title h3 { 
      font-size: clamp(15px, 0.5vw + 12px, 16px); 
   }
   
   /* ラベルのサイズ：文字に合わせてPC版から一回り縮小 */
   .label { 
      width: clamp(105px, 5.2vw + 65px, 115px); 
      height: clamp(40px, 2.1vw + 24px, 44px); 
   }
   
   /* ラベルテキスト */
   .label_text { 
      font-size: clamp(14px, 1vw + 6px, 16px); 
   }
   
   /* ラベルの数字 */
   .label_num { 
      width: clamp(48px, 2.6vw + 28px, 54px); 
      font-size: clamp(22px, 3.1vw + -1px, 26px); 
   }
}



/* 一般的なスマホサイズ用の調整（576px以下） */
/* -------------------------------------------------------------------------- */
@media screen and (max-width: 576px) {
   main .main_container section .title .en { display: none; } /* 他のSPページ仕様に合わせる */

   /* --- お悩み3つのボックス（既存コード） --- */
   main .main_container section.original .points .trouble_box {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 15px;
      margin: 25px auto;
      width: clamp(80%, 217.6px + 32vw, 100%);
   }
   main .main_container section.original .points .trouble_box .trouble_item {
      display: flex;
      justify-content: flex-end;
   }
   main .main_container section.original .points .trouble_box .trouble_item:nth-child(1),
   main .main_container section.original .points .trouble_box .trouble_item:nth-child(2),
   main .main_container section.original .points .trouble_box .trouble_item:nth-child(3) {
      width: 100%;
      max-width: 100%;
      height: auto;
      margin: 0;
      aspect-ratio: 390 / 80;
      background-image: url("../images/renewal/trouble_bg_04.svg");
   }
   main .main_container section.original .points .trouble_box .trouble_item p {
      width: 95.5%;
      height: 95.5%;
      font-size: clamp(14px, 0.719rem + 0.78vw, 16px);
   }
   main .main_container section.original .points .trouble_box .trouble_item p br.hide { display: none; }

   /* --- 選ばれるポイント全体（既存コードを維持） --- */
   main .main_container section.original .points .points_box {
      margin: 40px auto 30px;
      padding: 0 5vw 0px;
   }
   main .main_container section.original .points .points_box h2.headline {
      margin-top: -18px;
      font-size: clamp(15px, 4.2vw, 18px); 
      padding: 6px 12px;
      letter-spacing: 0.05em;
   }


   /* ==========================================================================
      【新設計】選ばれるポイント（!important不使用・完全リライト版）
      ========================================================================== */

   /* 1. 全体を1列の縦並びにする */
   main .main_container section.original .points .points_grid {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 32px; /* カード同士の縦のすき間 */
      margin: 30px auto; 
   }

   /* 2. カード全体の横幅を調整 */
   main .main_container section.original .points .points_grid .points_card {
      width: clamp(80%, 217.6px + 32vw, 100%);
      max-width: 100%; 
      min-height: auto; /* PC版の固定高316pxをリセット */
   }

   /* 3. 円を辞めて、横長で角丸（ラウンド）の白いボックスに変形 */
   main .main_container section.original .points .points_grid .points_card .bg_circle {
      display: flex;
      flex-direction: row;      /* 横並び */
      align-items: center;      /* 上下の文字中心を揃える */
      justify-content: center;   /* 左右の中央揃え */
      gap: 12px;                /* Point1 と 見出しの間のすき間 */
      
      width: 100%;              /* カード幅いっぱいに広げる */
      height: auto;             /* 縦幅の固定を解除して中身に合わせる */
      background-color: #FFF; /* 白地 */
      border-radius: 10vw;       /* 程よい角丸（ラウンド） */
      padding: 12px 24px;       /* ボックス内の上下左右の余白 */
   }

   /* 4. 白地の中の文字：num（Point1）の設定 */
   main .main_container section.original .points .points_grid .points_card .num {
      padding-top: 0;   /* PC版のpadding-topを解除 */
      font-size: 14px;  
      white-space: nowrap; /* 絶対に改行させない */
      color: #FA5B22;   
      font-weight: bold;
      line-height: 1;
   }
   
   /* 5. 白地の中の文字：h3（通常スタイル・改行なしに統一） */
   main .main_container section.original .points .points_grid .points_card h3 {
      /* PC版の絶対配置を完全にリセットし、通常のインライン要素の並びに戻す */
      position: static; 
      transform: none;
      top: auto;
      left: auto;
      width: auto;
      height: auto;
      margin: 0;

      /* フォントサイズ、文字色、太さを通常のh3スタイルに固定 */
      font-size: 16px;  
      font-weight: bold; 
      font-feature-settings: "palt";
      line-height: 1;
      
      /* h3の中の改行を完全に禁止して1行にする */
      white-space: nowrap; 
   }

   main .main_container section.original .points .points_grid .custom-skew {
      display: inline-block;
      transform: rotate(15deg) translateY(8%);
      vertical-align: baseline;
      font-size: 110%; 
   }

   /* h3の中に元々入っているかもしれない <br> タグをSP時だけ消去 */
   main .main_container section.original .points .points_grid .points_card h3 br {
      display: none;
   }

   /* PC版で .condensed（長体）のクラスが付いている場合の設定をクリア */
   main .main_container section.original .points .points_grid .condensed {
      display: inline;
      transform: none;
      margin: 0; 
      letter-spacing: normal;
   }

   /* 6. 下の説明文（設置環境を考慮した〜）の調整 */
   main .main_container section.original .points .points_grid .points_card .text {
      width: 100%; /* 白いボックスと左右の端を綺麗に揃える */
      margin: 14px auto 0; /* PC版のマイナスマージンを解除し、適度なすき間を確保 */
      
      /* 320px〜576pxの間で14px〜16pxに美しく同期変化 */
      font-size: clamp(14px, 0.719rem + 0.78vw, 16px); 
      line-height: 1.6;
      text-align: left;            
      color: #2B2B2B;
   }


   /* 事例セクション（見出し）大見出しとのサイズ階層を美しく適正化 */
   /* ケースタイトル：大見出し(15px)を超えないよう、14px〜12pxに設計秩序を修正 */
   .case_title h3 {
      font-size: clamp(12px, 0.8vw + 10px, 14px);
   }

   /* ラベルのサイズ：文字サイズ縮小に伴い、ハミ出さずスマートに収まるサイズに最適化 */
   .label {
      width: clamp(84px, 4.3vw + 60px, 96px);
      height: clamp(32px, 1.6vw + 23px, 36px);
   }

   /* ラベルテキスト */
   .label_text {
      font-size: clamp(11px, 0.8vw + 8px, 13px);
   }

   /* ラベルの数字 */
   .label_num {
      width: clamp(38px, 1.6vw + 29px, 44px);
      font-size: clamp(16px, 1.7vw + 10px, 20px);
   }

   /* ==========================================================================
      【新設計】事例セクション 縦並び＆矢印・h5の衝突回避レイアウト
      ========================================================================== */
   .case_item { margin: 0; }

   /* --- 事例共通のカード（ステップ）調整 --- */
   .case_flow .flow_step,
   .case_flow02 .flow_step {
      position: relative;
      width: 100%;
      max-width: 280px; /* カードの最大幅を固定 */
      padding-right: 0;
      margin: 0 auto;   /* スマホ画面中央に配置 */
   }

   /* --- 事例1（3ステップを縦並びに変更） --- */
   .case_item { 
      margin-top: 25px; 
      margin-left: 0; /* 左固定の余白を解除して中央に */
      width: 100%;
   }
   .case_flow { 
      flex-direction: column; 
      gap: 55px; /* 下向き矢印と次のカードのh5が被らないための最適な間隔 */
   }
   
   /* --- 事例2（2カラム・2ステップを縦並びに変更） --- */
   .case_flex { 
      flex-direction: column; 
      gap: 55px; /* 事例同士の縦の間隔 */
      margin-top: 25px; 
      margin-left: 0; /* 左固定の余白を解除 */
      width: 100%;
   }
   .case_flex > .case_flow02:not(:last-child) {
      position: relative;
      padding-bottom: 55px; 
      border-bottom: 1px dashed #DCDDDD; 
   }
   .case_flow02 { 
      width: 100%; 
      flex-direction: column; 
      gap: 55px; /* ステップ同士の縦の間隔 */
   }

   /* --- 下向き矢印の共通調整（回転による軸ズレ・被りを完全相殺） --- */
   .case_flow .flow_step::after,
   .case_flow02 .flow_step::after {
      /* 配置基準をカードの「一番下（画像の下端）」にジャストで合わせる */
      bottom: -40px; 
      left: 50%;
      right: auto;
      top: auto;
      
      /* 横中央揃え ＆ 90度下向き回転 */
      transform: translateX(-50%) rotate(90deg); 
      
      /* 縦並びでも圧迫感のないスリムなサイズ感に微調整 */
      width: 40px;
      height: 24px;
      mask-size: 40px 24px;
   }

   /* 一番最後のステップ（完了・施工後）の後ろには矢印を出さない */
   .case_flow .flow_step:last-child::after,
   .case_flow02 .flow_step:last-child::after { 
      display: none; 
   }

   /* --- ★ 縦並び化に伴う h5（施工前など）の浮きバグ解消調整 --- */
   .case_flow .flow_step h5,
   .case_flow02 .flow_step h5 {
      /* absolute を解除し、通常要素として画像の上に正しく積む（被せさせない） */
      position: static;
      transform: none;
      
      /* 縦並びカードの幅（最大280px）に合わせてサイズを固定 */
      width: 88px;
      height: 32px;
      border-right: 1px solid #FFF;
      border-bottom: 1px solid #FFF;
      
      /* フォントサイズを他のテキストと歩調を合わせて同期縮小 */
      font-size: clamp(14px, 0.9vw + 11px, 16px);
      text-align: center;
      line-height: 32px; /* 上下中央揃え */
      white-space: nowrap;
   }
}



/* 超極小スマートフォン向けの微調整（425px以下） */
/* -------------------------------------------------------------------------- */
@media screen and (max-width: 425px) {
   main .main_container section.intro .intro_title br { display: block; }

   main .main_container section.original .points .trouble_intro,
   main .main_container section.original .points .solution_lead { text-align: justify; }

   main .main_container section.original .points .trouble_intro br,
   main .main_container section.original .points .solution_lead br { display: none; }

   /* ==========================================================================
      ★ 425px以下：.num と h3 の縦並び・間隔を狭める命令の最優先適用化
      ========================================================================== */
   /* 576px側のrow（横並び）に負けないよう、詳細度を確実に引き上げて固定します */
   main .main_container section.original .points .points_grid .points_card .bg_circle {
      flex-direction: column !important; /* 確実に縦並び（改行）を強制適用 */
      gap: 4px !important;               /* .num と h3 の上下すき間を狭める */
      padding: 8px 16px !important;      /* 縦並び時用のジャスト余白 */
   }
   
   main .main_container section.original .points .points_grid .points_card h3 {
      font-size: clamp(14px, 4vw, 16px) !important; 
   }
}