@charset "utf-8";

.pc {
  display: block;
}

@media only screen and (max-width: 568px) {
  .pc {
    display: none;
  }
}

/*--------------------------------
    コラム一覧ページ
---------------------------------*/

.column_inner{
  max-width: 80%;
  width: 100%;
  position: relative;
}
.column_contents ul{
  gap:1.5vw;
}
.column_contents ul li{
  background: #ffffed;
  width: 31.5%;
}

.date_time::before {
    content: '';
    background: url(../img/common/icon-clock.svg) no-repeat;
    width: 16px;
    height: 16px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
    margin-top: -3px;
}

.column_img {
  overflow: hidden;
  position: relative;
}

.column_img::before {
  content: '';
  display: block;
  padding-top: 61.8%;
}

.column_img img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.column_contents .txt_box{
  padding: 20px;
}

.column_ttl{
  font-size: 20px;
  margin:10px 0 20px;
}

.column_btn {
  max-width: 300px;
  border-radius: 100px;
  margin: 0 auto;
  background: var(--site-main-color);
}

.column_btn p {
  font-size: 15px;
  display: block;
  padding: 15px 0;
  position: relative;
  background-size: 20px;
  color: #fff;
  text-align: center;
  font-weight: bold;
  letter-spacing: 0.05em;
}

.column_btn p::after {
  content: '';
  background: url(../img/common/icon_arrow_right_white.svg) center no-repeat;
  background-size: contain;
  position: absolute;
  width: 30px;
  height: 30px;
  top: 50%;
  transform: translate(0px, -50%);
   right: 15px;
}

@media only screen and (max-width: 1024px) {
  .column_inner{
    max-width: 96%;
  }
  .column_btn p{
    font-size: 14px;
  }
  .column_btn p::after{
    width: 20px;
    height: 20px;
  }
}

@media only screen and (max-width: 960px) {
  .column_inner {
    max-width: 94%;
    width: 100%;
    position: relative;
    margin: 0 auto;
}
}

@media only screen and (max-width: 568px) {
  .column_inner {
    width: 90%;
  }
  .column_contents ul li{
    width: 100%;
  }
  .sec_title{
    margin: 20px -5.3vw 30px;
  }
  .date_time{
    font-size: 14px;
  }
  .date_time::before{
    margin-right: 5px;
  }
  .column_ttl{
    font-size: 18px;
  }
  .column_contents ul{
    gap: 20px;
  }
}

/*--------------------------------
    コラム詳細ページ
---------------------------------*/
#sub_main p{
    font-size: 52px;
    background-color: #fff;
    padding: 13px 2.3vw 15px;
    display: inline-block;
    border-radius: 0 30px 0 0;
}
#sub_main p span{
margin-left: .5em;
}
.wp-block-heading,
.wp-block-embed,
ul.wp-block-list,
.wp-block-table {
    margin: 2.0em 0 1.62em;
}

#column-article .date_time{
  margin: 10px 0 20px;
}

.entry-content h1.column_title{
  border-top: 2px solid #28979f;
  border-bottom: 2px solid #28979f;
  color: #28979f;
  font-size: 32px;
  font-family: 'Noto Serif JP';
  padding: 5px 0;
}
.entry-content h2.wp-block-heading{
    font-size: 26px;
    font-family: 'Noto Serif JP';
    line-height: 1.25;
    text-align: center;
    border: 2px solid var(--site-main-color);
    border-radius: 10px;
    box-shadow: 10px 10px 0px var(--site-main-color);
    text-align: center;
    padding: 10px 0;
}

.entry-content h3.wp-block-heading {
    font-size: 24px;
    font-family: 'Noto Serif JP';
    padding: 2px 0 12px 20px;
    line-height: 1.0;
    position: relative;
    display: inline-block;
    padding: 0 80px;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 30px;
}
.entry-content h3.wp-block-heading::before,.entry-content h3.wp-block-heading::after{
    content: '';
    position: absolute;
    top: 50%;
    display: inline-block;
    width: 45px;
    height: 2px;
    border-top: solid 2px black;
    border-bottom: solid 2px black;
}
.entry-content h3.wp-block-heading::before{
  left: 0;
}
.entry-content h3.wp-block-heading::after{
  right: 0;
}
.entry-content h4.wp-block-heading {
    font-size: 20px;
    font-family: 'Noto Serif JP';
    font-weight: bold;
  }

