p.note {
    color: #f2f2f2;
    font-size: 1.2rem;
}

p.note a {
    color: #f2f2f2;
    font-size: 1.2rem;
}

.l-stack.lower-added img {
    width: 60rem;
}

.l-stack.lower-added .arrow-summary {
    height: 1.3rem;
    margin: 0px auto 6rem;
    font-size: 3.2rem;
}

.l-stack.lower-added .box-summary {
    margin-top: 0rem;
}

.l-stack.lower-added .box-summary__pic {
    position: absolute;
    top: 0rem;
}

.case-container {
    display: flex;
    align-items: center; /* Align items vertically */
    justify-content: center; /* Center items horizontally */
    gap: 2rem; /* Equivalent to space-x-8 */
}

.case-box {
    background: rgba(67, 121, 169, 0.1);
    padding: 0rem 2rem 2rem;
    margin: 4rem 0;
}

.case-box.box-left h3 {
    color: #28a2fc;
}

.case-box.box-right h3 {
    color: #cf0000;
}

.case-study-box {
    padding: var(--s3);
    border-radius: var(--s2) var(--s2) 11rem var(--s2);
    background: #f5f8fd;
    margin-bottom: 8rem;
}

.case-items {
    padding: 1.2rem 1.4rem 0.4rem;/*文字周りの余白*/
    color: #333;
    background: #eee;
    border-bottom: solid 3px #fd7272;
    font-weight: bold;
    margin: 2.6rem 0rem 1rem;
    display: inline-block;
}

.funnel-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 30px 0;
}

.funnel-before {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 10px;
}

.guideline {
    background-color: #eee;
    color: #999;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.funnel-icon {
    width: 0;
    height: 0;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-top: 60px solid #f2b75a;
    margin-bottom: 10px;
}

.funnel-after {
    font-size: 18px;
    font-weight: bold;
    color: #fd7272;
    padding: 10px 20px;
    background-color: #fff;
    border: 2px dashed #fd7272;
    border-radius: 8px;
}


.serve-model-container {
    width: 100%;
    max-width: 800px;
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    padding: 2rem;
    box-sizing: border-box;
}

/* * SERVE Items List 
 * SERVEモデルの各項目を並べるリスト (クラス名を変更)
 */
.serve-model-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* * Individual SERVE Item 
 * 各項目のスタイル (クラス名を変更)
 */
.serve-model-item {
    background-color: #f5f8fd;
    padding: 1.5rem;
    border-radius: 12px;
}

/* * Text Content 
 * テキスト部分のコンテナ (クラス名を変更)
 */
.serve-model-content {
    flex-grow: 1;
}

.serve-model-content h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.6rem;
    font-weight: 700;
    color: #333;
}

/* * Marker Style 
 * マーカー（ハイライト）のスタイル (クラス名を変更)
 */
.serve-model-marker {
    background: linear-gradient(transparent 60%, #f2b75a66 60%); /* 黄色の半透明な背景 */
    padding: 0 0.2em;
    font-weight: bold;
}

.serve-model-content p {
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.7;
    color: #999; /* やや薄い文字色 */
}

.company-case-infographic {
  color: #3e3a39;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans JP", "Hiragino Kaku Gothic ProN",
    Meiryo, sans-serif;
  line-height: 1.6;
	padding: 2rem 0;
}

.company-case-infographic .company-case-wrap {
  max-width: 980px;
  margin: 0 auto;
  padding: 24px;
}

/* 2カラム → モバイル1カラム */
.company-case-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}


/* カード（共通） */
.company-case-card {
  background: #ffffff;
  border: 1px solid rgba(62,58,57,0.25);
  padding: 16px;
}

/* 色味を反転後：
   改革前（Before）= #fff / 枠左 #3e3a39
   改革後（After） = #ffffff / 枠左 #fd7272
*/
.company-case-card--before {
  background: #fff;
  border-left: 6px solid #3e3a39;
}
.company-case-card--after {
  background: #ffffff;
  border-left: 6px solid #fd7272;
}

