@charset "UTF-8";
#page h1, #page h2, #page h3, #page h4, #single .post-header-box .post-title, #single h2, #single h3, #single h4 {
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.4;
  position: relative; }

#page, #single {
  font-family: "Hiragino Gothic ProN", "Yu Gothic", "YuGothic", serif;
  color: #1c1f2b;
  line-height: 1.8;
  font-size: 1.05rem; }

#front-page {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 15px; }

.page-content, .entry-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1rem; }

#page h1 {
  font-size: 2.2rem;
  font-weight: 400;
  padding: 1rem;
  border: 2px solid #e60033;
  border-radius: 0.75rem;
  color: #e60033;
  text-align: center;
  margin-bottom: 2rem; }
#page h2 {
  font-size: 1.6rem;
  font-weight: 600;
  color: #2E58BC;
  padding-left: 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid #2E58BC;
  margin-top: 2.5rem;
  margin-bottom: 1.2rem; }
#page h3 {
  font-size: 1.2rem;
  font-weight: 500;
  color: #13C7A8;
  border-left: 3px solid #3a4f66;
  padding-left: 0.75rem;
  margin-top: 2rem; }
#page h4 {
  font-size: 1rem;
  font-weight: 500;
  color: #555; }

#single .post-header-box {
  border: 2px solid #2E58BC;
  border-radius: 0.75rem;
  padding: 2rem 1.5rem 3rem;
  background-color: #fff;
  position: relative;
  margin-bottom: 2rem; }
  #single .post-header-box .post-title {
    font-size: 1.6rem;
    font-weight: 400;
    color: #2E58BC;
    text-align: center;
    margin-bottom: 1rem; }
  #single .post-header-box .post-updated {
    position: absolute;
    right: 1.5rem;
    font-size: 0.85rem;
    color: #888; }
#single h2 {
  font-size: 1.4rem;
  font-weight: 500;
  color: #2E58BC;
  border-bottom: 2px solid #2E58BC;
  padding-bottom: 0.4rem;
  margin: 2.5rem 0 1.5rem; }
#single h3 {
  font-size: 1.2rem;
  font-weight: 500;
  color: #3a4f66;
  border-left: 4px solid #3a4f66;
  padding-left: 0.75rem;
  margin: 2rem 0 1rem; }
#single h4 {
  font-size: 1.05rem;
  font-weight: 500;
  color: #555;
  margin: 1.5rem 0 1rem; }

/* --- 最新記事カードのカスタマイズ --- */
#Announce {
  padding: 2rem;
  border: 1px solid;
  border-radius: 1%; }

.custom-card {
  border: none !important;
  border-radius: 12px !important;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
  transition: all 0.3s ease-in-out; }
  .custom-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12) !important; }
    .custom-card:hover .card-title a {
      color: #198754 !important; }
    .custom-card:hover img {
      transform: scale(1.05); }
  .custom-card .ratio img {
    transition: transform 0.5s ease; }
  .custom-card .card-title {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    height: 2.8em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0.5rem; }
    @media (min-width: 768px) {
      .custom-card .card-title {
        font-size: 1.15rem; } }
  .custom-card .card-text {
    font-size: 0.8rem;
    color: #6c757d; }

#sidebar {
  font-size: 0.95rem; }
  #sidebar h2, #sidebar .widget-title {
    font-size: 1.1rem;
    border-left: 4px solid #2E58BC;
    padding-left: 0.75rem;
    color: #444; }
  #sidebar .tagcloud a {
    display: inline-block;
    background: #AEC0EB;
    color: #2E58BC;
    border: 1px solid #2E58BC;
    border-radius: 2rem;
    padding: 0.3rem 0.75rem;
    font-size: 0.9rem !important;
    text-decoration: none; }
    #sidebar .tagcloud a:hover {
      background: #2E58BC;
      color: #fff; }

table th {
  white-space: nowrap; }
