/* Site All */
@font-face {
  font-family: Awesome;
  src: url('../font/Font Awesome 5 Free-Solid-900.otf') format("opentype");
}

@font-face {
  font-family: Genju;
  src: url('../font/GenJyuuGothic-P-mini.woff') format("truetype");
}

@font-face {
  font-family: Noto;
  src: url('../font/NotoSerifCJKjp-mini.woff') format("opentype");
}



/* site(font-size) standard */
body {
  font-size: 16px;
}
ul {
  list-style: none;
}

p {
  font-size: 1.1rem;
}

/* contents */
.contents-title{
  text-align: center;
  position: relative;
  padding: 0.1em 1em;
  border-top: solid 2px black;
  border-bottom: solid 2px black;
  margin: 20px auto 10px auto;

  font-size: 1.6rem;
}
.contents-title:before, .contents-title:after{
  content: '';
  position: absolute;
  top: -7px;
  width: 2px;
    height: -webkit-calc(100% + 14px);
  height: calc(100% + 14px);
  background-color: black;
}

.contents-title:before {left: 7px;}
.contents-title:after {right: 7px;}

/* responsive text */
.text {
  display: inline-block;
}

.menu-text {
  font-size: 14px;
  position: relative;
  top: -32px;
  margin-bottom: -32px;
}

/* header */

.in-prof{
  font-size: 2rem;
}

/* Top bar customize */
.top-bar {
  padding: 0.25em 0;
  background-color: white;
}

.top-item {
  margin-left: 10px;
}

.top-bar a {
  background-color: white;

}

.top-bar ul {
  background-color: white;
}

.menu li {
  text-align: center;
}

/* left-image */
.left_box {
  text-align: center;
}

/* global-menu */

#global-menu {
  font-family: Genju;
  margin-bottom: 1px;
}

.g-navi {
  position: relative;
  z-index: 100;
}

.item-name {
  font-size: 16px;
}

.item-cap {
  font-size: 12px;
}

#prof-tel {
  font-size: 1.7em;
  color: #4169e1;
}

#prof-tel i {
  margin-right: 10px;
}

/* catch phrase */
#catch-phrase {
  text-align: center;
  font-family: noto;
  margin-top: 20px;
  margin-bottom: 50px;

}


/* articles */
.articles {
  margin-bottom: 15px;
}

.service {
  height: 130px;
}

.captions {
  font-family: Noto;
  font-size: 16px;
  padding-bottom: 10px;
  margin: 0 auto;
  letter-spacing: 0.1em;
  width: 96%;

}

.list-item {
  margin-left: -10px;
  letter-spacing: 0.1em;
}

.list-item:before {
  font-family: "Awesome";
  content: "\f06c";
  margin-right: 10px;
  color: #9ac29f;
}

.detail {
  text-align: right;
  margin-right: 5px;
}

.nursing-article {
  border: 2px solid #f5dfa6;
  border-radius: 15px;
  margin-bottom: 20px;
}

.caring-article {
  border: 2px solid #c8d85b;
  border-radius: 15px;
  margin-bottom: 20px;
}

.option-article {
  border: 2px solid #f7f39c;
  border-radius: 15px;
  margin-bottom: 20px;
}

.article-image {
  width: 98%;
  margin: 0 auto;
  padding: 20px 0;
}

/* footer */
footer {
  background-color: #f5dfa6;
  padding: 10px 0;
}

.footer-block {
  margin-top: 30px;
  margin-bottom: 0;
}

.footer-menu {
  font-size: 1rem;
  position: relative;
  margin-left: auto;
  margin-right: auto;

}

.footer-menu li a{
  /*color: #4169e1;*/
  color: #464646;
  text-decoration: underline
}

.footer-menu li i{
  margin-right: 2px
}

#footer-logo {
  position: relative;

  z-index: 100;
}

#footer-address {
  margin-top: 20px;
}

.footer-item {
  border-left: 1px dotted #333;
  border-right: 1px dotted #333;
}


.footer-button {
  transition: 0.5s;
}

