.container {
  display: grid;
  grid-template-rows: auto 1fr auto;
  grid-template-columns: 100%;
  min-height: 100vh;
}
header {
    position: sticky;
    top: 0;
    z-index: 10;
}
.breadcrumbs{
	margin: 0;
}
.cp_breadcrumb *, .cp_breadcrumb *:after, .cp_breadcrumb *:before {
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
}
.cp_breadcrumb {
	overflow: hidden;
	width: 100%;
	margin: 1em auto;
	padding: 0;
	list-style: none;
}

.cp_breadcrumb li {
	display: inline-block;
	margin: 0 1em 0.5em 0;
}
.cp_breadcrumb a {
	position: relative;
	display: inline-block;
	height: 48px;
	margin: 0;
	padding: 0.7em 1em 0.7em 2em;
	text-decoration: none;
	color: #444444;
	background-image: linear-gradient(to right, #ffffff, #26C6DA);
	-webkit-transition:all 0.3s ease;
	transition: all 0.3s ease;
}
.cp_breadcrumb li:first-child a {
	padding-left: 1em;
	border-radius: 5px 0 0 5px;
}
.cp_breadcrumb a:hover {
	background: #ffffff;
}
.cp_breadcrumb a::after,
.cp_breadcrumb a::before {
	position: absolute;
	top: 50%;
	right: -0.9em;
	margin-top: -1.5em;
	content: '';
	border-top: 1.5em solid transparent;
	border-bottom: 1.5em solid transparent;
	border-left: 1em solid;
	-webkit-transition:all 0.3s ease;
	transition: all 0.3s ease;
}
.cp_breadcrumb a::after {
	z-index: 2;
	border-left-color: #26C6DA;
}
.cp_breadcrumb a::before {
	z-index: 1;
	right: -1em;
	border-left-color: #00ACC1;
}
.cp_breadcrumb a:hover::after {
	border-left-color: #ffffff;
}
.cp_breadcrumb li:last-child a {
	cursor: default;
	pointer-events: none;
	color: black;
	background: transparent !important;
	font-weight: bold;
}
.cp_breadcrumb li:last-child a:hover {
	background: none;
}
.cp_breadcrumb li:last-child a::before,
.cp_breadcrumb li:last-child a::after {
	content: normal;
}

h1.diary_title  {
  position: relative;
  padding: 0.25em 1em;
  border-top: solid 2px black;
  border-bottom: solid 2px black;
}
h1.diary_title :before, h1.diary_title :after {
  content: '';
  position: absolute;
  top: -7px;
  width: 2px;
  height: -webkit-calc(100% + 14px);
  height: calc(100% + 14px);
  background-color: black;
}
h1.diary_title :before {
  left: 7px;
}
h1.diary_title :after {
  right: 7px;
}


#contents_main img{
	max-width: 100%;
	height: auto;
}

@media screen and (max-width: 768px) {
	
	.cp_breadcrumb ul {
		padding: 0 5px;
	}
	.cp_breadcrumb li {
		/**display: block;**/
		margin-right: 0;
	}
	.cp_breadcrumb a::before {
    border: none;
    position: relative;
    margin: 0;
}
.cp_breadcrumb a::after {
    border: none;
    position: relative;
    margin: 0;
}
.cp_breadcrumb a,
.cp_breadcrumb li:first-child a{
padding: 0;
border-radius: unset;
height: auto;
background: unset;
}
.cp_breadcrumb li::after{
    content: ' > ';
    padding: 0 5px;
}
.cp_breadcrumb li:last-child::after{
	margin-right: 0;
	content: none;
}
	.report .contents_wrap th,
  	.report .contents_wrap td {
		display: block;
		width: 100%;
	}
}

.blog{
width: 80%;
  background-color: #fff;
  margin: 0 auto;
  padding: 65px 0 100px;
}
.news_list {
  margin: 0 5%;
  list-style: none;
  padding: 0;
  margin: 0;
}

.news_list_item {
  padding: 15px 0;
  border-bottom: 1px solid #E6E6E6;
}

.news_list_item:first-child {
  border-top: 1px solid #E6E6E6;
}
.news_list_item a {
 position: relative;
 display: flex;
 padding-right: 30px;
}

.news_list_date {
  font-size: 15px;
  display: flex;
  margin-right: 15px;
  align-items: center;
}

.news_item {
  background: #F6C6A2;
  border-radius: 14px;
  width: 6em;
  /* 親要素の文字サイズを基準 */
  text-align: center;
  margin-left: 20px;
}

.arrow {
  width: 25px;
  height: 1px;
  background: #707070;
  position: absolute;
  top: 50%;
  right: 0;
}

.arrow::after {
  content: "";
  display: block;
  width: 6px;
  height: 1px;
  background: #707070;
  transform: rotate(45deg);
  position: absolute;
  right: 0px;
  bottom: 2px;
}


