@charset "utf-8";

.second-main-view {
	display: block;
	position: relative;
	width: 100%;
	height: 300px;
	/*padding-top: 62.5%;画像を大きくする場合*/
	background-image: url("../../images/hawk.jpg");
	/*background-image: -webkit-image-set( url(../images/cgm.jpg) 1x, url(../images/cgm@2.jpg) 2x, url(../images/cgm@3.jpg) 3x );
	background-image: image-set( url(../images/cgm.jpg) 1x, url(../images/cgm@2.jpg) 2x, url(../images/cgm@3.jpg) 3x );*/
	background-size: cover;
	background-repeat: no-repeat;
	background-position: top center;
	-moz-box-sizing: border-box;
    box-sizing: border-box;
	margin-bottom: 10px;
}

.second-main-title {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translateY(-50%) translateX(-50%);
	-webkit-transform: translateY(-50%) translateX(-50%);
	font-weight: 600;
	font-size: 4rem;
	text-shadow: -1px 2px 2px #FFFFFF;
	text-align: center;
	background-color: rgba(255,255,255,0.80);
	height: 100%;
}

h2 {font-size: 3rem}

.bread {
	width: 100%;
	margin-top: 6px;
	margin-bottom: 6px;
}

.breadcrumb {
	margin: 0;
	width: auto;
	overflow-x: scroll;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
	padding-left: 1.5rem;
	-ms-overflow-style: none; /* IE, Edge 対応 */
	scrollbar-width: none; /* Firefox 対応 */
}
.breadcrumb::-webkit-scrollbar {display: none;}/* Chrome, Safari 対応 */

.breadcrumb li {
	position: relative;
	display:inline-block;
	list-style: none;
	font-weight: bold;
	margin-right: 12px;
}
.breadcrumb li:after {
	content: "";
	position: absolute;
	top: 0;
	left: 100%;
	border-style: solid;
	border-color: transparent;
	border-left-color: #CAF1E4;
	border-width: 14px 12px;
	width: 0;
	height: 0;
}

.breadcrumb li a {
	display: inline-block;
	padding: 0 3px 0 7px;
	height: 28px;
	line-height: 28px;
	text-decoration: none;
	color: #747772;
	background: #CAF1E4;
	font-size: 13px;
	margin-bottom: 4px;
}

/*common parts for second view*/


.second-main-content {
	width: 100%;
	height: auto;
	padding-bottom: 40px;
	margin: 0 auto;
}

ul.treatment-title {
	padding-top: 10px;
	padding-bottom: 40px;
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	width: 90%;
	margin: 0 auto;
	justify-content: center;
}

ul.treatment-title li {
	display: table;
	position: relative;
	width: 44%;
	height: 180px;
	margin: 3%;
	text-align: center;
	box-sizing: border-box;
	background-position: center;
	background-size: cover;
}

ul.treatment-title li a {
	color: #FFFFFF !important;
	text-shadow:2px 2px 3px #000, -2px -2px 3px #000, -2px 2px 3px #000, 2px -2px 3px #000, 0px 2px 3px #000,  0 -2px 3px #000, -2px 0 3px #000, 2px 0 3px #000;
}
ul.treatment-title li:before {
	border-left: 3px solid #476557;
	border-right: 3px solid #476557;
}
ul.treatment-title li:after {
	border-top: 3px solid #476557;
	border-bottom: 3px solid #476557;
}

ul.treatment-title li:before {
	content: '';
	position: absolute;
	top: -8px;
	left: -3px;
	height: calc(100% + 16px);
	width: 100%;
	pointer-events: none;
}

ul.treatment-title li:after {
	content: '';
	position: absolute;
	top: -3px;
	left: -8px;
	height: 100%;
	width: calc(100% + 16px);
	pointer-events: none;
}

ul.treatment-title li a {
	display: table-cell;
	vertical-align: middle;
	width: 100%;
	height: 100%;
	font-size: 1.8rem;
	font-weight: 600;
}

