/* デバック */
#wpadminbar {
    background-color: #1c1c1c85;
    /* display: none; */
}
/* *,
div,
span,
img,
a,
p,
li,
h1,
h2,
h3,
h4,
h5,
h6,
section,
header,
footer,
nav,
main,
th,
tr {
    outline: 2px solid red;
} */

/* 管理バーの高さぶん下げる */
/* body.admin-bar header {
    top: 32px;
} */
/* デバック */

html {
    scroll-behavior: smooth;
}

::-moz-selection {
    background-color: var(--sub_color);
}

::selection {
    background-color: var(--sub_color);
}

:root {
    /* 幅 */
    --maxWh: 1280px;
    /*背景グラデーション*/
    --gradation: linear-gradient(180deg, #ffffff00 0%, #c9e7fd);
    /* 影 */
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    --green: #1aa44c;
    /* 中（標準） */
    --font-scale: 1;
}
/* WordPressブロック全体 */
/* WordPressのボタン */
.wp-block-button {
    padding-right: 1rem;
}

:root :where(.wp-element-button, .wp-block-button__link) {
    background-color: var(--main_color);
    padding: 0.5rem 3rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    position: relative;
}

@media screen and (max-width: 768px) {
    :root :where(.wp-element-button, .wp-block-button__link) {
        padding: 0.5rem 1.75rem 0.5rem 1rem;
    }
}

:root :where(.wp-element-button, .wp-block-button__link)::after {
    content: "";
    position: absolute;
    width: 40px;
    height: 1px;
    background-color: #174973;
    top: 50%;
    left: 100%;
    transform: translateX(-50%);
    transition: 0.3s ease;
}

:root :where(.wp-element-button, .wp-block-button__link):hover::after {
    transform: translateX(-30%);
}

@media screen and (max-width: 768px) {
    .alternating .wp-block-columns {
        flex-direction: column-reverse;
    }
}

body {
    color: var(--text_color);
    letter-spacing: 0.1rem;
    font-weight: 400;
    background-color: var(--body_color);
    line-height: 1.75;
    font-family: "Noto Serif JP", serif;
    font-size: calc(1rem * var(--font-scale));
}

/* WordPressのカラム */
@media screen and (max-width: 781px) {
    .wp-block-columns {
        /* flex-wrap: nowrap !important; */
        flex-direction: column;
    }
}

@media screen and (max-width: 768px) {
    .wp-block-columns {
        flex-direction: column;
    }
    .columnGrid3 {
        grid-template-columns: 1fr !important;
    }
    /* 入れ替え */
    .putDown.wp-block-columns {
        flex-direction: column-reverse;
        margin-top: 40px !important;
        margin-bottom: 40px !important;
    }
}
/* 入れ替え */
.putDown.wp-block-columns {
    margin-top: 80px;
    margin-bottom: 80px;
}

/* メインコンテンツ幅 */
#main_content {
    width: 100%;
    margin: auto;
    margin-block-end: 30px;
    margin-block-start: calc(100vh / 13);
}

.mainContent_inner {
    max-width: var(--maxWh);
    margin: auto;
    padding: 0 1rem;
}

.toppage_main .mainContent_inner {
    margin-block-start: calc(100vh / 11 + 1rem);
}
/* トップページmv余白削除 */
@media screen and (max-width: 900px) {
    .toppage_main .mainContent_inner {
        margin-block-start: 0 !important;
    }
    #main_content {
        margin-block-start: 0 !important;
    }
}

.post_wrapper {
    margin-bottom: 80px;
}

a {
    transition: 0.1s;
    cursor: pointer;
}

a {
    color: var(--link_color);
}

a:hover {
    opacity: 80%;
    text-decoration: underline;
}

/* 下層ページタイトルヘッダー */
.pageTitle {
    background-color: aliceblue;
    text-align: center;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 1rem;
    padding-bottom: 80px;
    padding-top: 80px;
    margin-top: 90px;
    background: url(../img/skyimg.jpg) no-repeat center center;
    background-size: cover;
}
.pageTitle .wp-block-group__inner-container {
    max-width: var(--maxWh);
    margin: auto;
}

