@charset "UTF-8";

/*共有部分
----------------------------------------------------------------------------------------------------
*/

html {
  font-size: 100%;
  height: 100%;
  margin: 0;
}
a {
  text-decoration: none;
}
a,a:hover,a:visited{
  color: inherit;
}
body {
  font-family: 'Heebo', sans-serif;
  color: #252a40;
  background-image: url("../img/white1.jpg");
  height: 100%;
  margin: 0;
}
img {
  max-width: 100%;
}
li {
  list-style: none;
}
.wrapper {
  max-width: 1200px;
  margin: 0 auto 100px auto;
  padding: 0 4%;
  text-align: center;/*文字を中央に*/

}
.wrapper_2 {
  max-width: 1160px;
  margin: 0 auto 50px auto;
  padding: 0 4%;
  text-align: center;/*文字を中央に*/
}

/*header
----------------------------------------------------------------------------------------------------
*/

    #header {
        display: flex;/*要素の横並び*/
        justify-content: space-between;/*要素の数だけ間隔均等に配置*/
        align-items: center;/*要素を中央に*/
        margin: 30px auto 30px auto;
    }

    /*site_title*/
    .site_title {
        width: 250px;
        padding: 10px 20px;
    }
    .site_button {
        display: inline-block;
        font-size: 1em;
        color: #333;
        user-select: none;
        transition: 0.4s ease;
        padding: 10px 20px
    }
    .site_button:hover {
        color: #fff;
        background: #333;
    }
    /*検索窓*/
    .search_container{
        box-sizing: border-box;
    }
    .search_container input[type="text"]{
    border: 1px solid #999;
    padding: 3px 5px;
    height: 2.0em;
    width: 245px;
    overflow: hidden;
    }
    .search_container input[type="text"]:focus {
    outline: 0;
    }
    .search_container input[type="submit"]{
    cursor: pointer;
    font-family: FontAwesome;
    font-size: 1.3em;
    border: none;
    background: none;
    color: #333;
    outline : none;
    display: inline-block;
    vertical-align: middle;
    }

/*main-navi*/
    #main_nav {
      width: 100%;
      margin-bottom: 30px;
    }
    #main_nav ul {
      display: flex;
    }
    #main_nav li {
      width: calc(100%/4);
      border-left: 1px solid #808080;
      box-sizing: border-box;
      text-align: center;
    }
    #main_nav li:last-child {
      border-right: 1px solid #808080;
    }
    #main_nav a {
      position: relative;
      display: block;
      user-select: none;
      font-size: 100%;
      letter-spacing: 5px;
      font-weight: 400;
      line-height: 20px;
      padding: 0.4em 1.6em;
      overflow: hidden;
      transition: 0.4s ease;
    }
    #main_nav a:hover {
      color: #fff;
    }
    #main_nav a::before {
      position: absolute;
      top: 50%;
      left: 50%;
      z-index: -1;
      width: 400%;
      height: 0%;
      content: "";
      background-color: #808080;
      transition: all 0.4s;
      -webkit-transform: translate(-50%, -50%) rotate(-30deg);
      transform: translate(-50%, -50%) rotate(-30deg);
    }
    #main_nav a:hover::before {
      height: 500%;
    }
    #main_nav ul ul {
      overflow: visible;
      display: none;
      flex-direction: column;
      position: absolute;
      width: 100%; 
      background-color: #fff; 
      border: 1px solid #ccc;
      box-shadow: 0 0 10px rgba(0,0,0,0.1); 
    }
    #main_nav li {
      position: relative; 
    }
    #main_nav ul ul li {
      position: relative; 
      width: 100%; 
      border: none;
      border-bottom: 1px solid #ccc; 
    }
    #main_nav ul ul li:last-child {
      border-bottom: none; 
      border-right: none;
    }
    #main_nav li:hover > ul {
        display: flex;
    }
    #main_nav ul ul li a {
      position: relative; 
      display: block; 
      padding: 0.4em 1.6em; 
      overflow: hidden; 
      color: #333;
      background-color: #fff;
      z-index: 2; /*テキストが ::before 要素よりも前面に来る */
    }
    
    #main_nav ul ul li a::before {
      content: "";
      position: absolute;
      top: 50%;
      left: 50%;
      z-index: -1; /*::before 要素の z-index をテキストよりも低く設定*/
      width: 400%;
      height: 0%;
      background-color: #808080;
      transition: all 0.4s;
      -webkit-transform: translate(-50%, -50%) rotate(-30deg);
      transform: translate(-50%, -50%) rotate(-30deg);
    }
    #main_nav ul ul li a:hover {
      color: #fff;
    }
    
    #main_nav ul ul li a:hover::before {
        background-color: #d6d0d0;
        height: 500%; 
        width: 500%; 
    }
    #main_nav li:hover > a, #main_nav li.hover-effect > a {
        color: #fff;
    }
    
    #main_nav li:hover > a::before, #main_nav li.hover-effect > a::before {
        height: 500%;
    }

    #main_nav ul ul {
      position: absolute;
  }
  
  #main_nav ul ul li {
      position: relative;
  }
  
  #main_nav ul ul ul {
      left: 100%;
      top: 0;
      display: none;
  }
  
  #main_nav ul ul li:hover > ul {
      display: block;
  }

