@charset "UTF-8";

:root {
    /* 配色：青、グレー、白 */
    --color-primary: #1e3a8a;
    /* 落ち着いたダークブルー (スマートさ) */
    --color-accent: #3b82f6;
    /* 鮮やかなブルー (カジュアル・若々しさ) */
    --color-bg-light: #f8fafc;
    /* 薄いグレー (清潔感) */
    --color-bg-gray: #e2e8f0;
    /* 少し濃いグレー */
    --color-text-main: #334155;
    /* ダークスレート (テキスト用) */

    --header-height: 80px;
    --header-sp-height: 64px;
    --margin-section-sp: 80px;
    --margin-section-pc: 120px;
}

html {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 14px;
    line-height: 1.85;
    letter-spacing: 0.05em;
    color: var(--color-text-main);
    scroll-behavior: smooth;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 14px;
    font-family: "Noto Sans JP", sans-serif;
    overflow-x: hidden;
}

p,
span,
a,
li,
th,
td {
    font-family: "Noto Sans JP", sans-serif;
}

@media (min-width: 768px) {
    body {
        font-size: 16px;
    }
}

/* 既存のセリフ体を排除し、サンセリフ体で統一してカジュアル・スマートに */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 700;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
    -webkit-user-drag: none;
}

.text-accent {
    color: var(--color-accent) !important;
}

.text-primary {
    color: var(--color-primary) !important;
}

.section-padding {
    padding-top: var(--margin-section-sp);
    padding-bottom: var(--margin-section-sp);
}

@media (min-width: 768px) {
    .section-padding {
        padding-top: var(--margin-section-pc);
        padding-bottom: var(--margin-section-pc);
    }
}

.inner {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
}

.sp-only {
    display: block;
}

.pc-only {
    display: none;
}

@media (min-width: 768px) {
    .sp-only {
        display: none !important;
    }

    .pc-only {
        display: block !important;
    }
}

/* Scroll Reveal Animation */
.async,
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1), transform 1s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

.async.is-visible,
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Section Headings */
.section-heading {
    text-align: center;
    margin-bottom: 50px;
}

.heading-icon {
    margin: 0 0 10px 0;
    display: flex;
    justify-content: center;
}

.heading-icon svg {
    width: 42px;
    height: 42px;
    fill: var(--color-accent);
}

.heading-ja {
    font-size: 24px;
    color: var(--color-primary);
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.5;
    letter-spacing: 0.1em;
}

@media (min-width: 768px) {
    .heading-ja {
        font-size: 32px;
    }
}

.heading-en {
    font-size: 14px;
    color: var(--color-accent);
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    padding-bottom: 5px;
}

.heading-en::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background-color: var(--color-accent);
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-sp-height);
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(5px);
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 4%;
}

@media (min-width: 768px) {
    .header {
        height: var(--header-height);
        padding: 0 5%;
    }
}

.header-logo {
    font-size: 25px;
    font-weight: 900;
    color: var(--color-primary);
    text-decoration: none;
    letter-spacing: 0.05em;
}

@media (min-width: 768px) {
    .header-logo {
        font-size: 30px;
    }
}

.header-nav {
    display: none;
}

@media (min-width: 1024px) {
    .header-nav {
        display: flex;
        align-items: center;
        gap: 25px;
        margin-left: auto;
        margin-right: 30px;
        list-style: none;
    }

    .header-nav a {
        color: var(--color-primary);
        text-decoration: none;
        font-weight: 500;
        transition: opacity 0.3s;
        font-size: 14px;
    }

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

.header-btn {
    display: none;
}

@media (min-width: 1024px) {
    .header-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: var(--color-accent);
        color: #fff;
        padding: 12px 24px;
        text-decoration: none;
        font-weight: 700;
        font-size: 14px;
        border-radius: 4px;
        transition: background-color 0.3s, transform 0.3s;
        letter-spacing: 0.05em;
    }

    .header-btn:hover {
        background-color: var(--color-primary);
        transform: translateY(-2px);
    }
}

/* Hamburger Menu */
.hamburger {
    display: block;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 1000;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

@media (min-width: 1024px) {
    .hamburger {
        display: none;
    }
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-primary);
    position: absolute;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger span:nth-child(3) {
    bottom: 0;
}

.hamburger.is-active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    background-color: #fff;
}

.hamburger.is-active span:nth-child(2) {
    opacity: 0;
}

