/*
Theme Name: Attitude Child
Template: attitude
*/

h1 {margin-bottom: 30px;}
h2 {margin-bottom: 30px; font-size: 27px}
h3 {margin-bottom: 20px; font-size: 23px}
h4 {margin-bottom: 10px; font-size: 18px}
table {
  border-collapse: collapse;
  width: 100%;
}
.nowrap {
  white-space: nowrap;
}
table th {
  background: #e2e2e2;
}
table th,
table td {
  border: 1px #aaa solid;
}


/* =Global
----------------------------------------------- */
body, input, textarea {
  font-size: 16px;
  line-height: 1.5;
}

#fade {
  width: 100%;
  height: 100%;
  display: none;
  position: absolute;
  top: 0px;
  left: 0px;
  z-index: 10000;
}

/* Links */
a {
  color: #4866a3;
  text-decoration: underline;
}

.bt-callcenter{
  display:none;
  background:#fff;
  padding:10px 20px; }
.bt-callcenter > div {
  display: block;
  background: #fff url(../../../image/arrow_next.png) no-repeat right center;
  background-size: 25px 18px; }
.bt-callcenter a {
  display: block;
  padding: 10px 6px 6px 15px;
  color: #555;
  text-decoration: none;
}
.bt-callcenter a > p {
  line-height: 1.2;
  margin-bottom: 0;
  font-size: 13px;
}
.bt-callcenter a > p.number {
  padding: 2px 0 0 34px;
  background: url(../../../image/ico_phone_red.png) no-repeat left center;
  background-size: 30px 30px;
  color: #de1132;
  font-size: 34px;
}
.tx-callcenter  {
  text-align: right;
}
.tx-callcenter > p {
  line-height: 1.4;
  margin-bottom: 0;
}
.tx-callcenter > p.number {
  color: #de1132;
  font-size: 34px;
}
.tx-callcenter > p.number img {
  position: relative;
  top: -3px;
  width: 30px;
  margin-right: 10px;
  vertical-align: middle;
}

.tx-callcenter > p.contactBT{
  display:flex;
  justify-content:flex-end; }
.tx-callcenter > p.contactBT,
.bt-callcenter > p.contactBT{
  margin:10px 0; }
.tx-callcenter > p.contactBT a,
.bt-callcenter > p.contactBT a{
  display:block;
  background:#de1132;
  padding:10px 20px;
  text-align:center;
  color:#fff;
  border-radius:5px;
  text-decoration:none;
  transition:.3s; }
.tx-callcenter > p.contactBT a{
  max-width: 240px;
  width: 100%; }
.tx-callcenter > p.contactBT a:hover,
.bt-callcenter > p.contactBT a:hover{
  opacity:.7; }

.bt-regist,
.bt-inquiry {
  display: block;
  float: right;
  width: auto;
  height: 66px;
  line-height: 66px;
  padding: 0 15px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  color: #fff;
  font-size: 28px;
  text-align: center;
  text-decoration: none;
}
.bt-regist {
  background: #de1132;
}
.bt-regist:hover {
  background: #e5455f;
}
.bt-inquiry {
  background: #40567f;
}
.bt-inquiry:hover {
  background: #6d84af;
}
.bt-regist img,
.bt-inquiry img,
.tx-inquiry img  {
  position: relative;
  top: -2px;
  width: 38px;
  margin-right: 14px;
  vertical-align: middle;
}

/* =Header
----------------------------------------------- */
.hgroup-wrap {padding: 0;}
#site-logo {
  position: relative;
  float:left;
  margin-top: 32px;
}
#site-title {
  margin-top: 40px;
  font: 36px 'Philosopher', sans-serif;
  line-height: 42px;
}
#site-title a {
  text-decoration: none;
}
#site-title a span, #site-title a:hover, #site-title a:focus, #site-title a:active {
  color: #97a7c6;
}
#site-description {
  position: absolute;
  top: 0;
  padding: 5px 0 0 30px;
  background: url(../../../image/logo_nikko.png) no-repeat left center;
  background-size: 24px;
  font-size: 20px;
  line-height: 28px;
  white-space: nowrap;
}

/* =Menu
-------------------------------------------------------------- */
#access a {
  color: #4866a3;
}
#access a:hover,
#access ul li.current-menu-item a,
#access ul li.current_page_ancestor a,
#access ul li.current-menu-ancestor a,
#access ul li.current_page_item a,
#access ul li:hover > a {
  color: #97a7c6;
}

/* =Content
----------------------------------------------- */
#content h1, #content h2, #content h3, #content h4, #content h5, #content h6 {
  padding-bottom: 0;
}
.entry-header p.date {
  margin-right: 20px;
  color: #999;
  font-size: 20px;
}
.type-page .entry-header h1 {
  border-bottom: 2px #de1132 solid;
  padding-bottom: 10px;
  color: #de1132;
  font-size: 32px;
}
.type-page .entry-header h0 {
  font: 24px 'Philosopher', sans-serif;
  line-height: 30px;
}
.entry-content table,
.comment-content table {
  border-bottom: 1px solid #aaa;
}
.entry-content th,
.comment-content th {
  padding: 6px 10px;
  color: #777;
  font-size: 100%;
  font-weight: bold;
}
.entry-content td,
.comment-content td {
  border-top: 1px solid #aaa;
  padding: 6px 10px;
}
.access-map {
  display: flex;
}

