
.background {
  background-color: #f3f3f1;
}
	  
  h1, h2 {
    color: #333;
    margin-bottom: 8px;
  }

  h1 {
	  font-size: 1.8em;
	  font-weight: bold;
	  }
  h2 { 
	  font-size: 1.3em;
	  font-weight: bold;
	  }

  p {
	  margin: 6px 0 12px 0;
	  font-size: 1.1em;
	  color: #000;
	  }
	  
.img-pc {
  border-radius: 10px;
}  
	  
.img-sp {
  display: none;
  border-radius: 10px;
}

@media (max-width: 760px) {
  .img-pc {
    display: none;
  }
  .img-sp {
    display: block;
  }
}

.border-text {
  background: linear-gradient(transparent 50%, #fff176 50%);
  font-weight: bold;
}

  .card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 0 20px 20px 20px;
    min-width: 220px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    margin-bottom: 10px;
  }

.stage-box {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}
	  
.stage-text {
  width: 60%;
  font-size: 16px;
  line-height: 1.8;
  min-width: 0; 
}
	  
.stage-title {
  display: flex;
  align-items: center;
  gap: 12px;
}
	  
.stage-images {
  display: flex;
  width: 100%;
  gap: 10px;
}

.stage-images .stage-img2 {
  width: 50%;
  height: auto;
  object-fit: cover;
  display: block;
}

.stage-img2 {
  width: 100%;
  border-radius: 10px;
  display: block;
  margin: 0 auto;
  align-self: flex-start;
  margin-top: 10px; 
}
	  
.stage-image {
  width: 48px; 
  height: 48px;
  flex-shrink: 0;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  display: inline-block; 
}
	  
.stage-title537 {
  display: flex;
  align-items: center; 
  justify-content: center;
  gap: 12px;
}

.stage-image537 {
  width: 96px;
  height: 96px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}

.speech-bubble {
  position: relative;
  background: #fff;
  border: 2px solid #333;
  border-radius: 16px;
  padding: 14px 18px;
  line-height: 1.6;
  font-size: 2rem;
}

.speech-bubble::before {
  content: "";
  position: absolute;
  left: -14px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 10px 14px 10px 0;
  border-style: solid;
  border-color: transparent #333 transparent transparent;
}

.speech-bubble::after {
  content: "";
  position: absolute;
  left: -11px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 9px 12px 9px 0;
  border-style: solid;
  border-color: transparent #fff transparent transparent;
}
	  
.stage-img {
  width:100%;
  max-width: 320px;
  border-radius: 10px;
  display: block;
  margin: 0 auto;
  align-self: flex-start;
  margin-top: 20px; 
}
	  
.typing-feature {
  list-style: none;
  padding: 0;
  margin: 0;
}

.typing-feature li {
  background: #f9f9f9;
  border-left: 6px solid #ffae00;
  padding: 12px 16px;
  margin-bottom: 10px;
  font-size: 1.4rem;
  line-height: 1.6;
}
	  
.card-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
    margin-bottom: 80px;
}

@media screen and (max-width: 912px) {
	h1 {
		font-size: 1.6em;
	}
	
	
  .stage-box {
    flex-direction: column;
  }

  .stage-img,
  .stage-text {
	  width: 100%;
	  margin-top: 0px; 
  }
	
.speech-bubble {
  font-size: 1.6rem;
}
	
  .card-wrap {
    grid-template-columns: 1fr;
  }
	
  .stage-images {
	gap: 0px;
    flex-direction: column;
  }

  .stage-images .stage-img2 {
    width: 100%;
	}
	
 }

.pdf-box {
	border: 1px solid #ddd;
	border-radius: 8px;
	padding: 12px;
	background: #fafafa;
}
	  
.pdf-frame {
  width: 100%;
  height: 80vh !important;
  border: none;
  display: block;
}

.pdf-download {
  margin-top: 10px;
  text-align: right;
}

.pdf-download a {
  display: inline-block;
  padding: 8px 14px;
  background-color: #1a73e8;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.9em;
}

.typing-table {
	display: table;
    width: 100%;
    border-collapse: collapse;
    margin: 10px 0;
    font-size: 0.9em;
    min-width: 900px;
	line-height: 1.4;
	background-color: #fff;
}

.typing-table col:nth-child(1) { width: 120px; }
.typing-table col:nth-child(2) { width: 400px; }

.typing-table td {
    border: 1px solid #ccc;
    padding: 6px 8px;
    text-align: left;
}

.typing-table th {
    border: 1px solid #ccc;
    text-align: center;
    vertical-align: middle;
    background-color: #f0f0f0;
    position: sticky;
	top: 65px;
    z-index: 11;
}

.typing-table td:first-child {
    text-align: center;
    vertical-align: middle;
}
	  
.typing-table td.high-row {
	padding: 8px;
    border-bottom: none;
	text-align: center;
}

