@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&family=Oswald:wght@500;700&display=swap');

:root {
    --primary-color: #f39800;
    --text-color: #333;
    --bg-beige: #f5eada;
    --bg-dark: #333;
    --bg-green: #95C538;
    --white: #fff;
    --main-font: 'Noto Sans JP', sans-serif;
    --accent-font: 'Oswald', sans-serif;
}

/* Size Specifications */
@media screen and (min-width: 1000px) {
    html {
        font-size: 62.5%;
    }
}

@media screen and (max-width: 999px) {
    html {
        font-size: 1vw;
    }
}

@media screen and (max-width: 759px) {
    html {
        font-size: 2vw;
    }
}

body {
    font-family: var(--main-font);
    font-size: 1.6rem;
    color: var(--text-color);
    line-height: 1.8;
    overflow-x: hidden;
}

/* Layout Utilities */
.inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

@media screen and (max-width: 759px) {
    .inner {
        padding: 0 20px;
    }
}

/* Section Common */
section {
    padding: 10rem 0;
}

@media screen and (max-width: 759px) {
    section {
        padding: 6rem 0;
    }
}

.section-label {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--accent-font);
    font-size: 2rem;
    color: var(--text-color);
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.section-label::before,
.section-label::after {
    content: '';
    flex: 1;
    max-width: 150px;
    height: 1px;
    background: #ccc;
    margin: 0 20px;
}

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

    .section-label::before,
    .section-label::after {
        max-width: 50px;
        margin: 0 10px;
    }
}

.case-study .section-label::before,
.case-study .section-label::after {
    background: rgba(255, 255, 255, 0.4);
}

.section-title {
    font-size: 3.6rem;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.4;
}

.section-subtitle {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 3rem;
    display: block;
}

/* Components */
.block {
    margin-bottom: 4rem;
}

.box {
    padding: 2rem;
}

.wrap {
    display: flex;
    flex-wrap: wrap;
}

.text {
    font-size: 1.6rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(0, 0, 0, 0.5);
    height: 9rem;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(0, 0, 0, 0.9);
    height: 7rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.header .inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.header-logo a {
    display: block;
}

.header-logo img {
    height: 5rem;
    transition: height 0.3s ease;
}

.header.scrolled .header-logo img {
    height: 4rem;
}

.header-nav ul {
    display: flex;
    gap: 4rem;
}

.header-nav a {
    color: var(--white);
    font-weight: 500;
    font-size: 1.5rem;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s;
}

.header-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.header-nav a:hover {
    color: var(--primary-color);
}

.header-nav a:hover::after {
    width: 100%;
}

.header-cta {
    height: 100%;
}

.header-cta .btn {
    background: #ff8400;
    color: var(--white);
    padding: 0 4rem;
    font-weight: 700;
    font-size: 1.6rem;
    height: 100%;
    display: flex;
    align-items: center;
    border-radius: 0;
    transition: all 0.3s ease;
}

.header-cta .btn:hover {
    background: #e67700;
    box-shadow: 0 0 20px rgba(255, 132, 0, 0.4);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 101;
}

.menu-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--white);
    transition: all 0.3s ease;
}

@media screen and (max-width: 999px) {
    .header-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.95);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.4s ease;
        z-index: 100;
    }

    .header-nav.active {
        right: 0;
    }

    .header-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 4rem;
    }

    .header-nav a {
        font-size: 2rem;
    }

    .menu-toggle {
        display: flex;
        margin-left: 20px;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .header-cta {
        display: none;
        /* Hide CTA button on mobile header to make room, can be moved to menu */
    }
}

/* Hero */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 0;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    /* Dark overlay */
    z-index: 0;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero-title {
    color: var(--white);
    text-align: left;
    /* Left-aligned in design */
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-title h1 {
    font-size: 8.4rem;
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
}

@media screen and (max-width: 759px) {
    .hero-title h1 {
        font-size: 8vw;
    }
}

.hero-scroll {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    font-family: var(--accent-font);
    font-size: 1.2rem;
    letter-spacing: 0.3em;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-scroll::after {
    content: '';
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--white), transparent);
    margin-top: 1rem;
    animation: scrollLine 2s infinite;
}

@keyframes scrollLine {
    0% {
        transform: scaleY(0);
        transform-origin: top;
    }

    50% {
        transform: scaleY(1);
        transform-origin: top;
    }

    51% {
        transform: scaleY(1);
        transform-origin: bottom;
    }

    100% {
        transform: scaleY(0);
        transform-origin: bottom;
    }
}

