@charset "utf-8";

@media print,screen and (min-width:768px){
  .m-header-link-list .m-header-link,
  .l-header-link-list .m-header-link-list li {
    font-size: 13px;
  }
  .stepList li .coTextBlc p {
    font-size: 1.8rem;
  }
  .coBlc > li {
    border-bottom:initial;
  }
  .coBlc li div h3 {
    margin: 50px 0px 30px;
  }
  .CoSpBtn {
    display: none !important;
    opacity:0 !important;
  }
  .healthEvent li {
    flex-direction: row-reverse;
  }
  .coTextBlc p .detailBtn {
    display: inline-block;
    width: 260px;
    text-align: center;
    line-height: 46px;
    font-size: 1.8rem;
    text-decoration: none;
    border: #0f50a9 1px solid;
    border-radius:3px;
    background: linear-gradient(to bottom right, #0f50a9, #008cc6);
    color: #fff;
  }
  .coTextBlc p .detailBtn:hover {
    background: linear-gradient(to bottom right, #ffffff, #ffffff);
    color: #0f50a9;
    font-weight: bold;
    border: #0f50a9 1px solid;
  }
  .coBlc li div h3::before {
    content: "";
    display: block;
    width: 130px;
    height: 1px;
    background-color: #333333;
    position: absolute;
    left: -5%;
    bottom: -14px;
    margin:0px;
    min-width: 130px;
    max-width: 130px;
  }
  .coBlc li div h3::after {
    content: "";
    display: block;
    width: 60px;
    height: 1px;
    background-color: #008cc6;
    position: absolute;
    left: 20%;
    bottom: -14px;
    margin: 0px;
  }
  .spBr {
    display: none;
  }
  section .inner h2 {
    font-size: 3.0rem;
  }
  section .inner h2::before {
    content: "";
    display: block;
    width: 145px;
    height: 1px;
    background-color: #333333;
    position: absolute;
    left: 48%;
    bottom: -14px;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
  }

  section .inner h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 1px;
    background-color: #008cc6;
    position: absolute;
    left: 55%;
    bottom: -14px;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
  }
  section .inner .whiteBlc{
    background-color: transparent;
    /* padding: 50px 20px 70px; */
  }
  .coMainContents section .inner {
    padding: 0;
  }
  .coMainContents section:nth-child(2){
    background-color: #EEF8FF;
  }
  .contentBlc {
    margin: 50px 0px;
  }
  .contentText {
    text-align: center;
  }
  #detailSect{background-color: #fff;}
  #detailSect .inner{padding:50px 0 90px}
  #detailSect .contList {display: flex;}
	#detailSect .contList li{width:auto;display:inline-block;margin-left:19px;}
	#detailSect .contList li a{display:block;position:relative;border-radius:10px;overflow:hidden;box-shadow: 1px 2px 5px rgba(0,0,0,0.2);font-size:2.2rem;text-decoration:none;}
	#detailSect .contList li a img{transition:all 0.5s ease;}
	#detailSect .contList li a p{left:0;bottom:0;width:100%;text-align:center;font-size:1.5rem;margin: 15px 0px;}
	#detailSect .contList li a[target="_blank"]::before{width:17px;height:13px;background:url(/takuhaimeiji/assets/images/common/icon_blank2.svg) no-repeat;background-size:100% 100%;border:none;-webkit-transform:translateY(-33%) rotate(0);transform:translateY(-33%) rotate(0);}
	#detailSect .contList li a:hover::before{left:13px;}
	#detailSect .contList li a[target="_blank"]:hover::before{left:10px;}
	#detailSect .contList li a:hover img{-webkit-transform:scale(1.03) ;transform:scale(1.03);}

  .mdlCont li a {display: none;}
  #modal-contents {
    display: none;
  }
}
@media print,screen and (max-width:1128px) {
	/* SP用追従ボタン */
	.CoSpBtn {
    position:fixed;
    left:0;
    bottom:-100px;
    z-index:1;
    width:100%;
    background-color:rgba(255,255,255,0.8);
    transition:all 0.4s ease;
    padding:10px 0;
    box-shadow:0 -3px 4px 0px rgba(0,0,0,0.1);
  }
	.CoSpBtn a{
    display:block;
    width:67%;
    margin:0 auto;
    line-height:50px;
    font-size:1.8rem;
    color:#fff;
    text-align:center;
    text-decoration:none;
    border: #0f50a9 1px solid;
    background: linear-gradient(to bottom right, #0f50a9, #008cc6);
    border-radius:3px;
    margin-left:calc((33% - 47px) / 2);
    margin-right:auto;
  }
  .CoSpBtn.btnHide{transition:unset;}

}

@media print,screen and (min-width:767px) and (max-width:840px){
	#detailSect .contList{margin-left:-2.33%}
	#detailSect .contList li{width:47.48%;margin-left:2.33%;}
	#detailSect .contList li a p{font-size:1.5vw;}

}


@media only screen and (max-width:767px){
  #modal-inner {
    padding: 25px 0 5px;
  }
  .stepList li .coTextBlc p {
    font-size: 1.6rem;
  }
  section .coBlc {
    padding-bottom: 90px;
  }
  .coBlc > li {
    border-bottom:initial;
  }
  section .inner .whiteBlc{
    background-color: transparent;
    padding: 0px 20px;
  }
  section .inner .whiteBlc p br {
    display: initial;
  }
  .coTextBlc p:nth-of-type(2) {
    text-align: center;
  }
  .coTextBlc p .detailBtn {
    display: inline-block;
    width: 65%;
    text-align: center;
    line-height: 46px;
    font-size: 1.8rem;
    text-decoration: none;
    border-radius:3px;
    border: #0f50a9 1px solid;
    background: linear-gradient(to bottom right, #0f50a9, #008cc6);
    color: #fff;
  }
  .coTextBlc p .detailBtn:hover {
    background: linear-gradient(to bottom right, #ffffff, #ffffff);
    color: #0f50a9;
    font-weight: bold;
    border: #0f50a9 1px solid;
  }

  section .inner h2::before {
    content: "";
    display: block;
    width: 50%;
    height: 1px;
    background-color: #333333;
    position: absolute;
    left: 45%;
    bottom: -14px;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
  }

  section .inner h2::after {
    content: "";
    display: block;
    width: 25%;
    height: 1px;
    background-color: #008cc6;
    position: absolute;
    left: 65%;
    bottom: -14px;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
  }
  .coBlc li div h3 {
    font-size: 2.0rem;
    margin-top: 90px;
  }
  .coBlc li div h3::before {
    content: "";
    display: block;
    width: 38%;
    height: 1px;
    background-color: #333333;
    position: absolute;
    left: -2%;
    bottom: -14px;
    margin:0px;
    min-width: initial;
    max-width: initial;
  }
  .coBlc li div h3::after {
    content: "";
    display: block;
    width: 18%;
    height: 1px;
    background-color: #008cc6;
    position: absolute;
    left: 35%;
    bottom: -14px;
    margin: 0px;
  }
  section .inner .whiteBlc:last-child {
    margin-bottom: initial;
  }
  .coMainContents section .inner {
    padding: initial;
  }
  .coMainContents section:nth-child(2){
    background-color: #EEF8FF;
  }
  .contentBlc {
    margin-top: 80px;
  }
  .contentText {
    padding: 0px 20px;
  }
	#detailSect .inner{padding:80px 0 13.33vw;}
	#detailSect .contList{width:100%;margin-bottom:20px;padding: 0px 45px;display:-webkit-flex;display:flex;-webkit-justify-content:center;justify-content:center;-webkit-flex-wrap:wrap;flex-wrap:wrap;}
	#detailSect .contList li{width:auto;display:inline-block;}
	#detailSect .contList li:nth-child(n + 2){margin-top:20px;}
	#detailSect .contList li a{display:block;position:relative;border-radius:10px;overflow:hidden;box-shadow: 1px 2px 5px rgba(0,0,0,0.2);font-size:2.2rem;text-decoration:none;}
	#detailSect .contList li a img{transition:all 0.5s ease;}
	#detailSect .contList li a p{left:0;bottom:0;width:100%;height:3em;font-size:1.6rem;padding-left:1.4em;line-height:1.33;display:-webkit-flex;display:flex;-webkit-justify-content:space-between;justify-content:space-between;-webkit-align-items:center;align-items:center;}
	#detailSect .contList li a[target="_blank"]::before{width:17px;height:13px;left:3px;background:url(/takuhaimeiji/assets/images/common/icon_blank2.svg) no-repeat;background-size:100% 100%;border:none;-webkit-transform:translateY(-50%) rotate(0);transform:translateY(-50%) rotate(0);}
  #detailSect .contList li.algnCnt{margin-left: 25.74%;}

  #modal-contents {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    z-index: 100;
    overflow-y: hidden;
    opacity: 0;
    visibility: hidden;
    transition: all 0.8s ease;
  }
  #modal-contents .modal_mt {
    margin-top: 30px;
  }
  #modal-contents .modaltitle {
    font-size: 1.7rem;
    line-height: 2.0rem;
  }
  #modal-contents .modaltitle span {
    font-size: 1.1rem;
  }
  #modal-contents .inner .modalEntry a{
    display: inline-block;
    height: auto;
    text-align: center;
    font-size: 1.2rem;
    border: #c8bfb4 solid 1px;
    position: relative;
    text-decoration: none;
    border-radius: 10px;
    margin: 8px;
    padding: 15px 35px 15px 40px;
    transition: all 0.2s ease;
  }
  #modal-contents .inner .modalEntry a:hover {
    background-color: #0f50a9;
    color: #fff;
  }
  #modal-contents .inner .modalEntry a:hover::before {
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
  }
  #modal-contents .inner .modalEntry {
    width: 100%;
    margin: 20px auto;
    text-align: center;
    border: #9e9e9e 1px solid;
    border-radius: 5px;
  }
  #modal-contents .inner .modalEntry p {
    font-size: 1.0rem;
    margin: 5px;
  }

  #modal-contents .inner .modalEntry a::before {
    position: absolute;
    top: 49%;
    left: 15px;
    display: block;
    content: "";
    width: 10px;
    height: 10px;
    vertical-align: middle;
    border-top: 2px solid #0797c6;
    border-right: 2px solid #0797c6;
    -webkit-transform: translateY(-50%) rotate(45deg);
    transform: translateY(-50%) rotate(45deg);
    transition: all 0.2s ease;
  }
  #modal-contents .inner div h3:last-child {
    margin-top: 15px;
  }
  #modal-contents .inner h3 {
    position: relative;
  }
  #modal-contents .inner h3::before {
    content: "";
    display: block;
    width: 20%;
    height: 1px;
    background-color: #333333;
    position: absolute;
    left: -2%;
    bottom: -10px;
    margin: 0px;
  }
  #modal-contents .inner h3::after {
    content: "";
    display: block;
    width: 10%;
    height: 1px;
    background-color: #008cc6;
    position: absolute;
    left: 18%;
    bottom: -10px;
    margin: 0px;
  }
  #modal-contents .inner .modalTel {
    height: auto;
    width: 100%;
    margin: 20px auto;
    text-align: center;
    border: #9e9e9e 1px solid;
    border-radius: 5px;
    text-decoration: none;
  }
  #modal-contents .inner .modalTel a {
    text-decoration: none;
  }
  #modal-contents .inner .modalTel img {
    width: 70%;
    margin: 10px auto;
  }
  #modal-contents .inner .modalTel p {
    font-size: 1.1rem;
    margin: 5px;
  }

  #modal-contents.isshow{
    visibility: visible;
    opacity: 1;
  }
  #modal-contents>.inner {
    position: absolute;
    top: 52%;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translate(-50% , -50%);
    background-color: #fff;
    width: 90%;
    height: 30vh;
    border: 1px #000000 solid;
    z-index: 50;
    padding-left: 30px;
    padding-right: 30px;
    overflow-y: scroll;
  }
  #modal-contents>.inner::-webkit-scrollbar {
    width: 5px;
  }
  #modal-contents>.inner::-webkit-scrollbar-track {
    border-radius:3px;
    box-shadow:inset 0 0 3px rgba(0, 0, 0, .1);
  }
  #modal-contents>.inner::-webkit-scrollbar-thumb {
    background-color:rgba(150, 150, 150, 0.6);
    border-radius:3px;
    box-shadow:0 0 0 1px rgba(255, 255, 255, .3);
  }
  .btn {
    position: absolute;
    top: 0.7%;
    right: 15px;
    z-index: 4;
    opacity: 0.8;
  }
  .btn a{
    position: relative;
    display: block;
    width: 50px;
    height: 50px;
    border-radius: 50%;
  }
  .btn a::before,.btn a::after{
    position: absolute;
    content: "";
    width: 25px;
    height: 3px;
    left: 10px;
    top: 22px;
    background-color: #fff;
    transform: rotate(45deg);
  }
  .btn a::after{
    transform: rotate(-45deg);
  }
  #modal-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.75);
    z-index: 3;
    cursor: pointer;
  }
  .l-header{
    z-index: 10 !important;
  }
}
/* 20210104 */
#newsSect>.inner{
  padding: 80px 0;
}
#newsSect .inner h2{
  margin-bottom: 50px;
}
.newsCont dl{
  border: 2px solid #000;
  padding: 20px;
}

@media (orientation: landscape) and (max-width:767px){
  #modal-contents>.inner{
    height: 50vh;
  }
}