.entry-content h5.wp-block-heading{
  font-weight: bold;
}

.column_inner .wp-block-image {
  background: url(../img/example/thumbnail-bg.jpg) no-repeat #f5f5f5;
  border-radius: 10px;
  padding: 40px 0;
  position: relative;
  z-index: -1;
  margin-bottom: 1.8em;
}

.column_inner .wp-block-image::before {
  content: '';
  background: url(../img/example/thumbnail-bg.jpg) no-repeat;
  background-size: cover;
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: -1;
}

.column_inner .wp-block-image img {
  width: 100%;
  max-width: 490px;
  border-radius: 10px;
  margin: 0 auto;
  display: block;
}

#sub_main .column_detail_ttl {
  font-size: 34px;
  line-height: 1.5;
}


/*コラム目次*/

div#ez-toc-container .ez-toc-box-title{
  top:8%;
  left: 4%;
  background: none;
  color: #fff;
  font-size: 18px;
}

div#ez-toc-container .ez-toc-box-title.toc-closed{
  top: 19%;
  left: 3%;
}


/* 目次枠線の太さ・角度・上下余白を調整 */
div#ez-toc-container{
  border-width: 2px;
  border-radius:0; 	
  margin:30px 0;
  padding: 0;
  border-radius: 20px;
  overflow: hidden;
}

/* 目次タイトルの背景色と余白調整 */	
div#ez-toc-container .ez-toc-title-container, #ez-toc-container{
  background: #28979f;
  margin:0;

}
/* 目次タイトルの余白とカラー */	
div#ez-toc-container .ez-toc-title {
  display:block;
  line-height:3;
  width: 100%;
  color:#fff!important;
  display: block!important;
  text-align: center;
}

.ez-toc-counter nav ul li a::before {
  color: #28979f!important;
}

/* 目次内の上下余白調整 */	
div#ez-toc-container .ez-toc-list{
  padding: 20px;
}

/* 見出しの下線 */	
div#ez-toc-container .ez-toc-list li{
  display: block;	
  border-bottom:1px dashed #3d3d3d;				
}
div#ez-toc-container .ez-toc-heading-level-2{
  border-bottom: 0!important;
}
div#ez-toc-container .ez-toc-list li:last-child {
  border:0;
  margin-bottom: 10px;
}

div#ez-toc-container nav ul ul li{
  line-height: 2.3;
}

/* 目次開閉ボタン位置調整 */
.ez-toc-title-toggle{
  position:absolute;
  top:5px;	
  right:2%;	
}



/* 目次開閉ボタンデザイン */
div#ez-toc-container .ez-toc-js-icon-con {
  border:none;
  border-radius:0;
  width:33px;
}

.ez-toc-icon-toggle-span svg{
  fill: #fff!important;
  color: #fff!important;
}

/* 目次開閉ボタン下にテキスト挿入 */
div#ez-toc-container .ez-toc-title-toggle:after{
  position:absolute;
  content:"閉じる";
  top:2.5em;
  left:2.5em;	
  font-size:10px;	
  color:#fff;
  white-space: nowrap;
}

div#ez-toc-container.toc_close .ez-toc-title-toggle:after{
content:"開く";
left: 3em;
}



@media only screen and (max-width: 1024px) {
  #sub_main p{
    font-size: clamp(24px, 3vw, 34px);
  }
  #sub_main p span.txt_number{
    font-size: clamp(22px, 2.5vw, 32px);
  }
  #sub_main .column_detail_ttl {
    font-size: 26px;
  }
  div#ez-toc-container{
    width: 90%!important;
  }
}

@media only screen and (max-width: 960px) {
  #sub_main .column_detail_ttl {
    font-size: 24px;
  }
}