/*breadcrumb*/
.pan_wrapper {
    max-width: 1200px;
    margin: 0 auto 0 auto;
    padding: 0 0 0 4%;/*0 0 0 1.5*/
    text-align: left;
  }
  .pan_wrapper ul {
    margin: 0;
    padding: 0;
  }
  .pan_wrapper li {
    display: inline;/*横に並ぶように*/
    font-weight: bold;/*太字*/
  }
  .pan_wrapper li:after {
    content: '>';/*三角の部分の>を表示*/
    padding: 0 0.2em;
    color: #555;
  }
  .pan_wrapper li:last-child:after {
    content: '';
  }
  .pan_wrapper li a {
    color: #808080;
  }
  .pan_wrapper li:first-child a:before {
    font-family: FontAwesome;/*家アイコン*/
    content: '\f015';
    font-weight: normal;
    font-size: 1.1em;
    color: #2e7fea;
  }
  .pan_wrapper li a:hover {
    text-decoration: underline;
  }
/*footer
----------------------------------------------------------------------------------------------------
*/

footer{
  font-size: 100%;/*フォントサイズ*/
  width: 100%;/*横幅*/
  padding: 10px 0;
  height: auto;
  text-align: center;/*文字の中央寄せ*/
  background-color: #313131;/*背景色*/
  color: #fff;/*文字色*/
}

/*front-page
----------------------------------------------------------------------------------------------------
*/

/*TOP_image*/
#board img{
    margin: 0 auto 0;
    box-shadow: 0px 0px 4px 1px #333333;
}
#board{
    overflow: hidden; 
    padding: 3%;
}

/*notice*/
/*notice_Section_title*/
.section_title {
    font-weight: normal;
    line-height: 1;
    margin-bottom: 50px;
    text-align:left
  }
  .section_title::after {
    content: "";
    width: 40px;
    height: 1px;
    background-color: #000;
    display: block;
  }
  .section_title .en {
    display: block;
    font-size: 2.25rem;
    letter-spacing: 0.3em;
    margin-bottom: 10px;
  }
  .section_title .ja {
    display: block;
    font-size: 0.875rem;
    margin-bottom: 36px;
  }
/*notice_article_display*/

