@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) {

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

/* =======================================
　全体レイアウト
======================================= */

#container {
  background: transparent;
}

@media screen and (max-width: 1023px) {
  #container {
    overflow: hidden;
  }
}



/* =======================================
　ヘッダーエリア
======================================= */

/*ヘッダー背景色*/
header,
#global-header {
  background: var(--color-wh);
}

header {
  position: relative;
  z-index: 2;
}


/* 固定 */
header.fixed {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  animation-name: fixed-header;
  animation-duration: 1s;
  animation-fill-mode: forwards;
}

.fixed #global-header {
  background: transparent;
}

@keyframes fixed-header {
  0% {
    opacity: 0;
    transform: translateY(-5rem);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media screen and (max-width: 639px) {
  header.fixed #header-btn {
    display: none;
  }
}



/*------- グローバルヘッダー -------*/
#global-header {
  display: grid;
  grid-template-columns: max-content 1fr max-content;
  grid-template-rows: 1fr;
  margin: 0 auto;
  padding: 0;
  position: relative;
  z-index: 100;
  box-sizing: border-box;
}

@media screen and (max-width: 1023px) {
  #global-header {
    grid-template-columns: 1fr 80px;
  }

  #logo-area {
    grid-column-start: 1;
    grid-column-end: 2;
  }

  #nav-area {
    grid-column-start: 1;
    grid-column-end: 4;
  }

  #header-btn {
    grid-column-start: 1;
    grid-column-end: 4;
  }
}




/* =======================================
　ロゴエリア
======================================= */

/*----- ロゴ -----*/

/* ロゴエリア枠 */
#logo-area {
  margin: 0;
  width: 100%;
  display: flex;
  align-items: center;
  padding-left: 16px;
}


/* ロゴ */
#global-header .logo,
#global-header .logo img {
  height: auto;
  width: 100%;
  background: transparent;
}

.logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
  font-size: var(--size-primary-font-large);
  font-weight: 700;
  color: var(--color-primary);
  background: transparent;
}

.logo img {
  max-width: var(--logo-size);
  background: transparent;
}


@media screen and (max-width: 1023px) {
  #logo-area {
    max-width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 10000;
  }
}




/* =======================================
　ナビエリア（ヘッダーナビ＆サーチBOX）
======================================= */

/*----- ヘッダーナビ -----*/
#nav-area {
  align-items: flex-end;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 100%;
  width: 100%;
}

@media screen and (max-width: 1023px) {
  #nav-area {
    position: absolute;
  }
}



.stellarnav>ul>li {
  text-align: center;
}

nav#top-nav ul li a {
  text-decoration: none;
  color: var(--color-primary-font-main);
  font-size: var(--size-primary-font-small);
  line-height: 1;
  letter-spacing: 3px;
  font-feature-settings: "palt";
}

nav#top-nav ul li a span {
  font-size: var(--size-primary-font-verysmall);
  letter-spacing: 0;
}

nav#top-nav ul ul li {
  border-bottom: 1px solid var(--color-gray01);
}

nav#top-nav ul ul li:last-child {
  border: none;
}

nav#top-nav ul ul li a {
  background: var(--color-gray00);
  color: var(--color-primary-font-main);
  font-weight: 400;
}

nav#top-nav ul ul li a:hover {
  background: var(--color-gray01);
}



/* PC */
@media screen and (min-width: 1024px) {
  .stellarnav>ul {
    background: transparent;
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
  }

  .stellarnav ul li li li a {
    background: rgba(255, 255, 255, .7);
  }
}


/* Menu文字（モバイル表示） */
.stellarnav.mobile a.menu-toggle.full {
  background: rgba(255, 255, 255, .75);
  display: flex;
  justify-content: flex-end;
}

.stellarnav.mobile a.menu-toggle.full i.fa.fa-bars,
.stellarnav.mobile a.menu-toggle.full {
  color: var(--color-gray05);
}

/* mobileメニュー */
.stellarnav.mobile ul#menu-gnavi {
  position: relative;
  width: 100%;
  left: 0;
  top: -1px;
}

nav#top-nav.stellarnav.mobile ul.sub-menu {
  border-top: 1px solid var(--color-gray02);
}