ul.treatment-title {
	padding-top: 10px;
	padding-bottom: 40px;
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	width: 90%;
	margin: 0 auto;
}

ul.treatment-title li {
	display: table;
	position: relative;
	width: 44%;
	height: 180px;
	margin: 3%;
	text-align: center;
	box-sizing: border-box;
	background-position: center;
	background-size: cover;
}

ul.treatment-title li a {
	color: #FFFFFF !important;
	text-shadow:2px 2px 3px #000, -2px -2px 3px #000, -2px 2px 3px #000, 2px -2px 3px #000, 0px 2px 3px #000,  0 -2px 3px #000, -2px 0 3px #000, 2px 0 3px #000;
}
ul.treatment-title li:before {
	border-left: 3px solid #476557;
	border-right: 3px solid #476557;
}
ul.treatment-title li:after {
	border-top: 3px solid #476557;
	border-bottom: 3px solid #476557;
}

ul.treatment-title li:before {
	content: '';
	position: absolute;
	top: -8px;
	left: -3px;
	height: calc(100% + 16px);
	width: 100%;
	pointer-events: none;
}

ul.treatment-title li:after {
	content: '';
	position: absolute;
	top: -3px;
	left: -8px;
	height: 100%;
	width: calc(100% + 16px);
	pointer-events: none;
}

ul.treatment-title li a {
	display: table-cell;
	vertical-align: middle;
	width: 100%;
	height: 100%;
	font-size: 1.8rem;
	font-weight: 600;
}

.concept {
	display: block;
	font-size: 2.2rem;
	font-weight: 600;
	padding: 2rem;
	margin-top: 10px;
	background-image: url(../images/treatment-back.jpg);
	background-image: -webkit-image-set( url(../images/treatment-back.jpg) 1x, url(../images/treatment-back@2.jpg) 2x, url(../images/treatment-back@3.jpg) 3x );
	background-image: image-set( url(../images/treatment-back.jpg) 1x, url(../images/treatment-back@2.jpg) 2x, url(../images/treatment-back@3.jpg) 3x );
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
}

.concept span {
	display: inline-block;
}

.concept-title {
	display: block;
	text-align: center;
	padding: 30px 20px 10px;
	font-size: 1.9rem;
	font-weight: 600;
}

.concept-cont {
	display: block;
	margin: 0 auto;
	text-align: left;
	text-indent: 1rem;
	width: 80%;
	padding: 1rem 0;
	font-size: 1.7rem;
}

.concept-cont2 {
	display: block;
	margin: 0 auto;
	text-align: center;
	width: 90%;
	font-weight: bold;
	padding: 1.8rem 0;
	font-size: 2.2rem;
	background: #F1E7CA;
	border-radius: 15px;
}

.concept-bet {
 	display: flex;
	justify-content: center;
	align-items: center;
	height: 40px;
	margin: 0 auto 2rem;
	font-size: 6rem;
	font-weight: bold;
	color: #F1E7CA!important;
}

.boldunder{
	font-weight: bold;
	text-decoration: underline dotted;
	color: darkblue;
}

.between {
	background: url("../images/line2.svg") no-repeat;
	background-size: contain;
	background-position: center;	
	height: 20px;
	width: 100%;
}

.sub-title {
	display: block;
	width: 90%;
	margin: 4rem auto 1rem;
	padding: 1rem 2rem;
	background: #ADABF4;
	border-radius: 1rem;
	font-weight: bold;
}

.illust {
	width: 100%;
}

.illust img {
	display: block;
	width: 90%;
	margin: 0 auto;
	padding-top: 20px;
}

/*追加*/

.concept-cont a,
.second-main-content table tr td a{
	text-decoration: underline;
	color: darkgreen;
}

.second-main-content table {
	margin: 2rem auto;
	width: 90%;
	font-size: 1.8rem;
	border-collapse: collapse;
}

.second-main-content table td {
	display: block;
	margin: 0 auto;
	padding-top: 1rem;
	padding-bottom: 1rem;
}

