/*
  Theme Name:	Ignite child
  Template:	ignite
  Author:	Team IshiHara LLC
  Author URI:	https://ishihara.team
*/

* {
  font-family: sans-serif;
}

/* 記事・ウィジェット */

h1,
h2,
h3 {
  font-size: 1.3em;
  margin-top: 1.5rem;
}

h4 {
  font-size: 1.1em;
  line-height: 1.6em;
}

h1,
h1.entry-title,
h2,
h2.excerpt-title,
h2.widget-title {
  font-size: 1.3em;
}

h2.widget-title {
  margin-bottom: 0;
}

.excerpt-content {
  padding-bottom: 0.6em;
}

.wp-block-table table {
  margin: 0.5rem 0 0 0;
}

.wp-block-table table td {
  padding: 0 0 0 0.5em;
  line-height: 1.6em;
}

#main article p {
  line-height: 1.7;
  margin: 0 0 0.5em 0.8em;
}

/* ウィジェット */
.widget_recent_entries,
.custom_widget_recent_entries,
.tribe-events-widget {
  font-size: 14px;
}

.ignite_child_post_category {
  background-color: #e6a117;
  border-radius: 0.6em;
  width: 8em;
  display: inline-block;
  text-align: center;
  margin: 0 1em 0 2em;
  color: #373b41 !important;
  font-weight: bold;
}

/* メニュー（PC） */
.site-header {
  min-height: unset;
}

.menu-primary-items li a {
  font-size: 14px;
  line-height: 4.2;
}

.menu-primary-items li li a {
  font-size: 14px;
  height: 2rem;
  min-height: 44px;
  line-height: 44px;
  min-width: 13em;
  text-indent: 1em;
}

@media (min-width: 50em) {
  .menu-primary-items li:hover ul,
  .menu-primary-items li:active ul,
  .menu-primary-items a:focus ul{
    top: 3.5em;
  }

  .title-info {
    padding-top: .8em;
  }
}

/* メニュー（スマホ） */
@media (max-width: 50em) {
  #site-header {
    padding: .5em 1em;
  }

  .menu-primary-items li {
    margin-left: 1em;
  }

  .menu-primary-items li a {
    height: 44px;
    text-align: left;
    margin: 0;
  }
}

/* フッター（PC） */
.footer-position {
  display: flex;
  justify-content: space-around;
  font-size: 16px;
}
.footer-position p {
  width: 33%;
  color: #ffffff;
  text-align: left;
}

/* フッター（スマホ） */
@media (max-width: 700px) {
  .footer-position {
    display: block;
  }
  .footer-position p {
    width: 100%;
  }
  .footer-right br:nth-child(1) {
    display: none;
  }
}