.notice_list{
    list-style: none outside;
    margin: 0;
    padding: 0;
}
.notice_list .item a{
    display: flex;
    flex-wrap: nowrap;
    color: #333;
    border-bottom: 1px solid #CCC;
    padding: 20px 20px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align:left;
}
.notice_list .item:first-child a{
    border-top: 1px solid #CCC;
}
.notice_list .item .date{
    margin: 0;
    min-width: 140px;
    font-size: 16px;
    color: #999;
    padding: 0 20px 0 0;
}
.notice_list .item .category{
    margin: 0;
    min-width: 140px;
    padding: 0 20px 0 20px;
}
.notice_list .item .category span{
    background: #999;
    color: #FFF;
    text-align: center;
    display: inline-block;
    padding: 5px 20px;
    font-size: 12px;
    line-height: 1;
}
.newMark{
    background: #F00;
    color: #FFF;
    text-align: center;
    display: inline-block;
    padding: 5px 20px;
    font-size: 12px;
    line-height: 1;
    margin-right: 2%;
}
.item {
    position: relative;
}
.item:hover .front_word {
    display: inline;
}
  .front_word {
    position: absolute;
    display: none;
    padding: 2px;
    border-radius: 5px;
    background-image: url("../img/white1.jpg");
    border: double 5px #000; 
    width:400px;
    height: 500px;
    z-index:1;
    top: -400px;
    left: 500px;
    font-size: 10px;
    text-align: center;
    overflow:hidden;
}
  .front_word {
    width: 400px;
    height: 400px;
    overflow: scroll;
}

/*page-inform
----------------------------------------------------------------------------------------------------
*/

/*tab*/
.cp_tab *, .cp_tab *:before, .cp_tab *:after {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }
  .cp_tab {
    margin: 1em auto;
  }
  .cp_tab > input[type='radio'] {
      margin: 0;
      padding: 0;
      border: none;
      border-radius: 0;
      outline: none;
      background: none;
      -webkit-appearance: none;
          appearance: none;
      display: none;
  }
  .cp_tab .cp_tabpanel {
  display: none;
  }
    .cp_tab > input:first-child:checked ~ .cp_tabpanels > .cp_tabpanel:first-child,
    .cp_tab > input:nth-child(3):checked ~ .cp_tabpanels > .cp_tabpanel:nth-child(2),
    .cp_tab > input:nth-child(5):checked ~ .cp_tabpanels > .cp_tabpanel:nth-child(3),
    .cp_tab > input:nth-child(7):checked ~ .cp_tabpanels > .cp_tabpanel:nth-child(4),
    .cp_tab > input:nth-child(9):checked ~ .cp_tabpanels > .cp_tabpanel:nth-child(5),
    .cp_tab > input:nth-child(11):checked ~ .cp_tabpanels > .cp_tabpanel:nth-child(6) {
      display: block;
    }
  .cp_tab > label {
      position: relative;
      display: inline-block;
      padding: 15px;
      cursor: pointer;
      border: 1px solid transparent;
      border-bottom: 0;
    font-size: 100%;	/*フォントサイズの指定*/
    letter-spacing: 5px;	/*文字と文字の間隔をあける*/
  }
    .cp_tab > label:hover,
    .cp_tab > input:focus + label {
      color: gray;
  }
    .cp_tab > input:checked + label {
      margin-bottom: -1px;
      border-color: #cccccc;
      border-bottom: 1px solid #333;/*背景色と同じ*/
  }
    .cp_tab .cp_tabpanel {
      padding: 0.5em 1em;
      border-top: 1px solid #cccccc;
  }

/*List*/

.card_img {
    width: 100%;
    height: 150px;
    -o-object-fit: cover;
        object-fit: cover;
        filter: grayscale(60%);
  /*  
  //filter: contrast(50%);
    filter: sepia(90%);
  */
}
.container_wrapper {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    padding:0 20px;
    gap: 20px;
    margin-top: 3%;
  }
  .card {
    box-shadow: 1px 1px 3px rgba(106, 131, 152, 0.2);
    display: flex;
    flex-direction: column;
    width: calc(100% / 3 - 20px * 2 / 3);
    background-color: white;
    position: relative;
  }
  .card_category {
    position: absolute;
    width: 50%;
    top:0px;
    left:0px;
    font-size:15px;
    padding: 10px;;
    margin:0;
    background-color: #222222;
  }
  .card_category a {
    color: #fff;
  }
  .card_category a:hover {
    color: #BBBBBB;
  }
  .card_item {
    padding: 10px 10px 0 10px;
  }
  .card_time {
    color: #888888;
    text-align: right;
    padding-bottom: 10px;
  }
  .ellipsis {
    display: -webkit-box;
    -webkit-box-orient: vertical;
     /*c-webkit-line-clamp: 2;*/
    overflow: hidden;
  }
  .flexible {
    flex-grow: 1;
  }

