/*
Theme Name: XeoryBaseChild
Theme URI: https://xeory.jp/base/
Template: xeory_base
Description: Xeoryベース子テーマ
Author: バズ部
Author URI: https://bazubu.com/
Version: 1.0.0
*/
@charset "UTF-8";
/* 親テーマ スタイルリセット */
:root{
    --color-primary: #2E3E56;
    --gray-100: #eee;
    --gray-200: #ddd;
    --gray-300: #ccc;
    --bg-color:#ffffff;
}
html {
    font-size: .625rem
}
body{
    font-family: "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", Verdana, "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    background-color: var(--bg-color);
}
a {
    color: inherit;
    text-decoration: none;
}
.published{
    padding-left:0;
}
.published:before,
.post-meta:after{
    display: none;
}
.breadcrumb li{  
    padding-left: 5px;
}
.breadcrumb li a {
    text-decoration: underline;
}
.footer-01,
.footer-02,
#footer a,
#footer a:hover{
    background: unset;
    color: unset;
}
/*  メインヘッダー　*/
#header{
    position: relative;
    background-color: var(--color-primary);
    color: #ffffff;
    border-bottom: 0;
    padding-block: 0;
}
#header .header-item:has(.logo__catch){
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-start;
    justify-content: center;
    padding-top: 1.5rem;
}
#header .logo__catch{
    text-align: left;
    font-size: 1.1rem;
    font-weight: normal;
}
#header .logo__catch em{
    color: var(--color-primary);
}
#header .g-head__inr{
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: 1rem 0;
}
#header #logo{
    float: unset;
}
#header #logo a img{
    max-width: 30rem;
}
 #header .g-head__cta-area{
    display: flex;
    flex-wrap: nowrap;
    align-self: stretch;
    align-items: center;
    gap: 0.2rem;
}
#header .g-head__cta-area .header-link,
#header .g-head__cta-area .login,
#header .g-head__cta-area .register {
    width: 10rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}
#header .g-head__cta-area .header-link{
    text-decoration: underline;
}
#header .g-head__cta-area .login{
    background: #303030;
}
#header .g-head__cta-area .login img{
    display: inline-block;
    width: 2rem;
    margin-inline: auto;
}
#header .g-head__cta-area .register{
    background: transparent linear-gradient(90deg, #F08D7B 0%, #F5A142 100%) 0% 0% no-repeat padding-box;
}
#header .btn {
    -webkit-transition: .2s;
    border: 2px solid var(--color-primary);
    border-radius: 50px;
    color: #333;
    display: block;
    font-size: bold;
    font-weight: normal;
    line-height: 180%;
    padding: 16px 0;
    text-align: center;
    transition: .2s;
}
#header .btn.btn--primary {
    background: #fff;
    color: var(--color-primary);
}
#header .btn.btn--sm {
    font-size: 1.4rem;
    min-width: 180px;
    padding: 10px 16px;
}

