/*
Theme Name: meviy04_2
Description: Meviy Blog Template
Author: MASAtoshi OKA
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: meviy04_2
Version: 4.0
*/
.kenzu_page {
    background: #005EAB;
    margin-top: 109px;
    min-height: calc(100vh - 160px);
    height: auto;
}

@media screen and (max-width:1024px) {
    .kenzu_page {
        margin-top: 17vw;
    }
}

@media screen and (max-width: 900px) {
    .kenzu_page {
        min-height: calc(100vh - 480px);
    }
}

.kenzu_header {
    background: #ffc600;
    color: #000;
    margin-top: -4px;
}

.kenzu_header_inner {
    width: 700px;
    margin: 0 auto;
    float: none;
    padding: 20px;
    display: flex;
    justify-content: center;
}

.kenzu_header_img {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.kenzu_header_img img {
    display: block;
    width: 100px !important;
    height: 100px !important;
    -moz-border-radius: 100px;
    border-radius: 100px;
    overflow: hidden;
}

.kenzu_header_text {
    width: calc(100% - 100px);
}

.kenzu_header_text h1 {
    font-size: 23px;
    color: #000;
    font-weight: 600;
    margin: 0;
    padding-left: 20px;
}

.kenzu_header_text h1 strong {
    font-size: 40px;
    display: inline-block;
}

@media screen and (max-width: 700px) {
    .kenzu_header_inner {
        width: 100%;
    }

    .kenzu_header_text h1 {
        font-size: 17px;
        padding-top: 10px;
    }

    .kenzu_header_text h1 strong {
        font-size: 30px;
    }

    .kenzu_header {
        margin-bottom: 15px;
    }
}

@media screen and (max-width: 450px) {
    .kenzu_header_inner {
        padding: 7px;
    }

    .kenzu_header_text h1 {
        font-size: 15px;
        line-height: 140%;
    }

    .kenzu_header_text h1 strong {
        font-size: 22px;
    }

    .kenzu_header_img img {
        width: 60px !important;
        height: 60px !important;
    }

    .kenzu_header_text {
        width: calc(100% - 70px);
    }
}

@media screen and (max-width: 350px) {
    .kenzu_header_text h1 {
        font-size: 14px;
    }

    .kenzu_header_text h1 strong {
        font-size: 22px;
    }
}

.kenzu_zoom_text {
    text-align: center;
    padding: 15px 0 0 0;
    font-size: 20px;
    font-weight: 600;
    color: #000;
}

.kenzu_zoom_text:before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    background: url(../images/kenzu/kenzu_scope.png)0 0 no-repeat;
    background-size: contain;
    margin-top: 5px;
    margin-right: 5px;
}

