/*
Theme Name: creattica_child
Template: creattica
Version: 1.0
*/

@import url("../creattica/style.css");
@import url('https://fonts.googleapis.com/css?family=Work+Sans:400,500');

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', '游ゴシック  Medium', meiryo, sans-serif;
  font-size: 16px;
}
a {
  color: #0767c7;
}
hr {
    margin: 3em 0;
}
a[target="_blank"]::after {
  content: "\f08e";
  font-family: 'FontAwesome';
  display: inline-block;
  margin-left: .25rem;
}
a[href$=".pdf"]::after {
  content: "\f1c1";
  font-family: 'FontAwesome';
  display: inline-block;
  margin-left: .25rem;
}
#hoot-social-icons-widget-2 a[target="_blank"]::after {
  content:none;
}
#hoot-social-icons-widget-2 a[href$=".pdf"]::after {
  content:none;
}
#sidebar-primary {
  font-size: 14px;
}
@media only screen and (min-width: 970px){
  #leftbar {
    position: fixed;
  }
  .loop-nav {
    display: flex;
    justify-content: space-between;
  }
}

/* header nav */
#site-logo.site-logo-mixedcustom.with-background {
  padding: 40px 20px;
}
.accent-typo {
  background: #efefef;
  color: #1f4da9;
}
#site-description {
  font-family: 'Work Sans', sans-serif;
  font-style: italic;
  font-size: 13px;
  font-weight: 500;
  text-transform: none;
  opacity: 0.9;
  filter: alpha(opacity=90);
}
.leftbar-section .widget {
    margin: 30px 0 15px;
}
.leftbar-section .social-icons-widget {
  color: #666666;
  border: none;
  display: inline-block;
}
.social-icons-small .social-icons-icon {
  border: solid 1px #ccc;
  width: 30px;
  height: 30px;
  font-size: 15px;
  line-height: 30px;
  margin-right: 10px;
}
.menu-items > li.current-menu-item a {
  color: #1f4da9;
  font-weight: bold;
}

/* slide */
.lSSlideOuter .lSPager.lSpg > li:hover a, .lSSlideOuter .lSPager.lSpg > li.active a {
background-color: #1f4da9;
}
.lightSlider .style-light-on-dark {
  background: rgba(31, 77, 169, 0.8);
}
.hootslider-image-slide-content {
  position: absolute;
  bottom: 10%;
  left: 0;
  right: auto;
  margin: 0 50px;
  max-width: 50%;
  font-size: 22px;
  line-height: 1.6;
}


/* top widget */
.top-article h2 {
  text-align: center;
  font-size: 1.5em;
  margin: 40px 0 30px;
}
.top-article h2>span {
  display: block;
  font-size: 14px;
  font-style:italic;
}
.btn-block {
  background-color: #edf1f7;
  text-align: center;
}
.btn-block>a:after {
  content: "\f105";
  font-family: FontAwesome;
  margin-left: 0.5em;
}
.btn-block>a {
  display: block;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  color: #1f4da9;
  padding: 10px;
}
.btn-block>a:hover {
  background-color: #1f4da9;
  color: #fff;
}
.frontpage-area .widget {
    margin: 2.5em 0;
}
#frontpage-area_a_1 .textwidget.custom-html-widget {
  background: #fff url(./img/message_img.jpg) no-repeat 100% 0;
  background-size: contain;
}
.top-message {
  background-color: rgba(255,255,255,0.9);
  width: 50%;
  padding: 20px 40px;
  box-sizing: border-box;
}
@media only screen and (max-width: 1530px) {
  #frontpage-area_a_1 .textwidget.custom-html-widget {
    background: #fff url(./img/message_img.jpg) no-repeat 100% 50%;
    background-size: 50%;
  }
}
.top-message.top-article h2 {
    margin: 10px 0 10px;
}
.top-message.top-article p {
    margin: 1.0em 0;
}
.top-message blockquote {
  border: none;
  padding: 0;
  margin: 1.07142857em 1.71428571em;
  margin-left: 0;
  margin-right: 0;
  font-style: italic;
  color:#cc9900;
  font-size: 1.25em;
}
dl.newsArea {
  font-size: 18px;
  line-height: 2.0em;
  margin: 0;
  padding: 0;
}
dl.newsArea dt {
  font-weight: normal;
  position:absolute;
  width: 10em;
  margin: 0 0 0 2em;
  padding: 0;
}
dl.newsArea dd {
  border-bottom: 1px dotted #aaa;
  margin: 0;
  padding: 0 0 0 14em;
}
dl.newsArea dd a:hover {
  text-decoration: none;
  color: #000;
}
[class*="hcolumn-"] {
  padding: 0 10px;
}
.entry-byline-label {
  display: none;
}
.flex {
  display: flex;
}
.top-halfblock {
  justify-content: space-between;
}
.top-halfblock>div {
  border-top: 3px solid #0767c7;
  width: 48%;
  background-color: #fff;
  padding: 0 40px 20px;
  box-sizing: border-box;
}
.img-circle {
  float: left;
  overflow: hidden;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 50%;
  width: 120px;
  height: 120px;
  text-align: center;
  line-height: 120px;
  margin: 0 10px 0;
}
.img-circle>img{
  vertical-align: middle;
}
.pset {
  padding-left: 140px;
}
.top-profile.top-article h2,
.top-contact.top-article h2 {
    margin: 20px 0 10px;
}
a img:hover {
  opacity: 0.8;
  filter: alpha(opacity=80);
}

