@charset "utf-8";

p {
    font-size: 16px;
    line-height: 1.5;
}
#wrap {
    background: #f7f7f7;
}
#mainVisual {
    color: #D2D2D2;
    font-weight: bold;
    background: url(../../img/doctor/mv_pc.jpg) top center no-repeat;
    height: 599px;
}
#mainVisual div {
    font-size: 48px;
    text-align: center;
    padding-top: 252px;
}
#mainVisual h1 {
    padding-top: 0;
}
#mainVisual span {
    color: #0098df;
    font-size: 20px;
    margin: 0 0 13px;
}
.sub {
	position: relative;
}
.sub .inner {
    color: #fff;
    line-height: 1.5;
    width: 800px;
    background: #222;
    padding: 26px 20px;
    margin: -55px auto 0;
}
#contents {
    background: #f7f7f7;
    padding-bottom: 80px;
}
article {
    width: 1000px;
    margin: 130px auto 0;
}
#article01 {
    margin-top: 22px;
}
#contents h2 {
    color: #222;
    font-size: 30px;
    font-weight: bold;
    text-align: left;
    height: auto;
    padding: 6px 12px;
    border-left: 2px solid #222;
}
#contents h2 span {
    color: #fff;
    font-size: 22px;
    display: block;
    margin-top: 49px;
}
article .inner {
    width: 740px;
    padding: 0 0 0;
}
article .inner > .clearfix {
    margin: 60px 0 40px;
}
article .inner .clearfix img {
    width: 335px;
    float: right;
}
article .inner .clearfix div {
    width: 385px;
    float: left;
}
article .inner .detail {
    border-top: 1px solid #222;
    padding:20px 0;
}
article .inner h3 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
}
article .inner dt,
article .inner dd {
    line-height: 1.7;
    float: left;
}
article .inner dt {
    clear: both;
    margin-right: 1.5em;
}
article .inner .box {
    margin-top: 50px;
    background: #e5e5e5;
    padding: 20px;
}
article .inner .box .right {
    text-align: right;
}
#footer {
    background: #222;
}

/* docmedia */
#docmedia {
    padding-bottom: 100px;
}
#docmedia h2 {
    color: #222;
    font-size: 30px;
    font-weight: bold;
    text-align: left;
    height: auto;
    padding: 6px 12px;
    border-left: 2px solid #222;
	width: 960px;
	margin: 0 auto 20px;
}
#docmedia .inner > p {
    font-size: 16px;
    margin: 22px 0 35px;
}
#docmedia .btn_more {
    font-size: 20px;
    width: 460px;
    border-radius: 30px;
    padding: 16px;
    margin: 50px auto 0;
}

#docmedia .media_new_block {
	display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
}
#docmedia .media_new_box {
	width: 24%;
}
#docmedia .media_new_box a {
    text-decoration: none;
    transition: all 0.3s ease;
}
#docmedia .media_new_box a:hover {
	opacity: 0.6;
}
#docmedia .media_new_thumbnail {
	position: relative;
    overflow: hidden;
    padding-top: 60%;
    margin-bottom: 10px;
}
#docmedia .media_new_thumbnail img {
	position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#docmedia .media_new_title {
	height: 4em;
}
#docmedia .media_new_title p {
	font-size: 16px;
    font-weight: bold;
    color: #000;
}
#docmedia .media_new_tag {
	flex-wrap: wrap;
}
#docmedia .media_new_tag ul {
	display: inline-flex;
	justify-content: flex-start;
}
#docmedia .media_new_tag ul li {
	width: auto;
    margin-right: 5px;
}
#docmedia .media_new_tag ul li a {
	margin-top: 10px;
    margin-bottom: 0;
    padding: 5px;
    font-size: 14px;
    color: #FFF;
    background: #009fe6;
    border-radius: 5px;
    text-align: center;
}


@media all and (min-width: 768px) {
}
@media all and (max-width: 767px) {
    p {
        font-size: 14px;
    }
    #contents {
        padding-bottom: 20%;
    }
    #mainVisual {
        background: url(../../img/doctor/mv_sp.jpg) top center no-repeat;
        background-size: 100% auto;
        height: 0;
        padding-bottom: 82.2%;
    }
    #mainVisual div {
        font-size: 6.4vw;
        padding-top: 0;
        width: 100%;
        position: absolute;
        top: 26%;
    }
    #mainVisual div span {
        font-size: 2.666666666666667vw;
        margin-bottom: 3vw;
    }
    #mainVisual h1 {
        position: initial;
    }
    .sub {
        margin-top: -37.8vw;
    }
    .sub .inner {
        font-size: 3.733333333333333vw;
        width: 89.33333333333333%;
        margin-top: -12.8vw;
    }
    article {
        width: 100%;
    }
    #article01 {
        margin-top: 5%;
    }
    #contents h2 {
        font-size: 4.4vw;
    }
    #contents h2 span {
        font-size: 3.2vw;
        margin-top: 23%;
    }
    article {
        margin-top: 43.6%;
    }
    article .inner {
        width: 89.33333333333333%;
    }
    article .inner > .clearfix {
        margin: 0;
    }
    article .inner .clearfix img,
    article .inner .clearfix div {
        width: 100%;
        float: none;
    }
    article .inner .clearfix img {
        margin-top: 5%;
    }
    article .inner .clearfix div {
        margin-top: 5%;
        margin-bottom: 5%;
    }
    article .inner .detail {
        border-top: none;
        position: relative;
    }
    article .inner .detail:before {
      content: '';
      position: absolute;
      left: 0;
      top: 0;
      display: inline-block;
      width: 50%;
      height: 2px;
      background-color: #222;
    }
    article .inner h3 {
        font-size: 3.2vw;
    }
    article .inner dt,
    article .inner dd {
        font-size: 14px;
    }
    article .inner .box {
        margin-top: 10%;
    }
	#docmedia h2 {
		width: 90%;
		margin: 0 auto 20px;
		font-size: 4.4vw;
	}
	#docmedia .media_new_block {
		display: block;
	}
	#docmedia .media_new_box {
		position: relative;
    	width: 100%;
	}
	#docmedia .media_new_box a {
		position: relative;
		display: flex;
		justify-content: space-between;
		flex-wrap: nowrap;
		margin-bottom: 5.333333333333333vw;
	}
	#docmedia .media_new_thumbnail {
		max-width: 100%;
		width: 28vw;
		min-height: auto;
		height: 21.333333333333332vw;
		flex-grow: unset;
		margin-bottom: 0;
		padding-top: 24%;
	}
	#docmedia .media_new_thumbnail img {
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		width: 100%;
		height: 100%;
		object-fit: cover;
	}
	#docmedia .media_new_title {
		max-width: auto;
		width: 58.666666666666664vw;
		flex-grow: unset;
		padding-left: 2.6666666666666665vw;
	}
	#docmedia .media_new_title p {
		font-size: 3.7333333333333334vw;
	}
	#docmedia .media_new_tag {
		position: absolute;
		bottom: 0;
		right: 0;
		left: auto;
		width: 58.666666666666664vw;
		max-width: auto;
		padding-left: 2.6666666666666665vw;
	}
	#docmedia .media_new_tag ul {
		display: inline-flex;
    	justify-content: flex-start;
	}
	#docmedia .media_new_tag ul li {
		position: relative;
   		width: 100%;
	}
	#docmedia .media_new_tag ul li a {
		font-size: 2.6666666666666665vw;
	}
	#docmedia .btn_more {
		font-size: 5.333333333333333vw;
		width: 89.55223880597015%;
		padding: 4vw;
	}
}
