@charset "UTF-8";
.mainv {
    width: 100%;
    height: calc(100vh - 150px);
    object-fit: cover;
}
.top_art02 {
    overflow-x: hidden;
}
.top_art02 .inbox001 figure img {
    width: 190px;
}
.top_art02 .box-80::before {
    position: absolute;
    content: "";
    width: 100%;
    height: calc(100% + 200px);
    background: #E4EFE1;
    left: 0;
    bottom: 0;
    z-index: -1
}
.top_art02 li:nth-child(odd) section .flexbox h3 {
    order: 2;
    padding-left: 20px;
}
.top_art02 li:nth-child(odd) section .flexbox p {
    order: 1;
}
.top_art02 li:nth-child(odd) .pos-ab {
    left: 260px;
    top: 30px;
    width: 80vw;
}
.top_art02 li:nth-child(odd) .pos-ab img {
    width: 80vw;
    height: 590px;
    object-fit: cover;
    object-position: center center;
}
.top_art02 li:nth-child(even) .flexbox > div {
    margin-right: 0;
    margin-left: auto;
}
.top_art02 li:nth-child(even) section .flexbox h3 {
    order: 2;
    padding-left: 20px;
}
.top_art02 li:nth-child(even) section .flexbox p {
    order: 1;
}
.top_art02 li:nth-child(even) .pos-ab {
    right: 260px;
    top: 30px;
    width: 80vw;
}
.top_art02 li:nth-child(even) .pos-ab img {
    width: 80vw;
    height: 590px;
    object-fit: cover;
    object-position: center center;
}
.top_art02 .inbox03 img {
    width: 180px !important;
    height: auto !important;
    position: absolute;
    right: 20px !important;
    bottom: 20px !important;
}
@media only screen and (max-width: 800px) {
    .mainv {
        width: 100%;
        height: 70vh;
        object-fit: cover;
    }
    .top_art02 .inbox001 figure img {
        width: 120px;
    }
    .top_art02 .inbox02 {
        padding: 20px;
        width: 100px;
        position: absolute;
        top: 0;
    }
    .top_art02 .box-80::before {
        position: absolute;
        content: "";
        width: 100%;
        height: 100%;
        background: #E4EFE1;
        left: 0;
        bottom: 0;
        z-index: -1
    }
    .top_art02 li:nth-child(odd) section .flexbox h3 {
        order: 2;
        padding-left: 0;
        margin-bottom: 15px;
    }
    .top_art02 li:nth-child(odd) section .flexbox p {
        order: 1;
    }
    .top_art02 li:nth-child(odd) .pos-ab {
        width: 100%;
        margin-bottom: 30px;
    }
    .top_art02 li:nth-child(odd) .pos-ab img {
        width: 100%;
        height: auto;
        object-fit: scale-down;
    }
    .top_art02 li:nth-child(even) section .flexbox h3 {
        order: 2;
        padding-left: 0;
        margin-bottom: 15px;
    }
    .top_art02 li:nth-child(even) section .flexbox p {
        order: 1;
    }
    .top_art02 li:nth-child(even) .pos-ab {
        width: 100%;
        margin-bottom: 30px;
    }
    .top_art02 li:nth-child(even) .pos-ab img {
        width: 100%;
        height: auto;
        object-fit: scale-down;
    }
    .top_art02 .inbox03 img {
        width: 100% !important;
        height: auto !important;
        position: static;
        right: 20px !important;
        bottom: 20px !important;
    }
}
/*==================================================
# Gutenberg Block Styles
==================================================*/
/* 画像ブロックのスタイル */
.wp-block-image {
    margin-bottom: 2em;
}
/* 幅広アライメント（alignwide）のスタイル */
.alignwide {
    max-width: 1000px; /* PCでの表示幅を指定 */
    width: calc(100% + 60px); /* 左右に30pxずつはみ出す */
    margin-left: -30px;
    margin-right: -30px;
}
/* 全幅アライメント（alignfull）のスタイル */
.alignfull {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    max-width: none;
}
/* 画像ブロックに全幅アライメントが適用された場合 */
.wp-block-image.alignfull {
    margin-bottom: 2em;
}
/* 埋め込みコンテンツ（YouTubeなど）のスタイル */
.wp-block-embed-youtube, .wp-block-embed-vimeo {
    position: relative;
    padding-bottom: 56.25%; /* 16:9のアスペクト比を維持 */
    height: 0;
    overflow: hidden;
}
.wp-block-embed-youtube iframe, .wp-block-embed-vimeo iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
/* 見出しブロックのスタイル（任意） */
.wp-block-heading {
    margin-top: 2em;
    margin-bottom: 1em;
}
/* スマートフォン向けのレスポンシブ対応 */
@media screen and (max-width: 768px) {
    .alignwide, .alignfull {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
}
/* ロゴの初期状態とトランジション設定 */
.header_logo img {
    transition: transform 0.3s ease-in-out;
    transition: height 0.3s ease-in-out;
    height: 180px;
}
/* スクロール時に適用されるスタイル */
.header_logo.is-scrolled {
    height: auto;
}
.header_logo.is-scrolled img {
    height: 80px;
}
/* スマートフォン向けのレスポンシブ対応 */
@media screen and (max-width: 767px) {
    /* 画面幅が767px以下の場合 */
    .header_logo img {
        /* 常に元のサイズ（100%）を維持 */
        transform: scale(1) !important;
    }
}
/*==================================================
# Fade-in card styles
==================================================*/
/* カードの基本スタイル */
.card {
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 24px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
/* カードにホバー時のスタイル */
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
/* フェードインの初期状態 */
.js-fadein {
    opacity: 0;
    transform: translateY(20px); /* 20px下から開始 */
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* 物理的な動きを演出するイージング関数 */
}
/* フェードイン後の状態 */
.js-fadein.is-active {
    opacity: 1;
    transform: translateY(0);
}
/* スマートフォンでの表示調整 */
@media screen and (max-width: 768px) {
    .card {
        margin-bottom: 16px;
    }
}
/* PCでのページ内リンクのオフセット */
/* アンカー（ターゲット）要素に直接スタイルを適用 */ :target {
    scroll-margin-top: 180px; /* PCでのヘッダー高さに合わせる */
}
/* スマートフォンでのオフセット解除 */
@media screen and (max-width: 767px) {
    :target {
        scroll-margin-top: 0; /* SPではオフセットを無効にする */
    }
}

/* YouTube動画ライトボックスのスタイル */
.youtube-lightbox .lb-container {
    width: 100% !important;
    max-width: 800px;
    height: auto !important;
}

.youtube-lightbox .lb-dataContainer {
    width: 100% !important;
}

.youtube-lightbox .lb-outerContainer {
    width: 100% !important;
    max-width: 800px;
    height: auto !important;
}

.youtube-lightbox .lb-image {
    width: 100% !important;
    height: auto !important;
}

.youtube-lightbox .lightbox-youtube {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* アスペクト比 16:9 を維持 */
    overflow: hidden;
}

.youtube-lightbox iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.youtube-lightbox .lb-caption {
    width: 100% !important;
}

/* スマートフォン対応（768px以下） */
@media (max-width: 768px) {
    .youtube-lightbox .lb-container,
    .youtube-lightbox .lb-outerContainer {
        width: 90% !important;
        max-width: 90%;
    }
}

div.pp_overlay {
    background: #000;
    display: none;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 9500;
    overflow: hidden!important
}
.pp_details{
    background: #000;
}