@charset "UTF-8";

/* ========================================
   Base
======================================== */
body {
    margin: 0;
    font-family: "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
    color: #333;
    background: #fff url("../img/index/bg.jpg") repeat-x top;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 16px;
}

h2 {
    margin: 0;
    padding: 0;
}

p {
    margin: 0;
}


/* ========================================
   Main Visual
======================================== */
.mainPhoto {
    max-width: 750px;
    margin: 10px auto 0;
}


/* ========================================
   Header / Hamburger
======================================== */
.header {
    position: relative;
}

.hamburger {
    width: 50px;
    height: 44px;
    cursor: pointer;
    position: relative;
    background: none;
    margin: 20px 0;
}

.hamburger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #999;
    border-radius: 4px;
}

.hamburger,
.hamburger span {
    display: inline-block;
    transition: all .5s;
    box-sizing: border-box;
}

.hamburger span:nth-of-type(1) {
    top: 0;
}

.hamburger span:nth-of-type(2) {
    top: 20px;
}

.hamburger span:nth-of-type(3) {
    bottom: 0;
}

/*=============================
#btn01
=============================*/
#hamburger.active span:nth-of-type(1) {
    -webkit-transform: translateY(20px) rotate(-45deg);
    transform: translateY(20px) rotate(-45deg);
}

#hamburger.active span:nth-of-type(2) {
    opacity: 0;
}

#hamburger.active span:nth-of-type(3) {
    -webkit-transform: translateY(-20px) rotate(45deg);
    transform: translateY(-20px) rotate(45deg);
}


/* ========================================
   Navigation（SP）
======================================== */
.gnav {
    display: none;
    background: #fff;

}

.gnav.active {
    display: block;
}

.gnav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.gnav li {
    border-bottom: 1px solid #ddd;
}

.gnav a {
    display: block;
    padding: 14px;
    color: #333;
    text-decoration: none;
}

.gnav a:hover {
    background-color: #e4e4e4;

}

/* SP：テキスト表示 / 画像非表示 */
.nav-text {
    display: block;
    font-size: 16px;
}

.gnav img {
    display: none;
}





/* ========================================
   Content
======================================== */
.mainContent {
    display: block;
}

.flexWrap {
    display: block;
}

.map iframe {
    width: 100%;
    height: 300px;
    border: none;
}

.bannerArea {
    margin-bottom: 10px;
}

.contact h2 {
    margin: 0 0 5px;
    padding: 6px 0 3px;
    font-size: 1.2rem;
    text-align: center;
    color: #fff;
    background-color: #639;
}

.contact p {
    margin: 0;
    text-align: center;
}

/* =====================
 news
===================== */
.news {
	margin: 30px 0;
}
.letterTitle {
	text-align:center;
background: none;
padding: 6px 0 3px;
margin-top: 20px 0 5px;
color: #639;
	font-size:1.2rem;
}

.letterList {
  list-style: none;
  padding: 0;
  border-top: 1px solid #ccc;
	margin-bottom:30px
}

.letterList li {
  border-bottom: 1px solid #ccc;
  padding: 12px 0;
}

.letter time {
  font-size: 0.8rem;
  color: #888;
}
.letterList p {
margin: 0;
}
.letterList a {
  display: block;
  padding: 3px 0;
} 

.letterArchive {
  border: 2px solid #666;
  text-align: center;
  width: 100%;
}
.letterArchive a {
  display: block;
  text-decoration: none;
  background: #fff;
  padding: 1em 0;
  color: #333;
  transition: 0.5s;
}
.letterArchive a:hover {
  background: #333;
  color: #fff;
}




/* ========================================
   Footer
======================================== */
.footer {
    margin-top: 20px;
    padding: 10px;
    text-align: center;
    background: #88BCA7;
    max-width: 100%;
}



/* ========================================
   第二階層
======================================== */

.page .header {
    margin-bottom: 20px;
}

.mainContent h1 {
    padding: 10px 0;
    color: #fff;
    background: #390;
    font-size: 150%;
    text-align: center;
    margin: 0 0 20px;
    line-height: 1;
}

/* table */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1em;
    text-align: left;
}


.box1 {
    margin-bottom: 30px;
    background-color: #FFC;
    border: 3px solid #FC3;
    padding: 20px;
    border-radius: 20px;
}

