/*  
  Theme Name: 訪問看護ステーション華のテーマ
  Theme URI: 
  Description: 訪問看護ステーション華のテーマ
  Version: 1.0.0
*/

/* Base Layout CSS */
body {
  font-size: 16px;
  font-family: 'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','メイリオ',Meiryo,'ＭＳ Ｐゴシック',sans-serif;
  line-height: 180%;
  letter-spacing: 2.4pt;
  color: #333;
}

a:not(.btn) {
  transition: .4s;
}
a:not(.btn):hover {
  padding-left: 3px;
}
img {
  max-width: 100%;
  height: auto;
  transition: .4s;
}
a:hover img {
  -moz-opacity:0.65;
  opacity:0.65;
  filter:alpha(opacity=65);
  transition: .4s;
}
img, a:link img, a:visited img {
  border:0;
  vertical-align:bottom;
}
hr {
  margin: 30px 0;
  border: none;
  display: block;
  height: 1px;
  background-color: #CCC;
}
figcaption {
	text-align: center;
}

/* Bootstrap CSS Customize */
h1,h2,h3,h4,h5,h6 { font-weight: bold; }

.breadcrumb {
  background-color: transparent;
  padding-left: 0;
  padding-right: 0;
}
.breadcrumb-item + .breadcrumb-item::before {
  content: '>';
}
@media (max-width:992px){
  .container {
    max-width: 100%;
  }
}



/* Header CSS Customize */
#header {
  position: relative;
  background: url(images/titleimage.jpg) no-repeat center center #FCEBF1;
  background-size: cover;
}
#globalHeader {
  height: 120px;
}
#globalHeader .logo {
  padding-top: 20px;
}
#globalHeader .logo img {
  max-height: 80px;
}
#globalHeader .slideshow img {
  width: 100%;
  height: auto;
}
body.home #header {
  background: url(images/topimage01.jpg) no-repeat center center #FCEBF1;
  /*background-size: cover;*/
  background-size: contain;
}
body.home #globalHeader {
  height: 500px;
}
body.home #globalHeader .logo img {
  max-height: 100%;
}
@media (max-width:992px){
  body.home #globalHeader .logo img {
    max-height: 200px;
  }
}
@media (max-width:599px){
  body.home #header {
    background: url(images/topimage01.jpg) no-repeat left top;
    background-size: auto 100%;
  }
  body.home #globalHeader {
    height: 250px;
  }
  body.home #globalHeader .logo img {
    max-height: 120px;
  }
}


/* Navi CSS Customize */
#navigation {
  background: linear-gradient(180deg, #FCEBF1 0%, #FCEBF1 50%, #FBE2EA 50%, #FBE2EA 100%);
  font-size: 110%;
  font-weight: bold;
  margin-bottom: 20px;
}
#globalNavi ul {
  display: block;
  padding: 0;
  width: 100%;
}
#globalNavi ul li {
  display: inline-block;
  width: 20%;
  text-align: center;
  border-left: 1px dotted #E46379;
}
#globalNavi ul li:last-child {
  border-right: 1px dotted #E46379;
}
#globalNavi ul li a {
  color: #E46379;
  padding: 5px 0;
  display: inline-block;
  vertical-align: middle;
}
#globalNavi ul li a span {
  display: block;
}
#globalNavi .navbar-toggler {
/*
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 100;
*/
}

body.home #globalNavi ul {
  padding: 10px 0;
}
body.home #globalNavi ul li a {
  padding: 10px 0;
}
#globalNavi ul li.contact {
  display: none;
}

.navbar-toggler{
  border-color: #DE415C;
}
.navbar-toggler .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(228,99,121,1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}

@media (max-width:992px){
  #globalNavi ul li a span {
    display: inline;
  }
  #globalNavi ul li {
    width: 100%;
    border-left: none;
    border-top: 1px dotted #E46379;
  }
  #globalNavi ul li:last-child {
    border-right: none;
    border-bottom: 1px dotted #E46379;
  }
  #globalNavi ul li.contact {
    display: inline-block;
  }
}


/* Sidebar Layout CSS */
#categorylist .sidebox {
  border: 1px solid #CCC;
  margin-bottom: 50px;
}
#categorylist .title {
  margin: 0;
  padding: 15px 0;
  background-color: #999;
  color: #FFF;
  font-size: 130%;
}
#categorylist .title:before {
  content: "";
  padding-left: 15px;
}
#categorylist ul {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid #CCC;
}
#categorylist li {
  border-bottom: 1px solid #CCC;
  margin: 0;
  padding: 0;
}
#categorylist li a {
  display: block;
  padding: 10px 10px 10px 30px;
  text-decoration: none;
  color: #333;
  background: url(images/list_icon.png) no-repeat 10px center;
  background-color: #FFF;
  transition: .4s;
}
#categorylist li a:hover, #categorylist li a.active,
#categorylist li.current_page_item a, #categorylist li.current_page_parent a
{
  display: block;
  padding: 10px 10px 10px 30px;
  background-color: #FBE2EA;
}
#categorylist li a:hover {
  background-position: 15px center;
  padding-left: 35px;
  padding-right: 10px;
}
#categorylist li:last-child {
  border-bottom: none;
}



