﻿@charset "UTF-8";


/* =====================================
   CoreStaff 理念 2.0
   メインコンテンツ専用CSS
===================================== */


/* =====================================
   共通見出し
===================================== */

.philo-h2 {
  margin: 0 0 20px;
  padding-left: 15px;
  border-left: 5px solid #07549c;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
}

.philo-h3 {
  font-size: 20px;
	margin: 0 0 10px;
}

.philo-section {
	font-size: 16px;
  margin-bottom: 45px;
  scroll-margin-top: 20px;
}

/* =====================================
   ページ内アンカーリンク
===================================== */

.philo-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 20px;
}

  .philo-nav a {
	  display: flex;
	  align-items: center;
	  justify-content: space-between;
	  gap: 15px;
	  position: relative;
	  background-color: #f2f2f2;
	  padding: 5px 15px;
	  border-radius: 5px;
  }
	
.philo-nav a::after {
	content: "";
	display: block;
	width: 6px;
	height: 6px;
	border-right: 1px solid #07549c;
	border-bottom: 1px solid #07549c;
	transform: rotate(45deg);
	flex-shrink: 0;
	margin-right: 3px;
	margin-top: -3px;
}	

.philo-nav a:hover,
.philo-nav a:focus-visible {
  background: #e2f1fb;
  color: #07549c;
}

/* =====================================
   パーパス メインビジュアル
===================================== */

.philo-purpose-visual {
  display: flex;
  align-items: center;
  min-height: 270px;
  padding: 25px 30px;
  margin-bottom: 20px;
  background:
    linear-gradient(
      90deg,
      #0067aa 0%,
      #0067aa 35%,
      transparent 75%
    ),
    url("https://www.corestaff.co.jp/cms/corestaff/img/philosophy/philosophy-purpose_2026.png?set0001")
    center / cover no-repeat;
}

.philo-purpose-visual p {
  margin: 0;
  color: #fff;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: .02em;
 text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

/* =====================================
   パーパス説明
===================================== */

.philo-purpose-body {
  padding: 0 10px;
  margin-bottom: 28px;
}

.philo-lead {
  margin: 0 0 10px 15px;
  color: #07549c;
  font-weight: 600;
}

.philo-description {
  margin: 0;
  padding-left: 40px;
}

.philo-description > li {
	list-style: disc;
  margin-bottom: 4px;
}

.philo-sub-list {
  list-style: none;
  counter-reset: subitem;
}

.philo-sub-list li {
  list-style: none;
}



/* =====================================
   パーパスを分解
===================================== */

.philo-breakdown {
  padding: 0 10px;
}

.philo-breakdown-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 12px 0 0 15px;
}

.philo-breakdown-row {
  display: flex;
  align-items: stretch;
  min-height: 46px;
}

.philo-breakdown-row:nth-child(1){
	border-bottom: 1px solid #07509c;
}

.philo-breakdown-row:nth-child(2){
	border-bottom: 1px solid #3b70b9;
}

.philo-breakdown-row:nth-child(3){
	border-bottom: 1px solid #588fd0;
}

.philo-breakdown-row:nth-child(4){
	border-bottom: 1px solid #66a9d1;
}

.philo-breakdown-row:nth-child(5){
	border-bottom: 1px solid #5bb9bd;
}

.philo-breakdown-label {
  position: relative;
  display: flex;
  align-items: center;
  flex: 0 0 60%;
  padding: 5px 30px;
  color: #fff;
  background: #07509c;
  clip-path: polygon(
    0 0,
    84% 0,
    100% 100%,
    0 100%
  );
  font-weight: 700;
	font-size: 24px;
	align-self: stretch;
  margin-bottom: -1px;
	    letter-spacing: 0.05em;
}

.philo-breakdown-text {
  display: flex;
  align-items: center;
  flex: 1;
  padding: 10px 0px 10px 40px;
  font-size: 18px;
}

.philo-breakdown-row:nth-child(2)
.philo-breakdown-label {
  background: #3b70b9;
}

.philo-breakdown-row:nth-child(3)
.philo-breakdown-label {
  background: #588fd0;
}

.philo-breakdown-row:nth-child(4)
.philo-breakdown-label {
  background: #66a9d1;
}

.philo-breakdown-row:nth-child(5)
.philo-breakdown-label {
  background: #5bb9bd;
}

/* =====================================
   コアスタッフの判断基準
===================================== */

.philo-standards-bg {
  padding: 20px 0;
	display: flex;
    flex-direction: column;
    align-items: center;
  background:
    linear-gradient(
      120deg,
      rgba(192, 234, 251, .9),
      rgba(242, 250, 253, .9)
    );
}

.philo-standard {
  width: 100%;
  max-width: 850px;
  box-sizing: border-box;
  margin-bottom: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 2px 5px rgba(0, 80, 140, .08);
}

.philo-standard:last-child {
  margin-bottom: 0;
}

/* =====================================
   判断基準 番号・タイトル・要約
===================================== */

.philo-standard-head {
  display: flex;
  align-items: center;
  gap: 20px;
}

.philo-standard-number {
  color: #07549c;
  font-size: 24px;
  font-weight: 700;
}

.philo-standard-head > div {
  flex: 1;
  min-width: 0;
}

.philo-standard-head h3 {
  margin: 0 0 2px;
  color: #07549c;
  font-size: 20px;
  line-height: 1.5;
	font-weight: 700;
}

.philo-standard-head p {
  margin: 0;
  font-weight: 500;
  line-height: 1.6;
}

/* =====================================
   判断基準 詳細文章
===================================== */

.philo-standard-detail {
  margin-top: 15px;
  border-top: 1px solid #ddd;
}

.philo-standard-detail ul {
  margin: 15px 0 0 50px;
	padding-left: 20px
}