.box1 h2 {
    color: #F30;
    font-size: 1.2em;
    text-indent: -32px;
    padding-left: 32px;
}
.box1 h2:not(:last-child) {
    border-bottom: 2px dotted #F30;
    padding-bottom: 5px;

}

.box1 h2::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 22px;
    vertical-align: middle;
    background-size: contain;
    margin-right: 10px;
    background-image: url('../img/common/bell.gif');
}
.box1 h2~ul, .box1 h2~dl {
    margin-top: 1em;
}

.box1 p {
    margin-top: 1em;
}

.lyrics {
    margin-top: 20px;
}

.lyrics li:not(:last-child) {
    margin-bottom: 1em;
}

.lyrics img {
    margin: 0 auto;
}

.box1 th {
display: inline-block;
}
.box1 td {
display: inline-block;
margin-bottom: 1em;
width: 100%;
}

.exCenter {
    text-align: center;
}

.exRight {
    text-align: right;
}

.goHome {
    margin: 20px 0;
}



.box2 {
    padding: 20px;
margin: 0 0 20px;
border: 1px solid #690;
}
.box2 h2 {
    color: #690;
text-align: center;
}

.box2 h3 {
    color: #360;
padding: 10px;
font-size: 1.2em;
margin-bottom: 5px;
background-color: #FFC;
text-align: center;
margin-top: 1em;
margin-bottom: 10px;
}

.box3 {
    border: 1px solid #F60;
padding: 20px;
margin-bottom: 20px;
}

.box3 h2 {
    padding: 5px 15px;
color: #FFF;
background-color: #F90;
border: 1px solid #CCC;
font-weight: normal;
font-size: 1.5em;
margin-bottom: 10px;

font-weight: 800;
}

.box3 h2:not(:first-child) {
margin-top: 1em;
}
.box3 h3 {
    font-size: 1.2em;
color: #F0F;
margin-top: 5px;
margin-right: 0px;
margin-bottom: 5px;
margin-left: 0px;

}
.box2 ul, .box3 ul {
    margin-left: 0.5em;
}

/* ========================================
   Tablet（768px〜）
======================================== */
@media (min-width: 768px) {

    .container {
        max-width: 750px;
        padding: 0;
    }

    .flexWrap {
        display: flex;
    }

    .map,
    .contentR {
        flex: 1;
    }

    .map iframe {
        max-width: 340px;
        height: 450px;
    }

    .contentR {
        width: 400px;
    }


    .contact h2 {
        text-align: left;
        background: none;
        border-bottom: 1px dotted #639;
        padding-top: 0;
        margin-top: 20px;
        color: #639;
    }

    .contact p {
        text-align: left;
    }

    .mainContent h1 {
    padding: 10px 0 5px 20px;
    border-bottom-width: 1px;
    border-left-width: 10px;
    border-bottom-style: solid;
    border-left-style: solid;
    border-bottom-color: #390;
    border-left-color: #390;
    color: #390;
    background-color: #fff;
    text-align: left;
}


.lyrics {
    display: flex;
    gap:20px;
    align-items: flex-start;
}

.box1 th, .box1 td {
    display: table-cell;
    padding: 20px;
    text-align: left;
    border: 1px solid #f0f;
}


.box1 th {
    background-color: #FCF;
    width: 30%;
}

.box1 td {
    background-color: #fff;
    width: 70%;
}



}


/* ========================================
   PC（1024px〜）
======================================== */
@media (min-width: 1024px) {

    /* ハンバーガー非表示 */
    .hamburger {
        display: none;
    }

    /* ナビ常時表示 */
    .gnav {
        display: block;
    }

    .gnav ul {
        display: flex;
        justify-content: center;
    }

    .gnav li {
        border: none;
    }

    .gnav a {
        padding: 0;
    }

    .gnav a:hover {
        background-color: #fff;

    }

    /* PC：画像ナビ表示 */
    .nav-text {
        display: none;
    }

    .gnav img {
        display: block;
    }

    /* ========================================
       Hover（JS併用前提）
       ※ CSSのみでは完全な画像切替不可
    ======================================== */
    .gnav a img {
        transition: opacity 0.2s ease;
    }

    .page .gnav {
        margin-top: 2rem;
    }


}

  .letterArchive {
    margin: 0 auto;
  width: 30%;
}

