@charset "utf-8";

/*レスポンシブ対応設定*/
html{
-webkit-text-size-adjust: 100%;
}
img{
    max-width: 100%;
    height: auto;
}
iframe{
    max-width: 95%;
    margin: 30px 0px;
}

/*ウィンドウ背景色の設定*/
.toptheme{
  background: url(../img/top.jpg) center center no-repeat;
  background-size: cover;
  margin-top: 0;
  text-decoration-color: black;
  max-width: 100%;
  height: auto;
  
}
.pfstheme{
  background: url(../img/pfs-image-body.jpg) left repeat;
  background-size: 500px 500px;
  margin-top: 0;
  max-width: 100%;
  height: auto;
}
/*文字の設定*/
span{
  font-size: 80%;
  font-weight:normal;
}
strong{
    color: red;
}
/*背景の設定*/
.themepfschild{
  background: url(../img/) right no-repeat;
  background-size: 300px 250px;
  height: 200px;
  margin-top: 0;
}
.themecompanychild{
  background: url(../img/) left no-repeat;
  background-size: 300px 150px;
  height: 200px;
  margin-top: 0;  
}

/*リンクの設定*/
a:hover{
   color: fuchsia; 
}
/*お知らせ欄の設定*/
article{
  width: auto;
  margin: 20px auto;
  padding: 10px;
  border: 2px solid darkblue;
}
   
/*ヘッダー,フッターの設定*/
header{
   text-align: center;
}
footer{
    background-color: lightgray;
    margin: 0;
}
footer nav li{
    text-align: center;
    text-decoration: none;
    list-style-type: none;
}
.copyright{
    text-align: center;
    font-size: small;
}
header p{
    text-align: left;
}
address {
  font-style: normal;
}
/*ナビとフッターメニュー*/

.pfstopmenu .flex{
    display: flex;
    justify-content: space-between;
    
}
.menu li{
   list-style-type: none;
   border: 1px solid gray;
    background-color: lightgray;
    color: black;
   display: inline-block;
   text-align: center;
   margin: 5px;
   padding: 10px;
   width: 200px;
   text-decoration: none;
}
/*サイズ表*/
table.size,tr
table.size,td{
   text-align: center;
   border: 1px solid darkblue; 
   border-collapse: collapse;
}
/*推奨医療機関　日本地図*/
table.jp-map,
table.jp-map td,
table.jp-map th {
border: none;
border-collapse: collapse;
}
table.jp-map td,
table.jp-map th {
padding: 10px;
text-align: center;
}
table.jp-map td[class] {
border: 1px solid #fff;
}
table.jp-map td a {
color: #ffffff;
text-decoration: none;
}
.hokkaido {
background-color: #673AB7;
}
.tohoku {
background-color: #3F51B5;
}
.kanto {
background-color: #2196F3;
}
.chubu {
background-color: #009688;
}
.kinki {
background-color: #FFC107;
}
.chugoku {
background-color: #FF9800;
}
.shikoku {
background-color: #FF5722;
}
.kyushu {
background-color: #f44336;
}
.okinawa {
background-color: #E91E63;
}
/*お知らせ欄*/
.companynews iframe{
  width:100%;
  height: 250px;
}
/*ページタイトルの設定*/
h1 {
  width: auto;
  margin-top: 0px;
  padding: 30px;
  border: 1px solid darkblue;
  background-color: darkblue;
  color: white;
  font-size: 200%;
  line-height: 1;
  max-width: 100%;
}

/*大見出しの設定*/
h2 {
  padding: 10px;
  margin-bottom: 30px;
  background-color: white;
  border-left: 10px solid darkblue;
  color: darkblue;
  text-align: left;
    
}


/*小見出しの設定*/
h3{
  padding: 10px;
  margin-bottom: 10px;
  background-color: white;
  border-bottom: 3px solid darkblue;
  color: darkblue; 
}

h4{
    color: darkblue;
}

/* 文章部分の設定*/
/*確認・移転案内など*/
.letter{
    border: 1px solid darkblue;
    text-align: center;
    padding: 20px;
    margin: 20px;
}
/*pfsdocter患者様からのメール・連絡先*/
.letter2{
   border: 1px solid darkblue;
    text-align: left; 
   padding: 10px;
   margin: 20px;
}
.text p{
    text-indent: 1rem;
}
/*記述リストの設定*/
dl dt{color: darkblue;
      font-weight: bold;
}


