/*ビジュアルエディターのスタイルを書く*/

.wf-a-otf-gothic-mb101-pr6n-n3-active .vk_borderBox:not([class*=vk_borderBox-color]).is-style-vk_borderBox-style-solid-kado-tit-tab > .vk_borderBox_title_container:not(.has-background),
.wf-a-otf-gothic-mb101-pr6n-n3-active .vk_borderBox:not([class*=vk_borderBox-color]).is-style-vk_borderBox-style-solid-round-tit-tab > .vk_borderBox_title_container:not(.has-background),
.wf-a-otf-gothic-mb101-pr6n-n3-active .vk_borderBox:not([class*=vk_borderBox-color]).is-style-vk_borderBox-style-solid-kado-tit-banner > .vk_borderBox_title_container:not(.has-background){
    background-color: #33C5FF; /* デフォルト色 */
}

.wf-a-otf-gothic-mb101-pr6n-n3-active .vk_borderBox-background-transparent .vk_borderBox_body,
.wf-a-otf-gothic-mb101-pr6n-n3-active .vk_borderBox:not([class*=vk_borderBox-color]):not(.has-text-color)  {
    color: #33C5FF;
}

.wf-a-otf-gothic-mb101-pr6n-n3-active .vk_borderBox:not([class*=vk_borderBox-color]):not(.has-text-color) {
    border: #33C5FF solid .2em;
    border-radius: 1em;
    margin-top: 1em;
    margin-bottom: 0;
}

.wf-a-otf-gothic-mb101-pr6n-n3-active .vk_borderBox .vk_borderBox_body,
.vk_borderBox.is-style-vk_borderBox-style-solid-kado-tit-onborder>.vk_borderBox_title_container, 
.vk_borderBox.is-style-vk_borderBox-style-solid-kado-iconFeature>.vk_borderBox_title_container {
    padding: 1em;
}

.wf-a-otf-gothic-mb101-pr6n-n3-active .vk_borderBox.is-style-vk_borderBox-style-solid-kado-tit-inner>.vk_borderBox_title_container {
    padding: 1em 1em 0 1em;
}

.wf-a-otf-gothic-mb101-pr6n-n3-active .vk_borderBox .vk_borderBox_title_container .vk_borderBox_title {
    font-family: "Zen Maru Gothic", sans-serif;
    position: relative;
    font-size: 1.1em;
    display: block;
    color: #33C5FF;
    padding-bottom: .5em;
    margin-bottom: 0;

}

.wf-a-otf-gothic-mb101-pr6n-n3-active .vk_borderBox .vk_borderBox_title_container .vk_borderBox_title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: .5em;
    background: url(images/dot.webp) repeat-x center / .5em;
}

.wf-a-otf-gothic-mb101-pr6n-n3-active .vk_borderBox .vk_borderBox_title_container i:first-child, .vk_borderBox .vk_borderBox_title_container .svg-inline--fa {
    display: none;
}

.wp-block-details {
    padding-top: 1em;
}

/* 余白 */
.single .article-cnt-box p {
    margin-top: 1em;
}



/* 記事一覧 */
.article-content h1 {
    font-size: 2.2em;
    font-weight: 700;
}

.article-content h2 {
    font-size: 1.5em;
    font-weight: 700;
    color: #fff;
    height: 2.8em;
    margin: 4em 0 1em 0;
    line-height: 1.4;
}

.article-content h2 span {
    position: absolute;
    left: 0;
    z-index: 2;
    background-color: #FFB327;
    padding: .7em 8em .7em 3em;
    border-radius: 0 50vw 50vw 0;
}


.article-content h2.js-h2::before {
  content: attr(data-h2-index);
  position: absolute;
  left: 0;
  transform: translate(50% , -85%);
  color: #FFB327;
  font-size: 3em;
  font-weight: 700;
  /* font-family: "a-otf-gothic-mb101-pr6n", sans-serif; */
  line-height: 1;
  opacity: .2;
}


/* .article-content h2::after {
    display: none;
} */


.article-content h2 {
  scroll-margin-top: 6em;
}

.article-content.h2-style-none h2::after {
    background: none;
}

.article-content.h2-style-train h2::after {
  background: url(images/character/illust-3.webp) no-repeat center / contain ;
}

.article-content.h2-style-park h2::after {
  background: url(images/character/illust-4.webp) no-repeat center / contain ;
}

.article-content.h2-style-study h2::after {
  background: url(images/character/illust-5.webp) no-repeat center / contain ;
}

/* .h3-with-icon {
    margin-bottom: 1em;
} */

.single h3 {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.38em;
    width: calc(100% - 2.5em);
    margin-top: 1em;
    /* padding: 1em 0 .5em 0; */
} 

.single .h3-icon {
    width: 2.5em;
    height: 2.5em;
    aspect-ratio: 1 / 1;
    background-color: #FFB327;
    border-radius: 50vw;
    /* margin-right: .2em; */
}

