@charset "UTF-8";

/*--------------------------default*/
html {
  margin: 0;
  padding: 0;
  font-size: 62.5%;
}

/*==============================All*/
body {
  margin: 0;
  padding: 0;
  color: #666;
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", Sans-Serif !important;
  font-size: 1.4rem;
  text-align: left;
  line-height: 2;
  -webkit-text-size-adjust: 100%;
}

p {
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  padding: 0;
  font-weight: normal;
}

img {
  width: 100%;
  height: auto;
}

ul {
  margin: 0;
  padding: 0;
}

ul li {
  list-style-type: none;
  padding: 0;
}

dl,
dt,
dd {
  margin: 0;
  padding: 0;
}

dt {
  font-weight: normal;
}

table {
  border-collapse: collapse;
}

figure {
  margin: 0;
  padding: 0;
}

input {
  cursor: pointer;
}

.inner {
  width: 100%;
  margin: 0 auto;
}



/*---------ヘッダー-------------*/

#page-header .header-nav {
  display: flex;
  width: 100%;
  justify-content: space-between;
}

#page-header .header-nav ul {
  display: flex;
  justify-content: flex-end;
  gap: 1%;
  width: 800px;
  list-style: none;
}

#page-header .header-nav .headline {
  margin: 0px 85px;

}


#page-header .header-nav .headline li {
  width: 25%;
  border-left: 1px solid #5b8f8f;
  display: flex;
  flex-direction: column;
  justify-content: center;

}

#page-header .header-nav li a {
  display: flex;
  flex-direction: column;
  padding: 10px 0;
  color: #333;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  line-height: 1.6;
  transform: scale(1);
  transition: all 1s ease;
}

#page-header .header-nav li a:hover {
  transform: scale(1.2);
}


#page-header .header-nav .sns {
  margin-left: 50px;
  align-items: center;
  justify-content: center;
}

#page-header .header-nav .sns li {
  width: 50px;
  margin-left: 10px;
  /*snsごとの幅をどうするか*/
}

#page-header .header-nav .sns .sns_01 {
  width: 41px;
  padding-top: 5px;
}

#page-header .header-nav .sns li img {
  transform: scale(1);
  transition: all 1s ease;
}

#page-header .header-nav .sns li img:hover {
  transform: scale(1.2);
}

#page-header .header-nav .sns .sns_02 {
  width: 41px;
  padding-top: 5px;
}

#page-header .header-nav li span {
  color: #5b8f8f;
  font-size: 13px;
}

#kv {
  width: 100%;
  height: 600px;
  margin: 0 0 80px;
  background: url(images/kv_bg.jpg)no-repeat center top;
  background-size: cover;
}

#home #kv .inner {
  position: relative;
  height: 600px;
}

#home {
  background-color: #eceae4;
}

#kv .inner_text {
  position: absolute;
  top: 6%;
  left: 3%;
  font-family: 'Noto Serif JP', serif;
  font-size: 2.4rem;
  line-height: 2.3;
  writing-mode: horizontal-tb;
  color: #7b7b7b;
  background: rgba(255, 255, 255, 0.5);
  padding: 10px;
  width: 30%;
  line-height: 171%;
}

#news .news_image {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

#news .news_image li img {
  width: 90%;
  border-radius: 10px;
  border-width: 2px;
  /* 枠線の太さ */
  border-style: dotted;
  /* 枠線の種類 */
  border-color: rgb(121, 100, 100);
}

#box {
  display: flex;
  justify-content: space-between;
  width: 955px;
  margin: auto;
  gap: 70px;
}

#box h2 {
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: bold;
}

#box .topic {
  list-style: none;
  width: 50%;
  height: 240px;
  overflow-y: scroll;
  box-shadow: 3px 3px 3px 3px #ccc;
  padding: 5%;
}

#box .column {
  list-style: none;
  width: 50%;
  height: 240px;
  overflow-y: scroll;
  box-shadow: 3px 3px 3px 3px #ccc;
  padding: 5%;
}

#menu h2 {
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: bold;
}

#menu {
  border-radius: 16px;
  box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.16);
  /* margin-top: 40px; */
  /* padding: 0px 200px; */
  margin: 56px 96px 21px;
}

#menu .list { 
  display: flex;
  flex-wrap: wrap;
  /* 折り返し */
  justify-content: center;
  /* 中央寄せ */
  gap: 10px;
  /* li間の余白 */
  padding: 41px;
  /* margin: 38px; */
  margin-bottom: 48px;
  /*コンテンツが完成するまでの仮、完了したら上のmargin0を適用*/

}

#menu .list li {
  list-style: none;
  width: calc(12.5% - 10px);
  /* 100% ÷ 8列 - gap分 */
  box-sizing: border-box;
  text-align: center;
}

#menu .list li img {
  max-width: 100%;
  /* liの幅に合わせて画像を縮小 */
  height: auto;
  display: block;
  margin: 0 auto;
  /* 中央寄せ */
}

#menu .list li a {
  display: flex;
  flex-direction: column;
  /* 画像の下にテキスト */
  align-items: center;
  /* 中央揃え */
  text-decoration: none;
  color: #333;
}

#menu .list li a span {
  margin-top: 5px;
  /* 画像と文字の間の余白 */
  font-size: 1.2rem;
  /* お好みでサイズ調整 */
  text-align: center;
}



/*----------------スマホ---------------------:/

/* スマホ用：2列表示 */
@media screen and (max-width: 600px) {
  #menu .list li {
    width: calc(50% - 10px);
  }
}