/* 初期値リセット　ここから */
*,
::before,
::after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

ul,
ol {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}
/* 初期リセットここまで */

/* ベース */


/* 共通の基本設定 */
body {
  width: 100%;
  font-family: sans-serif;
  font-size: 14px;
  color: #000000;
  line-height: 1.2;
  background-color: f6fbfb;
}

main {
  max-width: 1200px;
  margin-top: 10px;
  margin-left: 2%;
  margin-right: 2%;
  margin-bottom: 10px;
  background-color: ghostwhite;
}

h1{
  font-size: 1.5rem;
  color: chocolate;
  border-top: 5px solid aqua;
  border-bottom: 5px solid aqua;
  padding-left: 20px;
  padding-top: 0px;
  padding-bottom: 5px;
  text-align: center;
}
/* 共通の基本設定　終わり*/

/* 共通のページヘッダー */
.header_inner {
  max-width: 1200px;
  height: 140px;
  margin-top: 5px;
  margin-left: 2%;
  margin-right: 2%;
  padding-left: 40px;
  padding-right: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-image: url(../image/himawari2.png) ;
  background-repeat: repeat;
}

.toggle_menu_button {
  display: none;
}

.header_logo {
  display: block;
  width: 300px;
}

.site_menu ul {
  display: flex;
}

.site_menu ul li {
  margin: left 15px;
  margin-right: 15px;
  padding: 2px;
  border: 2px solid #7c5d48;
  border-radius: 5px;
  background-color: cornsilk;
}

.site_menu ul li a {
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
}


/* ヘッダー */
.site-header {
  width: 90%;
  background: #4db6ac;
  color: brown;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  /* padding: 1.5rem 1rem; */
}

.site-header h1 {
  margin: 0;
  font-size: 1.8rem;
}
.header_text_aria{
  width: 90%;
  margin: 0rem auto 0rem auto;
  padding: 1rem;
  display: block;
  align-items: center;
  background: cornsilk;
  background-image: url(../image/child01.jpg), url(../image/family01.jpg);
  background-repeat: no-repeat;
  background-position: left bottom,right bottom;
  border-bottom: 5px solid aqua;

}

.header_text{
  margin-left: auto 0.6rem auto 0.6rem;
  text-align: center;
  background-image: none;
}

.header_text h1{
  width: 70%;
  margin: auto;
  margin-top: 0;
  margin-bottom: 0rem;
  padding-top: 0.5rem;
  font-size: 1.4rem;
  text-align: center;

  
}
.header_text p {
  width: 50%;
  margin: auto;
  padding-top: 1rem;
  color: darkmagenta;
  font-size: 0.8rem;
  line-height: 1.4;
  text-align: center;
}

/* レイアウト */
.container {
  /* max-width: 1200px; */
  width 90%;
  margin :0;
  margin-top: 0;
  margin-left: 2%;
  margin-right: 2%;
  margin-bottom: 1rem;
  padding: 0.5rem;
  display: flex;
  gap: 2rem;

}

/* メイン */
.main-content {
  flex: 3;
  background-color: cornsilk;
  padding: 0rem;
  border-radius: 10px;
}

.main-content h2 {
  margin-top: 0;
  margin-bottom: 1rem;
  padding-top: 0;
  border-left: 6px solid #4db6ac;
  border-right: 6px solid #4db6ac;
  background-color: blue;
  color: yellow;
  width: 140px;
  border-radius: 10px;
  text-align: center;

}

.main-content h3 {
  border-left: 6px solid #4be5d6;
  margin-top: 0;
  margin-bottom: 0.5rem;
  padding-left: 0.5rem;
  padding-top: 0;
  color: blue;
}


/* お知らせ */
.news-item article{
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #4db6ac;
  font-size: 0.9rem;
}

.news-item article:last-child{
  border-bottom: none;
}

.phot {
  display: flex;
  padding-left: 3%;
  align-items: top; /* 縦方向上揃え */
  gap: 3%;           /* 画像とテキストの間隔 */
}

.phot img {
  width: 150px;
  height: auto;
}
.phot p {
  display: block;
}
.news-item time {
  font-size: 0.8rem;
  color: #4db6ac;
}

/* サイドバー */
.sidebar {
  flex: 1;
  margin-top: 0.4rem;
}

.sidebar-box {
  padding: 0.7rem;
  margin-bottom: 1rem;
  border-radius: 10px;
  background-color: #e0f2f1;
}

.sidebar-box h2 {
  font-size: 1rem;
  color: darkred;
  border-bottom: 2px solid #a5d6d3;
  padding-bottom: 0.3rem;
}

/* リスト */
.link-list,

.link-list li{
  margin: 0.5rem 0;
  font-size: 0.8rem;
}

.link-list a {
  text-decoration: none;
  color: #00796b;
}

.link-list a:hover {
  text-decoration: underline;
}

.update-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.update-list li {
  margin: 0.5rem 0;
  font-size: 0.6rem;
  color: #000;
}
.update-list a{
  text-decoration: none;
  color: #00796b;
}
.update-list a:hover {
  text-decoration: underline;
}


/* フッター */
.site-footer {
  width: 90%;
  margin: auto;
  padding: 1rem;
  font-size: 0.9rem;
  color: #ffffff;
  background-color: blue;
  text-align: center;
}


/* スマホ対応 
------------------------*/
@media (max-width: 800px) {
  /* Menu */

.header_site_menu.is-show {
    display: block;
  }
.toggle_menu_button {
    display: block;
    width: 44px;
    height: 34px;
    background-image: url(../image/icon-menu.png);
    background-size: 50%;
    background-position: center;
    background-repeat: no-repeat;
    background-color: transparent;
	border: solid 1px white;
    border-radius: 2px;
  }


.header_logo {
  display: block;
  /* width: 1cqh; */
  width: 100px;
}

.site_menu ul {
  display: block;
  text-align: center;
}

.site_menu ul li {
  margin: left 15px;
  margin-right: 15px;
  padding: 2px;
  border: 2px solid #7c5d48;
  border-radius: 5px;
  background-color: cornsilk;
}

.header_text_aria{
  background-image: none;
  display: flex;
  align-items: center;
}

.header_text{
  width: 100%;
  margin: 0rem auto;
  padding: 1rem;
  display: inline-block;
  align-items: center;
  background-color: cornsilk;
  background-image: none;
}


.header_text h1{
  width: 100%;
  margin: auto;
  margin-top: 0;
  margin-bottom: 0rem;
  padding-top: 0.5rem;
  font-size: 1.4rem;
  text-align: center;

  
}
.header_text p {
  width: 100%;
  margin: auto;
  padding-top: 1rem;
  color: saddlebrown;
  font-size: 0.8rem;
  line-height: 1.4;
  text-align: center;
}

.container {
  display: flex;
  flex-direction: column;
  }
.main-content {
  flex: 1;
}


.phot {
  display: block;
}