table.tbl {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 5%;
}
table.tbl th{
  width: 20%;
  background-color: rgba(170,170,170, 0.3);
  font-weight: normal;

  vertical-align: top;
  border: 1px solid #ccc;
  padding: 1.0em;
}
table.tbl td{
  padding: 1.0em;
  background-color: #fff;
  border: 1px solid #ccc;
}

.imgleft {
  float: left;
  width: 36%;
  margin-right: 20px;
}
.imgright {
  float: right;
  width: 36%;
  margin-left: 20px;
}
.imgleft>p img,
.imgright>p img {
  max-width: 100%;
  height: auto;
}
.imgleft>p img,
.imgright>p img {
  border:5px solid #fff;
  box-shadow: 0 0 5px 2px rgba(0,0,0,0.15);
}

/* rightside */
.main .sidebar-primary>section {
  border-bottom: 1px dotted #ccc;
}
.main .sidebar-primary ul {
  list-style: none;
  margin: 0;
}
.main .sidebar-primary ul>li {
  border-top: 1px dotted #ccc;
  padding-left: 5px;
  padding-right: 5px;
}
.main .sidebar-primary ul ul>li  {
  border-top: none;
  list-style: disc;
  margin: 0 1.07142857em;
  padding-left: 0;
  padding-right: 0;
}
.fa-rss:before {
    content: "\f249" !important;
}



/************* Contact Form 7 *************/
.hoot-cf7-style .wpcf7-form p {
  width: 100%;
  float: none;
}
.hoot-cf7-style .wpcf7-form label {
  width: 100%;
}
input[type="submit"]:hover, #submit:hover, .button:hover {
  background: #1f4da9;
  color: #ffffff;
}
input[type="submit"], #submit, .button {
  color: #1f4da9;
  border: solid 1px #1f4da9;
}
input[type="submit"], #submit, .button {
  background: #fff;
}
input[type="submit"], #submit, .button, input[type="submit"].button-medium, #submit.button-medium, .button-medium {
  padding: 1.0em 40px 0.9em;
}


/*** Responsive Contact Form 7 ***/
@media only screen and (max-width: 969px) {
  .frontpage-area .widget {
      margin: 1.0em 0;
  }
  #site-logo.site-logo-mixedcustom.with-background {
    padding: 4%;
  }
  .hootslider-image-slide-content {
    position: relative;
    bottom: 10%;
    left: 0;
    right: auto;
    margin: 0;
    max-width: 100%;
    font-size: 0.875em;
  }
  .hootslider-image-slide-caption {
      padding: 2% 5%;
  }
  #frontpage-area_a_1 .textwidget.custom-html-widget {
    background: none;
  }
  .top-message {
    background-color: rgba(255,255,255,1.0);
    width: 100%;
    padding: 4%;
  }
  .flex {
    flex-direction: column;
  }
  .top-halfblock {
    justify-content: flex-start;
  }
  .top-halfblock>div {
    width: 100%;
    padding: 4%;
  }
  dl.newsArea {
    font-size: 1.0em;
    line-height: 2.0em;
  }
  dl.newsArea dt {
    font-weight: normal;
    position:static;
    width: auto;
    margin: 0;
    padding: 0;
  }
  dl.newsArea dd {
    border-bottom: 1px dotted #aaa;
    margin: 0;
    padding: 0;
  }
  dl.newsArea dd a:hover {
    text-decoration: none;
    color: #000;
  }
  .top-profile {
    margin-bottom: 7.5%
  }
  .top-profile,.top-contact {
    text-align: center;
  }
  .img-circle {
    float: none;
  }
  .pset {
    text-align: left;
    padding-left: 0;
  }

  table.tbl,
  table.tbl th,
  table.tbl td {
    display: block;
  }
  table.tbl th,
  table.tbl td{
    width: 100%;
    box-sizing: border-box;
  }








}