ul.kenzu_area {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 15px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

ul.kenzu_area>li {
    width: calc(50% - 30px);
    background: #fff;
    padding: 0px;
    margin: 15px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    overflow: hidden;
}

ul.kenzu_area>li h2 {
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    color: #fff;
    background: #0a1464;
    padding: 15px;
}

.kenzu_zumen_area {
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    padding: 15px;
    justify-content: center;
}

.kenzu_zumen h4 {
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    color: #000;
}

.kenzu_zumen {
    width: 50%;
    padding: 10px 15px;
}

.kenzu_zumen.shuhen {
    width: 100%;
    padding: 10px 15px;
    justify-content: center;
}

.kenzu_zumen.buhin {
    background: #ffc600;
}

.kenzu_zumen.kumizu {
    background: #0a1464;
}

.kenzu_zumen.shuhen {
    background: #e7e7e7;
}

.kenzu_zumen.kumizu h4 {
    color: #fff;
}

.kenzu_zumen_area>div img {
    border: 2px solid #000;
    width: 100%;
    height: auto;
}

.kenzu_zumen_img {
    position: relative;
}

.modal_scope {
    content: '';
    display: block;
    width: 30px;
    height: 30px;
    background: url(../images/kenzu/kenzu_scope.png)0 0 no-repeat;
    background-size: contain;
    position: absolute;
    bottom: 5px;
    right: 5px;
    z-index: 3;
    overflow: hidden;
    text-indent: -200px;
}


ul.shuhen_area {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    padding: 0;
}

ul.shuhen_area li {
    width: calc(50% - 30px);
    margin: 0 15px;
}

@media screen and (max-width: 900px) {
    ul.kenzu_area>li {
        width: calc(100% - 30px);
    }
}

@media screen and (max-width: 500px) {
    ul.kenzu_area>li h2 {
        font-size: 20px;
        padding: 10px;
    }

    .kenzu_zumen_area {
        padding: 0;
    }

    .kenzu_zumen_area h4 {
        text-align: center;
    }

    ul.kenzu_area {
        padding: 0;
    }

    ul.kenzu_area>li {
        width: 100%;
    }

    ul.kenzu_area>li:first-child {
        margin-top: 0px;
    }

    .modal_scope {
        width: 20px;
        height: 20px;
    }

    .kenzu_zumen {
        width: calc(100% - 30px);
        margin: 7px 15px;
        -moz-border-radius: 5px;
        border-radius: 5px;
    }

    .kenzu_zumen.shuhen {
        padding: 10px 0;
    }

    ul.shuhen_area {
        flex-wrap: wrap;
    }

    ul.shuhen_area li {
        width: calc(100% - 30px);
        margin: 10px;
    }
}

.kenzu_higuchi,
.kenzu_igarashi {
    display: flex;
    padding: 15px;
    justify-content: center;
    float: none;
    margin: 0 auto;
}

.kenzu_higuchi_img,
.kenzu_igarashi_img {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.kenzu_higuchi_img img,
.kenzu_igarashi_img img {
    width: 100px !important;
    height: 100px !important;
    -moz-border-radius: 50px;
    border-radius: 50px;
    display: block;
    overflow: hidden;
    box-shadow: 0px 0px 5px #000;
}

.kenzu_higuchi_text,
.kenzu_igarashi_text {
    color: #0a1464;
    font-size: 18px;
    font-weight: 600;
    padding-left: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

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

    .kenzu_higuchi_img img,
    .kenzu_igarashi_img img {
        width: 70px !important;
        height: 70px !important;
    }

    .kenzu_higuchi_text,
    .kenzu_igarashi_text {
        font-size: 15px;
    }

    .kenzu_zumen {
        padding-bottom: 10px;
    }

    .kenzu_zoom_text {
        padding: 15px 0 0 0;
        font-size: 14px;
    }

    .kenzu_zoom_text:before {
        width: 13px;
        height: 13px;
    }
}

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

    .kenzu_higuchi_img img,
    .kenzu_igarashi_img img {
        width: 50px !important;
        height: 50px !important;
    }

    .kenzu_higuchi_text,
    .kenzu_igarashi_text {
        font-size: 13px;
        width: calc(100% - 50px);
    }
}

.kenzu_result_btn a {
    padding: 10px;
    display: block;
    margin: 10px auto;
    float: none;
    background: #0a1464;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    width: 300px;
    text-align: center;
    -moz-border-radius: 10px;
    border-radius: 10px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px, rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
}

@media screen and (max-width: 350px) {
    .kenzu_result_btn a {
        width: calc(100% - 20px);
        font-size: 14px;
    }

}

.kenzu_3d {
    padding: 15px;
}

.kenzu_3d h3,
.kenzu_meviy h3 {
    font-size: 20px;
    font-weight: 600;
    text-align: center;
}

.kenzu_3d_img {}

.kenzu_3d_area {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
}

.kenzu_3d_area li {
    width: calc(33% - 20px);
    margin: 10px;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}
@media screen and (max-width: 500px) {
    .kenzu_3d_area li {
        width: calc(50% - 20px);
        margin: 10px;
    }
}

.kenzu_meviy {
    padding: 15px;
}

.kenzu_meviy_img {
    width: 100%;
    border: #000 2px solid;
    margin-bottom: 10px;
}

.kenzu_meviy_img img{
    width: 100%;
    height: auto;
}

.kenzu_estimate_btn a,
.kenzu_x_btn a,
.youtube_btn a  {
    display: block;
    max-width: 400px;
    float: none;
    margin: 15px auto;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    display: block;
    text-align: center;
    background: #ffc600;
    color: #000;
    padding: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px, rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
}
.kenzu_x_btn a {
    background: #000;
    color: #fff;
    position: relative;
    padding-left: 45px;
}
.kenzu_x_btn a:before{
    position: absolute;
    left: 10px;
    top: calc(50% - 15px);
    display: block;
    float: left;
    content: '';
    background: url(../images/kenzu/x_logo-white.png) center center no-repeat;
    width: 30px;
    height: 30px;
    background-size: contain;
}
.youtube_btn a {
    background: #0a1464;
    color: #fff;
}

@media screen and (max-width: 600px) {
    .kenzu_estimate_btn a,
    .kenzu_x_btn a,
    .youtube_btn a {
        width: calc(100% - 40px);
        font-size: 14px;
    }

}

.kenzu_youtube h3{
    text-align: center;
    font-size: 25px;
    font-weight: 600;
    margin-top: 40px;
}
.kenzu_youtube_area{
    padding: 0 15px;
}




/* modal */


.modal-wrapper .kenzu_modal-window {
    box-sizing: border-box;
    display: inline-block;
    z-index: 8000;
    position: relative;
    width: 85%;
    max-width: 900px !important;
    max-height: 100%;
    padding: 0px;
    border-radius: 2px;
    background: #fff;
    box-shadow: 0 0 30px rgba(0, 0, 0, .6);
    vertical-align: middle;
    text-align: left;
}

.modal-wrapper .kenzu_modal-close {
    z-index: 9000;
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 40px;
    color: #fff !important;
    background: rgba(0, 0, 0, 0.59);
    font-size: 30px;
    font-weight: 700;
    line-height: 34px;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
}

.modal-wrapper .kenzu_modal-close:hover {
    color: #fff !important;
    background: #000;
}

.kenzu_modal_content {
    padding: 0px;
    border: 2px solid #000;
    position: relative;
}

.kenzu_modal_content img {
    width: 100%;
    height: auto;
}

@media screen and (max-height: 800px) {
    .modal-wrapper .kenzu_modal-window {
        max-width: 500px;
    }
}

@media screen and (max-height: 700px) {
    .modal-wrapper .kenzu_modal-window {
        max-width: 400px;
    }
}

@media screen and (max-height: 600px) {
    .modal-wrapper .kenzu_modal-window {
        max-width: 300px;
    }
}


.modal-wrapper_youtube .kenzu_modal-close:hover {
    color: #fff !important;
    background: #000;
}

.kenzu_modal_close {
    position: absolute;
    top: -20px;
    right: -20px;
}

.kenzu_modal_close a {
    display: block;
    background: url(../images/kenzu/modal_close_2.png)center center no-repeat;
    background-size: contain;
    width: 40px;
    height: 40px;
    overflow: hidden;
    text-indent: -200px;
}

.kenzu_modal_close a:hover {
    background: url(../images/kenzu/modal_close_2_hover.png)center center no-repeat;
    background-size: contain;
}

@media screen and (max-width: 600px) {
    .kenzu_modal_close {
        top: -15px;
        right: -15px;
    }

    .kenzu_modal_close a {
        width: 30px;
        height: 30px;
    }

    .kenzu_modal_content {
        display: block;
        padding-bottom: 0;
    }
}

/* モーダル全体のラッパー */
.yt-modal-wrapper {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* is-active が付いたときに表示 */
.yt-modal-wrapper.is-active {
    display: flex;
}

/* 背景のオーバーレイ */
.yt-modal-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    top: 0;
    left: 0;
}

/* モーダル本体 */
.yt-modal-window {
    position: relative;
    padding: 20px;
    z-index: 10000;
    max-width: 900px;
    width: 90%;
    border-radius: 8px;
}

/* コンテンツ */
.yt-modal-content {
    position: relative;
}

/* 閉じるボタン */
.yt-modal-close {
    position: absolute;
    top: -20px;
    right: -20px;
}

.yt-modal-close a {
    display: block;
    background: url(../images/kenzu/modal_close_2.png)center center no-repeat;
    background-size: contain;
    width: 40px;
    height: 40px;
    overflow: hidden;
    text-indent: -200px;

}

.yt-modal-close a:hover {
    background: url(../images/kenzu/modal_close_2_hover.png)center center no-repeat;
    background-size: contain;
}

/* iframeの比率を維持 */
.video-16-9 {
    width: 100%;
    aspect-ratio: 16 / 9;
}
.youtube_thumb{
    margin-bottom: 20px;
}
.youtube_thumb_img img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 6px;
}

