@charset "UTF-8";

/*------------------------------------------------------------ */
/* サイト全体のコンポーネントを定義
-------------------------------------------------------------- */
/************************************************
 * デスクトップナビゲーション
 ************************************************/
.desktop-nav {
    --hover-color: var(--primary);
}

#header.stick .desktop-nav li a,
.desktop-nav li a {
    font-weight: bold;
}

#header.stick .desktop-nav li a::before,
.desktop-nav li a::before {
    border: none;
}

#header.stick .desktop-nav li.current-menu-item a,
.desktop-nav li.current-menu-item a,
#header.stick .desktop-nav li a:hover,
.desktop-nav li a:hover,
#header.stick .desktop-nav li a:focus,
.desktop-nav li a:focus {
    color: var(--hover-color);
}

/************************************************
 * レイアウト
 ************************************************/
#wrapper {
    margin-top: 0px;
}

/************************************************
 * ヘッダー
 ************************************************/
#header {
    transition: .3s cubic-bezier(.4, 0, .2, 1);
    width: 100%;
    position: fixed;
    top: 30px;
    left: 0;
    z-index: 999;
    background: none;
}

.header-inner {
    margin: 0 auto;
    width: var(--header-inner-width);
    padding: var(--xs) var(--lg);
    background: var(--bg-color);
    min-height: 65px;
    border-radius: var(--radius);
    box-shadow: 5px 0px 10px 3px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 5px 0px 10px 3px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 5px 0px 10px 3px rgba(0, 0, 0, 0.2);
}

.toggle {
    width: 60px;
    height: 60px;
    position: absolute;
    top: 15px;
    right: 25px;
}

/************************************************
 * フッター
 ************************************************/
.footer-body {
    padding: var(--xl) 0;
}

footer ul {
    display: block;
}

/************************************************
 * モバイルナビゲーション
 ************************************************/
.mobile-nav {
    width: 80vw;
    left: -80vw;
}

/************************************************
 * hero headers
 ************************************************/
.hero-header {
    height: calc(100vh - 60px);
}

.hero-header .page-header-container {
    width: 100%;
    height: calc(100vh - 60px);
}

.page-header-contents {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: inherit;
    z-index: 9;
    background: rgba(0, 0, 0, .3);
}

/************************************************
 * ページタイトル
 ************************************************/
.page-header .page-header-contents .container {
    width: var(--header-inner-width);
    display: flex;
    align-items: flex-end;
}

.page-header .page-title {
    background: none;
    color: var(--base);
    margin-bottom: var(--md);
    border-radius: var(--radius);
}

/************************************************
 * single page
 ************************************************/
.single-php .post {
    background: var(--base);
    border-radius: var(--radius);
    padding: var(--lg);
}

@media only screen and (max-width: 576px) {
    .single-php .post {
        padding: var(--md);
    }
}

/************************************************
 * 最新の投稿
 ************************************************/
.post-style-card li {
    display: flex;
    flex-wrap: wrap;
    padding-bottom: var(--sm);
}

.post-style-card li .wp-block-latest-posts__featured-image {
    border-radius: 0;
}

.post-style-card li a,
.post-style-card li time {
    padding-left: var(--md);
    padding-right: var(--md);
}

/************************************************
 * card
 ************************************************/
.post-style-card li,
.card {
    border-radius: calc(var(--radius) * 2);
    overflow: hidden;
    background: var(--bg-color);
}

.card-img {
    overflow: hidden;
    border-radius: calc(var(--radius) * 2);
}

.card .card-contents {
    padding: var(--md);
}

/************************************************
 * FAQ
 ************************************************/
.faq-contents .answer {
    color: var(--font);
}