/* Footer CSS Customize */
#footer {
  background-color: #666666;
  color: #fff;
  padding: 50px 0 20px;
  margin-top: 30px;
}
#globalFooter .copyright {
  font-size: 80%;
  color: #ccc;
}

#pagetop {
  position: fixed;
  bottom: 10px;
  right: 20px;
}



/* Page CSS Customize */
h1, h2 {
  color: #E46379;
}
h1 {
  font-size: 240%;
}
h2 {
  font-size: 200%;
}
.content-block {
  padding: 30px 0;
}
.page-title {
  text-align: center;
  margin-bottom: 50px;
  letter-spacing: 8pt;
}
@media (max-width: 599px) {
  .page-title {
    letter-spacing: 2.4pt;
  }
}

.entry-body h1 { font-size: 200%; }
.entry-body h2 { font-size: 180%; }
.entry-body h3 { font-size: 160%; }
.entry-body h4 { font-size: 140%; }
.entry-body h5 { font-size: 120%; }
.entry-body h6 { font-size: 110%; }

.entry-body h1 {
  background: url(images/bg_h2.png) no-repeat 3px center;
  padding: 8px 0 7px 25px;
  margin-bottom: 30px;
  border: 3px solid #E46379;
}
.entry-body h2 {
  background: url(images/bg_h2.png) no-repeat left top;
  padding: 0 0 5px 25px;
  margin-bottom: 30px;
  border-bottom: 2px solid #E46379;
  font-size: 160%;
  margin-top: 50px;
}
.entry-body h2:first-child {
  margin-top: 0;
}
.entry-body h3 {
  background: url(images/bg_h3.png) no-repeat left 2px;
  padding: 0 0 0 25px;
  margin-bottom: 10px;
  font-size: 130%;
}
.entry-body h4 {
  font-size: 120%;
  border-bottom: 1px solid #CCC;
  margin-bottom: 10px;
}
.entry-body h5 {
  font-size: 115%;
}
.entry-body ul {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}
.entry-body ul li {
  margin: 0;
  padding: 5px 10px 10px 40px;
  background: url(images/list_icon.png) no-repeat 20px 13px;
}



/* Page-Index CSS Customize */
#contents-index-news ul {
  list-style: none;
  border-top: 1px solid #CCC;
  margin: 0 0 20px;
  padding: 0;
}
#contents-index-news ul li {
  border-left: 1px solid #CCC;
  border-right: 1px solid #CCC;
  border-bottom: 1px solid #CCC;
  margin: 0;
  padding: 20px 10px 20px 40px;
  background: url(images/list_icon.png) no-repeat 20px 27px;
}
#contents-index-news ul li .date {
  display: inline-block;
  margin-right: 15px;
}

#contents-index-company .panel-pink {
  min-height: 170px;
}
#contents-index-company .panel-pink p {
  margin-bottom: 10px;
  font-weight: bold;
}
#contents-index-company .panel-pink i {
  color: #333;
  font-size: 120%;
}
#contents-index-company .panel-pink p:last-child {
  margin-bottom: 0;
}
#contents-index-company .mail-block .panel-pink {
  letter-spacing: 1pt;
}
#contents-index-company .info-block {
  background: url(images/logo.png) no-repeat right center;
  background-size: 30%;
}

@media (max-width: 599px) {
  #contents-index-service .wp-block-column {
    flex-basis: calc(50% - 16px)!important
  }
  #contents-index-service .wp-block-column:nth-child(2n) {
    margin-left: 32px;
  }
  #contents-index-service .row {
    margin-left: -5px;
    margin-right: -5px;
  }
  #contents-index-service .col-6 {
    padding-left: 5px;
    padding-right: 5px;
  }
  #contents-index-service .mb20 {
    margin-bottom: 5px !important;
  }
}



/* Page-Houmon CSS Customize */
#contents-houmon .service-list {
  overflow: hidden;
}
#contents-houmon .service-list p {
  float: left;
  width: 49%;
  border: 1px solid #ccc;
  padding: 10px;
  font-size: 90%;
}
#contents-houmon .service-list strong {
  display: inline-block;
  margin-bottom: 10px;
}
#contents-houmon .service-list p:nth-child(2n) {
  float: right;
}
#contents-houmon .service-list p:nth-child(2n+1) {
  clear: both;
}
@media (max-width: 599px) {
  #contents-houmon .service-list p,
  #contents-houmon .service-list p:nth-child(2n) {
    float: none;
    width: 100%;
  }
}