/* Add a subtle mesh pattern to hero for that premium "tech" feel */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 0);
    background-size: 30px 30px;
    z-index: 0;
    pointer-events: none;
    opacity: 0.3;
}

/* Service Image Map */
.service-map {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.service-map img {
    width: 100%;
    height: auto;
    display: block;
}

.service-map figure {
    position: relative;
}

@media screen and (max-width: 850px) {
    .service-map figure {
        transform: scale(1.1);
    }
}

.service-map figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 33%;
    padding: 1.6rem;
    background-color: var(--bg-green);
    color: var(--white);
    font-size: 2.4rem;
    font-weight: 700;
    border-radius: 0.8rem;
    border: 0.2rem solid var(--white);
}

@media screen and (max-width: 850px) {
    .service-map figcaption {
        font-size: 1.2rem;
        padding: 0.8rem;
        top: -4.0rem;
        right: 0rem;
        left: auto;
        width: 40%;
        height: fit-content
    }
}



.service-map svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.troubleshooting {
    background-color: var(--bg-beige);
    overflow: hidden;
    padding: 6.4rem 0 2.4rem 0
}

.troubleshooting .block {
    text-align: center;
    margin-bottom: 2.4rem;
}

.troubleshooting h3 {
    font-size: 3.6rem;
    font-weight: 700;
    color: #444;
    line-height: 1;
}

.troubleshooting h2 {
    font-size: 3.2rem;
    font-weight: 700;
    color: #444;
}

/* Troubleshooting */
.troubleshooting-container {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    position: relative;
}

.troubleshooting-box {
    background: var(--white);
    padding: 2.4rem;
    border-radius: 2rem;
    max-width: 70rem;
    width: 100%;
    z-index: 2;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    position: relative;
}

.troubleshooting-image {
    bottom: 0;
    width: 17rem;
    z-index: 5;
    position: absolute;
}

.troubleshooting-image.left {
    left: 5%;
    bottom: -2.4rem
}

.troubleshooting-image.right {
    right: 5%;
    bottom: -2.4rem
}

.troubleshooting-image img {
    width: 100%;
    height: auto;
    display: block;
}

@media screen and (max-width: 1100px) {
    .troubleshooting-container {
        padding: 0;
    }


    .troubleshooting-image.left {
        left: -3.2rem;
    }

    .troubleshooting-image.right {
        right: -3.2rem;
    }
}

@media screen and (max-width: 850px) {
    .troubleshooting-image {
        display: none;
    }

    .troubleshooting-box {
        padding: 4rem 3rem;
    }
}

/* Check List */
.check-list {
    list-style: none;
    padding: 0;
}

.check-list li {
    position: relative;
    padding-left: 2.8rem;
    margin-bottom: 1.6rem;
    font-weight: 500;
    font-size: 1.8rem;
    line-height: 1.6;
    color: #333;
}

.check-list li:last-child {
    margin-bottom: 0;
}

.check-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 2.4rem;
    height: 2.4rem;
    background: url('images/icon_checkbox.webp') no-repeat center center;
    background-size: contain;
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
}

.cta-section.type-gray {
    background: #333;
    color: var(--white);
}

.cta-section.type-white {
    background: var(--white);
    color: var(--text-color);
}

.cta-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.cta-lead {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 3.5rem;
    letter-spacing: 0.05em;
}

.cta-lead span {
    font-size: 4rem;
    display: block;
    margin-top: 0.5rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3.5rem;
}

.btn-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44rem;
    height: 10rem;
    font-size: 3.6rem;
    font-weight: 700;
    border-radius: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-tel {
    background: var(--white);
    color: #ff8400;
    border: 2px solid #ff8400;
}

.btn-email {
    background: #ff8400;
    color: var(--white);
}

.btn-cta .icon {
    width: 4.8rem;
    height: auto;
    margin-right: 1.5rem;
}