/*  グロナビ　スタイル　*/
#gnav{
    background: var( --color-primary);
    border: 0;
    margin-bottom: 1.2rem;
    margin-top: 0;
}
#gnav li{
    padding: 0;
}
#gnav li a{
    background: initial;
    border-top: 0;
    padding-inline: 1.2rem;
    color: #fff;
    font-weight: bold;
    margin-top: 0;
    font-size: 1.4rem;
}
#gnav li a:hover{
    color: #fff;
    border-top: 0;
    background: #0000001a;
}
#gnav li.current-menu-item a{
    background: #0000001a;
    border-top: 0;
}
.sp-navi {
    display: none;
}
@media screen and (max-width: 991px) {
    #header {
        padding-block: 0;
    }
    #header-menu-tog {
        float: unset;
    }
    #header .header-item:has(.logo__catch){
        padding: 1rem 0;
        gap: 0.5rem;
	}
    #header .g-head__cta-area{
        display: none;
    }
    #header .logo__catch{
        font-size: 1rem;
    }
	#header .logo__catch br{
		display:none;
	}
    #header #logo{
        text-align: left;
    }
    #header #logo a img{
        width: min(18rem, 90%);
    }
    #header .g-head__inr{
        text-align: center;
        display: flex;
        margin-inline: 0;
        justify-content: space-between;
        align-items: stretch;
        padding-right: 0;
    }
    .sp-navi {
        -webkit-appearance: none;
        -ms-touch-action: manipulation;
        border: 0;
        border-radius: 0;
        cursor: pointer;
        pointer-events: auto;
        text-align: center;
        touch-action: manipulation;
        width: 60px;
        z-index: 99999999;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        flex-shrink: 0;
        align-self: stretch;
        padding: 0;
    }
    .sp-navi .sp-navi__bar {
        -webkit-transition: .3s;
        background: #ffffff;
        display: block;
        height: 3px;
        margin: 0 auto;
        transition: .3s;
        width: 2.4rem;
        border-radius: 6px;
    }
    .sp-navi .sp-navi__bar+.sp-navi__bar {
        margin-top: 4px;
    }
    .sp-navi.active .sp-navi__bar:nth-of-type(2) {
        opacity: 0;
    }
    .sp-navi.active .sp-navi__bar:nth-of-type(1) {
        -webkit-transform: translate3d(0, 6px, 0) rotate(35deg);
        transform: translate3d(0, 6px, 0) rotate(35deg);
    }
    .sp-navi.active .sp-navi__bar:nth-of-type(2) {
        opacity: 0;
    }
    .sp-navi.active .sp-navi__bar:nth-of-type(3) {
        -webkit-transform: translate3d(0, -8px, 0) rotate(-35deg);
        transform: translate3d(0, -8px, 0) rotate(-35deg)
    }
    .sp-navi p {
        color: #ffffff;
        font-size: 1rem;
        line-height: 100%;
        margin-top: .8rem;
        font-weight: bold;
    }
    #header .g-head__inr .header-item .fa-align-justify:before{
        top: initial;
        left: initial;
    }
    #gnav ul li a:hover{
        color: #ffffff;
    }
}
/*  .content */
.content .wrap{
    margin-block: 3.6rem;
}
.wrap::after {
    content: '';
    display: block;
    clear: both;
}
/*  アーカイブ　カテゴリータイトル */
.cat-content{
    padding: 0;
    background: initial;
    border: 0;
}
.post-loop-ttl{
    color: #000;
    font-size: 3.2rem;
    font-weight: bold;
    margin: 2.4rem 0 1.5rem;
}
/* news-li  */
.news-li {
    width: 50%;
}
.news-li .news-li_item:not(:last-child){
    margin-bottom: 1.5rem;
}
.news-li .news-li_item-inr {
    -webkit-transition: .2s;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding: 0rem 0 0 2.4rem;
    transition: .2s;
    align-items: flex-start;
}
.news-li .news-li_item-inr > a{
    width: 200px;
    flex-shrink: 0;
    border: 1px solid var(--gray-200);
}
.news-li_ttlarea{
    margin-left: 2.4rem;
    width: calc(100% - 200px);
}
.news-li_ttl a {
    font-size: 1.6rem;
    font-weight: bold;
    text-align: left;
    line-height: 1.6;
    margin-bottom: .5rem;
}
.news-li_meta {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
}
.news-li_meta .news-li_date {
    font-size: 1.2rem;
    letter-spacing: .1rem;
    color: gray;
    position: relative;
    padding-right: 0.8rem;
    margin-right: 0.5rem;
}
@media screen and (max-width: 991px) {
    .news-li{
        width: 100%;
    }
    .news-li .news-li_item {
        width: 95%;
        margin-inline: auto;
    }
    .news-li .news-li_item-inr {
        padding: 0;
    }
    .news-li .news-li_item-inr > a {
        width: 38%;
    }
}
/* fv内　記事リスト  */
.news-box{
    padding-block: 2rem;
}
.news-box .news-box_inr--top {
    max-width: 1200px;
    margin: 0 auto;
}
.news-box_area {
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    justify-content: space-between;
}
.latest {
    width: 60%;
}
.latest .latest_inr {
    margin: auto;
    position: relative;
    height: 100%;
}
.latest .latest_meta {
    position: absolute;
    bottom: 0;
    z-index: 2;
    padding: 0 2rem 2rem;
    width: 100%;
}
.latest .latest_inr a {
    -webkit-transition: .2s;
    transition: .2s;
}
.latest .news-li_ttl a,
.latest .news-li_meta .news-li_date {
    color: #fff;
}
.latest .news-li_ttl a {
    font-size: 2.4rem;
    margin-bottom: 1rem;
}