.hamburger.is-active span:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
    background-color: #fff;
}

/* SP Nav */
.sp-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(30, 58, 138, 0.98);
    /* Primary Blue */
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.sp-nav.is-active {
    opacity: 1;
    pointer-events: auto;
}

.sp-nav-list {
    list-style: none;
    padding: 0;
    text-align: center;
    width: 100%;
}

.sp-nav-list li {
    margin-bottom: 15px;
}

.sp-nav-list a {
    color: #fff;
    font-size: 18px;
    text-decoration: none;
    font-weight: 500;
    display: block;
    padding: 10px;
}

.sp-nav-btn-wrap {
    margin-top: 30px;
    text-align: center;
    width: 80%;
    max-width: 300px;
}

.sp-nav-contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background-color: var(--color-accent);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    padding: 16px 20px;
    border-radius: 30px;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.sp-nav-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    background: var(--color-primary);
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: var(--header-sp-height);
}

@media (min-width: 768px) {
    .hero {
        padding-top: var(--header-height);
    }
}

.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 40px 40px;
}

.hero-diagonal {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 55%;
    background: var(--color-primary);
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
    overflow: hidden;
}

.hero-diagonal::before {
    display: none;
}

.hero-swiper {
    width: 100%;
    height: 100%;
}

.hero-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    transition: transform 6s ease;
}

.hero-swiper .swiper-slide-active img {
    transform: scale(1);
}

.hero-accent-line {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, transparent, var(--color-accent), transparent);
}

.hero-content {
    position: relative;
    z-index: 10;
    padding: 0 40px;
    max-width: 1000px;
}

@media (min-width: 768px) {
    .hero-content {
        padding: 0 80px;
    }
}

.hero-label {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: #fff;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.hero-label::before {
    content: '';
    display: block;
    width: 32px;
    height: 2px;
    background: #fff;
}

.hero-title {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 900;
    color: #fff;
    line-height: 1.3;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
}

.hero-title .text-accent {
    color: var(--color-accent) !important;
    background-color: var(--color-bg-light);
    padding: 0px 8px;
    border-radius: 4px;
    display: inline-block;
}

.hero-subtitle {
    font-size: clamp(14px, 2vw, 16px);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.05em;
    margin-bottom: 36px;
    line-height: 1.8;
}

.hero-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 0px;
}

@media (min-width: 768px) {
    .hero-tags {
        margin-bottom: 48px;
    }
}

.hero-tag {
    background: #fff;
    border: 1px solid var(--color-bg-gray);
    color: var(--color-text-main);
    font-size: 12px;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 30px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 40px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-size: 10px;
    letter-spacing: 0.3em;
    font-weight: 700;
}

@media (min-width: 768px) {
    .hero-scroll {
        left: 80px;
    }
}

.scroll-line {
    width: 40px;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    left: -100%;
    top: 0;
    width: 100%;
    height: 100%;
    background: var(--color-accent);
    animation: scrollAnimLeftRight 2s infinite ease-in-out;
}