@media only screen and (max-width: 568px) {
  .entry-content h1.column_title{
    margin: 20px -5.3vw;
    font-size: 28px;
  }
.entry-content h2.wp-block-heading{
    box-shadow: 0px 9px 0px var(--site-main-color);
    border-radius: 0;
    border-left: none;
    border-right: none;
    margin: 20px -5.3vw 30px;
  }
  div#ez-toc-container{
    width: 100%!important;
    border-radius: 10px;
  }
  
  div#ez-toc-container .ez-toc-title{
    line-height: 2.5;
  }
  .ez-toc-title-toggle{
    right: 4%;
  }
  #sub_main .column_detail_ttl {
    line-height: 1.5;
  }
  .column_inner .wp-block-image{
    margin: 20px -5.3vw;
    border-radius: 0;
    padding: 30px 0;
  }
  .column_inner .wp-block-image img{
    width: 90%;
  }

  .entry-content h3.wp-block-heading,
  .entry-content h4.wp-block-heading,
  .entry-content h5.wp-block-heading{
    margin: 20px auto;
  }

  /* 目次タイトル */
div#ez-toc-container .ez-toc-title {
  font-size:15px;		 
  text-align:center;
  padding-left:initial;
  padding:5px 0;
}
/* 開閉ボタンの位置 */
#ez-toc-container .ez-toc-title-toggle{
  right:2%;	
}
}

.post_under_nav {
	margin: 40px auto 70px;
}

.post_under_nav ul {
	display: flex;
	justify-content: center;
	gap: 0 20px;
}

.post_under_nav li a {
	font-size: 18px;
	font-weight: bold;
	display: block;
	width: 200px;
	color: var(--site-main-color);
	background: #fff;
	border-radius: 5px;
	border: 2px solid var(--site-main-color);
	padding: 12px 0 14px;
	text-align: center;
	position: relative;
	transition: 0.2s;
}

.post_under_nav li a:hover {
	background: var(--site-main-color);
	color: #fff;
}

.post_under_nav li.nav-left a::after {
	content: '';
	background: url("../img/common/icon_arrow_left_color.svg") no-repeat;
	width: 10px;
	height: 16px;
	position: absolute;
	left: 20px;
	top: 50%;
	transform: translateY(-50%);
}

.post_under_nav li.nav-left a:hover::after {
	background: url("../img/common/icon_arrow_left_color-white.svg") no-repeat;
}

.post_under_nav li.nav-center a {
	background: var(--site-main-color);
	color: #fff;
	width: 250px;
}

.post_under_nav li.nav-center a:hover {
	background: #657ba3;
	border: 2px solid #657ba3;
}

.post_under_nav li.nav-right a::after {
	content: '';
	background: url("../img/common/icon_arrow_right_color.svg") no-repeat;
	width: 10px;
	height: 16px;
	position: absolute;
	right: 20px;
	top: 50%;
	transform: translateY(-50%);
}

.post_under_nav li.nav-right a:hover::after {
	background: url("../img/common/icon_arrow_right_color-white.svg") no-repeat;
}

.global-nav .nav-list .nav-item a {
  text-decoration: none;
}

footer li a {
  text-decoration: none;
  color: #333;
}

.breadcrumbs a {
  text-decoration: none;
}

@media only screen and (max-width: 568px) {
.post_under_nav ul{
  display: grid;
  grid-template-columns: 48% 48%;
  grid-template-rows: auto auto;
  gap: 10px;
}
.nav-left{
  grid-column: 1;
  grid-row: 1;
}
.nav-right{
  grid-column: 2;
  grid-row: 1;
}
.nav-center{
  grid-column: 1 / 3;
  grid-row: 2;
}
.post_under_nav li a{
  font-size: 15px;
  width: 100%;
}
.post_under_nav li.nav-center a{
  width: 100%;
}
.post_under_nav{
  margin: 30px auto;
}
.new_column ul{
  gap:20px 10px;
}
.new_column ul li{
  width: 48%;
}
.new_column .txt_box{
  padding: 0 10px 20px 10px;
}
#column-article .new_column .date_time{
  margin: 10px 0;
}
.new_column .column_btn p{
  padding: 10px 10px 10px 20px;
  font-size: 12px;
  text-align: left;
}
}