.latest .latest_imgarea {
    width: 100%;
    position: relative;
    height: 100%;
}
.latest .latest_imgarea:after {
    background: linear-gradient(180deg, #000f1e00, #000f1e61 44%, #000f1eab);
    content: "";
    height: 50%;
    left: 0;
    pointer-events: none;
    position: absolute;
    top: 50%;
    width: 100%;
    z-index: 1;
}
.thumb-wrap img:not(.no-thumb){
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
}
.thumb-wrap {
    aspect-ratio: 16 / 9;
    position: relative;
    background-color: #ffffff;
}
.thumb-wrap img.no-thumb{
    object-fit: contain;
    object-fit: contain;
    width: 60%;
    max-width: 36rem;
    margin-inline: auto;
    margin-block: auto;
    display: block;
    vertical-align: middle;
    position: absolute;
    transform: translateY(-50%);
    height: 100%;
    top: 50%;
    left: 0;
    right: 0;
}
@media screen and (max-width: 991px) {
    .news-box_area{
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }
    .latest {
        padding-left: 0;
        padding-right: 0;
        width: 100%;
        margin-bottom: 2rem;
    }
    .latest .latest_inr {
        width:95%;
    }
    .latest .latest_imgarea {
        text-align:center
    }
    .thumb-wrap img:not(.no-thumb){

    }
}
/* 記事一覧 アーカイブ */
.post-loop-wrap {
    -ms-flex-wrap: wrap;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}
@media screen and (max-width: 991px) {
    .post-loop-wrap {
        -webkit-box-pack:justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        flex-direction: column;
    }
}
/* 記事 カード */
.post-loop-wrap .post-item {
    margin: 0;
    width: calc(100% / 3 - 1.34rem);
    background: #fff;
    border: 1px solid var(--gray-200);
}

.post-txtarea {
    padding: 2rem 1.8rem 1.5rem;
    text-align: left;
    border-top: 1px solid var(--gray-200);
}
.post-meta-area {
-webkit-box-pack: justify;
    -ms-flex-pack: justify;
    -webkit-box-align: flex-start;
    -ms-flex-align: flex-start;
    align-items: flex-start;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    flex-direction: column;
}
.post-meta-area .post-meta_date {
    font-size: 1.2rem;
    letter-spacing: .1rem;
    color: gray;
    position: relative;
    padding-right: 0.8rem;
    margin-right: 0.5rem;
}
.post-item__ttl a {
    font-size: 1.6rem;
    font-weight: bold;
    line-height: 1.6;
    word-break: break-all;
}
@media screen and (max-width: 991px) {
    .post-loop-wrap .post-item {
        margin-right: 0;
        width: 100%;
    }
    .post-loop-wrap .post-item .post-item-inr {
        display: flex;
    }
    .post-loop-wrap .post-item .post-item-inr > a {
        height: inherit;
        width: 38%;
		flex-shrink: 0;
    }
    .post-loop-wrap .thumb-wrap {
        width: 100%;
        height: 100%;
    }
    .post-meta-area {
        margin-bottom: 0;
    }
    .post-txtarea{
        border-top: 0;
    }
}
/* カテゴリ　アイコン　スタイル  */
.cat-style{
    font-size: 1rem;
    display: inline-block;
    color: #fff;
    background: var(--color-primary);
    border: 0.1rem solid #fff;
    padding: 0.25rem 1rem;
    border-radius: 10rem;
}
.thumb-wrap .cat-style{
    position: absolute;
    left: 0.6rem;
    top: 0.6rem;
	z-index: 10;
}
/*  サイドバー スタイル */
.side-article:not(:last-child){
    margin-bottom: 4.8rem;
}
.side-article__header {
    border-radius: .4rem .4rem 0 0;
    padding-bottom: 1rem;
    padding-top: 1.4rem;
    margin-bottom: 2.4rem;
    border-bottom: 0.4rem solid var(--color-primary);
}
.side-article__header-ttl {
    font-size: 2rem;
    font-weight: bold;
}
.side-article__header-en {
    font-size: 1rem;
    display: block;
}
.side-article__item {
    border-bottom: 1px solid #ccc;
    padding-bottom: .8rem;
    padding-top: .8rem;
}

/* サイドバー　人気ランキング  */
.rank {
   counter-reset: rank_number;
}
.wpp_thumb_wrapper {
    position: relative;
}
.wpp_thumb_wrapper::after {
    content: '';
    color: rgb(255, 255, 255);
    content: counter(rank_number);
    counter-increment: rank_number 1;
    display: block;
    font-size: 1.2rem;
    height: 2.4rem;
    line-height: 2.4rem;
    position: absolute;
    text-align: center;
    top: 0.4rem;
    width: 2.4rem;
    background: rgb(0, 0, 0);
    border-radius: 100%;
    aspect-ratio: 1 / 1;
}
.ranking-box li:nth-of-type(1).wpp_thumb_wrapper::after {
    background: rgb(220, 180, 59);
}
.ranking-box li:nth-of-type(2).wpp_thumb_wrapper::after {
    background: rgb(181, 181, 181);
}
.ranking-box li:nth-of-type(3).wpp_thumb_wrapper::after {
    background: rgb(200, 169, 109);
}
.side-article__item-inr {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;    
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-transition: .2s;
    align-items: flex-start;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    transition: .2s;
}
.side-article__imgarea {
    height: 80px;
    width: 80px;
    background: #fff;
}
.wpp-thumbnail {
    display: inline;
    float: left;
    margin: 0 1rem 0 0;
    border: none;
}
.side-article__imgarea img {
    -o-object-fit: cover;
    height: 80px;
    object-fit: cover;
    width: 80px;
    border: 1px solid var(--gray-200);
}
.side-article__imgarea img.no-thumb,
.side-article__imgarea img.wpp_def_no_src{
    padding: 2rem;
    object-fit: contain;
}

.side-article__ttlarea {
    margin-left: 1.2rem;
    width: 100%;
}
.side-article__meta {
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    -webkit-box-align: flex-start;
    -ms-flex-align: flex-start;
    align-items: flex-start;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}
.side-article__meta .side-article__date {
    color: #808080;
    font-size: 1rem;
    letter-spacing: .05rem;
    line-height: 100%;
}
.side-article__ttl a {
    font-size: 1.2rem;
    font-weight: bold;
    padding-top: .6rem;
    display: block;
}
/* サイドバー　タグクラウド  */
.tag-cloud-link{
    font-size: 1.2rem !important;
    border-radius: 0.3rem;
    color: slategray;
    font-size: 1.2rem;
    line-height: 100%;
    padding: 0.4rem 0.6rem 0.5rem;
    border: 1px solid;
    line-height: 1.4;
    background: #ececec;
    border: none;
    transition: none;
    display: inline-block;
    margin-bottom: .6rem;
    margin-right: .6rem;
}
.tag-cloud-link:hover{
    background-color: var(--color-primary);
    color: #fff;
    text-decoration: none;
}
.tag-cloud-link:before {
    content: "#";
}

/* single.php 記事詳細ページ */
.page-single .post-header{
    padding: 42px 20px 20px;
}
.page-single .post-header:has(.has-thumb){
    display: flex;
}
.page-single .post-header_inr.has-thumb{
    width: calc(100% - 230px);
}
.page-single .post-thumbnail{
    width: 230px;
    text-align: center;
}
.page-single .post-thumbnail img{
    height: 100%;
    object-fit: cover;
    width: 100%;
}
.page-single .post-header .tagcloud{
    margin-bottom: 1.2rem;
}
.page-single .post-content{
    padding:20px;
}
@media (max-width: 576px) {
    .page-single .post-header:has(.has-thumb) {
        flex-direction: column;
    }
    .page-single .post-header_inr.has-thumb{
        width: 100%;
    }
    .page-single .post-header-meta .post-meta{
        margin: 0 0 20px;
    }
    .page-single .post-thumbnail{
        width: 100%;
        text-align: center;
        height: 100%;
        aspect-ratio: 16 / 9;
    }
}

/* 広告アイコン */
.post-header-meta .post-ad-label {
  display: inline-block;
  padding: 0.1rem 0.6rem;
  border: 1px solid #999;
  color: inherit;
  font-size: 1.2rem;
  font-weight: 400;
  opacity: 0.8;
}

/* 追尾バナー */
.js-fixed-cta{
    text-align: center;
    bottom: 0;
    right: 0;
    position: fixed;
    padding-block: 1rem;
}
.js-fixed-cta a{
    display: block;
    bottom: 0;
    text-align: center;
    width: min(30rem,calc(100% - 2rem));
    margin-inline:auto 2rem;
    font-weight: bold;
    box-shadow: 0 1rem 0.5rem #0000001c;
    background: linear-gradient(to left, #0F1E32 0%, #00629D 100%);
    color: #fff;
    border-radius: 0.8rem;
    padding:2rem;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    border:0.1rem solid #00629d;
}
@media (hover: hover) {
  .js-fixed-cta a:hover {
    text-decoration: none;
    box-shadow: 0 0.2rem 0.2rem #0000001c;
    transform: translateY(0.2rem);
  }
}
@media screen and (max-width: 768px) {
    .js-fixed-cta{
        width: 100%;
        padding: 0;
        z-index: 11;
    }
    .js-fixed-cta a{
        width: 100%;
        border-radius: 0;
    }
    .js-fixed-cta a{
        padding: 1.5rem 0.5rem;
        font-size: clamp(1.3rem,4vw,1.5rem);
    }
    .js-fixed-cta a br{
        display: none;
    }
}
/* メインフッター  */
#footer{
    background: var(--color-primary);
    color:#fff;
}
#footer .wrap{
    padding: 30px 0 1rem;
}
.main_footer .footer-text1 {
    color: #8AD2E8;
    font-size: 14px;
}
.main_footer .footer-text2 {
    font-size: 13px;
    line-height: 22px;
    margin-top: 10px;
    color: #E5E7EB;
    margin-bottom: 2rem;
}
.main_footer .row {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
}
.main_footer .links-wrap{
    column-gap: 1rem;
    align-items: flex-start;
    justify-content: space-between;
    padding-block: 2rem 1rem;
    border-top: 0.05rem solid;
    margin-bottom: 1rem;
}
.main_footer .links-wrap .ttl{
    flex-shrink: 0;
    padding: 1rem 0;
    flex:2;
    font-size: 1.3rem;
}
.main_footer .links-item{
    width: 100%;
    max-width: 80rem;
    margin-right: 0;
    margin-left: auto;
    flex-wrap: wrap;
    flex:5;
}
#footer.main_footer .links-item a{
    width: calc(100% / 6);
    padding: 1rem 0;
    font-size: 1.3rem;
}
@media screen and (max-width: 991px) {
  #footer.main_footer .links-item a{
    width: calc(100% / 4);
  }
}

