@charset "UTF-8";

/*--------------------------------------------------------
POSSWEBテーマの主要スタイル

【ブレイクポイント】
PC 1024以上
@media screen and (min-width: 1024px) {

タブレット 1023以下
@media screen and (max-width: 1023px) {

カラム変化ポイント 781以下
@media screen and (max-width: 781px) {

スマホ標準 639以下
@media screen and (max-width: 639px) {

スマホ最小基準（独自の認識） 480以下
@media screen and (max-width: 480px) {

--------------------------------------------------------*/

/* =======================================
　グローバル設定
======================================= */
html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

/* =======================================
　ヘッダー
======================================= */
header {
  position: relative;
  z-index: 100;
  width: 100%;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--color-wh);
}

#global-header {
  position: relative;
  z-index: 200;
  width: 100%;
}

/*----- ロゴエリア -----*/
#logo-area {
  padding-left: 32px;
}

@media screen and (max-width: 639px) {
  #logo-area {
    padding-left: 8px;
  }

  #logo-area .logo {
    max-width: 200px;
  }
}



/*----- ナビ表示コントロール -----*/
/* SP非表示 */
@media screen and (min-width: 1024px) {
  nav#top-sp-nav {
    display: none;
  }
}

/* PC非表示 */
@media screen and (max-width: 1023px) {
  .gnavi-side-area {
    display: none;
  }
}

/*----- ヘッダー非表示コントロール -----*/
/* PC非表示 */
@media screen and (min-width: 1024px) {
  header.fixed {
    display: none;
  }
}




/*----- ヘッダーキャッチエリア（トップページのみ） -----*/
#header-catch-area-widget {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin: 0 136px 0 24px;
}

#header-catch-area-widget p {
  letter-spacing: 3px;
}

@media screen and (max-width: 1023px) {
  #header-catch-area-widget.pc {
    display: none;
  }
}




/* =======================================
　コンテンツレイアウトカスタマイズ
======================================= */

/*----- レイアウト調整 -----*/

/* 基本レイアウト設定 */
#content {
  position: relative;
  /* stickyコンテキストの確立 */
}

#content-inner {
  display: flex;
  align-items: stretch;
  padding: 0;
}


/*----- パンくずリスト -----*/
nav.breadcrumb-wrapper {
  padding: 8px 32px;
}

@media screen and (max-width: 1023px) {
  nav.breadcrumb-wrapper {
    padding: 8px 16px;
  }
}

@media screen and (max-width: 639px) {
  nav.breadcrumb-wrapper {
    padding: 8px 12px;
  }
}



/*----- サイドナビゲーションエリア -----*/
/* ナビエリア（サイドバー外枠） */
.gnavi-side-area {
  background: var(--color-wh);
  width: 250px !important;
  /* 固定幅 */
  flex-shrink: 0 !important;
  /* 縮小しないように設定 */
  position: relative !important;
  /* 内部要素の基準点 */
  /* min-heightを削除してflexでmainと同じ高さに */
}

/* ナビインナー（固定表示される部分） */
.gnavi-side-inner {
  background: var(--color-wh);
  position: sticky !important;
  top: calc(100vh - 290px) !important;
  /* マイナス値はメニューの高さを見て適宜設定 */
  height: auto;
  width: 100%;
  margin: 0 auto;
  padding: 0 64px;
  box-sizing: border-box;
  z-index: 100 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: white;
  will-change: transform;
  /* スクロール時のパフォーマンス向上 */
}


/* Gナビ */
nav#top-pc-nav {
  max-height: 40vh;
  overflow: auto;
}

ul#menu-pc-gnavi {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}


@media screen and (min-width: 1024px) {
  .stellarnav>ul#menu-pc-gnavi>li>a {
    padding: 8px 0;
  }
}



/*----- メインエリア -----*/
main {
  flex: 1;
  padding: 0 120px 0 0;
  background: var(--color-wh);
}

.home main {
  padding: 0 48px 0 0;
}

@media screen and (max-width: 1280px) {
  main {
    flex: 1;
    padding: 0 56px 0 0;
    background: var(--color-wh);
  }
}


@media screen and (max-width: 1023px) {
  main {
    padding: 24px;
  }

  .home main {
    padding: 0 24px 24px;
  }
}

@media screen and (max-width: 639px) {
  .home main {
    padding: 0 0 24px;
  }
}






/*----- タイト幅のメインエリア内コンテナ -----*/
.page-template-page-narrow main .main-inner {
  max-width: var(--main-max-narrow);
  margin: 0 auto;
}