/*新規周知にはNEWをつける*/
.list_new {
    color: #fff;
    position: absolute;
    width: 30%;
    top:0px;
    right:0px;
    font-size:15px;
    padding: 10px;;
    margin:0;
    background: #F00;
}

/*周知内容をポップアップ表示*/
.image_area {
    position: relative;
  }
  .image_area:hover .word {
    display: inline;
  }
  .word {
    position: absolute;
    display: none;
    padding: 2px;
    border-radius: 5px;
    background-image: url("../img/white1.jpg");
    border: double 5px #000; 
    width:400px;
    height: 500px;
    z-index:1;
    top: -240px;
    left: 0px;
    font-size: 10px;
    text-align: center;
    overflow:hidden;
  }
  .word {
    width: 400px;
    height: 400px;
    overflow: scroll;
  }
.page_namber {
  margin-top: 30px;
}

/*Filter*/


.filter_wrapper {
  display: flex;
  height: 100%;
  transition: max-height 0.5s ease-in-out;
}
.filter_wrapper div {
  width: calc(33.333% - 20px);  /* 3で割ったパーセンテージから左右のマージン分を引く */
  margin: 10px;
  overflow: hidden;
}
.filter_wrapper div h3 {
    font-size: 1.375rem;
    padding: 0 8px 8px;
    border-bottom: 2px #333 solid;
    font-weight: normal;
    text-align: left;
  }
  .filter_all ul li {
    display: flex;
    text-align: left;
    align-items: center;
    border-bottom: 1px #ddd solid;
}
.filter_all ul li:last-child {
  border-bottom: none;
}
.filter_all ul li a {
    color: #432;
    padding: 10px;
    display: block;
  }
  .filter_all ul li a:hover {
    color: #808080;
  }

  /*tag*/
  #tagList {
    display: flex;
    text-align: left;
    flex-wrap: wrap;
    gap: 5px;
    margin: 0; 
    padding: 10px 0 0 0;

  }
  #tagList li a {
    line-height: 26px;
    display: inline-block;
    margin-bottom: 5px;
    padding: 0 5px 0 5px;
    -webkit-transition: color 0.2s;
    transition: color 0.2s;
    color: #455a64;
    background: #DDDDDD;
}
#tagList li a:hover {
  color: #ffffff;
  background-color: #333;
}
.show_more_btn {
  cursor: pointer;
  text-align: center;
  padding: 5px 10px;
  background-color: #ddd;
  font-size: 12px;
  display: inline-block;
  transition: background-color 0.3s, color 0.3s; /* カラーの遷移効果を追加 */
}

/* カーソルを合わせたときのスタイルを追加 */
.show_more_btn:hover {
  color: #fff;         /* 文字色を白に */
  background-color: #000; /* 背景色を黒に */
}

/*sidebar
----------------------------------------------------------------------------------------------------
*/

/*search
----------------------------------------------------------------------------------------------------
*/

.search_new {
    color: #fff;
    position: absolute;
    width: 30%;
    top:0px;
    right:0px;
    font-size:15px;
    padding: 10px;;
    margin:0;
    background: #F00;
  }
  .search_img {
    position: relative;
  }
  .search_img:hover .search_word {
    display: inline;
  }
  .search_word {
    position: absolute;
    display: none;
    padding: 2px;
    border-radius: 5px;
    background-image: url("../img/white1.jpg");
    border: double 5px #000; 
    width:400px;
    height: 500px;
    z-index:1;
    top: -280px;
    left: 0px;
    font-size: 10px;
    text-align: center;
    overflow:hidden;
  }
  .search_word {
    width: 400px;
    height: 400px;
    overflow: scroll;
  }