/* 下層ページコンテンツ */
.Content_wrapper {
    margin-top: 40px;
}

/* 上部余白 */
@media screen and (max-width: 900px) {
    .pageTitle {
        margin-top: 2rem;
    }
    .Content_wrapper {
        margin-top: 1rem;
    }
}

/* 投稿ページとカスタム投稿タイプのページ */
.single-post main a,
.single-custom-type main a,
.post-type-archive-practice .entry-summary a {
    text-decoration: underline;
    color: var(--link_color);
}

.post-type-archive-column .excerpt,
.page-template-page-posts .excerpt {
    text-decoration: underline !important;
    color: var(--link_color) !important;
}

/* ブロックエディタで作成したテキスト */
.wp-block a {
    text-decoration: underline;
    color: var(--link_color);
}

#sidebar {
    display: none;
}

/* フォントサイズ */
h1,
h2,
h3,
h4,
p,
li,
td,
th,
a,
.wp-block-button__link,
.wp-block-file:not(.wp-element-button) {
    font-size: calc(var(--base-size) * var(--font-scale));
}

/* 各基本サイズ */
p,
li,
td,
th,
a,
.wp-block-button__link,
.wp-block-file:not(.wp-element-button) {
    --base-size: 1.1rem;
}
h1 {
    --base-size: 1.1rem;
}
h2 {
    --base-size: 1.5rem;
    line-height: 1.3;
    font-weight: bold;
}
h3 {
    --base-size: 1.3rem;
    line-height: 1.3;
    font-weight: bold;
}
h4 {
    --base-size: 1.1rem;
    line-height: 1.3;
    font-weight: bold;
}
.subpage_main h1 {
    --base-size: 1.8rem;
    font-weight: bold;
}

.toppage_main h2 {
    --base-size: 1.75rem;
}

strong {
    font-weight: bold;
}

/* スマホ時にpタグを左寄せ */
@media screen and (max-width: 768px) {
    p.has-text-align-center {
        text-align: start;
    }
}

/* スマホ時にpタグを左寄せを打ち消すクラス名 */
.text_center {
    text-align: center !important;
}

/* ボタン */
.btn a {
    background-color: var(--main_color);
    padding: 0.4rem 1.4rem;
    color: #fff;
    display: block;
    text-align: center;
}

.btn {
    padding-top: 1rem;
}

/* ファイルブロック */
.wp-block-file a {
    display: inline-block;
}

/* 改行 */
.brpc {
    display: block !important;
}

.brsp {
    display: none !important;
}
/* スマホ時削除 */
@media screen and (max-width: 768px) {
    .spnone {
        display: none !important;
    }
}

.blake_point {
    display: inline-block;
}

/* Google Map */
.Gmap {
    aspect-ratio: 16 / 7;
    width: 100%;
    height: auto;
    object-fit: cover;
}

@media screen and (max-width: 768px) {
    .Gmap {
        aspect-ratio: 16 / 7;
    }
}

/* セクション */
section {
    margin-bottom: 80px !important;
}

section .Wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.space_sp {
    display: none !important;
}

/* summary */
summary {
    text-align: center;
    font-size: 1.2rem;
    background: var(--main_color);
    padding: 1rem;
    color: #fff;
    position: relative;
    font-weight: bold;
}
summary::after {
    content: "▼";
    position: absolute;
    top: 50%;
    right: 3%;
    transform: translateY(-50%);
}

@media screen and (max-width: 768px) {
    .text_center {
        text-align: center !important;
    }
    .blake_point {
        display: inline;
    }

    main {
        margin-block-start: 80px;
        margin-block-end: 80px;
    }

    .brsp {
        display: block !important;
    }

    .brpc {
        display: none !important;
    }
    section .Wrapper {
        flex-direction: column;
    }
    .space_sp {
        display: block !important;
    }
    .block_parts {
        width: 95%;
    }
    summary {
        font-size: 4vw;
        text-align: start;
        padding-left: 0.5rem;
    }
}
