/*
Theme Name: Lightning Child
Theme URI:
Template: lightning
Description:
Author:
Tags:
Version: 0.6.1
*/
.home {
    min-width: 375px;
}
/*----------
 header
----------*/
.site-header {
    color: #EEE9D5;
    background-color: #2D4D3E;
}
.home .site-header {
    position: relative;
}
.header-left {
    width: 40%;
}
.home .header-left {
    width: 40%;
    text-align: center;
    padding: 20px 0 70px 0;
}
.home .header-left div:last-child {
    display: inline-block;
}
.home .site-header-logo-m {
    display: inline-block;
}
.home .site-header-logo-s {
    display: none;
}
.header-right {
    width: 60%;
    position: relative;
}
.home .header-right {
    background-image: url("images/bg_birds1.png");
    background-position: right bottom;
    background-repeat: no-repeat;
    background-size: unset;
}
.site-header-brand {
    font-size: 50px;
    line-height: 1.1;
    margin: 0;
    margin-top: 30px;
}
.site-header-brand span {
    font-size: 30px;
    display: block;
}
.header-btn {
    margin-top: 30px;
    background-color: #EEE9D5;
    font-size: 20px;
    padding: 10px 20px;
    border-radius: 5px;
    width: 300px;
    display: inline-block;
}
.header-btn:hover {
    background-color: #fffdf8;
}
.header-btn a {
    color: #2D4D3E;
    display: block;
    font-weight: bold;
}
/* .header-menu */
ul.header-menu {
    display: flex;
    justify-content: flex-end;
    margin: 0;
    position: absolute;
    right: 0;
    top: 20px;
}
ul.header-menu li {
    font-size: 18px;
    list-style: none;
    white-space: nowrap;
}
.home ul.header-menu li {
    margin: 16px 0;
}
ul.header-menu li a {
    text-decoration: none;
    color: #EEE9D5;
    display: block;
    padding: 5px 20px 5px 10px;
}
ul.header-menu li a:hover {
    opacity:0.5;
}
@media screen and (max-width: 991px) {
    .header-right {
        display: none;
    }
    #site-header {
        display: block;
    }
    .home .header-left {
        width: initial;
        display: flex;
        padding-bottom: 20px;
    }
    .home .header-left div:first-child {
        width:40%;
    }
    .header-left div:last-child {
        width:60%;
    }
}
@media screen and (max-width: 531px) {
    .header-left div:first-child {
        width:30%;
        padding-left: 20px;
    }
    .header-left div:last-child {
        width:70%;
    }
    .site-header-brand {
        font-size: 30px;
        margin-top: 0;
    }
    .site-header-brand span {
        font-size: 15px;
    }
    .header-btn {
        margin-top: 10px;
        font-size: 12px;
        padding: 5px;
        width: auto;
    }
}
/*----------
 header.active
----------*/
.site-header,
.site-header.active {
    position: fixed;
}
.header-left,
header.active .header-left {
    padding: 10px 0;
    text-align: left;
}
.header-right,
header.active .header-right {
    background-image: none;
}
.header-left div:last-child,
header.active .header-left div:last-child {
    display: none;
}
.site-header-logo-m,
header.active .site-header-logo-m {
    display: none;
}
.site-header-logo-s,
header.active .site-header-logo-s {
    display: inline-block;
    height: 50px;
    max-width: initial;
    padding-right: 30px;
}
ul.header-menu li,
header.active ul.header-menu li {
    margin: 0;
}
@media screen and (max-width: 991px) {
    .header-left,
    header.active .header-left {
        padding: 6px 0;
        width: initial;
    }
    .header-left div:first-child,
    header.active .header-left div:first-child {
        width: 100%;
        text-align: center;
    }
    .site-header-logo-s,
    header.active .site-header-logo-s {
        height: 30px;
    }
}
/* header slide animation */
header.active {
    top: -75px;
    animation: slideIn 0.5s forwards;
    z-index: 999;
}
@keyframes slideIn {
    from {
        top: -75px;
    }
    to {
        top: 0;
    }
}
body.logged-in header.active {
    top: 32px !important;
}
/*----------
 footer
----------*/
.site-footer {
    color: #EEE9D5;
    background-color: #2D4D3E;
    border-top:none;
}
.site-footer a:hover {
    opacity:0.5;
}
.site-footer a {
    color: #EEE9D5;
}
.site-footer-container {
    font-size: 16px;
    display: flex;
    justify-content: space-between;
    align-items: start;
    padding: 20px 0;
    border-bottom: 1px solid #EEE9D5;
}
.site-footer-container > div > div:first-child {
    font-weight: bold;
    font-size: 18px;
}
.site-footer-container dl {
    margin: 10px 10px;
}
.site-footer-container dt,
.site-footer-container dd {
    font-weight: normal;
    display: inline;
    margin-right: 10px;
}
.site-footer-container div:last-child iframe {
    width: 300px;
    height: 250px;
    margin-bottom: 0px;
}
@media screen and (max-width: 991px) {
    .site-footer-container {
        flex-wrap: wrap;
        border-bottom: none;
    }
    .site-footer-container > div{
        margin-bottom: 20px;
    }
    .site-footer-container > div:last-child {
        width: 100%;
    }
    .site-footer-container div:last-child iframe {
        width: 100%;
    }
}
@media screen and (max-width: 531px) {
    .site-footer-container {
        font-size: 14px;
    }
    .site-footer-container > div > div:first-child {
        font-size: 16px;
    }
}
/* footer-nav */
.footer-nav .nav a {
    color: #EEE9D5;
}
.footer-nav {
    border: none;
}
.footer-nav .nav li {
    border-color: #EEE9D5;
}
/*----------
 site-body
----------*/
.page-header {
    margin-top: 73px;
    background-color: #EEE9D5;
    color: #2D4D3E;
}
.home .site-body {
    background-color: #EEE9D5;
    color: #2D4D3E;
}
.home .site-body a {
    color: #2D4D3E;
}
.home .entry-body {
    padding: 0 70px;
}
.home h2 {
    font-size: 24px;
    border: none;
    margin: 50px 0 0 0;
    text-align: center;
}
.home .head-copy {
    font-size: 18px;
    font-weight: bold;
}
.home .head-copy h2 {
    margin: 0 0 0 0;
    padding: 0;
    text-align: left;
}
/* ヘッダ変更時の高さ調整 */
.active ~ .site-body {
    margin-top: 519px;
}
@media screen and (max-width: 991px) {
    .active ~ .site-body {
        margin-top: 272px;
    }
}
@media screen and (max-width: 531px) {
    .active ~ .site-body {
        margin-top: 156px;
    }
}
/*---*/
.content-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}
.content-buttons > div {
    background-color: #faf4e8;
    border-radius: 5px;
    width: 20%;
    text-align: center;
    font-weight: bold;
    font-size: 16px;
}
.content-buttons > div:hover {
    background-color: #fffdf8;
}
.content-buttons > div a {
    display: block;
    padding: 20px 0 10px;
}
.content-buttons img {
    display: block;
    margin: 0 auto 10px;
}
/*---*/
.content-links {
    display: flex;
    justify-content: space-between;
}
.content-links > div {
    background-color: #FFFFFF;
    border-radius: 5px;
    width: 23%;
    text-align: center;
    font-weight: bold;
    font-size: 16px;
}
.content-links > div:hover {
    background-color: #fffdf8;
}
.content-links > div a {
    display: block;
    padding: 20px 0 10px;
}
.content-links img {
    width: 150px;
    display: block;
    margin: 0 auto 10px;
}
@media screen and (max-width: 991px) {
    .page-header {
        margin-top: 45px;
    }
    .home .entry-body {
        padding: 0;
    }
}
@media screen and (max-width: 767px) {
    .home h2 {
        font-size: 18px;
    }
    .home .head-copy {
        font-size: 14px;
    }
    .content-buttons,
    .content-links {
        flex-wrap: wrap;
        gap: 10px;
    }
    .content-buttons > div,
    .content-links > div {
        width: 48%;
    }
}


/*お知らせフィード*/
.home h3 {
    margin-top: 50px;
    padding-bottom: 0;
    margin-bottom: 5px;
    font-size: 1.2rem;
}
.home h3::after {
    border: none;
}
.home .wp-block-latest-posts__list a {
    margin: 0;
}
.home .wp-block-latest-posts__list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.home .wp-block-latest-posts__list li {
    display: flex;
    align-items: flex-start;
    gap: 1em;
    padding: 10px 0;
}
.home .wp-block-latest-posts__post-date {
    order: -1;
}
.home .wp-block-latest-posts__post-title {
    text-decoration: none;
    color: #333;
    flex: 1;
}
@media (max-width: 531px) {
    .home .wp-block-latest-posts__list li {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }
    .home .wp-block-latest-posts__list li {
        padding: 3px 0;
    }
    .home .wp-block-latest-posts__post-title {
        padding-left: 5px;
    }
}