/* =========================================================
   HOME PAGE
========================================================= */

/* =========================================================
   03｜Latest Posts
   お知らせ一覧（最新記事）
========================================================= */

.wp-block-latest-posts__list.has-dates.wp-block-latest-posts li {
    border-bottom: none;
    margin-left: 1.2rem;
}

.wp-block-latest-posts__post-excerpt {
    display: none;
}

.news__content {
    border: 1px solid #05AFF2;
    background-color: #fff;
    padding: 3rem 0;
}

.wp-block-latest-posts .wp-block-latest-posts__post-title,
.wp-block-latest-posts .wp-block-latest-posts__post-date{
    color: #1F364D;
}

.wp-block-latest-posts__list.has-dates.wp-block-latest-posts li:first-child {
    padding-top: 0;
}

.wp-block-latest-posts__post-title {
    font-weight: 700;
}

/* =========================================================
   06｜Message
   メッセージ見出し・署名
========================================================= */

h2.wp-block-heading.message-lead {
    font-family: "Shippori Mincho", serif;
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
}

.home p.message-signature {
    font-family: "Shippori Mincho", serif;
    margin-top: 3rem;
}

#greeting p {
    margin-bottom: .8rem;
}


.section-news ul {
    width: fit-content;
}


/* =========================================================
   Home Links（トップページリンクナビ）
========================================================= */

.home-links .is-layout-flow {
    background-color: #ffffff;
    padding: 2rem;
    border: 3px solid #05AFF2;
    text-align: center;
}

.home-links .is-layout-flow:hover {
    background: #05AFF2;
    border-radius: 8px;
    transform: translateY(-4px);
    color: #ffffff;
}

.home-links .is-layout-flow:hover .material-symbols-outlined,
.home-links .is-layout-flow:hover h3.wp-block-heading,
.home-links .is-layout-flow:hover p {
    color: #ffffff;
}

.home-links .material-symbols-outlined {
    color: #05AFF2;
    font-size: 4rem;
}

.home-links h3.wp-block-heading {
    margin-bottom: 0 !important;
	margin-top: 1rem;
}

.home-links .is-layout-flex {
    margin-bottom: 0 !important;
}

p.wp-block-paragraph {
    margin-bottom: 0;
}

/* =========================================================
   SP Home
========================================================= */

@media screen and (max-width: 768px) {

    /* お知らせ */
    .section-news ul {
        width: 100%;
        padding-left: 1.2rem;
    }

    .wp-block-latest-posts__list.has-dates.wp-block-latest-posts li {
        margin-left: 0;
        line-height: 1.8;
    }

    /* ごあいさつ */
    h2.wp-block-heading.message-lead {
        font-size: 1.5rem;
        margin-bottom: 2rem;
        line-height: 1.6;
    }

    p.message-signature {
        margin-top: 2rem;
        text-align: right;
    }

    #greeting p {
        margin-bottom: 1rem;
    }

    /* トップページリンクナビ */
    .home-links .is-layout-flow {
        padding: 1.5rem 1rem;
    }

    .home-links .material-symbols-outlined {
        font-size: 3rem;
    }

    .home-links h3.wp-block-heading {
        font-size: 1.2rem;
    }
}


/*お知らせ*/
#news a {
    font-size: 1.2rem;
    margin-bottom: .2rem;
}

.entry-body figure.wp-block-image.size-full {
    margin-bottom: 0;
}

ul.wp-block-latest-posts__list.has-dates.wp-block-latest-posts time.wp-block-latest-posts__post-date {
    line-height: 1;
}

/* =========================================================
   Home Links
   SPでは2カラム表示
========================================================= */

@media (max-width: 768px) {

  .home-links .wp-block-columns {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .home-links .wp-block-column {
    margin: 0 !important;
  }
	
	.news__content {
    padding: 2rem 1rem;
}

}