nav#top-nav.stellarnav.mobile ul li {
  border-bottom: 1px solid var(--color-gray02);
}

nav#top-nav.stellarnav.mobile ul li:last-child {
  border: none;
}

.stellarnav.mobile ul li a {
  background: rgba(255, 255, 255, .9);
  border-bottom: 1px solid var(--color-wh);
  text-align: center;
  padding-right: 24px;
}

.stellarnav.mobile ul li li a {
  background: rgba(255, 255, 255, .9);
}

nav#top-nav.stellarnav.mobile ul ul li a {
  color: var(--color-bk);
}

.stellarnav.mobile ul li li li a {
  background: rgba(255, 255, 255, .9);
}

/* +ボタン */
.stellarnav.mobile ul li a.dd-toggle {
  background: transparent;
}

svg.svg-inline--fa.fa-plus {
  position: relative;
  margin-top: 16px;
}


/*CLOSED MENU*/
nav#top-nav.stellarnav ul li a.close-menu {
  color: var(--color-wh);
  border-bottom: none;
  width: 100%;
  display: none;
}

.stellarnav.mobile a.close-menu {
  background: rgba(0, 0, 0, .95);
}





/* =======================================
　ヘッダーボタン
======================================= */
#header-btn a {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent01);
  height: 100%;
  padding: 16px 24px;
  text-decoration: none;
  color: var(--color-wh);
}

#header-btn a img {
  width: 210px;
  transition: all .5s;
}

#header-btn a:hover {
  opacity: .8;
}


@media screen and (max-width: 639px) {
  #header-btn {
    display: none;
  }
}




/* =======================================
　メインビジュアル
======================================= */

#main-visual {
  overflow: hidden;
  padding: 0;
  margin: 0;
}

.page #main-visual img,
.single #main-visual img {
  object-fit: cover;
  object-position: 50% 50%;
  width: 100%;
}

.page #main-visual img,
.single #main-visual img {
  height: 350px;
}

.home #main-visual img {
  height: calc(100vh - 110px) !important;
  /*全画面高さ100vh - ヘッダー高さ等110px（適宜調整）*/
  margin-bottom: -1px;
  /*隙間調整*/
}


@media screen and (max-width: 639px) {

  .page #main-visual img,
  .single #main-visual img {
    height: 200px;
  }

  .home #main-visual img {
    height: 450px !important;
  }
}

#main-visual-inner {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  height: 90%;
}


/* =======================================
　コンテンツエリア
======================================= */

#content {
  background: var(--color-wh);
  position: relative;
  z-index: 1;
}

#content-inner {
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: var(--main-max-regular);
  padding: 8px 40px 40px;
  position: relative;
  width: 100%;
  z-index: 10;
}

/* 2カラム */
.double-col #content-inner {
  max-width: var(--main-max-regular);
}

/* 1カラムワイド */
.page-template-page-wide #content-inner {
  max-width: var(--main-max-wide);
}

/* 1カラムフルサイズ */
.page-template-page-fullsize #content-inner {
  max-width: 100%;
  padding: 0;
}

/* ブログ記事ページ */
.single #content-inner {
  margin-top: 40px;
}


/* 検索結果ページ */
#content-inner.search-page,
#content-inner.page404 {
  display: flex;
  flex-direction: column;
}

@media screen and (max-width: 1023px) {
  #content-inner {
    flex-direction: column;
    flex-wrap: wrap;
    padding: 40px 24px;
  }
}

@media screen and (max-width: 781px) {
  #content-inner {
    padding: 24px 16px;
  }
}




/* =======================================
　メインエリア
======================================= */

main {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  position: relative;
  width: 72%;
  z-index: -1;
}

.single-col main,
.search main {
  width: 100%;
}



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


/* ホームページ */
.home main,
.page-template-default main {
  width: 100%;
}


/* 固定ページ（デフォルト） */
.page-template-default main {
  margin: 0 auto;
}

/*404ページ*/
.error404 main {
  width: 100%;
  text-align: center;
}

h1.pageTitle.not-found {
  margin-bottom: 40px;
}



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




/* =======================================
　サイドエリア
======================================= */