.single .h3-icon img {
    width: 70%;
    height: 100%;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}


.single h5 {
    font-size: 1.1em;
    border-bottom: 2px solid #FFB327;
    /* margin-bottom: 1em; */
    margin-top: 2em;

}

.single h6 {
    font-size: 1em;
    border-top: 2px solid #FFB327 ;
    border-bottom: 2px solid #FFB327 ;
    margin-top: 2em;
    padding: 1em 0;
}

/* リンク */
.wp-block-list {
    padding-top: 1em;
}

/* ボタン */

.wp-block-cocoon-blocks-button-1.button-block,
.api-url {
    text-align: center;
}


.wp-block-cocoon-blocks-button-1 .btn,
.wp-block-vk-blocks-button.vk_button .vk_button_link.btn,
.api-url a {
    position: relative;
    padding: 1em 2.5em;
    border-radius: 1em;
    font-size: 1em;
    text-align: center;
    background: #33C5FF url(images/arrow-1-w.webp) no-repeat 90% / .5em;
    transition: .2s ease all;
    transform: scale(1);
}
.wp-block-cocoon-blocks-button-1 .btn:hover,
.wp-block-vk-blocks-button.vk_button .vk_button_link.btn:hover,
.api-url a:hover {
    transform: scale(1.1);
}


.wp-block-cocoon-blocks-button-1 .btn::after,
.wp-block-vk-blocks-button .vk_button_link.btn::after,
.api-url a::after {
    content: '';
    position: absolute;
    pointer-events: none;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - .7em);
    height: calc(100% - .7em);
    border-radius: .8em;
    border: #fff .12em solid;
}

.api-url a {
    color: #fff;
    display: block;
    max-width: 14em;
    margin: 0 auto;
}

.single .wp-block-cocoon-blocks-button-1.button-block, .api-url {
    margin-bottom: 0;
    margin-top: 2em;
}


/* ２カラム */
.column-wrap.wp-block-cocoon-blocks-column-2 {
    gap: 2em;
}

/* 2カラム見出しの場合 */
.wf-a-otf-gothic-mb101-pr6n-n3-active .wp-block-cocoon-blocks-column-2.has-h2 {
    position: initial;
    /* background-color: #eee; */
    font-weight: 700;
    color: #fff;
    height: 2.8em;
    margin: 8em 0 4em 0;
}

.wp-block-cocoon-blocks-column-2.has-h2 .column-right {
    position: absolute;
    z-index: 2;
    right: 10%;
    width: 11em;
    transform: translateY(-78%);
    margin-left: auto;
    height: auto;
    aspect-ratio: 1 / 1;
}















/* 画像複数 */
figure.wp-block-gallery.has-nested-images {
    gap: .8em;
    margin-bottom: 0;
    padding-top: 1em;
    /* display: flex; */
}

.lightbox-trigger svg {
    display: none;
}

.wp-lightbox-container button:focus, .wp-lightbox-container button:hover, .wp-lightbox-container button:not(:hover):not(:active):not(.has-background) {
    background-color: initial;
}

.wp-lightbox-container button {
    top: auto !important;
    right: .3em !important;
    bottom: .3em;
    opacity: 1;
    backdrop-filter: none;
    width: 2em;
    height: auto;
    aspect-ratio: 1 / 1;
    background: url(images/article_img.webp) no-repeat center / contain;

}

.body.single .wp-block-image {
    margin-top: 1em;
    margin-bottom: 0;
}


.wp-block-image img {
    border-radius: 1vw;
}

.survey-post-template-default .wp-block-image img {
    border-radius: 0;
}

.single h4 {
    position: relative;
    font-size: 1.2em;
    color: #33C5FF; 
    padding-top: 1em;
    padding-bottom: .5em;
    line-height: 1.5;
}

.single h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: .5em;
    background: url(images/dot.webp) repeat-x center / .5em;
}


.author-profile {
    display: flex;
    align-items: center;
    gap: 1em;
    margin-top: 3em;
}

.profile-icon {
    aspect-ratio: 1 / 1;
    margin-bottom: 0;
    border: #33C5FF solid .2em;
    border-radius: 1em;
    overflow: hidden;
    width: 20%;
    height: auto;
}

.profile-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.profile-content {
    width: 80%;
}

.article-content p.profile-name {
    font-weight: 700;
    margin-bottom: .2em;
}

.article-content .btn-1 p {
    margin-bottom: 0;
}

/* おでかけTOPIC */

h1.entry-title {
    font-size: 2.2em;
    font-weight: 700;
}


/* アンケート */

.survey-content h1.entry-title {
    color: #33C5FF;
}

.survey-content h2.wp-block-heading {
    position: relative;
    font-size: 1.2em;
    font-weight: 700;
    /* margin-bottom: 1em; */
    display: flex;
    align-items: center;
    line-height: 1.5;
    padding-top: 4.2em;
}

