/* --- ディプロマ・サプリメント特設ページ用スタイル --- */

/* コンテナ（記事本文の枠） */
.ds-container {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  line-height: 1.6;
  color: #333;
  max-width: 1000px;
  margin: 0 auto; /* MTのレイアウトに合わせて調整してください */
  background-color: #fff;
  padding: 20px 0; /* 上下の余白 */
}

/* レスポンシブ画像 */
.ds-container img {
  max-width: 100%;
  height: auto;
}

/* 画像・図版エリア（プレースホルダー） */
.ds-placeholder-img {
  width: 100%;
  background-color: #f4f7fb;
  border: 2px dashed #cbd5e0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555;
  font-weight: bold;
  margin-bottom: 15px;
  border-radius: 4px;
  text-align: center;
  flex-direction: column;
  padding: 20px;
  box-sizing: border-box;
}
.ds-placeholder-img span {
  color: #888;
  margin-top: 5px;
  font-weight: normal;
}
/* メリットカード内の画像エリア用調整 */
.ds-merit-card .ds-placeholder-img {
  background-color: #fff;
  border-color: #dbeafe;
}

/* 見出しデザイン */
.ds-h2 {
  color: #004098; /* 大学テーマカラー（青） */
  border-bottom: 2px solid #004098;
  padding-bottom: 10px;
  margin-top: 50px;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.4;
}

.ds-h3 {
  color: #004098;
  margin-top: 30px;
  margin-bottom: 15px;
  padding-left: 15px;
  border-left: 5px solid #e0e0e0;
  font-weight: 600;
  line-height: 1.4;
}

.ds-h4 {
  color: #333;
  margin-top: 25px;
  margin-bottom: 10px;
  font-weight: 700;
}

/* 1. ヒーローセクション */
.ds-hero {
  background: linear-gradient(135deg, #004098 0%, #002860 100%);
  color: #fff;
  padding: 60px 20px;
  text-align: center;
  border-radius: 8px;
  margin-bottom: 50px;
}
.ds-hero h1 {
  margin-bottom: 15px;
  line-height: 1.4;
  color: #fff;
  font-weight: 700;
}
.ds-hero .subtitle {
  background-color: rgba(255,255,255,0.15);
  display: inline-block;
  padding: 8px 20px;
  margin-bottom: 30px;
  border-radius: 30px;
  letter-spacing: 0.05em;
}
.ds-hero .intro {
  text-align: left;
  max-width: 800px;
  margin: 0 auto;
  background: rgba(255,255,255,0.95);
  color: #333;
  padding: 30px;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* 2. 説明セクション */
.ds-content-box {
  padding: 0 10px;
}
.ds-list {
  list-style-type: none;
  padding-left: 0;
  margin: 15px 0;
}
.ds-list > li {
  margin-bottom: 15px;
  padding-left: 1.5em;
  position: relative;
}
.ds-list > li::before {
  content: "●";
  color: #004098;
  position: absolute;
  left: 0;
  top: 0;
}

/* 3. メリット（2カラムレイアウト） */
.ds-merit-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  margin-top: 20px;
}
.ds-merit-card {
  flex: 1 1 300px;
  background-color: #f8fbff;
  padding: 30px;
  border-radius: 8px;
  border-top: 5px solid #004098;
  box-shadow: 0 2px 5px rgba(0,0,0,0.03);
}
.ds-merit-card.company {
  border-top-color: #444;
  background-color: #f9f9f9;
}
.ds-merit-title {
  font-weight: bold;
  margin-bottom: 20px;
  text-align: center;
  display: block;
  background: #fff;
  padding: 12px;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
  color: #333;
}

/* 4. 発行手順 */
.ds-step-list {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin-top: 20px;
}
.ds-step-list li {
  position: relative;
  padding-left: 50px;
  margin-bottom: 30px;
}
.ds-step-list li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 36px;
  height: 36px;
  background: #004098;
  color: #fff;
  text-align: center;
  line-height: 36px;
  border-radius: 50%;
  font-weight: bold;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.ds-step-title {
  font-weight: bold;
  display: block;
  color: #004098;
  margin-bottom: 5px;
}
.ds-security-box {
  background-color: #eef6ff;
  border: 1px solid #dae8f5;
  padding: 25px;
  border-radius: 6px;
  margin-top: 30px;
  display: flex;
  gap: 15px;
  align-items: flex-start;
}
.ds-security-icon {
  line-height: 1;
}

/* 5. 電子発行ができる条件 */
.ds-condition-box {
  background-color: #fff8e1;
  border: 2px solid #ffecb3;
  padding: 25px;
  border-radius: 8px;
  margin-top: 20px;
}
.ds-condition-list {
  list-style-type: none;
  padding: 0;
  margin: 15px 0 0 0;
}
.ds-condition-list li {
  padding-left: 25px;
  margin-bottom: 10px;
  position: relative;
  font-weight: 500;
}
.ds-condition-list li::before {
  content: "?";
  color: #f57f17;
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* 6. リンク・ボタン */
.ds-cta-section {
  text-align: center;
  background: #f0f4f8;
  padding: 50px 20px;
  border-radius: 8px;
  margin-top: 50px;
}
.ds-btn {
  display: inline-block;
  background-color: #d32f2f;
  color: #fff !important;
  padding: 18px 50px;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(211, 47, 47, 0.3);
  transition: all 0.3s;
  margin-bottom: 25px;
}
.ds-btn:hover {
  background-color: #b71c1c;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(211, 47, 47, 0.4);
  text-decoration: none;
}
.ds-links {
  list-style: none;
  padding: 0;
  margin-top: 15px;
}
.ds-links li {
  display: inline-block;
  margin: 0 15px;
}
.ds-links a {
  color: #004098;
  text-decoration: underline;
  font-weight: 500;
}
.ds-links a:hover {
  text-decoration: none;
}

/* スマホ向け調整 */
@media screen and (max-width: 768px) {
  .ds-hero { padding: 40px 15px; }
  .ds-merit-wrapper { flex-direction: column; }
  .ds-links li { display: block; margin: 15px 0; }
  .ds-step-list li { padding-left: 0; margin-top: 50px;}
  .ds-step-list li::before { position: relative; display: block; margin-bottom: 10px; }
}