.btn-cta:hover {
    opacity: 0.9;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.cta-info {
    font-size: 1.8rem;
    font-weight: 500;
}

@media screen and (max-width: 1000px) {
    .cta-lead {
        font-size: 3vw;
    }

    .cta-lead span {
        font-size: 4vw;
    }

    .btn-cta {
        width: 45%;
        height: 8rem;
        font-size: 3vw;
    }

    .btn-cta .icon {
        width: 4vw;
    }
}

@media screen and (max-width: 759px) {
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-cta {
        width: 100%;
        max-width: 40rem;
        font-size: 2.4rem;
    }

    .cta-lead {
        font-size: 2rem;
    }

    .cta-lead span {
        font-size: 2.4rem;
    }

    .cta-info {
        font-size: 1.4rem;
    }
}

/* Reason Section */
.reason {
    position: relative;
    background-image: url('images/bg_reason.jpg');
    background-size: cover;
    background-position: center;
}


.reason-inner {
    max-width: 760px;
}

.reason-list {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.reason-item {
    display: flex;
    align-items: flex-start;
    gap: 3rem;
}

.reason-number {
    font-size: 8rem;
    line-height: 1;
    color: var(--bg-dark);
    /* Dark grey/black for numbers */
    flex-shrink: 0;
    width: 6rem;
    text-align: center;
    font-weight: 500;
}

.reason-body {
    padding-left: 2rem;
    border-left: 3px solid var(--primary-color);
}

.reason-body h3 {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--bg-dark);
}

.reason-body p {
    font-size: 1.6rem;
    line-height: 1.8;
}

@media screen and (max-width: 759px) {
    .reason-item {
        gap: 1.5rem;
    }

    .reason-number {
        font-size: 5rem;
        width: 4rem;
    }

    .reason-body h3 {
        font-size: 2.4rem;
    }
}

/* Case Study */
.case-study {
    background: #2b2b2b;
    color: var(--white);
    padding: 10rem 0;
}

.case-study .slick-dots {
    display: none !important;
}

.case-study .section-title {
    color: var(--white);
}

.case-item {
    overflow: hidden;
    margin: 0 1.5rem;
    transition: transform 0.3s ease;
}

.case-item:hover {
    transform: translateY(-5px);
}

.case-item figure {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
}

/* Archive Case Study Grid */
.case-list {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -1.5rem;
}

.archive-case-study .case-item {
    width: calc(33.333% - 3rem);
    margin: 0 1.5rem 4rem;
}

@media screen and (max-width: 999px) {
    .archive-case-study .case-item {
        width: calc(50% - 3rem);
    }
}

@media screen and (max-width: 759px) {
    .archive-case-study .case-item {
        width: calc(100% - 3rem);
    }
}

.case-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.case-item figcaption {
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.6);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    font-size: 1.4rem;
    z-index: 2;
}

.case-item .box {
    padding: 1.6rem 0;
}

.case-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0;
    color: var(--white);
}

.case-text {
    font-size: 1.5rem;
    line-height: 1.8;
    color: #ccc;
}

/* Slider Custom Controls */
.slider-wrap {
    padding: 0 50px;
    position: relative;
}