.h2-number {
    margin-right: .2em;
    font-size: 2em;
    color: #33C5FF;
    min-width: 1.5em;
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 700;
}


.survey-post-template-default .survey-content .wp-block-image {
    max-width: 750px;
    margin: 1em auto 0 auto;
}




.survey-post-template-default .vk_balloon {
    margin-bottom: 0;
    padding-top: 2.2em;
}


.wf-a-otf-gothic-mb101-pr6n-n3-active .vk_balloon-type-speech .vk_balloon_content {
    padding: 2em;
}



.wf-a-otf-gothic-mb101-pr6n-n3-active .vk_balloon-position-left.vk_balloon-type-speech .vk_balloon_content {
    background-color: #F3FCFC;
}
.wf-a-otf-gothic-mb101-pr6n-n3-active .vk_balloon-position-left.vk_balloon-type-speech .vk_balloon_content .vk_balloon_content_before:not(.has-text-color){
       border-color: transparent #F3FCFC transparent transparent;
}

.wf-a-otf-gothic-mb101-pr6n-n3-active .vk_balloon-position-right.vk_balloon-type-speech .vk_balloon_content {
    background-color: #FDF1DB;
}
.wf-a-otf-gothic-mb101-pr6n-n3-active .vk_balloon-position-right.vk_balloon-type-speech .vk_balloon_content .vk_balloon_content_before:not(.has-text-color){
       border-color: transparent transparent transparent #FDF1DB;
}

.vk_balloon_icon_image:not(.has-text-color) {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.wf-a-otf-gothic-mb101-pr6n-n3-active .vk_balloon-position-left.vk_balloon-type-speech .vk_balloon_icon,
.wf-a-otf-gothic-mb101-pr6n-n3-active .vk_balloon-position-right.vk_balloon-type-speech .vk_balloon_icon  {
    width: 10%;
}

.wf-a-otf-gothic-mb101-pr6n-n3-active .vk_balloon-position-right .vk_balloon_icon {
    transform: scaleX(-1);
}


.wf-a-otf-gothic-mb101-pr6n-n3-active .vk_balloon_icon:not(:empty) {
    flex-basis: auto;
}


.wf-a-otf-gothic-mb101-pr6n-n3-active .vk_balloon {
    align-items: center;
}


.wf-a-otf-gothic-mb101-pr6n-n3-active .vk_balloon_content_outer {
    width: 70%;
}

.survey-post-template-default .wp-block-cocoon-blocks-button-1.button-block {
    margin-bottom: 0;
    padding-top: 2em;
}


.h3-with-icon {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 1em;
}

.h3-icon {
  width: 24px;
  height: 24px;
}

.survey-post-template-default .survey-content h2 {
    display: flex;
    align-items: center;
    padding: 4em 0 0 0;
    margin-bottom: 1em;
    line-height: 1.5;
}

.survey-post-template-default p {
    max-width: 750px;
    margin: 1em auto 0 auto;
}

.survey-post-template-default p.has-border {
    margin: 3em auto 0 auto;
}


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



    .article-content h2 {
        /* margin: 2em 0 1em 0; */
        margin: 4em 0 3em 0;
        font-size: 1.2em;
    }

    .article-content h2 span {
        padding: .5em 1em .45em 1em;
    }

    .article-content h3 {
        font-size: 1.1em;
    }

    .article-content h2::after {
        transform: translateY(-80%);
        width: 28vw;
    }

    .wp-block-cocoon-blocks-column-2.has-h2 .column-right {
        transform: translateY(-85%);
        width: 30vw;
    }


    h1.entry-title {
        /* font-size: 1.9em; */
        font-size: max(4.5vw , 1.25em);
    }

    .author-profile {
        flex-direction: column;
    }

    .profile-icon {
        border: #33C5FF solid .25em;
        width: 45%
    }

    .profile-name {
        text-align: center;
    }
  
    .profile-content {
        width: 100%;
    } 

    .wp-block-group.point h4 {
        text-align: center;
        line-height: 2;
    }

    .wf-a-otf-gothic-mb101-pr6n-n3-active .vk_balloon-position-left.vk_balloon-type-speech .vk_balloon_icon,
    .wf-a-otf-gothic-mb101-pr6n-n3-active .vk_balloon-position-right.vk_balloon-type-speech .vk_balloon_icon  {
        width: auto;
        max-width: 80px;
    }
    .wf-a-otf-gothic-mb101-pr6n-n3-active .vk_balloon_content_outer {
        width: 100%;
    }


    .survey-content h2.wp-block-heading {
        flex-wrap: wrap;
        padding-top: 3em;
    }

    /* .wf-a-otf-gothic-mb101-pr6n-n3-active .vk_borderBox .vk_borderBox_title_container .vk_borderBox_title {
        text-align: center;
    } */


    .survey-post-template-default .survey-content h2 {
        flex-wrap: wrap;
    }

    .survey-post-template-default h2 {
        font-size: max(3vw, 1em);
    }





    
}