.youtube_thumb_img {
    cursor: pointer;
    text-align: center;
    transition: transform 0.2s ease;
    margin: 0;
    padding: 0;
    position: relative;
}
.youtube_thumb:first-of-type{margin-top: 10px;}


.youtube_thumb:hover {
    transform: scale(1.05);
}

p.youtube_thumb_text {
    font-size: 16px;
    font-weight: 600;
}
.youtube_play{
    width: 100px;
    aspect-ratio: 734 / 518;
    background: url(../images/kenzu/yt_icon_rgb.png) center center no-repeat;
    background-size: contain;
    position: absolute;
    top: calc(50% - 35px);
    left: calc(50% - 50px);
    z-index: 100;
}

/* Archive  */
.kenzu_archive_youtube {
    padding: 20px;
    width: 100%;
}

.kenzu_archive_youtube h3 {
    font-size: 30px;
    font-weight: 600;
    text-align: center;
    margin-top: 20px;
    color: #fff;
}

ul.kenzu_archive_youtube_carousel li {
    padding: 0 15px;
}
.swiper-slide .youtube_thumb img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    display: block;
}

.swiper-slide p.youtube_thumb_text {
    font-size: 18px;
    font-weight: 600;
    margin-top: 10px;
    color: #fff;
    text-align: center;
}

/* Swiperコンテナは相対位置に */
.mySwiper {
    position: relative;
}

/* 矢印を強制表示 */
.swiper-button-next,
.swiper-button-prev {
    color: #333 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    z-index: 10;
    padding: 10px;
}

/* ホバー時 */
.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: #333;
    color: #fff !important;
}