.second-main-content table td:nth-of-type(1) {
	text-align: center;
	width: 94%;
	background: #CAF1E4;
	padding: 1rem 1.2rem;
}

.second-main-content table td:nth-of-type(2) {
	text-align: left;
	width: 92%;
}

.strong-annot {
	color: red;
	font-weight: bold;
	text-align: center!important;
}

.table-color-change td:nth-of-type(1) {
	background: #F1E7CA!important;
}

.second-main-content table tr td ul {
	padding-left: 0.4rem;
	list-style-type: none!important;
}

.second-main-content table tr td ul li{
	margin-bottom: 1.2rem;
}

.second-main-content table tr td ul li span{
	display: inline-block;
}

ul.treatment-title li:nth-child(1) {background-image: url("../images/osasdisease.jpg");}
ul.treatment-title li:nth-child(2) {background-image: url("../images/apno.jpg");}
ul.treatment-title li:nth-child(3) {background-image: url("../images/cpap.jpg");}

.bg-opacity2 {
	background: rgba(71,101,87,0.2);
	width: 100%;
	height: 100%;
	display: table;
}

.link-cgm {
	display: block;
	position: relative;
	width: 40%;
	margin: 2.4rem auto;
	padding: 1rem 2.4rem;
	color: #FFF !important;
	background: #DC7E06;
	border-radius: 3rem;
}

.link-cgm:after {
	content: "";
	position: absolute;
	top: 40%;
	right: 8%;
	width: 6px;
	height: 6px;
	border-top: solid 2px #FFF;
	border-right: solid 2px #FFF;
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
}

.link-color {
	background: #5978C1!important;
}

.wearingcgm {
	background: url("../images/wearingCGM.jpg") no-repeat;
	background-size: 90% auto;
	background-position: center;	
	width: 50%;
	margin: 0 auto;
}
.wearingcgm::before {
  content: '';
  display: block;
  padding-top: 77%;
}
.wearingfgm {
	background: url("../images/wearingFGM.jpg") no-repeat;
	background-size: 74% auto;
	background-position: center;	
	width: 50%;
	margin: 0 auto;
}
.wearingfgm::before {
  content: '';
  display: block;
  padding-top: 66%;
}

.accordion-title {
	margin-top: 30px;
	margin-left: 2.4rem;
	background: url("../images/dot3.svg") no-repeat;
	background-size: 14px;
	background-position: left 4px top 6px;
	position: relative;
	padding-left: 3rem;
	font-size: 1.9rem;
}

.accordion-box {
	width: 80%;
	margin: 0 auto;
	padding-bottom: 3rem;
}

.accordion-inner {
	padding: 1.2rem;
	border-left: 1px solid #d9d9d9;
	border-right: 1px solid #d9d9d9;
	border-bottom: 1px solid #d9d9d9;
	border-radius: 0 0 20px 20px;
}

.accordion-inner-padding {
	padding-top: 1.6rem;
}

.accordion-inner p a {
	text-decoration: underline !important;
}

.accordion-heading {
	display: block;
	position: relative;
	margin-top: 1.6rem;
	padding: 1rem 2rem;
	background: #CAF1E4;
	border-radius: 20px 20px 0 0;
	text-decoration: underline !important;
}
 
.accordion-content {
	overflow: hidden;
	max-height: 0;
	transition: max-height 0.3s ease-out 0s;
}
 
.accordion-checkbox {
	display: none;
}
 
.accordion-checkbox:checked + .accordion-content {
	max-height: 9999px;
	transition: max-height 1.5s ease-in;
}

/*2021追加*/
.photo {
	display: flex;
	width: 80%;
	margin: 40px auto;
}

.photo-cont:nth-child(1) {
	display: flex;
	width: 40%;
	flex-direction: column;
	justify-content: center;
}

.photo-cont:nth-child(2) {
	display: flex;
	width: 60%;
	flex-direction: column;
	justify-content: center;
}

