/*
Theme Name: SWELL Child - Custom Overrides
Description: Place your custom CSS here. These styles override parent and child theme defaults.
*/

@charset "UTF-8";
.p-articleThumb, .p-articleThumb__img, .p-articleThumb__img img, .c-postThumb__figure, .c-postThumb__img, .c-postThumb__img img {
    width: 100%;
    aspect-ratio: 798 / 440;
    object-fit: cover;
    overflow: hidden;
    clip-path: url("#clip0");
    -webkit-clip-path: url("#clip0");
}
.p-articleThumb, .c-postThumb__figure {
    position: relative;
}
.p-articleThumb::after, .c-postThumb__figure::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("../img/eye-catch_frame.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    pointer-events: none;
    clip-path: url("#clip0");
    -webkit-clip-path: url("#clip0");
}
.-frame-on .l-mainContent {
    background: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}
.c-categoryList__link, .c-postThumb__cat {
    background: #D8FA00;
    color: #111;
    border: 1px solid #111;
}
.single .c-postTitle__ttl {
    position: relative;
    padding-right: 10vw;
    padding-bottom: 1vw;
    margin-bottom: 1vw;
}
.single .c-postTitle__ttl::after {
    content: "";
    position: absolute;
    bottom: -52%;
    right: 0;
    transform: translateY(-50%);
    width: 20vw;
    max-width: 120px;
    height: 100%;
    background-image: url("../img/h1_title_item.png");
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: contain;
    pointer-events: none;
}
.single .c-postTitle__ttl::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 85%;
    height: 1px;
    background-color: #C0C0C0;
    pointer-events: none;
}
.single .post_content > h2 {
    --cut: 18px;
    background: linear-gradient(9090deg, #E3E3E3 0%, #EBE9E9 33%, #e3e3e3 66%, #d5d5d5 100%);
    padding: 0.7em 1em;
    color: inherit;
    clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
    overflow: hidden;
}
.single .post_content > h3 {
    position: relative;
    padding-left: 1.5em;
    border-bottom: 1px solid #C0C0C0;
    text-shadow: 0 0 10px #ffffff, 0 0 10px #ffffff, 0 0 10px #ffffff;
}
.single .post_content > h3::before {
    content: "";
    position: absolute;
    top: 35%;
    bottom: 0;
    left: 0;
    margin: auto;
    transform: translateY(-50%);
    width: 1.2em;
    height: 1.2em;
    background-image: url("../img/h3_title_item.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    pointer-events: none;
}
.single .post_content > h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 7%;
    height: 4px;
    background-image: url("../img/h3_title_item_line.svg");
    background-repeat: no-repeat;
    background-position: right center;
    background-size: contain;
    pointer-events: none;
}
@media screen and (max-width: 767px) {
    .single .post_content > h3::after {
        width: 12%;
    }
}
.single .post_content a.cv_button {
    position: relative;
    display: block;
    text-decoration: none;
    color: #fff;
    padding: 1.2em 1em;
    width: 640px;
    max-width: 100%;
    display: block;
    text-align: center;
    font-weight: bold;
    margin: 10px auto;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    --cut: 18px;
    clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
    transition: 0.3s;
    background: #111;
    -webkit-filter: drop-shadow(0 4px 0 #666) drop-shadow(0 7px 10px rgba(0, 0, 0, 0.5));
    filter: drop-shadow(0 4px 0 #666) drop-shadow(0 7px 10px rgba(0, 0, 0, 0.5));
}
.single .post_content a.cv_button:hover {
    color: #111;
    -webkit-filter: drop-shadow(0 2px 0 #666) drop-shadow(0 4px 6px rgba(0, 0, 0, 0.4));
    filter: drop-shadow(0 2px 0 #666) drop-shadow(0 4px 6px rgba(0, 0, 0, 0.4));
    transform: translateY(-2px);
    text-shadow: 0 0 10px #fff, 0 0 10px #fff, 0 0 10px #fff;
}
.single .post_content a.cv_button:after {
    position: absolute;
    content: "";
    width: 120%;
    height: 100%;
    top: 0;
    left: -150%;
    -webkit-transform: skewX(0deg);
    transform: skewX(0deg);
    background: #D8FA00;
    z-index: -1;
    -webkit-transition: all 0.4s;
    transition: all 0.4s;
}
.single .post_content a.cv_button:before {
    position: absolute;
    content: "";
    width: 120%;
    height: 100%;
    top: 0;
    left: 150%;
    -webkit-transform: skewX(0deg);
    transform: skewX(0deg);
    background: #D8FA00;
    z-index: -1;
    -webkit-transition: all 0.4s;
    transition: all 0.4s;
}
.single .post_content a.cv_button:hover:after {
    left: -70%;
}
.single .post_content a.cv_button:hover:before {
    left: 50%;
}
.single .p-articleMetas__termList .c-categoryList__link, .single .p-articleMetas__termList .c-tagList__link {
    display: inline-block;
    padding: 0.25em 0.7em;
    margin: 0 4px 4px 0;
    background: #D8FA00;
    color: #111;
    border: 1px solid #111;
    line-height: 1.2;
    text-decoration: none;
    transition: all 0.3s ease;
}
.single .p-articleMetas__termList .c-categoryList__link:hover, .single .p-articleMetas__termList .c-tagList__link:hover {
    background: #111;
    color: #fff;
}
.single .post_content table {
    border-collapse: collapse;
    width: 100%;
    margin: 1.5em 0;
    font-size: 0.95em;
}
.single .post_content table td, .single .post_content table th {
    border: 1px solid #111;
    padding: 0.7em 1em;
    line-height: 1.5;
    vertical-align: top;
}
.single .post_content table tr:nth-child(even) {
    background: rgba(249, 249, 249, 0.8);
}
.single .post_content table td:first-child {
    background: rgba(217, 250, 0, 0.3);
    color: #111;
    font-weight: 600;
    white-space: nowrap;
}
.single .post_content table tr:hover {
    background: rgba(255, 255, 216, 0.8);
}
header#header {
    background: unset;
    padding-bottom: 3%;
}
@media (min-width: 960px) {
    header#header {
        position: relative;
        padding-bottom: 0;
    }
}
.l-fixHeader.-series {
    background: unset;
}
.l-fixHeader::before {
    opacity: 1;
    background: unset;
}
.l-header::before, .l-fixHeader::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("../img/header_line_bg_sp.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center top;
    pointer-events: none;
    z-index: 2;
    top: 0;
}
.l-header::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("../img/header_line_bg_sp_btm.png");
    background-repeat: no-repeat;
    background-size: contain;
    pointer-events: none;
    background-position: bottom;
    z-index: 2;
    bottom: 0;
    height: 100%;
}
@media (min-width: 960px) {
    .l-header::before, .l-fixHeader::before {
        background-image: url("../img/header_line_bg.png");
        background-size: auto;
    }
    .l-header::after {
        display: none;
    }
}
.l-header__inner {
    align-items: flex-end;
    padding-bottom: 0%;
    background: var(--color_header_bg);
}
@media (min-width: 960px) {
    .l-header__inner,
    .l-fixHeader__inner {
        flex-direction: column;
        justify-content: center;
        max-width: unset;
        padding: 0;
        padding-bottom: 0;
        margin: 0;
        background: unset;
    }
}

.-series .l-header__logo,
.-series .l-fixHeader__logo {
    justify-content: center;
    margin: auto;
    padding-top: 6%;
    position: relative;
    background: var(--color_header_bg);
    width: 100%;
    z-index: 2;
}
@media (min-width: 960px) {
    .-series .l-header__logo,
    .-series .l-fixHeader__logo {
    padding-top: 32px;
}
}

header#header.-series .l-header__logo::before,
header#header.-series .l-header__logo::after,
.l-fixHeader__logo::before,
.l-fixHeader__logo::after {
    content: "";
    inset: 0;
    background-image: url("../img/header_logo-line.png");
    background-repeat: no-repeat;
    background-size: contain;
    pointer-events: none;
    z-index: -1;
    top: 0;
    bottom: 0;
    margin: auto;
    width: 374px;
    height: 20px;
}

header#header.-series .l-header__logo::before,
.l-fixHeader__logo::before {
    left: -280%;
}

header#header.-series .l-header__logo::after,
.l-fixHeader__logo::after {
    right: -280%;
    transform: scale(-1, 1);
}

.l-header__customBtn, .l-header__menuBtn {
    --cut: 12px; /* size of diagonal cut, adjust if needed */
    background: #D8FA00;
    padding-top: 0%;
    clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
    overflow: hidden; /* ensure child content doesn’t overflow the clipped shape */
    width: 50px;
    height: 37px;
}

.c-iconBtn__icon {
    display: block;
    font-size: 18px;
}

.l-header__menuBtn {
    margin-left: 3%;
    margin-bottom: 2%;
}

.l-header__customBtn {
    margin-right: 3%;
    margin-bottom: 2%;
}

.c-gnavWrap {
    margin: auto;
    background: #545454;
    position: relative;
    border-left: 1px solid #545454;
    border-right: 1px solid #545454;
}

.c-gnavWrap::before,.c-gnavWrap::after {
    content: "";
    inset: 0;
    position: absolute;
    background-image: url("../img/header_nav-line.png");
    background-repeat: no-repeat;
    background-size: 100%;
    pointer-events: none;
    z-index: -1;
    top: 0;
    bottom: 0;
    margin: auto;
    width: 20%;
    height: auto;
}

.c-gnavWrap::before {
    left: -120%;
}

.c-gnavWrap::after {
    right: -120%;
    transform: scale(-1, 1);
}

.c-gnavWrap .c-gnav {
    align-items: center;
}

.c-gnavWrap .c-gnav li {
    border-right: 1px solid #fff;
    padding-left: 8px;
    padding-right: 8px;
}

.c-gnavWrap .c-gnav li:last-child {
    border: none;
}

.c-gnav>.menu-item>a {
    color: #fff;
    padding-left: 12px; /* space for hexagon indicator */
    display: inline-block; /* allow transform without affecting flow */
    transition: transform .3s ease, color .3s ease;
}

.c-gnav>.menu-item:last-child::before {
    display: none;
}

.c-gnav > .menu-item {
    position: relative; /* establish containing block for pseudo-element */
}

.c-gnav > .menu-item::before {
    content: '';
    position: absolute;
    left: 9px; /* horizontal offset from li edge */
    top: 50%;
    transform: translateY(-50%) translateX(8px); /* start slightly right */
    width: 10px;
    height: 10px;
    background: #D8FA00; /* indicator color */
    clip-path: polygon(15% 0%, 100% 0%, 100% 75%, 85% 100%, 0% 100%, 0% 25%); /* hexagon with TL & BR cut */
    opacity: 0;
    transition: opacity .3s ease, transform .3s ease;
}

.c-gnav > .menu-item:hover::before,
.c-gnav > .menu-item:focus-within::before {
    opacity: 1;
    transform: translateY(-50%) translateX(0); /* slide left into place */
}

/* move link text slightly right on hover */
.c-gnav > .menu-item:hover > a,
.c-gnav > .menu-item:focus-within > a {
    transform: translateX(4px);
}

.c-gnav__sBtn {
    color: #fff;
}

.c-gnav>.menu-item>a:after {
    display: none;
}


/* === CTA Shortcode Styles === */

/* ==== Table scroll wrap ==== */
.table-wrap {
    position: relative;
    margin: 2rem 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none; /* hide scrollbar IE/Edge */
    scrollbar-width: thin;
}

.table-wrap .table-note {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 0.4rem 0.9rem;
    font-size: 0.75rem;
    background: #D8FA00;
    color: #111;
    font-weight: 600;
    border-radius: 4px;
    pointer-events: none;
    white-space: nowrap;
    opacity: 1;
    transition: opacity .3s ease;
}

.table-wrap > table {
    min-width: 640px; /* force overflow on narrow screens */
}

.cta-block {
    text-align: center;
    margin: 2rem 0;
    width: 100%;
}

.cta-microcopy {
    position: relative;
    display: inline-block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #111;
    padding: 0.2rem 1rem;
}

/* slanted line puff design */
.cta-microcopy::before,
.cta-microcopy::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 32px;
    height: 2px;
    background: currentColor;
}

.cta-microcopy::after {
    right: 100%;
    margin-right: 8px;
    transform: translateY(-50%) rotate(45deg);
}

.cta-microcopy::before {
    left: 100%;
    margin-left: 8px;
    transform: translateY(-50%) rotate(-45deg);
}

.c-btn--cta {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 0.5em;
    padding: 1em 2.6em 1em 3.2em; /* extra left for hex */
    background: #111;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    --cut: 12px;
    clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
    overflow: hidden;
    transition: color .3s ease;
}

.c-btn--cta .cta-text {
    position: relative;
    z-index: 2;
}

/* Left hexagon */
.c-btn--cta .cta-hex {
    position: absolute;
    left: 1em;
    top: 50%;
    width: 1em;
    height: 1em;
    background: #D8FA00;
    clip-path: polygon(15% 0%, 100% 0%, 100% 75%, 85% 100%, 0% 100%, 0% 25%);
    transform: translateY(-50%);
    z-index: 2;
}

/* Hover overlay from center to sides */
.c-btn--cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #D8FA00;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .3s ease;
    z-index: 1;
}

.c-btn--cta:hover::before,
.c-btn--cta:focus::before {
    transform: scaleX(1);
}

.c-btn--cta:hover,
.c-btn--cta:focus {
    color: #111;
}