.philo-standard-detail li {
  margin-bottom: 5px;
  color: #666;
  line-height: 1.5;
	list-style: disc;
}

.philo-standard-detail li:last-child {
  margin-bottom: 0;
}

/* =====================================
   締めの文章
===================================== */

.philo-closing {
  margin: 40px auto 65px;
  padding: 0 15px;
  text-align: center;
}

.philo-closing p {
  margin: 0;
  color: #333;
  font-size: 22px;
  font-weight: 700;
  line-height: 2;
	text-shadow: 2px 2px 10px rgba(136, 136, 136, 0.3);
}


/* =====================================
   Fluid responsive adjustments
   Additions to original desktop styling
===================================== */
/*.philo-content,
.philo-content * { box-sizing: border-box; }
.philo-content { width: 100%; min-width: 0; }*/
/*.philo-section, .philo-purpose-body, .philo-breakdown,
.philo-breakdown-list, .philo-standards-bg { min-width: 0; }*/
.philo-section{font-size: clamp(14px, 1.4vw, 16px);}
.philo-h2 { font-size: clamp(20px, 2.1vw, 24px); }
.philo-h3 { font-size: clamp(18px, 1.8vw, 20px); }
.philo-nav { gap: clamp(10px, 2.5vw, 40px); }
.philo-nav a { 
	min-width: 0; 
	font-size: clamp(12px, 1.2vw, 14px); 
	text-decoration: none; 
}
.philo-purpose-visual { 
	width: 100%; 
	min-width: 0; 
}
.philo-purpose-visual p { 
	max-width: 100%; 
	font-size: clamp(18px, 2.5vw, 30px); 
	overflow-wrap: anywhere; }
.philo-breakdown-row { min-width: 0; }
.philo-breakdown-label {
  min-width: 0;
  flex: 0 0 60%;
  padding: 7px clamp(14px, 2.4vw, 30px);
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.philo-breakdown-text {
  min-width: 0;
  padding: 10px 10px 10px clamp(12px, 3vw, 40px);
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.philo-standards-bg { width: 100%; }
.philo-standard { 
	width: min(95%, 850px); 
	min-width: 0; 
}
.philo-standard-head > div { 
	min-width: 0; 
	overflow-wrap: anywhere; 
}
.philo-standard-head h3 { 
	font-size: clamp(16px, 1.7vw, 20px); 
}


/* Narrow desktop / tablet: preserve two-column breakdown */
@media screen and (max-width: 1199px) {
  .philo-breakdown-label { 
	  flex-basis: 57%; 
	  font-size: clamp(16px, 1.7vw, 20px); 
	}
.philo-breakdown-text { 
	  font-size: clamp(14px, 1.4vw, 16px);
	}
  .philo-purpose-visual { min-height: 220px; }
  .philo-standard-head { gap: 15px; }
  .philo-standard-detail ul { margin-left: 20px; }
	.philo-closing p{
		font-size: clamp(16px, 1.7vw, 20px); 
	}
}

/* Mobile: make long decomposition labels readable */
@media screen and (max-width: 650px) {
  .philo-h2 { 
	  padding-left: 10px; 
	  border-left-width: 4px; 
	}
  .philo-section { 
	  margin-bottom: 30px; 
	  font-size:14px;
	}
  .philo-nav { gap: 10px; }
  .philo-nav a { 
	  flex: 1 1 100%; 
	  padding: 10px; 
	}
  .philo-purpose-visual {
    min-height: 150px;
    padding: 15px;
    background-position: 58% center;
  }
  .philo-purpose-visual p { 
	  line-height: 1.4; 
	}
  .philo-purpose-body, .philo-breakdown { 
	  padding: 0; 
	}
  .philo-lead { 
	  margin-left: 0; 
	  line-height: 1.4;
	}
  .philo-description { 
	  padding-left: 22px;
	  line-height: 1.4;
	}
  .philo-sub-list { 
	  padding-left: 0px; 
	}
  .philo-breakdown-list { 
	  margin-left: 0; 
	  gap: 15px; 
	}
  .philo-breakdown-row { 
	  display: flex; 
	  flex-direction: column; 
	  min-height: 0; 
	}
  .philo-breakdown-label {
    flex: none;
    width: 100%;
    min-height: 35px;
    padding: 5px 10px;
    clip-path: polygon(0 0, 92% 0, 100% 100%, 0 100%);
    margin-bottom: 0;
	  font-size: clamp(16px, 1.7vw, 20px); 
  }
  .philo-breakdown-text {
    min-height: 30px;
    padding: 5px 30px;
	  font-size: 14px;
  }
  .philo-standards-bg { padding: 10px; }
  .philo-standard { 
	  padding: 15px 10px; 
	  margin-bottom: 10px; 
	}
  .philo-standard-head { 
	  align-items: flex-start; 
	  align-items: center;
	  gap: 10px; 
	}
  .philo-standard-number { 
	  flex: 0 0 26px; 
	  font-size: 20px; 
	  line-height: 1.4; 
	}
	
  .philo-standard-head h3 { 
	  font-size: 16px; 
		line-height: 1.2;
	}
	
  .philo-standard-head p { 
	  line-height: 1.4; 
	}
	
  .philo-standard-detail { 
	  margin-top: 10px; 
	  padding-top: 10px; 
	}
	
  .philo-standard-detail ul { 
	  margin: 0; 
	  padding-left: 20px; 
	}
	
  .philo-standard-detail li { 
	  line-height: 1.4; 
	}
	
  .philo-closing { 
	  margin: 30px auto 45px; 
	  padding: 0 10px; 
	}
	
  .philo-closing p { 
	  line-height: 1.4; 
	  font-size: 16px;
	}
	
  .philo-closing br { display: none; }
}