/* 見出し（カード内） */
.company-case-card h2 {
  font-size: 16px;
  margin: 0 0 8px;
  letter-spacing: 0.02em;
}

/* 箇条書き */
.company-case-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.company-case-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  padding: 10px 0;
  border-top: 1px dashed rgba(62,58,57,0.25);
}
.company-case-list li:first-child { border-top: none; }

/* 番号バッジ */
.company-case-n {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 12px;
  color: #ffffff;
  background: #fd7272; /* 基本色（After側）。Before/Afterで下記で上書き */
}
.company-case-card--before .company-case-n { background: #3e3a39; }
.company-case-card--after  .company-case-n { background: #fd7272; }

/* 年号などの強調は撤去し通常テキスト扱い */
.company-case-chip {
  font: inherit;
  color: inherit;
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
  border-radius: 0;
}

/* 備考テキスト */
.company-case-note {
  font-size: 12px;
  opacity: 0.85;
  margin-top: 8px;
}

/*----------------------------------------------------
    PCサイトcss
----------------------------------------------------*/

@media screen and (min-width:  767px) {
/*/////////////PC用のCSSをここに作成してください。/////////////*/
/*/////////////必ず中括弧の中に作成してください。/////////////*/

.flx{
    display: flex;
    margin: auto;
    font-weight: bold;
    text-align: center;
}

.flxin{
    margin: auto 2rem;
    font-weight: bold;
    text-align: center;
}

.flxin a{
    text-decoration:none;
}

.flx :nth-child(2) {
	border-left: solid 2px #333;
	padding-left: 2rem;
}

.flx :nth-child(3) {
	border-left: solid 2px #333;
	padding-left: 2rem;
}

.flx :nth-child(4) {
	border-left: solid 2px #333;
	padding-left: 2rem;
}
.about-page {
    padding: 2rem 3rem 1rem;
    background: rgba(40, 162, 252, 0.1);
    max-width: 50%;
	margin: 0 auto;
}

.about-ttl {
    font-size: 1.6rem;
    font-weight: bold;
    color: #cf0000;
}
.related {
    position: absolute;
    top: 0px;
    left: 0;
    background: #575757;
    color: #fff;
    padding: 5px 20px;
    font-size: 1.6rem;
    font-weight: bold;
}

.addParts01_linkparts {
    display: flex;
    align-items: center;
    justify-content: space-around;
    background: #fff;
    padding: 20px;
    position: relative;
    width: 90%;
    gap: 50px;
    margin: 50px auto 0;
}

.linkparts_left {
    width: 30%;
}

.linkparts_right {
    width: 70%;
}

.linkparts_inner {
    display: flex;
    align-items: center;
    justify-content: space-around;
    background: #fff;
    padding: 20px;
    position: relative;
    width: 90%;
    gap: 50px;
    margin: 0 auto;
	box-shadow: 10px 10px 15px -10px;
}

	
	
}



/*----------------------------------------------------
    SPサイトcss
----------------------------------------------------*/

@media screen and (max-width: 768px) {
/*/////////////SP用のCSSをここに作成してください。/////////////*/
/*/////////////必ず中括弧の中に作成してください。/////////////*/
	.pc{
		display:none;
	}

    .l-stack.lower-added .box-summary__pic {
        display: none;
    }	
	
.about-page {
    padding: 2rem 1rem;
    background: rgba(40, 162, 252, 0.1);
}

.about-ttl {
    font-size: 1.6rem;
    font-weight: bold;
    color: #cf0000;
}	
	
.case-container {
    display: block;
}

.separator {
    text-align: center;
    transform: rotate(90deg);
}	

.serve-model-container {
    padding: 1.5rem;
}
.serve-model-item {
    padding: 1rem;
}
.serve-model-content h4 {
    font-size: 1.1rem;
}	

  .company-case-grid { grid-template-columns: 1fr; }	
	
}