/*表の設定*/
.history table td{
    width: auto;
    border: 1px solid gray;
}
.history table{
    border:1px solid gray;
    background-color: white;
}    
/*ボタン*/
.container {
  padding: 16px;
    margin: 20px;
}

.btn {
  padding: 10px 10px; /* 内側の余白設定 */
  background-color: gray; /* 背景色指定 */
  text-decoration: none; /* aタグの下線を非表示に */
  color: #fff; /* 文字色 */
  margin: 20px;
  padding: 5px;
}

.btn:hover { 
  background-color: lightgray; /* 背景色 */
}
.btn2 {
  padding: 10px 10px; /* 内側の余白設定 */
  background-color: lightblue; /* 背景色指定 */
  margin: 5px;
  padding: 5px;
    text-align: center;
     width: 300px;
    height: auto;
    float: right;
}
.btn2 a{
    text-decoration: none; 
}

/*ページトップへアイコン*/
/* ボタン全体 */
.page-top {
width: 35px;
height: 35px;
position: fixed;
right: 10px;
bottom: 10px;
background: gray;
opacity: 0.6;
border-radius: 50%;
text-align: center;
}

.page-top::after {
content:'△ TOP';
font-size: 10px;
color: #fff;
position: absolute;
margin: auto;
text-align: center;
width: 50%;
top: 7%;
left: 48%;
transform: translate(-50%);
}


/*youtubeリンクの設定*/
iframe {
 border: none;
 overflow: hidden;
}




/*セクション間隔*/
section+section{
    margin-top: 80px;
}


/*回り込み設定*/
.link{
    float: left;
}
.clear{
    clear: both;
}
.imgl{
    float: left;
}
.imgr{
    float: right;
}
/*右寄せ・左寄せの設定*/
.right{
    text-align: right;
}
.center{text-align: center;
}
/*固定配置*/
.to-top{
    position: fixed;
    right: 0;
    bottom: 0;
    border: 2px solid gray;
    background-color: lightgray;
    text-decoration: none;
}
/*パンくずリスト*/
.gnav{
    top: 0;
    width: 100%;
    height: auto;
    background-color: #fff;
    list-style-type: none;
    display: inline; 
    text-align: left
    }
.breadcrumb *, .breadcrumb *:after, .breadcrumb *:before {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
.breadcrumb {
  overflow: hidden;
  width: 100%;
  margin: 1em auto;
  margin-bottom: 0;
  padding: 0;
  list-style: none;
}
.breadcrumb li {
  display: inline-block;
  padding: 0;
  margin: 0 0 0.5em 0;
}
.breadcrumb a {
  position: relative;
  display: inline-block;
  margin: 0;
  padding: 0.7em 1em 0.7em 2em;
  text-decoration: none;
  color: #ffffff;
  background-color: #8a8a8a;
}
.breadcrumb li:first-child a {
  padding-left: 1em;
  border-radius: 5px 0 0 5px;
}
.breadcrumb a::after,
.breadcrumb a::before {
  position: absolute;
  top: 50%;
  right: -1.5em;
  margin-top: -1.48em;
  content: '';
  border-top: 1.48em solid transparent;
  border-bottom: 1.48em solid transparent;
  border-left: 1.5em solid;
  }
.breadcrumb a::after {
  z-index: 2;
  border-left-color: #8a8a8a;
}
.breadcrumb a::before {
  z-index: 1;
  right: -1.8em;
  border-left-color: #ffffff;
}
.breadcrumb li:nth-child(2) a       { background:        #949494; }
.breadcrumb li:nth-child(2) a:after { border-left-color: #949494; }
.breadcrumb li:nth-child(3) a       { background:        #bfbfbf; }
.breadcrumb li:nth-child(3) a:after { border-left-color: #bfbfbf; }
.breadcrumb li:nth-child(4) a       { background:        #d4d4d4; }
.breadcrumb li:nth-child(4) a:after { border-left-color: #d4d4d4; }

.breadcrumb li:last-child a {
  cursor: default;
  pointer-events: none;
  color: black;
  background: #e9e9e9;
  border-radius: 0 5px 5px 0;
}
.breadcrumb li:last-child a:hover {
  background: none;
}
.breadcrumb li:last-child a::before,
.breadcrumb li:last-child a::after {
  content: normal;
}


