@charset "utf-8";

/* ==========

患者の方へ

========== */


/* リード設定 -----------------------------*/
#mainLead {
  text-align: center;
  padding-bottom: 100px;
}
@media screen and ( max-width:640px ) {
  #mainLead {
    padding-bottom: 50px;
  }
}

#mainLead p {
  font-size: 3.2rem;
  line-height: 6.4rem;
  padding-bottom: 0;
}
@media screen and ( max-width:640px ) {
  #mainLead p {
    font-size: 2.0rem;
    line-height: 4.0rem;
  }
}

#mainSubLead {
   padding-bottom: 200px;
}
@media screen and ( max-width:640px ) {
  #mainSubLead {
    padding-bottom: 100px;
  }
 }

#mainSubLead p {
  font-size: 2.0rem;
  line-height: 4.0rem;
  padding-bottom: 0;
}
@media screen and ( max-width:640px ) {
  #mainSubLead p {
    font-size: 1.8rem;
    line-height: 3.6rem;
  }
}

#mainLeadImage {
  text-align: center;
  padding-bottom: 100px;
}
@media screen and ( max-width:640px ) {
  #mainLeadImage {
    padding-bottom: 50px;
  }
}

#mainLeadImage img {
  width: 757px;
  height: auto;
}
@media screen and ( max-width:640px ) {
  #mainLeadImage img {
    width: 90%;
  }
}



/* flex 設定 -----------------------------*/
.fbPatients {
  align-items: center; /* 縦方向そろえ：センター */
}
.fbPatients .fbItem {
  flex: 1; /* 主軸に沿って、各要素の割合 */
}

.fbPatients .fbTitle {
  margin-bottom: 0;
}
.fbPatients .fbContent {
  background: #f0f0f0;
}
@media screen and ( max-width:640px ) {
  .fbPatients .fbTitle {
    margin-bottom: 100px;
  }
  .fbPatients .fbContent {
    margin: -15px;
  }
}

.fbPatients .fbContent p {
  margin: 1rem 2rem;
  padding-bottom: 0;
}

.topImageStyle {
  text-align: center;
  width: 100%;
}
@media screen and ( max-width:640px ) {
  .topImageStyle {
    padding: 0 15px 0 15px;
  }
}


.topImageStyle a img {
  width: 500px;
  height: auto;
}
@media screen and ( max-width:640px ) {
  .topImageStyle a img {
    width: 100%;
    padding-bottom: 2em;
  }
}


/* flexの下のメモの設定 -----------------------------*/
.memo {
  padding-top: 50px;
  padding-left: 540px;
}
@media screen and ( max-width:640px ) {
  .memo {
    padding-top: 50px;
    padding-left: 0;
  }
}




/* ==========

用語の解説

========== */

/* flex 設定 -----------------------------*/

.fbGlossary .fbItem {
  flex: 1; /* 主軸に沿って、各要素の割合 */
}

@media screen and ( max-width:640px ) {
  .fbGlossary .fbTitle {
    border-bottom: 1px solid #c0c0c0;
    padding-bottom: 1.2rem;
    margin-bottom: 50px;
  }
  .fbGlossary .fbContent p {
    font-size: 1.6rem;
    line-height: 3.2rem;
  }  
}



/* ==========

IRUD連携病院

========== */



/* google maps 設定 -----------------------------*/

.gmap {
  height: 0;
  overflow: hidden;
  padding-bottom: 100%;
  position: relative;
  margin-bottom: 50px;
}
.gmap iframe {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
}

/* Google Maps 設定 */
.ggmap iframe {
  width: 100%;
}


/* youtube 設定 -----------------------------*/
.media {
  margin: 0 150px;
}
@media screen and ( max-width:640px ) {
  .media {
    margin:inherit;
  }
}

.mov {
  height: 0;
  overflow: hidden;
  padding-bottom: 56.25%;
  position: relative;
}
.mov iframe {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
}


/* flex 設定 -----------------------------*/
.fbPrefecture {
  align-items: flex-start; /* 縦方向そろえ：センター */
}
.fbPrefecture .fbItems {
  flex: 1; /* 主軸に沿って、各要素の割合 */
  margin-bottom: 150px;
  width: 100%;
}
@media screen and ( max-width:640px ) {
  .fbPrefecture .fbItems:nth-of-type(1) {
    margin-bottom: 0px;
  }
  .fbPrefecture .fbItems:nth-of-type(2) {
    margin-top: 10px;
  }
}


/* 都道府県検索(dl) 設定 -----------------------------*/
dl:after { /* 共通 */
	content: "";
	display: block;
	clear: both;
}
dl.prefectures dt,
dl.prefectures dd
{
  font-size: 1.8rem;
  padding: 0;
  /*border: 1px solid red;*/
}

/*
dl.prefectures dt {
  width: 540px;
  vertical-align: top;
  float: left;
  clear: left;
  margin-top: 150px;
}

dl.prefectures dd:nth-of-type(1),
dl.prefectures dd:nth-of-type(2) {
  width: 540px;
  vertical-align: top;
  float: left;
  clear: left;
}

dl.prefectures dd:nth-of-type(3) {
  width: 540px;
  vertical-align: top;
  float: right;
  clear: right;
}
*/


/*=== form/select  ===*/

form {
  position: relative;
  display: inline-block;
  margin-bottom: 100px;
}

.btn {
  position: absolute;
  display: inline;
  margin-left: 20px;
  
  font-family: 'Noto Serif JP', serif; 
  font-size: 17px;
  top: 50%;
  margin-top: -1em;/*「アイコンフォント一文字の半分」のネガティブマージン*/
}

.selectdiv {
  position: relative;
  /*Don't really need this just for demo styling*/
  
  float: left;
  min-width: 200px;
  /*margin: 50px 33%;*/
}

/* IE11 hide native button (thanks Matt!) */
select::-ms-expand {
display: none;
}

.selectdiv:after {
  content: '<>';
  font: 17px "Consolas", monospace;
  color: #333;
  -webkit-transform: rotate(90deg);
  -moz-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  transform: rotate(90deg);
  right: 11px;
  /*Adjust for position however you want*/
  
  top: 18px;
  padding: 0 0 2px;
  border-bottom: 1px solid #999;
  /*left line */
  
  position: absolute;
  pointer-events: none;
}

.selectdiv select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  /* Add some styling */
  
  display: block;
  width: 100%;
  max-width: 320px;
  height: 50px;
  float: right;
  margin: 5px 0px;
  padding: 0px 24px;
  font-family: 'Noto Serif JP', serif;
  font-size: 16px;
  line-height: 1.75;
  /*color: #333;*/
  background-color: #ffffff;
  background-image: none;
  border: 1px solid #cccccc;
  -ms-word-break: normal;
  word-break: normal;
}