aside {
  margin: 0;
  position: relative;
  width: 25%;
  z-index: 1;
}

aside #side {
  box-sizing: border-box;
  height: 100%;
  padding: 0 16px;
}


@media screen and (max-width: 1023px) {
  aside {
    margin: 0;
    max-width: 100%;
    width: 100%;
  }
}

@media screen and (max-width: 781px) {
  aside #side {
    padding: 0;
  }
}


/* サイドエリアのフローコンテンツ */
#flow-area {
  box-sizing: border-box;
  height: auto;
  padding: 0 0 16px 0;
  position: relative;
  top: 16px;
  width: 100%;
}

.side-widget.set-top.register-widget {
  margin-bottom: 24px;
}


/* サイドエリアの固定コンテンツ */
#fixed-area {
  box-sizing: border-box;
  height: auto;
  padding: 0 0 16px 0;
  position: sticky;
  top: 16px;
  width: 100%;
}



/*------ サイドウィジェット -----*/
label.wp-block-search__label {
  display: none;
}

button.wp-block-search__button.wp-element-button {
  border: 1px solid var(--color-primary);
  background: var(--color-primary);
  color: var(--color-wh);
  transition: all .5s;
  font-size: var(--size-primary-font-small);
}

button.wp-block-search__button.wp-element-button:hover {
  background: transparent;
  color: var(--color-primary);
}



/*------ サイドエリアのアーカイブ ------*/
section.archive {
  margin-bottom: 30px;
}

section.archive:last-child {
  margin-bottom: 0;
}

section.archive .archive_title {
  background: var(--color-primary);
  border-bottom: 1px solid var(--color-primary);
  font-size: var(--size-primary-font-small);
}

h2.archive_title {
  margin-bottom: 0;
  padding: 8px;
  color: var(--color-wh);
  line-height: 1;
  font-weight: 400;
}


section.archive ul.archive_list ul {
  border-top: 1px solid var(--color-gray02);
}

section.archive .archive_list li {
  border-bottom: 1px solid var(--color-gray02);
  /* border-left: 1px solid var(--color-gray02);
  border-right: 1px solid var(--color-gray02); */
  line-height: 1;
  margin: 0;
}

section.archive ul.archive_list ul li a:before {
  content: "─";
  padding-right: 8px;
}



section.archive ul {
  list-style: none;
}

section.archive .archive_list li a {
  display: block;
  padding: 12px 16px 12px 8px;
  position: relative;
  text-decoration: none;
  transition: all 300ms 0s ease;
  color: var(--color-primary-font-main);
  font-size: var(--size-primary-font-small);
}


section.archive .archive_list li a:after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  background-image: url('../images/common/arrow-right.svg');
  background-size: contain;
  background-repeat: no-repeat;
  margin-left: 8px;
  position: absolute;
  right: 10px;
  top: 50%;
}

@media only screen and (max-width:1023px) {
  section.archive .archive_list li a:after {
    font-size: var(--size-primary-font-small);
  }
}

section.archive .archive_list li a:hover {
  background-color: var(--color-gray01);
}



/* =======================================
　フッターエリアレイアウト
======================================= */

footer {
  position: relative;
  z-index: 0;
  margin-bottom: 50px;
  /*CTA設置しない場合は高さを0にする*/
}

#footer-inner {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--color-footer-bg);
  padding: 40px 16px;
}


/*------ フッターナビ ------*/
nav#footer-nav ul li a {
  color: var(--color-gray02);
}


/*------ フッター ------*/
footer #global-footer {
  box-sizing: border-box;
  max-width: var(--footer-max-w);
  width: 100%;
  margin: 0 auto;
  padding: 16px 0 0;
}

@media screen and (max-width: 781px) {
  footer #global-footer {
    padding: 48px 16px;
  }
}



/*------ フッターボトム ------*/
footer #footer-bottom {
  box-sizing: border-box;
  padding: 0 16px 8px;
  width: 100%;
  background: var(--color-footerbottom-bg);
}

/* ウィジェット */
.footer-bottom-widget {
  padding: 0;
  margin: 0;
}



/* =======================================
　カラムレイアウト（Flex）
======================================= */

