/* ========================================
   Common footer
======================================== */

.onestar-footer {
    --onestar-footer-text: #444d4d;
    background: #f1f2f2;
    color: var(--onestar-footer-text);
    margin-top: 0;
    padding: 64px 24px 28px;
}

/* Typography and page-specific refinements (verified against public HTML). */
body,
button,
input,
select,
textarea {
  font-family: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  color: #3e3e3e;
}
:where(h1, h2, h3, h4) {
  line-height: 1.35;
}
h1,
h2 {
  font-size: 40px !important;
}
h3,
h3 strong {
  font-size: 25px !important;
  font-weight: 500;
}
h4,
h4 strong {
  font-size: 20px !important;
  font-weight: 500;
}
h2,
h2 strong {
  font-weight: 600;
}
@media (max-width: 991px) {
  h1 {
    font-size: 28px !important;
  }
  h2 {
    font-size: 30px !important;
  }
}
body:is(.home, .post-name-about) .wp-block-table > table > tbody > tr > td:first-child {
  background-color: #FCF9F5;
}
body:is(.home, .post-name-faq) .wp-block-vk-blocks-faq2-q::before {
  color: #6E8F71;
  border-color: #6E8F71;
}
body:is(.home, .post-name-faq) .wp-block-vk-blocks-faq2-a::before {
  color: #F28C8C;
  border-color: #F28C8C;
}
body.home li.wp-block-post.recruit {
  height: 100%;
  text-align: left;
}
body.home li.wp-block-post.recruit > .wp-block-group {
  display: flex;
  flex-direction: column;
  height: 100%;
}
body.home li.wp-block-post.recruit > .wp-block-group > .wp-block-vk-blocks-button {
  margin-top: auto;
  text-align: center;
}
body.home li.wp-block-post.recruit :is(.wp-block-post-title, .wp-block-columns, .taxonomy-feature) {
  box-sizing: border-box;
  width: 100%;
  margin-right: 0 !important;
  margin-left: 0 !important;
  text-align: left;
}
body.home li.wp-block-post.recruit .wp-block-columns,
body.home li.wp-block-post.recruit .taxonomy-feature {
  justify-content: flex-start;
}
li.wp-block-post.recruit .taxonomy-feature {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
li.wp-block-post.recruit .taxonomy-feature > a {
  display: inline-flex;
  max-width: 100%;
  padding: 5px 12px;
  border-radius: 50px;
  background-color: #F28C8C;
  color: #FFFFFF;
  line-height: 1.4;
  overflow-wrap: anywhere;
  text-decoration: none;
}
li.wp-block-post.recruit .taxonomy-feature > .wp-block-post-terms__separator {
  display: none;
}
@media (max-width: 991px) {
  body.home li.wp-block-post.recruit > .wp-block-group {
    min-height: 0;
  }
}

.onestar-footer,
.onestar-footer * {
    box-sizing: border-box;
}

.onestar-footer__inner {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
}

.onestar-footer__columns {
    display: grid;
    grid-template-columns: 1.05fr .8fr 1.15fr;
    gap: 64px;
    align-items: start;
}

.onestar-footer__logo {
    margin-bottom: 16px;
}

.onestar-footer__logo .custom-logo-link {
    display: inline-block;
}

.onestar-footer__logo .custom-logo {
    width: auto;
    max-width: 220px;
    max-height: 56px;
    object-fit: contain;
}

.onestar-footer__site-name {
    color: var(--onestar-footer-text);
    font-size: 22px;
    font-weight: 700;
    text-decoration: none;
}

.onestar-footer__company-name,
.onestar-footer__address {
    margin: 0 0 7px;
    line-height: 1.8;
}

.onestar-footer__company-name {
    font-weight: 700;
}

.onestar-footer__heading {
    border: 0;
    color: var(--onestar-footer-text);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 22px;
    padding: 0;
}

.onestar-footer__heading::before,
.onestar-footer__heading::after {
    content: none;
}

.onestar-footer__menu-list {
    display: grid;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.onestar-footer__menu-list li {
    margin: 0;
    padding: 0;
}

.onestar-footer__menu-list a {
    color: var(--onestar-footer-text);
    text-decoration: none;
    transition: color .2s ease, opacity .2s ease;
}

.onestar-footer__menu-list a:hover,
.onestar-footer__menu-list a:focus-visible,
.onestar-footer__site-name:hover,
.onestar-footer__site-name:focus-visible {
    color: #6e8f71;
    opacity: .8;
}

.onestar-footer__buttons {
    display: grid;
    gap: 18px;
}

.onestar-footer__button {
    align-items: center;
    border-radius: 999px;
    box-shadow: 4px 5px 0 rgba(68, 77, 77, .14);
    color: #fff;
    display: flex;
    font-size: 15px;
    font-weight: 700;
    gap: 12px;
    justify-content: center;
    min-height: 58px;
    padding: 14px 22px;
    text-align: center;
    text-decoration: none;
    transition: opacity .2s ease, transform .2s ease, box-shadow .2s ease;
}

.onestar-footer__button--line {
    background: #00c300;
}

.onestar-footer__button--mail {
    background: #f28c8c;
}

.onestar-footer__button i {
    flex: 0 0 auto;
    font-size: 20px;
}

.onestar-footer__button:hover,
.onestar-footer__button:focus-visible {
    box-shadow: 2px 3px 0 rgba(68, 77, 77, .12);
    color: #fff;
    opacity: .86;
    transform: translate(2px, 2px);
}

.onestar-footer__copyright {
    border-top: 1px solid rgba(68, 77, 77, .3);
    margin-top: 52px;
    padding-top: 24px;
    text-align: center;
}

.onestar-footer__copyright p {
    margin: 0;
}

@media (max-width: 767px) {
    .onestar-footer {
        padding: 48px 20px 24px;
        text-align: center;
    }

    .onestar-footer__columns {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .onestar-footer__logo .custom-logo {
        max-width: 200px;
    }

    .onestar-footer__menu-list {
        justify-items: center;
    }

    .onestar-footer__buttons {
        justify-items: center;
    }

    .onestar-footer__button {
        width: 100%;
        max-width: 420px;
    }

    .onestar-footer__copyright {
        margin-top: 44px;
    }
}


/*====================================
Font
====================================*/
/* The canonical font stack is defined above without a body-* selector so
   Font Awesome and other icon fonts retain their own font-family. */

/* H1見出しのフォントサイズ設定 */
h1 {
  font-size: 40px;
}

/* H2見出しのフォントサイズ設定 */
h2 {
  font-size: 40px;
}

/* H3見出しのフォントサイズ設定 */
h3 {
  font-size: 25px;
}

/* H4見出しのフォントサイズ設定 */
h4 {
  font-size: 20px;
}

@media(max-width:991px){
	h1 {
  font-size: 28px;
}
	
	h2 {
  font-size: 30px;
}
	h3 {
  font-size: 25px;
}
	h4 {
  font-size: 20px;
}

}