@keyframes scrollAnimLeftRight {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

@media (max-width: 900px) {
    .hero {
        height: auto;
        min-height: unset;
        flex-direction: column;
        align-items: stretch;
    }

    .hero-accent-line,
    .hero-scroll {
        display: none;
    }

    .hero-diagonal {
        display: block;
        position: relative;
        width: 100%;
        height: 55vw;
        min-height: 250px;
        clip-path: none;
        flex-shrink: 0;
    }

    .hero-content {
        padding: 25px 20px;
        max-width: 100%;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        margin-bottom: 20px;
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content>* {
    animation: fadeUp 0.8s ease forwards;
    opacity: 0;
}

.hero-label {
    animation-delay: 0.2s;
}

.hero-title {
    animation-delay: 0.4s;
}

.hero-subtitle {
    animation-delay: 0.6s;
}

.hero-tags {
    animation-delay: 0.75s;
}

/* Common 2-column layout */
.grid-2col {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

@media (min-width: 768px) {
    .grid-2col {
        flex-direction: row;
        align-items: center;
        gap: 60px;
    }

    .grid-2col.left-img .col-img,
    .grid-2col.right-img .col-img {
        width: 45%;
    }

    .grid-2col.left-img .col-text,
    .grid-2col.right-img .col-text {
        width: 55%;
    }
}

.col-img img {
    width: 100%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.col-text h3 {
    font-size: 22px;
    color: var(--color-primary);
    margin-bottom: 20px;
    line-height: 1.5;
}

@media (min-width: 768px) {
    .col-text h3 {
        font-size: 28px;
    }
}

/* ABOUT */
.about {
    background-color: #fff;
}

.about .col-text h3 {
    font-weight: 900;
}

.about .grid-2col {
    flex-direction: column-reverse;
}

@media (min-width: 768px) {
    .about .grid-2col {
        flex-direction: row;
    }
}

/* Work (仕事内容) */
.work {
    background-color: var(--color-bg-light);
    background-image:
        linear-gradient(rgba(30, 58, 138, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(30, 58, 138, 0.04) 1px, transparent 1px);
    background-size: 30px 30px;
    background-position: center;
}

.work-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .work-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.work-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border-top: 4px solid var(--color-accent);
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
}

.work-card:hover {
    transform: translateY(-5px);
}

.work-card:hover .work-img img {
    transform: scale(1.05);
}

.work-img {
    width: 100%;
    aspect-ratio: 3/2;
    overflow: hidden;
}

.work-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.work-content {
    padding: 25px;
    flex-grow: 1;
}

.work-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 15px;
}

/* Features (働く魅力) */
.features {
    background-color: #fff;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-rows: 1fr;
    gap: 40px;
}

.feature-item {
    background: var(--color-bg-light);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

@media (min-width: 768px) {
    .feature-item {
        flex-direction: row;
        align-items: stretch;
    }

    .feature-item:nth-child(even) {
        flex-direction: row-reverse;
    }
}

.feature-img {
    width: 100%;
    aspect-ratio: 3/2;
}

@media (min-width: 768px) {
    .feature-img {
        width: 50%;
        aspect-ratio: auto;
    }
}

.feature-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-content {
    padding: 30px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
}

@media (min-width: 768px) {
    .feature-content {
        width: 50%;
        padding: 40px 50px;
    }
}

.feature-num {
    font-size: 64px;
    font-weight: 900;
    color: rgba(59, 130, 246, 0.1);
    /* Accent color highly transparent */
    position: absolute;
    top: -10px;
    right: 20px;
    line-height: 1;
}

.feature-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-title::before {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 50%;
}

/* Recruit (応募要項) */
.recruit {
    background-color: var(--color-bg-light);
    background-image:
        linear-gradient(rgba(30, 58, 138, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(30, 58, 138, 0.04) 1px, transparent 1px);
    background-size: 30px 30px;
    background-position: center;
}

.recruit-marquee-wrap {
    --marquee-width: 1620px; /* 250px * 6 + 20px * 6 */
    display: flex;
    overflow: hidden;
    width: 100vw;
    margin-left: calc(50% - 50vw);
}

@media (min-width: 768px) {
    .recruit-marquee-wrap {
        --marquee-width: 1920px; /* 300px * 6 + 20px * 6 */
    }
}

.recruit-marquee-content {
    display: flex;
    flex-wrap: nowrap;
    flex-shrink: 0;
    gap: 20px;
    padding-right: 20px;
    width: var(--marquee-width);
    animation: recruitMarquee 40s linear infinite;
}

.marquee-slide {
    flex: 0 0 250px;
}

@media (min-width: 768px) {
    .marquee-slide {
        flex: 0 0 300px;
    }
}

.marquee-slide img {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 8px;
    object-fit: cover;
}

@keyframes recruitMarquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-1 * var(--marquee-width)));
    }
}

.recruit-table {
    width: 100%;
    background: #fff;
    border-collapse: collapse;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.recruit-table th,
.recruit-table td {
    padding: 20px;
    border-bottom: 1px solid var(--color-bg-gray);
    text-align: left;
}

.recruit-table th {
    width: 30%;
    background-color: rgba(248, 250, 252, 0.8);
    color: var(--color-primary);
    font-weight: 700;
    vertical-align: top;
}

.recruit-table tr:last-child th,
.recruit-table tr:last-child td {
    border-bottom: none;
}

@media (max-width: 767px) {

    .recruit-table th,
    .recruit-table td {
        display: block;
        width: 100%;
    }

    .recruit-table th {
        padding-bottom: 5px;
        border-bottom: none;
        background: none;
    }

    .recruit-table td {
        padding-top: 5px;
        margin-bottom: 10px;
    }
}

/* Flow (採用までの流れ) */
.flow {
    background-color: #fff;
}

.flow-list {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.flow-list::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--color-bg-gray);
}

@media (min-width: 768px) {
    .flow-list::before {
        left: 50%;
        transform: translateX(-50%);
    }
}

.flow-item {
    position: relative;
    margin-bottom: 40px;
    padding-left: 70px;
}

@media (min-width: 768px) {
    .flow-item {
        width: 50%;
        padding-left: 0;
        padding-right: 50px;
        text-align: right;
    }

    .flow-item:nth-child(even) {
        margin-left: auto;
        padding-right: 0;
        padding-left: 50px;
        text-align: left;
    }
}

.flow-num {
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 50px;
    background: var(--color-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    z-index: 2;
}

@media (min-width: 768px) {
    .flow-num {
        left: auto;
        right: -25px;
    }

    .flow-item:nth-child(even) .flow-num {
        right: auto;
        left: -25px;
    }
}

.flow-content {
    background: var(--color-bg-light);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.flow-title {
    font-size: 18px;
    color: var(--color-primary);
    font-weight: 700;
    margin-bottom: 10px;
}

/* Message */
.message {
    position: relative;
    -webkit-clip-path: inset(0 0 0 0);
    clip-path: inset(0 0 0 0);
    z-index: 1;
    color: #fff;
}

.message::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-image: url('../img/messagebg.jpg');
    background-size: cover;
    background-position: center;
    z-index: -2;
    pointer-events: none;
}

.message::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(30, 58, 138, 0.85);
    /* var(--color-primary) with opacity */
    z-index: -1;
}

.message .col-text h3 {
    color: #fff !important;
}

.message .col-text p {
    color: rgba(255, 255, 255, 0.9);
}

@media (min-width: 768px) {
    .message .grid-2col {
        align-items: stretch;
    }

    .message .col-img {
        display: flex;
    }

    .message .col-img img {
        height: 100%;
    }
}

.cta-banner {
    background-color: var(--color-primary);
    color: #fff;
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 40%);
    pointer-events: none;
}

.cta-header {
    margin-bottom: 40px;
}

.cta-header-ja {
    font-size: clamp(1.2rem, 4vw, 1.8rem);
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 5px;
}

.cta-header-en {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.3em;
    opacity: 0.8;
}

.cta-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .cta-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

.cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    width: 100%;
    height: 70px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 18px;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-btn:hover {
    transform: translateY(-3px);
}

.cta-btn-tel {
    background: #fff;
    color: var(--color-primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    font-size: 24px;
}

.cta-btn-tel small {
    font-size: 14px;
    margin-right: 5px;
}

.cta-btn-mail {
    background: var(--color-accent);
    color: #fff;
    border: 2px solid var(--color-accent);
}

/* Access */
.access {
    background-color: #fff;
}

.map-wrap {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.map-wrap iframe {
    width: 100%;
    height: 350px;
    display: block;
    border: none;
}

@media (min-width: 768px) {
    .map-wrap iframe {
        height: 100%;
        min-height: 400px;
    }
}

/* Footer */
.footer {
    background-color: #0f172a;
    /* Slate-900 */
    color: #fff;
    padding: 50px 0 80px;
    text-align: center;
}

@media (min-width: 768px) {
    .footer {
        padding: 50px 0 30px;
    }
}

.footer-logo {
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 20px;
    display: block;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    list-style: none;
    padding: 0;
}

.footer-nav a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-nav a:hover {
    color: #fff;
}

.copyright {
    font-size: 13px;
    color: #64748b;
}

/* SP Fixed CTA */
.sp-fixed-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    z-index: 900;
}

@media (min-width: 768px) {
    .sp-fixed-cta {
        display: none;
    }
}

.sp-cta-btn {
    flex: 1;
    text-align: center;
    padding: 12px 0;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    font-size: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sp-cta-tel {
    background-color: var(--color-primary);
}

.sp-cta-mail {
    background-color: var(--color-accent);
}

/* To Top Button */
.to-top {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: #fff;
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-size: 24px;
    font-weight: bold;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.to-top.is-show {
    opacity: 1;
    visibility: visible;
}

@media (min-width: 768px) {
    .to-top {
        bottom: 30px;
        right: 30px;
    }

    .to-top:hover {
        transform: translateY(-5px);
    }
}