@charset "UTF-8";
/* news&blog */
  #news #news-list {
    margin-bottom: 80px;
  }
  
  #news #pager {
    text-align: center;
  }
  
  #news #pager .pager-inner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    font-size: 16px;
  }
  
  #news #pager .pager-inner span {
    margin: 60px 7px 0;
    line-height: 1;
    padding: 8px 12px 12px;
    background-color: #168B45;
    color: #fff;
  }
  
  #news #pager .pager-inner a {
    margin: 60px 7px 0;
    display: inline-block;
    padding: 8px 12px 12px;
    background-color: #fff;
    color: #168B45;
    line-height: 1;
    border: 1px solid #168B45;
    position: relative;
    overflow: hidden;
    z-index: 1;
  }
  
  #news #pager .pager-inner a:after {
    content: "";
    width: 100%;
    height: 100%;
    background-color: #168B45;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    -webkit-transform: translateX(-101%);
    transform: translateX(-101%);
    -webkit-transition: 0.2s all ease-out;
    transition: 0.2s all ease-out;
  }
  
  #news #pager .pager-inner a:hover {
    color: #fff;
  }
  
  #news #pager .pager-inner a:hover:after {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
  
  #news .btn-top {
    margin-top: 60px;
  }
  
  #news #detail {
    margin-bottom: 80px;
    margin-top: -40px;
  }
  
  #news #detail .wrapper-md {
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
  }
  
  #news #detail #main {
    width: calc(100% - 250px);
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding-right: 60px;
  }
  
  #news #detail #main a {
    text-decoration: underline;
    color: #168B45;
  }
  
  #news #detail #main a:hover {
    text-decoration: none;
  }
  
  #news #detail #main .ttl-area {
    padding-bottom: 20px;
    border-bottom: 6px solid #168B45;
    margin-bottom: 40px;
  }
  
  #news #detail #main .ttl-area h3 {
    font-size: 26px;
    line-height: 1.6;
  }
  
  #news #detail #main .ttl-area h3 span {
    display: block;
    margin-bottom: 5px;
  }
  
  #news #detail #main .ttl-area h3 span small {
    font-size: 14px;
    display: inline-block;
    line-height: 1;
    font-weight: 400;
    color: #9F9F9F;
  }
  
  #news #detail #main .ttl-area + figure {
    margin-top: 0px;
  }
  
  #news #detail #main figure {
    margin-top: 20px;
    margin-bottom: 20px;
  }
  
  #news #detail aside {
    width: 250px;
  }
  
  #news #detail aside .ttl03 {
    margin-bottom: 20px;
  }
  
  #news #detail aside ul {
    margin-bottom: 20px;
  }
  
  #news #detail aside ul li {
    padding: 10px 10px;
    border-bottom: 1px solid #ccc;
    line-height: 1.4;
  }
  
  #news #detail aside ul li a {
    display: block;
    color: #333;
  }
  
  #news #detail aside ul li small {
    font-size: 80%;
    display: inline-block;
    line-height: 1;
    color: #9F9F9F;
  }
  
  #news #detail aside ul li:first-child {
    padding-top: 0px;
  }
  
  #news #detail aside ul li:hover {
    opacity: 0.7;
  }
  
  #news #detail aside .mt {
    margin-top: 5px;
  }
  
  #news #detail aside .mb {
    margin-bottom: 40px;
  }
  
  #news .btn02 {
    margin-top: 20px;
  }
  
  #news .btn02 a {
    color: #fff;
  }
  
  @media screen and (max-width: 768px) {
   
    #news #list .thum-list {
      margin-bottom: 40px;
    }
    #news #list .thum-list ul {
      display: block;
      margin-bottom: -20px;
    }
    #news #list .thum-list ul li {
      width: 100%;
      display: -webkit-box;
      display: -ms-flexbox;
      display: -webkit-flex;
      display: flex;
      -webkit-box-align: center;
      -webkit-align-items: center;
      -ms-flex-align: center;
      align-items: center;
      margin-bottom: 20px;
      position: relative;
      /*&:last-child{
          margin-bottom: 0px;
        }*/
    }
    #news #list .thum-list ul li a {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 2;
    }
    #news #list .thum-list ul li a:hover ~ figure img {
      -webkit-transform: scale(1.2);
      transform: scale(1.2);
    }
    #news #list .thum-list ul li figure {
      width: 20%;
      border-radius: 15px;
      overflow: hidden;
    }
    #news #list .thum-list ul li figure img {
      width: 100%;
      -webkit-transition: 0.5s all ease-out;
      transition: 0.5s all ease-out;
    }
    #news #list .thum-list ul li article {
      width: 80%;
      -webkit-box-sizing: border-box;
      box-sizing: border-box;
      padding-left: 20px;
      font-weight: 700;
      word-break: break-all;
    }
    #news #list .thum-list ul li article .data {
      display: block;
      font-size: 14px;
      line-height: 1.2;
    }
    #news #pager {
      text-align: center;
      margin-top: 20px;
    }
    #news #pager .pager-inner {
      font-size: 12px;
      -webkit-flex-wrap: wrap;
      -ms-flex-wrap: wrap;
      flex-wrap: wrap;
    }
    #news #pager .pager-inner span {
      margin: 5px 3px 0;
      padding: 7px;
    }
    #news #pager .pager-inner a {
      margin: 5px 3px 0;
      padding: 7px;
      white-space: nowrap;
    }
    #news #pager .pager-inner a:after {
      display: none;
    }
    #news #pager .pager-inner a:hover {
      color: #9F9F9F;
    }
    #news .btn-top {
      margin-top: 40px;
      margin-bottom: -20px;
    }
    #news #detail .wrapper-md {
      -webkit-box-orient: vertical;
      -webkit-box-direction: normal;
      -webkit-flex-direction: column;
      -ms-flex-direction: column;
      flex-direction: column;
    }
    #news #detail {
      margin-top: -30px;
      margin-bottom: 40px;
    }
    #news #detail .inner {
      display: block;
    }
    #news #detail #main {
      width: 100%;
      -webkit-box-sizing: border-box;
      box-sizing: border-box;
      padding-right: 0px;
      margin-bottom: 40px;
    }
    #news #detail #main .ttl-area {
      padding-bottom: 10px;
      margin-bottom: 20px;
    }
    #news #detail #main .ttl-area h3 {
      font-size: 20px;
    }
    #news #detail #main .ttl-area h3 span {
      display: block;
    }
    #news #detail #main .ttl-area h3 span small {
      font-size: 10px;
    }
    #news #detail aside {
      width: 100%;
    }
    #news #detail aside h3.ttl {
      font-size: 20px;
      margin-bottom: 10px;
    }
    #news #detail aside h3.ttl span {
      padding: 0 10px 10px;
    }
    #news #detail aside ul li {
      padding: 10px 10px;
    }
    #news #detail aside .mb {
      margin-bottom: 20px;
    }
    #news .btn02 {
      margin-top: 10px !important;
    }
  }

  /*症例*/
