/* ========================================
   背景
   ======================================== */
body::before {
    content: '';
    display: block;
    width: 100vw;
    height: 100vh;
    position: fixed;
    z-index: -1;
    background-image: url("../img/pc_background.webp");
    background-size: cover;
    background-repeat: no-repeat;
}

/* ========================================
   メインコンテンツ
   ======================================== */
.lp {
    position: relative;
    max-width: 560px;
    width: 100%;
    margin: auto;
    box-shadow: 0px 0px 40px 0px rgba(0, 0, 0, 0.4);
}

.lp .image {
    position: relative;
    width: 100%;
    height: auto;
}

.lp .image img {
    width: 100%;
    height: 100%;
    display: block;
    margin-bottom: -1px;
}

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

/* ========================================
   タブ
   ======================================== */
.tab {
    position: sticky;
    top: max(-32.56px, calc(-100vw * 50 / 860));
    z-index: 999;
}

.tab_menu {
    position: absolute;
    z-index: 999999;
    width: 100%;
    height: 100%;
    display: flex;
}

.tab_menu a {
    flex: 1;
}

.tab_image {
    display: none;
}

.tab_image.active {
    display: block;
}

/* ========================================
   イベントセクション
   ======================================== */
.tab_image,
.event_01,
.event_02,
.event_03 {
    display: none;
}

.tab_image.active,
.event_01.active,
.event_02.active,
.event_03.active {
    display: block;
}

/* ========================================
   CTA（PC版）
   ======================================== */
.cta_pc {
    width: 25vw;
    margin: auto;
    position: fixed;
    right: 40px;
    bottom: 32px;
	box-shadow: 0px 4px 14px 0px rgba(0, 0, 0, 0.2);
	border-radius: 8px;
}

.cta_pc .image {
	position: relative;
}

.cta_pc .image a {
	display: flex;
}

.cta_pc img {
    width: 100%;
    margin: auto;
}

@media screen and (max-width: 1280px) {
    .cta_pc {
        display: none;
    }
}

/* ========================================
   CTA（SP版）
   ======================================== */
.cta_sp {
    display: none;
    max-width: 560px;
    width: 100%;
    margin: auto;
    padding-inline: 32px;
    padding-bottom: 32px;
    position: fixed;
    bottom: 0px;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    pointer-events: none;
}

.cta_sp img {
    box-shadow: 0px 4px 14px 0px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

@media screen and (max-width: 1280px) {
    .cta_sp {
        display: block;
    }
}

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

/* ========================================
   CTAボタン
   ======================================== */
.cta_btn {
    position: relative !important;
}

.cta_image {
    position: absolute;
    width: 85% !important;
    height: auto !important;
    bottom: 12%;
    left: 50%;
    transform: translateX(-50%);
	box-shadow: 0px 4px 14px 0px rgba(0, 0, 0, 0.2);
	border-radius: 8px;
}

.cta_image_02 {
    position: absolute;
    width: 85% !important;
    height: auto !important;
    bottom: 9%;
    left: 50%;
    transform: translateX(-50%);
	box-shadow: 0px 4px 14px 0px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

.cta_image_03 {
    position: absolute;
    width: 85% !important;
    height: auto !important;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
	box-shadow: 0px 4px 14px 0px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

.line_cta {
    display: flex;
    overflow: hidden;
}

.line_cta img {
    transition: transform 0.2s ease;
    transform-origin: center;
}

@media (hover: hover) and (pointer: fine) {
    .line_cta:hover img {
        transform: scale(1.02);
    }
}

.line_cta:focus-visible {
    outline: 3px solid #06c755;
    outline-offset: 3px;
}