/* ========================
   年間行事グリッド
======================== */
.event-grid {
    display: grid;
    gap: 16px;
}

/* SP（1カラム） */
.event-card {
    background: #fff;
border: 3px solid #FC3;
    padding: 10px 0;
    text-align: center;
    border-radius: 20px;
}

.event-card .date {
    font-weight: bold;
    color: #639;
}

.event-card .title {
color: #F60;
background-color: #FFC;
padding: 3px;
font-size: 1.2em;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 5px;
margin-left: 0px;
font-weight: 800;
}

.event-card img {
    margin: 0 auto;
    max-width: 90%;
}

/* Tablet */
@media (min-width: 768px) {
    .event-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* PC */
@media (min-width: 1024px) {
    .event-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}


/* ========================
   一日の生活レイアウト
======================== */
.day-layout {
    display: block;
    gap: 20px;
        margin-bottom: 30px;
    background-color: #FFC;
    border: 3px solid #FC3;
    padding: 20px;
    border-radius: 20px;
}

/* テーブル */
.day-table table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    margin-bottom: 20px;
    margin-top: 0;
}

.day-table th,
.day-table td {
    border: 1px solid #F60;
    padding: 10px;
    text-align: left;
}

.day-table th {
    width: 80px;
    color: #639;
}

/* ギャラリー */
.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 5px;
    justify-items:center;
}

.gallery-grid figure {
    margin: 0;
    text-align: center;
}

.gallery-grid figcaption {
    font-size: 0.9rem;
}

/* Tablet */
@media (min-width: 768px) {
    .day-layout {
        display: grid;
        grid-template-columns: 1fr 2fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .day-table table th {
        width: 50px;
    }
    .day-table table th, .day-table table td {
        font-size: 0.85em;
    }
}

/* PC */
@media (min-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ========================
   園だより
======================== */
.letter {
	margin:0;
}

.letter-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 16px;
}

.letter-layout {
  display: flex;
  flex-direction: column;
  gap: 30px;
	margin-top:50px;
}

.letter-main {
  width: 100%;
}

.letter-sidebar {
  width: 100%;
}

.letter-widget {
	margin: 0 0 30px;
}

.letter-widget__title {
	margin: 0 0 1em;
}
.letter-search-form {
  display: flex;
  gap: 8px;
}

.letter-search-form__input {
  flex: 1;
  padding: 4px;
  border: 1px solid #ccc;
}

.letter-search-form__button {
  padding: 4px 8px;
  background: #333;
  color: #fff;
}


.p-letter-card {
	  padding: 12px 0;
  border-bottom: 1px solid #ddd;
}

.p-letter-card__link {
  display: block;
  color: inherit;
}

@media (min-width: 768px) {
	
.letter-container {
  max-width: 750px;
  margin: 0 auto;
  padding: 0 16px;
}		
	
  .letter-layout {
    flex-direction: row;
    align-items: flex-start;
  }

  .letter-main {
    width: 70%;
  }

  .letter-sidebar {
    width: 30%;
  }

}

.p-letter-single {
  padding: 20px 0;
}

.p-article__title {
  font-size: 22px;
  margin-bottom: 10px;
}

.p-article__date {
  font-size: 14px;
  color: #888;
}


.p-article__content {
  line-height: 1.8;
}

.p-post-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
}

.p-back {
  width: 100%;
  margin-top: 20px;
  text-align: center;
  border: 2px solid #666;
}

.p-back a {
  display: block;
  padding: 1em 0;
  background: #fff;
  color: #333;
  transition: 0.3s;
}

.p-back a:hover {
  background: #333;
  color: #fff;
}
.p-letter__title {
	font-size: 1.8em;
}

/* =====================
 Search Result
===================== */
.page-title {
  font-size:1.6em;
	margin: 0 0 10px;
}
.search-count {
	padding: 1em;
  margin-bottom: 30px;
  border: 1px solid #333;
  background: #fff;
}
.search-result {
  border-bottom: 1px solid #ccc;
  margin-bottom: 10px;
}
.search-result h2 {
  margin: 0;
}
.search-result h2+p {
  margin: 0 0 10px;
}