.footer-button:hover {
  color: #474747;
}

.footer-text{
  position: relative;

}

#footer-english-name {
  width: 100%;
  margin-bottom: 20px;
  padding: 0;
  border-bottom: 3px dotted #4169e1;
  font-size: 1rem;
  text-align: center;

}

#footer-english-name i {
  margin-right: 10px;
}

#footer-address span {
  margin-left: 5px;
  margin-right: 10px;
}

/* wave and button*/
.orbit-bullets {
  position: relative;
  top: -10px;
  z-index: 30;
}

#catch-wave {
  transform: scale(1,-1);
  position: relative;
  top: -70px;
  margin-bottom: 0px;
  z-index: 20;

}

.footer-wave {
  transform: scale(1,-1);
  position: relative;
  top: 40px
}

#svg-bg {
  width: 100%;
  height: 100px;
  z-index: -1;
  overflow: hidden;
}


/* other page contents */
#office-list {
  margin-top: 50px;
}

#office-list td, #office-list th{
  border: 1px solid #CCCCCC;
}

#office-list i {
  color: blue;
  font-size: 2em;
}

.office-name {
  font-size: 1.1em;
}

.office-address, .office-tel {
  font-size: 1rem;
}

.office-tel {
  color: #4169e1;
}


td.base {
  background-color: white;
}


/* */
  .menu-block {
    position: relative;
    top: -100px;
    margin-bottom: -100px;
  }

.pol {
  text-align: center;
}

#policy {
  display: block;
  -webkit-writing-mode: vertical-rl;
      -ms-writing-mode: tb-rl;
          writing-mode: vertical-rl;
  margin: 0.5vw auto 0 5vw;
  text-align: left;
  font-size: 1.4vw;
  letter-spacing: 0.08vw;
  line-height: 200%;
  font-family: noto;
  padding: 0;
  
}

/* responsive */
@media screen and (min-width: 0px){
  .top-bar {
    font-size: 12px;
    width: 95%;
    margin: 0 auto;
  }
  
  h1 {
    position: relative;
    z-index: 100;
    top: -10px;
  }

}

/* medium */
/*@media screen and (min-width: 640px){
  #policy {
    writing-mode: vertical-rl;
    margin: 0.5vw auto 0 auto;
    text-align: left;
    font-size: 1vw;
    letter-spacing: 0;
    font-family: noto;
  }

}

@media screen and (max-width: 639px){
  #policy {
    display: none;
  }
    

}*/


/* large */
@media screen and (min-width:1024px) {

    .pagenow {
    border-bottom: 2px dotted black;
    position: relative;
    top: -10px;
    width: 80%;
    margin: 0 auto;

  }
  
  .top-bar {
    font-size: 14px;
  }
  
  .catch-title {
    font-family: noto;
    font-size: 32px;
  }

  .catch-detail {
    font-family: noto;
    font-size: 22px;
    text-align: center;
    line-height: 2.2em;
  }
  
  .catch-block {
    margin-top: 30px;
  }
  
  .mini-br {
    display: none;
  }
  
  #copyright {
    width: 100%;
    height: 1.5em;
    font-size: 1.2em;
    text-align: right;
    margin-bottom: 10px;
    position: relative;
    top: 25px;
  }
  
}

@media screen and (max-width: 1023px) {
  #policy {
    display: none;
  }
  
  .pagenow {
    display: none;
  }
  .tel-mail {
    display: none;
  }
  
  #copyright {
    width: 100%;
    height: 1.5em;
    font-size: 1em;
    text-align: center;
    margin-top: 20px;
  }
  
  .catch-title {
    font-family: noto;
    font-size: 6vw;
  }

  .catch-detail {
    font-family: noto;
    font-size: 4vw;
    text-align: center;
    line-height: 2.2em;
  }
  
}

/* pdf要素自動 
----------------------------------------------------------- */  
a[href$=".pdf"]:after {
    content:" ";
    display: inline-block;
    width: 32px;
    height: 32px;
    margin-left: 5px;
    background: url(../img/pdf_icon.png) no-repeat;
}