/*----- コンテンツFlexレイアウト外枠 -----*/
.row {
  display: flex;
  flex-wrap: wrap;
}


/*----- PC列パターン -----*/
/* 3列 */
.col-pc3 {
  margin-right: 5%;
  width: 30%;
}

.col-pc3:nth-of-type(3n) {
  margin-right: 0;
}



/* 2列 */
.col-pc2 {
  margin-right: 2%;
  width: 49%;
}

.col-pc2:nth-of-type(2n) {
  margin-right: 0;
}



/*----- モバイル列パターン -----*/
@media screen and (max-width: 781px) {

  /* 1列 */
  .col-sp1 {
    margin-right: 0;
    width: 100%;
  }
}



/* =======================================
　検索フォーム
======================================= */
/*----- 検索ボックス -----*/
#seach-area {
  margin: 4px 24px;
}

@media screen and (max-width: 1023px) {
  #seach-area {
    display: none;
  }
}

#seach-area .header_search {
  width: 100％;
  display: flex;
  align-items: center;
  position: relative;
  zoom: 1;
}

#seach-area .header_search:after,
#seach-area .header_search:before {
  content: " ";
  display: block;
  line-height: 0;
}

#seach-area .fa-search:before {
  color: var(--color-gray03);
}

#seach-area .header_search:after {
  content: " ";
  display: block;
  clear: both;
}

#seach-area .header_search input {
  width: 270px;
  padding: 10px;
  border-radius: 5px 5px 5px 5px;
  font-size: var(--size-primary-font-verysmall);
  border: 1px solid var(--color-gray03);
}

@media only screen and (max-width:1023px) {
  #seach-area .header_search input {
    font-size: var(--size-primary-font-small);
  }
}

#seach-area .header_search input::placeholder {
  color: rgba(0, 0, 0, .3);
}

#seach-area .header_search i,
#seach-area .header_search svg {
  position: absolute;
  right: 8px;
  color: var(--color-gray05);
}



/* =======================================
　ブログ投稿アーカイブ
======================================= */

/* 記事タイトル */
h2.news_title {
  margin: 8px 0;
}

/* 概要文 */
.news_desc p {
  font-size: var(--size-primary-font-small);
  color: var(--color-gray03);
  margin: 0 0 16px;
  padding-bottom: 0;
}

.news_desc a {
  text-decoration: none;
}


/*------ 投稿レイアウト ------*/
article.news {
  margin-bottom: 48px;
  width: 100%;
}

article.news a {
  display: inline-block;
  text-decoration: none;
}

article.news a:hover {
  opacity: .7;
}

article.news .news_pic img {
  display: block;
  height: 200px;
  max-width: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

article.news .news_meta {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding: 8px 0 0;
}

article.news .news_meta ul {
  align-items: center;
  display: flex;
  justify-content: space-between;
  list-style: none;
  padding: 0;
}

article.news .news_meta ul li {
  padding-right: 8px;
}

article.news .news_meta ul li a {
  background: var(--color-primary);
  color: var(--color-wh);
  display: inline-block;
  font-size: var(--size-primary-font-verysmall);
  line-height: 1;
  padding: 4px 8px;
  text-decoration: none;
}


@media only screen and (max-width:1023px) {
  article.news .news_meta ul li a {
    font-size: var(--size-primary-font-verysmall);
  }
}

article.news .news_title {
  font-size: var(--size-h5);
}

article.news .news_title a {
  text-decoration: none;
  color: var(--color-primary-heading);
}


article.news .news_titleBorder {
  border-left: 2px solid var(--color-gray02);
  font-size: var(--size-h3);
  margin: 16px 0;
  padding: 8px 16px;
}

@media only screen and (max-width:1023px) {
  article.news .news_titleBorder {
    font-size: calc(var(--size-h3) * .875);
  }
}

article.news .news_time {
  font-size: var(--size-primary-font-verysmall);
  margin-left: 4px;
}

@media only screen and (max-width:1023px) {
  article.news .news_time {
    font-size: var(--size-primary-font-verysmall);
  }
}


@media only screen and (max-width:1023px) {
  article.news .news_desc p {
    font-size: var(--size-primary-font-verysmall);
  }
}


@media only screen and (max-width:1023px) {
  article.news {
    margin-bottom: 16px;
  }
}




/* =======================================
　ブログ記事
======================================= */

/* メインビジュアル */
#blog-main-visual {
  margin-bottom: 8px;
}