.main_footer .footer-service .links-item{
    display: inline;
}

#footer.main_footer .footer-service .links-item a{
    display: inline-block;
    width: initial;
    padding:0;
}
.main_footer .footer-service .links-item a:not(:last-child):after{
  content: '|';
}
.main_footer .footer-service .links-item a:after{
  position: relative;
  padding-inline: 0.5rem;
}
.main_footer .copyright-area {
  justify-content: space-between; 
}
.main_footer .copyright-area .links-item{
    max-width: initial;
    text-align: right;
}
.main_footer .copyright-area .links-item a:not(:last-child):after{
  content: '|';
}
.main_footer .copyright-area .links-item a:after{
  position: relative;
  padding-inline: 0.5rem;
}

@media screen and (max-width: 991px) {
    .main_footer .links-wrap{
        flex-direction: column;
    }
    .main_footer .links-item{
        width: 100%;
    }
    #footer.main_footer .links-item a{
        width: calc(100%/3);
    }
    .main_footer .copyright-area{
        flex-direction: column-reverse;
    }
    .main_footer .copyright-area .links-item{  
        text-align: left;
    }
}

@media screen and (max-width: 414px) {
    .main_footer .links-item {
        flex-direction: column;
    }
    #footer.main_footer .links-item a{
        width: 100%;
    }
}