.slick-prev,
.slick-next {
    width: 4.8rem;
    height: 4.8rem;
    border-radius: 50%;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.slick-prev {
    left: -2.4rem;
}

.slick-next {
    right: -2.4rem;
}

@media screen and (max-width: 759px) {
    .slick-prev {
        left: 0;
    }

    .slick-next {
        right: 0;
    }
}



.slick-prev:hover,
.slick-next:hover {
    transform: translateY(-50%) scale(1.1);
}

.slick-prev:before {
    content: '';
    display: block;
    width: 4.8rem;
    height: 4.8rem;
    border-left: 1px solid #fff;
    border-bottom: 1px solid #fff;
    transform: rotate(45deg);
}

.slick-next:before {
    content: '';
    display: block;
    width: 4.8rem;
    height: 4.8rem;
    border-left: 1px solid #fff;
    border-bottom: 1px solid #fff;
    transform: rotate(225deg);
}



.slick-dots {
    bottom: -5rem;
}

.slick-dots li button:before {
    color: var(--white);
    font-size: 1rem;
    opacity: 0.3;
}

.slick-dots li.slick-active button:before {
    color: var(--white);
    opacity: 1;
}

.btn-outline {
    border: 1px solid var(--white);
    background: transparent;
    border-radius: 4px;
    font-weight: 700;
    transition: all 0.3s ease;
    padding: 1.5rem 5rem;
}

.btn-outline:hover {
    background: var(--white);
    color: #2b2b2b !important;
}

/* Buttons */
.btn {
    display: inline-block;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
    text-align: center;
    border-radius: 4px;
}

.btn:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

/* Oswald Font Classes */
.oswald {
    font-family: var(--accent-font);
}

/* FAQ Section */
.faq {
    padding: 10rem 0;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.faq-item {
    background: var(--white);
    border-radius: 12px;
    padding: 3rem 4rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.faq-q,
.faq-a {
    display: flex;
    align-items: flex-start;
}

.faq-q {
    padding-bottom: 2rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--primary-color);
}

.faq-icon {
    font-family: var(--accent-font);
    font-size: 3.6rem;
    color: #666;
    margin-right: 2rem;
    flex-shrink: 0;
    line-height: 1;
    font-weight: 500;
}

.faq-q h3 {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.6;
    color: #333;
}

.faq-a p {
    font-size: 1.8rem;
    line-height: 1.8;
    font-weight: 500;
    color: #333;
}

@media screen and (max-width: 759px) {
    .faq-item {
        padding: 2rem;
    }

    .faq-icon {
        font-size: 2.8rem;
        margin-right: 1.2rem;
    }

    .faq-q h3 {
        font-size: 1.8rem;
    }

    .faq-a p {
        font-size: 1.6rem;
    }
}

/* Introduction */
.introduction .block:first-child {
    text-align: center;
    margin-bottom: 6rem;
}

.introduction .section-title {
    font-size: 4.8rem;
    margin-bottom: 1.5rem;
}

.introduction .section-subtitle {
    font-size: 3.2rem;
    font-weight: 500;
}

.introduction .text {
    max-width: 700px;
    margin: 0 auto;
    line-height: 2.2;
    font-weight: 400;
    color: #444;
    letter-spacing: 0.02em;
}

/* Service */
.service .block {
    text-align: center;
    margin-bottom: 6rem;
}

.service {
    padding-bottom: 0;
    margin-bottom: -2.4rem;
}



/* Troubles */
.troubleshooting .block {
    text-align: center;
    margin-bottom: 4rem;
}

.troubleshooting h3 {
    font-size: 4.0rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.troubleshooting h2 {
    font-size: 3.6rem;
    font-weight: 700;
}

/* Reason */
.reason .block {
    text-align: center;
    margin-bottom: 6rem;
}

/* Case Study */
.case-study .block {
    text-align: center;
    margin-bottom: 6rem;
}

.case-study .section-label {
    color: var(--white);
}

.case-study .btn-wrap {
    text-align: center;
    margin-top: 6rem;
}

/* FAQ */
.faq {
    padding: 10rem 0;
    background-color: var(--bg-beige);
}

.faq .inner {
    max-width: 960px;
}

.faq .block {
    text-align: center;
    margin-bottom: 6rem;
}

/* News Section */
.news {
    padding: 10rem 0;
    background-image: url('images/bg_top_news.webp');
    background-size: contain;
    background-position: left;
    background-repeat: no-repeat;
}

.news .inner {
    max-width: 1000px;
}

.news .block {
    text-align: center;
    margin-bottom: 4rem;
}

.news-list {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-end;
}

.news-list .box {
    border-bottom: 1px solid #ddd;
    display: flex;
    gap: 4rem;
    padding: 0.8rem 0;
    align-items: center;
}

.news-list .oswald {
    color: #999;
}

.news-list a {
    font-weight: 500;
    text-decoration: none;
    color: var(--text-color);
}

.news .btn-wrap {
    text-align: center;
    margin-top: 4rem;
}

.news .btn {
    border: 1px solid var(--text-color);
    padding: 1.5rem 5rem;
    font-weight: 700;
}

/* Footer */
.footer {
    background: #262626;
    /* Darker grey as seen in the screenshot */
    color: var(--white);
    padding: 8rem 0;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-nav {
    margin-bottom: 6rem;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.footer-nav a {
    color: var(--white);
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.footer-nav a:hover {
    opacity: 0.7;
}

.footer-logo {
    margin-bottom: 6rem;
}

.footer-logo img {
    max-width: 36rem;
    /* Controlled size for balance */
    height: auto;
}

.footer-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5rem;
    margin-bottom: 10rem;
    flex-wrap: wrap;
}

.footer-logos img {
    max-width: 12rem;
    /* Balanced size for affiliate logos */
    height: auto;
    filter: brightness(0) invert(1);
    /* Ensure logos are white on dark background */
}

.footer-logos .droneshow img {
    max-width: 9rem;
    /* Balanced size for affiliate logos */
    height: auto;
    filter: brightness(0) invert(1);
    /* Ensure logos are white on dark background */
}

.footer-company {
    font-size: 1.8rem;
}

.footer-company a {
    color: var(--white);
    text-decoration: none;
    letter-spacing: 0.05em;
}

@media screen and (max-width: 759px) {
    .footer-nav ul {
        gap: 2rem;
    }

    .footer-logos {
        gap: 3rem;
        margin-bottom: 6rem;
    }

    .footer-logos img {
        max-width: 10rem;
    }

    .footer-logo img {
        max-width: 80%;
    }
}

/* Service Modal */
#service-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 2rem;
}

#service-modal.active {
    display: flex;
    opacity: 1;
}

.modal-dialog {
    background: #fff;
    width: 100%;
    max-width: 800px;
    border-radius: 12px;
    position: relative;
    padding: 4rem;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

#service-modal.active .modal-dialog {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 4rem;
    height: 4rem;
    background: #00334e;
    /* Dark blue background for close button */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 2px solid #fff;
    z-index: 10;
}

.modal-close::before,
.modal-close::after {
    content: '';
    position: absolute;
    width: 2rem;
    height: 2px;
    background: #fff;
}

.modal-close::before {
    transform: rotate(45deg);
}

.modal-close::after {
    transform: rotate(-45deg);
}

.modal-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.modal-title {
    font-size: 3.2rem;
    font-weight: 700;
    color: #00334e;
    margin-bottom: 3rem;
}

.modal-image {
    width: 100%;
    margin-bottom: 3rem;
    border-radius: 4px;
    overflow: hidden;
}

.modal-image img {
    width: 100%;
    height: auto;
    display: block;
}

.modal-description {
    font-size: 1.8rem;
    line-height: 1.8;
    color: #333;
    text-align: left;
    width: 100%;
}

@media screen and (max-width: 759px) {
    .modal-dialog {
        padding: 3rem 2rem;
    }

    .modal-close {
        top: 10px;
        right: 10px;
        width: 3rem;
        height: 3rem;
    }

    .modal-close::before,
    .modal-close::after {
        width: 1.5rem;
    }

    .modal-title {
        font-size: 2.4rem;
    }

    .modal-description {
        font-size: 1.6rem;
    }
}



/*responsive adjust*/
@media screen and (max-width: 759px) {
    .sp {
        display: block;
    }
}

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

@media screen and (min-width: 760px) {
    .sp {
        display: none;
    }
}

@media screen and (min-width: 760px) {
    .pc {
        display: block;
    }
}




/* Sub Pages */
.lower-hero {
    background: var(--bg-dark);
    padding: 15rem 0 6rem;
    color: var(--white);
    text-align: center;
}

.lower-hero .section-title {
    margin-bottom: 0;
}

.post-meta {
    margin-top: 1.5rem;
    font-size: 1.4rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.post-meta a {
    color: var(--primary-color);
}

.single-content {
    padding: 8rem 0;
}

.entry-content {
    max-width: 800px;
    margin: 0 auto;
}

.post-thumbnail {
    margin-bottom: 4rem;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 0.8rem;
}

.content-body h2 {
    font-size: 2.8rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary-color);
    margin: 4rem 0 2rem;
}

.content-body h3 {
    font-size: 2.2rem;
    margin: 3rem 0 1.5rem;
    padding-left: 1.5rem;
    border-left: 4px solid var(--primary-color);
}

.content-body p {
    margin-bottom: 2rem;
}

.pagination {
    margin-top: 6rem;
    display: flex;
    justify-content: center;
}

.pagination .nav-links {
    display: flex;
    gap: 1rem;
}

.pagination .page-numbers {
    width: 4rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ccc;
    font-family: var(--accent-font);
    font-size: 1.4rem;
}

.pagination .page-numbers.current {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

.post-navigation {
    margin: 4rem 0;
    padding-top: 4rem;
    border-top: 1px solid #eee;
}

.post-navigation .nav-previous,
.post-navigation .nav-next {
    width: fit-content;
}

.post-navigation .nav-label {
    display: block;
    font-size: 1.2rem;
    color: #888;
    margin-bottom: 0.5rem;
}

.post-navigation .nav-title {
    font-weight: 700;
    color: var(--text-color);
}

.post-navigation a:hover .nav-title {
    color: var(--primary-color);
}

.btn-wrap {
    text-align: center;
    margin-top: 4rem;
}