#news .case_img_wrap {
	display: grid;
	grid-template-columns: 4fr 1fr;
	grid-gap: 0 40px;
    align-items: flex-start;
}
#news .case_img_ba {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-gap: 0 80px;
	position: relative;
	margin-bottom: 30px;
}
#news .case_img_ba::before {
	content: "";
	position: absolute;
	border-top: 5px solid #168B45;
	border-right: 5px solid #168B45;
	width: 30px;
	height: 30px;
	transform: translate(-50%,-50%) rotate(45deg);
	top: 50%;
	left: 50%;
    margin-left: -5px;
}
#news .case_img_ba img {
	width: 100%;
  height: auto;
}
#news .case_img_before,
#news .case_img_after {
	position: relative;
}
#news .case_img_before_text,
#news .case_img_after_text {
	position: absolute;
    left: 0;
    top: 0;
    color: #168B45;
    text-shadow: 1px 1px 3px #000;
}
#news .case_table {
	margin: 0 auto;
}
#news .case_table th,
#news .case_table td {
	padding: 1em;
	border: 1px solid #fff;
  background-color: #EDF8E2;
}
#news .case_table th {
	background: #168B45;
	color: #fff;
    width: 12em;
}
#news .case_table td p:last-child {
	margin-bottom: 0;
}
#news .case-gallery figcaption {
	display: none;
}

@media (min-width: 960px){
	#news .case_table {
/*	    max-width: 960px;*/
		width: 100%;
	}
	#news .case-gallery {
		grid-row: 1/3;
	    grid-column: 2/3;
	}
}

@media (max-width: 959px){
	#news .case_img_wrap {
		display: block;
	}
	#news .case-gallery  {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 2.66%;
	}
	#news .case-gallery figure {
		flex-basis: 23%;
	}
	#news .case_table {
		margin-top: 20px;
	}
}
@media (max-width: 559px){
	#news .case_img_ba {
		grid-gap: 0 10%;
	}
	#news .case_img_ba::before { 
		width: 0;
		height: 0;
		padding-left: 6%;
    	padding-top: 6%;
	}
/*
	#news .case-gallery  {
		flex-wrap: wrap;
		gap: 4%;
	}
	#news .case-gallery figure {
		flex-basis: 48%;
	}
*/
	#news .case_table th,
	#news .case_table td {
		display: block;
		width: 100%;
		border-bottom-width: 0px;
	}
	#news .case_table tr:last-child td {
		border-bottom-width: 1px;
	}
}