/*----- ミニマム幅のメインエリア内コンテナ -----*/
.page-template-page-min main .main-inner {
  max-width: var(--main-max-min);
  margin: 0 auto;
}






/* =======================================
　アイキャッチ画像
======================================= */
.header-eyecatch {
  width: 100%;
  /* height: 45vh; */
  /* max-height: calc(100vh - 120px - 45vh); */
  height: 29vw;
  overflow: hidden;
  position: relative;
  z-index: 1;
  padding: 0 32px;
}

.header-eyecatch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.header-eyecatch {
  padding: 0 24px;
}

@media screen and (max-width: 1023px) {
  .header-eyecatch {
    padding: 0 16px;
  }
}

@media screen and (max-width: 639px) {
  .header-eyecatch {
    padding: 0 12px;
  }
}


/* =======================================
　フッター
======================================= */

footer {
  position: relative;
  z-index: 0;
  margin-bottom: 0;
  background: url(../../images/common/footer_megamenu_bg.jpg) no-repeat center center;
  background-size: cover;
}

#footer-inner,
footer #global-footer {
  padding: 24px;
  background: transparent;
}

.footer-content-widget .footer-contents-section .smb-section__background {
  background-color: transparent;
}

footer #footer-bottom {
  background: transparent;
}

@media (max-width: 1023px) {

  #footer-inner,
  footer #global-footer {
    padding: 24px 0;
  }
}



/* =======================================
　アーカイブページ
======================================= */

/*----- コンテンツエリア -----*/
.archive main {
  margin-bottom: 80px;
}


.new-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 1023px) {
  .new-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 639px) {
  .new-row {
    grid-template-columns: 1fr;
  }
}


/*----- サムネイル -----*/
article.news .news_pic {
  width: 100%;
  height: 280px;
  overflow: hidden;
  position: relative;
  background-color: #f0f0f0;
}

article.news .news_pic img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
}

article.news .news_pic:hover img {
  transform: scale(1.05);
}

/*----- 記事タイトル -----*/
h2.news_title a {
  font-size: 18px;
  margin-bottom: 8px;
  font-weight: 500;
  line-height: 1.5;
}

/*----- カテゴリ -----*/
.news_category ul.post-categories {
  list-style: none;
  padding: 0 !important;
}

.news_category ul.post-categories li a {
  text-decoration: none;
  color: var(--color-gray04);
  font-size: 12px;
}

/*----- 日時 -----*/
.news_time {
  color: var(--color-gray04);
  font-size: 12px;
  margin-left: 0 !important;
}



/* =======================================
　投稿ページ
======================================= */

/*----- コンテンツエリア -----*/
.single #content-inner {
  margin-top: 0;
}

.single main {
  margin-bottom: 80px;
}

.single main .main-inner {
  max-width: var(--main-max-min);
  margin: 0 auto;
}


.single .article_body {
  margin-top: 40px;
}


/*----- 記事メタググループ -----*/
.article_meta_group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

/* 日時 */
.article_time time {
  font-size: 14px;
}

/* カテゴリ */
.article_category ul.post-categories {
  list-style: none;
}

.article_category ul.post-categories li a {
  text-decoration: none;
  color: var(--color-gray04);
  font-size: 14px;
  border: 1px solid var(--color-gray04);
  padding: 2px 16px;
  border-radius: 9999rem;
  line-height: 1;
}

/*----- 記事タイトル -----*/
h1.article_title {
  font-weight: 500 !important;
  line-height: 1.5;
}


/*----- 記事本文見出し -----*/
.single h2.wp-block-heading {
  border-left: 2px solid var(--color-primary);
  padding: 12px 8px 12px 16px;
  margin-top: 40px;
}

/* .article_bodyの最初のブロックとして配置された場合はmargin-topを0に */
.article_body> :first-child.single h2.wp-block-heading,
.article_body>.single h2.wp-block-heading:first-child,
.article_body>h2.wp-block-heading:first-child {
  margin-top: 0;
}

.single h3.wp-block-heading {
  padding-left: 20px;
  margin-top: 40px;
  font-size: 20px;
}

.single h3.wp-block-heading::before {
  content: '';
  display: inline-block;
  position: absolute;
  margin: 10px 0 0 -20px;
  width: 14px;
  height: 14px;
  background-color: var(--color-primary);
}


/*----- 画像 -----*/
.single figure.wp-block-image {
  margin-bottom: 40px;
}