/*archive
----------------------------------------------------------------------------------------------------
*/

/*single
----------------------------------------------------------------------------------------------------
*/

.single_wrapper {
    max-width: 1200px;
    margin: 50px auto 0 auto;
    padding: 0 4%;
    text-align: center;
  }
  .overview {
    margin-bottom: 1%;
    padding: 1%;
    border-bottom: 1px solid #CCC;
  }
  .overview ul {
    display: flex;
    text-align: left;
    gap: 5px;
    margin: 0; 
    padding: 0;
  }
  .overview li {
    border-right: 1px solid #ccc;
    padding: 0 10px;
  }
  .overview li:last-child{
    border-right: none;
  }
.single_tag a {
  line-height: 26px;
  display: inline-block;
  margin-bottom: 5px;
  padding: 0 5px 0 5px;
  -webkit-transition: color 0.2s;
  transition: color 0.2s;
  color: #455a64;
  background: #DDDDDD;
}
.single_tag a:hover {
  color: #ffffff;
  background-color: #333;
}

  .pagenubmer {
    max-width: 1200px;
    margin: 50px auto 50px auto;
    padding: 0 4%;
    text-align: center;
  }

.single_content {
	text-align:left;
}

/*コメントのタイトルのスタイル
----------------------------------------------------------------------------------------------------
*/

  .comments-area {
    margin-top: 50px;
    text-align: left;
  }
  .comments_main{
    background-color: #fff;
    margin-top: 50px;
    padding: 2%;
    width: auto;
  }
  .custom-comments-title {
    font-size: 24px;
    font-weight: bold;
    margin-top: 30px;
    margin-bottom: 10px;
    border-bottom: 1px solid #CCC;
  }
  .comments_main h2 {
    color: #bdbec1;/*文字色*/
    /*線の種類（点線）2px 線色*/
    border-bottom: dashed 1px #bdbec1;
    padding: 1%;
    margin-bottom: 20px;
  }
  #comment {
    width: 80%;
    min-height: 300px;
  }

  .reply {
      background: #aaa;
      color: #fff;
      font-size: 12px;
      padding: 4px 8px;
      text-decoration: none;
      display: inline-block;
      margin-top: 10px;
  }

.comment-list .comment {
  margin-bottom: 20px; /* この値を増減させて間隔を調整 */
}
.comment-list .children {
  margin-top: 15px; /* 子コメントの上の間隔 */
  margin-left: 20px; /* 子コメントを親から左に移動 */
}
.comment-text {
  margin-top: 10px;
}
.comment-author .avatar {
  margin-right: 10px;
}

.comment-metadata {
  font-size: 5px; /* 例: 12pxに変更 */
}
.comment-list li {
  border-bottom: 1px solid #e5e5e5;
}

/* コメント送信ボタンのスタイル */
#respond .form-submit input {
  background-color: #333;
  color: #fff;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
#respond .form-submit input:hover {
  background-color: #555;
}


.commentmetadata {
  font-size: 12px;
}
#comment {
  resize: none; /* ユーザーがテキストエリアのサイズを手動で変更するのを防ぐためのプロパティ */
}
#comment:focus {
  outline: none;
}

/*いいね、お気に入りbutton
----------------------------------------------------------------------------------------------------
*/

.card_buttons {
  position: absolute;
  bottom: 5px; /* 位置変更 */
  left: 10px; /* 位置変更 */
  display: flex;
  gap: 10px; /* ボタン間のスペース */
}

.favorite_button, .like_button {
  background-color: transparent;
  border: none;
  font-size: 1.5em;
  cursor: pointer;
}

.favorite_button:hover, .like_button:hover {
  /* ホバー時のスタイル。例: 色の変更 */
}

.single_buttons {
  display: flex;
  gap: 10px; /* ボタン間のスペース */
  justify-content: center;
  align-items: center;
  margin-top: 5%;


}