/* =Format Style---------- */
.tx-red {color: #de1132}
.mgb-1 {margin-bottom: 40px}
.mgb-2 {margin-bottom: 80px}
.ml10 {margin-left: 10px}
.bx-normal {
  margin-bottom: 15px;
  padding: 15px;
  border: 2px #aaa solid;
  background: #f1f1f1;
}
.bx-white {
  margin-bottom: 15px;
  padding: 15px;
  border: 2px #aaa solid;
  background: #fff;
}
.bx-caution {
  margin-bottom: 15px;
  padding: 15px;
  border: 2px #de1132 solid;
  background: #fbd6dc;
}
.imgUnit-left {
  overflow: hidden;
}
.imgUnit-left > img {
  float: left;
  margin-right: 20px;
}
.imgUnit-left dl {
  float: left;
  margin-right: 20px;
}
.imgUnit-left .grp-tx {
  overflow: hidden;
}
.imgUnit-right {
  overflow: hidden;
}
.imgUnit-right > img {
  float: right;
  margin-bottom: 15px;
  margin-left: 20px;
}
.imgUnit-right dl {
  float: right;
  margin-bottom: 15px;
  margin-left: 20px;
}
.imgUnit-left dl dd p,
.imgUnit-right dl dd p {
  width: 300px;
  margin-top: 10px;
  text-align: center;
}

/* =Footer
-------------------------------------------------------------- */
#colophon .widget {
  float: none;
  width: auto;
}
#colophon .sect-regist {
  float: right;
  width: 360px;
  margin-bottom: 30px;
  padding: 30px;
  background: #fff;
}
#colophon .sect-regist>p {
  margin-bottom: 0;
  text-align: center;
}
#colophon .sect-regist .bt-regist {
  float: none;
  width: auto;
  margin-bottom: 15px;
}
#colophon .tx-inquiry {
  display: block;
  margin-top: 10px;
  margin-bottom: -15px;
  font-size: 38px;
}
#colophon .tx-inquiry img {
  top: -4px;
  width: 32px;
}
#colophon .sect-regist .bt-inquiry {
  display: none;
  float: none;
  font-size: 32px;
}

#colophon .sect-news dl {
  padding: 10px;
}
#colophon .sect-news dl dt {
  float: left;
  margin-right: 16px;
}
#colophon .sect-news dl dd {
  overflow: hidden;
  padding-right: 20px;
}

#footernav {
  padding: 24px;
  background: #565d6a;
  color: #ddd;
  text-align: center;
}
#footernav ul li {
  display: inline;
}
#footernav ul li a {
  padding: 0 10px;
  color: #fff;
  text-decoration: none;
}
#footernav ul li:before {
  content: "|"
}
#footernav ul li:first-child:before {
  content: none;
}

@media only screen and (max-width: 767px) {
  body, #fade {background-size: 100px;}
  .bt-callcenter {display: block;}
  .tx-callcenter {display: none;}
  .hgroup-wrap {padding: 0;}
  .bt-regist {float: none;}
  #access select {
    background: url(../../../image/responsive-menu-bg.png) right center no-repeat;
    background-size: 28px 22px;
  }

  #colophon .sect-regist {
    float: none;
  }
  #colophon .tx-inquiry {
    display: none;
  }
  #colophon .sect-regist .bt-inquiry {
    display: block;
  }


  .imgUnit-left > img {
    float: none;
    margin: 0 auto 15px;
  }
  .imgUnit-right > img {
    float: none;
    margin: 0 auto 15px;
  }
}

@media only screen and (max-width: 480px) {
  .hgroup-wrap {padding: 0;}
  .type-page .entry-header h1 {
    padding-bottom: 5px;
    font-size: 25px;
  }
  #colophon .sect-regist {
    width: 270px;
    padding: 5px;
  }
  #colophon .sect-regist .bt-regist,
  #colophon .sect-regist .bt-inquiry {
    height: 58px;
    line-height: 58px;
    font-size: 24px;
  }
  #colophon .sect-regist .bt-regist img,
  #colophon .sect-regist .bt-inquiry img  {
    width: 32px;
  }
  #site-description {
    width: 100%;
    white-space: nowrap;
  }
  #site-title {
    margin-top: 40px;
  }
  h2 {
    font-size: 21px;
  }
}

/* ----------------------------------------------- */
body#tinymce,
body.mceContentBody {
  margin: 20px;
  background: #fff;
}

.facility .img01 {
  width:49%;
  float: left;
  margin-right:2%;
}
.facility .img02 {
  width:49%;
  float: left;
}
@media only screen and (max-width: 767px) {
  .facility .img01 {
    width:100%;
    float: none;
    margin-right:0;
    margin-bottom: 20px;
  }
  .facility .img02 {
    width:100%;
    float: none;
  }
}