@charset "UTF-8";
/* for family.html */
/* for PC size */

.tasks {
	font-size: 1.2em;
	font-weight: bold;
}

    .section-title.research-title {
      width: 100%;
      font-size: 1.7em;
      font-weight: bold;
      color: #fff;
      padding: 10px 20px;
      border-radius: 10px;
      margin-bottom: 30px;
      text-align: center;
      background-color: #2e5b46;
      box-sizing: border-box;
    }
    
    .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;
  margin: 5px auto 0 auto;
}


.link-icon img {
  width: 24px;      /* 適切なサイズ */
  height: 24px;
  margin-right: 8px;  /* テキストとの間隔 */
  vertical-align: middle;
}

.link-more {
  display: inline-block;
  background-color: #e6c87a; /* 少し濃い黄色 */
  color: #000;
  font-weight: bold;
  border: 2px solid #000; /* 枠線を太く（1px → 2px） */
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 8px;
}

.link-more:hover {
  background-color: #005bac;
  color: #ffffff;
  cursor: pointer;
}
.full-text {
  margin-top: 10px;
  color: #333;
  font-size: 1.2em;
  font-weight: 600;
}

.passive-label {
  display: inline-block;
  background-color: #00796b;  /* 深い青緑：読みやすくインパクトあり */
  color: #ffffff;             /* 白文字でコントラスト */
  border: 2px solid #004d40;  /* 少し濃い縁取り */
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 1.05em;
  font-weight: bold;
}

.highlight-blue {
      font-weight: bold;           /* 太字 */
      color: #ff4500;             /* orangered */　　！ここが文字色！
      padding: 2px 4px;          /* 少し余白を追加（任意） */
}

.highlight-blue2 {
      font-weight: bold;           /* 太字 */
      color: green;             /* orangered */　　！ここが文字色！
      padding: 2px 4px;          /* 少し余白を追加（任意） */
}

.highlight-blue3 {
      font-weight: bold;           /* 太字 */
      color: #ff4500;             /* orangered */　　！ここが文字色！
      padding: 2px 4px;          /* 少し余白を追加（任意） */
}

.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;
}

.passive-label3 p {
	font-size: 1.2em;
}

.duline {
	border-bottom: double;    /* 下のみに二重線をひく */
}

.lasttext {
	font-weight: bold;
	font-size: 1.1em;
	text-align: center;
}