@charset "UTF-8";
/* for gen.html */
/* for PC size */

.tasks {
	font-size: 1.2em;
	font-weight: bold;
}


    .card-container.single {
      display: flex;
      justify-content: center;
      margin-top: 10px;
      margin-bottom: 20px;
    }
    .card {
      border: 2px solid #000;
      border-radius: 16px;
      padding: 20px;
      background-color: #ffffff;
      box-shadow: 0 4px 8px rgba(0,0,0,0.1);
      max-width: 940px;
      width: 100%;
    }
    .card-title {
      font-size: 1.4rem;
      font-weight: bold;
      background: linear-gradient(135deg, #003366, #0055a5);
      color: #fff;
      padding: 12px;
      border-radius: 10px;
      margin-bottom: 16px;
      text-align: center;
    }
    .card p {
      font-size: 1.2rem;
      font-weight: 600;
      line-height: 1.6;
      color: #333;
       margin: 0;
    }
    .sum {
      text-align: center;
      margin-top: 20px;
    }
    .sum img {
      width: 100%;
      max-width: 800px;
      height: auto;
      border: 2px solid #000;
    }
    .caption {
      margin-top: 6px;
      font-size: 14px;
      color: #000;
      font-weight: bold;
    }

.tight-list {
  display: block;
  width: 100%;              /* カードと同じ幅に */
  margin-top: 0;
  margin-bottom: 0;
  padding-left: 20px;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.6;
  box-sizing: border-box;   /* paddingを幅に含める */
}

.boxed-text {
  border: 3px solid #000000;
  background-color: #cccccc;
  color: #000000;
  padding: 12px;
  box-sizing: border-box;
  width: 90%; /* 以前の要望を踏まえ幅90% */
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.6;
}


.link-icon img {
  width: 24px;      /* 適切なサイズ */
  height: 24px;
  margin-right: 8px;  /* テキストとの間隔 */
  vertical-align: middle;
}

.card-container-grid {
      display: grid;
      gap: 24px;
      grid-template-columns: repeat(1, 1fr);
    }

    @media (min-width: 850px) {
      .card-container-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (min-width: 900px) {
      .card-container-grid {
        grid-template-columns: repeat(3, 1fr);
      }
    }

      .card-grid {
      border: 2px solid #000;
      border-radius: 16px;
      padding: 2px 2px 8px 20px; /* ← 下部だけ 8px に縮小 */
      background-color: #ffffff;
      box-shadow: 0 4px 8px rgba(0,0,0,0.1);
      display: flex;
      flex-direction: column;
      height: 100%;
    }

    .card-title-grid {
      font-size: 1.4rem;
      font-weight: bold;
      background: linear-gradient(135deg, #003366, #0055a5);
      color: #fff;
      padding: 12px;
      border-radius: 10px;
      margin-bottom: 16px;
    }

    .card-grid p {
      font-size: 1.2rem;
      font-weight: 600;
      line-height: 1.6;
      color: #333;
      margin-bottom: 0;
    }

    .link-icon {
      display: flex;
      align-items: center;
      margin-top: 16px;
      margin-bottom: 0;
      font-size: 1.1rem;
    }




    .more-icon {
      display: flex;
      align-items: center;
      margin-top: 16px;
      margin-bottom: 0;
      font-size: 1.1rem;
    }

    .more-icon img {
      width: 24px;
      height: 24px;
      margin-right: 8px;
    }

    .more-icon span {
      border: 1.5px solid #000;
      border-radius: 12px;
      background-color: #ffd54f;
      padding: 6px 12px;
      font-weight: bold;
      color: #000;
    }

    a.custom-hover-link {
    color: #003a70;
    font-weight: bold;
    text-decoration: underline;
    transition: all 0.3s ease;
  }

  /* マウスオーバー時に白く */
  a.custom-hover-link:hover {
    color: #ffffff !important;
    background-color: #003a70;
    border-radius: 4px;
    padding: 2px 4px;
    text-decoration: none;
  }


  .highlight-green-white {
    background-color: green;
    color: #ffffff;
  }

.passive-label1 {
	display: block;
	color:#ffffff;
	text-align: center;
	width: 100%;
	margin: 5px auto;
	background-color: black;
	border: 2px solid black;
	border-radius: 8px;
	font-size: 1.6em;
	font-weight: bold;
}

.passive-label2 {
	display: block;
	margin: auto;
	padding: 10px;
	color:#ffffff;
	background-color: darkslategray;
	border-radius: 8px;
	width: 80%;
}

.passive-label2 a {
	color: #a0f0ff;
}

.passive-label2 a:hover {
  color: #000;
  background-color: #e6e6fa;
}
