/* 共通設定 */
.pagenation a.page-numbers.next,
.pagenation a.page-numbers.prev {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;

    width: auto;
    min-width: 0;
    white-space: nowrap;

    padding: 6px 10px;
    line-height: 1.4;
    text-align: center;

    /* HTML内テキスト（≫）を消す */
    font-size: 0;
}

/* =========================
   prev：←
========================= */
.pagenation a.page-numbers.prev::before {
    content: "←";
    font-size: 14px;
    line-height: 1;
}

.pagenation a.page-numbers.prev::after {
    content: none;
}

/* =========================
   next：→
========================= */

/* テーマ既存の after を完全に無効化 */
.pagenation a.page-numbers.next::after {
    content: none !important;
}

/* → は before に一本化 */
.pagenation a.page-numbers.next::before {
    content: "→";
    font-size: 14px;
    line-height: 1;
}

/* 採用情報のTOPICS内「採用情報」に色を付ける */
/* 通常時 */
#recruit-top-news .tag.tag-recruit,
#recruit-top-news .tag.tag-report {
  color: #333333 !important; 
}

/* マウスオーバー時 */
#recruit-top-news .tag.tag-recruit:hover,
#recruit-top-news .tag.tag-report:hover {
  color: #065eaa !important;
}

/* storongを太字にする */
strong{
	font-weight:bold;
}

footer .f-secondary { 
	flex-direction: column;
}

footer .f-secondary .sns-icons {
	margin-top: 15px;
}

/* コラム、製品ページ、ニュースページ以下の本文aタグを装飾 */

.column-body p a,
.products-item p a,
.news-body p a,
#philosophy-head a,
#recruit-detail a:not(.wp-element-button){
  color: #0066cc;
}

.column-body p a:hover,
.products-item p a:hover,
.news-body p a:hover,
#philosophy-head a:hover,
#recruit-detail a:not(.wp-element-button):hover{
  opacity: 0.8;
}


/* コラム、ニュースのh1を小さくする */
.news-detail--title .container h1,
.column-title h1{
  font-size: 40px !important;
  line-height: 1.5;
}


/* 会社情報TOPの画像リンク配置を4列にする */
#company-menu .company-menu-item {
  width: calc((100% - 9px) / 4);
	aspect-ratio: 1 / 1;
  height: auto;
}

/* 会社情報の7つ目の画像 */
#company-menu .company-menu-item:nth-child(7) a {
  background: url("/wp-content/themes/airtheme/assets/img/page/company/com-bn7.png") no-repeat center / cover;
}

#company-menu .company-menu-item:nth-child(7) a:hover {
  background: 
    linear-gradient(rgba(0, 75, 66, 0.8), rgba(0, 75, 66, 0.8)),
    url("/wp-content/themes/airtheme/assets/img/page/company/com-bn7.png") no-repeat center / cover;
}



/* プライバシーページだけ適用 */
.page-id-13764 main ol {
  list-style: decimal !important;
  padding-left: 1.5em !important;
}

.page-id-13764 main ul {
  list-style: disc !important;
  padding-left: 1.5em !important;
}

.page-id-13764 main li {
  display: list-item !important;
}

/* 会社情報TOPのスマホ表示を調整する */
#company-menu {
  @media screen and (max-width: 768px) {
    .company-menu-wrap {
      display: flex;
      flex-direction: column;
    }

    .company-menu-item {
      width: 100%;
    }
  }
}

html,
body {
    min-height: 100vh !important;
}

.page-template-form .form-page {
    min-height: 60vh;
}