/* Page-Guide CSS Customize */
#guide-flow .guide-flow-block {
  border: 1px solid #ccc;
  padding: 30px 20px 10px;
  margin-bottom: 40px;
}
#guide-flow .guide-flow-block h3 {
  background: none;
  color: #E3930D;
  border-bottom: 1px solid #E3930D;
  padding-top: 5px;
  padding-bottom: 5px;
}
#guide-flow .guide-flow-block p {
}
#guide-flow .guide-flow-block:before {
  font-style: italic;
  font-family: "Times New Roman";
  font-size: 300%;
  color: #E3930D;
  float: left;
  border-right: 1px solid #ccc;
  margin-right: 20px;
  padding-right: 15px;
}
#guide-flow #guide-flow-block-1:before {
  content: '01.';
}
#guide-flow #guide-flow-block-2:before {
  content: '02.';
}
#guide-flow #guide-flow-block-3:before {
  content: '03.';
}
#guide-flow #guide-flow-block-4:before {
  content: '04.';
}


figure {
  display: block;
  margin: 0;
}



/* Form Layout CSS */
form label {
  width: 100%;
}
form input[type=text], form input[type=email], form textarea, form select {
  width: 100%;
}
form input[type=submit] {
  padding-left: 50px;
  padding-right: 50px;
  text-align: center;
}



/* Common CSS */
.btn-wide {
  width: 100%;
}
.btn-wide180 {
  width: 180px;
}

.panel-pink {
  border: 2px solid #E46379;
  padding: 20px;
  margin-bottom: 10px;
  border-radius: 10px;
}
@media (max-width:767px){
  .panel-pink {
    padding: 15px 10px;
  }
}

.text-pink {
  color: #E46379;
}

.btn-pink {
  color: #fff;
  background-color: #E46379;
  border-color: #E46379;
}
.btn-pink:hover {
  color: #fff;
  background-color: #DE415C;
  border-color: #DE415C;
}
.btn-pink:focus {
  box-shadow: 0 0 0 0.2rem rgba(228, 99, 121, 0.5);
}

.btn-orange {
  color: #FFFFFF;
  background-color: #FFA303;
  border-color: #FFA303;
  box-shadow: 0 1px 2px 2px rgba(128, 128, 128, 0.3);
}
.btn-orange:hover {
  color: #FFFFFF;
  background-color: #E68F00;
  border-color: #FFA303;
}
.btn-orange:focus, .btn-orange.focus {
  box-shadow: 0 0 0 0.2rem rgba(255, 163, 3, 0.5);
}

.btn-banner {
  padding: 15px;
  border: 3px solid #333;
  background-color: #fff;
  color: #333;
  border-radius: 10px;
  text-decoration: none;
}

.underline {
  background: linear-gradient(transparent 70%, #a2f595 30%);
  margin-bottom: 10px;
}

.alignleft {
  display: inline;
  float: left;
  margin-right: 1.625em;
  margin-bottom: 0.5em;
}
.alignright {
  display: inline;
  float: right;
  margin-left: 1.625em;
  margin-bottom: 0.5em;
}
.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0.5em;
}
.wp-caption-text {
  text-align: center;
}


table:not(.table) {
  border: none;
  border-collapse: collapse;
  margin-bottom: 30px;
  width: 100%;
  /*border-top: 1px solid #DDDDDD;*/
}
table:not(.table) th {
  padding: 25px 15px 0px;
  vertical-align: middle;
  text-align: center;
  line-height: 180%;
  border-bottom: 3px solid #E46379;
  white-space: nowrap;
}
table:not(.table) td {
  margin: 0;
  padding: 25px 15px 0px;
  vertical-align: middle;
  line-height: 180%;
  border-bottom: 2px solid #CCC;
}

.table-middle, .table-middle th, .table-middle td {
  vertical-align: middle;
}

@media (max-width:767px){
  table th, table td {
    display: block;
    width: 100% !important;
  }
}


.mt0{margin-top:0 !important;}
.mt5{margin-top:5px;}
.mt10{margin-top:10px;}
.mt20{margin-top:20px;}
.mt30{margin-top:30px;}
.mt40{margin-top:40px;}
.mt50{margin-top:50px;}

.mr0{margin-right:0 !important;}
.mr5{margin-right:5px;}
.mr10{margin-right:10px;}
.mr20{margin-right:20px;}
.mr30{margin-right:30px;}
.mr40{margin-right:40px;}
.mr50{margin-right:50px;}

.mb0{margin-bottom:0 !important;}
.mb5{margin-bottom:5px;}
.mb10{margin-bottom:10px;}
.mb20{margin-bottom:20px;}
.mb30{margin-bottom:30px;}
.mb40{margin-bottom:40px;}
.mb50{margin-bottom:50px;}

.ml0{margin-left:0 !important;}
.ml5{margin-left:5px;}
.ml10{margin-left:10px;}
.ml20{margin-left:20px;}
.ml30{margin-left:30px;}
.ml40{margin-left:40px;}
.ml50{margin-left:50px;}

@media (min-width:768px){
  .sp-only {display: none !important;}
}
@media (max-width:767px){
  .pc-only {display: none !important;}
}