#blog-main-visual img {
  width: 100%;
  height: auto;
}

#blog-main-visual-inner {
  margin-bottom: -8px;
}


/*記事タイトル*/
.article .article_title {
  font-size: var(--size-h1);
  margin: 8px 0;
  text-align: left;
}

/*日付*/
.article .article_meta time {
  color: var(--color-gray03);
}

@media only screen and (max-width:1023px) {
  .article .article_title {
    font-size: var(--size-h2);
  }
}

.article .article_meta {
  align-items: center;
  display: flex;
  /* justify-content: space-between; */
  flex-wrap: wrap;
  padding: 0 0 8px;
}

.article .article_meta ul {
  align-items: center;
  display: flex;
  justify-content: space-between;
  list-style: none;
  padding: 0;
}

.article .article_meta ul li {
  padding-right: 10px;
}

.article .article_meta ul li a {
  background: var(--color-primary);
  color: var(--color-wh);
  display: inline-block;
  font-size: var(--size-primary-font-verysmall);
  line-height: 1;
  padding: 4px 8px;
  text-decoration: none;
}

.article .article_meta time {
  font-size: var(--size-primary-font-verysmall);
  /* margin-left: auto; */
}

.article .article_pic img {
  height: auto;
  max-width: 100%;
}

.article-menu .article_title {
  margin-bottom: 30px;
  text-align: left;
}

body.single #toc_content {
  margin-bottom: 40px;
}


/* =======================================
　ボタンスタイル
======================================= */

.btn-style {
  margin: 16px 0;
}

.btn-style1 .btn {
  border-radius: 5px 5px 5px 5px;
  cursor: pointer;
  display: block;
  line-height: 1;
  padding: 16px;
  text-align: center;
  text-decoration: none;
}

.btn-style1 .btn:hover {
  opacity: .8;
}

.btn-style1 .btn-default {
  background-color: var(--color-wh);
  border: 1px solid var(--color-gray04);
  position: relative;
}

.btn-style1 .btn-default i,
.btn-style1 .btn-default svg {
  color: var(--color-gray04);
  margin-top: -4px;
  position: absolute;
  right: 16px;
  top: 50%;
  transition: all 300ms 0s ease;
}

.btn-style1 .btn-default:hover i,
.btn-style1 .btn-default:hover svg {
  right: 4px;
}

.btn-style1 .btn-send {
  background-color: var(--color-gray05);
  color: var(--color-wh);
  font-weight: bold;
  ;
}

.btn-style1 .btn-back {
  background-color: var(--color-gray01);
  font-size: var(--size-primary-font-small);
}

@media only screen and (max-width:1023px) {
  .btn-style1 .btn-back {
    font-size: var(--size-primary-font-small);
  }
}

@media only screen and (max-width:1023px) {
  .btn-style1 .btn {
    font-size: var(--size-primary-font-small);
    width: 100%;
    ;
  }
}


/* =======================================
　ブログページナビ調整
======================================= */
.wp-pagenavi {
  display: flex;
  justify-content: center;
}

.wp-pagenavi span.pages {
  color: var(--color-wh);
  background: var(--color-primary);
}

.wp-pagenavi a {
  width: 36px;
  display: flex;
  justify-content: center;
  text-decoration: none;
  background: var(--color-primary);
  border: 1px solid var(---color-primary) !important;
  color: var(--color-wh);
}

.wp-pagenavi a:hover {
  background: var(--color-wh);
  color: var(--color-primary);
}

.wp-pagenavi span.current {
  width: 36px;
  display: flex;
  justify-content: center;
  color: var(--color-primary);
  border: 1px solid var(--color-primary) !important;
}

main a.page.larger,
main a.nextpostslink {
  border: 1px solid var(--color-primary) !important;
  text-decoration: none;
  color: #FFF;
}


main a.page.larger:hover,
main a.nextpostslink:hover {
  color: var(--color-primary);
  opacity: 1;
}