@media screen and (max-width: 1024px) {
    .news_list_item a {
        display: block;
    }
}
header::after {
      display: none;
    }
@media screen and (max-width: 769px) {
    .news_list_item a  {
        font-size: 14px;
    }
nav ul {
    display: none;
    flex-direction: column;
    background-color: #52bad5;
    position: absolute;
    top: 60px; /* Adjust to match the header height */
    right: 0;
    width: 200px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid #ddd;
    z-index: 1000;
  }

  nav ul.show {
    display: flex;
  }

  /* Add a pseudo-element for the burger icon */
  header::after {
    content: '☰';
    font-size: 24px;
    cursor: pointer;
    display: block;
    position: absolute;
    top: 10px; /* Adjust as needed */
    right: 10px;
  }

}
@media screen and (max-width: 480px) {
    .arrow {
        display: none;
    }
    .news_list_item a {
        padding-right: 0;
    }
}


#contents_main ul li a {
	color: #000;
	text-decoration:underline;
}

#contents_main #diary_list{
	overflow: hidden;
	width: 90%;
	margin: 0 auto;
}
/**
#contents_main #diary_list .diary_block{
	display: inline-block; 
    vertical-align: top;   
	width: 200px;
	padding: 10px;
}
**/
#contents_main #diary_detail{
	margin: 0 20px;
}
#contents_main #diary_detail img{
	max-width: 100%;
}
#contents_main #diary_list li{
	margin-bottom: 10px;
}
#contents_main .diary_wrap{
	overflow: hidden;
	margin: 10px auto;
	width: 100%;
	max-width: 250px;
}
#contents_main .d_float_l{
	width: 33.33%;
	text-align: right;
	float: left;
}
#contents_main .d_float_c{
	width: 33.33%;
	text-align: center;
	float: left;
}
#contents_main .d_float_r{
	width: 33.33%;
	text-align: left;
	float: left;
}

@media (max-width: 320px) {
#contents_main img{
	max-width: 90%;
}
}
#contents_main #diary_list .diary_year_block {
    width: 95%;
    margin: 20px auto;
    padding: 15px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}
#contents_main #diary_list .diary_year_inner {
    display: flex; /* flexbox */
    flex-wrap: wrap; /* 折返し指定 */
}
#contents_main #diary_list .diary_year_inner .diary_block {
    max-width: calc(100% / 6); /* 最大幅も設定 */
    padding: 20px;
    box-sizing: border-box;
}
#contents_main #diary_list .diary_year_block ul {
    display: flex;
    flex-wrap: wrap; /* 複数列対応 */
    list-style-type: none;
    padding: 0;
    margin: 0;
    gap: 10px; /* 項目間のスペース */
}
#contents_main #diary_list .diary_year_block ul li {
    flex: 1 1 100%; /* 1列表示 */
        max-width: 100%;
    box-sizing: border-box;
}

#contents_main #diary_list .diary_block_detail {
    width: 95%;
    margin: 20px auto;
    padding: 15px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

#contents_main #diary_list p {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

#contents_main #diary_list .diary_block_detail ul {
    display: flex;
    flex-wrap: wrap; /* 複数列対応 */
    list-style-type: none;
    padding: 0;
    margin: 0;
    gap: 10px; /* 項目間のスペース */
}

#contents_main #diary_list .diary_block_detail ul li {
    flex: 1 1 calc(33.333% - 10px); /* 初期表示で3列 */
    max-width: calc(33.333% - 10px); /* 最大幅も設定 */
    box-sizing: border-box;
}

#contents_main #diary_list .diary_block ul li a,
#contents_main #diary_list .diary_block_detail ul li a {
    display: block; /* リンク全体をクリック可能に */
    text-decoration: none;
    color: #007bff;
    font-size: 1em;
    transition: color 0.2s ease;
    padding: 5px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-align: center; /* 中央揃え */
}

#contents_main #diary_list .diary_block ul li a:hover,
#contents_main #diary_list .diary_block_detail ul li a:hover {
    color: #0056b3;
    background-color: #f0f8ff;
}

/* レスポンシブ対応 */
@media (max-width: 1200px) {
    #contents_main #diary_list .diary_year_inner .diary_block {
    max-width: calc((100% / 3) - 20px); /* 最大幅も設定 */
}
    #contents_main #diary_list .diary_block_detail ul li {
        flex: 1 1 calc(50% - 10px); /* 2列表示 */
        max-width: calc(50% - 10px);
    }
}
@media (max-width: 850px) {
#contents_main #diary_list .diary_year_inner .diary_block {
    max-width: calc((100% / 2) - 20px); /* 最大幅も設定 */
}
}
@media (max-width: 600px) {
#contents_main #diary_list .diary_year_inner .diary_block {
    max-width: calc((100% / 1) - 20px); /* 最大幅も設定 */
}
    #contents_main #diary_list .diary_block_detail ul li {
        flex: 1 1 100%; /* 1列表示 */
        max-width: 100%;
    }
}