.typing-table td.high-row2 {
	padding: 0px;
    border-bottom: none;
	text-align: center;
}


.typing-table tr.desc-row td {
    background-color: #f0f0f0;
    border-top: none;
    text-align: center;
    position: relative;
    z-index: 1;
  height: 30px;
  line-height: 30px;
  padding-top: 0;
  padding-bottom: 0;
}

.mark {
	font-size: 1.3em;
	background: none;
	position: relative;
	z-index: 1;
}

.mark.circle {
  color: #75bb3e;
}

.mark.cross {
  color: #185098;
}

.mark.triangle {
  display: inline-block;
  width: 14px;
  height: 12px;
  background: #f39c12;
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.detail-btn {
  display: inline-block;
  padding: 4px 10px;
  background-color: #1e73be;
  color: #fff;
  font-weight: bold;
  font-size: 11px;
  text-decoration: none;
  border-radius: 4px;
  transition: opacity 0.2s ease;
}

.detail-btn:hover {
  opacity: 0.85;
}
	  
.service-name {
  position: relative;
}

.kana-badge {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  font-size: 12px;
  background: #eef3ff;
  padding: 4px 6px;
  box-sizing: border-box;
}

.icon-square2 {
  width: 100%;
  height: auto;
  display: block;
}

.typing-table th.Stage1,
.typing-table th.Stage2,
.typing-table th.Stage3,
.typing-table th.Stage4,
.typing-table th.Stage5 {
  color: transparent;
  font-size: 0;
  padding: 0;
}

.typing-table th.Stage1 {
  background: #87d60f;
}
.typing-table th.Stage2 {
  background: #6e73c7;
}
.typing-table th.Stage3 {
  background: #f4b801;
}
.typing-table th.Stage4 {
  background: #179be7;
}
.typing-table th.Stage5 {
  background: #ff6363;
}
	  
.space {
  margin-bottom: var(--mb, 0);
}

.edu-link {
  margin-top: 12px;
	background: #fff176;
}

.edu-link-label {
  font-weight: bold;
  margin-right: 8px;
  color: #555;
}

.edu-link a {
  display: inline-block;
  text-decoration: none;
  font-size: 0.9em;
}

.edu-link a:hover {
  text-decoration: underline;
}
	
.typing-table2 {
  display: none;
}

@media screen and (max-width: 912px) {
  .typing-table {
    display: none;
  }
	
.typing-table2 {
  display: table;
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.typing-table2 th,
.typing-table2 td {
  border: 1px solid #ddd;
  padding: 8px;
}

/* 見出し */
.typing-table2 thead th {
  background: #f3f3f3;
  font-weight: bold;
  text-align: center;
}

/* ソフト名 */
.soft-col {
  background-color: #fff;
  text-align: center; 
  vertical-align: middle;
  font-weight: bold;
  width: 35%;
}

/* 説明文 */
.desc-col {
  background-color: #fff;
  font-size: 13px;
  line-height: 1.6;
}

/* 総合点 */
.total-score {
  background-color: #fff;
  text-align: center;
  vertical-align: middle;
  font-weight: bold;
  display: table-cell;
}
	
.btn-wrap {
  margin-top: 8px;
}

.detail-btn {
  display: inline-block;
  padding: 6px 12px;
  background: #0073aa;
  color: #fff;
  font-size: 12px;
  border-radius: 4px;
  text-decoration: none;
}

.detail-btn:hover {
  opacity: 0.85;
}

.official {
  margin-top: 6px;
  font-size: 11px;
}

.official a {
  word-break: break-all;
}
	
.stage-row td {
  padding: 0px;
}

/* 中のStageテーブル */
.stage-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
}

.stage-table td {
  border: none;
  padding: 4px 2px;
  text-align: center;
  font-size: 11px;
  border: 1px solid #ddd;
}
	
.stage-score-row td {
  font-size: 11px;
  color: #333;
}
	
.typing-table2 td.Stage1,
.typing-table2 td.Stage2,
.typing-table2 td.Stage3,
.typing-table2 td.Stage4,
.typing-table2 td.Stage5, 
.typing-table2 td.Stage6{
  color: transparent;
  font-size: 0;
  padding: 0;
}

.typing-table2 td.Stage1 {
  background: #87d60f;
}
.typing-table2 td.Stage2 {
  background: #6e73c7;
}
.typing-table2 td.Stage3 {
  background: #f4b801;
}
.typing-table2 td.Stage4 {
  background: #179be7;
}
.typing-table2 td.Stage5 {
  background: #ff6363;
}
.typing-table2 td.Stage6{
  background: #fff;
}
	
.icon-square3 {
  width: 100%;
  max-width: 80px;
  height: auto;
  display: block;
  margin: 0 auto;
}
	
.stage-mark-row {
  background-color: #fff;
}
	
}