.photo-cont p {
	text-align: right;
}

.photo img {
	width: 100%;
	max-width: 360px;
	margin: 0 auto 0 2rem;
}

.headline {
	font-size: 1.8rem;
	padding-bottom: 1rem;
}

.main-name {
	font-size: 2.2rem;
	font-weight: 600;
}

.step-title {
	width: 70%;
	font-size: 2.7rem;
	font-weight: 600;
	text-align: center;
	margin: 2.2rem auto;
	padding: 1rem 0;
	color: #FFF !important;
	background: #DC7E06;
	border-radius: 1.5rem;
}

.step-title span{
	display: inline-block;
}

.add-concept {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	margin: 1.6rem 1rem 1.6rem 9%;
	border-top-left-radius: 4.6rem;
	border-bottom-right-radius: 5rem;
	background: linear-gradient(to bottom right, #24D189, #9EC1FC);
}

.add-concept p {
	text-align: left;
	color: white;
	text-shadow: 1px 1px 2px darkgreen, -1px -1px 2px darkgreen, -1px 1px 2px darkgreen, 1px -1px 2px darkgreen, 2px 1px 2px darkgreen,-2px -1px 2px darkgreen, -2px 1px 2px darkgreen, 2px -1px 2px darkgreen, 1px 2px 2px darkgreen,-1px -2px 2px darkgreen, -1px 2px 2px darkgreen, 1px -2px 2px darkgreen;
	font-size: 3rem;
	margin-left: 6%;
	padding: 1rem;
}

.add-concept p a{
	font-size: 1.6rem;
	margin-left: 2rem;
	color: white;
	text-shadow: none;
	text-decoration: underline;
}

ul.treatment-link {
	padding-top: 10px;
	padding-bottom: 0px;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	list-style: none;
	width: 90%;
	margin: 0 auto;
}
ul.treatment-link li {
	display: table;
	position: relative;
	width: 80%;
	padding: 10px;
	margin: 10px;
	text-align: center;
	box-sizing: border-box;
	border: 2px solid #476557;
	background: rgba(217,247,245,0.50);
}
ul.change-color li {background: rgba(248,217,158,0.74) !important;}

ul.treatment-link li:after {
	content: "";
	position: absolute;
	top: 2px;
	left: 2px;
	height: calc(100% - 8px);
	width: calc(100% - 8px);
	border: solid 2px #476557;
	pointer-events: none;
}
ul.treatment-link li:last-child {
	margin-bottom: 40px;
}
ul.treatment-link li a {
	display: table-cell;
	vertical-align: middle;
	width: 100%;
	height: 100%;
	font-size: 1.8rem;
	font-weight: 600;
}
@media screen and (min-width: 769px) {
	ul.treatment-link li:last-child {
	margin-bottom: 10px;
	}
}
@media screen and (min-width: 1024px) {
	ul.treatment-link li {
		width: 28%;
	}
}


@media screen and (max-width: 320px) { /*iPhone SE用クエリ*/

} 

@media screen and (min-width: 481px) {} 

@media screen and (min-width: 769px) {
	.second-main-view {height: 400px;}
	
	ul.treatment-title li {
	width: 30%;
	height: 230px;
	margin: 1.5%;
	}
	
	.sub-title {width: 60%;}
	
	.illust img {width: 50%;}
	
	/*今回追加*/
	
	.second-main-content table td {
		display: table-cell;
	}
	
	.second-main-content table td:nth-of-type(1) {
		width: 30%;
		border-bottom: dotted 1px #717171;
	}

	.second-main-content table td:nth-of-type(2) {
		width: 70%;
		border-bottom: dotted 1px #717171;
	}
	
	.second-main-content table tr:last-of-type td:nth-of-type(1),
	.second-main-content table tr:last-of-type td:nth-of-type(2){
		border-bottom: none;
	}
}  

@media screen and (min-width: 1024px) {
	.second-main-content {width: 70%}

}