.list_notice > li {
	position: relative;
	padding-left: 1.1em;
	margin-bottom: 2px;
}
.list_notice > li:last-child {
	margin-bottom: 0;
}
.list_notice > li::before {
	content: "\00203B";
	position: absolute;
	left: 0;
	width: 1em;
	text-align:  center;
}

/*
#news .case_img_wrap {
	display: grid;
	grid-template-columns: 4fr 1fr;
	grid-gap: 0 40px;
    align-items: flex-start;
}
*/
#news .case_ba_wrap {
	max-width: 80%;
	margin: 0 auto 40px;
}
#news .case_img_ba {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-gap: 0 80px;
	position: relative;
	margin-bottom: 30px;
}
#news .case_img_ba::before {
	content: "";
	position: absolute;
	border-top: 5px solid #168B45;
	border-right: 5px solid #168B45;
	width: 30px;
	height: 30px;
	transform: translate(-50%,-50%) rotate(45deg);
	top: 50%;
	left: 50%;
    margin-left: -5px;
}
#news .case_img_ba img {
	width: 100%;
}
#news .case_img_before,
#news .case_img_after {
	position: relative;
}
#news .case_img_before_text,
#news .case_img_after_text {
	position: absolute;
    left: 0;
    top: 0;
    color: #fff;
    text-shadow: 1px 1px 3px #000;
}


@media (min-width: 960px){
	#news .case-gallery {
		grid-row: 1/3;
	    grid-column: 2/3;
	}
}

@media (max-width: 959px){
	#news .case_img_wrap {
		display: block;
	}
	#news .case-gallery  {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 2.66%;
	}
	#news .case-gallery figure {
		flex-basis: 23%;
	}
	#news .case_table {
		margin-top: 20px;
	}
}
@media (max-width: 559px){
	#news .case_ba_wrap {
		max-width: unset;
		width: 100%;
	}
	#news .case_img_ba {
		grid-gap: 0 10%;
	}
	#news .case_img_ba::before { 
		width: 0;
		height: 0;
		padding-left: 6%;
    	padding-top: 6%;
	}
/*
	#news .case-gallery  {
		flex-wrap: wrap;
		gap: 4%;
	}
	#news .case-gallery figure {
		flex-basis: 48%;
	}
*/
	#news .case_table th,
	#news .case_table td {
		display: block;
		width: 100%;
		border-bottom-width: 0px;
	}
	#news .case_table tr:last-child td {
		border-bottom-width: 1px;
	}
}

.list_notice > li {
	position: relative;
	padding-left: 1.1em;
	margin-bottom: 2px;
}
.list_notice > li:last-child {
	margin-bottom: 0;
}
.list_notice > li::before {
	content: "\00203B";
	position: absolute;
	left: 0;
	width: 1em;
	text-align:  center;
}





#news .flow_box {
	counter-reset: flow;
}
#news .flow_box li {
	counter-increment: flow;
	margin-bottom: 60px;
	position: relative;
}
#news .flow_box li::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: -40px;
	transform: translateX(-50%);
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 20px 35px 0 35px;
	border-color: #168B45 transparent transparent transparent;
}
#news .flow_box li:last-child::after {
	content: none;
}
#news .flow_box .flow_box_inner {
	margin-left: 80px;
	background: rgba(255,255,255,0.2);
	padding: 20px;
	box-shadow: 0 0 10px 0 #c6c6c6;
	position: relative;
}
#news .flow_box .flow_box_inner::before {
	content: counter(flow);
	top: 10px;
	left: -80px;
    position: absolute;
    font-size: 150%;
    width: 55px;
    height: 55px;
	text-align: center;
    background: #168B45;
    line-height: 55px;
	border-radius: 50%;
}

#news .flow_box .flow_contents p:last-child {
	margin-bottom: 0;
}

#news .flow_img_wrap {
	display: flex;
	margin-top: 20px;
	gap: 0 20px;
	text-align: center;
}
#news .flow_img_wrap .flow_img {
	flex-basis: 100%;
}
#news .flow_img_wrap .flow_img img {
	width: 100%;
  height: auto;
}
#news .flow_img_wrap .flow_text {
	background: #168B45;
}


@media (max-width: 559px){
	#news .flow_img_wrap {
		gap: 0 10px;
	}
	#news .flow_box .flow_box_inner {
		margin-left: auto;
	}
	#news .flow_box .flow_box_inner::before {
		left: -10px;
		top: -10px;
		width: 35px;
		height: 35px;
		font-size: 120%;
		line-height: 35px;
	}
	#news .flow_img_wrap .text {
		font-size: 14px;
    padding-top: 0;
    padding-bottom: 5px;
	}
}